/* =========================================================
   『私立バズロウ学園』専用ページのスタイル（games/buzzrow/ だけで使う）
   スクロールで学園の一日が進む：朝 → 昼 → ガイド＆FAQ → 夜明け前 → また朝へ
   見出しフォントは可読性の高い M PLUS Rounded 1c + Zen Maru Gothic に統一
   ========================================================= */
:root {
  --or: #FF8A1F;
  --or-deep: #F25C05;
  --ink: #14203F;
  --navy: #141B45;
  --night: #0D1233;
  --cream: #FFF6E6;
  --paper: #FFFDF7;
  --blue: #2F7BFF;
  --pink: #FF4D6D;
  --violet: #7B3FE4;
  --sky: #BDE7FF;
  --gold: #FFD166;
  --disp: 'M PLUS Rounded 1c', 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Yu Gothic UI', sans-serif;
  --body: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif;
  --max: 1080px;
  --ease: cubic-bezier(.2, .9, .25, 1.2);
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  color: var(--ink);
  background: var(--navy);
  line-height: 1.9;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
svg { fill: currentColor; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
p { margin: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- ヒーロー登場時の全画面ポップはじけ演出 ---------- */
.hero-burst {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none; overflow: hidden; user-select: none;
}
.burst-ring {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--sz, 96px); height: var(--sz, 96px);
  border-radius: 50%;
  border: var(--bw, 5px) solid var(--c, var(--gold));
  box-shadow: 0 0 0 2px var(--ink), inset 0 0 0 2px rgba(255, 255, 255, .45);
  transform: translate(-50%, -50%) scale(.15);
  opacity: 0;
  will-change: transform, opacity;
  animation: burst-ring var(--dur, .68s) cubic-bezier(.16, .88, .3, 1) var(--delay, 0s) forwards;
}
@keyframes burst-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.15); }
  18% { opacity: .95; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(var(--end-sc, 2.2)); }
}
.burst-piece {
  position: absolute; left: var(--x); top: var(--y);
  color: var(--c, var(--gold));
  opacity: 0;
  will-change: transform, opacity;
  animation: burst-fly var(--dur, 1.05s) cubic-bezier(.16, .84, .28, 1) var(--delay, 0s) forwards;
}
@keyframes burst-fly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(0, 0) scale(.15) rotate(0deg);
  }
  16% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(calc(var(--tx) * .52), calc(var(--ty) * .52)) scale(calc(var(--sc, 1) * 1.18)) rotate(calc(var(--rot, 160deg) * .35));
  }
  72% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(var(--tx), calc(var(--ty) + var(--grav, 28px) * .55)) scale(var(--sc, 1)) rotate(calc(var(--rot, 160deg) * .82));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(calc(var(--tx) * 1.12), calc(var(--ty) + var(--grav, 28px))) scale(calc(var(--sc, 1) * .55)) rotate(var(--rot, 160deg));
  }
}
.burst-icon {
  width: var(--sz, 24px); height: var(--sz, 24px);
  filter: drop-shadow(2px 2px 0 var(--ink));
}
.burst-icon svg { width: 100%; height: 100%; display: block; }
.burst-confetti {
  width: var(--w, 14px); height: var(--h, 8px);
  border-radius: 999px;
  background: var(--c, var(--or));
  border: 2px solid var(--ink);
}
.burst-dot {
  width: var(--sz, 11px); height: var(--sz, 11px);
  border-radius: 50%;
  background: var(--c, var(--gold));
  border: 2px solid var(--ink);
}
.burst-card {
  width: var(--w, 14px); height: var(--h, 19px);
  border-radius: 4px;
  background: var(--c, #fff);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.burst-spark {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--sz, 26px); height: var(--sz, 26px);
  color: var(--c, var(--gold));
  opacity: 0;
  filter: drop-shadow(2px 2px 0 var(--ink));
  will-change: transform, opacity;
  animation: burst-spark var(--dur, .82s) cubic-bezier(.2, .9, .28, 1.1) var(--delay, 0s) forwards;
}
.burst-spark svg { width: 100%; height: 100%; display: block; }
@keyframes burst-spark {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(-35deg); }
  36% { opacity: 1; transform: translate(-50%, -50%) scale(1.24) rotate(12deg); }
  68% { opacity: 1; transform: translate(-50%, -50%) scale(.96) rotate(24deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(58deg); }
}

/* ---------- 公式ストアバッジ共通（見た目サイズをApp Store / Google Playで均一化） ---------- */
.store-badges {
  --badge-h: 46px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px;
}
.badge-link {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform .18s var(--ease), filter .18s;
}
.badge-link:hover { transform: translateY(-3px) scale(1.03); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
.badge-link:active { transform: translateY(1px) scale(.99); }
.badge-as { height: var(--badge-h, 46px); width: auto; display: block; }
/* ja_badge_web_generic.png は 646x250 で上下各30pxのみ透明余白・左右余白0（可視高さ比 190/250=0.76） */
.badge-gp {
  height: calc(var(--badge-h, 46px) * 1.26);
  width: auto;
  margin: calc(var(--badge-h, 46px) * -0.15) 0;
  display: block;
}
/* en_badge_web_generic.png は 646x250 で上下左右41pxの透明余白（可視高さ比 168/250=0.672） */
html[lang='en'] .badge-gp {
  height: calc(var(--badge-h, 46px) * 1.44);
  margin: calc(var(--badge-h, 46px) * -0.22) calc(var(--badge-h, 46px) * -0.18);
}

/* ---------- 上の帯 ---------- */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
}
.top-back {
  font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  color: #fff; background: rgba(13, 18, 51, .62); backdrop-filter: blur(6px);
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28);
  transition: background .2s;
}
.top-back:hover { background: rgba(13, 18, 51, .9); }
.top-plat { list-style: none; margin: 0 auto 0 0; padding: 0; display: flex; gap: 6px; }
.top-plat li {
  font-family: var(--disp); font-weight: 900; font-size: .7rem; letter-spacing: .03em; line-height: 1;
  color: var(--ink); background: #fff; padding: 6px 9px 5px; border-radius: 6px;
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}
.top-lang.ggl-language select {
  border: 2px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--body); font-weight: 700; color: var(--ink);
}
@media (max-width: 640px) { .top { padding: 10px 12px; gap: 8px; } .top-plat { display: none; } .top-back { margin-right: auto; } }

