/* ==========================================================================
   FINE TRUST 中古車買取LP v2
   ========================================================================== */

/* A-OTF UD新丸ゴ Pr6N (支給フォント。細いウェイトは使用せずBold/Heavyのみ採用) */
@font-face {
  font-family: "UDShinMaruGo";
  src: url("../assets/fonts/A-OTF-UDShinMGoPr6N-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "UDShinMaruGo";
  src: url("../assets/fonts/A-OTF-UDShinMGoPr6N-Heavy.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #142031;
  --blue: #1F4E8C;
  --blue-deep: #0F2E52;
  --coral: #FF5F45;
  --coral-deep: #E8482F;
  --cyan: #29B6D8;
  --amber: #FFB627;
  --paper: #FDFBF6;
  --paper-line: #E4DCC8;
  --line-green: #06C755;

  --yellow-bg: #FCF6DE;
  --grid-line: rgba(214, 168, 20, 0.06);
  --green: #2E9E5B;
  --error: #D8432E;

  --shell-max: 1160px;
  --gutter: clamp(20px, 4vw, 48px);

  --shadow-card: 0 2px 10px rgba(15, 32, 56, 0.06), 0 12px 32px rgba(15, 32, 56, 0.08);
  --shadow-shell: 0 30px 80px rgba(15, 32, 56, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background-color: var(--yellow-bg);
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 24px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

/* --------------------------------------------------------------------------
   本体シェル: 横幅を絞り、外側は装飾(黄色罫線パターン)が見える
   -------------------------------------------------------------------------- */
.page-shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  background: #fff;
  box-shadow: var(--shadow-shell);
  position: relative;
  isolation: isolate;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(180deg, #FFA648 0%, #FF8A1F 55%, #F2720A 100%);
  border: none;
  padding: 9px 28px;
  border-radius: 999px;
  box-shadow: 0 4px 0 #DB6A0E, 0 8px 18px rgba(242, 114, 10, 0.35);
}
.eyebrow .eyebrow-icon { width: 1.3em; height: 1.3em; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   ボタン共通
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-ghost {
  color: var(--blue-deep);
  border-color: var(--paper-line);
  background: #fff;
}
.btn-ghost:hover { background: #FBF8EF; }

.btn-coral {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 8px 20px rgba(255, 95, 69, 0.35);
}
.btn-coral:hover { background: var(--coral-deep); }

.btn-line {
  color: #fff;
  background: var(--line-green);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
}
.btn-line:hover { background: #05a847; }

.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

.icon { width: 1em; height: 1em; flex: none; }

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--paper-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand .logo-link {
  display: block;
  min-width: 0;
}

.brand .logo-img {
  height: 30px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.brand .tagline {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

/* 幅が窮屈になったら省略せず2行に折り返す */
@media (max-width: 860px) {
  .brand .tagline {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.3;
    max-width: 8em;
  }
}

.brand .header-mascot {
  align-self: flex-end;
  height: 64px;
  width: 58px;
  display: block;
  margin-bottom: -14px;
  flex: none;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px 6px 0 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header-actions .btn { padding: 10px 18px; font-size: 0.86rem; }
/* ヘッダーの狭いスペースでは強い光彩(box-shadow)がにじんで太く見えるため弱める */
.header-actions .btn-cta { box-shadow: 0 2px 6px rgba(255, 95, 69, 0.3); }
.header-actions .short { display: none; }

@media (max-width: 640px) {
  .header-inner { padding: 8px var(--gutter); gap: 8px; }
  .brand { gap: 8px; }
  .brand .logo-img { height: 19px; }
  .brand .tagline { display: none; }
  /* キャラは残しつつ、ヘッダー内に収まるよう小さくロゴ横に配置。
     ヘッダー下端で体が切れるよう、下にはみ出させて揃える */
  .brand .header-mascot {
    display: block;
    align-self: flex-end;
    height: 46px;
    width: 40px;
    margin-bottom: -12px;
    border-radius: 5px 5px 0 0;
  }
  .header-actions { gap: 6px; }
  .header-actions .full { display: none; }
  .header-actions .short { display: inline; }
  .header-actions .btn-ghost { padding: 8px 11px; font-size: 0.72rem; }
  .header-actions .btn-cta { padding: 9px 13px; font-size: 0.76rem; }
}

@media (max-width: 380px) {
  .brand .logo-img { height: 17px; }
  .brand .header-mascot { height: 40px; width: 35px; margin-bottom: -12px; }
  .header-actions { gap: 5px; }
  .header-actions .btn-ghost { padding: 7px 9px; font-size: 0.68rem; }
  .header-actions .btn-cta { padding: 8px 11px; font-size: 0.72rem; }
}

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #F5F9FC 0%, #ffffff 65%);
  padding: 44px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: 0 var(--gutter);
}

.hero-copy h1, .top-copy h1 {
  margin-top: 16px;
  font-weight: 900;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  line-height: 1.5;
  color: var(--blue-deep);
}
/* 見出し「ブロック」の中心を藤森写真(.top-visual)の中心にそろえつつ、
   1行目・2行目は左揃え(開始位置を揃える)にしたい。
   .top-headlineを写真と同じだけ左にはみ出させて中心をずらし、
   その中でh1自体は内容の幅だけに縮めて(fit-content)中央寄せ→結果的に
   ブロックの中心=写真の中心、かつ行の先頭は揃う、という形にしている */
.top-headline { }
@media (min-width: 981px) {
  .top-headline { width: calc(100% + 32px); margin-left: -32px; }
}
@media (min-width: 1150px) {
  .top-headline { width: 115%; margin-left: -15%; }
}
.top-copy h1 {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.hero-copy h1 mark, .top-copy h1 mark {
  background: transparent;
  color: var(--coral);
  position: relative;
  padding: 0 2px;
}
.hero-copy h1 mark::after, .top-copy h1 mark::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.06em;
  height: 0.42em;
  background: var(--amber);
  opacity: 0.55;
  z-index: -1;
  border-radius: 2px;
}

.hero-copy .lead, .top-copy .lead {
  margin-top: 18px;
  font-size: 0.98rem;
  color: var(--ink);
  max-width: 46ch;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.trust-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-deep);
  box-shadow: var(--shadow-card);
}
.trust-badges li .icon { color: var(--cyan); width: 1.2em; height: 1.2em; }
.trust-badges li strong {
  font-size: 0.95rem;
  color: var(--coral);
}

.anchor-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  border-bottom: 1px dashed var(--blue);
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.cta-row .btn { flex: 1 1 0; }

@media (max-width: 420px) {
  .cta-row { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   TOP統合レイアウト(トライアル: ガリバー参考。東海エリアコンテンツ + フォームを横並び)
   -------------------------------------------------------------------------- */
.top-section {
  background: linear-gradient(180deg, #F5F9FC 0%, #ffffff 65%);
  padding: 40px 0 8px;
}

.top-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 424px);
  gap: clamp(22px, 3.4vw, 42px);
  align-items: start;
}

.top-copy {
  padding-top: 6px;
}

/* 査定写真 + 見積書カード + 女性キャラの重ね合わせ */
.top-visual {
  position: relative;
  margin-top: 48px;
}

.top-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 32% center;
  border-radius: 18px;
  /* 四辺にフェードをかけて背景に溶け込ませる */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-composite: intersect;
}

/* 実写写真を丸ごと差し替える実験: タレント写真を主役ビジュアルとして全幅表示 */
.talent-photo {
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 26px rgba(15, 46, 82, 0.28));
}
/* 上半身が途中で切れている写真用: 下端を自然にフェードアウト(タレント写真共通) */
.has-fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 96%);
}

/* 旧デザイン(見積書カード)。現在は未使用だが比較検討用に残置 */
.estimate-card.is-mini {
  position: absolute;
  right: -12px;
  top: -18px;
  width: min(232px, 54%);
  margin: 0;
  z-index: 2;
}

/* 女性キャラはPCでは非表示(3要素アイコンの横に別途いるため)。スマホ表示でのみ見積書の横に添える */
.top-visual-mascot {
  display: none;
}
/* 折り返しで縦に伸びるのを防ぐ */
.estimate-card.is-mini .estimate-rows .row dt,
.estimate-card.is-mini .estimate-rows .row dd { white-space: nowrap; }
.estimate-card.is-mini .estimate-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.estimate-card.is-mini .estimate-head { padding: 10px 14px; font-size: 0.8rem; }
.estimate-card.is-mini .estimate-badge {
  width: 60px;
  height: 60px;
  border-width: 2px;
  font-size: 0.54rem;
  top: -9px;
  right: -8px;
}
.estimate-card.is-mini .estimate-rows { padding: 14px 14px 3px; gap: 8px; }
.estimate-card.is-mini .estimate-rows .row { font-size: 0.66rem; padding-bottom: 7px; }
.estimate-card.is-mini .estimate-total { margin: 5px 14px 0; padding: 10px 12px; border-radius: 10px; }
.estimate-card.is-mini .estimate-total { flex-wrap: nowrap; }
.estimate-card.is-mini .estimate-total .label { font-size: 0.62rem; white-space: nowrap; margin-right: 6px; }
.estimate-card.is-mini .estimate-total .amount { font-size: 1rem; white-space: nowrap; }
.estimate-card.is-mini .estimate-total .amount .unit { font-size: 0.7rem; }
.estimate-card.is-mini .estimate-note { padding: 7px 14px 12px; font-size: 0.55rem; }

/* PCで車の写真を左側にはみ出させて一回り大きく見せる(右端はタレント写真の基準位置なので固定)。
   981px直後は外側の余白が少ないため控えめに、画面が広くなる1150px以降で最大15%まで拡大する */
@media (min-width: 981px) {
  .top-visual { width: calc(100% + 32px); margin-left: -32px; }
}
@media (min-width: 1150px) {
  .top-visual { width: 115%; margin-left: -15%; }
}

/* 3つの訴求ポイント(丸型・金縁) + 女性キャラ */
.promise-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 34px;
  position: relative;
  z-index: 3;
}

.promise-list {
  display: flex;
  justify-content: center;
  gap: clamp(7px, 1.2vw, 12px);
  flex: 1 1 auto;
  min-width: 0;
}

/* liを金グラデーションのリングにし、内側を白い円で抜く */
.promise-list li {
  flex: 0 1 150px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(150deg, #FDF3D2 0%, #D9B450 30%, #F6E7AE 52%, #C7952A 78%, #EFD98F 100%);
  box-shadow: 0 3px 8px rgba(15, 32, 56, 0.1), 0 16px 30px -16px rgba(180, 130, 20, 0.55);
  /* 内側の要素を円自身の実寸に対する割合(cqw)で拡縮し、
     ビューポート幅とサイズがずれて丸枠からはみ出るのを防ぐ */
  container-type: inline-size;
}

.promise-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFCF3 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  padding: 4px;
}

.promise-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
}
.promise-icon svg {
  width: 37cqw;
  height: 37cqw;
}
/* アイコンはネイビー単色(アンバーのアクセント色・淡色化は廃止) */
.promise-icon .ac { color: var(--blue-deep); stroke: var(--blue-deep); }

.promise-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9.5cqw;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-feature-settings: "palt" 1;
  white-space: nowrap;
}
.promise-main {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18cqw;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-feature-settings: "palt" 1;
  white-space: nowrap;
  background: linear-gradient(180deg, #FF7A5F 0%, var(--coral) 45%, #D8391F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.promise-mascot {
  width: clamp(74px, 7.5vw, 100px);
  height: auto;
  flex: none;
  margin-left: -8px;
  margin-bottom: -4px;
  pointer-events: none;
}

.top-line-btn {
  margin-top: 36px;
  width: 100%;
}
.top-line-tel {
  text-align: center;
  margin-top: 20px;
  font-size: 0.84rem;
  color: #4B5568;
}
.top-line-tel a {
  color: var(--coral);
  font-weight: 800;
  text-decoration: underline;
}

.top-form { min-width: 0; }

@media (max-width: 980px) {
  .top-layout { grid-template-columns: 1fr; }
  .top-copy { max-width: 640px; margin: 0 auto; }
  .top-form { max-width: 640px; margin: 0 auto; }
  /* 縦積み時はフォームを先に、コピー(見出し以下)を後に表示する */
  .top-form { order: -1; }
}

/* 狭い画面ではカードが写真より高くなるため、重ねずに写真の下へ配置。
   女性キャラはここでだけ見積書の右に並べる(PCでは3要素アイコン横にいるため非表示) */
@media (max-width: 680px) {
  .top-photo { aspect-ratio: 16 / 10; }
  .top-visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    padding-top: 0;
  }
  .top-photo { flex: 0 0 100%; }
  .estimate-card.is-mini {
    display: block;
    position: relative;
    left: 14px;
    width: min(212px, 58%);
    margin: -26px 0 0;
  }
  .top-visual-mascot {
    display: block;
    position: relative;
    left: 14px;
    width: min(88px, 24%);
    height: auto;
    margin: -26px 0 0;
    pointer-events: none;
  }
  .talent-photo {
    width: 72%;
    margin: 0 auto;
    display: block;
  }
  .promise-row { margin-top: 26px; }
}

/* 狭い画面ではキャラを外し、丸型3つを優先 */
@media (max-width: 620px) {
  .promise-mascot { display: none; }
  .promise-row { gap: 0; }
}

@media (max-width: 560px) {
  /* アイコン・文字はcqwで円の実寸に連動して自動的に縮小されるため、ここではサイズ指定は不要 */
  .promise-list { gap: 6px; }
  .promise-list li { flex: 0 1 114px; padding: 2px; }
}

/* リード文の帯 */
.lead-band {
  padding: 30px 0 40px;
  border-bottom: 1px solid var(--paper-line);
}
.lead-band-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   見積書モックアップ
   -------------------------------------------------------------------------- */
.hero-visual { position: relative; }

.estimate-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 46, 82, 0.18);
  overflow: hidden;
  width: min(380px, 82vw);
  margin: 0 auto;
  opacity: 0;
  transform: rotate(-5deg) scale(0.9) translateY(-28px);
}

