/* ==========================================================================
   高齢者講習ページ専用スタイル
   ========================================================================== */
html {
	scroll-behavior: smooth;
}
/* 全体設定：ベースの文字サイズを大きくし、文字色をよりクッキリした黒に */
#seniors_training {
	font-size: 18px;
	line-height: 1.7;
	color: #1a1a1a;
}

/* ページヘッダー */
.page-header {
	padding: 50px 0;
	margin-top: 20px;
	text-align: center;
	background-color: #e7f3ff;
	border-bottom: 5px solid #0056b3;
}

.page-header h1 {
	margin-bottom: 15px;
	font-size: 34px;
	font-weight: bold;
	color: #004085;
}

.header-lead {
	max-width: 850px;
	margin: 0 auto 20px;
	font-size: 19px;
	color: #212529;
}

.cert-badge {
	display: inline-block;
	padding: 10px 25px;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	background-color: #004085;
	border-radius: 6px;
	box-shadow: 0 3px 6px rgb(0 0 0 / 15%);
}

.cert-badge a {
	color: #fff;
}

/* レイアウト */
.page-container {
	max-width: 1050px;
	padding: 0 20px;
	margin: 40px auto;
}

.koushu-main {
	padding: 50px 40px;
	background-color: #fff;
	border: 2px solid #ced4da;
	border-radius: 8px;
}

/* セクション設定 */
.koushu-section {
	margin-bottom: 60px;
}

.koushu-section h2 {
	padding-bottom: 10px;
	margin-bottom: 25px;
	font-size: 24px;
	font-weight: bold;
	color: #111;
	border-bottom: 4px solid #0056b3;
}

.koushu-section h2 i {
	margin-right: 10px;
	color: #0056b3;
}

.section-intro,
.action-intro {
	margin-bottom: 25px;
	font-size: 19px;
	font-weight: bold;
}

/* 大きなテキストボックス形式のお知らせ欄 */
.update-notice-box {
	padding: 30px;
	background-color: #f8f9fa;
	border: 2px solid #6c757d;
	border-radius: 8px;
}

.update-notice-box h2 {
	border-bottom: 3px solid #343a40;
}

.update-notice-box h2 i {
	color: #343a40;
}

.notice-content-area {
	max-height: 300px;
	padding: 25px;
	overflow-y: auto;
	font-size: 18px;
	line-height: 1.8;
	background-color: #fff;
	border: 1px solid #adb5bd;
	border-radius: 6px;
}

.notice-date {
	padding-bottom: 8px;
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: bold;
	color: #495057;
	border-bottom: 2px solid #dee2e6;
}

/* 対象者条件ボックス */
.condition-box {
	padding: 30px;
	background-color: #fff9f5;
	border: 2px solid #f8b273;
	border-radius: 8px;
}

.condition-list {
	margin-bottom: 25px;
	margin-left: 25px;
}

.condition-list li {
	margin-bottom: 15px;
	font-size: 19px;
	line-height: 1.7;
}

.condition-note {
	display: block;
	margin-top: 6px;
	font-size: 16px;
	font-weight: bold;
	color: #c92a2a;
}

.bus-attention {
	padding: 20px;
	font-size: 18px;
	line-height: 1.6;
	background-color: #fff;
	border: 1px solid #f8b273;
	border-left: 8px solid #d9480f;
}

/* ネット予約ボタンエリア */
.reservation-action-area {
	padding: 40px 30px;
	text-align: center;
	background-color: #fff9db;
	border: 3px solid #f59f00;
	border-radius: 12px;
}

.reserve-buttons-flex {
	display: flex;
	gap: 25px;
	margin-bottom: 30px;
}

.btn-action {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 25px 20px;
	color: #fff;
	text-decoration: none;
	border-radius: 10px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 15%);
}

.btn-action:hover {
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 16px rgb(0 0 0 / 20%);
	transform: translateY(-3px);
}

.btn-sub-text {
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 1px;
}

.btn-main-text {
	font-size: 24px;
	font-weight: bold;
}

.btn-main-reserve {
	background-color: #e63946;
}

.btn-sub-reserve {
	background-color: #343a40;
}

.tel-infomation {
	padding-top: 25px;
	font-size: 18px;
	border-top: 2px dashed #f59f00;
}

.tel-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 32px;
	font-weight: bold;
	color: #e63946;
	text-decoration: none;
}

/* ジャンプリンク全体の枠 */
.jump-links-container {
	padding: 20px;
	margin: 20px 0;
	background-color: #fff;
	border: 2px solid #e9ecef;
	border-radius: 8px;
}

.jump-intro {
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: bold;
	color: #495057;
}
/* 横並び設定 */
.jump-links-flex {
	display: flex;
	gap: 15px;
}
/* ジャンプボタン自体のデザイン */
.btn-jump {
	display: inline-block;
	flex: 1;
	padding: 14px;
	font-size: 18px;
	font-weight: bold;
	color: #0056b3;
	text-decoration: none;
	background-color: #f1f3f5;
	border: 2px solid #ced4da;
	border-radius: 6px;
	transition: all 0.2s;
}

