/* web-design-control · mode: direction→build · ds: provisional（コンセプト作品 09 CODE TERRACE こどもプログラミング教室）
 * read: 子ども向けプログラミング教室 / 小学生の子を持つ30〜40代の保護者・子ども / 楽しく、でも信頼できる / 行動: 無料体験に申し込む
 * core: 約束=つくって、うごかして、はなまる。 / 人格=わくわく・ていねい・ほめじょうず / 印=方眼のノート・赤ペンのはなまる・プログラムのブロック / 見せ場=ブロックで動かすテラロボ
 * refs: proglab.education（子どもの顔の写真を左右に・ブロックの画面）/ monokoto-lab.jp（色の帯で節を分ける・丸いボタン）
 * site: / · /course/ · /lessons/ · /trial/ · /faq/
 * dials: V7 M5 D4
 */
/* design-lint: allow-file J-02 — 行送り 1 は数字・記号（×）だけの表示 */
/* Zen Kaku Gothic New 900 と DotGothic16 は 24px 以上の見出し・数字だけに使う（J-09）。Yomogi は赤ペンの書き込みだけ */

/* ============ トークン ============ */
:root {
  /* 色（WCAG 2.x の相対輝度で計算） */
  --white:  #FFFFFF;
  --paper:  #F4F8FD; /* 面。ink 14.8 */
  --grid:   #DCE8F7; /* 方眼の線 */
  --ink:    #22262B; /* 鉛筆の黒。white 15.6 */
  --soft:   #50565E; /* 補助の文字。white 7.5 */
  --red:    #E8432E; /* 赤ペン（飾り・はなまる・影）。上の黒い文字 5.3 */
  --red-d:  #B92F1E; /* 赤い文字。white 5.9 */
  --blue:   #2B6CB0; /* 方眼の青・ブロック・リンク。white 5.4 */
  --yellow: #FFE36E; /* 付箋の黄・行動のボタン。上の ink 13.1 */
  --sky:    #BFE6FF; /* 付箋の水色 */
  --pink:   #FFD1D8; /* 付箋の桃 */
  --violet: #6B4FCB; /* 「むく」ブロック。white 6.6 */
  --line:   #CFDAE8;
  --field:  #7A828C; /* 入力欄の枠。white 3.9（枠は3:1以上） */
  --on-dark: #FFFFFF; --on-dark-dim: #C9CFD6;
  --tape-y: rgba(255, 227, 110, .85); --tape-b: rgba(191, 230, 255, .9); /* マスキングテープ */
  --lift: rgba(34, 38, 43, .1); --lift-2: rgba(34, 38, 43, .12); /* 貼った紙の影 */
  --veil: rgba(255, 255, 255, .88); --paper-veil: rgba(244, 248, 253, .92); /* 方眼の上の面 */
  --rock: #9AA3AD; --rock-shade: rgba(0, 0, 0, .15);
  --grid-w: rgba(255, 255, 255, .45); --lemon: #FFF3B8; /* 付箋の面の方眼・薄い黄 */
  --del-l: rgba(255, 255, 255, .3); --del-d: rgba(0, 0, 0, .1); --memo-rule: rgba(34, 38, 43, .35);

  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --dot: "DotGothic16", "Zen Kaku Gothic New", monospace;
  --pen: "Yomogi", "Zen Kaku Gothic New", cursive;

  --shell: 76rem;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --sec-y: clamp(4.5rem, 3rem + 5vw, 8rem);
  --header-h: 4.75rem;
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --shadow: 4px 4px 0 var(--red);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: .18s;
  --t-reveal: .7s;
}

/* ============ 基本 ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
body { margin: 0; color: var(--ink); font-family: var(--jp); font-weight: 500; font-size: 1.0625rem; line-height: 1.9; letter-spacing: .03em;
  background-color: var(--white); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; overflow-x: clip; word-break: auto-phrase; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .25em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--yellow); }
h1, h2, h3, p, ul, ol, dl, dd, figure, table, blockquote { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
p, li, dd, td { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.note { font-size: .9375rem; color: var(--soft); margin-top: 1rem; }
.nw { white-space: nowrap; }
.num { font-family: var(--dot); letter-spacing: .02em; }

/* 赤ペンの書き込み */
.pen { font-family: var(--pen); color: var(--red-d); font-weight: 400; letter-spacing: .02em; line-height: 1.4; }
.hanamaru { color: var(--red); }

/* プログラムのブロック（上に凹み、下に凸） */
.blk { --c: var(--blue); --t: var(--white); position: relative; display: inline-flex; align-items: center; min-height: 2.25rem; padding: .3rem 1rem; margin: 0 .2rem .55rem 0;
  background: var(--c); color: var(--t); border-radius: 6px; font-weight: 700; font-size: .9375rem; line-height: 1.3; white-space: nowrap; }
.blk::before { content: ""; position: absolute; left: 14px; top: -1px; width: 18px; height: 6px; background: var(--paper); border-radius: 0 0 6px 6px; }
.blk::after { content: ""; position: absolute; left: 14px; bottom: -6px; width: 18px; height: 6px; background: var(--c); border-radius: 0 0 6px 6px; }
.blk--move { --c: var(--blue); } .blk--turn { --c: var(--violet); } .blk--event { --c: var(--yellow); --t: var(--ink); }
.blk--btn { border: 0; cursor: pointer; min-height: 3rem; font-size: 1rem; transition: transform var(--t-fast) var(--ease); }

