@charset "utf-8";

/* =============================================================
   クレール・ド・バレエ  共通スタイル
   ------------------------------------------------------------
   配色はロゴから採色：
     ティールブルー #0090c0 ／ ゴールド #f0c000
   ------------------------------------------------------------
   1. デザイントークン
   2. リセット / ベース
   3. 共通パーツ
   4. ヘッダー / ナビ / 告知帯
   5. トップページ用セクション
   6. 時間割・予定表
   7. 表組み（料金・実績）
   8. 教室所在地
   9. フッター / スマホ固定CTA
  10. レスポンシブ
   ============================================================= */


/* -------------------------------------------------------------
   1. デザイントークン
   ------------------------------------------------------------- */
:root {
  /* ブランド色
     ピンクを主役に、ペパーミント・ブルー・ゴールドをアクセントとして使う。
     文字に使う色（--brand / --mint-dark / --sky-dark）は、
     白背景でコントラスト比 4.5:1 以上を確保した濃さにしてある。
     淡い色（--*-pale）は背景の塗り分け専用で、文字色には使わないこと。 */
  --brand:       #bd4a74;   /* ピンク（主役・ボタン・リンク） */
  --brand-dark:  #96385a;
  --brand-pale:  #fdeef4;
  --brand-line:  #f5ccdc;

  --mint:        #3fcbac;   /* ペパーミント（面に使う明るい色） */
  --mint-dark:   #1a6e5e;   /* 文字用。淡い背景でも読める濃さ */
  --mint-pale:   #e3faf4;
  --mint-line:   #b2ecdf;

  --sky:         #52b4f2;   /* ブルー（面に使う明るい色） */
  --sky-dark:    #1b6a9f;   /* 文字用 */
  --sky-pale:    #e7f4fe;
  --sky-line:    #bfe1fa;

  --gold:        #f0c000;   /* ロゴ由来のゴールド */
  --gold-dark:   #8a6b00;
  --gold-pale:   #fdf4d6;
  --gold-line:   #f5e2a0;

  --red:         #c13a34;   /* 日曜・祝日 */

  /* 基本色 */
  --bg:        #ffffff;
  --bg-alt:    #fdeff5;   /* ピンクの背景 */
  --bg-mint:   #e9faf5;   /* ミントの背景 */
  --bg-deep:   #f7e6ec;
  /* 淡い3色のグラデーション。濃色の帯のかわりに使う（子供向けに明るく） */
  --bg-candy:  linear-gradient(120deg, #fdeef4 0%, #e9f9f4 52%, #e7f4fe 100%);
  --ink:       #3b2730;
  --ink-soft:  #7a6670;
  --line:      #f0dfe6;
  --white:     #ffffff;

  /* 書体 */
  /* --font-serif は装飾用。数字が沈むオールドスタイル数字で読みにくいため、
     英字の小見出し（heading__en 等）とロゴにのみ使用する。
     ★これらのラベルに数字を入れないこと（例：「5 Studios」は不可）。 */
  --font-serif: "Cormorant Garamond", serif;
  --font-jp:    "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --font-sans:  "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
  /* 数字（時刻・料金・日付）用。桁がそろうように等幅数字を指定する。 */
  --font-num:   "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;

  /* レイアウト */
  --wrap:   1120px;
  --narrow: 860px;
  --gutter: 20px;
  --radius: 16px;   /* 角を大きく丸めて、やわらかい印象にする */
}


/* -------------------------------------------------------------
   2. リセット / ベース
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p   { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-jp);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .05em;
  margin: 0;
}

/* strong はブラウザ既定が 700 だが、読み込んでいるのは 400 と 500 だけ。
   700 のまま使うとブラウザが機械的に太らせ、日本語の輪郭がにじむ。
   見出しと同じ 500 にそろえる。700 を使いたい場合は、各ページの
   Google Fonts の URL に wght@400;500;700 を足すこと（読み込み量は増える）。 */
strong, b { font-weight: 500; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--narrow); }

