@charset "utf-8";


/*** Calendar Styles ***/



/* Selector
------------------------------------------------------------- */

.calendar_selector {
	margin: 0 0 60px 0;
	padding: 15px 20px;
	background-color: #d5d5d5;
	background: linear-gradient(0deg,#eee 0%, #d5d5d5 100%);
}

.calendar_selector ul {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	max-width: 1200px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(8em, 1fr));
	gap: 10px 10px;
}

.calendar_selector ul li {
	margin: 0;
	padding: 0;
	line-height: 24px;
}

.calendar_selector ul li label {
	white-space: nowrap;
	font-size: 1.6rem;
}

.calendar_selector ul li label.check_style::before {
	content: "";
	display: inline-block;
	height: 16px;
	width: 16px;
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -8px;
	background-color: #fff;
	border: 0;
	border-radius: 2px;
	box-shadow: inset 1px 1px 2px rgba(0,0,0,0.16);
}

.calendar_selector ul li label.check_style::after {
	content: "✔︎";
	font-family: 'Noto Sans JP', 'メイリオ', 'Meiryo', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	display: inline-block;
	height: 16px;
	width: 16px;
	font-size: 14px;
	line-height: 16px;
	text-align: center;
	color: #fff;
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -9px;
	opacity: 0;
}

.calendar_selector ul li label.check_style:has(input:checked)::before {
	background-color: #007aff;
	/* box-shadow: none; */
}

.calendar_selector ul li label.check_style:has(input:checked)::after {
	opacity: 1;
}


.calendar_selector ul li label.radio_style::before {
	left: 0;
	top: 3px;
	background-color: #fff;
}