/* ノートに貼った写真 */
.snap { position: relative; background: var(--white); padding: .6rem .6rem 0; box-shadow: 0 2px 0 var(--line), 0 10px 24px var(--lift); }
.snap img { width: 100%; }
.snap--l { transform: rotate(-2deg); } .snap--r { transform: rotate(2deg); }
.snap .pen--snap { display: block; padding: .5rem .2rem .7rem; font-size: 1.25rem; text-align: center; }
.snap:not(:has(.pen--snap)) { padding-bottom: .6rem; }
.tape { position: absolute; left: 50%; top: -12px; width: 88px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: var(--tape-y); z-index: 1; }
.snap--r .tape { transform: translateX(-50%) rotate(4deg); background: var(--tape-b); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .7rem 1.5rem; border-radius: var(--r-m); border: 2.5px solid var(--ink);
  font-weight: 700; font-size: 1.0625rem; line-height: 1.3; text-decoration: none; cursor: pointer; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: var(--shadow); }
.btn--line { background: var(--white); color: var(--ink); }
.btn--small { min-height: 2.75rem; padding: .4rem 1rem; font-size: .9375rem; }
.btn--wide { width: 100%; }
.arw { width: 1.15em; height: .7em; flex: none; }
.textlink { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem; font-weight: 700; padding: .4rem 0; }

/* ============ ヘッダー ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 2px solid var(--ink); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 44px; height: 44px; }
.logo__type { display: grid; line-height: 1.2; }
.logo__en { font-weight: 900; font-size: 1.1875rem; letter-spacing: .04em; white-space: nowrap; }
.logo__jp { font-size: .75rem; font-weight: 700; color: var(--soft); white-space: nowrap; }
.logo--light { color: var(--on-dark); } .logo--light .logo__jp { color: var(--on-dark-dim); }
.gnav__list { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 1.75rem); }
.gnav__link { display: block; padding: .5rem 0; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9375rem; white-space: nowrap; position: relative; }
.gnav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 4px; background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--t-fast) var(--ease); }
.gnav__link[aria-current="page"]::after { transform: none; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; justify-items: center; gap: .1rem; min-width: 3.25rem; min-height: 3.25rem; padding: .35rem; border: 2.5px solid var(--ink); border-radius: var(--r-s); background: var(--yellow); cursor: pointer; flex: none; }
  .menu-btn__bars { width: 20px; height: 12px; position: relative; margin-top: .25rem; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2.5px; background: var(--ink); transition: transform var(--t-fast); }
  .menu-btn__bars::before { top: 0; } .menu-btn__bars::after { bottom: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(4.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-4.75px) rotate(-45deg); }
  .menu-btn__label { font-size: .625rem; font-weight: 700; line-height: 1.2; }
  .gnav { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--white); border-bottom: 2px solid var(--ink); padding: .5rem var(--gutter) 1.5rem; display: none; }
  .gnav.is-open { display: block; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__link { padding: .95rem 0; border-bottom: 1.5px dashed var(--line); font-size: 1.0625rem; }
  .gnav__link::after { display: none; }
  .gnav__cta { margin-top: 1.25rem; } .gnav__cta .btn { width: 100%; }
}
@media (max-width: 380px) { .logo__jp { display: none; } .logo__en { font-size: 1.0625rem; } }

/* ============ FV（方眼に、写真2枚と中央の見出し） ============ */
.fv { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem); overflow: hidden; }
.fv__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr) minmax(0, .85fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; }
.fv__girl { margin-top: 3rem; grid-column: 1; grid-row: 1; } .fv__boy { margin-bottom: 3rem; grid-column: 3; grid-row: 1; }
.fv__body { grid-column: 2; grid-row: 1; position: relative; z-index: 2; }
.fv__body { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; min-width: 0; }
.fv__for .blk { font-size: 1rem; }
.fv__title { font-weight: 900; font-size: clamp(2.25rem, 1.1rem + 3.4vw, 4.25rem); line-height: 1.32; letter-spacing: .02em; margin: .5rem 0 1rem; display: grid; justify-items: center; }
.fv__hana { position: relative; display: inline-block; color: var(--red-d); }
.fv__hanamaru { position: absolute; left: 100%; top: 50%; width: 1.25em; height: 1.25em; transform: translate(-18%, -78%) rotate(-12deg); pointer-events: none; }
.fv__lead { max-width: 30rem; }
.fv__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin-top: 1.25rem; }
.fv__teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 .2rem; margin-top: 1.75rem; padding: 1rem 1rem .5rem; border: 2px dashed var(--blue); border-radius: var(--r-m); background: var(--veil); text-decoration: none; max-width: 32rem; }
.fv__teaser-label { width: 100%; font-weight: 700; font-size: .875rem; color: var(--soft); margin-bottom: .6rem; }
.fv__teaser .blk { font-size: .875rem; min-height: 2rem; }
.fv__teaser-pen { font-size: 1.25rem; margin: 0 0 .5rem .3rem; }
.fv__teaser { position: relative; }
.fv__robo { position: absolute; right: -6.25rem; bottom: -.5rem; flex-direction: column-reverse; align-items: center; transform: rotate(-6deg); }
.fv__robo .tr__svg { width: 7rem; height: 7rem; }
.fv__robo .tr__say { font-size: 1rem; }
.fv__robo .tr__say::before { left: 50%; top: auto; bottom: -9px; transform: translateX(-50%) rotate(-45deg); }
.fv__grid { position: relative; }
.fv__grid > .snap { z-index: 1; }
.fv__sticky { grid-row: 1; align-self: stretch; z-index: 0; }
.fv__sticky--a { grid-column: 1; background: var(--pink); margin: 6rem 2rem 0 -1.5rem; transform: rotate(5deg); }
.fv__sticky--b { grid-column: 3; background: var(--sky); margin: 0 -1.5rem 6rem 2rem; transform: rotate(-4deg); }
@media (max-width: 1000px) {
  .fv__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 1.5rem; }
  .fv__body { grid-column: 1 / -1; grid-row: 2; }
  .fv__girl, .fv__boy { margin: 0; grid-row: 1; }
  .fv__girl { grid-column: 1; } .fv__boy { grid-column: 2; }
  .fv__sticky--a { grid-column: 1; margin: 2rem .5rem 1rem -.5rem; } .fv__sticky--b { grid-column: 2; margin: 1rem -.5rem 2rem .5rem; }
  .fv__robo { position: static; flex-direction: row; margin-top: .5rem; }
  .fv__robo .tr__say::before { left: -9px; top: 14px; bottom: auto; transform: rotate(45deg); }
}
@media (max-width: 520px) { .tr__say { white-space: normal; } .fv__hanamaru { width: 1em; height: 1em; transform: translate(-30%, -95%) rotate(-12deg); } .fv__teaser .blk { white-space: normal; } .fv__actions .btn { width: 100%; } }

