/* ============================================================
   KOMATTA24 — Wizard UI (Step-by-step)
   ============================================================ */

:root {
  --bg: #faf9f7;
  --panel: #ffffff;
  --line: #e7e5e4;
  --text: #1c1917;
  --muted: #78716c;
  --accent: #EA580C;
  --accent-soft: #fff7ed;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --shadow: 0 4px 20px rgba(28, 25, 23, 0.06);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Noto Sans JP",
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  padding: 32px 0 18px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.brand-eyebrow {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.eyebrow-pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 52px);
  line-height: 1.08;
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}

.hero-copy {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-tags span,
.area-badge,
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(15, 23, 42, 0.06);
}

.hero-warning {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.warning-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warning);
  margin-bottom: 10px;
}

.hero-warning p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.hero-warning ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.app-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 32px;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px;
}

.summary-panel {
  grid-column: 1 / -1;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.panel-eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.panel-header h2,
.step-title h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(234, 88, 12, 0.08);
  color: #EA580C;
}

.badge-muted {
  background: rgba(15, 23, 42, 0.08);
  color: var(--muted);
}

/* --- summary panel: 3-item layout --- */

.summary-item-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* 1. 現在の合計金額 */
.summary-current-block {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}

.summary-current-amount {
  display: block;
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

/* 2. 削減金額row */
.summary-savings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}

.summary-saving-cell {
  padding-right: 20px;
}

.summary-saving-cell + .summary-saving-cell {
  padding-right: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.summary-saving-big {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #EA580C;
}

.summary-saving-annual {
  display: block;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

/* 3. 入力度 */
.summary-completeness-block {
  padding-top: 16px;
}

.summary-completeness-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.completeness-pct {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}

.completeness-hint {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* legacy kept for backward compat (unused) */
.big-number { display: none; }
.summary-main { display: none; }
.metric-grid { display: none; }
.metric { display: none; }

.form-panel {
  grid-column: auto;
}

.step-block + .step-block {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.step-title span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: 12px;
  font-weight: 800;
}

.step-note,
.action-note {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.field-grid {
  display: grid;
  gap: 14px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 14px;
  font-weight: 700;
}

.field em {
  color: var(--danger);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fafaf9;
  color: var(--text);
  font-size: 16px; /* prevent iOS auto-zoom */
  min-height: 54px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #EA580C;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.08);
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.category-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.category-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.category-card .field + .field {
  margin-top: 12px;
}

.helper-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}

.checkbox {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-top: 20px;
  line-height: 1.6;
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 6px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.action-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.ghost-button {
  border: none;
  cursor: pointer;
  border-radius: 18px;
  padding: 18px 24px;
  font-weight: 800;
  font-size: 17px;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.primary-button {
  background: linear-gradient(160deg, #FB923C 0%, #EA580C 50%, #C2410C 100%);
  color: #fff;
  width: 100%;
  min-height: 60px;
  box-shadow: 0 6px 20px rgba(234,88,12,0.32), 0 2px 6px rgba(234,88,12,0.18);
  letter-spacing: 0.02em;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  animation: primary-button-breathe 3.2s ease-in-out infinite;
}
/* シマー光沢（左→右に流れる白い光） */
.primary-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  pointer-events: none;
  animation: primary-button-shimmer 3.2s ease-in-out infinite;
}
/* 呼吸感: 影拡大＋わずかな浮き */
@keyframes primary-button-breathe {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(234,88,12,0.32), 0 2px 6px rgba(234,88,12,0.18);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(234,88,12,0.48), 0 4px 12px rgba(234,88,12,0.24);
  }
}
@keyframes primary-button-shimmer {
  0% { left: -60%; }
  55% { left: 120%; }
  100% { left: 120%; }
}
.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(234,88,12,0.5), 0 5px 14px rgba(234,88,12,0.28);
  animation-play-state: paused;
}
.primary-button:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 3px 12px rgba(234,88,12,0.3);
  animation-play-state: paused;
}
.primary-button:focus-visible {
  outline: 3px solid #FDBA74;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .primary-button, .primary-button::after {
    animation: none;
  }
}

.ghost-button {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(234,88,12,0.35), 0 4px 8px rgba(234,88,12,0.15);
}
.ghost-button:hover {
  transform: translateY(-1px);
  border-color: #d6d3d1;
}

.primary-button:disabled,
.ghost-button:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  line-height: 1.7;
}

.status-success {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.25);
  color: var(--success);
}

.status-error {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.2);
  color: var(--danger);
}

.status-info {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--muted);
}

.breakdown-panel {
  min-height: 620px;
}

.flag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.flag {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: var(--warning);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}

.breakdown-list {
  display: grid;
  gap: 12px;
}

.breakdown-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}

.breakdown-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.breakdown-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.breakdown-savings {
  text-align: right;
}

