/* ==========================================================================
   土地フォリオ 公式サイト
   方針: 囲み（枠線カード・影）で区切らない。罫・余白・色の面で区切る。
         色はアプリと同じ系統（accent #2f6bdc / navy / 暗色 #0c1118）。
         本文は 17px 以上、補足も 14px・濃いグレーまで（薄く小さい文字にしない）。
   ========================================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --paper-3: #eef1f5;          /* アプリの背景色と同じ */
  --ink: #111a24;
  --ink-2: #414d5a;
  --ink-3: #485461;          /* 補足の文字も 7:1 を超える濃さに（薄く小さい文字にしない） */
  --line: #e1e5eb;
  --line-2: #cfd6df;
  --accent: #2f6bdc;
  --accent-ink: #1f58c7;
  --accent-soft: rgba(47, 107, 220, .14);
  --gold-soft: rgba(184, 134, 43, .20);
  --red-soft: rgba(221, 75, 83, .18);
  --pos: #0b7a53;

  --night: #0a0e14;
  --night-2: #121821;
  --night-ink: #f2f5f9;
  --night-ink-2: #b3bfcc;
  --night-line: #262f3b;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --font-num: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.8 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-break: strict;
  text-spacing-trim: trim-start;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-feature-settings: "palt"; word-break: auto-phrase; text-wrap: balance; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--text { width: min(100% - var(--gutter) * 2, 760px); }
.center { text-align: center; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.br-sp { display: none; }
@media (max-width: 767px) { .br-sp { display: inline; } .br-pc { display: none; } }

/* 公開状態の切り替え（<html data-release>） */
[data-release="soon"] .when-live { display: none !important; }
[data-release="live"] .when-soon { display: none !important; }

/* ---------- 文字の階層 ---------- */
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--accent-ink); margin-bottom: 14px; }
.eyebrow--night { color: #8fb4f5; }
.hero__title {
  font-size: clamp(56px, min(10.4vw, 16.5vh), 136px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.035em;
}
.h2 { font-size: clamp(31px, 6.2vw, 80px); font-weight: 800; line-height: 1.16; letter-spacing: -.03em; }
.h2--sm { font-size: clamp(32px, 4.4vw, 54px); }
.h2--col { font-size: clamp(31px, 4.6vw, 60px); }
.h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.lead { word-break: auto-phrase; font-size: clamp(18px, 1.75vw, 22px); font-weight: 500; line-height: 1.75; color: var(--ink-2); margin-top: 22px; text-wrap: pretty; }
.lead--narrow { max-width: 40em; }
.body { font-size: 17px; line-height: 1.85; color: var(--ink-2); margin-top: 18px; text-wrap: pretty; }
.fine { font-size: 14px; line-height: 1.75; color: var(--ink-3); margin-top: 28px; text-wrap: pretty; }

/* ---------- ナビ ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav { transition: border-color .3s, background-color .4s, color .4s; }
.nav.is-dark { background: rgba(10, 14, 20, .72); border-bottom-color: rgba(255,255,255,.08); }
.nav.is-dark .nav__brand, .nav.is-dark .nav__links a { color: #e8edf3; }
.nav.is-dark .nav__cta--soon { background: rgba(255,255,255,.12); color: #e8edf3; }
.nav__inner { height: 100%; width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: .02em; margin-right: auto; }
.nav__brand img { border-radius: 7px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); padding: 6px 14px; border-radius: 99px; text-decoration: none; white-space: nowrap; }
.nav__cta--soon { background: var(--paper-3); color: var(--ink-2); }
@media (max-width: 720px) { .nav__links { display: none; } }

/* ---------- ストアへの導線 ---------- */
.store { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; justify-content: center; }
.store__badge img { display: block; height: 50px; width: auto; }
.soon-note { display: inline-flex; align-items: center; gap: 10px; text-align: left; margin-top: clamp(20px, 3.4vh, 36px); font-size: 16px; font-weight: 600; color: var(--ink-2); }
.soon-note__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-soft); animation: beat 2.4s var(--ease) infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(47,107,220,.35); } 70%, 100% { box-shadow: 0 0 0 10px rgba(47,107,220,0); } }

/* ==========================================================================
   HERO — 区画の線画（site.js が生成）を寝かせて置き、スクロールで起こす
   ========================================================================== */
