/* ===========================================
   事業承継パスポート LP — Light Theme
   業界共通: 白×ネイビー×オレンジCTA、ゴールドアクセント
   =========================================== */

:root {
  /* ---- Color Tokens ---- */
  --bg: #ffffff;
  --bg-subtle: #f5f8fb;
  --bg-section: #eef3f8;
  --bg-deep: #0c2949;            /* footer / dark hero */
  --bg-deep-2: #163e6a;
  --text: #1a2540;
  --text-muted: #5a6c80;
  --text-light: #8694a8;

  --navy: #0c3868;               /* primary brand */
  --navy-2: #1e4d85;
  --navy-deep: #0a2647;

  --gold: #c8a951;               /* sub accent — keeps brand */
  --gold-2: #e0c474;

  --action: #ee7917;             /* CTA orange — industry standard */
  --action-2: #ff8a2c;
  --action-deep: #c25e0c;

  --line: #dfe6ee;
  --line-2: #c7d4e1;

  --shadow-sm: 0 2px 8px rgba(12, 41, 73, 0.06);
  --shadow-md: 0 6px 24px rgba(12, 41, 73, 0.10);
  --shadow-lg: 0 12px 40px rgba(12, 41, 73, 0.14);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic",
    Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: var(--text);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, svg { max-width: 100%; vertical-align: middle; }
img { display: block; height: auto; }
a { color: var(--navy); text-decoration: none; }
ul, ol { padding-left: 1.5em; margin: 0 0 16px; }
p { margin: 0 0 16px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

/* ---- Heading font (Mincho serif for editorial authority) ---- */
.serif {
  font-family: "Noto Serif JP", "YuMincho", "Yu Mincho", "Hiragino Mincho ProN",
    "MS PMincho", serif;
  font-feature-settings: "palt" 1, "kern" 1;
}

/* ---- Layout ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section-bg-subtle { background-color: var(--bg-subtle); }
.section-bg-section { background-color: var(--bg-section); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--action);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1, "kern" 1;
  text-align: center;
  margin: 0 0 24px;
  color: var(--navy-deep);
}
.section-title .accent { color: var(--action); }
.section-title .gold { color: var(--gold); }

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 56px;
  font-weight: 500;
}

.section-lead, .section-lead-text {
  max-width: 760px;
  margin: 0 auto 48px;
  font-size: 1rem;
  line-height: 2;
}
.section-lead-text { text-align: center; }
.section-lead-end {
  text-align: center;
  font-size: 1.125rem;
  margin: 32px 0 24px;
  font-weight: 500;
}

.title-sub {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 8px;
}

.step-label {
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.25em;
  color: var(--action);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.grid-heading {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1, "kern" 1;
  margin: 32px 0 16px;
  color: var(--navy-deep);
  position: relative;
  padding-left: 18px;
}
.grid-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--gold), var(--action));
  border-radius: 2px;
}

.muted { color: var(--text-muted); font-size: 0.875rem; }
.br-pc { display: inline; }
.br-mobile { display: none; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(12, 41, 73, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 72px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}
.brand-name {
  font-family: "Noto Serif JP", "YuMincho", "Yu Mincho", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.05em;
}
.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--navy-deep);
  line-height: 1.3;
}
.header-tel-num {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-tel-num::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: var(--action);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.05-.24c1.16.39 2.42.6 3.71.6a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A18 18 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.29.21 2.55.6 3.71a1 1 0 0 1-.24 1.05l-2.24 2.03Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.05-.24c1.16.39 2.42.6 3.71.6a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A18 18 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.29.21 2.55.6 3.71a1 1 0 0 1-.24 1.05l-2.24 2.03Z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.header-tel-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.header-btn { white-space: nowrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  min-height: 52px;
  white-space: nowrap;
  font-feature-settings: "palt" 1;
}
.btn-primary {
  background-color: var(--action);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(238, 121, 23, 0.30);
}
.btn-tel {
  background-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(12, 56, 104, 0.22);
}
.btn-outline {
  background: transparent;
  color: var(--navy-deep);
  border: 2px solid var(--navy);
}
.btn .icon { width: 18px; height: 18px; }

/* ---- Hero (Mobile-first KV banner image) ---- */
.hero {
  background-color: #ffffff;
  padding: 0;
  position: relative;
}
.hero-banner-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
  line-height: 0;
}
.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}
/* CTA group placed directly below the KV banner — KV画像と一体化（密着・隙間ゼロ） */
.hero-cta {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  background-color: #ffffff;
}
.hero-cta .btn {
  width: 100%;
  border-radius: 0;
  padding: 20px 20px;
  font-size: 1.0625rem;
}
@media (min-width: 720px) {
  .hero { padding: 0; background-color: #ffffff; }
}

/* ---- Full image section (full-bleed designed image, no surrounding HTML body) ---- */
.section.section-image {
  padding: 0;
  margin: 0;
  line-height: 0;
  font-size: 0;
  background-color: #ffffff;
}
/* 暫定HTMLセクション（画像化されるまで隣接ギャップを抑える） */
.section.section-step1-included {
  padding: 0;
}
.section.section-step1-included > .container {
  padding: 0;
}
.section.section-image > .container {
  padding: 0;
}
.section-image-img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
  height: auto;
  box-shadow: none;
  border-radius: 0;
}
@media (min-width: 720px) {
  .section-image-img {
    box-shadow: none;
    border-radius: 0;
  }
}

