@charset "utf-8";

/* ==================================================
   AI体験アトリエ　「気になる講座を選ぶ」ページ用CSS
   テーマ：「額に入れて飾る、小さなアトリエ」（トップページと同じ）
   ・色、書体、ヘッダー、フッター、ボタン、額縁は index.css と同じです
   ・このページだけの部分には「このページだけ」と書いています
   「スマホ用」を先に書き、広い画面の変更は下にまとめています。
   ================================================== */

/* ---------- 色と書体の設定（index.css と同じ） ---------- */
:root {
	--ink: #1d4335;          /* 文字色・電話ボタン（深い緑の墨色） */
	--ink-dark: #122c22;     /* 電話ボタンにマウスを乗せたとき */
	--paper: #fbfaf5;        /* ページの地色（画用紙の白） */
	--sage: #e6efe9;         /* 区切りの背景（うすい若草色） */
	--beni: #a8324a;         /* 予約ボタン・強調（紅色） */
	--beni-dark: #85253a;    /* 予約ボタンにマウスを乗せたとき */
	--beni-wash: #f8e9ec;    /* 紅色のうすい背景 */
	--wood: #6b4a2f;         /* 額縁の木の色 */
	--line: #c9d6ce;         /* 区切り線 */
	--focus: #1a5fd0;        /* キーボード操作時の枠線 */

	--font-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
	--font-hand: "Klee One", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

/* ---------- 基本 ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding-bottom: calc(84px + env(safe-area-inset-bottom)); /* 画面下の固定ボタンの分 */
	font-family: var(--font-body);
	font-size: 19px;
	line-height: 1.85;
	color: var(--ink);
	background-color: var(--paper);
	overflow-wrap: break-word;
	overflow-x: clip; /* 横スクロールを防止 */
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ink);
	text-underline-offset: 4px;
}

a:focus-visible,
.menu-toggle:focus-visible + .menu-btn {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

h1, h2, h3 {
	font-family: var(--font-hand);
	font-weight: 600;
	line-height: 1.45;
}

/* hidden の付いた部品は、ほかの指定があっても必ず隠す */
[hidden] {
	display: none !important;
}

/* 画面には見えないが、読み上げソフトには読まれる文字 */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* 中身の横幅をそろえる箱 */
.inner {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 各セクションの見出し（左寄せ・下に紅色の線） */
.section-title {
	font-size: 30px;
	margin: 0 0 10px;
}

.section-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 6px;
	margin-top: 8px;
	border-radius: 3px;
	background-color: var(--beni);
}

.section-lead {
	max-width: 36em;
	margin: 0 0 32px;
}

/* ---------- ボタン（共通） ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	padding: 12px 32px;
	border-radius: 10px;
	font-size: 19px;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

.btn-main {
	background-color: var(--beni);
	color: #ffffff;
}

.btn-main:hover {
	background-color: var(--beni-dark);
	color: #ffffff;
}

/* 白地に緑の太枠のボタン（落ち着いた案内用） */
.btn-line {
	background-color: #ffffff;
	color: var(--ink);
	border: 3px solid var(--ink);
}

.btn-line:hover {
	background-color: var(--ink);
	color: #ffffff;
}

/* ---------- 額縁（このサイトの印） ---------- */
.frame {
	padding: 12px;
	background-color: #ffffff;
	border: 6px solid var(--wood);
	box-shadow: 0 10px 0 -4px rgba(29, 67, 53, 0.12);
}

.frame img {
	width: 100%;
}

/* ==================================================
   ヘッダー（index.css と同じ）
   ================================================== */
.site-header {
	background-color: #ffffff;
	border-bottom: 3px solid var(--ink);
}

.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	max-width: 1160px;
	margin: 0 auto;
	padding: 10px 16px;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: var(--ink);
	text-decoration: none;
}

.site-logo img {
	width: 52px;
	flex-shrink: 0;
}

