/* ============================================================
   ColourJewel — 宝石買取ランディングページ
   デザインシステム：高級・上品（ジュエルトーン）
   ============================================================ */

:root {
  /* base palette — warm ivory / deep brown ink */
  --bg:        oklch(0.971 0.010 78);   /* ivory */
  --bg-deep:   oklch(0.945 0.014 76);   /* slightly deeper ivory band */
  --surface:   oklch(0.992 0.004 80);   /* near-white card */
  --ink:       oklch(0.285 0.018 56);   /* deep warm brown */
  --ink-soft:  oklch(0.455 0.020 58);   /* muted brown for body */
  --ink-faint: oklch(0.62  0.018 60);
  --line:      oklch(0.86  0.013 72);   /* hairline */

  /* jewel accent (tweakable) */
  --accent:      #C9A86A;   /* champagne gold */
  --accent-deep: #9C7B3E;   /* deep gold */
  --accent-tint: color-mix(in srgb, var(--accent) 14%, white);
  --accent-wash: color-mix(in srgb, var(--accent) 7%, white);

  /* dark luxe band */
  --dark:      oklch(0.255 0.020 50);
  --dark-soft: oklch(0.34  0.018 52);

  /* fonts (tweakable) */
  --font-head: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-en:   "Cormorant Garamond", serif;

  --type-scale: 1;       /* multiplier set by tweaks */
  --maxw: 1080px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: calc(17px * var(--type-scale));
  line-height: 1.95;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  text-wrap: pretty;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--ink);
}

a { color: inherit; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.section--ivory  { background: var(--bg); }
.section--deepiv { background: var(--bg-deep); }
.section--white  { background: var(--surface); }

/* eyebrow + heading block */
.eyebrow {
  font-family: var(--font-en);
  font-size: calc(15px * var(--type-scale));
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  font-style: italic;
  margin: 0;
}
.sec-head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-title {
  font-size: calc(clamp(27px, 4.4vw, 42px) * var(--type-scale));
  line-height: 1.4;
}
.sec-title .em { color: var(--accent-deep); }
.sec-sub { margin-top: 18px; color: var(--ink-soft); font-size: calc(16px * var(--type-scale)); }

/* gold ornament: hairline with a diamond */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 16px auto 0;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: clamp(40px, 8vw, 90px);
  background: linear-gradient(to var(--dir, right), transparent, var(--accent));
}
.ornament::after { --dir: left; }
.ornament i {
  width: 8px; height: 8px; background: var(--accent);
  transform: rotate(45deg); display: block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: 0.06em; text-decoration: none; cursor: pointer;
  border: none; line-height: 1.4; text-align: center;
}
.btn--cta {
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: calc(19px * var(--type-scale));
  padding: 22px 44px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent-deep) 60%, transparent),
              inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -10px color-mix(in srgb, var(--accent-deep) 65%, transparent), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn--cta .sub { font-weight: 500; font-size: 0.72em; opacity: 0.92; letter-spacing: 0.12em; }
.btn-cta-text { text-align: center; }
.btn-cta-text .sub { display: inline-block; margin-top: 4px; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--accent); padding: 18px 34px; border-radius: 999px;
  font-size: calc(16px * var(--type-scale));
}
.btn--ghost:hover { background: var(--accent-wash); }
.btn-arrow { font-family: var(--font-en); font-size: 1.1em; }