/* ---- 統一CTAブロック（KV直下/中盤/Pricing後で共通） ---- */
.section.section-cta-mid {
  background: transparent;
  padding: 0;
  margin: 0;
}
.section.section-cta-mid > .container {
  max-width: 480px;
  padding: 0;
  margin: 0 auto;
}
.cta-block {
  box-shadow: none;
  border-radius: 0;
}
/* Credentials を画像オンリー化（HTML部分削除予定） */
.section.section-credentials {
  padding: 0;
  margin: 0;
  background-color: #ffffff;
}
.cta-block {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  background: #f5efe5;
}
.cta-block-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 4px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.cta-block .btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cta-block-meta {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ---- Section hero image (per-section banner with title baked in; details follow in HTML) ---- */
.section-hero {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 32px;
  display: block;
  line-height: 0;
}
.section-hero-img {
  width: 100%;
  height: auto;
  display: block;
}
.section > .section-hero { margin-top: -32px; }
@media (min-width: 720px) {
  .section-hero {
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 48px;
  }
  .section > .section-hero { margin-top: 0; }
}

/* ---- Boxed Card (画像セクションと密着連結のため、影・境界・角丸は除去) ---- */
.boxed-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-color: #fff;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.boxed-card > .hero-banner-wrap,
.boxed-card > .section-hero {
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.boxed-card > .hero-cta {
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: none;
  background-color: #ffffff;
}
.boxed-card > .card-body {
  padding: 24px 20px 28px;
}
.boxed-card > .card-body--cream {
  background-color: #f5efe5;
  padding: 28px 20px 32px;
}
.boxed-card > .card-body > *:last-child { margin-bottom: 0; }
@media (min-width: 720px) {
  .boxed-card {
    box-shadow: none;
  }
  .boxed-card > .hero-cta { padding: 0; }
  .boxed-card > .card-body { padding: 32px 28px 36px; }
  .boxed-card > .card-body--cream { padding: 36px 32px 40px; }
}

/* ---- Step Detail (banner-quality content blocks) ---- */
.step-lead {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--text);
}
.step-detail-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  margin: 28px 0 18px;
  text-align: center;
}
.step-detail-heading::before,
.step-detail-heading::after {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background-color: var(--navy);
  opacity: 0.65;
}
.step-detail-heading .muted {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.step-detail-heading:first-child { margin-top: 8px; }

/* Numbered grid (8項目 — banner style: navy outlined circle + number) */
.numbered-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  row-gap: 10px;
  counter-reset: numgrid;
}
.numbered-grid li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  counter-increment: numgrid;
  color: var(--navy-deep);
  letter-spacing: 0.01em;
  font-feature-settings: "palt" 1;
}
.numbered-grid li::before {
  content: counter(numgrid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  background-color: #fff;
  color: var(--navy);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  line-height: 1;
}
.numbered-grid li .tag-important {
  font-size: 0.5625rem;
  padding: 1px 4px;
  margin-left: 3px;
  letter-spacing: 0;
}

/* Check grid (含まれるもの — gold checkmark + 2col) */
.check-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  row-gap: 8px;
}
.check-grid li {
  position: relative;
  padding-left: 20px;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  font-feature-settings: "palt" 1;
}
.check-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23c8a951' d='M6.2 11.6 2 7.4l1.4-1.4 2.8 2.8 6.4-6.4L14 3.8z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
@media (min-width: 480px) {
  .numbered-grid li,
  .check-grid li { font-size: 0.875rem; }
}
@media (min-width: 720px) {
  .numbered-grid { column-gap: 14px; row-gap: 12px; }
  .numbered-grid li { font-size: 0.9375rem; gap: 8px; }
  .numbered-grid li::before { width: 26px; height: 26px; font-size: 0.8125rem; }
  .check-grid { column-gap: 14px; }
  .check-grid li { font-size: 0.9375rem; padding-left: 22px; }
  .check-grid li::before { width: 16px; height: 16px; top: 5px; }
}

