:root {
  /* SANZEN公式ブランドカラー（sanzen-info.jp トンマナ準拠）*/
  /* メインブルー系 */
  --sky: #025CD2;              /* メインブルー */
  --sky-2: #6685AE;             /* サブブルー中間 */
  --sky-3: #D9E2EE;             /* パステルブルー */
  --sky-deep: #024099;          /* 深ブルー（sky darker） */

  /* サブライトブルー */
  --sky-light: #8FB5DE;         /* パウダーブルー */
  --sky-pale: #E8EDF3;          /* 極淡ブルー背景 */
  --sky-mist: #F3FAFF;          /* 最も薄い水色 */

  /* アクセント くすみゴールド */
  --sunshine: #EBCB8A;           /* くすみゴールド（アクセント）*/
  --sunshine-2: #CFC182;         /* くすみゴールド濃 */
  --sunshine-3: #F5EBD1;         /* 淡ゴールド背景 */

  /* サブアクセント ティール */
  --grass: #8FC9C7;              /* ティール（サブアクセント）*/
  --grass-2: #6BA9A7;            /* ティール濃 */
  --grass-3: #E4F1F0;            /* ティール淡背景 */

  /* ベース・テキスト */
  --bg: #ffffff;
  --bg-soft: #F7FBFF;            /* サイト背景（極淡ブルー）*/
  --ivory: #F7FBFF;              /* 旧ivory互換 */
  --text: #333333;               /* 標準テキスト */
  --text-deep: #024099;          /* 見出し用ディープブルー */
  --muted: #868686;              /* サブテキスト */
  --line: rgba(2, 92, 210, 0.11);
  --shadow: 0 18px 42px rgba(2, 64, 153, 0.1);
  --shadow-soft: 0 8px 22px rgba(2, 64, 153, 0.055);
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--sans);
  line-height: 1.78;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }

/* Alert bar */
.alert-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 40px;
  padding: 9px 18px;
  color: var(--text-deep);
  background: #fff3cf;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.alert-bar span {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 10px;
  color: #fff;
  background: var(--text-deep);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* Header */
.header {
  position: fixed;
  inset: 40px 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--sky-deep);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.header.is-scrolled {
  color: var(--text-deep);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}
.logo {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 16vw, 230px);
  min-width: 150px;
}
.logo img {
  width: 100%;
  height: auto;
}
.header.is-scrolled .logo { color: var(--sky-deep); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 800; }
.nav-button {
  min-width: 142px;
  padding: 13px 24px;
  color: var(--text-deep);
  background: var(--sunshine);
  border-radius: 6px;
  text-align: center;
  box-shadow: none;
}
.header.is-scrolled .nav-button { color: var(--text-deep); }
.menu-button { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 40px;
  color: var(--text-deep);
  overflow: hidden;
  background: #f2fbff;
}
.hero-bg, .hero-bg::after { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-bg::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(248, 253, 255, 0.96) 0%, rgba(238, 249, 255, 0.82) 47%, rgba(238, 249, 255, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(209, 239, 255, 0.18));
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: 128px clamp(18px, 5vw, 72px) 70px;
}
.hero-copy { max-width: 700px; }
.kicker {
  margin: 0 0 14px;
  color: var(--sky);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.3vw, 74px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}
