/**
 * 固定ページ: training-schedule 専用スタイル
 * URL: /course/training-schedule
 * page-training-schedule.php
 */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.page-training-schedule {
	margin-top: -16px;
	color: var(--color-black);
	font-family: var(--font-family-primary);
}

/* ----- KV（page-about と同構成・training-schedule 専用クラス） ----- */
.page-training-schedule .training-schedule-kv {
	position: relative;
	width: 100%;
}

.page-training-schedule .training-schedule-kv__image {
	width: 100%;
	line-height: 0;
}

.page-training-schedule .training-schedule-kv__image img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: bottom;
}

@media (max-width: 1440px) {
	.page-training-schedule .training-schedule-kv__image {
		height: 270px;
		overflow: hidden;
	}

	.page-training-schedule .training-schedule-kv__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}

@media (max-width: 768px) {
	.page-training-schedule .training-schedule-kv__image {
		height: 160px;
	}
}

.page-training-schedule .training-schedule-kv__text {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 4.8125rem;
	box-sizing: border-box;
}

.page-training-schedule .training-schedule-kv__title {
	margin: 0;
	font-size: var(--font-size-xl);
	font-weight: var(--font-weight-bold);
	line-height: 1.4;
	color: var(--color-black);
}

.page-training-schedule .training-schedule-kv__title-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	max-width: 100%;
	flex-wrap: wrap;
	row-gap: 8px;
	height: auto;
}

.page-training-schedule .training-schedule-kv__title-inner .title-contact-break {
	display: block;
	flex: 0 0 100%;
	width: 0;
	height: 0;
}

.page-training-schedule .training-schedule-kv__title-inner .title-contact-text {
	display: flex;
	align-items: center;
	line-height: 0;
}

.page-training-schedule .training-schedule-kv__title-inner .mask-text {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: bottom;
}

/* 1440px〜769px：8文字 SVG 用 */
@media (max-width: 1440px) and (min-width: 769px) {
	.page-training-schedule .training-schedule-kv__title-inner {
		height: auto;
		width: 100%;
	}

	.page-training-schedule .training-schedule-kv__title-inner .title-contact-text {
		display: block;
		height: 100%;
		min-height: 0;
		min-width: 0;
		max-width: none;
	}

	.page-training-schedule .training-schedule-kv__title-inner .mask-text {
		height: calc(2.5rem * (0.46 + 54vw / 1440));
		width: auto;
		max-width: 100%;
		object-fit: contain;
		display: block;
	}
}

@media (max-width: 768px) {
	.page-training-schedule .training-schedule-kv__text {
		height: auto;
		padding: 4.1875rem var(--container-padding-x-sp, 1.5rem);
	}

	.page-training-schedule .training-schedule-kv__title-inner {
		width: 100%;
		gap: 4px;
		flex-wrap: nowrap;
	}

	.page-training-schedule .training-schedule-kv__title-inner .title-contact-text {
		flex: 0 0 auto;
		width: max-content;
	}

	.page-training-schedule .training-schedule-kv__title-inner .mask-text {
		height: 28px;
		width: auto;
		max-width: none;
		object-fit: contain;
	}

	.page-training-schedule .training-schedule-kv__title-inner .title-contact-text:nth-child(3) .mask-text {
		height: 26px;
	}

	.page-training-schedule .training-schedule-kv__title-inner .title-contact-text:nth-child(6) .mask-text {
		height: 17px;
	}

	.page-training-schedule .training-schedule-kv__title-inner .title-contact-text:nth-child(7) .mask-text {
		height: 6px;
	}
}

/* ----- パンくず（page-about と同構成・training-schedule 専用クラス） ----- */
.page-training-schedule .training-schedule-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0 8px;
	padding: 12px 2em;
	background-color: var(--color-gray-bg);
	font-family: var(--font-family-primary);
	font-size: var(--font-size-xs);
	line-height: var(--line-height-normal);
	font-weight: var(--font-weight-bold);
	color: var(--color-gray-dark);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.page-training-schedule .training-schedule-breadcrumb::-webkit-scrollbar {
	display: none;
}

.page-training-schedule .training-schedule-breadcrumb a,
.page-training-schedule .training-schedule-breadcrumb span {
	white-space: nowrap;
}

.page-training-schedule .training-schedule-breadcrumb a {
	color: var(--color-gray-dark);
	text-decoration: none;
}

.page-training-schedule .training-schedule-breadcrumb a:hover {
	text-decoration: underline;
}