/* ---- Stage Flow (banner-style step list for Step 2) ---- */
.stage-flow-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stage-flow-list li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.stage-flow-list .sf-num {
  background-color: var(--navy);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-feature-settings: "palt" 1;
}
.stage-flow-list .sf-period {
  background-color: rgba(200, 169, 81, 0.18);
  color: var(--navy-deep);
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  white-space: nowrap;
}
.stage-flow-list .sf-name {
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
}

/* ---- Curriculum Mini (2x2 banner-style for Step 2) ---- */
.curriculum-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 24px;
}
.curriculum-mini-block {
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.curriculum-mini-block.is-option {
  background-color: rgba(200, 169, 81, 0.10);
  border-color: var(--gold);
}
.curriculum-mini-area {
  display: inline-block;
  background-color: var(--navy);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.curriculum-mini-block.is-option .curriculum-mini-area {
  background-color: var(--gold);
  color: var(--navy-deep);
}
.curriculum-mini-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 4px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.curriculum-mini-spec {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- Hojo Mini (補助金 compact box) ---- */
.hojo-mini {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.hojo-mini-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-deep);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.hojo-mini ul {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
}
.hojo-mini li {
  font-size: 0.75rem;
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
  color: var(--text);
  font-weight: 500;
}
.hojo-mini li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
}
.hojo-mini .muted {
  font-size: 0.6875rem;
  text-align: center;
  margin: 4px 0 0;
  color: var(--text-muted);
}

/* ---- Price Band (navy + gold pricing strip) ---- */
.price-band {
  background-color: var(--navy-deep);
  color: #fff;
  padding: 16px 18px 18px;
  border-radius: 10px;
  text-align: center;
  margin: 0;
}
.price-band-label {
  display: inline-block;
  background-color: var(--gold);
  color: var(--navy-deep);
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 3px;
  margin: 0 0 6px;
}
.price-band-num {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 2px;
  line-height: 1.2;
}
.price-band-num .unit {
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0;
  font-family: inherit;
}
.price-band-note {
  font-size: 0.75rem;
  opacity: 0.82;
  margin: 0;
  letter-spacing: 0.02em;
}
@media (min-width: 720px) {
  .stage-flow-list .sf-name { font-size: 0.9375rem; }
  .curriculum-mini { gap: 12px; }
  .curriculum-mini-block { padding: 18px 14px; }
  .curriculum-mini-name { font-size: 0.9375rem; }
  .price-band-num { font-size: 1.875rem; }
}

.step-end-note {
  text-align: center;
  font-size: 0.8125rem;
  margin: 16px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* AI demo inside cream card body — slim mobile spacing */
.card-body--cream .ai-demo {
  margin: 0 0 8px;
  padding: 24px 18px;
  border-radius: var(--radius-md);
}
.card-body--cream .ai-demo-question,
.card-body--cream .ai-demo-answer {
  padding: 16px 14px;
}
.card-body--cream .ai-demo-text {
  font-size: 0.9375rem;
  line-height: 1.7;
}
.card-body--cream .ai-demo-section-title {
  font-size: 0.8125rem;
  margin: 12px 0 6px;
}
.card-body--cream .ai-demo-quote {
  font-size: 1.0625rem;
  margin: 14px 0 2px;
}
@media (min-width: 720px) {
  .card-body--cream .ai-demo { padding: 32px 28px; }
  .card-body--cream .ai-demo-question,
  .card-body--cream .ai-demo-answer { padding: 22px 22px; }
  .card-body--cream .ai-demo-text { font-size: 1.0625rem; }
}

/* ---- Hero CTA Cards ---- */
.cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cta-group--hero { margin-top: 8px; }
.cta-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: center;
  font-feature-settings: "palt" 1;
}
.cta-card-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.cta-card-num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.cta-card-time {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.cta-card--tel {
  background-color: #ffffff;
  color: var(--navy-deep);
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-sm);
}
.cta-card--tel .cta-card-num { color: var(--navy-deep); }
.cta-card--tel .cta-card-time { color: var(--text-muted); }
.cta-card--form {
  background: linear-gradient(135deg, var(--action) 0%, var(--action-2) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(238, 121, 23, 0.30);
}
.cta-card--form .cta-card-num { color: #ffffff; }
.cta-card--form .cta-card-time { color: rgba(255, 255, 255, 0.9); }

/* ---- CTA rows ---- */
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.cta-row--center { justify-content: center; }
.mini-cta {
  margin: 56px auto 0;
  text-align: center;
  padding: 36px 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-subtle) 100%);
  border-radius: var(--radius-lg);
  max-width: 760px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.mini-cta-text {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
}
.mini-cta .cta-row { justify-content: center; }

/* ---- Diff section: Compare table ---- */
.section-diff { background-color: var(--bg); }
.compare-table-wrap {
  margin: 32px 0 24px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  min-width: 560px;
}
.compare-table thead th {
  padding: 20px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  border-bottom: 2px solid var(--line);
}
.compare-table thead th.th-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #ffffff;
  position: relative;
}
.compare-table thead th.th-highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--action));
}
.compare-table tbody th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--navy-deep);
  width: 24%;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--line);
}
.compare-table tbody td {
  padding: 18px 16px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.compare-table tbody tr td:last-child {
  background-color: rgba(238, 121, 23, 0.06);
  font-weight: 700;
  color: var(--navy-deep);
}

.lead-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.lead-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}
.lead-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--gold);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- Target section: check list ---- */
.section-target { background-color: var(--bg-subtle); }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  display: grid;
  gap: 14px;
}
.check-list li {
  padding: 22px 24px 22px 64px;
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--action), var(--action-2));
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>"), linear-gradient(135deg, #ee7917, #ff8a2c);
  background-size: 18px, cover;
  background-repeat: no-repeat;
  background-position: center, center;
  box-shadow: 0 4px 10px rgba(238, 121, 23, 0.30);
}

