/* ============================================================
   Webたすけ LP — Design System
   白ベース / 淡いブルー(信頼)・グリーン(親しみ)・グレー(中立)
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #ffffff;
  --bg-soft:   #f6f9fb;
  --bg-blue:   #eef5fb;
  --bg-green:  #eef7f1;
  --bg-warm:   #f9fbfc;

  /* ink */
  --ink:   #2e3a45;   /* headings */
  --ink-2: #55656f;   /* body */
  --ink-3: #8997a1;   /* muted */

  /* brand */
  --blue:        #3f88be;
  --blue-deep:   #316f9f;
  --blue-soft:   #d9e8f4;
  --blue-tint:   #eaf3fa;
  --green:       #57a585;
  --green-deep:  #468c70;
  --green-soft:  #d8ece1;
  --green-tint:  #eef7f1;
  --grey-soft:   #e3eaef;
  --grey-tint:   #eef2f5;

  --line:   #e7eef3;
  --line-2: #dde7ee;

  --shadow-sm: 0 1px 2px rgba(46,58,69,.04), 0 2px 6px rgba(46,58,69,.04);
  --shadow:    0 2px 8px rgba(46,58,69,.05), 0 10px 28px rgba(46,58,69,.06);
  --shadow-lg: 0 8px 20px rgba(46,58,69,.06), 0 24px 60px rgba(46,58,69,.09);

  --r-pill: 999px;
  --r-lg:   24px;
  --r-md:   18px;
  --r-sm:   12px;

  --maxw: 1160px;
  --gut:  clamp(22px, 5vw, 44px);

  --font-round: "M PLUS Rounded 1c", system-ui, sans-serif;
  --font-body:  "Noto Sans JP", system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.9;
  font-size: 17px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-round);
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: .02em;
  margin: 0;
  font-weight: 800;
}
p { margin: 0; text-wrap: pretty; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(76px, 11vw, 148px); }
section[id] { scroll-margin-top: 88px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 9px 18px;
  border-radius: var(--r-pill);
}
.eyebrow.green { color: var(--green-deep); background: var(--green-tint); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.h-section {
  font-size: clamp(29px, 4.4vw, 46px);
  letter-spacing: .03em;
  margin-top: 20px;
  line-height: 1.4;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 40em;
  line-height: 1.95;
}
.section-head { margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .03em;
  padding: 17px 34px;
  border-radius: var(--r-pill);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s; font-size: 1.1em; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(63,136,190,.34);
}
.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(63,136,190,.42);
}
.btn-primary:hover .arrow { transform: translateX(5px); }
.btn-ghost {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 2px var(--blue-soft);
}
.btn-ghost:hover {
  background: var(--blue-tint);
  transform: translateY(-3px);
}
.btn-lg { padding: 21px 44px; font-size: 18.5px; }
.btn-block { width: 100%; }
/* attention-getting CTA */
.btn-cta { position: relative; }
.btn-cta::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(63,136,190,.45);
  animation: ctaPulse 2.6s cubic-bezier(.2,.7,.2,1) infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(63,136,190,.40); }
  70%  { box-shadow: 0 0 0 16px rgba(63,136,190,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,136,190,0); }
}
@media (prefers-reduced-motion: reduce) { .btn-cta::after { animation: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(46,58,69,.02), 0 6px 20px rgba(46,58,69,.04);
}
.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: .04em;
  white-space: nowrap;
  line-height: 1.15;
}
.brand-name small { font-weight: 500; font-size: 11px; color: var(--ink-3); display: block; letter-spacing: .12em; line-height: 1; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink-2);
  padding: 10px 14px;
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--blue-deep); background: var(--blue-tint); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 13px 26px; font-size: 15.5px; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- hero (shared) ---------- */
.hero { position: relative; overflow: hidden; }
.hero[data-active="false"] { display: none; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55;
}

/* soft decorative dot grid */
.dotfield {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--blue-soft) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 80% 20%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 60% at 80% 20%, #000 0%, transparent 70%);
  opacity: .5;
}

