.p-schedule-hub .p-hub__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 657px;
}

.p-schedule-hub .p-hub-card {
	width: 100%;
}

.p-schedule-hub__lectures-heading {
	grid-column: 1 / -1;
	margin-block: 21px;
}

@media (max-width: 768px) {
	.p-schedule-hub .p-hub__grid {
		grid-template-columns: 1fr;
		max-width: none;
	}
}

.post-type-archive-sched-takadanobaba {
	--campus-color: var(--campus-baba, #4a35ff);
}

.post-type-archive-sched-anime_dance {
	--campus-color: var(--campus-anime-dance, #0097f5);
}

.p-schedule-archive .p-page-header {
	padding-bottom: 28px;
}

.p-schedule-archive .p-lower-frame .l-inner {
	max-width: 1080px;
	padding: 40px 35px 80px;
}

.p-schedule-switch.p-news-tabs {
	width: fit-content;
	max-width: calc(100% - 40px);
	margin: 0 auto 36px;
	overflow: visible;
}

.p-schedule-switch .p-news-tabs__btn,
.p-schedule-switch .p-news-tabs__en,
.p-schedule-switch .p-news-tabs__ja {
	white-space: nowrap;
}

.p-schedule-switch:not(.is-ready) .p-news-tabs__slider {
	opacity: 0;
}

.p-schedule-switch .p-news-tabs__slider {
	background-color: var(--campus-color, #4a35ff);
}

.p-cta-grid.p-schedule__lectures {
	grid-template-columns: 1fr;
	max-width: 305px;
	margin: 0 auto 30px;
}

@media (min-width: 769px) {
	.p-schedule__lectures .p-cta-grid__ja {
		font-size: 20px;
	}
}

.p-schedule__pdfs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin: 0 0 30px;
}

.p-schedule__pdf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 302px;
	max-width: 100%;
	padding: 15px;
	border: 1px solid #f24a4a;
	border-radius: 10px;
	background-color: #fff;
	color: #111;
	text-decoration: none;
}

.p-schedule__pdf-main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.p-schedule__pdf-icon {
	display: block;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
}

.p-schedule__pdf-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.p-schedule__pdf-title {
	color: #111;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.p-schedule__pdf-sub {
	color: #999;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.p-schedule__pdf-arrow {
	display: flex;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	overflow: hidden;
	border-radius: 999px;
	background-color: #f24a4a;
	color: #fff;
}

.p-schedule__pdf-arrow::after {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	background-color: currentColor;
	mask-image: url("/wp-content/themes/edance-parent/assets/img/icon/btn-arrow.svg");
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-image: url("/wp-content/themes/edance-parent/assets/img/icon/btn-arrow.svg");
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.p-schedule__pdf:hover .p-schedule__pdf-arrow::after {
	animation: arrow-hover 0.6s cubic-bezier(0.18, 0.89, 0.32, 1) both;
}

@media (prefers-reduced-motion: reduce) {
	.p-schedule__pdf:hover .p-schedule__pdf-arrow::after {
		animation: none;
	}
}

.p-schedule__note {
	margin-top: 24px;
	font-size: 14px;
}

.p-schedule-month,
.p-schedule-week {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
	font-weight: 700;
	text-align: center;
}

.p-schedule-month li,
.p-schedule-week li {
	padding: 0;
}

.p-schedule-week li {
	width: calc(100% / 7);
}

.p-schedule-month a,
.p-schedule-week a {
	display: block;
	width: 100%;
	padding: 10px;
	background-color: #fff;
	color: #ccc;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.p-schedule-month a {
	padding-right: 30px;
	padding-left: 30px;
	font-size: 20px;
}

.p-schedule-week a {
	font-size: 15px;
}

.p-schedule-month .is-active a,
.p-schedule-week .is-active a {
	background-color: var(--campus-color, #4a35ff);
	color: #fff;
}

.p-schedule-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ccc;
	background-color: #fff;
}

.p-schedule-table th,
.p-schedule-table td {
	vertical-align: top;
	border-left: 1px solid #ccc;
}

.p-schedule-table thead tr th {
	width: 19%;
	height: 44px;
	padding: 10px;
	background-color: #f1f1f1;
	color: #222;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.p-schedule-table thead tr th:first-child {
	width: 5%;
}

.p-schedule-table tbody th {
	padding-top: 2px;
	color: #222;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.p-schedule-table tbody td {
	position: relative;
	height: 25px;
	border-bottom: 1px dotted #ddd;
	background-color: #fff;
}

.p-schedule-table tbody tr:nth-child(6n) td,
.p-schedule-table tbody tr:nth-child(6n) th {
	border-bottom: 2px solid #ddd;
}

.p-schedule-table .p-item {
	position: relative;
	height: 100%;
	background-color: #f6f6f6;
	border: 2px solid var(--campus-color, #4a35ff);
}

.p-schedule--takadanobaba {
	--schedule-time: #1400bc;
}

.p-schedule--anime_dance {
	--schedule-time: #0097f5;
}

.p-schedule-table .p-item__time {
	padding: 5px 10px;
	background-color: var(--schedule-time, #1400bc);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.p-schedule-table .p-item__time .p-item__studio {
	display: none;
}

.p-schedule-table .p-item__note {
	padding: 5px 10px;
	background-color: #ffeb00;
	color: #000;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.p-schedule-table .p-item__genre {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 5px 10px;
	color: #222;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

.p-schedule-table .p-item__genre .p-label {
	flex: 0 0 auto;
	margin-left: 5px;
	padding: 4.5px;
	border-radius: 5px;
	background-color: #fff;
	color: #222;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
}

.p-schedule-table .p-item__instructor {
	padding: 7.5px;
	text-align: center;
}

.p-schedule-table .p-item__instructor .row {
	display: flex;
	justify-content: center;
}

.p-schedule-table .p-item__instructor .col {
	width: 105px;
	max-width: 100%;
}

.p-schedule-table .p-item__instructor .col > span {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 10px;
}

.p-schedule-table .p-figure {
	position: relative;
	width: 105px;
	height: 105px;
	margin: 0 auto;
	background-color: #ddd;
	background-size: cover;
	background-position: center;
}

.p-schedule-table .p-figure span {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 3px;
	background-color: #1b368c;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
}

.p-schedule-table .p-item__hover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 11;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 10px;
	background-color: rgb(0 0 0 / 0.8);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.p-schedule-table .p-item:hover .p-item__hover {
	opacity: 1;
}

.p-schedule-table .p-item__hover .p-button {
	display: block;
	width: 100%;
	min-width: 0;
	height: auto;
	margin: 4px 0;
	padding: 10px 8px;
	border-radius: 0;
	background-color: transparent;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

.p-schedule-table .p-item__hover .p-button--enter {
	border: 1px solid #fff;
	background-color: transparent;
	color: #fff;
}

.p-schedule-table .p-item__hover .p-button--fill {
	background-color: var(--campus-color, #4a35ff);
	color: #fff;
}

@media screen and (min-width: 992px) {
	.p-schedule-table .p-item {
		position: absolute;
		z-index: 10;
		width: calc(100% - 2px);
		/* margin: 1px; */
		overflow: hidden;
		max-width: 200px;
    	margin: 0 auto;


	}
}

@media screen and (max-width: 991px) {
	.p-schedule-archive .p-lower-frame .l-inner {
		padding:0 0 40px;
	}

	.p-schedule-month,
	.p-schedule-week {
		margin-bottom: 16px;
	}

	.p-schedule-month a {
		padding-right: 12px;
		padding-left: 12px;
		font-size: 14px;
	}

	.p-schedule-week a {
		padding: 8px 2px;
		font-size: 12px;
	}

	.p-schedule-table {
		display: block;
		border: none;
		background-color: transparent;
	}

	.p-schedule-table tr,
	.p-schedule-table th,
	.p-schedule-table td,
	.p-schedule-table thead,
	.p-schedule-table tbody {
		display: block !important;
		width: 100%;
		height: auto !important;
		border: none !important;
		background-color: transparent !important;
	}

	.p-schedule-table thead,
	.p-schedule-table tbody th {
		display: none !important;
	}

	.p-schedule-table tbody tr:not(:has(.p-item)),
	.p-schedule-table tbody td:not(:has(.p-item)) {
		display: none !important;
	}

	.p-schedule-table .p-item {
		height: auto !important;
		margin-bottom: 12px;
	}

	.p-schedule-table .p-item__hover {
		position: static;
		background-color: transparent;
		opacity: 1;
	}

	.p-schedule-table .p-item__hover .p-button {
		font-size: 16px;
	}

	.p-schedule-table .p-item__hover .p-button--enter {
		border: 2px solid #000;
		background-color: transparent;
		color: #000;
	}

	.p-schedule-table .p-item__time {
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 14px;
	}

	.p-schedule-table .p-item__time .p-item__studio {
		display: block;
		padding: 4px 10px;
		border: 1px solid #ccc;
		background-color: #f1f1f1;
		color: #000;
		font-size: 14px;
	}

	.p-schedule-table .p-item__genre {
		font-size: 14px;
	}

	.p-schedule-table .p-item__genre .p-label {
		font-size: 12px;
	}
}