/* ---- Service Overview: Step flow ---- */
.section-overview { background-color: var(--bg-subtle); }
.section-credentials { background-color: var(--bg-subtle); }
.section-cases { background-color: var(--bg-subtle); }
.overview-image-wrap {
  margin: 0 auto 64px;
  max-width: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  background-color: var(--bg-section);
}
.overview-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 64px;
  position: relative;
}
.step-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.step-card--main {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 12px 32px rgba(200, 169, 81, 0.25);
  transform: translateY(-8px);
}
.step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #ffffff;
  background-color: var(--navy);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin: 0 auto 20px;
}
.step-card--main .step-num {
  background: linear-gradient(135deg, var(--action), var(--action-2));
}
.step-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy-deep);
}
.step-tag {
  font-size: 1rem;
  color: var(--action);
  margin: 0 0 8px;
  font-weight: 700;
}
.step-spec {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.step-desc {
  font-size: 0.9375rem;
  margin: 0;
  color: var(--text);
  line-height: 1.85;
}

.role-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.role-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: 0.1em;
  margin: 0 0 28px;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 32px;
}
.role-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.role-label {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-2);
}
.role-spec {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  font-weight: 500;
}
.card-body--cream .role-item {
  background-color: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.card-body--cream .role-label {
  color: var(--navy-deep);
}
.card-body--cream .role-spec {
  color: var(--text);
}
.card-body--cream .role-desc {
  color: var(--text);
}
.role-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 16px 0 0;
  line-height: 1.85;
}

/* ---- Step1 / Step2 / Step3 sections ---- */
.section.section-step1 { background-color: var(--bg-subtle); padding-top: 0; }
.section-step2 { background-color: var(--bg-subtle); }
.section-step3 { background-color: var(--bg-subtle); }

/* 旧 .section-image (21:9アスペクト固定) は削除済み。
   新 .section.section-image (line 335) が full-bleed 9:16画像用 */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin: 32px 0;
}
.numbered-list, .bullet-list {
  margin: 0 0 16px;
  padding-left: 1.25em;
}
.numbered-list li, .bullet-list li {
  padding: 8px 0;
  line-height: 1.85;
  font-weight: 500;
}
.bullet-list { list-style: none; padding-left: 0; }
.bullet-list li {
  position: relative;
  padding-left: 24px;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 8px;
  height: 8px;
  background-color: var(--action);
  border-radius: 50%;
}
.numbered-list { padding-left: 0; counter-reset: numlist; list-style: none; }
.numbered-list li {
  position: relative;
  padding-left: 40px;
  counter-increment: numlist;
}
.numbered-list li::before {
  content: counter(numlist);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.tag-important {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--action), var(--action-2));
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  letter-spacing: 0.12em;
  vertical-align: middle;
}

