/* ==========================================================================
   サークルめぐり LP
   方針: 紙とインク、アプリの緑。実際のアプリ画面（架空データ）を主役にする。
   外部リソースは一切読み込まない（フォントはOS標準）。
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --paper-3: #e1ddd1;
  --card: #fbfaf6;
  --ink: #0f1d1a;
  --ink-2: #33433f;
  --muted: #5b6965;
  --line: #d6d2c5;
  --green: #006b60;
  --green-deep: #00473f;
  --mint: #8acec0;
  --lime: #d8ee89;
  --amber: #f2c14e;
  --night: #0b1714;
  --night-2: #13241f;
  --night-line: #26403a;
  --night-text: #e8efe9;
  --night-muted: #a9bbb4;

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-latin: "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "Menlo", "Consolas", monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-device: 0 50px 80px -40px rgba(9, 34, 29, .45), 0 18px 36px -24px rgba(9, 34, 29, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-feature-settings: "palt"; word-break: auto-phrase; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.22; letter-spacing: -.035em; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.5; letter-spacing: -.01em; font-weight: 700; }
:focus-visible { outline: 3px solid #b8460f; outline-offset: 4px; border-radius: 6px; }
.day :focus-visible { outline-color: var(--lime); }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 100; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 999px; }
.skip:focus { top: 12px; position: fixed; }
.fine { font-size: 13px; line-height: 1.75; color: var(--muted); }
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }

.eyebrow { font-family: var(--font-latin); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--green); margin-bottom: 18px; }
.eyebrow--mint { color: var(--mint); }

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 0 26px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.button--primary { background: var(--green); color: #fff; box-shadow: 0 16px 30px -18px rgba(0, 107, 96, .9); }
.button--primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.button--large { min-height: 64px; padding: 0 34px; font-size: 17px; }
.textlink { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: var(--green); text-decoration: underline; text-decoration-thickness: 1.5px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; }
.pill--ink { background: var(--ink); color: var(--paper); }
.pill--ink:hover { background: var(--green); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .04em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--green); }

/* ---------- Device frame ---------- */
.device { position: relative; aspect-ratio: 720 / 1511; border-radius: 13% / 6%; padding: 3.2%; background: #0d1412; box-shadow: var(--shadow-device), inset 0 0 0 1.5px #2b3532; }
.device::after { content: ""; position: absolute; inset: 3.2%; border-radius: 11% / 5%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); pointer-events: none; }
.device__screen { width: 100%; height: 100%; object-fit: cover; border-radius: 11% / 5%; background: #eef0f0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 120px); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 82% 30%, rgba(138, 206, 192, .35), transparent 70%),
  repeating-linear-gradient(90deg, transparent 0 79px, rgba(15, 29, 26, .045) 79px 80px),
  repeating-linear-gradient(0deg, transparent 0 79px, rgba(15, 29, 26, .045) 79px 80px);
  pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 28px; }
.hero__title { font-size: clamp(52px, 7.2vw, 108px); line-height: 1.04; letter-spacing: -.06em; font-weight: 900; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .line--accent { color: var(--green); }
.hero__lead { margin-top: 30px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.9; color: var(--ink-2); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 38px; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--muted); }

.hero__stage { position: relative; display: flex; justify-content: flex-end; padding: 0 2% 0 0; }
.device--hero { width: min(100%, 330px); transform: rotate(3deg); }

/* split-flap board */
.board { position: absolute; z-index: 3; left: -6%; bottom: 9%; width: min(430px, 82%); padding: 26px 24px 22px; border-radius: 18px; background: var(--ink); color: var(--paper); box-shadow: 0 30px 60px -36px rgba(9, 34, 29, .7); transform: rotate(-2deg); }
.board__label { display: flex; align-items: center; gap: 8px; font-family: var(--font-latin); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--mint); }
.board__label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(216, 238, 137, .18); }
.board__code { display: flex; gap: 4px; margin-top: 16px; font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; letter-spacing: -.02em; line-height: 1; color: var(--lime); font-feature-settings: "palt", "tnum"; }
.board__code .flap { display: inline-grid; place-items: center; min-width: .78em; padding: .1em .06em; border-radius: 6px; background: var(--night-2); position: relative; }
.board__code .flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.board__code .flap.is-flipping { animation: flap .38s var(--ease); }
@keyframes flap { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); filter: brightness(.6); } 100% { transform: rotateX(0); } }
.board__name { margin-top: 14px; font-size: 18px; font-weight: 700; letter-spacing: .02em; min-height: 1.6em; }
.board__stops { display: flex; gap: 6px; margin-top: 18px; }
.board__stops li { flex: 1; height: 4px; border-radius: 4px; background: var(--night-line); transition: background-color .4s; }
.board__stops li.is-done { background: var(--mint); }
.board__stops li.is-current { background: var(--lime); }

