/* ==========================================================
   サイヨウ90 ショートLP（広告誘導用）  style.css
   デザイン基盤は canvi-saiyou90-lp-4 を継承。
   構成：FV → 実績 → 8段階ファネル → 90日間の運用イメージ → 選ばれる理由 → よくあるご質問5問 → フォーム。
   CTAは「無料診断（フォーム）」が主役。文言は設置場所に合わせて変え、各CTAの右（SPは下）に「LINEで相談する」をサブで置く。
   ========================================================== */


:root {
  --brand: #0064F9;
  --brand-dark: #0047B8;
  --brand-strong: #0054D6;
  --brand-secondary: #1757B8;
  --brand-secondary-dark: #103E85;
  --brand-border: #B9D4FF;
  --brand-on-dark: #91BEFF;
  --brand-gradient: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  --surface: #F3F7FF;
  --surface-strong: #E6EFFF;
  --surface-blue: #EDF4FF;
  --ink: #1D1E1F;
  --gray: #666666;
  --gray-light: #F2F2F2;
  --line: #DFE6F0;
  --white: #ffffff;
  --navy: #173B70;
  --line-green: #06C755;
  --line-green-dark: #04A246;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-en: "Roboto", "Noto Sans JP", sans-serif;
  --container: 1200px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, dt, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; }