/* ============ 節 ============ */
.sec { padding-block: var(--sec-y); }
.sec--tight { padding-block: clamp(2.5rem, 4vw, 3.5rem) var(--sec-y); }
.sec--paper { background: var(--paper-veil); }
.sec--sky, .sec--lemon, .sec--pink { background-image: linear-gradient(var(--grid-w) 1px, transparent 1px), linear-gradient(90deg, var(--grid-w) 1px, transparent 1px); background-size: 24px 24px; }
.sec--sky { background-color: var(--sky); } .sec--lemon { background-color: var(--lemon); } .sec--pink { background-color: var(--pink); }
.sec-head { position: relative; display: grid; align-content: start; justify-items: start; gap: .5rem; margin-bottom: clamp(2rem, 3.5vw, 3rem); max-width: 46rem; }
.h2 { font-weight: 900; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.4; letter-spacing: .02em; }
.lead { font-size: 1.0625rem; }
/* テラロボ */
.tr { display: inline-flex; align-items: flex-start; gap: .25rem; pointer-events: none; }
.tr__svg { width: 5.5rem; height: 5.5rem; flex: none; }
.tr__body { fill: var(--yellow); stroke: var(--ink); stroke-width: 3.5; }
.tr__face { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.tr__eye, .tr__mouth { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.tr__cheek { fill: var(--pink); }
.tr__ant, .tr__arm, .tr__leg { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tr__tip { fill: var(--red); stroke: var(--ink); stroke-width: 2.5; }
.tr__btn { stroke: var(--ink); stroke-width: 2; } .tr__btn--a { fill: var(--blue); } .tr__btn--b { fill: var(--red); } .tr__btn--c { fill: var(--sky); }
.tr__say { position: relative; margin-top: .25rem; padding: .35rem .8rem .45rem; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; font-family: var(--pen); color: var(--red-d); font-size: 1.125rem; line-height: 1.35; white-space: nowrap; }
.tr__say::before { content: ""; position: absolute; left: -9px; top: 14px; width: 14px; height: 14px; background: var(--white); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.sec-head__robo { position: absolute; right: -2rem; top: -1rem; transform: translateX(100%); }
@media (max-width: 1100px) { .sec-head__robo { position: static; transform: none; margin-top: .5rem; } .sec-head__robo .tr__svg { width: 4rem; height: 4rem; } }

/* ============ 見せ場: ブロックで動かそう ============ */
.playsec__panel { background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r-l); padding: clamp(1.5rem, 4vw, 3.5rem); box-shadow: 8px 8px 0 var(--yellow); }
.play { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.board { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); aspect-ratio: 1; max-width: 30rem; border: 2.5px solid var(--ink); border-radius: var(--r-m); overflow: hidden; background: var(--white); }
.board__cell { border-right: 1.5px dashed var(--line); border-bottom: 1.5px dashed var(--line); position: relative; }
.board__cell:nth-child(5n) { border-right: 0; }
.board__cell:nth-last-child(-n+6) { border-bottom: 0; }
.board__cell--rock::after { content: ""; position: absolute; inset: 14%; border-radius: 6px; background: var(--sky); border: 2.5px solid var(--ink); box-shadow: inset 0 -6px 0 var(--rock-shade); }
.board__cell--rock[data-x="1"]::after { background: var(--pink); } .board__cell--rock[data-y="1"]::after { background: var(--lemon); } .board__cell--rock[data-y="4"]::after { background: var(--pink); }
.board__cell.is-trail::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; border-radius: 50%; border: 3px dotted var(--red); transform: translate(-50%, -50%); }
.board__hana { position: absolute; right: 3%; top: 3%; width: 44%; height: 44%; color: var(--red); z-index: 3; opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.board__hana .hanamaru { width: 100%; height: 100%; }
.board.is-goal .board__hana { opacity: .85; transform: none; }
.board.is-goal .board__cell--flag::after { left: 74%; top: 6%; height: 40%; }
.board.is-goal .board__cell--flag::before { left: calc(74% + 4px); top: 6%; width: 20%; height: 16%; }
.board.is-goal .board__cell--flag { z-index: 2; }
.board__cell--flag::after { content: ""; position: absolute; left: 34%; top: 20%; width: 4px; height: 60%; background: var(--ink); }
.board__cell--flag::before { content: ""; position: absolute; left: calc(34% + 4px); top: 20%; width: 32%; height: 26%; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.robo { position: absolute; left: 0; top: 0; width: 20%; height: 20%; display: grid; place-items: center; transform: translate(calc(var(--x, 0) * 100%), calc(var(--y, 4) * 100%)); transition: transform .35s var(--ease); }
.robo svg { width: 88%; height: 88%; }
.robo__dir { position: absolute; inset: 0; transform: rotate(var(--r, 0deg)); transition: transform .3s var(--ease); pointer-events: none; }
.robo__dir::before { content: ""; position: absolute; left: 50%; top: -2%; width: 0; height: 0; transform: translateX(-50%); border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 10px solid var(--red); }

.robo.is-bump svg { animation: bump .4s; }
@keyframes bump { 30% { transform: translateY(-10%); } 60% { transform: translateY(6%); } }
.play__where { margin-top: .75rem; font-size: .9375rem; color: var(--soft); }
.play__label { font-weight: 700; margin-bottom: .6rem; }
.play__count { margin-left: .5rem; font-size: .875rem; color: var(--soft); font-weight: 500; }
.play__palette { display: flex; flex-wrap: wrap; gap: .25rem .4rem; margin-bottom: 1.25rem; }
.play__program { min-height: 6rem; padding: 1rem 1rem .5rem; margin-bottom: 1rem; border: 2px dashed var(--line); border-radius: var(--r-m); background: var(--paper); display: flex; flex-wrap: wrap; align-content: flex-start; counter-reset: p; }
.play__program .blk { padding-right: .5rem; }
.play__program .blk::before { background: var(--paper); }
.play__del { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-left: .5rem; border: 0; border-radius: 50%; background: var(--del-l); color: inherit; cursor: pointer; font-weight: 700; line-height: 1; }
.blk--event .play__del { background: var(--del-d); }
.play__program .is-now { outline: 3px solid var(--red); outline-offset: 2px; }
.play__empty { color: var(--soft); font-size: .9375rem; }
.play__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.play__msg { margin-top: 1rem; min-height: 1.9em; font-weight: 700; }
.play__msg.is-bad { color: var(--red-d); }
.play__done { display: flex; align-items: center; gap: 1rem; margin-top: .75rem; padding: 1rem 1.25rem; border-radius: var(--r-m); background: var(--pink); }
.play__done[hidden] { display: none; }
.play__hanamaru { width: 4.5rem; height: 4.5rem; flex: none; }
.play__done strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--red-d); }
@media (max-width: 860px) { .play { grid-template-columns: 1fr; } .board { max-width: 24rem; margin-inline: auto; } }

/* ============ 3つのこと ============ */
.feats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem); }
.feat:nth-child(2) { margin-top: 3rem; }
.feat__photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.feat__no { font-family: var(--dot); font-size: 2.5rem; line-height: 1; color: var(--red); margin-top: 1.5rem; }
.feat__title { font-weight: 900; font-size: 1.5rem; line-height: 1.45; margin: .4rem 0; }
@media (max-width: 860px) { .feats__list { grid-template-columns: 1fr; } .feat:nth-child(2) { margin-top: 0; } }