/* ---------- 一日の時計（右） ---------- */
.clock {
  position: fixed; right: 14px; top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: none; flex-direction: column; gap: 4px;
  padding: 10px 8px; border-radius: 999px;
  background: rgba(13, 18, 51, .72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.clock.show { opacity: 1; pointer-events: auto; }
.clock a {
  position: relative; display: grid; place-items: center;
  width: 26px; height: 34px; text-decoration: none;
}
.clock i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .38); transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.clock a + a::before { content: ''; position: absolute; top: -8px; left: 50%; width: 2px; height: 12px; margin-left: -1px; background: rgba(255, 255, 255, .2); }
.clock span {
  position: absolute; right: 34px; top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; font-size: .74rem; font-weight: 900; line-height: 1;
  color: var(--ink); background: #fff; padding: 6px 10px; border-radius: 999px; border: 2px solid var(--ink);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.clock a:hover span, .clock a:focus-visible span, .clock a.on span { opacity: 1; transform: translateY(-50%); }
.clock a.on i { background: var(--or); transform: scale(1.5); box-shadow: 0 0 0 4px rgba(255, 138, 31, .3); }
.clock a.on span { background: var(--or); color: #fff; }
@media (min-width: 1240px) { .clock { display: flex; } }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 620px);
  display: flex; align-items: flex-end;
  background: var(--night);
}
.hero-kv { position: absolute; inset: 0; z-index: -3; }
.hero-kv img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 30%; transform: scale(1.04); will-change: transform; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(13, 18, 51, .5) 0, rgba(13, 18, 51, 0) 16%),
    linear-gradient(180deg, rgba(13, 18, 51, 0) 46%, rgba(13, 18, 51, .58) 72%, rgba(13, 18, 51, .92) 100%);
}
.hero-float { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-float svg { position: absolute; width: 34px; height: 34px; opacity: 0; animation: rise 9s linear infinite; }
.hero-float .f1 { left: 62%; color: var(--pink); animation-delay: 0s; }
.hero-float .f2 { left: 74%; color: #fff; width: 28px; animation-delay: 2.2s; }
.hero-float .f3 { left: 86%; color: var(--gold); width: 26px; animation-delay: 4.1s; }
.hero-float .f4 { left: 93%; color: var(--pink); width: 22px; animation-delay: 5.6s; }
.hero-float .f5 { left: 68%; color: var(--gold); width: 20px; animation-delay: 6.8s; }
.hero-float .f6 { left: 80%; color: #9CC4FF; width: 30px; animation-delay: 7.7s; }
@keyframes rise {
  0% { bottom: 8%; opacity: 0; transform: translateX(0) rotate(-8deg) scale(.6); }
  12% { opacity: .9; }
  60% { opacity: .8; }
  100% { bottom: 78%; opacity: 0; transform: translateX(-30px) rotate(10deg) scale(1.1); }
}
.hero-body {
  width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 120px 28px 150px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
}
.hero-title { flex: none; width: min(48vw, 600px); }
.hero-title h1 {
  margin: 0; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45));
  --pop-r: -5deg;
  transform-origin: 24% 84%;
  animation: hero-pyokon .66s .10s cubic-bezier(.22, .9, .3, 1.04) both;
}
.hero-title h1 img { width: 100%; }
.hero-tag {
  margin: 0 0 4px 4%;
  --pop-r: -6deg;
  transform-origin: 30% 100%;
  animation: hero-pyokon .58s .22s cubic-bezier(.22, .9, .3, 1.04) both;
}
.hero-tag span {
  display: inline-block; transform: rotate(-3deg);
  font-family: var(--disp); font-weight: 900; font-size: clamp(.92rem, 1.7vw, 1.32rem); line-height: 1.3;
  color: var(--ink); background: var(--gold);
  padding: 7px 16px 6px; border: 3px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink);
}
.hero-date {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 2px 0 0 6%; padding: 6px 18px 6px 8px;
  background: var(--ink); color: #fff; border-radius: 999px; border: 2px solid #fff;
  font-weight: 900; font-size: clamp(.82rem, 1.3vw, 1rem); line-height: 1.2;
  --pop-r: 3deg;
  transform-origin: 30% 50%;
  animation: hero-pyokon .56s .30s cubic-bezier(.22, .9, .3, 1.04) both;
}
.hero-date b { font-family: var(--disp); font-weight: 900; font-size: 1.18em; letter-spacing: .03em; color: var(--ink); background: var(--or); padding: 4px 12px 3px; border-radius: 999px; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hero-catch {
  text-align: right;
  font-family: var(--disp); font-weight: 900; font-size: clamp(1.5rem, 3.3vw, 2.85rem); line-height: 1.3;
  color: #fff; -webkit-text-stroke: .14em var(--ink); paint-order: stroke fill;
  text-shadow: .06em .07em 0 var(--ink);
  --pop-r: 4deg;
  transform-origin: 82% 84%;
  animation: hero-pyokon .6s .18s cubic-bezier(.22, .9, .3, 1.04) both;
}
.hero-catch em { font-style: normal; color: var(--or); }
.hero-chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px;
  --pop-r: -2deg;
  transform-origin: 78% 50%;
  animation: hero-pyokon .54s .32s cubic-bezier(.22, .9, .3, 1.04) both;
}
.hero-chips li {
  font-size: .74rem; font-weight: 900; line-height: 1.2;
  color: #fff; background: rgba(13, 18, 51, .84);
  padding: 5px 10px; border-radius: 999px; border: 2px solid rgba(255, 209, 102, .85);
}
.hero-cta {
  display: grid; gap: 10px; justify-items: end;
  padding: 12px 16px 10px; border-radius: 20px;
  background: rgba(13, 18, 51, .76); backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, .28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .38);
  --pop-r: 4deg;
  transform-origin: 76% 86%;
  animation: hero-pyokon .66s .22s cubic-bezier(.22, .9, .3, 1.04) both;
}
.hero.is-reset .hero-title h1,
.hero.is-reset .hero-tag,
.hero.is-reset .hero-date,
.hero.is-reset .hero-catch,
.hero.is-reset .hero-chips,
.hero.is-reset .hero-cta { animation: none; opacity: 0; }
.hero-cta-pill {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: var(--pink); color: #fff;
  font-family: var(--disp); font-weight: 900; font-size: .82rem; line-height: 1.35;
}
.hero-badges { --badge-h: 44px; justify-content: flex-end; gap: 10px; }

