/* =========================================================
   ローカルAI工房 — サイト共通スタイル
   ダーク基調 / インディゴ→シアンのグラデーション / レスポンシブ
   ========================================================= */

:root {
  --bg: #0a0d14;
  --bg-alt: #0e1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8ecf4;
  --text-muted: #9aa4b8;
  --text-faint: #6b7488;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --gradient: linear-gradient(120deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
  --danger: #f87171;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', sans-serif;
  --font-en: 'Outfit', 'Noto Sans JP', sans-serif;
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 48px); margin-inline: auto; }

.sp-only { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5); }
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 15.5px; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-disabled {
  border: 1px dashed var(--border-strong);
  color: var(--text-faint);
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: not-allowed;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 13, 20, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(10, 13, 20, 0.88); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  flex-shrink: 0;
}
.brand-text { font-weight: 900; font-size: 17px; line-height: 1.25; display: flex; flex-direction: column; }
.brand-text small {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}

.global-nav { display: flex; gap: 26px; }
.global-nav a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.global-nav a:hover { color: var(--text); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 110px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-1 { width: 480px; height: 480px; background: rgba(99, 102, 241, 0.35); top: -140px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: rgba(34, 211, 238, 0.22); top: 40px; right: -140px; }
.orb-3 { width: 380px; height: 380px; background: rgba(139, 92, 246, 0.25); bottom: -180px; left: 34%; }
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 30%, transparent 75%);
}

.hero-inner { position: relative; text-align: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }

.hero-title {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: clamp(15px, 1.6vw, 17.5px); color: var(--text-muted); margin-bottom: 40px; }

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  width: fit-content;
  margin-inline: auto;
  overflow: hidden;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 20px 38px;
  border-right: 1px solid var(--border);
}
.hero-stats li:last-child { border-right: none; }
.hero-stats strong { font-family: var(--font-en); font-size: 26px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 12px; color: var(--text-muted); }

/* ---------- セクション共通 ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow {
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; line-height: 1.4; margin-bottom: 18px; }
.section-lead { color: var(--text-muted); margin-bottom: 46px; }
.price-caution { color: var(--warn); font-size: 13.5px; }

/* ---------- 特徴 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-strong); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-2);
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.85; }

/* ---------- 製品フィルタ ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--accent-2); }
.filter-btn.is-active { background: var(--gradient); border-color: transparent; color: #fff; }

/* ---------- 製品カード ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-card.is-hidden { display: none; }
.product-card.is-lab { opacity: 0.82; }

.product-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.product-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
}
.product-icon svg { width: 28px; height: 28px; }
.icon-teal   { background: rgba(45, 212, 191, 0.13); color: #2dd4bf; }
.icon-indigo { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.icon-violet { background: rgba(167, 139, 250, 0.14); color: #a78bfa; }
.icon-pink   { background: rgba(244, 114, 182, 0.13); color: #f472b6; }
.icon-cyan   { background: rgba(34, 211, 238, 0.12); color: #22d3ee; }
.icon-amber  { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.icon-slate  { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }

.badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.badge-on   { background: rgba(52, 211, 153, 0.13); color: var(--ok); border: 1px solid rgba(52, 211, 153, 0.35); }
.badge-soon { background: rgba(251, 191, 36, 0.1); color: var(--warn); border: 1px solid rgba(251, 191, 36, 0.35); }

.product-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 10px; line-height: 1.5; }
.product-tagline { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.8; }

.product-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.product-features li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.product-price { margin-top: auto; display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.price-num { font-family: var(--font-en); font-size: 26px; font-weight: 800; }
.price-num small { font-size: 12px; color: var(--text-faint); font-weight: 500; }
.price-note { font-size: 12px; color: var(--text-faint); }

.product-actions { display: flex; gap: 10px; }
.product-actions .btn, .product-actions .btn-disabled { flex: 1; padding-inline: 10px; }

/* ---------- 購入の流れ ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 52px; }
.flow-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px 28px;
}
.flow-num {
  position: absolute;
  top: -18px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}
.flow-step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.flow-step p { font-size: 13.5px; color: var(--text-muted); }

.payment-methods {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 34px 24px;
}
.payment-title { font-weight: 700; margin-bottom: 18px; }
.payment-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pay-badge {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.pay-paypal { color: #7cb7ff; border-color: rgba(124, 183, 255, 0.4); }
.payment-note { font-size: 12.5px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  font-size: 14.5px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--accent-2);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; font-size: 13.5px; color: var(--text-muted); }

/* ---------- お問い合わせ ---------- */
.contact-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 60px 32px;
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, rgba(99, 102, 241, 0.18), transparent 60%),
    var(--surface);
}
.contact-card .section-lead { margin-bottom: 34px; }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-top: 52px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand-name { font-weight: 900; font-size: 16px; }
.footer-brand-sub { font-size: 12.5px; color: var(--text-faint); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: var(--text-faint); text-align: center; }

