@charset "UTF-8";
/* ==========================================================================
   デジリスタ 制作デモ（site-juku）
   ※ 他5サイトとの差別化：
     - 横スクロールのスタイルギャラリー（scroll-snap）が主役
     - スタッフを大判カードで見せる（指名で選ばれる業種のため）
     - 余白を大きく、線を細く、文字を広げる（墨 × くすみローズ）
   ※ 編集性の方針：
     すべてのセクションが WordPress のコアブロックに1対1で対応するように
     組んである。装飾はこのCSSだけが担当し、HTMLの入れ子には依存しない。
     → 詳しくは同フォルダの README.md（Cocoonブロック対応表）
   ========================================================================== */

/* ---------- 1. トークン ---------- */
:root {
  --bg:        #f6f8fb;
  --bg-2:      #e8eef6;
  --bg-3:      #d5e0ee;
  --paper:     #ffffff;
  --ink:       #20293a;
  --ink-2:     #556174;
  --ink-3:     #8b95a5;
  --brand:     #1d3f7a;
  --brand-2:   #2a5296;
  --brand-pale:#e2eaf6;
  --accent:    #e04b52;
  --accent-2:  #ea6a70;
  --accent-pale:#fbe6e7;
  --line:      #d8e1ec;
  --line-2:    #e8eef4;

  --radius:    10px;
  --shadow:    0 1px 2px rgba(20,25,30,.05), 0 8px 26px rgba(20,25,30,.07);
  --shadow-lg: 0 2px 10px rgba(20,25,30,.07), 0 24px 54px rgba(20,25,30,.12);

  --wrap:      1160px;
  --wrap-nr:   820px;
  --gap:       clamp(16px, 2.5vw, 28px);
  --sec:       clamp(60px, 9vw, 120px);

  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --disp: "Roboto Condensed", "Arial Narrow", var(--sans);

  --hd-h:      76px;
}

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 18px); }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 2.0;
  letter-spacing: .06em; font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--accent); }
p { margin: 0 0 1.6em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.6em; padding-left: 1.4em; }
li + li { margin-top: .5em; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.6; letter-spacing: .1em; margin: 0; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- 3. レイアウト ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--nr { width: min(100% - 40px, var(--wrap-nr)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--bg-2); }
.sec--paper { background: var(--paper); }

/* 見出し：英字を細いセリフで大きく置き、下に日本語（他5サイトのどれとも違う型） */
.shead { margin-bottom: clamp(34px, 5vw, 62px); text-align: center; }
.shead__en {
  display: block; font-family: var(--disp); font-size: clamp(34px, 5.6vw, 58px);
  font-weight: 300; font-style: italic; letter-spacing: .04em; line-height: 1;
  color: var(--accent); margin-bottom: 14px;
}
.shead__ja { font-size: clamp(15px, 1.9vw, 18px); letter-spacing: .24em; font-weight: 500; }
.shead__lead { margin-top: 20px; color: var(--ink-2); font-size: 14.5px; letter-spacing: .05em; }
.shead--left { text-align: left; }

.hd2 {
  font-size: clamp(19px, 2.6vw, 26px); letter-spacing: .12em; margin: 0 0 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.hd3 { font-size: 16px; letter-spacing: .12em; margin: 40px 0 14px; color: var(--brand); }
.hd3::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 12px; }

/* ---------- 4. パーツ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 38px; border-radius: 999px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 500;
  letter-spacing: .16em; cursor: pointer; transition: all .25s;
}
.btn:hover { background: transparent; color: var(--brand); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: transparent; color: var(--accent); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--brand); }
.btn--light:hover { background: transparent; color: #fff; }
.btn--sm { padding: 11px 26px; font-size: 12.5px; }
.btn--wide { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btns--center { justify-content: center; }

/* 数値 */
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.nums__i { background: var(--bg); padding: 26px 16px; text-align: center; }
.nums__n { font-family: var(--disp); font-size: clamp(32px, 4.6vw, 46px); font-weight: 400; line-height: 1; color: var(--brand); letter-spacing: 0; }
.nums__n small { font-family: var(--sans); font-size: 13px; font-weight: 500; margin-left: 3px; letter-spacing: .04em; }
.nums__l { font-size: 12px; color: var(--ink-2); letter-spacing: .12em; margin-top: 12px; }

/* カード */
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); padding: 32px 28px; }
.card__ico { width: 40px; height: 40px; color: var(--accent); margin-bottom: 20px; }
.card__t { font-size: 17px; letter-spacing: .12em; margin: 0 0 12px; }
.card__d { font-size: 14px; color: var(--ink-2); line-height: 1.95; margin: 0; }