.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-note { font-size: calc(13.5px * var(--type-scale)); color: var(--ink-faint); letter-spacing: 0.08em; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: baseline; gap: 0; text-decoration: none; white-space: nowrap; }
.brand .mark { flex: none; padding-right: 2px; }
.brand .mark {
  font-family: var(--font-en); font-size: calc(23px * var(--type-scale));
  font-weight: 600; letter-spacing: 0.04em; color: var(--ink);
}
.brand .mark b { color: var(--accent-deep); font-weight: 600; }
.brand .jp { font-size: calc(11px * var(--type-scale)); letter-spacing: 0.24em; color: var(--ink-soft); margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.header-tel { text-align: right; line-height: 1.2; text-decoration: none; flex: none; }
.header-tel .label { font-size: calc(10px * var(--type-scale)); letter-spacing: 0.22em; color: var(--ink-faint); display: block; }
.header-tel .num { font-family: var(--font-en); font-size: calc(23px * var(--type-scale)); font-weight: 600; color: var(--ink); letter-spacing: 0.02em; white-space: nowrap; }
.header-cta { font-size: calc(14px * var(--type-scale)); padding: 13px 26px; flex: none; }

/* ============================================================
   HERO / FV  (cinematic full-bleed)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: #160f0b;
  display: flex; align-items: center;
  min-height: clamp(600px, 90vh, 880px);
}
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 62%;
}
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  display: block;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, #160f0b 0%, #160f0b 34%, rgba(22,15,11,0.6) 50%, rgba(22,15,11,0.12) 70%, rgba(22,15,11,0) 86%),
    linear-gradient(0deg, rgba(22,15,11,0.55) 0%, rgba(22,15,11,0) 32%),
    radial-gradient(120% 90% at 78% 42%, transparent 40%, rgba(22,15,11,0.45) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy {
  max-width: 600px;
  padding: clamp(70px, 10vh, 120px) 0;
}
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: calc(12.5px * var(--type-scale)); font-weight: 700; letter-spacing: 0.08em;
  color: #E7CE9C;
  border: 1px solid rgba(201,168,106,0.55); border-radius: 999px;
  padding: 7px 15px; background: rgba(255,255,255,0.05);
  backdrop-filter: blur(2px);
}
.hero-badge i { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.hero h1 {
  font-size: calc(clamp(34px, 5.4vw, 60px) * var(--type-scale));
  line-height: 1.4; letter-spacing: 0.03em; color: #F6F0E6;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero h1 .em { color: #E7CE9C; }
.hero h1 .big { font-size: 1.28em; }
.hero h1 .rest { white-space: nowrap; display: inline-block; }
.lead-break-mobile { display: none; }
.stats-title-break { display: none; }
.flow-sub-break { display: none; }
.hero-lead {
  margin: 26px 0 36px; color: rgba(246,240,230,0.82);
  font-size: calc(17px * var(--type-scale)); line-height: 2.05; word-break: keep-all; overflow-wrap: break-word;
  text-shadow: 0 1px 16px rgba(0,0,0,0.35);
}
.hero-cta { align-items: center; }
.hero-cta .cta-note { text-align: center; }
.hero-cta .btn--cta { width: 100%; max-width: 460px; }
.hero-cta .cta-note { color: rgba(246,240,230,0.6); }
.hero-trust {
  display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap;
  justify-content: center;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-trust .item { line-height: 1.25; text-align: center; }
.hero-trust .n { font-family: var(--font-en); font-size: calc(36px * var(--type-scale)); font-weight: 600; color: #F6F0E6; }
.hero-trust .n small { font-size: 0.5em; margin-left: 2px; color: #E7CE9C; }
.hero-trust .l { font-size: calc(12px * var(--type-scale)); color: rgba(246,240,230,0.62); letter-spacing: 0.1em; margin-top: 2px; }

/* ============================================================
   INSIGHT / 色石買取の真実
   ============================================================ */
.insight-lead {
  max-width: 780px; margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center; font-family: var(--font-head);
  font-size: calc(clamp(19px, 2.6vw, 26px) * var(--type-scale));
  line-height: 1.95; color: var(--ink); letter-spacing: 0.02em;
}
.insight-lead strong { color: var(--accent-deep); font-weight: 600; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 40px 34px; box-shadow: 0 24px 50px -40px rgba(60,40,20,0.5);
}
.insight-no {
  font-family: var(--font-en); font-style: italic; font-weight: 600;
  font-size: calc(36px * var(--type-scale)); color: var(--accent-deep); line-height: 1;
}
.insight-no::after { content: ""; display: block; width: 30px; height: 1px; background: var(--accent); margin: 16px 0 22px; }
.insight-card h3 { font-size: calc(20px * var(--type-scale)); line-height: 1.55; margin-bottom: 16px; }
.insight-card h3 .em { color: var(--accent-deep); }
.insight-card p { color: var(--ink-soft); font-size: calc(14.5px * var(--type-scale)); line-height: 1.95; margin: 0; text-align: justify; text-justify: inter-ideograph; }

/* ----- INSIGHT deep-dive: なぜ「色」の評価が難しいのか ----- */
.insight-deepdive { margin-top: clamp(56px, 7vw, 88px); }
.insight-deepdive .subhead { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 60px); }
.subhead-title {
  font-size: calc(26px * var(--type-scale)); line-height: 1.5;
  margin: 10px 0 18px;
}
.subhead-title .em { color: var(--accent-deep); }
.subhead-lead {
  color: var(--ink-soft); font-size: calc(15px * var(--type-scale));
  line-height: 1.95; margin: 0;
}
.subhead-title::after {
  content: ""; display: block; width: 40px; height: 1px;
  background: var(--accent); margin: 22px auto 0;
}
.cases { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.case-row {
  display: grid; grid-template-columns: 0.82fr 1fr;
  gap: clamp(28px, 4vw, 52px); align-items: center;
}
.case-row--rev { grid-template-columns: 1fr 0.82fr; }
.case-row--rev .case-media { order: 2; }
.case-media image-slot {
  display: block; width: 100%; height: clamp(220px, 24vw, 300px);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -42px rgba(60,40,20,0.6);
}
.case-tag {
  display: inline-block; font-family: var(--font-en); font-style: italic;
  font-size: calc(15px * var(--type-scale)); letter-spacing: 0.06em;
  color: var(--accent-deep); margin-bottom: 12px;
}
.case-text h4 {
  font-size: calc(21px * var(--type-scale)); line-height: 1.55;
  margin-bottom: 16px;
}
.case-text h4 .em { color: var(--accent-deep); }
.case-text p {
  color: var(--ink-soft); font-size: calc(14.5px * var(--type-scale));
  line-height: 1.95; margin: 0; text-align: justify; text-justify: inter-ideograph;
}
.case-text strong { color: var(--accent-deep); font-weight: 600; }

/* ============================================================
   WORRIES / 共感
   ============================================================ */
.worry-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: clamp(30px, 4vw, 52px);
  box-shadow: 0 24px 60px -36px rgba(60,40,20,0.45);
}
.worry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.worry-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 6px; border-bottom: 1px dashed var(--line);
  font-size: calc(17.5px * var(--type-scale)); line-height: 1.8;
}
.worry-list li:last-child { border-bottom: none; }
.worry-list .nowrap { white-space: nowrap; }
.worry-text { display: block; }
.worry-list .check {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-deep);
  display: grid; place-items: center; font-weight: 800; margin-top: 4px;
  font-family: var(--font-en); font-size: 1.05em;
}
.worry-foot { text-align: center; margin-top: 38px; }
.worry-foot .arrow { font-size: 30px; color: var(--accent); line-height: 1; }
.worry-foot p { font-family: var(--font-head); font-size: calc(clamp(20px,3vw,28px) * var(--type-scale)); margin: 10px 0 0; }
.worry-foot p .em { color: var(--accent-deep); }