/* ---------- モーダル ---------- */
.product-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(640px, calc(100vw - 40px));
  width: 100%;
  margin: auto;
}
.product-modal::backdrop { background: rgba(5, 7, 12, 0.78); backdrop-filter: blur(6px); }
.modal-body {
  position: relative;
  background: #131828;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 40px 38px 34px;
  color: var(--text);
  max-height: min(82vh, 760px);
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 26px;
  line-height: 1;
  color: var(--text-faint);
  padding: 8px;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-body h3 { font-size: 21px; font-weight: 900; margin: 14px 0 14px; }
.modal-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.modal-lead { font-size: 14px; color: var(--text-muted); line-height: 1.9; }
.modal-body ul li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 7px;
  line-height: 1.75;
}
.modal-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}
.modal-body code { background: rgba(255,255,255,0.08); border-radius: 5px; padding: 1px 7px; font-size: 12.5px; }
.disclaimer {
  margin-top: 22px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.07);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 12.5px;
  color: #e5d3a1;
  line-height: 1.8;
}
.disclaimer strong { color: var(--warn); }
.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.order-steps { counter-reset: step; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.order-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.order-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
}

/* 決済方法選択（payments.js が生成） */
.pay-choice { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.pay-choice a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s;
}
.pay-choice a:hover { border-color: var(--accent-2); background: var(--surface-strong); }
.pay-choice a span:last-child { color: var(--accent-2); font-family: var(--font-en); }

/* ---------- 法的ページ ---------- */
.legal-page { padding: calc(var(--header-h) + 60px) 0 90px; }
.legal-page h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin-bottom: 12px; }
.legal-updated { font-size: 12.5px; color: var(--text-faint); margin-bottom: 40px; }
.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.legal-page p, .legal-page li { font-size: 14px; color: var(--text-muted); }
.legal-page ul, .legal-page ol { margin: 10px 0 10px 4px; display: flex; flex-direction: column; gap: 6px; }
.legal-page ul li { position: relative; padding-left: 18px; }
.legal-page ul li::before { content: "・"; position: absolute; left: 0; color: var(--accent-2); }
.legal-page ol { list-style: decimal; margin-left: 24px; }
.legal-page ol li { padding-left: 4px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.legal-table th, .legal-table td {
  border: 1px solid var(--border);
  padding: 13px 16px;
  font-size: 13.5px;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--surface-strong); color: var(--text); white-space: nowrap; width: 200px; font-weight: 700; }
.legal-table td { color: var(--text-muted); }
.placeholder-mark { color: var(--warn); font-weight: 700; }
.legal-note {
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 12.5px;
  color: #a8d8e8;
  margin: 20px 0;
  line-height: 1.8;
}
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 44px; color: var(--accent-2); font-size: 14px; font-weight: 700; }
.back-link:hover { text-decoration: underline; }

/* ---------- スクロール表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #0b0e15;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    padding: 10px 24px 18px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }
  .global-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .global-nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 15px; }
  .global-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container, .container-narrow { width: calc(100% - 36px); }
  .section { padding: 72px 0; }
  .sp-only { display: inline; }
  .pc-only { display: none; }

  .hero { padding: calc(var(--header-h) + 56px) 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-stats li { padding: 16px 10px; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stats li:nth-child(odd) { border-right: 1px solid var(--border); }
  .hero-stats li:nth-child(3), .hero-stats li:nth-child(4) { border-bottom: none; }

  .feature-grid, .product-grid, .flow-grid { grid-template-columns: 1fr; }
  .flow-grid { gap: 34px; }
  .modal-body { padding: 34px 22px 26px; }
  .modal-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-inner { flex-direction: column; }
  .legal-table th { width: auto; display: block; border-bottom: none; }
  .legal-table td { display: block; }
  .legal-table tr { display: block; margin-bottom: 0; }
}
