/* 高知小学校 夜の学校説明会LP
   「世界の鐘が鳴る、灯りのともった夜の学び舎」：夜の藍と生成りの紙を交互に敷き、
   世界の鐘・橘の葉と実・窓の灯り・黒板のチョーク文字・星を置き、臙脂と鐘の金で通す */

:root {
  --night: #1d2a4a;     /* 夜の藍（基幹） */
  --night-2: #2b2350;   /* 夜の藍のグラデの先 */
  --night-ink: #141c34; /* 校舎の影 */
  --enji: #802745;      /* 臙脂（パンフ P.03） */
  --enji-d: #6a1f39;
  --gold: #c9a45c;      /* 鐘の金 */
  --gold-l: #f3cf7a;    /* 窓の灯り */
  --paper: #fff9e8;     /* 生成り（パンフ P.02） */
  --ink: #2a2230;
  --ink-2: #5a4f58;
  --line: rgba(128, 39, 69, .12);
  --f-min: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --f-got: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;
  --f-hand: "Klee One", "Hiragino Maru Gothic ProN", sans-serif;
  --pad: 20px;
  --head-h: 56px;
  --k-col: 480px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--f-got); font-size: 16px; line-height: 1.8; color: var(--ink); background: var(--night); -webkit-text-size-adjust: 100%; font-feature-settings: "palt" 1; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold-l); outline-offset: 3px; }