.hero-number {
  display: block;
  margin-top: 8px;
  font-size: clamp(42px, 5.9vw, 82px);
  line-height: 1;
  color: var(--text-deep);
  text-shadow: none;
  white-space: nowrap;
}
.hero-number em {
  display: inline-block;
  padding: 0 0.02em;
  font-style: normal;
  font-size: 1.1em;
  color: var(--sky);
  text-shadow: none;
}
.hero-lead {
  max-width: 610px;
  margin-bottom: 26px;
  color: #33516f;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 600;
}
.sp-break { display: none; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points span {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(2, 92, 210, 0.14);
}
.hero-points .pt-sky,
.hero-points .pt-yellow,
.hero-points .pt-green { background: rgba(255, 255, 255, 0.78); border-color: rgba(2, 92, 210, 0.2); color: var(--text-deep); }

/* Diagnosis card */
.diagnosis-card {
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(2, 92, 210, 0.12);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 46px rgba(2, 64, 153, 0.11);
}
.card-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  color: #fff;
  background: var(--grass);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.diagnosis-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.35;
  color: var(--text-deep);
}
.diagnosis-card form { display: grid; gap: 9px; }
.diagnosis-card label { display: grid; gap: 4px; font-size: 12px; font-weight: 900; color: var(--text-deep); }
.diagnosis-card label em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  color: #fff;
  background: var(--sky);
  border-radius: 4px;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.diagnosis-card input[type="text"],
.diagnosis-card input[type="tel"],
.diagnosis-card input[type="email"],
.diagnosis-card select {
  appearance: none;
  width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.diagnosis-card input:focus,
.diagnosis-card select:focus {
  outline: 0;
  background: #fff;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.16);
}
.diagnosis-card input::placeholder { color: #a2a8b3; }
.form-note {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.address-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  align-items: center;
  padding: 10px 12px;
  background: rgba(45, 125, 210, 0.06);
  border: 1px solid rgba(45, 125, 210, 0.2);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-deep);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.checkbox-label:hover {
  background: rgba(45, 125, 210, 0.1);
  border-color: rgba(45, 125, 210, 0.4);
}
.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--sky);
  cursor: pointer;
}
.checkbox-label span { flex: 1; }
.visit-fields {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: rgba(76, 175, 80, 0.06);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 6px;
}
.visit-fields[hidden] { display: none; }
.button,
.diagnosis-card .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 28px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.04em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.button:hover,
.diagnosis-card .wpcf7-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(2, 64, 153, 0.18); filter: none; }
.button-primary,
.diagnosis-card .wpcf7-submit {
  width: 100%;
  color: var(--text-deep);
  background: var(--sunshine);
  box-shadow: none;
}
.diagnosis-card .wpcf7-form p { margin: 0; }
.button-inline { width: auto; min-width: 300px; }
.privacy-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }

/* Metric strip */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--sky-deep);
  color: #fff;
}
.metric-strip div {
  padding: 30px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.metric-strip div:last-child { border-right: 0; }
.metric-strip span { display: block; color: var(--sunshine-2); font-size: 12px; font-weight: 900; letter-spacing: 0.06em; }
.metric-strip strong {
  display: block;
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.25;
  margin: 4px 0 2px;
}
.metric-strip small { color: rgba(255, 255, 255, 0.78); font-size: 12px; }

/* Section base */
.section { padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 72px); }
.section-head { max-width: 880px; margin-bottom: 36px; }
.section-head h2, .copy-block h2, .warning-copy h2, .aftercare-copy h2, .closing-content h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.22;
  color: var(--text-deep);
  letter-spacing: 0.01em;
}
.title-accent {
  color: var(--sunshine-2);
  font-size: 1.18em;
  line-height: 0.95;
}
.section-head p, .section-lead, .copy-block p, .warning-copy p:not(.kicker), .closing-content p {
  color: var(--muted);
  font-weight: 600;
}
.section-head .kicker, .copy-block .kicker, .warning-copy .kicker, .aftercare-copy .kicker {
  color: var(--sky);
}

/* Section rhythm */
.persona-section,
.warning-section,
.split-section,
.aftercare-section,
.reason-section,
.flow-section,
.faq-section {
  position: relative;
}