.estimate-card.is-in {
  animation: dropIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes dropIn {
  0% { opacity: 0; transform: rotate(-5deg) scale(0.9) translateY(-28px); }
  100% { opacity: 1; transform: rotate(-5deg) scale(0.9) translateY(0); }
}

/* 小型版は幅で縮小済みのため、傾きのみ控えめに適用 */
.estimate-card.is-mini { transform: rotate(-3deg) translateY(-20px); }
.estimate-card.is-mini.is-in { animation: dropInMini 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

@keyframes dropInMini {
  0% { opacity: 0; transform: rotate(-3deg) translateY(-20px); }
  100% { opacity: 1; transform: rotate(-3deg) translateY(0); }
}

.estimate-head {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 55%, var(--cyan));
  color: #fff;
  padding: 16px 22px;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.estimate-badge {
  position: absolute;
  top: -14px;
  right: -12px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--coral);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  font-size: 0.86rem;
  line-height: 1.35;
  transform: rotate(-12deg);
  box-shadow: 0 8px 16px rgba(255, 95, 69, 0.25);
}

.estimate-rows {
  padding: 26px 22px 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.estimate-rows .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--paper-line);
  font-size: 0.86rem;
}

.estimate-rows .row dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  flex: none;
}
.estimate-rows .row dt .icon { color: var(--cyan); }