.site-name {
	display: block;
	font-family: var(--font-hand);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.site-catch {
	display: none; /* スマホでは隠し、広い画面で表示 */
	font-size: 16px;
	line-height: 1.4;
}

/* メニュー開閉用のチェックボックス（見えないようにする） */
.menu-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

/* 「メニュー」ボタン */
.menu-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 76px;
	min-height: 62px;
	padding: 4px 10px;
	border: 3px solid var(--ink);
	border-radius: 10px;
	background-color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.2;
	cursor: pointer;
	user-select: none;
}

.menu-icon {
	font-size: 24px;
	line-height: 1;
}

.menu-text-close {
	display: none;
}

.menu-toggle:checked + .menu-btn {
	background-color: var(--ink);
	color: #ffffff;
}

.menu-toggle:checked + .menu-btn .menu-text-open {
	display: none;
}

.menu-toggle:checked + .menu-btn .menu-text-close {
	display: inline;
}

/* メニューの中身（スマホでは最初は閉じている） */
.global-nav {
	display: none;
	flex-basis: 100%;
}

.menu-toggle:checked ~ .global-nav {
	display: block;
}

.global-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--line);
}

.global-nav li {
	border-bottom: 2px solid var(--line);
}

.global-nav a {
	display: flex;
	align-items: center;
	min-height: 62px;
	padding: 8px 12px;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
}

.global-nav a::after {
	content: "›";
	margin-left: auto;
	font-size: 28px;
}

/* 今見ているページ */
.global-nav a[aria-current="page"] {
	background-color: var(--sage);
	box-shadow: inset 6px 0 0 var(--ink);
}

/* パソコン用の電話・予約ボタン（スマホでは隠す） */
.header-actions {
	display: none;
}

/* ==================================================
   ページの見出し（このページだけ）
   ================================================== */
.page-title {
	padding: 24px 0 36px;
	background-color: var(--paper);
}

/* 今いる場所（パンくず） */
.breadcrumb ol {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	font-size: 17px;
}

.breadcrumb li + li::before {
	content: "›";
	margin-right: 8px;
}

.breadcrumb a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: bold;
}

.page-title h1 {
	font-size: 36px;
	margin: 0 0 10px;
}

.page-lead {
	max-width: 32em;
	margin: 0;
	font-size: 20px;
}

/* ==================================================
   講座を探す（このページだけ）
   メイン：講座から探す／サブ：日付から探す
   ================================================== */
.finder-section {
	padding: 40px 0 56px;
	background-color: #ffffff;
	border-top: 3px solid var(--ink);
}

.finder-loading,
.finder-hint-box,
.finder-empty {
	padding: 14px 16px;
	background-color: var(--paper);
	border-left: 6px solid var(--ink);
	font-weight: bold;
}

.finder-hint {
	margin: 0 0 16px;
	font-weight: bold;
}

/* ---------- 探し方の切り替え（タブ） ---------- */
.finder-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 640px;
	margin: 0 0 28px;
	border-bottom: 4px solid var(--ink);
}

.finder-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 72px;
	padding: 8px 10px;
	border: 3px solid var(--ink);
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background-color: var(--paper);
	color: var(--ink);
	font-family: inherit;
	cursor: pointer;
}

.finder-tab + .finder-tab {
	margin-left: -3px;
}

.finder-tab-main {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.3;
}

.finder-tab-sub {
	font-size: 15px;
	font-weight: bold;
}

/* 選ばれているタブ：色の反転＋「✓」（色だけに頼らない） */
.finder-tab[aria-selected="true"] {
	background-color: var(--ink);
	color: #ffffff;
}

.finder-tab[aria-selected="true"] .finder-tab-main::before {
	content: "✓ ";
}

.finder-tab:hover .finder-tab-main {
	text-decoration: underline;
}

.finder-tab:focus-visible,
.pick-card:focus-visible,
.date-btn:focus-visible,
.mini-day:focus-visible,
.btn:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

/* ---------- 講座から探す：講座のカード ---------- */
.course-cards {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.pick-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: 100%;
	height: 100%;
	padding: 18px 18px 14px;
	border: 3px solid var(--ink);
	border-left-width: 12px;
	border-radius: 12px;
	background-color: #ffffff;
	color: var(--ink);
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}

