/* EGINQUEST ティザーサイト */
@font-face { font-family: "DINish"; src: url("../font/DINish-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DINish"; src: url("../font/DINish-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #08191B;
  --ink-deep: #04100F;
  --ink-up: #0C262B;
  --paper: #F2F1ED;
  --rule: rgba(242, 241, 237, 0.28);
  --pink: #E8336D;
  --green: #0D9161;
  --blue: #00A1D8;
  --gold: #D9AE45;
  --hud: #8FE3DC;
  --water-top: #2A8286;
  --water: #1C6164;
  --water-deep: #0B2F33;
  --side: 80px;
  --gap: 200px;
  --din: "DINish", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --expo: cubic-bezier(0.16, 1, 0.3, 1);        /* 出る */
  --inout: cubic-bezier(0.65, 0, 0.35, 1);      /* 場面が動く */
}
@property --enx { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--water-deep); color: var(--paper);
  font-family: var(--jp); font-size: 16px; line-height: 1.9; font-weight: 400;
  word-break: auto-phrase; overflow-wrap: anywhere; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-kerning: normal; font-feature-settings: "palt" 1; font-weight: 700; line-height: 1.4; }
.num { font-family: var(--din); font-weight: 700; font-feature-settings: "tnum" 1; }
.line { display: block; }
.nw { white-space: nowrap; }
.sp { display: none; }

/* ---- ヘッダー ---- */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 70px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 30px;
  pointer-events: none;
}
.head > * { pointer-events: auto; }
.head { transition: background 0.3s; }

.head-logo img { height: 30px; width: auto; }
.head-right { display: flex; align-items: center; gap: 25px; }
.head-nav { display: flex; gap: 26px; margin: 0 auto 0 40px; }
.head-nav a { position: relative; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; padding: 6px 0; }
.head-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--paper); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.head-nav a:hover::after, .head-nav a.cur::after { transform: scaleX(1); }
.lang { height: 40px; padding: 0 30px 0 14px; border: 1px solid var(--paper); border-radius: 8px; color: var(--paper); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  -webkit-appearance: none; appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23F2F1ED' stroke-width='1.5'/%3E%3C/svg%3E") right 11px center no-repeat; }
.lang option { color: #111; }
/* 日本語以外：書体と、長くなる言葉のための調整 */
html[lang="ko"] body { font-family: "Noto Sans KR", var(--jp); word-break: keep-all; }
html[lang="zh-Hans"] body { font-family: "Noto Sans SC", var(--jp); }
html[lang="en"] body { word-break: normal; overflow-wrap: break-word; }
html:not([lang="ja"]) .nw { white-space: normal; }
html:not([lang="ja"]) .talk .panel { white-space: normal; max-width: 420px; }
html[lang="en"] .sec h2, html[lang="en"] .soon h2 { font-size: 60px; }
html[lang="en"] .fv-catch { font-size: 34px; }
html[lang="en"] .head-nav { gap: 18px; } html[lang="en"] .head-nav a { font-size: 14px; }
.head-menu { display: none; height: 40px; padding: 0 16px; border: 1px solid var(--paper); border-radius: 8px; background: none; color: var(--paper); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 40; background: rgba(10, 40, 43, 0.72); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); padding: 90px 20px 40px; overflow-y: auto; display: flex; flex-direction: column; }
.menu[hidden] { display: none; }
.menu a { padding: 13px 0; font-size: 22px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--rule); }
.sec, .release, .soon { scroll-margin-top: 70px; }
@media (max-width: 1320px) { .head-date { display: none; } }
@media (max-width: 1120px) { .head-nav { gap: 18px; margin-left: 24px; } .head-nav a { font-size: 14px; } }
.head-date { font-size: 15px; font-weight: 700; }
.head-date .num { font-size: 20px; letter-spacing: 0.02em; margin-right: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 30px;
  border-radius: 8px; background: linear-gradient(90deg, var(--green), var(--blue));
  color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.btn-line { background: none; border: 1px solid var(--paper); color: var(--paper); }
/* 乗せると地の色が左から入れ替わり、外すと右へ抜ける（押せるボタンだけ） */
a.btn { position: relative; overflow: hidden; isolation: isolate; }
a.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--expo); }
a.btn-line::before { background: rgba(242, 241, 237, 0.2); }
@media (hover: hover) { a.btn:hover::before { transform: scaleX(1); transform-origin: left; } }
.btn-big { height: 60px; padding: 0 40px; }
.btn-soon { color: var(--paper); cursor: default; }
.stores { margin-top: 40px; display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }

/* ---- ページ全体の背景：海とエギとイカ ---- */
.sea-bg { position: fixed; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--water-top) 0%, var(--water) 38%, var(--water-deep) 100%); }
.sea-plate { position: absolute; inset: -5% -3%; background: url(../img/sea_pc.webp) center bottom / cover no-repeat; will-change: transform; }
.sea-plate::after { content: ""; position: absolute; inset: 0; background: rgba(6, 30, 44, 0.22); }
@media (max-width: 900px) { .sea-plate { background-image: url(../img/sea_sp.webp); } }
.sea-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sea-dim { position: absolute; inset: 0; background: var(--ink); opacity: 0; }
main, .foot { position: relative; z-index: 1; }

/* ---- 解説パネル（半透明） ---- */
.panel { position: relative; padding: 16px 20px 18px; }
.panel-h { display: flex; align-items: center; gap: 8px; margin: -16px -20px 12px; padding: 6px 20px; font-size: 14px; font-weight: 700; color: var(--hud); border-bottom: 1px solid rgba(143, 227, 220, 0.4); background: rgba(143, 227, 220, 0.1); }
.panel-h::before { content: ""; width: 7px; height: 7px; background: var(--hud); }
.tip { position: absolute; width: 300px; font-size: 15px; line-height: 1.8; }
.tip::after { content: ""; position: absolute; height: 1px; background: var(--hud); opacity: 0.8; }