/* OS自動判定：スマホでは自分の端末用公式バッジを先頭に配置（サイズは両ストア均一を維持） */
html[data-os="ios"] .hero-badges .badge-as-wrap { order: -1; }
html[data-os="android"] .hero-badges .badge-gp-wrap { order: -1; }

.hero-sublink { text-align: right; margin: 0; }
.hero-sublink a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255, 255, 255, .92); text-decoration: none; font-size: .74rem; font-weight: 700; line-height: 1.4;
  transition: opacity .2s;
}
.hero-sublink a:hover { opacity: 1; text-decoration: underline; }
.hero-sublink svg { width: 13px; height: 13px; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 92px; z-index: 3; transform: translateX(-50%);
  font-family: var(--disp); font-weight: 900; font-size: .72rem; letter-spacing: .3em; color: #fff; text-shadow: 0 2px 0 var(--ink); text-decoration: none;
  padding-bottom: 22px;
}
.hero-scroll::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 12px; height: 12px; margin-left: -8px; border-right: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(45deg); animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px) rotate(45deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hero-pyokon {
  0% { opacity: 0; transform: translateY(22px) scale(.22) rotate(var(--pop-r, -4deg)); }
  52% { opacity: 1; transform: translateY(-9px) scale(1.1) rotate(calc(var(--pop-r, -4deg) * -.32)); }
  74% { opacity: 1; transform: translateY(3px) scale(.96) rotate(calc(var(--pop-r, -4deg) * .12)); }
  88% { opacity: 1; transform: translateY(-2px) scale(1.02) rotate(0deg); }
  100% { opacity: 1; transform: none; }
}

/* PC: 雲の仕切りを絵の下端に敷き、スクロールに合わせて絵の上へせり上げる */
.hero-rise { display: contents; }
.hero-rise-fill { display: none; }
@media (min-width: 861px) {
  .hero-rise { display: block; position: absolute; left: 0; right: 0; top: calc(100% - 66px); z-index: 1; pointer-events: none; will-change: transform; }
  .hero-rise .edge { position: relative; left: 50%; bottom: auto; transform: translateX(-50%); }
  .hero-rise-fill { display: block; height: 110vh; margin-top: -2px; background: var(--sky); }
  .hero { display: block; min-height: 0; }
  .hero-kv { position: relative; inset: auto; aspect-ratio: 1672 / 941; overflow: hidden; }
  .hero-kv img { object-position: 50% 50%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(13, 18, 51, .5) 0, rgba(13, 18, 51, 0) 12%),
      radial-gradient(42% 46% at 0% 100%, rgba(13, 18, 51, .58), rgba(13, 18, 51, 0) 70%),
      radial-gradient(44% 56% at 100% 100%, rgba(13, 18, 51, .72), rgba(13, 18, 51, 0) 72%);
    bottom: 0;
  }
  .hero-body { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; padding: 0 2.2vw calc(1.4vw + 40px); gap: 16px; }
  .hero-title { width: 25vw; max-width: 560px; }
  .hero-tag { margin-left: 2%; }
  .hero-tag span { font-size: clamp(.78rem, 1.35vw, 1.2rem); padding: 5px 12px 4px; }
  .hero-date { margin-left: 3%; font-size: clamp(.74rem, 1.05vw, 1rem); }
  .hero-side { gap: 8px; }
  .hero-catch { font-size: clamp(1.15rem, 2.05vw, 2.25rem); }
  html[lang='en'] .hero .hero-catch { font-size: clamp(1rem, 1.65vw, 1.9rem); }
  .hero-chips li { font-size: clamp(.62rem, .78vw, .74rem); padding: 4px 9px; }
  .hero-cta { padding: 10px 14px 9px; gap: 8px; }
  .hero-cta-pill { font-size: clamp(.7rem, .86vw, .82rem); }
  .hero-badges { --badge-h: clamp(38px, 3.2vw, 46px); }
  .hero-scroll { bottom: 48px; z-index: 0; }
}

.edge { position: absolute; left: 50%; bottom: -1px; z-index: 1; width: max(100%, 1100px); height: auto; transform: translateX(-50%); pointer-events: none; display: block; }
.edge-cloud { fill: var(--sky); filter: drop-shadow(0 -6px 0 rgba(255, 255, 255, .55)); }

@media (max-width: 860px) {
  .hero { display: block; min-height: 0; background: var(--navy); }
  .hero-kv { position: relative; width: 100%; height: min(102vw, 540px); z-index: 0; overflow: hidden; }
  .hero-kv img { object-position: 49% 50%; animation: kv-pan 26s ease-in-out 2s infinite; }
  .hero-shade { background: linear-gradient(180deg, rgba(13, 18, 51, .45) 0, rgba(13, 18, 51, 0) 12%, rgba(20, 27, 69, 0) calc(min(102vw, 540px) - 56px), var(--navy) calc(min(102vw, 540px) + 8px)); bottom: auto; height: 100%; z-index: 1; }
  .hero-float { z-index: 1; }
  .hero-body { position: relative; z-index: 2; display: block; padding: 0 18px 116px; margin-top: -34px; }
  .hero-title { width: 100%; max-width: 520px; margin: 0 auto; text-align: center; }
  .hero-title h1, .hero-tag, .hero-date, .hero-catch, .hero-chips, .hero-cta { transform-origin: 50% 80%; }
  .hero-tag, .hero-date { margin-left: 0; }
  .hero-side { align-items: center; margin-top: 18px; gap: 12px; }
  .hero-catch { text-align: center; font-size: clamp(1.45rem, 7vw, 2.25rem); }
  .hero-chips { justify-content: center; }
  .hero-cta { width: min(100%, 380px); justify-items: center; padding: 12px 12px 10px; }
  .hero-badges { --badge-h: 42px; justify-content: center; gap: 10px; }
  .hero-sublink { text-align: center; }
  .hero-scroll { display: none; }
}
@media (max-width: 380px) {
  .hero-badges { --badge-h: 36px; gap: 8px; }
}
@keyframes kv-pan {
  0%, 14% { object-position: 49% 50%; }
  32%, 42% { object-position: 0% 50%; }
  66%, 76% { object-position: 100% 50%; }
  94%, 100% { object-position: 49% 50%; }
}