/* HERO A — centered */
.heroA { background: linear-gradient(180deg, var(--bg-blue) 0%, #fff 78%); }
.heroA .hero-inner { position: relative; z-index: 2; text-align: center; padding-block: clamp(70px, 10vw, 130px) clamp(60px, 8vw, 110px); }
.heroA .blob-1 { width: 380px; height: 380px; background: var(--blue-soft); top: -120px; left: -100px; opacity: .4; }
.heroA .blob-2 { width: 320px; height: 320px; background: var(--green-soft); bottom: -120px; right: -80px; opacity: .4; }

/* HERO B — split with cards */
.heroB { background: var(--bg-warm); }
.heroB .hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 104px);
}
.heroB .blob-1 { width: 420px; height: 420px; background: var(--blue-tint); top: -140px; right: -120px; opacity: .8; }

/* HERO C — calm band */
.heroC { background: linear-gradient(160deg, #eef5fb 0%, #eef7f1 100%); }
.heroC .hero-inner { position: relative; z-index: 2; text-align: center; padding-block: clamp(72px, 10vw, 132px); max-width: 880px; margin-inline: auto; }
.heroC .panel {
  margin-top: clamp(34px, 5vw, 52px);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}

.hero-title {
  font-size: clamp(33px, 5.8vw, 62px);
  line-height: 1.34;
  letter-spacing: .02em;
  color: var(--ink);
}
.hero-title .accent {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
.hero-title .accent.green { color: var(--green-deep); }
.hero-title .wavy {
  background-image: linear-gradient(transparent 78%, var(--green-soft) 0);
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--ink-2);
  margin-top: clamp(22px, 3vw, 30px);
  line-height: 2;
}
.heroA .hero-sub, .heroC .hero-sub { margin-inline: auto; max-width: 36em; }
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 38px);
}
.heroA .hero-actions, .heroC .hero-actions { justify-content: center; }
.hero-note {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px; font-size: 13.5px; color: var(--ink-3);
  font-family: var(--font-round); font-weight: 500;
}
.heroA .hero-note, .heroC .hero-note { justify-content: center; }
.hero-note svg { width: 17px; height: 17px; color: var(--green); }

/* hero quick "what we do" tags */
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(26px, 3.5vw, 36px);
}
.heroA .hero-tags, .heroC .hero-tags { justify-content: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 11px 20px 11px 13px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-round); font-weight: 700;
  font-size: 15px; color: var(--ink);
}
.hero-tag .ti {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
}
.hero-tag .ti svg { width: 18px; height: 18px; }
.hero-tag .ti.blue { background: var(--blue-tint); color: var(--blue); }
.hero-tag .ti.green { background: var(--green-tint); color: var(--green-deep); }
.hero-tag .ti.grey { background: var(--grey-tint); color: var(--ink-2); }