.estimate-rows .row dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-weight: 700;
}

.estimate-total {
  margin: 10px 22px 0;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.estimate-total .label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.estimate-total .amount {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}
.estimate-total .amount .unit { font-size: 1rem; margin-left: 2px; }

.estimate-note {
  padding: 12px 22px 20px;
  font-size: 0.72rem;
  color: #7a7264;
  text-align: right;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; width: 100%; }
}

/* --------------------------------------------------------------------------
   セクション見出し共通
   -------------------------------------------------------------------------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.section-head h2 {
  margin-top: 12px;
  font-weight: 900;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--blue-deep);
  line-height: 1.5;
}
.section-head p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #4B5568;
}

/* --------------------------------------------------------------------------
   7-4. 無料査定フォーム
   -------------------------------------------------------------------------- */
.form-section {
  background: var(--paper);
  padding: 56px 0 64px;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.form-layout {
  position: relative;
  margin-top: 30px;
}

.form-panel { max-width: 640px; margin: 0 auto; }

.form-mascot {
  position: absolute;
  left: calc(50% + 320px + 18px);
  bottom: 0;
  width: 150px;
  height: auto;
  pointer-events: none;
}
@media (max-width: 900px) {
  .form-mascot { display: none; }
}

/* ステップインジケーター */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
  /* STEP4では.step-labelがdisplay:noneになりその余白ごと消えてしまうため、
     カードとの間隔はここに持たせておく(常に表示される要素なので確実に効く) */
  margin-bottom: 20px;
}
.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--paper-line);
  background: #fff;
  color: #9A9280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.step-dot.active { border-color: var(--blue); color: var(--blue); background: #EAF1FA; }
