/* ==========================================================
   サイヨウ90 LP  style.css
   セールスレター型（問いかけ → 物語 → 提案）の構成に合わせた独自実装
   ========================================================== */

: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;
  --ink: #1D1E1F;
  --gray: #666666;
  --gray-light: #F2F2F2;
  --line: #DFE6F0;
  --white: #ffffff;
  --surface-blue: #EDF4FF;
  --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; }
.c-brand { color: var(--brand); }
.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;
}
.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); }
.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--big { min-height: 84px; font-size: 1.5rem; padding: 0 1.6em; width: min(100%, 680px); }
.section-cta { margin-top: 48px; text-align: center; }
/* メインCTA（左）＋LINE相談（右・サブ）。並びきらない幅では折り返す */
.cta-pair { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px 20px; }
.btn--line {
  flex-shrink: 0; padding: 0 1.6em; font-size: 1rem;
  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__icon { width: 1.6em; height: 1.6em; flex-shrink: 0; margin-right: -.2em; }
.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;
  flex-shrink: 0; white-space: nowrap;
}

/* ---------- story primitives（レター共通部品） ---------- */
.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--light { color: #fff; }
.story__close {
  text-align: center; font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(20px, 16px + .9vw, 28px); line-height: 1.85; margin-top: 60px; letter-spacing: .03em;
}
.story__close strong { color: var(--brand); font-weight: 900; }
.story__close--light { color: #fff; }
.story__close--light strong { color: var(--brand-on-dark); }

.letter { max-width: 780px; margin: 0 auto; font-size: 1.12rem; line-height: 2.05; font-weight: 500; }
.letter p + p { margin-top: 1.4em; }
.letter strong { font-weight: 900; }
.letter em { font-style: normal; color: var(--brand); font-weight: 900; }
.letter--light { color: #f0f0f0; }
.letter__turn { margin-top: 2.2em !important; font-family: var(--font-serif); font-weight: 700; font-size: 1.25em; line-height: 1.8; }

.ask {
  position: relative; max-width: 880px; margin: 64px auto 0; text-align: center;
  padding: 48px 32px 36px; background: #fff; border: 3px solid var(--brand); border-radius: 24px;
}
.ask__mark {
  position: absolute; top: -32px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 62px; border-radius: 50%; background: var(--brand); color: #fff;
  font-family: var(--font-en); font-weight: 900; font-size: 2.3rem; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 6px 0 var(--brand-dark);
}
.ask__q { font-family: var(--font-serif); font-weight: 900; font-size: clamp(24px, 17px + 1.4vw, 40px); line-height: 1.55; letter-spacing: .03em; }
.ask__sub { margin-top: 16px; font-size: 1.02rem; font-weight: 700; color: var(--gray); line-height: 1.85; }
.ask--light { background: rgba(255,255,255,.06); border-color: var(--brand-on-dark); color: #fff; }
.ask--light .ask__mark { background: var(--brand-secondary); box-shadow: 0 6px 0 var(--brand-secondary-dark); }
.ask--light .ask__sub { color: #ddd; }

.checks li { position: relative; padding-left: 1.6em; font-size: 1rem; font-weight: 700; line-height: 1.6; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--brand); }
.checks li::after {
  content: ""; position: absolute; left: .36em; top: .36em; width: .3em; height: .55em;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg);
}

/* ---------- 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%; }

/* ---------- FV ---------- */
/* 濃紺の地に金の見出し・白のリード・青タグ付きの黄色CTA・月桂樹の実績バッジを並べる */
/* PCは寸法をすべて --fv-u（画面幅の1%か、ヘッダーを除いた画面高さの1/56の小さい方）で決め、FV全体を1画面に収める */
.fv {
  --fv-u: max(9px, min(1vw, (100vh - 68px) / 56));
  --fv-u: max(9px, min(1vw, (100svh - 68px) / 56));
  --fv-navy: #0A2A7E; --fv-navy-light: #1446B0;
  --fv-gold-text: #EFD89B;
  --fv-gold-gradient: linear-gradient(180deg, #FFF4C8 0%, #F6DA7C 38%, #E5BB4A 68%, #BF902E 100%);
  --fv-tag: #1356EA; --fv-yellow: #FFE15A;
  position: relative; overflow: hidden;
  background: radial-gradient(60% 85% at 70% 38%, var(--fv-navy-light) 0%, rgba(20, 70, 176, 0) 72%), var(--fv-navy);
}
/* コピーと人物を寄せるため、横幅は画面いっぱいに広げず単位で決める */
.fv__inner { position: relative; z-index: 1; width: min(100% - 48px, var(--fv-u) * 78); }
.fv__left { display: flex; align-items: center; min-width: 0; min-height: calc(var(--fv-u) * 56); padding: calc(var(--fv-u) * 3) 0; position: relative; }
.fv__message { position: relative; z-index: 1; width: calc(var(--fv-u) * 40); }
.fv__portrait { position: absolute; right: calc(var(--fv-u) * -7); bottom: 0; width: calc(var(--fv-u) * 54); height: 100%; pointer-events: none; }
.fv__portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 16px 32px rgba(0, 12, 56, .45)); }
/* アイキャッチは字間を広げてメインコピーの幅に揃える */
.fv__eyebrow { color: #fff; font-weight: 900; font-size: calc(var(--fv-u) * 1.95); letter-spacing: .42em; line-height: 1.4; }
.fv__eyebrow-chunk { display: inline-block; }
.fv__eyebrow.is-stacked .fv__eyebrow-chunk { display: block; }
/* メインコピー：金のグラデーションは行ごとにかける */
.fv__h1 { margin-top: .08em; font-weight: 900; font-size: calc(var(--fv-u) * 8.2); line-height: 1.15; letter-spacing: .02em; filter: drop-shadow(0 3px 0 rgba(0, 8, 40, .3)); }
.fv__h1 span { white-space: nowrap; background: var(--fv-gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fv__lead { margin-top: .3em; color: #fff; font-weight: 900; font-size: calc(var(--fv-u) * 3.1); line-height: 1.35; letter-spacing: .02em; }
/* CTA：青いタグをボタンの上辺に重ねる */
.fv__cta { position: relative; margin-top: calc(var(--fv-u) * 2.6); padding-top: calc(var(--fv-u) * 1.1); width: fit-content; max-width: 100%; }
.fv__proof-head {
  position: absolute; z-index: 1; top: 0; left: 14%; margin: 0;
  display: flex; align-items: baseline; gap: 0 .1em; white-space: nowrap;
  background: var(--fv-tag); color: #fff; font-weight: 900; font-size: max(12px, var(--fv-u) * .9); line-height: 1.4;
  padding: .45em 1.6em; border-radius: 4px;
}
.fv__proof-head::after { content: ""; position: absolute; left: 66%; bottom: -9px; border: 9px solid transparent; border-top-color: var(--fv-tag); border-bottom: 0; border-left-width: 0; }
.fv__proof-head strong small { font-size: 1em; }
.fv__cta-btn {
  display: flex; align-items: center; justify-content: center;
  min-width: calc(var(--fv-u) * 25); min-height: calc(var(--fv-u) * 5.2); padding: calc(var(--fv-u) * .7) 1.6em 0;
  background: var(--fv-yellow); color: var(--ink); border-radius: 14px;
  font-weight: 900; font-size: max(15px, var(--fv-u) * 1.5); letter-spacing: .04em; text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 10, 50, .35); transition: transform .15s, filter .15s;
}
.fv__cta-btn:hover { transform: translateY(2px); filter: brightness(1.05); }
/* 実績：月桂樹のバッジを3つ並べる。人物の手前にはみ出してよい */
.fv__proof { margin-top: calc(var(--fv-u) * 2.2); }
.fv__proof ul { display: flex; gap: calc(var(--fv-u) * 1.4); width: max-content; }
.fv__proof li {
  width: calc(var(--fv-u) * 13.5); aspect-ratio: 200 / 170;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 4%;
  /* 人物の白いシャツに重なっても金の文字が読めるよう、文字の背後に地色の円を敷く */
  background: url("../img/fv-laurel.svg") center / contain no-repeat, radial-gradient(circle at 50% 47%, rgba(10, 42, 126, .9) 0 30%, rgba(10, 42, 126, 0) 42%);
  text-align: center; line-height: 1.15; color: var(--fv-gold-text);
}
.fv__proof-case { margin: 0 0 2px; font-size: max(10px, var(--fv-u) * .8); font-weight: 700; white-space: nowrap; }
.fv__proof-case small { display: block; font-size: .8em; }
.fv__proof-value { margin: 0; font-size: max(10px, var(--fv-u) * .8); font-weight: 700; white-space: nowrap; }
.fv__proof-value strong { display: block; font-family: var(--font-en); font-weight: 900; font-size: 3.1em; line-height: 1.05; letter-spacing: -.01em; background: var(--fv-gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* 漢字の強調は数字より字面が大きく見えるため一段小さくする */
.fv__proof-value strong.is-ja { font-family: var(--font-base); font-size: 2.2em; line-height: 1.2; }
/* 数字と単位を1行に並べる（例：0円） */
.fv__proof-value--inline strong { display: inline; margin-right: .05em; }
.fv__proof-note { margin: 2px 0 0; font-size: max(9px, var(--fv-u) * .65); font-weight: 700; white-space: nowrap; }
.fv-inquiry { background: var(--surface); padding: 40px 0; }
.fv__right { position: relative; max-width: 960px; margin: 0 auto; }
.fv__right .form__fields:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.fv__right .form .field { margin-bottom: 0; }
.fv__right .form .agree { grid-column: 1 / -1; margin: 0; }
.fv__right .form .btn { grid-column: 1 / -1; width: min(100%, 480px); justify-self: center; }

/* form card */
.form-card { background: #fff; border-radius: 20px; padding: 28px 26px 26px; box-shadow: 10px 10px 20px -10px rgba(0,71,184,.22); }
.form-card__title { text-align: center; font-weight: 900; font-size: 1.08rem; display: flex; gap: .4em; justify-content: center; align-items: center; flex-wrap: wrap; line-height: 1.5; }
.form-card__note { text-align: center; font-size: .85rem; color: var(--brand); font-weight: 700; margin: .4em 0 1.1em; 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="tel"], .form input[type="url"], .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
  font: inherit; font-size: 1rem; line-height: 1.5; background: #fafafa; color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand-secondary); border-color: transparent; background: #fff; }
.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); }

/* ---------- 1. scene（共感） ---------- */
.story { padding: 96px 0 88px; position: relative; z-index: 2; background: #fff; }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1080px; margin: 0 auto; }
.pain { text-align: center; }
.pain__img { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto 24px; }
.pain__h { font-family: var(--font-serif); font-weight: 900; font-size: 1.5rem; line-height: 1.5; letter-spacing: .03em; }
.pain__h em { font-style: normal; color: var(--brand); }
.pain__sub { margin-top: 10px; color: var(--gray); font-weight: 500; font-size: 1.02rem; line-height: 1.7; }

/* ---------- 2. structure（事業構造） ---------- */
.structure { background: var(--ink); color: #fff; padding: 104px 0 96px; position: relative; overflow: hidden; }
.structure::before, .structure::after { content: ""; position: absolute; border-radius: 50%; background: var(--brand); opacity: .16; filter: blur(30px); }
.structure::before { width: 460px; height: 460px; left: -140px; top: -180px; }
.structure::after { width: 380px; height: 380px; right: -120px; bottom: -200px; }
.structure .inner { position: relative; z-index: 1; }
.structure .story__h2 { font-size: clamp(32px, 20px + 2.6vw, 60px); margin-bottom: 56px; }
.structure .story__h2 em { font-style: normal; color: var(--brand-on-dark); }
/* 人手が足りない → 案件を断る → 売上の成長が止まる を1つの図で見せる。右へ進むほど強調する */
.cause { max-width: 1000px; margin: 0 auto; }
.cause__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.cause__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.cause__step { position: relative; text-align: center; padding: 24px 16px 26px; border: 2px solid transparent; border-radius: 16px; }
.cause__step + .cause__step::before { content: ""; position: absolute; left: -38px; top: 90px; width: 18px; height: 18px; border-top: 4px solid var(--brand-on-dark); border-right: 4px solid var(--brand-on-dark); transform: rotate(45deg); }
.cause__step--end { background: rgba(0,100,249,.14); border-color: var(--brand); }
.cause__svg { display: block; width: 100%; max-width: 220px; height: 150px; margin: 0 auto; }
.cause__num { margin-top: 14px; font-family: var(--font-en); font-weight: 900; font-size: .85rem; letter-spacing: .14em; color: #8C8D92; }
.cause__step--end .cause__num { color: var(--brand-on-dark); }
.cause__h { margin-top: 4px; font-family: var(--font-serif); font-weight: 900; font-size: 1.3rem; line-height: 1.45; letter-spacing: .03em; }
.cause__step--end .cause__h { font-size: 1.5rem; color: var(--brand-on-dark); }
.cause__sub { margin-top: 8px; color: #ccc; font-weight: 500; font-size: .95rem; line-height: 1.7; }
.cause__step--end .cause__sub { color: #fff; font-weight: 700; }
.cause__h span, .cause__sub span { display: inline-block; }
.cause__floor { stroke: rgba(255,255,255,.28); stroke-width: 2; }
.cause__box { fill: rgba(255,255,255,.04); }
.cause__wall { fill: none; stroke: #8C8D92; stroke-width: 2; }
.cause__top { stroke: #8C8D92; stroke-width: 6; stroke-linecap: round; }
.cause__person { fill: #8C8D92; }
.cause__person--empty { fill: none; stroke: #8C8D92; stroke-width: 1.5; stroke-dasharray: 3 2.5; }
.cause__cases use { fill: #D9DCE2; color: #2E2F33; }
.cause__case--out { opacity: .4; }
.cause__bars rect { fill: var(--brand); transform-box: fill-box; transform-origin: 50% 100%; }
.cause__ceil { stroke: var(--brand-on-dark); stroke-width: 6; stroke-linecap: round; }
/* 表示時に1回だけ動かす（main.js が data-ceiling に is-animate / is-inview を付与。JSなし・reduced-motion は最終状態のまま） */
.cause.is-animate:not(.is-inview) .cause__case { opacity: 0; }
.cause.is-animate:not(.is-inview) .cause__bars rect { transform: scaleY(0); }
.cause.is-inview .cause__case { animation: cause-fall .55s cubic-bezier(.3,.7,.4,1) var(--d, 0s) both; }
.cause.is-inview .cause__case--out { animation-name: cause-spill; animation-duration: .7s; }
.cause.is-inview .cause__bars rect { animation: cause-grow .5s ease-out .9s both; }
.cause.is-inview .cause__bars rect:nth-child(2) { animation-delay: .98s; }
.cause.is-inview .cause__bars rect:nth-child(3) { animation-delay: 1.06s; }
.cause.is-inview .cause__bars rect:nth-child(4) { animation-delay: 1.14s; }
.cause.is-inview .cause__bars rect:nth-child(5) { animation-delay: 1.22s; }
@keyframes cause-fall { from { opacity: 0; transform: translateY(-100px); } to { opacity: 1; transform: none; } }
@keyframes cause-spill { 0% { opacity: 0; transform: translate(var(--dx, 0), -120px); } 55% { opacity: 1; transform: translate(var(--dx, 0), -30px); } 100% { opacity: .4; transform: none; } }
@keyframes cause-grow { from { transform: scaleY(0); } to { transform: none; } }
.structure__close { margin-top: 56px; text-align: center; }
.structure__close-main { font-family: var(--font-serif); font-weight: 900; font-size: clamp(22px, 16px + 1.1vw, 32px); line-height: 1.6; letter-spacing: .03em; }
.structure__close-main span { display: inline-block; }
.structure__close-main strong { color: var(--brand-on-dark); }
.structure__close-sub { margin-top: 10px; color: #ccc; font-weight: 700; font-size: clamp(15px, 13px + .4vw, 18px); letter-spacing: .06em; }

/* ---------- 3. funnel（8段階） ---------- */
.funnelsec { padding: 104px 0 96px; }
.funnel { margin: 52px auto 0; max-width: 1040px; }
.story__h2 + .funnel { margin-top: 0; }
.funnel__title { text-align: center; font-weight: 900; font-size: 1.3rem; margin-bottom: 16px; }
.funnel__list { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.funnel__list li { background: var(--surface); border-radius: 10px; padding: 12px 4px 10px; line-height: 1.35; text-align: center; }
.funnel__list li i { display: block; font-style: normal; font-family: var(--font-en); font-weight: 900; color: var(--brand); font-size: 1.4rem; }
.funnel__list li b { display: block; font-size: .9rem; font-weight: 900; min-height: 2.7em; }
.funnel__list li span { display: block; color: var(--gray); font-size: .72rem; margin-top: 2px; }
.funnel__list li:last-child { background: var(--brand); color: #fff; }
.funnel__list li:last-child i, .funnel__list li:last-child span { color: #fff; }
.funnel + .letter { margin-top: 40px; }

/* ---------- 4. operation（7つの要素） ---------- */
.operation { background: var(--surface); padding: 104px 0 96px; }
.operation .letter { text-align: center; }
.seven { max-width: 1120px; margin: 48px auto 0; background: #fff; border: 2px solid var(--brand-border); border-radius: 20px; padding: 36px 32px 30px; }
.seven__title { text-align: center; font-weight: 900; font-size: 1.3rem; margin-bottom: 24px; }
.seven__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* アイコン → 「番号＋要素名」の行 → 補足の順。番号は要素名の左に並べ、2つの塊ごと中央に置く */
.seven__list li {
  flex: 0 0 calc((100% - 72px) / 7); min-width: 0; background: var(--surface); border-radius: 16px; padding: 16px 4px 16px; text-align: center;
  display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; column-gap: .3em;
}
.seven__list li > * { grid-column: 1 / -1; }
.seven__list li .seven__icon { grid-row: 1; }
.seven__list li small { grid-row: 3; }
.seven__list li i { grid-row: 2; grid-column: 2; font-style: normal; font-family: var(--font-en); font-weight: 900; color: var(--brand); font-size: .95rem; letter-spacing: .04em; line-height: 1; }
.seven__list li b { grid-row: 2; grid-column: 3; white-space: nowrap; }
.seven__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; margin: 0 auto 10px; display: grid; place-items: center; color: var(--brand); }
.seven__icon svg { width: 32px; height: 32px; }
.seven__list li b { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 2.8em; font-weight: 900; font-size: 1rem; line-height: 1.4; }
.seven__list li small { display: block; margin-top: 4px; color: var(--gray); font-size: .76rem; font-weight: 700; line-height: 1.5; }
.seven__note { margin-top: 24px; text-align: center; font-weight: 700; font-size: 1.02rem; line-height: 1.8; }
.seven__note span { display: inline-block; }

/* ---------- 5. reveal（サイヨウ90の登場） ---------- */
.reveal { background: var(--brand-gradient); padding: 104px 0 96px; position: relative; }
.reveal__kicker { text-align: center; color: #fff; font-weight: 900; letter-spacing: .1em; font-size: 1.15rem; }
.reveal__h2 {
  text-align: center; color: #fff; font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(32px, 22px + 2.2vw, 58px); line-height: 1.4; letter-spacing: .04em;
  text-shadow: 0 3px 0 rgba(0,0,0,.1); margin: 8px 0 40px;
}
.reveal__panel { background: #fff; border-radius: 28px; padding: 56px 48px 40px; box-shadow: 0 24px 48px -24px rgba(0,35,100,.35); }
.reveal__intro { text-align: center; max-width: 840px; margin: 0 auto; }
.reveal__brand { display: inline-block; background: var(--brand); color: #fff; font-weight: 900; font-size: clamp(34px, 24px + 1.8vw, 52px); padding: .05em .5em .12em; border-radius: 18px; box-shadow: 0 6px 0 var(--brand-dark); letter-spacing: .04em; line-height: 1.2; }
.reveal__brand b { font-family: var(--font-en); font-size: 1.15em; }
.reveal__def { margin-top: 28px; font-size: 1.15rem; line-height: 2; font-weight: 500; }
.reveal__def strong { color: var(--brand); font-weight: 900; }
.strengths__title { text-align: center; font-family: var(--font-serif); font-weight: 900; font-size: clamp(22px, 16px + 1vw, 30px); line-height: 1.5; letter-spacing: .03em; margin-top: 52px; }
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.strengths li { background: var(--surface); border-radius: 20px; padding: 28px 24px 26px; text-align: center; }
.strengths__num { font-family: var(--font-en); font-weight: 900; color: var(--brand); letter-spacing: .12em; font-size: 1.1rem; }
.strengths__icon { width: 84px; height: 84px; border-radius: 50%; background: #fff; margin: 10px auto 14px; display: grid; place-items: center; color: var(--brand); }
.strengths__icon svg { width: 42px; height: 42px; }
.strengths h4 { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; line-height: 1.4; }
.strengths p { font-size: .98rem; line-height: 1.85; font-weight: 500; }
.reveal__close { color: var(--ink); text-align: center; font-family: var(--font-serif); font-weight: 900; font-size: clamp(22px, 16px + 1.2vw, 34px); margin-top: 48px; letter-spacing: .04em; }

/* ---------- 5.5 convert（応募を、採用に変える） ---------- */
.convert { background: var(--surface); padding: 104px 0 96px; }
/* 見出しの幅に枠を合わせて中央に置き、本文の左端を見出しの左端にそろえる */
.convert__head { width: fit-content; max-width: 100%; margin-inline: auto; }
.convert__intro { max-width: 680px; contain: inline-size; }
.convert__intro strong { color: var(--brand); }
/* #why：8段階を1枚のフロー図で表示（.funnel--after とは別定義） */
.funnel--map .funnel__list { gap: 22px; }
.funnel--map .funnel__list li { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 16px 4px 14px; }
.funnel--map .funnel__list li i { font-size: 1.6rem; line-height: 1.2; }
.funnel--map .funnel__list li b { min-height: 0; font-size: .95rem; white-space: nowrap; }
.funnel--map .funnel__list li + li::before { content: ""; position: absolute; left: -17px; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left: 9px solid var(--brand); border-right: 0; }
.funnel--map .funnel__list li:last-child { box-shadow: 0 5px 0 var(--brand-dark); }
.funnel--map + .story__close { margin-top: 48px; }
.funnel--map + .story__close span { display: inline-block; }

/* 8段階ファネル（.funnel__list）の後半4段を横フローで再利用 */
.funnel--after { margin-top: 56px; }
.funnel__row { display: grid; grid-template-columns: 168px 1fr; gap: 24px; align-items: stretch; }
.funnel__done { position: relative; border: 2px dashed var(--brand-border); border-radius: 10px; padding: 14px 8px 12px; text-align: center; line-height: 1.35; color: var(--gray); display: flex; flex-direction: column; justify-content: center; }
.funnel__done i { display: block; font-style: normal; font-family: var(--font-en); font-weight: 900; font-size: 1.3rem; color: var(--brand-border); }
.funnel__done b { display: block; font-size: .95rem; font-weight: 900; }
.funnel__done span { display: block; font-size: .72rem; margin-top: 2px; }
.funnel__done::after { content: ""; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-left: 11px solid var(--brand-border); border-right: 0; }
.funnel--after .funnel__list { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.funnel--after .funnel__list li { position: relative; background: #fff; padding: 20px 8px 16px; }
.funnel--after .funnel__list li i { font-size: 2rem; line-height: 1.2; }
.funnel--after .funnel__list li b { font-size: 1.15rem; min-height: 0; }
.funnel--after .funnel__list li span { font-size: .8rem; }
.funnel--after .funnel__list li + li::before { content: ""; position: absolute; left: -19px; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-left: 11px solid var(--brand); border-right: 0; }
.funnel--after .funnel__list li:last-child { background: var(--brand); box-shadow: 0 5px 0 var(--brand-dark); }
/* 会う → 意欲をつくる → 決める（番号の色は .timeline と同じく 青 → 濃青 → 黒 と深まる） */
.convert-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; max-width: 1080px; margin: 72px auto 0; }
.convert-steps li { position: relative; background: #fff; border: 2px solid transparent; border-radius: 20px; padding: 30px 28px 28px; }
.convert-steps li:last-child { border-color: var(--brand); }
.convert-steps li + li::before { content: ""; position: absolute; left: -26px; top: 58px; transform: translateY(-50%); border: 9px solid transparent; border-left: 11px solid var(--brand); border-right: 0; }
.convert-steps__head { display: flex; align-items: center; gap: 14px; }
.convert-steps__num { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-en); font-weight: 900; font-size: 1.2rem; line-height: 1; box-shadow: 0 5px 0 var(--brand-dark); }
.convert-steps li:nth-child(2) .convert-steps__num { background: var(--brand-secondary); box-shadow: 0 5px 0 var(--brand-secondary-dark); }
.convert-steps li:nth-child(3) .convert-steps__num { background: var(--ink); box-shadow: 0 5px 0 #000; }
.convert-steps__verb { font-family: var(--font-serif); font-weight: 900; font-size: 1.75rem; line-height: 1.3; letter-spacing: .04em; }
.convert-steps h3 { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.4rem; font-weight: 900; line-height: 1.5; }
.convert-steps li > p:not(.convert-steps__head) { font-size: .98rem; line-height: 1.85; font-weight: 500; margin-top: 12px; }
.convert-steps li > p.convert-steps__lead { font-weight: 700; color: var(--brand-dark); margin-top: 12px; }
.convert__close { max-width: 920px; margin: 72px auto 0; background: #fff; border: 3px solid var(--brand); border-radius: 24px; padding: 52px 40px 48px; text-align: center; font-family: var(--font-serif); }
.convert__pair { font-weight: 900; font-size: clamp(22px, 16px + 1.2vw, 32px); letter-spacing: .08em; line-height: 1.5; }
.convert__line { margin-top: 28px; font-weight: 700; font-size: clamp(18px, 14px + .8vw, 24px); line-height: 1.6; }
.convert__key { margin-top: 4px; font-weight: 900; line-height: 1.4; }
.convert__key span { display: block; font-weight: 700; font-size: clamp(18px, 14px + .8vw, 24px); }
.convert__key strong { display: inline-block; margin-top: 4px; color: var(--brand); font-size: clamp(30px, 18px + 2.8vw, 60px); letter-spacing: .04em; background: linear-gradient(transparent 68%, var(--surface-strong) 68%); padding: 0 .1em; }
.convert__end { margin-top: 28px; font-weight: 700; font-size: clamp(18px, 14px + .8vw, 24px); line-height: 1.6; }

/* ---------- 6. days（あなたの90日） ---------- */
.days { padding: 104px 0 96px; }
/* PC：横のタイムライン（ノードを接続線でつなぎ、カードを下に並べる） */
.timeline { max-width: 1080px; margin: 0 auto; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.timeline::before { content: ""; position: absolute; left: calc((100% - 72px) / 6); right: calc((100% - 72px) / 6); top: 64px; height: 4px; background: var(--brand-border); border-radius: 2px; }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; }
.timeline li + li::before { content: ""; position: absolute; left: -26px; top: 64px; transform: translateY(-50%); border: 9px solid transparent; border-left: 11px solid var(--brand); border-right: 0; }
.timeline__when {
  position: relative; z-index: 1; flex-shrink: 0; width: 128px; height: 128px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 7px 0 var(--brand-dark); font-family: var(--font-en); font-weight: 900; line-height: 1;
}
.timeline__when span { font-size: .9rem; margin-top: 6px; letter-spacing: .08em; }
.timeline__when b { font-size: 2rem; letter-spacing: -.02em; }
.timeline li:nth-child(2) .timeline__when { background: var(--brand-secondary); box-shadow: 0 7px 0 var(--brand-secondary-dark); }
.timeline li:nth-child(3) .timeline__when { background: var(--ink); box-shadow: 0 7px 0 #000; }
.timeline__body { flex: 1; width: 100%; margin-top: 28px; background: var(--surface); border-radius: 20px; padding: 26px 26px 26px; text-align: center; }
.timeline__step { font-family: var(--font-en); font-weight: 900; color: var(--brand); font-size: .85rem; letter-spacing: .08em; line-height: 1.4; }
.timeline__step span { display: inline-block; margin-left: .8em; color: var(--ink); font-size: .85rem; letter-spacing: .06em; }
.timeline__body h3 { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-serif); font-weight: 900; font-size: 1.35rem; line-height: 1.5; }
.timeline__body > p:last-child { margin-top: 12px; font-size: .98rem; line-height: 1.85; font-weight: 500; text-align: left; }
.timeline__body p strong { color: var(--brand); font-weight: 900; }

/* ---------- 7. cases（実績の物語） ---------- */
.cases { background: var(--surface); padding: 104px 0 96px; }
.story-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-cases li { background: #fff; border-radius: 22px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 30px -20px rgba(0,0,0,.25); }
.sc__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sc__tag { background: var(--brand); color: #fff; font-weight: 900; padding: .2em 1em; border-radius: 6px; font-size: 1rem; }
.sc__scale { font-weight: 900; color: var(--gray); font-size: .95rem; }
.sc__lbl { display: inline-flex; align-items: baseline; gap: .6em; font-family: var(--font-en); font-weight: 900; letter-spacing: .14em; font-size: .85rem; color: var(--gray); }
.sc__lbl small { font-family: var(--font-base); font-weight: 700; letter-spacing: 0; font-size: .78rem; }
/* 3社で高さをそろえる（最大3行分）・中身は上下中央 */
.sc__before { background: var(--gray-light); border-radius: 14px; padding: 16px 18px; min-height: calc(3 * 1.7em + 32px); display: flex; flex-direction: column; justify-content: center; }
.sc__before p, .sc__before ul { margin-top: 6px; font-weight: 700; line-height: 1.7; color: #444; }
.sc__before ul { margin-top: 0; }
.sc__before ul li { position: relative; padding: 0 0 0 1em; background: none; box-shadow: none; border-radius: 0; display: block; }
.sc__before ul li::before { content: "・"; position: absolute; left: 0; }
.sc__before b { font-size: 1.15em; color: var(--ink); font-weight: 900; }
.sc__arrow { align-self: center; width: 0; height: 0; border: 14px solid transparent; border-top: 18px solid var(--brand); border-bottom: 0; }
.sc__after { background: var(--brand-gradient); color: #fff; border-radius: 14px; padding: 16px 18px 18px; flex: 1; }
.sc__after .sc__lbl { color: #fff; font-family: var(--font-base); letter-spacing: .04em; }
.sc__after dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; text-align: center; }
.sc__after dt { font-size: .85rem; font-weight: 700; }
.sc__after dd { font-weight: 900; font-size: 1rem; line-height: 1; }
.sc__after strong { font-family: var(--font-en); font-size: 3.2rem; letter-spacing: -.02em; }
.sc__after dl.is-single { grid-template-columns: 1fr; }
.sc__after { position: relative; }
/* 採用単価は青ボックス右上の丸バッジ */
.sc__extra { position: absolute; top: -22px; right: -12px; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.1; font-size: .72rem; font-weight: 900; }
.sc__extra span { font-weight: 900; font-size: .8rem; }
.sc__after .sc__extra strong { font-size: 1.7rem; }

/* ---------- 8. doubts（「でも……」への答え） ---------- */
.doubts { padding: 104px 0 96px; }
.doubt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1040px; margin: 0 auto; }
.doubt-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.doubt-list li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px 22px; }
.doubt__q { position: relative; font-family: var(--font-serif); font-weight: 900; font-size: 1.2rem; line-height: 1.55; padding-left: 2em; }
.doubt__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; }
.doubt__a { position: relative; margin-top: 12px; font-size: 1rem; line-height: 1.9; font-weight: 500; padding-left: 2em; }
.doubt__a::before { content: "A"; position: absolute; left: 0; top: -.05em; font-family: var(--font-en); font-weight: 900; color: var(--brand-secondary); font-size: 1.45rem; }
.doubt__a strong { font-weight: 900; color: var(--brand-dark); }
.compare { max-width: 1040px; margin: 0 auto 88px; }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 12px 0; min-width: 720px; }
.compare__table th, .compare__table td { padding: 15px 16px; text-align: center; font-size: 1.02rem; vertical-align: middle; line-height: 1.5; }
.compare__table thead th { background: #5f5f5f; color: #fff; font-weight: 900; font-size: 1.2rem; border-radius: 14px 14px 0 0; padding: 18px; }
.compare__table thead th.is-hl { background: var(--brand); }
.compare__table thead th:first-child { background: transparent; }
.compare__table tbody th { text-align: left; font-weight: 900; font-size: 1rem; padding-left: 0; width: 20%; }
.compare__table tbody td { background: var(--surface); border-bottom: 1px solid #fff; width: 40%; }
.compare__table tbody td.is-hl { color: var(--brand); font-weight: 900; font-size: 1.12rem; background: var(--surface-strong); }
.compare__table .nw { display: inline-block; }
.compare__table td small { display: block; margin-top: 4px; font-size: .78rem; font-weight: 700; opacity: .8; }
.compare__table tbody tr:last-child td { border-radius: 0 0 14px 14px; border-bottom: 0; padding-bottom: 22px; }

/* ---------- 9. flow（導入の流れ） ---------- */
.flow { background: var(--surface-blue); padding: 104px 0 96px; }
.flow__lead { text-align: center; max-width: 800px; margin: -16px auto 44px; font-size: 1.08rem; line-height: 1.95; font-weight: 500; }
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto; }
.flow__list li { position: relative; background: #fff; border-radius: 20px; padding: 26px 18px 24px; text-align: center; }
.flow__list li + li::before { content: ""; position: absolute; left: -13px; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-left: 11px solid var(--brand); border-right: 0; z-index: 1; }
.flow__step { display: inline-block; background: var(--brand); color: #fff; font-family: var(--font-en); font-weight: 900; border-radius: 999px; padding: 8px 18px; line-height: 1; font-size: .85rem; letter-spacing: .04em; }
.flow__step em { font-style: normal; font-size: 1.5em; padding-left: 4px; }
.flow__list h3 { font-size: 1.3rem; font-weight: 900; margin: 18px 0 8px; line-height: 1.35; }
.flow__list h3 small { display: block; color: var(--brand); font-size: .8rem; letter-spacing: .1em; margin-top: 2px; }
.flow__list p { font-size: .95rem; line-height: 1.65; font-weight: 500; }
.flow__need { max-width: 920px; margin: 44px auto 0; background: #fff; border-radius: 20px; padding: 30px 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.flow__need h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 12px; }
.flow__need > p { font-size: .98rem; line-height: 1.9; font-weight: 500; color: var(--gray); border-left: 3px solid var(--brand-border); padding-left: 18px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band__inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.cta-band__main { text-align: center; flex: 1; min-width: 300px; max-width: 1000px; }
.cta-band__cta .btn--line { font-size: 1.15rem; }
.cta-band__pre { color: #fff; font-weight: 700; font-size: 1.1rem; line-height: 1.7; margin-bottom: 10px; }
.cta-band__lead {
  position: relative; display: inline-block; color: #fff; font-family: var(--font-serif); font-weight: 900; font-size: clamp(28px, 1.8vw + 14px, 44px);
  line-height: 1.4; margin-bottom: 22px; padding: 0 1.2em; text-shadow: 0 2px 0 rgba(0,0,0,.1);
}
.cta-band__lead::before, .cta-band__lead::after { content: ""; position: absolute; top: 50%; width: 3px; height: 1.4em; background: #fff; }
.cta-band__lead::before { left: 0; transform: translateY(-50%) rotate(-28deg); }
.cta-band__lead::after { right: 0; transform: translateY(-50%) rotate(28deg); }
.cta-band__sub { margin-top: 14px; color: #fff; font-weight: 700; font-size: 1rem; }
.cta-band--final .btn { background: var(--ink); box-shadow: 0 5px 0 #000; }
.cta-band--final .btn:hover { box-shadow: 0 2px 0 #000; }
.cta-band--final .btn--line { background: var(--line-green); box-shadow: 0 5px 0 var(--line-green-dark); }
.cta-band--final .btn--line:hover { box-shadow: 0 2px 0 var(--line-green-dark); }

/* ---------- contact ---------- */
.contact { background: var(--surface); padding: 96px 0 96px; }
.form-card--wide { max-width: 800px; margin: 0 auto; box-shadow: none; padding: 36px 40px 32px; }
.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; }

/* ---------- floating SP CTA ---------- */
.consultation-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
}
.sp-cta { display: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .btn--header-line { display: none; }
  .story-cases, .strengths { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .pains { gap: 24px; }
  .cause__list { gap: 40px; }
  .cause__step { padding: 20px 8px 22px; }
  .cause__step + .cause__step::before { left: -30px; top: 71px; }
  .cause__svg { height: 120px; }
  .cause__h { font-size: 1.12rem; }
  .cause__step--end .cause__h { font-size: 1.25rem; }
  .pain__h { font-size: 1.3rem; }
  .strengths__title { margin-top: 44px; }
  .flow__list { grid-template-columns: 1fr 1fr; }
  .flow__list li:nth-child(3)::before { display: none; }
  .doubt-list { grid-template-columns: 1fr; max-width: 720px; }
  .reveal__panel { padding: 44px 32px 32px; }
  .funnel__row { grid-template-columns: 1fr; gap: 24px; }
  .funnel__done { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .2em .8em; padding: 10px 12px; }
  .funnel__done::after { right: auto; left: 50%; top: auto; bottom: -21px; transform: translateX(-50%); border: 9px solid transparent; border-top: 11px solid var(--brand-border); border-bottom: 0; }
  .funnel--map .funnel__list { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin: 0 auto; }
  .funnel--map .funnel__list li { flex-direction: row; align-items: baseline; gap: 12px; padding: 10px 18px; text-align: left; }
  .funnel--map .funnel__list li i { width: 1.2em; flex-shrink: 0; font-size: 1.3rem; text-align: center; }
  .funnel--map .funnel__list li b { font-size: 1rem; }
  .funnel--map .funnel__list li span { margin: 0 0 0 auto; }
  .funnel--map .funnel__list li + li::before { left: 50%; top: -12px; transform: translateX(-50%); border: 6px solid transparent; border-top: 8px solid var(--brand); border-bottom: 0; }
  .seven__list li { flex-basis: calc((100% - 36px) / 4); }
  .convert-steps { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; gap: 32px; }
  .convert-steps li + li::before { left: 50%; top: -24px; transform: translateX(-50%); border: 9px solid transparent; border-top: 11px solid var(--brand); border-bottom: 0; }
  .timeline { gap: 24px; }
  .timeline::before { left: calc((100% - 48px) / 6); right: calc((100% - 48px) / 6); }
  .timeline li + li::before { left: -19px; }
  .timeline__body { padding: 22px 18px; }
  .timeline__body h3 { font-size: 1.05rem; }
}

@media (max-width: 767px) {
  .sp { display: inline; }
  .pc { display: none; }
  body { font-size: 15.5px; padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
  .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; }
  .story__close { font-size: 18px; margin-top: 40px; line-height: 1.9; }
  .story__close br, .letter__turn br { display: none; }
  .letter { font-size: 1.02rem; line-height: 1.95; }
  .letter__turn { font-size: 1.12em; }
  .ask { margin-top: 48px; padding: 38px 16px 26px; border-radius: 18px; border-width: 2px; }
  .ask__mark { width: 50px; height: 50px; top: -26px; font-size: 1.8rem; }
  .ask__q { font-size: 20px; line-height: 1.6; }
  .ask__sub { font-size: .92rem; margin-top: 12px; }

  .header__inner { height: 56px; gap: 10px; }
  .header__logo img { width: clamp(128px, 40vw, 200px); height: 36px; }
  .btn--header { min-height: 38px; font-size: .78rem; padding: 2px .9em; white-space: normal; flex-shrink: 1; line-height: 1.25; letter-spacing: 0; }

  /* FV：コピー → CTA → 人物の順に縦に積み、実績バッジは人物の下部に重ねる */
  .fv__inner { width: min(100% - 32px, var(--container)); padding: 28px 0 0; }
  .fv__left { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 0; }
  .fv__message { display: contents; }
  .fv__eyebrow, .fv__h1, .fv__lead, .fv__cta { position: relative; z-index: 1; }
  .fv__eyebrow, .fv__h1, .fv__lead { text-align: center; }
  /* 字間（.42em）が末尾にも付く分を左に足して、見た目の中央をそろえる */
  .fv__eyebrow { font-size: clamp(12px, 4.9vw, 26px); text-indent: .42em; }
  .fv__h1 { font-size: clamp(48px, 21vw, 110px); }
  .fv__lead { font-size: clamp(18px, 6.4vw, 34px); white-space: nowrap; }
  .fv__cta { justify-self: center; width: fit-content; margin-top: 26px; padding-top: 24px; }
  .fv__proof-head { left: 50%; transform: translateX(-50%); font-size: .8rem; padding-inline: 1.2em; }
  .fv__proof-head::after { left: 62%; bottom: -6px; border-width: 6px 6px 0 0; }
  .fv__cta-btn { min-width: 264px; min-height: 60px; padding-top: 0; font-size: 1.3rem; }
  .fv__portrait { position: relative; grid-row: 5; grid-column: 1; right: auto; bottom: auto; width: calc(100% + 16px); height: min(96vw, 480px); margin-top: 8px; }
  .fv__proof { position: relative; z-index: 2; grid-row: 5; grid-column: 1; align-self: end; margin: 0 0 14px; }
  .fv__proof ul { width: 100%; justify-content: center; gap: 4px; }
  .fv__proof li { width: min(calc((100% - 8px) / 3), 150px); }
  .fv__proof-case, .fv__proof-value { font-size: clamp(9px, 2.5vw, 12px); }
  .fv__proof-value strong { font-size: 2.8em; }
  .fv__proof-value strong.is-ja { font-size: 2em; }
  .fv__proof-note { font-size: clamp(8px, 2.2vw, 10px); }
  /* バッジを重ねる人物の下部を地色になじませ、金の文字を読みやすくする */
  .fv__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 42, 126, 0) 50%, rgba(10, 42, 126, .85) 92%); }
  .fv-inquiry { padding: 28px 0; }
  .form-card { padding: 22px 18px 20px; }
  .form-card__title { font-size: 1rem; }
  .fv__right { display: flex; flex-direction: column; }
  .fv__right .form__fields:not([hidden]) { grid-template-columns: minmax(0, 1fr); gap: 12px; }

  .story { padding: 64px 0 56px; }
  /* SPはイラストとテキストを横並びにしてスクロール量を抑える */
  .pains { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 520px; }
  .pain { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; padding: 18px 0; }
  .pain + .pain { border-top: 1px solid var(--line); }
  .pain__img { margin: 0; }
  .pain__h { font-size: 1.12rem; letter-spacing: .01em; }
  .pain__sub { margin-top: 6px; font-size: .92rem; line-height: 1.6; }

  .structure { padding: 72px 0 64px; }
  .structure .story__h2 { font-size: clamp(25px, 8vw, 30px); margin-bottom: 32px; }
  /* SPは縦並び。イラストを左、文字を右に置き、矢印は下向き */
  .cause__list { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 440px; margin: 0 auto; }
  .cause__step { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); grid-template-rows: 1fr auto 1fr; grid-template-areas: "svg num" "svg h" "svg sub"; column-gap: 12px; text-align: left; padding: 12px 14px; border-radius: 12px; }
  .cause__step + .cause__step::before { left: 50%; top: -24px; width: 14px; height: 14px; border-width: 3px; transform: translateX(-50%) rotate(135deg); }
  .cause__svg { grid-area: svg; align-self: center; height: auto; max-width: none; }
  .cause__num { grid-area: num; align-self: end; margin-top: 0; font-size: .72rem; }
  .cause__h { grid-area: h; font-size: 1.08rem; }
  .cause__step--end .cause__h { font-size: 1.18rem; }
  .cause__sub { grid-area: sub; align-self: start; margin-top: 4px; font-size: .88rem; line-height: 1.6; }
  .structure .ask { margin-top: 56px; }
  .structure__close { margin-top: 40px; }
  .structure__close-main { font-size: 20px; }
  .structure__close-sub { font-size: 15px; }

  .funnelsec { padding: 72px 0 64px; }
  .funnel { margin-top: 36px; }
  .funnel__title { font-size: 1.1rem; }
  .funnel__list { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .funnel__list li b { min-height: 0; font-size: .82rem; }
  .funnel + .letter { margin-top: 28px; }
  .funnel--map .funnel__title { margin-bottom: 12px; }
  /* 文字の塊に合わせて幅を詰め、中央に置く。番号・段階名・指標の列は全段でそろえる */
  .funnel--map .funnel__list { grid-template-columns: 1fr; gap: 10px; width: fit-content; }
  .funnel--map .funnel__list li { display: grid; grid-template-columns: 1.4em 6.2em 5.2em; align-items: center; gap: 10px; padding: 7px 18px; }
  .funnel--map .funnel__list li span { margin: 0; text-align: right; }
  .funnel--map .funnel__list li i { font-size: 1.15rem; line-height: 1.2; }
  .funnel--map .funnel__list li + li::before { top: -9px; border-width: 5px; border-top-width: 6px; }
  .funnel--map .funnel__list li b { font-size: .95rem; }
  .funnel--map .funnel__list li span { font-size: .78rem; }
  .funnel--map + .story__close { margin-top: 32px; }

  .operation { padding: 72px 0 64px; }
  .seven { margin-top: 32px; padding: 26px 14px 22px; border-radius: 18px; }
  .seven__title { font-size: 1.05rem; margin-bottom: 18px; }
  .seven__list { gap: 10px; }
  .seven__list li { flex-basis: calc((100% - 10px) / 2); padding: 12px 6px 12px; border-radius: 14px; }
  .seven__icon { width: 48px; height: 48px; margin: 0 auto 6px; }
  .seven__icon svg { width: 28px; height: 28px; }
  .seven__list li b { font-size: clamp(.82rem, 4vw, .95rem); }
  .seven__note { margin-top: 18px; font-size: .92rem; }

  .reveal { padding: 72px 0 64px; }
  .reveal__kicker { font-size: 1rem; }
  .reveal__h2 { font-size: 30px; margin: 6px 0 26px; }
  .reveal__panel { padding: 32px 18px 24px; border-radius: 20px; }
  .reveal__brand { font-size: 32px; }
  .reveal__def { font-size: 1rem; margin-top: 18px; line-height: 1.9; }
  .strengths__title { margin-top: 32px; }
  .strengths { gap: 14px; margin-top: 18px; }
  .strengths li { padding: 22px 18px 20px; }
  .strengths h4 { font-size: 1.15rem; }
  .strengths p { font-size: .93rem; }
  .reveal__close { font-size: 22px; margin-top: 32px; }

  .convert { padding: 72px 0 64px; }
  .funnel--after { margin-top: 40px; }
  .funnel--after .funnel__list { grid-template-columns: 1fr; gap: 20px; }
  .funnel--after .funnel__list li { display: grid; grid-template-columns: 2.2em 1fr auto; align-items: baseline; gap: 10px; text-align: left; padding: 12px 16px; }
  .funnel--after .funnel__list li i { font-size: 1.5rem; }
  .funnel--after .funnel__list li b { font-size: 1.05rem; }
  .funnel--after .funnel__list li span { margin-top: 0; }
  .funnel--after .funnel__list li + li::before { left: 50%; top: -17px; transform: translateX(-50%); border: 8px solid transparent; border-top: 10px solid var(--brand); border-bottom: 0; }
  .convert-steps { gap: 28px; margin-top: 48px; }
  .convert-steps li { padding: 22px 18px 20px; border-radius: 16px; }
  .convert-steps li + li::before { top: -22px; }
  .convert-steps__num { width: 46px; height: 46px; font-size: 1.02rem; box-shadow: 0 4px 0 var(--brand-dark); }
  .convert-steps li:nth-child(2) .convert-steps__num { box-shadow: 0 4px 0 var(--brand-secondary-dark); }
  .convert-steps li:nth-child(3) .convert-steps__num { box-shadow: 0 4px 0 #000; }
  .convert-steps__verb { font-size: 1.4rem; }
  .convert-steps h3 { margin-top: 16px; padding-top: 14px; font-size: 1.22rem; }
  .convert-steps h3 br { display: none; }
  .convert-steps li > p:not(.convert-steps__head) { font-size: .93rem; }
  .convert__close { margin-top: 48px; padding: 34px 16px 30px; border-width: 2px; border-radius: 18px; }
  .convert__line { margin-top: 20px; }
  .convert__key strong { font-size: clamp(24px, 7.4vw, 32px); letter-spacing: .02em; }
  .convert__end { margin-top: 20px; }

  .days { padding: 72px 0 64px; }
  /* SP：縦のタイムライン */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 40px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: start; padding-bottom: 24px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li + li::before { display: none; }
  .timeline__when { width: 84px; height: 84px; box-shadow: 0 5px 0 var(--brand-dark); }
  .timeline__when span { font-size: .72rem; margin-top: 3px; letter-spacing: .06em; }
  .timeline__when b { font-size: 1.35rem; }
  .timeline li:nth-child(2) .timeline__when { box-shadow: 0 5px 0 var(--brand-secondary-dark); }
  .timeline li:nth-child(3) .timeline__when { box-shadow: 0 5px 0 #000; }
  .timeline__body { margin-top: 0; padding: 16px 18px 18px; border-radius: 16px; text-align: left; }
  .timeline__body h3 { margin-top: 10px; padding-top: 10px; font-size: 1.1rem; }
  .timeline__body > p:last-child { margin-top: 8px; font-size: .93rem; line-height: 1.8; }

  .cases { padding: 72px 0 64px; }
  /* 事例カードの中身は 導入前 ▶ 導入後 の横並び */
  .story-cases { gap: 30px; padding-top: 16px; }
  .story-cases li { display: grid; grid-template-columns: 38% auto 1fr; align-items: stretch; gap: 10px 6px; padding: 18px 14px; border-radius: 18px; }
  /* タグの縦中央をカード上端に合わせる（padding 18px + タグ高さ32pxの半分） */
  .sc__head { grid-column: 1 / -1; margin-top: -34px; }
  .sc__tag { line-height: 1.6; }
  .sc__before { padding: 12px 10px; min-height: 0; }
  .sc__before p, .sc__before ul { font-size: .82rem; line-height: 1.6; }
  .story-cases .sc__before ul li { display: block; padding: 0 0 0 1em; }
  .sc__before br { display: none; }
  .sc__arrow { border: 9px solid transparent; border-left: 11px solid var(--brand); border-right: 0; }
  .sc__after { padding: 12px 10px; }
  .sc__lbl { display: flex; justify-content: center; text-align: center; font-size: .75rem; letter-spacing: .08em; flex-wrap: wrap; gap: 0 .4em; }
  .sc__lbl small { font-size: .65rem; }
  .sc__after dl { gap: 4px; margin-top: 6px; }
  .sc__after dt { font-size: .7rem; }
  .sc__after dd { font-size: .8rem; }
  .sc__after strong { font-size: 2rem; }
  .sc__extra { top: -20px; right: -8px; width: 58px; height: 58px; font-size: .58rem; }
  .sc__extra span { font-size: .62rem; }
  .sc__after .sc__extra strong { font-size: 1.15rem; }

  .doubts { padding: 72px 0 64px; }
  .doubt-list { gap: 12px; }
  .doubt-list li { padding: 18px 18px 16px; border-radius: 14px; }
  .doubt__q { font-size: 1.05rem; padding-left: 1.8em; }
  .doubt__q::before { font-size: 1.25rem; }
  .doubt__a { font-size: .95rem; padding-left: 1.8em; line-height: 1.85; }
  .doubt__a::before { font-size: 1.25rem; }
  .compare { margin-bottom: 56px; }
  .compare__table { min-width: 0; border-spacing: 6px 0; }
  .compare__table th, .compare__table td { font-size: .86rem; padding: 12px 8px; }
  .compare__table thead th { font-size: .95rem; padding: 12px 6px; }
  .compare__table tbody td.is-hl { font-size: .9rem; }
  .compare__table td small { font-size: .7rem; }
  .compare__table tbody th { width: 22%; font-size: .84rem; }


  .flow { padding: 72px 0 64px; }
  .flow__lead { font-size: 1rem; margin: -6px auto 28px; }
  .flow__list { grid-template-columns: 1fr; gap: 8px; }
  .flow__list li { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; padding: 14px 14px; align-items: center; border-radius: 14px; }
  .flow__list li + li::before { display: none; }
  .flow__step { grid-row: 1 / 3; justify-self: center; padding: 8px 12px; font-size: .7rem; }
  .flow__list h3 { margin: 0; font-size: 1.1rem; }
  .flow__list h3 small { display: inline; margin-left: .5em; }
  .flow__list p { font-size: .88rem; }
  .flow__need { grid-template-columns: 1fr; gap: 16px; padding: 22px 18px; margin-top: 32px; border-radius: 16px; }
  .flow__need h3 { font-size: 1.05rem; }
  .flow__need > p { font-size: .92rem; }


  .cta-band { padding: 44px 0; }
  .cta-band__inner { gap: 20px; }
  .cta-band__lead { font-size: 25px; padding: 0 1em; }
  .cta-band__pre { font-size: .95rem; }
  .cta-band__sub { font-size: .9rem; }
  .btn--big { min-height: 68px; font-size: 1.1rem; padding: 0 1.4em; }
  .form .btn { padding: 8px 1.4em; }
  .section-cta { margin-top: 36px; }
  .section-cta .btn { width: 100%; padding: 8px 1.4em; }
  /* SP：横並びだと文字が小さくなるため縦積み。LINEはメインより一段低くしてサブに見せる */
  .cta-pair { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-pair .btn { width: 100%; }
  .cta-pair .btn--line, .cta-band__cta .btn--line { min-height: 52px; font-size: 1rem; padding: 0 1em; }

  .contact { padding: 64px 0 64px; }
  .form-card--wide { padding: 24px 18px 22px; }
  .form__grid { grid-template-columns: 1fr; }

  .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; }

  .consultation-float {
    left: 0; right: 0; bottom: 0;
    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);
  }
  .consultation-float { transition: transform .3s, visibility .3s; }
  /* FVが見えている間は画面外へ下げ、FVを過ぎてから出す */
  .consultation-float.is-hidden { transform: translateY(100%); visibility: hidden; }
  .sp-cta { display: grid; gap: 10px; }
  .sp-cta .btn { width: 100%; min-height: 54px; padding: 0 1em; font-size: clamp(.88rem, 4vw, 1.02rem); }
  .sp-cta .btn--line { min-height: 44px; font-size: .95rem; }
  .sp-cta .tag { flex-shrink: 0; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cause .cause__case, .cause .cause__bars rect { animation: none !important; }
}