/* ============ 6年間のステップ（階段） ============ */
.stairs__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); align-items: end; padding-top: 6rem; }
.stair { background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r-m); padding: .75rem .75rem 1.25rem; position: relative; margin-bottom: calc(var(--rise) + 14px); }
.stair::after { content: ""; position: absolute; left: -2.5px; right: -2.5px; top: 100%; height: calc(var(--rise) + 14px); background: var(--yellow); border: 2.5px solid var(--ink); border-top: 0; border-radius: 0 0 6px 6px; }
.stair__robo { position: absolute; right: .25rem; top: 0; transform: translateY(-88%); flex-direction: row-reverse; }
.stair__robo .tr__say::before { left: auto; right: -9px; transform: rotate(-135deg); }
.stair--1::after { background: var(--sky); } .stair--2::after { background: var(--pink); } .stair--3::after { background: var(--red); }
.stair__photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-s); }
.stair__step { font-family: var(--dot); font-size: 1.5rem; line-height: 1.2; margin-top: .75rem; color: var(--blue); }
.stair__grade { font-weight: 700; font-size: .9375rem; color: var(--soft); }
.stair__title { font-weight: 900; font-size: 1.3125rem; line-height: 1.45; margin: .3rem 0 .4rem; }
.stair__text { font-size: .9375rem; line-height: 1.85; }
@media (max-width: 1000px) { .stair { display: flex; flex-direction: column; } .stair__robo { position: static; order: 9; transform: none; margin-top: .75rem; align-self: flex-end; } .stairs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; padding-top: 0; } .stair { --rise: 0rem !important; } .stair--0, .stair--2 { margin-top: 2rem; } }
@media (max-width: 560px) { .stairs__list { grid-template-columns: 1fr; } .stair--0, .stair--2 { margin-top: 0; } }