.breakdown-savings strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.breakdown-savings span {
  font-size: 12px;
  color: var(--muted);
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.breakdown-grid .slot {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.slot-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.slot strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.breakdown-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.area-badge {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 0 0 34px;
  color: var(--muted);
}

.footer p {
  margin: 0;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.offline-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.offline-card,
.policy-card {
  width: min(700px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.offline-card h1,
.policy-card h1 {
  margin-top: 0;
  letter-spacing: -0.04em;
}

.policy-card ul {
  line-height: 1.8;
}

/* ============================================================
   Responsive — mobile-first (min-width 順)
   ============================================================ */

/* ≥ 480px: 住まい情報・連絡先フィールドを2列に */
@media (min-width: 480px) {
  .two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ≥ 600px: カテゴリカードを2列に */
@media (min-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell {
    width: min(100vw - 32px, 1180px);
  }
}

/* ≥ 768px: ヒーローを2列、ボタン幅を自動に */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .primary-button {
    width: auto;
    min-width: 220px;
  }

  .action-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ≥ 1080px: 3カラムレイアウト + summary sticky */
@media (min-width: 1080px) {
  .app-layout {
    grid-template-columns: 1.1fr 1.1fr 0.9fr;
    gap: 20px;
  }

  .form-panel {
    grid-column: span 2;
  }

  .summary-panel {
    position: sticky;
    top: 10px;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
  }

  .panel,
  .hero-warning {
    padding: 28px;
  }
}

.admin-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 32px;
}

.admin-panel-wide {
  grid-column: 1 / -1;
}

.admin-action-row {
  justify-content: flex-start;
}

.admin-nav-link {
  text-decoration: none;
}

.admin-editor {
  width: 100%;
  min-height: 340px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0f172a;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.6;
  resize: vertical;
}

.admin-editor:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.12);
}

.lead-list {
  display: grid;
  gap: 12px;
}

.lead-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.lead-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.lead-card-top h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.lead-subline {
  color: var(--muted);
  font-size: 14px;
}

.lead-score-wrap {
  text-align: right;
}

.lead-score-wrap strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.lead-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

/* --- scope notice --- */

.scope-notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.scope-notice p {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--text);
}

.scope-notice ul {
  margin: 0;
  padding-left: 18px;
}

/* --- consent block --- */

.consent-block {
  margin-top: 18px;
}

.consent-optional {
  margin-top: 10px;
}

.consent-links {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.consent-links a {
  text-decoration: underline;
}

/* --- breakdown gate --- */

.breakdown-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  padding: 24px;
  border: 2px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
}

.gate-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.breakdown-gate p {
  max-width: 320px;
  line-height: 1.7;
}

/* --- turnstile --- */

.turnstile-container {
  margin-top: 14px;
  min-height: 65px;
}

/* --- tag row --- */

.tag-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.tag {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.tag-small {
  font-size: 11px;
  padding: 4px 8px;
}

/* --- metric grid: 6 items --- */

.metric-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* --- admin filter bar --- */

.admin-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: end;
}

.admin-filter-bar .field {
  min-width: 140px;
  flex: 1;
}

.admin-filter-bar .field input,
.admin-filter-bar .field select {
  padding: 10px 12px;
  border-radius: 12px;
}

.admin-btn-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 1080px) {
  .admin-layout,
  .lead-card-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

/* --- hidden attribute: prevent .field display:flex from overriding --- */

[hidden] {
  display: none !important;
}

/* --- form UX: label hint text --- */

.field em.hint {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  font-style: normal;
}

/* --- form UX: provider "その他" free-text field --- */

.provider-other-field {
  margin-top: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* --- form UX: range-exact field --- */

.range-exact-field {
  margin-top: 8px;
}

/* --- range estimate notice --- */

.range-estimate-notice {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* --- sample data visual warning --- */

.sample-warning {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.breakdown-card-sample {
  border-color: #fca5a5;
  background: #fffbfb;
}

.tag-sample {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fca5a5;
}

/* --- launch readiness in admin --- */

.readiness-panel {
  margin-bottom: 20px;
}

.readiness-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.readiness-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}

.readiness-ok::before {
  content: "OK ";
  font-weight: 800;
  color: var(--success);
}

.readiness-ng::before {
  content: "NG ";
  font-weight: 800;
  color: var(--danger);
}

.readiness-warn::before {
  content: "WARN ";
  font-weight: 800;
  color: var(--warning);
}

.readiness-detail {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
}

.readiness-fix {
  margin-top: 4px;
  padding: 6px 10px;
  background: #f8fafc;
  border-left: 3px solid var(--line);
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
  border-radius: 0 6px 6px 0;
}

/* ============================================================
   Wizard Header (固定ヘッダー)
   ============================================================ */

.wiz-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  box-shadow: 0 1px 12px rgba(28,25,23,0.06);
  border-bottom: 1px solid rgba(231,229,228,0.6);
}

.wiz-header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  max-width: 640px;
  margin: 0 auto;
}

/* 診断サマリー — 削減金額主役 */
.wiz-metrics {
  display: flex;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 6px;
}
.wiz-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.wiz-metric-label {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}
.wiz-metric strong {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--text);
  transition: transform 0.25s ease;
  font-variant-numeric: tabular-nums;
}
.wiz-metric strong.pop {
  transform: scale(1.18);
}
/* 現状の料金: 小さく控えめ */
.wiz-metric-current strong {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}
/* 削減金額: 大きくオレンジ主役 */
.wiz-metric-saving strong {
  color: #EA580C;
  font-size: 18px;
  line-height: 1;
}
/* 月間削減: 最大主役 */
.wiz-metric-primary strong {
  font-size: 22px;
}
/* 単位（ラベル内に配置） */
.wiz-metric-unit {
  font-size: inherit;
  font-weight: 600;
  opacity: 0.5;
  margin-left: 2px;
  letter-spacing: 0;
}
@media (min-width: 380px) {
  .wiz-metric-saving strong { font-size: 22px; }
  .wiz-metric-primary strong { font-size: 26px; }
  .wiz-metric-current strong { font-size: 14px; }
}
@media (min-width: 480px) {
  .wiz-metric-saving strong { font-size: 26px; }
  .wiz-metric-primary strong { font-size: 30px; }
  .wiz-metric-current strong { font-size: 16px; }
  .wiz-metric-label { font-size: 10px; }
}

/* 進捗 */
.wiz-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  min-width: 56px;
}
.wiz-step-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.wiz-step-remaining {
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(234,88,12,0.28);
  letter-spacing: 0.02em;
  animation: step-remaining-pulse 2.8s ease-in-out infinite;
}
.wiz-step-remaining:empty {
  display: none;
}
@keyframes step-remaining-pulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(234,88,12,0.28); }
  50% { box-shadow: 0 3px 12px rgba(234,88,12,0.5); }
}
.wiz-progress-track {
  width: 56px;
  height: 4px;
  background: #e7e5e4;
  border-radius: 2px;
  overflow: hidden;
}
.wiz-progress-fill {
  height: 100%;
  background: #EA580C;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* インストールボタン */
.wiz-install-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

/* ============================================================
   Wizard Main
   ============================================================ */

.wiz-main {
  padding-top: 62px; /* fixed header 分 */
  min-height: 100vh;
  background: var(--bg);
}

/* ============================================================
   Step Screens
   ============================================================ */

.step-screen {
  display: none;
}
.step-screen.active {
  display: block;
  animation: wiz-step-in 0.22s ease-out;
}
@keyframes wiz-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Step Card
   ============================================================ */

.step-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 20px 52px;
}
@media (min-width: 540px) {
  .step-card { padding: 36px 28px 60px; }
}

/* ステップ見出し */
.step-hd {
  margin-bottom: 28px;
}
.step-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #EA580C;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  background: #fff7ed;
  padding: 4px 12px;
  border-radius: 999px;
}
.step-hd h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.35;
  color: #1c1917;
}
.step-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================
   Field Stack (1カラム縦積み)
   ============================================================ */

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============================================================
   Step Navigation Buttons
   ============================================================ */