/* ---------- Catalog strip ---------- */
.strip { padding: 8px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); overflow: hidden; }
.strip__caption { display: flex; align-items: baseline; gap: 14px; padding: 26px 0 22px; font-weight: 700; font-size: 15px; }
.strip__caption .mono { font-size: 12px; color: var(--green); letter-spacing: .2em; }
.strip__track { display: flex; width: max-content; gap: 14px; }
.strip__row { display: flex; gap: 14px; }
.strip__row li { width: 176px; flex: none; border-radius: 2px; overflow: hidden; box-shadow: 0 10px 20px -14px rgba(9, 34, 29, .6); }
.strip__row li:nth-child(odd) { transform: translateY(10px); }
.strip__fine { margin-top: 34px; font-size: 12px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .strip__track.is-looping { animation: strip 80s linear infinite; }
  .strip:hover .strip__track { animation-play-state: paused; }
}
@keyframes strip { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .strip { overflow-x: auto; } }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head__lead { margin-top: 26px; font-size: 17px; color: var(--ink-2); }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: none; align-items: end; }

/* ---------- Story ---------- */
.story { padding: clamp(80px, 11vw, 160px) 0; }
.story__route { position: relative; padding-left: 44px; }
.story__route::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.story__route::after { content: ""; position: absolute; left: 9px; top: 12px; width: 2px; height: calc((100% - 24px) * var(--progress, 0)); background: var(--green); transition: height .15s linear; }
.chapter { position: relative; padding-bottom: clamp(96px, 12vw, 168px); }
.chapter:last-child { padding-bottom: 0; }
.chapter__stop { position: absolute; left: -44px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); z-index: 1; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.chapter.is-reached .chapter__stop { border-color: var(--green); background: var(--green); }
.chapter.is-current .chapter__stop { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(0, 107, 96, .15); }
.chapter__time { font-size: 13px; color: var(--green); font-weight: 600; }
.chapter h3 { display: flex; align-items: baseline; gap: 16px; margin-top: 10px; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.chapter__no { font-family: var(--font-latin); font-size: .5em; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.chapter__lead { margin-top: 20px; max-width: 34em; font-size: 17px; color: var(--ink-2); }
.chapter--wide .chapter__copy { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px clamp(40px, 6vw, 96px); align-items: start; }
.chapter--wide .chapter__lead { margin-top: 38px; }
.chapter--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.chapter--split .chapter__stop { top: calc(50% - 10px); }
.chapter__device { width: min(100%, 300px); justify-self: center; transform: rotate(2deg); }
.facts { margin-top: 24px; display: grid; gap: 10px; max-width: 34em; }
.facts li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.7; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--green); }
.facts--compact { margin-top: 26px; }