.section { padding: 80px 0; }
.section--alt  { background: var(--bg-alt); }
.section--mint { background: var(--bg-mint); }
.section--tight { padding: 52px 0; }


/* -------------------------------------------------------------
   3. 共通パーツ
   ------------------------------------------------------------- */

/* --- 見出し --- */
.heading { margin-bottom: 40px; }
.heading--center { text-align: center; }

.heading__en {
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .3em;
  text-transform: uppercase;
  /* 小さく字間が広い文字のため、濃いほうのピンクを使う */
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.heading__ja { font-size: clamp(22px, 3.6vw, 30px); }
.heading__lead {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* 小見出し（本文中） */
.subhead {
  font-size: 19px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  margin-bottom: 18px;
}
/* 見出しの横に小さなラベルを添える場合
   例：<h2 class="subhead subhead--tagged">教室・講師<span class="subhead__tag">主な受賞歴</span></h2> */
.subhead--tagged {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.subhead__tag {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--brand-dark);
  background: var(--brand-pale);
  border-radius: 999px;
  padding: 3px 14px;
  white-space: nowrap;
}

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); }

.btn--gold { background: var(--gold); color: #4a3800; }
.btn--gold:hover { background: #dcb000; }

.btn--line { background: #06c755; color: var(--white); }
.btn--line:hover { background: #05a948; }

.btn--ghost { border-color: var(--brand); color: var(--brand); background: var(--white); }
.btn--ghost:hover { background: var(--brand); color: var(--white); }

.btn--small { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }

/* --- テキストリンク --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--brand-dark);
  border-bottom: 1px solid var(--brand-line);
  padding-bottom: 3px;
  transition: border-color .25s;
}
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover { border-color: var(--brand); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- 画像プレースホルダ（写真が届くまでの仮置き） --- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-pale) 0%, var(--gold-pale) 100%);
  color: var(--brand-dark);
  font-family: var(--font-jp);
  font-size: 13px;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(0, 144, 192, .4);
  border-radius: 6px;
  pointer-events: none;
}
.ph span { position: relative; }

/* --- 写真 ---
   width / height 属性（実寸）を必ず書くこと。読み込み中のガタつきを防ぐ。
   枠の縦横比は CSS で固定し、はみ出た分は object-fit で切り落とす。 */
.photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-pale);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo--tall { aspect-ratio: 2 / 3; }

/* 縦長写真を3枚並べる */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* 写真と見出しを横に並べる（スマホでは縦に積む） */
.intro-split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 44px;
}
.intro-split .heading { margin-bottom: 0; }
.intro-split__photo { aspect-ratio: 4 / 5; }

/* --- 注釈 --- */
.note {
  font-size: 14px;
  color: var(--ink-soft);
}
.note-list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.note-list li::before {
  content: "※";
  position: absolute;
  left: 0;
}

/* --- クラスの進み方（フロー） --- */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.flow > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
  background: var(--white);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 12px 22px;
  font-family: var(--font-jp);
  font-size: 15px;
}
.flow > span small {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.flow > i {
  font-style: normal;
  color: var(--brand);
  font-size: 18px;
}

/* --- 料金の目安バッジ --- */
.fee-hint {
  display: inline-block;
  font-size: 13px;
  color: var(--brand-dark);
  background: var(--brand-pale);
  border-radius: 999px;
  padding: 2px 14px;
  margin: -8px 0 20px;
}

/* --- 強調ボックス --- */
.callout {
  background: var(--gold-pale);
  border: 1px solid #f0dfa0;
  border-radius: var(--radius);
  padding: 24px 26px;
}


/* -------------------------------------------------------------
   4. ヘッダー / ナビ / 告知帯
   ------------------------------------------------------------- */

/* --- 告知帯（site-data.js から自動生成） --- */
.notice-bar {
  background: var(--gold);
  color: #4a3800;
  font-size: 13.5px;
  line-height: 1.7;
  text-align: center;
  padding: 9px var(--gutter);
}
.notice-bar li + li { margin-top: 2px; }
.notice-bar:empty { display: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.logo { display: flex; align-items: center; gap: 10px; }
/* 横長ロゴはカタカナが小さいため、やや大きめに表示する */
.logo img { height: 50px; width: auto; }
.logo__fallback {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo__en {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--brand);
  letter-spacing: .06em;
}
.logo__ja {
  font-family: var(--font-jp);
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: .16em;
}

.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 20px; }
.nav__list a {
  font-family: var(--font-jp);
  font-size: 14px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] { color: var(--brand); border-color: var(--brand); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 6px auto;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- 下層ページの見出し帯 --- */
.page-head {
  background: var(--bg-candy);
  color: var(--ink);
  padding: 54px 0;
  text-align: center;
}
.page-head__en {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  /* 淡いグラデーション上の小さな文字のため、濃いほうのピンクを使う */
  color: var(--brand-dark);
  margin-bottom: 4px;
}
.page-head__ja { font-size: clamp(23px, 4vw, 32px); color: var(--ink); }

/* --- パンくず --- */
.crumbs {
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 14px 0;
}
.crumbs a:hover { color: var(--brand); }
.crumbs span + span::before { content: " › "; }


/* -------------------------------------------------------------
   5. トップページ用セクション
   ------------------------------------------------------------- */

/* --- ヒーロー ---
   文字と写真を横に並べる（スマホでは写真が上）。
   写真は大勢の生徒の集合写真なので、文字を重ねると顔が隠れてしまう。
   そのため写真の上に文字を載せる形はやめた（2026-12-03）。 */
.hero { background: var(--bg-candy); padding: 56px 0 64px; }
.hero__inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 48px;
  align-items: center;
}
.hero__media {
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-pale);
  box-shadow: 0 18px 40px rgba(189, 74, 116, .14);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__catch {
  font-family: var(--font-jp);
  /* キャッチコピーが短いため、以前より大きめに組む */
  font-size: clamp(30px, 5.8vw, 54px);
  line-height: 1.55;
  letter-spacing: .06em;
  text-shadow: 0 2px 20px rgba(255,255,255,.85);
}
.hero__sub {
  max-width: 32em;
  font-size: 15px;
  color: var(--ink-soft);
  text-shadow: 0 2px 14px rgba(255,255,255,.9);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- 特長 --- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
}
.feature__num {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--brand);
  margin-bottom: 10px;
}
/* 3枚のカードをピンク・ミント・ブルーで塗り分ける */
.features .feature:nth-child(1) { border-top: 3px solid var(--brand); }
.features .feature:nth-child(2) { border-top: 3px solid var(--mint); }
.features .feature:nth-child(3) { border-top: 3px solid var(--sky); }
.features .feature:nth-child(2) .feature__num { color: var(--mint-dark); }
.features .feature:nth-child(3) .feature__num { color: var(--sky-dark); }
.feature__title { font-size: 19px; margin-bottom: 12px; }
.feature__text { font-size: 14.5px; color: var(--ink-soft); text-align: left; }

/* --- 実績サマリー（信頼の根拠） --- */
.record {
  background: var(--bg-candy);
  color: var(--ink);
  padding: 72px 0;
  text-align: center;
}
.record__en {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--mint-dark);
  margin-bottom: 6px;
}
.record__title { font-size: clamp(21px, 3.4vw, 28px); margin-bottom: 12px; }
.record__lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 40px; }
.record__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
/* 項目が2つのときは2列にする */
.record__grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 660px;
  margin-inline: auto;
}
.record__item {
  background: rgba(255, 255, 255, .72);
  border: 2px solid var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
}
/* 件数は出さず、項目名を見出しのように大きく出す */
.record__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--brand-dark);
}
.record__grid--2 .record__item:nth-child(2) .record__label { color: var(--mint-dark); }
.record .btn--ghost {
  background: var(--white);
  border-color: var(--brand);
  color: var(--brand);
}
.record .btn--ghost:hover { background: var(--brand); color: var(--white); }

