:root {
  --bg: oklch(98.5% 0.004 90);
  --card: oklch(100% 0 0);
  --ink: oklch(24% 0.02 260);
  --ink-2: oklch(42% 0.02 260);
  --line: oklch(90% 0.01 260);
  --accent: oklch(58% 0.2 25);
  --gold-bg: oklch(96% 0.04 85);
  --line-green: oklch(62% 0.17 150);
  --font: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.8; font-size: 16px; }
a { color: var(--accent); }
.bar { padding: 14px 4%; border-bottom: 1px solid var(--line); background: var(--card); }
.brand { font-weight: 900; color: var(--ink); text-decoration: none; }
.page { width: 100%; padding: 32px 4% 48px; }
h1 { font-size: 26px; font-weight: 900; margin: 0 0 24px; }
.law { margin: 0; display: grid; grid-template-columns: 14em 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.law dt, .law dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.law dt { font-weight: 700; background: var(--bg); }
.law dt:last-of-type, .law dd:last-of-type { border-bottom: 0; }
/* トップ（10/26 段階2） */
.top { padding-bottom: 88px; }
.hero { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 40px 4% 24px; background: var(--gold-bg); }
.hero-text { max-width: 560px; }
.hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.2; margin: 0 0 12px; }
.catch { font-size: clamp(20px, 4vw, 28px); font-weight: 900; color: var(--accent); margin: 0 0 16px; }
.sub { color: var(--ink-2); margin: 0; }
.hero-img { width: clamp(140px, 24vw, 260px); height: auto; }
.sec { padding: 40px 4% 8px; }
.sec h2 { font-size: 24px; font-weight: 900; margin: 0 0 8px; }
.note { color: var(--ink-2); font-size: 14px; margin: 8px 0; }
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 16px 0; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.what { font-weight: 700; margin: 0; }
.num { display: flex; align-items: baseline; gap: 12px; margin: 8px 0; flex-wrap: wrap; }
.before { font-size: 26px; font-weight: 700; color: var(--ink-2); text-decoration: line-through; }
.arrow { font-size: 24px; color: var(--ink-2); }
.after { font-size: 44px; font-weight: 900; color: var(--accent); }
.how { margin: 0; font-size: 14px; color: var(--ink-2); }
.flow { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.flow li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.flow b { display: block; font-size: 17px; }
.step { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--card); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 16px 0; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.price.main { border: 2px solid var(--accent); }
.pname { font-weight: 700; margin: 0; }
.pval { font-size: 30px; font-weight: 900; margin: 4px 0; }
.pval small { font-size: 14px; font-weight: 700; }
.pnote { font-size: 14px; color: var(--ink-2); margin: 0; }
.faq { margin: 16px 0; }
.faq dt { font-weight: 700; margin-top: 16px; }
.faq dd { margin: 4px 0 0; color: var(--ink-2); }
.fab { position: fixed; left: 4%; right: 4%; bottom: calc(14px + env(safe-area-inset-bottom)); display: block; text-align: center; padding: 15px 20px; border-radius: 999px; background: var(--line-green); color: var(--card); font-weight: 900; text-decoration: none; box-shadow: 0 6px 18px oklch(30% 0.05 150 / 0.25); }
@media (min-width: 900px) { .fab { left: auto; right: 3%; width: 360px; } }
@media (max-width: 640px) {
  .hero { flex-direction: column-reverse; text-align: center; }
}
.foot { padding: 20px 4%; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .law { grid-template-columns: 1fr; }
  .law dt { border-bottom: 0; padding-bottom: 4px; }
  .law dd { padding-top: 0; background: var(--card); }
  .law dt:last-of-type { border-bottom: 0; }
}