.step-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.step-nav-right {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

.step-nav-single {
  display: block;
}
.step-nav-single .primary-button {
  width: 100%;
}

.step-nav-submit {
  flex-direction: column;
  gap: 12px;
}
.step-nav-submit .submit-reassure {
  order: -2; /* 補足文を最上部 */
}
.step-nav-submit .primary-button {
  width: 100%;
  order: -1; /* 送信ボタンを補足文の直下 */
}
.step-nav-submit .ghost-button {
  width: 100%;
  text-align: center;
}

/* Step 7: 安心材料 */
.step7-reassure {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
  border: 1px solid #f5d0a9;
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.step7-reassure span {
  font-size: 13px;
  font-weight: 700;
  color: #EA580C;
  line-height: 1.5;
}

/* バリデーションエラー（旧: 画面下まとめ表示 — 後方互換のみ残す） */
.step-error {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #991b1b;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 1px solid #fca5a5;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 14px 0 0;
  line-height: 1.6;
}

/* インラインフィールドエラー（各項目直下に表示） */
.field-error {
  margin: 4px 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: #dc2626;
  line-height: 1.4;
}
.field-input-error {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
.consent-error {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  text-align: center;
}

/* 同意サマリー（要点を先に見せる） */
.consent-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #166534;
}
.consent-summary-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* 送信ボタン上の補足文 */
.submit-reassure {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 4px;
  line-height: 1.6;
}

/* 残りSTEP表示（カード下部 — 心理的負担軽減 / 「もう少しで完了」訴求） */
.step-remaining {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 18px auto 0;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 900;
  color: #9a3412;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(234,88,12,0.08);
}
.step-remaining::before {
  content: "✨";
  font-size: 13px;
  line-height: 1;
}
.step-remaining:empty {
  display: none;
}

/* ── コマッタくんガイド吹き出し ── */
.komatta-guide {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.komatta-guide-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2.5px solid #fef3c7;
  box-shadow: 0 2px 12px rgba(234,88,12,0.1);
  object-fit: cover;
}
.komatta-guide-bubble {
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
  border: 1px solid #f5e6d3;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text);
  position: relative;
  box-shadow: 0 2px 8px rgba(28,25,23,0.04);
}
.komatta-guide-bubble::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 16px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid #f5e6d3;
}
.komatta-guide-bubble::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 17px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid #fffbf5;
}
.komatta-guide--intro {
  margin-bottom: 20px;
}
.komatta-guide--result {
  margin-bottom: 16px;
}

/* ── コマッタくん表情バリエーション ── */
/* 1. 通常案内：そのまま */
.km-normal {
  border-color: #fed7aa;
}
/* 2. 説明中：左右反転＋青系ボーダー */
.km-explain {
  transform: scaleX(-1);
  border-color: #93c5fd;
}
/* 3. 気づき / 驚き：少し傾き＋オレンジ系 */
.km-surprise {
  transform: rotate(-6deg);
  border-color: #fdba74;
}
/* 4. 安心：柔らかい緑系＋少し大きく */
.km-reassure {
  border-color: #fdba74;
  transform: scale(1.06);
}
/* 5. 喜び / 完了：ゴールド系ボーダー＋少し傾き */
.km-happy {
  border-color: #fb923c;
  transform: rotate(4deg);
  box-shadow: 0 2px 12px rgba(234,88,12,0.2);
}
/* 6. 集中（ローディング用）：反転＋パルス */
.km-focus {
  border-color: #fdba74;
  transform: scaleX(-1);
}

/* カテゴリStep (戻る + 次へ) */
.step-nav .ghost-button {
  flex-shrink: 0;
  min-width: 80px;
}
.step-nav-right .primary-button {
  flex: 1;
}

/* ============================================================
   ローディング画面
   ============================================================ */

.loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
  text-align: center;
}
/* 診断中ローディング画面（白背景強制） */
.step-screen[data-step="diagnosing"] {
  background: #faf9f7;
}
.loading-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #fed7aa;
  box-shadow: 0 4px 16px rgba(234,88,12,0.12);
  object-fit: cover;
  animation: pulse-glow 1.5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(234,88,12,0.12); }
  50% { box-shadow: 0 4px 24px rgba(234,88,12,0.25); }
}
.loading-icon {
  width: 56px;
  height: 56px;
  position: relative;
}
.loading-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid #e7e5e4;
  border-top-color: #EA580C;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loading-message {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  min-height: 24px;
  transition: opacity 0.2s ease;
}
.loading-bar-track {
  width: 200px;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: #EA580C;
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* ============================================================
   Step 8: 完了画面
   ============================================================ */

/* 地域名入り見出し（長い住所対応） */
#result-plan-heading,
#report-heading {
  font-size: clamp(20px, 5.5vw, 26px);
  word-break: break-all;
  overflow-wrap: break-word;
}

/* 途中経過 eyebrow（補助ラベルとして控えめに） */
.step-eyebrow--interim {
  color: #a8a29e;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

/* 削減額ヒーロー */
.result-hero {
  text-align: center;
  margin-bottom: 16px;
  padding: 20px 20px;
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 50%, #ffedd5 100%);
  border: 2px solid #f5d0a9;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(234,88,12,0.06);
}
.result-hero-item {
  margin-bottom: 12px;
}
.result-hero-item:last-child {
  margin-bottom: 0;
}
.result-hero-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #a8a29e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.result-hero-value {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #EA580C;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.result-hero-value--annual {
  font-size: 36px;
  color: #C2410C;
}
.result-hero .complete-unit {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.45;
  margin-left: 6px;
  letter-spacing: 0;
  vertical-align: baseline;
}

/* ============================================================
   Step 8 コンパクト化（CTAを1スクロール以内に収める）
   ============================================================ */
#step-complete.step-screen .step-card {
  padding-top: 20px;
  padding-bottom: 32px;
}
#step-complete .step-hd {
  margin-bottom: 10px;
}
#step-complete .step-hd h2 {
  font-size: 20px;
  margin-bottom: 0;
  line-height: 1.3;
}
#step-complete .komatta-guide--result {
  margin-bottom: 10px;
  gap: 10px;
}
#step-complete .komatta-guide-bubble {
  font-size: 12.5px;
  padding: 8px 12px;
  line-height: 1.55;
}
#step-complete .komatta-guide-avatar {
  width: 36px;
  height: 36px;
}
/* ヒーローを横2カラム化して 50~60px 節約 */
#step-complete .result-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 14px;
  margin-bottom: 10px;
  text-align: left;
}
#step-complete .result-hero-item {
  margin-bottom: 0;
}
#step-complete .result-hero-item--annual {
  border-left: 1px solid rgba(234,88,12,0.18);
  padding-left: 12px;
}
#step-complete .result-hero-label {
  font-size: 10px;
  margin-bottom: 2px;
}
#step-complete .result-hero-value {
  font-size: 30px;
}
#step-complete .result-hero-value--annual {
  font-size: 24px;
}
#step-complete .result-hero .complete-unit {
  font-size: 11px;
  margin-left: 3px;
}
#step-complete .nudge-stack {
  gap: 8px;
  margin-bottom: 12px;
}
#step-complete .nudge-card {
  padding: 11px 13px;
  gap: 10px;
}
#step-complete .nudge-card--warn {
  padding-left: 16px;
}
#step-complete .nudge-card--warn::before {
  top: 8px;
  bottom: 8px;
}
#step-complete .nudge-card-icon {
  width: 30px;
  height: 30px;
  font-size: 15px;
}
#step-complete .nudge-card-title {
  font-size: 13px;
  margin-bottom: 2px;
  line-height: 1.45;
}
#step-complete .nudge-card-text {
  font-size: 11.5px;
  line-height: 1.6;
}
#step-complete .nudge-card--warn .nudge-card-title {
  font-size: 13.5px;
}
#step-complete .nudge-card--warn .nudge-card-chip {
  font-size: 9px;
  padding: 2px 8px;
  margin-bottom: 4px;
}
#step-complete .result-cta {
  margin-top: 0;
  padding: 16px 18px;
  font-size: 15px;
  min-height: 54px;
}
#step-complete .result-cta:focus-visible {
  outline: 3px solid #C2410C;
  outline-offset: 3px;
}
#step-complete .result-almost-note {
  font-size: 11.5px;
  margin: 8px 0 12px;
}
#step-complete .result-monitor-chip {
  font-size: 11.5px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