/* ---------- セクション共通 ---------- */
.sec { position: relative; isolation: isolate; padding: 96px 0 210px; overflow: hidden; }
.sec-head { text-align: center; margin: 0 0 44px; }
.sec-time {
  display: inline-flex; align-items: center; gap: 0; margin: 0 0 6px;
  font-weight: 900; font-size: .86rem; line-height: 1;
  border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-3deg);
}
.sec-time span { font-family: var(--disp); font-weight: 900; letter-spacing: .06em; padding: 7px 10px 6px 14px; }
.sec-time b { background: var(--ink); color: #fff; padding: 8px 14px 7px 10px; }
.sec-en {
  margin: 0; font-family: var(--disp); font-weight: 900;
  font-size: clamp(2.5rem, 8.8vw, 5rem); line-height: 1.12; letter-spacing: .03em;
  color: var(--or); -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill;
  text-shadow: .05em .06em 0 var(--ink);
}
.sec-ja {
  position: relative; display: inline-block; margin: 4px 0 0;
  font-weight: 900; font-size: 1.04rem; letter-spacing: .12em;
  padding: 0 54px;
}
.sec-ja::before, .sec-ja::after { content: ''; position: absolute; top: 50%; width: 40px; height: 0; border-top: 4px dotted currentColor; opacity: .6; }
.sec-ja::before { left: 0; } .sec-ja::after { right: 0; }
.sec-head.on-dark .sec-time { border-color: #fff; background: var(--night); color: #fff; box-shadow: 3px 3px 0 var(--or); }
.sec-head.on-dark .sec-time b { background: #fff; color: var(--ink); }
.sec-head.on-dark .sec-en { color: #fff; -webkit-text-stroke-color: var(--night); text-shadow: .05em .06em 0 var(--or); }
.sec-head.on-dark .sec-ja { color: #fff; }
.paper {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
}
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease-out, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 朝：入口 ＆ ものがたり ---------- */
.story { background: linear-gradient(180deg, var(--sky) 0, #E4F5FF 52%, var(--cream) 100%); padding-top: 34px; }
.intro { position: relative; z-index: 3; margin: 0 auto 74px; text-align: center; will-change: transform; }

/* リリース告知（入口の最初＝絵のすぐ下） */
.launch { position: relative; margin: 0 auto; max-width: 820px; text-align: center; }
.launch-head { display: inline-flex; align-items: center; justify-content: center; gap: 16px; text-align: left; }
.launch-icon {
  width: 72px; height: 72px; flex: none;
  border-radius: 18px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.launch-copy { display: grid; gap: 4px; }
.launch-lead {
  display: flex; flex-wrap: wrap; gap: 0 .45em; margin: 0;
  font-family: var(--disp); font-weight: 900; font-size: clamp(1.25rem, 2.7vw, 2.05rem); line-height: 1.35;
  color: #fff; -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; text-shadow: .04em .05em 0 var(--ink);
}
.launch-lead span:last-child { color: var(--gold); }
.launch-note { font-size: .88rem; font-weight: 900; color: var(--ink); line-height: 1.5; }

.launch-badge-box {
  margin: 18px auto 0; max-width: 640px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.launch-card {
  --badge-h: 48px;
  display: grid; justify-items: center; gap: 10px;
  padding: 14px 16px 16px; border-radius: 20px;
  background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
}
.launch-card-tag {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: var(--pink); color: #fff;
  font-size: .76rem; font-weight: 900; line-height: 1.45;
}

.launch-pc {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px;
  margin-top: 14px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .76); border: 2px solid rgba(20, 32, 63, .25);
  font-size: .78rem; font-weight: 900; color: #3A4566;
}
.launch-pc-item { display: inline-flex; align-items: center; gap: 5px; }
.launch-pc-item svg { width: 16px; height: 16px; opacity: .75; }

/* ③ コアコンセプト（キャッチ＋サブ＋6枚＋問いかけ） */
.intro-catch {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .18em; margin: 66px 0 0;
  font-family: var(--disp); font-weight: 900; font-size: clamp(2rem, 5vw, 3.9rem); line-height: 1.3; letter-spacing: .02em;
  color: #fff; -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; text-shadow: .05em .06em 0 var(--ink);
}
.intro-catch span { display: inline-block; }
.intro-catch span:last-child { color: var(--or); }
.intro-sub {
  max-width: 720px; margin: 16px auto 0;
  font-size: clamp(.94rem, 2vw, 1.12rem); font-weight: 900; color: var(--ink); line-height: 1.75; text-wrap: balance;
}
.concept { list-style: none; margin: 44px auto 0; padding: 0; max-width: 1020px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; text-align: left; }
.concept li {
  --c: var(--or);
  position: relative; display: grid; align-content: start; gap: 6px; padding: 30px 20px 20px;
  background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink);
  font-size: .9rem; font-weight: 700; line-height: 1.7;
}
.concept li:nth-child(2) { --c: var(--blue); } .concept li:nth-child(3) { --c: var(--violet); }
.concept li:nth-child(4) { --c: var(--pink); } .concept li:nth-child(5) { --c: var(--or-deep); } .concept li:nth-child(6) { --c: var(--blue); }
.concept li:nth-child(odd) { rotate: -.9deg; } .concept li:nth-child(even) { rotate: .7deg; }
.concept svg { position: absolute; top: -20px; left: 16px; width: 42px; height: 42px; padding: 8px; border-radius: 50%; background: var(--c); fill: #fff; border: 3px solid var(--ink); }
.concept b { font-family: var(--disp); font-weight: 900; font-size: 1.1rem; line-height: 1.45; color: var(--ink); text-wrap: balance; }
.concept span { color: #3A4566; text-wrap: pretty; }
.intro-hook {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0 .3em; margin: 50px 16px 0; padding: 16px 28px 15px;
  font-family: var(--disp); font-weight: 900; font-size: clamp(1.2rem, 2.8vw, 1.9rem); line-height: 1.45;
  background: var(--night); color: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--pink);
  rotate: -1.2deg;
}
.intro-hook span { display: inline-block; }
.intro-hook span:last-child { color: var(--gold); }

@media (min-width: 861px) {
  .story { overflow: visible; overflow-x: clip; }
}
@media (max-width: 860px) {
  .story { padding-top: 22px; }
  .intro { margin-bottom: 54px; }
  .launch-head { flex-direction: column; text-align: center; gap: 10px; }
  .launch-icon { width: 64px; height: 64px; }
  .launch-lead { justify-content: center; flex-direction: column; font-size: min(1.45rem, calc((100vw - 48px) / 16.6)); }
  .launch-note { font-size: .82rem; }
  .launch-badge-box { grid-template-columns: 1fr; gap: 12px; max-width: 340px; }
  .intro-catch { flex-direction: column; margin-top: 48px; font-size: min(2.35rem, calc((100vw - 44px) / 13.4)); }
  html[lang='en'] .intro-catch { font-size: min(2.2rem, calc((100vw - 40px) / 13)); }
  .concept { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; max-width: 520px; }
  .concept li { grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px 16px 15px; font-size: .86rem; line-height: 1.65; }
  .concept svg { position: static; grid-row: 1 / 3; width: 46px; height: 46px; }
  .concept b { font-size: 1.02rem; }
  .intro-hook { flex-direction: column; margin-top: 36px; padding: 14px 20px 13px; font-size: min(1.35rem, calc((100vw - 96px) / 11.4)); }
}

.sky i { position: absolute; z-index: 0; height: 46px; border-radius: 999px; background: #fff; opacity: .9; animation: drift 60s linear infinite; }
.sky i::before, .sky i::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.sky i::before { width: 44%; height: 150%; left: 14%; top: -72%; }
.sky i::after { width: 34%; height: 110%; right: 16%; top: -46%; }
.sky .c1 { width: 190px; top: 150px; left: -4%; }
.sky .c2 { width: 130px; top: 360px; left: 62%; animation-duration: 80s; opacity: .75; }
.sky .c3 { width: 230px; top: 660px; left: 20%; animation-duration: 100s; opacity: .7; }
@keyframes drift { 0% { transform: translateX(0); } 100% { transform: translateX(60vw); } }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 36px; align-items: center; }
.story-text { padding: 34px 38px; font-size: 1.04rem; font-weight: 700; }
.story-text p + p { margin-top: .9em; }
.story-text .story-turn {
  margin-top: 1.4em; font-family: var(--disp); font-weight: 900; font-size: 1.32rem; line-height: 1.5; color: var(--or-deep);
}
.story-art { position: relative; display: grid; place-items: end center; min-height: 480px; }
.story-art img { position: relative; z-index: 2; height: 500px; width: auto; filter: drop-shadow(0 12px 0 rgba(20, 32, 63, .12)); }
.loop-ring { position: absolute; z-index: 1; left: 50%; bottom: 20px; width: 420px; max-width: 120%; translate: -50% 0; fill: none; overflow: visible; animation: spin 30s linear infinite; transform-origin: 50% 50%; }
.loop-ring path { stroke: var(--or); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 2 16; opacity: .7; }
.loop-ring .tip { fill: var(--or); stroke: none; opacity: .8; }
.words { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.words li {
  position: relative; display: grid; gap: 4px; padding: 22px 20px 20px;
  background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink);
  font-size: .92rem; font-weight: 700; line-height: 1.7;
}
.words li:nth-child(1) { rotate: -1.5deg; } .words li:nth-child(2) { rotate: 1deg; } .words li:nth-child(3) { rotate: -.6deg; }
.words svg { position: absolute; top: -18px; right: 16px; width: 40px; height: 40px; padding: 7px; border-radius: 50%; background: var(--or); color: #fff; border: 3px solid var(--ink); }
.words li:nth-child(2) svg { background: var(--pink); } .words li:nth-child(3) svg { background: var(--blue); }
.words b { font-family: var(--disp); font-weight: 900; font-size: 1.24rem; line-height: 1.4; color: var(--ink); }
.edge-school { fill: var(--navy); }
.edge-school .face { fill: var(--cream); } .edge-school .hand { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; }
.edge-school .win rect { fill: var(--gold); opacity: .85; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-text { padding: 26px 22px; font-size: .98rem; }
  .story-art { min-height: 360px; margin-top: 8px; }
  .story-art img { height: 360px; }
  .loop-ring { width: 300px; }
  .words { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- 昼：あそびかた ＆ 27秒短尺プレイ動画 ---------- */
.system {
  background-color: var(--navy);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='%23ffffff' fill-opacity='.055'%3E%3Cpath d='M30 26l4 9 10 1-7 7 2 10-9-5-9 5 2-10-7-7 10-1z'/%3E%3Cpath d='M150 44c-5-10-18-4-12 6l12 12 12-12c6-10-7-16-12-6z'/%3E%3Cpath d='M92 106l10 12-10 12-10-12z'/%3E%3Cpath d='M186 128h6v12h12v6h-12v12h-6v-12h-12v-6h12z'/%3E%3Cpath d='M40 150a12 12 0 1 0 .1 0zm0 5a7 7 0 1 1-.1 0z'/%3E%3Cpath d='M128 172l12 20h-24z'/%3E%3Cpath d='M196 40h6v18h-6zm0 23h6v6h-6z'/%3E%3C/svg%3E"),
    radial-gradient(900px 500px at 50% 0, #27337A 0, rgba(39, 51, 122, 0) 70%);
  color: #fff; padding-bottom: 150px;
}

/* 27秒短尺プレイ動画枠 */
.short-pv { max-width: 860px; margin: 0 auto 66px; }
.short-pv-box {
  border-radius: 22px; overflow: hidden; border: 4px solid #fff; background: #000;
  box-shadow: 0 0 0 4px var(--night), 0 0 0 7px var(--violet), 0 24px 60px rgba(0, 0, 0, .5);
}
.live-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; color: var(--ink); font-weight: 900; font-size: .84rem; line-height: 1; }
.live-bar b { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 5px; border-radius: 6px; background: #FF3B4E; color: #fff; font-family: var(--disp); font-weight: 900; font-size: .74rem; letter-spacing: .06em; flex: none; }
.live-bar b i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.live-bar > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-bar em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; color: var(--pink); flex: none; }
.live-bar em svg { width: 15px; height: 15px; }
.short-pv-stage { position: relative; overflow: hidden; background: #000; }
.short-pv-stage video { width: 100%; aspect-ratio: 16 / 9; background: #0D1233; }
.short-pv-play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  border: 0; background: rgba(13, 18, 51, .28); color: #fff;
  transition: background .2s;
}
.short-pv-play[hidden] { display: none; }
.short-pv-play:hover { background: rgba(13, 18, 51, .16); }
.short-pv-circle {
  width: 82px; height: 82px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #FFA13D, var(--or-deep));
  border: 4px solid #fff; box-shadow: 0 8px 0 var(--ink), 0 18px 34px rgba(0, 0, 0, .45);
  transition: transform .18s var(--ease);
}
.short-pv-play:hover .short-pv-circle { transform: scale(1.08); }
.short-pv-circle svg { width: 34px; height: 34px; margin-left: 5px; fill: #fff; }
.short-pv-play b {
  font-family: var(--disp); font-weight: 900; font-size: clamp(.95rem, 2.2vw, 1.18rem);
  padding: 6px 18px; border-radius: 999px; background: var(--ink); border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}
.live-note { margin-top: 16px; text-align: center; font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .74); }
@media (max-width: 640px) {
  .live-bar { padding: 8px 12px; font-size: .76rem; gap: 8px; }
  .live-bar em { display: none; }
  .short-pv-circle { width: 64px; height: 64px; }
  .short-pv-circle svg { width: 26px; height: 26px; }
}

.two { text-align: center; }
.two-lead { font-family: var(--disp); font-weight: 900; font-size: clamp(1.5rem, 5.2vw, 2.6rem); line-height: 1.4; }
.two-lead span { display: inline-block; }
.two-lead span:last-child { color: var(--or); }
.two-btns { display: flex; align-items: stretch; justify-content: center; gap: 18px; margin: 26px auto 0; max-width: 760px; }
.two-btns > i { align-self: center; font-family: var(--disp); font-weight: 900; font-style: normal; font-size: 1.1rem; color: rgba(255, 255, 255, .6); }
.two-btn { flex: 1; display: grid; gap: 10px; align-content: start; font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .86); text-wrap: balance; }
.story-text p, .hand button b, .roles p, .live-note, .spec-table dd { text-wrap: pretty; }
.two-btn b {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 78px; padding: 12px 18px; border-radius: 999px;
  font-family: var(--disp); font-weight: 900; font-size: clamp(1.4rem, 4.4vw, 2rem); line-height: 1; color: #fff;
  background: linear-gradient(180deg, #FFA13D, var(--or-deep)); border: 3px solid #fff;
  box-shadow: 0 8px 0 #9E3A00, 0 18px 30px rgba(0, 0, 0, .35);
}
.two-btn b svg { width: 30px; height: 30px; }
.two-btn.play b { border-radius: 20px; color: var(--ink); background: linear-gradient(180deg, #fff, #E4ECF7); box-shadow: 0 8px 0 #8E9DB8, 0 18px 30px rgba(0, 0, 0, .35); }
.mini-cards { position: relative; width: 44px; height: 40px; flex: none; }
.mini-cards i { position: absolute; left: 12px; top: 2px; width: 22px; height: 32px; border-radius: 4px; background: #fff; border: 2px solid var(--ink); transform-origin: 50% 120%; }
.mini-cards i:nth-child(1) { transform: rotate(-22deg); background: #BFD6FF; } .mini-cards i:nth-child(2) { background: var(--or); } .mini-cards i:nth-child(3) { transform: rotate(22deg); background: #FFD9B0; }

.demo { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 44px; align-items: center; margin-top: 66px; }
.phone { position: relative; justify-self: center; width: 100%; max-width: 340px; }
.phone-screen {
  position: relative; aspect-ratio: 600 / 964; overflow: hidden;
  border-radius: 30px; border: 6px solid #fff; background: var(--night);
  box-shadow: 0 0 0 3px var(--ink), 14px 16px 0 rgba(0, 0, 0, .35), 0 0 80px rgba(47, 123, 255, .35);
}
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateX(8%) scale(1.02); transition: opacity .45s, transform .45s var(--ease); }
.phone-screen img.on { opacity: 1; transform: none; }
.send {
  position: absolute; right: -22px; bottom: 54px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px 12px 18px; border-radius: 999px; border: 3px solid #fff;
  font-family: var(--disp); font-weight: 900; font-size: 1.2rem; line-height: 1; color: #fff;
  background: linear-gradient(180deg, #FFA13D, var(--or-deep)); box-shadow: 0 6px 0 #9E3A00, 0 12px 22px rgba(0, 0, 0, .4);
  transition: transform .12s, box-shadow .12s;
}
.send svg { width: 22px; height: 22px; }
.send:hover { transform: translateY(-2px); }
.send:active { transform: translateY(5px); box-shadow: 0 1px 0 #9E3A00, 0 4px 10px rgba(0, 0, 0, .4); }
.phone-note { margin-top: 14px; text-align: center; font-size: .74rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.hand { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: hand; }
.hand li { counter-increment: hand; }
.hand button {
  position: relative; width: 100%; text-align: left; display: grid; gap: 0;
  padding: 14px 18px 14px 62px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .16); color: #fff;
  transition: background .25s, transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.hand button::before {
  content: counter(hand); position: absolute; left: 14px; top: 12px;
  width: 30px; height: 40px; display: grid; place-items: center; border-radius: 6px;
  font-family: var(--disp); font-weight: 900; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid var(--ink);
  transform: rotate(-8deg); transition: transform .25s var(--ease), background .25s;
}
.hand button b { font-family: var(--disp); font-weight: 900; font-size: clamp(1rem, 2.4vw, 1.18rem); line-height: 1.5; }
.hand button span { display: grid; grid-template-rows: 0fr; font-size: .9rem; font-weight: 500; line-height: 1.8; color: rgba(255, 255, 255, .86); overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s ease, opacity .3s, margin .3s; }
.hand button:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); }
.hand button.on { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: 6px 6px 0 var(--or); transform: translateX(10px) rotate(-.6deg); }
.hand button.on::before { background: var(--or); color: #fff; transform: rotate(6deg) scale(1.1); }
.hand button.on span { max-height: 12em; opacity: 1; margin-top: 4px; color: #3A4666; }

.roles { margin-top: 66px; text-align: center; }
.roles p { font-weight: 700; }
.roles ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.roles li { font-family: var(--disp); font-weight: 900; font-size: 1rem; line-height: 1; padding: 11px 16px 10px; border-radius: 10px; color: var(--ink); background: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--or); }
.roles li:nth-child(odd) { rotate: -2deg; } .roles li:nth-child(even) { rotate: 1.5deg; }
.roles li.dark { background: #2B1030; color: #FF8FA3; border-color: #FF8FA3; box-shadow: 3px 3px 0 var(--pink); }
.roles li.odd { background: var(--violet); color: #fff; border-color: #fff; box-shadow: 3px 3px 0 #2FE3D0; }

/* 中間CTA（SYSTEM 直下） */
.mid-cta {
  max-width: 780px; margin: 64px auto 0; padding: 26px 28px;
  border-radius: 24px; background: linear-gradient(135deg, #1E296B, #10163B);
  border: 3px solid rgba(255, 209, 102, .85); box-shadow: 8px 8px 0 rgba(0, 0, 0, .4);
  display: grid; gap: 20px; justify-items: center; text-align: center;
}
.mid-cta-head { display: flex; align-items: center; gap: 16px; text-align: left; }
.mid-cta-head img { width: 62px; height: 62px; border-radius: 16px; border: 3px solid #fff; flex: none; }
.mid-cta-sub { font-size: .82rem; font-weight: 900; color: var(--gold); line-height: 1.4; }
.mid-cta-title { font-family: var(--disp); font-weight: 900; font-size: clamp(1.1rem, 2.6vw, 1.5rem); line-height: 1.4; color: #fff; margin-top: 2px; }
.mid-badges { --badge-h: 48px; }

@media (max-width: 860px) {
  .launch-card { --badge-h: 44px; }
  .mid-badges { --badge-h: 42px; }
  .two-btns { gap: 10px; } .two-btn { font-size: .8rem; } .two-btn b { min-height: 64px; padding: 10px; gap: 8px; }
  .two-btn b svg { width: 22px; height: 22px; } .mini-cards { scale: .8; margin: 0 -6px; }
  .demo { grid-template-columns: 1fr; gap: 30px; margin-top: 50px; }
  .phone { max-width: 290px; } .send { right: -14px; }
  .hand button { padding-left: 56px; } .hand button.on { transform: none; }
  .mid-cta { padding: 20px 18px; }
  .mid-cta-head { flex-direction: column; text-align: center; gap: 10px; }
}

/* ---------- 流れる帯 ---------- */
.ticker { position: relative; z-index: 5; margin: -46px -3vw -40px; padding: 12px 0 10px; background: var(--or); border-block: 4px solid var(--ink); transform: rotate(-2deg); overflow: hidden; }
.ticker div { display: flex; width: max-content; gap: 34px; animation: marquee 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 34px; font-family: var(--disp); font-weight: 900; font-size: clamp(.95rem, 2.4vw, 1.3rem); line-height: 1; color: var(--ink); white-space: nowrap; }
.ticker span::after { content: ''; width: 14px; height: 14px; background: #fff; border: 3px solid var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 放課後：こんな人におすすめ ＆ よくある質問 ---------- */
.faq { background: linear-gradient(180deg, #FFCB74 0, #FF9D4D 38%, #F0606E 74%, #6B3C8F 100%); padding-top: 130px; }
.fit-box { max-width: 900px; margin: 0 auto; padding: 30px 32px; }
.fit-title {
  margin: 0 0 18px; font-family: var(--disp); font-weight: 900; font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  color: var(--ink); text-align: center;
}
.fit-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px;
}
.fit-list li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 10px;
  font-size: .92rem; font-weight: 700; line-height: 1.65; color: var(--ink);
}
.fit-list svg {
  width: 26px; height: 26px; padding: 5px; margin-top: 2px;
  border-radius: 50%; background: var(--or); color: #fff; border: 2px solid var(--ink);
}
.faq-list { max-width: 900px; margin: 48px auto 0; display: grid; gap: 14px; }
.faq-heading {
  margin: 0 0 4px; text-align: center;
  font-family: var(--disp); font-weight: 900; font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  color: #fff; -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill;
}
.faq-item {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; font-weight: 900; font-size: 1rem; line-height: 1.5; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; flex: none; color: var(--or-deep); transition: transform .25s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p {
  padding: 14px 4px 20px; font-size: .92rem; font-weight: 700; line-height: 1.8; color: #3A4566;
  border-top: 2px dotted rgba(20, 32, 63, .18); margin: 0 18px;
}
.edge-city { fill: var(--night); }
.edge-city .lit rect { fill: var(--gold); } .edge-city .ant rect { fill: var(--night); }
@media (max-width: 860px) {
  .faq { padding-top: 110px; }
  .fit-box { padding: 22px 18px; }
  .fit-list { grid-template-columns: 1fr; gap: 12px; }
  .faq-item summary { padding: 15px 16px; font-size: .94rem; }
  .faq-item p { margin: 0 14px; font-size: .88rem; }
}

/* ---------- 次の朝：作品情報 ---------- */
.spec { background: linear-gradient(180deg, var(--night) 0, #2A1E5C 30%, #8E3F86 56%, #F2646B 76%, #FFB45E 92%, #FFE0A6 100%); color: #fff; padding-top: 70px; padding-bottom: 300px; }
.stars { position: absolute; z-index: 0; inset: 0 0 55% 0; background-image: radial-gradient(1.6px 1.6px at 12% 20%, #fff, transparent), radial-gradient(1.6px 1.6px at 28% 62%, #fff, transparent), radial-gradient(2px 2px at 44% 14%, #fff, transparent), radial-gradient(1.4px 1.4px at 58% 48%, #fff, transparent), radial-gradient(2px 2px at 72% 22%, #fff, transparent), radial-gradient(1.6px 1.6px at 86% 58%, #fff, transparent), radial-gradient(1.4px 1.4px at 94% 12%, #fff, transparent), radial-gradient(1.4px 1.4px at 6% 74%, #fff, transparent); opacity: .8; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .35; } }
.spec-table { margin: 0 auto; max-width: 820px; padding: 10px 30px; color: var(--ink); }
.spec-table > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; }
.spec-table > div + div { border-top: 3px dotted rgba(20, 32, 63, .25); }
.spec-table dt { position: relative; padding-left: 24px; font-weight: 900; font-size: .9rem; color: #5A6788; }
.spec-table dt::before { content: ''; position: absolute; left: 2px; top: .52em; width: 11px; height: 11px; background: var(--or); border: 2px solid var(--ink); transform: rotate(45deg); }
.spec-table dd { margin: 0; font-weight: 700; line-height: 1.7; }
.spec-table a { color: var(--or-deep); }
.stores { max-width: 780px; margin: 54px auto 0; text-align: center; }
.stores-brand { display: inline-flex; align-items: center; gap: 16px; text-align: left; }
.stores-brand img { width: 72px; height: 72px; border-radius: 18px; border: 3px solid #fff; box-shadow: 4px 4px 0 var(--ink); flex: none; }
.stores h3 { margin: 0; font-family: var(--disp); font-weight: 900; font-size: 1.55rem; line-height: 1.35; color: #fff; -webkit-text-stroke: .12em var(--ink); paint-order: stroke fill; }
.stores p { font-weight: 700; font-size: .92rem; margin-top: 4px; }
.spec-badge-box { margin-top: 22px; }
.store-grid { list-style: none; margin: 14px auto 0; padding: 0; max-width: 640px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.store-grid li { display: flex; }
.store-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 62px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .82); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); text-align: left; text-decoration: none;
  cursor: default; pointer-events: none;
}
.store-btn svg { width: 24px; height: 24px; flex: none; opacity: .7; }
.store-btn > div { display: grid; gap: 2px; }
.store-btn b { font-family: var(--disp); font-weight: 900; font-size: .94rem; line-height: 1.25; }
.store-btn small { justify-self: start; margin-top: 2px; padding: 1px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 900; }
.store-kind { font-family: var(--body); font-size: .7rem; font-weight: 700; opacity: .75; }
.sun { position: absolute; z-index: 0; left: 50%; bottom: -40px; width: 380px; aspect-ratio: 1; margin-left: -190px; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, #FFF0B8 31% 46%, rgba(255, 240, 184, .5) 47% 60%, rgba(255, 240, 184, 0) 72%); animation: sunrise 6s ease-in-out infinite alternate; }
@keyframes sunrise { to { transform: translateY(-22px); } }
.edge-dawn { fill: var(--sky); filter: drop-shadow(0 -6px 0 rgba(255, 255, 255, .6)); }
@media (max-width: 860px) {
  .spec-table { padding: 6px 20px; } .spec-table > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .stores-brand { flex-direction: column; text-align: center; gap: 10px; }
  .store-grid { max-width: 340px; grid-template-columns: 1fr; }
}

/* ---------- また、同じ朝から ---------- */
.again { position: relative; background: linear-gradient(180deg, var(--sky) 0, var(--cream) 100%); padding: 56px 0 70px; text-align: center; }
.again .wrap { display: grid; justify-items: center; gap: 24px; }
.again-copy { font-family: var(--disp); font-weight: 900; font-size: clamp(1.9rem, 7vw, 3.4rem); line-height: 1.3; color: var(--or); -webkit-text-stroke: .11em var(--ink); paint-order: stroke fill; text-shadow: .05em .06em 0 var(--ink); }
.again-badges { --badge-h: 48px; }
@media (max-width: 860px) { .again-badges { --badge-h: 42px; } }
@media (max-width: 380px) { .mid-badges, .again-badges { --badge-h: 36px; gap: 8px; } }
.again-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: 4px; }
.again-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px 12px 20px; border-radius: 999px; font-family: var(--disp); font-weight: 900; font-size: 1.04rem; line-height: 1; color: var(--ink); background: #fff; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.again-btn svg { width: 22px; height: 22px; transition: transform .6s var(--ease); }
.again-btn:hover svg { transform: rotate(-360deg); }
.again-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.again-x { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: .92rem; text-underline-offset: 4px; }
.again-x svg { width: 18px; height: 18px; }

/* ---------- フッター ---------- */
.foot { background: var(--cream); padding: 30px 0 120px; text-align: center; font-size: .84rem; font-weight: 700; }
.foot img { width: 240px; margin: 0 auto 14px; }
.foot .by a { color: var(--or-deep); }
.foot .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 8px 0 16px; }
.foot .small { font-size: .7rem; font-weight: 500; color: #5A6788; line-height: 1.7; max-width: 720px; margin: 0 auto; }

/* ---------- 下のストア予約追従バー ---------- */
.dock {
  position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: calc(100vw - 20px);
  padding: 7px 8px 7px 10px; border-radius: 999px;
  background: #fff; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink), 0 16px 30px rgba(0, 0, 0, .3);
  transform: translate(-50%, 180%); transition: transform .4s var(--ease);
}
.dock.show { transform: translate(-50%, 0); }
.dock-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.dock-icon { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--ink); flex: none; }
.dock-date { display: grid; font-size: .66rem; font-weight: 900; line-height: 1.25; white-space: nowrap; }
.dock-date b { font-family: var(--disp); font-weight: 900; font-size: .92rem; letter-spacing: .02em; }
.dock-date small { font-size: .66rem; color: #5A6788; }
.dock-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 16px 10px; border-radius: 999px;
  background: linear-gradient(180deg, #FF6D89, var(--pink)); color: #fff;
  border: 2px solid var(--ink); font-weight: 900; font-size: .84rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease);
}
.dock-cta:hover { transform: translateY(-2px); }
.dock-cta svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 400px) {
  .dock { gap: 8px; padding: 6px 6px 6px 8px; }
  .dock-icon { width: 36px; height: 36px; border-radius: 10px; }
  .dock-date { display: none; }
  .dock-cta { padding: 10px 14px; font-size: .8rem; }
}

/* ---------- 英語表示のときの調整 ---------- */
html[lang='en'] .sec-ja { letter-spacing: .04em; }
html[lang='en'] .hero-catch { font-size: clamp(1.3rem, 2.7vw, 2.3rem); }
html[lang='en'] .hand button b { letter-spacing: 0; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-float svg { display: none; }
  .hero-burst { display: none; }
}
