/* 同梱の日本語800ウェイトを基準に、採用画像の太い見出しを再現する。 */
@font-face { font-family: PFH; src: url('assets/site-japanese-regular.ttf') format('truetype'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: PFH; src: url('assets/site-japanese-bold.ttf') format('truetype'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: PFHSignature; src: url('assets/site-signature.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root { --ink: #001a43; --blue: #0065ed; --yellow: #ffe52c; --rule: #b1bed4; --header-height: clamp(65px, 5.63vw, 98px); font-family: PFH, 'Hiragino Kaku Gothic ProN', sans-serif; color: var(--ink); background: white; font-synthesis: weight; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
button, select { font: inherit; color: inherit; }
button, a, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; background: none; }
a { text-decoration: none; color: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #0065ed; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 900; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); background: white; }
.skip-link:focus { width: auto; height: auto; clip-path: none; padding: 12px 22px; }

/* ヘッダーを同じ空へ重ねる。背後に別の色面を作らず、上端まで絵をつなぐ。 */
.header { position: absolute; top: 0; left: 0; width: 100%; z-index: 10; display: flex; align-items: center; gap: 28px; height: var(--header-height); padding-inline: 2.4% 5%; color: white; }
.brand { width: clamp(126px, 11.4vw, 190px); flex-shrink: 0; position: relative; z-index: 1; align-self: flex-start; margin-top: -3px; }
.brand img { width: 100%; height: auto; }
/* 白い短い区切り線と薄いボタン面で、空を見せながら操作範囲を伝える。 */
.nav { margin-left: auto; display: flex; align-items: center; gap: 0; font-size: clamp(14px, 1.35vw, 21px); font-weight: 800; white-space: nowrap; }
.nav a, .nav button { position: relative; padding: 12px clamp(16px, 1.65vw, 28px); border-radius: 7px; background: #ffffff0d; transition: background .18s; }
.nav > * + *:before { content: ''; position: absolute; left: 0; top: 50%; height: 22px; width: 1px; background: #ffffffbf; transform: translateY(-50%); }
.nav a:hover, .nav button:hover { color: white; background: #ffffff30; }
.header a:focus-visible, .header button:focus-visible, .header select:focus-visible { outline-color: var(--yellow); }
.language-picker option { color: var(--ink); background: white; }
.header-actions { position: relative; display: flex; align-items: center; gap: 24px; }
.header-actions:before { content: ''; position: absolute; left: -14px; top: 50%; height: 22px; width: 1px; background: #ffffffbf; transform: translateY(-50%); }
.language-picker { position: relative; display: flex; align-items: center; gap: 9px; padding: 3px 11px; border: 1px solid #ffffff70; border-radius: 7px; background: #ffffff14; transition: background .18s; }
.language-picker:hover { background: #ffffff30; }
.language-picker .icon { width: clamp(21px, 1.8vw, 28px); height: clamp(21px, 1.8vw, 28px); stroke-width: 1.8; }
.language-picker select { appearance: none; border: none; border-radius: 0; background: transparent; padding: 8px 20px 8px 0; font-size: clamp(12px, 1.05vw, 16px); font-weight: 800; cursor: pointer; }
.select-chevron { position: absolute; right: 12px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.menu-toggle { display: none; }
.mobile-nav { position: absolute; top: 100%; right: 14px; min-width: 230px; display: grid; padding: 12px; color: var(--ink); background: white; border: 1px solid #e3ecf8; box-shadow: 0 12px 28px #00367524; border-radius: 12px; }
.mobile-nav a, .mobile-nav button { padding: 14px; text-align: left; font-weight: 700; border-radius: 7px; }
.mobile-nav a:hover, .mobile-nav button:hover { background: #edf5ff; }

/* PCは画像そのものの比率を使う。見出し・説明・配信パネルは実際のHTMLで重ねる。 */
.hero { position: relative; isolation: isolate; height: calc(100vw / 1.7 + var(--header-height)); background: #087df4; }
.hero-scene { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: #087df4; }
.scene-layer { display: block; position: absolute; inset: 0; }
.scene-layer img { width: 100%; height: 100%; object-fit: cover; }
.hero-sky { z-index: 0; }
.hero-ground { z-index: 1; top: var(--header-height); }
.hero-characters { z-index: 2; top: var(--header-height); }
.hero-copy { position: absolute; inset: var(--header-height) 0 0; color: white; text-shadow: 0 2px 8px #005abe12; }
.hero h1 { position: absolute; left: 5.1%; top: 9%; font-size: 6.67vw; line-height: 1.19; letter-spacing: -.065em; transform: skew(-6deg) scaleX(.94); transform-origin: left top; font-weight: 900; -webkit-text-stroke: .014em currentColor; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero-signature { position: absolute; left: 16.8%; top: 38.2%; font-family: PFHSignature, cursive; font-size: 3.05vw; font-weight: 400; line-height: 1; color: #d8f4ff; transform: rotate(-8deg); letter-spacing: -.03em; }
.hero-lead { position: absolute; top: 51.5%; left: 5.45%; font-size: 2.02vw; line-height: 1.48; font-weight: 800; letter-spacing: .01em; }
.hero-kicker { position: absolute; top: 64.1%; left: 5.45%; font-size: 1.5vw; line-height: 1.5; font-weight: 800; }
.hero-download { position: absolute; bottom: 3%; left: 4.15%; width: 91.7%; scroll-margin-top: 24px; }

/* 採用画像と同じ一枚の白いパネル。小さい画面だけ端末ごとに縦積みする。 */
.download-card { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; padding: 1.55vw 2.05vw; gap: 2.05vw; border-radius: 1.75vw; background: #fff; box-shadow: 0 4px 14px #005eb316; }
.device { display: flex; align-items: center; gap: 1.65vw; min-width: 0; }
.device-title { display: flex; align-items: center; gap: 1vw; flex-shrink: 0; font-size: 1.5vw; line-height: 1.25; font-weight: 900; white-space: nowrap; }
.device-title .icon { width: 4.1vw; height: 3.7vw; stroke-width: 2; }
.mobile-device .device-title .icon { width: 2.7vw; }
.store-row { display: flex; gap: .9vw; flex: 1; min-width: 0; }
.store-badge { display: flex; flex: 1; align-items: center; justify-content: center; height: 4.25vw; min-width: 0; gap: .25vw; padding: .3vw .65vw; border: 1px solid #555; border-radius: .5vw; background: #050505; color: white; transition: background .18s; }
.store-badge .icon { width: 2.85vw; height: 3.1vw; }
.store-badge span { display: flex; flex-direction: column; align-items: flex-start; white-space: nowrap; }
.store-badge b { font-family: Arial, sans-serif; font-size: 1.62vw; font-weight: 500; line-height: 1.06; letter-spacing: -.04em; }
.store-badge small { font-size: .79vw; line-height: 1.5; }
.store-badge:hover { background: #262626; }
.pc-device { border-left: 1px solid var(--rule); padding-left: 2.4vw; gap: 2.05vw; }
.web-play, .button { display: flex; align-items: center; justify-content: center; gap: .9vw; border-radius: .9vw; background: var(--yellow); color: var(--ink); font-weight: 900; white-space: nowrap; transition: background .18s, box-shadow .18s; }
.web-play { height: 4.4vw; flex: 1; min-width: 0; font-size: 1.68vw; letter-spacing: -.04em; }
.web-play .icon { width: 1.9vw; height: 1.9vw; }
.web-play:hover, .button:hover { background: #ffdc00; box-shadow: 0 4px 16px #e4b90026; }

/* 写真→操作手順の読み順は共通。PCでは横、スマホでは縦へ配置する。 */
.how { padding: 2.9vw 2.5% 2.3vw; }
.how-grid { display: grid; grid-template-columns: 1.53fr 1fr; gap: 3.5%; align-items: start; }
.movie-preview { position: relative; display: block; width: 100%; aspect-ratio: 1.91; padding: 0; overflow: hidden; border-radius: 4px; text-align: left; }
.movie-preview picture { display: block; width: 100%; height: 100%; }
.movie-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s; }
.movie-preview:hover img { transform: scale(1.025); }
.movie-note { position: absolute; left: 5%; top: 11%; font-family: 'Klee', 'HanziPen SC', 'YuKyokasho', cursive; font-size: 1.63vw; font-weight: 700; line-height: 1.36; color: #0068ed; transform: rotate(-9deg); }
.play-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 6.8vw; height: 6.8vw; display: grid; place-items: center; border-radius: 50%; color: white; background: #2588f5f2; box-shadow: 0 4px 18px #0468e21a; transition: background .2s, scale .2s; }
.play-circle .icon { width: 3.9vw; height: 3.9vw; }
.movie-preview:hover .play-circle { background: #0065ed; scale: 1.05; }
.how-guide { min-width: 0; }
.how h2 { font-size: 3.77vw; letter-spacing: -.055em; line-height: 1.2; margin: -.1em 0 .65vw; -webkit-text-stroke: .008em currentColor; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.6vw; margin: 0; padding: 0; }
.steps li { position: relative; }
.step-circle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .22vw; width: 100%; aspect-ratio: 1; border: 1px solid #cbdff8; border-radius: 50%; background: white; }
.step-number { color: #0062dc; font-size: 1.78vw; line-height: 1; letter-spacing: -.04em; }
.step-circle .icon { width: 3.1vw; height: 3.1vw; stroke-width: 2; }
.step-circle strong { font-size: clamp(11px, 1.02vw, 20px); font-weight: 900; white-space: nowrap; }
.steps li + li:before { content: ''; position: absolute; top: 45%; left: -2.15vw; width: .8vw; height: .8vw; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 2.6vw 0 0; padding: 0; }
.benefits li { display: flex; gap: .55vw; align-items: center; padding-inline: .7vw; font-size: clamp(11px, 1.03vw, 20px); font-weight: 800; line-height: 1.45; }
.benefits li:first-child { padding-left: 0; }
.benefits li + li { border-left: 1px dashed #bdceea; }
.benefits .icon { width: 3.25vw; height: 3.25vw; color: #0061df; }
.footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid #f0f4fa; padding: 22px 4%; color: #526984; font-size: 10px; }
.footer button, .footer a { padding: 0; font-size: 11px; }
.footer button:hover, .footer a:hover { color: var(--blue); text-decoration: underline; }

/* 共通の開始時刻から、空→地面→人物を100msずつずらして素早く入れる。 */
.hero-scene.is-pending .scene-layer { opacity: 0; }
.hero-scene.is-entering .scene-layer { animation: scene-arrive 100ms cubic-bezier(.16, 1, .3, 1) both; }
.hero-scene.is-entering .hero-sky { animation-delay: 0ms; }
.hero-scene.is-entering .hero-ground { animation-delay: 100ms; }
.hero-scene.is-entering .hero-characters { animation-delay: 200ms; }
@keyframes scene-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 下部は操作→協力・対戦→拠点→アバター→記録。大きな絵と短い文章で区切る。 */
.movement { padding-top: 4.5vw; }
.section-intro { position: relative; padding: 4.5vw 5.5% 3.8vw; border-top: 1px solid #e2ecf7; }
.section-label { display: flex; align-items: center; gap: 16px; color: var(--blue); font-family: Arial, sans-serif; font-size: clamp(12px, 1.1vw, 17px); font-weight: 800; letter-spacing: .06em; margin-bottom: 1.3vw; }
.section-label:after { content: ''; width: 65px; height: 1px; background: currentColor; }
.movement h2, .keep-playing h2, .closing h2 { font-size: clamp(38px, 4.45vw, 78px); letter-spacing: -.055em; line-height: 1.23; }
.section-description { font-size: clamp(14px, 1.25vw, 21px); line-height: 1.9; margin-top: 1.8vw; font-weight: 600; }
.section-handwriting { position: absolute; right: 13%; top: 35%; font-family: 'Klee', 'HanziPen SC', 'YuKyokasho', cursive; font-size: 2.8vw; color: var(--blue); line-height: 1.55; transform: rotate(-9deg); }
.movement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2vw; padding: 0 5.5%; }
/* 人の動き→説明→実ゲームの順に縦へつなぎ、動作と結果を1枚のカードで理解できる。 */
.movement-item { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e0e9f4; border-radius: 12px; overflow: hidden; background: white; }
.movement-art { position: relative; aspect-ratio: 1; background-image: url('assets/controls-motion-v9.webp'); background-size: 300% 100%; background-repeat: no-repeat; background-position-y: center; }
.punch-art { background-position-x: left; }
.dodge-art { background-position-x: center; }
.guard-art { background-position-x: right; }
.control-kind { position: absolute; top: 15px; left: 15px; padding: 8px 11px; border-radius: 3px; color: var(--blue); background: white; font-family: Arial, sans-serif; font-size: clamp(10px, .85vw, 14px); font-weight: 800; letter-spacing: .08em; }
.movement-caption { padding: 1.8vw 1.8vw 1vw; }
.movement-caption h3 { font-size: clamp(18px, 1.8vw, 31px); line-height: 1.4; margin-bottom: .7vw; letter-spacing: -.04em; }
.movement-caption p { font-size: clamp(12px, 1.08vw, 18px); line-height: 1.8; }
.motion-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 1.8vw 15px; color: var(--blue); font-size: 11px; font-weight: 800; }
.motion-link .icon { width: 22px; height: 22px; transform: rotate(90deg); }
.control-game { margin-top: auto; padding: 0 12px 12px; }
.control-screen { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #eaf1f8; }
.control-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center 75%; }
.control-game figcaption { padding: 13px 5px 4px; text-align: center; font-size: clamp(12px, 1.1vw, 17px); font-weight: 800; }
/* 矢印は実プレイ画像を加工せず、説明用のHTMLレイヤーとして主人公の移動方向へ重ねる。 */
.dodge-guide { position: absolute; width: 78%; height: auto; left: 11%; bottom: 24%; fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 4px #003d8355); }
.dodge-guide path { paint-order: stroke; stroke: #fff; }
.dodge-guide path + path { stroke: #0065ed; stroke-width: 6; }
.section-image-note { padding: 23px 5.5% 3.5vw; text-align: right; color: #728196; font-size: 10px; line-height: 1.6; }
.keep-playing { position: relative; isolation: isolate; min-height: 49vw; display: flex; align-items: center; padding: 5.5vw; overflow: hidden; background: #eaf6ff; }
.keep-playing-art { position: absolute; z-index: -1; inset: 0 0 0 25%; }
.keep-playing-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.keep-playing-art:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #eaf6ff 0, #eaf6ffed 9%, #eaf6ff65 26%, transparent 43%); }
.keep-playing-copy { width: 52%; }
.keep-playing h2 { color: #0057d9; }
.reasons { list-style: none; margin: 2.6vw 0 0; padding: 0; display: grid; gap: 1.6vw; }
.reasons li { display: flex; gap: 1.3vw; align-items: center; }
.reason-icon { display: grid; place-items: center; width: 5.4vw; height: 5.4vw; flex-shrink: 0; border-radius: 50%; color: var(--blue); background: #ffffffed; }
.reason-icon .icon { width: 2.8vw; height: 2.8vw; stroke-width: 2; }
.reasons h3 { color: #0057d9; font-size: clamp(17px, 1.7vw, 27px); line-height: 1.5; margin-bottom: .25vw; }
.reasons p { font-size: clamp(12px, 1.07vw, 17px); line-height: 1.8; }
/* 協力と対戦を同じ大きさで扱い、人数と遊び方の違いを明確にする。 */
.multiplayer { padding: 5.5vw 5.5% 6vw; background: #f7faff; }
.multiplayer-intro { margin-bottom: 3vw; }
.multiplayer-intro .copy-phrase { display: inline-block; }
.multiplayer h2 { font-size: clamp(38px, 4.45vw, 78px); letter-spacing: -.055em; line-height: 1.23; }
.multiplayer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5vw; }
.multiplayer-mode { --mode-color: #0060df; --mode-tint: #e8f2ff; display: flex; flex-direction: column; overflow: hidden; min-width: 0; border-radius: 10px; background: white; box-shadow: 0 6px 24px #00367508; }
.versus-mode { --mode-color: #d84d08; --mode-tint: #fff0e4; }
.multiplayer-art { position: relative; aspect-ratio: 1.6; overflow: hidden; }
.multiplayer-art img { width: 100%; height: 100%; object-fit: cover; }
.mode-label { position: absolute; bottom: 16px; left: 16px; padding: 8px 12px; border-radius: 4px; background: white; color: var(--mode-color); font-family: Arial, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.multiplayer-caption { border-top: 4px solid var(--mode-color); padding: 2.1vw 2.3vw 2.6vw; }
.mode-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.mode-heading h3 { font-size: clamp(24px, 2.35vw, 39px); line-height: 1.4; letter-spacing: -.04em; }
.player-count { padding: 7px 13px; border-radius: 4px; background: var(--mode-tint); color: var(--mode-color); font-size: clamp(12px, 1.05vw, 17px); font-weight: 800; white-space: nowrap; }
.mode-lead { color: var(--mode-color); font-size: clamp(16px, 1.5vw, 24px); font-weight: 800; margin-top: 1.2vw; }
.mode-description { font-size: clamp(13px, 1.15vw, 19px); line-height: 1.9; margin-top: .65vw; }
/* 実画面をスマートフォンの中に入れ、人物・キャラクター・ゲーム画面の三つを一続きで見せる。 */
.mode-gameplay { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2vw; margin-top: auto; padding: 2.7vw 2.3vw; background: var(--mode-tint); }
.gameplay-phone { position: relative; width: 100%; max-width: 280px; justify-self: center; padding: 7px; border: 2px solid #526176; border-radius: 30px; background: #101e31; box-shadow: 0 16px 32px #18304d22; }
.gameplay-phone:before { content: ''; position: absolute; z-index: 1; top: 12px; left: 50%; width: 25%; height: 12px; transform: translateX(-50%); background: #101e31; border-radius: 12px; }
.gameplay-phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 21px; }
.mode-gameplay figcaption { min-width: 0; }
.screen-eyebrow { display: block; margin-bottom: 16px; color: var(--mode-color); font: 800 10px/1.4 Arial, sans-serif; letter-spacing: .07em; }
.mode-gameplay figcaption strong { display: block; font-size: clamp(17px, 1.7vw, 28px); line-height: 1.6; letter-spacing: -.035em; }
.mode-gameplay figcaption > span:last-child { display: block; margin-top: 17px; font-size: clamp(12px, 1vw, 16px); line-height: 1.9; }
.multiplayer .section-image-note { padding: 20px 0 0; }

/* 同じ拠点の三段階を同じサイズで並べ、空き地から街への成長を比較する。 */
.base-growth { display: block; min-height: 0; padding: 5.5vw; }
.base-growth .keep-playing-copy { width: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 6vw; align-items: end; }
.base-growth .section-label { grid-column: 1 / -1; }
.base-growth .section-description { margin: 0 0 5px; }
.base-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2vw; padding: 0; margin: 3.3vw 0 0; list-style: none; }
.base-stages li { position: relative; min-width: 0; }
.base-stage-art { width: 100%; aspect-ratio: 1; border-radius: 8px; background: url('assets/base-growth-v12.webp') no-repeat; background-size: 300% 100%; }
.base-stage-start { background-position: left; }
.base-stage-growing { background-position: center; }
.base-stage-grown { background-position: right; }
.base-stage-caption { display: flex; align-items: flex-start; gap: 15px; padding-top: 23px; }
.base-stage-caption > span { color: var(--blue); font: 800 clamp(22px, 2.5vw, 40px)/1.2 Arial, sans-serif; }
.base-stage-caption h3 { font-size: clamp(18px, 1.65vw, 27px); line-height: 1.5; }
.base-stage-caption p { margin-top: 8px; font-size: clamp(12px, 1vw, 17px); line-height: 1.8; }
.base-growth .section-image-note { padding: 16px 0 0; }
.base-growth-details { margin-top: 3.7vw; padding-top: 2.8vw; border-top: 1px solid #bed9ee; }
.base-growth .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4vw; margin: 0; }

/* アバターは全身の着せ替え例を大きく見せ、テキストを画像へ重ねない。 */
.avatar-feature { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: 'art copy'; align-items: center; gap: 4.5vw; padding: 5.5vw; background: white; }
.avatar-copy { grid-area: copy; min-width: 0; }
.avatar-feature h2, .activity-feature h2 { font-size: clamp(34px, 3.7vw, 65px); line-height: 1.3; letter-spacing: -.05em; }
.avatar-art { grid-area: art; min-width: 0; }
.avatar-art img { width: 100%; height: auto; border-radius: 8px; }
.avatar-art figcaption { margin-top: 12px; text-align: center; color: #63758e; font-size: 11px; }
.avatar-options { display: flex; list-style: none; padding: 0; margin: 2vw 0 0; color: var(--blue); font-size: clamp(12px, 1.1vw, 18px); font-weight: 800; }
.avatar-options li { padding: 0 1.6vw; }
.avatar-options li:first-child { padding-left: 0; }
.avatar-options li + li { border-left: 1px solid #bfcee0; }

/* 記録は数値の見本をHTMLで描く。連携先へまだ送信できるようには見せない。 */
.activity-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; padding: 5.5vw 7%; background: #f0f7fe; }
.activity-copy, .activity-visual { min-width: 0; }
.health-copy { margin-top: 2.6vw; padding-top: 2vw; border-top: 1px solid #c9d8e8; }
.coming-soon { display: inline-block; padding: 5px 11px; border: 1px solid #98b2d2; border-radius: 3px; color: #3d5b80; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.health-copy h3 { font-size: clamp(21px, 2.05vw, 34px); line-height: 1.6; margin-top: 18px; letter-spacing: -.035em; }
.health-copy p { font-size: clamp(12px, 1.1vw, 18px); line-height: 1.9; margin-top: 8px; }
.workout-card { padding: 2.4vw; border: 1px solid #e0e9f3; border-radius: 16px; background: white; box-shadow: 0 12px 32px #173b6510; }
.workout-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: clamp(13px, 1.3vw, 21px); font-weight: 800; }
.workout-period { padding: 6px 10px; border-radius: 5px; color: #0065d3; background: #edf5ff; font-size: 10px; letter-spacing: .04em; }
.workout-energy { display: flex; justify-content: center; align-items: center; gap: 1.8vw; padding: 2vw 0; }
.workout-energy > .icon { width: 4.5vw; height: 5vw; }
.workout-energy div > span { font-size: clamp(12px, 1vw, 16px); color: #667a92; }
.workout-energy p { display: flex; align-items: baseline; gap: 10px; line-height: 1.15; }
.workout-energy b { font-family: Arial, sans-serif; font-size: clamp(56px, 5.2vw, 80px); font-weight: 800; letter-spacing: -.06em; }
.workout-energy p span { font-size: clamp(18px, 1.6vw, 25px); font-weight: 700; }
.workout-metrics { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding-top: 1.7vw; border-top: 1px solid #e2e9f2; text-align: center; }
.workout-metrics > div + div { border-left: 1px solid #e2e9f2; }
.workout-metrics dt { font-size: clamp(11px, 1vw, 15px); color: #667a92; }
.workout-metrics dd { margin: 9px 0 0; font-size: clamp(21px, 2.2vw, 34px); font-weight: 800; line-height: 1.3; white-space: nowrap; }
.workout-metrics dd span { padding-inline: 4px; font-size: clamp(10px, .9vw, 14px); font-weight: 600; }
.workout-note { color: #667a92; font-size: 10px; line-height: 1.6; margin-top: 1.8vw; text-align: center; }
/* 週の棒グラフは20分を上限に描き、数値・目盛り・曜日を常に読み取れるようにする。 */
.weekly-chart { margin-top: 26px; }
.weekly-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.weekly-chart figcaption strong { font-size: 13px; }
.weekly-chart figcaption > span { font-size: 10px; color: #6a7c93; }
.weekly-plot { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin-top: 21px; }
.chart-axis { height: 156px; padding-bottom: 26px; display: flex; flex-direction: column; justify-content: space-between; color: #8392a5; font: 10px/1 Arial, sans-serif; }
.chart-bars { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; height: 156px; padding: 0; margin: 0; list-style: none; }
.chart-bars:before { content: ''; position: absolute; z-index: -1; inset: 0 0 26px; border-block: 1px solid #e6edf5; background: linear-gradient(transparent calc(50% - .5px), #e6edf5 calc(50% - .5px), #e6edf5 calc(50% + .5px), transparent calc(50% + .5px)); }
.chart-bars li { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bar-track { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 130px; }
.bar-fill { position: relative; width: 68%; height: calc(var(--minutes) * 5%); min-height: 2px; border-radius: 5px 5px 2px 2px; background: #7fb7fa; }
.bar-fill b { position: absolute; left: 50%; top: -17px; transform: translateX(-50%); font: 700 10px/1 Arial, sans-serif; color: #536e90; }
.bar-day { margin-top: 10px; font-size: 10px; line-height: 16px; color: #667a92; }
.latest-day .bar-fill { background: var(--blue); }
.latest-day .bar-day, .latest-day .bar-fill b { color: var(--blue); font-weight: 800; }
.rest-day .bar-fill { background: #dbe4ef; }
/* 継続日数とパンチ数は異なるグラフで補い、週間の運動量と習慣の両方を見せる。 */
.workout-trends { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px; padding-top: 20px; margin-top: 24px; border-top: 1px solid #e2e9f2; }
.active-days { display: flex; align-items: center; gap: 12px; min-width: 0; }
.activity-ring { position: relative; display: grid; place-items: center; width: 62px; height: 62px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(#00a98a 0 85.714%, #e5f4ef 85.714% 100%); }
.activity-ring:before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: white; }
.activity-ring b { position: relative; font: 700 23px/1 Arial, sans-serif; }
.activity-ring small { font-size: 11px; color: #6a7c93; }
.active-days div > span { display: block; margin-bottom: 6px; color: #6a7c93; font-size: 10px; }
.active-days strong { display: block; font-size: 13px; }
.punch-trend { min-width: 0; }
.punch-trend figcaption { color: #6a7c93; font-size: 10px; }
.punch-trend svg { display: block; width: 100%; height: 65px; margin-top: 4px; overflow: visible; }
.trend-area { fill: #e8f7f1; }
.trend-line { fill: none; stroke: #00a98a; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.punch-trend circle { fill: #00a98a; stroke: white; stroke-width: 2; }
.health-connection { height: 3.8vw; min-height: 43px; display: flex; flex-direction: column; align-items: center; padding-top: 5px; color: #9fb6cc; }
.health-connection span { flex: 1; width: 1px; background: currentColor; }
.health-connection .icon { width: 14px; height: 14px; transform: rotate(90deg); margin-top: -7px; }
.health-platforms { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.health-platforms li { display: flex; align-items: center; gap: 18px; padding: 19px; border: 1px solid #d8e3ef; border-radius: 10px; background: #ffffffc9; min-width: 0; }
.health-platform-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: white; }
.apple-health { color: #f4496b; }
.apple-health .icon { fill: currentColor; stroke: none; }
.android-health { color: #149b83; }
.android-health .icon { stroke-width: 2.5; }
.health-platforms li div > span { display: block; font-family: Arial, sans-serif; font-size: 10px; color: #667a92; margin-bottom: 5px; }
.health-platforms strong { display: block; font-size: clamp(17px, 1.65vw, 25px); line-height: 1.5; }
.health-note { margin-top: 12px; text-align: center; color: #667a92; font-size: 10px; }
.closing { position: relative; isolation: isolate; padding: 5.5vw 4.15% 3.2vw; overflow: hidden; background: #0066eb; }
.closing-art { position: absolute; z-index: -1; inset: 0; background-image: url('assets/hero-blue-desktop.webp'); background-size: cover; background-position: center 46%; }
.closing-copy { color: white; padding: 0 1.5%; }
.closing .section-label { color: #dcf5ff; }
.closing h2 { font-size: 4.75vw; }
.closing-copy > p:last-child { font-size: 1.25vw; line-height: 1.9; margin-top: 1.6vw; font-weight: 600; }
.closing-download { position: relative; margin-top: 5vw; }
.footer { background: #031e45; border-top: none; color: #c2d3e9; padding-block: 26px; }
.footer a:hover, .footer button:hover { color: white; }

/* 既存の動画・FAQ・ストア状態のダイアログは配色を今回の青と黄色へ統一する。 */
.dialog-open { overflow: hidden; }
dialog { border: none; border-radius: 18px; padding: 0; color: var(--ink); max-width: calc(100% - 32px); box-shadow: 0 25px 80px #00234130; }
dialog::backdrop { background: #031d43cc; backdrop-filter: blur(6px); }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; padding: 19px 24px; gap: 18px; }
.dialog-bar h2 { font-size: 23px; }
.close-dialog { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #eef5ff; flex-shrink: 0; }
.close-dialog:hover { background: #d8eaff; }
.movie-dialog { width: 1000px; }
.movie-dialog video { display: block; width: 100%; max-height: 70vh; background: #07172b; }
.movie-dialog > p { padding: 15px 24px; font-size: 12px; color: #62788b; }
.store-dialog { width: 490px; padding: 38px 30px; text-align: center; }
.store-dialog > .close-dialog { position: absolute; right: 14px; top: 14px; }
.eyebrow { font-size: 12px; letter-spacing: .1em; color: var(--blue); font-weight: 700; margin: 16px 0; }
.store-dialog h2 { font-size: 25px; margin: 0 0 14px; }
.store-dialog p:not(.eyebrow) { font-size: 15px; line-height: 1.7; }
.button { min-height: 54px; margin-top: 25px; font-size: 19px; border-radius: 10px; }
.faq-dialog { width: 760px; }
.faq-list { padding: 0 26px 24px; }
.faq-list details { border-top: 1px solid #dbe4e9; }
.faq-list summary { padding: 22px 0; display: flex; align-items: center; gap: 14px; font-weight: 700; list-style: none; cursor: pointer; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.q { font-size: 23px; color: var(--blue); }
.expand-icon { margin-left: auto; flex-shrink: 0; width: 15px; height: 15px; position: relative; }
.expand-icon:before, .expand-icon:after { content: ''; position: absolute; background: var(--ink); top: 7px; left: 0; width: 15px; height: 2px; }
.expand-icon:after { transform: rotate(90deg); }
details[open] .expand-icon:after { transform: none; }
.faq-list details p { font-size: 15px; line-height: 1.8; padding: 0 30px 22px 39px; }

/* タブレットでは指で押せる高さを先に保ち、CTAだけを二段にする。 */
@media (min-width: 761px) and (max-width: 1000px) {
  .header { gap: 28px; padding-right: 3%; }
  .nav { gap: 0; font-size: 13px; }
  .nav a, .nav button { padding-inline: 13px; }
  .hero-download { bottom: 3%; }
  .download-card { padding: 15px 18px; gap: 20px; border-radius: 18px; }
  .device { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .device-title { font-size: 16px; gap: 8px; }
  .device-title .icon { width: 30px; height: 26px; }
  .mobile-device .device-title .icon { width: 22px; }
  .store-row { flex-basis: 100%; }
  .store-badge { height: 44px; border-radius: 5px; }
  .store-badge b { font-size: 17px; }
  .store-badge small { font-size: 8px; }
  .store-badge .icon { width: 26px; height: 29px; }
  .pc-device { padding-left: 20px; }
  .web-play { flex-basis: 100%; height: 44px; font-size: 19px; }
  .benefits { margin-top: 18px; }
  .benefits li { flex-direction: column; text-align: center; gap: 5px; padding-inline: 4px; }
  .benefits li span { white-space: nowrap; }
  .steps { gap: 2.4vw; }
  .steps li + li:before { left: -1.55vw; }
  .mode-gameplay { grid-template-columns: 1fr; gap: 25px; }
  .mode-gameplay figcaption { text-align: center; }
  .mode-gameplay figcaption strong br { display: none; }
}

/* スマホは専用の縦構図。CTAは地面に重ね、本文とは通常フローで接続する。 */
@media (max-width: 760px) {
  :root { --header-height: 69px; }
  html { scroll-padding-top: 18px; }
  .header { height: 69px; padding: 0 5.5%; gap: 8px; }
  .brand { width: 125px; margin-top: 0; margin-left: -2px; }
  .nav { display: none; }
  .header-actions { margin-left: auto; gap: 12px; }
  .header-actions:before { display: none; }
  .language-picker { gap: 6px; padding-inline: 8px; }
  .language-picker .icon { width: 21px; height: 21px; }
  .language-picker select { font-size: 12px; padding-right: 15px; }
  .select-chevron { right: 9px; width: 6px; height: 6px; }
  .menu-toggle { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 30px; height: 42px; padding: 0 0 0 5px; }
  .menu-toggle:before { content: ''; position: absolute; left: -6px; top: 10px; height: 22px; width: 1px; background: #ffffffbf; }
  .menu-toggle span { width: 25px; height: 2px; background: currentColor; transition: transform .18s, opacity .18s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(9px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-9px) rotate(-45deg); }
  .hero { height: auto; padding-top: calc(141vw + var(--header-height)); background: white; }
  .hero-scene { height: calc(162vw + var(--header-height)); bottom: auto; }
  .hero-ground img, .hero-characters img { object-fit: cover; object-position: center bottom; transform: scale(1.13); transform-origin: 50% 40%; }
  .hero-copy { height: 80vw; text-align: center; }
  .hero h1 { top: 5vw; left: 3%; width: 94%; font-size: 13.3vw; line-height: 1.17; letter-spacing: -.055em; transform: skew(-4deg); transform-origin: center; }
  .hero-signature { display: none; }
  .hero-lead { top: 41vw; left: 4%; width: 92%; font-size: 4.82vw; line-height: 1.48; letter-spacing: 0; }
  .hero-kicker { top: 56.2vw; left: 3%; width: 94%; font-size: 4.14vw; line-height: 1.4; letter-spacing: -.025em; }
  .hero-download { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: 0 auto; }
  .download-card { display: block; padding: 14px 18px 17px; border-radius: 21px; box-shadow: 0 4px 14px #0875d51a; }
  .device { display: block; }
  .device-title { justify-content: center; gap: 9px; font-size: 15px; margin-bottom: 9px; }
  .device-title .icon { width: 33px; height: 30px; }
  .mobile-device .device-title .icon { width: 23px; }
  .store-row { gap: 9px; }
  .store-badge { height: 51px; border-radius: 5px; gap: 3px; padding: 4px 7px; }
  .store-badge .icon { width: 30px; height: 34px; }
  .store-badge b { font-size: 19px; }
  .store-badge small { font-size: 9px; }
  .pc-device { border-left: none; padding: 11px 0 0; border-top: 1px solid #98abc7; margin-top: 15px; }
  .pc-device .device-title { margin-bottom: 9px; }
  .web-play { width: 100%; height: 52px; font-size: 21px; gap: 10px; border-radius: 12px; }
  .web-play .icon { width: 23px; height: 23px; }
  .how { padding: 26px 5% 30px; }
  .how-grid { display: flex; flex-direction: column; gap: 25px; }
  .movie-preview { aspect-ratio: 1.58; border-radius: 3px; }
  .movie-preview img { object-position: center; }
  .movie-note { left: 5%; top: 9%; font-size: 4.15vw; line-height: 1.3; }
  .play-circle { width: 68px; height: 68px; }
  .play-circle .icon { width: 39px; height: 39px; }
  .how-guide { width: 100%; }
  .how h2 { font-size: 8.95vw; line-height: 1.2; letter-spacing: -.06em; margin: 0 0 17px; }
  .steps { gap: 22px; }
  .step-circle { gap: 3px; }
  .step-number { font-size: 20px; }
  .step-circle .icon { width: 33px; height: 33px; }
  .step-circle strong { font-size: 11px; }
  .steps li + li:before { left: -14px; width: 8px; height: 8px; border-width: 1.5px; }
  .benefits { margin-top: 26px; }
  .benefits li { gap: 5px; padding-inline: 7px; font-size: 11px; }
  .benefits .icon { width: 31px; height: 31px; }
  /* 小さな画面では横3列の画像を縦の流れへ戻し、内容を省略しない。 */
  .movement { padding-top: 16px; }
  .section-intro { padding: 35px 6% 30px; }
  .section-label { font-size: 11px; margin-bottom: 15px; gap: 12px; }
  .section-label:after { width: 42px; }
  .movement h2, .keep-playing h2, .closing h2 { font-size: 9.2vw; line-height: 1.28; }
  .movement h2 { font-size: 8.7vw; }
  .section-description { font-size: 13px; line-height: 1.9; margin-top: 19px; }
  .section-handwriting { display: none; }
  /* スマホでも人→ゲームの対応を切らず、各操作に十分な画面を割り当てる。 */
  .movement-grid { grid-template-columns: 1fr; padding: 0 5.5% 36px; gap: 24px; }
  .movement-item { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 0 14px; padding: 12px; border-radius: 10px; }
  .movement-art { aspect-ratio: 1; border-radius: 5px; }
  .control-kind { top: 7px; left: 7px; padding: 5px 6px; font-size: 8px; letter-spacing: .04em; }
  .movement-caption { padding: 4px 2px 4px 0; }
  .movement-caption h3 { font-size: clamp(16px, 4.5vw, 23px); margin-bottom: 8px; line-height: 1.5; }
  .movement-caption p { font-size: clamp(11px, 3.07vw, 13px); line-height: 1.8; }
  .motion-link { grid-column: 1 / -1; padding: 16px 4px 12px; font-size: 10px; }
  .control-game { grid-column: 1 / -1; padding: 0; width: 100%; }
  .control-game figcaption { padding: 14px 0 5px; font-size: 13px; }
  .section-image-note { padding: 0 6% 30px; font-size: 9px; text-align: left; }
  .keep-playing { display: flex; flex-direction: column-reverse; padding: 36px 0 0; margin-top: 12px; }
  .keep-playing-copy { width: 100%; padding: 0 6%; }
  .keep-playing-art { position: relative; inset: auto; width: 100%; aspect-ratio: 1.35; margin-top: 14px; }
  .keep-playing-art img { object-position: right center; }
  .keep-playing-art:after { background: linear-gradient(180deg, #eaf6ff, #eaf6ff00 25%); }
  .desktop-break { display: none; }
  .reasons { margin-top: 27px; gap: 24px; }
  .reasons li { gap: 15px; }
  .reason-icon { width: 53px; height: 53px; }
  .reason-icon .icon { width: 29px; height: 29px; }
  .reasons h3 { font-size: 17px; margin-bottom: 5px; }
  .reasons p { font-size: 12px; line-height: 1.85; }
  /* スマホは協力→対戦の順で縦に並べ、人数表示を見出しの横に保つ。 */
  .multiplayer { padding: 39px 5.5% 42px; }
  .multiplayer-intro { margin-bottom: 25px; }
  .multiplayer h2 { font-size: 9.2vw; line-height: 1.28; }
  .multiplayer .section-description { font-size: 13px; }
  .multiplayer-grid { grid-template-columns: 1fr; gap: 24px; }
  .multiplayer-mode { border-radius: 6px; }
  .multiplayer-art { aspect-ratio: 1.5; }
  .mode-label { bottom: 12px; left: 12px; font-size: 10px; padding: 7px 10px; }
  .multiplayer-caption { padding: 20px 17px 23px; border-top-width: 3px; }
  .mode-heading { gap: 8px; }
  .mode-heading h3 { font-size: 6.15vw; }
  .player-count { font-size: 11px; padding: 6px 9px; }
  .mode-lead { font-size: 15px; margin-top: 14px; }
  .mode-description { font-size: 12px; margin-top: 8px; line-height: 1.9; }
  .mode-gameplay { grid-template-columns: 1fr; gap: 27px; padding: 28px 24px 30px; }
  .gameplay-phone { width: 78%; max-width: 250px; border-radius: 27px; padding: 6px; }
  .gameplay-phone img { border-radius: 18px; }
  .mode-gameplay figcaption { text-align: center; }
  .screen-eyebrow { font-size: 9px; margin-bottom: 9px; }
  .mode-gameplay figcaption strong { font-size: 22px; line-height: 1.5; }
  .mode-gameplay figcaption > span:last-child { margin-top: 10px; font-size: 12px; }
  .multiplayer .section-image-note { padding: 18px 0 0; }
  /* 各段階を縦に順番に見せ、スマホで街の建物を小さくし過ぎない。 */
  .base-growth { display: block; padding: 39px 5.5% 36px; margin: 0; }
  .base-growth .keep-playing-copy { display: block; padding: 0; }
  .base-growth .section-description { margin-top: 20px; }
  .base-stages { grid-template-columns: 1fr; gap: 34px; margin-top: 28px; }
  .base-stage-caption { gap: 15px; padding-top: 17px; }
  .base-stage-caption > span { font-size: 30px; }
  .base-stage-caption h3 { font-size: 21px; }
  .base-stage-caption p { font-size: 12px; margin-top: 4px; }
  .base-growth-details { margin-top: 30px; padding-top: 30px; }
  .base-growth .reasons { grid-template-columns: 1fr; gap: 24px; }
  /* 外見と記録は見出し→説明→ビジュアルへ揃え、カード内も固定幅を使わない。 */
  .avatar-feature { grid-template-columns: 1fr; grid-template-areas: 'copy' 'art'; padding: 39px 5.5% 36px; gap: 27px; }
  .avatar-feature h2, .activity-feature h2 { font-size: 9.2vw; }
  .activity-feature h2 { font-size: 8vw; }
  .avatar-options { margin-top: 21px; font-size: 12px; }
  .avatar-options li { padding-inline: 23px; }
  .avatar-art figcaption { font-size: 9px; }
  .activity-feature { grid-template-columns: 1fr; gap: 27px; padding: 39px 5.5% 36px; }
  .health-copy { margin-top: 25px; padding-top: 24px; }
  .health-copy h3 { font-size: 18px; }
  .health-copy p { font-size: 12px; }
  .workout-card { padding: 23px 19px 18px; border-radius: 13px; }
  .workout-heading { font-size: 14px; }
  .workout-period { font-size: 9px; }
  .workout-energy { padding: 23px 0; gap: 24px; }
  .workout-energy > .icon { width: 42px; height: 49px; }
  .workout-energy b { font-size: 60px; }
  .workout-metrics { padding-top: 19px; }
  .workout-metrics dd { font-size: 25px; }
  .workout-note { margin-top: 18px; font-size: 9px; }
  .chart-bars { gap: 8px; }
  .workout-trends { gap: 12px; margin-top: 20px; padding-top: 17px; }
  .active-days { gap: 8px; }
  .activity-ring { width: 48px; height: 48px; }
  .activity-ring:before { inset: 6px; }
  .activity-ring b { font-size: 20px; }
  .active-days strong { font-size: 12px; }
  .punch-trend svg { height: 54px; }
  .health-platforms { gap: 10px; margin-top: 18px; }
  .health-platforms li { gap: 14px; padding: 16px; }
  .health-platform-icon { width: 36px; height: 40px; }
  .health-platform-icon .icon { width: 27px; height: 27px; }
  .health-platforms strong { font-size: 20px; }
  .health-note { font-size: 9px; }
  .closing { padding: 37px 12px 26px; }
  .closing-art { height: 147vw; background-image: url('assets/hero-blue-mobile.webp'); background-position: center 39%; }
  .closing-copy { text-align: center; padding: 0; }
  .closing .section-label { justify-content: center; }
  .closing .section-label:after { display: none; }
  .closing h2 { font-size: 9.8vw; }
  .closing-copy > p:last-child { font-size: 12px; line-height: 1.85; margin-top: 15px; }
  .closing-download { margin-top: 81vw; }
  .footer { font-size: 9px; gap: 12px 16px; padding: 20px; }
  .footer p { flex-basis: 100%; order: 1; text-align: center; }
  .dialog-bar { padding: 14px 17px; }
  .dialog-bar h2 { font-size: 19px; }
  .faq-list { padding: 0 18px 20px; }
  .faq-list summary { font-size: 14px; gap: 10px; }
  .faq-list details p { font-size: 13px; padding: 0 10px 20px 28px; }
}
/* 最小幅でもストア文字とタップ範囲を保つ。英語は同じ構造で改行だけ調整する。 */
@media (max-width: 360px) {
  .header { padding-inline: 15px; }
  .brand { width: 113px; }
  .header-actions { gap: 12px; }
  .download-card { padding-inline: 13px; }
  .store-badge b { font-size: 17px; }
  .store-badge small { font-size: 8px; }
  .web-play { font-size: 19px; }
  .step-circle strong { font-size: 10px; }
  .benefits li { flex-direction: column; text-align: center; font-size: 10px; padding-inline: 4px; }
  .benefits li span { white-space: nowrap; }
}
html[lang=en] .hero h1 { font-family: Arial, sans-serif; font-size: 7vw; letter-spacing: -.055em; }
html[lang=en] .store-badge small { font-family: Arial, sans-serif; font-size: .61vw; }
html[lang=en] .how h2 { font-family: Arial, sans-serif; font-size: 3.5vw; letter-spacing: -.04em; }
html[lang=en] .step-circle strong { font-size: clamp(10px, .8vw, 18px); }
@media (max-width: 760px) {
  html[lang=en] .hero h1 { font-size: 12.2vw; }
  html[lang=en] .hero-kicker { font-size: 3.7vw; }
  html[lang=en] .store-badge small { font-size: 7px; }
  html[lang=en] .how h2 { font-size: 8.7vw; }
  html[lang=en] .step-circle strong { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .hero-scene.is-pending .scene-layer { opacity: 1; }
}