.hero { position: relative; padding-top: clamp(40px, 7vh, 96px); text-align: center; overflow: clip; }
.hero__lead { word-break: auto-phrase; font-size: clamp(18px, 1.9vw, 23px); font-weight: 500; line-height: 1.7; color: var(--ink-2); margin-top: clamp(16px, 2.6vh, 26px); }
.hero__stage {
  position: relative;
  height: clamp(360px, 52vw, 640px);
  margin-top: clamp(8px, 2vh, 28px);
  perspective: 1300px;
  perspective-origin: 50% 20%;
}
.map {
  --p: 0;
  --map-line: #a3aebb;         /* 区画の線と建物は罫（--line-2）・面（--paper-3）より一段濃く（薄くて見えにくかった・2026-10-09） */
  position: absolute; inset: -6% -24% -18%;
  transform-origin: 50% 38%;
  transform: rotateX(calc(48deg - 48deg * var(--p))) scale(calc(1.16 - .14 * var(--p)));
  -webkit-mask-image: radial-gradient(ellipse 64% 66% at 50% 44%, #000 46%, transparent 82%);
  mask-image: radial-gradient(ellipse 64% 66% at 50% 44%, #000 46%, transparent 82%);
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.map.is-ready { opacity: 1; }
.map__svg { width: 100%; height: 100%; display: block; }
.map__lots { fill: none; stroke: var(--map-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__bldg { fill: #dce2ea; }
.map__park { fill: #d0e6d7; }
.map__water { fill: none; stroke: #c2d7f0; stroke-linecap: round; }
.map__road-edge { fill: none; stroke: var(--map-line); stroke-linecap: butt; }
.map__road { fill: none; stroke: var(--paper); stroke-linecap: butt; }
.map__pick { fill: rgba(47, 107, 220, .18); stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.map__ring { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ring 2.8s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(2.4); } }

.pin-label {
  position: absolute; left: 50%; top: 50%;
  display: grid; justify-items: start; gap: 2px;
  padding: 12px 16px 13px;
  background: var(--ink); color: #fff; border-radius: 14px;
  text-align: left; white-space: nowrap;
  transform: translate(34px, -50%);
  opacity: 0; transition: opacity .8s var(--ease) .5s;
  pointer-events: none;
}
.pin-label::after { content: ""; position: absolute; top: 50%; left: -34px; width: 34px; height: 1px; background: var(--ink); }
.pin-label::before { content: ""; position: absolute; top: 50%; left: -38px; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--ink); }
.pin-label.is-ready { opacity: 1; }
.pin-label.is-left { transform: translate(calc(-100% - 34px), -50%); }
.pin-label.is-left::after { left: auto; right: -34px; }
.pin-label.is-left::before { left: auto; right: -38px; }
.pin-label__name { font-size: 13px; font-weight: 600; color: #c7d0db; }
.pin-label__value { font-size: 26px; font-weight: 700; line-height: 1.15; }
.pin-label__value small { font-size: 14px; font-weight: 600; margin-left: 2px; }
.pin-label__meta { font-size: 12.5px; color: #c7d0db; }
.hero__caption { position: relative; text-align: right; font-size: 13px; color: var(--ink-3); margin-top: -28px; padding-bottom: 12px; }

/* ==========================================================================
   セクション共通
   ========================================================================== */
.sec { padding-block: clamp(96px, 14vw, 180px); }
.sec__head { margin-bottom: clamp(48px, 7vw, 88px); }
.sec__head.center .lead { margin-inline: auto; max-width: 44em; }

/* ---------- 端末の枠（CSS で描く・ステータスバーは 9:41） ---------- */
.phone {
  --w: 300px;
  position: relative; margin: 0; flex: none;
  width: var(--w);
  padding: calc(var(--w) * .03);
  border-radius: calc(var(--w) * .17);
  background: linear-gradient(150deg, #3a3e46 0%, #121316 22%, #0b0c0e 60%, #26282d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 0 0 calc(var(--w) * .012) #08090a,
    0 60px 90px -50px rgba(17, 26, 36, .55);
}
.phone__screen {
  position: relative; overflow: hidden;
  aspect-ratio: 720 / 1564;
  border-radius: calc(var(--w) * .142);
  background: var(--paper-3);
  container-type: inline-size;
  isolation: isolate;
}
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__screen::before { /* Dynamic Island */
  content: ""; position: absolute; z-index: 3; top: 2.7cqw; left: 50%;
  width: 29cqw; height: 8.4cqw; border-radius: 99px; background: #000; transform: translateX(-50%);
}
.phone__screen::after { /* ホームインジケータ */
  content: ""; position: absolute; z-index: 3; bottom: 2cqw; left: 50%;
  width: 31cqw; height: 1.2cqw; border-radius: 99px; background: rgba(0, 0, 0, .82); transform: translateX(-50%);
}
.phone__status {
  position: absolute; z-index: 2; inset: 0 0 auto 0; height: 13.6cqw;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7.6cqw 0 13.5cqw;
  font: 600 4cqw/1 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: #0b0c0e; letter-spacing: -.01em;
}
.phone__status .sb {
  width: 18.5cqw; height: 3.4cqw; display: block;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 14'%3E%3Cg fill='%230b0c0e'%3E%3Crect x='0' y='9' width='3' height='4' rx='.8'/%3E%3Crect x='4.6' y='6.5' width='3' height='6.5' rx='.8'/%3E%3Crect x='9.2' y='4' width='3' height='9' rx='.8'/%3E%3Crect x='13.8' y='1.5' width='3' height='11.5' rx='.8'/%3E%3Cpath d='M30 3.2a10 10 0 0 1 7.1 2.9l1.2-1.2A11.7 11.7 0 0 0 30 1.5a11.7 11.7 0 0 0-8.3 3.4l1.2 1.2A10 10 0 0 1 30 3.2zm0 3.5a6.6 6.6 0 0 1 4.6 1.9l1.2-1.2a8.3 8.3 0 0 0-11.6 0l1.2 1.2A6.6 6.6 0 0 1 30 6.7zm0 3.5a3.1 3.1 0 0 1 2.2.9L30 13.3l-2.2-2.2a3.1 3.1 0 0 1 2.2-.9z'/%3E%3Crect x='48' y='1.5' width='24' height='11.5' rx='3.4' fill='none' stroke='%230b0c0e' stroke-opacity='.4'/%3E%3Crect x='49.8' y='3.3' width='20.4' height='7.9' rx='2'/%3E%3Cpath d='M73.6 5.2v4.1a2 2 0 0 0 0-4.1z' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================================================
   PORTFOLIO — 端末の両脇に注釈（Apple の製品写真の注記の作法）
   ========================================================================== */
.portfolio { background: var(--paper-2); }
.annotated { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(28px, 4.5vw, 72px); }
.phone--xl { --w: clamp(260px, 27vw, 340px); }
.callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 9vw, 120px); }
.callouts li { position: relative; display: grid; gap: 6px; }
.callouts__k { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.callouts__v { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.callouts--left { text-align: right; }
.callouts--left li::after, .callouts--right li::before {
  content: ""; position: absolute; top: 14px; width: clamp(16px, 3.5vw, 56px); height: 1px; background: var(--ink);
}
.callouts--left li::after { right: calc(-1 * clamp(24px, 4vw, 64px)); }
.callouts--right li::before { left: calc(-1 * clamp(24px, 4vw, 64px)); }
.annotated .callouts li { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.annotated.is-in .callouts li { opacity: 1; transform: none; }
.annotated.is-in .callouts li:nth-child(2) { transition-delay: .15s; }
.annotated.is-in .callouts--right li { transition-delay: .3s; }
.annotated.is-in .callouts--right li:nth-child(2) { transition-delay: .45s; }
@media (max-width: 900px) {
  .annotated { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .annotated .phone { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin-bottom: 48px; }
  .callouts { gap: 0; }
  .callouts--left { text-align: left; }
  .callouts li { padding: 18px 0; border-top: 1px solid var(--line-2); }
  .callouts--left li::after, .callouts--right li::before { display: none; }
}
@media (max-width: 520px) {
  .annotated { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RANGE — 幅（参考レンジ）を線と面で
   ========================================================================== */
.range__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.bands { display: grid; gap: 40px; }
.band__head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 16px; }
.band__grade { font-family: var(--font-num); font-size: 44px; font-weight: 700; line-height: 1; width: 1.1em; }
.band__label { font-size: 17px; font-weight: 600; color: var(--ink); }
.band__pct { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.band__track { position: relative; height: 34px; margin-top: 10px; }
.band__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.band__fill {
  position: absolute; top: 5px; bottom: 5px; left: 50%;
  width: calc(var(--spread) * 88%);
  border-radius: 99px;
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  transition: transform 1.3s var(--ease);
}
.band[data-grade="A"] .band__fill { background: var(--accent-soft); }
.band[data-grade="B"] .band__fill { background: var(--gold-soft); }
.band[data-grade="C"] .band__fill { background: var(--red-soft); }
.band__point { position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper); transform: translate(-50%, -50%); }
.bands.is-in .band__fill { transform: translateX(-50%) scaleX(1); }
.bands.is-in .band:nth-child(2) .band__fill { transition-delay: .15s; }
.bands.is-in .band:nth-child(3) .band__fill { transition-delay: .3s; }
@media (max-width: 900px) { .range__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   HISTORY — アプリのグラフと同じ作法（帯・線・白抜き点・灰点）
   ========================================================================== */
.history { background: var(--paper-2); }
.chart { margin: 0; }
.chart__svg { display: block; width: 100%; height: clamp(240px, 38vw, 430px); overflow: visible; }
.chart__grid path { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 5; }
.chart__band { opacity: 0; transition: opacity 1s var(--ease) .2s; }
.chart__comps { fill: none; stroke: #9aa5b1; stroke-width: 12; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .8s var(--ease) 1.2s; }
.chart__draw { clip-path: inset(-20px 100% -20px -20px); transition: clip-path 2.2s var(--ease) .3s; }
.chart__line { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__pt { fill: none; stroke: var(--accent); stroke-width: 15; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__pt--back-in { stroke: var(--paper-2); stroke-width: 9; }
.chart__pt--now { stroke-width: 20; }
.chart.is-in .chart__band, .chart.is-in .chart__comps { opacity: 1; }
.chart.is-in .chart__draw { clip-path: inset(-20px -20px -20px -20px); }
.chart__axis { display: flex; justify-content: space-between; padding: 14px 1% 0 0; font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; font-size: 15px; color: var(--ink-2); }
.legend__i { display: inline-flex; align-items: center; gap: 10px; }
.k { display: inline-block; flex: none; }
.k--line { width: 22px; height: 3px; border-radius: 3px; background: var(--accent); }
.k--back { width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--accent); background: var(--paper-2); }
.k--comp { width: 12px; height: 12px; border-radius: 50%; background: #9aa5b1; }
.k--band { width: 22px; height: 12px; border-radius: 3px; background: var(--accent-soft); }

/* ==========================================================================
   TOUR — 端末を止めて、右の文章に合わせて画面を差し替える
   ========================================================================== */
.tour__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); }
.tour__device { position: sticky; top: calc(var(--nav-h) + max(24px, (100vh - var(--nav-h) - 700px) / 2)); align-self: start; display: flex; justify-content: center; }
.phone--lg { --w: clamp(260px, 25vw, 320px); }
.phone--lg .phone__screen img { opacity: 0; transition: opacity .6s var(--ease); }
.phone--lg .phone__screen img.is-on { opacity: 1; }
.tour__steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; opacity: .28; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__no { font-family: var(--font-num); font-size: 15px; font-weight: 700; color: var(--accent-ink); letter-spacing: .08em; }
.step__title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; margin-top: 10px; }
.step .body { max-width: 28em; }
.phone--inline { display: none; }
@media (max-width: 860px) {
  .tour__grid { grid-template-columns: 1fr; }
  .tour__device { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 0 88px; }
  .step:last-child { padding-bottom: 0; }
  .phone--inline { display: block; --w: min(72vw, 300px); margin: 40px auto 0; }
}

/* ==========================================================================
   NIGHT — 通知とウィジェット
   ========================================================================== */
.night { background: var(--night); color: var(--night-ink); position: relative; overflow: clip; }
.night .lead { color: var(--night-ink-2); }
.body--night { color: var(--night-ink-2); }
.fine--night { color: #93a1b1; }
.lock { display: grid; justify-items: center; gap: clamp(28px, 4vw, 44px); }
.lock__time { display: grid; justify-items: center; line-height: 1; }
.lock__date { font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; color: #c9d3de; }
.lock__clock { font-family: var(--font-num); font-size: clamp(96px, 15vw, 188px); font-weight: 700; letter-spacing: -.04em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.notice {
  width: min(100%, 440px);
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 14px 16px 15px;
  border-radius: 22px;
  background: rgba(58, 66, 78, .58);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  text-align: left;
  opacity: 0; transform: translateY(-18px) scale(.97);
  transition: opacity .8s var(--ease) .2s, transform .8s var(--ease) .2s;
}
.lock.is-in .notice { opacity: 1; transform: none; }
.notice__icon { border-radius: 9px; }
.notice__top { display: flex; justify-content: space-between; font-size: 13px; color: #c3cdd8; }
.notice__top b { font-weight: 600; color: #e7ecf2; }
.notice__title { font-size: 15.5px; font-weight: 700; margin-top: 2px; line-height: 1.45; }
.notice__text { font-size: 15.5px; line-height: 1.5; color: #e2e8ef; }

.widgets { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; margin-top: clamp(96px, 12vw, 160px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--night-line); }
.widgets__row { display: flex; gap: clamp(16px, 2vw, 24px); justify-content: flex-end; flex-wrap: wrap; }
.widget {
  --r: 24px;
  background: #1c1f24; color: #f5f7fa;
  border-radius: var(--r);
  padding: 16px 16px 14px;
  display: flex; flex-direction: column;
  font-family: var(--font);
}
.widget--s { width: 172px; height: 172px; }
.widget--m { width: 364px; height: 172px; flex-direction: row; gap: 14px; }
.widget__col { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.widget__label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #aeb7c2; line-height: 1.3; }
.widget__label i { width: 7px; height: 7px; border-radius: 50%; background: #5b92ee; }
.widget__value { margin-top: 6px; line-height: 1.1; white-space: nowrap; }
.widget__value span { font-family: var(--font-num); font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.widget__value small { font-size: 11px; font-weight: 600; color: #c7cfd9; margin-left: 2px; }
.widget__delta { font-size: 11.5px; font-weight: 600; color: #34c77b; margin-top: 4px; white-space: nowrap; }
.widget__spark { width: 100%; height: 34px; margin-top: auto; overflow: visible; }
.widget__spark path { fill: none; stroke: #5b92ee; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.widget__spark--m { width: 42%; height: auto; align-self: stretch; margin: 6px 0 4px; }
.widget__spark--m .fill { fill: rgba(91, 146, 238, .18); stroke: none; }
.widget__foot { font-size: 11px; color: #9ba6b2; margin-top: 8px; white-space: nowrap; }
.widget--m .widget__foot { margin-top: auto; }
.widgets .widget { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.widgets.is-in .widget { opacity: 1; transform: none; }
.widgets.is-in .widget--m { transition-delay: .15s; }
@media (max-width: 900px) {
  .widgets { grid-template-columns: 1fr; }
  .widgets__row { justify-content: center; }
}
@media (max-width: 560px) {
  .widget--m { width: 100%; max-width: 364px; }
}

/* ==========================================================================
   MORE — 囲まずに罫で並べる
   ========================================================================== */
.more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); margin: clamp(40px, 6vw, 72px) 0 0; }
.more__list > div { padding: 28px 0 40px; border-top: 1px solid var(--ink); }
.more__list dt { font-size: 19px; font-weight: 700; line-height: 1.45; }
.more__list dd { margin: 10px 0 0; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 900px) { .more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more__list { grid-template-columns: 1fr; } .more__list > div { padding: 22px 0 28px; } }

/* ==========================================================================
   DATA — 仕様表の作法
   ========================================================================== */
.data { background: var(--paper-2); }
.data__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { font-size: 15px; font-weight: 700; color: var(--ink); padding-top: 1px; }
.spec dd { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 900px) { .data__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .spec > div { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list { margin-top: 40px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 19px; font-weight: 700; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 26px; font-size: 17px; line-height: 1.85; color: var(--ink-2); max-width: 40em; }

/* ==========================================================================
   FINAL / FOOTER
   ========================================================================== */
.final { background: var(--paper); }
.final__icon { width: 112px; height: 112px; border-radius: 25px; margin-bottom: 36px; box-shadow: 0 0 0 1px rgba(17, 26, 36, .08); }
.store--center, .soon-note--center { justify-content: center; }

.foot { background: var(--paper-2); padding: 64px 0 40px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }
.foot a { color: var(--ink-2); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.foot__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.foot__brand img { border-radius: 8px; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__notes { padding: 24px 0; display: grid; gap: 8px; line-height: 1.75; border-bottom: 1px solid var(--line-2); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; }

/* ---------- 汎用の出現（控えめに・一度だけ） ---------- */
[data-reveal] { }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .map { transition: none; }
  .map__ring, .soon-note__dot { animation: none; }
  .pin-label, .notice, .widgets .widget, .annotated .callouts li, .chart__band, .chart__comps, .step { transition: none; }
  .band__fill { transition: none; transform: translateX(-50%) scaleX(1); }
  .chart__draw { transition: none; clip-path: none; }
}