/* ============ 作品 ============ */
.works__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.work:nth-child(odd) { margin-top: 2rem; }
.work .snap img { aspect-ratio: 1; object-fit: cover; }
.work__cap { display: grid; gap: .1rem; margin-top: 1rem; }
.work__cap .pen { font-size: 1.25rem; }
.work__grade { font-family: var(--dot); color: var(--blue); white-space: nowrap; }
@media (max-width: 860px) { .works__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ 教室・料金・お約束 ============ */
.room__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.room__photo img { border: 2.5px solid var(--ink); border-radius: var(--r-l); aspect-ratio: 3 / 2; object-fit: cover; }
.quote { padding: 1.25rem 1.5rem; border-left: 6px solid var(--red); background: var(--white); border-radius: 0 var(--r-m) var(--r-m) 0; }
.quote p { font-size: 1.125rem; font-weight: 700; line-height: 1.9; }
.quote footer { margin-top: .6rem; font-size: .9375rem; color: var(--soft); }
@media (max-width: 860px) { .room__grid { grid-template-columns: 1fr; } }
.price__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.memo { background: var(--yellow); padding: 1.75rem 1.75rem 1.5rem; transform: rotate(1.5deg); box-shadow: 0 10px 20px var(--lift-2); position: relative; }
.memo::before { content: ""; position: absolute; left: 50%; top: -12px; width: 90px; height: 24px; transform: translateX(-50%) rotate(-4deg); background: var(--tape-b); }
.memo li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .7rem 0; border-bottom: 1.5px dashed var(--memo-rule); }
.memo li:last-child { border-bottom: 0; }
.memo strong { font-weight: 900; }
@media (max-width: 860px) { .price__grid { grid-template-columns: 1fr; } }
.renraku { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0 2rem; padding: 2.25rem 2rem 2rem 3.5rem; background: var(--white) repeating-linear-gradient(transparent 0 2.4rem, var(--line) 2.4rem calc(2.4rem + 1px)); border: 2.5px solid var(--ink); border-radius: 6px 18px 18px 6px; box-shadow: 6px 6px 0 var(--ink); }
.renraku::before { content: ""; position: absolute; left: 1.4rem; top: 1rem; bottom: 1rem; width: 4px; background: repeating-linear-gradient(var(--ink) 0 10px, transparent 10px 22px); border-radius: 2px; }
.renraku li { line-height: 2.4rem; }
.renraku h3 { font-weight: 900; font-size: 1.125rem; }
.renraku__hana { display: grid; justify-items: center; align-content: center; transform: rotate(-8deg); }
.renraku__hana .hanamaru { width: 6rem; height: 6rem; }
.renraku__hana .pen { font-size: 1.375rem; }
@media (max-width: 860px) { .renraku { grid-template-columns: 1fr; padding-left: 3rem; } .renraku__hana { justify-items: start; } }


/* ============ 無料体験の帯 ============ */
.tband { padding-block: var(--sec-y); background: var(--yellow); border-top: 2.5px solid var(--ink); }
.tband__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tband__title { font-weight: 900; font-size: clamp(1.875rem, 1.3rem + 1.9vw, 3rem); line-height: 1.4; margin: .5rem 0 .75rem; }
.tband__label .blk { --c: var(--ink); --t: var(--white); }
.tband__robo { margin: .25rem 0 0; }
.tband__label .blk::before { background: var(--yellow); }
.tband__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.tband .btn--yellow { background: var(--white); }
.tband__tel { color: var(--ink); font-weight: 700; font-size: 1.125rem; }
.tband__tel small { font-size: .875rem; font-weight: 500; margin-left: .3rem; }
@media (max-width: 860px) { .tband__inner { grid-template-columns: 1fr; } .tband__photo { max-width: 26rem; } }