/* ============================================================
   REASONS / 選ばれる理由 3点
   ============================================================ */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.reason {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 40px 30px 34px; text-align: center; position: relative;
  box-shadow: 0 24px 50px -38px rgba(60,40,20,0.5);
}
.reason .no {
  font-family: var(--font-en); font-style: italic;
  font-size: calc(15px * var(--type-scale)); letter-spacing: 0.2em;
  color: var(--accent-deep); font-weight: 600;
}
.reason .no::after { content: ""; display: block; width: 26px; height: 1px; background: var(--accent); margin: 12px auto 22px; }
.reason image-slot { width: 96px; height: 96px; margin: 0 auto 22px; }
.reason h3 { font-size: calc(21px * var(--type-scale)); margin-bottom: 14px; }
.reason h3 .em { color: var(--accent-deep); }
.reason p { color: var(--ink-soft); font-size: calc(15px * var(--type-scale)); line-height: 1.95; margin: 0; text-align: left; }

/* ============================================================
   RESULTS / 買取実績 (carousel)
   ============================================================ */
.results-carousel {
  display: flex; align-items: center; gap: clamp(8px, 2vw, 24px);
  max-width: 920px; margin: 0 auto; position: relative;
}
.results-viewport { flex: 1 1 auto; overflow: hidden; }
.results-track {
  display: flex; width: 100%;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.results-page {
  flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 30px); padding: 6px;
}
.result-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; box-shadow: 0 24px 50px -40px rgba(60,40,20,0.5);
  display: flex; flex-direction: column; container-type: inline-size;
}
.result-card .result-photo {
  width: 100%; height: auto; aspect-ratio: 4 / 3; flex: none;
}
.result-body {
  display: flex; flex-direction: column; padding: 22px 22px 24px; flex: 1 1 auto;
}
.result-spec { flex: 1 1 auto; }
.result-price { margin-top: auto; }
.result-name {
  margin: 0 0 16px; font-size: calc(19px * var(--type-scale));
  line-height: 1.5; color: var(--ink); text-align: center;
}
.result-spec { margin: 0 0 4px; padding: 0; }
.result-spec .nowrap { white-space: nowrap; }
.result-spec .spec-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 9px 2px; border-bottom: 1px solid var(--line);
  min-width: 0;
}
.result-spec .spec-row:first-child { border-top: 1px solid var(--line); }
.result-spec dt {
  flex: none; width: 3.6em; color: var(--ink-faint);
  font-size: calc(12.5px * var(--type-scale)); letter-spacing: 0.12em; font-weight: 700;
  white-space: nowrap;
}
.result-spec dd {
  margin: 0; flex: 1 1 auto; text-align: right; color: var(--ink);
  font-size: calc(13.5px * var(--type-scale)); font-weight: 500; line-height: 1.55;
  white-space: nowrap; min-width: 0;
}
.result-price {
  margin: 18px 0 0; padding-top: 16px;
  font-family: var(--font-en); font-weight: 600; white-space: nowrap;
  font-size: calc(32px * var(--type-scale)); line-height: 1; color: var(--accent-deep);
  letter-spacing: 0.01em; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.result-price .price-label {
  flex: none; font-family: var(--font-body); font-weight: 700;
  font-size: calc(13px * var(--type-scale)); line-height: 1.25; letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
  min-height: 2.9em; box-sizing: border-box;
  color: #fff; background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  border-radius: 4px; padding: 7px 9px; text-align: center; white-space: normal;
}
.result-price .price-amount { flex: 1 1 auto; min-width: 0; }
.result-price .yen { font-size: 0.62em; margin-right: 2px; }
.results-nav {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--accent); color: var(--accent-deep);
  font-family: var(--font-en); font-size: 30px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding-bottom: 4px;
  box-shadow: 0 12px 26px -14px rgba(60,40,20,0.5); transition: background .15s ease, opacity .15s ease;
}
.results-nav:hover { background: var(--accent-wash); }
.results-nav:disabled { opacity: 0.3; cursor: default; }
.results-dots {
  display: flex; justify-content: center; gap: 12px; margin-top: 30px;
}
.results-dots .dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--line); border: none; transition: background .2s ease, transform .2s ease;
}
.results-dots .dot.is-active { background: var(--accent); transform: scale(1.25); }
.results-note {
  text-align: center; margin: 26px auto 0; max-width: 720px;
  font-size: calc(12.5px * var(--type-scale)); color: var(--ink-faint); letter-spacing: 0.04em;
}
@media (max-width: 680px) {
  /* free the full width for the 2-up cards: overlay the arrows on the image */
  .results-carousel { gap: 0; }
  .results-viewport { width: 100%; }
  .results-nav {
    position: absolute; top: 26%; transform: translateY(-50%); z-index: 5;
    width: 38px; height: 38px; font-size: 22px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(2px);
  }
  .results-nav.prev { left: 2px; }
  .results-nav.next { right: 2px; }
  .results-page { gap: 12px; }
  .result-name { margin: 0 0 12px; font-size: calc(15.5px * var(--type-scale)); }
  .result-body { padding: 16px 14px 18px; }
  .result-spec .spec-row { padding: 7px 0; gap: 8px; }
  .result-spec dt { width: 3.4em; font-size: calc(11px * var(--type-scale)); letter-spacing: 0.06em; }
  .result-spec dd { font-size: calc(11.5px * var(--type-scale)); }
  /* keep the price on ONE line; stay as large as fits (up to the 24px target) */
  .result-price {
    margin: 14px 0 0; padding-top: 14px; gap: 8px;
  }
  .result-price .price-amount { font-size: min(calc(24px * var(--type-scale)), 11.5cqi); }
  .result-price .price-label { font-size: calc(10px * var(--type-scale)); padding: 5px 5px; min-height: 2.9em; }
  .result-price { gap: 6px; }
}