/* Persona section */
.persona-section { background: #fff; }
.persona-section .section-head {
  margin-inline: auto;
  text-align: center;
}
.persona-title {
  font-size: clamp(34px, 3.9vw, 46px) !important;
  line-height: 1.22 !important;
}
.persona-section .section-lead {
  margin-inline: auto;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.9;
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1160px;
  margin-inline: auto;
}
.persona-card {
  position: relative;
  padding: 28px 28px 30px;
  border: 1px solid rgba(2, 92, 210, 0.1);
  border-top: 4px solid rgba(143, 201, 199, 0.65);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(2, 64, 153, 0.045);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.persona-card:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(2, 64, 153, 0.075); }
.persona-card:nth-child(2) { border-top-color: rgba(235, 203, 138, 0.9); }
.persona-card:nth-child(3) { border-top-color: rgba(143, 201, 199, 0.9); }
.persona-card:nth-child(4) { border-top-color: rgba(2, 92, 210, 0.5); }
.persona-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  color: #fff;
  background: var(--sky);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.persona-card:nth-child(2) .persona-tag { background: var(--sunshine); color: var(--text-deep); }
.persona-card:nth-child(3) .persona-tag { background: var(--grass); }
.persona-card:nth-child(4) .persona-tag { background: var(--sky-deep); }
.persona-card h3 {
  margin-bottom: 12px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.35;
  color: var(--text-deep);
  white-space: nowrap;
}
.persona-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Warning section */
.warning-section {
  padding: clamp(54px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #f4faff 0%, #eef7ff 100%);
}
.warning-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(135deg, #fff 0%, #f8fcff 100%);
  border: 1px solid rgba(2, 92, 210, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(2, 64, 153, 0.055);
}
.warning-copy h2 { color: var(--text-deep); }
.warning-copy h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.32;
}
.warning-steps { display: grid; gap: 10px; }
.warning-steps div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  background: transparent;
  border-bottom: 1px solid rgba(2, 92, 210, 0.14);
  border-radius: 0;
}
.warning-steps div:last-child { border-bottom: 0; }
.warning-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--sky);
  background: #fff;
  border: 1px solid rgba(2, 92, 210, 0.22);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}
.warning-steps span { font-weight: 800; color: #244867; }

/* Split (subsidy) section */
.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  background: linear-gradient(180deg, #fff9e8 0%, #fffdf5 100%);
}
.copy-block { max-width: 560px; }
.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--sky);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}
.stack-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 24px;
  display: grid;
  gap: 12px;
}
.stack-list li {
  position: relative;
  padding: 12px 16px 12px 88px;
  background: var(--sky-3);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-deep);
}
.stack-list li b {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 4px 10px;
  color: #fff;
  background: var(--sky);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.stack-list li:nth-child(2) b { background: var(--grass); }
.stack-list li:nth-child(3) b { background: var(--sunshine); color: var(--text-deep); }
.subsidy-panel {
  align-self: stretch;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.subsidy-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.subsidy-panel-head span,
.subsidy-total span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.subsidy-panel-head strong {
  color: var(--sky-deep);
  font-size: 18px;
}
.subsidy-line {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 8px 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7fafe;
}
.subsidy-line span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  color: #fff;
  background: var(--sky);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.subsidy-line:nth-child(3) span { background: var(--grass-2); }
.subsidy-line b {
  color: var(--text-deep);
  font-size: 20px;
}
.subsidy-line em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}
.subsidy-total {
  padding: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fff0c8 0%, #f7df9f 100%);
  border: 1px solid rgba(235, 203, 138, 0.65);
}
.subsidy-total strong {
  display: block;
  color: var(--text-deep);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}
.subsidy-reality {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
  border-radius: 8px;
  background: #f8fcff;
  border: 1px solid rgba(2, 92, 210, 0.14);
}
.subsidy-reality::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 28px;
  width: 14px;
  height: 14px;
  background: #f8fcff;
  border-left: 1px solid rgba(2, 92, 210, 0.14);
  border-top: 1px solid rgba(2, 92, 210, 0.14);
  transform: rotate(45deg);
}
.subsidy-reality span {
  color: #49627b;
  font-size: 13px;
  font-weight: 800;
}
.subsidy-reality strong {
  color: var(--text-deep);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}