.calendar_selector ul li label.radio_style::after {
	left: 4px;
	top: 7px;
}
/*
.calendar_selector ul li:has(a) {
	grid-column: 1 / -1;
	text-align: center;
	padding-top: 5px;
}
*/
.calendar_selector ul li > a {
	display: inline-block;
	width: 7em;
	height: 24px;
	line-height: 24px;
	vertical-align: middle;
	text-align: center;
	color: #151515;
	text-decoration: none;
	letter-spacing: 0.03em;
	background-color: #fff;
	box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.calendar_selector ul li > a label {
	cursor: pointer;
}

.calendar_selector ul li > a:hover {
	box-shadow: 1px 1px 0 rgba(0,0,0,0.3);
	transform: translate(1px, 1px);
}

.calendar_selector_submit {
	text-align: center;
	padding-top: 10px;
}

.calendar_selector > p {
	font-size: 0.75rem;
	color: #666;
	margin: 0;
	padding: 10px 0 0 0;
	line-height: 1;
}



/* Prev Next
------------------------------------------------------------- */

.calendar_nav {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto 60px auto;
	padding: 0 20px;
	position: relative;
}

.calendar_selector + .calendar_nav {
	margin-top: -35px;
}

.calendar_nav .calendar_prev,
.calendar_nav .calendar_next {
	display: inline-block;
	width: fit-content;
	max-width: 50%;
	margin: 0;
	padding: 0 5px;
}

.calendar_nav .calendar_next {
	margin: 0 0 0 auto;
	position: absolute;
	right: 20px;
	text-align: right;
}

.calendar_nav .calendar_prev a,
.calendar_nav .calendar_next a {
	display: block;
	text-decoration: none;
	height: 32px;
	line-height: 32px;
	padding: 0 10px;
	width: 100%;
	color: #151515;
	font-size: 1.4rem;
	white-space: nowrap;
	background-color: #f0f0f0;
	box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
	position: relative;
}

.calendar_nav .calendar_prev a {
	padding-left: 35px;
}

.calendar_nav .calendar_next a {
	padding-right: 35px;
}

.calendar_nav .calendar_prev a:hover,
.calendar_nav .calendar_next a:hover {
	transform: translate(1px, 1px);
	background-color: #f5f5f5;
	box-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.calendar_nav .calendar_prev a::before,
.calendar_nav .calendar_next a::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-position: center center;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	margin-top: -9px;
}

.calendar_nav .calendar_prev a::before {
	background-image: url(../img/arrow_prev.svg);
	left: 10px;
}

.calendar_nav .calendar_next a::after {
	background-image: url(../img/arrow_next.svg);
	right: 10px;
}

.calendar_nav .calendar_prev a:hover::before,
.calendar_nav .calendar_prev a:active::before {
	width: 24px;
	height: 24px;
	left: 0;
	margin-top: -13px;
	animation: shake-leftarrow 0.3s 2 ease-in-out;
}

.calendar_nav .calendar_next a:hover::after,
.calendar_nav .calendar_next a:active::after {
	width: 24px;
	height: 24px;
	right: 0;
	margin-top: -13px;
	animation: shake-arrow 0.3s 2 ease-in-out;
}



/* Calendar
------------------------------------------------------------- */

.calendar_cont_box {
	padding: 0;
	margin: 0 0 40px 0;
}

.calendar_cont_box h2, .calendar_cont_box h3 {
	width: 100%;
	margin: 0 0 20px 0;
	padding: 8px 15px;
	line-height: 1.6;
	font-size: 2.2rem;
	font-weight: 400;
	text-align: left;
	color: #fff;
	background-color: #006865;
	background: linear-gradient(45deg,#067d9b 0%, #36c6c1 50%, #069b69 100%);
}

table.calendar_table {
	width: 100%;
	margin: 0 0 5px 0;
	line-height: 1.8;
	font-size: 1.5rem;
	border-collapse: collapse;
	border: 0;
	clear: both;
}

table.calendar_table caption {
	display: none;
}

table.calendar_table tr th {
	padding: 4px 15px;
	text-align: center;
	white-space: nowrap;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 600;
	background-color: #a0a0a0;
	border-right: 2px solid #fff;
	vertical-align: top;
}

table.calendar_table tr th:last-child {
	border-right: 0;
}

table.calendar_table tr td {
	padding: 12px 15px;
	border-top: #fff solid 2px;
	border-right: #fff solid 2px;
	background-color: #f9f5ed;
	vertical-align: top;
	font-weight: 350;
}

table.calendar_table tr td:last-child {
	border-right: 0;
}

table.calendar_table tr td a {
	color: #151515;
	text-decoration: underline;
}

table.calendar_table tr td a:hover,
table.calendar_table tr td a:active {
	color: #0068b5;
}

table.calendar_table tr td.cal_date {
	width: 20%;
	min-width: 7.6em;
	background-color: #f0f0f0;
	white-space: nowrap;
}

table.calendar_table tr td.cal_name {
	width: 42%;
	min-width: 15em;
}

table.calendar_table tr td.cal_name a::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 3px;
	vertical-align: -1px;
	background-image: url(/_resources/img/icon_extlink_black.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

table.calendar_table tr td.cal_name a:hover::after,
table.calendar_table tr td.cal_name a:active::after {
	background-image: url(/_resources/img/icon_extlink_blue.svg);
}

table.calendar_table tr td.cal_venue {
	width: 20%;
	max-width: 20em;
	min-width: 7.6em;
	background-color: #f0f0f0;
}

table.calendar_table tr td.cal_num {
	width: 10%;
	text-align: center;
	white-space: nowrap;
}

table.calendar_table tr td.cal_scale {
	width: 8%;
	text-align: center;
	white-space: nowrap;
	background-color: #f0f0f0;
}




/* for SmallSize
--------------------------------------------------------------------------------- */
@media print, screen and (min-width:360px) {



}





/* for MiddleSize(540-787)
-------------------------------------------------------------------------------- */
@media print, screen and (min-width:540px) {



}





/* for MiddleSize
-------------------------------------------------------------------------------- */
@media print, screen and (min-width:788px) {

	/* Selector
	------------------------------------------------------------- */

	.calendar_selector {
		padding: 20px 40px;
	}

	.calendar_selector > p {
		text-align: right;
	}
	

	/* Prev Next
	------------------------------------------------------------- */

	.calendar_nav {
		padding: 0 40px;
	}

	.calendar_nav .calendar_next {
		right: 40px;
	}

	.calendar_nav .calendar_prev a,
	.calendar_nav .calendar_next a {
		font-size: 1.6rem;
	}

}





/* for LargeSize
-------------------------------------------------------------------------------- */
@media print, screen and (min-width:980px) {

	/* Calendar
	------------------------------------------------------------- */

	.calendar_cont_box {
		margin-bottom: 60px;
	}

	.calendar_cont_box h2, .calendar_cont_box h3 {
		font-size: 2.4rem;
	}

}





/* for ExtraLargeSize
-------------------------------------------------------------------------------- */
@media print, screen and (min-width:1080px) {

	table.calendar_table tr td.cal_date {
		max-width: none;
		min-width: 12.5em;
	}

	table.calendar_table tr td.cal_date br {
		display: none;
	}

}





/* for ExtraLargeSize
-------------------------------------------------------------------------------- */
@media print, screen and (min-width:1280px) {

	.calendar_cont_box h2, .calendar_cont_box h3 {
		font-size: 2.6rem;
	}


}






/*** Print Styles ***/

@media print{

	/* Selector
	------------------------------------------------------------- */

	.calendar_selector {
		display: none;
	}


	/* Calendar
	------------------------------------------------------------- */

	.calendar_cont_box {
		margin-bottom: 60px;
	}

	table.calendar_table {
		border-left: 1px solid #a0a0a0;
		border-bottom: 1px solid #a0a0a0;
	}

	table.calendar_table tr th {
		color: #fff;
		background-color: #a0a0a0;
		border-right: 1px solid #fff;
	}

	table.calendar_table tr th:last-child {
		border-right: 1px solid #a0a0a0;
	}

	table.calendar_table tr td {
		border-top: #a0a0a0 solid 1px;
		border-right: #a0a0a0 solid 1px;
		background-color: #fff !important;
	}

	table.calendar_table tr td:last-child {
		border-right: 1px solid #a0a0a0;
	}


}
