/* ================================================================
   styles/lp.css — 統合LP デザイン層
   トーン: 案C（landscape）ベース + 成果物セクションは案A台帳モック
   ================================================================ */

/* ----------------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------------- */
.lp-page {
  --ink:       #1C2B3A;
  --ink-sub:   #4A5D72;
  --surface-0: #FFFFFF;
  --surface-1: #F2F5F8;
  --border:    #D1DCE6;
  --accent:    #1B7791;
  --d1:        #C8DEE9; /* density lightest */
  --d2:        #8ABDD5;
  --d3:        #4D9AB8;
  --d4:        #1B7791; /* density darkest */

  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Sans", "Noto Sans JP", sans-serif;
}

/* ----------------------------------------------------------------
   2. Button overrides
   ---------------------------------------------------------------- */
.lp-page .button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 119, 145, 0.28);
  border-color: transparent;
}

.lp-page .button.ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink);
}

/* CTA large size — min-height 56px, padding 44px */
.lp-page .button.large {
  min-height: 56px;
  padding: 0 44px;
  font-size: 17px;
}

/* ----------------------------------------------------------------
   3. Header CTA — small, not full-width on mobile
   ---------------------------------------------------------------- */
.lp-page .header-cta {
  min-height: 44px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 700;
}

/* ----------------------------------------------------------------
   4. Eyebrow
   ---------------------------------------------------------------- */
.lp-page .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-sub);
  margin-bottom: 14px;
}

/* ----------------------------------------------------------------
   5. Section base
   ---------------------------------------------------------------- */
.lp-page .section {
  padding: 96px 0;
  background: var(--surface-0);
}

.lp-page .section.soft {
  background: var(--surface-1);
}

.lp-page .section-head {
  margin-bottom: 52px;
}

.lp-page .section h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 16px;
}

.lp-page .section h3 {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 10px;
}

.lp-page .section-intro {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-sub);
  margin: 0;
}

/* ----------------------------------------------------------------
   6. Info card base
   ---------------------------------------------------------------- */
.lp-page .info-card {
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
}

.lp-page .info-card p {
  font-size: 14px;
  color: var(--ink-sub);
  margin: 0;
  line-height: 1.8;
}

.lp-page .info-card .index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ----------------------------------------------------------------
   7. Hero — bright light tone, 2-column, KV right
   ---------------------------------------------------------------- */
.lp-page .hero {
  display: block;
  background: linear-gradient(140deg, #FFFFFF 0%, #EDF4F8 55%, #D3E8F2 100%);
  min-height: auto;
  padding: 0;
  overflow: visible;
}

.lp-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 630px);
  gap: 64px;
  align-items: center;
  padding: 88px 0 80px;
}

.lp-page .hero-grid > * {
  min-width: 0;
}

.lp-page .hero-copy .eyebrow {
  color: var(--ink-sub);
  margin-bottom: 20px;
}

.lp-page #hero-title {
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 24px;
}

/* 対象注記（hero-note）は2026-08-26のCSC様指示で削除。
   リードとCTAの間隔は削除前（リード10px+注記下32px）と同等の32pxを維持する。 */
.lp-page .hero-lead {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.9;
  color: var(--ink-sub);
  margin: 0 0 32px;
  max-width: none;
}

.lp-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.lp-page .hero-visual {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-page .hero-visual img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 0;
  display: block;
  box-shadow: none;
  /* 修正1: 四辺を背景グラデーションへ溶け込ませる */
  mask-image:
    linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-composite: source-in;
}

/* ----------------------------------------------------------------
   8. Problem — question cards with gradient top bar
   ---------------------------------------------------------------- */
.lp-page [data-section="problem"] {
  position: relative;
}

.lp-page [data-section="problem"]::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--d4) 0%, var(--d3) 40%, var(--d2) 70%, var(--d1) 100%);
}

.lp-page .question-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-page .question-grid .info-card {
  border-top: 3px solid var(--ink);
  border-radius: 2px 2px 6px 6px;
}

.lp-page .question-grid .info-card .index {
  color: #fff;
  background: var(--ink);
  border-radius: 2px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 22px;
}

.lp-page .question-grid .info-card h3 {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 700;
}

/* ----------------------------------------------------------------
   9. Deliverable preview — 4-point light strip
   ---------------------------------------------------------------- */