/* 初級コースは左の帯が紅色（文字の「初級コース」でも区別できます） */
.pick-card-beginner {
	border-left-color: var(--beni);
}

.pick-card:hover {
	background-color: var(--sage);
}

.pick-card[aria-pressed="true"] {
	background-color: var(--sage);
	box-shadow: 6px 6px 0 var(--ink);
}

.pick-card-type {
	font-size: 16px;
	font-weight: bold;
}

.pick-card-beginner .pick-card-type {
	color: var(--beni-dark);
}

.pick-card-name {
	font-family: var(--font-hand);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.35;
}

.pick-card-short {
	font-size: 18px;
}

.pick-card-meta {
	font-size: 16px;
	font-weight: bold;
}

.pick-card-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-height: 48px;
	margin-top: 8px;
	border-radius: 8px;
	background-color: var(--ink);
	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
}

.pick-card-beginner .pick-card-cta {
	background-color: var(--beni);
}

.pick-card[aria-pressed="true"] .pick-card-cta {
	background-color: #ffffff;
	color: var(--ink);
	border: 3px solid var(--ink);
}

/* ---------- 選んだ講座 ---------- */
.course-detail {
	padding: 24px 18px 28px;
	background-color: var(--paper);
	border: 3px solid var(--ink);
	border-radius: 12px;
}

.detail-name {
	display: flex;
	flex-direction: column;
	margin: 0 0 8px;
	font-size: 32px;
	scroll-margin-top: 16px;
}

.detail-name:focus-visible,
.result-title:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 4px;
}

.detail-type {
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: bold;
}

.detail-desc {
	margin: 0 0 8px;
	font-size: 20px;
}

.detail-facts {
	margin: 0 0 16px;
	font-weight: bold;
}

.detail-facts strong,
.result-facts strong {
	font-size: 22px;
	color: var(--beni-dark);
}

.detail-sub {
	margin: 20px 0 6px;
	font-size: 26px;
}

.detail-help {
	margin: 0 0 14px;
	font-weight: bold;
}

/* 調整中・セットのお知らせ（点線の枠＋文字で伝える） */
.notice-undecided,
.notice-set {
	margin: 0 0 16px;
	padding: 12px 14px;
	background-color: #ffffff;
	border: 2px dashed var(--beni-dark);
	border-radius: 8px;
}

.notice-set {
	border-style: solid;
	border-color: var(--ink);
}

.badge-undecided {
	display: inline-block;
	padding: 0 8px;
	border: 2px dashed var(--beni-dark);
	border-radius: 6px;
	background-color: #ffffff;
	color: var(--beni-dark);
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
}

/* ---------- 午前・午後の枠 ---------- */
.slot-chooser {
	display: grid;
	gap: 14px;
}

.date-choice {
	margin: 0;
	padding: 12px 14px 14px;
	background-color: #ffffff;
	border: 2px solid var(--ink);
	border-radius: 10px;
	min-width: 0;
}

.date-choice.is-undecided {
	border-style: dashed;
}

.date-choice legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 0 6px;
	font-size: 21px;
	font-weight: bold;
}

.slot-options {
	display: grid;
	gap: 10px;
	margin-top: 6px;
}

.slot-option {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: 8px 14px;
	border: 2px solid var(--line);
	border-radius: 8px;
	background-color: #ffffff;
	cursor: pointer;
}

.slot-option:hover {
	border-color: var(--ink);
}

.slot-option input {
	width: 28px;
	height: 28px;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--beni);
	cursor: pointer;
}

.slot-option-text {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 12px;
}

.slot-option-name {
	font-size: 19px;
	font-weight: bold;
}

.slot-option-time {
	font-size: 21px;
	font-weight: bold;
}

.slot-option-cap {
	font-size: 16px;
}

/* 選んだ時間帯：太い枠・背景色・「（選択中）」の文字 */
.slot-option:has(input:checked) {
	background-color: var(--beni-wash);
	border: 3px solid var(--beni);
}

.slot-option:has(input:checked) .slot-option-name::after {
	content: "（選択中）";
	font-size: 16px;
}