/* ============================================================
   STATS / 実績数字  (dark luxe band)
   ============================================================ */
.section--dark { background: var(--dark); color: var(--bg); }
.section--dark .sec-title, .section--dark .reason h3 { color: var(--bg); }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .ornament::before, .section--dark .ornament::after { background: linear-gradient(to var(--dir, right), transparent, var(--accent)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 14px; }
.stat .n {
  font-family: var(--font-en); font-weight: 600;
  font-size: calc(clamp(46px, 7vw, 68px) * var(--type-scale)); line-height: 1;
  color: var(--accent); letter-spacing: 0.01em;
}
.stat .n small { font-size: 0.4em; margin-left: 3px; color: var(--bg); }
.stat .l { margin-top: 14px; font-size: calc(14px * var(--type-scale)); letter-spacing: 0.12em; color: color-mix(in srgb, var(--bg) 78%, transparent); white-space: nowrap; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.12); }

/* ============================================================
   FLOW / ご利用の流れ
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 34px 24px 30px; text-align: center; position: relative;
}
.flow-step .step-no {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(160deg, var(--accent), var(--accent-deep)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-en); font-weight: 600;
  font-size: calc(22px * var(--type-scale)); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--accent-deep) 60%, transparent);
}
.flow-step .step-label { font-family: var(--font-en); font-size: calc(11px * var(--type-scale)); letter-spacing: 0.24em; color: var(--accent-deep); margin: 14px 0 10px; text-transform: uppercase; }
.flow-step h3 { font-size: calc(18px * var(--type-scale)); margin-bottom: 12px; }
.flow-step p { font-size: calc(14px * var(--type-scale)); color: var(--ink-soft); margin: 0; line-height: 1.85; }
.flow-step:not(:last-child)::after {
  content: "›"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-en); font-size: 30px; color: var(--accent); z-index: 2;
}

/* ============================================================
   LINE CTA (in flow section)
   ============================================================ */