.step-dot.done { border-color: var(--green); color: #fff; background: var(--green); }
.step-bar { width: 46px; height: 2px; background: var(--paper-line); flex-shrink: 0; }
.step-bar.done { background: var(--green); }

.step-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8A8272;
  margin: 12px 0 28px;
}

/* フォームカード。min-heightと縦中央寄せで、STEP4のような短いコンテンツでも
   カードの高さ・見た目のバランスが崩れないようにする */
.form-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-card > form { width: 100%; }
@media (max-width: 640px) {
  .form-card { padding: 24px 18px; }
}

.form-topper {
  background: var(--blue-deep);
  text-align: center;
  padding: 14px 18px 16px;
  border-radius: 14px;
  margin-bottom: 24px;
}
.form-topper-line1 {
  font-weight: 900;
  font-size: clamp(0.92rem, 2.6vw, 1.08rem);
  color: #fff;
  line-height: 1.3;
}
.form-topper mark {
  background: none;
  color: #FFE45C;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}
.form-topper-slash { display: inline-block; opacity: 0.65; font-weight: 400; }
.form-topper-emphasis { font-size: 1.32em; }
.form-topper-sub {
  font-weight: 700;
  font-size: clamp(0.95rem, 2.6vw, 1.08rem);
  color: #fff;
  line-height: 1.3;
  margin-top: 4px;
}

.fstep { display: none; }
.fstep.active { display: block; animation: ffade 0.25s ease; }
@keyframes ffade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.fstep h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--blue-deep);
  margin-bottom: 22px;
}
.fstep h3 .step-tag {
  background: var(--blue-deep);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}