.page-training-schedule .training-schedule-breadcrumb__sep,
.page-training-schedule .training-schedule-breadcrumb__current {
	color: var(--color-gray-dark);
	user-select: none;
}

/* ----- コンテナ / 本文 ----- */
.page-training-schedule .container {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
}

.page-training-schedule .training-schedule-body {
	padding: 0 24px 0;
}

/* ============================================================
   sec01 : 実習・実践教育（ライトグリーンカード）
   ============================================================ */
.page-training-schedule .training-schedule-sec01 {
	position: relative;
	width: 100%;
	padding: clamp(56px, 7.22vw, 104px) 0 clamp(48px, 6.94vw, 100px);
	box-sizing: border-box;
}

.page-training-schedule .training-schedule-sec01__inner {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 clamp(24px, 5.56vw, 80px);
	box-sizing: border-box;
}

/* --- カード --- */
.page-training-schedule .training-schedule-card {
	position: relative;
	background: #ECFFDA;
	border: var(--border-width-lg) solid var(--color-black);
	border-radius: var(--border-radius-lg);
	padding: clamp(56px, 6.6vw, 95px) clamp(24px, 2.78vw, 40px) clamp(40px, 3.33vw, 48px);
	box-sizing: border-box;
}

/* --- タブ型見出し（横長ヘキサゴン） --- */
.page-training-schedule .training-schedule-card__tab {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	width: 877px;
	max-width: min(877px, 92vw);
	height: 71px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	--hex-border: 4px;
}

.page-training-schedule .training-schedule-card__tab::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: var(--color-black);
	clip-path: polygon(3% 2.8%, 97% 2.8%, 99.7% 50%, 97% 97.2%, 3% 97.2%, 0.3% 50%);
	z-index: 1;
}

.page-training-schedule .training-schedule-card__tab::after {
	content: '';
	position: absolute;
	inset: var(--hex-border);
	background-color: var(--color-white);
	clip-path: polygon(3% 2.8%, 97% 2.8%, 99.7% 50%, 97% 97.2%, 3% 97.2%, 0.3% 50%);
	z-index: 2;
}