.lp-page .preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-page [data-section="deliverable-preview"] { padding: 120px 0; }
.lp-page #preview-title { font-size: clamp(24px, 3.3vw, 40px); }
/* 成果物アイコン: Lucide (ISC License / lucide.dev) をインライン埋め込み */
.lp-page .preview-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 12px; }
.lp-page .preview-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.lp-page .preview-card {
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 20px;
}

.lp-page .preview-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.5;
}

.lp-page .preview-card p {
  font-size: 13px;
  color: var(--ink-sub);
  margin: 0;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   10. Target audience — 2×2 grid
   ---------------------------------------------------------------- */
.lp-page .audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.lp-page .audience-grid .info-card .index {
  color: var(--ink-sub);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 20px;
}

/* ----------------------------------------------------------------
   11. Assessment scope — 4 domains, horizontally connected
   ---------------------------------------------------------------- */
.lp-page .scope-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

/* Horizontal connecting line at the height of the index circles */
.lp-page .scope-flow::before {
  content: "";
  position: absolute;
  top: 13px; /* half of 28px circle */
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--d4) 0%, var(--d3) 33%, var(--d2) 67%, var(--d1) 100%);
  z-index: 0;
}

.lp-page .scope-step {
  position: relative;
  padding: 0 12px;
  text-align: center;
  z-index: 1;
}

.lp-page .scope-step .index {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: var(--accent);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.lp-page .scope-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.45;
}

.lp-page .scope-step p {
  font-size: 13px;
  color: var(--ink-sub);
  line-height: 1.75;
  margin: 0;
  text-align: left;
}

/* ----------------------------------------------------------------
   12. Evaluation model — 2 cards
   ---------------------------------------------------------------- */
.lp-page .two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lp-page .two-grid .info-card .index {
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 20px;
}

/* Evaluation model: a diagram, not another row of cards. */
/* #11: 旧2カード（高さ225px）比で20〜30%低い全高に収める */
.lp-page .evaluation-diagram { display: grid; gap: 18px; }
.lp-page .eval-areas, .lp-page .maturity-scale { list-style: none; padding: 0; margin: 0; display: grid; }
.lp-page .eval-areas { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.lp-page .eval-areas li { padding: 13px 10px; background: var(--surface-1); border-top: 3px solid var(--accent); font-size: 13px; font-weight: 700; line-height: 1.5; }
.lp-page .maturity-scale { grid-template-columns: repeat(5, 1fr); gap: 0; }
.lp-page .maturity-scale li { position: relative; min-height: 64px; padding: 11px 14px; background: var(--surface-1); border-left: 1px solid #fff; display: grid; align-content: center; gap: 4px; }
.lp-page .maturity-scale li:first-child { border-left: 0; }
.lp-page .maturity-scale li:nth-child(1) { background: #e8eef2; }.lp-page .maturity-scale li:nth-child(2) { background: #d8e7ee; }.lp-page .maturity-scale li:nth-child(3) { background: #c2dce7; }.lp-page .maturity-scale li:nth-child(4) { background: #9fc8d9; }.lp-page .maturity-scale li:nth-child(5) { background: var(--accent); color: #fff; }
.lp-page .maturity-scale strong { font-size: 15px; }.lp-page .maturity-scale span, .lp-page .risk-note { font-size: 13px; line-height: 1.65; }.lp-page .risk-note { margin: 0; color: var(--ink-sub); }

/* ----------------------------------------------------------------
   13. Assessment method — triangulation (3 sources → 1 result)
   ---------------------------------------------------------------- */
.lp-page .triangulation, .lp-page .tri-converge {
  position: relative;
}
.lp-page .tri-converge { padding-bottom: 2px; }
.lp-page .tri-sources { position: relative; padding-bottom: 52px; }
/* 3カードそれぞれから下ろした縦線を横線で合流させ、中央の1本で集約先へ接続する */
.lp-page .tri-sources::before { content: ""; position: absolute; left: 16.7%; right: 16.7%; bottom: 26px; height: 2px; background: var(--accent); }
.lp-page .tri-sources::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 26px; transform: translateX(-1px); background: var(--accent); }
.lp-page .tri-card { padding: 22px; position: relative; }
.lp-page .tri-card::after { content: ""; position: absolute; left: 50%; bottom: -26px; width: 2px; height: 26px; transform: translateX(-1px); background: var(--accent); }
.lp-page .tri-result { width: min(560px, 100%); margin: 0 auto; border-radius: 6px; }

.lp-page .tri-sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.lp-page .tri-card {
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
}

.lp-page .tri-card .index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-sub);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 18px;
}