.ffield { margin-bottom: 18px; }
.ffield label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.ffield label .req,
.ffield label .opt {
  font-size: 0.68rem;
  font-weight: 800;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid;
}
.ffield label .req { color: var(--coral); border-color: var(--coral); }
.ffield label .opt { color: #9A9280; border-color: var(--paper-line); }

.ffield input[type="text"],
.ffield input[type="tel"],
.ffield input[type="email"],
.ffield select,
.ffield textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  resize: vertical;
}
.ffield input:focus,
.ffield select:focus,
.ffield textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.ffield-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .ffield-row { grid-template-columns: 1fr; }
}

.ffield-error {
  display: none;
  color: var(--error);
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 6px;
}
.ffield.invalid input,
.ffield.invalid select {
  border-color: var(--error);
  background: #FFF4F2;
}
.ffield.invalid .ffield-error { display: block; }

.fradio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.fradio-chip { position: relative; flex: 1; min-width: 100px; }
.fradio-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.fradio-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 8px;
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.fradio-chip input:checked + span {
  border-color: var(--blue);
  background: #EAF1FA;
  color: var(--blue-deep);
}
.fradio-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.fconsent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink);
  margin-top: 8px;
}
.fconsent input { margin-top: 3px; flex-shrink: 0; }
.fconsent a { color: var(--blue); text-decoration: underline; }
.agree-error { text-align: center; margin-top: 8px; }

.fstep-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
.fstep-actions .btn { flex: 1; }