/* ---------- 地 ---------- */
/* ①夜の藍：縦グラデ＋小さな星の点 */
.night {
  color: var(--paper);
  background:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,249,232,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,249,232,.8) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 38% 46%, rgba(255,249,232,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 64%, rgba(255,249,232,.7) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 22% 78%, rgba(255,249,232,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 88%, rgba(255,249,232,.6) 50%, transparent 51%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  background-size: 220px 260px, 180px 200px, 260px 240px, 200px 300px, 240px 220px, 300px 260px, 100% 100%;
}
/* ②生成りの紙：細い罫線 */
.paper {
  background-color: var(--paper);
  background-image: linear-gradient(transparent calc(100% - 1px), var(--line) 0);
  background-size: 100% 2.2em;
}
/* ③臙脂：橘の葉の地紋の透かし */
.enji {
  color: var(--paper);
  background-color: var(--enji);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='60' viewBox='0 0 80 60'%3E%3Cpath d='M8 20C14 12 32 11 40 20 32 29 14 28 8 20z' fill='%23ffffff' fill-opacity='.07'/%3E%3Cpath d='M48 50C54 42 72 41 80 50 72 59 54 58 48 50z' fill='%23ffffff' fill-opacity='.07'/%3E%3C/svg%3E");
}

/* ---------- 共通 ---------- */
.sec { position: relative; overflow-x: clip; padding: 64px var(--pad) 72px; }
.mo { position: absolute; pointer-events: none; z-index: 0; }
.star { color: var(--gold-l); }
.moon { color: var(--gold-l); }
.leaf { color: var(--gold); }
.fruit { color: #e9a23b; }
@media (prefers-reduced-motion: no-preference) {
  .k-js:not(.k-calm) .star.k-blink { animation: tw var(--k-t, 3s) ease-in-out infinite; }
}
@keyframes tw { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .7; } }

/* 見出しの型：金のセリフ英字ラベル＋小さな鐘＋明朝の和文（全節この1種） */
.hd { position: relative; z-index: 1; margin-bottom: 28px; }
.hd__en { display: flex; align-items: center; gap: 8px; font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 20px; letter-spacing: .08em; color: var(--gold); line-height: 1.2; }
.hd__en svg { width: 20px; height: 22px; flex: none; }
.hd__ja { margin-top: 8px; font-family: var(--f-min); font-weight: 800; font-size: clamp(26px, 7.2vw, 32px); line-height: 1.45; letter-spacing: .02em; }
.hd__ja em { font-style: normal; color: var(--gold-l); }
.paper .hd__ja { color: var(--ink); }
.paper .hd__ja em { color: var(--enji); }
.hd__ja .num { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 1.9em; line-height: .8; padding-inline: .06em; vertical-align: -.08em; }

/* ボタン：申込＝金の塗り／電話＝線 */
.cta-pair { display: grid; gap: 10px; position: relative; z-index: 3; }
.btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 8px 16px 8px 20px; border-radius: 999px; text-decoration: none; background: var(--gold); color: var(--night); border: 2px solid var(--gold); box-shadow: 0 4px 0 #8f7238; transition: translate .15s, box-shadow .15s; }
.btn > span { display: grid; line-height: 1.3; }
.btn small { font-size: 12px; font-weight: 500; }
.btn strong { font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.btn .b-ico { width: 22px; height: 22px; flex: none; }
.btn--sub { background: transparent; color: var(--paper); border-color: rgba(255,249,232,.7); box-shadow: none; }
.btn:active { translate: 0 3px; box-shadow: 0 1px 0 #8f7238; }
.btn--sub:active { box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { translate: 0 -2px; box-shadow: 0 6px 0 #8f7238; }
  .btn--sub:hover { background: rgba(255,249,232,.1); box-shadow: none; }
}

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; background: rgba(29,42,74,.94); border-bottom: 1px solid rgba(201,164,92,.35); }
.site-header__logo { display: block; background: #fff; border-radius: 6px; padding: 3px 8px; }
.site-header__logo img { width: 124px; }
.site-header__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; font-size: 14px; text-decoration: none; }

/* ---------- ① FV（3層：後ろ＝英字と星／中＝校舎と児童／前＝題字・バッジ・ボタン） ---------- */
.fv { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: min(calc(100svh - var(--head-h)), 860px); padding: 18px var(--pad) 20px; }
.fv__en { position: absolute; left: 14px; top: 8px; font-family: var(--f-en); font-style: italic; font-weight: 500; font-size: 64px; line-height: .9; color: rgba(201,164,92,.08); z-index: 0; pointer-events: none; }
.fv__bell { position: absolute; right: 12px; top: 10px; width: clamp(84px, 24vw, 108px); z-index: 1; }
.fv__bell img { position: relative; z-index: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); transform-origin: 50% 6%; --k-d: 5deg; --k-t: 2.8s; }
.halo { position: absolute; inset: -18% -22% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(243,207,122,.38), rgba(243,207,122,0)); }
.fv__bell::after { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 18px; background: var(--gold); translate: -50% 0; }

.fv__copy { position: relative; z-index: 2; padding-top: 6px; }
.fv__pre { display: inline-block; font-family: var(--f-hand); font-weight: 600; font-size: 15px; color: var(--gold-l); padding-bottom: 2px; background: linear-gradient(transparent 80%, rgba(201,164,92,.45) 80%); }
.fv__title { display: grid; justify-items: start; margin-top: 8px; font-family: var(--f-min); font-weight: 800; line-height: 1.1; }
.fv__title .t-s { display: flex; align-items: center; gap: 6px; font-size: clamp(30px, min(8.4vw, 4.6svh), 40px); color: var(--gold); }
.t-moon { width: .9em; height: .9em; color: var(--gold-l); }
.fv__title .t-xl { font-size: clamp(44px, min(12.6vw, 7svh), 60px); letter-spacing: .02em; color: var(--paper); text-shadow: 0 2px 18px rgba(0,0,0,.35); white-space: nowrap; }
.fv__lead { margin-top: 10px; font-size: 14px; line-height: 1.7; color: rgba(255,249,232,.92); }
.fv__school { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 5px 12px 5px 6px; background: var(--paper); color: var(--enji); border-radius: 6px; font-family: var(--f-min); font-size: 12px; line-height: 1.3; font-weight: 600; }
.fv__school img { width: 30px; height: auto; }
.fv__school b { font-size: 16px; font-weight: 800; }

.fv__scene { position: relative; flex: 1 1 auto; min-height: 150px; margin: 8px calc(var(--pad) * -1) 0; display: flex; align-items: flex-end; justify-content: center; z-index: 1; }
.fv__roof { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 64%; }
.fv__kids { position: relative; width: auto; max-width: min(92%, 420px); max-height: min(330px, 36svh); object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 1px rgba(255,249,232,.6)); }

.fv__bottom { position: relative; z-index: 3; display: grid; gap: 12px; margin-top: 0; padding-top: 12px; border-top: 1px solid rgba(201,164,92,.5); }

/* バッジ＝招待状のチケット */
.badge { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; padding: 10px 14px; background: var(--paper); color: var(--ink); border-radius: 8px; position: relative; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--enji); }
.badge::before, .badge::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--night-2); translate: 0 -50%; }
.badge::before { left: -7px; } .badge::after { right: -7px; }
.badge__date { grid-row: span 2; display: grid; justify-items: center; padding-right: 14px; border-right: 1px dashed rgba(128,39,69,.5); font-family: var(--f-en); color: var(--enji); line-height: 1; }
.badge__date b { font-size: 40px; font-style: italic; font-weight: 600; }
.badge__date span { font-size: 13px; letter-spacing: .2em; font-weight: 600; }
.badge__info { display: grid; line-height: 1.35; }
.badge__info strong { font-size: 20px; font-family: var(--f-en); font-weight: 600; letter-spacing: .02em; }
.badge__info span { font-size: 13px; font-weight: 700; color: var(--enji); }
.badge__due { font-size: 12px; color: var(--ink-2); font-weight: 500; }