.slot-option:has(input:focus-visible) {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

/* 選んだ講座と日時のまとめ */
.choice-summary:not(:empty) {
	margin-top: 10px;
	padding: 20px;
	background-color: #ffffff;
	border: 3px solid var(--ink);
	border-radius: 10px;
	box-shadow: 6px 6px 0 var(--ink);
}

.choice-summary-title {
	margin: 0 0 4px;
	font-family: var(--font-hand);
	font-size: 22px;
	font-weight: 600;
}

.choice-summary-main {
	margin: 0 0 14px;
	font-size: 21px;
	font-weight: bold;
	line-height: 1.6;
}

.reserve-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.reserve-actions p {
	margin: 0;
}

.reserve-or {
	font-weight: bold;
}

.reserve-pay {
	padding-top: 8px;
	border-top: 2px dashed var(--line);
}

/* 電話ボタン（小さめ） */
.btn-tel-small {
	background-color: var(--ink);
	color: #ffffff;
	gap: 6px;
}

.btn-tel-small:hover {
	background-color: var(--ink-dark);
	color: #ffffff;
}

/* ---------- 日付から探す ---------- */
.date-heading {
	margin: 0 0 6px;
	font-size: 24px;
}

.date-help {
	margin: 0 0 14px;
}

/* 日付の一覧（大きなボタン） */
.date-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.date-btn {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	min-height: 64px;
	padding: 8px 12px;
	border: 2px solid var(--ink);
	border-left-width: 8px;
	border-radius: 10px;
	background-color: #ffffff;
	color: var(--ink);
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}

.date-btn-beginner {
	border-left-color: var(--beni);
}

.date-btn:hover {
	background-color: var(--sage);
}

.date-btn[aria-pressed="true"] {
	background-color: var(--ink);
	color: #ffffff;
}

.date-btn[aria-pressed="true"] .date-btn-day::before {
	content: "✓ ";
}

.date-btn-day {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.3;
}

.date-btn-course {
	font-size: 15px;
	font-weight: bold;
}

/* 小さなカレンダー（一覧の補助） */
.mini-cal-box {
	margin: 0 0 24px;
}

.mini-cal-title {
	margin: 0 0 8px;
	font-size: 20px;
}

.mini-cal {
	width: 100%;
	max-width: 520px;
	border-collapse: collapse;
	table-layout: fixed;
	background-color: #ffffff;
	border: 3px solid var(--ink);
}

.mini-cal caption {
	padding: 0 0 6px;
	font-family: var(--font-hand);
	font-size: 22px;
	font-weight: 600;
	text-align: left;
}

.mini-cal th {
	padding: 4px 0;
	background-color: var(--ink);
	color: #ffffff;
	font-size: 16px;
}

.mini-cal td {
	height: 50px;
	padding: 2px;
	border: 1px solid var(--line);
	text-align: center;
	vertical-align: middle;
}

.mini-num {
	display: block;
	color: #4a5550;
	font-size: 16px;
}

.mini-closed {
	display: block;
	font-size: 12px;
	font-weight: bold;
}

.mini-day {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 2px solid var(--ink);
	border-radius: 8px;
	background-color: #ffffff;
	color: var(--ink);
	font-family: inherit;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
}

/* 初級コースの日は塗りつぶし（基礎は白地に枠）。凡例の文字でも説明します */
.mini-day-beginner {
	background-color: var(--beni);
	border-color: var(--beni);
	color: #ffffff;
}

.mini-day.is-selected {
	outline: 3px solid var(--ink);
	outline-offset: 1px;
	text-decoration: underline;
}

.mini-legend {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	font-size: 16px;
}

.mini-legend-mark {
	display: inline-block;
	width: 1.4em;
	height: 1.4em;
	margin-right: 4px;
	border: 2px solid var(--ink);
	border-radius: 4px;
	vertical-align: -0.3em;
	background-color: #ffffff;
}

.mini-legend-mark.is-beginner {
	background-color: var(--beni);
	border-color: var(--beni);
}

/* 選んだ日の講座 */
.date-result {
	margin-top: 8px;
}

.result-title {
	margin: 0 0 12px;
	font-size: 28px;
	scroll-margin-top: 16px;
}

.result-item {
	margin: 0 0 16px;
	padding: 18px 18px 20px;
	background-color: var(--paper);
	border: 3px solid var(--ink);
	border-left-width: 12px;
	border-radius: 10px;
}

.result-beginner {
	border-left-color: var(--beni);
}

.result-item > p {
	margin: 0 0 10px;
}

.result-type {
	font-size: 16px;
	font-weight: bold;
}

.result-name {
	margin: 0 0 8px;
	font-size: 26px;
}

.result-themes {
	margin: 0 0 12px;
	padding-left: 1.4em;
}

.result-themes li {
	margin-bottom: 4px;
}

/* 講座のご案内へ戻る */
.back-info {
	padding: 40px 0;
	background-color: var(--paper);
	border-top: 3px solid var(--ink);
}

.back-info p {
	margin: 0 0 14px;
	font-weight: bold;
}

.btn-line {
	background-color: #ffffff;
	color: var(--ink);
	border: 3px solid var(--ink);
}

.btn-line:hover {
	background-color: var(--ink);
	color: #ffffff;
}

/* メニューで「講座のご案内」の中にいることを示す */
.global-nav a.is-parent {
	background-color: var(--sage);
	box-shadow: inset 6px 0 0 var(--ink);
}

.back-link {
	margin: 24px 0 0;
}

/* ==================================================
   電話・予約（index.css と同じ）
   ================================================== */
.reserve {
	padding: 48px 0;
	background-color: var(--sage);
	border-top: 3px solid var(--ink);
}

.reserve-btns {
	display: grid;
	gap: 16px;
	max-width: 820px;
	margin: 0 0 20px;
}

.btn-big {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	padding: 16px;
	border-radius: 12px;
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	line-height: 1.35;
	box-shadow: 0 5px 0 rgba(0, 0, 0, 0.3);
}

.btn-big:active {
	transform: translateY(3px);
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.btn-big-label {
	font-size: 18px;
}

.btn-big-main {
	font-size: 30px;
	letter-spacing: 0.04em;
}

.btn-tel {
	background-color: var(--ink);
}

.btn-tel:hover {
	background-color: var(--ink-dark);
	color: #ffffff;
}

.btn-reserve {
	background-color: var(--beni);
}

.btn-reserve:hover {
	background-color: var(--beni-dark);
	color: #ffffff;
}

.reserve-note {
	margin: 0;
	font-weight: bold;
}

.reserve-note a {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
}

/* ==================================================
   フッター（index.css と同じ）
   ================================================== */
.site-footer {
	padding: 28px 0 36px;
	background-color: #ffffff;
	background-image: url("../images/banner2.png");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
	border-top: 3px solid var(--ink);
}

.top-return {
	text-align: right;
	margin: 0 0 16px;
}

.top-return a {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 8px;
	font-weight: bold;
}

.footer-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}

.footer-logo img {
	width: 60px;
	flex-shrink: 0;
}

.footer-name {
	display: block;
	font-family: var(--font-hand);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
}

.footer-catch {
	display: block;
	font-size: 16px;
	line-height: 1.5;
}

.footer-tel {
	display: inline-flex;
	align-items: center;
	min-height: 58px;
	margin-top: 12px;
	font-size: 26px;
	font-weight: bold;
	text-decoration: none;
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 16px;
}

.footer-nav a {
	display: flex;
	align-items: center;
	min-height: 52px;
	font-weight: bold;
}

.copyright {
	margin: 24px 0 0;
	text-align: center;
	font-size: 16px;
}

/* ==================================================
   スマホ画面下の固定ボタン（index.css と同じ）
   ================================================== */
.fixed-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 8px;
	padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
	background-color: #ffffff;
	border-top: 3px solid var(--ink);
}

