/* ============================================================
   出張買取LP — Design System
   信頼・誠実トーン / 紺・金・白 / 明朝見出し
   ============================================================ */

:root {
  /* Navy (royal tone) */
  --navy-900: #0f2747;
  --navy-800: #163a63;
  --navy-700: #23508a;
  --navy-050: #eef3fa;

  /* Gold (warm tone) */
  --gold-700: #9a6a2a;
  --gold-600: #bb8537;
  --gold-500: #cf9b4e;
  --gold-400: #e0b56b;

  /* Neutrals */
  --ink: #182030;
  --muted: #586374;
  --faint: #8a93a1;
  --paper: #ffffff;
  --cream: #f8f5ee;
  --line: #e7e1d2;
  --line-cool: #e2e6ee;

  /* Type */
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* Layout */
  --wrap: 660px;
  --gut: 22px;
  --shadow-sm: 0 2px 10px rgba(13, 27, 49, 0.06);
  --shadow-md: 0 10px 34px rgba(13, 27, 49, 0.12);
  --shadow-lg: 0 22px 60px rgba(13, 27, 49, 0.18);

  --sticky-h: 76px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
.icon-sprite { position: absolute; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.section { padding: 50px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-800); color: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  font-weight: 700;
  color: var(--gold-600);
  margin: 0 0 16px;
}
.kicker::before,
.kicker::after {
  content: "";
  width: 20px; height: 1px;
  background: var(--gold-500);
}
.kicker::after { margin-left: -0.26em; }
.kicker--center { justify-content: center; }
.section--navy .kicker { color: var(--gold-400); }
.section--navy .kicker::before,
.section--navy .kicker::after { background: var(--gold-400); }

.sec-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(25px, 6.6vw, 33px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  color: var(--navy-800);
}
.section--navy .sec-title { color: #fff; }
.sec-lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 30em;
  text-wrap: pretty;
}
.sec-lead--large { font-size: 16px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  padding: 17px 26px;
  cursor: pointer;
  line-height: 1.3;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .small { font-size: 11.5px; font-weight: 600; opacity: .85; letter-spacing: .12em; white-space: nowrap; }
.btn .stack { display: flex; flex-direction: column; gap: 1px; align-items: flex-start; line-height: 1.25; }
.btn .num { white-space: nowrap; }
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: #2c2208;
  box-shadow: 0 8px 22px rgba(171, 133, 64, 0.4);
}
.btn--gold:hover { box-shadow: 0 12px 28px rgba(171, 133, 64, 0.52); }

.btn--phone-solid {
  background: var(--navy-800);
  color: #fff;
}
.btn--phone-solid .num { font-size: 19px; }
.btn--phone-solid:hover { background: var(--navy-700); }

.btn--block { display: flex; width: 100%; }

/* ---------- Trust chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(214, 189, 121, 0.5);
  color: var(--gold-400);
  white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; }
.chips--light .chip {
  background: #fff;
  border-color: var(--line);
  color: var(--gold-700);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { overflow: hidden; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }

.hero-title {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: 0.03em;
  margin: 0;
}
.hero-title .lg {
  display: block;
  font-size: clamp(38px, 11vw, 60px);
  line-height: 1.22;
  white-space: nowrap;
}
.hero-title .gold { color: var(--gold-400); }
.hero-sub {
  font-size: 15.5px;
  line-height: 1.95;
  margin: 22px 0 0;
  text-wrap: pretty;
}

/* Variant B — cream background with product photo */
.heroB { background: var(--cream); color: var(--ink); }
.heroB .wrap { padding-top: 54px; padding-bottom: 52px; }
.heroB .hero-title { color: var(--navy-800); }
.heroB .hero-title .gold { color: var(--gold-600); }
.heroB .hero-sub { color: var(--muted); }
.hero-logo-wrap {
  display: flex;
  align-items: center;
  line-height: 1;
}
.hero-logo {
  width: min(118px, 31vw);
  height: auto;
}
.hero-media {
  display: grid;
  gap: 8px;
}
.hero-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  aspect-ratio: 800 / 533;
  background: #f5f2ec;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.heroB .chips { display: none; justify-content: center; flex-wrap: nowrap; gap: 6px; }
.heroB .chips .chip { flex: 0 1 auto; min-width: 0; font-size: 11px; padding: 6px 9px; letter-spacing: 0.01em; }
.heroB .chips .chip svg { width: 12px; height: 12px; flex: none; }

/* heroB: text left / photo right — same layout on mobile and desktop */
.heroB__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  align-items: start;
  grid-template-areas:
    "company ."
    "title   media"
    "sub     sub";
}
.heroB__grid > .hero-logo-wrap { grid-area: company; white-space: normal; margin-bottom: 12px; }
.heroB__grid > .hero-title { grid-area: title; }
.heroB__grid > .hero-media { grid-area: media; align-self: start; }
.heroB__grid > .hero-sub { grid-area: sub; }
.heroB .hero-title .lg { font-size: clamp(26px, 9vw, 60px); }

