/* ============================================================
   サブスク型ホームページサービス LP — design tokens
   Variants are switched at runtime via Tweaks → :root attrs.
   ============================================================ */

:root {
  /* warm cream — wamoden default */
  --bg: #faf6ef;
  --bg-soft: #f3ede1;
  --bg-card: #ffffff;
  --bg-deep: #14181f;
  --ink: #1a1d28;
  --ink-2: #3a3f4d;
  --ink-3: #6b7280;
  --ink-4: #9aa0aa;
  --line: #e7e0d0;
  --line-soft: #efe9da;

  --accent: #1f4e8c;       /* deep navy */
  --accent-2: #163a6b;
  --accent-soft: #e9edf5;
  --accent-tint: #f3f6fb;

  --warn: #b8472a;
  --ok: #2c6b4f;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.04), 0 1px 0 rgba(20, 24, 31, 0.02);
  --shadow:    0 8px 28px -12px rgba(20, 24, 31, 0.18), 0 2px 6px rgba(20, 24, 31, 0.04);
  --shadow-lg: 0 30px 60px -28px rgba(20, 24, 31, 0.25), 0 12px 24px -16px rgba(20, 24, 31, 0.10);

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --container: 1180px;
  --gutter: 32px;
}

/* ----------- variant: natural (sage / off-white / sans) ----------- */
:root[data-variant="natural"] {
  --bg: #f6f3ec;
  --bg-soft: #ece7da;
  --bg-card: #fdfbf6;
  --line: #ddd6c4;
  --line-soft: #e7e1cf;
  --accent: #4f7a5a;
  --accent-2: #355c40;
  --accent-soft: #e6efe8;
  --accent-tint: #eef4ef;
}

/* ----------- variant: clean (white / bold accent) ----------- */
:root[data-variant="clean"] {
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-card: #ffffff;
  --line: #e6e8ec;
  --line-soft: #eef0f3;
  --ink: #0e1117;
  --ink-2: #2c3340;
  --ink-3: #6a7180;
  --accent: #1d4ed8;
  --accent-2: #1e3a8a;
  --accent-soft: #eaf0fe;
  --accent-tint: #f4f7fd;
}

/* ----------- accent overrides via Tweaks ----------- */
:root[data-accent="navy"]      { --accent:#1f4e8c; --accent-2:#163a6b; --accent-soft:#e9edf5; --accent-tint:#f3f6fb; }
:root[data-accent="forest"]    { --accent:#2c5f4f; --accent-2:#1f4738; --accent-soft:#e4ede8; --accent-tint:#eff4f1; }
:root[data-accent="sumi"]      { --accent:#222831; --accent-2:#0b0e13; --accent-soft:#e5e7eb; --accent-tint:#f1f2f5; }
:root[data-accent="ochre"]     { --accent:#8a5a2b; --accent-2:#67421e; --accent-soft:#f1e6d3; --accent-tint:#f7efde; }

/* ------------------- base ------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

/* type */
.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }
.mono  { font-family: var(--mono); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.02em; line-height: 1.4; margin: 0; }
h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: 0.005em; line-height: 1.32; }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: clamp(18px, 1.4vw, 22px); }
p  { margin: 0; }

/* eyebrow / label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: currentColor; opacity: 0.6;
}
.eyebrow.center::before { display: none; }
.eyebrow.center { letter-spacing: 0.3em; }

/* section scaffolding */
section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: var(--radius-pill);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 12px 24px -10px color-mix(in oklab, var(--accent) 60%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); background: var(--bg-card); }
.btn-line {
  background: #06c755; color: #fff; border-color: #06c755;
}
.btn-line:hover { background: #05a948; border-color: #05a948; }
.btn-text { padding: 0; height: auto; background: transparent; color: var(--accent); font-weight: 600; }
.btn-text .arrow { transition: transform .2s ease; }
.btn-text:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 16px; }

/* cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--ink) 16%, var(--line)); }

/* chip / tag */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
}
.chip-accent { color: var(--accent); background: var(--accent-soft); }
.chip-dot::before { content:""; width:6px; height:6px; border-radius:50%; background: currentColor; opacity:.6; }

/* divider */
.rule { height: 1px; background: var(--line); width: 100%; }