/* 01 集める：3つの見方（狭い画面では横スクロール） */
.views { margin-top: clamp(48px, 6vw, 80px); }
.views__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding: 40px 4px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.views__rail::-webkit-scrollbar { display: none; }
.views__rail:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 12px; }
.views__item { display: flex; flex-direction: column; align-items: center; scroll-snap-align: center; }
.views__item .device { width: min(100%, 290px); }
.views__item:nth-child(2) { transform: translateY(-40px); }
.views__item figcaption { width: min(100%, 290px); margin-top: 28px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.views__item figcaption b { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.views__no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 12px var(--font-latin); }
.views__item figcaption .views__no { float: left; margin: 2px 10px 0 0; }
.views__hint { display: none; }

/* 02 決める：お品書き → アプリ */
.menuvis { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 560px; }
.menuvis__paper { position: absolute; left: 0; top: 50%; width: 60%; border-radius: 4px; background: #fff; transform: translateY(-50%) rotate(-4deg); box-shadow: 0 40px 70px -40px rgba(9, 34, 29, .55), 0 0 0 1px rgba(15, 29, 26, .06); }
.menuvis__device { position: relative; z-index: 1; width: min(50%, 290px); margin-right: 2%; transform: rotate(2deg); }
.menuvis__arrow { position: absolute; z-index: 2; left: 45%; top: 14%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 800; box-shadow: 0 10px 24px -12px rgba(9, 34, 29, .5); }
.menuvis__arrow::after { content: "→"; font-family: var(--font-latin); }

/* ---------- Map feature ---------- */
.mapfeature { padding: clamp(80px, 11vw, 160px) 0; }
.mapfeature__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(40px, 8vw, 128px); align-items: center; }
.device--map { width: 100%; transform: rotate(-2deg); }
.mapfeature__copy > p:not(.eyebrow) { margin-top: 24px; font-size: 17px; color: var(--ink-2); max-width: 32em; }

/* ---------- Day (dark) ---------- */
.day { position: relative; padding: clamp(90px, 12vw, 170px) 0; background:
  radial-gradient(70% 60% at 85% 20%, rgba(0, 107, 96, .45), transparent 70%),
  linear-gradient(180deg, var(--night) 0%, #0e1d19 100%);
  color: var(--night-text); overflow: hidden; }
.day::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, transparent 0 79px, rgba(138, 206, 192, .05) 79px 80px),
  repeating-linear-gradient(0deg, transparent 0 79px, rgba(138, 206, 192, .05) 79px 80px); pointer-events: none; }