.lp-page .tri-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.45;
}

.lp-page .tri-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
  line-height: 1.4;
  letter-spacing: .03em;
}

.lp-page .tri-card p:not(.tri-role) {
  font-size: 13px;
  color: var(--ink-sub);
  margin: 0;
  line-height: 1.75;
}

/* Convergence result — visually stands out with downward-pointing notch */
.lp-page .tri-result {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 22px 28px;
  background: var(--accent);
  border-radius: 0 0 6px 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
}

/* Triangle pointing up — shows convergence from the 3 cards above */
.lp-page .tri-result::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 16px solid var(--accent);
}

/* Checkmark icon for tri-mark */
.lp-page .tri-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.lp-page .tri-mark::before {
  content: "";
  width: 6px;
  height: 11px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(45deg) translate(-1px, -2px);
  display: block;
}

/* Option note */
.lp-page .option-note {
  font-size: 13px;
  color: var(--ink-sub);
  margin: 24px 0 0;
  line-height: 1.7;
  padding: 14px 20px;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.lp-page .option-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--ink-sub);
  color: #fff;
  border-radius: 3px;
  padding: 2px 8px;
  flex-shrink: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   14. Process — 4 steps connected with horizontal line
   ---------------------------------------------------------------- */
.lp-page .period-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  margin: -96px 0 34px auto;
  width: fit-content;
  max-width: 100%;
}

.lp-page .period-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  line-height: 1;
}

.lp-page .period-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

.lp-page .period-note {
  font-size: 12px;
  color: var(--ink-sub);
  line-height: 1.6;
  text-align: left;
  white-space: normal;
  max-width: 300px;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.lp-page .process-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line through circle centers */
.lp-page .process-flow::before {
  content: "";
  position: absolute;
  top: 23px; /* half of 48px step-index */
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.lp-page .process-flow li {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  min-width: 0;
  position: relative;
}
.lp-page .process-flow li:not(:last-child)::after { content: "→"; position: absolute; right: 8px; top: 13px; color: var(--accent); font-size: 20px; font-weight: 700; }

.lp-page .process-flow li:last-child {
  padding-right: 0;
}

.lp-page .step-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--surface-0);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Override site.css process-grid step number style */
.lp-page .process-flow li > span {
  display: flex;
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 20px;
}

.lp-page .process-flow li div h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.45;
}

.lp-page .process-flow li div p {
  font-size: 13px;
  color: var(--ink-sub);
  margin: 0;
  line-height: 1.75;
}

/* ----------------------------------------------------------------
   15. Deliverables — MAIN section (Case A ledger mock)
   ---------------------------------------------------------------- */
.lp-page .feature-deliverables {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.lp-page .feature-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: stretch;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  overflow: hidden;
}
.lp-page [data-section="deliverables"] { padding: 128px 0; background: #eaf1f5; }
.lp-page .feature-primary { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); min-height: 340px; }
.lp-page .feature-primary .feature-mock { min-height: 290px; }
.lp-page .feature-secondary { width: calc(50% - 14px); display: inline-grid; vertical-align: top; grid-template-columns: 1fr; gap: 22px; }
.lp-page .feature-deliverables { display: flex; flex-flow: row wrap; }
.lp-page .feature-primary { width: 100%; }

.lp-page .feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-page .feature-body .index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--ink);
  border-radius: 2px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 18px;
  align-self: flex-start;
}

.lp-page .feature-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.4;
}

.lp-page .feature-body p {
  font-size: 15px;
  color: var(--ink-sub);
  line-height: 1.85;
  margin: 0;
}

/* Mock container — Case A warm paper background */
.lp-page .feature-mock {
  background: #F5F4F1;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}

/* --- Mock 01: Ledger table --- */
.lp-page .mock-ledger {
  width: 100%;
  border: 1.5px solid #C8C6BE;
  border-radius: 3px;
  overflow: hidden;
}

.lp-page .mock-row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 2fr 1.4fr;
  border-top: 1px solid #D0CEC8;
}