.price-box {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-subtle) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  margin: 32px 0;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.price-label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--action);
  letter-spacing: 0.2em;
  margin: 0 0 12px;
}
.price-num {
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.price-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.price-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.hojo-box {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 24px 0 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.hojo-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

/* ---- Step2: stage timeline ---- */
.stage-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 48px;
  counter-reset: stage;
}
.stage-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.stage-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--action);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.stage-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.stage-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 32px;
}
.curriculum-block {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.curriculum-block--option {
  background: linear-gradient(135deg, rgba(200, 169, 81, 0.08), rgba(238, 121, 23, 0.06));
  border: 1px solid var(--gold);
}
.curriculum-area {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--action);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.curriculum-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.curriculum-spec {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- Step3: AI demo ---- */
.ai-demo {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 32px auto;
  max-width: 760px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}
.ai-demo-question, .ai-demo-answer {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.ai-demo-name {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-2);
  margin: 0 0 10px;
}
.ai-demo-text {
  font-size: 1.0625rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.85;
  font-weight: 500;
}
.ai-demo-section-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--gold-2);
  margin: 16px 0 8px;
  letter-spacing: 0.06em;
}
.ai-demo-answer .bullet-list li,
.ai-demo-answer .numbered-list li {
  color: rgba(255, 255, 255, 0.92);
}
.ai-demo-answer .bullet-list li::before {
  background-color: var(--gold-2);
}
.ai-demo-answer .numbered-list li::before {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy-deep);
}
.ai-demo-quote {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  margin: 20px 0 4px;
}
.ai-demo-quote-name {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gold-2);
  margin: 0;
}
.ai-explanation {
  text-align: center;
  margin: 32px auto;
  max-width: 660px;
  line-height: 2;
  font-size: 1.0625rem;
}

/* ---- Credentials ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 56px;
}
.stat-item {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--action));
}
.stat-num {
  font-family: "Noto Serif JP", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.stat-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}

.rep-message {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-subtle) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 0 0 56px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.rep-photo {
  width: 240px;
  height: 240px;
  background-color: var(--bg-section);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
}
.rep-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rep-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.rep-quote {
  margin: 0;
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
}
.rep-quote p { margin: 0 0 12px; }
.rep-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-top: 16px;
  font-style: normal;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 32px;
}
.reason-item {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.reason-num {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
}
.reason-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 500;
}

/* ---- Cases ---- */
.case-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 0 auto 24px;
  max-width: 880px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.case-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.case-tag {
  background: linear-gradient(135deg, var(--action), var(--action-2));
  color: #ffffff;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 10px rgba(238, 121, 23, 0.30);
}
.case-industry {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
}
.case-spec {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 500;
}
.case-dl {
  margin: 16px 0 24px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px 24px;
  background-color: var(--bg-subtle);
  padding: 20px 24px;
  border-radius: var(--radius-md);
}
.case-dl dt {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--action);
  letter-spacing: 0.1em;
}
.case-dl dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}
.case-h {
  font-family: "Noto Serif JP", serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 24px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.case-disclaimer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 32px 0;
  font-weight: 500;
}

/* ---- Pricing ---- */
.section-pricing { background-color: var(--bg); }
.pricing-table {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto 48px;
  max-width: 880px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.pricing-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 36px;
  border-bottom: 1px solid var(--line);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row--main {
  background: linear-gradient(135deg, rgba(238, 121, 23, 0.05), rgba(200, 169, 81, 0.06));
  position: relative;
}
.pricing-row--main::before {
  content: "おすすめ";
  position: absolute;
  top: 16px;
  right: 36px;
  background: linear-gradient(135deg, var(--action), var(--action-2));
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.1em;
}
.pricing-step {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #ffffff;
  background-color: var(--navy);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.1em;
  text-align: center;
}
.pricing-row--main .pricing-step {
  background: linear-gradient(135deg, var(--action), var(--action-2));
}
.pricing-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
}
.pricing-amount {
  text-align: right;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}
