/* Capy Scan のサイト。スクリプトは使わない。色はアプリと docs/brand.md に合わせる */
:root {
  --paper: #fbf8f2;
  --paper-2: #f4eee4;
  --card: #ffffff;
  --ink: #2a221d;
  --muted: #6e645b;
  --line: rgba(60, 40, 25, .12);
  --mint: #3fa37e;
  --mint-ink: #2a8462;
  --mint-btn: #2a8462;
  --mint-soft: #e3f1ea;
  --mint-wash: #eef7f2;
  --capy: #a87150;
  --capy-dark: #8a5a3c;
  --capy-soft: #f3e7dc;
  --shadow: 0 1px 2px rgba(60, 40, 25, .06), 0 12px 32px -12px rgba(60, 40, 25, .18);
  --shadow-lg: 0 2px 4px rgba(60, 40, 25, .06), 0 40px 80px -30px rgba(40, 30, 20, .35);
  --round: ui-rounded, "Hiragino Maru Gothic ProN", "SF Pro Rounded", "Zen Maru Gothic", "Arial Rounded MT Bold", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161311;
    --paper-2: #1e1a17;
    --card: #231f1b;
    --ink: #f3ede6;
    --muted: #b0a59a;
    --line: rgba(255, 240, 225, .1);
    --mint-ink: #5cc39a;
    --mint-btn: #2f9470;
    --mint-soft: #1c2f27;
    --mint-wash: #18241f;
    --capy-soft: #2c231d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:lang(en) { --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
:root[data-theme="dark"] {
  --paper: #161311; --paper-2: #1e1a17; --card: #231f1b; --ink: #f3ede6; --muted: #b0a59a;
  --line: rgba(255, 240, 225, .1); --mint-ink: #5cc39a; --mint-btn: #2f9470; --mint-soft: #1c2f27;
  --mint-wash: #18241f; --capy-soft: #2c231d; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: "palt" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-ink); }
h1, h2, h3 { font-family: var(--round); font-weight: 700; letter-spacing: .01em; margin: 0; }
h1, h2, h3, .lead, .chip b { word-break: auto-phrase; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ── 上の帯 ───────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--round); font-weight: 700; font-size: 18px; }
.logo img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 14px; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav .lang { border: 1px solid var(--line); }
.site-nav .get { background: var(--ink); color: var(--paper); font-weight: 600; margin-left: 6px; }
.site-nav .get:hover { background: var(--ink); color: var(--paper); opacity: .85; }
@media (max-width: 760px) {
  .site-nav .hide-s { display: none; }
  .site-header .wrap { gap: 8px; }
}

/* ── ボタン ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 16px; border-radius: 999px; padding: 14px 24px; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mint-btn); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--mint) 80%, transparent); }
.btn-ghost { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.btn svg { width: 18px; height: 18px; flex: none; }
.badge-link { display: inline-block; border-radius: 10px; transition: transform .2s ease; }
.badge-link:hover { transform: translateY(-1px); }
.badge-link img { height: 52px; width: auto; }
.badge-link .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge-link .on-light { display: none; }
  :root:not([data-theme="light"]) .badge-link .on-dark { display: block; }
}
.soon {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 18px 10px 14px;
  background: var(--ink); color: var(--paper); line-height: 1.25;
}
.soon svg { width: 26px; height: 26px; }
.soon small { display: block; font-size: 11px; opacity: .75; letter-spacing: .04em; }
.soon b { font-size: 17px; font-family: var(--round); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta-note { font-size: 13px; color: var(--muted); }

/* ── 小さな部品 ───────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--mint-ink); letter-spacing: .06em; margin-bottom: 14px;
}
.pill {
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; letter-spacing: .02em;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.accent { color: var(--mint-ink); }
.dim { color: var(--muted); }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1;
  padding: 5px 8px; border-radius: 6px; background: var(--capy-soft); color: var(--capy-dark);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag { color: #e2b896; } }
.pro { background: var(--mint-soft); color: var(--mint-ink); }

/* ── iPhone の枠 ──────────────────── */
.phone {
  position: relative; width: 300px; aspect-ratio: 1320 / 2868; flex: none;
  border-radius: 50px; padding: 11px; background: linear-gradient(145deg, #3a3633, #121110 40%, #2a2724);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.12), inset 0 0 0 5px #0b0a09;
}
.phone::after { /* ダイナミックアイランド */
  content: ""; position: absolute; top: 22px; left: 50%; width: 31%; height: 3.3%; translate: -50% 0;
  border-radius: 999px; background: #000; z-index: 2;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #000; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone.sm { width: 240px; border-radius: 40px; padding: 9px; }
.phone.sm::after { top: 18px; }
.phone.sm .screen { border-radius: 32px; }

/* ── ヒーロー ─────────────────────── */
.hero { position: relative; padding: 56px 0 40px; isolation: isolate; overflow-x: clip; }
.hero::before { /* 紙の目 */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(color-mix(in srgb, var(--capy) 22%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.2; letter-spacing: .005em; margin-bottom: 22px; }
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent::after { /* 蛍光ペン */
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--mint-soft); border-radius: 4px; transform: skewX(-8deg);
}
.hero .lead { font-size: 18px; color: var(--muted); max-width: 33em; margin-bottom: 30px; }
.hero .cta-note { margin-top: 14px; }

.stage { position: relative; height: 640px; display: grid; place-items: center; }
.stage .blob {
  position: absolute; inset: 6% 2% 4% 8%; z-index: -1; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--mint) 30%, transparent), transparent 62%),
              radial-gradient(circle at 75% 75%, color-mix(in srgb, var(--capy) 22%, transparent), transparent 60%);
  filter: blur(8px);
}
.stage .phone.main { z-index: 2; rotate: 3deg; }
.stage .phone.back { position: absolute; left: 0; top: 60px; rotate: -8deg; z-index: 1; opacity: .96; }
.scanline { /* 撮影画面をなぞる光 */
  position: absolute; left: 6%; right: 6%; height: 2px; top: 22%; z-index: 3;
  background: linear-gradient(90deg, transparent, #7ff0c1, transparent);
  box-shadow: 0 0 18px 4px rgba(90, 230, 170, .45);
  animation: scan 4.2s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes scan { 0% { top: 20%; opacity: 0; } 12% { opacity: 1; } 50% { top: 72%; opacity: 1; } 62%, 100% { top: 72%; opacity: 0; } }

.chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: var(--card); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.35; white-space: nowrap; animation: float 7s ease-in-out infinite;
}
.chip b { display: block; font-size: 14px; }
.chip span { color: var(--muted); }
.chip .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--mint-soft); color: var(--mint-ink); }
.chip .ico svg { width: 20px; height: 20px; }
.chip.file { right: -6px; top: 84px; }
.chip.search { left: -10px; bottom: 150px; animation-delay: -2.5s; }
.chip.search mark { background: #ffe58a; color: #2a221d; border-radius: 3px; padding: 0 2px; }
.chip.local { right: 46%; bottom: 18px; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.stage .capy-peek { position: absolute; right: -2%; bottom: 40px; width: 168px; z-index: 3; rotate: 6deg; animation: breathe 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes breathe { 0%, 100% { scale: 1 1; } 50% { scale: 1.015 .985; } }

/* ── 約束の帯 ─────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--card); }
.strip ul { list-style: none; margin: 0 auto; padding: 18px 24px; max-width: var(--wrap); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-weight: 600; font-size: 15px; }
.strip li { display: flex; align-items: center; gap: 8px; }
.strip li svg { width: 18px; height: 18px; color: var(--mint); }

/* ── 節 ───────────────────────────── */
section { padding: 112px 0; }
section.tint { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.28; margin-bottom: 18px; }
.section-head .lead { font-size: 17px; color: var(--muted); }

/* なぜ */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why article { background: var(--card); border-radius: 24px; padding: 30px 28px; box-shadow: var(--shadow); }
.why .before { font-size: 13px; color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--capy) 70%, transparent); text-decoration-thickness: 2px; }
.why h3 { font-size: 22px; margin: 10px 0 10px; }
.why p { color: var(--muted); font-size: 15px; }
.why .big { font-family: var(--round); font-size: 48px; line-height: 1; color: var(--mint-ink); margin: 18px 0 6px; font-weight: 700; }

/* 流れ（撮る・整える・探す・守る） */
.flow { display: grid; gap: 120px; }
.flow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.flow-row:nth-child(even) .flow-art { order: -1; }
.flow-copy .step { font-family: var(--round); font-size: 15px; font-weight: 700; color: var(--capy); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.flow-copy .step i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--capy-soft); color: var(--capy-dark); font-size: 14px; }
.flow-copy h3 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.3; margin-bottom: 18px; }
.flow-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.flow-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.flow-copy li { position: relative; padding-left: 30px; font-size: 15px; }
.flow-copy li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232a8462' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.flow-art { position: relative; display: grid; place-items: center; min-height: 600px; }
.flow-art .halo { position: absolute; inset: 8% 10%; border-radius: 40px; background: var(--mint-wash); z-index: -1; rotate: -3deg; }
.flow-art .halo.warm { background: var(--capy-soft); rotate: 3deg; }
.flow-art .pair { display: flex; align-items: center; gap: 0; }
.flow-art .pair .phone:first-child { rotate: -4deg; margin-right: -40px; z-index: 1; translate: 0 24px; }
.flow-art .pair .phone:last-child { rotate: 4deg; z-index: 2; }
.flow-art .note {
  position: absolute; z-index: 3; background: var(--card); box-shadow: var(--shadow); border-radius: 14px;
  padding: 10px 14px; font-size: 13px; line-height: 1.4; max-width: 220px;
}
.flow-art .note b { display: block; font-size: 14px; }
.flow-art .note span { color: var(--muted); }
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.modes span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.modes span.p::after { content: "Pro"; margin-left: 6px; font-size: 10px; color: var(--mint-ink); font-weight: 800; letter-spacing: .04em; }

