/* ==========================================================================
   日照チェッカー — site.css
   デザイントークン: 陽(hi) / 影(kage) / 空(sora) / 紙(paper) / 墨(ink)
   コンセプト「光と影」: 光=暖白と太陽色、影=濃紺。フレームワーク非依存。
   ========================================================================== */

:root {
  /* 紙 — 光の当たる白 */
  --paper: #FDFCF8;
  --paper-2: #F6F3EA;
  /* 空 — 昼の空気 */
  --sora: #EEF4FB;
  --sora-2: #E3ECF7;
  /* 影 — 建物が落とす濃紺 */
  --kage-950: #0B1424;
  --kage-900: #111C30;
  --kage-700: #1E3354;
  --kage-100: #D9E2F0;
  /* 墨 — テキスト */
  --ink: #1B2436;
  --ink-2: #4C5970;
  --ink-3: #7E899E;
  /* 陽 — 太陽 */
  --hi: #F58A00;
  --hi-strong: #DE7A00;
  --hi-soft: #FFF1DC;
  --asahi: #FFC24D;
  --yuhi: #E8641B;

  --card: #FFFFFF;
  --line: #E6E2D6;
  --line-strong: #D5D0C0;

  --font-display: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Inter", system-ui, sans-serif;
  --font-num: "Inter", "Noto Sans JP", system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-1: 0 1px 2px rgba(17, 28, 48, .06), 0 4px 16px rgba(17, 28, 48, .07);
  --shadow-2: 0 2px 6px rgba(17, 28, 48, .08), 0 18px 44px rgba(17, 28, 48, .14);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --container: 1120px;
}

html[lang="en"] {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0C1422;
    --paper-2: #0F1929;
    --sora: #101D31;
    --sora-2: #142440;
    --kage-950: #070D18;
    --kage-900: #0B1424;
    --kage-100: #23375A;
    --ink: #EAF0F8;
    --ink-2: #B9C4d6;
    --ink-3: #8494AC;
    --hi: #FFA033;
    --hi-strong: #FFB259;
    --hi-soft: #2B1E0B;
    --card: #14203A;
    --line: #223354;
    --line-strong: #2C4066;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .35);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, .5), 0 18px 44px rgba(0, 0, 0, .5);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-feature-settings: "palt";
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  overflow-x: hidden;
  /* 日本語の禁則。既定の line-break: auto は小書き仮名と長音符を行頭に置けるため
     「日照チェッカ / ーは」のように割れる。strict は継承するのでここで一括指定する */
  line-break: strict;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; height: auto; display: block; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid var(--hi); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--kage-900); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.brand svg { width: 26px; height: 26px; color: var(--hi); }
.header-nav { display: none; gap: 28px; }
.header-nav a { text-decoration: none; font-size: .92rem; color: var(--ink-2); transition: color .2s; }
.header-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-link { text-decoration: none; font-size: .85rem; font-family: var(--font-num); letter-spacing: .06em; color: var(--ink-2); }
.lang-link:hover { color: var(--ink); }
.btn-header {
  display: inline-block; background: var(--ink); color: var(--paper);
  text-decoration: none; font-size: .88rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; transition: transform .2s var(--ease), background .2s;
}
.btn-header:hover { background: var(--kage-700); transform: translateY(-1px); }
@media (min-width: 880px) { .header-nav { display: flex; } }

/* ---------- Buttons ---------- */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 14px 26px; border-radius: 14px;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-store .store-label { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.btn-store .store-label small { font-size: .68rem; opacity: .8; font-weight: 400; }
.btn-store .store-label span { font-size: 1.02rem; font-weight: 700; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 14px; text-decoration: none;
  border: 1.5px solid var(--line-strong); color: var(--ink-2);
  font-weight: 600; font-size: .95rem;
  transition: border-color .2s, color .2s, transform .25s var(--ease);
}
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 0;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sora) 0%, var(--paper) 68%);
}