.subsidy-reality em {
  color: var(--sky);
  font-style: normal;
  font-size: 1.28em;
}
.subsidy-panel p { margin: 0; color: var(--muted); font-size: 13px; }

/* Aftercare section (差別化の主役) */
.aftercare-section {
  position: relative;
  padding: clamp(80px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #eef9f8 0%, #f8fcff 100%);
  overflow: hidden;
}
.aftercare-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.aftercare-copy .kicker { color: var(--grass); }
.aftercare-copy h2 { color: var(--text-deep); }
.aftercare-copy h2 strong { color: var(--grass); }
.aftercare-title {
  max-width: 760px;
  font-size: clamp(34px, 3.6vw, 46px) !important;
  line-height: 1.32 !important;
}
.aftercare-lead {
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 26px;
}
.aftercare-lead strong { color: var(--grass); font-weight: 900; }

.compare-table {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.compare-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px dashed var(--line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row.compare-head { border-bottom: 2px solid var(--line); font-size: 12px; }
.compare-label { font-weight: 900; color: var(--text-deep); font-size: 13px; }
.compare-cell {
  padding: 8px 12px;
  border-radius: 8px;
  background: #f4f6fa;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}
.compare-cell.is-us {
  background: #eef8f7;
  color: var(--text-deep);
  border: 1px solid rgba(76, 175, 80, 0.4);
}
.compare-cell b {
  display: block;
  color: var(--grass);
  font-size: 18px;
  font-weight: 900;
}
.compare-cell small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.compare-row.compare-head .compare-cell {
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}
.compare-row.compare-head .compare-cell.is-us {
  background: var(--grass);
  color: #fff;
  border-color: var(--grass);
}
.aftercare-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--grass);
  border-radius: 4px;
}
.aftercare-note strong { color: var(--grass); font-weight: 900; }
.aftercare-visual {
  align-self: center;
  padding-top: clamp(36px, 7vw, 86px);
}
.aftercare-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(2, 64, 153, 0.1);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Reason section */
.reason-section { background: #fff7dc; }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.reason-card {
  position: relative;
  padding: 18px 18px 20px;
  border: 1px solid rgba(2, 92, 210, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(2, 64, 153, 0.13);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.reason-card:hover { transform: translateY(-3px); box-shadow: 0 28px 58px rgba(2, 64, 153, 0.17); }
.reason-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}
.reason-card img.image-focus-battery {
  aspect-ratio: 16 / 9;
  object-position: 50% 90%;
}
.reason-card img.image-focus-breakdown {
  object-position: 34% 50%;
}
.reason-card img.image-focus-couple {
  object-position: 54% 44%;
}
.reason-num {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(2, 92, 210, 0.12);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: none;
}
.reason-card:nth-child(1) .reason-num,
.reason-card:nth-child(2) .reason-num { background: rgba(255, 255, 255, 0.92); color: var(--sky-deep); box-shadow: none; }
.reason-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-deep);
}
.reason-card h3 span {
  color: var(--sunshine-2);
  font-size: 1.18em;
}
.reason-card p { margin: 0; color: var(--muted); font-size: 14px; }

.estimate-sample-block {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  max-width: 1120px;
  margin: 42px auto 0;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid rgba(2, 92, 210, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(2, 64, 153, 0.12);
}
.estimate-sample-copy h3 {
  margin: 0 0 14px;
  color: var(--text-deep);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
}
.estimate-sample-copy p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.estimate-sample-card {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(2, 92, 210, 0.1);
  border-radius: 8px;
  background: #f8fcff;
  overflow: hidden;
}
.estimate-sample-card::before {
  content: "見積り見本";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 7px 12px;
  color: #fff;
  background: var(--sky);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.estimate-sample-card img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: center top;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(2, 64, 153, 0.09);
}

/* Flow section */
.flow-section { background: linear-gradient(180deg, #f8fcff 0%, #f3faff 100%); }
.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.flow-list div {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 26px 20px;
  border: 1px solid rgba(2, 92, 210, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(2, 64, 153, 0.08);
}
.flow-list div::after {
  content: "→";
  position: absolute;
  right: -22px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--sky);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.flow-list div:nth-child(5) { background: #eef8f7; }
.flow-list div:last-child::after { display: none; }
.flow-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--sky);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.flow-list div:nth-child(5) b { background: var(--grass); }
.flow-list strong { font-size: 16px; line-height: 1.4; color: var(--text-deep); }
.flow-list span { color: var(--muted); font-size: 13px; }

/* FAQ section */
.faq-section { background: #fff; }
.faq-section .section-head {
  margin-inline: auto;
  text-align: center;
}
.faq-list {
  max-width: 940px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq-list details {
  padding: 20px 24px;
  border: 1px solid rgba(2, 92, 210, 0.1);
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.faq-list details[open] { box-shadow: 0 12px 28px rgba(2, 64, 153, 0.06); border-color: rgba(45, 125, 210, 0.28); }
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--text-deep);
  position: relative;
  padding-left: 30px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--sky);
  border-radius: 4px;
  font-size: 12px;
}
.faq-list p { margin: 12px 0 0 30px; color: var(--muted); }
.faq-list details[open] p strong { color: var(--grass); font-weight: 900; }

/* Closing section */
.closing-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: clamp(78px, 9vw, 130px) clamp(18px, 5vw, 72px);
  color: #fff;
  overflow: hidden;
  background: #0d376b;
}
.closing-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 34, 70, 0.9) 0%, rgba(13, 55, 107, 0.68) 64%, rgba(13, 55, 107, 0.22) 100%);
}
.closing-content { position: relative; z-index: 1; max-width: 720px; }
.closing-content .kicker { color: var(--sunshine-2); }
.closing-content h2 { color: #fff; }
.closing-content p { color: rgba(255, 255, 255, 0.9); }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: none;
  padding: 17px;
  color: var(--text-deep);
  background: var(--sunshine);
  border-radius: 6px;
  text-align: center;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 14px 28px rgba(2, 64, 153, 0.18);
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--text-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img {
  width: 170px;
  height: auto;
  flex: 0 0 auto;
}
.footer-copy { font-size: 12px; }

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  .hero-inner, .warning-box, .split-section, .aftercare-inner { grid-template-columns: 1fr; }
  .hero-inner { align-items: end; }
  .diagnosis-card { max-width: 560px; }
  .aftercare-visual { padding-top: 0; }
  .metric-strip, .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; gap: 30px; }
  .estimate-sample-block { grid-template-columns: 1fr; }
  .flow-list div { border-bottom: 1px solid var(--line); }
  .flow-list div::after {
    content: "↓";
    display: block;
    left: 50%;
    right: auto;
    top: auto;
    bottom: -30px;
    transform: translateX(-50%);
  }
  .flow-list div:last-child::after { display: none; }
}