.fconfirm-table {
  border: 1px dashed var(--paper-line);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 10px;
}
.fconfirm-row {
  display: flex;
  padding: 11px 14px;
  font-size: 0.82rem;
  border-bottom: 1px dashed var(--paper-line);
}
.fconfirm-row:last-child { border-bottom: none; }
.fconfirm-row dt { width: 38%; margin: 0; color: #8A8272; font-weight: 700; }
.fconfirm-row dd { width: 62%; margin: 0; color: var(--ink); }

.fdone { text-align: center; padding: 10px 0 4px; }
.fdone-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}
.fdone-mascot { height: 110px; width: auto; display: block; margin: 0; }
.fdone-stamp {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 3px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1.3;
  transform: rotate(-8deg);
}
.fdone h3 { font-size: 1.15rem; color: var(--blue-deep); margin-bottom: 10px; text-align: center; justify-content: center; }
.fdone p { font-size: 0.84rem; color: #4B5568; margin-bottom: 6px; }
.fdone-small { font-size: 0.72rem; color: #9A9280; }

/* Googleの利用規約により、reCAPTCHAバッジを非表示にする場合はこの表記が必須 */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note {
  text-align: center;
  font-size: 0.68rem;
  color: #9A9280;
  margin-top: 14px;
  line-height: 1.7;
}
.recaptcha-note a { color: inherit; text-decoration: underline; }

/* --------------------------------------------------------------------------
   7-5. お客様の声
   -------------------------------------------------------------------------- */
.voice-section { padding: 56px 0; }

.voice-placeholder {
  max-width: 640px;
  margin: 32px auto 0;
  border: 1px dashed var(--paper-line);
  border-radius: 16px;
  background: var(--paper);
  padding: 40px 24px;
  text-align: center;
  color: #8A8272;
}
.voice-placeholder .icon {
  width: 32px;
  height: 32px;
  color: var(--cyan);
  margin: 0 auto 14px;
}
.voice-placeholder p {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-deep);
}
.voice-placeholder .voice-placeholder-note {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 400;
  color: #9A9280;
}
.voice-placeholder-code {
  display: block;
  margin-top: 16px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  color: var(--blue-deep);
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   7-6. 買取実績
   -------------------------------------------------------------------------- */
.results-section { padding: 56px 0; border-top: 1px solid var(--paper-line); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
/* スマホでも2列(3行×2列)を維持し、カード内を縮小して収める */
@media (max-width: 860px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
  .result-body { padding: 12px 12px 14px; }
  .result-model { font-size: 0.78rem; line-height: 1.45; min-height: 3.4em; margin-bottom: 6px; }
  .result-spec { font-size: 0.66rem; line-height: 1.6; margin-bottom: 8px; }
  .result-price-row { padding-top: 8px; }
  .result-price-row .label { font-size: 0.62rem; }
  .result-price-row .amount { font-size: 1.05rem; }
  .result-price-row .amount .unit { font-size: 0.68rem; }
  .results-note { font-size: 0.7rem; margin-top: 18px; }
}

.result-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-card);
}

.result-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #EFEBE0;
}
.result-thumb .thumb-label {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  right: 10px;
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.9);
  padding: 3px 10px;
  border-radius: 999px;
}
@media (max-width: 560px) {
  .result-thumb .thumb-label { font-size: 0.5rem; padding: 2px 6px; bottom: 6px; right: 6px; }
}

.result-body { padding: 16px 18px 18px; }
.result-model {
  font-size: 0.92rem;
  color: var(--blue-deep);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 2.6em;
}
.result-spec { font-size: 0.74rem; color: #8A8272; line-height: 1.7; margin-bottom: 12px; }
.result-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px dashed var(--paper-line);
  padding-top: 10px;
}
.result-price-row .label { font-size: 0.7rem; color: #9A9280; font-weight: 700; }
.result-price-row .amount { font-size: 1.3rem; color: var(--coral); font-weight: 900; }
.result-price-row .amount .unit { font-size: 0.8rem; }

.results-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.76rem;
  color: #8A8272;
}

/* --------------------------------------------------------------------------
   7-7. 乗り換え案内
   -------------------------------------------------------------------------- */
.crosssell-section { padding: 56px 0; border-top: 1px solid var(--paper-line); }

/* 買取実績セクションと同じ組み方に統一: タグ・写真(絶対配置)・見出しを1つの箱にまとめ、
   写真は見出しの高さに影響を与えず、独立してグリッド上端まで伸びるようにする */
.crosssell-head-wrap { position: relative; }
.crosssell-eyebrow-row { text-align: center; margin-bottom: 20px; }
.crosssell-head { text-align: left; margin: 0; max-width: none; padding-right: 255px; }
/* 見出しの行数が少なく高さが足りないため、PCでは見出し自体に上余白を足してタグとの間隔を広げ、
   上のタグに写真がかぶらないようにする(タグ側ではなく見出し側に付けないとタグごと下がってしまう) */
