/* つりびより LP
   スクロールの進み＝一日の時刻。空の色・光・時計がそれに合わせて変わる */

:root {
  --ink: #2b1b14;
  --ink-soft: #6b5040;
  --paper: #f6efdd;
  --paper-2: #efe4c8;
  --wood: #8a5a34;
  --wood-dark: #5c3a24;
  --wood-light: #c99a66;
  --gold: #f8d040;
  --gold-dark: #d89a20;
  --red: #d8402e;
  --leaf: #559a4a;
  --sea: #2470aa;
  --sea-light: #7cc4e4;
  /* JS が時刻で書き換える */
  --sky-top: #f6c98a;
  --sky-bot: #fbe7c4;
  --sky-ink: #2b1b14;
  --night: 0;
  --pixel: "DotGothic16", "Hiragino Sans", sans-serif;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --radius: 18px;
  --shadow-hard: 0 4px 0 rgba(43, 27, 20, .28);
  --wrap: min(1160px, 100% - 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--round);
  font-weight: 500;
  color: var(--ink);
  background: var(--sky-bot);
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } }
.wrap { width: var(--wrap); margin-inline: auto; position: relative; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- 読み込み ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; gap: 22px; justify-items: center;
  background: #1a528a;
  transition: opacity .8s ease, visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__water { position: relative; width: 120px; height: 60px; }
.loader__bobber { position: absolute; left: 50%; top: 4px; width: 40px; translate: -50% 0; animation: bob 1.4s ease-in-out infinite; }
.loader__ring {
  position: absolute; left: 50%; top: 48px; width: 16px; height: 6px; translate: -50% -50%;
  border: 2px solid rgba(255,255,255,.75); border-radius: 50%;
  animation: ring 1.8s ease-out infinite;
}
.loader__ring.r2 { animation-delay: .9s; }
.loader__text { margin: 0; font-family: var(--pixel); color: #fff; font-size: 22px; letter-spacing: .3em; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "．"; } 50% { content: "．．"; } 75% { content: "．．．"; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes ring { from { width: 10px; height: 4px; opacity: 1; } to { width: 110px; height: 30px; opacity: 0; } }

/* ---------- 空 ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 75%);
  transition: background .2s linear;
}
.sky__sun {
  position: absolute; width: 46vmin; height: 46vmin; border-radius: 50%;
  left: var(--sun-x, 80%); top: var(--sun-y, 20%); translate: -50% -50%;
  background: radial-gradient(circle, var(--sun-core, #fff6d0) 0 9%, color-mix(in srgb, var(--sun-core, #fff6d0) 45%, transparent) 16%, transparent 62%);
  opacity: calc(var(--sun-o, .8) * .7);
}
.sky__stars { position: absolute; inset: 0; opacity: var(--night); transition: opacity .3s; }
.sky__stars i {
  position: absolute; width: 3px; height: 3px; background: #fff; box-shadow: 0 0 6px #fff;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- 時計（ゲームと同じ形） ---------- */
.clock {
  position: fixed; left: max(16px, env(safe-area-inset-left)); top: 14px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; text-decoration: none;
  background: var(--paper); border: 3px solid var(--wood-dark); border-radius: 10px;
  box-shadow: var(--shadow-hard), inset 0 0 0 2px #fff8e6;
  font-family: var(--pixel);
}
.clock__icon { font-size: 22px; line-height: 1; color: #f0a020; width: 24px; text-align: center; }
.clock__time { font-size: 28px; line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.clock__sep { width: 2px; height: 28px; background: var(--wood-light); }
.clock__label { display: grid; line-height: 1.1; }
.clock__label b { font-weight: 400; font-size: 17px; }
.clock__label small { font-size: 11px; color: var(--ink-soft); }

.nav {
  position: fixed; right: max(16px, env(safe-area-inset-right)); top: 14px; z-index: 50;
  display: flex; gap: 4px; padding: 5px;
  background: rgba(246, 239, 221, .86); backdrop-filter: blur(8px);
  border: 2px solid rgba(92, 58, 36, .5); border-radius: 999px;
}
.nav a {
  text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 6px 14px; border-radius: 999px; transition: background .2s;
}
.nav a:hover { background: rgba(201, 154, 102, .35); }
.nav .nav__cta { background: var(--gold); box-shadow: inset 0 -3px 0 var(--gold-dark); }
@media (max-width: 900px) { .nav a:not(.nav__cta) { display: none; } }

/* ---------- 見出し ---------- */
.sec-head { max-width: 680px; margin: 0 0 44px; }
.sec-head .sec-head__time {
  display: inline-block; margin: 0 0 14px; padding: 4px 12px;
  font-family: var(--pixel); font-size: 15px; letter-spacing: .08em;
  background: var(--wood-dark); color: #fff3d6; border-radius: 6px; box-shadow: var(--shadow-hard);
}
.sec-head h2 {
  margin: 0 0 16px; font-weight: 900; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.3; letter-spacing: .01em;
  color: var(--sky-ink);
}
.sec-head p { margin: 0; font-size: 17px; color: color-mix(in srgb, var(--sky-ink) 78%, transparent); }
.sec-head .hl { background: linear-gradient(transparent 62%, rgba(248, 208, 64, .7) 62%); color: var(--ink); }
.sec-head--light h2, .sec-head--light p { color: #fff8e8; }
section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }

/* 板（木の縁の紙） */
.wood {
  background: var(--paper);
  border: 4px solid var(--wood-dark); border-radius: var(--radius);
  box-shadow: 0 6px 0 rgba(43, 27, 20, .3), inset 0 0 0 3px #fffaf0, inset 0 0 0 6px var(--wood-light);
}
.btn {
  border: 0; cursor: pointer; padding: 10px 26px; font-weight: 900; font-size: 17px; border-radius: 12px;
  transition: transform .12s, box-shadow .12s;
}
.btn--gold { background: var(--gold); box-shadow: inset 0 -4px 0 var(--gold-dark), 0 3px 0 rgba(43, 27, 20, .25); }
.btn:active { transform: translateY(2px); }

/* 出てくる */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 06:00 ヒーロー ---------- */
.hero { min-height: 100svh; padding: 0; display: grid; overflow: hidden; isolation: isolate; }
.hero__art { position: absolute; inset: 0; z-index: -1; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); will-change: transform; }
.hero__haze {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 225, 170, .35) 0%, transparent 35%, transparent 70%, rgba(246, 201, 138, .55) 100%);
  mix-blend-mode: soft-light;
}
.hero__dawn {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(70, 60, 140, .25) 0%, rgba(240, 140, 110, .18) 45%, transparent 80%);
  mix-blend-mode: multiply; opacity: var(--dawn, 1); transition: opacity .2s linear;
}
.hero__glint { position: absolute; width: 6px; height: 6px; background: #fff; box-shadow: 0 0 10px 3px rgba(255, 255, 255, .8); animation: glint 3.2s ease-in-out infinite; }
.hero__glint.g1 { left: 72%; top: 58%; } .hero__glint.g2 { left: 84%; top: 63%; animation-delay: 1.1s; } .hero__glint.g3 { left: 63%; top: 66%; animation-delay: 2.2s; }
@keyframes glint { 0%, 70%, 100% { opacity: 0; transform: scale(.4); } 80% { opacity: 1; transform: scale(1.2) rotate(45deg); } }
.hero__inner {
  align-self: center; justify-self: end;
  width: min(640px, 92vw); margin-right: max(4vw, 20px); margin-top: 40px; margin-bottom: 70px;
  text-align: center;
}
.hero__logo img { max-height: 30vh; width: auto; margin-inline: auto; }
.hero__logo { margin: 0; filter: drop-shadow(0 6px 0 rgba(43, 27, 20, .25)); animation: logo-in 1.4s cubic-bezier(.2, .9, .2, 1.2) both .3s; }
@keyframes logo-in { from { opacity: 0; transform: translateY(-30px) rotate(-3deg) scale(.9); } }
.hero__lead {
  margin: 22px auto 0; padding: 14px 22px; max-width: 560px;
  background: rgba(246, 239, 221, .92); border: 3px solid var(--wood-dark); border-radius: 14px;
  box-shadow: var(--shadow-hard); font-size: 17px; font-weight: 700;
}
.hero__lead b { font-family: var(--pixel); font-weight: 400; font-size: 1.3em; color: var(--red); }
.hero__stats { list-style: none; display: flex; justify-content: center; gap: 10px; margin: 16px 0 0; padding: 0; flex-wrap: wrap; }
.hero__stats li {
  display: grid; justify-items: center; min-width: 96px; padding: 8px 10px;
  background: var(--wood-dark); color: #fff3d6; border-radius: 12px; box-shadow: var(--shadow-hard);
}
.hero__stats b { font-family: var(--pixel); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--gold); }
.hero__stats span { font-size: 12px; font-weight: 700; }
.keyart img { filter: drop-shadow(0 10px 6px rgba(43, 27, 20, .3)); }
.keyart__boy, .keyart__girl { height: min(44vh, 400px); width: auto; animation: idle 2.6s ease-in-out infinite; }
.keyart__girl { animation-delay: -1.3s; margin-left: -2vw; }
.keyart__dog { height: min(22vh, 200px); width: auto; margin-left: -1.5vw; margin-bottom: -1vh; animation: wag 1.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wag { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2deg) translateY(-3px); } }
.path { position: relative; height: 150px; overflow: hidden; }
.path__grass {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, #a8d665 1.5px, transparent 2px) 0 0 / 22px 18px,
    radial-gradient(circle at 70% 70%, #3b7a46 1.5px, transparent 2px) 0 0 / 26px 20px,
    linear-gradient(180deg, #7cbb54, #559a4a);
  border-top: 4px solid #3b7a46;
}
.path__road {
  position: absolute; left: 0; right: 0; top: 64px; height: 56px;
  background:
    radial-gradient(circle at 30% 40%, #e0b97e 2px, transparent 2.5px) 0 0 / 30px 20px,
    radial-gradient(circle at 70% 60%, #9c7350 1.5px, transparent 2px) 0 0 / 24px 16px,
    #c0935f;
  border-top: 3px solid #9c7350; border-bottom: 3px solid #9c7350;
}
.path__sign {
  position: absolute; right: 8%; top: 18px; padding: 4px 14px; z-index: 1;
  background: #c99a66; border: 3px solid var(--wood-dark); border-radius: 6px; font-weight: 900; font-size: 14px; box-shadow: var(--shadow-hard);
}
.path__sign::after { content: ""; position: absolute; left: 50%; top: 100%; width: 6px; height: 26px; translate: -50% 3px; background: var(--wood-dark); z-index: -1; }
.walkers { position: absolute; left: 0; right: 0; bottom: 34px; height: 90px; pointer-events: none; z-index: 2; }
.walker { position: absolute; bottom: 0; height: 84px; width: auto; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .18)); }
.walker--x4 { height: 84px; }
.walker--dog { height: 60px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 3;
  display: grid; justify-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; font-size: 13px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}
.scroll-cue i { width: 2px; height: 28px; background: linear-gradient(#fff, transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 600px) {
  .hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .hero__stats li { min-width: 0; padding: 6px 2px; }
  .hero__stats b { font-size: 22px; }
  .hero__stats span { font-size: 10px; }
  .hero__lead { font-size: 15px; padding: 12px 14px; }
}
@media (max-width: 900px) {
  .hero__inner { justify-self: center; margin: 90px auto 0; align-self: start; }
  .keyart-unused { left: 50%; translate: -50% 0; bottom: 14vh; }
  .keyart__boy, .keyart__girl { height: 28vh; }
  .keyart__dog { height: 14vh; }
  .scroll-cue { display: none; }
}

/* ---------- 07:00 相棒 ---------- */
.partner__card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 36px; align-items: center; }
.partner__pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-pick {
  display: grid; justify-items: center; gap: 6px; padding: 18px 10px 12px; cursor: pointer;
  background: var(--paper-2); border: 3px solid var(--wood-light); border-radius: 16px;
  transition: transform .2s, background .2s, border-color .2s;
}
.hero-pick img { height: clamp(180px, 22vw, 280px); width: auto; transition: transform .3s cubic-bezier(.2, .9, .2, 1.4); }
.hero-pick span { font-weight: 900; font-size: 18px; color: var(--ink-soft); }
.hero-pick:hover { transform: translateY(-3px); }
.hero-pick.is-on { background: #fff3c4; border-color: var(--wood-dark); box-shadow: inset 0 -5px 0 rgba(216, 154, 32, .35); }
.hero-pick.is-on img { transform: translateY(-6px) scale(1.04); }
.hero-pick.is-on span { color: var(--ink); }
.partner__dog { display: grid; justify-items: center; gap: 14px; text-align: center; }
.dog-stage { position: relative; height: clamp(170px, 17vw, 230px); display: flex; align-items: flex-end; justify-content: center; }
.dog-stage__dog { height: 100%; width: auto; max-width: none; cursor: pointer; transition: transform .25s; filter: drop-shadow(0 6px 0 rgba(43, 27, 20, .12)); }
.dog-stage__dog:hover { transform: rotate(-3deg); }
.dog-stage__heart { position: absolute; top: 0; right: 10%; font-size: 28px; color: var(--red); opacity: 0; }
.dog-stage__heart.is-pop { animation: heart 1s ease-out; }
@keyframes heart { 0% { opacity: 0; transform: translateY(10px) scale(.4); } 30% { opacity: 1; transform: translateY(0) scale(1.2); } 100% { opacity: 0; transform: translateY(-30px) scale(1); } }
.name-field { display: grid; gap: 6px; font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.name-field input {
  width: min(280px, 70vw); padding: 10px 14px; text-align: center;
  font: 900 26px var(--round); color: var(--ink);
  background: #fffaf0; border: 3px solid var(--wood-light); border-radius: 12px;
}
.name-field input:focus { outline: none; border-color: var(--wood-dark); }
.partner__hello { margin: 0; font-weight: 700; }
.partner__hello b { color: var(--red); }
@media (max-width: 860px) { .partner__card { grid-template-columns: 1fr; padding: 22px; } }

/* ---------- 10:00 釣り（ミニゲーム） ---------- */
.pond {
  position: relative; aspect-ratio: 2229 / 1206; overflow: hidden; cursor: pointer; user-select: none;
  border: 4px solid var(--wood-dark); border-radius: 22px; box-shadow: 0 8px 0 rgba(43, 27, 20, .3);
  background: #2f6f6c; -webkit-tap-highlight-color: transparent;
}
.pond-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.pond-tabs button {
  cursor: pointer; padding: 8px 18px; font-weight: 900; font-size: 15px; border-radius: 12px;
  background: rgba(246, 239, 221, .85); border: 3px solid rgba(92, 58, 36, .5);
}
.pond-tabs small { font-size: 11px; font-weight: 700; color: var(--ink-soft); margin-left: 4px; }
.pond-tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--wood-dark); box-shadow: inset 0 -3px 0 var(--gold-dark); }
.pond__stage { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 2229 / 1206; transform: translateX(-50%); }
.pond__scene { transition: opacity .35s; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pond__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.pond__line path { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: .18; vector-effect: non-scaling-stroke; stroke-width: 1.4px; }
.pond__bobber { position: absolute; width: 2.4%; left: 50%; top: 40%; translate: -50% -70%; opacity: 0; z-index: 3; }
.pond__bobber.is-float { animation: bob 1.6s ease-in-out infinite; }
.pond__bobber.is-nibble { animation: nibble .25s ease-in-out 2; }
.pond__bobber.is-bite { transform: translateY(40%); opacity: .5; transition: transform .1s, opacity .1s; }
@keyframes nibble { 50% { transform: translateY(25%); } }
.pond__exclaim { position: absolute; width: 2%; translate: -50% -100%; opacity: 0; z-index: 4; }
.pond__exclaim.is-on { opacity: 1; animation: pop .25s cubic-bezier(.2, .9, .2, 1.6); }
@keyframes pop { from { transform: scale(.2); } }
.pond__rings span {
  position: absolute; translate: -50% -50%; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%;
  animation: ring 1.2s ease-out forwards; pointer-events: none;
}
.pond__hint {
  position: absolute; left: 50%; top: 24px; translate: -50% 0; margin: 0; z-index: 4;
  padding: 6px 18px; border-radius: 999px; white-space: nowrap;
  background: rgba(0, 0, 0, .5); color: #fff; font-weight: 700; font-size: 16px;
}
.pond__hint.is-hot { background: var(--gold); color: var(--ink); font-size: 20px; animation: pulse .3s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.06); } }
.pond__btn {
  position: absolute; right: 22px; bottom: 22px; z-index: 4;
  min-width: 150px; padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 3px solid rgba(255, 255, 255, .75); background: rgba(35, 40, 52, .88); color: #fff;
  font-weight: 900; font-size: 22px; letter-spacing: .1em;
}
.pond__btn.is-hot { background: var(--gold); color: var(--ink); border-color: var(--gold-dark); animation: pulse .18s ease-in-out infinite alternate; }

@keyframes card-in { from { opacity: 0; transform: scale(.85) translateY(20px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flop { from { transform: scale(.3) rotate(-25deg); } }
.fish__note { margin: 28px 0 0; max-width: 760px; font-weight: 700; color: var(--sky-ink); }
@media (max-width: 700px) {
  .pond__hint { top: 10px; font-size: 12px; padding: 4px 12px; }
  .pond__hint.is-hot { font-size: 15px; }
  .pond__btn { right: 10px; bottom: 10px; min-width: 0; padding: 8px 16px; font-size: 15px; border-width: 2px; }
  .pond { aspect-ratio: auto; height: 300px; }
  .pond__stage { transform: translateX(-56%); }
  .pond__angler img { height: 110px; } }

/* ---------- 12:00 図鑑 ---------- */
.big-num { font-family: var(--pixel); font-weight: 400; font-size: 1.6em; color: var(--red); letter-spacing: 0; }
.fishwall { display: grid; gap: 14px; margin: 0 0 56px; overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fishrow { display: flex; gap: 14px; width: max-content; animation: marquee var(--dur, 80s) linear infinite; }
.fishrow.rev { animation-direction: reverse; }
.fishwall:hover .fishrow { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.fcard {
  position: relative; width: 168px; height: 112px; flex: none; display: grid; place-items: center;
  background: rgba(246, 239, 221, .78); border: 3px solid rgba(92, 58, 36, .55); border-radius: 14px;
  transition: transform .2s, background .2s;
}
.fcard img { width: 82%; height: 70%; object-fit: contain; filter: brightness(0) opacity(.55); transition: filter .35s; }
.fcard:hover, .fcard.is-caught { background: #fffaf0; }
.fcard:hover img, .fcard.is-caught img { filter: none; }
.fcard:hover { transform: translateY(-4px); }
.fcard span {
  position: absolute; left: 8px; bottom: 4px; right: 8px; font-size: 11px; font-weight: 900; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-soft); opacity: 0; transition: opacity .2s;
}
.fcard:hover span, .fcard.is-caught span { opacity: 1; }
.fcard.is-caught::after {
  content: "済"; position: absolute; right: 6px; top: 4px; font-size: 11px; font-weight: 900; color: #fff;
  background: var(--red); border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center;
}
.zukan__meter { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: -26px auto 40px; }
.meter { flex: 1; min-width: 260px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 18px; background: rgba(246, 239, 221, .92); border: 3px solid var(--wood-dark); border-radius: 14px; }
.meter span { font-weight: 900; font-size: 14px; }
.meter b { font-family: var(--pixel); font-weight: 400; font-size: 20px; }
.meter b i { font-style: normal; color: var(--red); font-size: 26px; }
.meter__bar { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: rgba(92, 58, 36, .15); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.ranks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rank { display: grid; justify-items: center; gap: 2px; padding: 14px 8px; background: rgba(246, 239, 221, .9); border: 3px solid var(--wood-dark); border-radius: 14px; text-align: center; }
.rank b { font-family: var(--pixel); font-weight: 400; font-size: 26px; color: var(--gold-dark); }
.rank span { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.rank--crown { background: linear-gradient(135deg, #fff3c4, #fde28a); }
.rank--crown img { width: 34px; }
@media (max-width: 700px) { .ranks { grid-template-columns: 1fr 1fr; } .fcard { width: 132px; height: 90px; } }

/* ---------- 14:00 釣法 ---------- */
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(20px, calc((100vw - 1160px) / 2)) 30px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.mcard {
  scroll-snap-align: start; flex: none; width: 260px; padding: 18px 18px 20px;
  background: var(--paper); border: 4px solid var(--wood-dark); border-radius: 18px;
  box-shadow: 0 6px 0 rgba(43, 27, 20, .28); transition: transform .25s;
}
.mcard:hover { transform: translateY(-6px) rotate(-.6deg); }
.mcard__icon { display: grid; place-items: center; height: 150px; margin-bottom: 8px; border-radius: 12px; background: radial-gradient(circle at 50% 60%, #fff7dc, #f1e3bf); }
.mcard__icon img { width: 136px; }
.mcard__no { font-family: var(--pixel); font-size: 13px; color: var(--wood); }
.mcard h3 { margin: 0 0 4px; font-size: 22px; font-weight: 900; }
.mcard__gear { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--wood); }
.mcard__how { margin: 0 0 10px; font-size: 14px; line-height: 1.7; min-height: 4.6em; }
.mcard__target { margin: 0; padding-top: 8px; border-top: 2px dashed var(--wood-light); font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.rail-ctrl { display: flex; align-items: center; gap: 14px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; border: 3px solid var(--wood-dark); background: var(--paper); font-size: 14px; box-shadow: var(--shadow-hard); }
.rail-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(92, 58, 36, .2); overflow: hidden; }
.rail-bar i { display: block; height: 100%; width: 20%; background: var(--wood-dark); border-radius: 3px; transition: transform .1s; }

/* ---------- 16:00 旅 ---------- */
.journey__grid { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 26px; align-items: stretch; }
.jmap { padding: 14px; }
.jmap__inner { position: relative; aspect-ratio: 240 / 256; border-radius: 10px; overflow: hidden; }
.jmap__base, .jmap__hl { position: absolute; inset: 0; width: 100%; height: 100%; }
.jmap__hl { animation: hl 1.4s ease-in-out infinite alternate; }
@keyframes hl { from { opacity: .45; } to { opacity: .95; } }
.jmap__pins { position: absolute; inset: 0; }
.jpin {
  position: absolute; translate: -50% -100%; width: clamp(18px, 6.5%, 30px); aspect-ratio: 3 / 4; height: auto; padding: 0; border: 0; background: none; cursor: pointer;
  transition: transform .2s cubic-bezier(.2, .9, .2, 1.6);
}
.jpin img { width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .3)); }
.jpin:hover, .jpin.is-on { transform: scale(1.35); z-index: 2; }
.jpin__label {
  position: absolute; left: 50%; bottom: 100%; translate: -50% -4px; white-space: nowrap;
  padding: 2px 8px; font-size: 11px; font-weight: 900; color: #fff; background: var(--wood-dark); border-radius: 6px;
  opacity: 0; transition: opacity .2s;
}
.jpin:hover .jpin__label, .jpin.is-on .jpin__label { opacity: 1; }
.jpin.is-west .jpin__label { left: 0; translate: 0 -4px; }
.jpin.is-east .jpin__label { left: auto; right: 0; translate: 0 -4px; }
.jmap { display: grid; gap: 12px; align-content: start; }
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.routes button {
  width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 8px; cursor: pointer;
  padding: 7px 12px; text-align: left; border-radius: 10px; border: 2px solid transparent; background: #fff7dc; transition: background .2s, border-color .2s;
}
.routes button:hover, .routes button.is-on { background: #fff0b0; border-color: var(--wood); }
.routes small { font-family: var(--pixel); font-size: 12px; color: var(--wood); }
.routes b { font-weight: 900; font-size: 15px; }
.routes em { font-style: normal; font-family: var(--pixel); font-size: 13px; color: var(--ink-soft); }
.jcard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.jcard__shot { aspect-ratio: 16 / 8.6; overflow: hidden; border-bottom: 4px solid var(--wood-dark); }
.jcard__shot img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 6s ease-out; }
.jcard.is-swap .jcard__shot img { opacity: 0; }
.jcard:hover .jcard__shot img { transform: scale(1.04); }
.jcard__body { padding: 20px 24px 22px; }
.jcard__kind { margin: 0; font-family: var(--pixel); font-size: 13px; color: var(--wood); }
.jcard h3 { margin: 0 0 6px; font-size: 28px; font-weight: 900; }
.jcard p { margin: 0 0 12px; font-size: 15px; }
.jcard__fish { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jcard__fish li { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; background: #fff7dc; border-radius: 10px; font-size: 12px; font-weight: 900; }
.jcard__fish img { height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.journey__more { margin: 26px 0 0; font-weight: 700; color: var(--sky-ink); }
@media (max-width: 860px) { .journey__grid { grid-template-columns: 1fr; } .jmap { max-width: 420px; justify-self: center; width: 100%; } }

/* ---------- 18:00 水槽 ---------- */
.tank-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tank-tabs button {
  cursor: pointer; padding: 8px 18px; font-weight: 900; font-size: 15px; border-radius: 999px;
  background: rgba(246, 239, 221, .85); border: 3px solid rgba(92, 58, 36, .5);
}
.tank-tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--wood-dark); box-shadow: inset 0 -3px 0 var(--gold-dark); }
.tank { position: relative; padding: 26px 26px 92px; border-radius: 22px; background: #2b3560; border: 4px solid #1a2040; box-shadow: 0 8px 0 rgba(0, 0, 0, .3), inset 0 -60px 0 #4e4a56; }
.tank__glass {
  position: relative; width: 100%; aspect-ratio: var(--ar, 268 / 140);
  background: var(--img) center / 100% 100% no-repeat; image-rendering: pixelated;
  transition: aspect-ratio .4s;
}
.tank__water { position: absolute; overflow: hidden; left: var(--wx); top: var(--wy); width: var(--ww); height: var(--wh); }
.tank__fish { position: absolute; inset: 0; }
.swim { position: absolute; left: 0; top: 0; will-change: transform; }
.swim img { width: 100%; height: auto; filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, .15)); }
.tank__bubbles i {
  position: absolute; bottom: 4%; width: 6px; height: 6px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .8); animation: bubble linear infinite;
}
@keyframes bubble { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-380px) translateX(10px); opacity: 0; } }
.tank__plate {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center;
  padding: 4px 22px; background: #e8d9a8; border: 3px solid #8a5a34; border-radius: 8px; line-height: 1.4;
}
.tank__plate b { font-size: 15px; font-weight: 900; }
.tank__plate span { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.tank__visitors { position: absolute; right: 40px; bottom: 8px; display: flex; align-items: flex-end; gap: 0; }
.tank__visitors img { height: 120px; width: auto; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
.tank__visitors .is-dog { height: 76px; }
@media (max-width: 700px) {
  .tank { padding: 16px 16px 84px; }
  .tank__visitors { right: 12px; bottom: 6px; }
  .tank__visitors img { height: 66px; } .tank__visitors .is-dog { height: 42px; }
  .tank__plate { left: 16px; translate: 0; bottom: 14px; max-width: 52%; padding: 4px 10px; justify-items: start; }
}

/* ---------- 20:00 アルバム（縦スクロールで横に流れる） ---------- */
.gallery { padding: 0; height: 320vh; }
.gallery__pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 30px; overflow: hidden; }
.gallery .sec-head { width: var(--wrap); margin: 0 auto; }
.film { display: flex; width: max-content; gap: 26px; padding-left: max(20px, calc((100vw - 1160px) / 2)); will-change: transform; }
.film figure { flex: none; margin: 0; width: min(64vw, 720px); }
.film img {
  width: 100%; aspect-ratio: 16 / 8.65; object-fit: cover; border-radius: 14px;
  border: 5px solid #fff8e6; box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
}
.film figcaption { margin-top: 12px; color: #fff8e8; font-weight: 700; font-size: 14px; text-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.film figcaption b { display: block; font-size: 20px; font-weight: 900; }
@media (max-width: 700px) { .film figure { width: 82vw; } }

/* ---------- 22:00 夜 ---------- */
.night { min-height: 100svh; display: grid; align-content: center; text-align: center; color: #fff8e8; padding-bottom: 0; overflow: hidden; }
.night__inner { display: grid; justify-items: center; gap: 14px; padding-bottom: 120px; }
.night__trio { display: flex; align-items: flex-end; margin-bottom: 8px; }
.night__kid { height: clamp(150px, 18vw, 230px); width: auto; filter: brightness(.82) saturate(.9) drop-shadow(0 0 30px rgba(255, 220, 140, .25)); }
.night__dog { height: clamp(80px, 10vw, 120px); width: auto; margin: 0 -10px; filter: brightness(.9); animation: breathe 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes breathe { 50% { transform: scaleY(1.04); } }
.night__title { margin: 0; font-weight: 900; font-size: clamp(30px, 5vw, 58px); line-height: 1.35; }
.night__title .dogname { color: var(--gold); }
.night p { margin: 0; font-weight: 700; opacity: .85; }
.night__cta { margin-top: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 26px 10px 12px;
  background: #fff8e8; color: var(--ink); border-radius: 18px; border: 3px solid var(--gold);
  box-shadow: 0 0 40px rgba(248, 208, 64, .35);
  text-decoration: none; transition: transform .15s;
}
.store:hover { transform: translateY(-2px); }
.store img { width: 56px; border-radius: 14px; }
.store span { display: grid; text-align: left; line-height: 1.2; }
.store small { font-weight: 700; color: var(--ink-soft); }
.store b { font-size: 22px; font-weight: 900; }
.night__facts { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0 0; padding: 0; }
.night__facts li { padding: 4px 14px; border: 2px solid rgba(255, 248, 232, .35); border-radius: 999px; font-size: 13px; font-weight: 700; }
.fireflies i {
  position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #f8f0a0;
  box-shadow: 0 0 12px 4px rgba(248, 240, 160, .6); animation: fly var(--d, 9s) ease-in-out infinite;
}
@keyframes fly {
  0%, 100% { transform: translate(0, 0); opacity: .2; }
  25% { transform: translate(40px, -30px); opacity: 1; }
  50% { transform: translate(-20px, -60px); opacity: .4; }
  75% { transform: translate(30px, -20px); opacity: 1; }
}
.foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 26px; font-size: 12px; opacity: .6; }
.foot p { margin: 0; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ===== 仕上げ（第三者レビューを受けて） ===== */
/* ヒーローの 3 人 */
.keyart { position: absolute; left: 5vw; bottom: 8vh; z-index: 1; display: flex; align-items: flex-end; pointer-events: none; }
.keyart img { filter: drop-shadow(0 6px 0 rgba(43, 27, 20, .28)); }
.keyart__boy, .keyart__girl { height: min(46vh, 420px); width: auto; animation: idle 2.6s ease-in-out infinite; }
.keyart__girl { animation-delay: -1.3s; margin-left: -1.5vw; }
.keyart__dog { height: min(23vh, 210px); width: auto; margin: 0 -3vw 0 -4vw; position: relative; z-index: 2; animation: wag 1.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wag { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2deg) translateY(-3px); } }

.hero__ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.btn { text-decoration: none; display: inline-block; }
.btn--ghost { background: rgba(246, 239, 221, .92); border: 3px solid var(--wood-dark); box-shadow: 0 3px 0 rgba(43, 27, 20, .25); padding: 7px 22px; }

/* 見出しは紙の板の上に（夕方〜夜でも読める） */
.sec-head:not(.sec-head--light) { background: rgba(246, 239, 221, .9); padding: 22px 26px; border-radius: 18px; border: 3px solid rgba(92, 58, 36, .35); box-shadow: 0 4px 0 rgba(43, 27, 20, .15); }
.sec-head:not(.sec-head--light) h2 { color: var(--ink); }
.sec-head:not(.sec-head--light) p { color: var(--ink-soft); }
.fish__note, .journey__more { background: rgba(246, 239, 221, .9); padding: 12px 18px; border-radius: 12px; color: var(--ink) !important; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .big-num { display: block; font-size: 2.6em; line-height: 1; }

/* 釣法：見出しを左に、カードを右に */
.methods__layout { width: min(1320px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.methods__layout .sec-head { position: sticky; top: 90px; margin: 0; }
.methods__right { min-width: 0; }
.methods .rail { padding: 10px 30vw 30px 4px; }
@media (max-width: 960px) { .methods__layout { grid-template-columns: 1fr; } .methods__layout .sec-head { position: static; } }
.aquarium { padding-top: 80px; }

/* 影はゲームと同じ「ずらした固い影」に */
.film img { box-shadow: 0 10px 0 rgba(0, 0, 0, .35); }
.tank__visitors img, .night__kid, .pond__angler img { filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .3)); }
.walker { image-rendering: pixelated; }

/* タッチ端末：隠れる情報を見せる */
@media (hover: none) {
  .fcard span { opacity: .75; }
  .fcard img { filter: brightness(0) opacity(.45); }
  .jpin.is-on .jpin__label { opacity: 1; }
}

/* 小さな文字を読みやすく */
.hero__stats span, .tank__plate span, .jpin__label, .foot, .mcard__gear, .mcard__target { font-size: max(12px, 1em); }
.hero__stats span { font-size: 12px; }
.tank__plate span { font-size: 12px; }
.jpin__label { font-size: 12px; }
.foot { font-size: 12px; }
@media (max-width: 700px) {
  .pond { aspect-ratio: 4 / 3; height: auto; }
  .pond__stage { transform: translateX(-60%); }
  .pond__hint { font-size: 13px; }
  .sec-head:not(.sec-head--light) { padding: 18px; }
  /* 下のフッター（position: absolute。スマホでは 5 行ほど）に一覧が重ならないように */
  .night { padding-bottom: 170px; }
}
.night__play { margin-right: 14px; vertical-align: middle; }
.sec-head .sec-head__time, .sec-head:not(.sec-head--light) .sec-head__time { color: #fff3d6; }
@media (min-width: 961px) {
  .methods__layout { grid-template-columns: 380px minmax(0, 1fr); }
  .methods__layout .sec-head h2 { font-size: clamp(28px, 2.6vw, 38px); }
}

/* 日本語の改行を文節で */
.sec-head h2, .hero__lead, .night p, .night__title, .sec-head p, .jcard p, .mcard__how { word-break: auto-phrase; text-wrap: balance; }
.nb { display: inline-block; }
/* スマホのヒーロー：3 人を下に */
@media (max-width: 900px) {
  .keyart { left: 50%; translate: -50% 0; bottom: 2vh; }
  .keyart__boy, .keyart__girl { height: 22vh; }
  .keyart__dog { height: 11vh; }
  .hero__ctas .btn { width: min(300px, 80vw); text-align: center; }
}
/* スマホ：上の時計を小さく、うしろに空のぼかし */
@media (max-width: 640px) {
  .clock { padding: 4px 10px; gap: 6px; }
  .clock__time { font-size: 20px; }
  .clock__icon { font-size: 16px; }
  .clock__sep { height: 20px; }
  .clock__label small { display: none; }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: 68px; z-index: 49; background: linear-gradient(var(--sky-top), transparent); pointer-events: none; }
}
.jcard { align-content: start; grid-template-rows: auto auto; }
section, .path { scroll-margin-top: 80px; }
@media (max-width: 640px) { section { padding-top: 96px; } }

/* シェア */
.share { margin-top: 18px; display: grid; justify-items: center; gap: 10px; }
.share__lead { margin: 0; font-weight: 700; }
.share__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.share__btn {
  cursor: pointer; text-decoration: none; padding: 9px 20px; border-radius: 999px; font: 900 15px var(--round);
  color: #fff8e8; background: rgba(255, 248, 232, .08); border: 2px solid rgba(255, 248, 232, .55); transition: background .2s, transform .15s;
}
.share__btn:hover { background: rgba(255, 248, 232, .2); transform: translateY(-2px); }
.share__btn--x { background: #fff8e8; color: #141a3c; border-color: #fff8e8; }
.share__btn--line { background: #06c755; border-color: #06c755; color: #fff; }

/* 夕方の道（16:00 → 18:00 のつなぎ） */
.path--dusk { filter: sepia(.25) saturate(1.2) hue-rotate(-12deg) brightness(.92); }
.path--dusk .path__sign { right: auto; left: 8%; }


/* ===== 2026-10-12 修正：ヒーロー・釣り体験・釣果画面・釣法・水槽 ===== */
/* ヒーロー：ロゴを大きく、文字は最小限 */
.hero__inner { width: min(900px, 94vw); margin-top: 24px; margin-bottom: 90px; }
.hero__logo img { max-height: 48vh; width: min(880px, 92vw); height: auto; object-fit: contain; }
.hero__ctas { margin-top: 26px; align-items: center; gap: 16px; }
.hero__ctas .btn--gold { font-size: 20px; padding: 14px 34px; }
.store--hero { padding: 8px 22px 8px 10px; border-width: 3px; box-shadow: 0 4px 0 rgba(43, 27, 20, .25), 0 0 30px rgba(248, 208, 64, .3); }
.store--hero img { width: 46px; border-radius: 11px; }
.store--hero b { font-size: 19px; }
@media (max-width: 900px) {
  .hero__inner { margin: 70px auto 0; }
  .hero__logo img { max-height: 34vh; }
  .hero__ctas .btn { width: min(300px, 80vw); }
}

/* 釣り場とエサ */
.pond-bar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pond-tabs { margin: 0; }
.bait-tabs { display: flex; gap: 6px; }
.bait-tabs button {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 14px; font-weight: 900; font-size: 14px; border-radius: 999px;
  background: rgba(246, 239, 221, .85); border: 3px solid rgba(92, 58, 36, .5);
}
.bait-tabs button img { width: 22px; height: 22px; image-rendering: auto; }
.bait-tabs button[aria-checked="true"] { background: var(--gold); border-color: var(--wood-dark); box-shadow: inset 0 -3px 0 var(--gold-dark); }
.bait-tabs button[disabled] { opacity: .35; cursor: not-allowed; }

/* 釣り体験：主人公なし。ゲーム画面の切り出しに、水面タップで投げる */
.pond { aspect-ratio: 2229 / 1206; cursor: crosshair; }
.pond__stage { left: 50%; transform: translateX(-50%); }
.pond__bobber { width: 2.6%; translate: -50% -72%; }
.pond__exclaim { width: 2.2%; }
.pond__btn[hidden] { display: none; }
.pond__tap { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 3; }
.pond__tap::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 14px; translate: -50% -50%; border: 2px solid rgba(255, 255, 255, .9); border-radius: 50%; animation: ring 1s ease-out forwards; }
@media (max-width: 700px) {
  .pond { aspect-ratio: 4 / 3; height: auto; }
  .pond__stage { transform: translateX(-50%); }
  .pond[data-scene="harbor"] .pond__stage { transform: translateX(-58%); }
  .pond-bar { gap: 8px; }
  .bait-tabs button { padding: 5px 10px; font-size: 13px; }
}

/* 釣果画面：全画面のオーバーレイに、LP のカード（紙の板・木の縁・固い影）を 1 枚。情報は最小限 */
.catch {
  position: fixed; inset: 0; z-index: 60; padding: 16px; overflow: auto; cursor: default;
  display: grid; place-items: center; place-content: center;
  background: rgba(20, 16, 12, .5); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  border: 0; border-radius: 0; box-shadow: none; gap: 0;
}
.catch[hidden] { display: none; }
.catch.is-crown { background: rgba(20, 16, 12, .62); }
.catch__card {
  position: relative; width: min(100%, 640px); padding: 34px 26px 20px; box-sizing: border-box;
  background: var(--paper); border: 4px solid var(--wood-dark); border-radius: 22px;
  box-shadow: 0 10px 0 rgba(43, 27, 20, .35), inset 0 0 0 3px #fffaf0;
  animation: card-in .5s cubic-bezier(.2, .9, .2, 1.3);
}
.catch.is-crown .catch__card { border-color: var(--gold-dark); box-shadow: 0 10px 0 rgba(43, 27, 20, .35), inset 0 0 0 3px #fff3c4, 0 0 40px rgba(248, 208, 64, .45); }
.catch__sign {
  position: absolute; left: 50%; top: 0; translate: -50% -55%; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 24px; white-space: nowrap;
  background: var(--wood); color: #fff3d6; border: 3px solid var(--wood-dark); border-radius: 12px;
  font-weight: 900; font-size: 20px; box-shadow: var(--shadow-hard);
}
.catch__sign img { width: 24px; height: 24px; }
.catch__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; }
.catch__art { position: relative; height: 210px; min-height: 0; display: block; border-radius: 16px; background: #fff7dc; overflow: hidden; }
.catch.is-crown .catch__art { background: #fff1b8; }
.catch__burst { position: absolute; inset: -50%; background: repeating-conic-gradient(rgba(255, 210, 90, .55) 0 10deg, transparent 10deg 20deg); animation: spin 24s linear infinite; }
.catch.is-crown .catch__burst { background: repeating-conic-gradient(rgba(248, 190, 40, .8) 0 8deg, transparent 8deg 16deg); animation-duration: 10s; }
/* 絵：枠の内側に、縦横比を保って収める */
.catch__art img#catchImg {
  position: absolute; inset: 22px; margin: auto; width: auto; height: auto;
  max-width: calc(100% - 44px); max-height: calc(100% - 44px); object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .22)); animation: flop .7s cubic-bezier(.2, .9, .2, 1.5);
}
.catch__new {
  position: absolute; left: 10px; top: 10px; padding: 3px 12px; transform: rotate(-8deg);
  background: var(--red); color: #fff; font-family: var(--pixel); font-size: 18px; border-radius: 8px; box-shadow: var(--shadow-hard);
}
.catch__new[hidden] { display: none; }
.catch__crownmark { position: absolute; right: 10px; top: 10px; width: 44px; transform: rotate(10deg); }
.catch__crownmark[hidden] { display: none; }
.catch__info { display: grid; gap: 6px; min-width: 0; align-content: center; }
.catch__info h3 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.catch__sci { margin: -2px 0 4px; font-family: Georgia, serif; font-style: italic; color: var(--ink-soft); font-size: 13px; }
.catch__rank { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.catch__stars { display: inline-flex; align-items: center; gap: 2px; }
.catch__stars img { width: 22px; height: 22px; }
.catch__stars img.off { filter: grayscale(1); opacity: .3; }
.catch__stars .crown { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-size: 18px; color: var(--gold-dark); }
.catch__stars .crown img { width: 26px; height: 26px; }
.catch__rar { display: inline-flex; align-items: center; gap: 3px; }
.catch__rar small { font-size: 11px; font-weight: 700; color: var(--ink-soft); margin-right: 2px; }
.catch__rar span { display: inline-flex; gap: 2px; }
.catch__rar img { width: 13px; height: 13px; }
.catch__rar img.off { opacity: .25; filter: grayscale(1); }
.catch__size { margin: 6px 0 0; display: flex; align-items: baseline; gap: 6px; font-weight: 700; }
.catch__size small { font-size: 12px; color: var(--ink-soft); }
.catch__size b { font-family: var(--pixel); font-weight: 400; font-size: 44px; line-height: 1; color: var(--ink); }
.catch__size span { font-size: 16px; }
.catch__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; width: auto; flex-wrap: wrap; }
.catch__dex { margin: 0; font-weight: 700; color: var(--ink); text-shadow: none; }
.catch__dex b { font-family: var(--pixel); font-weight: 400; font-size: 24px; color: var(--red); }
.catch__foot .btn--gold { font-size: 18px; padding: 10px 30px; }
@media (max-width: 640px) {
  .catch { padding: 12px; }
  .catch__card { padding: 30px 16px 16px; }
  .catch__body { grid-template-columns: 1fr; gap: 12px; }
  .catch__art { height: 170px; }
  .catch__sign { font-size: 17px; padding: 6px 18px; }
  .catch__foot { justify-content: center; }
  .catch__dex { width: 100%; text-align: center; }
}
@media (max-height: 520px) { .catch { place-content: start center; } .catch__art { height: 150px; } }

/* 釣法：縦スクロールで横に流れる（アルバムと同じしかけ） */
.methods { padding: 0; height: 200vh; }
.methods__pin { position: sticky; top: 0; min-height: 100svh; display: grid; align-content: center; padding: 90px 0 40px; box-sizing: border-box; }
.methods__layout .sec-head { position: static; }
.rail-wrap { overflow: hidden; margin: 0 -20px; padding: 0 20px; }
.methods .rail { padding: 10px 4px 24px; width: max-content; overflow: visible; scroll-snap-type: none; will-change: transform; }
.rail-ctrl__hint { font-size: 12px; font-weight: 700; color: var(--sky-ink); opacity: .75; white-space: nowrap; }
@media (max-width: 960px) {
  .methods { height: 240vh; }
  .methods__pin { padding-top: 80px; }
  .mcard { width: 230px; }
}
@media (prefers-reduced-motion: reduce) { .methods { height: auto; } .methods__pin { position: static; min-height: 0; } .rail-wrap { overflow-x: auto; } }

/* 旅：路線の金額はなし */
.routes em { display: none; }

/* 水槽：魚はゲームと同じ縮尺（FishScale）。ゲームの水槽スプライトを使う */
.swim img { image-rendering: pixelated; }
/* スマホ：釣法の固定表示が 1 画面に収まるように */
@media (max-width: 700px) {
  .methods__pin { padding: 76px 0 16px; align-content: start; }
  .methods__layout { gap: 14px; }
  .methods__layout .sec-head { margin: 0; padding: 14px 16px; }
  .methods__layout .sec-head h2 { font-size: 22px; margin: 2px 0 4px; }
  .methods__layout .sec-head p:not(.sec-head__time) { display: none; }
  .methods .mcard { width: 200px; padding: 12px 12px 14px; }
  .methods .mcard__icon { height: 96px; margin-bottom: 4px; }
  .methods .mcard__icon img { width: 86px; }
  .methods .mcard h3 { font-size: 18px; }
  .methods .mcard__how { min-height: 0; font-size: 13px; }
  .methods .rail { padding-bottom: 12px; }
}

/* 魚影：ゲームの fish_shadow.png。大きさは釣れる魚の実寸（FishScale）、頭を仕掛けへ向ける */
.pond__shadow {
  position: absolute; left: 70%; top: 40%; width: var(--w, 5%); height: auto; translate: -50% -50%;
  transform: rotate(var(--a, 0rad)); transform-origin: 50% 50%; z-index: 1; pointer-events: none;
  filter: brightness(0); opacity: 0; transition: left 2.2s ease-in-out, top 2.2s ease-in-out, opacity .5s, transform .6s ease-out;
}
.pond__shadow.is-on { opacity: .36; }
.pond__shadow.is-peck { animation: peck .2s ease-out; }
.pond__shadow.is-strike { animation: strike .34s ease-out forwards; }
@keyframes peck { 30% { transform: rotate(var(--a, 0rad)) translateX(2.5%); } 100% { transform: rotate(var(--a, 0rad)); } }
@keyframes strike {
  20% { transform: rotate(var(--a, 0rad)) translateX(5%) scale(1.18); }
  55% { transform: rotate(calc(var(--a, 0rad) + .35rad)) translateX(5%) scale(1); }
  100% { transform: rotate(calc(var(--a, 0rad) + .35rad)) translateX(2%) scale(1); }
}

/* ===== タブレット・スマホの調整 ===== */
/* ヒーロー：タイトルを下げ、3 人を中央に */
@media (max-width: 900px) {
  .hero__inner { margin: clamp(70px, 17vh, 190px) auto 0; }
  .keyart { translate: calc(-50% - 3vw) 0; }
}
@media (max-width: 640px) {
  .hero__inner { margin-top: clamp(80px, 19vh, 200px); }
  .keyart { translate: calc(-50% - 9vw) 0; }
}
/* 釣法：スマホではカードを高くして、下の隙間を減らす */
@media (max-width: 700px) {
  .methods__pin { align-content: center; padding: 70px 0 20px; }
  .methods .mcard { width: 236px; padding: 16px 16px 18px; }
  .methods .mcard__icon { height: 150px; margin-bottom: 8px; }
  .methods .mcard__icon img { width: 120px; }
  .methods .mcard h3 { font-size: 21px; }
  .methods .mcard__how { font-size: 14px; min-height: 4.6em; }
  .methods .mcard__target { font-size: 13px; }
}
/* 釣り体験：スマホは縦向きの写真（桟橋のない水面）に切り替える */
@media (max-width: 700px) {
  .pond { aspect-ratio: 3 / 4; height: auto; }
  .pond__stage, .pond[data-scene="harbor"] .pond__stage { transform: translateX(-50%); aspect-ratio: var(--ar, 2229 / 1206); }
  .pond__bobber { width: 6%; }
  .pond__exclaim { width: 5%; }
}

/* ===== 背景（添付の絵）とタイトルの上下中央 ===== */
.hero__bg { object-position: 50% 62%; }
@media (max-width: 900px) {
  .hero__bg { object-position: 42% 50%; }
  /* タイトルブロック（ロゴ＋ボタン）を上下のちょうど真ん中に */
  .hero__inner { align-self: center; margin: 0 auto; padding-bottom: 6vh; }
}
@media (max-width: 640px) {
  .hero__bg { object-position: 40% 50%; }
  .hero__inner { margin: 0 auto; padding-bottom: 4vh; }
}
/* スマホの釣り体験：池は全体が見える切り出し（枠の縦横比は写真に合わせる） */
@media (max-width: 700px) {
  .pond { aspect-ratio: var(--box-ar, 3 / 4); }
}

/* ===== 全部は見せない：10 匹まで・釣法 3 つ・路線 1 つ ===== */
/* ★の説明を大きく */
.rank { gap: 6px; padding: 18px 10px; }
.rank b { font-size: 34px; }
.rank span { font-size: 16px; font-weight: 900; color: var(--ink); line-height: 1.5; }
.rank--crown img { width: 40px; }
/* 夜：ボタンと App Store の間に余白 */
.night__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.night__play { margin: 0; }
/* 10 匹釣ったあと */
.pond__lock { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; padding: 16px; background: rgba(20, 16, 12, .5); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); cursor: default; }
.pond__lock[hidden] { display: none; }
.pond__lock-card { display: grid; justify-items: center; gap: 8px; max-width: 420px; padding: 22px 26px; text-align: center; background: var(--paper); border: 4px solid var(--wood-dark); border-radius: 20px; box-shadow: 0 8px 0 rgba(43, 27, 20, .35), inset 0 0 0 3px #fffaf0; }
.pond__lock-card p { margin: 0; font-weight: 700; }
.pond__lock-title { font-size: 20px; font-weight: 900; }
.pond__lock-card .store { margin-top: 6px; }
/* 釣法：3 つのあとはシルエット */
.mcard--secret { background: #e6dcc2; }
.mcard--secret .mcard__icon { background: radial-gradient(circle at 50% 60%, #e9dfc6, #d9ccaa); }
.mcard--secret .mcard__icon img { filter: brightness(0) opacity(.5); }
.mcard--secret h3 { letter-spacing: .12em; color: var(--ink-soft); }
.mcard--secret .mcard__how { color: var(--ink-soft); }
/* 旅：まだ行けない水辺 */
.jpin--secret .jpin__label { color: var(--ink-soft); letter-spacing: .1em; }
.routes button.is-secret b { letter-spacing: .12em; color: var(--ink-soft); }
.routes button.is-secret small::after { content: "　シークレット"; }
.jcard.is-secret .jcard__shot { position: relative; }
.jcard.is-secret .jcard__shot img { filter: blur(9px) brightness(.55) saturate(.8); transform: scale(1.08); }
.jcard.is-secret .jcard__shot::after { content: "？？？"; position: absolute; inset: 0; display: grid; place-items: center; font: 900 42px var(--round); letter-spacing: .2em; color: #fff8e8; text-shadow: 0 3px 0 rgba(0, 0, 0, .5); }
.jcard.is-secret .jcard__fish { display: none; }
.jcard.is-secret h3 { letter-spacing: .1em; }

/* ===== 釣果画面のシェア・★の説明 ===== */
.catch__foot { justify-content: space-between; }
.catch__share { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.catch__share .share__btn { color: #fff8e8; }
.catch__share .share__btn--x { background: #141a3c; border-color: #141a3c; }
.catch__share .share__btn--line { background: #06c755; border-color: #06c755; }
.catch__share .share__btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.catch__close {
  position: absolute; right: -10px; top: -10px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--paper); border: 3px solid var(--wood-dark); color: var(--ink); font: 900 22px/1 var(--round); box-shadow: var(--shadow-hard);
}
.catch__hint { width: 100%; text-align: center; margin: 2px 0 0; font-size: 12px; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 640px) { .catch__dex { width: auto; } .catch__foot { justify-content: center; } }
/* ★の説明：余白を詰めて横並びに */
.ranks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rank { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; text-align: left; border-radius: 999px; }
.rank b { font-size: 26px; line-height: 1; }
.rank span { font-size: 15px; line-height: 1.3; }
.rank--crown img { width: 30px; }
@media (max-width: 700px) { .ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .rank { padding: 10px 12px; gap: 8px; } .rank b { font-size: 22px; } .rank span { font-size: 13px; } }
/* スマホの★の説明：1 列にして文を折り返さない */
@media (max-width: 700px) {
  .ranks { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .rank { justify-content: flex-start; padding: 8px 16px; }
  .rank span { font-size: 14px; white-space: nowrap; }
  .rank--crown { grid-template-columns: auto; }
}
/* 釣果画面：看板の中央寄せを translate に頼らない。画面が低いときは上に詰めて、看板が切れないように */
.catch { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 36px 16px 20px; }
.catch__card { margin: auto; }
.catch__sign {
  left: 0; right: 0; top: 0; width: max-content; max-width: calc(100% - 16px); margin: 0 auto;
  translate: none; transform: translateY(-55%); -webkit-transform: translateY(-55%);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 640px) { .catch { padding: 32px 12px 16px; } .catch__sign { font-size: 16px; padding: 6px 16px; } .catch__sign img { width: 20px; height: 20px; } }

/* 道：歩きのコマは本番の 48×64（犬は 48×48）をちょうど 2 倍で */
.path { height: 190px; }
.path__road { top: 100px; }
.walkers { bottom: 40px; height: 130px; }
.walker, .walker--x4 { height: 128px; }
.walker--dog { height: 96px; }
.path__sign { top: 30px; }

/* ===== 15:00 釣り大会 ===== */
.cup { position: relative; }
.bunting { display: flex; justify-content: space-between; gap: 6px; margin: 0 auto 18px; max-width: 760px; padding-top: 6px; border-top: 3px solid var(--wood-dark); }
.bunting i { flex: 1; height: 26px; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; animation: flag 2.4s ease-in-out infinite; }
.bunting i:nth-child(6n+1) { background: #d8402e; } .bunting i:nth-child(6n+2) { background: #f8d040; } .bunting i:nth-child(6n+3) { background: #3a94c6; }
.bunting i:nth-child(6n+4) { background: #5cb35c; } .bunting i:nth-child(6n+5) { background: #fff8e8; } .bunting i:nth-child(6n+6) { background: #f0a040; }
.bunting i:nth-child(odd) { animation-delay: -1.2s; }
@keyframes flag { 0%, 100% { transform: skewX(-4deg); } 50% { transform: skewX(4deg); } }
.cup__trophy { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; }
.cup__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: stretch; margin-top: 22px; }
.cup__grid--rev { grid-template-columns: 1fr 1.15fr; }
.cup__grid--rev .cup__shot { order: 2; }
.cup__shot { margin: 0; padding: 12px; }
.cup__shot img { width: 100%; border-radius: 12px; border: 3px solid var(--wood-dark); }
.cup__shot figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink); text-align: center; }
.cup__rules { padding: 20px 22px; }
.cup__rules h3 { margin: 0 0 10px; font-size: 20px; font-weight: 900; }
.cup__rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cup__rules li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 12px; background: rgba(255, 250, 235, .8); border: 2px solid var(--wood-light); border-radius: 12px; }
.cup__rules li img { width: 28px; height: 28px; flex: none; margin-top: 2px; }
.cup__rules li b { display: block; font-size: 16px; font-weight: 900; line-height: 1.3; }
.cup__rules li span { font-size: 13px; color: var(--ink-soft); font-weight: 700; line-height: 1.5; }
.cup__time { margin: 12px 0 0; font-weight: 700; text-align: center; }
.cup__time b { font-family: var(--pixel); font-weight: 400; font-size: 24px; color: var(--red); }
.cup__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: center; }
.cup__facts li { padding: 14px 18px; background: rgba(246, 239, 221, .92); border: 3px solid rgba(92, 58, 36, .35); border-radius: 14px; font-size: 14px; font-weight: 700; color: var(--ink-soft); line-height: 1.7; }
.cup__facts li b { display: block; font-size: 17px; font-weight: 900; color: var(--ink); }
@media (max-width: 860px) {
  .cup__grid, .cup__grid--rev { grid-template-columns: 1fr; }
  .cup__grid--rev .cup__shot { order: 0; }
  .bunting i { height: 18px; }
}

/* ===== 釣り大会のアニメーション ===== */
.cup__shot { position: relative; overflow: visible; }
/* ちょうちん（ゲームのロビーと同じ「釣」「祭」）：ゆらゆら */
.lantern {
  position: absolute; top: -14px; z-index: 2; width: 44px; height: 54px; display: grid; place-items: center;
  background: #d8402e; color: #fff8e8; border: 3px solid #5c3a24; border-radius: 40% 40% 36% 36% / 30% 30% 34% 34%;
  font: 900 22px var(--round); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .18), var(--shadow-hard);
  transform-origin: 50% -16px; animation: lantern 3s ease-in-out infinite;
}
.lantern::before { content: ""; position: absolute; left: 50%; top: -19px; width: 3px; height: 18px; background: #5c3a24; translate: -50% 0; }
.lantern::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 6px; height: 12px; background: #f8d040; translate: -50% 0; border: 2px solid #5c3a24; border-top: 0; }
.lantern--l { left: -14px; } .lantern--r { right: -14px; animation-delay: -1.5s; }
@keyframes lantern { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
/* ルールのカード：順にぽんと出て、絵が跳ねる */
.cup__rules li { animation: rule-in .6s cubic-bezier(.2, .9, .2, 1.3) both; animation-play-state: paused; }
.is-in .cup__rules li { animation-play-state: running; }
.cup__rules li:nth-child(1) { animation-delay: .1s; } .cup__rules li:nth-child(2) { animation-delay: .25s; }
.cup__rules li:nth-child(3) { animation-delay: .4s; } .cup__rules li:nth-child(4) { animation-delay: .55s; }
@keyframes rule-in { from { opacity: 0; transform: translateX(-16px) scale(.96); } }
.cup__rules li img { animation: rule-bob 2.2s ease-in-out infinite; }
.cup__rules li:nth-child(2) img { animation-delay: -.5s; } .cup__rules li:nth-child(3) img { animation-delay: -1s; } .cup__rules li:nth-child(4) img { animation-delay: -1.5s; }
@keyframes rule-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-6deg); } }
/* 参加者：ゼッケンを付けて跳ねる（ゲームのロビーと同じ） */
.cup__players { display: flex; justify-content: center; gap: 10px; margin-top: 14px; align-items: flex-end; }
.cup__player { position: relative; display: grid; place-items: center; width: 56px; height: 72px; padding-top: 4px; border-radius: 12px; background: rgba(255, 250, 235, .85); border: 2px solid var(--c, var(--wood-light)); }
.cup__player::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 28px; height: 8px; translate: -50% 0; border-radius: 50%; background: var(--c); opacity: .45; }
.cup__player img { position: relative; height: 56px; width: auto; animation: hop 1.1s ease-in-out infinite; }
.cup__player:nth-child(2) img { animation-delay: -.3s; } .cup__player:nth-child(3) img { animation-delay: -.6s; } .cup__player:nth-child(4) img { animation-delay: -.9s; }
.cup__player i { position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--c); color: #fff; font: 900 11px/18px var(--round); text-align: center; font-style: normal; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.cup__player--empty { border-style: dashed; background: rgba(255, 250, 235, .5); }
.cup__player--empty b { font-size: 11px; color: var(--ink-soft); animation: blink 1.6s ease-in-out infinite; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } 50% { transform: translateY(0); } }
@keyframes blink { 50% { opacity: .35; } }
/* 表彰式：紙吹雪と、ゆらめくトロフィー */
.cup__shot--result { overflow: hidden; }
.cup__shot--result img:not(.cup__bigtrophy) { position: relative; z-index: 1; }
.confetti { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: 12px; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 12px; opacity: .95; animation: fall var(--d, 5s) linear infinite; animation-delay: var(--delay, 0s); }
@keyframes fall { 0% { transform: translateY(0) rotate(0) translateX(0); } 50% { transform: translateY(50vh) rotate(380deg) translateX(14px); } 100% { transform: translateY(110vh) rotate(720deg) translateX(-10px); opacity: .9; } }
.cup__shot img.cup__bigtrophy { position: absolute; right: 22px; top: 22px; z-index: 3; width: 44px !important; height: 44px; border: 0; border-radius: 0; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .35)); animation: trophy 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes trophy { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.08); } }
@media (max-width: 860px) { .lantern { width: 36px; height: 44px; font-size: 18px; top: -10px; } .lantern--l { left: -8px; } .lantern--r { right: -8px; } }
@media (prefers-reduced-motion: reduce) { .cup__rules li { animation: none; opacity: 1; } }

/* フッター：つくった人へのリンク */
.foot__by a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot__by a:hover { color: var(--gold); }

/* ===== 17:00 父さんの研究ノート（九匹の主） ===== */
.nushi { padding-top: 40px; }
.note { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: stretch; }
.note__art { position: relative; margin: 0; padding: 12px 12px 10px; background: var(--paper); border: 4px solid var(--wood-dark); border-radius: 18px; box-shadow: 0 6px 0 rgba(43, 27, 20, .28), inset 0 0 0 3px #fffaf0; }
.note__art .frames { position: relative; aspect-ratio: 384 / 256; border-radius: 10px; overflow: hidden; background: #0b1a2e; }
.note__art .frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.note__art .frames img:nth-child(1) { opacity: 1; }
/* 挿絵の 3 コマ：画面に入ったら 1 → 2 → 3 と進んで、金の光のコマで止まる（ゲームのタップ送りと同じ順） */
.note.is-in .frames img:nth-child(2) { animation: frame-in .4s ease-out 1.4s both; }
.note.is-in .frames img:nth-child(3) { animation: frame-in .5s ease-out 3s both; }
@keyframes frame-in { to { opacity: 1; } }
.note__art figcaption { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-soft); text-align: center; }
/* ノートのページ：ルーズリーフ */
.note__page {
  position: relative; padding: 26px 22px 18px 44px; border-radius: 6px 14px 14px 6px;
  background: #fbf4e0 repeating-linear-gradient(180deg, transparent 0 31px, rgba(92, 58, 36, .18) 31px 32px);
  background-position: 0 14px; border: 3px solid rgba(92, 58, 36, .35); box-shadow: 0 6px 0 rgba(43, 27, 20, .18), inset 0 0 0 2px #fffaf0;
}
.note__page::before { content: ""; position: absolute; left: 14px; top: 20px; bottom: 20px; width: 12px; background: radial-gradient(circle, rgba(43, 27, 20, .35) 4px, transparent 5px) 0 0 / 12px 44px repeat-y; }
.note__page::after { content: ""; position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: rgba(216, 64, 46, .35); }
.note__tape { position: absolute; right: 24px; top: -12px; width: 76px; height: 22px; background: rgba(248, 208, 64, .55); transform: rotate(-4deg); border: 1px solid rgba(43, 27, 20, .12); }
.note__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.note__list li { display: grid; grid-template-columns: 34px 78px 1fr auto; align-items: center; gap: 8px; height: 32px; }
.note__list b { font-family: var(--pixel); font-weight: 400; font-size: 16px; color: var(--wood); }
.note__sil { width: 72px; height: 26px; object-fit: contain; opacity: .78; animation: sway 3s ease-in-out infinite; }
.note__list li:nth-child(2n) .note__sil { animation-delay: -1s; } .note__list li:nth-child(3n) .note__sil { animation-delay: -2s; }
@keyframes sway { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-2deg); } }
.note__q { font-family: var(--pixel); font-size: 18px; letter-spacing: .12em; color: var(--ink); }
.note__q--faint { opacity: .35; }
.note__list small { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.note__blank { opacity: .8; }
.note__blank b { opacity: .5; }
.nushi__facts { margin-top: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .note { grid-template-columns: 1fr; }
  .nushi__facts { grid-template-columns: 1fr; }
  .note__page { padding-left: 40px; }
  .note__list li { grid-template-columns: 30px 64px 1fr auto; }
  .note__sil { width: 60px; }
  .note__q { font-size: 16px; }
}
/* アルバムの挿絵：ドット絵をにじませない */
.film__illust img { image-rendering: pixelated; }
@media (prefers-reduced-motion: reduce) { .note .frames img:nth-child(3) { opacity: 1; } .note__sil { animation: none; } }
