@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@500;600&display=swap');

/* ===== Base ===== */
:root {
  --green: #1e9986;
  --green-light: #99d5cb;
  --green-bg: #effbf9;
  --navy: #0e2e54;
  --gold: #b79b3e;
  --gold-shadow: #6e5b1b;
  --orange: #ff8921;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f5f5f5;
  color: var(--navy);
  display: flex;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 124px;
}

body.phone-bar-dock-expanded {
  padding-bottom: 156px;
}

/* ===== レスポンシブ: 横幅が広い時の両サイド装飾 ===== */
@media (min-width: 431px) {
  body {
    background: linear-gradient(135deg, #0e2e54 0%, #1e9986 50%, #0e2e54 100%);
    background-attachment: fixed;
  }
}

/* 両サイドの装飾レイヤー */
.side-deco {
  display: none;
}
@media (min-width: 431px) {
  .side-deco {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc((100vw - 430px) / 2);
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
  }
  .side-deco--left { left: 0; }
  .side-deco--right { right: 0; }

  /* 縦書き CARLABO テキスト */
  .side-deco__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: 'DIN Alternate', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 6vw, 96px);
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    user-select: none;
    animation: sideTextFloat 8s ease-in-out infinite;
  }
  .side-deco--right .side-deco__text {
    transform: translate(-50%, -50%);
  }

  @keyframes sideTextFloat {
    0%, 100% { letter-spacing: 0.2em; opacity: 0.08; }
    50%      { letter-spacing: 0.3em; opacity: 0.15; }
  }

  /* 浮遊する六角形 */
  .side-deco__hex {
    position: absolute;
    width: 80px;
    height: 92px;
    background: url("../img/hex-arch.svg") center/contain no-repeat;
    opacity: 0.5;
    animation: hexFloat 12s ease-in-out infinite;
  }
  .side-deco__hex--lg {
    width: 140px;
    height: 161px;
  }
  .side-deco__hex--1 { top: 8%;  left: 20%; animation-delay: 0s; }
  .side-deco__hex--2 { top: 35%; left: 5%;  animation-delay: -3s; }
  .side-deco__hex--3 { top: 62%; left: 30%; animation-delay: -6s; }
  .side-deco__hex--4 { top: 85%; left: 10%; animation-delay: -9s; }

  .side-deco--right .side-deco__hex--1 { left: auto; right: 20%; animation-delay: -2s; }
  .side-deco--right .side-deco__hex--2 { left: auto; right: 5%;  animation-delay: -5s; }
  .side-deco--right .side-deco__hex--3 { left: auto; right: 30%; animation-delay: -8s; }
  .side-deco--right .side-deco__hex--4 { left: auto; right: 10%; animation-delay: -11s; }

  @keyframes hexFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg);   opacity: 0.4; }
    25%      { transform: translate(8px, -12px) rotate(8deg); opacity: 0.6; }
    50%      { transform: translate(-4px, -20px) rotate(-6deg); opacity: 0.5; }
    75%      { transform: translate(-10px, -8px) rotate(4deg);  opacity: 0.7; }
  }

  /* キャッチコピー */
  .side-deco__copy {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    animation: copyFadeIn 1.2s ease-out 0.4s forwards;
  }
  .side-deco__copy-main {
    display: block;
    font-size: clamp(14px, 1.4vw, 20px);
    letter-spacing: 0.15em;
    margin-bottom: 6px;
  }
  .side-deco__copy-sub {
    display: block;
    font-size: clamp(10px, 1vw, 14px);
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
  }

  @keyframes copyFadeIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
  }

  /* グラデーションのオーバーレイで奥行き */
  .side-deco::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      ellipse at center,
      rgba(153, 213, 203, 0.15) 0%,
      transparent 60%
    );
    pointer-events: none;
  }

  /* prefers-reduced-motion 対応: 動きを止める */
  @media (prefers-reduced-motion: reduce) {
    .side-deco__text,
    .side-deco__hex,
    .side-deco__copy {
      animation: none !important;
      opacity: 0.1;
    }
    .side-deco__copy { opacity: 1; }
  }
}

/* 大画面専用: より広く見せる */
@media (min-width: 1200px) {
  .side-deco {
    width: calc((100vw - 430px) / 2);
  }
  .side-deco__text {
    font-size: 100px;
  }
}

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

/* ===== Page Container ===== */
.page {
  max-width: 430px;
  width: 100%;
  min-width: 390px;
  background: #fff;
  /* overflow: hidden; */
  position: relative;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: -27px;
  width: 444px;
  height: 314px;
  object-fit: cover;
}

.hero__person {
  position: absolute;
  top: 50px;
  right: 0;
  width: fit-content;
  height: 367px;
  /* overflow: hidden; */
}