/* hero B visual: stacked chat / service tiles */
.hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
}
.chat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.chat-card.me { margin-left: 36px; background: var(--blue-tint); border-color: var(--blue-soft); }
.chat-card.you { margin-right: 36px; }
.chat-ava {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
}
.chat-ava.u { background: var(--blue-soft); color: var(--blue-deep); }
.chat-ava.b { background: var(--green-soft); color: var(--green-deep); }
.chat-ava svg { width: 20px; height: 20px; }
.chat-body .who { font-family: var(--font-round); font-weight: 700; font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.chat-body .txt { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

.mini-tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
}
.mini-tile .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.mini-tile .tl { font-family: var(--font-round); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.mini-tile .ds { font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* ---------- icon tile ---------- */
.itile {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; flex: 0 0 auto;
}
.itile svg { width: 28px; height: 28px; }
.itile.blue  { background: var(--blue-tint);  color: var(--blue); }
.itile.green { background: var(--green-tint); color: var(--green-deep); }
.itile.grey  { background: var(--grey-tint);  color: var(--ink-2); }
.itile-lg { width: 64px; height: 64px; border-radius: 18px; }
.itile-lg svg { width: 32px; height: 32px; }

/* ---------- 課題提起 ---------- */
.problems { background: var(--bg-soft); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.problem-card .q {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px;
  background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center;
  font-family: var(--font-round); font-weight: 800; font-size: 17px;
}
.problem-card p { font-size: 16px; color: var(--ink-2); line-height: 1.85; padding-top: 4px; }

/* ---------- 解決提案 ---------- */
.solve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.solve-visual {
  position: relative;
  background: var(--bg-green);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.ladder { display: grid; gap: 14px; }
.ladder-step {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: var(--r-md);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.ladder-step .n {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: var(--font-round); font-weight: 800; font-size: 14px;
  background: var(--green-soft); color: var(--green-deep);
}
.ladder-step .t { font-family: var(--font-round); font-weight: 700; font-size: 15px; color: var(--ink); }
.ladder-step.l1 { width: 70%; }
.ladder-step.l2 { width: 85%; }
.ladder-step.l3 { width: 100%; }
.solve-points { display: grid; gap: 18px; margin-top: 30px; }
.solve-point { display: flex; gap: 14px; align-items: flex-start; }
.solve-point .chk { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; }
.solve-point .chk svg { width: 15px; height: 15px; }
.solve-point .pt-t { font-family: var(--font-round); font-weight: 700; font-size: 16px; color: var(--ink); }
.solve-point .pt-d { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* ---------- サービス3カード ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 36px);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--blue); opacity: 0; transition: opacity .35s;
}
.service-card.c2::after { background: var(--green); }
.service-card.c3::after { background: #8aa0ad; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { opacity: 1; }
.service-card .num { font-family: var(--font-round); font-weight: 800; font-size: 13px; color: var(--ink-3); letter-spacing: .1em; }
.service-card h3 { font-size: 23px; margin-top: 18px; }
.service-card .sc-desc { font-size: 15.5px; color: var(--ink-2); margin-top: 14px; line-height: 1.9; }
.service-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.service-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.service-card li svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 4px; color: var(--blue); }
.service-card.c2 li svg { color: var(--green); }
.service-card.c3 li svg { color: #8aa0ad; }

/* ---------- 選ばれる理由 ---------- */
.reasons { background: var(--bg-blue); }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.reason-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.reason-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reason-card .itile { margin-bottom: 16px; }
.reason-card h4 { font-size: 16.5px; line-height: 1.6; }
.reason-card p { font-size: 13.5px; color: var(--ink-2); margin-top: 9px; line-height: 1.8; }

/* ---------- 相談の流れ ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.flow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.flow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.flow-step {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-round); font-weight: 800;
  color: var(--blue); margin-bottom: 16px;
}
.flow-step .lab { font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.flow-step .no { font-size: 30px; line-height: 1; }
.flow-card .itile { margin-bottom: 16px; }
.flow-card h4 { font-size: 18px; }
.flow-card p { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.85; }
.flow-card .conn {
  position: absolute; right: -13px; top: 64px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--blue);
}
.flow-card .conn svg { width: 14px; height: 14px; }
.flow-card:last-child .conn { display: none; }

/* ---------- 料金 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 38px);
  text-align: center;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.price-card.feat {
  border-color: var(--blue-soft);
  box-shadow: var(--shadow);
  position: relative;
}
.price-card.feat::before {
  content: "おすすめ";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-family: var(--font-round); font-weight: 700; font-size: 12px;
  padding: 5px 16px; border-radius: var(--r-pill);
  letter-spacing: .08em;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card .itile { margin: 0 auto 18px; }
.price-card h3 { font-size: 19px; }
.price-card .amount { font-family: var(--font-round); font-weight: 800; color: var(--blue); font-size: clamp(28px, 4vw, 38px); margin-top: 14px; letter-spacing: .02em; }
.price-card .amount.quote { font-size: 22px; color: var(--ink); }
.price-card .amount small { font-size: 15px; color: var(--ink-3); font-weight: 500; }
.price-card .pdesc { font-size: 14px; color: var(--ink-2); margin-top: 14px; line-height: 1.8; flex: 1; }
.price-reassure {
  margin-top: 30px;
  background: var(--green-tint);
  border-radius: var(--r-md);
  padding: 22px 28px;
  display: flex; gap: 14px; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-round); font-weight: 700;
  color: var(--green-deep); font-size: 15.5px;
  flex-wrap: wrap;
}
.price-reassure svg { width: 22px; height: 22px; flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.open { border-color: var(--blue-soft); box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-round); font-weight: 700;
  font-size: clamp(15px, 1.6vw, 17px); color: var(--ink);
}
.faq-q .qmark {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px;
  background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center;
  font-family: var(--font-round); font-weight: 800; font-size: 15px;
}
.faq-q .qtext { flex: 1; }
.faq-q .toggle {
  width: 26px; height: 26px; flex: 0 0 auto; position: relative; color: var(--blue);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.faq-item.open .faq-q .toggle { transform: rotate(180deg); }
.faq-q .toggle svg { width: 26px; height: 26px; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.2,.7,.2,1);
}
.faq-a-inner {
  padding: 0 24px 26px 70px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.95;
}

/* ---------- 最終CTA ---------- */
.final-cta { position: relative; overflow: hidden; }
.cta-box {
  position: relative;
  background: linear-gradient(150deg, var(--blue) 0%, #4f9ac9 55%, #5ba88c 130%);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(48px, 7vw, 84px) clamp(28px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(63,136,190,.25);
}
.cta-box .deco {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta-box .deco.d1 { width: 260px; height: 260px; top: -120px; left: -60px; }
.cta-box .deco.d2 { width: 200px; height: 200px; bottom: -110px; right: -40px; background: rgba(255,255,255,.1); }
.cta-box h2 { color: #fff; font-size: clamp(24px, 3.6vw, 38px); position: relative; line-height: 1.5; }
.cta-box p { color: rgba(255,255,255,.92); margin-top: 18px; font-size: clamp(14px, 1.5vw, 16.5px); position: relative; }
.cta-box .hero-actions { justify-content: center; margin-top: 34px; position: relative; }
.cta-box .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.cta-box .btn-primary:hover { background: #fff; color: var(--blue); box-shadow: 0 14px 32px rgba(0,0,0,.22); }
.cta-box .btn-ghost { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.cta-box .btn-ghost:hover { background: rgba(255,255,255,.22); }
.cta-box .cta-fine { color: rgba(255,255,255,.85); font-size: 13px; margin-top: 20px; font-family: var(--font-round); }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: 44px 36px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner .brand-name { font-size: 20px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-round); font-weight: 700; font-size: 13.5px; color: var(--ink-2); transition: color .2s; }
.footer-nav a:hover { color: var(--blue); }
.copyright { color: var(--ink-3); font-size: 12.5px; margin-top: 22px; font-family: var(--font-round); }

/* ============================================================
   sub pages (privacy / about)
   ============================================================ */
.subpage-hero {
  background: linear-gradient(160deg, var(--bg-blue) 0%, var(--bg-green) 100%);
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.subpage-hero .crumbs {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-round); font-weight: 700; font-size: 13.5px;
  color: var(--ink-3); margin-bottom: 18px;
}
.subpage-hero .crumbs a { color: var(--blue-deep); }
.subpage-hero .crumbs a:hover { text-decoration: underline; }
.subpage-hero .crumbs .sep { color: var(--line-2); }
.subpage-hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: .03em; line-height: 1.4;
}
.subpage-hero p {
  font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-2);
  margin-top: 16px; max-width: 42em;
}
.subpage-hero .updated {
  display: inline-block; margin-top: 22px;
  font-family: var(--font-round); font-weight: 700; font-size: 13px;
  color: var(--green-deep); background: #fff;
  padding: 8px 18px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.subpage-body { padding-block: clamp(48px, 7vw, 84px); }
.doc { max-width: 820px; margin-inline: auto; }
.doc-section { margin-bottom: clamp(36px, 5vw, 52px); }
.doc-section:last-child { margin-bottom: 0; }
.doc-section h2 {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(19px, 2.4vw, 24px); letter-spacing: .03em;
  padding-bottom: 16px; border-bottom: 2px solid var(--line);
}
.doc-section h2 .no {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px;
  background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center;
  font-family: var(--font-round); font-weight: 800; font-size: 15px;
}
.doc-section > p { font-size: 16px; color: var(--ink-2); margin-top: 18px; line-height: 1.95; }
.doc-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.doc-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.85;
}
.doc-list li svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 5px; color: var(--green); }
.doc-list li b { color: var(--ink); font-family: var(--font-round); font-weight: 700; }

.info-table {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.info-row {
  display: grid; grid-template-columns: 200px 1fr;
}
.info-row + .info-row { border-top: 1px solid var(--line); }
.info-row .k {
  background: var(--bg-soft);
  padding: 18px 24px;
  font-family: var(--font-round); font-weight: 700;
  font-size: 15px; color: var(--ink);
  border-right: 1px solid var(--line);
}
.info-row .v {
  padding: 18px 24px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.85;
}
.info-row .v a { color: var(--blue-deep); font-weight: 700; }
.info-row .v a:hover { text-decoration: underline; }
.info-row .v ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.info-row .v li { display: flex; gap: 10px; align-items: flex-start; }
.info-row .v li svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; color: var(--green); }

.doc-note {
  margin-top: 30px;
  background: var(--bg-blue);
  border-radius: var(--r-md);
  padding: 22px 26px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.85;
}
.doc-note b { color: var(--ink); font-family: var(--font-round); }

.doc-cta {
  margin-top: clamp(40px, 6vw, 60px);
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 48px);
}
.doc-cta h3 { font-size: clamp(20px, 2.6vw, 26px); }
.doc-cta p { font-size: 15px; color: var(--ink-2); margin-top: 12px; }
.doc-cta .hero-actions { justify-content: center; margin-top: 26px; }

@media (max-width: 600px) {
  .info-row { grid-template-columns: 1fr; }
  .info-row .k { border-right: none; border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .info-row .v { padding: 16px 18px; }
  .doc-section h2 { font-size: 19px; }
}

/* ---------- hero switcher (review aid) ---------- */
.fv-switch {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  padding: 7px 8px 7px 16px;
  display: flex; align-items: center; gap: 10px;
}
.fv-switch .lbl { font-family: var(--font-round); font-weight: 700; font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }
.fv-switch .opts { display: flex; gap: 4px; }
.fv-switch button {
  width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--font-round); font-weight: 800; font-size: 14px;
  color: var(--ink-2); background: var(--grey-tint);
  transition: background .2s, color .2s, transform .2s;
}
.fv-switch button:hover { transform: translateY(-1px); }
.fv-switch button.active { background: var(--blue); color: #fff; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 980px) {
  .problem-grid, .service-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-card .conn { display: none; }
  .heroB .hero-inner { grid-template-columns: 1fr; }
  .heroB .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .solve-grid { grid-template-columns: 1fr; }
  .heroC .panel { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .menu-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--bg-soft); color: var(--ink);
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .mobile-nav {
    display: none;
    flex-direction: column;
    padding: 8px var(--gut) 20px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 13px 6px; font-family: var(--font-round); font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .problem-grid, .service-grid, .price-grid, .flow-grid { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .heroA .hero-actions, .heroC .hero-actions, .cta-box .hero-actions { align-items: stretch; }
  .hero-tag { font-size: 14px; padding: 10px 16px 10px 11px; flex: 1 1 100%; }
  .price-card.feat::before { font-size: 11px; }
  .fv-switch { right: 12px; bottom: 12px; padding: 6px 6px 6px 12px; }
  .fv-switch .lbl { display: none; }
  .faq-q { padding: 19px 18px; gap: 12px; }
  .faq-a-inner { padding: 0 18px 22px 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .brand-name { font-size: 20px; }
}

@media (max-width: 430px) {
  .reason-grid { grid-template-columns: 1fr; }
  .hero-tag { flex: 1 1 100%; justify-content: center; }
}