@media (min-width: 861px) {
  .crosssell-head { margin-top: 105px; }
}
.crosssell-mascot {
  position: absolute;
  right: 55px;
  bottom: -36px;
  width: 153px;
  height: auto;
  z-index: 1;
}
/* PCフル画面時はグリッドの縁でスパッと切れる見た目にし、フェードは付けない */
@media (min-width: 861px) {
  .crosssell-mascot.has-fade { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 860px) {
  .crosssell-head-wrap { margin-top: 0; }
  .crosssell-head { text-align: center; padding-right: 0; }
  .crosssell-mascot {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: 153px;
    margin: 0 auto 20px;
  }
}

/* 買取実績: 見出しの左にタレント写真を配置し、グリッド上端で体が切れるようにする */
.results-head-wrap { position: relative; }
.results-eyebrow-row { text-align: center; margin-bottom: 20px; }
/* タグ(eyebrow)は中央のまま、見出し文言だけ右寄せにする。
   文章が640px幅いっぱいに近く、text-alignだけでは実質動かないため、
   幅自体を狭めて右に寄せることで写真とのかぶりを避ける。
   section-head自体の640px制限を外し、コンテナ全幅を基準に右端を揃える */
.results-head-wrap .section-head { max-width: none; margin: 0; }
.results-head-wrap .section-head h2,
.results-head-wrap .section-head p {
  text-align: right;
  max-width: 480px;
  margin-left: auto;
  margin-right: 0;
}
/* 見出しが短く高さが足りないため、PCでは少し余白を足して上の区切り線に写真がかぶらないようにする */
@media (min-width: 1100px) {
  .results-head-wrap { margin-top: 40px; }
}
.results-mascot {
  position: absolute;
  left: 99px;
  bottom: -32px;
  width: 153px;
  height: auto;
  z-index: 1;
}
/* PCフル画面時はグリッドの縁で切れる見た目を活かし、フェードは付けない */
.results-mascot.has-fade { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 1099px) {
  .results-head-wrap .section-head { text-align: center; max-width: 640px; margin: 0 auto; }
  .results-head-wrap .section-head h2,
  .results-head-wrap .section-head p { text-align: center; max-width: none; margin: 0 auto; }
  .results-mascot {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    width: 153px;
    margin: 0 auto 20px;
  }
  /* 単独表示に戻るため、ここでは体の切れ目をフェードでなじませる */
  .results-mascot.has-fade {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 96%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 96%);
  }
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 860px) { .stock-grid { grid-template-columns: 1fr; } }

.stock-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stock-card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.stock-card { background: #fff; border: 1px solid var(--paper-line); border-radius: 14px; overflow: hidden; }
.stock-thumb {
  height: 150px;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #EFEBE0;
}
.stock-body { padding: 16px 18px 20px; }
.stock-body h4 { font-size: 0.92rem; color: var(--blue-deep); font-weight: 700; margin-bottom: 8px; }
.stock-body p { font-size: 0.76rem; color: #4B5568; margin-bottom: 12px; }
.stock-link { font-size: 0.76rem; font-weight: 700; color: var(--coral); }

.crosssell-note { text-align: center; margin-top: 20px; font-size: 0.72rem; color: #8A8272; }
.crosssell-cta { text-align: center; margin-top: 24px; }
.crosssell-cta .btn-ghost { border-color: var(--blue); color: var(--blue-deep); }

/* --------------------------------------------------------------------------
   7-8. 対応エリア
   -------------------------------------------------------------------------- */
.area-section {
  background: var(--blue-deep);
  color: #fff;
  padding: 56px 0;
}
.area-section .section-head h2 { color: #fff; }
.area-section .section-head p { color: rgba(255, 255, 255, 0.8); }
/* 対応エリア(紺背景)でも同じコーラルのピルを使う(以前の縁取りスタイルは廃止) */

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 760px;
  margin: 28px auto 0;
}
.area-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.area-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   7-9. お役立ちコラム
   -------------------------------------------------------------------------- */
.blog-section { padding: 56px 0; border-top: 1px solid var(--paper-line); }

.blog-head { position: relative; }
.blog-mascot {
  position: absolute;
  top: -18px;
  right: -8px;
  height: 130px;
  width: auto;
  transform: rotate(6deg);
  pointer-events: none;
}
@media (max-width: 860px) { .blog-mascot { display: none; } }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-card);
}
a.blog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.blog-card-link:hover { transform: translateY(-3px); }

.blog-thumb {
  aspect-ratio: 16 / 9;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #EFEBE0;
}

.blog-body { padding: 16px 18px 20px; }
.blog-date-row { display: flex; align-items: center; gap: 6px; min-height: 20px; margin-bottom: 6px; }
.blog-date { font-weight: 700; font-size: 0.72rem; color: #9A9280; }
.blog-body .new {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.3;
}
.blog-body h4 { font-size: 0.92rem; color: var(--blue-deep); line-height: 1.5; font-weight: 700; }

.blog-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.76rem;
  color: #8A8272;
  border: 1px dashed var(--paper-line);
  border-radius: 12px;
  padding: 14px 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   7-10. なぜおすすめか
   -------------------------------------------------------------------------- */
.reasons-section { padding: 56px 0; border-top: 1px solid var(--paper-line); }

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

.reason-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}
.reason-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.14;
}
.reason-card .num {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  border-radius: 999px;
  padding: 2px 10px;
  display: inline-block;
  margin-bottom: 14px;
}
.reason-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
  line-height: 1.5;
}
.reason-card p {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  color: #4B5568;
}