.pricing-unit {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 6px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.conclusion {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 32px auto;
  max-width: 720px;
  line-height: 1.85;
}

/* ---- FAQ ---- */
.section-faq { background-color: var(--bg-subtle); }
.faq-list {
  max-width: 880px;
  margin: 0 auto 48px;
}
.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  padding: 24px 64px 24px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: var(--navy-deep);
  letter-spacing: 0.03em;
  line-height: 1.7;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  margin-top: -14px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--action), var(--action-2));
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/></svg>"), linear-gradient(135deg, #ee7917, #ff8a2c);
  background-size: 16px, cover;
  background-repeat: no-repeat;
  background-position: center, center;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 28px 28px;
  font-size: 0.9375rem;
  line-height: 1.95;
  color: var(--text);
  font-weight: 500;
}

/* ---- Contact ---- */
.section-contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
}
.contact-2col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin: 32px 0 56px;
}
.contact-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.contact-card--tel {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #ffffff;
  border: none;
}
.contact-card--tel .contact-card-label {
  color: var(--gold-2);
}
.contact-card--tel .contact-card-num {
  color: #ffffff;
}
.contact-card--tel .contact-card-meta {
  color: rgba(255, 255, 255, 0.85);
}
.contact-card-label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--action);
  letter-spacing: 0.15em;
  margin: 0 0 16px;
}
.contact-card-num {
  font-family: "Noto Serif JP", serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.contact-card-num .icon { width: 32px; height: 32px; color: var(--gold-2); }
.contact-card-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.contact-card-meta li { padding: 4px 0; }
.contact-btn {
  width: 100%;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row--half > div { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
}
.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.625rem;
  font-weight: 800;
  background-color: var(--action);
  color: #ffffff;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
  vertical-align: middle;
}
.form-row input,
.form-row textarea {
  padding: 14px 18px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
  letter-spacing: 0.04em;
  min-height: 52px;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--action);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(238, 121, 23, 0.15);
}

.contact-extra, .contact-flow {
  max-width: 760px;
  margin: 32px auto;
}
.flow-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  counter-reset: flowstep;
}
.flow-list li {
  padding: 20px 24px 20px 84px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  counter-increment: flowstep;
}
.flow-list li::before {
  content: counter(flowstep);
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #ffffff;
  border-radius: 50%;
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.flow-list li .flow-step {
  display: none;
}

.closing-message {
  text-align: center;
  margin: 64px auto 0;
  max-width: 720px;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.closing-message::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 169, 81, 0.15) 0%, transparent 70%);
}
.closing-message p {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  line-height: 2;
  margin-bottom: 16px;
  color: #ffffff;
  position: relative;
}
.closing-name {
  margin-top: 24px;
  font-size: 1rem;
  color: var(--gold-2);
  font-weight: 700;
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--navy-deep);
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, 0.85);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: "Noto Serif JP", serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}
.footer-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px;
}
.footer-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}
.footer-tel .icon { width: 18px; height: 18px; color: var(--gold-2); }
.footer-tel a {
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.125rem;
}
.footer-heading {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-2);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { padding: 5px 0; }
.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 0;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* ---- Mobile bottom bar ---- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px;
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(12, 41, 73, 0.12);
}
.mb-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.1em;
  min-height: 56px;
}
.mb-btn .icon { width: 22px; height: 22px; }
.mb-btn--tel {
  background-color: var(--navy);
  color: #ffffff;
}
.mb-btn--form {
  background: linear-gradient(135deg, var(--action), var(--action-2));
  color: #ffffff;
}

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

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { max-width: 100%; }
  .hero-visual { max-width: 600px; margin: 0 auto; aspect-ratio: 4/3; }
}