/* ============================================================
   Step 8 誘導カード群（既存KOMATTA24トーンに統一）
   - komatta-guide-bubble と同じクリーム系カード
   - アイコン + 見出し + 本文を1カードにまとめる
   ============================================================ */
.nudge-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
}
.nudge-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(28,25,23,0.04);
}
.nudge-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  background: var(--accent-soft);
  border: 1px solid #fed7aa;
}
.nudge-card-body {
  flex: 1;
  min-width: 0;
}
.nudge-card-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nudge-card-text {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--muted);
}
.nudge-card-text strong {
  color: var(--text);
  font-weight: 800;
}

/* ① info（クリーム） */
.nudge-card--info {
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
  border-color: #f5e6d3;
}

/* ② warn（注意カード — 危機感を強めた主張カード） */
.nudge-card--warn {
  position: relative;
  background: linear-gradient(135deg, #fff5ec 0%, #ffe4d1 100%);
  border: 1.5px solid #fdba74;
  padding-left: 20px;
  box-shadow: 0 3px 12px rgba(234,88,12,0.08);
}
.nudge-card--warn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: linear-gradient(180deg, #dc2626 0%, #EA580C 100%);
  border-radius: 4px;
}
.nudge-card--warn .nudge-card-icon {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}
.nudge-card--warn .nudge-card-chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  background: #dc2626;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.nudge-card--warn .nudge-card-title {
  color: #9a3412;
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.55;
}
.nudge-card--warn .nudge-card-text {
  color: #7c2d12;
  font-weight: 600;
}
.nudge-card--warn .nudge-card-text strong {
  color: #b91c1c;
  font-weight: 900;
}