.line-cta {
  margin: clamp(40px, 6vw, 64px) auto 0; max-width: 720px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(60,40,20,0.5); text-align: center;
}
.line-cta::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-deep));
}
.line-cta-text { flex: 1 1 auto; }
.line-cta-eyebrow {
  font-family: var(--font-en); font-style: italic; font-size: calc(14px * var(--type-scale));
  letter-spacing: 0.2em; color: var(--accent-deep); font-weight: 600;
}
.line-cta-title { font-size: calc(26px * var(--type-scale)); margin: 8px 0 12px; }
.line-cta-lead { color: var(--ink-soft); font-size: calc(15px * var(--type-scale)); line-height: 1.9; margin: 0 0 24px; }
.line-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.line-btn {
  background: linear-gradient(160deg, var(--accent), var(--accent-deep)); color: #fff; border-radius: 999px;
  padding: 18px 34px; font-size: calc(17px * var(--type-scale)); font-weight: 700;
  box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--accent-deep) 60%, transparent); transition: transform .18s ease, box-shadow .18s ease;
}
.line-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -12px color-mix(in srgb, var(--accent-deep) 65%, transparent); }
.line-btn-icon {
  font-family: var(--font-en); font-weight: 700; letter-spacing: 0.02em;
  background: #fff; color: var(--accent-deep); border-radius: 6px; padding: 3px 8px;
  font-size: 0.74em; line-height: 1.2;
}
.line-qr-btn {
  background: transparent; color: var(--ink); border: 1px solid var(--accent); border-radius: 999px;
  padding: 18px 30px; font-size: calc(16px * var(--type-scale)); font-weight: 700; cursor: pointer;
  transition: background .15s ease;
}
.line-qr-btn:hover { background: var(--accent-wash); }
.line-qr-btn .qr-ico { color: var(--accent-deep); margin-right: 4px; }
.line-cta-visit {
  text-align: center; margin: 22px auto 0; max-width: 720px;
  color: var(--ink-soft); font-size: calc(14.5px * var(--type-scale)); line-height: 1.9;
}