.page-training-schedule .training-schedule-card__tab-label {
	position: relative;
	z-index: 3;
	font-family: var(--font-family-primary);
	font-size: clamp(20px, calc(15.4px + 0.83vw), 32px);
	font-weight: var(--font-weight-bold);
	line-height: 1;
	color: var(--color-black);
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.page-training-schedule .training-schedule-card__tab-br--sp,
.page-training-schedule .training-schedule-card__heading-br--sp {
	display: none;
}

/* --- 本文 --- */
.page-training-schedule .training-schedule-card__body {
	padding: 0 clamp(0px, 1.67vw, 24px);
}

.page-training-schedule .training-schedule-card__heading {
	margin: 0 0 clamp(20px, 2.22vw, 32px);
	font-family: var(--font-family-primary);
	font-size: clamp(18px, calc(14.4px + 0.67vw), 24px);
	font-weight: var(--font-weight-bold);
	line-height: 1.4;
	color: var(--color-black);
}

.page-training-schedule .training-schedule-card__text {
	font-family: var(--font-family-primary);
	font-size: clamp(15px, calc(12.6px + 0.42vw), 18px);
	font-weight: var(--font-weight-bold);
	line-height: 1.61;
	color: var(--color-black);
}

.page-training-schedule .training-schedule-card__text p {
	margin: 0 0 1.61em;
}

.page-training-schedule .training-schedule-card__text p:last-child {
	margin-bottom: 0;
}

/* --- Tablet/SP --- */
@media (max-width: 768px) {
	.page-training-schedule .training-schedule-sec01 {
		padding: 64px 0 64px;
	}

	.page-training-schedule .training-schedule-card {
		padding: 48px 21px 32px;
	}

	/* タブ：2行表示の小ヘキサゴン（296×60） */
	.page-training-schedule .training-schedule-card__tab {
		--hex-border: 2px;
		width: min(92vw, 296px);
		height: 60px;
	}

	.page-training-schedule .training-schedule-card__tab-label {
		font-size: 16px;
		letter-spacing: 0;
		white-space: normal;
		text-align: center;
		line-height: 1.25;
		padding: 0 1rem;
	}

	.page-training-schedule .training-schedule-card__tab-br--sp,
	.page-training-schedule .training-schedule-card__heading-br--sp {
		display: inline;
	}

	.page-training-schedule .training-schedule-card__body {
		padding: 0;
	}

	/* 見出し：18px / 2行想定 */
	.page-training-schedule .training-schedule-card__heading {
		font-size: 18px;
		margin-bottom: 22px;
		line-height: 1.4;
	}

	/* 本文：14px / Medium(500) / line-height 2.07（Figma 28.961px / 14px 実測） */
	.page-training-schedule .training-schedule-card__text {
		font-size: 14px;
		font-weight: 500;
		line-height: 2.07;
	}

	.page-training-schedule .training-schedule-card__text p {
		margin-bottom: 1.6em;
	}

	.page-training-schedule .training-schedule-card__text br {
		display: none;
	}
}

/* ============================================================
   sec02 / sec03 : 年次別 実習スケジュール表 + 実習写真
   wrapper はセクション間で共有（中身のカードは --year-* で色切替）
   ============================================================ */
.page-training-schedule .training-schedule-sec02,
.page-training-schedule .training-schedule-sec03,
.page-training-schedule .training-schedule-sec04 {
	position: relative;
	width: 100%;
	padding: 0 0 clamp(48px, 6.94vw, 100px);
	box-sizing: border-box;
}

.page-training-schedule .training-schedule-sec02__inner,
.page-training-schedule .training-schedule-sec03__inner,
.page-training-schedule .training-schedule-sec04__inner {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 clamp(24px, 5.56vw, 80px);
	box-sizing: border-box;
}

/* --- 表組みカード --- */
.page-training-schedule .training-schedule-table-card {
	position: relative;
	background: var(--color-white);
	border: var(--border-width-lg) solid var(--color-black);
	border-radius: 5px;
	padding: clamp(56px, 4.65vw, 67px) clamp(24px, 2.85vw, 41px) clamp(40px, 4.65vw, 67px);
	box-sizing: border-box;
	--tab-bg-color: #65CEFF; /* 年次別のタブ塗色（default: 1年次のブルー） */
}

.page-training-schedule .training-schedule-table-card--year-2 {
	--tab-bg-color: #F19BAB; /* 2年次のピンク */
}

.page-training-schedule .training-schedule-table-card--year-3 {
	--tab-bg-color: #A7DC78; /* 3年次のグリーン */
}

/* タブ見出し（小ヘキサゴン：440×59、水色塗り・カード左寄せ） */
.page-training-schedule .training-schedule-table-card__tab {
	position: absolute;
	top: 0;
	left: clamp(16px, 2.92vw, 42px);
	transform: translateY(-50%);
	margin: 0;
	width: 440px;
	max-width: calc(100% - clamp(32px, 5.84vw, 84px));
	height: 59px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	--hex-border: 4px;
}

.page-training-schedule .training-schedule-table-card__tab::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: var(--color-black);
	clip-path: polygon(6% 2.8%, 94% 2.8%, 99.4% 50%, 94% 97.2%, 6% 97.2%, 0.6% 50%);
	z-index: 1;
}