/* ============ フッター ============ */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.site-footer a { color: var(--on-dark); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; }
.footer__addr { margin-top: 1.25rem; font-size: .9375rem; line-height: 1.9; color: var(--on-dark-dim); }
.footer__list { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.5rem; align-content: start; font-weight: 700; }
.footer__list a { display: inline-block; padding: .4rem 0; text-decoration: none; }
.footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--soft); font-size: .8125rem; line-height: 1.8; color: var(--on-dark-dim); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============ 下層の頭（骨組みは共通、見せ方はページの中身で変える） ============ */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .875rem; font-weight: 700; margin-bottom: 1rem; }
.crumbs li + li::before { content: "▶"; font-size: .6em; margin-right: .4rem; color: var(--soft); vertical-align: .15em; }
.phead { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); }
.phead__dot { font-family: var(--dot); font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); color: var(--blue); line-height: 1.2; margin-bottom: .4rem; }
.phead__title { font-weight: 900; font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem); line-height: 1.3; }
.phead__lead { margin-top: .9rem; max-width: 40rem; }
/* コース: 階段の図 */
.phead--course .shell { position: relative; }
.phead__stairs li:last-child { position: relative; }
.phead__robo { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); }
.phead__robo .tr__svg { width: 4.5rem; height: 4.5rem; }
.phead__robo--card { left: auto; right: -1.5rem; bottom: auto; top: -3.5rem; transform: rotate(6deg); flex-direction: row-reverse; }
.phead__robo--card .tr__say::before { left: auto; right: -9px; transform: rotate(-135deg); }
.phead--faq .shell { position: relative; }
.phead__robo--faq { left: auto; right: 0; bottom: 0; transform: none; }
.phead__robo--faq .tr__svg { width: 6rem; height: 6rem; }
@media (max-width: 760px) { .phead__robo--card { right: .5rem; top: -4rem; } .phead__robo--faq { position: static; margin-top: 1rem; } }
.phead__stairs { position: absolute; right: 0; bottom: -1rem; display: flex; align-items: flex-end; gap: 6px; }
.phead__stairs li { width: clamp(2.5rem, 6vw, 5rem); display: grid; place-items: center; font-family: var(--dot); font-size: 1.5rem; border: 2.5px solid var(--ink); border-radius: 8px 8px 0 0; }
.phead__stairs li:nth-child(1) { height: 3rem; background: var(--yellow); } .phead__stairs li:nth-child(2) { height: 5rem; background: var(--sky); }
.phead__stairs li:nth-child(3) { height: 7rem; background: var(--pink); } .phead__stairs li:nth-child(4) { height: 9rem; background: var(--red); color: var(--ink); }
@media (max-width: 760px) { .phead__stairs { position: static; margin-top: 1.5rem; } .phead__stairs li:nth-child(4) { height: 7rem; } .phead__stairs li:nth-child(3) { height: 5.5rem; } .phead__stairs li:nth-child(2) { height: 4rem; } .phead__stairs li:nth-child(1) { height: 2.5rem; } }
/* 教室のようす: 横長の写真に、テープで貼った札 */
.phead--lessons { padding: 0; }
.phead__wide img { width: 100%; height: clamp(16rem, 34vw, 28rem); object-fit: cover; border-bottom: 2.5px solid var(--ink); }
.phead__over { position: relative; margin-top: clamp(-7rem, -8vw, -4rem); }
.phead__card { position: relative; background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r-m); padding: clamp(1.5rem, 3vw, 2.25rem); max-width: 40rem; box-shadow: var(--shadow); transform: rotate(-1deg); }
/* 料金・体験: 写真を右に */
.phead__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.phead__for { margin-bottom: .5rem; }
@media (max-width: 860px) { .phead__split { grid-template-columns: 1fr; } .phead__photo { max-width: 28rem; } }
/* アクセス・質問: 水色の付箋の面 */
.phead--faq { background: var(--sky); border-bottom: 2.5px solid var(--ink); }