.fixed-cta a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 62px;
	border-radius: 10px;
	color: #ffffff;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
}

.fixed-tel {
	background-color: var(--ink);
}

.fixed-reserve {
	background-color: var(--beni);
}


/* 「動きを減らす」設定の方には、なめらかスクロールを止める */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}


/* ==================================================
   タブレット（横幅768px以上）
   ================================================== */
@media (min-width: 768px) {

	.site-catch {
		display: block;
	}

	.btn {
		width: auto;
	}

	.section-title {
		font-size: 34px;
	}

	.page-title h1 {
		font-size: 46px;
	}

	/* 講座のカード：2列（初級コースは横いっぱい） */
	.course-cards {
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}

	.course-cards li:has(.pick-card-beginner) {
		grid-column: 1 / -1;
	}

	.course-detail {
		padding: 32px 36px 36px;
	}

	/* 午前・午後を横に並べる */
	.slot-options {
		grid-template-columns: 1fr 1fr;
	}

	.reserve-actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.reserve-actions p {
		flex-basis: 100%;
	}

	/* 日付の一覧：3列 */
	.date-list {
		grid-template-columns: repeat(3, 1fr);
	}

	.btn-line {
		width: auto;
	}

	.reserve-btns {
		grid-template-columns: 1fr 1fr;
	}

	.footer-nav ul {
		grid-template-columns: repeat(3, auto);
	}
}