@media (min-width: 1200px) { .fv__school { display: none; } }

/* 登場（飾りだけ） */
.k-js:not(.k-calm) .fv .fv-pop { opacity: 0; scale: .6; transition: opacity .5s var(--k-ease) var(--d, 0s), scale .7s var(--k-ease) var(--d, 0s); }
.k-js:not(.k-calm) .fv.is-booted .fv-pop { opacity: 1; scale: 1; }

@media (max-height: 700px) {
  .fv__title .t-xl { font-size: 42px; }
  .fv__lead { display: none; }
  .fv__scene { min-height: 110px; }
  .fv__bell { width: 76px; }
}

/* ---------- ② 英語の帯 ---------- */
.ribbon { position: relative; z-index: 2; overflow: hidden; padding: 11px 0; background: var(--enji); color: var(--paper); border-block: 1px solid var(--gold); }
.ribbon > div { display: flex; align-items: center; gap: 18px; width: max-content; padding-left: 18px; }
.ribbon span { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 20px; letter-spacing: .04em; white-space: nowrap; }
.ribbon svg { width: 12px; height: 12px; color: var(--gold-l); flex: none; }

/* ---------- ③ 日程（黒板の枠） ---------- */
.sec--schedule { padding-bottom: 104px; }
.board { position: relative; z-index: 1; display: grid; gap: 16px; padding: 22px 16px 46px; background: linear-gradient(160deg, #24345a, #1b2747); border: 9px solid #8a5f3a; border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), 0 10px 24px rgba(0,0,0,.3); }
.board::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06), transparent 60%); pointer-events: none; }
.board__chalk { position: absolute; left: 18px; bottom: 4px; font-family: var(--f-hand); font-weight: 600; font-size: 30px; letter-spacing: .12em; color: rgba(255,249,232,.38); rotate: -6deg; pointer-events: none; }
.board__tray { position: absolute; left: 12%; right: 12%; bottom: -15px; height: 8px; background: #6d4a2c; border-radius: 2px; }
.board__tray::after { content: ""; position: absolute; right: 18%; top: -5px; width: 28px; height: 6px; border-radius: 3px; background: #fff9e8; }
.ticket { position: relative; padding: 16px 16px 14px; background: var(--paper); color: var(--ink); border-radius: 6px; box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--enji); }
.ticket__tag { position: absolute; left: 14px; top: 0; translate: 0 -50%; padding: 2px 12px; background: var(--enji); color: var(--paper); font-family: var(--f-min); font-weight: 800; font-size: 14px; border-radius: 3px; }
.ticket__main { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.ticket__date { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 46px; line-height: 1; color: var(--enji); display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.ticket__date small { font-style: normal; font-size: 13px; letter-spacing: .18em; color: var(--ink-2); }
.ticket__date .pre { font-size: 26px; }
.ticket__what { display: grid; line-height: 1.4; padding-left: 14px; border-left: 1px dashed rgba(128,39,69,.5); }
.ticket__what strong { font-size: 18px; }
.ticket__what span { font-size: 13px; font-weight: 700; color: var(--enji); }
.ticket__prog { margin-top: 12px; display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid rgba(128,39,69,.2); font-size: 14px; line-height: 1.5; }
.ticket__prog li { display: grid; grid-template-columns: 7.2em 1fr; gap: 6px; }
.ticket__prog b { font-weight: 700; color: var(--enji); font-variant-numeric: tabular-nums; }
.prog-sub { display: block; font-size: 12px; color: var(--ink-2); }
.hand { font-family: var(--f-hand); font-style: normal; font-weight: 600; }
.ticket__note { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.ticket--due .ticket__date { font-size: 40px; }
.sec__roof { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px; z-index: 0; }

/* ---------- ⑥ 選ばれる理由（招待状のカード・横送り） ---------- */
.sec--reason { padding-inline: 0; padding-top: 48px; padding-bottom: 64px; }
.sec--reason .hd { padding-inline: var(--pad); }
.slider { position: relative; z-index: 1; --k-slide: 82%; --k-gap: 14px; --k-pad: var(--pad); }
.invite { position: relative; display: flex; flex-direction: column; padding: 26px 18px 20px; background: #fffdf6; border-radius: 4px; border: 1px solid var(--enji); box-shadow: inset 0 0 0 4px #fffdf6, inset 0 0 0 5px rgba(128,39,69,.55), 0 6px 16px rgba(42,34,48,.08); }
.invite::after { content: ""; position: absolute; right: 8px; top: 8px; width: 34px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 24'%3E%3Cpath d='M2 12C10 2 34 0 46 12 34 24 10 22 2 12z' fill='%23c9a45c'/%3E%3C/svg%3E") center / contain no-repeat; rotate: -28deg; }
.invite__no { position: absolute; left: 50%; top: 0; translate: -50% -50%; padding: 0 12px; background: var(--paper); font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 26px; line-height: 1.1; color: var(--enji); }
.invite h3 { margin-top: 16px; font-family: var(--f-min); font-weight: 800; font-size: clamp(17px, 5.2vw, 21px); line-height: 1.45; color: var(--ink); }
.invite p { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.ph { position: relative; }
.ph img { width: 100%; object-fit: cover; }
.ph--arch img { aspect-ratio: 4 / 3; border-radius: 999px 999px 8px 8px; }
.ph--circle { width: 78%; margin-inline: auto; }
.ph--circle img { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px #fffdf6, 0 0 0 5px var(--gold); }
.ph--plate { margin-right: 10px; }
.ph--plate img { aspect-ratio: 4 / 3; border-radius: 4px; position: relative; z-index: 1; }
.ph--plate::before { content: ""; position: absolute; inset: 0; translate: 10px 10px; border: 1.5px solid var(--gold); border-radius: 4px; }
.ctrl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; padding-inline: var(--pad); color: var(--enji); }
.ctrl button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--enji); background: transparent; color: var(--enji); cursor: pointer; }
.ctrl button svg { width: 18px; height: 18px; }
.ctrl__pause span { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.ctrl__pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-block: 7px solid transparent; translate: 2px 0; }
[data-k-dots] { display: flex; gap: 6px; }
[data-k-dots] > i { width: 8px; height: 8px; border-radius: 50%; background: var(--enji); opacity: .3; }
.ctrl__now { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 16px; }
.reason__takky { position: absolute; right: 8px; bottom: 6px; width: 64px; z-index: 2; pointer-events: none; --k-d: 5px; }

/* ---------- PCの左右（スマホ柱） ---------- */
.side-l, .side-r { padding: 44px clamp(20px, 3vw, 48px); justify-content: center; gap: 18px; position: relative; }
.side-l { align-items: center; text-align: center; }
.logo-plate { background: #fff; border-radius: 8px; padding: 8px 14px; position: relative; z-index: 1; }
.logo-plate img { width: 200px; }
.side-l__title { display: grid; font-family: var(--f-min); font-weight: 800; line-height: 1.1; position: relative; z-index: 1; }
.side-l__title .s { font-size: 26px; color: var(--gold); }
.side-l__title .l { font-size: clamp(30px, 2.6vw, 42px); color: var(--paper); white-space: nowrap; }
.side-l__note { font-size: 14px; color: rgba(255,249,232,.88); position: relative; z-index: 1; }
.side-l__bell { position: relative; width: clamp(90px, 9vw, 130px); max-height: 22vh; }
.side-l__bell img { position: relative; z-index: 1; transform-origin: 50% 6%; --k-d: 5deg; max-height: 22vh; width: auto; margin-inline: auto; }
.side-l .cta-pair { width: min(100%, 300px); }
.side-r { align-items: flex-start; }
.side-r__label { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 30px; color: var(--gold); line-height: 1; }
.side-r__nav { display: grid; gap: 2px; width: min(100%, 280px); }
.side-r__nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 8px; text-decoration: none; color: rgba(255,249,232,.78); font-family: var(--f-min); font-weight: 600; font-size: 15px; border-left: 2px solid rgba(201,164,92,.25); }
.side-r__nav a i { font-family: var(--f-en); font-weight: 600; font-size: 15px; color: var(--gold); }
.side-r__nav a[aria-current="true"] { color: var(--paper); border-left-color: var(--gold-l); background: linear-gradient(90deg, rgba(201,164,92,.18), transparent); }
.side-r__tag { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 12px 18px; background: var(--paper); color: var(--enji); font-family: var(--f-min); font-weight: 800; font-size: 16px; text-decoration: none; border-radius: 4px; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--enji); rotate: -3deg; }
.side-r__tag svg { width: 18px; height: 20px; }
.side-r__tag .string { position: absolute; left: 50%; top: -30px; width: 1.5px; height: 30px; background: var(--gold); }
.side-r__tag .string::before { content: ""; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.side-r__takky { width: clamp(80px, 8vw, 120px); max-height: 20vh; object-fit: contain; align-self: flex-end; --k-d: 6px; }

/* 柱の縁 */
@media (min-width: 1200px) {
  .k-main { box-shadow: 0 0 0 1px rgba(201,164,92,.45); }
}
/* タブレット幅の柱 */
@media (min-width: 600px) and (max-width: 1199px) {
  .k-main, .k-cta-bar { max-width: 560px; margin-inline: auto; }
}

/* ---------- スマホ下端の申込帯 ---------- */
.k-cta-bar { background: rgba(20,28,52,.96); border-top: 1px solid rgba(201,164,92,.5); }
.k-cta-bar .btn { min-height: 52px; justify-content: center; padding: 6px 12px; box-shadow: 0 3px 0 #8f7238; }
.k-cta-bar .btn--sub { box-shadow: none; gap: 6px; }
.k-cta-bar .btn strong { font-size: 15px; }
.k-cta-bar .btn > span { justify-items: center; }
.k-cta-bar .btn small { font-size: 11px; line-height: 1.2; }
@media (max-width: 1199px) { body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }

/* ================= 全編の節 ================= */
/* 共通：チョーク文字・円弧のつなぎ・出典 */
.chalk-word { left: auto; right: 18px; top: 26px; font-family: var(--f-hand); font-weight: 600; font-size: 34px; letter-spacing: .1em; color: rgba(128,39,69,.16); rotate: -8deg; }
.chalk-word--night { color: rgba(255,249,232,.16); }
.sec__arc { position: absolute; left: 0; top: -1px; width: 100%; height: 32px; z-index: 0; }
.sec--worry, .sec--after, .sec--apply, .sec--faq { padding-top: 76px; }
.sec__roof--top { top: -1px; bottom: auto; rotate: 180deg; height: 40px; }
.sec--numbers, .sec--voice { padding-top: 80px; }
.src { position: relative; z-index: 1; margin-top: 14px; font-size: 12px; color: var(--ink-2); }

/* ④ 当日できること */
.sec--flow { padding-bottom: 56px; }
.steps { position: relative; z-index: 1; display: grid; gap: 16px; counter-reset: none; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: 14px; padding: 14px 14px 14px 12px; background: #fffdf6; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--enji), inset 0 0 0 4px #fffdf6, inset 0 0 0 5px rgba(128,39,69,.5); }
.step--r { grid-template-columns: 1fr 44%; }
.step--r .step__ph { order: 2; }
.step--talk { grid-template-columns: 1fr; padding: 18px 16px 16px 52px; background: var(--enji); color: var(--paper); box-shadow: none; }
.step__no { position: absolute; left: -6px; top: -10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--night-ink); font-family: var(--f-en); font-style: italic; font-weight: 700; font-size: 22px; }
.step--talk .step__no { left: 10px; top: 16px; background: var(--gold-l); }
.step__ph.ph--plate { margin-right: 8px; }
.step__ph.ph--plate::before { translate: 6px 6px; }
.step h3 { font-family: var(--f-min); font-weight: 800; font-size: 17px; line-height: 1.45; color: var(--ink); }
.step--talk h3 { color: var(--paper); }
.step h3 .hand { color: var(--enji); font-size: 1.05em; }
.step p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.step--talk p { color: rgba(255,249,232,.9); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags li { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--gold-l); font-size: 13px; font-weight: 700; color: var(--gold-l); }

/* ⑤ 気がかり（問いかけ） */
.sec--worry { padding-bottom: 56px; }
.worry { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 34%; align-items: end; gap: 6px; }
.bubbles { display: grid; gap: 10px; }
.bubbles a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 64px; padding: 10px 12px 10px 14px; background: var(--paper); color: var(--ink); border-radius: 14px; text-decoration: none; font-family: var(--f-min); font-weight: 700; font-size: 15px; line-height: 1.45; }
.bubbles a::after { content: ""; position: absolute; right: -8px; bottom: 14px; border: 8px solid transparent; border-left-color: var(--paper); border-right: 0; }
.bubbles a svg { width: 18px; height: 18px; flex: none; color: var(--enji); }
.bubbles li:nth-child(even) a { margin-left: 14px; }
.worry__kid { width: 100%; max-height: 280px; object-fit: contain; object-position: bottom; }
.worry__note { position: relative; z-index: 1; margin-top: 16px; font-size: 14px; line-height: 1.7; color: rgba(255,249,232,.92); }
@media (hover: hover) and (pointer: fine) { .bubbles a:hover { box-shadow: 0 0 0 2px var(--gold-l); } }

/* ⑦ 英語の時間（左右交互） */
.alt { position: relative; z-index: 1; display: grid; gap: 22px; }
.alt__row { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 14px; }
.alt__row--r { grid-template-columns: 1fr 42%; }
.alt__row--r > figure { order: 2; }
.alt .ph--circle { width: 92%; }
.alt .ph--circle img { box-shadow: 0 0 0 3px var(--night), 0 0 0 4px var(--gold); }
.alt h3 { font-family: var(--f-min); font-weight: 800; font-size: 17px; line-height: 1.45; color: var(--gold-l); }
.alt p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: rgba(255,249,232,.9); }
.night .ph img { filter: saturate(.92); }
.night .ph--plate::before { border-color: var(--gold); }

/* ⑧ 数字のタイル */
.tiles { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: grid; align-content: center; justify-items: center; gap: 4px; min-height: 120px; padding: 14px 8px; text-align: center; background: #fffdf6; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--enji), inset 0 0 0 4px #fffdf6, inset 0 0 0 5px rgba(128,39,69,.45); }
.tile__num { font-family: var(--f-min); font-weight: 800; font-size: 16px; color: var(--enji); line-height: 1.1; white-space: nowrap; }
.tile__num b { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 44px; padding-inline: 2px; }
.tile__label { font-size: 13px; line-height: 1.5; color: var(--ink-2); font-weight: 500; }
.tile--em { background: var(--enji); box-shadow: none; }
.tile--em .tile__num { color: var(--gold-l); }
.tile--em .tile__label { color: rgba(255,249,232,.92); }
.tile--ph { padding: 10px 8px; }
.tile--ph .ph--circle { width: 64%; }
.tile--ph .tile__label { font-family: var(--f-min); font-weight: 800; font-size: 14px; color: var(--enji); }
.tile--ph .tile__label b { font-family: var(--f-en); font-style: italic; font-size: 24px; }

/* ⑨ 放課後（1日の時計） */
.day { position: relative; z-index: 1; display: grid; gap: 0; margin-left: 6px; padding-left: 22px; border-left: 2px dashed rgba(243,207,122,.55); list-style: none; }
.day li { position: relative; display: grid; grid-template-columns: 4.4em 1fr; gap: 8px; padding: 5px 0; font-size: 14px; line-height: 1.55; }
.day li::before { content: ""; position: absolute; left: -29px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--enji); border: 2px solid var(--gold-l); }
.day b { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 17px; color: var(--gold-l); }
.day--bell svg { display: inline-block; vertical-align: -3px; width: 16px; height: 18px; margin-left: 4px; color: var(--gold-l); }
.day--end { font-weight: 700; }
.lessons { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.lessons li { position: relative; }
.lessons img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 3px var(--enji), 0 0 0 4px var(--gold); }
.lessons span { display: block; margin-top: 6px; text-align: center; font-size: 13px; font-weight: 700; }
.lessons__more { position: relative; z-index: 1; margin-top: 8px; font-size: 13px; text-align: center; color: rgba(255,249,232,.88); }
.busline { position: relative; z-index: 1; display: grid; grid-template-columns: 46% 1fr; align-items: center; gap: 12px; margin-top: 16px; padding: 12px; background: rgba(20,28,52,.35); border-radius: 6px; border: 1px solid rgba(243,207,122,.35); }
.busline p { font-size: 14px; line-height: 1.6; }
.busline b { color: var(--gold-l); }

/* ⑩ 学校生活（2段で流れる） */
.sec--life { padding-inline: 0; }
.sec--life .hd, .life__note { padding-inline: var(--pad); }
.film { position: relative; z-index: 1; overflow: hidden; }
.film > div { display: flex; gap: 10px; width: max-content; padding-left: 10px; }
.film img { height: 128px; width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 999px 999px 6px 6px; }
.film--2 { margin-top: 10px; }
.film--2 img { border-radius: 6px; height: 112px; }
.life__note { position: relative; z-index: 1; margin-top: 18px; font-size: 14px; line-height: 1.7; color: rgba(255,249,232,.9); }

/* ⑪ 声（手紙のカード） */
.sec--voice { padding-inline: 0; }
.sec--voice .hd, .sec--voice .src { padding-inline: var(--pad); }
.letter { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 18px 18px; background: #fffdf6; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--enji), inset 0 0 0 4px #fffdf6, inset 0 0 0 5px rgba(128,39,69,.5), 0 6px 16px rgba(42,34,48,.08); }
.letter .ph--circle { width: 58%; }
.letter blockquote { margin: 0; position: relative; padding-top: 14px; }
.letter blockquote::before { content: "\201C"; position: absolute; left: -4px; top: -16px; font-family: var(--f-en); font-size: 52px; line-height: 1; color: var(--gold); }
.letter blockquote p { font-family: var(--f-min); font-weight: 600; font-size: 15px; line-height: 1.8; color: var(--ink); }
.letter__by { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--enji); text-align: right; }
.letter__by::before { content: "— "; }

/* ⑫ 出願の手順 */
.sec--apply { padding-bottom: 64px; }
.apply__kid { position: absolute; bottom: 0; z-index: 0; height: 170px; width: auto; opacity: .95; }
.apply__kid--l { left: -4px; }
.apply__kid--r { right: -4px; }
.route { position: relative; z-index: 1; display: grid; gap: 14px; list-style: none; margin-bottom: 120px; }
.route li { position: relative; padding: 14px 16px 16px; background: var(--paper); color: var(--ink); border-radius: 4px; box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--gold); }
.route li + li::before { content: ""; position: absolute; left: 30px; top: -15px; width: 2px; height: 16px; background: var(--gold-l); }
.route__no { font-family: var(--f-en); font-style: italic; font-weight: 600; font-size: 17px; color: var(--enji); line-height: 1.2; }
.route h3 { margin-top: 2px; font-family: var(--f-min); font-weight: 800; font-size: 18px; line-height: 1.45; }
.route__note { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.route__note a { color: var(--enji); font-weight: 700; }
.btn--pdf { margin-top: 10px; background: var(--enji); color: var(--paper); border-color: var(--enji); }

/* ⑬ FAQ */
.faq__takky { position: absolute; right: 12px; top: 40px; width: 70px; z-index: 1; }
.qa { position: relative; z-index: 1; display: grid; gap: 10px; }
.qa details { background: #fffdf6; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--enji), inset 0 0 0 4px #fffdf6, inset 0 0 0 5px rgba(128,39,69,.4); }
.qa summary { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 44px 10px 14px; cursor: pointer; list-style: none; font-family: var(--f-min); font-weight: 800; font-size: 15px; line-height: 1.5; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--enji); color: var(--paper); font-family: var(--f-en); font-style: italic; font-weight: 700; font-size: 17px; }
.qa summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--enji); border-bottom: 2px solid var(--enji); translate: 0 -70%; rotate: 45deg; }
.qa details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.qa details p { position: relative; padding: 0 16px 14px 52px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.qa details p::before { content: "A"; position: absolute; left: 14px; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--night-ink); font-family: var(--f-en); font-style: italic; font-weight: 700; font-size: 17px; line-height: 1; }

/* ⑭ アクセス */
.place { position: relative; z-index: 1; display: grid; gap: 14px; }
.place__ph { width: 86%; margin-inline: auto; }
.place__list { margin: 0; display: grid; gap: 0; }
.place__list div { display: grid; grid-template-columns: 5.4em 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(201,164,92,.3); font-size: 14px; line-height: 1.6; }
.place__list dt { font-family: var(--f-min); font-weight: 800; color: var(--gold-l); }
.place__list dd { margin: 0; overflow-wrap: anywhere; }
.place__list a { color: var(--gold-l); font-weight: 700; }

/* ⑮ 最後の申込 */
.sec--last { color: var(--paper); text-align: center; padding-top: 70px; padding-bottom: 28px; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 46%, var(--enji) 100%); }
.last__bell { position: relative; z-index: 1; width: 54px; height: 60px; margin: 0 auto 10px; color: var(--gold); transform-origin: 50% 6%; }
.last__pre { position: relative; z-index: 1; font-family: var(--f-hand); font-weight: 600; font-size: 15px; color: var(--gold-l); }
.last__title { position: relative; z-index: 1; display: grid; justify-items: center; margin-top: 6px; font-family: var(--f-min); font-weight: 800; line-height: 1.1; }
.last__title .t-s { font-size: 28px; color: var(--gold); }
.last__title .t-xl { font-size: clamp(40px, 11.5vw, 54px); color: var(--paper); }
.last__lead { position: relative; z-index: 1; margin-top: 12px; font-size: 14px; line-height: 1.7; }
.last__kids { position: relative; z-index: 1; width: min(84%, 340px); margin: 10px auto 0; }
.cta-pair--last { margin-top: -6px; text-align: left; }
.foot { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,249,232,.25); }
.foot img { width: 40px; }
.foot p { font-family: var(--f-min); font-weight: 700; font-size: 14px; }
.foot small { font-size: 12px; opacity: .8; }