/* 太陽の弧 — signature */
.hero-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sun-orbit {
  position: absolute; left: 50%; bottom: -880px;
  width: 1760px; height: 1760px; margin-left: -880px;
  animation: orbit 44s var(--ease) infinite alternate;
  transform: rotate(-52deg);
}
.sun {
  position: absolute; top: -26px; left: 50%; margin-left: -34px;
  width: 68px; height: 68px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #FFE3AE 0%, var(--asahi) 42%, var(--hi) 78%);
  box-shadow: 0 0 44px 16px color-mix(in srgb, var(--asahi) 46%, transparent),
              0 0 140px 60px color-mix(in srgb, var(--hi) 18%, transparent);
}
@keyframes orbit {
  from { transform: rotate(-52deg); }
  to   { transform: rotate(52deg); }
}
/* 街のシルエットと、太陽と逆に振れる影 */
.skyline { position: absolute; left: 0; right: 0; bottom: 0; color: var(--kage-900); opacity: .16; }
.skyline svg { width: 100%; height: 120px; display: block; }
.skyline-shadow {
  position: absolute; left: 0; right: 0; bottom: 0; color: var(--kage-900); opacity: .07;
  transform-origin: 50% 100%;
  animation: shadow-swing 44s var(--ease) infinite alternate;
  transform: scaleY(-.6) skewX(34deg);
}
.skyline-shadow svg { width: 100%; height: 120px; display: block; }
@keyframes shadow-swing {
  from { transform: scaleY(-.6) skewX(34deg); }
  50%  { transform: scaleY(-.28) skewX(0deg); }
  to   { transform: scaleY(-.6) skewX(-34deg); }
}

.hero-watermark {
  position: absolute; top: 4%; right: -3%;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(240px, 36vw, 520px); line-height: 1;
  color: var(--kage-900); opacity: .045; user-select: none; pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  .hero-watermark { color: #fff; opacity: .04; }
  .skyline { opacity: .5; }
}

.hero-inner {
  position: relative; display: grid; gap: 56px; align-items: center;
  padding-bottom: 120px;
}
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.15fr .85fr; } }

.eyebrow-vert {
  display: none; position: absolute; left: -64px; top: 10px;
  writing-mode: vertical-rl; letter-spacing: .32em;
  font-family: var(--font-display); font-size: .85rem; color: var(--ink-3);
}
@media (min-width: 1280px) { .eyebrow-vert { display: block; } }

.hero-copy { position: relative; }
.section-label {
  display: inline-block; font-family: var(--font-num);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--hi-strong); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 700; line-height: 1.4; letter-spacing: .01em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--hi-strong); }
.hero-lead {
  margin-top: 26px; font-size: 1.06rem; color: var(--ink-2); max-width: 34em;
  text-wrap: pretty;
}
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: .78rem; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
  background: color-mix(in srgb, var(--card) 60%, transparent);
}

/* 実計算ライブティッカー */
.sun-now {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-num); font-size: .84rem; font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  border-left: 3px solid var(--hi); padding: 4px 0 4px 14px;
}
.sun-now .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--hi);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* iPhone フレーム(実スクリーンショットを表示) */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(310px, 78vw); aspect-ratio: 1320 / 2868;
  border-radius: 46px; background: var(--kage-950);
  padding: 9px; box-shadow: var(--shadow-2);
  transform: rotate(1.6deg);
  transition: transform .5s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 38px; display: block;
}
.visual-note { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--ink-3); }