/* ③ reveal（温かい強調） */
.nudge-card--reveal {
  background: linear-gradient(135deg, #fffbf5 0%, #fff1df 100%);
  border-color: #f5d0a9;
}
.nudge-card--reveal .nudge-card-icon {
  background: #fff;
  border-color: #f5d0a9;
}
.nudge-card--reveal .nudge-card-title {
  color: var(--accent);
}

/* CTA直前の導入文（1文で「次へ進む価値」を示す） */
.result-cta-lead {
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 600;
  margin: 4px 0 12px;
}
.result-cta-lead strong {
  color: var(--accent);
  font-weight: 900;
}

/* 主CTAの追加マージン（primary-button 上に） */
.result-cta {
  margin-top: 2px;
  min-height: 64px;
}

/* CTA近接の完了リマインダー（上下どちらにも配置可） */
.result-almost-note {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin: 10px 0 16px;
  letter-spacing: 0.02em;
}
/* CTAの直前に置く変形 — 押す前に安心感を与える */
.result-almost-note--top {
  margin: 0 0 10px;
  color: #9a3412;
  font-weight: 800;
}

/* グラフ群を"結論の補足"として末尾に配置するラッパー */
.result-charts-supplement {
  margin: 24px 0 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.result-charts-supplement-label {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

/* 地域モニター チップ（CTA下の小さな信頼シグナル） */
.result-monitor-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: #57534e;
  background: #fff;
  border: 1px dashed #d6d3d1;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 20px;
}
.result-monitor-chip-icon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.3;
}
.result-monitor-chip strong {
  color: #9a3412;
  font-weight: 800;
}

/* 診断前 案内画面 */
.intro-card {
  text-align: center;
  padding-top: 36px;
  padding-bottom: 40px;
}
.intro-h2 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 14px;
  color: #1c1917;
  letter-spacing: -0.03em;
}
.intro-lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
}
.intro-benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}
.intro-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.intro-benefits li:last-child {
  border-bottom: none;
}
.intro-benefit-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #fffbf5;
  border: 1px solid #f5e6d3;
  border-radius: 12px;
}
.intro-benefits span {
  line-height: 1.3;
}
.intro-benefit-icon--warn {
  background: #fef2f2;
  border-color: #fca5a5;
}
.intro-benefit-warn {
  color: #dc2626;
}
.intro-cta {
  width: 100%;
  font-size: 18px;
  font-weight: 900;
  padding: 20px;
  background: linear-gradient(160deg, #EA580C 0%, #C2410C 100%);
  box-shadow: 0 8px 28px rgba(234,88,12,0.3), 0 3px 8px rgba(234,88,12,0.15);
  letter-spacing: 0.02em;
  border-radius: 20px;
}
.intro-cta:active {
  transform: scale(0.97);
}
.intro-sub {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* 診断後にもらえるもの */
.intro-reward {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fffbf5, #fff7ed);
  border: 1px solid #f5d0a9;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 24px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(234,88,12,0.04);
}
.intro-reward-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.intro-reward strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}
.intro-reward p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   Button Select (Step 2 — 世帯人数・住居タイプ)
   ============================================================ */
.btn-select-group {
  margin-top: 16px;
}
.btn-select-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.btn-select-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-select {
  flex: 1;
  min-width: 56px;
  padding: 12px 6px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fafaf9;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.btn-select:active {
  transform: scale(0.96);
}
.btn-select.is-active {
  border-color: #EA580C;
  background: #EA580C;
  color: #fff;
  box-shadow: 0 2px 8px rgba(234,88,12,0.25);
}

/* 比較グラフ（縦棒） */
/* ============================================================
   Result Chart (バーチャート比較)
   ============================================================ */
.result-chart {
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 12px 10px;
  margin-bottom: 12px;
}
.result-chart--annual {
  border: 2px solid #f5d0a9;
  background: linear-gradient(180deg, #fafaf9 0%, #fffbf5 100%);
}
.result-chart-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* バーチャート */
.vchart {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2px;
  padding: 0;
  position: relative;
}
.vchart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 42%;
}
.vchart-val {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
  color: var(--text);
  white-space: nowrap;
}
.vchart-val--best {
  color: #EA580C;
}
.vchart-bar-wrap {
  width: 100%;
  height: 150px;
  background: #e7e5e4;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}
.vchart-bar {
  width: 100%;
  border-radius: 8px 8px 0 0;
  min-height: 6px;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.vchart-bar--current {
  background: linear-gradient(180deg, #a8a29e 0%, #78716c 100%);
  position: relative;
}
.vchart-bar--best {
  background: linear-gradient(180deg, #EA580C 0%, #f97316 100%);
  box-shadow: 0 -2px 12px rgba(234, 88, 12, 0.2);
}
.vchart-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  margin-top: 3px;
  line-height: 1.2;
}

/* グラフ内差額バッジ */
.vchart-diff-arrow {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  position: relative;
  align-self: stretch;
}
.vchart-diff-badge {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 8px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(234,88,12,0.35);
  z-index: 2;
  animation: badge-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.8s;
}
@keyframes badge-pop {
  0% { transform: translateX(-50%) scale(0); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* 差額ヒーロー（グラフ下部大型表示） */
.result-chart-diff-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin-top: 4px;
  background: linear-gradient(135deg, #fffbf5, #fff7ed);
  border: 2px solid #f5d0a9;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.result-chart-diff-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background: rgba(234,88,12,0.06);
  border-radius: 50%;
}
.result-chart-diff-hero--annual {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-color: #EA580C;
}
.result-chart-diff-label {
  font-size: 11px;
  font-weight: 800;
  color: #EA580C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.result-chart-diff-value {
  font-size: 36px;
  font-weight: 900;
  color: #EA580C;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.result-chart-diff-value--annual {
  font-size: 40px;
  color: #C2410C;
  font-variant-numeric: tabular-nums;
}
.result-chart-diff-unit {
  font-size: 14px;
  font-weight: 700;
  color: #EA580C;
  opacity: 0.6;
  margin-top: 1px;
}

/* 入力度サマリー（コンパクト） */
.complete-summary {
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.complete-metric {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.complete-metric span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.complete-metric strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.breakdown-panel-hd {
  font-size: 15px;
  font-weight: 800;
  margin: 24px 0 12px;
  color: var(--text);
}

/* ============================================================
   Wizard Footer
   ============================================================ */

.wiz-footer {
  padding: 24px 16px 36px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: #faf9f7;
}
.wiz-footer-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.6;
}
.wiz-footer .footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.wiz-footer .footer-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}

/* ============================================================
   LP Screen (Step 0) — 5-Section Landing Page
   ============================================================ */

/* LP モード: 固定ヘッダー分の padding を消す */
.wiz-main--lp {
  padding-top: 0 !important;
  background: #fff;
}

/* 共通: セクション内 wrapper */
.lp-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 共通: CTA ボタン */
.lp-cta {
  display: block;
  width: 100%;
  padding: 20px 20px;
  background: linear-gradient(160deg, #EA580C 0%, #C2410C 100%);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.45;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.3), 0 3px 8px rgba(234,88,12,0.15);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  margin-bottom: 14px;
}
.lp-cta:hover  { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(234,88,12,0.4); }
.lp-cta:active { transform: scale(0.978); box-shadow: 0 3px 12px rgba(234,88,12,0.25); }

/* 共通: セクション見出し (light section 用) */
.lp-section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 6px;
}
.lp-section-h2 {
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 24px;
}

/* ============================================================
   S1: ヒーロー (dark navy)
   ============================================================ */
.lp-s1 {
  background: linear-gradient(180deg, #fffbf5 0%, #fff 60%);
  color: var(--text);
  padding: 44px 0 48px;
  text-align: center;
}

.lp-free-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.25);
  color: #EA580C;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.lp-h1 {
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.18;
  margin: 0 0 20px;
  color: var(--text);
}

.lp-logo {
  /* 横長ブランドロゴ：正方形コンテナで表示 */
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 14px;
  margin: 0 auto 16px;
  background: #fff;
  padding: 1px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* 損失訴求インライン (ヒーロー統合版) */
.lp-loss-inline {
  border: 1.5px solid rgba(234, 88, 12, 0.25);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 24px;
}
.lp-loss-inline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(234, 88, 12, 0.05);
}
.lp-loss-inline-row--year {
  border-top: 1px solid rgba(234, 88, 12, 0.15);
  background: rgba(234, 88, 12, 0.08);
}
.lp-loss-inline-row span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.lp-loss-inline-row strong {
  font-size: clamp(20px, 5.5vw, 28px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #EA580C;
}
.lp-loss-inline-row--year strong {
  color: #C2410C;
}
.lp-loss-inline-row small {
  font-size: 0.5em;
  font-weight: 600;
  opacity: 0.6;
  margin-left: 2px;
}

.lp-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.lp-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 30px;
}

/* ── キャラクター・吹き出し ── */
.lp-story { margin-bottom: 20px; }
.lp-story--light { margin-top: 20px; margin-bottom: 20px; }
.lp-story--dark { margin-bottom: 24px; }

.lp-story-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.lp-story-row:last-child { margin-bottom: 0; }
.lp-story-row--guide {
  justify-content: flex-end;
}

.lp-chara {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.lp-chara--user { background: rgba(234,88,12,0.08); }
.lp-chara--guide {
  background: rgba(234,88,12,0.08);
  object-fit: cover;
  border: 2px solid rgba(234,88,12,0.25);
  transition: transform 0.3s ease;
}

.lp-bubble {
  position: relative;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  max-width: 80%;
}
.lp-bubble strong { font-weight: 800; }

/* ダーク背景上の吹き出し */
.lp-bubble--user {
  background: rgba(234,88,12,0.06);
  border: 1px solid rgba(234,88,12,0.15);
  color: var(--text);
}
.lp-bubble--guide {
  background: rgba(234,88,12,0.06);
  border: 1px solid rgba(234,88,12,0.2);
  color: var(--text);
}
.lp-bubble--guide strong { color: #EA580C; }

/* ライト背景上の吹き出し */
.lp-bubble--user-light {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}
.lp-bubble--user-light strong { color: #dc2626; }
.lp-bubble--guide-light {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(234,88,12,0.06);
}
.lp-bubble--guide-light strong { color: #EA580C; }

/* ── 補足バッジ ── */
.lp-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(234,88,12,0.08);
  border: 1px solid rgba(234,88,12,0.25);
  color: #EA580C;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ── 比較セクション ── */
.lp-s-compare {
  background: #faf9f7;
  padding: 48px 0 44px;
}

/* ── 比較テーブル（現状/最安値/差額） ── */
.lp-compare-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(28,25,23,0.04);
}
.lp-ct-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: #fafaf9;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  gap: 4px;
}
.lp-ct-hd {
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.04em;
}
.lp-ct-hd--now  { color: #94a3b8; }
.lp-ct-hd--best { color: #EA580C; }
.lp-ct-hd--diff { color: #dc2626; }

.lp-ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 12px;
  gap: 4px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}
.lp-ct-row:last-child { border-bottom: 0; }

.lp-ct-cat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.lp-ct-emoji { font-size: 16px; }

.lp-ct-val {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.lp-ct-val--now  { color: #64748b; }
.lp-ct-val--best { color: #EA580C; font-weight: 800; }
.lp-ct-val--diff {
  color: #dc2626;
  font-weight: 900;
  font-size: 13px;
}

/* ── 差額合計 ── */
.lp-diff-total {
  border: 2px solid #f5d0a9;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
}
.lp-diff-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fffbf5, #fff7ed);
}
.lp-diff-total-row--year {
  border-top: 1px solid #f5d0a9;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}
.lp-diff-total-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.lp-diff-total-value {
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #EA580C;
}
.lp-diff-total-value small {
  font-size: 0.42em;
  font-weight: 600;
  opacity: 0.6;
  margin-left: 2px;
}
.lp-diff-total-value--year {
  color: #C2410C;
}

.lp-compare-note {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin: 0 0 4px;
}

/* ── セカンダリCTA ── */
.lp-cta-secondary {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, #EA580C 0%, #C2410C 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(234,88,12,0.3), 0 2px 6px rgba(234,88,12,0.12);
  letter-spacing: 0.01em;
  margin-top: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.lp-cta-secondary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(234,88,12,0.4); }
.lp-cta-secondary:active { transform: scale(0.978); }

/* ── 3ステップ図解 ── */
.lp-steps-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.lp-step-v {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px 20px;
  text-align: center;
  width: 100%;
  box-shadow: 0 2px 12px rgba(28,25,23,0.04);
}
.lp-step-v-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.lp-step-v-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #EA580C;
  background: #fff7ed;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.lp-step-v strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.lp-step-v p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.lp-step-v-arrow {
  font-size: 14px;
  color: #cbd5e1;
  padding: 6px 0;
}

/* ── 安心材料カード ── */
.lp-assurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.lp-assurance-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(28,25,23,0.04);
}
.lp-assurance-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.lp-assurance-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.lp-assurance-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* 安心カード3列（タブレット以上） */
@media (min-width: 480px) {
  .lp-assurance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-trust-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.lp-trust-row span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* ============================================================
   S2: 損失訴求 (dark amber-black)
   ============================================================ */
.lp-s2 {
  background: #0a0600;
  color: #fff;
  padding: 52px 0 52px;
  text-align: center;
}

.lp-s2-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fbbf24;
  margin: 0 0 12px;
}

.lp-s2-h2 {
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 28px;
}

.lp-loss-panel {
  border: 1.5px solid rgba(251, 191, 36, 0.3);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
}

.lp-loss-row {
  padding: 22px 20px 18px;
  background: rgba(251, 191, 36, 0.07);
}
.lp-loss-row--year {
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  background: rgba(251, 146, 60, 0.07);
}

.lp-loss-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(251, 191, 36, 0.65);
  margin-bottom: 8px;
}
.lp-loss-row--year .lp-loss-label {
  color: rgba(251, 146, 60, 0.65);
}

.lp-loss-num {
  display: block;
  font-size: clamp(34px, 9.5vw, 50px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fbbf24;
  line-height: 1.1;
  white-space: nowrap;
}
.lp-loss-num em {
  font-style: normal;
  font-size: 0.65em;
  letter-spacing: 0;
}
.lp-loss-num small {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(251, 191, 36, 0.65);
  vertical-align: 0.1em;
}

.lp-loss-num--year {
  color: #fb923c;
}
.lp-loss-num--year small {
  color: rgba(251, 146, 60, 0.65);
}

.lp-s2-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin: 0 0 26px;
}

/* ============================================================
   S3: できること (light gray)
   ============================================================ */
.lp-section-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
  text-align: center;
}

.lp-s3 {
  background: #faf9f7;
  padding: 52px 0 48px;
}

.lp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-feature-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
}

.lp-feature-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-feature-body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.lp-feature-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Price comparison examples */
.lp-price-examples {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.lp-price-example {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.lp-price-example-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-price-example-body {
  flex: 1;
  min-width: 0;
}
.lp-price-example-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}
.lp-price-example-prices {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-price-before {
  font-size: 15px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}
.lp-price-arrow {
  font-size: 14px;
  color: #94a3b8;
}
.lp-price-after {
  font-size: 18px;
  font-weight: 900;
  color: #EA580C;
  letter-spacing: -0.02em;
}
.lp-price-note {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin: 0;
}

/* ============================================================
   S3b: こんな方におすすめ (green-tinted light)
   ============================================================ */
.lp-s3b {
  background: linear-gradient(180deg, #fffbf5 0%, #faf9f7 100%);
  border-top: 1px solid #f5e6d3;
  padding: 52px 0 48px;
}

.lp-recommend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-recommend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  box-shadow: 0 1px 4px rgba(234, 88, 12, 0.06);
}

.lp-recommend-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: #EA580C;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

/* ============================================================
   S4: かんたんな流れ (white)
   ============================================================ */
.lp-s4 {
  background: #ffffff;
  padding: 52px 0 48px;
  border-top: 1px solid #e2e8f0;
}

.lp-flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-flow-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
}
.lp-flow-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lp-flow-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: #0f172a;
  color: #fff;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.lp-flow-body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.lp-flow-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.lp-flow-time {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* ============================================================
   S5: 下部 CTA (dark navy)
   ============================================================ */
.lp-s5 {
  background: var(--text);
  padding: 56px 0 68px;
  text-align: center;
}

.lp-s5-h2 {
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 10px;
}

.lp-s5-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 28px;
}

.lp-s5-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   Step 1: 現状ヒアリング — サービス選択カード
   ============================================================ */
.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.service-card-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  min-height: 66px;
  transition: border-color 0.15s ease, background 0.12s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 6px rgba(28, 25, 23, 0.04);
}

.service-card-btn:hover {
  border-color: #EA580C;
  background: #fffbf5;
  box-shadow: 0 2px 12px rgba(234, 88, 12, 0.08);
}

.service-card-btn:active,
.service-card-btn.service-card-selected {
  transform: scale(0.98);
  background: #fff7ed;
  border-color: #EA580C;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.service-card-icons {
  font-size: 20px;
  flex-shrink: 0;
  min-width: 48px;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.02em;
}

.service-card-label {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
}

/* ============================================================
   Step 2: 住まい情報 — アナウンスバナー
   ============================================================ */
.step-announce {
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
  border: 1.5px solid #f5d0a9;
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: center;
}

.step-announce-text {
  font-size: 17px;
  font-weight: 900;
  color: #EA580C;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   Step 2: 郵便番号 — 大きめ入力 + 住所確認
   ============================================================ */
.field--large input {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 18px 16px;
  text-align: center;
}

/* 住所自動表示 */
.address-auto-result {
  margin-top: 4px;
}
.address-auto-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fffbf5, #fff7ed);
  border: 1.5px solid #f5d0a9;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  color: #EA580C;
}
.address-auto-badge-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: #EA580C;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* フィールドセクション補足テキスト */
.field-section-sub {
  font-size: 13px;
  color: var(--muted);
  margin: -4px 0 8px;
  line-height: 1.5;
}

/* ============================================================
   Step 3-6: 比較ボックス (per-category)
   ============================================================ */
/* ============================================================
   Compare Card (カテゴリ別比較カード — Step 3-6)
   ============================================================ */
.compare-card {
  margin-top: 24px;
  background: #fff;
  border: 2px solid #f5d0a9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(234,88,12,0.04);
}
.compare-card-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
}
.compare-card-emoji {
  font-size: 22px;
}
.compare-card-diff {
  font-size: 28px;
  font-weight: 900;
  color: #dc2626;
  letter-spacing: -0.03em;
  line-height: 1;
}
.compare-card-unit {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.5;
  margin-left: 2px;
}
.compare-card-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px 14px;
}
.compare-card-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.compare-card-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.compare-card-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.compare-card-val--best {
  color: #EA580C;
}
.compare-card-arrow {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.5;
}
/* 最安値の場合 */
.compare-card--cheapest {
  border-color: #e2e8f0;
}
.compare-card--cheapest .compare-card-hero {
  background: #fafaf9;
}
.compare-card--cheapest .compare-card-diff {
  color: #78716c;
  font-size: 16px;
}

/* breakdown card cheapest message */
.breakdown-cheapest-msg {
  color: #1e40af;
  font-size: 13px;
  font-weight: 700;
}

/* ============================================================
   Step 8: 完了画面 — 担当者案内
   ============================================================ */
.complete-notice {
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
  border: 1.5px solid #93c5fd;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.complete-notice-text {
  font-size: 16px;
  font-weight: 800;
  color: #1e40af;
  margin: 0 0 8px;
  line-height: 1.5;
}

.complete-notice-highlight {
  font-size: 15px;
  font-weight: 800;
  color: #EA580C;
  margin: 0 0 8px;
  line-height: 1.5;
}

.complete-notice-monitor {
  font-size: 14px;
  font-weight: 700;
  color: #dc2626;
  margin: 0 0 8px;
  line-height: 1.5;
}
.complete-notice-monitor strong {
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  padding: 2px 10px;
  border-radius: 8px;
  border: 1px solid #fca5a5;
}

.complete-notice-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   診断フロー: 明るめ背景 + 大きめUI調整
   ============================================================ */
.wiz-main {
  background: #faf9f7;
}

.step-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 24px rgba(28, 25, 23, 0.05);
  border: 1px solid rgba(231,229,228,0.7);
}

/* ============================================================
   Step 9: 顧客情報ヒアリング
   ============================================================ */
.field-section-title {
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 14px;
  color: #1c1917;
  letter-spacing: -0.02em;
}

.service-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.service-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  background: #fafaf9;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.service-check-item:has(input:checked) {
  border-color: #EA580C;
  background: #fffbf5;
}
.service-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #EA580C;
}
.service-check-item span {
  font-size: 14px;
  font-weight: 700;
}

/* ============================================================
   送信完了画面 (done)
   ============================================================ */
.done-card {
  text-align: center;
  padding-top: 44px;
  padding-bottom: 44px;
  background: linear-gradient(180deg, #fffbf5 0%, #fff 40%);
}
.done-check-icon {
  font-size: 52px;
  margin-bottom: 12px;
}
.done-heading {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 20px;
  color: #1c1917;
  letter-spacing: -0.02em;
}

/* 削減見込みヒーロー */
.done-savings-hero {
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 50%, #ffedd5 100%);
  border: 2px solid #f5d0a9;
  border-radius: 24px;
  padding: 28px 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(234,88,12,0.06);
}
.done-savings-item {
  padding: 8px 0;
}
.done-savings-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #a8a29e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.done-savings-value {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #EA580C;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.done-savings-value--annual {
  font-size: 36px;
  color: #C2410C;
}
.done-savings-unit {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.5;
  margin-left: 6px;
  letter-spacing: 0;
  vertical-align: baseline;
}
.done-savings-divider {
  height: 1px;
  background: #fed7aa;
  margin: 8px 20%;
}

/* 安心メッセージ */
.done-benefits {
  text-align: left;
  margin-bottom: 24px;
}
.done-benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}
.done-benefit-row:last-child {
  border-bottom: none;
}
.done-benefit-icon {
  flex-shrink: 0;
  font-size: 18px;
  margin-top: 1px;
}
.done-benefit-row--monitor {
  color: #dc2626;
}
.done-benefit-row--monitor strong {
  font-size: 16px;
  font-weight: 900;
  background: #fee2e2;
  padding: 1px 8px;
  border-radius: 6px;
  border: 1px solid #fca5a5;
}

/* 補足（緊急性） */
.done-urgency {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #f5d0a9;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 18px;
  text-align: center;
}
.done-urgency p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  line-height: 1.7;
}