/* ---- ガラスの箱（ゲームの UI と同じ：後ろの海をぼかす・薄い膜・左上と右下の角の光・縁線なし・下に影） ---- */
.glass, .panel, .release-box, .head.on, .btn-soon, .points, .nio-name {
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.14) 100%),
    rgba(190, 235, 232, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 14px 30px rgba(2, 12, 12, 0.32);
  border-radius: 18px;
}
.head.on { border-radius: 0; box-shadow: none; background: rgba(190, 235, 232, 0.08); }
.btn-soon { border-radius: 30px; box-shadow: none; }

/* ---- 入口 ---- */
.fv { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.fv-body { position: absolute; left: var(--side); bottom: 90px; z-index: 2; pointer-events: none; }
.fv-logo { width: 600px; }
.fv-catch { margin-top: 35px; font-size: 40px; line-height: 1.35; }
.fv-sub { margin-top: 20px; font-size: 17px; line-height: 1.9; }
.fv-date { position: absolute; right: var(--side); bottom: 80px; z-index: 2; text-align: right; pointer-events: none; }
.fv-date .num { display: block; font-size: 120px; line-height: 1; color: var(--pink); letter-spacing: -0.01em; }
.fv-date p { margin-top: 15px; font-size: 17px; font-weight: 700; }
.fv-date .plan { font-size: 30px; vertical-align: -3px; }

/* ---- 章 ---- */
.sec { position: relative; max-width: 1440px; margin: 0 auto; padding: var(--gap) var(--side) 0; }
.sec-head { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.sec h2 { font-size: 76px; line-height: 1.25; }
.lead { font-size: 20px; font-weight: 700; line-height: 2; }
.points { margin-top: 70px; border: 1px solid rgba(143, 227, 220, 0.55); background: rgba(40, 110, 112, 0.3); padding: 6px 28px; }
.points li:last-child { border-bottom: 0; }
.points.notes { padding: 0; background: none; }
.points li { padding: 20px 0; border-bottom: 1px solid rgba(143, 227, 220, 0.3); display: grid; grid-template-columns: 200px 1fr; gap: 30px; }
.points li b { font-weight: 700; color: var(--hud); }
.points.notes li b { color: var(--paper); }
.points.plain li { grid-template-columns: 1fr; }
.note { margin-top: 30px; font-size: 14px; }
.tag {
  display: inline-block; margin-left: 20px; padding: 0 14px; height: 34px; line-height: 34px; vertical-align: middle;
  background: var(--pink); color: #fff; font-size: 15px; font-weight: 700; border-radius: 4px;
}

.rise { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rise.in { opacity: 1; transform: none; }

/* 見出しの後ろに敷く、大きくうすい英字（飾り） */
.sec[data-en]::before, .egi-stage[data-en]::before {
  content: attr(data-en); position: absolute; left: calc(var(--side) - 45px); top: calc(var(--gap) - 150px); z-index: -1;
  font-family: var(--din); font-weight: 700; font-size: 230px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap;
  color: var(--paper); opacity: 0.07; pointer-events: none;
}
.sec.alt[data-en]::before { left: auto; right: calc(var(--side) + 30px); }
.egi-stage[data-en]::before { left: calc(var(--pad) - 45px); top: calc(var(--hd) - 150px); }   /* エギの章は、見出しごと舞台の中に置く */

/* 見出しを右に置く章 */
.sec.alt .sec-head { grid-template-columns: 7fr 5fr; }
.sec.alt .sec-head h2 { order: 2; text-align: right; }
.sec.alt .sec-head .lead { padding-left: 8%; }

/* メモ書きの組み方（表にしない） */
.points.notes { border: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 70px 40px; align-items: start; }
.points.notes li { display: block; border: 0; padding: 0; }
.points.notes li b { display: block; font-size: 26px; line-height: 1.5; margin-bottom: 8px; }
.points.notes li:nth-child(1) { grid-column: 1 / span 4; }
.points.notes li:nth-child(2) { grid-column: 6 / span 5; margin-top: 60px; }
.points.notes li:nth-child(3) { grid-column: 2 / span 4; }
.points.notes li:nth-child(4) { grid-column: 7 / span 4; margin-top: -40px; }
.points.notes li:nth-child(5) { grid-column: 1 / span 5; }
.points.notes li:nth-child(6) { grid-column: 8 / span 4; margin-top: 50px; }
.points.notes li:nth-child(7) { grid-column: 4 / span 5; }

/* どんなゲームか */
.about-wide { margin-top: 90px; }
.about-wide video { width: 100%; display: block; border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.about-shots { margin-top: 90px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 30px; align-items: start; }
.about-shots video { width: 100%; display: block; border-radius: 8px; aspect-ratio: 608 / 1114; object-fit: cover; }
.about-shots p { margin-top: 12px; font-weight: 700; font-size: 22px; line-height: 1.5; }
.about-shots p span { display: block; font-size: 15px; }
.about-shots .s1 { grid-column: 1 / span 2; margin-top: 150px; }
.about-shots .s2 { grid-column: 3 / span 3; }
.about-shots .s3 { grid-column: 6 / span 2; margin-top: 260px; }
.about-shots .s4 { grid-column: 8 / span 3; margin-top: 70px; padding-left: 20px; }
.about-shots .s5 { grid-column: 11 / span 2; margin-top: 200px; }
.flow { margin-top: 90px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; font-size: 22px; font-weight: 700; }
.flow li { display: flex; align-items: center; }
.flow li + li::before { content: ""; width: 34px; height: 1px; background: var(--paper); margin: 0 14px; }

/* 釣り場 */
.spot-sea { font-size: 15px; font-weight: 700; }
.sec-tight { padding-top: 60px; }
.nio { margin-top: 90px; }
.nio-wide { position: relative; height: 78vh; min-height: 420px; max-height: 860px; overflow: hidden; }
.nio-wide img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.nio-a { display: none; object-position: 58% 53%; transform-origin: 58% 53%; }   /* 拡大の基点＝堤防の付け根 */
.nio-b { object-position: 60% 47%; transform-origin: 60% 47%; }
.nio-lead { display: none; position: absolute; left: 60%; top: 47%; height: 1px; background: #fff; transform-origin: 0 0; }
.nio-name { position: absolute; left: var(--side); bottom: 12vh; padding: 20px 30px 25px; }
.nio-name h3 { font-size: 55px; margin-top: 5px; }
.nio-name h3 span { font-size: 20px; margin-left: 24px; }
.nio-name p:last-child { margin-top: 12px; font-size: 18px; }
.nio-grid { max-width: 1440px; margin: 70px auto 0; padding: 0 var(--side); display: grid; grid-template-columns: repeat(12, 1fr); gap: 60px 40px; align-items: start; }
.nio-grid img { width: 100%; border-radius: 8px; }
.nio-grid figcaption { margin-top: 12px; font-weight: 700; }
.nio-grid .g1 { grid-column: 1 / span 7; }
.nio-grid .g2 { grid-column: 8 / span 5; margin-top: 140px; }
.nio-grid .g3 { grid-column: 2 / span 4; }
.nio-grid .g4 { grid-column: 6 / span 7; margin-top: -60px; }
.nio-grid .g5 { grid-column: 1 / span 6; }
.nio-grid .g6 { grid-column: 8 / span 5; margin-top: 90px; }
.soon { position: relative; max-width: 1440px; margin: var(--gap) auto 0; padding: 0 var(--side); }
.soon-top { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.soon-map { width: 100%; height: auto; overflow: visible; }
.soon-map .land { fill: rgba(143, 227, 220, 0.26); stroke: var(--hud); stroke-width: 1.2; stroke-linejoin: round; }
.soon-map .pin circle { fill: var(--paper); }
.soon-map .pin .ring { fill: none; stroke: var(--paper); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.soon-map .pin:nth-of-type(3) .ring { animation-delay: 0.5s; } .soon-map .pin:nth-of-type(4) .ring { animation-delay: 1.1s; }
.soon-map .pin:nth-of-type(5) .ring { animation-delay: 1.7s; } .soon-map .pin:nth-of-type(6) .ring { animation-delay: 0.8s; }
.soon-map .pin:nth-of-type(7) .ring { animation-delay: 2.1s; } .soon-map .pin:nth-of-type(8) .ring { animation-delay: 1.4s; }
.soon-map .pin.now circle { fill: var(--pink); }
.soon-map text { fill: var(--paper); font-size: 20px; font-weight: 700; font-family: var(--jp); }
.soon-map .pin.now text { font-size: 26px; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(4.2); opacity: 0; } }
.soon-en { font-size: 26px; letter-spacing: 0.08em; color: var(--pink); }
.soon h2 { margin-top: 10px; font-size: 76px; line-height: 1.25; }
.soon-body p:last-child { margin-top: 24px; font-size: 20px; font-weight: 700; }
.soon-peeks { margin-top: 30px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 50px 30px; align-items: start; }
.soon-peeks img { width: 100%; border-radius: 8px; }
.soon-peeks figcaption { margin-top: 10px; font-weight: 700; }
.soon-peeks .p1 { grid-column: 1 / span 6; }
.soon-peeks .p2 { grid-column: 8 / span 5; margin-top: 110px; }
.soon-peeks .p3 { grid-column: 2 / span 4; margin-top: -30px; }
.soon-peeks .p4 { grid-column: 7 / span 5; margin-top: 40px; }

/* 海 */
.sea-now { margin-top: 90px; display: grid; grid-template-columns: 4fr 8fr; gap: 80px; align-items: center; }
.sea-now .shot { max-width: 360px; }
.sea-clock { font-size: 120px; line-height: 1; }
.sea-zone { margin-top: 20px; font-size: 30px; font-weight: 700; }

/* 遊び方 */
.howto-sea { margin-top: 130px; display: grid; grid-template-columns: 4fr 8fr; gap: 60px; align-items: start; }
.howto-sea h3 { font-size: 40px; }
.moves { margin-top: 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 50px; border-top: 1px solid var(--rule); }
.move { padding: 35px 0; border-bottom: 1px solid var(--rule); }
.move svg { width: 90px; height: 90px; display: block; }
.move h3 { margin-top: 15px; font-size: 24px; }
.move p { margin-top: 6px; }

/* エギ */
/* 舞台：見出しとリード（左上）・大きなエギ（中央）・本数（右下）を同じ画面に置く */
.egi-stage { position: relative; --pad: 0px; --hd: 0px; display: flex; flex-direction: column; }
.egi-big { position: relative; flex: none; align-self: center; margin-top: 90px; width: min(60vw, 820px); aspect-ratio: 720 / 270; }
.egi-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; visibility: hidden; }
.egi-big img.on { visibility: visible; }
.egi-rail { width: 100vw; margin: 90px 0 0 calc(50% - 50vw); overflow: hidden; }
.egi-track { display: flex; gap: 50px; width: max-content; animation: rail 70s linear infinite; }
.egi-track.rev { animation-direction: reverse; margin-top: 45px; }
.egi-track img { height: 110px; width: auto; }
.egi-track.big { gap: 90px; animation-duration: 55s; } .egi-track.big img { height: 190px; }
.egi-track.small { gap: 34px; animation-duration: 95s; margin-top: 30px; margin-left: -120px; } .egi-track.small img { height: 62px; }
.egi-track.mid { margin-top: 38px; animation-duration: 75s; }
@keyframes rail { to { transform: translateX(-50%); } }
.egi-count { margin-top: 30px; align-self: flex-end; display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; }
.egi-count .num { font-size: min(220px, 24vh); line-height: 1; min-width: 3ch; text-align: right; }
.egi-count span { font-size: 30px; font-weight: 700; }
.egi-sum { margin: 10px 0 90px; font-size: 18px; font-weight: 700; text-align: right; }

/* タックル */
.tackle { margin-top: 90px; position: relative; height: 760px; }
.tackle-rods img { position: absolute; left: 0; }
.tackle-rods img:nth-child(1) { width: 62%; top: 0; }
.tackle-rods img:nth-child(2) { width: 54%; top: 150px; left: 6%; }
.tackle-rods img:nth-child(3) { width: 70%; top: 270px; left: -3%; }
.tackle-rods img:nth-child(4) { width: 50%; top: 450px; left: 10%; }
.tackle-rods img:nth-child(5) { width: 58%; top: 560px; left: 2%; }
.tackle-reels img { position: absolute; }
.tackle-reels img:nth-child(1) { width: 30%; right: 2%; top: -40px; }
.tackle-reels img:nth-child(2) { width: 17%; right: 30%; top: 250px; }
.tackle-reels img:nth-child(3) { width: 21%; right: 0; top: 420px; }
.tackle-reels img:nth-child(4) { width: 12%; right: 24%; top: 560px; }

/* 魚：左から右へ泳ぐ。魚ごとに大きさ・高さ・速さ・出る時刻をずらす */
.fish-sea { position: relative; height: 1000px; width: 100vw; margin: 70px 0 0 calc(50% - 50vw); overflow: hidden; }
.swim { position: absolute; left: 0; top: var(--y); width: var(--w); animation: swim var(--t) linear var(--d) infinite; will-change: transform; }
.swim img { width: 100%; }
.swim img.flip { transform: scaleX(-1); }
.swim figcaption { margin-top: 6px; padding-left: 14%; font-weight: 700; }
@keyframes swim { from { transform: translateX(-110%); } to { transform: translateX(calc(100vw + 10%)); } }

/* 章ごとに顔を出すライバルの一言 */
.talk { display: flex; align-items: flex-end; margin-top: 110px; max-width: 700px; }
.talk img { width: 120px; height: auto; flex: none; }
.talk .panel { margin: 0 0 40px -14px; padding: 14px 22px 16px; font-size: 16px; font-weight: 700; line-height: 1.7; border-radius: 18px 18px 18px 4px; }
.talk .panel { flex: none; white-space: nowrap; }
.talk .panel-h { margin: 0 0 4px; padding: 0; border: 0; background: none; font-size: 13px; }
.talk .panel-h::before { display: none; }
.talk.r { margin-left: auto; flex-direction: row-reverse; }
.talk.r .panel { margin: 0 -14px 40px 0; border-radius: 18px 18px 4px 18px; }
.talk.o1 { margin-left: 6%; } .talk.o2 { margin-left: 22%; } .talk.o3 { margin-left: 44%; }
.talk.r.o1 { margin-left: auto; margin-right: 4%; } .talk.r.o2 { margin-right: 18%; } .talk.r.o3 { margin-right: 36%; }
.talk.up { margin-top: -260px; margin-left: 56%; position: relative; }
.talk.o2 img { width: 140px; } .talk.o3 img { width: 110px; }
.talk.rise .panel { opacity: 0; transform: translateY(14px) scale(0.92); transform-origin: left bottom; transition: opacity 0.35s ease 0.7s, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.7s; }
.talk.r.rise .panel { transform-origin: right bottom; }
.talk.rise.in .panel { opacity: 1; transform: none; }

/* ライバル */
.rivals { margin-top: 70px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-bottom: 150px; }
.rival { position: relative; flex: 0 0 auto; }
.rival img { height: 520px; width: auto; }
.rival div { position: absolute; left: 50%; top: 100%; width: 190px; margin-left: -70px; padding-top: 14px; }
.rival h3 { font-size: 20px; }
.rival p { margin-top: 4px; font-size: 14px; line-height: 1.7; }
.rival.r0 img { height: 560px; }
.rival.r1 { margin-bottom: 50px; } .rival.r1 img { height: 430px; }
.rival.r2 { margin-bottom: 70px; } .rival.r2 img { height: 400px; }
.rival.r3 img { height: 610px; }
.rival.r4 { margin-bottom: 40px; } .rival.r4 img { height: 440px; }
.rival.r5 img { height: 540px; }
.rival.r6 { margin-bottom: 90px; } .rival.r6 img { height: 420px; }
.rival.r7 img { height: 500px; }
.rival.r1 div, .rival.r2 div, .rival.r4 div, .rival.r6 div { top: auto; bottom: 100%; padding: 0 0 14px; }
.rival.r2 { margin-bottom: 0; } .rival.r2 div { top: 100%; bottom: auto; padding: 14px 0 0; }
.rival div { width: 170px; margin-left: -60px; }

/* ライバルは、絵と同じ大きさの箱の中で、影のまま足元からせり上がる（箱の外へ出ない） */
.rival-fig { display: block; overflow: hidden; }
.rivals-track { display: flow-root; }
.rival h3, .rival p { overflow: hidden; }

/* アバター */
.avatars { margin-top: 80px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 30px; align-items: start; }
.avatars img { width: 100%; border-radius: 8px; }
.avatars .a1 { grid-column: 1 / span 4; }
.avatars .a2 { grid-column: 5 / span 2; margin-top: 190px; }
.avatars .a3 { grid-column: 8 / span 3; margin-top: 60px; }
.avatars .a4 { grid-column: 11 / span 2; margin-top: 300px; }

/* 記録・競う */
.two { margin-top: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; }
.two h3 { font-size: 30px; padding-bottom: 20px; }
.two .points { margin-top: 0; }
.gold { color: var(--gold); }

/* 配信情報 */
.release { margin-top: var(--gap); padding: 0 var(--side); text-align: center; }
.release-box { max-width: 1000px; margin: 0 auto; padding: 100px 60px; }
.release .num { font-size: 160px; line-height: 1; color: var(--pink); }
.release h2 { margin-top: 30px; font-size: 40px; }
.release h2 span { display: block; margin-top: 10px; font-size: 20px; }
.release dl { margin: 60px auto 0; max-width: 760px; text-align: left; border-top: 1px solid var(--rule); }
.release dl div { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.release dt { font-weight: 700; }

/* フッター */
.foot { padding: 140px var(--side) 60px; text-align: center; }
.foot h2 { font-size: 40px; }
.insta { max-width: 1280px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: start; }
.insta a { display: block; border-radius: 8px; overflow: hidden; transition: transform 0.3s ease; }
.insta a:nth-child(even) { margin-top: 28px; }
.insta a:hover { transform: translateY(-6px); }
.insta img { width: 100%; }
.foot-btns { margin-top: 45px; display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.foot-mail { margin-top: 60px; font-weight: 700; }
.foot-mail a { font-family: var(--din); font-size: 26px; text-decoration: none; border-bottom: 1px solid var(--paper); }
.foot-logo { width: 300px; margin: 110px auto 0; }
.foot small { display: block; margin-top: 35px; font-size: 14px; line-height: 1.9; }

/* ---- スマホ ---- */
@media (max-width: 900px) {
  :root { --side: 20px; --gap: 120px; }
  body { font-size: 15px; }
  .pc { display: none; }
  .sp { display: inline; }
  .head { height: 60px; padding: 0 20px; }
  .head-logo img { height: 24px; }
  .head-date { display: none; }
  .head-nav { display: none; }
  .head .btn { display: none; }
  .head-menu { white-space: nowrap; }
  .menu .btn { margin-top: 30px; align-self: flex-start; border-bottom: 0; font-size: 16px; padding: 0 30px; }
  .head-menu { display: block; }
  .head-right { gap: 10px; }
  .head .btn { padding: 0 10px; font-size: 12px; }
  .lang { height: 40px; padding: 0 22px 0 8px; font-size: 12px; background-position: right 7px center; }
  .head-right { gap: 6px; }
  html[lang="en"] .sec h2, html[lang="en"] .soon h2 { font-size: 30px; }
  html[lang="en"] .fv-catch { font-size: 22px; }
  .sec, .release, .soon { scroll-margin-top: 60px; }
  .head .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .fv-body { left: var(--side); right: var(--side); bottom: 160px; }
  .fv-logo { width: 290px; }
  .fv-catch { margin-top: 20px; font-size: 25px; }
  .fv-sub { margin-top: 12px; font-size: 14px; }
  .fv-date { left: var(--side); right: auto; bottom: 30px; text-align: left; }
  .fv-date .num { font-size: 50px; white-space: nowrap; }
  .fv-date p { margin: 6px 0 0; font-size: 13px; }
  .fv-date p br.sp { display: none; }
  .fv-date .plan { margin-right: 10px; }
  .fv-date .plan { font-size: 20px; vertical-align: 0; }
  .sec[data-en]::before, .egi-stage[data-en]::before { font-size: 82px; top: calc(var(--gap) - 62px); left: calc(var(--side) - 12px); }
  .egi-stage[data-en]::before { top: calc(var(--hd) - 62px); left: calc(var(--pad) - 12px); }
  .sec.alt[data-en]::before { right: auto; left: calc(var(--side) - 12px); }
  .sec[data-en]::before { max-width: calc(100vw - var(--side) + 12px); overflow: hidden; }   /* 長い英字が画面の右へはみ出して横スクロールを作らないように */
  .release h2 span { font-size: 14px; }
  .about-wide { margin-top: 55px; }
  .about-wide video { aspect-ratio: 720 / 1320; }
  .sec h2 { font-size: 34px; }
  .points { padding: 2px 16px; }
  .tip { width: 200px; font-size: 13px; padding: 10px 12px 12px; }
  .panel-h { margin: -10px -12px 8px; padding: 4px 12px; font-size: 12px; }
  .sec-head, .sec.alt .sec-head { grid-template-columns: 1fr; gap: 25px; }
  .sec.alt .sec-head h2 { order: 0; text-align: left; }
  .sec.alt .sec-head .lead { padding-left: 0; }
  .points.notes { grid-template-columns: 1fr; gap: 28px; margin-top: 45px; }
  .points.notes li, .points.notes li:nth-child(n) { grid-column: 1; margin-top: 0; }
  .points.notes li:nth-child(even) { padding-left: 15%; }
  .points.notes li b { font-size: 18px; margin-bottom: 4px; }
  .egi-track.big img { height: 100px; } .egi-track.big { gap: 40px; }
  .egi-track.small img { height: 40px; } .egi-track.small { margin-top: 16px; }
  .egi-track.mid { margin-top: 20px; }
  .egi-sum { margin-bottom: 55px; }
  .lead { font-size: 16px; }
  .points { margin-top: 45px; }
  .points li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .about-shots { margin-top: 55px; grid-template-columns: repeat(6, 1fr); gap: 30px 15px; }
  .about-shots p { font-size: 16px; margin-top: 6px; }
  .about-shots p span { font-size: 13px; }
  .about-shots .s1 { grid-column: 1 / span 3; margin-top: 50px; }
  .about-shots .s2 { grid-column: 4 / span 3; margin-top: 0; }
  .about-shots .s3 { grid-column: 1 / span 3; margin-top: 0; }
  .about-shots .s4 { grid-column: 4 / span 3; margin-top: 40px; padding: 0; }
  .about-shots .s5 { grid-column: 2 / span 4; margin-top: 0; }
  .flow { margin-top: 55px; font-size: 16px; }
  .flow li + li::before { width: 16px; margin: 0 8px; }
  .sec-tight { padding-top: 40px; }
  .nio { margin-top: 55px; }
  .nio-wide { height: 60vh; min-height: 320px; }
  .nio-name { right: var(--side); padding: 15px 20px 20px; }
  .nio-name h3 { font-size: 30px; }
  .nio-name h3 span { display: block; margin: 4px 0 0; font-size: 15px; }
  .nio-name p:last-child { font-size: 15px; }
  .nio-grid { margin-top: 40px; grid-template-columns: 1fr; gap: 30px; }
  .nio-grid figure, .nio-grid .g1, .nio-grid .g2, .nio-grid .g3, .nio-grid .g4, .nio-grid .g5, .nio-grid .g6 { grid-column: 1; margin-top: 0; }
  .soon-top { grid-template-columns: 1fr; gap: 10px; }
  .soon-map text { font-size: 34px; } .soon-map .pin.now text { font-size: 40px; }
  .soon-en { font-size: 18px; }
  .soon h2 { font-size: 34px; }
  .soon-body p:last-child { font-size: 15px; margin-top: 12px; }
  .soon-peeks { grid-template-columns: repeat(6, 1fr); gap: 25px 15px; }
  .soon-peeks .p1 { grid-column: 1 / span 6; } .soon-peeks .p2 { grid-column: 2 / span 5; margin-top: 0; }
  .soon-peeks .p3 { grid-column: 1 / span 4; margin-top: 0; } .soon-peeks .p4 { grid-column: 3 / span 4; margin-top: 0; }
  .sea-now { margin-top: 55px; grid-template-columns: 130px 1fr; gap: 20px; }
  .sea-clock { font-size: 60px; }
  .sea-zone { margin-top: 8px; font-size: 20px; }
  .howto-sea { margin-top: 80px; grid-template-columns: 1fr; gap: 20px; }
  .howto-sea h3 { font-size: 24px; }
  .moves { margin-top: 55px; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .move { padding: 22px 0; }
  .move svg { width: 60px; height: 60px; }
  .move h3 { font-size: 18px; }
  .egi-rail { margin-top: 55px; }
  .egi-track { gap: 28px; }
  .egi-track.rev { margin-top: 25px; }
  .egi-track img { height: 60px; }
  .egi-big { width: 88vw; margin-top: 55px; }
  .egi-count { margin-top: 25px; align-self: flex-start; flex-wrap: wrap; justify-content: flex-start; }
  .egi-count span:first-child { flex-basis: 100%; }
  .egi-count .num { font-size: 110px; text-align: left; min-width: 0; }
  .egi-sum { text-align: left; }
  .egi-count span { font-size: 20px; }
  .egi-sum { font-size: 14px; }
  .tackle { margin-top: 45px; height: 430px; }
  .tackle-rods img:nth-child(1) { width: 92%; }
  .tackle-rods img:nth-child(2) { width: 78%; top: 70px; }
  .tackle-rods img:nth-child(3) { width: 100%; top: 130px; }
  .tackle-rods img:nth-child(4) { width: 70%; top: 205px; }
  .tackle-rods img:nth-child(5) { width: 84%; top: 260px; }
  .tackle-reels img:nth-child(1) { width: 40%; top: 250px; right: -4%; }
  .tackle-reels img:nth-child(2) { width: 26%; top: 330px; right: 44%; }
  .tackle-reels img:nth-child(3) { display: none; }
  .tackle-reels img:nth-child(4) { width: 18%; top: 345px; right: 76%; }
  .fish-sea { height: 690px; margin-top: 40px; }
  .swim { width: calc(var(--w) * 0.5); top: calc(var(--y) * 0.68); animation-duration: calc(var(--t) * 0.6); }
  .swim figcaption { font-size: 13px; }
  .talk { margin-top: 60px; }
  .talk.up { margin-top: 40px; margin-left: 20%; }
  .talk, .talk.o1, .talk.o2, .talk.o3 { margin-left: 0; } .talk.r, .talk.r.o1, .talk.r.o2, .talk.r.o3 { margin-right: 0; margin-left: auto; }
  .talk.o2 { margin-left: 8%; } .talk.r.o3 { margin-right: 6%; }
  .talk img, .talk.o2 img, .talk.o3 img { width: 76px; }
  .talk.o2 img { width: 88px; }
  .talk .panel { font-size: 14px; padding: 10px 14px 12px; margin: 0 0 40px -14px; flex: 0 1 auto; white-space: normal; }
  .talk.r .panel { margin: 0 -14px 40px 0; }
  .rivals { margin-top: 40px; flex-wrap: wrap; justify-content: flex-start; gap: 110px 6px; padding-bottom: 110px; }
  .rival { flex: 0 0 calc(50% - 3px); display: flex; justify-content: center; margin-bottom: 0 !important; }
  .rival img, .rival.r0 img, .rival.r1 img, .rival.r2 img, .rival.r3 img, .rival.r4 img, .rival.r5 img, .rival.r6 img, .rival.r7 img { height: 300px; }
  .rival.r2 img, .rival.r5 img { height: 250px; }
  .rival.r3 img, .rival.r6 img { height: 340px; }
  .rival div, .rival.r1 div, .rival.r2 div, .rival.r4 div, .rival.r6 div { top: 100%; bottom: auto; left: 0; width: 100%; margin: 0; padding: 10px 6px 0; }
  .rival h3 { font-size: 16px; }
  .rival p { font-size: 13px; }
  .avatars { margin-top: 45px; grid-template-columns: repeat(6, 1fr); gap: 20px 15px; }
  .avatars .a1 { grid-column: 1 / span 4; }
  .avatars .a2 { grid-column: 5 / span 2; margin-top: 120px; }
  .avatars .a3 { grid-column: 2 / span 3; margin-top: 0; }
  .avatars .a4 { grid-column: 5 / span 2; margin-top: 60px; }
  .two { margin-top: 55px; grid-template-columns: 1fr; gap: 55px; }
  .two h3 { font-size: 20px; padding-bottom: 12px; }
  .tag { margin: 10px 0 0; display: table; font-size: 13px; height: 30px; line-height: 30px; }
  .release-box { padding: 60px 20px; }
  .release .num { font-size: 64px; }
  .release h2 { font-size: 22px; margin-top: 20px; }
  .stores { margin-top: 28px; gap: 12px; }
  .release dl { margin-top: 40px; }
  .release dl div { grid-template-columns: 90px 1fr; gap: 15px; padding: 15px 0; }
  .foot { padding: 90px var(--side) 40px; }
  .foot h2 { font-size: 22px; }
  .insta { margin-top: 35px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .insta a:nth-child(even) { margin-top: 0; }
  .insta a:nth-child(3n+2) { margin-top: 16px; }
  .foot-btns { margin-top: 30px; gap: 15px; }
  .btn-big { height: 60px; padding: 0 28px; font-size: 15px; }
  .foot-mail a { font-size: 20px; }
  .foot-logo { width: 200px; margin-top: 70px; }
  .foot small { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .soon-map .pin .ring { animation: none; }
  .swim { animation: none; left: calc(var(--d) * -3.2%); }
  .talk.rise .panel { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .egi-track { animation: none; }
}

/* 確かめ用（?flat=1） */
.flat .fv { height: 900px; }
.flat .rise { opacity: 1; transform: none; transition: none; }
@media (max-width: 900px) { .flat .fv { height: 760px; } }

/* ================= 動き（html に .mo が付いているときだけ。付かなければ全部出た状態で止まる） ================= */
.li { display: block; }

/* ---- ローディング：糸に下がったロゴに水が満ち、アタリと合わせのあと水面の下へ入る ---- */
.loader { display: none; }
.lock { overflow: hidden; }
.loading .loader { display: block; position: fixed; inset: 0; z-index: 100; touch-action: none; --lw: min(52vw, 560px); }
.loader-face { position: absolute; inset: 0; background: var(--ink); will-change: transform; }
.loader-face::after {   /* 面の下の辺＝水面（波の形・縁に白い線） */
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 0H240V30Q180 56 120 30T0 30Z' fill='%2308191B'/%3E%3Cpath d='M0 30Q60 4 120 30T240 30' fill='none' stroke='%23fff' stroke-opacity='.6' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 240px 60px;
}
.loader-thread { position: absolute; left: 50%; top: -30px; width: 1px; height: calc(50vh - var(--lw) * 0.1 + 30px); background: rgba(255, 255, 255, 0.3); transform: scaleY(0); transform-origin: 50% 0; }
.loader-logo { position: absolute; left: 50%; top: 50%; width: var(--lw); margin: calc(var(--lw) * -0.1743) 0 0 calc(var(--lw) * -0.5); transform-origin: 0 0; will-change: transform; }
.loader-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.lg-line { fill: none; stroke: var(--paper); stroke-width: 0.5; visibility: hidden; }
.loader.run .lg-line { visibility: visible; }
.lg-fill { fill: var(--paper); }
@media (max-width: 900px) { .loading .loader { --lw: 72vw; } }

/* ---- 入口の登場 ---- */
.mo .fv-logo { opacity: 0; }
.mo.logo-in .fv-logo { opacity: 1; transition: opacity 0.25s linear; }
.mo .fv .line, .mo .fv-date p, .mo .fv-date .num, .mo .hd h2, .mo .hd h3, .mo .hd .line { overflow: hidden; }
.mo .fv .li, .mo .hd .li { transform: translateY(110%); }
.mo .fv-date .ch { display: inline-block; transform: translateY(100%); }
.mo.fv-in .fv .li { transform: none; transition: transform 0.8s var(--expo); }
.mo.fv-in .fv-catch .line + .line .li { transition-delay: 0.12s; }
.mo.fv-in .fv-sub .li { transition-duration: 0.7s; transition-delay: 0.35s; }
.mo.fv-in .fv-sub .line + .line .li { transition-delay: 0.45s; }
.mo.fv-in .fv-date .ch { transform: none; transition: transform 0.8s var(--expo); }   /* 1文字ごとの遅れは motion.js が入れる */
.mo.fv-in .fv-date p .li { transition-duration: 0.6s; transition-delay: 1s; }
.mo .head { transform: translateY(-100%); }
.mo.fv-in .head { transform: none; transition: transform 0.5s var(--expo) 1.2s, background 0.3s; }

/* ---- 見出し：行ごとに下から出る（薄い状態から濃くはしない） ---- */
.mo .hd.in .li { transform: none; transition: transform 0.8s var(--expo); }
.mo .hd.in .lead .li { transition-duration: 0.7s; transition-delay: 0.15s; }
.mo .hd.in .lead .line:nth-child(2) .li { transition-delay: 0.25s; }
.mo .hd.in .lead .line:nth-child(3) .li { transition-delay: 0.35s; }
@media (min-width: 901px) { .mo .sec[data-en]::before { transform: translateX(var(--enx)); } }   /* 後ろの英字は横へゆっくり流す */

/* ---- 水面の線（着水・浮上）：章と章の間の海を通る ---- */
.surf { position: fixed; left: 0; top: 0; z-index: 2; width: 100%; height: 140px; overflow: hidden; pointer-events: none; visibility: hidden; will-change: transform; }
.surf.on { visibility: visible; }
.surf i {
  position: absolute; left: 0; top: 0; width: calc(100% + 320px); height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='140' viewBox='0 0 320 140'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.18'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 16Q80 -12 160 16T320 16V140H0Z' fill='url(%23g)'/%3E%3Cpath d='M0 16Q80 -12 160 16T320 16' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 320px 140px;
  animation: surf 2.4s linear infinite paused;
}
.surf.on i { animation-play-state: running; }
@keyframes surf { from { transform: translateX(-320px); } to { transform: none; } }
.mo .sea-gap { height: 60vh; }

/* ---- 墨（外道と青物 → ライバル）：章の中身の後ろで海を塗りつぶす ---- */
.ink { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; visibility: hidden; }
.ink.on { visibility: visible; }
.ink i { position: absolute; left: 0; top: 0; width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; border-radius: 50%; background: radial-gradient(circle, #020A0A 0 55%, transparent 70%); transform: scale(0); }
.ink b { position: absolute; inset: 0; background: #020A0A; opacity: 0; }

/* ---- どんなゲームか：映像が画面いっぱいに開く（PC はピン留め・スマホは画面に入ったら1回） ---- */
@media (min-width: 901px) {
  .mo .about-pin { height: 200vh; margin: 0 calc(50% - 50vw); }
  .mo .about-wide.rise { position: sticky; top: 0; height: 100vh; margin-top: 0; overflow: hidden; opacity: 1; transform: none; clip-path: inset(16% 20% round 14px); }
  .mo .about-wide video { height: 100%; aspect-ratio: auto; border-radius: 0; transform: scale(1.15); will-change: transform; }
}
@media (max-width: 900px) {
  .mo .about-wide.rise { clip-path: inset(8% 8% round 14px); transition: opacity 0.7s ease, transform 0.7s ease, clip-path 0.9s var(--expo); }
  .mo .about-wide.rise.in { clip-path: inset(0 0 round 8px); }
}

/* ---- 釣り場：空撮の中へ降りていく ---- */
.mo .nio-track { height: 320vh; }
.mo .nio-wide { position: sticky; top: 0; height: 100vh; height: 100lvh; min-height: 0; max-height: none; clip-path: inset(0 0 100% 0); }
.mo .nio-a, .mo .nio-lead { display: block; }
.mo .nio-a, .mo .nio-b { will-change: transform; }
.mo .nio-name { clip-path: inset(0 100% 0 0); }
.mo .nio-name p, .mo .nio-name h3 { overflow: hidden; }
.mo .nio-name .li { transform: translateY(110%); }
.mo .nio-name.in { clip-path: inset(0); transition: clip-path 0.7s var(--expo); }
.mo .nio-name.in .li { transform: none; transition: transform 0.7s var(--expo) 0.15s; }
.mo .nio-name.in h3 .li { transition-delay: 0.23s; }
.mo .nio-name.in p:last-child .li { transition-delay: 0.31s; }

/* ---- エギ：画面いっぱいのエギの色が次々に替わる ---- */
.mo .egi-track-pin { height: 250vh; margin: 0 calc(50% - 50vw); }
.mo #egi { padding-top: 0; }   /* 章の頭の余白は、舞台の中で取る */
.mo .egi-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --pad: max(var(--side), calc(50vw - 640px)); --hd: min(190px, 21vh); padding: var(--hd) var(--pad) 6vh; }
.mo .egi-big { margin: auto; width: min(60vw, 820px, 85vh); will-change: transform; }
.mo .egi-count { margin-top: 0; }

/* ---- ライバル ---- */
.mo .rival img { transform: translateY(101%); filter: brightness(0); transition: filter 0.45s ease; }
.mo .rival.up img { transform: none; transition: transform 0.9s var(--expo), filter 0.45s ease; }
.mo .rival.lit img { filter: none; }
.mo .rival .li { transform: translateY(110%); }
.mo .rival.lit .li { transform: none; transition: transform 0.4s var(--expo) 0.3s; }
.mo .rival.lit p .li { transition-delay: 0.38s; }
.mo .rivals-track.pin { height: calc(var(--rh) + 70px + 160vh); }
.mo .rivals-track.pin .rivals { position: sticky; top: var(--rtop); }

/* ---- 遊び方：アイコンの線が描かれる ---- */
.mo .move svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mo .moves.in .move svg * { stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s cubic-bezier(0.33, 1, 0.68, 1) 0.3s; }
.mo .moves.in .move:nth-child(2) svg * { transition-delay: 0.4s; }
.mo .moves.in .move:nth-child(3) svg * { transition-delay: 0.5s; }
.mo .moves.in .move:nth-child(4) svg * { transition-delay: 0.6s; }
.mo .moves.in .move:nth-child(5) svg * { transition-delay: 0.7s; }
.mo .moves.in .move:nth-child(6) svg * { transition-delay: 0.8s; }
.move.demo svg { stroke: var(--pink); }
.move.demo svg circle[fill] { fill: var(--pink); }

/* ---- 吹き出しの顔は、水の中でゆっくり上下にゆれる（箱はゆらさない） ---- */
.mo .talk.in img { animation: bob 1.6s ease-in-out 1s infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-5px); } }

@media (max-width: 900px) {
  .mo .nio-track { height: 260vh; }
  .mo .egi-track-pin { height: 220vh; }
  .mo .egi-stage { --hd: 110px; padding-bottom: 40px; }
  .mo .egi-big { width: 88vw; }
}