/* ============================================================
   品目 GRID
   ============================================================ */
.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.item-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 8px 14px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.item-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.item-card__icon {
  width: 46px; height: 46px; margin: 0 auto 10px;
  color: var(--navy-700);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-050);
}
.item-card__icon svg { width: 26px; height: 26px; }
.item-card__name { font-size: 13.5px; font-weight: 700; color: var(--navy-800); letter-spacing: .02em; }
.items-note {
  margin-top: 22px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-700);
}

/* ============================================================
   こんな時に (scenes)
   ============================================================ */
.scenes { display: grid; gap: 14px; }
.scene {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line-cool);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.scene__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.scene__no {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--gold-600);
  letter-spacing: .12em;
  flex: none;
}
.scene__icon {
  flex: none; width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--navy-050);
  color: var(--navy-700);
  display: grid; place-items: center;
}
.scene__icon svg { width: 30px; height: 30px; }
.scene__body h3 { font-family: var(--serif); font-size: 17px; margin: 0 0 5px; color: var(--navy-800); letter-spacing: .03em; }
.scene__body p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   お客様の声
   ============================================================ */
.voices { display: grid; gap: 16px; }
.voice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.voice__text { font-size: 14px; line-height: 1.9; margin: 0; color: var(--ink); text-wrap: pretty; }
.voice__person { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.voice__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-700); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  flex: none;
}
.voice__meta { font-size: 12px; line-height: 1.5; min-width: 0; }
.voice__name { font-weight: 700; color: var(--navy-800); font-size: 13.5px; }
.voice__tag { color: var(--faint); }
.voice__item { color: var(--gold-700); font-weight: 700; }

/* ============================================================
   メリット
   ============================================================ */
.merits { display: grid; gap: 16px; }
.merit {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}
.merit__icon {
  flex: none; width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  color: var(--gold-400);
  display: grid; place-items: center;
}
.merit__icon svg { width: 28px; height: 28px; }
.merit__body h3 {
  font-family: var(--serif); font-size: 18px; margin: 2px 0 7px;
  color: #fff; letter-spacing: .03em;
}
.merit__body p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.74); }

/* ============================================================
   買取の流れ
   ============================================================ */
.flow { display: grid; gap: 0; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  position: relative;
  padding-bottom: 26px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute;
  left: 23px; top: 52px; bottom: 6px;
  width: 2px; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--gold-400) 0 6px, transparent 6px 12px);
}
.step__rail { position: relative; flex: none; width: 46px; }
.step__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-400);
  font-family: var(--serif); font-weight: 700; font-size: 20px;
  display: grid; place-items: center;
}
.step__body { padding-top: 4px; }
.step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.step__icon { color: var(--navy-700); display: flex; }
.step__icon svg { width: 28px; height: 28px; }
.step__head h3 { margin: 0; }
.step__body h3 { font-family: var(--serif); font-size: 18px; color: var(--navy-800); letter-spacing: .03em; }
.step__body p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   お問い合わせ
   ============================================================ */