/* ---------- 画面ギャラリー ---------- */
.screens-scroll {
  display: flex; gap: 22px; overflow-x: auto;
  padding: 8px 4px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screens-scroll > :first-child { margin-left: auto; }
.screens-scroll > :last-child { margin-right: auto; }
.screen-card { flex: none; width: 228px; margin: 0; scroll-snap-align: center; }
.screen-card .phone-mini {
  border-radius: 32px; background: var(--kage-950); padding: 7px;
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.screen-card:hover .phone-mini { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.screen-card .phone-mini img { width: 100%; height: auto; border-radius: 26px; display: block; }
.screen-card figcaption { margin-top: 12px; text-align: center; font-size: .82rem; color: var(--ink-3); display: grid; gap: 2px; }
.screen-card figcaption strong { color: var(--ink); font-size: .92rem; font-weight: 700; }

/* ---------- 共通セクション ---------- */
.section { padding: 110px 0; position: relative; }
.section-sora { background: var(--sora); }
.section-kage { background: var(--kage-900); color: #EAF0F8; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.5; text-wrap: balance;
}
.section-head .lede { margin-top: 16px; color: var(--ink-2); font-size: 1rem; }
.section-kage .section-head .lede { color: #B9C6DC; }
.section-kage .section-label { color: var(--asahi); }

/* ---------- Numbers ---------- */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
@media (min-width: 880px) { .numbers-grid { grid-template-columns: repeat(4, 1fr); } }
.num-item { text-align: center; }
.num-item .num {
  font-family: var(--font-num); font-weight: 800; font-variant-numeric: tabular-nums;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.1; color: var(--ink);
}
.num-item .num em { font-style: normal; font-size: .45em; font-weight: 700; color: var(--hi-strong); margin-left: 2px; }
.num-item .num-label { margin-top: 8px; font-size: .84rem; color: var(--ink-2); }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; padding: 150px 0; }
.manifesto p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.8vw, 2.4rem); line-height: 2.1; letter-spacing: .02em;
  text-wrap: balance;
}
.manifesto .accent { color: var(--hi-strong); }
.manifesto .manifesto-note { margin-top: 34px; font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--ink-3); line-height: 1.9; }

/* ---------- Pain points ---------- */
.pains-grid { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
@media (min-width: 720px) { .pains-grid { grid-template-columns: 1fr 1fr; } }
.pain {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 26px 28px; font-size: 1rem; color: var(--ink-2);
  font-family: var(--font-display); line-height: 1.9;
  box-shadow: var(--shadow-1);
}
.pain::before { content: "「"; color: var(--hi); font-weight: 700; }
.pain::after { content: "」"; color: var(--hi); font-weight: 700; }

/* ---------- Moments ---------- */
.moment-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .moment-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .moment-grid.flip .moment-copy { order: 2; }
  .moment-grid.flip .moment-visual { order: 1; }
}
.moment-copy h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.5;
}
.moment-copy .moment-body { margin-top: 20px; color: var(--ink-2); }
.section-kage .moment-copy .moment-body { color: #B9C6DC; }
.moment-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.moment-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.moment-list li::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--hi); margin-top: .62em;
}
.moment-list li .pro-tag {
  flex: none; font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  color: var(--hi-strong); border: 1px solid currentColor; border-radius: 999px;
  padding: 1px 8px; margin-top: .35em;
}

/* Moment 視覚: ステップチップ */
.steps { display: grid; gap: 14px; }
.step {
  display: flex; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 18px 22px; box-shadow: var(--shadow-1);
}
.step .step-n {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--hi-soft); color: var(--hi-strong);
  font-family: var(--font-num); font-weight: 800; font-size: 1.05rem;
}
.step p strong { display: block; font-size: .98rem; color: var(--ink); }
.step p span { font-size: .84rem; color: var(--ink-3); }

/* Moment 視覚: レイキャスト図 */
.ray-diagram {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 22px; box-shadow: var(--shadow-1);
}
.ray-diagram svg { width: 100%; height: auto; }
.ray-diagram figcaption { font-size: .78rem; color: var(--ink-3); margin-top: 12px; text-align: center; }