/* ステップ */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { background: var(--paper); padding: 26px 28px 26px 82px; position: relative; margin: 0; }
.steps li::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; left: 28px; top: 26px;
  font-family: var(--disp); font-size: 26px; font-style: italic; color: var(--accent); line-height: 1;
}
.steps__t { font-size: 16px; letter-spacing: .12em; font-weight: 500; margin-bottom: 10px; }
.steps__d { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.95; }

/* 定義テーブル */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 18px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { width: 9em; font-weight: 500; letter-spacing: .1em; white-space: nowrap; }
.tbl td { color: var(--ink-2); }

/* 営業時間 */
.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; text-align: center; }
.hours th, .hours td { padding: 14px 6px; border-bottom: 1px solid var(--line); }
.hours thead th { font-weight: 500; letter-spacing: .1em; font-size: 13px; }
.hours tbody th { text-align: left; font-weight: 400; color: var(--ink-2); white-space: nowrap; letter-spacing: .06em; }
.hours .off { color: var(--accent); }

/* 注記 */
.note { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 24px 26px; font-size: 13.5px; color: var(--ink-2); line-height: 1.95; }
.note > :last-child { margin-bottom: 0; }
.note--brand { border-left-color: var(--brand); }

.capbox { border: 1px solid var(--line); background: var(--paper); }
.capbox__t { background: var(--brand); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .14em; padding: 15px 22px; margin: 0; }
.capbox__b { padding: 26px 24px; font-size: 14px; color: var(--ink-2); }
.capbox__b > :last-child { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq__i { background: var(--paper); }
.faq__q { display: flex; align-items: flex-start; gap: 16px; padding: 24px 52px 24px 26px; position: relative; font-size: 15.5px; font-weight: 500; letter-spacing: .08em; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "Q"; font-family: var(--disp); font-style: italic; font-size: 20px; color: var(--accent); flex: none; line-height: 1.3; }
.faq__q::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s; }
.faq__i[open] .faq__q::after { transform: rotate(-135deg); margin-top: -1px; }
.faq__a { display: flex; gap: 16px; padding: 0 52px 26px 26px; font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.faq__a::before { content: "A"; font-family: var(--disp); font-style: italic; font-size: 20px; color: var(--ink-3); flex: none; line-height: 1.3; }
.faq__a > :last-child { margin-bottom: 0; }

/* ---------- 5. ヘッダー / フッター ---------- */
.demobar { background: #2b2622; color: #ded5d0; font-size: 12.5px; line-height: 1.75; padding: 9px 20px; text-align: center; letter-spacing: .04em; }
.demobar p { margin: 0; display: inline; }
.demobar strong { color: #d8a7ad; font-weight: 700; }
.demobar a { color: #d8a7ad; text-decoration: underline; text-underline-offset: 3px; margin-left: .6em; white-space: nowrap; }
.demobar a:hover { color: #fff; }
.demobar__ex { display: block; font-size: 11.5px; color: #a99b95; margin-top: 3px; }

.hd { position: sticky; top: 0; z-index: 80; background: rgba(250,248,247,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd__in { width: min(100% - 32px, 1280px); margin-inline: auto; height: var(--hd-h); display: flex; align-items: center; gap: 18px; }
.hd__logo { display: flex; align-items: center; gap: 13px; margin-right: auto; color: var(--ink); }
.hd__mark { width: 38px; height: 38px; flex: none; }
.hd__name { font-family: var(--disp); font-size: 23px; font-weight: 400; letter-spacing: .14em; line-height: 1.1; display: block; }
.hd__sub { font-size: 10px; letter-spacing: .22em; color: var(--ink-3); display: block; margin-top: 5px; }

.gnav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.gnav li { margin: 0; }
.gnav a { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; color: var(--ink); position: relative; padding-block: 10px; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--accent); }

.hd__cta { display: flex; align-items: center; gap: 14px; }
.hd__tel { text-align: right; line-height: 1.2; }
.hd__tel a { font-family: var(--disp); font-size: 24px; font-weight: 500; letter-spacing: .04em; }
.hd__tel small { display: block; font-size: 10px; color: var(--ink-3); letter-spacing: .1em; margin-top: 2px; }
.hd__recruit { font-size: 11px; letter-spacing: .12em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 15px; }
.hd__recruit:hover { border-color: var(--accent); color: var(--accent); }

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

.drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--bg); padding: 26px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; visibility: hidden; }
.drawer[data-open="true"] { transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 24px; padding: 0; }
.drawer li { margin: 0; border-bottom: 1px solid var(--line); }
.drawer a { display: block; padding: 18px 4px; font-size: 15px; letter-spacing: .12em; }
.drawer a small { display: block; font-family: var(--disp); font-style: italic; font-size: 12px; color: var(--ink-3); letter-spacing: .1em; margin-top: 2px; }
.drawer__info { font-size: 12.5px; color: var(--ink-2); line-height: 2; margin-top: 24px; letter-spacing: .04em; }

.ft { background: var(--brand); color: #cfc5bf; padding-block: clamp(50px, 7vw, 84px) 0; font-size: 13.5px; letter-spacing: .04em; }
.ft a { color: #cfc5bf; }
.ft a:hover { color: var(--accent-2); }
.ft__top { display: grid; gap: clamp(30px, 4vw, 54px); grid-template-columns: 1.4fr 1fr 1fr; }
.ft__name { font-family: var(--disp); font-size: 26px; color: #fff; letter-spacing: .12em; margin: 0 0 4px; }
.ft__sub { font-size: 10.5px; letter-spacing: .22em; color: #9b8f89; margin: 0 0 22px; }
.ft__addr { line-height: 2.05; margin: 0; }
.ft__h { font-size: 12px; letter-spacing: .18em; color: #fff; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin: 0 0 11px; line-height: 1.7; }
.ft__bar { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12px; color: #9b8f89; }

.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--brand); border-top: 1px solid rgba(255,255,255,.1); }
.mbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 4px 9px; font-size: 10.5px; letter-spacing: .08em; color: #fff; }
.mbar a + a { border-left: 1px solid rgba(255,255,255,.14); background: var(--accent); }
.mbar svg { width: 19px; height: 19px; }

.totop { position: fixed; right: 18px; bottom: 24px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--brand); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; box-shadow: var(--shadow); }
.totop.is-on { opacity: 1; pointer-events: auto; }
.totop svg { width: 17px; height: 17px; }

/* ---------- 6. ページ個別 ---------- */
/* ヒーロー：画像を全面に敷き、文字を重ねる（サロンらしい見せ方） */
.hero { position: relative; background: var(--bg-2); }
.hero__fig { margin: 0; position: relative; }
.hero__fig img { width: 100%; height: clamp(400px, 74vh, 720px); object-fit: cover; }
.hero__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(43,38,34,.52) 0%, rgba(43,38,34,.26) 46%, rgba(43,38,34,.06) 100%); }
.hero__in { position: absolute; inset: 0; display: grid; align-content: center; width: min(100% - 40px, var(--wrap)); margin-inline: auto; color: #fff; z-index: 2; }
.hero__en { font-family: var(--disp); font-style: italic; font-size: clamp(15px, 2vw, 20px); letter-spacing: .12em; opacity: .9; margin-bottom: 14px; }
.hero__t { font-size: clamp(27px, 5.2vw, 52px); font-weight: 400; letter-spacing: .12em; line-height: 1.62; margin: 0 0 22px; text-shadow: 0 2px 22px rgba(0,0,0,.28); }
.hero__d { font-size: clamp(13.5px, 1.6vw, 16px); line-height: 2.1; max-width: 30em; margin: 0 0 34px; text-shadow: 0 1px 14px rgba(0,0,0,.34); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 26px; font-size: 12px; letter-spacing: .1em; opacity: .82; }

/* ページ見出し */
.phead { background: var(--bg-2); padding-block: clamp(44px, 6vw, 78px); text-align: center; }
.phead__en { display: block; font-family: var(--disp); font-style: italic; font-size: clamp(34px, 5.4vw, 56px); font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.phead__ja { font-size: clamp(16px, 2vw, 20px); letter-spacing: .24em; font-weight: 500; }
.phead__lead { margin: 22px auto 0; max-width: 40em; color: var(--ink-2); font-size: 14px; }

.crumb { padding-block: 16px; font-size: 11.5px; color: var(--ink-3); letter-spacing: .08em; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumb li { margin: 0; }
.crumb li + li::before { content: "／"; margin-right: 8px; color: var(--line); }
.crumb a { color: var(--ink-2); }

/* 画像＋文章 */
.media { display: grid; gap: clamp(28px, 4.6vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
.media--rev .media__fig { order: 2; }
.media__fig { margin: 0; }
.media__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media__en { display: block; font-family: var(--disp); font-style: italic; font-size: 17px; color: var(--accent); letter-spacing: .08em; margin-bottom: 10px; }
.media__t { font-size: clamp(20px, 2.8vw, 29px); letter-spacing: .1em; line-height: 1.7; margin: 0 0 22px; }
.media__d { font-size: 14.5px; color: var(--ink-2); line-height: 2.05; }

/* CTA */
.cta { background: var(--brand); color: #fff; padding-block: clamp(56px, 8vw, 100px); text-align: center; }
.cta__t { font-size: clamp(21px, 3.2vw, 32px); font-weight: 400; letter-spacing: .12em; margin: 0 0 18px; }
.cta__d { font-size: 14px; color: #cfc5bf; max-width: 34em; margin: 0 auto 34px; }
.cta .btns { justify-content: center; }
.cta__tel { display: block; margin-top: 30px; }
.cta__tel a { font-family: var(--disp); font-size: clamp(30px, 4.4vw, 42px); color: #fff; letter-spacing: .06em; }
.cta__tel small { display: block; font-size: 12px; color: #9b8f89; letter-spacing: .12em; margin-top: 6px; }

.info__map { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--bg-2); }

/* フォーム */
.form { display: grid; gap: 22px; }
.field__l { display: block; font-size: 13px; letter-spacing: .12em; font-weight: 500; margin-bottom: 9px; }
.field__req { font-size: 10.5px; background: var(--accent); color: #fff; padding: 2px 9px; border-radius: 999px; margin-left: 9px; letter-spacing: .08em; }
.field__opt { font-size: 10.5px; background: var(--bg-3); color: var(--ink-2); padding: 2px 9px; border-radius: 999px; margin-left: 9px; letter-spacing: .08em; }
.field__help { font-size: 12px; color: var(--ink-3); margin: 8px 0 0; letter-spacing: .04em; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper);
  font: inherit; font-size: 15px; color: var(--ink); border-radius: 0;
}
.form textarea { min-height: 190px; resize: vertical; line-height: 1.9; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-pale); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.85; }
.check input { width: 19px; height: 19px; flex: none; margin-top: 3px; accent-color: var(--accent); }

/* ---------- 7. 動き ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.rv.is-in { opacity: 1; transform: none; }
.rv--d1 { transition-delay: .1s; }
.rv--d2 { transition-delay: .2s; }
.rv--d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- 8. レスポンシブ ---------- */
@media (max-width: 1000px) {
  .gnav, .hd__cta { display: none; }
  .burger { display: block; }
  .ft__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --hd-h: 66px; }
  body { padding-bottom: 58px; }
  .mbar { display: flex; }
  .totop { bottom: 70px; }
  .media, .media--rev .media__fig { grid-template-columns: 1fr; order: 0; }
  .ft__top { grid-template-columns: 1fr; }
  .hero__fig img { height: clamp(380px, 64vh, 520px); }
  .steps li { padding: 22px 22px 22px 66px; }
  .steps li::before { left: 20px; top: 22px; font-size: 22px; }
  .price th, .price td { padding: 14px 4px; font-size: 14px; }
}

/* ==========================================================================
   すみれ台学習塾 固有 ── 他8サイトと骨格を変えるための上書き
     - 主役は「曜日 × 時限の時間割グリッド」と「学年カード」と「よくある誤解の対比」
     - 藍 × 朱。見出しは英字を右上に小さく置き、日本語を左に大きく
   ========================================================================== */

body { line-height: 1.95; letter-spacing: .04em; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: .04em; }

/* 見出し：日本語が左、英字は右上に小さく（他8サイトのどれとも違う型） */
.shead { text-align: left; margin-bottom: clamp(28px, 4vw, 50px); position: relative; padding-top: 22px; }
.shead__en { position: absolute; top: 0; left: 0; font-family: var(--disp); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin: 0; }
.shead__ja { font-size: clamp(22px, 3.1vw, 32px); letter-spacing: .04em; font-weight: 700; }
.shead__ja::after { content: ""; display: block; width: 100%; height: 2px; background: linear-gradient(90deg, var(--brand) 0 76px, var(--line) 76px); margin-top: 18px; }
.shead__lead { font-size: 15px; margin-top: 16px; }
.shead--center { text-align: center; }
.shead--center .shead__en { position: static; display: block; margin-bottom: 10px; }
.shead--center { padding-top: 0; }

.hd2 { border-bottom: 0; padding: 10px 0 10px 16px; border-left: 5px solid var(--brand); background: var(--brand-pale); font-size: clamp(19px, 2.6vw, 25px); }
.hd3 { font-size: 17px; }
.hd3::before { width: 14px; height: 3px; border-radius: 2px; }

.btn { border-radius: var(--radius); padding: 16px 34px; font-weight: 700; letter-spacing: .08em; }
.btn--sm { padding: 11px 22px; }

.hd__name { font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: .06em; }
.hd__sub { letter-spacing: .1em; }
.hd__tel a { font-family: var(--disp); font-size: 23px; font-weight: 700; }
.gnav a { font-size: 13.5px; letter-spacing: .04em; }

.faq__q::before, .faq__a::before { font-family: var(--disp); font-style: normal; font-weight: 700; }
.steps li::before { font-family: var(--disp); font-style: normal; font-weight: 700; }
.steps { border-radius: var(--radius); overflow: hidden; }

.phead { text-align: left; background: var(--brand); color: #fff; }
.phead__en { font-family: var(--disp); font-size: 12.5px; font-style: normal; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #ff9ba0; margin-bottom: 12px; }
.phead__ja { font-size: clamp(24px, 3.5vw, 35px); letter-spacing: .04em; }
.phead__lead { margin-inline: 0; color: #c5d4ea; font-size: 15px; }

.crumb a { color: var(--ink-2); }

/* ---------- ヒーロー：斜めに切った濃紺の面＋写真 ---------- */
.hero { background: var(--bg-2); position: relative; overflow: hidden; }
.hero__in { position: static; width: min(100% - 40px, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 54px); align-items: center; padding-block: clamp(40px, 5.6vw, 78px); }
.hero__fig { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__fig::after { content: none; }
.hero__fig img { width: 100%; height: clamp(250px, 34vw, 400px); object-fit: cover; }
.hero__en { font-family: var(--disp); font-size: 12.5px; font-style: normal; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.hero__t { font-size: clamp(26px, 4.2vw, 44px); font-weight: 700; letter-spacing: .02em; line-height: 1.5; text-shadow: none; color: var(--ink); margin-bottom: 20px; }
.hero__t em { font-style: normal; color: var(--brand); border-bottom: 5px solid var(--accent); padding-bottom: 2px; }
.hero__d { font-size: clamp(14px, 1.5vw, 16px); line-height: 2; text-shadow: none; color: var(--ink-2); margin-bottom: 28px; max-width: 27em; }
.hero__note { color: var(--ink-3); font-size: 12.5px; }

/* ★主役1：曜日 × 時限 の時間割グリッド --------------------------------
   WordPressでは「テーブルブロック」に .week */
.week { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; table-layout: fixed; }
.week caption { text-align: left; font-size: 15px; font-weight: 700; padding-bottom: 12px; }
.week th, .week td { border: 1px solid var(--line); padding: 12px 5px; vertical-align: middle; }
.week thead th { background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.week tbody th { background: var(--bg-2); font-size: 12.5px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.week tbody th small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; margin-top: 3px; }
.week td { color: var(--ink-2); font-size: 12.5px; line-height: 1.6; }
.week td b { display: block; font-size: 13.5px; color: var(--ink); font-weight: 700; }
.week .g1 { background: #eaf1fb; }   /* 小学生 */
.week .g2 { background: #fdeeef; }   /* 中1・中2 */
.week .g3 { background: #fff4e2; }   /* 中3 */
.week .free { background: var(--bg); color: var(--ink-3); }
.week-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 12.5px; color: var(--ink-2); }
.week-legend span { display: inline-flex; align-items: center; gap: 7px; }
.week-legend i { width: 15px; height: 15px; border-radius: 3px; border: 1px solid var(--line); display: inline-block; }

/* ★主役2：学年カード（学年 → 内容 → 料金 が1枚に縦に積まれる） --------
   WordPressでは「カラムブロック」に .grades、各カラムに .grade */
.grades { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grade { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.grade__h { background: var(--brand); color: #fff; padding: 18px 22px; }
.grade--accent .grade__h { background: var(--accent); }
.grade--warm .grade__h { background: #c9761f; }
.grade__g { font-size: 19px; font-weight: 700; letter-spacing: .06em; margin: 0; }
.grade__sub { font-size: 12px; color: rgba(255,255,255,.82); margin: 5px 0 0; letter-spacing: .06em; }
.grade__b { padding: 24px 22px; flex: 1; }
.grade__list { list-style: none; margin: 0 0 20px; padding: 0; }
.grade__list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-2); line-height: 1.85; margin-bottom: 10px; }
.grade__list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.grade__p { border-top: 1px dashed var(--line); padding-top: 18px; margin: 0; }
.grade__pn { font-family: var(--disp); font-size: 28px; font-weight: 700; color: var(--brand); letter-spacing: 0; }
.grade__pn small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.grade__pd { font-size: 12.5px; color: var(--ink-3); margin: 6px 0 0; line-height: 1.7; }

/* ★主役3：「よくある誤解」の左右対比 ----------------------------------
   WordPressでは「カラムブロック」（2カラム）に .qbox */
.qbox { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.qbox__l, .qbox__r { background: var(--paper); padding: 22px 24px; }
.qbox__l { background: var(--bg-2); }
.qbox__t { font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 0 0 12px; display: inline-block; padding: 4px 12px; border-radius: 999px; }
.qbox__l .qbox__t { background: var(--ink-3); color: #fff; }
.qbox__r .qbox__t { background: var(--accent); color: #fff; }
.qbox p { font-size: 14.5px; line-height: 1.95; margin: 0; color: var(--ink-2); }
.qbox__l p { color: var(--ink-3); }
.qbox__r p { color: var(--ink); }

/* 料金表 */
.price { width: 100%; border-collapse: collapse; font-size: 15px; }
.price caption { text-align: left; font-size: 16px; font-weight: 700; padding-bottom: 12px; border-bottom: 3px solid var(--brand); }
.price th, .price td { padding: 16px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price th { font-weight: 500; }
.price th small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 5px; line-height: 1.75; }
.price td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price td b { font-size: 17px; font-weight: 700; color: var(--brand); }
.price td small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; margin-top: 4px; }

/* 数値 */
.nums { border-radius: var(--radius); overflow: hidden; }
.nums__n { font-family: var(--disp); font-weight: 700; color: var(--brand); }

/* 注意ボックス */
.tri { border: 2px solid var(--accent); border-radius: var(--radius); background: #fdf2f3; overflow: hidden; }
.tri__t { background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; margin: 0; padding: 14px 22px; display: flex; align-items: center; gap: 10px; }
.tri__t svg { width: 20px; height: 20px; flex: none; }
.tri__b { padding: 24px; font-size: 14.5px; color: #6d3a3d; line-height: 1.95; }
.tri__b > :last-child { margin-bottom: 0; }

/* 講師（正方形カード） */
.stf4 { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stf4__i { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stf4__fig { margin: 0; background: var(--bg-2); }
.stf4__fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.stf4__b { padding: 22px 20px 24px; }
.stf4__role { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--brand); border-radius: 4px; padding: 4px 11px; }
.stf4__n { font-size: 18px; font-weight: 700; margin: 12px 0 2px; }
.stf4__n small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; margin-top: 6px; letter-spacing: .06em; }
.stf4__d { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin: 14px 0 0; }

.cta { background: var(--brand); }
.cta__t { font-weight: 700; letter-spacing: .04em; }
.cta__tel a { font-family: var(--disp); font-weight: 700; }
.cta__d { color: #c5d4ea; }
.cta__tel small { color: #93a9c8; }
.ft { background: var(--brand); color: #c5d4ea; }
.ft a { color: #c5d4ea; }
.ft__name { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.ft__sub, .ft__bar { color: #8fa4c2; }
.drawer a small { font-family: var(--disp); font-style: normal; letter-spacing: .16em; }
.mbar a + a { background: var(--accent); }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__fig { order: -1; }
  .hero__fig img { height: clamp(210px, 44vw, 300px); }
  .qbox { grid-template-columns: 1fr; }
  .week { font-size: 11.5px; }
  .week th, .week td { padding: 8px 3px; }
  .week td b { font-size: 12px; }
}