/* utility */
.muted { color: var(--ink-3); }
.kbd-num { font-family: var(--mono); font-feature-settings: "tnum" 1, "lnum" 1; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* hover-lift micro */
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif); font-weight: 600; font-size: 14px;
  letter-spacing: 0;
}
.brand-mark::after { content: ""; position: absolute; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--ink-2); transition: color .15s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(80px, 8vw, 120px) 0 clamp(60px, 6vw, 96px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 .accent { color: var(--accent); }
.hero h1 .nb { white-space: nowrap; }
.hero-sub {
  font-size: 16.5px; color: var(--ink-2); line-height: 1.95; max-width: 460px; margin-top: 28px;
}
.hero-price {
  display: inline-flex; align-items: baseline; gap: 6px; margin-top: 32px;
  font-family: var(--serif); color: var(--ink);
}
.hero-price .from { font-size: 13px; color: var(--ink-3); font-family: var(--sans); letter-spacing: 0.1em; }
.hero-price .num { font-size: 44px; font-weight: 600; letter-spacing: -0.01em; font-feature-settings:"tnum" 1; }
.hero-price .yen { font-size: 18px; }
.hero-price .unit { font-size: 13px; color: var(--ink-3); font-family: var(--sans); margin-left: 8px; letter-spacing: 0.06em; }
.hero-features { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* hero right — composite of devices */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 0.92;
  width: 100%;
}
.hero-bg-shape {
  position: absolute; inset: 6% -10% 0 6%;
  background:
    radial-gradient(120% 80% at 30% 20%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    var(--bg-soft);
  border-radius: 28px;
  z-index: 0;
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .35;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(70% 60% at 60% 50%, #000 0%, transparent 90%);
}
.hero-pc {
  position: absolute; left: 0; top: 6%; width: 78%; z-index: 2;
  box-shadow: var(--shadow-lg);
  border-radius: 14px;
}
.hero-sp.phone {
  position: absolute; right: 2%; bottom: 0; width: 24%; z-index: 3;
  box-shadow: var(--shadow-lg);
  border-radius: 28px;
}
.hero-floating {
  position: absolute; z-index: 4;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: center;
  font-size: 13px;
  animation: floatY 6s ease-in-out infinite;
}
.hero-float-1 { left: -2%; bottom: 22%; }
.hero-float-2 { right: -4%; top: 12%; animation-delay: -2s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.metric-dot { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display:grid; place-items:center; font-weight: 600; }

/* fake browser chrome */
.win {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
}
.win-bar {
  height: 32px; background: #f1ede4; display: flex; align-items: center; padding: 0 12px; gap: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.win-dot { width: 10px; height: 10px; border-radius: 50%; background: #d9d4c5; }
.win-bar .url { flex: 1; height: 18px; background: #fff; border-radius: 999px; margin: 0 8px; font-size: 11px; color: var(--ink-3); display:flex; align-items:center; padding: 0 12px; gap: 6px; }

.phone {
  background: #fff; border-radius: 30px; overflow: hidden;
  border: 1px solid var(--line); padding: 8px; position: relative;
}
.phone::before {
  content:""; position:absolute; top: 12px; left:50%; transform: translateX(-50%);
  width: 60px; height: 14px; background:#15171c; border-radius: 999px; z-index: 5;
}
.phone-screen { border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 19.5; background: var(--bg-soft); position: relative; }

/* generic placeholder website inside the chrome */
.site {
  height: 100%; width: 100%;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
  display: flex; flex-direction: column;
}
.site .topbar { display:flex; align-items:center; justify-content:space-between; padding: 16px 22px; font-size: 12px; border-bottom: 1px solid var(--line-soft); }
.site .topbar .logo { font-family: var(--serif); font-weight: 600; font-size: 13px; }
.site .topbar nav { display:flex; gap: 14px; color: var(--ink-3); font-size: 11px; }
.site .splash {
  flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 28px 26px; align-items: center;
}
.site .splash h4 { font-family: var(--serif); font-size: 22px; line-height: 1.4; margin:0; letter-spacing: 0.02em; }
.site .splash p { font-size: 11px; color: var(--ink-3); margin-top: 10px; line-height: 1.7;}
.site .splash .cta { display:inline-flex; margin-top: 14px; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--accent); color:#fff; font-size: 11px; align-items: center; }
.site .splash .img { aspect-ratio: 1 / 1; border-radius: 14px; background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 18%, transparent), color-mix(in oklab, var(--accent) 4%, transparent)); position: relative; overflow: hidden; }
.site .splash .img::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, color-mix(in oklab, var(--ink) 4%, transparent) 0 1px, transparent 1px 14px); }
.site .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 26px 22px; }
.site .strip > div { aspect-ratio: 4/3; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line-soft); }