.day__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(40px, 8vw, 128px); align-items: center; }
.day h2 { color: #fff; }
.mint { color: var(--mint); }
.day__lead { margin-top: 26px; max-width: 32em; font-size: 17px; color: var(--night-muted); }
.flow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.flow li span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--mint); color: var(--night); font-weight: 700; font-size: 14px; }
.flow .flow--alt span { background: transparent; color: var(--night-text); box-shadow: inset 0 0 0 1px var(--night-line); }
.live { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--night-line); max-width: 560px; }
.live__label { font-size: 12px; color: var(--lime); letter-spacing: .2em; }
.live h3 { margin-top: 8px; color: #fff; }
.live p:not(.live__label) { margin-top: 10px; color: var(--night-muted); font-size: 15px; }
.live__card { margin-top: 26px; width: 100%; border-radius: 24px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.live__island { margin-top: 16px; width: min(78%, 420px); border-radius: 999px; }
.device--dark { width: 100%; box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .9), inset 0 0 0 1.5px #2f3d39; }

/* ---------- Trust ---------- */
.trust { padding: clamp(80px, 11vw, 150px) 0; }
.trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.trust__grid li { padding: 32px 28px 36px 0; }
.trust__grid li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.trust__grid svg { width: 48px; height: 48px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.trust__grid h3 { margin-top: 20px; }
.trust__grid p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* ---------- Start ---------- */
.start { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.start__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.req { padding: 32px; border-radius: var(--radius); background: var(--card); border: 2px solid var(--green); }
.req__tag { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
.req h3 { margin-top: 14px; font-size: 22px; }
.req p { margin-top: 12px; color: var(--ink-2); }
.req .textlink { margin-top: 18px; }
.spec { margin-top: 28px; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd { color: var(--ink-2); }
.spec dd .fine { display: block; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--green), var(--green)) center / 100% 2px no-repeat, linear-gradient(var(--green), var(--green)) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 40em; }
.faq details a { color: var(--green); font-weight: 700; }

/* ---------- Finale ---------- */
.finale { padding: clamp(90px, 12vw, 170px) 0; background: var(--lime); text-align: center; }
.finale__inner { display: flex; flex-direction: column; align-items: center; }
.finale__route { display: flex; align-items: center; margin-bottom: 34px; }
.finale__route li { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--green); background: var(--lime); }
.finale__route li + li { margin-left: 64px; position: relative; }
.finale__route li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 66px; height: 2px; background: var(--green); transform: translate(-0px, -50%); }
.finale__route .is-goal { width: 26px; height: 26px; background: var(--green); }
.finale h2 { font-size: clamp(44px, 7vw, 96px); line-height: 1.1; letter-spacing: -.05em; font-weight: 900; }
.finale p:not(.eyebrow) { margin-top: 24px; font-size: 17px; color: var(--ink-2); }
.finale .button { margin-top: 34px; }
.finale__stores { display: flex; gap: 12px; margin-top: 24px; }
.finale__stores span { display: inline-flex; flex-direction: column; padding: 8px 18px; border-radius: 12px; border: 1px solid rgba(15, 29, 26, .25); font-weight: 700; font-size: 14px; line-height: 1.3; }
.finale__stores small { font-weight: 500; font-size: 11px; color: var(--ink-2); }
.finale .eyebrow { color: var(--green-deep); }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; background: var(--paper); }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.site-footer__tag { margin-top: 12px; font-size: 14px; color: var(--muted); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; font-size: 14px; }
.site-footer__nav a { text-decoration: none; color: var(--ink-2); }
.site-footer__nav a:hover { color: var(--green); text-decoration: underline; }
.site-footer__legal { padding-top: 28px; display: grid; gap: 10px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.site-footer__legal a { color: var(--ink-2); }
.site-footer__copy { display: flex; justify-content: space-between; margin-top: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__title { font-size: clamp(52px, 7.6vw, 80px); }
  .board { left: -10%; width: min(380px, 92%); }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header__inner { justify-content: space-between; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { justify-content: center; max-width: 560px; margin: 12px auto 0; width: 100%; }
  .board { left: 0; bottom: 6%; width: min(360px, 70%); }
  .device--hero { width: min(58%, 300px); margin-left: auto; }
  .board { padding: 20px 18px 18px; }
  .board__name { font-size: 16px; }

  /* story: 1列に。3つの見方は横スクロール */
  .chapter--wide .chapter__copy, .chapter--split { grid-template-columns: 1fr; }
  .chapter--wide .chapter__lead { margin-top: 0; }
  .chapter--split .chapter__stop { top: 4px; }
  .chapter { padding-bottom: 88px; }
  .chapter__device { width: min(76%, 290px); }
  .views { margin-right: calc(-1 * var(--gutter)); margin-left: -44px; }
  .views__rail { grid-auto-columns: min(68%, 280px); gap: 20px; padding: 8px var(--gutter) 8px 44px; scroll-padding-inline: 44px var(--gutter); }
  .views__item { scroll-snap-align: start; }
  .views__item:nth-child(2) { transform: none; }
  .views__hint { display: flex; align-items: center; gap: 12px; margin: 20px 0 0 44px; font-size: 12px; font-weight: 700; color: var(--muted); }
  .views__dots { display: flex; gap: 6px; }
  .views__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color .25s, width .25s var(--ease); }
  .views__dots i.is-current { width: 20px; border-radius: 4px; background: var(--green); }
  .menuvis { min-height: 0; padding: 12px 0 0; }
  .menuvis__paper { width: 62%; }
  .menuvis__device { width: min(52%, 260px); }
  .menuvis__arrow { left: 34%; top: 2%; padding: 6px 12px; font-size: 12px; }

  .mapfeature__grid, .day__grid, .start__grid, .faq__grid { grid-template-columns: 1fr; }
  .device--map { width: min(76%, 300px); margin-inline: auto; order: 2; }
  .device--dark { width: min(76%, 300px); margin-inline: auto; }
  .section-head--split { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__grid li, .trust__grid li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header__inner { min-height: 60px; }
  .brand span { font-size: 16px; }
  .pill { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .hero__title { font-size: clamp(46px, 14.5vw, 64px); }
  .hero__actions .button { width: 100%; justify-content: space-between; }
  .hero__stage { flex-direction: column; align-items: stretch; padding: 0; }
  .board { position: relative; left: auto; bottom: auto; width: 100%; transform: none; }
  .board__code { font-size: clamp(30px, 10vw, 40px); }
  .device--hero { align-self: center; width: min(72%, 260px); margin: 24px auto 0; transform: rotate(2deg); }
  .strip__row li { width: 132px; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer__nav { grid-template-columns: 1fr; }
  .finale__route li + li { margin-left: 40px; }
  .finale__route li + li::before { width: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