.hero__person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Header ===== */
.header {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.header__logo {
  width: 31px;
  height: 23px;
}

.header__name {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

/* ===== Hero Content ===== */
.hero__content {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 5;
}

/* Badges */
.badges {
  display: flex;
  gap: 10px;
  padding-left: 30px;
}

.badge {
  position: relative;
  width: 100px;
  height: 97px;
}

.badge__bg {
  width: 100%;
  height: 100%;
}

.badge__text {
  position: absolute;
  top: 28px;
  left: 22px;
  width: 56px;
  text-align: center;
  color: #fff;
  font-family: 'Shippori Mincho', serif;
}

.badge__text-top {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.badge__text-bottom {
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.badge__text-multi {
  position: absolute;
  top: 27px;
  left: 22px;
  width: 56px;
  text-align: center;
  color: #fff;
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

/* Heading */
.hero__heading {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: fit-content;
  text-align: center;
}

.hero__heading-sub {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.hero__heading-main {
  display: inline-flex;
  transform: skewX(-5deg);
  background: var(--green);
  padding: 5px 10px;
}

.hero__heading-main span {
  font-weight: 700;
  font-size: 52px;
  color: #fff;
  line-height: 1;
}

/* ===== Green Banner ===== */
.green-banner {
  background: var(--green);
  padding: 15px 20px;
  width: 100%;
  position: relative;
}

.green-banner__hand {
  position: absolute;
  top: -35px;
  right: 30px;
  width: 70px;
  height: 104px;
}

.green-banner__title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.green-banner__title-top {
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1;
}

.green-banner__title-bottom {
  font-size: 28px;
  letter-spacing: 1.4px;
  line-height: 1.2;
  margin-top: 5px;
}

.green-banner__title-bottom .highlight {
  color: var(--green-light);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  display: inline-block;
  background: #fff;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  padding: 5px 10px 5px 5px;
  transform: skewX(-10deg);
  line-height: 1;
}

/* ===== 事故解決シミュレーター（固定ドック内・1行CTA） ===== */
.phone-bar__sim {
  padding: 0 10px 6px;
  background: #fff;
  border-top: 1px solid rgba(14, 46, 84, 0.06);
}

.phone-bar__sim-heading {
  margin: 0;
}

.phone-bar__sim-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  min-height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 2px 2px 0 0 var(--gold-shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.phone-bar__sim-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 0 var(--gold-shadow);
}

.phone-bar__sim-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--gold-shadow);
}

.phone-bar__sim-btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* ===== 事故解決シミュレーター（モーダル） ===== */
body.sim-modal-is-open {
  overflow: hidden;
}

.sim-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.sim-modal.sim-modal--open {
  display: flex;
}

.sim-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 46, 84, 0.42);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.sim-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  max-height: min(92vh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 0;
  box-shadow: 0 -12px 48px rgba(14, 46, 84, 0.18);
}

.sim-modal__head {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 16px 18px 12px;
  padding-top: max(16px, env(safe-area-inset-top, 0px));
  background: #fff;
  border-bottom: 1px solid rgba(14, 46, 84, 0.1);
  box-shadow: 0 4px 12px rgba(14, 46, 84, 0.06);
}

.sim-modal__body {
  padding: 12px 18px 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
}

.sim-modal__title {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.sim-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: rgba(14, 46, 84, 0.07);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sim-modal__close:hover {
  background: rgba(14, 46, 84, 0.12);
}

.sim-modal__close:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.sim-modal__lead {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(14, 46, 84, 0.76);
  line-height: 1.55;
}

.sim-fieldset {
  margin: 0 0 8px;
  padding: 0;
  border: none;
  min-width: 0;
}

.sim-legend {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.sim-checklist-hint {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(14, 46, 84, 0.58);
  line-height: 1.45;
}

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

.sim-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(14, 46, 84, 0.12);
  background: #fafbfc;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sim-checklist__item:hover {
  border-color: rgba(30, 153, 134, 0.35);
  background: #f5faf9;
}

.sim-checklist__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sim-checklist__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid rgba(14, 46, 84, 0.35);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.sim-checklist__input:focus-visible + .sim-checklist__box {
  box-shadow: 0 0 0 3px rgba(30, 153, 134, 0.25);
}

.sim-checklist__input:checked + .sim-checklist__box {
  background: var(--green);
  border-color: var(--green);
}

.sim-checklist__input:checked + .sim-checklist__box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -0.5px);
}

.sim-checklist__text {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.45;
}

.sim-results {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 46, 84, 0.1);
}

.sim-results__heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.sim-results__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-result-card {
  background: linear-gradient(180deg, #fafcfd 0%, #f4f8f8 100%);
  border: 1px solid rgba(30, 153, 134, 0.15);
  border-radius: 10px;
  padding: 14px 14px 10px;
}

.sim-result-card__label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(14, 46, 84, 0.85);
  margin: 0 0 6px;
  line-height: 1.35;
}

.sim-result-card__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 4px;
}