/* ============================================================
   EXAMPLES (実例)
   ============================================================ */
.examples-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 940px) { .examples-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .examples-grid { grid-template-columns: 1fr; } }

.example-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  cursor: pointer;
}
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--ink) 14%, var(--line)); }
.example-thumb { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--bg-soft); }
.example-body { padding: 22px 24px 26px; }
.example-body h3 { font-size: 18px; }
.example-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.example-feature { color: var(--ink-3); font-size: 13.5px; margin-top: 8px; }
.example-tags { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }

/* mini-sites used in cards (per category) */
.mini { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.mini .hdr { display: flex; justify-content: space-between; align-items: center; font-size: 9px; }
.mini .hdr .lg { font-family: var(--serif); font-weight: 600; font-size: 10px; }
.mini .nav-d { display:flex; gap: 6px; color: var(--ink-4); }
.mini .hero-block { flex:1; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; position: relative; overflow: hidden; }
.mini .hero-block .ttl { font-family: var(--serif); font-size: 14px; line-height: 1.3; font-weight: 600; }
.mini .hero-block .sb { font-size: 8px; margin-top: 4px; opacity: 0.85; }
.mini .row { display: grid; gap: 6px; grid-template-columns: 1fr 1fr 1fr; }
.mini .row > div { aspect-ratio: 1/1; border-radius: 4px; background: var(--bg-soft); }

/* category palettes */
.mini[data-kind="koumu"]   .hero-block { background: linear-gradient(135deg, #1d2a3a, #3a4a5e); }
.mini[data-kind="beauty"]  .hero-block { background: linear-gradient(135deg, #ede0d4, #c9a98a); color: #2a1f15; }
.mini[data-kind="seitai"]  .hero-block { background: linear-gradient(135deg, #2c5f4f, #6b9583); }
.mini[data-kind="shigyo"]  .hero-block { background: linear-gradient(135deg, #1f2c4a, #34466b); }
.mini[data-kind="cafe"]    .hero-block { background: linear-gradient(135deg, #4d3220, #8a6240); }
.mini[data-kind="medical"] .hero-block { background: linear-gradient(135deg, #e8f1f5, #b8d5e3); color: #163349; }
.mini[data-kind="estate"]  .hero-block { background: linear-gradient(135deg, #2a3138, #51606b); }

/* ============================================================
   PROBLEMS (悩み共感)
   ============================================================ */
.problems {
  background: var(--bg-deep);
  color: #e7e7e9;
}
.problems h2, .problems .eyebrow { color: #fff; }
.problems .eyebrow { color: color-mix(in oklab, var(--accent) 40%, #fff 60%); }
.problems p { color: #b8bbc4; }
.problems .muted { color: #9b9ea7; }

.problems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #262a34; border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 720px) { .problems-grid { grid-template-columns: 1fr; } }
.problem-cell {
  background: #1c2029;
  padding: 32px 34px;
  display: flex; gap: 20px;
  transition: background .2s ease;
}
.problem-cell:hover { background: #20242f; }
.problem-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: color-mix(in oklab, var(--accent) 25%, #1c2029);
  color: color-mix(in oklab, var(--accent) 70%, #fff);
  display: grid; place-items: center;
}
.problem-cell h3 { color: #fff; font-size: 18px; margin-bottom: 8px; line-height: 1.5; font-family: var(--sans); font-weight: 600; }
.problem-cell p { font-size: 14px; line-height: 1.85; }

/* ============================================================
   SOLUTIONS (解決提案)
   ============================================================ */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 940px) { .sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sol-grid { grid-template-columns: 1fr; } }

.sol-card { padding: 36px 28px 32px; background: var(--bg-card); }
.sol-num { font-family: var(--serif); color: var(--accent); font-size: 14px; letter-spacing: 0.18em; font-feature-settings:"tnum" 1; }
.sol-card h3 { font-family: var(--serif); font-size: 22px; margin-top: 24px; margin-bottom: 12px; }
.sol-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.95; }
.sol-icon { margin-top: 18px; color: var(--accent); }

/* ============================================================
   COMPARE
   ============================================================ */
.compare-wrap { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); }
@media (max-width: 820px) { .compare-grid { grid-template-columns: 1fr; } .compare-grid .row-label { display:none; } }
.compare-grid > div { padding: 18px 22px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); font-size: 14px; }
.compare-grid > div:last-child { border-right: none; }
.compare-grid .col-h {
  font-family: var(--serif); font-weight: 600; font-size: 16px; padding: 28px 22px; letter-spacing: 0.04em; background: var(--bg-soft);
}
.compare-grid .col-h.us { background: color-mix(in oklab, var(--accent) 8%, var(--bg-card)); color: var(--accent); }
.compare-grid .col-h.us .badge { display:inline-block; background: var(--accent); color:#fff; font-size: 10px; padding: 3px 8px; border-radius: 999px; margin-left: 8px; letter-spacing: 0.1em; vertical-align: 2px; }
.compare-grid .row-label { font-weight: 600; color: var(--ink-2); background: color-mix(in oklab, var(--bg-soft) 60%, var(--bg-card)); }
.cell-yes { color: var(--ok); }
.cell-no  { color: #c25a3a; }
.cell-mark { display:inline-flex; align-items:center; gap: 8px; font-weight: 600; }

/* ============================================================
   PLANS
   ============================================================ */
.plans-toggle { display: inline-flex; padding: 4px; background: var(--bg-soft); border-radius: var(--radius-pill); gap: 4px; }
.plans-toggle button {
  border: none; background: transparent; padding: 8px 18px;
  border-radius: var(--radius-pill); font-size: 13px; color: var(--ink-2); font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.plans-toggle button.active { background: var(--bg-card); color: var(--ink); box-shadow: var(--shadow-sm); }
.plans-toggle .save { color: var(--accent); font-size: 11px; margin-left: 6px; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 880px) { .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.plan-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px 36px;
  position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-card.featured {
  background: var(--ink);
  color: #f0eee8;
  border-color: var(--ink);
}
.plan-card.featured .plan-price .num { color: #fff; }
.plan-card.featured .plan-name { color: #d6cdb8; }
.plan-card.featured .plan-desc { color: #c4bfb1; }
.plan-card.featured ul li { color: #e9e4d6; }
.plan-card.featured ul li::before { color: color-mix(in oklab, var(--accent) 50%, #fff); }

.plan-tag {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent); color: #fff;
  font-size: 11px; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.12em; font-weight: 600;
}
.plan-name { font-family: var(--serif); font-size: 14px; letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase; }
.plan-title { font-family: var(--serif); font-size: 26px; margin-top: 6px; font-weight: 600; }
.plan-desc { color: var(--ink-3); font-size: 13.5px; margin-top: 10px; line-height: 1.8; min-height: 48px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 28px; font-family: var(--serif); }
.plan-price .num { font-size: 44px; font-weight: 600; font-feature-settings:"tnum" 1; }
.plan-price .yen { font-size: 16px; }
.plan-price .unit { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.plan-card.featured .plan-price .unit { color: #b3ad9c; }
.plan-card hr { border:none; border-top: 1px solid var(--line-soft); margin: 26px 0 22px; }
.plan-card.featured hr { border-top-color: #2a2d36; }
.plan-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-card ul li { font-size: 14px; padding-left: 28px; position: relative; line-height: 1.7; color: var(--ink-2); }
.plan-card ul li::before {
  content: "";
  position: absolute; left: 4px; top: 9px;
  width: 12px; height: 6px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-cta { margin-top: 28px; width: 100%; }
.plan-card.featured .plan-cta.btn-primary { background: #fff; color: var(--ink); }
.plan-card.featured .plan-cta.btn-primary:hover { background: #f5f1e7; }

/* ============================================================
   ANALYTICS (SEO・分析)
   ============================================================ */
.analytics-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
@media (max-width: 940px) { .analytics-grid { grid-template-columns: 1fr; gap: 40px; } }
.analytics-list { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.analytics-item { display: flex; gap: 16px; }
.analytics-item .n {
  width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display:grid; place-items:center;
  font-family: var(--serif); font-size: 14px; font-weight: 600; font-feature-settings:"tnum" 1;
}
.analytics-item h4 { font-family: var(--serif); font-size: 18px; margin: 0 0 6px; font-weight: 600; }
.analytics-item p { color: var(--ink-3); font-size: 14px; line-height: 1.8; }

.dash {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-head .ttl { font-family: var(--serif); font-size: 14px; font-weight: 600; }
.dash-head .sub { font-size: 11px; color: var(--ink-3); }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; }
.kpi .lbl { font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; }
.kpi .val { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 6px; font-feature-settings:"tnum" 1; }
.kpi .delta { font-size: 11px; color: var(--ok); margin-top: 4px; }
.chart {
  height: 130px; position: relative;
  background:
    repeating-linear-gradient(to bottom, transparent 0 32px, var(--line-soft) 32px 33px);
  margin: 6px 0 14px;
}
.chart svg { width: 100%; height: 100%; display: block; }
.dash-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dash-row { display: grid; grid-template-columns: 1fr auto; align-items: center; font-size: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.dash-row:first-child { border-top: none; }
.dash-row .pname { color: var(--ink-2); }
.dash-row .bar { height: 6px; width: 100%; max-width: 130px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; margin: 0 12px; grid-column: 1 / 3; }
.dash-row .bar > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: none; padding: 26px 8px; text-align: left;
  display: flex; align-items: center; gap: 20px;
  font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--ink);
  cursor: pointer;
}
.faq-q .q-mark { font-family: var(--serif); color: var(--accent); font-size: 18px; flex: 0 0 24px; font-weight: 600; }
.faq-q .label { flex: 1; }
.faq-q .toggle {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; flex: 0 0 28px;
  transition: background .2s ease, transform .25s ease;
}
.faq-q .toggle::before, .faq-q .toggle::after { content:""; background: var(--ink-2); position: absolute; }
.faq-q .toggle::before { width: 12px; height: 1.5px; }
.faq-q .toggle::after  { width: 1.5px; height: 12px; transition: transform .25s ease; }
.faq-item.open .faq-q .toggle { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-q .toggle::before, .faq-item.open .faq-q .toggle::after { background: #fff; }
.faq-item.open .faq-q .toggle::after { transform: scaleY(0); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 8px 0 52px; color: var(--ink-2); font-size: 14.5px; line-height: 1.95;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 26px; }

/* ============================================================
   CTA (final)
   ============================================================ */
.final-cta {
  background: var(--ink);
  color: #f5f0e3;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 6vw, 80px);
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content:""; position: absolute; inset: -40% -10% auto -10%; height: 280px;
  background: radial-gradient(60% 60% at 50% 50%, color-mix(in oklab, var(--accent) 60%, transparent), transparent 70%);
  opacity: 0.25; pointer-events: none;
}
.final-cta h2 { color: #fff; position: relative; }
.final-cta p { color: #d6cdb8; margin-top: 18px; max-width: 540px; margin-left:auto; margin-right:auto; position: relative; }
.final-cta-row { display:flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; position: relative; }
.final-cta .ghost-on-dark {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.3);
}
.final-cta .ghost-on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 56px 0 36px; border-top: 1px solid var(--line); margin-top: 80px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.footer .brand { color: var(--ink); }
.footer .links { display: flex; gap: 28px; }

/* ============================================================
   v2 — extras matching reference look
   ============================================================ */

/* trust sub-badges under hero price */
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-top: 20px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.hero-badge .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex: 0 0 auto;
}

/* gold trust seal */
.seal {
  position: absolute; right: 6%; bottom: -2%;
  width: 132px; height: 132px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #f5dc8a, #c39433 70%, #8c6315 100%);
  color: #2a1c08;
  font-family: var(--serif);
  display: grid; place-items: center;
  text-align: center;
  box-shadow: 0 18px 36px -16px rgba(140, 99, 21, 0.55), inset 0 0 0 4px rgba(255,255,255,0.25);
  z-index: 6;
  transform: rotate(-6deg);
}
.seal::before {
  content:""; position:absolute; inset: 6px; border-radius: 50%;
  border: 1px dashed rgba(42, 28, 8, 0.4);
}
.seal .seal-inner { padding: 0 14px; line-height: 1.35; }
.seal .seal-sm { font-size: 10.5px; letter-spacing: 0.08em; font-family: var(--sans); font-weight: 500; }
.seal .seal-md { font-size: 12.5px; font-weight: 600; margin: 2px 0 4px; font-family: var(--sans); }
.seal .seal-big { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 0.02em; }
.seal .seal-big .unit { font-size: 11px; font-weight: 600; }

/* service area pills */
.area-strip { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; }
.area-strip .area-label { font-size: 12px; color: var(--ink-3); letter-spacing: 0.12em; margin-right: 18px; }
.area-strip-row { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.area-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 14px;
  font-size: 13px; color: var(--ink-2);
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--serif); font-weight: 500;
}
.area-pill::before { content:""; width:5px; height:5px; border-radius:50%; background: var(--accent); }
.area-pill.other { background: transparent; border-style: dashed; color: var(--ink-3); }
.area-pill.other::before { background: var(--ink-4); }

/* ---- Examples carousel ---- */
.examples-wrap { position: relative; }
.examples-rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 28px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.examples-rail::-webkit-scrollbar { display: none; }
.examples-rail .example-card { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; min-width: 240px; }
@media (max-width: 1100px) { .examples-rail .example-card { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 800px)  { .examples-rail .example-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 540px)  { .examples-rail .example-card { flex-basis: 78%; min-width: 0; } }

.rail-arrow {
  position: absolute; top: 36%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink); cursor: pointer; z-index: 5;
  box-shadow: var(--shadow);
  transition: background .2s ease, transform .2s ease;
}
.rail-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.rail-arrow.prev { left: -18px; }
.rail-arrow.next { right: -18px; }
.rail-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.rail-arrow:disabled:hover { background: #fff; color: var(--ink); }

/* example-card v2: photo thumb */
.example-card .photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.example-card .photo::after {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,24,31,0.55) 0%, rgba(20,24,31,0) 50%);
}
.example-card .photo-label {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-family: var(--serif); font-size: 14px; line-height: 1.4; font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.example-card .photo-label .sm { font-size: 10px; font-family: var(--sans); opacity: 0.85; font-weight: 400; display: block; margin-top: 2px; letter-spacing: 0.06em; }

/* ---- Solutions w/ photo aside ---- */
.solutions-split {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; margin-top: 32px;
}
@media (max-width: 940px) { .solutions-split { grid-template-columns: 1fr; gap: 36px; } }
.solutions-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.solutions-photo::before {
  content:""; position: absolute; inset: auto 0 0 0; height: 50%;
  background: linear-gradient(to top, rgba(20,24,31,0.55), transparent);
}
.solutions-photo .photo-quote {
  position: absolute; left: 28px; right: 28px; bottom: 26px;
  color: #fff; font-family: var(--serif); font-size: 18px; line-height: 1.55; font-weight: 500;
}
.solutions-photo .photo-quote .who { display: block; margin-top: 14px; font-size: 12px; font-family: var(--sans); opacity: 0.85; letter-spacing: 0.06em; font-weight: 400; }

/* hero photo backgrounds inside chrome */
.hero-photo {
  position: absolute; inset: 32px 0 0 0;
  background-size: cover; background-position: center;
}
.hero-photo .overlay-copy {
  position: absolute; top: 12%; left: 8%; right: 32%;
  color: #fff;
  font-family: var(--serif); font-weight: 600;
  text-shadow: 0 3px 14px rgba(0,0,0,0.45);
}
.hero-photo .overlay-copy h5 { font-size: 26px; line-height: 1.4; margin: 0; letter-spacing: 0.02em; }
.hero-photo .overlay-copy .nm { font-size: 11px; letter-spacing: 0.18em; font-family: var(--sans); margin-bottom: 14px; opacity: 0.92; font-weight: 500; }
.hero-photo .overlay-copy .btn-mini { display:inline-flex; margin-top: 16px; height: 32px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--ink); font-size: 11px; align-items:center; gap: 4px; font-family: var(--sans); font-weight: 500; }

.phone-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.phone-photo::after {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(20,24,31,0.7));
}
.phone-photo .phone-copy {
  position: absolute; left: 14px; right: 14px; bottom: 20px;
  color: #fff; font-family: var(--serif); font-weight: 600;
  font-size: 14px; line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5); z-index: 2;
}
.phone-photo .phone-copy .nm { font-size: 9px; letter-spacing: 0.16em; font-family: var(--sans); margin-bottom: 6px; opacity: 0.9; font-weight: 500; }

/* ============================================================
   floating LINE button
   ============================================================ */
.line-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #06c755; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -16px rgba(6,199,85,0.6), 0 8px 20px -8px rgba(20,24,31,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
  border: none;
}
.line-fab:hover { transform: translateY(-3px) scale(1.04); }
.line-fab .pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #06c755; opacity: 0.5; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }

/* ============================================================
   tweak panel positioning override (rare)
   ============================================================ */