.btn-jump:hover {
	text-decoration: none;
	background-color: #e9ecef;
	border-color: #0056b3;
}

.btn-jump i {
	margin-right: 6px;
}
/* 共通ルールボックス */
.rule-box {
	padding: 30px;
	background-color: #f8f9fa;
	border: 2px solid #dee2e6;
	border-radius: 8px;
}

.rule-list li {
	display: flex;
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 1.6;
}

.rule-label {
	flex-shrink: 0;
	width: 130px;
	height: fit-content;
	padding: 4px 6px;
	margin-right: 20px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	background-color: #495057;
	border-radius: 4px;
}

.rule-label.alert {
	/* background-color: #cc5de8; */
	background-color: #dc3545;
}

.example {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	color: #495057;
}
/* ルールボックス内リンク用の行スタイル */
.rule-list li.rule-jump-line {
	display: flex;
	align-items: flex-start;
	padding-top: 20px;
	margin-top: 25px;
	font-size: 18px;
	font-weight: bold;
	color: #333;
	border-top: 2px dashed #ced4da;
}

.rule-list li.rule-jump-line i {
	margin-top: 4px;
	margin-right: 10px;
	color: #0056b3;
}

/* テキストリンク自体のデザイン */
.text-link-jump {
	padding: 0 4px;
	font-size: 19px;
	font-weight: bold;
	color: #0056b3;
	text-decoration: underline;
	transition: color 0.2s;
}

.text-link-jump:hover {
	color: #e63946;
	text-decoration: none;
}

/* 料金一覧サマリーテーブル */
.table-attention {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: bold;
	color: #2b2b2b;
	text-align: right;
}

.summary-price-table {
	width: 100%;
	margin-bottom: 20px;
	font-size: 16px;
	border-collapse: collapse;
	box-shadow: 0 4px 8px rgb(0 0 0 / 8%);
}

.summary-price-table th,
.summary-price-table td {
	padding: 18px 15px;
	vertical-align: middle;
	text-align: center;
	border: 1px solid #dee2e6;
}

.summary-price-table th {
	font-size: 18px;
	font-weight: bold;
	color: #111;
	background-color: #e9ecef;
}

.course-name-td {
	width: 25%;
	font-size: 20px;
}

.course-name-td.koushu-green {
	background-color: #ebfbee;
	border-left: 8px solid #2b8a3e;
}

.course-name-td.koushu-yellow {
	background-color: #fff9db;
	border-left: 8px solid #e67e22;
}

.course-name-td.koushu-blue {
	background-color: #e7f5ff;
	border-left: 8px solid #1c7ed6;
}

.pref-badge {
	display: inline-block;
	padding: 2px 6px;
	font-size: 14px;
	font-weight: bold;
	background-color: rgb(0 0 0 / 6%);
	border-radius: 4px;
}

.price-td {
	width: 35%;
	font-size: 20px;
	font-weight: bold;
	color: #495057;
}

/* セット価格セルの縦並び配置設定 */
/* .price-td.set-price {
	display: flex;
	flex-direction: column;
	gap: 6px; 
	align-items: center;
	justify-content: center;
	height: 100%;
	background-color: #fff5f5;
	border: none; 
}
.summary-price-table td.set-price {
	background-color: #fff5f5;
} */

/* セット総額の数字 */
.total-price {
	display: block;
	/* font-size: 26px;  */
	font-weight: bold;
	color: #c92a2a;
}

.tax-note {
	display: inline-block;
	margin-left: 2px;
	font-size: 14px;
	font-weight: bold;
	/* color: #666; */
	color: #495057;
}
/* 【新規】追加した料金内訳のテキストスタイル */
.price-breakdown {
	display: block;
	padding: 3px 10px;
	font-size: 15px;
	font-weight: normal;
	color: #495057;
	background-color: #fff5f5;
	border: 1px solid #ffc9c9;
	border-radius: 4px;
}

