/* ============================================================
   型A 桔梗（落ち着いた・和風）　生成り × 墨 × 柿渋の朱。見出しは明朝・PCは縦書き
   ここが「型」ごとに変える部分。色・書体・角の丸みを直すと、サイト全体に効く。
   組み方（余白・並び）は template/base.css で4つの型共通。
   ============================================================ */
:root {
  /* 色 */
  --c-base: #f8f6f0;        /* 地の色 */
  --c-paper: #ffffff;       /* 交互に敷く面 */
  --c-text: #2b2b2b;        /* 文字 */
  --c-sub: #5c5750;         /* 補足の文字 */
  --c-accent: #9c4a2f;      /* 差し色（ボタン・番号・金額） */
  --c-line: #d8d2c4;        /* 罫線 */
  --c-dark: #2b2b2b;        /* 申し込みの帯 */
  --c-on-dark: #f6f3ec;     /* 帯の上の文字 */
  --c-accent-on-dark: #9c4a2f;       /* 帯の上のボタン */
  --c-accent-on-dark-text: #ffffff;  /* 帯の上のボタンの文字 */
  --c-map: #ece7db;         /* 地図の見本の地 */
  /* セクションごとに色を変えるとき（content.json の sectionBg: "color"）の3色 */
  --c-sec-1: #efeadd;
  --c-sec-2: #f4efe6;
  --c-sec-3: #ebe6da;
  /* 書体 */
  --f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-head: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --w-head: 600;             /* 見出しの太さ */
  --ls-head: .1em;           /* 見出しの字間 */
  /* 角の丸み */
  --radius: 2px;            /* ボタン */
  --radius-img: 0px;        /* 写真・枠 */
  --radius-mark: 2px;       /* 屋号の印・流れの番号 */
}


/* ============================================================
   教室ライトプラン 共通の骨組み（4つの型で同じ）
   型ごとの違い（配色・書体・角の丸み・見出しの向き）は themes/◯◯.css と body のクラスで決まる。
   このファイルは案件ごとに触らない。直すときは全部の型に効くことを確かめる。

   body のクラス
     .tategaki … 和風：PCの見出しを左に縦書きで立てる／写真全面のFVと申し込み帯も縦書き
     .h2-side  … きちんと：PCの見出しを左の列に横書きで置く
     （なし）  … 見出しは中央に横書き

   使わないと決めた飾り：左端だけの色線・見出し下の短い色線・見出しの頭の色丸・同じ箱の繰り返し
   ============================================================ */