.sim-result-card__number {
  font-family: 'DIN Alternate', 'Noto Sans JP', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.sim-result-card__unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.sim-result-card__note {
  font-size: 10px;
  font-weight: 500;
  color: rgba(14, 46, 84, 0.55);
  margin: 0;
}

.sim-results__disclaimer {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(14, 46, 84, 0.6);
}

.sim-modal__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  padding: 14px 16px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 2px 0 0 rgba(14, 46, 84, 0.15);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.sim-modal__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.sim-modal__cta:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.sim-modal__cta-main {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.sim-modal__cta-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.4;
}

.sim-modal__cta:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

@media (min-width: 431px) {
  .sim-modal {
    align-items: center;
    padding: 24px 16px;
  }

  .sim-modal__panel {
    border-radius: 16px;
    max-height: min(88vh, 900px);
  }
}

/* ===========================================================
   修理費 vs 買替シミュレーター — フォーム / 結果パネル
   （本サイトの /tool/repair-vs-buy/ と同一仕様の入力＋計算）
   =========================================================== */
.sim-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

.sim-form__step {
  padding: 14px;
  border: 1px solid rgba(14, 46, 84, 0.1);
  border-radius: 10px;
  background: #fff;
}

.sim-form__step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.sim-form__step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.sim-form__step-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.sim-form__req {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e63946;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.sim-form__cards {
  display: grid;
  gap: 8px;
}

.sim-form__cards--2col { grid-template-columns: repeat(2, 1fr); }
.sim-form__cards--3col { grid-template-columns: repeat(3, 1fr); }

.sim-form__card {
  position: relative;
  display: block;
  cursor: pointer;
}

.sim-form__card--wide {
  grid-column: 1 / -1;
}

.sim-form__card-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sim-form__card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 8px 6px;
  border: 1.5px solid rgba(14, 46, 84, 0.18);
  border-radius: 8px;
  background: #fafbfc;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sim-form__card-icon {
  font-size: 18px;
  line-height: 1;
}

.sim-form__card-input:hover + .sim-form__card-body,
.sim-form__card:hover .sim-form__card-body {
  border-color: rgba(30, 153, 134, 0.45);
  background: #f5faf9;
}

.sim-form__card-input:focus-visible + .sim-form__card-body {
  box-shadow: 0 0 0 3px rgba(30, 153, 134, 0.25);
}

.sim-form__card-input:checked + .sim-form__card-body {
  border-color: var(--green);
  background: var(--green-bg);
  color: var(--green);
}

.sim-form__card--check .sim-form__card-body {
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  padding: 10px 12px;
}

.sim-form__card--check .sim-form__card-body::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(14, 46, 84, 0.35);
  background: #fff;
  display: inline-block;
  transition: background 0.15s, border-color 0.15s;
}

.sim-form__card--check .sim-form__card-input:checked + .sim-form__card-body::before {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--green);
}

.sim-form__card--total-loss .sim-form__card-body {
  border-style: dashed;
  border-color: #e63946;
  color: #9b2c2c;
}

.sim-form__card--total-loss .sim-form__card-input:checked + .sim-form__card-body {
  background: #fff5f5;
  border-color: #e63946;
  color: #9b2c2c;
}

.sim-form__sev-icon {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.sim-form__card .sim-form__card-body strong {
  font-size: 13px;
  font-weight: 700;
}

.sim-form__card .sim-form__card-body small {
  font-size: 10px;
  font-weight: 500;
  color: rgba(14, 46, 84, 0.6);
}

.sim-form__card-input:checked + .sim-form__card-body small {
  color: rgba(30, 153, 134, 0.85);
}

.sim-form__select {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(14, 46, 84, 0.18);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230e2e54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  padding-right: 36px;
}

.sim-form__select:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 153, 134, 0.18);
}

.sim-form__error {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: #e63946;
  min-height: 14px;
  line-height: 1.4;
}

.sim-form__error:empty {
  display: none;
}

.sim-form__submit {
  margin-top: 6px;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 2px 0 0 rgba(14, 46, 84, 0.15);
  transition: transform 0.12s ease, filter 0.12s ease, opacity 0.15s ease;
}

.sim-form__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.sim-form__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

/* ===== 結果パネル ===== */
.sim-result {
  margin-top: 22px;
}