/* --- クラス一覧 --- */
.classes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.class-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.class-card__age {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--brand-dark);
  background: var(--brand-pale);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 10px;
}

/* クラスカードをピンク → ミント → ブルー → ゴールドの順で塗り分ける */
.classes .class-card:nth-child(4n+2) { border-top-color: var(--mint); }
.classes .class-card:nth-child(4n+2) .class-card__age {
  color: var(--mint-dark); background: var(--mint-pale);
}
.classes .class-card:nth-child(4n+3) { border-top-color: var(--sky); }
.classes .class-card:nth-child(4n+3) .class-card__age {
  color: var(--sky-dark); background: var(--sky-pale);
}
.classes .class-card:nth-child(4n+4) { border-top-color: var(--gold); }
.classes .class-card:nth-child(4n+4) .class-card__age {
  color: var(--gold-dark); background: var(--gold-pale);
}

/* コンクールクラスだけは常にゴールド */
.class-card--adv,
.classes .class-card--adv { border-top-color: var(--gold); }
.class-card--adv .class-card__age,
.classes .class-card--adv .class-card__age {
  color: var(--gold-dark); background: var(--gold-pale);
}
.class-card__title { font-size: 19px; margin-bottom: 8px; }
.class-card__text { font-size: 14.5px; color: var(--ink-soft); }