/* ============ コース ============ */
.ccards { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.ccard { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r-l); padding: clamp(1rem, 2.5vw, 1.75rem); }
.ccard:nth-child(even) .ccard__photo { order: 2; }
.ccard__photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); }
.ccard__step { font-family: var(--dot); font-size: 1.75rem; color: var(--blue); line-height: 1.2; }
.ccard--turn .ccard__step { color: var(--violet); } .ccard--event .ccard__step { color: var(--red-d); }
.ccard__title { font-weight: 900; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.4; margin: .2rem 0 1rem; }
.ccard__dl div { display: grid; grid-template-columns: 7rem 1fr; gap: .2rem 1rem; padding: .6rem 0; border-top: 1.5px dashed var(--line); }
.ccard__dl dt { font-weight: 700; color: var(--soft); }
@media (max-width: 860px) { .ccard { grid-template-columns: 1fr; } .ccard:nth-child(even) .ccard__photo { order: 0; } }
@media (max-width: 420px) { .ccard__dl div { grid-template-columns: 1fr; } }
.year { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; position: relative; }
.year::before { content: ""; position: absolute; left: 0; right: 0; top: 1.6rem; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); }
.year li { position: relative; display: grid; gap: .5rem; justify-items: start; }
.year__m { display: grid; place-items: center; min-width: 3.25rem; height: 3.25rem; padding: 0 .5rem; border-radius: 50%; background: var(--white); border: 2.5px solid var(--ink); font-family: var(--dot); font-size: 1.125rem; }
.year li:nth-child(4) .year__m { background: var(--red); }
.year__what { font-weight: 700; line-height: 1.6; }
.year__what .nw { display: block; font-size: .875rem; font-weight: 500; color: var(--soft); }
@media (max-width: 860px) { .year { grid-template-columns: 1fr; } .year::before { left: 1.6rem; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(var(--ink) 0 8px, transparent 8px 14px); } .year li { grid-template-columns: auto 1fr; align-items: center; gap: 1rem; } }
.tool { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tool__photo img { aspect-ratio: 1; object-fit: cover; }
.checks { display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 700; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2.5px solid var(--red); }
.checks li::after { content: ""; position: absolute; left: .35rem; top: .6em; width: .55rem; height: .3rem; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.checks--row { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.5rem; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } .tool__photo { max-width: 22rem; } }

/* ============ 教室のようす ============ */
.lflow { display: flex; gap: 0; border: 2.5px solid var(--ink); border-radius: var(--r-m); overflow: hidden; background: var(--white); }
.lflow__end { text-align: right; margin-top: .3rem; color: var(--soft); }
.lflow__item { flex: var(--w) 1 7.5rem; padding: 3rem .9rem 1.25rem; position: relative; border-right: 2px dashed var(--line); }
.lflow__item:last-child { border-right: 0; }
.lflow__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2rem; background: var(--blue); }
.lflow__item--1::before { background: var(--violet); } .lflow__item--2::before { background: var(--yellow); } .lflow__item--3::before { background: var(--red); } .lflow__item--4::before { background: var(--sky); } .lflow__item--5::before { background: var(--pink); }
.lflow__item .lflow__min { position: absolute; left: .7rem; top: .2rem; font-size: 1.125rem; color: var(--white); z-index: 1; }
.lflow__item--2 .lflow__min, .lflow__item--4 .lflow__min, .lflow__item--5 .lflow__min { color: var(--ink); }
.lflow__min { font-family: var(--dot); font-size: 1.375rem; color: var(--blue); }
.lflow__title { font-weight: 900; font-size: 1.125rem; margin: .2rem 0 .3rem; }
.lflow__item p { font-size: .9375rem; line-height: 1.75; }
@media (max-width: 900px) { .lflow { flex-direction: column; } .lflow__item { border-right: 0; border-bottom: 2px dashed var(--line); padding: .9rem 1rem 1rem 6rem; } .lflow__item::before { width: 4.75rem; height: auto; bottom: 0; right: auto; } .lflow__item .lflow__min { top: .9rem; } }
.teachers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.rules { position: sticky; top: calc(var(--header-h) + 2rem); background: var(--yellow); padding: 1.5rem; border: 2.5px solid var(--ink); border-radius: var(--r-m); transform: rotate(1.5deg); }
@media (max-width: 1000px) { .rules { position: static; } }
.rules__robo { margin-bottom: .75rem; }
.rules__list { padding-left: 1.4em; font-weight: 900; font-size: 1.1875rem; line-height: 2; }
.teachers__photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.teachers__role { margin-top: 1.5rem; font-weight: 700; color: var(--red-d); }
.teachers__name { font-weight: 900; font-size: 1.625rem; margin-bottom: .3rem; }
@media (max-width: 1000px) { .teachers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .teachers { grid-template-columns: minmax(0, 1fr); } .teachers__photo { max-width: 22rem; } }
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.scenes li:nth-child(2) { margin-top: 2.5rem; }
.scenes img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) { .scenes { grid-template-columns: 1fr; } .scenes li:nth-child(2) { margin-top: 0; } }
.safe { grid-template-columns: 1fr 1fr; gap: 1.25rem 3rem; max-width: 60rem; }
.safe li { font-weight: 500; }
.safe h3 { font-weight: 900; font-size: 1.1875rem; }
@media (max-width: 760px) { .safe { grid-template-columns: 1fr; } }

/* ============ 料金・無料体験 ============ */
.table-wrap { border: 2.5px solid var(--ink); border-radius: var(--r-m); overflow: hidden; background: var(--white); }
.fee { width: 100%; border-collapse: collapse; }
.fee th, .fee td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1.5px dashed var(--line); }
.fee thead th { background: var(--ink); color: var(--white); font-size: .9375rem; border-bottom: 0; }
.fee tbody tr:last-child > * { border-bottom: 0; }
.fee td.num { font-size: 1.375rem; white-space: nowrap; }
@media (max-width: 600px) {
  .fee thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .fee tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: 1rem 1.1rem; border-bottom: 1.5px dashed var(--line); }
  .fee tbody tr:last-child { border-bottom: 0; }
  .fee th, .fee td { padding: 0; border: 0; }
  .fee td.num { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .fee td:not(.num) { font-size: .9375rem; color: var(--soft); }
}
.prog { display: grid; gap: 0; max-width: 48rem; }
.prog li { --c: var(--blue); --t: var(--white); position: relative; display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem; padding: 1.25rem 1.5rem 1.4rem; background: var(--c); color: var(--t); border-radius: 10px; margin-bottom: 8px; }
.prog li:nth-child(2) { --c: var(--violet); margin-left: 2rem; } .prog li:nth-child(3) { --c: var(--yellow); --t: var(--ink); margin-left: 4rem; }
.prog li::before { content: ""; position: absolute; left: 1.5rem; top: -1px; width: 26px; height: 8px; background: var(--paper); border-radius: 0 0 8px 8px; }
.prog li::after { content: ""; position: absolute; left: 1.5rem; bottom: -8px; width: 26px; height: 8px; background: var(--c); border-radius: 0 0 8px 8px; }
.prog .tflow__no { grid-row: 1 / 3; border-color: currentColor; color: inherit; background: var(--del-l); }
.prog h3 { font-weight: 900; font-size: 1.25rem; }
@media (max-width: 600px) { .prog li:nth-child(2) { margin-left: 1rem; } .prog li:nth-child(3) { margin-left: 2rem; } }
.tflow__no { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 3px solid var(--red); font-family: var(--dot); font-size: 1.5rem; color: var(--red-d); margin-bottom: .75rem; }
.tflow h3 { font-weight: 900; font-size: 1.1875rem; margin-bottom: .3rem; }

.formwrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.formwrap > div:first-child { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 860px) { .formwrap > div:first-child { position: static; } }
.formwrap__tel { padding: 1.25rem 1.5rem; background: var(--white); border: 2px dashed var(--blue); border-radius: var(--r-m); font-weight: 700; }
.formwrap__tel a { display: block; font-size: 1.75rem; font-weight: 900; color: var(--ink); text-decoration: none; letter-spacing: .03em; }
.formwrap__tel small { display: block; font-size: .875rem; font-weight: 500; color: var(--soft); }
.memo--side { margin-top: 2rem; transform: rotate(-1.5deg); position: relative; }
.memo__title { font-weight: 900; margin-bottom: .6rem; }
.memo__robo { position: absolute; right: -.5rem; bottom: -2.5rem; flex-direction: row-reverse; }
.memo__robo .tr__svg { width: 4.25rem; height: 4.25rem; }
.memo__robo .tr__say::before { left: auto; right: -9px; transform: rotate(-135deg); }
.faq__robo { margin-top: 1.5rem; flex-direction: column; align-items: flex-start; }
.faq__robo .tr__say { white-space: normal; max-width: 14rem; }
.faq__robo .tr__say::before { left: 2rem; top: -9px; transform: rotate(135deg); }
.form { display: grid; gap: 1.4rem; background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r-l); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 700; }
.req { margin-left: .6rem; padding: 0 .5rem; border-radius: 4px; background: var(--red-d); color: var(--white); font-size: .75rem; vertical-align: .1em; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.25rem; padding: .7rem 1rem; border: 2px solid var(--field); border-radius: var(--r-s); background: var(--white); font-size: 1.0625rem; }
.form__msg { padding: 1rem 1.25rem; border-radius: var(--r-s); background: var(--sky); font-weight: 700; }
@media (max-width: 860px) { .formwrap { grid-template-columns: 1fr; } }

/* ============ アクセス・よくある質問 ============ */
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.info { border-top: 1.5px dashed var(--line); background: var(--veil); }
.info div { display: grid; grid-template-columns: 6rem 1fr; gap: .2rem 1rem; padding: .9rem 0; border-bottom: 1.5px dashed var(--line); }
.info dt { font-weight: 700; color: var(--soft); }
.amap { width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: var(--r-m); background: var(--white); }
.amap__grid { stroke: var(--grid); stroke-width: 1; }
.amap__road { fill: none; stroke: var(--line); stroke-width: 22; stroke-linecap: round; }
.amap__route { fill: none; stroke: var(--red); stroke-width: 4; stroke-dasharray: 2 9; stroke-linecap: round; }
.amap__st { fill: var(--ink); } .amap__school { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.5; }
.amap__t { font: 700 14px var(--jp); text-anchor: middle; fill: var(--ink); } .amap__t--w { fill: var(--white); } .amap__t--s { font-size: 12px; }
.amap__cross rect { fill: var(--white); stroke: var(--line); }
.amap__mark { fill: var(--pink); stroke: var(--ink); stroke-width: 1.5; } .amap__mark--b { fill: var(--sky); }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pick__photo img, .pick__entrance img { aspect-ratio: 3 / 2; object-fit: cover; }
.pick__entrance { margin-top: 2rem; max-width: 22rem; }
@media (max-width: 860px) { .pick { grid-template-columns: 1fr; } }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 2rem; }
.faq__item { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-m); }
.faq__item + .faq__item { margin-top: .75rem; }
.faq__item summary { display: flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding: .9rem 1.25rem; font-weight: 700; cursor: pointer; list-style: none; line-height: 1.5; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; margin-left: auto; font-family: var(--dot); font-size: 1.5rem; color: var(--blue); }
.faq__item[open] summary::after { content: "−"; }
.faq__q { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); font-family: var(--dot); }
.faq__item p { padding: 0 1.25rem 1.2rem 4rem; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .faq__item p { padding-left: 1.25rem; } }

/* ============ 触れたとき（マウスのみ） ============ */
@media (hover: hover) {
  .btn:hover { transform: translate(-2px, -2px); }
  .btn--yellow:hover { box-shadow: 6px 6px 0 var(--red); }
  .btn--line:hover { background: var(--paper); }
  .gnav__link:hover::after { transform: none; }
  .blk--btn:hover { transform: translateY(-2px); }
}

/* ============ 動き（減らす設定では止める） ============ */
@media (prefers-reduced-motion: no-preference) {
  .js-motion [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
  .js-motion [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .robo, .robo svg { transition: none; } .robo.is-bump svg { animation: none; } }