/* 締めメッセージ */
.done-closing {
  text-align: center;
  margin-bottom: 20px;
}
.done-closing p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
}

/* これからの流れ */
.done-next-steps {
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  margin-bottom: 28px;
  text-align: left;
}
.done-next-steps h3 {
  font-size: 13px;
  font-weight: 800;
  color: #a8a29e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-align: center;
}
.done-flow-list {
  list-style: none;
  counter-reset: done-step;
  margin: 0;
  padding: 0;
}
.done-flow-list li {
  counter-increment: done-step;
  position: relative;
  padding: 12px 0 12px 40px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.done-flow-list li:last-child {
  border-bottom: none;
}
.done-flow-list li::before {
  content: counter(done-step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  background: #EA580C;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}
.done-flow-list li strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.done-footer-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.done-footer-note p {
  margin: 0;
}
.done-complete-badge {
  display: inline-block;
  background: #059669;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.done-closing p.done-closing-highlight {
  display: inline-block;
  font-size: 16px;
  font-weight: 900;
  color: #EA580C;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.done-footer-note p.done-footer-sub {
  font-size: 12px;
  color: #a8a29e;
  margin-top: 6px;
}

/* 見出し直下のリード文 */
.done-lead {
  font-size: 15px;
  font-weight: 700;
  color: #44403c;
  line-height: 1.7;
  margin: -8px 0 20px;
  text-align: center;
  letter-spacing: -0.01em;
}

/* 説明文（担当からの連絡方法を伝える） */
.done-desc {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  color: #57534e;
  text-align: center;
  margin: 0 0 24px;
  padding: 0 4px;
}
.done-desc strong {
  color: #1c1917;
  font-weight: 800;
}

/* 追加手続き不要メッセージ（安心訴求） */
.done-reassure {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
  text-align: left;
}
.done-reassure-icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1.3;
}
.done-reassure-body {
  flex: 1;
}
.done-reassure-body strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #065f46;
  line-height: 1.5;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.done-reassure-body p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #047857;
  line-height: 1.6;
}

/* ============================================================
   Report CTA (Step 8 bottom)
   ============================================================ */
/* ============================================================
   Report CTA Section (離脱防止 + 次ステップ誘導)
   ============================================================ */
/* ---- 詳細レポート誘導ブロック（強化版） ---- */
.report-cta-section {
  margin-top: 36px;
  padding: 28px 22px 26px;
  background: linear-gradient(160deg, #fffcf8 0%, #fff8f0 40%, #ffedd5 100%);
  border: 1.5px solid #f5d0a9;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(234,88,12,0.06);
}

/* ① 完了直前バッジ */
.report-cta-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #EA580C, #D97706);
  padding: 5px 16px;
  border-radius: 40px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(234,88,12,0.22);
}

/* ② メイン見出し */
.report-cta-heading {
  font-size: 19px;
  font-weight: 900;
  color: #1c1917;
  margin: 0 0 14px;
  line-height: 1.6;
}
.report-cta-free {
  color: #dc2626;
  font-weight: 900;
  font-style: normal;
  font-size: 20px;
  text-decoration: underline;
  text-decoration-color: rgba(220,38,38,0.3);
  text-underline-offset: 3px;
}

/* ③ 本文 */
.report-cta-body {
  font-size: 13.5px;
  color: #44403c;
  line-height: 1.8;
  margin: 0 0 18px;
}

/* ④ 危機感カード */
.report-cta-nudge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: linear-gradient(135deg, #fff5f0 0%, #fff0e6 100%);
  border: 1.5px solid #FDBA74;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 0 0 14px;
}
.report-cta-nudge-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.report-cta-nudge-text {
  font-size: 13px;
  font-weight: 700;
  color: #9A3412;
  line-height: 1.65;
  margin: 0;
}

/* ⑤ 限定感カード */
.report-cta-monitor {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 12.5px;
  color: #57534e;
  line-height: 1.65;
  margin: 0 0 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  border: 1px solid #e7e5e4;
}
.report-cta-monitor-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.report-cta-slots {
  color: #dc2626;
  font-size: 15px;
  font-weight: 900;
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #fca5a5;
  white-space: nowrap;
}

/* ⑥ 完了直前メッセージ */
.report-cta-almost {
  font-size: 13px;
  font-weight: 700;
  color: #78716c;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}

/* ⑦ 最終確認ブロック（「このボタンで受付完了です」を強く見せる） */
.report-final-confirm {
  margin: 28px 0 14px;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  text-align: center;
  position: relative;
}
.report-final-confirm-label {
  display: inline-block;
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(234,88,12,0.3);
}
.report-final-confirm-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  color: #1c1917;
  letter-spacing: -0.01em;
}
.report-final-confirm-sub {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #78716c;
  line-height: 1.6;
}

/* 最終CTAブロックのラッパー */
.report-final-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

/* 最終CTA ボタン（強化版・最終ボタンとして一目で分かる設計） */
.report-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 22px 20px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(160deg, #FB923C 0%, #EA580C 50%, #C2410C 100%);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(234,88,12,0.38), 0 4px 10px rgba(234,88,12,0.2);
  letter-spacing: 0.02em;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  animation: report-cta-breathe 3s ease-in-out infinite;
}
/* シマー光沢 */
.report-cta-button::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  animation: cta-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-shimmer {
  0%   { left: -100%; }
  50%  { left: 150%; }
  100% { left: 150%; }
}
/* 呼吸感（浮き＋影） */
@keyframes report-cta-breathe {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 10px 32px rgba(234,88,12,0.38), 0 4px 10px rgba(234,88,12,0.2);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(234,88,12,0.52), 0 6px 14px rgba(234,88,12,0.28);
  }
}
.report-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(234,88,12,0.55);
  animation-play-state: paused;
}
.report-cta-button:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 3px 12px rgba(234,88,12,0.3);
  animation-play-state: paused;
}
.report-cta-button:focus-visible {
  outline: 3px solid #FDBA74;
  outline-offset: 3px;
}
/* 白丸 + チェックアイコン（「完了」を視覚化） */
.report-cta-button-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}
.report-cta-button-text {
  flex: 1;
}
/* CTA 直下の導線ヒント */
.report-cta-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #78716c;
  text-align: center;
  letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .report-cta-button,
  .report-cta-button::after {
    animation: none;
  }
}