@media (max-width: 820px) {
  .menu-button {
    display: grid;
    gap: 6px;
    place-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
  }
  .menu-button span { display: block; width: 18px; height: 2px; background: currentColor; }
  .nav {
    position: fixed;
    inset: 96px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    color: var(--text-deep);
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  body.menu-open .nav { display: flex; }
  .nav a { padding: 10px 8px; }
  .nav-button { color: var(--text-deep); }
  body.show-sticky-cta .sticky-cta { display: block; }
}

@media (max-width: 640px) {
  .alert-bar { font-size: 11px; line-height: 1.45; padding: 8px 12px; }
  .alert-bar span { display: block; margin: 0 auto 4px; width: fit-content; }
  .header { padding: 12px 18px; }
  .logo { width: 142px; min-width: 142px; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding: 108px 18px 48px; gap: 24px; }
  h1 { font-size: 33px; }
  .hero-number { font-size: 40px; }
  .hero-number em { font-size: 1.1em; }
  .hero-lead { font-size: 15px; }
  .sp-break { display: block; }
  .diagnosis-card { padding: 22px; }
  .diagnosis-card h2 { font-size: 21px; }
  .address-fields { grid-template-columns: 1fr; }
  .metric-strip, .persona-grid, .flow-list { grid-template-columns: 1fr; }
  .metric-strip div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .flow-list div { border-right: 0; }
  .section, .warning-section, .aftercare-section { padding: 58px 18px; }
  .warning-box { padding: 22px; }
  .section-head h2, .copy-block h2, .warning-copy h2, .aftercare-copy h2, .closing-content h2 { font-size: 28px; }
  .persona-title { font-size: 28px !important; }
  .subsidy-line { grid-template-columns: 84px 1fr; gap: 8px 12px; padding: 14px; }
  .subsidy-line span { min-height: 64px; font-size: 11px; }
  .persona-card { padding: 22px 20px; }
  .persona-card h3 { font-size: 18px; white-space: normal; }
  .reason-card { padding: 18px; }
  .reason-card h3 { font-size: 20px; }
  .estimate-sample-block { margin-top: 28px; padding: 18px; }
  .estimate-sample-card { padding: 10px; }
  .estimate-sample-card::before { position: static; display: inline-flex; margin-bottom: 10px; }
  .estimate-sample-card img { max-height: 520px; }
  .compare-row { grid-template-columns: 70px 1fr 1fr; padding: 10px 4px; gap: 6px; }
  .compare-label { font-size: 11px; }
  .compare-cell { padding: 6px 8px; font-size: 12px; }
  .compare-cell b { font-size: 14px; }
  .closing-content .button { width: 100%; min-width: 0; }
  .button-inline { width: 100%; min-width: 0; }
  .footer { flex-direction: column; padding-bottom: 84px; text-align: center; }
  .footer-brand { flex-direction: column; gap: 4px; }
  .footer-brand img { width: 148px; }
}

/* ---- v9 修正で追加した要素 ---- */

/* Hero ターゲット明示行 */
.hero-target {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  color: var(--text-deep);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(2, 92, 210, 0.24);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Hero-points 「無料点検」バッジ強調 */
.hero-points .pt-featured {
  color: #fff;
  background: var(--sky) !important;
  border-color: var(--sky) !important;
  padding: 8px 16px;
  box-shadow: 0 6px 16px rgba(2, 92, 210, 0.28);
}
.hero-points .pt-featured::before {
  content: "★ ";
  color: var(--sunshine);
  font-weight: 900;
}

/* Persona カード見出しのチェック印 */
.persona-card h3 .check {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  color: #fff;
  background: var(--grass);
  border-radius: 4px;
  text-align: center;
  line-height: 22px;
  font-size: 14px;
  font-weight: 900;
  vertical-align: -2px;
}

/* Persona 直下CTA */
.persona-cta {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}
.persona-cta p {
  margin: 0 0 16px;
  color: var(--text-deep);
  font-size: 16px;
  font-weight: 700;
}

/* Track record セクション */
.track-section {
  background: var(--sky-deep);
  color: #fff;
}
.track-section .section-head h2,
.track-section .section-head p,
.track-section .section-lead {
  color: #fff;
}
.track-section .kicker {
  color: var(--sunshine);
}
.track-section .title-accent {
  color: var(--sunshine);
}
.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 0;
}
.track-grid > div {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 20px 42px rgba(0, 16, 48, 0.18);
}
.track-grid b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-deep);
}
.track-grid b em {
  font-style: normal;
  font-size: 0.44em;
  margin-left: 4px;
  color: var(--sky);
}
.track-grid span {
  display: block;
  margin-top: 10px;
  color: var(--text-deep);
  font-size: 13px;
  font-weight: 800;
}
.track-grid span small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .track-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .track-grid { grid-template-columns: 1fr; }
}