/* --------------------------------------------------------------------------
   7-11. よくある質問
   -------------------------------------------------------------------------- */
.faq-section { padding: 56px 0; border-top: 1px solid var(--paper-line); }

.faq-head { position: relative; }
.faq-mascot {
  position: absolute;
  top: -18px;
  left: -8px;
  height: 130px;
  width: auto;
  pointer-events: none;
}
@media (max-width: 860px) { .faq-mascot { display: none; } }

.faq { max-width: 760px; margin: 32px auto 0; }
.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-deep);
}
.faq-q span:first-child::before {
  content: "Q";
  font-weight: 900;
  color: var(--coral);
  margin-right: 10px;
}
.faq-q .icon { font-size: 1.1rem; color: var(--blue); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 4px 20px 24px; font-size: 0.82rem; color: #4B5568; }

/* --------------------------------------------------------------------------
   7-12. 最終CTA
   -------------------------------------------------------------------------- */
.cta-section { padding: 56px 0; }

.final-cta {
  background: linear-gradient(135deg, var(--coral), #FF8A5B);
  border-radius: 24px;
  padding: 52px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: visible;
}
.final-cta h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 900; margin-bottom: 12px; }
.final-cta p { color: #FFE3D9; margin-bottom: 28px; font-size: 0.9rem; }
.final-cta .btn-coral { background: #fff; color: var(--coral); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.15); }
.final-cta .btn-line { box-shadow: 0 6px 0 rgba(0, 0, 0, 0.15); }
.final-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-ctas .btn { width: 189px; }

.final-cta-mascot {
  position: absolute;
  bottom: 0;
  right: 18px;
  height: 210px;
  width: auto;
  pointer-events: none;
}
/* PCではオレンジ枠の下端でスパッと切れる見た目にし、フェードは付けない */
.final-cta-mascot.has-fade { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 640px) {
  .final-cta { padding: 44px 24px; margin-bottom: 220px; }
  /* スマホでは枠内に収まりきらないため、枠の下に単独表示にする(買取実績と同じ扱い) */
  .final-cta-mascot {
    bottom: auto;
    top: 100%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 16px;
    height: auto;
    width: 153px;
  }
  .final-cta-mascot.has-fade {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 96%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 96%);
  }
}

/* --------------------------------------------------------------------------
   7-13. フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--blue-deep);
  color: #B9C6D8;
  padding: 40px 0 24px;
  font-size: 0.8rem;
}
.footer-logo-img { height: 38px; width: auto; display: block; margin-bottom: 12px; }

.foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.foot-block p { line-height: 1.8; }
.foot-links { display: flex; gap: 16px; margin-top: 6px; }
.foot-links a { color: #fff; font-weight: 700; text-decoration: underline; }

.foot-sns { display: flex; gap: 12px; margin-top: 16px; }
.foot-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.foot-sns a:hover { transform: translateY(-2px); opacity: 0.85; }
.foot-sns img { width: 30px; height: 30px; display: block; }

.foot-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.72rem;
}

@media (max-width: 640px) {
  .foot-grid { flex-direction: column; }
}