/* 右の目次（11項目） */
.side-r__nav a { min-height: 38px; padding-block: 2px; font-size: 14px; }
@media (max-height: 860px) { .side-r__takky { display: none; } .side-r__tag { margin-top: 14px; } }
/* 全編の調整（改行・PCの1画面） */
.alt h3 { font-size: clamp(15px, 4.6vw, 17px); }
.step h3 { font-size: 16px; }
.step h3 .hand { white-space: nowrap; }
.day small { display: block; font-size: 12px; font-weight: 500; color: rgba(255,249,232,.85); }
.day--bell span::after { content: ""; display: inline-block; vertical-align: -3px; width: 14px; height: 16px; margin-left: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath d='M12 2c-1 0-1.6.7-1.6 1.6v.8C6.9 5.3 5 8.4 5 12v5l-2 3h18l-2-3v-5c0-3.6-1.9-6.7-5.4-7.6v-.8C13.6 2.7 13 2 12 2zm-2.6 20a2.6 2.6 0 0 0 5.2 0z' fill='%23f3cf7a'/%3E%3C/svg%3E") center / contain no-repeat; }
.place__ph { width: 72%; }
.apply__kid { height: 140px; }
.route { margin-bottom: 96px; }
.last__kids { width: min(70%, 280px); }
.sec--last { padding-top: 56px; }
.foot { margin-top: 20px; padding-top: 14px; }
.alt__row { grid-template-columns: 38% 1fr; } .alt__row--r { grid-template-columns: 1fr 38%; }
.sec--after .hd { margin-bottom: 20px; }
.lessons { margin-top: 12px; padding-inline: 16px; gap: 14px; }
.busline { margin-top: 12px; padding: 10px 12px; }
.sec--apply .hd, .sec--access .hd { margin-bottom: 20px; }
.route { gap: 12px; margin-bottom: 84px; }
.place__ph { width: 64%; }
.last__kids { width: min(62%, 240px); }
.last__lead { margin-top: 8px; }
.lessons { padding-inline: 30px; }
.sec--after { padding-bottom: 60px; }
.last__bell { width: 44px; height: 50px; margin-bottom: 6px; }
.last__kids { width: min(54%, 210px); }
.sec--last { padding-top: 46px; }

/* 読み合わせ後の調整（2026-11-27）：当日の流れ＝黒板の枠／数字＝罫線の表／最後の節の屋根／中ほどの申込 */
.step:not(.step--talk) { background: linear-gradient(160deg, #24345a, #1b2747); box-shadow: inset 0 0 0 5px #8a5f3a, inset 0 0 0 7px rgba(0,0,0,.25), 0 8px 18px rgba(0,0,0,.18); padding: 16px 16px 16px 14px; }
.step:not(.step--talk) h3 { color: var(--paper); }
.step:not(.step--talk) h3 .hand { color: var(--gold-l); }
.step:not(.step--talk) p { color: rgba(255,249,232,.88); }
.tiles { gap: 0; border-top: 2px solid var(--enji); border-bottom: 2px solid var(--enji); }
.tile { background: transparent; box-shadow: none; border-radius: 0; border-bottom: 1px dashed rgba(128,39,69,.45); }
.tile:nth-child(odd) { border-right: 1px solid rgba(128,39,69,.35); }
.tile:nth-last-child(-n+2) { border-bottom: 0; }
.tile--em { background: var(--enji); }
.sec--last { background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 30%, var(--night-2) 55%, var(--enji) 100%); }
.cta-pair--mid { margin-top: 18px; }
.sec--voice { padding-top: 68px; }
.sec--apply { padding-top: 60px; padding-bottom: 44px; }
.apply__kid { height: 118px; }
.route { gap: 10px; margin-bottom: 68px; }
.route li { padding: 12px 16px 13px; }
.route__note { line-height: 1.6; }
.sec--life .cta-pair--mid { margin-inline: var(--pad); }