@media (max-width: 960px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-timeline { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: 1fr; }
  .contact-2col { grid-template-columns: 1fr; }
  .rep-message { grid-template-columns: 1fr; text-align: center; }
  .rep-photo { margin: 0 auto; }
  .content-grid { grid-template-columns: 1fr; gap: 24px; }
  .curriculum-grid { grid-template-columns: 1fr; }
  .step-flow { grid-template-columns: 1fr; }
  .step-card--main { transform: none; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .br-pc { display: none; }
  .br-mobile { display: inline; }

  /* Header */
  .header-inner { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.6875rem; }
  .header-tel { display: none; }
  .header-btn {
    padding: 12px 18px;
    font-size: 0.875rem;
    min-height: 44px;
  }

  /* Hero */
  .hero { padding: 40px 0 56px; }
  .hero-title { font-size: 1.875rem; line-height: 1.5; }
  .hero-sub { font-size: 1rem; line-height: 1.85; }
  .hero-eyebrow { font-size: 0.75rem; padding: 5px 12px; }
  .hero-stats { font-size: 0.75rem; }
  .hero-badge { flex-direction: column; gap: 4px; padding: 8px 16px; }
  .badge-divider { display: none; }
  .cta-group { grid-template-columns: 1fr; gap: 12px; }
  .cta-card-num { font-size: 1.25rem; }

  /* Section title */
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 32px; }

  /* Compare table */
  .compare-table { font-size: 0.8125rem; min-width: 480px; }
  .compare-table thead th, .compare-table tbody th, .compare-table tbody td {
    padding: 12px 8px;
  }

  /* Stats grid */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item { padding: 24px 12px; }
  .stat-num { font-size: 2.25rem; }

  /* Stage timeline */
  .stage-timeline { grid-template-columns: 1fr; }

  /* Role grid */
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .role-block { padding: 32px 20px; }

  /* Pricing */
  .pricing-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding: 24px 20px;
  }
  .pricing-step { justify-self: center; }
  .pricing-amount { text-align: center; font-size: 1.375rem; }
  .pricing-row--main::before { top: 8px; right: 50%; transform: translateX(50%); }

  /* Cases */
  .case-card { padding: 28px 24px; }
  .case-dl { grid-template-columns: 1fr; padding: 16px 20px; }
  .case-dl dt { padding-top: 8px; }

  /* Contact */
  .contact-card { padding: 28px 24px; }
  .contact-card-num { font-size: 1.5rem; }
  .form-row--half { grid-template-columns: 1fr; }

  /* CTA buttons */
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { width: 100%; }
  .mini-cta { padding: 28px 20px; }

  /* AI demo */
  .ai-demo { padding: 28px 20px; }

  /* Hero visual */
  .hero-visual { aspect-ratio: 1/1; }
  /* .section-image の 16:9 強制を削除（縦長9:16画像をそのまま表示） */

  /* Mobile bottom bar */
  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 80px; }

  /* Closing */
  .closing-message { padding: 32px 24px; }
  .closing-message p { font-size: 1.0625rem; }

  /* Footer */
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }

  /* Section title */
  .section-eyebrow { font-size: 0.6875rem; }

  /* Flow list */
  .flow-list li { padding: 16px 16px 16px 72px; }
  .flow-list li::before { left: 16px; width: 36px; height: 36px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .role-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.625rem; }
}

/* =============================================
   v10 統一レイアウト: 全ブロック480px・継ぎ目なし
   ============================================= */

/* セクション間マージン全廃 */
.section { padding: 0; margin: 0; }
.section.section-cta-mid { padding: 0; margin: 0; background: transparent; }

/* Header: 480px・追従・白背景・薄い罫線のみ */
.site-header {
  background-color: transparent;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .header-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border-bottom: 1px solid var(--line);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.site-header .brand-name { font-size: 1rem; }
.site-header .brand-sub { font-size: 0.6875rem; }
.site-header .header-cta { gap: 0; flex-shrink: 0; }
.site-header .header-btn {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  min-height: 0;
  border-radius: 999px;
}

/* Hero（KV）余白なし */
.hero { padding: 0; margin: 0; }
.hero > .container,
.hero .boxed-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}

/* CTAブロック（KV直下/中盤/Pricing後）：480px・継ぎ目なし */
.section.section-cta-mid > .container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}
.cta-block {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 28px;
  background: #f5efe5;
  border-radius: 0;
  box-shadow: none;
}

/* CTA電話番号を大きく */
.btn-tel,
.cta-block .btn-tel {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 14px 16px;
  min-height: 56px;
}
.cta-block .btn-tel .icon { width: 24px; height: 24px; }
.cta-block-title { font-size: 1.0625rem; }
.cta-block-meta { font-size: 0.75rem; }