/* 時間割コースカードレイアウト */
.course-container {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.course-card {
	overflow: hidden;
	background-color: #fff;
	border: 3px solid #dee2e6;
	border-radius: 8px;
}

.course-card.border-green {
	border-color: #2b8a3e;
}

.course-card.border-yellow {
	border-color: #e67e22;
}

.course-card.border-blue {
	border-color: #1c7ed6;
}

.course-header {
	padding: 20px;
	color: #fff;
}

.course-header.bg-green {
	background-color: #2b8a3e;
}

.course-header.bg-yellow {
	color: #fff;
	background-color: #f59f00;
}

.course-header.bg-blue {
	background-color: #1c7ed6;
}

.course-header h3 {
	margin-bottom: 3px;
	font-size: 22px;
	font-weight: bold;
}

.pref-code {
	display: inline-block;
	padding: 3px 10px;
	margin-left: 5px;
	font-size: 15px;
	background-color: rgb(0 0 0 / 15%);
	border-radius: 4px;
}

.course-note {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	opacity: 0.9;
}

.day-limit {
	display: inline-block;
	padding: 2px 8px;
	margin-top: 3px;
	font-size: 15px;
	font-weight: bold;
	color: #fff0f6;
	background-color: #c2255c;
	border-radius: 3px;
}

.course-body {
	padding: 25px;
	background-color: #fff;
}

/* 【新規】講習の特徴（時間・実車）タグスタイル */
.course-features {
	display: flex;
	gap: 12px;
	margin-bottom: 18px;
}

.feature-tag {
	display: inline-block;
	padding: 6px 16px;
	font-size: 15px;
	font-weight: bold;
	border-radius: 50px;
}

.tag-green {
	color: #2b8a3e;
	background-color: #ebfbee;
	border: 1px solid #2b8a3e;
}

.tag-yellow {
	color: #f59f00;
	background-color: #fff9db;
	border: 1px solid #f59f00;
}

.tag-blue {
	color: #1c7ed6;
	background-color: #e7f5ff;
	border: 1px solid #1c7ed6;
}

.tag-car {
	color: #c2255c;
	background-color: #fff5f5;
	border: 1px solid #c2255c;
}

.tag-no-car {
	color: #495057;
	background-color: #f8f9fa;
	border: 1px solid #ced4da;
}

.course-price-badge {
	padding: 12px 20px;
	margin-bottom: 15px;
	font-size: 18px;
	background-color: #f8f9fa;
	border-left: 4px solid #495057;
	border-radius: 4px;
}

.course-price-badge strong {
	margin: 0 4px;
	font-size: 26px;
	color: #d9480f;
}

/* 時間割リスト */
.time-list {
	padding: 0;
	list-style: none;
}

.time-list li {
	padding: 12px 0;
	font-size: 20px;
	font-weight: bold;
	color: #333;
	border-bottom: 1px dashed #eee;
}

.time-list li:last-child {
	border-bottom: none;
}

.time-list li i {
	margin-right: 8px;
	color: #868e96;
}
/* 時間割の補足テキスト用 */
.time-note {
	display: block;
	padding-left: 28px;
	margin-top: 4px;
	font-size: 15px;
	font-weight: bold;
	color: #c92a2a;
}

/* 最下部ボタンエリアの調整 */
.bottom-action-area {
	margin-top: 50px;
	margin-bottom: 0;
	background-color: #fff5f5;
	border: 3px solid #e63946;
}
/* スマートフォン対応（レスポンシブ） */
@media (max-width: 768px) {
	#seniors_training {
		font-size: 17px;
	}

	.page-header {
		margin-top: 0;
	}

	.page-header h1 {
		font-size: 26px;
	}

	.header-lead {
		font-size: 17px;
	}

	.cert-badge {
		width: 100%;
		font-size: 16px;
	}

	.page-container {
		padding: 0 8px;
	}

	.koushu-main {
		padding: 25px 15px;
	}

	.koushu-section h2 {
		font-size: 20px;
	}

	.section-intro,
	.action-intro {
		font-size: 17px;
	}

	.update-notice-box,
	.notice-content-area {
		padding: 15px;
	}

	.notice-content-area {
		font-size: 16px;
	}

	.condition-box,
	.reservation-action-area,
	.rule-box {
		padding: 20px;
	}

	.reserve-buttons-flex {
		flex-direction: column;
		gap: 12px;
	}

	.btn-main-text {
		font-size: 20px;
	}

	.rule-list li {
		flex-direction: column;
		gap: 5px;
	}

	.rule-label {
		display: inline-block;
		width: auto;
	}

	.tel-link {
		font-size: 26px;
	}

	.jump-links-flex {
		flex-direction: column;
		gap: 10px;
	}

	.btn-jump {
		padding: 12px;
		font-size: 16px;
	}

	.rule-list li.rule-jump-line {
		flex-direction: row;
		font-size: 16px;
	}

	.text-link-jump {
		display: inline-block;
		margin: 2px 0;
		font-size: 17px;
	}

	.summary-price-table th {
		font-size: 15px;
	}

	.summary-price-table th,
	.summary-price-table td {
		padding: 10px 5px;
	}

	.price-td {
		font-size: 16px;
	}

	.total-price {
		font-size: 19px;
	}

	.price-breakdown {
		padding: 2px 4px;
		font-size: 12px;
		line-height: 1.3;
	}

	.tax-note {
		font-size: 11px;
	}

	.course-name-td {
		width: 30%;
		font-size: 16px;
	}

	.course-header {
		padding: 15px;
	}

	.course-header h3 {
		font-size: 18px;
	}

	.pref-code {
		margin-top: 3px;
	}

	.course-body {
		padding: 20px;
	}

	.course-features {
		flex-wrap: wrap;
		gap: 6px;
	}

	.course-price-badge {
		padding: 10px 15px;
	}

	.time-list li {
		padding: 10px 0;
		font-size: 18px;
	}

	.time-note {
		padding-left: 0;
		font-size: 14px;
	}
}