.sim-result__panel {
  padding: 18px 16px;
  border-radius: 12px;
  border: 2px solid rgba(14, 46, 84, 0.12);
  background: linear-gradient(180deg, #fafcfd 0%, #f4f8f8 100%);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sim-result__panel--repair {
  border-color: var(--green);
  background: linear-gradient(180deg, #f0fbf8 0%, #e8f7f3 100%);
}

.sim-result__panel--buy {
  border-color: #e63946;
  background: linear-gradient(180deg, #fff5f5 0%, #ffeaea 100%);
}

.sim-result__panel--either {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fdfaf0 0%, #faf3da 100%);
}

.sim-result__heading {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
}

.sim-result__panel--repair .sim-result__heading { color: #0a6a3a; }
.sim-result__panel--buy .sim-result__heading { color: #9b2c2c; }
.sim-result__panel--either .sim-result__heading { color: var(--gold-shadow); }

.sim-result__verdict {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(14, 46, 84, 0.78);
}

.sim-result__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.sim-result__bar-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 10px;
}

.sim-result__bar-label {
  grid-column: 1;
  grid-row: 1;
  font-size: 11px;
  font-weight: 700;
  color: rgba(14, 46, 84, 0.7);
  letter-spacing: 0.04em;
}

.sim-result__bar-track {
  grid-column: 2;
  grid-row: 1;
  height: 10px;
  border-radius: 5px;
  background: rgba(14, 46, 84, 0.08);
  overflow: hidden;
}

.sim-result__bar {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sim-result__bar--repair { background: #e63946; }
.sim-result__bar--value { background: var(--green); }

.sim-result__bar-value {
  grid-column: 2;
  grid-row: 2;
  text-align: right;
  font-family: 'DIN Alternate', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.sim-result__ratio {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}

.sim-result__disclaimer {
  margin: 12px 0 0;
  font-size: 10px;
  font-weight: 500;
  color: rgba(14, 46, 84, 0.55);
  line-height: 1.6;
}

@media (min-width: 431px) {
  .sim-form__cards--2col { grid-template-columns: repeat(3, 1fr); }
  .sim-form__card--wide { grid-column: 1 / -1; }
  .sim-form__step-title { font-size: 15px; }
  .sim-result__heading { font-size: 20px; }
}

/* ===== CTA Section ===== */
.cta-section {
  background: #CDEEE8;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ===========================================================
   CTA blocks
   各CTAごとに独立したクラス名で個別調整できる構造
   - cta-hero    : ヒーロー直下フォーム上部 (ゴールドボタン)
   - cta-results : 買取実績 swiper 後 (白ボタン)
   - cta-flow    : 事故車買取の流れ後 (白ボタン / ミント背景)
   - cta-voice   : お客様の声内 (ゴールドボタン / グリーン背景)
   共通スタイルはセレクタを連結して書く
   =========================================================== */

/* --- 共通: 「30秒で完了」周りのレイアウト (4 CTA共通) --- */
.cta-hero__top,
.cta-results__top,
.cta-flow__top,
.cta-voice__top {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.cta-hero__line,
.cta-results__line,
.cta-flow__line,
.cta-voice__line {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-hero__line--left,
.cta-results__line--left,
.cta-flow__line--left,
.cta-voice__line--left { transform: rotate(45deg); }

.cta-hero__line--right,
.cta-results__line--right,
.cta-flow__line--right,
.cta-voice__line--right { transform: rotate(-45deg); }

.cta-hero__line svg,
.cta-results__line svg,
.cta-flow__line svg,
.cta-voice__line svg {
  width: 20px;
  height: 3px;
}

.cta-hero__count,
.cta-results__count,
.cta-flow__count,
.cta-voice__count {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.cta-hero__number,
.cta-results__number,
.cta-flow__number,
.cta-voice__number {
  font-family: 'DIN Alternate', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 29px;
  color: var(--green);
  line-height: 0.8;
}

.cta-hero__text,
.cta-results__text,
.cta-flow__text,
.cta-voice__text {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  line-height: 1;
}

/* --- 共通: ボタン基本形 --- */
.cta-hero__button,
.cta-results__button,
.cta-flow__button,
.cta-voice__button {
  border-radius: 10px;
  padding: 10px 30px;
  box-sizing: border-box;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  border: none;
}

.cta-hero__button-sub,
.cta-results__button-sub,
.cta-flow__button-sub,
.cta-voice__button-sub {
  font-size: 14px;
  display: block;
  line-height: 1;
}

.cta-hero__button-main,
.cta-results__button-main,
.cta-flow__button-main,
.cta-voice__button-main {
  font-size: 20px;
  display: block;
  line-height: 1;
}

/* ===== cta-hero (ヒーロー直下: ゴールド) ===== */
.cta-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
}
.cta-hero__button {
  background: var(--gold);
  color: #fff;
  box-shadow: 3px 3px 0 0 var(--gold-shadow);
  width: 100%;
}
.cta-hero__button-main { font-size: 24px; }

/* ===== cta-results (買取実績後: 白ボタン) ===== */
.cta-results {
  padding: 0 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cta-results__button {
  max-width: 220px;
  width: 100%;
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--navy);
  box-shadow: 5px 5px 0 0 var(--navy);
}
.cta-results__button-main { width: 180px; }

/* ===== cta-flow (事故車買取の流れ後: 白ボタン / ミント背景) ===== */
.cta-flow {
  padding: 30px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cta-flow__button {
  max-width: 220px;
  width: 100%;
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--navy);
  box-shadow: 5px 5px 0 0 var(--navy);
}
.cta-flow__button-main { width: 180px; }

/* ===== cta-voice (お客様の声内: ゴールド / グリーン背景) ===== */
.cta-voice {
  background: var(--green);
  padding: 0 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cta-voice__number { color: var(--green-light); }
.cta-voice__text { color: #fff; }
.cta-voice__button {
  background: var(--gold);
  color: #fff;
  box-shadow: 3px 3px 0 0 var(--gold-shadow);
}
.cta-voice__button-main { font-size: 24px; }

/* ===== Form ===== */
.form-container {
  background: var(--green);
  border-radius: 10px;
  padding: 20px 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.form-notice {
  background: var(--green-light);
  border-radius: 3px;
  padding: 5px;
  text-align: center;
  width: 100%;
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.6px;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

/* ===== 現在地（任意・見積もり/引取用） ===== */
.form-group--location {
  padding: 14px;
  border: 1.5px solid rgba(14, 46, 84, 0.12);
  border-radius: 10px;
  background: #f7f9fc;
}

.form-location__lead {
  margin: 4px 0 10px;
  font-size: 12px;
  color: rgba(14, 46, 84, 0.78);
  line-height: 1.6;
}

.form-location__lead strong {
  color: #0e2e54;
}

.form-location__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.form-location__btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid rgba(14, 46, 84, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: #0e2e54;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 1px 0 0 rgba(14, 46, 84, 0.08);
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}

.form-location__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #eef2f8;
}

.form-location__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.form-location__clear {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid rgba(14, 46, 84, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.form-location__status {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(14, 46, 84, 0.7);
  line-height: 1.5;
  min-height: 14px;
}

.form-location__status[data-kind="error"] { color: #c1121f; }
.form-location__status[data-kind="success"] { color: #0a6a3a; }
.form-location__status[data-kind="info"] { color: rgba(14, 46, 84, 0.7); }

.form-location__status:empty { display: none; }

.form-location__result {
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(14, 46, 84, 0.1);
}

.form-location__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
}

.form-location__coords {
  margin: 6px 0 0;
  font-size: 11px;
  color: rgba(14, 46, 84, 0.6);
  font-family: 'DIN Alternate', 'Noto Sans JP', monospace;
  font-variant-numeric: tabular-nums;
}

/* ===== シミュレーション結果の添付カード（モーダルから引き継ぎ） ===== */
.form-sim-attached {
  position: relative;
  padding: 14px 16px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--green);
  background: linear-gradient(180deg, #f0fbf8 0%, #e8f7f3 100%);
  box-shadow: 0 2px 8px rgba(30, 153, 134, 0.12);
}

.form-sim-attached__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.form-sim-attached__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #0a6a3a;
  letter-spacing: 0.02em;
}

.form-sim-attached__remove {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(14, 46, 84, 0.08);
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.form-sim-attached__remove:hover {
  background: rgba(14, 46, 84, 0.16);
}

.form-sim-attached__note {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(14, 46, 84, 0.7);
  line-height: 1.55;
}

.form-sim-attached__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-sim-attached__list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(14, 46, 84, 0.1);
  font-size: 12px;
  line-height: 1.5;
}

.form-sim-attached__list li:last-child {
  border-bottom: none;
}

.form-sim-attached__list li span {
  font-weight: 600;
  color: rgba(14, 46, 84, 0.65);
}

.form-sim-attached__list li strong {
  font-weight: 700;
  color: var(--navy);
  word-break: break-word;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-label__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 5px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.6px;
  line-height: 1.1;
}

.form-label__badge--required {
  background: var(--gold);
}

.form-label__badge--optional {
  background: #bfbfbf;
}

.form-label__text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.form-select {
  background: #fff;
  border-radius: 3px;
  padding: 8px 10px;
  width: 100%;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%230e2e54' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 「選択してください」状態（required + value="" → :invalid）は薄いグレー */
.form-select:invalid {
  color: #bfbfbf;
}

/* ドロップダウンを開いた時の各選択肢は濃い色で見やすく */
.form-select option {
  color: var(--navy);
}
.form-select option[disabled] {
  color: #bfbfbf;
}

.form-upload {
  background: #fff;
  border-radius: 3px;
  padding: 8px 10px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #bfbfbf;
  cursor: pointer;
}

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

.form-submit {
  background: var(--gold);
  border-radius: 5px;
  padding: 10px 100px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.9px;
  border: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 0 #786627;
  font-family: 'Noto Sans JP', sans-serif;
}

.form-privacy {
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  width: 100%;
}

.form-input {
  background: #fff;
  border-radius: 3px;
  padding: 8px 10px;
  width: 100%;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
}

.form-textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.6;
}

.form-upload-hint {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  min-height: 16px;
}

/* Turnstile グループ：hiddenなら完全に領域ゼロ */
#turnstile_group[hidden] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.form-input::placeholder {
  color: #bfbfbf;
}

.form-select.is-filled,
.form-input:not(:placeholder-shown) {
  color: var(--navy);
}

.form-error {
  display: none;
  font-size: 11px;
  font-weight: 500;
  color: #ffe9a1;
  line-height: 1.4;
  margin-top: 2px;
}

.form-error.is-visible {
  display: block;
}

.form-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  overflow: hidden;
}

.form-upload.is-filled {
  padding: 4px;
  color: transparent;
}

.form-upload__preview {
  display: none;
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  border-radius: 3px;
}

.form-upload.is-filled .form-upload__preview {
  display: block;
}

.form-upload.is-filled .form-upload__label {
  display: none;
}

.form-upload__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(14, 46, 84, 0.85);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: none;
}

.form-upload.is-filled .form-upload__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-group--consent {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 10px 12px;
}

.form-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form-consent__text a {
  color: #ffe9a1;
  text-decoration: underline;
}

.form-turnstile {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 8px;
  min-height: 70px;
}

/* ===== Results Section ===== */
.results-section {
  background: var(--green-light);
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.results-section::before {
  content: "";
  position: absolute;
  left: -53px;
  top: 366px;
  width: 172px;
  height: 164px;
  background: url("../img/hex-pattern-dark.svg") center/contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.results-section::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 495px;
  width: 130px;
  height: 150px;
  background: url("../img/hex-single-dark.svg") center/contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.results-section>* {
  position: relative;
  z-index: 1;
}

.results-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.results-header__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 171px;
  height: 43px;
  position: relative;
}

.results-heading__icon-left,
.results-heading__icon-right {
  width: 31px;
  height: 43px;
  position: absolute;
  z-index: 1;
}

.results-heading__icon-left {
  left: 0;
  bottom: 0;
}

.results-heading__icon-right {
  right: 0;
  top: 0;
}

.results-header__dots {
  position: absolute;
  top: 4px;
  left: 28.5px;
  width: 68px;
  height: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.results-header__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.results-header__sub-text {
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  color: var(--navy);
}

.results-header__sub-text .large {
  font-size: 20px;
  color: var(--gold);
  letter-spacing: 1px;
}

.results-header__sub-text .small {
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.75px;
}

.results-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-title__char {
  width: 54px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  font-weight: 700;
  font-size: 42px;
  color: var(--navy);
  text-align: center;
}

.results-title__char:nth-child(1) {
  border-left: 2px solid var(--navy);
}

.results-title__char:nth-child(2) {
  border: 2px solid var(--navy);
}

.results-title__char:nth-child(4) {
  border: 2px solid var(--navy);
}

/* ===== Car Cards ===== */
.car-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.car-cards__row {
  display: flex;
  gap: 10px;
}

.car-card {
  width: 150px;
  border-radius: 10px;
  overflow: hidden;
}

.car-card__image {
  width: 100%;
  aspect-ratio: 200 / 150;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.car-card__image img {
  width: 87%;
  height: auto;
  object-fit: contain;
}

.car-card__info {
  background: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.car-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.car-card__tags {
  display: flex;
  align-items: center;
  gap: 5px;
}

.car-card__year {
  background: var(--orange);
  padding: 2px 5px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.6px;
  line-height: 1.1;
}

.car-card__brand {
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.6px;
  line-height: 1.1;
}

.car-card__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: 0.7px;
  line-height: 1.1;
}

.car-card__price-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  padding: 2px 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1.2px;
  line-height: 1.1;
}

.car-card__price {
  display: flex;
  align-items: flex-end;
  color: var(--navy);
}

.car-card__price-number {
  font-family: 'DIN Alternate', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 1.7px;
  line-height: 1;
}

.car-card__price-unit {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 1.6;
}

/* ===== Reason Section ===== */
.reason-section {
  background: var(--green-bg);
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.reason-section__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  text-align: center;
}

.reason-section__desc {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

/* ===== Page extras for index2 (Figma 204:2994) ===== */

/* ----- Phone CTA Bar（公式LINE + Web査定／マイクロコピーで電話開示） ----- */
.phone-bar-stack {
  position: fixed;
  bottom: 0;
  padding-bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 100;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.phone-bar__micro {
  padding: 6px 12px 4px;
  text-align: center;
  border-bottom: 1px solid rgba(14, 46, 84, 0.08);
}

.phone-bar__micro-btn {
  margin: 0;
  padding: 2px 6px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: rgba(14, 46, 84, 0.55);
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.phone-bar__micro-btn:hover {
  color: var(--navy);
}

.phone-bar__micro-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

.phone-bar__micro-btn[aria-expanded="true"] {
  color: var(--navy);
}

.phone-bar__tel-panel {
  padding: 6px 8px 2px;
}

.phone-bar__tel-panel[hidden] {
  display: none !important;
}

.phone-bar__tel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 6px;
  min-height: 36px;
}

.phone-bar__tel-lead {
  grid-column: 1;
  pointer-events: none;
}

.phone-bar__tel-link {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 4px 4px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.phone-bar__tel-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
}

.phone-bar__tel-close {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(14, 46, 84, 0.2);
  border-radius: 6px;
  background: rgba(14, 46, 84, 0.04);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.phone-bar__tel-close:hover {
  background: rgba(14, 46, 84, 0.08);
  border-color: rgba(14, 46, 84, 0.28);
}

.phone-bar__tel-close:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.phone-bar__tel-link:hover {
  background: rgba(14, 46, 84, 0.06);
}

.phone-bar__tel-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.phone-bar {
  display: flex;
  gap: 4px;
  padding: 4px 8px 10px;   /* SP横揺れ対策：左右を狭く + 下10px余白 */
  background: #fff;
  min-height: 60px;
  box-sizing: border-box;
}

.phone-bar__item {
  flex: 1;
  min-width: 0;            /* grid/flex の overflow を防ぐ */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  border-radius: 6px;
  padding: 6px 6px;
  box-sizing: border-box;
}

.phone-bar__item--line {
  background: #06c755;
  color: #fff;
}

.phone-bar__line-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}

.phone-bar__line-text {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.phone-bar__line-sub {
  font-weight: 600;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
}

.phone-bar__item--web {
  background: var(--orange);
  color: #fff;
  position: relative;
}

.phone-bar__web-top {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  padding: 1px 8px;
  font-weight: 700;
  font-size: 9px;
  color: var(--orange);
  line-height: 1.2;
  white-space: nowrap;
  margin-bottom: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-bar__web-bottom {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1;
  white-space: nowrap;
}

/* ----- Results Swiper + dots ----- */
.results-swiper {
  width: 100%;
  padding-bottom: 25px;
  overflow: hidden;
}

.results-swiper .swiper-slide {
  width: 150px;
  height: auto;
}

.results-swiper__pagination.swiper-pagination {
  bottom: 0;
  display: flex;
  gap: 5px;
  justify-content: center;
  position: absolute;
}

.results-swiper__pagination .swiper-pagination-bullet {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  opacity: 1;
  margin: 0 !important;
}

.results-swiper__pagination .swiper-pagination-bullet-active {
  background: var(--green);
}

.scroll-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 20px;
}

.scroll-dots span {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: rgba(14, 46, 84, 0.3);
}

.scroll-dots span.is-active {
  background: var(--navy);
}

/* ----- Reason Section (Frame 68) ----- */
.reason-wrap {
  background: #CDEEE8;
  padding: 50px 20px;
}

.reason-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
}
.reason-card__inner {
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.reason-card__head {
  text-align: center;
}

.reason-card__sub {
  font-weight: 900;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: 1.2px;
  line-height: 1;
  margin-bottom: 5px;
}

.reason-card__title {
  display: flex;
  gap: 2px;
  justify-content: center;
}

.reason-card__title span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  background: var(--navy);
  line-height: 1;
}

.reason-card__title span.is-accent {
  color: var(--green-light);
}

.reason-card__desc {
  text-align: center;
  font-weight: 900;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: 0.75px;
}

.reason-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.reason-item__badge {
  display: inline-block;
  padding: 5px 20px;
  background: var(--green);
  color: #fff;
  font-family: 'DIN Alternate', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  position: relative;
}

.reason-item__badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 290px;
  height: 0;
  border-top: 2px solid var(--green);
  z-index: -1;
}

.reason-item__badge-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 2px solid var(--green);
  position: relative;
}

.reason-item__badge-wrap .reason-item__badge {
  margin-top: -1px;
}

.reason-item__badge-wrap .reason-item__badge::before {
  display: none;
}

.reason-item__text {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  line-height: 1.4;
}

.reason-item__img {
  width: 100%;
  aspect-ratio: 290 / 174;
  background: #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
}
.reason-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Section: ただ買い取るだけじゃありません (Frame 83) ----- */
.offer-section {
  background: var(--green);
  position: relative;
  padding: 120px 30px 130px;
  overflow: hidden;
  color: #fff;
}
.offer-section > * { position: relative; z-index: 1; }
.offer-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  background: #CDEEE8;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
}
.offer-section::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  background: #cdeee8;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 0;
}

.offer-section__watermark {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: 51px;
  height: 306px;
  pointer-events: none;
  z-index: 0;
}

.offer-section__title {
  display: inline-block;
  text-align: center;
  font-weight: 900;
  color: #fff;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 10px 20px;
  margin: 0 auto 30px;
  line-height: 1.2;
  letter-spacing: 1.6px;
}

.offer-section__title-wrap {
  text-align: center;
}

.offer-section__title .small {
  font-size: 28px;
  display: block;
}

.offer-section__title .large {
  font-size: 32px;
  display: block;
}

.offer-section__lead {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 25px;
}

.offer-section__img {
  width: 100%;
  aspect-ratio: 330 / 198;
  background: #d9d9d9;
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
}
.offer-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-section__body {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.7;
  text-align: center;
}

.offer-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}

.offer-tags span {
  display: inline-block;
  padding: 3px 5px;
  background: #fff;
  border-radius: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.9px;
  line-height: 1;
}

.offer-tags__until {
  background: transparent !important;
  color: #fff !important;
  padding: 3px 0 !important;
  align-self: flex-end;
}

/* ----- Section: 事故車買取の流れ (Frame 84) ----- */
.flow-section {
  background-color: #cdeee8;
  padding: 50px 30px 30px;
  position: relative;
  overflow: hidden;
}

/* ----- 背景の装飾図形 (個別に位置調整できるよう分離) ----- */
.flow-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

/* 1. 左上: 二重六角パターン (172x164) */
.flow-deco--top-left {
  left: -53px;
  top: 0;
  width: 172px;
  height: 164px;
  background-image: url("../img/hex-pattern.svg");
}

/* 2. 右側中央: 単独六角 (130x150) */
.flow-deco--mid-right {
  right: -34px;
  top: 603px;
  width: 130px;
  height: 150px;
  background-image: url("../img/hex-single.svg");
}

/* 3. 左下: 単独六角 (130x150) */
.flow-deco--bottom-left {
  left: -53px;
  bottom: 115px;
  width: 130px;
  height: 150px;
  background-image: url("../img/hex-single.svg");
}

/* 4. 左下隣: 小六角 (90x104) */
.flow-deco--bottom-left-2 {
  left: 29px;
  bottom: 100px;
  width: 90px;
  height: 104px;
  background-image: url("../img/hex-arch.svg");
}

/* 5. 右下: 小六角 (90x104) */
.flow-deco--bottom-right {
  right: -30px;
  bottom: 5px;
  width: 90px;
  height: 104px;
  background-image: url("../img/hex-arch.svg");
}

/* .flow-section > * {
  position: relative;
  z-index: 1;
} */

.flow-section__head {
  text-align: center;
  margin-bottom: 30px;
}

.flow-section__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border-radius: 30px;
  padding: 4px 30px;
  margin-bottom: 10px;
}

.flow-section__sub {
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: 0.9px;
  line-height: 1;
}

.flow-section__step-count {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--orange);
  font-family: 'DIN Alternate', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1;
}

.flow-section__step-count .n {
  font-size: 32px;
}

.flow-section__step-count .l {
  font-size: 20px;
}

.flow-section__pill-arrow {
  display: block;
  width: 20px;
  height: 10px;
  margin: 0 auto 8px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.flow-section__title {
  font-weight: 700;
  font-size: 32px;
  color: var(--navy);
  letter-spacing: 1.6px;
  line-height: 1;
  margin-bottom: 20px;
}

.flow-section__desc {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: 0.75px;
}

.flow-step {
  background: #fff;
  border-radius: 10px;
  padding: 0 20px 20px;
  margin-bottom: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.flow-step__badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: 'DIN Alternate', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  padding: 5px 50px;
  line-height: 1;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}

.flow-step__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.flow-step__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--orange);
  letter-spacing: 1.2px;
  line-height: 1;
  margin-bottom: 0;
}

.flow-step__desc {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: 0.7px;
  margin-bottom: 0;
}

.flow-step__img {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 1;
  background: #d9d9d9;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
}
.flow-step__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding:5px 0;
}

.flow-arrow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-light);
}

/* ----- お客様の声 (Frame 85) ----- */
.voice-section {
  background: var(--green);
  padding: 50px 0 0;
  position: relative;
}
.voice-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: var(--green);
  pointer-events: none;
  z-index: 0;
}

.voice-section__top-bg { display: none; }

.voice-section > * {
  position: relative;
  z-index: 1;
}

.voice-section__head {
  text-align: center;
  padding: 0 30px;
  margin-bottom: 20px;
}

.voice-section__stars {
  display: block;
  width: 200px;
  height: 70px;
  background: url("../img/stars-rating.svg") center/contain no-repeat;
  position: absolute;
  top: -50px;
  left: 57px;
  right: 0;
  margin: auto;
}

.voice-section__title {
  display: inline-block;
  font-weight: 900;
  font-size: 28px;
  color: #fff;
  line-height: 1.2;
  padding: 10px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  width: 166px;
}

.voice-section__lead {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.7px;
}

.voice-swiper {
  width: 100%;
  padding: 30px 0;
  overflow: hidden;
  background: var(--green);
}

.voice-swiper .swiper-slide {
  width: 250px;
  height: auto;
}

.voice-swiper__pagination.swiper-pagination {
  bottom: 0;
  display: flex;
  gap: 5px;
  justify-content: center;
  position: relative;
  margin-top: 20px;
}

.voice-swiper__pagination .swiper-pagination-bullet {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  opacity: 1;
  margin: 0 !important;
}

.voice-swiper__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #99D5CB;
}

.voice-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.voice-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.voice-card__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: 0.7px;
  line-height: 1.35;
  padding:20px 0 0 20px;
}

.voice-card__avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin: -25px 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
}

.voice-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-card__age {
  font-size: 9px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.45px;
  line-height: 1;
  padding:0 20px;
}

.voice-card__body {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: 0.6px;
  padding:0 20px 20px;
}


/* ----- Sitemap nav (Frame 154) ----- */
.sitemap {
  background: #fff;
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
}

.sitemap__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--gold);
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.7px;
  text-decoration: none;
  line-height: 1;
}

.sitemap__item:first-child {
  border-top: 1px solid var(--gold);
}

.sitemap__item::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 13px;
  background: url("../img/%E3%80%89.svg") center/contain no-repeat;
}

/* ----- Footer (Frame 162) ----- */
.site-footer {
  background: #fff;
  padding: 0 20px 40px;
  text-align: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 30px;
}

.site-footer__brand img {
  width: 31px;
  height: 23px;
}

.site-footer__brand span {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 1px;
  line-height: 1;
}

.site-footer__copy {
  font-size: 10px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.5px;
  line-height: 1;
}