.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 24px 30px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold-500);
  text-align: center;
}
.contact__free {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--gold-700);
  margin-bottom: 14px;
}
.contact__tel-label { font-size: 13px; color: var(--muted); margin: 0 0 4px; letter-spacing: .08em; }
.contact__tel {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy-900);
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(28px, 8.4vw, 46px);
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.contact__tel svg { width: clamp(26px, 7vw, 34px); height: clamp(26px, 7vw, 34px); color: var(--gold-600); flex: none; }
.contact__hours {
  margin: 16px auto 0;
  display: inline-grid;
  gap: 8px;
  text-align: left;
  font-size: 13.5px;
}
.contact__hours-row { display: flex; gap: 10px; }
.contact__hours-label {
  flex: none; width: 84px;
  font-weight: 700; color: var(--navy-800);
  border-right: 1px solid var(--line); 
  padding-right: 10px;
}
.contact__hours-value { color: var(--muted); }
.contact__est { margin-top: 24px; }
.contact__est .btn { width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.6); text-align: center; padding: 30px 0 38px; }
.footer__name { font-family: var(--serif); font-size: 17px; color: #fff; letter-spacing: .08em; margin: 0 0 8px; }
.footer__address { font-size: 12px; line-height: 1.8; margin: 0 0 4px; }
.footer__sub { font-size: 12px; line-height: 1.8; }
.footer__copy { font-size: 11px; margin-top: 16px; color: rgba(255,255,255,0.4); }

/* ============================================================
   STICKY BOTTOM CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(13,27,49,0.12);
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px));
}
.sticky-cta__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 9px;
}
.sticky-cta .btn { padding: 11px 10px; border-radius: 8px; gap: 8px; white-space: nowrap; }
.sticky-cta .btn svg { width: 18px; height: 18px; }
.sticky-cta .btn--phone-solid .num { font-size: 16px; }
.sticky-cta .btn .stack { align-items: center; }
.sticky-cta .btn--gold { font-size: 14.5px; }

/* ============================================================
   RESPONSIVE — tablet / desktop refinements
   ============================================================ */
@media (min-width: 720px) {
  .section { padding: 50px 0; }
  .items-grid { gap: 14px; }
  .item-card { padding: 24px 10px 18px; }
  #voices .wrap,
  #scenes .wrap,
  #merits .wrap { max-width: 1040px; }
  .voices { grid-template-columns: 1fr 1fr 1fr; }
  .voice__name, .voice__tag { white-space: nowrap; }
  .scenes { grid-template-columns: 1fr 1fr 1fr; }
  .merits { grid-template-columns: 1fr 1fr 1fr; }
  .merit__body h3 { white-space: nowrap; }
  .merit { flex-direction: column; text-align: center; align-items: center; }
  .flow { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .step { flex-direction: column; align-items: center; text-align: center; padding-bottom: 0; }
  .step:not(:last-child)::after { display: none; }
  .step__head { flex-direction: column; gap: 8px; }
  .step__rail { width: 100%; height: 46px; display: flex; justify-content: center; }
  .step:not(:last-child) .step__rail::after {
    content: ""; position: absolute;
    left: calc(50% + 26px); right: calc(11px - 50%); top: 22px; bottom: auto;
    width: auto; height: 2px; transform: none;
    background: repeating-linear-gradient(90deg, var(--gold-400) 0 6px, transparent 6px 12px);
  }
  .heroB .wrap { padding-top: 52px; }
  .heroB__grid {
    column-gap: 32px;
    grid-template-areas:
      "company ."
      "title   media"
      "sub     media";
  }
  .heroB__grid > .hero-logo-wrap { margin-bottom: 14px; }
  .hero-logo { width: 150px; }
  .heroB .chips { display: flex; }
  .heroB .chips .chip { font-size: 12.5px; padding: 7px 13px; letter-spacing: 0.04em; }
  .heroB .chips .chip svg { width: 14px; height: 14px; }
  .heroB .hero-title .lg { font-size: clamp(38px, 11vw, 60px); }
  .sticky-cta__inner { grid-template-columns: auto auto; justify-content: center; }
  .sticky-cta .btn { padding: 13px 30px; }
}