:root {
  --sec-space: 128px;
  --wrap: 1120px;
  --header-h: 72px;
  --gutter: max(24px, calc((100vw - var(--wrap)) / 2));
}
@media (max-width: 899px) {
  :root { --sec-space: 72px; --header-h: 60px; --gutter: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .05em;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
/* 改行の位置：見出し・名前・ボタンなど短い言葉は、言葉の切れ目でだけ折り返す（「ヒアリン／グ」のような切れ方を防ぐ）。
   auto-phrase は Chrome・Edge が対応。対応していないブラウザでは balance で行の長さをそろえる */
h1, h2, h3, dt, .btn, .steps__name, .features h3, .teacher__word, .fv__catch span, .apply__title span, .trial h3, .info__title, .faq summary, .faq__q {
  word-break: auto-phrase; text-wrap: balance;
}
/* 本文は1文字だけの行（ぶら下がり）を作らない */
p, dd, li { text-wrap: pretty; }
ul, ol { list-style: none; }
small { font-size: .8em; color: var(--c-sub); }
.wrap { padding-inline: var(--gutter); }
.sp-only { display: none; }
@media (max-width: 899px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

/* ---- 屋号（朱の印＋明朝） ---- */
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-weight: var(--w-head); font-size: 21px; letter-spacing: .16em; text-decoration: none; white-space: nowrap;
}
/* ロゴ（content.json の logo）：記号だけ＝logo__mark（屋号の文字を添える）／屋号入り＝logo__full
   SVGは埋め込みなので、塗りが currentColor の部分は文字の色、class="accent" の部分は差し色になる（暗いフッターでも消えない） */
.logo__mark, .logo__full { display: inline-flex; flex: none; }
.logo__mark svg, .logo__mark img { display: block; height: var(--logo-h, 32px); width: auto; }
.logo__full svg, .logo__full img { display: block; height: var(--logo-h, 40px); width: auto; }
.logo svg { fill: currentColor; }
.logo svg .accent { fill: var(--c-accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo__seal {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  background: var(--c-accent); color: #fff; border-radius: var(--radius-mark);
  font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1;
}

/* ---- ヘッダー（すりガラスは疑似要素に付ける） ---- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--c-base) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header__inner { display: flex; align-items: center; gap: 36px; height: 100%; padding-inline: var(--gutter); }
.site-header__nav { margin-left: auto; }
.site-header__nav ul { display: flex; gap: 28px; font-size: 14px; }
.site-header__nav a { white-space: nowrap; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--c-accent), var(--c-accent)) no-repeat left bottom / 0 1px; transition: background-size .3s; }
.site-header__nav a:hover { background-size: 100% 1px; }
@media (max-width: 1099px) {
  .site-header__nav { display: none; }
  .site-header__inner { justify-content: space-between; gap: 12px; }
}
@media (max-width: 899px) {
  /* 屋号が長くても1行に収める（--ln＝屋号の文字数） */
  .site-header .logo { font-size: clamp(12px, calc((100vw - 186px) / (var(--ln, 8) * 1.1)), 17px); gap: 8px; letter-spacing: .04em; white-space: nowrap; }
  .logo--footer { font-size: 17px; letter-spacing: .1em; }
  .logo__seal { width: 26px; height: 26px; font-size: 15px; }
  .site-header .logo__mark svg, .site-header .logo__mark img { height: min(var(--logo-h, 32px), 28px); }
  .site-header .logo__full svg, .site-header .logo__full img { height: min(var(--logo-h, 40px), 32px); }
}

/* ---- ボタン ---- */
.btn {
  display: inline-block; padding: 18px 40px; border-radius: var(--radius);
  background: var(--c-accent); color: #fff; font-weight: 700; font-size: 16px;
  letter-spacing: .14em; text-decoration: none; text-align: center; line-height: 1.5;
  transition: background-color .25s;
}
.btn:hover { background: color-mix(in srgb, var(--c-accent) 82%, #000); }
.btn--small { padding: 10px 20px; font-size: 14px; white-space: nowrap; }
.btn--large { padding: 22px 24px; font-size: 17px; }
.btn--tel { background: #fff; color: var(--c-text); font-family: var(--f-head); font-size: 26px; letter-spacing: .08em; padding: 10px 24px; }
.btn--tel:hover { background: color-mix(in srgb, #fff 90%, var(--c-text)); }
.btn--line { font-family: var(--f-body); font-size: 17px; font-weight: 700; padding: 22px 24px; }
.btn--tel small { display: block; font-family: var(--f-body); font-size: 13px; letter-spacing: .08em; color: var(--c-sub); }

/* ============================================================
   1. ファーストビュー：2パターンから選ぶ
   .fv--side … 写真を右に置く（標準。文字が写真に重ならないので、どんな写真でも崩れない）
   .fv--full … 写真を全面に敷く（文字を載せる余白が左にある写真のときだけ）
   ============================================================ */
.fv { position: relative; overflow: hidden; }
.fv__photo { overflow: hidden; }
.fv--side .fv__photo { border-radius: var(--radius-img); }
.fv__photo img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.fv__catch { font-family: var(--f-head); font-weight: var(--w-head); }
.fv__catch span { display: block; }
.fv__place { font-family: var(--f-head); font-weight: var(--w-head); color: var(--c-accent); letter-spacing: .24em; margin-bottom: 12px; }
.fv__lead { font-size: 17px; line-height: 2.1; font-weight: 500; }
.fv__btn { display: block; margin-top: 32px; padding: 20px 12px; font-size: 17px; }
.fv__note { margin-top: 10px; font-size: 14px; color: var(--c-sub); text-align: center; }

/* ---- 写真を右に ---- */
.fv--side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; column-gap: 64px; padding: 48px 48px 64px var(--gutter); min-height: clamp(600px, calc(100vh - var(--header-h)), 760px); }
.fv--side .fv__photo { order: 2; align-self: stretch; min-height: 520px; }
.fv--side .fv__catch { font-size: clamp(22px, calc((100vw - var(--gutter) - 112px) / 2.12 / (var(--n, 12) * 1.12)), 44px); line-height: 1.7; letter-spacing: var(--ls-head); white-space: nowrap; margin-bottom: 28px; }
.fv--side .fv__info { width: 340px; max-width: 100%; }

@media (max-width: 1199px) {
  .fv--side { grid-template-columns: 1fr 1fr; column-gap: 40px; padding-right: 24px; }
  .fv--side .fv__catch { font-size: clamp(20px, calc((100vw - 88px) / 2 / (var(--n, 12) * 1.12)), 40px); }
}

/* ---- 写真を全面に（縦書きのキャッチを左に立てる） ---- */
.fv--full { height: clamp(620px, calc(100vh - var(--header-h)), 780px); }
.fv--full .fv__photo { position: absolute; inset: 0; }
.fv--full .fv__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c-base) 96%, transparent) 0%, color-mix(in srgb, var(--c-base) 90%, transparent) 38%, transparent 66%); }
.fv--full .fv__text { position: absolute; inset: 0 auto 0 var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.fv--full .fv__catch { font-size: clamp(24px, calc(46vw / (var(--n, 12) * 1.12)), 46px); line-height: 1.7; letter-spacing: var(--ls-head); white-space: nowrap; margin-bottom: 28px; }
.fv--full .fv__info { width: 340px; }
/* 和風：縦書きのキャッチを左に立て、案内は右下に */
.tategaki .fv--full .fv__text { inset: 72px auto 76px var(--gutter); flex-direction: row; justify-content: flex-start; align-items: flex-end; gap: 64px; }
.tategaki .fv--full .fv__catch { align-self: flex-start; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 22px; font-size: 46px; line-height: 1.5; letter-spacing: .24em; margin-bottom: 0; }
.tategaki .fv--full .fv__catch span { writing-mode: vertical-rl; white-space: nowrap; }
.tategaki .fv--full .fv__catch span:nth-child(2) { margin-top: 2.6em; }
.tategaki .fv--full .fv__info { width: 306px; }

/* ---- 最初の画面を「キャッチとボタンだけ」にし、教室の説明をすぐ下に出す（原稿の fv.infoBelow） ---- */
.fv--below .fv__info { width: auto; }
/* 白い面にして、下の「特長」と区切る（2026-11-16 かおりさん「特長と区切りたい」） */
.fv-intro { padding: 72px 0 84px; text-align: center; background: var(--c-paper); }
.fv-intro__place { font-family: var(--f-head); font-weight: var(--w-head); color: var(--c-accent); letter-spacing: .24em; margin-bottom: 14px; }
.fv-intro__lead { font-family: var(--f-head); font-weight: var(--w-head); font-size: 20px; line-height: 2.1; letter-spacing: .1em; }
.fv-intro__note { margin-top: 14px; font-size: 14px; color: var(--c-sub); }
/* 説明の下のボタンは、ページの最初の申し込み口なので大きく・影と矢印で押せる形に（2026-11-16「もっと目立たせたい」） */
.fv-intro__btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 420px; margin-top: 36px; padding: 24px 48px; font-size: 19px; box-shadow: 0 10px 24px color-mix(in srgb, var(--c-accent) 32%, transparent); transition: background-color .25s, transform .25s, box-shadow .25s; }
.fv-intro__btn::after { content: "→"; font-weight: 400; transition: transform .25s; }
.fv-intro__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px color-mix(in srgb, var(--c-accent) 38%, transparent); }
.fv-intro__btn:hover::after { transform: translateX(4px); }
.fv-intro__note { margin-top: 16px; }
.fv--below .fv__info:not(:has(*)) { display: none; }  /* ボタンも説明の下に移したとき（fv.buttonBelow）、空の入れ物を出さない */
@media (max-width: 899px) {
  .fv--below .fv__text, .tategaki .fv--full.fv--below .fv__text { padding-bottom: 8px; }  /* 説明がすぐ下に続くので、最初の画面の下の余白は詰める */
  .fv-intro { padding: 36px 0 48px; }
  .fv-intro__btn { display: flex; min-width: 0; width: 100%; margin-top: 28px; padding: 20px 16px; font-size: 17px; }
  .fv-intro__lead { font-size: 17px; }
}

@media (max-width: 899px) {
  /* スマホはどちらも「写真が上・文字は地の上」。全面のほうが写真を大きく見せる */
  .fv--side, .fv--full { display: block; height: auto; min-height: 0; padding: 0; }
  .fv .fv__photo { position: relative; inset: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .fv--full .fv__photo { aspect-ratio: 1 / 1; }
  .fv--full .fv__photo::after { display: none; }
  .fv .fv__text, .tategaki .fv--full .fv__text { position: static; display: block; padding: 28px var(--gutter) 56px; }
  .fv .fv__catch, .tategaki .fv--full .fv__catch { display: block; font-size: min(calc((100vw - 40px) / (var(--n, 12) * 1.08)), 32px); line-height: 1.7; letter-spacing: .06em; white-space: nowrap; margin-bottom: 16px; }
  .tategaki .fv--full .fv__catch span:nth-child(2) { margin-top: 0; }  /* スマホは横書きなので、PCの「2行目を下げる」を戻す */
  .fv .fv__catch span, .tategaki .fv--full .fv__catch span { writing-mode: horizontal-tb; margin-top: 0; }
  .fv .fv__info { width: auto; }
  .fv__lead { font-size: 16px; }
  .fv__btn { margin-top: 24px; }
}

/* ============================================================
   セクション共通：見出しの置き方は3通り（body のクラスで決まる）
   ============================================================ */
.sec { padding: var(--sec-space) 0; }
.sec--paper { background: var(--c-paper); }
/* 背景の切り替え方（content.json の sectionBg）
   stripe＝地と白を交互に（標準）／color＝セクションごとに色を変える／plain＝全部同じ地の色 */
.bg-color #feature { background: var(--c-sec-1); }
.bg-color #teacher { background: var(--c-sec-2); }
.bg-color #faq { background: var(--c-sec-3); }
.bg-color #course, .bg-color #flow, .bg-color #access { background: var(--c-paper); }
.bg-plain .sec, .bg-plain #feature { background: transparent; }
.bg-plain .steps__num { box-shadow: 0 0 0 12px var(--c-base); }
.bg-plain .trial { background: var(--c-paper); }
/* 基本：中央に横書き */
.h2 { font-family: var(--f-head); font-weight: var(--w-head); font-size: 34px; line-height: 1.5; letter-spacing: var(--ls-head); text-align: center; margin-bottom: 64px; }
@media (min-width: 900px) {
  /* 和風：左に縦書きで立てる（スクロール中その場にとどまる） */
  .tategaki .sec__grid { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 76px; align-items: start; }
  .tategaki .h2 { writing-mode: vertical-rl; position: sticky; top: calc(var(--header-h) + 40px); justify-self: start; font-size: 30px; line-height: 1.4; letter-spacing: .34em; white-space: nowrap; text-align: left; margin-bottom: 0; }
  /* きちんと：左の列に横書きで置く */
  .h2-side .sec__grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .h2-side .h2 { position: sticky; top: calc(var(--header-h) + 40px); font-size: 26px; text-align: left; margin-bottom: 0; }
}
@media (max-width: 899px) {
  .h2 { font-size: 25px; margin-bottom: 36px; text-align: left; }
}

/* ---- 2. 特長（箱にせず、縦の細い線で3つに割る） ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); }
.features li { padding: 4px 36px 8px; border-left: 1px solid var(--c-line); }
.features li:first-child { padding-left: 0; border-left: 0; }
.features__num { display: block; font-family: var(--f-head); font-weight: var(--w-head); color: var(--c-accent); font-size: 52px; line-height: 1; margin-bottom: 24px; }
.features h3 { font-family: var(--f-head); font-weight: var(--w-head); font-size: 25px; line-height: 1.6; letter-spacing: var(--ls-head); margin-bottom: 16px; }
@media (max-width: 899px) {
  .features { grid-template-columns: 1fr; }
  .features li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; padding: 26px 0; border-left: 0; border-top: 1px solid var(--c-line); }
  .features li:first-child { border-top: 0; padding-top: 0; }
  .features__num { grid-row: 1 / 3; font-size: 40px; margin: 6px 0 0; }
  .features h3 { font-size: min(5.1vw, 21px); letter-spacing: .06em; margin-bottom: 8px; }
  .features h3 br { display: none; }
}

/* ---- 3. コース・料金 ---- */
.price { width: 100%; border-collapse: collapse; }
.price thead th { font-size: 14px; font-weight: 500; color: var(--c-sub); text-align: left; padding: 0 20px 12px; border-bottom: 1px solid var(--c-text); }
.price tbody th, .price td { padding: 26px 20px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.price tbody th { font-family: var(--f-head); font-weight: var(--w-head); font-size: 22px; letter-spacing: .1em; }
.price tbody th small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 13px; letter-spacing: .05em; }
.price__yen { white-space: nowrap; }
.price__yen b { font-family: var(--f-head); font-weight: var(--w-head); font-size: 32px; margin-right: 2px; }
.price__note { display: block; font-size: 13px; }
.price thead th:first-child, .price tbody th { padding-left: 0; }
.price thead th:last-child, .price td:last-child { text-align: right; padding-right: 0; }

/* 料金表の下の2つのまとまり（かかるもの／おけいこ日） */
.info { display: grid; grid-template-columns: 200px minmax(0, 1fr); padding: 36px 0; border-bottom: 1px solid var(--c-line); }
.info__title { font-family: var(--f-head); font-weight: var(--w-head); font-size: 19px; letter-spacing: .12em; line-height: 1.8; }
.info__list > div { display: grid; grid-template-columns: 10em 1fr; padding: 3px 0; }
.info__list dt { font-weight: 500; }
.schedule { border-collapse: collapse; }
.schedule th, .schedule td { padding: 0 0 6px; text-align: left; font-family: var(--f-head); font-weight: var(--w-head); font-size: 27px; letter-spacing: .1em; line-height: 1.6; }
.schedule th { padding-right: 1.2em; white-space: nowrap; }
.schedule__note { margin-top: 12px; font-size: 15px; color: var(--c-sub); }
.schedule__note li { padding-left: 1em; text-indent: -1em; }
.schedule__note li::before { content: "・"; }

.trial { margin-top: 56px; padding: 32px 40px; border-radius: var(--radius-img); background: var(--c-base); display: flex; align-items: center; gap: 32px; }
.trial__img { width: 132px; height: 132px; object-fit: cover; flex: none; border-radius: var(--radius-img); }
.trial__text { margin-right: auto; }
.trial .btn { flex: none; white-space: nowrap; }
.trial h3 { font-family: var(--f-head); font-weight: var(--w-head); font-size: 20px; letter-spacing: .12em; }
.trial__price { font-family: var(--f-head); font-weight: var(--w-head); font-size: 32px; color: var(--c-accent); line-height: 1.5; }
@media (max-width: 899px) {
  /* スマホは1コース＝1ブロックに積む */
  .price thead { display: none; }
  .price, .price tbody, .price tr, .price tbody th, .price td { display: block; }
  .price tr { padding: 20px 0; border-bottom: 1px solid var(--c-line); }
  .price tr:first-child { border-top: 1px solid var(--c-text); }
  .price tbody th, .price td { padding: 0; border: 0; }
  .price tbody th { font-size: 21px; margin-bottom: 8px; }
  .price td { display: grid; grid-template-columns: 7em 1fr; align-items: baseline; }
  .price td::before { content: attr(data-label); font-size: 13px; color: var(--c-sub); }
  .price td:last-child { text-align: left; }
  .price__yen b { font-size: 27px; }
  .info { grid-template-columns: 1fr; row-gap: 8px; padding: 28px 0; }
  .info__list > div { grid-template-columns: 1fr; padding: 8px 0; }
  .info__list dt { font-size: 14px; color: var(--c-accent); }
  .schedule th, .schedule td { font-size: 23px; }
  .trial { flex-direction: column; align-items: stretch; margin-top: 40px; padding: 24px 20px; gap: 20px; }
  .trial__img { display: none; }
  .trial .btn { padding: 16px 12px; white-space: normal; }
}

/* ---- 4. 先生紹介 ---- */
.teacher { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.teacher__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img); }
.teacher__word { font-family: var(--f-head); font-weight: var(--w-head); font-size: 25px; line-height: 2.1; letter-spacing: .1em; margin-bottom: 36px; }
.teacher__name { font-family: var(--f-head); font-weight: var(--w-head); font-size: 28px; letter-spacing: .2em; line-height: 1.4; margin-bottom: 16px; }
.teacher__name small { font-family: var(--f-body); font-size: 14px; margin-left: 14px; letter-spacing: .08em; }
.teacher__career { margin-bottom: 24px; border-top: 1px solid var(--c-line); }
.teacher__career > div { display: grid; grid-template-columns: 5.5em 1fr; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.teacher__career dt { font-family: var(--f-head); font-weight: var(--w-head); letter-spacing: .12em; }
.teacher__body > p:not([class]) + p:not([class]) { margin-top: 1em; }
@media (max-width: 1099px) {
  .teacher { grid-template-columns: 1fr; gap: 32px; }
  .teacher__photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 899px) {
  .teacher__word { font-size: 20px; margin-bottom: 28px; }
  .teacher__name { font-size: 25px; }
}

/* ---- 教室の写真の帯（スクロールで少しだけずれる） ---- */
.band { height: 480px; overflow: hidden; }
.band img { width: 100%; height: 132%; object-fit: cover; will-change: transform; }
@media (max-width: 899px) { .band { height: 240px; } }

/* ---- 5. 体験から入会まで（基本の形＝line：番号を横の線でつなぐ） ---- */
.flow__lead { font-family: var(--f-head); font-weight: var(--w-head); font-size: 20px; letter-spacing: .1em; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 28px; position: relative; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps::before { content: ""; position: absolute; top: 24px; left: 0; right: 0; height: 1px; background: var(--c-line); }
.steps li { position: relative; }
.steps__num {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 20px;
  background: var(--c-accent); color: #fff; border-radius: var(--radius-mark);
  font-family: var(--f-head); font-weight: var(--w-head); font-size: 22px; letter-spacing: 0; line-height: 1;
  box-shadow: 0 0 0 12px var(--c-paper); /* 線を印の左右で切る */
}
.steps__name { font-family: var(--f-head); font-weight: var(--w-head); font-size: 21px; line-height: 1.6; letter-spacing: .1em; margin-bottom: 8px; }
.steps__desc { font-size: 15px; line-height: 1.9; }
/* 時間の目安（あれば）：細い枠の札 */
.steps__time { display: inline-block; margin-top: 14px; padding: 2px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line); background: var(--c-paper); font-size: 13px; font-weight: 500; }
/* 流れの最後：申し込みボタンと補足 */
.flow__cta { display: flex; align-items: center; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.flow__cta p { font-size: 14px; color: var(--c-sub); }
@media (max-width: 899px) {
  .flow__lead { font-size: 17px; margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps::before { top: 0; bottom: 40px; left: 21px; right: auto; width: 1px; height: auto; }
  .steps__head { display: flex; align-items: center; gap: 18px; }
  .steps__num { width: 44px; height: 44px; margin: 0; flex: none; font-size: 20px; box-shadow: 0 0 0 8px var(--c-paper); }
  .steps__name { font-size: 19px; margin: 0; }
  .steps__desc, .steps__time { margin-left: 62px; }
  .steps__desc { margin-top: 6px; }
  .flow__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 36px; padding-top: 28px; text-align: center; }
}

/* ---- 6. よくある質問 ---- */
.faq { max-width: 800px; }
.faq > div { padding: 30px 0; border-bottom: 1px solid var(--c-line); }
.faq > div:first-child { padding-top: 0; }
.faq dt, .faq dd { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: baseline; }
.faq dt { font-family: var(--f-head); font-weight: var(--w-head); font-size: 21px; letter-spacing: .08em; line-height: 1.7; }
.faq dd { margin-top: 10px; }
.faq dt::before, .faq dd::before { font-family: var(--f-head); font-weight: var(--w-head); font-size: 23px; line-height: 1; }
.faq dt::before { content: "Q"; color: var(--c-accent); }
.faq dd::before { content: "A"; color: var(--c-sub); }
@media (max-width: 899px) {
  .faq > div { padding: 24px 0; }
  .faq dt { font-size: 18px; }
  .faq dt, .faq dd { grid-template-columns: 30px 1fr; column-gap: 8px; }
  .faq dt::before, .faq dd::before { font-size: 20px; }
}

/* ---- 7. アクセス ---- */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.access--nomap { grid-template-columns: 1fr; max-width: 720px; }
.access__info > div { display: grid; grid-template-columns: 8.5em 1fr; column-gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--c-line); }
.access__info > div:first-child { padding-top: 0; }
.access__info dt { font-family: var(--f-head); font-weight: var(--w-head); font-size: 17px; letter-spacing: .12em; }
.access__main { font-family: var(--f-head); font-weight: var(--w-head); font-size: 23px; letter-spacing: .1em; }
.access__map { position: relative; min-height: 340px; overflow: hidden; border-radius: var(--radius-img); }
.access__map svg, .access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.access__map p { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); background: #fff; padding: 2px 16px; font-size: 14px; font-weight: 500; white-space: nowrap; }
@media (max-width: 1099px) {
  .access { grid-template-columns: 1fr; gap: 32px; }
  .access__map { min-height: 260px; }
}
@media (max-width: 899px) {
  .access__info > div { grid-template-columns: 1fr; row-gap: 4px; padding: 18px 0; }
  .access__info dt { color: var(--c-accent); font-size: 15px; }
}

/* ---- 8. 申し込み（墨色の帯。PCは見出しを縦書きで立てる） ---- */
.apply { background: var(--c-dark); color: var(--c-on-dark); padding: 112px 0; }
/* 基本：左に見出しと案内、右にボタン */
.apply__inner { display: grid; grid-template-columns: auto 420px; justify-content: center; column-gap: 96px; align-items: center; }
.apply__title { font-family: var(--f-head); font-weight: var(--w-head); font-size: 36px; line-height: 1.7; letter-spacing: var(--ls-head); }
.apply__title span { display: block; white-space: nowrap; }
.apply__lead { font-size: 17px; margin-bottom: 28px; }
.apply__buttons { display: grid; gap: 16px; }
.apply__note { margin-top: 20px; font-size: 13px; opacity: .7; }
.apply .btn--main { background: var(--c-accent-on-dark); color: var(--c-accent-on-dark-text); }
.apply .btn--main:hover { background: color-mix(in srgb, var(--c-accent-on-dark) 88%, #000); }
@media (min-width: 900px) {
  /* 和風：見出しを縦書きで立てる */
  .tategaki .apply__inner { display: flex; justify-content: center; align-items: center; gap: 96px; }
  .tategaki .apply__title { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: .5em; letter-spacing: .28em; white-space: nowrap; }
  .tategaki .apply__title span { writing-mode: vertical-rl; }
  .tategaki .apply__title span:nth-child(2) { margin-top: 2.2em; }
  .tategaki .apply__side { width: 420px; }
}
@media (max-width: 899px) {
  .apply { padding: 72px 0; }
  .apply__inner { grid-template-columns: 1fr; row-gap: 28px; }
  .apply__title span { white-space: normal; }
  .apply__title { font-size: min(7vw, 28px); letter-spacing: .08em; }
  .apply__lead { font-size: 16px; margin-bottom: 24px; }
}

/* ---- お申し込みフォーム ---- */
.contact__body { max-width: 720px; }
body:not(.tategaki):not(.h2-side) .contact__body { margin-inline: auto; }
.form__row { margin: 0 0 26px; padding: 0; border: 0; }
.form__label { display: block; font-weight: 700; margin-bottom: 8px; }
.req, .opt { margin-left: 10px; padding: 1px 8px; border-radius: clamp(2px, var(--radius-img), 999px); font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.req { background: var(--c-accent); color: #fff; }
.opt { box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-sub); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--c-line); border-radius: clamp(4px, var(--radius-img), 12px); background: #fff; color: var(--c-text);
  font: inherit; font-size: 16px; letter-spacing: .04em; /* 16px未満だとiPhoneで入力時に拡大される */
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.radios input { width: 18px; height: 18px; accent-color: var(--c-accent); }
.cf-turnstile { margin-top: 4px; min-height: 65px; }
.form__action { margin-top: 20px; }
.form__action .btn { width: 100%; border: 0; cursor: pointer; font-family: var(--f-body); }
.form__action .btn:disabled { opacity: .5; cursor: wait; }
.form__privacy { margin-top: 12px; font-size: 13px; color: var(--c-sub); text-align: center; }
.contact-form__error { margin-top: 16px; color: #b3261e; font-weight: 700; text-align: center; }
.contact-form__done { padding: 40px 24px; background: var(--c-base); border-radius: var(--radius-img); text-align: center; }
.contact-form__done strong { font-family: var(--f-head); font-size: clamp(17px, 4.6vw, 22px); white-space: nowrap; }
/* ボット避けの隠し項目（display:none だと埋めないボットがいるので画面外に出す） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- フッター ---- */
.site-footer { padding: 56px 0 40px; text-align: center; font-size: 14px; color: var(--c-sub); }
.site-footer__sample { color: var(--c-accent); font-weight: 500; margin-bottom: 24px; }
.logo--footer { color: var(--c-text); margin-bottom: 8px; }
.site-footer__copy { margin-top: 20px; }

/* ============================================================
   セクションごとの組み方（部品）
   body のクラス pt-◯◯-△△ で切り替わる。型ごとのおすすめの組み合わせは build.py の THEMES、
   案件ごとに変えるときは content.json の "patterns" に書く。
     特長   features : cols（縦の線で3列）／cards（白いカード）／rows（横長の行を縦に）
     コース course   : table（罫線の表）／band（見出しの行を帯に）／cards（1コース1枚のカード）
     先生   teacher  : left（写真を左）／right（写真を右に大きく）／round（丸い写真）
     流れ   flow     : line（番号を横の線でつなぐ）／circles（線の丸を横線でつなぐ）／boxes（濃い箱を三角でつなぐ）／list（縦に並べる）／bands（STEPの帯を縦に積み▼で進む）
     申込   apply    : split（左に見出し・右にボタン）／center（中央寄せ）／panels（2つの窓口を枠で並べる）
     ヘッダー header : row／float／double／center　　Q&A faq : list／chat／accordion／split　　アクセス access : side／cards
   ============================================================ */

/* ---- 特長：cards ---- */
.pt-features-cards #feature { background: var(--c-sec-1); }
.pt-features-cards .features { gap: 24px; }
.pt-features-cards .features li, .pt-features-cards .features li:first-child { background: var(--c-paper); border: 0; border-radius: max(var(--radius-img), 4px); padding: 36px 30px 32px; }
.pt-features-cards .features__num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-mark); background: var(--c-accent); color: #fff; font-size: 26px; margin-bottom: 18px; }
@media (min-width: 900px) {
  .pt-features-cards .features li { text-align: center; }
  .pt-features-cards .features p { text-align: left; }
}
@media (max-width: 899px) {
  .pt-features-cards .features { gap: 12px; }
  .pt-features-cards .features li, .pt-features-cards .features li:first-child { grid-template-columns: 64px 1fr; padding: 24px 20px; border-top: 0; }
  .pt-features-cards .features__num { margin: 0; }
}
/* ---- 特長：rows ---- */
@media (min-width: 900px) {
  .pt-features-rows .features { grid-template-columns: 1fr; border-top: 1px solid var(--c-text); }
  .pt-features-rows .features li, .pt-features-rows .features li:first-child { display: grid; grid-template-columns: 84px 290px minmax(0, 1fr); column-gap: 32px; align-items: center; padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--c-line); }
  .pt-features-rows .features__num { font-size: 44px; margin: 0; }
  .pt-features-rows .features h3 { font-size: 23px; margin: 0; }
}

/* ---- コース：band ---- */
.pt-course-band .price thead th { background: var(--c-text); color: var(--c-base); padding: 14px 20px; border: 0; }
.pt-course-band .price thead th:first-child, .pt-course-band .price tbody th { padding-left: 20px; }
.pt-course-band .price thead th:last-child, .pt-course-band .price td:last-child { padding-right: 20px; }
.pt-course-band .price tbody tr { background: var(--c-base); }
.pt-course-band .trial { background: var(--c-base); }
@media (max-width: 899px) {
  .pt-course-band .price tr, .pt-course-band .price tr:first-child { padding: 20px 16px; border-top: 0; }
  .pt-course-band .price tbody th, .pt-course-band .price td:last-child { padding-left: 0; padding-right: 0; }
}
/* ---- コース：cards ---- */
.pt-course-cards .price__yen b { color: var(--c-accent); }
@media (min-width: 900px) {
  .pt-course-cards .price, .pt-course-cards .price tbody, .pt-course-cards .price tr, .pt-course-cards .price tbody th, .pt-course-cards .price td { display: block; }
  .pt-course-cards .price thead { display: none; }
  .pt-course-cards .price tbody { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; }
  .pt-course-cards .price tr { background: var(--c-base); border-radius: max(var(--radius-img), 4px); padding: 34px 24px 30px; text-align: center; }
  .pt-course-cards .price tbody th, .pt-course-cards .price td, .pt-course-cards .price td:last-child { border: 0; padding: 0; text-align: center; }
  .pt-course-cards .price tbody th { font-size: 24px; margin-bottom: 10px; }
  .pt-course-cards .price td { font-size: 15px; color: var(--c-sub); line-height: 1.8; }
  .pt-course-cards .price td:last-child { margin-top: 14px; color: var(--c-text); }
  .pt-course-cards .price__yen b { font-size: 40px; }
  .pt-course-cards .info { margin-top: 16px; }
}
@media (max-width: 899px) {
  .pt-course-cards .price tr, .pt-course-cards .price tr:first-child { background: var(--c-base); border: 0; border-radius: max(var(--radius-img), 4px); padding: 22px 20px; margin-bottom: 12px; }
}

/* ---- 先生：right ---- */
@media (min-width: 1100px) {
  .pt-teacher-right .teacher { grid-template-columns: minmax(0, 1fr) 440px; }
  .pt-teacher-right .teacher__photo { order: 2; }
}
/* ---- 先生：round ---- */
.pt-teacher-round .teacher__photo img { aspect-ratio: 1 / 1; border-radius: 50%; }
@media (min-width: 900px) {
  .pt-teacher-round .teacher { grid-template-columns: 300px minmax(0, 1fr); align-items: center; }
}
@media (max-width: 899px) {
  .pt-teacher-round .teacher__photo img { max-width: 240px; display: block; margin-inline: auto; }
}

/* ---- 流れ：circles（線の丸を横線でつなぐ。名前・説明・目安を丸の下に中央ぞろえ） ---- */
@media (min-width: 900px) {
  .pt-flow-circles .steps::before { top: 44px; left: 12.5%; right: 12.5%; background: var(--c-accent); opacity: .5; }
  .pt-flow-circles .steps--3::before { left: 16.6%; right: 16.6%; }
  .pt-flow-circles .steps li { text-align: center; }
  .pt-flow-circles .steps__num { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; background: var(--c-paper); color: var(--c-accent); font-size: 30px; box-shadow: inset 0 0 0 1px var(--c-accent); }
  .pt-flow-circles .steps__time { padding: 0; box-shadow: none; background: none; color: var(--c-accent); font-size: 15px; font-weight: 700; }
  .pt-flow-circles .flow__lead { text-align: center; }
  .pt-flow-circles .flow__cta { justify-content: center; border-top: 0; padding-top: 8px; }
}
@media (max-width: 899px) {
  .pt-flow-circles .steps__num { border-radius: 50%; background: var(--c-paper); color: var(--c-accent); box-shadow: inset 0 0 0 1px var(--c-accent), 0 0 0 8px var(--c-paper); }
  .pt-flow-circles .steps__time { padding: 0; box-shadow: none; background: none; color: var(--c-accent); font-weight: 700; }
}

/* ---- 流れ：boxes（濃い箱に「STEP 01＋名前」、三角でつなぐ。説明と目安は箱の外） ---- */
.pt-flow-boxes .steps__num::before { content: "STEP "; }
@media (min-width: 900px) {
  .pt-flow-boxes .steps { column-gap: 30px; }
  .pt-flow-boxes .steps::before { display: none; }
  .pt-flow-boxes .steps__head { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 124px; margin-bottom: 18px; padding: 20px 14px; border-radius: max(var(--radius-img), 0px); background: var(--c-dark); color: var(--c-on-dark); text-align: center; }
  .pt-flow-boxes .steps__num { width: auto; height: auto; margin: 0; background: none; box-shadow: none; color: var(--c-accent-on-dark); font-size: 14px; letter-spacing: .16em; }
  /* 箱の幅が狭いので、名前は1行に収める（9文字まで。長い名前は build.py が⚠️で知らせる） */
  .pt-flow-boxes .steps__name { margin: 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; letter-spacing: .04em; white-space: nowrap; }
  .pt-flow-boxes .steps li:not(:last-child) .steps__head::after { content: ""; position: absolute; right: -22px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-left-color: var(--c-accent); }
}
@media (max-width: 899px) {
  .pt-flow-boxes .steps::before { display: none; }
  .pt-flow-boxes .steps { row-gap: 22px; }
  .pt-flow-boxes .steps__head { gap: 14px; padding: 12px 16px; background: var(--c-dark); color: var(--c-on-dark); }
  .pt-flow-boxes .steps__num { width: auto; height: auto; background: none; box-shadow: none; color: var(--c-accent-on-dark); font-size: 13px; letter-spacing: .12em; white-space: nowrap; }
  .pt-flow-boxes .steps__desc, .pt-flow-boxes .steps__time { margin-left: 0; }
  .pt-flow-boxes .steps__desc { margin-top: 10px; }
}

/* ---- 流れ：list（縦に並べる。番号・名前・説明を1行ずつ静かに） ---- */
@media (min-width: 900px) {
  .pt-flow-list .steps { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .pt-flow-list .steps::before { display: none; }
  .pt-flow-list .steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 32px; align-items: start; padding: 28px 0; border-top: 1px solid var(--c-line); }
  .pt-flow-list .steps li:last-child { border-bottom: 1px solid var(--c-line); }
  .pt-flow-list .steps__head { display: contents; }
  .pt-flow-list .steps__num { grid-row: 1 / 4; margin: 4px 0 0; box-shadow: none; }
  .pt-flow-list .steps__name, .pt-flow-list .steps__desc, .pt-flow-list .steps__time { grid-column: 2; justify-self: start; }
  .pt-flow-list .flow__lead { text-align: center; }
  .pt-flow-list .flow__cta { max-width: 720px; margin-inline: auto; justify-content: center; border-top: 0; }
}

/* ---- 流れ：bubbles（段階ごとに淡い色の面。角は少しだけ丸く、丸い形は番号の印だけにする）
   向く内容：親しみ・やわらかさを出したい教室で、段階が3〜4つ・名前が短いとき。
   面の中は「番号・名前・目安」、説明は面の下。段階のあいだは小さな「›」で進む向きを示す
   （2026-11-15：大きな丸＋丸い番号＋丸い点で「全部丸すぎて違和感」と言われ、丸は番号だけに減らした） ---- */
.pt-flow-bubbles .steps::before { display: none; }
.pt-flow-bubbles .flow__lead { text-align: center; }
.pt-flow-bubbles .steps__time { padding: 0; box-shadow: none; background: none; color: var(--c-accent); font-weight: 700; }
@media (min-width: 900px) {
  .pt-flow-bubbles .steps { column-gap: 36px; }
  /* 名前・目安・説明を全部ひとつの淡い面に入れる（名前だけ入れると面の上半分が空く。2026-11-16かおりさん「余白が気になる」） */
  .pt-flow-bubbles .steps li { position: relative; display: flex; flex-direction: column; padding: 46px 24px 26px; border-radius: 14px; background: var(--c-sec-1); }
  .pt-flow-bubbles .steps__head { display: block; margin-bottom: 12px; }
  .pt-flow-bubbles .steps__num { position: absolute; top: -14px; left: 20px; width: 52px; height: 52px; margin: 0; border-radius: 50%; box-shadow: 0 0 0 6px var(--c-paper); font-size: 22px; }
  .pt-flow-bubbles .steps__name { margin: 0; font-size: 21px; line-height: 1.5; }
  .pt-flow-bubbles .steps__time { order: 1; margin: 0 0 6px; }
  .pt-flow-bubbles .steps__desc { order: 2; }
  /* 次の段階へ：面と面のあいだに小さな「›」 */
  .pt-flow-bubbles .steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -23px; width: 9px; height: 9px; border-top: 2px solid var(--c-accent); border-right: 2px solid var(--c-accent); transform: rotate(45deg); }
  .pt-flow-bubbles .flow__cta { justify-content: center; border-top: 0; padding-top: 8px; }
}
@media (max-width: 899px) {
  /* スマホ：淡い面を縦に積む。番号は面の左上 */
  .pt-flow-bubbles .steps { row-gap: 14px; }
  .pt-flow-bubbles .steps li { display: block; padding: 18px 18px 20px; border-radius: 14px; background: var(--c-sec-1); }
  .pt-flow-bubbles .steps__head { display: flex; align-items: center; gap: 14px; }
  .pt-flow-bubbles .steps__num { width: 40px; height: 40px; margin: 0; border-radius: 50%; box-shadow: none; font-size: 18px; flex: none; }
  .pt-flow-bubbles .steps__name { margin: 0; }
  .pt-flow-bubbles .steps__desc, .pt-flow-bubbles .steps__time { margin-left: 54px; }
  .pt-flow-bubbles .steps__desc { margin-top: 6px; }
}

/* ---- 流れ：bands（「STEP 1」の帯を縦に積み、下向きの▼で次の段階へ進む） ---- */
.pt-flow-bands .steps { grid-template-columns: 1fr; row-gap: 0; max-width: 800px; margin-inline: auto; border-radius: max(var(--radius-img), 0px); overflow: hidden; }
.pt-flow-bands .steps::before { display: none; }
.pt-flow-bands .steps li { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 28px; align-items: center; background: var(--c-sec-1); padding-bottom: 28px; }
.pt-flow-bands .steps__head { display: contents; }
.pt-flow-bands .steps__num { grid-column: 1 / -1; display: block; position: relative; width: auto; height: auto; margin: 0 0 26px; padding: 11px 12px; border-radius: 0; box-shadow: none; text-align: center; font-size: 18px; line-height: 1.5; letter-spacing: .14em; }
.pt-flow-bands .steps__num::before { content: "STEP "; }
/* 前の段階から次の帯へ食い込む▼ */
.pt-flow-bands .steps li + li .steps__num::after { content: ""; position: absolute; top: 0; left: 50%; margin-left: -13px; border: 13px solid transparent; border-bottom: 0; border-top-color: var(--c-sec-1); }
.pt-flow-bands .steps__name { grid-column: 1; grid-row: 2 / 4; margin: 0; padding-left: 36px; font-size: 23px; }
.pt-flow-bands .steps__desc { grid-column: 2; padding-right: 36px; }
.pt-flow-bands .steps__time { grid-column: 2; justify-self: start; margin-top: 10px; }
.pt-flow-bands .flow__lead { text-align: center; }
.pt-flow-bands .flow__cta { max-width: 800px; margin-inline: auto; justify-content: center; border-top: 0; padding-top: 0; margin-top: 36px; }
@media (max-width: 899px) {
  .pt-flow-bands .steps li { grid-template-columns: 1fr; padding-bottom: 22px; }
  .pt-flow-bands .steps__num { font-size: 16px; margin-bottom: 18px; }
  .pt-flow-bands .steps__name { grid-column: 1; grid-row: auto; padding: 0 20px; font-size: 20px; margin-bottom: 6px; }
  .pt-flow-bands .steps__desc, .pt-flow-bands .steps__time { grid-column: 1; margin-left: 20px; margin-right: 20px; padding-right: 0; }
}

/* ---- 申し込み：center ---- */
.pt-apply-center .apply__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 24px; }
.pt-apply-center .apply__side { width: min(100%, 640px); }
@media (min-width: 900px) {
  .pt-apply-center .apply__buttons { grid-template-columns: 1fr 1fr; }
  .tategaki.pt-apply-center .apply__inner { flex-direction: column; gap: 40px; }
}

/* 見出しが中央の型は、よくある質問も中央に寄せる */
body:not(.tategaki):not(.h2-side) .faq { margin-inline: auto; }

/* ============================================================
   部品（つづき）：ヘッダー・Q&A・アクセス・申し込み・先生の実績
   手本は ENVY DESIGN の UI PATTERNS。どの内容のときに使うかを部品ごとに書いてある
   ============================================================ */

/* ---- ヘッダー：float（丸い白い帯が浮く。親しみを出したいとき） ---- */
.pt-header-float .site-header { height: calc(var(--header-h) + 12px); padding: 12px var(--gutter) 0; }
.pt-header-float .site-header::before { display: none; }
.pt-header-float .site-header__inner { height: var(--header-h); padding: 0 12px 0 28px; background: #fff; border-radius: 999px; box-shadow: 0 6px 20px rgb(0 0 0 / .07); }
@media (max-width: 899px) { .pt-header-float .site-header { padding: 8px 12px 0; } .pt-header-float .site-header__inner { padding: 0 8px 0 18px; } }

/* ---- ヘッダー：double（上の段に電話と受付時間。電話での問い合わせが多い業種） ---- */
.site-header__top { display: none; }
@media (min-width: 900px) {
  .pt-header-double { --header-h: 108px; }
  .pt-header-double .site-header__top { display: flex; align-items: center; justify-content: flex-end; gap: 16px; height: 36px; padding-inline: var(--gutter); background: var(--c-dark); color: #fff; font-size: 13px; }
  .pt-header-double .site-header__tel { font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-decoration: none; }
  .pt-header-double .site-header__hours { opacity: .8; }
  .pt-header-double .site-header__inner { height: 72px; }
}

/* ---- ヘッダー：center（屋号を中央に。店の名前の印象を真ん中に置きたいとき） ---- */
@media (min-width: 1100px) {
  .pt-header-center { --header-h: 124px; }
  .pt-header-center .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 72px 52px; align-items: center; gap: 0; }
  .pt-header-center .logo { grid-column: 2; grid-row: 1; font-size: 25px; }
  .pt-header-center .site-header .btn--small { grid-column: 3; grid-row: 1; justify-self: end; }
  .pt-header-center .site-header__nav { grid-column: 1 / -1; grid-row: 2; margin: 0; justify-self: center; align-self: start; border-top: 1px solid var(--c-line); padding-top: 10px; }
  .pt-header-center .site-header__nav ul { gap: 44px; }
}

/* ---- Q&A：chat（会話の吹き出し。質問が少なく、気軽に読んでほしいとき）
   Q・Aの記号は左にそろえる（右左に振ると目が行き来して読みにくい。2026-11-15かおりさん） ---- */
.pt-faq-chat .faq { max-width: 760px; }
.pt-faq-chat .faq > div, .pt-faq-chat .faq > div:first-child { padding: 0 0 28px; border: 0; }
.pt-faq-chat .faq dt, .pt-faq-chat .faq dd { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.pt-faq-chat .faq dd { margin-top: 10px; }
.pt-faq-chat .faq dt::before, .pt-faq-chat .faq dd::before { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-size: 17px; line-height: 1; }
.pt-faq-chat .faq dt::before { background: var(--c-paper); color: var(--c-accent); box-shadow: inset 0 0 0 2px var(--c-accent); }
.pt-faq-chat .faq dd::before { background: var(--c-accent); color: #fff; }
.pt-faq-chat .faq dt span, .pt-faq-chat .faq dd span { display: block; }
.pt-faq-chat .faq dt, .pt-faq-chat .faq dd { font-size: 16px; line-height: 1.8; }
.pt-faq-chat .faq__q, .pt-faq-chat .faq__a { padding: 14px 20px; border-radius: 4px 20px 20px 20px; background: var(--c-paper); justify-self: start; }
.pt-faq-chat .faq__a { background: var(--c-sec-1); font-family: var(--f-body); font-weight: 400; }
.pt-faq-chat .faq__q { font-family: var(--f-head); font-weight: var(--w-head); }

/* ---- Q&A：accordion（開閉。質問が具体的で、必要な答えだけ読みたいとき） ---- */
.faq--accordion { max-width: 860px; }
.faq--accordion .faq__item { border: 1px solid var(--c-line); background: var(--c-base); margin-bottom: 12px; }
.faq--accordion summary { display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; column-gap: 12px; align-items: center; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: var(--w-head); font-size: 18px; line-height: 1.6; }
.faq--accordion summary::-webkit-details-marker { display: none; }
.faq--accordion summary::before { content: "Q"; color: var(--c-accent); font-size: 22px; line-height: 1; }
/* 右端の＋（開いたら−） */
.faq--accordion summary::after { content: ""; width: 14px; height: 14px; justify-self: end; background: linear-gradient(var(--c-text), var(--c-text)) center / 100% 2px no-repeat, linear-gradient(var(--c-text), var(--c-text)) center / 2px 100% no-repeat; transition: transform .25s; }
.faq--accordion .faq__item[open] summary::after { background: linear-gradient(var(--c-text), var(--c-text)) center / 100% 2px no-repeat; }
.faq--accordion .faq__item[open] summary { background: var(--c-paper); }
.faq--accordion .faq__item p { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--c-line); }
.faq--accordion .faq__item p::before { content: "A"; font-family: var(--f-head); font-weight: var(--w-head); font-size: 22px; line-height: 1.3; color: var(--c-sub); }
.faq--accordion summary:hover { background: var(--c-paper); }

/* ---- Q&A：split（質問を左・答えを右。印は使わない。静かに読ませたいとき） ---- */
.pt-faq-split .faq dt::before, .pt-faq-split .faq dd::before { content: none; }
.pt-faq-split .faq dt, .pt-faq-split .faq dd { display: block; }
.pt-faq-split .faq dt { font-size: 19px; }
@media (min-width: 900px) {
  .pt-faq-split .faq { max-width: 960px; }
  .pt-faq-split .faq > div { display: grid; grid-template-columns: 5fr 6fr; column-gap: 56px; align-items: baseline; padding: 32px 0; }
  .pt-faq-split .faq dd { margin: 0; }
}

/* ---- アクセス：cards（来る前に知っておきたいことをカードにし、地図は下に大きく） ---- */
.pt-access-cards .access { grid-template-columns: 1fr; gap: 24px; }
.pt-access-cards .access__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pt-access-cards .access__info > div, .pt-access-cards .access__info > div:first-child { display: block; padding: 24px 24px 26px; border: 0; border-radius: max(var(--radius-img), 4px); background: var(--c-base); }
.pt-access-cards .access__info dt { color: var(--c-accent); margin-bottom: 8px; }
.pt-access-cards .access__map { min-height: 300px; }
@media (max-width: 899px) { .pt-access-cards .access__info { grid-template-columns: 1fr; gap: 12px; } }

/* ---- 申し込み：panels（フォームと電話、2つの窓口を同じ大きさの枠で並べる） ---- */
.pt-apply-panels .apply__inner { grid-template-columns: 1fr; row-gap: 28px; text-align: center; }
.pt-apply-panels .apply__side { width: min(100%, 860px); margin-inline: auto; }
.pt-apply-panels .apply__buttons { grid-template-columns: 1fr 1fr; gap: 20px; }
.pt-apply-panels .apply .btn--large { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 148px; padding: 24px; background: #fff; color: var(--c-dark); font-family: var(--f-head); font-size: 24px; }
.pt-apply-panels .apply .btn--large::after { content: attr(data-note); font-family: var(--f-body); font-size: 13px; font-weight: 400; letter-spacing: .04em; color: var(--c-sub); }
.pt-apply-panels .apply .btn--large:hover { background: var(--c-paper); color: var(--c-dark); }
@media (max-width: 899px) { .pt-apply-panels .apply__buttons { grid-template-columns: 1fr; } .pt-apply-panels .apply .btn--large { min-height: 120px; } }

/* ---- 先生：数字で見せる実績（teacher.stats があるときだけ出る） ---- */
.teacher__stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 4px 0 24px; padding: 20px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.teacher__stats li { line-height: 1.3; }
.teacher__stat-label { display: block; font-size: 13px; color: var(--c-sub); margin-bottom: 4px; }
.teacher__stats b { font-family: var(--f-head); font-weight: 700; font-size: 44px; color: var(--c-accent); letter-spacing: .02em; }
.teacher__stat-unit { font-weight: 700; margin-left: 4px; }
.teacher__stats + .teacher__career { border-top: 0; }

/* ---- フッターのメニュー（型が出すと決めたときだけ） ---- */
.site-footer__nav { display: none; }

/* ============================================================
   動き（控えめに・見せ場だけ）
   JSが動く環境だけ。動きを減らす設定の端末では何も動かさない
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* 最初の画面：写真がふわっと現れ、文字が少し遅れて上がってくる */
  .js .fv__photo { animation: fade 1.4s ease-out both; }
  .js .fv__text { animation: rise 1.1s ease-out .4s both; }
  /* 見出しと先生の写真：画面に入ったらそっと現れる */
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s ease-out, transform 1s ease-out; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }


/* ============================================================
   この型だけの組み方：余白を広く、線と縦書きで静かに
   部品（build.py の THEMES）：ヘッダー=row／特長=cols／コース=table／先生=left／流れ=circles／Q&A=list／アクセス=side／申込=split
   ============================================================ */
/* 土台：余白は広め・幅は標準 */
:root { --sec-space: 136px; --wrap: 1120px; }
@media (max-width: 899px) { :root { --sec-space: 76px; } }

/* フッター：上に罫線 */
/* 料金の補足：罫線で区切らず、生成りの面を重ねる（こでまりと同じ「細い線＋細い枠」にしない。2026-11-16） */
.info { border-bottom: 0; background: var(--c-base); padding: 32px 40px; margin-top: 12px; }  /* コースの節は白地なので、生成りの面 */
/* 体験の枠：生成りの濃い面。写真は面の左いっぱいに（見出しの縦書きは無理に使わない。2026-11-16） */
.trial { background: var(--c-sec-1); padding: 0 40px 0 0; gap: 36px; align-items: stretch; overflow: hidden; }
.trial__img { width: 200px; height: auto; min-height: 168px; border-radius: 0; }
.trial__text { align-self: center; padding: 28px 0; }
.trial .btn { align-self: center; }
@media (max-width: 899px) {
  .info { padding: 24px 20px; }
  .trial { padding: 24px 20px; }
}
.site-footer { border-top: 1px solid var(--c-line); }

@media (min-width: 1000px) {
  /* 最初の画面：写真を左に大きく、右の列に「上に縦書きのキャッチ・下に案内」（2026-11-16）
     縦書きは右から読み始めるので右に立てる。写真には何も重ねない。右の列は上から下まで埋まるので、空きが出ない
     （前の形：縦書きを左端に立て、案内の札を写真の左下に重ねていた →「札の重なり・キャッチの位置・余白とバランスが気になる」）
     ひだまり・こでまりと違い、写真は画面の端まで広げず、まわりに余白を残す */
  .fv--side { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 72px; align-items: stretch; padding: 36px var(--gutter) 40px; min-height: clamp(600px, calc(100vh - var(--header-h)), 720px); }
  .fv--side .fv__photo { grid-column: 1; grid-row: 1; order: 0; position: relative; min-height: 0; }
  .fv--side .fv__photo img { position: absolute; inset: 0; }
  .fv--side .fv__text { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-width: 0; }
  .fv--side .fv__catch { align-self: center; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 20px; margin: 0; font-size: clamp(28px, 2.2vw, 36px); line-height: 1.5; letter-spacing: .2em; }
  .fv--side .fv__catch span { writing-mode: vertical-rl; white-space: nowrap; }
  .fv--side .fv__catch span:nth-child(2) { margin-top: 1.8em; }
  .fv--side .fv__info { width: auto; max-width: none; }
}

/* ============================================================
   参考サイト（J-CAT・SWELLの暮らしのデモ）から取り入れた形　2026-11-16
   先生紹介：写真を細長い縦に、うしろに淡い色の面をずらして敷く／先生のことばを大きな縦書きに
   （縦書きになるのは build.py が teacher__word--tate を付けたときだけ。1行18文字以内・5行以内）
   ============================================================ */
@media (min-width: 1000px) {
  .pt-teacher-left .teacher { grid-template-columns: 280px minmax(0, 1fr); gap: 72px; }
  .pt-teacher-left .teacher__photo { position: relative; isolation: isolate; }
  .pt-teacher-left .teacher__photo img { aspect-ratio: 3 / 5; }
  /* 淡い色の面：写真から右下へずらして敷く（和紙を重ねたような奥行き） */
  .pt-teacher-left .teacher__photo::before { content: ""; position: absolute; z-index: -1; inset: 40px -32px -40px 32px; background: var(--c-sec-1); }
  /* ことば（縦書き）を左の列に、名前・経歴・本文を右の列に */
  .teacher__body:has(.teacher__word--tate) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .teacher__body:has(.teacher__word--tate) > * { grid-column: 2; }
  .teacher__body > .teacher__word--tate { grid-column: 1; grid-row: 1 / span 12; writing-mode: vertical-rl; margin: 0; font-size: 28px; line-height: 2; letter-spacing: .16em; white-space: nowrap; }
}

/* 動き：最初の画面の縦書きのコピーが、筆で書くように上から順に現れる（1行目→2行目） */
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .js .fv--side .fv__catch span { animation: kikyo-brush 1.2s cubic-bezier(.5, 0, .2, 1) both; }
  .js .fv--side .fv__catch span:nth-child(1) { animation-delay: .2s; }
  .js .fv--side .fv__catch span:nth-child(2) { animation-delay: .9s; }
  .js .fv--side .fv__info { animation: rise .9s ease-out 1.3s both; }
}
@keyframes kikyo-brush { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ヘッダーのメニュー：見出しと同じ明朝に（2026-11-16かおりさん「明朝のほうがよさそう」） */
.site-header__nav a { font-family: var(--f-head); font-weight: 500; letter-spacing: .12em; }

/* 最初の画面「写真を全面に」（fv.pattern: full）：縦書きのキャッチを右に立て、ボタンはその左下（2026-11-16）
   縦書きは右から読み始めるので右側。写真は右を空けた構図のものを使い、右側だけ淡くぼかして文字を読みやすくする
   教室の説明は最初の画面の下（fv.infoBelow: true）に出す */
@media (min-width: 1000px) {
  /* 高さは画面の7割ほど（最大600px）。ボタンは縦書きのキャッチの真下に置く（読む → 押すの流れ）（2026-11-16「縦幅取りすぎ・ボタンの位置が不自然」） */
  .fv--full { height: clamp(520px, 68vh, 600px); }
  /* ボタンは最初の画面に置かず、説明の下（fv.buttonBelow）
     横長のボタンを縦書きの下・左下・縦書きのボタンにしても不自然だったため */
  .tategaki .fv--full .fv__text { inset: 44px var(--gutter) 44px auto; flex-direction: column; justify-content: center; align-items: center; }
  /* 帯は1行ごと：縦書きの各行の後ろにだけ、淡い生成りの細い帯を敷く（2026-11-16「帯は1行ごとのイメージ」） */
  .tategaki .fv--full .fv__catch { gap: 14px; }
  .tategaki .fv--full .fv__catch span { padding: .6em .35em; background: color-mix(in srgb, var(--c-base) 90%, transparent); }
  .tategaki .fv--full .fv__catch { font-size: clamp(28px, 2.1vw, 32px); letter-spacing: .18em; }
  .fv--full .fv__photo::after { display: none; }
}
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .js .fv--full .fv__catch span { animation: kikyo-brush 1.2s cubic-bezier(.5, 0, .2, 1) both; }
  .js .fv--full .fv__catch span:nth-child(1) { animation-delay: .2s; }
  .js .fv--full .fv__catch span:nth-child(2) { animation-delay: .9s; }
}
/* スマホ：右を空けた構図の写真は、真ん中で切ると人が写らない。少し横長にして、人のいる左側を見せる */
@media (max-width: 899px) {
  .fv--full .fv__photo { aspect-ratio: 4 / 3; }
  .fv--full .fv__photo img { object-position: 4% center; }
}

/* 教室の説明とボタンの面（fv.infoBelow）を、白い和紙の地に（2026-11-16 かおりさん「和紙のテクスチャにできる？」）
   画像は themes/assets/kikyo/washi.webp（画像生成の楮紙・明るさを上げて繊維だけ淡く残す）。敷き詰めず、面いっぱいに1枚 */
.fv-intro { background: #fbfaf6 url("/img/theme/washi.webp") center / cover no-repeat; }
/* 申し込みの帯（まずは、一枚…）も、墨色の和紙の地に（2026-11-16 かおりさん）
   washi_dark.webp は washi と同じ紙を反転して墨色に沈めたもの。繊維がうっすら明るく見える */
.apply { background: var(--c-dark) url("/img/theme/washi_dark.webp") center / cover no-repeat; }