.lp-page .mock-row:first-child {
  border-top: none;
}

.lp-page .mock-row span {
  padding: 7px 9px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.lp-page .mock-head {
  background: #1E1E1E;
}

.lp-page .mock-head span {
  color: #F5F4F1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
}

.lp-page .mock-row:not(.mock-head) span {
  color: #1A1A1A;
}

/* Tags in 4th column — need flex centering */
.lp-page .mock-row em {
  display: flex;
  align-items: center;
  padding: 0 9px;
  font-style: normal;
}

.lp-page .tag-warn {
  display: inline-block;
  background: rgba(192, 84, 84, .14);
  color: #9E3B3B;
  border-radius: 2px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.lp-page .tag-mid {
  display: inline-block;
  background: rgba(107, 107, 107, .12);
  color: #565656;
  border-radius: 2px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.lp-page .tag-ok {
  display: inline-block;
  background: rgba(27, 119, 145, .14);
  color: #15607A;
  border-radius: 2px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

/* --- Mock 02: Heatmap grid --- */
.lp-page .mock-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  /* 3つのモックで見た目の重さを揃える。aspect-ratioで高さを伸ばすと
     このカードだけ縦に大きくなるため、行の高さを固定する。 */
  grid-auto-rows: 36px;
  grid-template-rows: repeat(3, 36px);
}

.lp-page .mock-map .cell {
  border-radius: 2px;
  display: block;
}

.lp-page .cell.d1 { background: var(--d1); }
.lp-page .cell.d2 { background: var(--d2); }
.lp-page .cell.d3 { background: var(--d3); }
.lp-page .cell.d4 { background: var(--d4); }

/* --- Mock 03: Roadmap bars --- */
.lp-page .mock-road {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-page .road-lane {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-page .road-label {
  font-size: 11px;
  font-weight: 700;
  color: #6B6B6B;
  width: 30px;
  flex-shrink: 0;
}

.lp-page .bar {
  height: 18px;
  border-radius: 3px;
  display: block;
}

/* 修正3: ガントチャート的にレーンごとに開始位置をずらす */
.lp-page .bar.b1 { background: var(--d4); width: 90px; }
.lp-page .bar.b2 { background: var(--d3); width: 70px; }
.lp-page .bar.b3 { background: var(--d2); width: 90px; margin-left: 34px; }
.lp-page .bar.b4 { background: var(--d1); width: 70px; }
.lp-page .bar.b5 { background: var(--d3); width: 80px; margin-left: 70px; }
.lp-page .bar.b6 { background: var(--d4); width: 55px; }

/* Sub-deliverables */
.lp-page .sub-deliverables {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.lp-page .sub-deliverables .info-card {
  padding: 24px;
}

.lp-page .sub-deliverables .info-card h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

/* ----------------------------------------------------------------
   16. Outcomes / Expertise / Next-steps — three-grid with index chips
   ---------------------------------------------------------------- */
.lp-page .three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-page [data-section="outcomes"] .info-card .index,
.lp-page [data-section="expertise"] .info-card .index,
.lp-page [data-section="next-steps"] .info-card .index {
  color: var(--ink-sub);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 18px;
}
.lp-page [data-section="outcomes"] { background: var(--surface-0); border-top: 4px solid var(--accent); }
.lp-page .outcome-statement { margin: 40px 0 0; padding: 26px 32px; background: #0E1C2A; color: #fff; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.5; border-radius: 6px; }
.lp-page .stat-number { display: block; color: var(--accent); font-size: 28px; line-height: 1.1; margin-bottom: 4px; }
.lp-page .follow-up { background: transparent; border-color: var(--border); position: relative; }
.lp-page .support-label { display: inline-block; margin-bottom: 13px; padding: 3px 8px; border: 1px solid var(--accent); color: var(--accent); font-size: 11px; font-weight: 700; }
.lp-page .in-service { background: var(--ink); border-color: var(--ink); }.lp-page .in-service h3, .lp-page .in-service p { color: #fff; }.lp-page .in-service .index { border-color: #fff !important; color: #fff !important; }
.lp-page .next-steps-note { margin: 20px 0 0; font-size: 13px; color: var(--ink-sub); }

/* ----------------------------------------------------------------
   17. Related services — dl list (no cards)
   ---------------------------------------------------------------- */
.lp-page .related-list {
  margin: 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
}
.lp-page .related-primary { display: grid; gap: 8px; padding: 28px; margin-bottom: 20px; background: var(--ink); color: #fff; }.lp-page .related-primary strong { font-size: 20px; }.lp-page .related-primary span { font-size: 14px; line-height: 1.7; }
/* 弱体化はopacityではなくサイズ・配色で行う（コントラスト4.5:1維持） */
.lp-page .related-list { }

.lp-page .related-list dt,
.lp-page .related-list dd {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin: 0;
  line-height: 1.65;
}

.lp-page .related-list dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-right: 24px;
}

.lp-page .related-list dd {
  font-size: 14px;
  color: var(--ink-sub);
}

.lp-page .related-list dt:last-of-type,
.lp-page .related-list dd:last-of-type {
  border-bottom: 1px solid var(--border);
}

/* ----------------------------------------------------------------
   18. FAQ — left accent bar, no Q badge
   ---------------------------------------------------------------- */
.lp-page .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  gap: 0;
}

.lp-page .faq-grid article {
  padding: 28px 24px 28px 24px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--ink);
}

.lp-page .faq-grid article:nth-child(even) {
  border-left: 3px solid var(--ink);
  padding-inline: 24px;
}

.lp-page .faq-grid h3 {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}

/* Remove site.css "Q" badge */
.lp-page .faq-grid h3::before {
  content: none !important;
}

.lp-page .faq-grid p {
  font-size: 14px;
  color: var(--ink-sub);
  margin: 0;
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   19. Final CTA — dark background, enlarged button
   ---------------------------------------------------------------- */
.lp-page .final-cta {
  padding: 96px 0;
  background: #0E1C2A;
  color: #fff;
  text-align: center;
}

.lp-page .final-cta h2 {
  color: #fff;
  font-size: clamp(22px, 3vw, 36px);
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.lp-page .final-cta p {
  color: #B8C9D9;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 auto 32px;
  max-width: 600px;
}

.lp-page .final-cta .button.primary {
  min-height: 56px;
  padding: 0 48px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(27, 119, 145, 0.45);
}

/* ----------------------------------------------------------------
   20a. Responsive: 1100px — KV縮小で左カラム確保（孤立行防止）
        1440/1280: base CSS (KV=630px, font-max=48px) で対応。
        1024/981: ここでKV=400px, font-max=40px に切り替え。
        ※ 980px以下は次のブロックが上書きして1列に戻る。
   ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .lp-page .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  }

  /* 3.4vw: 1024px→34.8px, 14chars×34.8px=487px≤left496px → 折り返しなし */
  .lp-page #hero-title {
    font-size: clamp(26px, 3.4vw, 40px);
  }
}

/* ----------------------------------------------------------------
   20. Responsive: 980px
   ---------------------------------------------------------------- */
@media (max-width: 980px) {
  .lp-page .section {
    padding: 72px 0;
  }

  .lp-page .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 0;
  }

  .lp-page .question-grid,
  .lp-page .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-page .three-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-page .scope-flow { grid-template-columns: 1fr; gap: 24px; }

  /* 全体レールではなく、円と円の間だけを結ぶコネクタで接続する */
  .lp-page .scope-flow::before { display: none; }
  .lp-page .scope-flow li { position: relative; }
  .lp-page .scope-flow li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 34px; bottom: -16px; width: 2px; background: var(--accent); }

  .lp-page .scope-step {
    text-align: left;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 14px;
    align-items: start;
  }

  .lp-page .scope-step .index {
    margin: 0;
    grid-row: 1 / 3;
  }

  .lp-page .scope-step h3 {
    grid-column: 2;
    margin-top: 2px;
  }

  .lp-page .scope-step p {
    grid-column: 2;
  }

  .lp-page .process-flow { grid-template-columns: 1fr; gap: 0; }

  /* 全体レールは使わず、円と円の間だけを結ぶコネクタ+矢尻で工程を示す */
  .lp-page .process-flow::before { display: none; }

  .lp-page .process-flow li {
    padding-right: 0;
    position: relative;
    padding-bottom: 30px;
  }
  .lp-page .process-flow li:last-child { padding-bottom: 0; }
  .lp-page .process-flow li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 54px; bottom: 12px; width: 2px; background: var(--accent); z-index: 0; }
  .lp-page .process-flow li:not(:last-child)::after { content: ""; right: auto; top: auto; left: 19px; bottom: 4px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--accent); }

  .lp-page .two-grid {
    grid-template-columns: 1fr;
  }

  /* モバイル専用: 5領域は2列ピル、成熟度は5段の関係が見える横並びを維持する */
  .lp-page .eval-areas { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lp-page .eval-areas li { padding: 10px 10px; font-size: 12px; line-height: 1.4; }
  .lp-page .eval-areas li:last-child { grid-column: 1 / -1; }
  .lp-page .maturity-scale { grid-template-columns: repeat(5, 1fr); gap: 2px; }
  .lp-page .maturity-scale li { min-height: 58px; padding: 8px 3px; text-align: center; gap: 2px; }
  .lp-page .maturity-scale strong { font-size: 11px; }
  .lp-page .maturity-scale span { font-size: 10px; line-height: 1.4; }

  .lp-page .tri-sources {
    grid-template-columns: 1fr;
  }

  .lp-page .tri-sources { padding: 0 0 0 28px; gap: 14px; }
  /* 縦レールは3情報源を貫き、下の集約先(tri-result)の上端まで到達させる */
  .lp-page .tri-sources::after { top: 18px; bottom: -20px; left: 12px; width: 2px; height: auto; transform: none; }
  /* PC用の合流線は消し、各カードからレールへ横の枝線を出す */
  .lp-page .tri-sources::before { display: none; }
  .lp-page .tri-card::after { display: block; left: -16px; right: auto; top: 26px; bottom: auto; width: 16px; height: 2px; transform: none; }
  /* レール終端に下向き矢印を置き、集約先への接続を明示する */
  .lp-page .tri-result { position: relative; }
  .lp-page .tri-result::before { display: block; top: -9px; left: 7px; transform: none; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--accent); border-bottom: 0; width: 0; height: 0; }

  /* #5/#39: 重要セクションの余白増をモバイルでも維持（基準72pxの約1.3倍） */
  .lp-page [data-section="deliverable-preview"] { padding: 90px 0; }
  .lp-page [data-section="deliverables"] { padding: 96px 0; }

  .lp-page .tri-result {
    border-radius: 6px;
    margin-top: 20px;
  }

  .lp-page .feature-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lp-page .feature-secondary { width: calc(50% - 14px); }

  .lp-page .feature-mock {
    min-height: 180px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .lp-page .mock-road {
    max-width: 360px;
  }

  .lp-page .period-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 28px;
  }

  .lp-page .period-note {
    text-align: left;
    padding-left: 0;
    border-left: 0;
    max-width: none;
  }

  .lp-page .related-list {
    grid-template-columns: 1fr;
  }

  .lp-page .related-list dt,
  .lp-page .related-list dt:last-of-type {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .lp-page .related-list dd {
    padding-top: 0;
    border-top: none;
    padding-bottom: 20px;
  }

  .lp-page .related-list dd:last-of-type {
    border-bottom: 1px solid var(--border);
  }
}

/* ----------------------------------------------------------------
   21. Responsive: 760px
   ---------------------------------------------------------------- */
@media (max-width: 760px) {
  .lp-page .section {
    padding: 56px 0;
  }

  /* #5/#39: 重要セクションの余白増を維持（基準56pxの約1.3倍） */
  .lp-page [data-section="deliverable-preview"] { padding: 72px 0; }
  .lp-page [data-section="deliverables"] { padding: 76px 0; }

  .lp-page .question-grid,
  .lp-page .preview-grid,
  .lp-page .audience-grid,
  .lp-page .three-grid {
    grid-template-columns: 1fr;
  }

  .lp-page .scope-flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lp-page .process-flow {
    grid-template-columns: 1fr;
  }

  .lp-page .process-flow li {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding-right: 0;
    padding-bottom: 30px;
  }

  .lp-page .process-flow li:last-child {
    padding-bottom: 0;
  }

  .lp-page .step-index {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .lp-page .faq-grid {
    grid-template-columns: 1fr;
  }

  .lp-page .faq-grid article,
  .lp-page .faq-grid article:nth-child(even) {
    padding: 24px 0 24px 20px;
    border-right: none;
  }

  .lp-page .feature-card {
    padding: 28px 20px;
  }
  .lp-page .feature-secondary { width: 100%; }

  .lp-page .hero-actions {
    flex-direction: column;
  }

  /* Override site.css button{width:100%} — keep header CTA compact */
  .lp-page .header-cta {
    width: auto;
    min-width: auto;
  }

  .lp-page .final-cta {
    padding: 72px 0;
  }
}

/* ----------------------------------------------------------------
   22. Responsive: 430px — 実機のiPhone幅(390/393/402/430)を含む狭幅調整
   ---------------------------------------------------------------- */
@media (max-width: 430px) {
  /* Safety: prevent phrase-line / heading-line overflow at narrow widths */
  .lp-page .phrase-line,
  .lp-page .heading-line {
    white-space: normal;
  }

  /* 本文の1文字孤立行を抑える（対応ブラウザのみの漸進的強化） */
  .lp-page .info-card p,
  .lp-page .scope-step p,
  .lp-page .preview-card p,
  .lp-page .process-flow li div p,
  .lp-page .tri-card p { text-wrap: pretty; }

  /* 関連サービスの強調パネル名が語中で折れないサイズへ */
  .lp-page .related-primary strong { font-size: 17px; }

  /* M1: 見出しのphrase-lineが1行に収まるサイズへ（375pxで14文字が収まる22px） */
  .lp-page #preview-title { font-size: 22px; }
  .lp-page .final-cta h2 { font-size: 22px; }

  /* M6: 専門性〜打ち手の間延びを個別に詰める */
  .lp-page [data-section="expertise"] { padding-bottom: 44px; }
  .lp-page [data-section="next-steps"] { padding-top: 44px; }

  /* M8: 成果物プレビューはアイコン左・テキスト右で高さを圧縮 */
  .lp-page .preview-card { display: grid; grid-template-columns: 32px 1fr; gap: 2px 14px; align-items: start; padding: 16px 16px; }
  .lp-page .preview-icon { grid-row: 1 / 3; margin: 2px 0 0; }
  .lp-page .preview-card h3 { margin: 0 0 4px; }
  .lp-page .preview-card p { margin: 0; }

  .lp-page #hero-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .lp-page .hero-grid {
    padding: 48px 0;
    gap: 24px;
  }

  .lp-page .hero-copy {
    order: 1;
  }

  .lp-page .hero-visual {
    order: 2;
  }

  .lp-page .section h2 {
    font-size: 22px;
  }

  .lp-page .feature-card {
    padding: 20px 16px;
  }

  .lp-page .mock-row span {
    padding: 5px 6px;
    font-size: 10px;
  }

  .lp-page .mock-head span {
    font-size: 8px;
  }

  .lp-page .info-card {
    padding: 22px 18px;
  }

  .lp-page .final-cta .button.primary {
    padding: 0 32px;
    font-size: 16px;
  }
}

/* ----------------------------------------------------------------
   23. Responsive: 320px
   ---------------------------------------------------------------- */
@media (max-width: 340px) {
  .lp-page #hero-title {
    font-size: 22px;
  }

  .lp-page .section h2 {
    font-size: 18px;
  }

  .lp-page #preview-title { font-size: 19px; }
  .lp-page .final-cta h2 { font-size: 20px; }

  .lp-page .info-card {
    padding: 18px 14px;
  }

  .lp-page .tri-result {
    font-size: 14px;
    padding: 18px 16px;
  }

  .lp-page .feature-card {
    padding: 18px 14px;
  }
}

/* ----------------------------------------------------------------
   24. Reduced motion
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .lp-page *,
  .lp-page *::before,
  .lp-page *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ロゴはコーポレートサイトと同じく、枠や背景を付けずに置く。
   周囲にはマークの高さの約1/4を余白として確保する。 */
.lp-page .site-header .brand {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.lp-page .site-header .brand-logo {
  width: 74px;
  margin: 6px 0;
}

.lp-page .site-header .header-inner {
  padding-block: 6px;
}

/* 関連サービスは外部サイトへの導線を持つ。 */
.lp-page .related-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 別タブで外部サイトを開くことを、アイコンと読み上げテキストの両方で示す。 */
.lp-page .related-link .external-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.lp-page .related-link:hover {
  text-decoration-thickness: 2px;
}

.lp-page .related-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