.page-training-schedule .training-schedule-table-card__tab::after {
	content: '';
	position: absolute;
	inset: var(--hex-border);
	background-color: var(--tab-bg-color, #65CEFF);
	clip-path: polygon(6% 2.8%, 94% 2.8%, 99.4% 50%, 94% 97.2%, 6% 97.2%, 0.6% 50%);
	z-index: 2;
}

.page-training-schedule .training-schedule-table-card__tab-label {
	position: relative;
	z-index: 3;
	font-family: var(--font-family-primary);
	font-size: 20px;
	font-weight: var(--font-weight-bold);
	line-height: 1;
	color: var(--color-black);
	letter-spacing: 0.05em;
	white-space: nowrap;
}

/* --- 表組み --- */
.page-training-schedule .training-schedule-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

@media (max-width: 768px) {
	.page-training-schedule .training-schedule-table {
		margin: 0;
	}
}

.page-training-schedule .training-schedule-table__th,
.page-training-schedule .training-schedule-table__td {
	border: var(--border-width-lg) solid var(--color-black);
	padding: 16px 32px;
	font-family: var(--font-family-primary);
	color: var(--color-black);
	text-align: left;
	vertical-align: middle;
	box-sizing: border-box;
}

.page-training-schedule .training-schedule-table__th {
	background: #FFD02F;
	font-size: 18px;
	font-weight: var(--font-weight-bold);
	line-height: 1.33;
}

.page-training-schedule .training-schedule-table__th--days,
.page-training-schedule .training-schedule-table__td--days {
	width: 179px;
	text-align: center;
}

.page-training-schedule .training-schedule-table__td {
	background: var(--color-white);
	font-size: 16px;
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.page-training-schedule .training-schedule-table__td--days {
	font-size: 20px;
	white-space: nowrap;
}

.page-training-schedule .training-schedule-table__td-sub {
	display: inline-block;
	margin-top: 4px;
	font-weight: var(--font-weight-normal);
	color: var(--color-black);
}

.page-training-schedule .training-schedule-table-card__note {
	margin: 19px 0 0;
	font-family: var(--font-family-primary);
	font-size: 14px;
	font-weight: var(--font-weight-normal);
	line-height: 1.43;
	color: var(--color-black);
}

/* --- 実習写真2枚（カード内・注釈の下） --- */
.page-training-schedule .training-schedule-table-card__photos {
	display: flex;
	gap: 25px;
	margin: clamp(32px, 4.17vw, 60px) 0 0;
	padding: 0;
	list-style: none;
}

.page-training-schedule .training-schedule-table-card__photo {
	flex: 1 0 0;
	min-width: 0;
	height: clamp(160px, 16.67vw, 240px);
	border: var(--border-width-lg) solid var(--color-black);
	border-radius: 8px;
	overflow: hidden;
}

.page-training-schedule .training-schedule-table-card__photo picture {
	display: block;
	width: 100%;
	height: 100%;
}

.page-training-schedule .training-schedule-table-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- Tablet/SP --- */
@media (max-width: 768px) {
	.page-training-schedule .training-schedule-sec02,
	.page-training-schedule .training-schedule-sec03,
	.page-training-schedule .training-schedule-sec04 {
		padding: 0 0 56px;
	}

	/* カード：ボーダー 4px → 2px、内側 padding 調整 */
	.page-training-schedule .training-schedule-table-card {
		border-width: 2px;
		padding: 44px 22px 32px;
	}

	/* タブ：中央寄せ・256×38 / 1行表示 */
	.page-training-schedule .training-schedule-table-card__tab {
		--hex-border: 2px;
		left: 50%;
		transform: translate(-50%, -50%);
		width: min(calc(100% - 60px), 256px);
		height: 38px;
		max-width: none;
	}

	.page-training-schedule .training-schedule-table-card__tab-label {
		font-size: 14px;
		letter-spacing: 0;
		white-space: nowrap;
		line-height: 1;
		padding: 0;
	}

	/* テーブル：罫線 4px → 2px */
	.page-training-schedule .training-schedule-table__th,
	.page-training-schedule .training-schedule-table__td {
		border-width: 2px;
	}

	.page-training-schedule .training-schedule-table__th {
		padding: 16px 12px;
		font-size: 16px;
		line-height: 1.5;
	}

	.page-training-schedule .training-schedule-table__td {
		padding: 11px 6px;
		font-size: 12px;
		line-height: 1.5;
	}

	.page-training-schedule .training-schedule-table__th--days,
	.page-training-schedule .training-schedule-table__td--days {
		width: 76px;
		padding-left: 0;
		padding-right: 0;
	}

	.page-training-schedule .training-schedule-table__td--days {
		font-size: 14px;
	}

	.page-training-schedule .training-schedule-table__td-sub {
		margin-top: 0;
		font-size: 12px;
		font-weight: var(--font-weight-normal);
		line-height: 1.5;
	}

	/* 注釈 */
	.page-training-schedule .training-schedule-table-card__note {
		margin-top: 12px;
		font-size: 12px;
		line-height: 1.67;
	}

	/* 写真：SP は縦並び 2 枚・横幅いっぱい・173px 高 */
	.page-training-schedule .training-schedule-table-card__photos {
		flex-direction: column;
		gap: 16px;
		margin-top: 24px;
		padding: 0;
	}

	.page-training-schedule .training-schedule-table-card__photo {
		flex: 0 0 auto;
		width: 100%;
		height: 173px;
		border-width: 2px;
		border-radius: 6px;
	}
}

/* ============================================================
   sec05 : 夜間課程の実習について
   グリーングラデ背景 + 白カード（写真 + ラベル + 本文）
   ============================================================ */
.page-training-schedule .training-schedule-sec05 {
	position: relative;
	width: 100%;
	padding: clamp(80px, 8.06vw, 116px) 0 clamp(48px, 5.56vw, 80px);
	background: linear-gradient(180deg, #6ED0AF 0%, #99D77C 100%);
	box-sizing: border-box;
}

.page-training-schedule .training-schedule-sec05__inner {
	position: relative;
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 0 clamp(24px, 5.56vw, 80px);
	box-sizing: border-box;
}

/* タブ（白ヘキサゴン：362×71、カード中央上に重ねて配置） */
.page-training-schedule .training-schedule-sec05__tab {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	width: min(calc(100% - clamp(48px, 11.12vw, 160px)), 362px);
	height: 71px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	pointer-events: none;
	--hex-border: 4px;
}

.page-training-schedule .training-schedule-sec05__tab::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: var(--color-black);
	clip-path: polygon(6% 2.8%, 94% 2.8%, 99.4% 50%, 94% 97.2%, 6% 97.2%, 0.6% 50%);
	z-index: 1;
}

.page-training-schedule .training-schedule-sec05__tab::after {
	content: '';
	position: absolute;
	inset: var(--hex-border);
	background-color: var(--color-white);
	clip-path: polygon(6% 2.8%, 94% 2.8%, 99.4% 50%, 94% 97.2%, 6% 97.2%, 0.6% 50%);
	z-index: 2;
}

.page-training-schedule .training-schedule-sec05__tab-label {
	position: relative;
	z-index: 3;
	font-family: var(--font-family-primary);
	font-size: clamp(18px, 1.94vw, 28px);
	font-weight: var(--font-weight-bold);
	line-height: 1;
	color: var(--color-black);
	letter-spacing: 0.05em;
	white-space: nowrap;
}

/* カード本体 */
.page-training-schedule .training-schedule-sec05__card {
	position: relative;
	background: var(--color-white);
	border: var(--border-width-lg) solid var(--color-black);
	border-radius: 10px;
	padding: clamp(40px, 4.10vw, 59px) clamp(24px, 2.78vw, 40px) clamp(32px, 2.78vw, 40px);
	display: flex;
	align-items: flex-start;
	gap: clamp(20px, 2.43vw, 35px);
	box-sizing: border-box;
}

.page-training-schedule .training-schedule-sec05__photo {
	flex: 0 0 auto;
	width: clamp(280px, 33.45vw, 481.778px);
	aspect-ratio: 481.778 / 271;
	border: var(--border-width-lg) solid var(--color-black);
	border-radius: 8px;
	overflow: hidden;
}

.page-training-schedule .training-schedule-sec05__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.page-training-schedule .training-schedule-sec05__content {
	flex: 1 1 0;
	min-width: 0;
}

.page-training-schedule .training-schedule-sec05__labels {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.page-training-schedule .training-schedule-sec05__labels li {
	background: #F3F3F3;
	border-radius: 4px;
	padding: 6px 18px;
	font-family: var(--font-family-primary);
	font-size: 16px;
	font-weight: var(--font-weight-bold);
	line-height: 1.75;
	color: var(--color-black);
	text-align: left;
}

.page-training-schedule .training-schedule-sec05__text {
	margin: clamp(16px, 1.67vw, 24px) 0 0;
	font-family: var(--font-family-primary);
	font-size: 16px;
	font-weight: var(--font-weight-normal);
	line-height: 1.75;
	color: var(--color-black);
}

/* --- Tablet/SP --- */
@media (max-width: 768px) {
	.page-training-schedule .training-schedule-sec05 {
		padding: 64px 0;
	}

	.page-training-schedule .training-schedule-sec05__inner {
		padding: 0 24px;
	}

	/* タブ：白ヘキサゴン、296×59 */
	.page-training-schedule .training-schedule-sec05__tab {
		--hex-border: 2px;
		width: min(calc(100% - 48px), 296px);
		height: 59px;
	}

	.page-training-schedule .training-schedule-sec05__tab-label {
		font-size: 20px;
		letter-spacing: 0;
	}

	/* カード：縦並び、2px枠 */
	.page-training-schedule .training-schedule-sec05__card {
		flex-direction: column;
		align-items: stretch;
		border-width: 2px;
		border-radius: 10px;
		padding: 55px 24px 32px;
		gap: 18px;
	}

	/* 写真：100%、16:9、角丸4px */
	.page-training-schedule .training-schedule-sec05__photo {
		width: 100%;
		aspect-ratio: 279 / 157;
		border-width: 2px;
		border-radius: 4px;
	}

	/* ラベル：左寄せ、14px Bold */
	.page-training-schedule .training-schedule-sec05__labels {
		gap: 10px;
	}

	.page-training-schedule .training-schedule-sec05__labels li {
		font-size: 14px;
		font-weight: var(--font-weight-bold);
		padding: 8px 18px;
		line-height: 1.5;
		text-align: left;
	}

	/* 本文：14px Medium、line-height 24/14 */
	.page-training-schedule .training-schedule-sec05__text {
		margin-top: 18px;
		font-size: 14px;
		font-weight: var(--font-weight-medium);
		line-height: 1.71;
	}
}