/* Moment 視覚: on-device */
.device-card {
  border: 1px solid var(--kage-700); border-radius: var(--radius-l);
  background: var(--kage-950); padding: 34px 30px; text-align: center;
}
.device-card .device-flow {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--font-num); font-size: .82rem; color: #B9C6DC; flex-wrap: wrap;
}
.device-flow .node {
  border: 1px solid var(--kage-700); border-radius: 12px; padding: 12px 18px;
  display: grid; gap: 4px; justify-items: center;
}
.device-flow .node strong { color: #fff; font-size: .95rem; }
.device-flow .barrier { color: var(--asahi); font-weight: 700; font-size: 1.2rem; }
.device-card .device-note { margin-top: 20px; font-size: .85rem; color: #8FA1BE; }

/* ---------- 事例集 ---------- */
.case-cat { margin-bottom: 40px; }
.case-cat-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.02rem; font-weight: 700; color: var(--hi-strong); margin-bottom: 18px;
}
.case-cat-title svg { width: 20px; height: 20px; }
.case {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
  margin-bottom: 14px; box-shadow: var(--shadow-1); overflow: hidden;
}
.case summary {
  padding: 22px 56px 22px 26px; cursor: pointer; position: relative;
  transition: background .2s;
}
.case summary:hover { background: color-mix(in srgb, var(--hi-soft) 40%, transparent); }
.case summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.case[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.case summary .case-q { font-weight: 700; font-size: 1.04rem; }
.case summary .case-loc { color: var(--ink-3); font-size: .86rem; margin-left: 8px; }
.case-body { padding: 4px 26px 26px; border-top: 1px solid var(--line); }
.case-verdict {
  background: var(--hi-soft); border-left: 4px solid var(--hi);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 14px 18px; margin: 20px 0; font-size: .9rem; color: var(--ink);
}
.case-body h4 { font-size: .95rem; margin: 22px 0 8px; }
.case-body p, .case-body td, .case-body th { font-size: .9rem; color: var(--ink-2); }
.case-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.case-table th, .case-table td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.case-table th { background: var(--paper-2); font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* ---------- ユースケース ---------- */
.usecase-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .usecase-grid { grid-template-columns: repeat(4, 1fr); } }
.usecase {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 30px 26px; box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.usecase .uc-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--hi-soft); color: var(--hi-strong); margin-bottom: 18px;
}
.usecase .uc-icon svg { width: 24px; height: 24px; }
.usecase h3 { font-size: 1.08rem; margin-bottom: 10px; }
.usecase p { font-size: .89rem; color: var(--ink-2); }

/* ---------- 知識 / 技術 ---------- */
.knowledge-list { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.knowledge-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 30px 32px; box-shadow: var(--shadow-1);
}
.knowledge-item h3 { font-size: 1.12rem; margin-bottom: 12px; font-family: var(--font-display); }
.knowledge-item p, .knowledge-item li { font-size: .93rem; color: var(--ink-2); }
.knowledge-item ul { margin: 12px 0 0; padding-left: 1.3em; }
.knowledge-item li { margin-bottom: 6px; }
.knowledge-item strong { color: var(--ink); }
.knowledge-item h3 a { text-decoration: none; }
.knowledge-item h3 a:hover { color: var(--hi-strong); }
.knowledge-more { text-align: center; margin-top: 32px; }

.tech-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
.tech-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 28px 28px; box-shadow: var(--shadow-1);
}
.tech-card .tc-num {
  font-family: var(--font-num); font-size: .74rem; letter-spacing: .2em;
  color: var(--hi-strong); display: block; margin-bottom: 12px;
}
.tech-card h3 { font-size: 1.06rem; margin-bottom: 10px; }
.tech-card p { font-size: .89rem; color: var(--ink-2); }
.credit-box {
  margin-top: 36px; padding: 20px 24px;
  border-left: 4px solid var(--hi); background: var(--card);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: .85rem; color: var(--ink-2);
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 24px; max-width: 880px; margin: 0 auto; }
@media (min-width: 780px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 38px 34px; box-shadow: var(--shadow-1); position: relative;
}
.plan.plan-pro { border-color: var(--hi); border-width: 2px; }
.plan .plan-badge {
  position: absolute; top: -14px; right: 26px;
  background: var(--hi); color: #fff; font-size: .74rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .06em;
}
.plan h3 { font-size: 1.06rem; color: var(--ink-2); font-weight: 600; }
.plan .plan-price {
  font-family: var(--font-num); font-weight: 800; font-size: 2.6rem;
  margin-top: 8px; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.plan .plan-price small { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.plan .plan-alt { font-size: .85rem; color: var(--ink-3); margin-top: 4px; }
.plan ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.plan li svg { flex: none; width: 20px; height: 20px; color: var(--hi); margin-top: .18em; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
  margin-bottom: 14px; box-shadow: var(--shadow-1); overflow: hidden;
}
.faq-item summary {
  padding: 22px 56px 22px 26px; cursor: pointer; font-weight: 700; font-size: 1rem;
  position: relative; transition: background .2s;
}
.faq-item summary:hover { background: color-mix(in srgb, var(--hi-soft) 40%, transparent); }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item .faq-a { padding: 0 26px 24px; font-size: .93rem; color: var(--ink-2); }

/* ---------- 最終CTA ---------- */
.cta-final { text-align: center; overflow: hidden; position: relative; }
.cta-final h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.6; color: #fff;
}
.cta-final .cta-lede { margin-top: 18px; color: #B9C6DC; }
.cta-final .hero-cta { justify-content: center; }
.cta-final .btn-store { background: var(--hi); color: #1A1204; }
.cta-final .btn-store:hover { background: var(--asahi); }
.cta-final .cta-sun {
  position: absolute; left: 50%; bottom: -160px; transform: translateX(-50%);
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hi) 34%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--kage-950); color: #93A4C0; padding: 72px 0 40px; font-size: .88rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 48px; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.02rem; margin-bottom: 14px; }
.footer-brand svg { width: 22px; height: 22px; color: var(--hi); }
.site-footer h3 { color: #C7D3E6; font-size: .92rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #93A4C0; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--kage-700); padding-top: 28px; text-align: center; font-size: .8rem; color: #6D7F9E; }
.footer-bottom p { margin-bottom: 6px; }

/* ---------- 法務ページ(privacy / terms) ---------- */
.legal-main { max-width: 820px; margin: 0 auto; padding: 130px 24px 80px; }
.legal-main h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.5; }
.legal-date { color: var(--ink-3); font-size: .87rem; margin: 12px 0 40px; }
.legal-body {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(28px, 5vw, 54px); box-shadow: var(--shadow-1);
  display: grid; gap: 40px;
}
.legal-body h2 { font-size: 1.22rem; margin-bottom: 12px; }
.legal-body h3 { font-size: 1rem; margin: 20px 0 8px; }
.legal-body p { color: var(--ink-2); font-size: .93rem; margin-bottom: 10px; }
.legal-body ul { margin: 8px 0 12px; padding-left: 1.4em; color: var(--ink-2); font-size: .93rem; display: grid; gap: 6px; }
.legal-contact { border-top: 1px solid var(--line); padding-top: 34px; }
.legal-back { text-align: center; margin-top: 44px; }

/* ---------- Section dots ---------- */
.section-dots {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: none; flex-direction: column; gap: 14px;
}
@media (min-width: 1280px) { .section-dots { display: flex; } }
.section-dots a {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-3); opacity: .4; position: relative;
  transition: opacity .25s, background .25s, transform .25s;
}
.section-dots a.is-active { background: var(--hi); opacity: 1; transform: scale(1.35); }
.section-dots a .dot-label {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: .74rem; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 10px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.section-dots a:hover .dot-label { opacity: 1; }

/* ---------- Reveal ----------
   .js ガード: JS 無効環境では最初からすべて表示(プログレッシブエンハンスメント) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .sun-orbit { animation: none; transform: rotate(0deg); }
  .skyline-shadow { animation: none; transform: scaleY(-.28) skewX(0); }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}