/* Contact：480px・コンテンツ幅MAX・余白排除 */
.section-contact {
  background: transparent;
  padding: 0;
  margin: 0;
}
.section-contact > .container {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.section-contact .section-title {
  font-size: 1.375rem;
  margin: 0;
  padding: 24px 20px 6px;
  text-align: center;
}
.section-contact .section-subtitle {
  font-size: 0.9375rem;
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-muted);
  text-align: center;
}
.section-contact .contact-2col {
  display: block;
  grid-template-columns: none;
  gap: 0;
  margin: 0;
}
.section-contact .contact-card {
  padding: 18px 16px 20px;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--line);
}
.section-contact .contact-card--form { padding-bottom: 24px; }
.section-contact .contact-card-num {
  font-size: 1.875rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.section-contact .contact-card-num .icon { width: 26px; height: 26px; }
.section-contact .contact-card-meta { font-size: 0.875rem; margin: 0 0 16px; }
.section-contact .contact-card-label { font-size: 0.75rem; }
.section-contact .contact-extra,
.section-contact .contact-flow,
.section-contact .closing-message { display: none; }

/* FAQ以降の枠：白背景部分に左右の細線で視覚的な枠を継続 */
#faq .section-image-img,
.section-contact > .container {
  border-left: 1px solid #e3ddcf;
  border-right: 1px solid #e3ddcf;
}
.section-contact > .container { border-bottom: 1px solid #e3ddcf; }

/* こんな経営者に選ばれています：白背景画像下にスペース */
.section-target-checklist {
  background: #ffffff;
}
.section-target-checklist .section-image-img {
  margin-bottom: 0;
}
.section-target-checklist::after {
  content: "";
  display: block;
  height: 32px;
  background: #ffffff;
  max-width: 480px;
  margin: 0 auto;
}

/* 代表からのメッセージ：実写ポートレート + テキスト */
.section-message {
  max-width: 480px;
  margin: 0 auto;
  background: #f5efe5;
  padding: 36px 22px 40px;
}
.message-card {
  text-align: left;
}
.message-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: #c9a85c;
  font-weight: 700;
  margin: 0 0 18px;
  text-align: center;
}
.message-photo {
  width: 62%;
  max-width: 240px;
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(14, 27, 58, 0.18);
}
.message-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.message-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 18px;
  color: #0e1b3a;
  text-align: center;
  letter-spacing: 0.02em;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.message-text {
  font-size: 0.9375rem;
  line-height: 1.95;
  margin: 0 0 22px;
  color: #2a3046;
}
.message-name {
  font-size: 0.8125rem;
  color: #5a5f73;
  margin: 0;
  text-align: right;
  line-height: 1.7;
}
.message-name span {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0e1b3a;
  letter-spacing: 0.05em;
}

/* Footer：簡素化 / navy 継ぎ目なし */
.site-footer {
  padding: 0;
  margin: 0;
  background: transparent;
}
.site-footer > .container.footer-inner,
.site-footer .footer-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  background: var(--navy-deep);
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
.site-footer .footer-brand {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}
.site-footer .footer-tel {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.site-footer .footer-tel a { font-size: 1.375rem; color: #ffffff; font-weight: 700; }
.site-footer .footer-tel .icon { width: 22px; height: 22px; color: #ffffff; }
.site-footer .footer-copy { margin: 0; font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* 旧 mobile-bottom-bar は無効化（右下追従に置換） */
.mobile-bottom-bar { display: none !important; }

/* Floating Tel CTA：コンテンツ幅(480px)の右下追従 */
.float-tel-btn {
  position: fixed;
  bottom: 14px;
  right: max(12px, calc((100vw - 480px) / 2 + 12px));
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 10px 12px;
  background: #ee7917;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.12);
}
.float-tel-btn .icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
  flex-shrink: 0;
}
.float-tel-btn .float-tel-num {
  white-space: nowrap;
}

/* ヘッダー右側CTA簡素化（CTAは1つに） */
.site-header .header-cta { gap: 0; }
.site-header .header-tel { display: none; }

/* =============================================
   PC専用：内部より一段深い黒紺。コンテンツのフッター/CTA(濃紺)と被らない
   ============================================= */
@media (min-width: 720px) {
  body {
    background: #050b1c;
    background-color: #050b1c;
  }

  /* セクションが全幅で広がるのを完全に止める：すべて480pxに収める */
  .section,
  .site-header,
  .site-footer,
  .hero {
    background: transparent !important;
  }

  /* 代表メッセージは背景クリーム保持（濃紺body bgで濃紺テキストが見えなくなるため） */
  .section.section-message {
    background: #f5efe5 !important;
  }

  /* 左右の縦書き風ブランドテキスト（装飾） */
  .pc-side-brand {
    position: fixed;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    color: rgba(201, 168, 92, 0.55);
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.6em;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
    display: none;
  }
  .pc-side-brand--left { left: calc((100vw - 480px) / 4 - 80px); }
  .pc-side-brand--right { right: calc((100vw - 480px) / 4 - 80px); transform: translateY(-50%) rotate(90deg); }
}

/* 1024px以上：左右ブランドテキスト表示 */
@media (min-width: 1024px) {
  .pc-side-brand { display: block !important; }
}

.mobile-bottom-bar .mb-btn { font-size: 0.9375rem; font-weight: 700; }