/* --- 舞台情報 / 新着情報 --- */
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.stage-item {
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 18px;
  margin-bottom: 26px;
}
.stage-item__date {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--brand-dark);
}
.stage-item__title { font-size: 17px; margin: 2px 0 4px; }
.stage-item__place { font-size: 14px; color: var(--ink-soft); }

.news-list { border-top: 1px solid var(--line); }
.news-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.news-list time {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* --- CTA帯 --- */
.cta {
  background: var(--brand);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta__en {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .3em;
  opacity: .85;
  margin-bottom: 6px;
}
.cta__title { font-size: clamp(22px, 3.6vw, 30px); margin-bottom: 14px; }
.cta__text { font-size: 15px; opacity: .92; margin-bottom: 30px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta .btn--primary { background: var(--white); color: var(--brand-dark); border-color: var(--white); }
.cta .btn--primary:hover { background: var(--bg-alt); }


/* -------------------------------------------------------------
   6. 時間割・予定表
   ------------------------------------------------------------- */

/* --- 教室タブ --- */
.studio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.studio-tabs button {
  font-family: var(--font-jp);
  font-size: 14.5px;
  min-height: 44px;
  padding: 0 20px;
  border: 2px solid var(--brand-line);
  border-radius: 999px;
  background: var(--white);
  color: var(--brand-dark);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.studio-tabs button:hover { border-color: var(--brand); }
.studio-tabs button[aria-selected="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* --- 時間割（曜日ごとの縦並び：スマホでも崩れない） --- */
.timetable { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.timetable[hidden] { display: none; }   /* display 指定が [hidden] を上書きしないように */
.tt-day {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tt-day__head {
  background: var(--brand-pale);
  color: var(--brand-dark);
  font-family: var(--font-jp);
  font-size: 15px;
  padding: 10px 20px;
}
/* 曜日ごとに色を変える（--d0=日 … --d6=土） */
.tt-day__head--d0 { background: #fdeceb; color: #a8322d; }
.tt-day__head--d2 { background: var(--mint-pale); color: var(--mint-dark); }
.tt-day__head--d3 { background: var(--sky-pale);  color: var(--sky-dark); }
.tt-day__head--d4 { background: var(--gold-pale); color: var(--gold-dark); }
.tt-day__head--d6 { background: var(--sky-pale);  color: var(--sky-dark); }
.tt-day ul { padding: 8px 20px 16px; }
.tt-day li {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.tt-day li:last-child { border-bottom: 0; }
.tt-time {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}
.tt-class { font-family: var(--font-jp); }

/* --- 月次カレンダー（自動生成） --- */
.cal { margin-bottom: 48px; }
.cal__title {
  font-family: var(--font-jp);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .06em;
  text-align: center;
  color: var(--brand-dark);
  margin-bottom: 18px;
}
.cal table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--white);
}
.cal th {
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: .06em;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 2px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.cal th:first-child { color: var(--red); }
.cal th:last-child  { color: var(--sky-dark); }
.cal td {
  border: 1px solid var(--line);
  vertical-align: top;
  height: 82px;
  padding: 5px 4px;
}
.cal td.is-empty { background: #fcfafb; }
/* 日曜・祝日は赤、土曜は青 */
.cal td.is-sun     .cal__date,
.cal td.is-holiday .cal__date { color: var(--red); }
.cal td.is-sat     .cal__date { color: var(--sky-dark); }
/* 祝日名 */
.cal__holiday {
  font-size: 10px;
  line-height: 1.4;
  color: var(--red);
  margin-top: 1px;
}
.cal__date {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.cal__studios { margin-top: 2px; }
.cal__studios li {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--mint-dark);
  background: var(--mint-pale);
  border-radius: 3px;
  padding: 0 3px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 振替レッスンの日はゴールドで区別し、何の振替かを添える */
.cal__studios li.is-extra { color: var(--gold-dark); background: var(--gold-pale); }
.cal__note {
  font-size: 10px;
  line-height: 1.4;
  color: var(--gold-dark);
  margin-top: 1px;
}
.cal__closed {
  font-size: 11px;
  color: #b04a3e;
}

/* --- 凡例 --- */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}


/* -------------------------------------------------------------
   7. 表組み（料金・実績）
   ------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.tbl {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
}
.tbl th, .tbl td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
.tbl th {
  background: var(--brand-pale);
  font-family: var(--font-jp);
  font-weight: 500;
  white-space: nowrap;
  width: 34%;
}
.tbl td ul li { display: flex; justify-content: space-between; gap: 20px; }
.tbl .price {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
/* 金額のうしろに添える「（税込）」 */
.tbl .price small {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 2px;
}

/* 実績表 */
.tbl--record th { width: 26%; background: var(--bg-alt); vertical-align: top; }
.tbl--record td { font-size: 14px; line-height: 1.85; }
/* 料金表の「項目と金額を左右に離す」指定を、実績表では打ち消す */
.tbl--record td ul li {
  display: block;
  margin-bottom: 2px;
}
/* 「等」（主なものだけを抜粋している旨） */
.tbl--record .etc {
  color: var(--ink-soft);
  margin-top: 6px;
}
.tbl--record .yr {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  margin-right: 8px;
  white-space: nowrap;
}


/* -------------------------------------------------------------
   8. 教室所在地
   ------------------------------------------------------------- */
.studio-list { display: grid; gap: 20px; }
.studio {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.studio .ph, .studio iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 6px;
}
.studio__name {
  font-size: 21px;
  margin-bottom: 6px;
}
.studio__area {
  display: inline-block;
  font-size: 11.5px;
  color: var(--brand-dark);
  background: var(--brand-pale);
  border-radius: 999px;
  padding: 1px 11px;
  margin-bottom: 10px;
}
.studio__addr { font-size: 15px; margin-bottom: 4px; }
.studio__route { font-size: 14px; color: var(--ink-soft); }
.studio__days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.studio__days span {
  font-size: 12.5px;
  border: 1px solid var(--brand-line);
  border-radius: 4px;
  padding: 1px 10px;
  color: var(--brand-dark);
}

/* 連絡先カード */
.tel-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
/* 電話番号が1件のときは中央に置く（JS が付与するクラス） */
.tel-card--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.tel-box {
  background: var(--white);
  border: 2px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
}
.tel-box__area { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.tel-box__num {
  display: inline-block;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--brand-dark);
}
.tel-box__num:hover { color: var(--brand); }


/* -------------------------------------------------------------
   9. フッター / スマホ固定CTA
   ------------------------------------------------------------- */
.footer {
  background: var(--bg-mint);
  border-top: 4px solid var(--mint);
  color: var(--ink-soft);
  padding: 56px 0 28px;
}
.footer a { color: inherit; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  padding-bottom: 36px;
}
/* --brand が 4.5:1 を満たすのは白背景のときだけ（白4.78 / ミント4.43）。
   フッターはミントの面なので、文字用の濃い色を使う（6.46）。 */
.footer .logo__en { color: var(--brand-dark); }
.footer .logo__ja { color: var(--ink-soft); }
.footer__desc {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.9;
}
.footer__nav { display: flex; gap: 48px; }
.footer__nav li { margin-bottom: 10px; }
.footer__nav a { font-size: 13.5px; }
.footer__nav a:hover { color: var(--brand); }
.footer__bottom {
  border-top: 1px solid var(--mint-line);
  padding-top: 22px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-soft);
}

/* スマホ画面下の固定CTA */
.sticky-cta { display: none; }


/* -------------------------------------------------------------
  10. レスポンシブ
   ------------------------------------------------------------- */
@media (max-width: 960px) {
  .section { padding: 60px 0; }

  .features,
  .classes,
  .record__grid,
  .info-cols,
  .timetable,
  .tel-card { grid-template-columns: 1fr; }

  .info-cols { gap: 40px; }
  .timetable { gap: 16px; }

  .studio { grid-template-columns: 1fr; gap: 18px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  /* --- ヒーロー：写真を上、文字を下に --- */
  .hero { padding: 24px 0 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__media { order: -1; }

  /* --- ナビをドロワー化 --- */
  .nav__toggle { display: block; }
  .nav > .btn { display: none; }
  /* fixed ではなく absolute で .header の真下に付ける。
     .header の backdrop-filter が fixed の基準を画面からヘッダーに変えるため、
     fixed + top だと「ヘッダーが画面上端から離れている距離」だけ下にずれていた
     （告知帯が3行のスマホで89pxの隙間。2026-12-03 修正）。
     --nav-top（ヘッダー下端の画面上の位置）は max-height の計算にだけ使う。 */
  .nav__list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);  /* +1px = .header の下線を隠さない */
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    padding: 4px var(--gutter) 20px;
    max-height: calc(100dvh - var(--nav-top, 80px));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav__list[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { display: block; padding: 15px 2px; border-bottom: 0; }

  /* --- 画面下の固定CTA --- */
  .sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 9px var(--gutter) calc(9px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .sticky-cta .btn { min-height: 48px; font-size: 14px; padding: 0 12px; }
  body { padding-bottom: 78px; }

  /* --- カレンダーを縮める --- */
  .cal td { height: 66px; padding: 3px 2px; }
  .cal__date { font-size: 12px; }
  .cal__studios li { font-size: 9.5px; padding: 0 2px; }
}

@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .gallery { gap: 8px; }
  .intro-split { grid-template-columns: 1fr; gap: 24px; }
  .intro-split__photo { width: 220px; margin-inline: auto; }
  .intro-split .heading { text-align: center; }
  .footer__nav { flex-direction: column; gap: 20px; }
  .tt-day li { grid-template-columns: 1fr; gap: 0; }
  .news-list li { grid-template-columns: 1fr; gap: 2px; }
  /* --- 表：横スクロールさせず、見出しセルを上・中身を下に積む ---
     以前は min-width:420px のまま横スクロールさせていたが、スマホ（枠320px）では
     月謝の金額が「￥2,50」で切れ、よくあるご質問の答えは幅39pxしか見えなかった
     （2026-12-03 キャプチャ作成時に発見）。全表が「見出し1つ＋中身1つ」の行なので積める。 */
  .tbl { min-width: 0; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: auto; }
  .tbl tr { border: 1px solid var(--line); border-top: 0; }
  .tbl tr:first-child { border-top: 1px solid var(--line); }
  .tbl th, .tbl td { border: 0; }
  .tbl th { white-space: normal; padding: 10px 16px; }
}