/* ============================================================
   Report Screen (カテゴリー別最安値診断書)
   ============================================================ */
.report-category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.report-category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
}
.report-category-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: #fafaf9;
  border-bottom: 1px solid var(--line);
}
.report-category-emoji {
  font-size: 24px;
}
.report-category-name {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}
.report-category-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-category-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.report-category-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  min-width: 80px;
}
.report-category-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.report-category-val--best {
  color: #EA580C;
}
.report-category-val--savings {
  color: #C2410C;
  font-size: 20px;
  font-weight: 900;
}
.report-category-row--savings {
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
}
.report-category-unit {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.5;
  margin-left: 2px;
}

/* Report Total */
.report-total {
  margin-top: 28px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 50%, #ffedd5 100%);
  border: 1px solid #f5d0a9;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(234,88,12,0.04);
}
.report-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.report-total-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  min-width: 100px;
}
.report-total-value {
  font-size: 30px;
  font-weight: 900;
  color: #EA580C;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.report-total-value--annual {
  color: #C2410C;
}
.report-total-unit {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.5;
  margin-left: 2px;
}
.report-total-row--annual {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Report Notice */
.report-notice {
  margin-top: 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-radius: 16px;
  border: 1px solid #f5d0a9;
  text-align: center;
}
.report-notice p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}
.report-notice-sub {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  margin-top: 6px !important;
}