/* 撮れるもの */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kind { position: relative; background: var(--card); border-radius: 22px; padding: 26px 24px 24px; box-shadow: var(--shadow); overflow: hidden; }
.kind .glyph { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); margin-bottom: 18px; }
.kind .glyph svg { width: 28px; height: 28px; }
.kind h3 { font-size: 19px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.kind p { color: var(--muted); font-size: 14.5px; }

/* できること（小さなカード） */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: var(--card); border-radius: 20px; padding: 22px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.feature svg { width: 26px; height: 26px; color: var(--mint-ink); margin-bottom: 12px; }
.feature h3 { font-size: 16px; margin-bottom: 4px; font-family: var(--sans); }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* プライバシー */
.privacy-band { background: #1f3a30; color: #eef7f2; position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .privacy-band { background: #132820; } }
.privacy-band .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.privacy-band .eyebrow { color: #8fe0bd; }
.privacy-band h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.28; margin-bottom: 18px; }
.privacy-band .lead { color: #bfd9cd; font-size: 17px; margin-bottom: 22px; }
.privacy-band a { color: #8fe0bd; }
.privacy-band .capy-quiet { width: 180px; margin-top: 28px; }
.vault { display: grid; gap: 12px; }
.vault div { display: flex; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 18px 20px; }
.vault svg { width: 26px; height: 26px; flex: none; color: #8fe0bd; margin-top: 2px; }
.vault b { display: block; font-size: 16px; margin-bottom: 2px; }
.vault span { color: #bfd9cd; font-size: 14.5px; }

/* 値段 */
.pricing { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; max-width: 940px; margin: 0 auto; }
.plan { background: var(--card); border-radius: 28px; padding: 34px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan .name { font-family: var(--round); font-weight: 700; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.plan .price { font-family: var(--round); font-size: 46px; font-weight: 700; line-height: 1.1; margin: 16px 0 4px; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.plan .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 15px; }
.plan li { position: relative; padding-left: 28px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232a8462' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.plan.pro-plan { background: linear-gradient(160deg, color-mix(in srgb, var(--mint-soft) 80%, var(--card)), var(--card) 60%); box-shadow: var(--shadow), inset 0 0 0 2px color-mix(in srgb, var(--mint) 55%, transparent); position: relative; }
.plan .ribbon { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; color: #fff; background: var(--mint-btn); padding: 5px 10px; border-radius: 999px; }
.plan .foot { margin-top: auto; font-size: 13px; color: var(--muted); }
.trial { max-width: 940px; margin: 20px auto 0; display: flex; align-items: center; gap: 18px; background: var(--card); border-radius: 22px; padding: 18px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.trial img { width: 72px; flex: none; }
.trial b { font-family: var(--round); font-size: 17px; }
.trial p { color: var(--muted); font-size: 14px; }

/* 乗り換え */
.switch-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--card); border-radius: 28px; padding: 32px 36px; box-shadow: var(--shadow); }
.switch-card img { width: 108px; }
.switch-card h2 { font-size: 26px; margin-bottom: 6px; }
.switch-card p { color: var(--muted); }

/* できないこと */
.limits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.limits li { background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 15px; }
.limits b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* よくある質問 */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236e645b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: rotate .25s ease;
}
.faq details[open] summary::after { rotate: 180deg; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.more { margin-top: 28px; font-weight: 600; }
.more.center { text-align: center; }
.more a { text-decoration: none; }

/* 締め */
.closing { text-align: center; padding: 120px 0 132px; position: relative; overflow: hidden; }
.closing .capy-onsen { width: 220px; margin: 0 auto 8px; }
.closing h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.25; margin-bottom: 16px; }
.closing .lead { color: var(--muted); font-size: 17px; margin-bottom: 30px; }
.closing .cta { justify-content: center; }

/* ── 下の帯 ───────────────────────── */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { margin: 0 0 12px; font-size: 13px; color: var(--ink); letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .about p { margin-top: 12px; max-width: 26em; }
.site-footer .fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; }
.languages { line-height: 2.1; margin-top: 10px; }
.languages a { white-space: nowrap; }
.languages a[aria-current] { color: var(--ink); font-weight: 700; }

/* ── 文書のページ（サポート・プライバシー・乗り換え） ── */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.doc .doc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.doc .doc-head img { width: 76px; flex: none; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); line-height: 1.3; }
.doc .lead { font-size: 17px; color: var(--muted); margin: 10px 0 8px; }
.doc h2 { font-size: 22px; margin: 48px 0 14px; }
.doc p + p { margin-top: 12px; }
.doc .card { background: var(--card); border-radius: 20px; padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.doc .card p + p { margin-top: 10px; }
.doc .mail { display: inline-flex; margin-top: 14px; }
.doc dl { margin: 0; display: grid; gap: 12px; }
.doc .faq { max-width: none; }
.doc table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.doc th, .doc td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { color: var(--muted); font-size: 13px; font-weight: 600; }
.doc td:first-child { width: 9em; font-weight: 600; }
.doc ul.check { list-style: none; padding: 0; display: grid; gap: 10px; }
.doc ul.check li, .doc .policy li { position: relative; padding-left: 30px; }
.doc ul.check li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232a8462' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.doc .updated { margin-top: 48px; color: var(--muted); font-size: 14px; }

/* ── 狭い画面 ─────────────────────── */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .cta { justify-content: center; }
  .stage { height: 600px; max-width: 520px; margin: 0 auto; width: 100%; }
  .why, .kinds { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .flow-row { grid-template-columns: 1fr; gap: 36px; }
  .flow-row:nth-child(even) .flow-art { order: 0; }
  .flow-art { min-height: 0; padding: 30px 0; }
  .privacy-band .wrap { grid-template-columns: 1fr; gap: 40px; }
  .pricing { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  section { padding: 80px 0; }
  .hero { padding-top: 32px; }
  .hero .lead { font-size: 16.5px; }
  .stage { height: 520px; }
  .phone { width: 240px; border-radius: 40px; padding: 9px; }
  .phone::after { top: 17px; }
  .phone .screen { border-radius: 32px; }
  .phone.sm { width: 190px; border-radius: 32px; padding: 7px; }
  .phone.sm::after { top: 14px; }
  .phone.sm .screen { border-radius: 26px; }
  .stage .phone.back { left: -30px; top: 40px; }
  .stage .capy-peek { width: 112px; right: 0; bottom: 30px; }
  .chip { font-size: 12px; padding: 8px 12px 8px 8px; }
  .chip .ico { width: 30px; height: 30px; }
  .chip.file { right: -4px; top: 40px; }
  .chip.search { left: -4px; bottom: 120px; }
  .chip.local { right: auto; left: 0; bottom: 6px; }
  .why, .kinds, .limits { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { padding: 18px 16px; }
  .flow { gap: 88px; }
  .flow-art .pair .phone:first-child { margin-right: -70px; }
  .flow-art .pair .phone.sm { width: 170px; }
  .flow-art .note { max-width: 180px; }
  .switch-card { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
  .switch-card img { margin: 0 auto; width: 88px; }
  .switch-card .btn { justify-self: center; }
  .trial { flex-direction: column; text-align: center; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .badge-link img { height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .scanline { display: none; }
}