section { scroll-margin-top: 80px; }
.inner { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sp { display: none; }
.pc { display: inline; }
.note { font-size: .78rem; color: var(--gray); margin-top: 18px; line-height: 1.7; }
.note--center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 60px; padding: 0 2.4em;
  border-radius: 999px;
  background: var(--brand); color: #fff;
  font-weight: 900; font-size: 1.15rem; line-height: 1.3; letter-spacing: .04em;
  text-align: center; word-break: keep-all; overflow-wrap: anywhere; /* 長いCTA文言は<wbr>の位置で折り返す */
  box-shadow: 0 5px 0 var(--brand-dark);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, opacity .15s ease;
}
.btn::after {
  content: ""; width: .5em; height: .5em; margin-left: .2em;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
/* ホバーで少し明るく、押下で軽く縮める（点滅・バウンドはさせない） */
.btn:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--brand-dark); filter: brightness(1.08); }
.btn:active { transform: translateY(3px) scale(.97); }
.btn--header { min-height: 46px; font-size: 1rem; padding: 0 1.6em; box-shadow: none; white-space: nowrap; flex-shrink: 0; }
.btn--header:hover { transform: none; box-shadow: none; opacity: .85; }
.btn--header:active { transform: scale(.97); }
.btn--big { min-height: 84px; font-size: 1.5rem; padding: 0 3em; width: min(100%, 680px); }
.tag {
  display: inline-block; background: var(--brand-secondary); color: #fff;
  font-size: .72em; font-weight: 700; padding: .1em .6em; border-radius: 4px; line-height: 1.7;
}
.btn-wrap { text-align: center; margin-top: 44px; }
.btn-wrap .btn { width: min(100%, 620px); }
.btn-wrap .note { text-align: center; }
/* メインCTA（左・主役）＋LINEで相談する（右・サブ）。高さ・角丸・文字サイズはそろえ、LINEは幅を文言なりにして主役を立てる */
.cta-pair { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px 20px; }
.btn-wrap.cta-pair .btn { width: auto; min-width: min(100%, 440px); }
.btn--line {
  flex-shrink: 0; padding: 0 1.8em;
  background: var(--line-green); box-shadow: 0 5px 0 var(--line-green-dark);
}
.btn--line:hover { box-shadow: 0 2px 0 var(--line-green-dark); }
.btn-wrap.cta-pair .btn--line { min-width: 0; }
.btn__icon { width: 1.5em; height: 1.5em; flex-shrink: 0; margin-right: -.2em; }
.no-line [data-line-link], .no-line .line-alt { display: none !important; }
/* フォーム送信の代替（LINE）。送信ボタンと取り違えないよう、区切り線の下に小さめで置く */
.line-alt { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.line-alt__lead { margin-bottom: 8px; font-size: .8rem; font-weight: 700; line-height: 1.5; color: var(--gray); }
/* .form-card--fv .btn（送信ボタン用）より優先させ、送信ボタンと同じ大きさにしない */
.line-alt .btn.btn--line { min-height: 46px; padding: 0 1.6em; font-size: .95rem; box-shadow: 0 3px 0 var(--line-green-dark); }
.line-alt .btn.btn--line:hover { box-shadow: 0 1px 0 var(--line-green-dark); }
.line-alt--contact { max-width: 720px; margin: 24px auto 0; border-top: 0; padding-top: 0; }

/* ---------- 共通プリミティブ（lp-4 から継承） ---------- */
.story__kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--brand); font-weight: 900; font-size: 1.1rem; letter-spacing: .08em; margin-bottom: 16px; text-align: center;
}
.story__kicker::before, .story__kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; flex-shrink: 0; }
.story__kicker--light { color: var(--brand-on-dark); }
.story__h2 {
  text-align: center; font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(30px, 22px + 1.8vw, 50px); line-height: 1.45; letter-spacing: .04em; margin-bottom: 44px;
}
.story__h2 strong { color: var(--brand); font-weight: 900; }
.story__h2--light { color: #fff; }
.story__h2--light strong { color: var(--brand-on-dark); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.header__inner { gap: 16px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header__logo { display: block; flex-shrink: 0; }
.header__cta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.btn--header-line { font-size: .92rem; padding: 0 1.3em; }
.btn--header-line, .btn--header-line:hover { box-shadow: none; }
/* 元画像の透明余白を表示枠で抑え、ロゴ本体の縦横比を維持する。 */
.header__logo img { display: block; width: 280px; height: 48px; object-fit: cover; object-position: 50% 48%; }


/* ==========================================================
   1. FV
   ========================================================== */
/* 濃紺の全面背景に、右側へ人物写真を敷く。写真の左端は背景色へグラデーションで溶かし、
   左半分のコピー → CTA の順に視線を流す */
.fv {
  position: relative; overflow: hidden; color: #fff;
  background: #0A2A8C;
}
.fv__visual { position: absolute; inset: 0 0 0 auto; width: min(64%, 1100px); }
.fv__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.fv__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0A2A8C 0%, rgba(10,42,140,.75) 22%, rgba(10,42,140,0) 50%);
}

.fv__inner {
  position: relative; z-index: 1;
  width: min(100% - 48px, 1240px); margin-inline: auto;
  min-height: calc(100vh - 68px);
  display: flex; align-items: center;
  padding: clamp(24px, 5vh, 64px) 0;
}
@supports (height: 100svh) {
  .fv__inner { min-height: calc(100svh - 68px); }
}

.fv__main { max-width: 600px; display: flex; flex-direction: column; align-items: flex-start; }
.fv__eyebrow {
  font-weight: 900; font-size: clamp(14px, min(1.4vw, 2.4vh), 22px); line-height: 1.5; letter-spacing: .3em;
}
.fv__h1 {
  margin-top: clamp(8px, 1.6vh, 18px);
  font-weight: 900; font-size: clamp(40px, min(5.4vw, 9vh), 84px); line-height: 1.2; letter-spacing: .01em;
  background: linear-gradient(180deg, #FFF3C4 0%, #F2C94C 45%, #C8961E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
}
.fv__h1 span { display: block; white-space: nowrap; }
.fv__lead {
  margin-top: .6em;
  font-weight: 900; font-size: clamp(18px, min(2.2vw, 3.6vh), 34px); line-height: 1.5; letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.fv__cta { margin-top: clamp(28px, 5vh, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fv__btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: min(100%, 320px); min-height: 50px; padding: 10px 1em 6px;
  background: #FFE066; color: var(--ink); border-radius: 12px;
  font-weight: 900; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; text-align: center; text-decoration: none;
  box-shadow: 0 6px 0 #D9B520, 0 12px 24px rgba(0,0,0,.25);
  transition: transform .15s, box-shadow .15s;
}
.fv__btn strong { color: var(--brand); }
.fv__btn-free { margin-left: .6em; white-space: nowrap; }
.fv__btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 #D9B520, 0 8px 16px rgba(0,0,0,.25); }
.fv__btn-bubble {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -60%);
  background: var(--brand); color: #fff; font-size: .78em; padding: .3em 1.2em; border-radius: 4px; white-space: nowrap;
}
.fv__btn-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom: 0; border-top-color: var(--brand);
}
.fv__line { width: min(100%, 320px); min-height: 50px; padding: 0 1em; justify-content: center; font-size: .95rem; box-shadow: 0 3px 0 var(--line-green-dark); }

.fv__badges { list-style: none; margin: clamp(24px, 4vh, 40px) 0 0; padding: 0; display: flex; gap: clamp(12px, 2vw, 28px); }
.fv__badge { position: relative; width: clamp(130px, 11vw, 170px); aspect-ratio: 120 / 108; }
.fv__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fv__badge p {
  position: absolute; inset: 12% 27% 22%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-weight: 900; line-height: 1.25; color: #fff;
}
.fv__badge small { font-size: clamp(10px, .75vw, 12px); }
.fv__badge .fv__badge-sub { font-size: clamp(8px, .6vw, 10px); white-space: nowrap; }
.fv__badge b {
  font-size: clamp(24px, 2.1vw, 32px); line-height: 1.1;
  background: linear-gradient(180deg, #FFF3C4 0%, #F2C94C 50%, #C8961E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fv__badge b small { font-size: .4em; }

/* 初回表示：コピー → 補足 → CTA → 写真 の順に短く出す（1秒以内に完了）。
   JSを待たないCSSのみ。終了後は通常表示と同じ状態になる */
@media (prefers-reduced-motion: no-preference) {
  .fv__eyebrow, .fv__h1 { animation: fv-in .6s ease-out both; }
  .fv__lead { animation: fv-in .6s ease-out .12s both; }
  .fv__cta, .fv__badges { animation: fv-in .5s ease-out .24s both; }
  .fv__visual { animation: fv-fade .7s ease-out .3s both; }
}
@keyframes fv-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes fv-fade { from { opacity: 0; } }

/* 中間幅：写真を上に、コピーを下に重ねる */
@media (max-width: 900px) {
  .fv__visual { width: 100%; height: 56%; inset: 0 0 auto 0; }
  .fv__visual::after { background: linear-gradient(180deg, rgba(10,42,140,0) 50%, #0A2A8C 100%); }
  .fv__inner { width: min(100% - 40px, 640px); min-height: 0; align-items: flex-end; padding: 46vw 0 36px; }
}

/* ==========================================================
   2. cases（実績）─ 3社の「導入前 → 導入後」カード → 3社合計
   ========================================================== */
/* 薄い青の背景でセクションをまとめ、白いパネル（合計・カード）を浮かせる */
.cases { position: relative; background: linear-gradient(180deg, #fff 0%, var(--surface) 22%, var(--surface) 100%); padding: 104px 0 80px; overflow: hidden; }
.cases__en { font-family: var(--font-en); font-weight: 900; font-size: 13px; letter-spacing: .32em; color: var(--brand); opacity: .55; text-align: center; margin-bottom: 6px; }
.cases .story__h2 { font-size: clamp(32px, 22px + 2.2vw, 56px); line-height: 1.4; margin-bottom: 40px; }
.cases .story__h2 strong { display: inline-block; margin-top: 4px; font-size: .78em; }
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1160px; margin: 0 auto; }
/* 事例カード：業種ラベル → 背景（箇条書き） → ▼ → 成果（青パネル） */
.cc { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 24px; padding: 32px 30px; box-shadow: 0 12px 32px -14px rgba(23,59,112,.18); }
.cc__who { align-self: flex-start; padding: 6px 16px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 1.05rem; font-weight: 900; letter-spacing: .04em; }
.cc__bg { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 150px; margin: 16px 0 0; padding: 20px 24px; border-radius: 14px; background: var(--gray-light); list-style: none; }
.cc__bg li { position: relative; padding-left: 1.3em; font-size: 1rem; font-weight: 700; line-height: 1.5; color: #444; }
.cc__bg li::before { content: "・"; position: absolute; left: 0; }
.cc__bg b { font-size: 1.15em; font-weight: 900; color: var(--ink); }
.cc__after { position: relative; margin-top: 56px; padding: 26px 22px 24px; border-radius: 16px; background: var(--brand-gradient); color: #fff; }
.cc__after::before { content: ""; position: absolute; left: 50%; top: -40px; transform: translateX(-50%); border-style: solid; border-color: var(--brand) transparent transparent; border-width: 20px 15px 0; }
.cc__term { font-size: .92rem; font-weight: 900; }
.cc__after dl { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 10px; }
.cc__after dl div { text-align: center; }
.cc__after dt { font-size: .92rem; font-weight: 900; }
.cc__after dd { font-size: 1.1rem; font-weight: 900; white-space: nowrap; }
.cc__after dd strong { font-family: var(--font-en); font-size: 3.6rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
/* 採用単価：青パネル右上に重ねる白い丸 */
.cc__extra { position: absolute; top: -32px; right: -16px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: 0 6px 16px rgba(23,59,112,.2); font-size: .8rem; font-weight: 900; line-height: 1.2; }
.cc__extra span { font-size: .9rem; }
.cc__extra strong { font-family: var(--font-en); font-size: 1.8rem; }
/* 3社の応募数の合計。見出しの直下に置き、238をセクションでいちばん大きな数字にする（採用数とは並べない） */
.totals { position: relative; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--brand-border); border-radius: 24px; padding: 30px 40px 28px; text-align: center; box-shadow: 0 24px 48px -24px rgba(0,100,249,.35); }
.totals::before { content: ""; position: absolute; left: 50%; top: -1px; width: 120px; height: 4px; border-radius: 0 0 4px 4px; background: var(--brand-gradient); transform: translateX(-50%); }
.totals__cap { display: inline-flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 900; color: var(--navy); letter-spacing: .1em; }
.totals__cap::before, .totals__cap::after { content: ""; width: 24px; height: 1px; background: var(--brand-border); }
.totals__num { display: flex; align-items: baseline; justify-content: center; gap: .25em; margin-top: 4px; }
.totals__num strong { font-family: var(--font-en); font-weight: 900; font-size: clamp(96px, 11vw, 152px); line-height: 1; letter-spacing: -.03em; color: var(--brand); }
.totals__num span { font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; letter-spacing: .08em; color: var(--ink); }
.totals__lead { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1rem; font-weight: 700; line-height: 1.7; }
.totals + .case-cards { margin-top: 40px; }
.cases .note { max-width: 760px; margin-inline: auto; }
/* 実績 → ファネルの橋渡し。下向きの矢印で次のセクションへ視線を送る */
.cases__bridge { margin-top: 44px; text-align: center; font-size: 1.08rem; font-weight: 700; line-height: 1.8; color: var(--gray); }
.cb__fact { display: block; margin-bottom: 10px; font-family: var(--font-serif); font-weight: 900; font-size: clamp(20px, 1.9vw, 26px); color: var(--brand); }
.cases__bridge strong { display: inline-block; margin-top: 2px; font-family: var(--font-serif); font-weight: 900; font-size: clamp(19px, 1.7vw, 24px); color: var(--ink); }
.cases__bridge::after { content: ""; display: block; width: 14px; height: 14px; margin: 20px auto 0; border-right: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(45deg); }

/* ==========================================================
   3. funnelsec（8段階ファネル）
   ========================================================== */
.funnelsec { background: var(--ink); color: #fff; padding: 100px 0 92px; position: relative; overflow: hidden; }
.funnelsec::before, .funnelsec::after { content: ""; position: absolute; border-radius: 50%; background: var(--brand); opacity: .16; filter: blur(30px); }
.funnelsec::before { width: 460px; height: 460px; left: -140px; top: -180px; }
.funnelsec::after { width: 380px; height: 380px; right: -120px; bottom: -200px; }
.funnelsec .inner { position: relative; z-index: 1; }
/* PCは8段階を横一列に並べ、カードの間を三角の矢印でつなぐ（8＝採用だけ塗りつぶし） */
.funnel {
  --gap-x: 18px; --flow: var(--brand-on-dark);
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--gap-x);
}
.funnel li {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 18px 4px; border-radius: 14px; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(145,190,255,.22);
  box-shadow: 0 12px 28px -18px rgba(0,0,0,.6);
  line-height: 1.35;
}
.funnel li:nth-child(8) { background: var(--brand); border-color: var(--brand); box-shadow: 0 4px 0 var(--brand-dark), 0 14px 32px -12px rgba(0,100,249,.85); }
.funnel li i { font-style: normal; font-family: var(--font-en); font-weight: 900; color: var(--brand-on-dark); font-size: 1.8rem; line-height: 1.1; }
.funnel li b { font-size: 1.02rem; font-weight: 900; white-space: nowrap; }
.funnel li span { font-size: .72rem; font-weight: 500; color: #c9d2e0; white-space: nowrap; }
.funnel li:last-child i { color: #fff; }
/* 右向きの三角矢印 */
.funnel li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; left: calc(100% + var(--gap-x) / 2 - 4px); margin-top: -7px;
  border-style: solid; border-width: 7px 0 7px 9px; border-color: transparent transparent transparent var(--flow);
}
.funnel__msg { margin-top: 44px; text-align: center; font-family: var(--font-serif); font-weight: 900; line-height: 1.6; }
.funnel__msg span { display: block; font-size: clamp(17px, 1.6vw, 22px); color: #c9d2e0; }
.funnel__msg strong { display: block; font-size: clamp(22px, 2.6vw, 36px); color: #fff; }
.funnel__lead { margin-top: 40px; text-align: center; font-size: 1.12rem; font-weight: 700; line-height: 1.85; color: #e3e8f0; }
/* ファネル上の導入：8段階で確認する */
.funnel__intro { margin: -20px auto 40px; text-align: center; font-size: 1.12rem; font-weight: 700; line-height: 1.85; color: #c9d2e0; }
.funnel__intro strong { color: var(--brand-on-dark); font-weight: 900; }
/* 改善の進め方（特定 → 改善）。カードで囲まず、01 の8段階図 → 02 の改善先3つ を矢印でつなぐ。
   01 の段階は 02 と同じ区切り（求人 / 応募 / 選考）で束ね、下の括弧ラベルで 02 とつなげる */
.funnel__sub { margin-top: 14px; text-align: center; font-size: 1.05rem; font-weight: 700; line-height: 1.7; color: #c9d2e0; }
.guarantee { max-width: 980px; margin: 44px auto 0; }
.guarantee__steps { display: flex; flex-direction: column; gap: 52px; }
.guarantee__steps > li { position: relative; display: grid; justify-items: center; gap: 18px; }
.guarantee__steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -34px; width: 12px; height: 12px;
  border-right: 3px solid var(--brand-on-dark); border-bottom: 3px solid var(--brand-on-dark); transform: translateX(-50%) rotate(45deg);
}
.gs__head { display: flex; align-items: baseline; }
.gs__head i { font-style: normal; font-family: var(--font-en); font-weight: 900; font-size: 1.1rem; color: var(--brand-on-dark); letter-spacing: .06em; }
.gs__head i::after { content: "｜"; color: rgba(145,190,255,.6); }
.gs__head b { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 900; white-space: nowrap; }
.gs__note { font-size: .98rem; font-weight: 700; line-height: 1.7; color: #e3e8f0; text-align: center; }
/* 01：8段階の図 */
.gs__stages { --arrow: 14px; width: 100%; display: flex; gap: var(--arrow); }
.gs__grp { position: relative; display: flex; gap: var(--arrow); min-width: 0; padding-bottom: 32px; }
.gs__grp:nth-child(1), .gs__grp:nth-child(2) { flex: 2; }
.gs__grp:nth-child(3) { flex: 4; }
.gs__grp::before {
  content: attr(data-range); position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  font-size: .82rem; font-weight: 900; color: var(--brand-on-dark); white-space: nowrap;
}
.gs__grp::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 22px; height: 7px;
  border: 1.5px solid rgba(145,190,255,.5); border-top: 0; border-radius: 0 0 6px 6px;
}
.gs__grp li {
  position: relative; flex: 1; min-width: 0; padding: 11px 4px; border-radius: 8px; text-align: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(145,190,255,.25);
  font-size: .86rem; font-weight: 900; line-height: 1.3; white-space: nowrap; color: #fff;
}
.gs__grp:last-child li:last-child { background: var(--brand); border-color: var(--brand); }
.gs__grp li::after {
  content: ""; position: absolute; top: 50%; left: calc(100% + var(--arrow) / 2 - 3px); margin-top: -5px;
  border-style: solid; border-width: 5px 0 5px 6px; border-color: transparent transparent transparent var(--brand-on-dark);
}
.gs__grp:last-child li:last-child::after { content: none; }
/* 02：改善先（アイコン＋名称だけ） */
.gs__fix { display: flex; justify-content: center; gap: 56px; }
.gs__fix li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 900; color: #fff; }
.gs__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px -12px rgba(0,100,249,.9); }
.gs__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* 締め */
.guarantee__close { margin-top: 48px; text-align: center; font-family: var(--font-serif); font-weight: 900; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.5; color: #fff; }
.guarantee__close strong { color: var(--brand-on-dark); border-bottom: 3px solid var(--brand); }

/* ==========================================================
   3.5 days（90日間の運用イメージ）─ 探す → 寄せる → 確立する
   ========================================================== */
.days { background: var(--surface-blue); padding: 96px 0 80px; }
.days .story__h2 { margin-bottom: 14px; }
.days__intro { margin-bottom: 40px; text-align: center; font-size: 1.12rem; font-weight: 700; line-height: 1.8; color: var(--gray); }
/* 横並びのタイムライン：番号の丸を線でつなぎ、その下にカード。
   段階が進むほど丸とカードの青が濃くなり、最後の1枚だけ青で塗って「確立」を見せる */
.days__phases { --gap: 32px; --mk: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); max-width: 1160px; margin: 0 auto; }
.dp { position: relative; display: flex; flex-direction: column; }
.dp__mark {
  position: relative; z-index: 1; display: grid; place-items: center; width: var(--mk); height: var(--mk); margin: 0 auto 18px;
  border: 2px solid var(--brand); border-radius: 50%; background: #fff;
  font-family: var(--font-en); font-weight: 900; font-size: 1.05rem; color: var(--brand);
}
.dp:nth-child(2) .dp__mark { background: var(--surface-strong); }
.dp:last-child .dp__mark { background: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(0,100,249,.15); }
/* 丸から次の丸への接続線（::after）と先端の矢印（::before） */
.dp:not(:last-child)::after {
  content: ""; position: absolute; top: calc(var(--mk) / 2 - 1px); left: calc(50% + var(--mk) / 2 + 8px); width: calc(100% + var(--gap) - var(--mk) - 16px); height: 2px;
  background: linear-gradient(90deg, var(--brand-border), var(--brand)); transform-origin: left center;
}
.dp:not(:last-child)::before {
  content: ""; position: absolute; top: calc(var(--mk) / 2 - 5px); left: calc(150% + var(--gap) - var(--mk) / 2 - 16px); width: 8px; height: 8px;
  border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg);
}
.dp__body { flex: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--brand-border); border-radius: 18px; padding: 22px 22px 20px; }
.dp:nth-child(2) .dp__body { border-color: var(--brand); }
.dp__head { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; }
.dp__phase { font-family: var(--font-en); font-weight: 900; font-size: .8rem; letter-spacing: .1em; color: var(--brand); }
.dp__term { font-weight: 900; font-size: .95rem; white-space: nowrap; }
.dp__term b { font-family: var(--font-en); font-size: 1.7rem; line-height: 1; letter-spacing: -.01em; margin-right: .1em; color: var(--ink); }
.dp__name { margin-top: 8px; font-family: var(--font-serif); font-weight: 900; font-size: 1.9rem; line-height: 1.3; letter-spacing: .06em; }
.dp__goal { margin-top: 2px; font-weight: 900; font-size: 1rem; line-height: 1.55; color: var(--brand-dark); }
.dp__acts { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.dp__acts li { position: relative; padding-left: 1.2em; font-size: .93rem; font-weight: 500; line-height: 1.6; }
.dp__acts li::before { content: ""; position: absolute; left: .1em; top: .62em; width: .45em; height: .45em; border-radius: 50%; background: var(--brand); }
/* 見る数字は文章にせず、小さなチップで並べる */
.dp__kpi { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dp__kpi small { margin-right: 2px; font-size: .74rem; font-weight: 900; letter-spacing: .08em; color: var(--brand); }
.dp__kpi ul { display: contents; }
.dp__kpi li { padding: 3px 10px; border: 1px solid var(--brand-border); border-radius: 999px; background: var(--surface-blue); font-size: .78rem; font-weight: 700; line-height: 1.5; }

.dp:last-child .dp__body { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 12px 28px -12px rgba(0,100,249,.7); }
.dp:last-child .dp__phase, .dp:last-child .dp__term b, .dp:last-child .dp__goal, .dp:last-child .dp__kpi small { color: #fff; }
.dp:last-child .dp__acts { border-top-color: rgba(255,255,255,.35); }
.dp:last-child .dp__acts li::before { background: #fff; }
.dp:last-child .dp__kpi li { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.16); }
.days .note { max-width: 1160px; margin: 22px auto 0; }

/* ==========================================================
   4. reasons（選ばれる理由）─ 専門知見 → 一貫支援 → 継続改善
   ========================================================== */
.reasons { background: #fff; padding: 96px 0 80px; }
.reasons .story__h2 { margin-bottom: 14px; }
.reasons__intro { margin-bottom: 40px; text-align: center; font-size: 1.12rem; font-weight: 700; line-height: 1.7; color: var(--gray); }
/* 3枚とも同じ型：アイコン → 番号 → 見出し → 1文 → 補足タグ。見出しを主役にし、説明は控えめに */
.reason-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1160px; margin: 0 auto; }
.rc { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--surface); border-radius: 20px; padding: 36px 26px 28px; transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .reason-cards .rc:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 71, 184, .12); } }
.rc__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--brand-gradient); box-shadow: 0 8px 18px rgba(0, 100, 249, .22); }
.rc__icon svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rc__main { display: flex; flex-direction: column; align-items: center; flex: 1; }
.rc__no { margin-top: 18px; font-family: var(--font-en); font-weight: 900; font-size: .95rem; letter-spacing: .14em; color: var(--brand); }
.rc__title { margin-top: 4px; font-family: var(--font-serif); font-weight: 900; font-size: 1.5rem; line-height: 1.45; letter-spacing: .02em; }
.rc__body { margin-top: 14px; font-size: .95rem; font-weight: 500; line-height: 1.8; color: #444; }
.rc__body strong { white-space: nowrap; font-weight: 900; color: var(--brand-dark); }
.rc__tag { margin-top: auto; padding-top: 18px; font-size: .8rem; font-weight: 700; line-height: 1.6; color: var(--brand-dark); }
.rc__tag::before { content: ""; display: block; width: 28px; height: 2px; margin: 0 auto 12px; background: var(--brand-border); }
.reasons .note { max-width: 1160px; margin: 22px auto 0; }
/* アイコンは本体のフェードインに少し遅れて、軽く拡大して出す */
@media (prefers-reduced-motion: no-preference) {
  .rc.rv .rc__icon { transform: scale(.7); opacity: 0; transition: transform .45s cubic-bezier(.3,1.4,.5,1) .15s, opacity .3s ease .15s; }
  .rc.rv.is-in .rc__icon { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rc, .reason-cards .rc:hover { transition: none; transform: none; }
}

/* ==========================================================
   5. doubts（よくある不安）
   ========================================================== */
.doubts { padding: 96px 0 88px; background: var(--surface); }
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px 20px; }
.faq__q { position: relative; margin: 0; padding-left: 40px; font-family: var(--font-serif); font-weight: 900; font-size: 1.16rem; line-height: 1.55; text-wrap: pretty; }
.faq__q::before { content: "Q"; position: absolute; left: 0; top: -.05em; font-family: var(--font-en); font-weight: 900; color: var(--brand); font-size: 1.45rem; line-height: 1.4; }
.faq__a p { position: relative; margin: 14px 0 0; padding: 14px 0 0 40px; border-top: 1px dashed var(--line); font-size: 1.04rem; line-height: 1.9; font-weight: 500; overflow-wrap: anywhere; }
.faq__a p::before { content: "A"; position: absolute; left: 0; top: 12px; font-family: var(--font-en); font-weight: 900; color: var(--brand-secondary); font-size: 1.45rem; line-height: 1.4; }
.faq__a strong { font-weight: 900; color: var(--brand-dark); }

/* ==========================================================
   6. contact / form
   ========================================================== */
.contact { background: #fff; padding: 96px 0; }
.story__h2--form { margin-bottom: 16px; }
.contact__lead { text-align: center; font-weight: 700; font-size: 1.25rem; line-height: 1.7; margin-bottom: 16px; color: var(--brand-dark); }
.contact__check { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 32px; }
.contact__check li { position: relative; padding-left: 1.7em; font-weight: 700; font-size: 1rem; line-height: 1.6; }
.contact__check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.15em; height: 1.15em; border-radius: 50%; background: var(--brand); }
.contact__check li::after { content: ""; position: absolute; left: .4em; top: .38em; width: .32em; height: .6em; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.form-card { background: var(--surface); border-radius: 20px; padding: 28px 26px 26px; }
.form-card--wide { max-width: 720px; margin: 0 auto; padding: 32px 40px; }
.form-card__note { text-align: center; font-size: .9rem; color: var(--brand); font-weight: 700; margin: 0 0 1.2em; line-height: 1.5; }
.form .field { margin-bottom: 12px; }
.form label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 4px; line-height: 1.4; }
.req { display: inline-block; background: var(--brand); color: #fff; font-size: .68rem; padding: 0 .5em; border-radius: 3px; margin-left: .5em; line-height: 1.7; vertical-align: middle; }
.form input[type="text"], .form input[type="email"], .form input[type="url"] {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
  font: inherit; font-size: 1rem; line-height: 1.5; background: #fff; color: var(--ink);
}
.form input:focus { outline: 2px solid var(--brand-secondary); border-color: transparent; }
.form .agree { display: flex; gap: .5em; align-items: flex-start; font-size: .82rem; font-weight: 500; margin: 6px 0 14px; line-height: 1.5; }
.form .agree input { margin-top: .25em; }
.form .agree a { text-decoration: underline; }
.form .btn { width: 100%; }
.form__done { text-align: center; font-weight: 700; padding: 24px 0; color: var(--brand); }
.form__error { margin-top: 12px; font-size: 14px; color: #d33; text-align: center; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field--full { grid-column: 1 / -1; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 48px 0 32px; font-size: .88rem; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer__logo { display: inline-block; padding: 8px 12px; background: #fff; border-radius: 8px; }
.footer__brand img { display: block; width: 250px; height: 44px; object-fit: cover; object-position: 50% 48%; }
.footer__tagline { margin-top: 10px; font-weight: 700; color: #ddd; }
.footer__company { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; max-width: 560px; line-height: 1.6; }
.footer__company dt { font-weight: 700; color: #bbb; }
.footer__links { display: flex; gap: 24px; margin-top: 30px; font-size: .8rem; flex-wrap: wrap; }
.footer__links a { text-decoration: underline; }
.footer__copy { margin-top: 18px; font-size: .75rem; color: #bbb; }

/* ---------- SP固定CTA（PCでは非表示） ---------- */
.sp-cta { display: none; }

/* ---------- スクロール表示 ----------
   .rv は main.js が付ける（JS無効・IntersectionObserver非対応・動きを減らす設定では付かず、最初から表示）。
   画面に入ると .is-in を付けて表示。--rv-delay は同時に画面に入った要素どうしの表示間隔 */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(12px); transition: opacity .45s ease-out, transform .45s ease-out; transition-delay: var(--rv-delay, 0s); }
  .rv.is-in { opacity: 1; transform: none; }
  /* 読むことが目的のFAQは動かさず、薄く出すだけ */
  .rv--fade { transform: none; transition-duration: .3s; }
  /* 工程図（特定→改善、90日の3段階）の矢印は、前のカードが出てから描く */
  .guarantee__steps > li.rv:not(:last-child)::after,
  .dp.rv:not(:last-child)::before { opacity: 0; transition: opacity .2s ease-out; transition-delay: calc(var(--rv-delay, 0s) + .55s); }
  .dp.rv:not(:last-child)::after { transform: scale(0, 1); transition: transform .4s ease-out; transition-delay: calc(var(--rv-delay, 0s) + .2s); }
  .dp.rv.is-in::before { opacity: 1; }
  .guarantee__steps > li.rv.is-in::after,
  .dp.rv.is-in::after { transform: none; }
  /* ファネルの矢印はカードが出てから描く。ホバーでわずかに浮かせる（transform は表示演出が使うので translate で動かす） */
  .funnel > li.rv::after { opacity: 0; transition: opacity .25s ease-out; transition-delay: calc(var(--rv-delay, 0s) + .25s); }
  .funnel > li.rv.is-in::after { opacity: 1; }
  .funnel > li {
    transition: opacity .45s ease-out, transform .45s ease-out, translate .2s ease-out, border-color .2s ease-out;
    transition-delay: var(--rv-delay, 0s), var(--rv-delay, 0s), 0s, 0s;
  }
  @media (hover: hover) {
    .funnel > li:hover { translate: 0 -3px; border-color: rgba(145,190,255,.5); }
  }
}
@media print {
  .rv, .rv::after { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1024px) {
  /* タブレット以下は縦一列。幅は一番長い行に合わせて中央に寄せ、帯を下向きの三角でつなぐ */
  .funnel { --gap-x: 14px; width: fit-content; max-width: 100%; grid-template-columns: auto; }
  .funnel li { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 9px 18px; border-radius: 10px; text-align: left; }
  .funnel li i { width: 1.2em; font-size: 1.25rem; text-align: center; }
  .funnel li b { font-size: 1.02rem; }
  .funnel li span { margin-left: auto; padding-left: 10px; font-size: .78rem; }
  .funnel li:not(:last-child)::after {
    top: calc(100% + var(--gap-x) / 2 - 4px); left: 50%; margin: 0 0 0 -7px;
    border-width: 8px 7px 0 7px; border-color: var(--flow) transparent transparent transparent;
  }
  .btn--header-line { display: none; }
  /* 事例カード：1社1行。左に背景、▶、右に成果 */
  .case-cards { grid-template-columns: 1fr; max-width: 720px; gap: 30px; }
  .cc { display: grid; grid-template-columns: 1fr 1.45fr; column-gap: 22px; padding: 30px 14px 14px; border-radius: 18px; }
  .cc__who { position: absolute; top: -13px; left: 14px; }
  .cc__bg { min-height: 0; margin: 0; padding: 12px 10px; gap: 4px; }
  .cc__after { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 14px 8px 12px; border-radius: 14px; text-align: center; }
  .cc__after::before { left: -17px; top: 50%; transform: translateY(-50%); border-color: transparent transparent transparent var(--brand); border-width: 9px 0 9px 11px; }
  .cc__after dd strong { font-size: 2.8rem; }
  .cc__extra { top: -26px; right: -8px; width: 76px; height: 76px; font-size: .68rem; }
  .cc__extra strong { font-size: 1.3rem; }
  .reason-cards { grid-template-columns: 1fr; max-width: 720px; }
  /* 選ばれる理由：1列になったらアイコン左・本文右の横組みにして縦に伸ばさない */
  .rc { flex-direction: row; align-items: flex-start; gap: 20px; text-align: left; padding: 24px 26px; }
  .rc__icon { flex-shrink: 0; width: 64px; height: 64px; }
  .rc__icon svg { width: 30px; height: 30px; }
  .rc__main { align-items: flex-start; }
  .rc__no { margin-top: 0; }
  .rc__tag { padding-top: 8px; }
  .rc__tag::before { display: none; }
  /* 90日：縦型タイムライン。左に番号の丸、丸どうしを縦線でつなぐ */
  .days__phases { --gap: 20px; --mk: 40px; grid-template-columns: 1fr; max-width: 720px; }
  .dp { display: grid; grid-template-columns: var(--mk) 1fr; column-gap: 14px; align-items: start; }
  .dp__mark { margin: 0; font-size: .92rem; }
  .dp:not(:last-child)::after { top: calc(var(--mk) + 6px); left: calc(var(--mk) / 2 - 1px); width: 2px; height: calc(100% + var(--gap) - var(--mk) - 12px); background: linear-gradient(180deg, var(--brand-border), var(--brand)); transform-origin: center top; }
  .dp:not(:last-child)::before { display: none; }
}

/* 3ステップ：中間幅では見出しを上に置き、02の表を窮屈にしない */
@media (max-width: 900px) {
  /* タブレット以下の改善の進め方。01：区切りごとに1行。左に改善先ラベル、行の間は下向きの三角 */
  .gs__stages { --arrow: 11px; flex-direction: column; }
  .gs__grp { padding: 0 0 0 36px; }
  .gs__grp::before { left: 0; top: 50%; bottom: auto; transform: translateY(-50%); font-size: .76rem; }
  .gs__grp::after { left: calc(50% + 13px); right: auto; top: calc(100% + 3px); bottom: auto; height: 0; border-style: solid; border-width: 6px 5px 0 5px; border-color: var(--brand-on-dark) transparent transparent transparent; border-radius: 0; }
  .gs__grp:last-child::after { content: none; }
  .gs__grp li { padding: 9px 0; font-size: .76rem; letter-spacing: -.02em; }
  .gs__grp:not(:last-child) li:last-child::after { content: none; }
}

@media (max-width: 767px) {
  .sp { display: inline; }
  .pc { display: none; }
  /* 下部の固定バー（メイン＋LINEの2段）ぶん余白をとる */
  body { font-size: 15.5px; }
  .inner { width: min(100% - 32px, var(--container)); }
  section { scroll-margin-top: 64px; }

  .story__kicker { font-size: .95rem; gap: 10px; margin-bottom: 12px; }
  .story__kicker::before, .story__kicker::after { width: 18px; }
  .story__h2 { font-size: 27px; margin-bottom: 30px; letter-spacing: .02em; }

  .header__inner { height: 56px; gap: 10px; }
  .header__logo img { width: clamp(128px, 40vw, 200px); height: 36px; }
  /* SPはCTA文言を省略せずに済むよう、ヘッダーのボタンは出さず下部の固定バーに任せる */
  .btn--header { display: none; }

  /* SPは中央揃えの縦並び：コピー → CTA → 写真、バッジは写真の下端に重ねる。
     .fv__inner/.fv__main を display: contents にして、写真をCTAとバッジの間に並べ替える */
  /* ヘッダー（56px）を除いた1画面に収める。写真は残りの高さに合わせて伸縮させる */
  .fv { display: flex; flex-direction: column; align-items: center; height: calc(100vh - 56px); min-height: 560px; padding: 24px 16px 16px; text-align: center; }
  @supports (height: 100svh) { .fv { height: calc(100svh - 56px); } }
  .fv__inner, .fv__main { display: contents; }
  .fv__eyebrow { order: 1; font-size: clamp(12px, 3.6vw, 15px); letter-spacing: .2em; }
  .fv__h1 { order: 2; margin-top: 8px; font-size: clamp(40px, 13vw, 56px); line-height: 1.15; }
  .fv__lead { order: 3; margin-top: 6px; font-size: clamp(14px, 4.4vw, 20px); white-space: nowrap; letter-spacing: 0; }
  .fv__cta { order: 4; position: relative; z-index: 1; width: 100%; align-items: center; margin-top: 22px; }
  .fv__btn { width: min(100%, 300px); font-size: clamp(15px, 4.2vw, 18px); }
  .fv__line { width: min(100%, 300px); }
  .fv__visual { order: 5; position: relative; inset: auto; width: calc(100% + 32px); height: auto; flex: 1 1 0; min-height: 0; margin-top: 20px; }
  .fv__visual img { object-position: 50% 0; }
  .fv__visual::after { background: linear-gradient(180deg, rgba(10,42,140,0) 45%, rgba(10,42,140,.7) 75%, rgba(10,42,140,.9) 100%); }
  .fv__badges { order: 6; position: relative; z-index: 1; margin-top: -24vw; }
  .fv__badges { width: 100%; justify-content: space-between; gap: 4px; }
  .fv__badge { width: 32%; }
  .fv__badge small { font-size: 9px; }
  .fv__badge .fv__badge-sub { font-size: 7px; }
  .fv__badge b { font-size: 20px; }

  .cases, .doubts { padding: 68px 0 60px; }
  .cases { padding: 56px 0 48px; }
  .cases__bridge { margin-top: 32px; font-size: .95rem; }
  .cb__fact { font-size: 21px; line-height: 1.5; margin-bottom: 8px; }
  .cases__bridge strong { font-size: 18px; line-height: 1.6; }
  .cases__bridge::after { margin-top: 16px; }
  .funnelsec { padding: 72px 0 64px; }
  .contact { padding: 64px 0; }

  /* SP：合計は1枚にまとめ、3社のカードは横3列のまま要点を縮めて並べる（縦積みにしない） */
  .cases__en { font-size: 11px; margin-bottom: 4px; }
  .cases .story__h2 { font-size: clamp(25px, 7.4vw, 30px); margin-bottom: 22px; }
  .totals { padding: 16px 14px 14px; border-radius: 18px; }
  .totals::before { width: 80px; }
  .totals__cap { font-size: .78rem; gap: 8px; }
  .totals__cap::before, .totals__cap::after { width: 16px; }
  .totals__num { margin-top: 0; }
  .totals__num strong { font-size: clamp(72px, 22vw, 92px); }
  .totals__num span { font-size: 20px; }
  .totals__lead { margin-top: 10px; padding-top: 10px; font-size: .84rem; line-height: 1.6; }
  .totals + .case-cards { margin-top: 28px; }
  .cc { column-gap: 18px; padding: 26px 10px 12px; }
  .cc__who { left: 10px; padding: 4px 12px; font-size: 14px; }
  .cc__bg { padding: 10px 8px; }
  .cc__bg li { font-size: 12px; }
  .cc__term { font-size: 11px; }
  .cc__after { padding: 12px 6px 10px; }
  .cc__after dt { font-size: 11px; }
  .cc__after dd { font-size: 12px; }
  .cc__after dd strong { font-size: clamp(26px, 8vw, 32px); }
  .cc__extra { top: -22px; right: -6px; width: 60px; height: 60px; font-size: 9px; }
  .cc__extra span { font-size: 10px; }
  .cc__extra strong { font-size: 15px; }

  /* SPは帯を細く・小さくして、ファネル全体を画面の6〜7割の幅に収める */
  .funnel { --gap-x: 11px; }
  .funnel li { gap: 10px; padding: 6px 14px; border-radius: 8px; }
  .funnel li i { font-size: 1rem; }
  .funnel li b { font-size: .86rem; }
  .funnel li span { font-size: .7rem; }
  .funnel li:not(:last-child)::after { margin-left: -5px; border-width: 6px 5px 0 5px; }
  .funnel__msg { margin-top: 32px; }
  .funnel__intro { margin: -12px 0 28px; font-size: 1.02rem; }
  .funnel__sub { margin-top: 10px; font-size: .95rem; }
  .guarantee { margin-top: 32px; }
  .guarantee__steps { gap: 40px; }
  .guarantee__steps > li { gap: 14px; }
  .guarantee__steps > li:not(:last-child)::after { bottom: -26px; width: 10px; height: 10px; }
  .gs__head b { font-size: 1.3rem; }
  .gs__note { font-size: .92rem; }
  .gs__fix { gap: 32px; }
  .gs__fix li { gap: 8px; font-size: 1rem; }
  .gs__icon { width: 52px; height: 52px; }
  .gs__icon svg { width: 26px; height: 26px; }
  .guarantee__close { margin-top: 36px; font-size: clamp(21px, 6vw, 26px); }
  .funnel__msg strong { font-size: clamp(19px, 5.6vw, 24px); }
  .funnel__lead { margin-top: 28px; font-size: 1.02rem; }
  .contact__lead { font-size: 1.1rem; margin-bottom: 14px; }
  .contact__check { flex-direction: column; align-items: center; gap: 8px; margin-bottom: 24px; }
  .contact__check li { font-size: .98rem; }

  .days { padding: 68px 0 60px; }
  .days__intro { margin-bottom: 28px; font-size: 1rem; text-align: left; }
  .dp { column-gap: 10px; }
  .dp__body { padding: 14px; border-radius: 14px; }
  .dp__term b { font-size: 1.45rem; }
  .dp__name { margin-top: 2px; font-size: 1.45rem; }
  .dp__goal { font-size: .93rem; }
  .dp__acts { margin-top: 8px; padding-top: 8px; gap: 2px; }
  .dp__acts li { font-size: .88rem; line-height: 1.55; }
  .dp__kpi { padding-top: 10px; gap: 4px; }
  .dp__kpi li { padding: 2px 8px; font-size: .74rem; }

  .reasons { padding: 68px 0 60px; }
  .reasons__intro { margin-bottom: 28px; font-size: 1rem; }
  .reason-cards { gap: 12px; }
  .rc { gap: 12px; padding: 18px 14px; border-radius: 14px; }
  .rc__icon { width: 46px; height: 46px; }
  .rc__icon svg { width: 24px; height: 24px; }
  .rc__no { font-size: .82rem; }
  .rc__title { margin-top: 2px; font-size: 1.22rem; }
  .rc__body { margin-top: 6px; font-size: .95rem; line-height: 1.7; }
  .rc__tag { font-size: .78rem; }

  .faq { gap: 10px; }
  .faq__item { padding: 16px 16px 14px; border-radius: 14px; }
  .faq__q { padding-left: 30px; font-size: clamp(.98rem, 4.1vw, 1.08rem); line-height: 1.5; }
  .faq__q::before { font-size: 1.25rem; top: -.1em; }
  .faq__a p { margin-top: 12px; padding: 12px 0 0 30px; font-size: .98rem; line-height: 1.8; }
  .faq__a p::before { top: 10px; font-size: 1.25rem; }

  .btn-wrap { margin-top: 32px; }
  /* SP：横並びだと文字が小さくなるため縦積み。LINEはメインより一段低くしてサブに見せる */
  .cta-pair { flex-direction: column; gap: 12px; }
  .btn-wrap.cta-pair .btn { width: 100%; min-width: 0; padding: 8px 1em; font-size: clamp(.95rem, 4.4vw, 1.1rem); }
  .btn-wrap.cta-pair .btn--line { min-height: 52px; font-size: 1rem; }
  .form-card--wide { padding: 24px 18px 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .form .btn { padding: 0 1em; font-size: clamp(.95rem, 4.4vw, 1.1rem); }
  .form-card__note { font-size: .8rem; }

  .footer { padding: 40px 0 28px; }
  .footer__top { flex-direction: column; gap: 24px; }
  .footer__company { grid-template-columns: 1fr; gap: 0; }
  .footer__company dt { margin-top: 8px; }

  .sp-cta {
    display: grid; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    /* FVにはCTAがあるので、FVを過ぎてから下から出す（main.jsで is-visible を付与） */
    transform: translateY(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .sp-cta.is-visible {
    transform: none; visibility: visible;
    transition: transform .3s ease, visibility 0s;
  }
  .sp-cta .btn { width: 100%; min-height: 54px; padding: 0 1em; font-size: clamp(.95rem, 4.2vw, 1.05rem); }
  .sp-cta .btn--line { min-height: 44px; font-size: .95rem; box-shadow: 0 3px 0 var(--line-green-dark); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