/* ==================================================
   パソコン（横幅1024px以上）
   ================================================== */
@media (min-width: 1024px) {

	body {
		padding-bottom: 0;
	}

	/* 画面下の固定ボタンはパソコンでは不要（ヘッダーに表示） */
	.fixed-cta {
		display: none;
	}

	/* ヘッダー：1段目にロゴと電話・予約、2段目にメニュー */
	.menu-btn {
		display: none;
	}

	.header-actions {
		display: flex;
		gap: 12px;
		margin-left: auto;
	}

	.header-tel,
	.header-reserve {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 62px;
		padding: 6px 22px;
		border-radius: 10px;
		color: #ffffff;
		font-weight: bold;
		line-height: 1.3;
		text-decoration: none;
	}

	.header-tel {
		background-color: var(--ink);
	}

	.header-tel:hover {
		background-color: var(--ink-dark);
		color: #ffffff;
	}

	.header-reserve {
		background-color: var(--beni);
	}

	.header-reserve:hover {
		background-color: var(--beni-dark);
		color: #ffffff;
	}

	.header-small {
		font-size: 15px;
	}

	.header-number {
		font-size: 22px;
	}

	.global-nav {
		display: block;
	}

	.global-nav ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 4px 8px;
		border-top: none;
	}

	.global-nav li {
		border-bottom: none;
	}

	.global-nav a {
		min-height: 54px;
		padding: 8px 16px;
		font-size: 18px;
		border-bottom: 4px solid transparent;
	}

	.global-nav a::after {
		content: none;
	}

	.global-nav a:hover {
		border-bottom-color: var(--line);
	}

	.global-nav a.is-parent {
		background-color: transparent;
		box-shadow: none;
		border-bottom-color: var(--beni);
	}

	/* 今見ているページは下線で示す */
	.global-nav a[aria-current="page"] {
		background-color: transparent;
		box-shadow: none;
		border-bottom-color: var(--beni);
	}

	/* 講座のカード：基礎コース4つを横一列、初級コースはその下 */
	.course-cards {
		grid-template-columns: repeat(4, 1fr);
	}

	.pick-card-name {
		font-size: 25px;
	}

	/* 日付から探す：左に一覧、右に小さなカレンダー */
	.date-pick-grid {
		display: grid;
		grid-template-columns: 1fr 380px;
		gap: 32px;
		align-items: start;
	}

	.date-list {
		grid-template-columns: repeat(2, 1fr);
	}

	/* フッター：横並び */
	.footer-content {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

/* ==================================================
   電話番号が未設定のときの案内・固定ボタンがないとき
   ================================================== */
.phone-pending {
	margin: 0;
	padding: 12px 14px;
	background-color: #ffffff;
	border: 2px dashed var(--ink);
	border-radius: 8px;
	font-weight: bold;
}

.reserve .phone-pending {
	max-width: 820px;
	margin: 0 0 16px;
}

body.no-fixed-cta {
	padding-bottom: 0;
}