/* QR modal */
.qr-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.qr-modal.is-open { display: grid; place-items: center; }
.qr-modal-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--dark) 70%, transparent); backdrop-filter: blur(3px); }
.qr-modal-card {
  position: relative; z-index: 1; background: var(--surface); border-radius: 14px;
  padding: 40px 40px 34px; text-align: center; max-width: 340px; width: calc(100% - 40px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.55);
  animation: qr-pop .25s cubic-bezier(.2,.8,.3,1.2);
}
@keyframes qr-pop { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
.qr-modal-close {
  position: absolute; top: 14px; right: 16px; border: none; background: transparent;
  font-size: 26px; line-height: 1; color: var(--ink-faint); cursor: pointer;
}
.qr-modal-close:hover { color: var(--ink); }
.qr-modal-title { font-size: calc(21px * var(--type-scale)); margin: 8px 0 20px; }
.qr-modal-img {
  width: 220px; height: 220px; margin: 0 auto; border-radius: 10px;
  border: 1px solid var(--line); padding: 10px; background: #fff;
}
.qr-modal-note { font-size: calc(13px * var(--type-scale)); color: var(--ink-faint); line-height: 1.8; margin: 18px 0 0; }
@media (max-width: 680px) {
  .line-cta::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 5px; }
  .line-btn, .line-qr-btn { width: 100%; max-width: 340px; }
}

