/* もじの庭 — れんしゅうちょうの上に、庭がそだつ */

@font-face { font-family: "MojiHand"; src: url("fonts/moji-hand.woff2?v=20261112") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "MojiLabel"; src: url("fonts/moji-label.woff2?v=20261112") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "MojiBody"; src: url("fonts/moji-body.woff2?v=20261112") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --blue: #0879BD; --coral: #DA4C48; --green: #13845C; --purple: #7650B8; --orange: #D84C35; --yellow: #FFD75B;
  --paper: #EFF9FF; --sky: #DDF3FF; --mint: #DDF6E9; --peach: #FFF0D0; --lav: #EEE5FF;
  --ink: #243E58; --muted: #516A80; --line: #CBDDE8; --dash: #C9DAE6;
  /* 小さな文字に使う濃いめの色(淡い面の上でも 4.5 以上) */
  --blue-t: #0A6BA8; --green-t: #0F7351; --coral-t: #B83A36; --purple-t: #6A45A8; --orange-t: #B5402D;
  --try-bg: #CC423E;
  --f-hand: "MojiHand", "Klee One", "Hiragino Mincho ProN", serif;
  --f-label: "MojiLabel", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --f-body: "MojiBody", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pop: cubic-bezier(.34, 1.5, .62, 1);
  --hd: 68px;
  --wrap: 1240px;
  --gut: clamp(20px, 4.4vw, 56px);
  --r-l: 32px; --r-m: 22px; --r-s: 14px;
  --sh-strong: 0 5px 0 rgba(36, 62, 88, .12);
  --sh-soft: 0 3px 0 rgba(36, 62, 88, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.9; letter-spacing: .02em;
  line-break: strict; word-break: keep-all; overflow-wrap: anywhere;
  text-autospace: normal; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.br-sp { display: none; }
@media (max-width: 767px) { .br-sp { display: inline; } .br-pc { display: none; } }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--f-label); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- マス(十字の点線が入った練習帳のマス) ---------- */
.masu {
  --cross: var(--dash);
  position: relative; display: inline-grid; place-items: center;
  background:
    repeating-linear-gradient(to bottom, var(--cross) 0 5px, transparent 5px 10px) 50% 0 / 1.5px 100% no-repeat,
    repeating-linear-gradient(to right, var(--cross) 0 5px, transparent 5px 10px) 0 50% / 100% 1.5px no-repeat,
    #fff;
  border: 1.5px solid var(--line);
  font-family: var(--f-hand); font-weight: 600; line-height: 1; letter-spacing: 0;
}
.masu.xs { width: 48px; height: 48px; border-radius: 10px; font-size: 30px; flex: none; --cross: #DCE7EF; }
.masu.xs.wide { width: 64px; font-size: 26px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-label); font-weight: 800; font-size: 17px; letter-spacing: .06em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(3px); }
.btn-coral { background: var(--coral-t); color: #fff; box-shadow: 0 5px 0 #8E2B28; }
.btn-coral:hover { background: #A9332F; }
.btn-coral:active { box-shadow: 0 2px 0 #8E2B28; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 5px 0 rgba(36, 62, 88, .10); }
.btn-line:hover { border-color: var(--blue); color: var(--blue-t); }
.btn-white { background: #fff; color: var(--coral-t); box-shadow: 0 5px 0 rgba(90, 20, 18, .28); }
.btn-white:hover { background: #FFF6F5; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* ---------- 公開準備中の表示 ---------- */
.badge-soon {
  display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 14px 0 12px;
  border: 1.5px solid #EDC3C0; border-radius: 8px; background: transparent;
  font-family: var(--f-label); font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--coral-t); white-space: nowrap;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px #FFE9A6; flex: none; }

/* ---------- ラベルと見出し ---------- */
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-label); font-weight: 800; font-size: 15px; letter-spacing: .1em; line-height: 1.5; color: var(--ink); }
.lb-box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid currentColor; position: relative; flex: none; }
.lb-box::before, .lb-box::after { content: ""; position: absolute; background: currentColor; opacity: .55; }
.lb-box::before { left: 50%; top: 2px; bottom: 2px; width: 1.5px; transform: translateX(-50%); }
.lb-box::after { top: 50%; left: 2px; right: 2px; height: 1.5px; transform: translateY(-50%); }
.lb-blue { color: var(--blue); } .lb-green { color: var(--green); } .lb-purple { color: var(--purple); } .lb-orange { color: var(--orange); } .lb-ink { color: var(--ink); }
.label-on { color: #fff; }

.h2 { font-family: var(--f-hand); font-weight: 600; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.38; letter-spacing: .04em; font-feature-settings: "palt"; margin-top: 18px; }
.h3 { font-family: var(--f-hand); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.45; letter-spacing: .04em; font-feature-settings: "palt"; }
.sec-lead { margin-top: 22px; max-width: 34em; color: var(--ink); }
section { position: relative; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow .25s; }
.hd.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(36, 62, 88, .06); }
.hd-bar { height: var(--hd); max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; flex: none; border-radius: 14px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(36, 62, 88, .08); }
.logo { display: inline-flex; font-family: var(--f-label); font-weight: 800; font-size: 23px; letter-spacing: .06em; line-height: 1; }
.logo > span:nth-child(1), .rl-logo > span:nth-child(1) { color: var(--blue); }
.logo > span:nth-child(2), .rl-logo > span:nth-child(2) { color: var(--coral); }
.logo > span:nth-child(3), .rl-logo > span:nth-child(3) { color: var(--green); }
.logo > span:nth-child(4), .rl-logo > span:nth-child(4) { color: var(--purple); }
.logo > span:nth-child(5), .rl-logo > span:nth-child(5) { color: var(--orange); }
.hd-nav { display: flex; gap: 2px; margin-left: auto; }
.hd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 12px; text-decoration: none; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .05em; color: var(--ink); white-space: nowrap; transition: background-color .15s, color .15s; }
.hd-nav a:hover { background: #fff; color: var(--blue-t); }
.hd-status { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px 0 10px; border-radius: 8px; border: 1.5px solid #EDC3C0; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .04em; color: var(--coral-t); white-space: nowrap; flex: none; }
.hd-menu { display: none; white-space: nowrap; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-family: var(--f-label); font-weight: 800; font-size: 14px; }
.bars { width: 18px; height: 12px; position: relative; border-top: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transition: transform .2s; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.4px; margin-top: -1.2px; background: var(--ink); }
.hd-menu[aria-expanded="true"] .bars { border-color: transparent; }
.hd-menu[aria-expanded="true"] .bars::after { transform: rotate(45deg); box-shadow: none; }
.hd-menu[aria-expanded="true"] .bars::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.4px; margin-top: -1.2px; background: var(--ink); transform: rotate(-45deg); }

@media (max-width: 1179px) {
  .hd-bar { gap: 12px; }
  .hd-status { margin-left: auto; }
  .hd-menu { display: inline-flex; }
  .hd-nav { position: absolute; left: 0; right: 0; top: var(--hd); margin: 0; display: none; flex-direction: column; gap: 0; padding: 10px var(--gut) 22px; background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 18px 30px rgba(36, 62, 88, .10); }
  .hd-nav.is-open { display: flex; }
  .hd-nav a { min-height: 52px; font-size: 16px; border-bottom: 1.5px dashed var(--line); border-radius: 0; padding: 0 4px; }
  .hd-nav a:last-child { border-bottom: 0; }
  html:not(.js) .hd-nav { position: static; display: none; }
  html:not(.js) .hd-menu { display: none; }
}
@media (max-width: 559px) {
  :root { --hd: 60px; }
  .hd-status { display: none; }
  .hd-menu { margin-left: auto; }
  .brand img { width: 36px; height: 36px; }
  .logo { font-size: 21px; }
  .hd-menu-t { font-size: 14px; }
}

/* ---------- ファーストビュー ---------- */
.hero { padding-top: clamp(24px, 2.4vw, 34px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px var(--line) inset; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .06em; line-height: 1.6; color: var(--ink); }
.eb-box { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); position: relative; flex: none; }
.eb-box::after { content: "あ"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--f-hand); font-weight: 600; font-size: 14px; line-height: 1; }

.hero-title { --cs: clamp(50px, 6.6vw, 98px); margin-top: clamp(20px, 2vw, 28px); display: grid; gap: clamp(8px, .9vw, 14px); font-weight: 600; }
.hero-title .ln { display: flex; }
.hero-title .c {
  width: var(--cs); height: var(--cs); margin-right: -1.5px; display: grid; place-items: center;
  font-family: var(--f-hand); font-size: calc(var(--cs) * .72); line-height: 1; color: var(--ink);
  background:
    repeating-linear-gradient(to bottom, var(--dash) 0 5px, transparent 5px 10px) 50% 0 / 1.5px 100% no-repeat,
    repeating-linear-gradient(to right, var(--dash) 0 5px, transparent 5px 10px) 0 50% / 100% 1.5px no-repeat,
    #fff;
  border: 1.5px solid var(--line);
}
.hero-title .ln .c:first-child { border-radius: 14px 0 0 14px; }
.hero-title .ln .c:last-child { border-radius: 0 14px 14px 0; }
.hero-title .c { position: relative; }
.hero-title .pu { position: absolute; left: 76%; top: 30%; font-size: .78em; line-height: 1; color: var(--ink); }
.hero-title .pu-maru { left: 78%; top: 32%; }
.hero-title .ln:nth-child(2) .c { color: var(--coral); }
.hero-title .c.p { place-items: end start; padding: 0 0 calc(var(--cs) * .1) calc(var(--cs) * .1); color: var(--ink); }
.lead { margin-top: clamp(22px, 2vw, 30px); max-width: 30em; font-size: clamp(16px, 1.3vw, 18px); line-height: 2; }
.hero-status { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .04em; line-height: 1.6; }
.st-soon { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-t); }
.st-sep { width: 1.5px; height: 14px; background: var(--line); }
.spec { font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .05em; color: var(--muted); }
.marks { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.marks li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-label); font-weight: 800; font-size: 14.5px; letter-spacing: .05em; line-height: 1.6; }
.marks svg { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: var(--green); color: #fff; flex: none; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 16px; }

.hero-fig { position: relative; padding: clamp(36px, 4vw, 56px) clamp(28px, 3.4vw, 50px) clamp(84px, 8vw, 112px); }
.hero-panel { position: absolute; inset: 0 0 clamp(44px, 4.4vw, 60px) clamp(10px, 2vw, 30px); border-radius: 44px; background: var(--blue); overflow: hidden; }
.hp-sun { position: absolute; width: 74%; aspect-ratio: 1; right: -16%; top: -20%; border-radius: 50%; background: var(--yellow); }
.hp-sun::after { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .55); }
.hp-flower { position: absolute; width: 19%; right: 5%; bottom: 13%; transform: rotate(-10deg); }
.masu-hero { position: relative; display: block; width: min(84%, 500px); aspect-ratio: 1; margin-left: 2%; border-radius: 30px; border: 0; box-shadow: 0 10px 0 rgba(4, 50, 82, .28); --cross: #D6E3EC; }
.stroke-svg { width: 100%; height: 100%; overflow: visible; }
.hero-row { position: absolute; left: 0; bottom: clamp(18px, 2.4vw, 28px); display: flex; }
.hero-row .masu.sm { width: clamp(52px, 5.4vw, 76px); height: clamp(52px, 5.4vw, 76px); margin-right: -1.5px; font-size: clamp(32px, 3.4vw, 48px); --cross: #DCE7EF; }
.hero-row .masu.sm:first-child { border-radius: 14px 0 0 14px; }
.hero-row .masu.sm:last-child { border-radius: 0 14px 14px 0; }
.hero-row .masu.sm.is-on { z-index: 1; border-color: var(--blue); box-shadow: 0 0 0 1.5px var(--blue); color: var(--blue); }
.hero-cap { position: absolute; right: clamp(4px, 1vw, 12px); bottom: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .05em; line-height: 44px; color: var(--muted); }
.num-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral-t); color: #fff; font-size: 14px; line-height: 1; }

/* 筆画の描画(ヒーロー・おためし・カード共通) */
.sk-guide { fill: none; stroke: #DCE4EC; stroke-linecap: round; stroke-linejoin: round; }
.sk-ink { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.sk-trace { fill: none; stroke: var(--coral); stroke-linecap: round; stroke-linejoin: round; }
.sk-raw { fill: none; stroke: var(--coral); stroke-opacity: .28; stroke-linecap: round; stroke-linejoin: round; }
.sk-num circle { fill: var(--coral); }
.sk-num text { fill: #fff; font-family: var(--f-label); font-weight: 800; text-anchor: middle; }
.sk-arrow { fill: none; stroke: var(--coral); stroke-linecap: round; stroke-linejoin: round; }
.sk-pen { fill: var(--coral); stroke: #fff; }
.sk-num.is-next circle { animation: glow 1.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
.sk-num.is-later circle { fill: #fff; stroke: var(--coral); stroke-width: .8; }
.sk-num { transition: opacity .3s; }
.sk-num.is-past { opacity: .28; }
.sk-num.is-gone { opacity: 0; }
.sk-num.is-next circle { stroke: #FFD9D6; stroke-width: 1.8; paint-order: stroke; }
.sk-num.is-later text { fill: var(--coral-t); }

/* 庭の帯 */
.band { position: relative; height: clamp(108px, 14.5vw, 210px); margin-top: clamp(28px, 4vw, 56px); }
.band .garden { width: 100%; height: 100%; }
.band-hero { height: clamp(108px, 9.8vw, 140px); margin-top: clamp(-46px, -2.8vw, 8px); }
.hero-in { position: relative; z-index: 1; }
@media (max-width: 1099px) { .band-hero { margin-top: 16px; } }
.band-release { height: clamp(150px, 21vw, 300px); }
.garden .gs > g, .garden .fl, .garden .sp { transform-box: fill-box; transform-origin: 50% 100%; }

/* ---------- 4つのあそび ---------- */
.asobi { padding-top: clamp(80px, 9vw, 140px); }
.cards { margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.2vw, 30px); row-gap: 44px; align-items: start; }
.card { display: flex; flex-direction: column; gap: 18px; }
.card-face { border-radius: var(--r-l); padding: 14px; color: #fff; box-shadow: var(--sh-soft); }
.c-blue .card-face { background: var(--blue); }
.c-coral .card-face { background: var(--coral-t); }
.c-green .card-face { background: var(--green); }
.c-purple .card-face { background: var(--purple); }
.card-top { position: relative; border-radius: 22px; background: #fff; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; }
.card-top .demo { height: 66%; aspect-ratio: 1; width: auto; }
.card-name { position: relative; padding: 16px 12px 8px; }
.card-t { font-family: var(--f-label); font-weight: 800; font-size: clamp(21px, 2vw, 27px); letter-spacing: .08em; line-height: 1.4; }
.card-s { font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .08em; line-height: 1.6; margin-top: 2px; }
.card-d { font-size: 17px; line-height: 1.9; padding-inline: 6px; width: min(100%, 28.5em); }
.card-chip { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.card-chip svg { width: 24px; height: 24px; }
.c-blue { grid-column: 1 / 6; grid-row: 1; }
.home-shot { grid-column: 2 / 12; grid-row: 3; margin-top: 40px; }
.home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; border-radius: 22px; background: #EFF9FF; box-shadow: 0 0 0 1.5px var(--line) inset; }
.home-grid img { width: 100%; border-radius: 12px; }
.home-shot figcaption { text-align: center; margin-top: 14px; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .05em; line-height: 1.7; color: var(--muted); }
.c-coral { grid-column: 7 / 12; grid-row: 1; margin-top: 96px; }
.c-coral .card-name { max-width: none; }
.c-green { grid-column: 2 / 7; grid-row: 2; margin-top: 0; }
.c-purple { grid-column: 8 / 13; grid-row: 2; margin-top: 96px; }
.card-top .demo-see, .card-top .demo-trace, .card-top .demo-write { background:
    repeating-linear-gradient(to bottom, #DCE7EF 0 4px, transparent 4px 8px) 50% 0 / 1.5px 100% no-repeat,
    repeating-linear-gradient(to right, #DCE7EF 0 4px, transparent 4px 8px) 0 50% / 100% 1.5px no-repeat; }
.c-coral .card-top { background: #FFF7F2; }
/* きいて あてる */
.demo-listen { display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 1.6vw, 20px); width: 86%; }
.card-top .demo-listen { height: auto; width: 86%; aspect-ratio: auto; }
.dl-sp { flex: none; width: clamp(56px, 6vw, 90px); height: clamp(56px, 6vw, 90px); border-radius: 50%; background: var(--lav); color: var(--purple); display: grid; place-items: center; }
.dl-sp svg { width: 56%; height: 56%; }
.dl-row { flex: none; display: flex; gap: 8px; }
.dl-k { width: clamp(52px, 5.6vw, 76px); aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: #F4EFFF; border: 2px solid #D8CCF3; font-family: var(--f-hand); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); color: var(--purple); line-height: 1; }

/* カードの実演: JS で筆画を入れたあと、画面に入ったら1度だけ動かす */
.demo .d-stk { stroke-dasharray: 1 1; }
html.js .card:not(.is-in) .demo .d-stk { stroke-dashoffset: 1; }
html.js .card.is-in .demo-see .d-stk { stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.45, .05, .4, 1) calc(.4s + var(--k) * 1s); }
html.js .card:not(.is-in) .demo-see .sk-num { opacity: 0; }
html.js .card.is-in .demo-see .sk-num { opacity: 1; transition: opacity .3s calc(.25s + var(--k) * 1s); }
html.js .card.is-in .demo-trace .d-stk { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.45, .05, .4, 1) .6s; }
.demo-write .d-model { transition: opacity .8s .5s; }
html.js .card.is-in .demo-write .d-model { opacity: .16; }
html.js .card.is-in .demo-write .d-stk { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(.45, .05, .4, 1) 1.3s; }
html.js .card.is-in .dl-k { animation: wiggle .5s var(--ease) 3 both; animation-delay: .6s; }
html.js .card.is-in .dl-k:nth-child(2) { animation-delay: .7s; }
html.js .card.is-in .dl-k:nth-child(3) { animation-delay: .8s; }
html.js .card.is-in .dl-k.is-hit { animation: wiggle .5s var(--ease) 3, pick .45s var(--pop) 2.4s both; }
html:not(.js) .dl-k.is-hit { background: var(--purple); color: #fff; border-color: var(--purple); }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-7deg); } 70% { transform: rotate(6deg); } }
@keyframes pick { from { transform: scale(1); background: #F4EFFF; color: var(--purple); } 60% { transform: scale(1.14); } to { transform: scale(1.06); background: var(--purple); color: #fff; border-color: var(--purple); } }

/* ---------- 目玉: なぞってみよう ---------- */
.try { background: var(--try-bg); color: #fff; padding-block: clamp(84px, 9vw, 140px); overflow: hidden; }
.try::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(to right, #fff 1.5px, transparent 1.5px), linear-gradient(to bottom, #fff 1.5px, transparent 1.5px);
  background-size: 88px 88px; background-position: -1px -1px; }
.try-in { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(36px, 5.4vw, 88px); align-items: center; }
.try-title { font-size: clamp(56px, 8.4vw, 124px); line-height: 1.16; margin-top: 16px; }
.try-lead { margin-top: 26px; max-width: 24em; }
.try-ctrl { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.try-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { width: 52px; height: 52px; border-radius: 14px; border: 2px solid #F0C9C6; cursor: pointer; background: #fff; color: var(--coral-t); font-family: var(--f-hand); font-weight: 600; font-size: 30px; line-height: 1; transition: transform .15s var(--ease), background-color .15s, color .15s, border-color .15s; }
.pick:hover { border-color: var(--coral); }
.pick:active { transform: translateY(2px); }
.pick[aria-pressed="true"] { background: var(--coral-t); border-color: var(--coral-t); color: #fff; }

.try-act { display: flex; gap: 8px; }
.btn-s { min-height: 48px; padding: 0 18px; font-size: 15px; gap: 8px; }
.btn-s svg { width: 20px; height: 20px; }
.try-note { margin-top: 34px; padding-top: 18px; border-top: 1.5px dashed rgba(255, 255, 255, .55); font-size: 15px; line-height: 1.9; max-width: 30em; }

.try-stage { position: relative; background: #fff; color: var(--ink); border-radius: 40px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 12px 0 rgba(90, 20, 18, .25); }
.try-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.th-mode { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-label); font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--coral-t); }
.th-mode svg { width: 20px; height: 20px; }
.th-steps { display: flex; gap: 6px; }
.th-steps span { white-space: nowrap; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-family: var(--f-label); font-weight: 800; font-size: 14px; color: var(--muted); background: var(--paper); line-height: 1; transition: background-color .2s, color .2s; }
.th-steps span.is-cur { background: #fff; color: var(--coral-t); box-shadow: 0 0 0 2px var(--coral) inset; }
.th-steps span.is-done { background: var(--coral-t); color: #fff; }
.masu-try { display: block; width: 100%; aspect-ratio: 1; border-radius: 28px; border: 2px solid #F2BDBA; --cross: #EBD9D9; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.masu-try.is-busy { cursor: progress; }
.try-status { margin-top: 12px; min-height: 2.4em; text-align: center; font-family: var(--f-label); font-weight: 800; font-size: 17px; letter-spacing: .06em; line-height: 1.6; color: var(--ink); }
.try-status.is-good { color: var(--coral-t); }
.petals { position: absolute; inset: 0; pointer-events: none; }
/* JS が動かないときは、操作できない部品を出さない(手本と書き順の番号は見える) */
html:not(.js) .try-ctrl, html:not(.js) .try-status, html:not(.js) .try-head { display: none; }
.petal { position: absolute; left: 50%; top: 50%; width: 22px; height: 30px; margin: -15px 0 0 -11px; border-radius: 80% 0 80% 0; opacity: 0; }
.petal.go { animation: petal 1.5s cubic-bezier(.2, .7, .3, 1) forwards; animation-delay: var(--dl); }
@keyframes petal {
  0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.4); }
  10% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
}
.try-garden { position: relative; margin-top: 18px; border-radius: 24px; overflow: hidden; background: linear-gradient(#EAF7FF, #F6FBFF); }
.tg-scene { height: 132px; }
.tg-scene .garden { width: 100%; height: 100%; }
.tg-slots { position: absolute; left: 0; right: 0; top: 16px; display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 16px); }
.slot { width: clamp(46px, 5vw, 58px); aspect-ratio: 1; border-radius: 50%; border: 2px dashed #A9C2D3; background: rgba(255, 255, 255, .65); display: grid; place-items: center; }
.slot.is-on { border: 3px solid #fff; background: #fff; box-shadow: 0 3px 0 rgba(36, 62, 88, .14); }
.slot svg { width: 78%; height: 78%; }
.slot.is-on svg { animation: stick .5s var(--pop) both; }
@keyframes stick { from { transform: scale(.3) rotate(-30deg); } to { transform: scale(1) rotate(0); } }
.tg-cap { padding: 10px 18px 14px; position: relative; font-size: 14px; line-height: 1.75; color: var(--muted); text-align: center; background: #F6FBFF; }
.fly { position: fixed; z-index: 60; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; display: grid; place-items: center; pointer-events: none; box-shadow: 0 3px 0 rgba(36, 62, 88, .18); }
.fly svg { width: 78%; height: 78%; }

/* ---------- 249の教材 ---------- */
.kyozai { background: var(--blue); color: #fff; padding-block: clamp(84px, 9vw, 140px); overflow: hidden; }
.ky-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.ky-title { margin-top: 10px; display: flex; align-items: baseline; flex-wrap: nowrap; gap: 0 12px; line-height: 1; white-space: nowrap; }
.ky-num { font-family: var(--f-label); font-weight: 800; font-size: clamp(96px, 12.4vw, 190px); letter-spacing: -.02em; line-height: .92; }
.ky-unit { white-space: nowrap; font-family: var(--f-hand); font-weight: 600; font-size: clamp(36px, 3.8vw, 52px); letter-spacing: .04em; }
.ky-break { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.kb-kana { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 6px 12px; border-radius: 20px; background: rgba(4, 50, 82, .2); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .45) inset; }
.kb-kana > div { padding: 0 14px; }
.kb-kana > div + div { border-left: 1.5px dashed rgba(255, 255, 255, .45); }
.kb-num { padding: 14px 16px 12px; border-radius: 20px; border: 1.5px dashed rgba(255, 255, 255, .6); }
.ky-break .u2 { font-size: 15px; margin-left: 4px; }
.kb-num .n { font-size: clamp(28px, 2.6vw, 36px) !important; }
.kb-num .u { font-size: .8em !important; transform: translateY(-.08em); display: inline-block; padding-inline: 3px !important; }
.sm-kana span { transform: translate(10%, -12%); }
.ky-break dt { font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .08em; line-height: 1.6; }
.ky-break dd { white-space: nowrap; display: flex; align-items: baseline; gap: 2px; font-family: var(--f-label); font-weight: 800; line-height: 1.2; }
.ky-break .n { font-size: clamp(36px, 3.6vw, 48px); letter-spacing: 0; }
.ky-break .u { font-size: 22px; padding-inline: 2px; }
.ky-text { margin-top: 26px; max-width: 31em; }
.ky-extra { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 18px; }
.ky-extra li { display: inline-flex; align-items: center; gap: 10px; }
.ky-extra .masu { color: var(--ink); border-color: #fff; }
.xl { font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .06em; line-height: 1.5; }
.ky-chart { min-width: 0; }
.ky-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 5px 0 rgba(4, 50, 82, .3); }
.ks { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-family: var(--f-label); font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--muted); transition: background-color .2s, color .2s; }
.ks[aria-pressed="true"] { background: var(--blue); color: #fff; }
.ks:hover:not([aria-pressed="true"]) { color: var(--blue-t); }
.gojuon { --g: clamp(30px, 3.95vw, 54px); margin-top: 22px; display: grid; grid-template-rows: repeat(5, var(--g)); grid-auto-flow: column; grid-auto-columns: var(--g); gap: clamp(4px, .5vw, 7px); direction: rtl; justify-content: start; }
.gj { direction: ltr; display: grid; place-items: center; border-radius: clamp(7px, .8vw, 11px); line-height: 1; font-family: var(--f-hand); font-weight: 600; font-size: calc(var(--g) * .6); color: var(--ink);
  background:
    repeating-linear-gradient(to bottom, #DCE7EF 0 3px, transparent 3px 6px) 50% 0 / 1px 100% no-repeat,
    repeating-linear-gradient(to right, #DCE7EF 0 3px, transparent 3px 6px) 0 50% / 100% 1px no-repeat,
    #fff; }
.gj-e { background: none; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .2) inset; }
html.js .gojuon:not(.is-in) .gj { opacity: 0; transform: translateY(22px) scale(.9); }
html.js .gojuon.is-in .gj { transition: opacity .45s var(--ease), transform .6s var(--pop); transition-delay: calc(var(--i) * 55ms + var(--r, 0) * 35ms); }
.gj.flip { animation: flip .5s var(--ease) both; animation-delay: calc(var(--i) * 40ms + var(--r, 0) * 25ms); }
@keyframes flip { 0% { transform: none; } 45% { transform: translateY(-10px) scale(.86); opacity: .2; } 100% { transform: none; opacity: 1; } }
.ky-cap { margin-top: 18px; font-size: 15px; line-height: 1.85; max-width: 38em; }

/* ---------- 書き順のガイドと判定 ---------- */
.guide { background: var(--mint); padding-top: clamp(84px, 9vw, 140px); }
.sec-head-wide .h2 { max-width: 14em; }
.g-main { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.g-device { position: relative; justify-self: center; width: min(100%, 430px); }
.ipad { position: relative; background: #1E3245; border-radius: clamp(22px, 2.4vw, 34px); padding: clamp(9px, 1vw, 14px); box-shadow: 0 0 0 1.5px #3A5571 inset, var(--sh-soft); }
.ipad img, .ipad .scr { border-radius: clamp(13px, 1.4vw, 20px); width: 100%; }
.ipad .scr { position: relative; overflow: hidden; }
.ipad-p { padding: clamp(10px, 1.2vw, 16px); }
.g-pins { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-pins .pin { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.5; }
.g-pins .pin-l { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.g-pins text { font-family: var(--f-label); font-weight: 800; font-size: 17px; fill: var(--ink); text-anchor: middle; }
.g-points { display: grid; gap: 30px; counter-reset: gp; }
.g-points li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
.gp-n { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--f-label); font-weight: 800; font-size: 24px; line-height: 1; }
.gp-more { background: #fff; }
.gp-more svg { width: 26px; height: 26px; }
.g-points h3 { font-family: var(--f-hand); font-weight: 600; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.45; letter-spacing: .04em; font-feature-settings: "palt"; }
.g-points p { margin-top: 6px; max-width: 26em; }

.g-notice { margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); border-radius: 40px; background: #fff; box-shadow: var(--sh-soft); }
.gn-head p { margin-top: 18px; }
.gn-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.gn-list li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: #F3FBF7; box-shadow: 0 0 0 1.5px #CBEBDB inset; }
.gx { width: 60px; height: 60px; font-size: 38px; position: relative; color: var(--ink); --cross: #DDEBE4; }
.gx svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gx-mirror span { transform: scaleX(-1); color: var(--green); }
.gx-dakuten i { position: absolute; right: 5px; top: 5px; width: 16px; height: 16px; border-radius: 50%; border: 2px dashed var(--orange); }
.gx-small span { font-size: 44px; color: var(--green); }
.gn-t { font-family: var(--f-label); font-weight: 800; font-size: 15px; letter-spacing: .05em; line-height: 1.55; }

.g-shots { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }
.shot { grid-column: 1 / 7; }
.shot-2 { grid-column: 7 / 13; margin-top: 72px; }
.shot figcaption, .gd-shot figcaption, .pa-check figcaption { margin-top: 16px; font-family: var(--f-label); font-weight: 800; font-size: 15px; letter-spacing: .05em; line-height: 1.7; display: flex; gap: 10px; }
.shot figcaption::before, .gd-shot figcaption::before, .pa-check figcaption::before { content: ""; width: 18px; height: 2.5px; margin-top: .8em; border-radius: 2px; background: currentColor; flex: none; }
.honest { margin-top: clamp(48px, 5vw, 72px); max-width: 860px; margin-inline: auto; padding: 26px 32px; border-radius: 26px; border: 2px dashed var(--green); background: rgba(255, 255, 255, .55); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: baseline; }
.honest-t { font-family: var(--f-label); font-weight: 800; font-size: 15px; letter-spacing: .08em; color: var(--green-t); white-space: nowrap; }

/* ---------- シールと庭 ---------- */
.gd { background: var(--sky); padding-top: clamp(84px, 9vw, 140px); }
.gd-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.gd-shot { transform: rotate(1.6deg); }
.stages { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); position: relative; }
.stages li { position: relative; }
.stg-scene { border-radius: 22px; overflow: hidden; background: linear-gradient(#C9EAFF, #EAF7FF 70%); aspect-ratio: 400 / 250; box-shadow: 0 0 0 3px #fff, var(--sh-soft); }
.stg-scene .garden { width: 100%; height: 100%; }
.stg-n { margin-top: 40px; display: flex; justify-content: center; align-items: baseline; gap: 3px; font-family: var(--f-label); font-weight: 800; line-height: 1; position: relative; }
.stg-n::before { content: ""; position: absolute; z-index: 1; left: 50%; top: -27px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px var(--sky); }
.stages li:not(:last-child) .stg-n::after { content: ""; position: absolute; left: 50%; top: -21.5px; width: calc(100% + clamp(10px, 1.4vw, 18px)); height: 3px; border-radius: 2px; background: repeating-linear-gradient(to right, #9EC3DA 0 8px, transparent 8px 14px); }
.stg-n .n { font-size: clamp(26px, 2.6vw, 38px); color: var(--purple); }
.stg-n .u { font-size: 15px; color: var(--ink); }
.stages li:last-child .stg-n::before { background: var(--yellow); box-shadow: 0 0 0 4px var(--sky), 0 0 0 6px var(--purple); }
.album { margin-top: clamp(64px, 7vw, 100px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.6vw, 48px); border-radius: 40px; background: #fff; box-shadow: var(--sh-soft); }
.album-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-family: var(--f-label); font-weight: 800; line-height: 1; color: var(--purple); }
.album-big .n { font-size: clamp(76px, 8vw, 112px); letter-spacing: -.02em; }
.album-big .u { font-family: var(--f-hand); font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); color: var(--ink); }
.album-text { margin-top: 16px; }
.album-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(164px, 1fr)); gap: 12px; }
.album-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: var(--paper); }
.album-list svg { grid-row: 1 / 3; width: 52px; height: 52px; padding: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--line) inset, 0 3px 0 rgba(36, 62, 88, .08); }
.al-t { white-space: nowrap; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .02em; line-height: 1.4; align-self: end; }
.al-n { font-family: var(--f-label); font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--purple-t); align-self: start; }
.al-n::after { content: "種"; font-size: 13px; margin-left: 2px; color: var(--muted); }

/* ---------- 練習のひろがり ---------- */
.more { padding-top: clamp(84px, 9vw, 140px); }
.bento { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  grid-template-areas:
    "drill drill drill drill drill drill drill drill line line line line"
    "word word word word word word word word num num num num"
    "name name name name name name name name num num num num"
    "review review review review review review review review paper paper paper paper"; }
.pn { position: relative; border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 36px); background: #fff; box-shadow: 0 0 0 1.5px var(--line) inset; min-width: 0; overflow: hidden; }
.pn p { font-size: 17px; line-height: 1.9; }
.pn-k { font-family: var(--f-label); font-weight: 800; font-size: 14px !important; letter-spacing: .1em; color: var(--muted); }
.pn-h { margin-top: 8px; font-family: var(--f-hand); font-weight: 600; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.45; letter-spacing: .04em; font-feature-settings: "palt"; }
.pn-h + p, .pn-big + p { margin-top: 12px; }
.pn-big { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font-family: var(--f-label); font-weight: 800; line-height: 1; }
.pn-big .n { font-size: clamp(64px, 6.6vw, 96px); letter-spacing: -.02em; }
.pn-big .u { font-family: var(--f-hand); font-weight: 600; font-size: clamp(22px, 2vw, 28px); }
.pn-drill { grid-area: drill; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: center; }
.pn-drill .pn-big .n { color: var(--blue); }
.pn-line { grid-area: line; background: var(--lav); box-shadow: none; display: flex; flex-direction: column; }
.pn-line .pn-big .n { color: var(--purple); }
.lines { margin-top: auto; padding-top: 18px; width: 100%; }
.lines path, .lines circle { fill: none; stroke: var(--purple); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
html.js .pn-line:not(.is-in) .lines > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .pn-line.is-in .lines > * { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease); }
html.js .pn-line.is-in .lines > :nth-child(2) { transition-delay: .15s; } html.js .pn-line.is-in .lines > :nth-child(3) { transition-delay: .3s; }
html.js .pn-line.is-in .lines > :nth-child(4) { transition-delay: .45s; } html.js .pn-line.is-in .lines > :nth-child(5) { transition-delay: .6s; } html.js .pn-line.is-in .lines > :nth-child(6) { transition-delay: .75s; }
.pn-word { grid-area: word; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: center; }
.pn-num { grid-area: num; background: var(--peach); box-shadow: none; display: flex; flex-direction: column; gap: 24px; }
.pn-num .pn-dev { width: min(62%, 260px); align-self: center; margin-top: auto; transform: rotate(-3deg); }
.pn-name { grid-area: name; background: none; box-shadow: none; padding-inline: clamp(4px, 1vw, 12px); }
.name-steps { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 140px) auto; justify-content: start; align-items: start; gap: 16px 22px; counter-reset: ns; }
.name-steps li { display: grid; justify-items: start; gap: 10px; position: relative; }
.ns-t { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .03em; line-height: 1.5; }
.ns-t b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; }
.masu.ns { width: 84px; height: 84px; border-radius: 14px; font-size: 52px; --cross: #DDEBE4; }
.masu.ns svg { width: 100%; height: 100%; }
.ns-all { display: flex; }
.ns-all .masu { margin-right: -1.5px; border-radius: 0; color: var(--green); width: 64px; height: 84px; font-size: 44px; }
.ns-all .masu:first-child { border-radius: 14px 0 0 14px; }
.ns-all .masu:last-child { border-radius: 0 14px 14px 0; }
.pn-review { grid-area: review; background: var(--sky); box-shadow: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.pn-review .pn-dev { width: 100%; }
.pn-paper { grid-area: paper; background: none; box-shadow: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; padding-inline: clamp(4px, 1vw, 12px); }
.pn-paper .paper { width: clamp(140px, 12vw, 180px); }
.paper { width: clamp(150px, 15vw, 210px); aspect-ratio: 210 / 297; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1.5px var(--line), 8px 8px 0 var(--peach); padding: 12% 9%; display: flex; flex-direction: column; gap: 8%; transform: rotate(-4deg); }
.pp-h { height: 7%; width: 52%; border-radius: 3px; background: var(--peach); }
.pp-row { display: flex; }
.pp-row .masu { width: 25%; height: auto; aspect-ratio: 1; border-radius: 0; margin-right: -1px; font-size: clamp(20px, 2vw, 28px); --cross: #E2EAF0; border-width: 1px; }
.pp-row .ghost { color: #C8D5DF; }

/* ---------- 保護者の方へ ---------- */
.parents { background: #fff; padding-block: clamp(84px, 9vw, 140px); }
.pa-in { display: block; }
.pa-check { margin-top: 16px; }
.pa-check figcaption { margin-top: 10px !important; font-size: 14px !important; color: var(--muted); }
.pa-check img { border-radius: 18px; box-shadow: 0 0 0 1.5px var(--edge, var(--line)), var(--sh-soft); }
.pa-groups { margin-top: clamp(40px, 4.4vw, 60px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pa-g { --acc: var(--blue); --tint: #F2F9FE; --edge: #D3E6F3; border-radius: 30px; background: var(--tint); box-shadow: 0 0 0 1.5px var(--edge) inset; padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.6vw, 36px) clamp(8px, 1vw, 14px); }
.pa-g2 { --acc: var(--green); --tint: #F0FAF5; --edge: #CDEBDB; }
.pa-g3 { --acc: var(--purple); --tint: #F7F3FF; --edge: #E0D6F6; }
.pa-gh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-bottom: 14px; }
.pa-gk { font-family: var(--f-hand); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.3; letter-spacing: .06em; color: var(--acc); }
.pa-gs { font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .06em; line-height: 1.6; color: var(--muted); }
.pa-list { display: grid; }
.pa-list li { padding: 20px 0; border-top: 1.5px dashed var(--edge); }
.pa-i { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: #fff; color: var(--acc); box-shadow: 0 0 0 1.5px var(--edge) inset; flex: none; }
.pa-list h4 { display: flex; align-items: center; gap: 10px; font-family: var(--f-label); font-weight: 800; font-size: 18px; letter-spacing: .04em; line-height: 1.5; }
.pa-list p { margin-top: 10px; font-size: 16px; line-height: 1.85; }
.limit { display: inline-flex !important; align-items: center; gap: 12px; margin-top: 14px !important; padding: 12px 20px 12px 14px; border-radius: 18px; background: var(--peach); box-shadow: 0 0 0 1.5px #F3DDA9 inset; font-family: var(--f-label); font-weight: 800; font-size: 15px !important; line-height: 1.6 !important; letter-spacing: .06em; color: var(--ink); }
.limit svg { width: 34px; height: 34px; padding: 5px; border-radius: 50%; background: #fff; color: var(--orange); flex: none; }
.ease { display: flex; gap: 6px; margin-top: 14px !important; }
.ease span { width: 46px; height: 10px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1.5px var(--edge) inset; }
.ease span.on { background: var(--acc); box-shadow: none; }
.report { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.rp { display: grid; justify-items: center; gap: 6px; }
.rp-box { width: 84px; height: 84px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1.5px var(--edge) inset; display: block;
  background-image: repeating-linear-gradient(to bottom, #DDEBE4 0 4px, transparent 4px 8px), repeating-linear-gradient(to right, #DDEBE4 0 4px, transparent 4px 8px);
  background-size: 1.5px 100%, 100% 1.5px; background-position: 50% 0, 0 50%; background-repeat: no-repeat; }
.rp-box svg { width: 100%; height: 100%; }
.rp-t { white-space: nowrap; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .05em; color: var(--muted); }
.rp-arrow { width: 40px; height: 20px; color: var(--green); margin-bottom: 26px; }
.gate { display: flex; align-items: center; gap: 10px; margin-top: 14px !important; }
.gate .masu { font-family: var(--f-label); font-weight: 800; font-size: 24px; }
.gate .qm { color: var(--blue); border: 2px dashed var(--blue); background: #fff; }
.gate .op { font-family: var(--f-label); font-weight: 800; font-size: 22px; color: var(--muted); }

/* ---------- よくある質問 ---------- */
.faq { padding-block: clamp(84px, 9vw, 130px); }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-more { margin-top: 26px; font-size: 15px; line-height: 1.9; max-width: 18em; }
.faq-more a { color: var(--blue-t); text-underline-offset: 3px; }
.faq-more svg { display: inline-block; width: 14px; height: 14px; margin: 0 2px 0 4px; vertical-align: -1px; }
.faq details { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1.5px var(--line) inset; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 0 0 2px var(--blue) inset; }
.faq summary { list-style: none; display: grid; grid-template-columns: 36px minmax(0, 1fr) 28px; gap: 14px; align-items: center; min-height: 72px; padding: 14px 20px; cursor: pointer; border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .qt { color: var(--blue-t); }
.q { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--f-label); font-weight: 800; font-size: 17px; line-height: 1; }
.qt { font-family: var(--f-label); font-weight: 800; font-size: 17px; letter-spacing: .04em; line-height: 1.6; transition: color .15s; }
.qi { width: 24px; height: 24px; color: var(--blue); transition: transform .25s var(--ease); justify-self: end; }
.faq details[open] .qi { transform: rotate(45deg); }
.a { padding: 0 24px 22px 70px; }
.a p { font-size: 17px; max-width: 34em; }
.faq-garden { margin-top: 28px; width: min(100%, 320px); aspect-ratio: 420 / 230; border-radius: 24px; overflow: hidden; background: linear-gradient(#C9EAFF, #EAF7FF 70%); box-shadow: 0 0 0 3px #fff, var(--sh-soft); }
.faq-garden .garden { width: 100%; height: 100%; }

/* ---------- 公開準備中 ---------- */
.release { background: linear-gradient(var(--paper), #D5EEFF 55%, #C9EAFF); padding-top: clamp(84px, 9vw, 130px); overflow: hidden; }
.rl-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rl-icon { width: 112px; height: 112px; border-radius: 28px; box-shadow: var(--sh-soft); }
.rl-logo { margin-top: 26px; display: flex; font-family: var(--f-label); font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: .08em; line-height: 1; }
.rl-title { margin-top: 26px; font-family: var(--f-hand); font-weight: 600; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.4; letter-spacing: .04em; font-feature-settings: "palt"; }
.rl-text { margin-top: 16px; max-width: 36em; }
.rl-spec { margin-top: 2px; font-family: var(--f-label); font-weight: 800; font-size: 15px; letter-spacing: .05em; color: var(--muted); }
.badge-lg { margin-top: 26px; min-height: 38px; padding: 0 16px 0 14px; font-size: 15px; }
.rl-stickers { position: absolute; inset: 0; pointer-events: none; }
.rl-stickers .rs { position: absolute; width: 54px; height: 54px; padding: 6px; border-radius: 50%; background: #fff; box-shadow: 0 3px 0 rgba(36, 62, 88, .16); }

/* ---------- フッター ---------- */
.ft { background: #fff; border-top: 1.5px solid var(--line); padding-block: 44px 40px; }
.ft-note { font-size: 14px; line-height: 1.8; color: var(--ink); padding-bottom: 26px; border-bottom: 1.5px dashed var(--line); }
.ft-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.ft .brand img { width: 36px; height: 36px; border-radius: 10px; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.ft-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; font-family: var(--f-label); font-weight: 800; font-size: 14.5px; letter-spacing: .05em; text-decoration: none; }
.ft-nav a:hover { background: var(--paper); color: var(--blue-t); }
.ft-nav svg { width: 16px; height: 16px; }
.credits { margin-top: 22px; display: grid; gap: 10px; font-size: 13px; line-height: 1.8; color: #3F566C; }
.credits a { color: var(--blue-t); }
.copy { display: block; margin-top: 18px; font-family: var(--f-label); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--muted); }

/* ---------- 出現(JS が有効なときだけ初期状態を隠す) ---------- */
html.js [data-reveal]:not(.band):not(.gojuon):not(.stages) { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-reveal].is-in:not(.band):not(.gojuon):not(.stages) { opacity: 1; transform: none; }
html.js .gd-shot[data-reveal].is-in { transform: rotate(1.6deg); }
html.js .hero-title .c { animation: cellIn .6s var(--pop) both; animation-delay: calc(var(--n, 0) * 45ms + 120ms); }
@keyframes cellIn { from { opacity: 0; transform: translateY(18px) scale(.86); } to { opacity: 1; transform: none; } }
/* 庭が育つ: g-new の要素だけ、画面に入ったら下から伸びる */
html.js .band:not(.is-in) .g-new > g, html.js .band:not(.is-in) .g-new .fl, html.js .stages:not(.is-in) .g-new > g, html.js .stages:not(.is-in) .g-new .fl { transform: scale(0); }
html.js .band.is-in .g-new > g, html.js .band.is-in .g-new .fl, html.js .stages.is-in .g-new > g, html.js .stages.is-in .g-new .fl { transform: none; transition: transform .7s var(--pop) calc(var(--d, 0) * 1ms + var(--sd, 0) * 1ms); }
html.js .band:not(.is-in) .g-new path[stroke-width], html.js .stages:not(.is-in) .g-new path[stroke-width] { stroke-dashoffset: 1; }
.garden .gs4 path { stroke-dasharray: 1; }
html.js .band.is-in .gs4.g-new path, html.js .stages.is-in .gs4.g-new path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) calc(var(--sd, 0) * 1ms + 200ms); }
.stages li:nth-child(2) { --sd: 250; } .stages li:nth-child(3) { --sd: 500; } .stages li:nth-child(4) { --sd: 750; } .stages li:nth-child(5) { --sd: 1000; } .stages li:nth-child(6) { --sd: 1250; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; animation-delay: 0s !important; }
  html.js [data-reveal]:not(.band):not(.gojuon):not(.stages) { opacity: 1; transform: none; }
  html.js .gd-shot[data-reveal] { transform: rotate(1.6deg); }
  html.js .band .g-new > g, html.js .band .g-new .fl, html.js .stages .g-new > g, html.js .stages .g-new .fl { transform: none !important; }
  html.js .garden .gs4 path { stroke-dashoffset: 0 !important; }
  html.js .gojuon .gj { opacity: 1 !important; transform: none !important; }
  html.js .card .demo .d-stk, html.js .lines > * { stroke-dashoffset: 0 !important; }
  html.js .card .demo-see .sk-num { opacity: 1 !important; }
  html.js .card .demo-write .d-model { opacity: .16; }
  .dl-k.is-hit { background: var(--purple) !important; color: #fff !important; border-color: var(--purple) !important; }
  .sk-num.is-next circle { animation: none; }
}

@media (max-width: 1279px) {
  .gn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .name-steps { grid-template-columns: repeat(2, auto); }
}

/* ---------- タブレット ---------- */
@media (max-width: 1099px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-fig { max-width: 620px; width: 100%; margin-inline: auto; }
  .hero-title { --cs: clamp(50px, 10vw, 92px); }
  .asobi .sec-head { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-blue { grid-column: 1; grid-row: 1; }
  .c-coral { grid-column: 2; grid-row: 1; margin-top: 70px; }
  .c-green { grid-column: 1; grid-row: 2; margin-top: 0; }
  .c-purple { grid-column: 2; grid-row: 2; margin-top: 70px; }
  .home-shot { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
  .c-coral .card-top, .c-blue .card-top, .c-green .card-top, .c-purple .card-top { aspect-ratio: 1 / .8; }
  .asobi .sec-head .sec-lead { grid-column: 1; grid-row: auto; margin-top: 22px; }
  .try-in { grid-template-columns: minmax(0, 1fr); }
  .try-stage { max-width: 640px; width: 100%; justify-self: center; }
  .ky-in { grid-template-columns: minmax(0, 1fr); }
  .gojuon { --g: clamp(26px, 7vw, 58px); }
  .g-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g-notice { grid-template-columns: minmax(0, 1fr); }
  .gn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-top { grid-template-columns: minmax(0, 1fr); }
  .gd-shot { max-width: 640px; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .stages li .stg-n::after { display: none !important; }
  .album { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-areas:
    "drill drill drill drill drill drill drill drill drill drill drill drill"
    "line line line line line line num num num num num num"
    "name name name name name name num num num num num num"
    "word word word word word word word word word word word word"
    "review review review review review review review review review review review review"
    "paper paper paper paper paper paper paper paper paper paper paper paper"; }
  .pn-review { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
  .pa-in { grid-template-columns: minmax(0, 1fr); }
  .pa-side { position: static; }
  .pa-check { max-width: 560px; }
  .faq-in { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 1.9; }
  .card-d, .pn p, .a p, .pa-list p { font-size: 16px; }
  .faq-garden { width: 220px; margin-top: 20px; }
  .pa-check { width: 100%; }
  .rp-box { width: 72px; height: 72px; }
  .limit { font-size: 14px !important; padding: 10px 14px 10px 10px; }
  .hero { padding-top: 22px; }
  .hero-copy { display: contents; }
  .hero-in { gap: 0; }
  .eyebrow { justify-self: start; font-size: 14px; }
  .hero-title { --cs: calc((100vw - var(--gut) * 2) / 6.08); margin-top: 20px; gap: 8px; }
  .lead { order: 0; margin-top: 22px; font-size: 16px; }
  .hero-fig { order: 1; margin-top: 30px; padding: 26px 22px 80px; }
  .hero-status { order: 2; margin-top: 26px; }
  .marks { order: 3; }
  .hero-cta { order: 4; margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-panel { border-radius: 34px; inset: 0 0 44px 8px; }
  .masu-hero { border-radius: 24px; }
  .hero-fig { padding: 22px 20px 0; }
  .hero-panel { inset: 0 0 60px 6px; }
  .masu-hero { margin-left: 0; width: 84%; }
  .hero-row { position: static; margin-top: 30px; }
  .hero-row .masu.sm { width: 52px; height: 52px; font-size: 32px; }
  .hero-cap { position: static; justify-content: flex-start; width: 100%; margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .cards { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .c-blue, .c-coral, .c-green, .c-purple, .home-shot { grid-column: 1; grid-row: auto; margin: 0; }
  .c-coral { margin-left: 8%; }
  .c-green { margin-right: 8%; }
  .c-purple { margin-left: 8%; }
  .c-blue .card-top, .c-coral .card-top, .c-green .card-top { aspect-ratio: 16 / 10; }
  .c-purple .card-top { aspect-ratio: 16 / 12; }
  .dl-k { width: clamp(40px, 13vw, 58px); font-size: clamp(24px, 7.6vw, 34px); }
  .ky-break { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ky-break .n { font-size: 28px; }
  .gojuon { --g: calc((100vw - var(--gut) * 2 - 30px) / 11); gap: 3px; }
  .try-title { font-size: clamp(54px, 17vw, 80px); }
  .try-pick { gap: 10px; }
  .pick { width: 56px; height: 56px; font-size: 31px; border-radius: 14px; }
  .try-stage { border-radius: 30px; padding: 16px; }
  .masu-try { border-radius: 22px; }
  .tg-scene { height: 112px; }
  .try-in { gap: 44px; }
  .try-copy { display: contents; }
  .try-copy > .label { order: 0; } .try-title { order: 1; } .try-lead { order: 2; }
  .try-pick { order: 3; margin-top: 26px; } .try-act { order: 4; }
  .try-stage { order: 5; margin-top: 30px; }
  .try-note { order: 6; margin-top: 26px; }
  .try-in { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ky-num { font-size: clamp(110px, 37vw, 160px); }
  .ky-break > div { min-width: 0; padding: 12px 12px 10px; }
  .ky-break .n { font-size: 32px; }
  .ky-break .u { font-size: 18px; }
  .g-main { grid-template-columns: minmax(0, 1fr); }
  .g-device { width: min(86%, 360px); }
  .gn-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gn-list li { padding: 10px 12px; }
  .gx { width: 52px; height: 52px; font-size: 32px; }
  .g-notice { border-radius: 30px; padding: 24px 18px; }
  .g-shots { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .shot, .shot-2 { grid-column: 1; margin: 0; }
  .shot-2 { margin-left: 8%; }
  .honest { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .album-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .h3 { font-size: clamp(21px, 6.2vw, 26px); }
  .album-list li { grid-template-columns: 40px minmax(0, 1fr); padding: 10px; column-gap: 10px; }
  .album-list svg { width: 40px; height: 40px; padding: 5px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "drill" "line" "name" "word" "num" "review" "paper"; }
  .pn-drill, .pn-word, .pn-review, .pn-paper { grid-template-columns: minmax(0, 1fr); }
  .pn-num .pn-dev { width: 64%; }
  .pn-paper .paper { width: 44%; justify-self: center; }
  .name-steps { grid-template-columns: repeat(2, auto); }
  .pa-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .pa-i { width: 44px; height: 44px; padding: 8px; border-radius: 13px; }
  .pa-list h4 { font-size: 17px; padding-top: 6px; }
  .pa-list p { font-size: 16px; }
  .pa-g { border-radius: 24px; padding: 20px 16px 6px; }
  .faq summary { grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 12px; padding: 12px 16px; min-height: 64px; }
  .q { width: 32px; height: 32px; font-size: 15px; }
  .qt { font-size: 16px; }
  .a { padding: 0 18px 20px 18px; }
  .rl-icon { width: 92px; height: 92px; border-radius: 24px; }
  .ft-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 379px) {
  .th-mode { display: none; }
  .try-head { justify-content: flex-end; }
}
@media (max-width: 359px) {
  .pa-list li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pa-g { padding: 18px 14px 4px; }
  .rp-box { width: 64px; height: 64px; }
  .hd-menu { padding: 0 12px; gap: 6px; }
  .try-pick { gap: 8px; }
  .pick { width: 48px; height: 48px; font-size: 27px; border-radius: 12px; }
  .ky-break .n { font-size: 24px; }
  .ky-break .u { font-size: 15px; }
  .ky-break > div { padding: 10px 8px 8px; }
  .gn-t { font-size: 14px; }
  .btn { padding: 0 20px; font-size: 16px; }
  .badge-soon { font-size: 14px; padding: 0 14px 0 12px; }
  .ky-break { gap: 8px; }
}

/* ---------- 区画ごとの補足(PC) ---------- */
.band-try { margin-top: 0; background: var(--paper); height: clamp(96px, 10vw, 150px); }
.sp-only { display: none; }
.zoom { display: grid; gap: 10px; padding: 12px; border-radius: 22px; background: #EFF9FF; box-shadow: 0 0 0 1.5px var(--line) inset; }
.zoom img { width: 100%; border-radius: 12px; }
.zoom img + img { width: 84%; justify-self: center; }
.zoom-img { width: 100%; border-radius: 18px; box-shadow: 0 0 0 1.5px var(--line); }
.gp-more { background: #fff; color: var(--ink); }
.gp-more svg { width: 22px; height: 22px; }

/* ヘッダーのメニュー・タブレットの配置 */
.hd-nav a > span { white-space: nowrap; }
@media (max-width: 1359px) {
  .hd-nav { position: absolute; left: 0; right: 0; top: var(--hd); margin: 0; display: none; flex-direction: column; gap: 0; padding: 10px var(--gut) 22px; background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 18px 30px rgba(36, 62, 88, .10); }
  .hd-nav.is-open { display: flex; }
  .hd-nav a { min-height: 52px; font-size: 16px; border-bottom: 1.5px dashed var(--line); border-radius: 0; padding: 0 4px; }
  .hd-nav a:last-child { border-bottom: 0; }
  .hd-menu { display: inline-flex; }
  .hd-status { margin-left: auto; }
  html:not(.js) .hd-nav { display: none; }
}
@media (max-width: 1099px) {
  .pa-groups { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .bento { grid-template-areas:
    "drill drill drill drill drill drill drill drill drill drill drill drill"
    "line line line line line line num num num num num num"
    "name name name name name name num num num num num num"
    "word word word word word word word word word word word word"
    "review review review review review review review review review review review review"
    "paper paper paper paper paper paper paper paper paper paper paper paper"; }
  .pn-paper { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .name-steps { grid-template-columns: repeat(2, auto); }
  .cards .c-blue, .cards .c-coral, .cards .c-green, .cards .c-purple { margin-top: 0; }
  .cards .c-coral, .cards .c-purple { margin-top: 64px; }
}
/* スマホの配置 */
@media (max-width: 767px) {
  body { line-height: 1.85; }
  .pc-only { display: none; }
  .sp-only { display: grid; }
  img.sp-only { display: block; }
  .g-shots .shot .ipad, .pn-word .ipad, .pn-num .ipad { display: none; }
  .hero-cta { display: contents; }
  .hero-cta .btn-coral { order: 1; margin-top: 22px; width: 100%; }
  .hero-fig { order: 2; }
  .hero-status { order: 3; }
  .marks { order: 4; }
  .hero-cta .btn-line { order: 5; margin-top: 22px; width: 100%; }
  .lead { margin-top: 18px; }
  .hero-title { margin-top: 6px; }
  .band-hero { margin-top: 8px; }
  .asobi { padding-top: 56px; }
  .hero-row .masu.sm { width: 48px; height: 48px; font-size: 30px; }
  .cards .c-coral, .cards .c-purple, .cards .c-green, .cards .c-blue { margin: 0; }
  .cards { row-gap: 26px; }
  .card { gap: 12px; }
  .card-face { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; padding: 10px; border-radius: 24px; }
  .card-top { aspect-ratio: 1 / 1 !important; border-radius: 16px; }
  .card-top .demo { height: 74%; }
  .card-chip { display: none; }
  .card-name { padding: 6px 6px 6px 16px; }
  .card-t { font-size: 21px; }
  .demo-listen { width: 92%; gap: 6px; }
  .dl-sp { width: 34px; height: 34px; }
  .dl-k { width: 28px; font-size: 18px; border-radius: 7px; border-width: 1.5px; }
  .dl-row { gap: 3px; }
  .home-shot { margin-top: 8px; }
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 8px; }
  .try { padding-block: 56px 48px; }
  .try-title { font-size: clamp(48px, 15vw, 72px); }
  .try-lead { margin-top: 16px; }
  .try-stage { margin-top: 24px !important; padding: 14px; }
  .try-head { margin-bottom: 10px; }
  .try-status { margin-top: 8px; font-size: 15px; min-height: 2.6em; }
  .try-ctrl { margin-top: 2px; }
  .try-pick { width: 100%; justify-content: space-between; gap: 6px; margin-top: 0; }
  .pick { width: calc((100% - 24px) / 5); height: 52px; max-width: 60px; font-size: 29px; }
  .try-act { width: 100%; }
  .try-act .btn { flex: 1 1 0; }
  .ky-break { grid-template-columns: minmax(0, 1fr); }
  .kb-num { justify-self: start; }
  .ky-num { font-size: clamp(88px, 28vw, 128px); }
  .gojuon { --g: clamp(44px, 13vw, 54px); grid-template-rows: none; grid-template-columns: repeat(5, var(--g)); grid-auto-flow: row; grid-auto-columns: auto; direction: ltr; gap: 6px; justify-content: center; }
  .gj-e { visibility: hidden; }
  .stg-n::before { display: none; }
  .stg-n { margin-top: 12px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "drill" "line" "num" "name" "word" "review" "paper"; gap: 16px; }
  .pn-drill, .pn-word { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pn-review { grid-template-columns: minmax(0, 1fr); }
  .pn-review .pn-dev { width: 88%; justify-self: center; }
  .pn-paper { grid-template-columns: minmax(0, 1fr); }
  .name-steps { grid-template-columns: repeat(2, auto); gap: 18px 20px; }
  .masu.ns { width: 72px; height: 72px; }
  .ns-all .masu { width: 52px; height: 72px; font-size: 38px; }
  .pa-list li { display: block; padding: 18px 0; }
  .pa-list h4 { font-size: 17px; }
  .pa-i { width: 30px; height: 30px; padding: 5px; }
  .pa-g { padding: 20px 18px 6px; }
  .rl-text { max-width: 19em; }
  .zoom { margin-top: 0; }
}
@media (max-width: 359px) {
  .pick { height: 46px; font-size: 26px; }
  .masu.ns { width: 62px; height: 62px; }
  .ns-all .masu { width: 44px; height: 62px; font-size: 32px; }
  .gojuon { --g: 42px; }
  .ns-last { grid-column: 1 / -1; }
}

/* ---------- 4つのあそび・庭の帯・実演の盤・判定の例など ---------- */
/* 4つのあそび: PC は横4列の1段。区画を短くして、すぐ「なぞってみよう」へ */
.asobi { padding-top: clamp(48px, 5vw, 72px); }
.asobi-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 56px; align-items: end; }
.asobi-top .home-shot { margin: 0; grid-column: auto; grid-row: auto; }
.home-bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 0 0 1.5px var(--line) inset; font-family: var(--f-label); font-weight: 800; font-size: 13px; letter-spacing: .05em; color: var(--muted); }
.home-bar::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px #FFE9A6; }
.home-shot .home-grid { border-radius: 0 0 16px 16px; padding: 10px; gap: 8px; }
.home-shot figcaption { text-align: left; margin-top: 10px; font-size: 14px; }
.cards { margin-top: clamp(32px, 3.4vw, 48px); grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.cards .c-blue, .cards .c-coral, .cards .c-green, .cards .c-purple { grid-column: auto; grid-row: auto; margin: 0; }
.cards .c-coral, .cards .c-purple { margin-top: 32px; }
.card-d { font-size: 16px; line-height: 1.85; width: 100%; }
.band-asobi { margin-top: 16px; }
/* 庭の帯: 途中は低く、終わりに向かって高く */
.band { height: clamp(70px, 7.4vw, 110px); }
.band-garden, .band-more { height: clamp(90px, 9vw, 140px); }
.band-hero { height: clamp(90px, 8.4vw, 124px); }
.band-try { height: clamp(70px, 7vw, 100px); }
.band-release { height: clamp(160px, 16vw, 230px); }
/* なぞってみよう: 1440×900 で、マス・操作・庭のマスが1画面に収まる */
.try { padding-block: clamp(56px, 6vw, 88px); }
.try-in { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
.try-copy { padding-top: 24px; }
.masu-try { width: clamp(300px, 44vh, 420px); margin-inline: auto; }
.try-stage { width: calc(clamp(300px, 44vh, 420px) + 2 * clamp(18px, 2.4vw, 30px)); max-width: 100%; justify-self: end; }
.try-ctrl { flex-direction: column; align-items: stretch; }
.try-pick { justify-content: space-between; }
.try-act { width: 100%; }
.try-act .btn { flex: 1 1 0; }
.tg-scene { height: 96px; }
.try-note-1 { margin-top: 26px; padding-top: 0; border-top: 0; }
.try-note-1 + .try-note { margin-top: 12px; }
/* 判定の例: 絵は1つ。案内の文はページの文字で引用 */
.say { margin: 14px 0 0; padding: 14px 18px; border-radius: 16px; background: #fff; border-left: 4px solid var(--coral); font-family: var(--f-label); font-weight: 800; font-size: 16px; line-height: 1.75; letter-spacing: .04em; color: var(--coral-t); }
.say p { margin: 0; }
.w { white-space: nowrap; }
.w + .w, .w + wbr + .w { margin-left: .5em; }
.shot .ipad { margin-bottom: 0; }
/* 五十音表: 切り替えと注記の左右の線にそろえる */
.gojuon { container-type: inline-size; width: 100%; --g: auto; grid-template-rows: repeat(5, auto); grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; direction: rtl; gap: clamp(4px, .5vw, 7px); justify-content: stretch; }
.gj { aspect-ratio: 1; font-size: min(5.4cqi, 34px); }
.kb-num .n { font-size: clamp(36px, 3.6vw, 48px) !important; }
.kb-num dd { align-items: baseline; }
.ky-title { gap: 0 8px; }
.album-big { gap: 4px 8px; }
/* シールの分類: 4つ+3つ */
.album-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* かずのひろば: 端末は傾けない */
.pn-num .pn-dev { transform: none; }
/* 保護者の方へ: 列は中身の高さで終える */
.pa-groups { align-items: start; }
/* 公開準備の締め: 間を詰める */
.release { padding-top: clamp(56px, 6vw, 88px); }
.rl-logo { margin-top: 20px; }
.rl-title { margin-top: 20px; }
/* 出典 */
.credits { font-size: 14px; gap: 6px; }
@media (max-width: 1099px) {
  .asobi-top { grid-template-columns: minmax(0, 1fr); }
  .home-shot { max-width: 420px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards .c-coral, .cards .c-purple { margin-top: 32px; }
  .try-stage { justify-self: center; }
  .album-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .asobi { padding-top: 48px; }
  .home-shot { max-width: 280px; }
  .cards { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .cards .c-coral, .cards .c-purple { margin-top: 0; }
  .try-stage { width: 100%; }
  .masu-try { width: 100%; }
  .gojuon { grid-template-rows: none; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; direction: ltr; gap: 6px; }
  .gj { font-size: min(10cqi, 30px); }
  .kb-num { display: flex; align-items: baseline; justify-content: space-between; justify-self: stretch; }
  .album-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .name-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .name-steps li { grid-template-columns: auto minmax(0, 1fr); display: grid; align-items: center; justify-items: start; column-gap: 14px; }
  .masu.ns { width: 64px; height: 64px; }
  .ns-all .masu { width: 46px; height: 64px; font-size: 34px; }
  .ns-last { grid-column: auto; }
  .pn-paper .paper { justify-self: start; width: 46%; }
  .say { font-size: 15px; padding: 12px 14px; }
  .band { height: 64px; }
  .band-hero { height: 80px; }
  .band-release { height: 150px; }
}
.asobi { padding-bottom: clamp(40px, 4vw, 56px); }
.cards .card-top { aspect-ratio: 16 / 10.5; }
.cards .c-coral, .cards .c-purple { margin-top: 24px; }
.cards { margin-top: 32px; }
.dl-k { width: clamp(42px, 4vw, 58px); font-size: clamp(24px, 2.5vw, 34px); }
.dl-sp { width: clamp(48px, 4.6vw, 70px); height: clamp(48px, 4.6vw, 70px); }
.try { padding-top: clamp(48px, 4.4vw, 64px); }
.try-copy { padding-top: 0; }
@media (max-width: 767px) {
  .cards .card-top { aspect-ratio: 1 / 1; }
  .cards .c-coral, .cards .c-purple { margin-top: 0; }
  .dl-sp { width: 34px; height: 34px; }
  .dl-k { width: 28px; font-size: 18px; }
}
/* 実画面の部品(カードの窓、段階の名前、画面の並び) */
.cards .card-top { background: #EFF9FF; }
.card-top img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.stg-name { margin-top: 6px; text-align: center; font-family: var(--f-label); font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.gd-screens { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.gd-screens .shot, .gd-screens .shot-2 { grid-column: auto; }
.gd-screens .shot-2 { margin-top: 56px; }
.ky-shot { margin-top: 22px; }
.ky-shot .ipad { box-shadow: 0 0 0 1.5px #3A5571 inset, 0 6px 0 rgba(4, 50, 82, .3); }
.more-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 32px 56px; align-items: center; }
.home-big figcaption { margin-top: 14px; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .04em; line-height: 1.7; color: var(--muted); }
.pa-shot { margin: 14px 0 0; }
.pa-shot img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1.5px var(--edge, var(--line)), var(--sh-soft); }
.g-pins .pin { stroke-width: 10; }
.g-pins .pin-l { stroke-width: 10; }
.g-pins text { font-size: 70px; }
.pn-name .pn-dev { margin-top: 18px; max-width: 560px; }
.pn-num .pn-dev { width: 100%; margin-top: auto; }
@media (max-width: 1099px) {
  .more-top { grid-template-columns: minmax(0, 1fr); }
  .home-big { max-width: 560px; }
  .gd-screens { grid-template-columns: minmax(0, 1fr); }
  .gd-screens .shot-2 { margin-top: 0; }
}
@media (max-width: 767px) {
  .card-top img { object-fit: cover; }
  .stg-name { font-size: 12.5px; }
  .pn-name .pn-dev, .pn-num .ipad, .pn-review .ipad, .pn-drill .ipad { display: none; }
}
/* 4つのあそびの見出し: 見出しと導入文を横に並べ、下端をそろえる */
.asobi-top { display: block; }
.asobi .sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 56px; align-items: end; }
.asobi .sec-head .label { grid-column: 1; grid-row: 1; }
.asobi .sec-head .h2 { grid-column: 1; grid-row: 2; }
.asobi .sec-head .sec-lead { grid-column: 2; grid-row: 2; margin: 0; padding-bottom: .4em; }
@media (max-width: 1099px) {
  .asobi .sec-head { grid-template-columns: minmax(0, 1fr); }
  .asobi .sec-head .sec-lead { grid-column: 1; grid-row: 3; margin-top: 18px; padding: 0; }
}
.asobi { padding-bottom: clamp(32px, 3vw, 40px); }
.band-try { height: clamp(60px, 5.4vw, 80px); }
.try { padding-top: clamp(44px, 3.8vw, 54px); }
/* 木や虹のある帯は、上が切れない高さに */
.band-garden, .band-more { height: clamp(110px, 14.6vw, 210px); }
.band-release { height: clamp(150px, 20.8vw, 300px); }
@media (max-width: 767px) { .band-garden, .band-more { height: 96px; } .band-release { height: 150px; } }
/* 練習のひろがり: 実画面に合わせて組み直し */
.bento { grid-template-areas:
    "drill drill drill drill drill drill drill drill line line line line"
    "word word word word word word num num num num num num"
    "name name name name name name review review review review review review"
    "paper paper paper paper paper paper paper paper paper paper paper paper"; }
.pn-word { grid-template-columns: minmax(0, 1fr); align-content: start; }
.pn-word .pn-dev, .pn-num .pn-dev, .pn-review .pn-dev, .pn-name .pn-dev { max-width: 460px; width: 100%; margin-top: 18px; }
.pn-num { gap: 0; }
.pn-review { grid-template-columns: minmax(0, 1fr); align-content: start; }
.pn-review .pn-dev { order: 2; }
.pn-paper { grid-template-columns: auto minmax(0, 32em); align-items: center; justify-content: start; gap: 40px; }
@media (max-width: 1099px) {
  .bento { grid-template-areas: "drill drill" "line num" "word name" "review review" "paper paper"; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "drill" "line" "num" "name" "word" "review" "paper"; }
  .pn-paper { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
.try-title { white-space: nowrap; }
@media (max-width: 1359px) {
  .album { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1099px) { .album-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .album-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 379px) {
  .album-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1099px) and (min-width: 768px) { .album-list { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); } }
@media (max-width: 767px) { .try-title { font-size: clamp(42px, 13.4vw, 72px); } }
@media (max-width: 1099px) { .try-in { grid-template-columns: minmax(0, 1fr); } }
/* 4つのあそびの窓: 画面の切り出しを縮めて丸ごと見せる(縁で文字を切らない) */
.cards .card-top { background: #EFF9FF; }
.cards .card-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }

/* 色面の上の文字: 白の不透明。差は大きさと段落の間で付ける */
.try-copy, .try-copy p, .ky-copy, .ky-copy p, .ky-cap, .kyozai .xl { color: #fff; opacity: 1; }
.try-note { font-family: var(--f-body); font-weight: 400; font-size: 15px; line-height: 1.85; }
.try-note-1 { margin-top: 24px; }
.try-note-1 + .try-note { margin-top: 20px; padding-top: 20px; }
.ky-cap { font-weight: 400; }
/* なぞってみよう: ページ内リンクの行き先(白い盤)をヘッダーの下に出す */
#tryStage { scroll-margin-top: 0; }
@media (min-width: 768px) { .try-title { font-size: clamp(48px, 7.4vw, 108px); } }
/* 4つのあそび: カードの段差は残し、説明の行頭をそろえる */
@media (min-width: 1100px) {
  .cards .c-coral, .cards .c-purple { margin-top: 0; }
  .cards .c-coral .card-face, .cards .c-purple .card-face { transform: translateY(24px); }
  .cards .card-d { margin-top: 28px; }
}
html.js .cards .c-coral[data-reveal].is-in, html.js .cards .c-purple[data-reveal].is-in { transform: none; }
/* 判定の例: 引用を主役に、注記は控えめ */
.g-shots .say { margin-top: 16px; }
.g-shots figcaption { margin-top: 12px !important; font-family: var(--f-body) !important; font-weight: 400 !important; font-size: 14px !important; letter-spacing: .02em !important; color: var(--muted); }
.g-shots figcaption::before { width: 10px !important; height: 2px !important; }
/* 庭の6段階: 段階の名前を枚数と一続きに */
.stg-n { margin-bottom: 0; }
.stg-name { margin-top: 7px; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.4; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 767px) { .stg-name { font-size: min(15px, 4vw); } }
/* 練習のひろがり: カードの中の画面は左右中央 */
.pn-word .pn-dev, .pn-review .pn-dev, .pn-num .pn-dev, .pn-name .pn-dev { margin-inline: auto; }
/* スマホ: 端末の全景のかわりに要所の拡大を見せる */
@media (max-width: 767px) {
  .gd-shot .ipad, .gd-screens .ipad, .ky-shot .ipad { display: none; }
  .zoom-img { margin-bottom: 0; }
  .pn .zoom-img { margin-top: 18px; }
  .hero-status { flex-direction: column; align-items: flex-start; gap: 5px; }
  .st-sep { display: none; }
  .gojuon { grid-auto-rows: 44px; row-gap: 4px; column-gap: 6px; }
  .gj { aspect-ratio: auto; height: 44px; font-size: 26px; }
  .gj-e { visibility: visible; background: none; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22) inset; }
}
/* 練習のひろがり: パネルの数字とラベルの大きさ */
.pn-big .n { font-size: clamp(52px, 5vw, 72px); }
.pn-k { font-size: 18px !important; letter-spacing: .08em; }
/* 72種類のシール(PC): 白い面を締める */
@media (min-width: 1360px) { .album { padding-block: 32px; } }
/* スマホ: ヒーローの対応端末を説明の下へ、保護者のカードの役割の文を章題の下へ */
@media (max-width: 767px) {
  .pn-big .n { font-size: 52px; }
  .pn-k { font-size: 16px !important; }
  .hero-status { display: contents; }
  .hero-in > .hero-copy .lead { order: 0; }
  .hero-status .spec { order: 1; margin-top: 12px; font-size: 13.5px; }
  .hero-cta .btn-coral { order: 2; margin-top: 14px; }
  .hero-fig { order: 3; }
  .hero-status .st-soon { order: 4; margin-top: 24px; font-family: var(--f-label); font-weight: 800; font-size: 14px; letter-spacing: .04em; justify-self: start; }
  .marks { order: 5; }
  .hero-cta .btn-line { order: 6; }
  .pa-gh { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pa-gs { font-size: 14px; line-height: 1.5; }
}