/* ============================================================
   Building Name Search (建物名候補)
   ============================================================ */
.building-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
  padding: 0 4px;
  line-height: 1.5;
}
.building-suggestions {
  margin-top: 8px;
}
.building-suggestions-label {
  font-size: 12px;
  font-weight: 700;
  color: #EA580C;
  margin: 0 0 6px;
  padding: 0 4px;
}
.building-suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.building-suggestion-item {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.1s;
}
.building-suggestion-item:last-child {
  border-bottom: none;
}
.building-suggestion-item:active {
  background: #f0f9ff;
}

/* ============================================================
   必須 / 任意 バッジ（全入力欄で統一 — span/em どちらでも対応）
   ============================================================ */
span.field-badge,
em.field-badge,
.field-badge {
  display: inline-block;
  font-family: "Noto Sans JP", Inter, -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 900;
  font-style: normal;        /* em のデフォルト italic を打ち消し */
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 2px;
  line-height: 1.4;
  white-space: nowrap;
}
span.field-badge--required,
em.field-badge--required,
.field-badge--required {
  color: #fff;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  box-shadow: 0 1px 3px rgba(220,38,38,0.3);
}
span.field-badge--optional,
em.field-badge--optional,
.field-badge--optional {
  color: #57534e;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
}
/* ヒントテキスト（バッジの後に添える小さな補足） */
.field .hint,
span.hint,
em.hint {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  font-style: normal;
  margin-left: 6px;
  vertical-align: 1px;
}
/* 料金入力の補足ヘルプ（おおよそでOK） */
.field-help {
  margin: 6px 0 0;
  padding: 10px 14px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #713f12;
  line-height: 1.6;
}
.field-help strong {
  color: #92400e;
  font-weight: 900;
}

/* ============================================================
   Step 8 最下部CTA（取りこぼし防止）
   ============================================================ */
.result-bottom-cta {
  margin: 28px 0 16px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
  border: 1.5px solid #f5d0a9;
  border-radius: 20px;
  text-align: center;
}
.result-bottom-cta-lead {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #57534e;
  line-height: 1.6;
}
.result-almost-note--bottom {
  margin: 10px 0 0;
}