/* ============================================================
   FAQ / よくある質問
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; box-shadow: 0 18px 40px -34px rgba(60,40,20,0.5);
}
.faq-q {
  display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  padding: 24px clamp(20px, 3vw, 30px); font-family: var(--font-head);
  font-size: calc(17.5px * var(--type-scale)); line-height: 1.6; color: var(--ink);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-mark {
  flex: none; font-family: var(--font-en); font-weight: 600; font-size: calc(20px * var(--type-scale));
  color: #fff; background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; line-height: 1;
}
.faq-qtext { flex: 1 1 auto; word-break: break-all; }
.faq-toggle { flex: none; position: relative; width: 16px; height: 16px; }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; background: var(--accent-deep);
  transition: transform .25s ease, opacity .25s ease;
}
.faq-toggle::before { left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-toggle::after { top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-toggle::after { opacity: 0; transform: translateX(-50%) scaleY(0); }
.faq-a {
  position: relative;
  padding: 0 clamp(70px, 3vw + 54px, 80px) 26px clamp(70px, 3vw + 54px, 80px);
  margin-top: -2px;
}
.faq-amark {
  position: absolute; left: clamp(20px, 3vw, 30px); top: 0;
}
.faq-a p { text-align: left; }
.faq-amark {
  flex: none; font-family: var(--font-en); font-weight: 600; font-size: calc(20px * var(--type-scale));
  color: var(--accent-deep); background: var(--accent-wash); border: 1px solid var(--accent);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; line-height: 1;
}
.faq-a p { margin: 6px 0 0; color: var(--ink-soft); font-size: calc(15px * var(--type-scale)); line-height: 1.95; word-break: break-all; }
@media (max-width: 680px) {
  .faq-q { padding: 18px 16px; font-size: calc(15.5px * var(--type-scale)); gap: 12px; }
  .faq-mark, .faq-amark { width: 32px; height: 32px; font-size: calc(16px * var(--type-scale)); }
  .faq-qtext { max-width: 190px; }
  .faq-a { padding: 0 clamp(70px, 3vw + 54px, 80px) 22px clamp(70px, 3vw + 54px, 80px); }
  .faq-a p { font-size: calc(15px * var(--type-scale)); max-width: 210px; }
}

/* ============================================================
   VOICES / お客様の声
   ============================================================ */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voice {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 34px 30px; box-shadow: 0 24px 50px -40px rgba(60,40,20,0.5);
  display: flex; flex-direction: column; gap: 18px; text-align: center;
}
.voice .voice-photo {
  width: 140px; height: 140px; aspect-ratio: 1 / 1; flex: none;
  margin: 0 auto; align-self: center;
  box-shadow: 0 14px 30px -18px rgba(60,40,20,0.45);
}
.voice .q, .voice .body, .voice .stars, .voice .who { flex: none; }
.voice .stars { color: var(--accent); letter-spacing: 4px; font-size: calc(16px * var(--type-scale)); }
.voice .q { font-family: var(--font-head); font-size: calc(18px * var(--type-scale)); line-height: 1.7; color: var(--ink); margin: 0; text-align: center; }
.voice .body { color: var(--ink-soft); font-size: calc(14.5px * var(--type-scale)); margin: 0; line-height: 1.9; text-align: center; }
.voice .who { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); text-align: center; }
.voice .who .name { font-weight: 700; font-size: calc(15px * var(--type-scale)); }
.voice .who .meta { font-size: calc(12px * var(--type-scale)); color: var(--ink-faint); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact { background: var(--dark); color: var(--bg); }
.contact .eyebrow { color: var(--accent); }
.contact .sec-title { color: var(--bg); }
.contact .sec-sub { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.contact .ornament::before, .contact .ornament::after { background: linear-gradient(to var(--dir,right), transparent, var(--accent)); }
.form-card {
  background: var(--surface); color: var(--ink);
  border-radius: 12px; padding: clamp(30px, 4.5vw, 56px);
  max-width: 720px; margin: 0 auto;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5);
}
.form-reassure { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 30px; }
.form-reassure span { font-size: calc(13.5px * var(--type-scale)); font-weight: 700; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 7px; }
.form-reassure i { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: calc(14px * var(--type-scale)); margin-bottom: 9px; letter-spacing: 0.04em; }
.field label .req { color: #fff; background: var(--accent-deep); font-size: 0.74em; padding: 2px 8px; border-radius: 3px; margin-left: 8px; letter-spacing: 0.1em; vertical-align: middle; }
.field label .opt { color: var(--ink-faint); font-size: 0.78em; margin-left: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: calc(16px * var(--type-scale));
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: calc(13.5px * var(--type-scale)); color: var(--ink-soft); margin: 6px 0 26px; line-height: 1.7; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--accent-deep); }
.consent a { color: var(--accent-deep); text-decoration: underline; }
.form-card .btn--cta { width: 100%; }
.form-success {
  display: none; text-align: center; padding: 20px 0;
}
.form-success.show { display: block; }
.form-success .mark { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; font-size: 32px; margin: 0 auto 20px; }
.form-success h3 { font-size: calc(24px * var(--type-scale)); margin-bottom: 12px; }
.form-success p { color: var(--ink-soft); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-deep); padding: 60px 0 130px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-top .brand .mark { font-size: calc(28px * var(--type-scale)); }
.footer-tagline { color: var(--ink-soft); font-size: calc(14px * var(--type-scale)); max-width: none; margin-top: 14px; }
.company-table { width: 100%; border-collapse: collapse; font-size: calc(13.5px * var(--type-scale)); }
.company-table th, .company-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.company-table th { font-weight: 700; color: var(--ink); width: 150px; background: color-mix(in srgb, var(--accent) 5%, transparent); white-space: nowrap; }
.company-table td { color: var(--ink-soft); }
.company-line { display: inline-block; white-space: nowrap; }
.footer-legal { margin-top: 30px; font-size: calc(12px * var(--type-scale)); color: var(--ink-faint); letter-spacing: 0.08em; }
.footer-legal .copy { font-family: var(--font-en); }

/* ============================================================
   FIXED BOTTOM CTA BAR
   ============================================================ */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: color-mix(in srgb, var(--dark) 96%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 12px 0; transform: translateY(110%); transition: transform .35s ease;
}
.cta-bar.show { transform: translateY(0); }
.cta-bar .wrap { display: flex; align-items: center; gap: 16px; justify-content: center; }
.cta-bar .tel { text-decoration: none; text-align: center; color: var(--bg); line-height: 1.1; }
.cta-bar .tel .label { font-size: calc(10px * var(--type-scale)); letter-spacing: 0.16em; color: color-mix(in srgb, var(--bg) 70%, transparent); display: block; }
.cta-bar .tel .num { font-family: var(--font-en); font-size: calc(26px * var(--type-scale)); font-weight: 600; }
.cta-bar .btn--cta { padding: 16px 40px; font-size: calc(17px * var(--type-scale)); }
.cta-bar .divider { width: 1px; height: 42px; background: rgba(255,255,255,0.16); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  /* Art-directed portrait image: gem up top, text over the dark lower half */
  .hero { min-height: 0; background: #0a0f1e; }
  .hero-bg { width: 100%; top: 117px; }
  .hero-bg img { object-position: center top; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(10,15,30,0) 30%, rgba(10,15,30,0.5) 48%, #0a0f1e 70%, #0a0f1e 100%);
  }
  .hero-copy { max-width: 100%; padding: clamp(390px, 96vw, 520px) 0 56px; }
  .hero h1 { font-size: calc(clamp(20px, 5.8vw, 28px) * var(--type-scale)); white-space: nowrap; text-align: center; }
  .hero h1 .rest { white-space: nowrap; }
  .hero-lead { text-align: center; }
  .lead-break-mobile { display: inline; }
  .stats-title-break { display: inline; }
  .flow-sub-break { display: inline; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-top .footer-tagline { max-width: none; margin-left: auto; margin-right: auto; }
  .company-table { font-size: calc(11.5px * var(--type-scale)); }
  .company-table th { width: 84px; padding: 12px 8px; letter-spacing: 0.02em; }
  .company-table td { padding: 12px 8px; }
  .sec-title .nowrap-line { white-space: normal; }
  .sec-title { font-size: calc(clamp(20px, 5.8vw, 30px) * var(--type-scale)); }
  .worry-list li { font-size: calc(15px * var(--type-scale)); line-height: 1.65; padding: 16px 4px; gap: 12px; }
  .hero-badges {
    position: absolute; top: 20px; left: 20px; right: 20px; z-index: 3;
    margin-bottom: 0; justify-content: flex-start;
  }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat:nth-child(3) { border-left: none; }
  .stat + .stat { border-left: none; }
  .stat:nth-child(2), .stat:nth-child(4) { border-left: 1px solid rgba(255,255,255,0.12); }
}
@media (max-width: 760px) {
  .insight-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .case-row, .case-row--rev { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 22px; }
  .case-row--rev .case-media { order: 0; }
  .reasons, .voices { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .flow { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .flow-step:not(:last-child)::after { display: none; }
  .header-tel, .header-cta { display: none; }
  .brand .jp { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px 26px; }
  .cta-bar .tel { display: none; }
  .cta-bar .divider { display: none; }
  .cta-bar .btn--cta { width: 100%; max-width: 420px; }
}
@media (max-width: 460px) {
  .flow { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
