/* =========================================================
   あおき鑑定買取 — base.css（共通の骨格と部品）
   基準＝_rough/references/sources.md（デザイン憲法 v1）
   ページ固有の指定は assets/css/page-<page>.css に書く
   ========================================================= */

:root {
  --ink: #000;
  --ink-2: #515151;
  --ink-3: #949494;
  --line: #efefef;
  --line-2: #d7d7d7;
  --mist: #f6f6f6;
  --paper: #fff;
  --taupe: #dbcbb2;
  --taupe-2: #eae1d2;
  --taupe-3: #f9f6ef;
  --umber: #5b4a3a;
  --teal: #8a99a0;
  --teal-2: #b9c4c6;
  --teal-3: #e8ebec;
  --green: #3f533a;
  --navy: #031837;
  --red: #cb3441;
  --ink-hover: #2b2b2b;
  --navy-hover: #0d2a52;
  --night: #0b0b0b;
  --line-3: #949494; /* 入力欄の枠＝非テキストのコントラスト 3:1 */
  --ink-4: #6f6f6f; /* 未到達の段の文字＝白・mist の上で 4.5:1 以上 */

  --f-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-latin: "Newsreader", "Shippori Mincho", serif;
  --f-sans: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --ease: cubic-bezier(.25, .1, .25, 1);
  --util-h: 40px;
  --head-h: 64px;
  --sp-bar-h: 56px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 0;
  line-break: strict;
  overflow-wrap: break-word;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.u-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.u-nb { white-space: nowrap; }
.u-num { font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.br-sp { display: none; }
@media (max-width: 767px) { .br-sp { display: inline; } .br-pc { display: none; } }

.c-skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; font-size: 13px;
}
.c-skip:focus { top: 8px; }

/* ---------- 骨格 ---------- */
.l-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .l-container { padding: 0 32px; } }
@media (min-width: 1360px) { .l-container { max-width: 1410px; padding: 0 40px; } }

.l-section { padding: 64px 0; position: relative; }
@media (min-width: 768px) { .l-section { padding: 96px 0; } }
.l-band { padding: 48px 0 64px; position: relative; }
@media (min-width: 768px) { .l-band { padding: 56px 0 96px; } }

.bg-mist { background: var(--mist); }
.bg-taupe { background: var(--taupe); color: var(--ink); }
.bg-taupe-2 { background: var(--taupe-2); }
.bg-taupe-3 { background: var(--taupe-3); }
.bg-teal-2 { background: var(--teal-2); }
.bg-teal-3 { background: var(--teal-3); }
.bg-ink { background: var(--ink); color: #fff; }

/* 23列の非対称格子（≥768） */
.l-asym { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) {
  .l-asym { display: grid; grid-template-columns: repeat(23, minmax(0, 1fr)); gap: 0; align-items: start; }
}

main { display: block; overflow-x: clip; }

/* ---------- 文字 ---------- */
.t-hero, .t-h2, .t-h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.35;
  font-feature-settings: "palt" 1;
}
.t-hero { font-size: 32px; line-height: 1.3; }
.t-h2 { font-size: 28px; }
.t-h3 { font-size: 24px; }
.t-h4 { font-family: var(--f-sans); font-weight: 500; font-size: 17px; line-height: 1.5; letter-spacing: .02em; }
@media (min-width: 768px) {
  .t-hero { font-size: 44px; }
  .t-h2 { font-size: 34px; }
  .t-h3 { font-size: 28px; }
  .t-h4 { font-size: 18px; }
}
@media (min-width: 1024px) {
  .t-hero { font-size: 52px; }
  .t-h2 { font-size: 40px; }
  .t-h3 { font-size: 32px; }
  .t-h4 { font-size: 20px; }
}
@media (min-width: 1200px) {
  .t-hero { font-size: 60px; }
  .t-h2 { font-size: 44px; }
  .t-h3 { font-size: 36px; }
}
.t-latin { font-family: var(--f-latin); font-weight: 300; letter-spacing: .08em; }
.t-body { font-size: 15px; line-height: 1.9; }
.t-small { font-size: 13px; line-height: 1.7; }
.t-xs { font-size: 12px; line-height: 1.5; }
@media (min-width: 768px) { .t-xs { font-size: 12.6px; } }
.t-mute { color: var(--ink-2); }
.t-body p + p { margin-top: 1em; }

.c-price {
  font-family: var(--f-latin);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: lining-nums;
}
@media (min-width: 768px) { .c-price { font-size: 18px; } }

/* 下線リンク（アンカーの「Learn More」） */
.c-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: 13px; font-weight: 500; line-height: 1.5;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: opacity .3s var(--ease);
}
.c-link:hover { opacity: .6; }
/* 見た目は変えずに押せる範囲だけ広げる（SPのタップ領域 32px 以上） */
.c-link { position: relative; }
.c-link::before { content: ""; position: absolute; inset: -8px -4px; }
.c-link--plus::after { content: "+"; font-weight: 400; text-decoration: none; display: inline-block; }

/* ---------- ボタン ---------- */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 12px 28px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .04em; text-align: center;
  border-radius: 0;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.c-btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.c-btn:active { transform: translateY(1px); }
.c-btn:disabled, .c-btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; pointer-events: none; }
.c-btn--navy { background: var(--navy); border-color: var(--navy); }
.c-btn--navy:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.c-btn--line { background: transparent; color: var(--ink); }
.c-btn--line:hover { background: var(--ink); color: #fff; }
.c-btn--light { background: var(--mist); color: var(--ink); border-color: var(--line); }
.c-btn--light:hover { background: var(--line); border-color: var(--line-2); }
.c-btn--block { display: flex; width: 100%; }

/* ---------- 上部バー ---------- */
.l-util {
  height: var(--util-h);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.l-util__in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.l-util__side { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.l-util__side a { text-decoration: underline; text-underline-offset: 3px; }
.l-util__side a { position: relative; }
.l-util__side a::before { content: ""; position: absolute; inset: -11px -4px; }
.l-util__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; display: inline-block; }
.l-util__rate { display: none; }
@media (min-width: 1024px) { .l-util__rate { display: inline; } .l-util__rate + .l-util__dot { display: inline-block; } }
@media (max-width: 1023px) { .l-util__rate-dot { display: none !important; } }
@media (max-width: 767px) { .l-util__line { display: none; } .l-util__line-dot { display: none !important; } }

/* ---------- ヘッダー ---------- */
.l-header {
  position: sticky; top: 0; z-index: 100;
  transition: transform .4s var(--ease);
}
.l-header.is-collapsed { transform: translateY(-104%); }
.l-masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.l-masthead__in {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--head-h); gap: 16px;
}
.l-masthead__menu { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; min-height: 44px; }
.l-masthead__bars { width: 18px; height: 11px; position: relative; display: inline-block; }
.l-masthead__bars::before, .l-masthead__bars::after, .l-masthead__bars span {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
}
.l-masthead__bars::before { top: 0; } .l-masthead__bars span { top: 5px; } .l-masthead__bars::after { bottom: 0; }
.c-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.c-logo__en {
  font-family: var(--f-latin); font-weight: 300; font-size: 18px; line-height: 1;
  letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; white-space: nowrap;
}
.c-logo__ja { font-size: 11px; line-height: 1; letter-spacing: .3em; margin-right: -.3em; color: var(--ink-2); white-space: nowrap; }
@media (min-width: 768px) { .c-logo__en { font-size: 22px; } }
@media (min-width: 1024px) { .c-logo__en { font-size: 24px; } }
.l-masthead__nav { justify-self: end; display: flex; align-items: center; gap: 28px; font-size: 14px; }
.l-masthead__nav a { position: relative; padding: 10px 0; }
.l-masthead__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.l-masthead__nav a:hover::after, .l-masthead__nav a[aria-current="page"]::after { transform: scaleX(1); }
.l-masthead__nav .is-cta { font-weight: 500; }
@media (max-width: 1023px) { .l-masthead__nav .is-wide { display: none; } }
@media (max-width: 767px) {
  .l-masthead__in { grid-template-columns: 1fr auto; }
  .c-logo { order: -1; align-items: flex-start; justify-self: start; }
  .c-logo__en, .c-logo__ja { margin-right: 0; }
  .l-masthead__menu { justify-self: end; }
  .l-masthead__nav { display: none; }
  .l-masthead__menu-label { font-size: 13px; }
}

/* ---------- 全面メニュー ---------- */
.c-menu {
  position: fixed; inset: 0; z-index: 150;
  visibility: hidden; pointer-events: none;
}
.c-menu__veil { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .4s var(--ease); }
.c-menu__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(520px, 100%);
  background: var(--paper); overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(-100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column;
}
.c-menu.is-open { visibility: visible; pointer-events: auto; }
.c-menu.is-open .c-menu__veil { opacity: 1; }
.c-menu.is-open .c-menu__panel { transform: none; }
.c-menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); padding: 0 24px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.c-menu__close { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; min-height: 44px; }
.c-menu__x { width: 14px; height: 14px; position: relative; display: inline-block; }
.c-menu__x::before, .c-menu__x::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.c-menu__x::before { transform: rotate(45deg); } .c-menu__x::after { transform: rotate(-45deg); }
.c-menu__list { padding: 24px 24px 8px; }
.c-menu__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-serif); font-weight: 400; font-size: 24px; line-height: 1.4; letter-spacing: .04em;
}
.c-menu__list a small { font-family: var(--f-sans); font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }
.c-menu__list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.c-menu__foot { margin-top: auto; padding: 24px; background: var(--mist); font-size: 13px; line-height: 1.8; }
.c-menu__foot .c-btn { margin-top: 16px; }
body.is-menu-open { overflow: hidden; }

/* ---------- ヒーロー（写真に細明朝） ---------- */
.c-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.c-hero__slides { position: relative; height: 560px; }
@media (min-width: 768px) { .c-hero__slides { height: 600px; } }
@media (min-width: 1200px) { .c-hero__slides { height: 655px; } }
.c-hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.c-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.c-hero__media { position: absolute; inset: 0; }
.c-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-hero__slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%);
}
.c-hero__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: 48px; padding-bottom: 40px;
}
.c-hero__title { max-width: 12.5em; }
.c-hero__lead { max-width: 25em; font-size: 14px; line-height: 1.8; }
.c-hero__lead .c-link { margin-top: 16px; color: #fff; }
.c-hero__ui {
  position: absolute; z-index: 3; right: 16px; bottom: 40px;
  display: flex; align-items: center; gap: 16px; font-size: 13px;
}
@media (min-width: 768px) { .c-hero__ui { right: 32px; } }
@media (min-width: 1360px) { .c-hero__ui { right: max(40px, calc((100% - 1410px) / 2 + 40px)); } } /* 100%＝ヒーロー幅（vw不使用） */
.c-hero__count { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.c-hero__count b { font-weight: 500; }
.c-hero__bar { width: 64px; height: 1px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.c-hero__bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.c-hero__arrow { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: background-color .3s var(--ease); }
.c-hero__arrow:hover { background: rgba(255,255,255,.15); }
.c-hero__arrow svg { width: 12px; height: 12px; }
.c-hero__pause .is-play { display: none; }
.c-hero__pause[aria-pressed="true"] .is-play { display: block; }
.c-hero__pause[aria-pressed="true"] .is-stop { display: none; }
@media (max-width: 767px) {
  .c-hero__slides { height: auto; }
  .c-hero__slide { position: absolute; }
  .c-hero__slide.is-active { position: relative; }
  .c-hero__media { position: relative; height: 300px; }
  .c-hero__slide::after { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 55%); height: 300px; }
  .c-hero__body { position: absolute; inset: 0 0 auto 0; height: 300px; padding-top: 24px; padding-bottom: 0; justify-content: flex-start; }
  .c-hero__lead-wrap { background: var(--paper); color: var(--ink); padding: 24px 16px 64px; }
  .c-hero__lead-wrap .c-link { color: var(--ink); }
  .c-hero__ui { top: 252px; bottom: auto; right: 16px; }
}
@media (min-width: 768px) {
  .c-hero__lead-wrap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 40px; }
}

/* ---------- 近道の列（○＋語） ---------- */
.c-quick { border-bottom: 1px solid var(--line); }
.c-quick__list { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding: 22px 0; }
.c-quick__list a { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; min-height: 32px; }
.c-quick__list a::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; flex-shrink: 0; transition: background-color .3s var(--ease); }
.c-quick__list a:hover::before { background: currentColor; }
@media (max-width: 767px) {
  .c-quick__list { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 0; }
}

/* ---------- 節見出しの行（見出し＋右に下線リンク） ---------- */
.c-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
@media (min-width: 768px) { .c-headrow { margin-bottom: 40px; } }
.c-headrow__lead { max-width: 34em; margin-top: 16px; color: var(--ink-2); font-size: 14px; line-height: 1.9; }

/* ---------- 商品（実績）カード ---------- */
.c-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; align-items: stretch; }
@media (min-width: 768px) { .c-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1360px) { .c-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.c-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  padding: 12px 12px 14px;
}
@media (min-width: 768px) { .c-card { padding: 16px 16px 18px; } }
.c-card__fig { overflow: hidden; margin: -4px -4px 12px; background: var(--paper); }
.c-card__img {
  width: 100%; aspect-ratio: 6 / 7; object-fit: contain; object-position: 50% 55%;
  transform: scale(1); transition: transform .6s var(--ease);
}
.c-card:hover .c-card__img { transform: scale(1.03); }
.c-card__cat { font-size: 12px; color: var(--ink-2); letter-spacing: .06em; margin-bottom: 4px; }
.c-card__title { font-size: 14px; font-weight: 500; line-height: 1.5; }
@media (min-width: 768px) { .c-card__title { font-size: 15px; } }
.c-card__spec { margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.c-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.c-card__more { font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.c-card__more::after { content: " +"; }
.c-card__link { position: absolute; inset: 0; z-index: 1; }
.c-card__link:focus-visible { outline-offset: -2px; }

/* 横送りの列（最近の買取） */
.c-rail { position: relative; }
.c-rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4px) / 1.6); gap: 4px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.c-rail__track::-webkit-scrollbar { display: none; }
.c-rail__track > * { scroll-snap-align: start; }
@media (min-width: 768px) { .c-rail__track { grid-auto-columns: calc((100% - 8px) / 3.2); } }
@media (min-width: 1200px) { .c-rail__track { grid-auto-columns: calc((100% - 12px) / 4.2); } }
.c-rail__btn {
  position: absolute; top: 38%; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; transition: opacity .3s var(--ease);
}
.c-rail__btn--prev { left: 8px; } .c-rail__btn--next { right: 8px; }
.c-rail__btn[disabled] { opacity: 0; pointer-events: none; }
.c-rail__btn svg { width: 14px; height: 14px; }
@media (max-width: 767px) { .c-rail__btn { display: none; } }

/* ---------- 写真に見出しを重ねた大判カード ---------- */
.c-feature { position: relative; display: block; color: #fff; overflow: hidden; background: var(--night); }
.c-feature__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform .8s var(--ease); }
.c-feature:hover .c-feature__img { transform: scale(1.02); }
.c-feature::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
}
.c-feature__top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 32px; }
.c-feature__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 32px; }
.c-feature__bottom p { max-width: 26em; font-size: 14px; line-height: 1.8; }
.c-feature__bottom .c-link { margin-top: 14px; }
@media (max-width: 767px) { .c-feature__top, .c-feature__bottom { padding: 20px; } }

/* ---------- 左右分割（文｜写真） ---------- */
.c-split { display: grid; grid-template-columns: minmax(0, 1fr); }
.c-split__text { padding: 48px 16px; align-self: center; }
.c-split__media { overflow: hidden; }
.c-split__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.c-split__text .t-h2 { margin-bottom: 24px; }
.c-split__text .c-link, .c-split__text .c-btn { margin-top: 28px; }
@media (min-width: 768px) {
  .c-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; }
  /* 左列の右端（画面の中心）から 705px＝コンテナの半分。これでコンテナの左端と揃う（vw を使わない） */
  .c-split__text { width: 100%; max-width: 705px; justify-self: end; padding: 64px 56px 64px 32px; }
  .c-split--rev .c-split__text { order: 2; justify-self: start; padding: 64px 32px 64px 56px; }
  .c-split__media img { min-height: 100%; }
}
@media (min-width: 1360px) {
  .c-split__text { padding-left: 40px; }
  .c-split--rev .c-split__text { padding-left: 56px; padding-right: 40px; }
}

/* ---------- 縦ステッパー ---------- */
.c-steps { display: grid; gap: 0; }
.c-steps__item { display: grid; grid-template-columns: 48px 1fr; column-gap: 24px; }
.c-steps__rail { display: flex; flex-direction: column; align-items: center; }
.c-steps__dot {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Inter", sans-serif; font-size: 13px; color: var(--ink-4);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.c-steps__line { width: 1px; flex: 1; min-height: 32px; background: var(--line-2); }
.c-steps__item:last-child .c-steps__line { display: none; }
.c-steps__body { padding: 10px 0 40px; }
.c-steps__title { transition: color .4s var(--ease); color: var(--ink-4); }
.c-steps__text { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--ink-2); max-width: 30em; }
.c-steps__item.is-done .c-steps__dot, .c-steps__item.is-active .c-steps__dot { background: var(--green); border-color: var(--green); color: #fff; }
.c-steps__item.is-done .c-steps__title, .c-steps__item.is-active .c-steps__title { color: var(--ink); }
.c-steps__btn { text-align: left; width: 100%; display: block; }
@media (max-width: 767px) {
  .c-steps__item { grid-template-columns: 32px 1fr; column-gap: 16px; }
  .c-steps__dot { width: 32px; height: 32px; font-size: 12px; }
  .c-steps__body { padding: 4px 0 28px; }
}

/* ---------- FAQ（アコーディオン） ---------- */
.c-faq { display: grid; gap: 32px; }
@media (min-width: 768px) { .c-faq { grid-template-columns: repeat(23, minmax(0, 1fr)); gap: 0; } .c-faq__head { grid-column: 1 / 10; } .c-faq__list { grid-column: 12 / 24; } }
.c-acc { border-bottom: 1px solid var(--line); }
.c-acc:first-child { border-top: 1px solid var(--line); }
.c-acc__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  text-align: left; padding: 20px 0; font-size: 14.5px; font-weight: 500; line-height: 1.7;
}
.c-acc__icon { position: relative; flex-shrink: 0; width: 14px; height: 14px; margin-top: 6px; }
.c-acc__icon::before, .c-acc__icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.c-acc__icon::after { transform: rotate(90deg); }
.c-acc.is-open .c-acc__icon::after { transform: rotate(180deg); opacity: 0; }
.c-acc.is-open .c-acc__icon::before { transform: rotate(180deg); }
.c-acc__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.c-acc.is-open .c-acc__a { max-height: var(--max-height, 800px); }
.c-acc__a-in { padding: 0 38px 24px 0; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.c-acc__a-in p + p { margin-top: .8em; }

/* ---------- 査定書（台帳） ---------- */
.c-ledger { background: var(--taupe-3); border: 1px solid var(--line-2); padding: 24px 20px; }
@media (min-width: 768px) { .c-ledger { padding: 32px 36px; } }
.c-ledger__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.c-ledger__title { font-family: var(--f-serif); font-weight: 400; font-size: 18px; letter-spacing: .4em; }
.c-ledger__meta { font-size: 12px; color: var(--ink-2); }
.c-ledger__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.c-ledger__label { font-size: 14px; font-weight: 500; }
.c-ledger__note { grid-column: 1 / 2; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.c-ledger__amt { grid-column: 2; grid-row: 1 / span 2; font-family: "Inter", sans-serif; font-variant-numeric: tabular-nums; font-size: 14px; letter-spacing: 0; text-align: right; white-space: nowrap; align-self: center; }
.c-ledger__amt.is-minus { color: var(--ink-2); }
.c-ledger__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; flex-wrap: wrap; }
.c-ledger__total-label { font-size: 13px; font-weight: 500; }
.c-ledger__total-amt { font-family: var(--f-latin); font-style: italic; font-size: 32px; line-height: 1.1; letter-spacing: 0; }
@media (min-width: 768px) { .c-ledger__total-amt { font-size: 40px; } }
.c-ledger__foot { margin-top: 14px; font-size: 12px; color: var(--ink-2); line-height: 1.7; }

/* ---------- フォーム ---------- */
.c-field { display: grid; gap: 8px; }
.c-field + .c-field { margin-top: 20px; }
.c-label { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.c-req { font-size: 12px; font-weight: 500; color: var(--red); letter-spacing: .04em; }
.c-input, .c-select, .c-textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line-3); border-radius: 0;
  font-size: 16px; line-height: 1.5;
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s var(--ease);
}
.c-textarea { min-height: 140px; resize: vertical; }
.c-input:focus, .c-select:focus, .c-textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); transition: none; }
.c-select {
  padding-right: 40px; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.c-select option { color: #000; background: #fff; }
.c-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; cursor: pointer; min-height: 32px; }
.c-check input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 0; margin: 2px 0 0; flex-shrink: 0; background: var(--paper) center / 12px no-repeat; cursor: pointer; }
.c-check input:checked { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E"); }
.c-check input[type="radio"] { border-radius: 50%; }
.c-check input[type="radio"]:checked { background-image: none; box-shadow: inset 0 0 0 4px var(--paper); }
.c-error { font-size: 12.5px; color: var(--red); }
.c-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* 選択肢の列（査定・絞り込みの角ボタン） */
.c-choice { display: flex; flex-wrap: wrap; gap: 4px; }
.c-choice label { position: relative; }
.c-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.c-choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--line-2); background: var(--paper); font-size: 13.5px; line-height: 1.4;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.c-choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.c-choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.c-choice label:hover span { border-color: var(--ink); }

/* ---------- 引用（お客様の声） ---------- */
.c-quote { text-align: center; max-width: 780px; margin: 0 auto; }
.c-quote__text { font-family: var(--f-serif); font-weight: 400; font-size: 20px; line-height: 1.9; letter-spacing: .04em; }
@media (min-width: 768px) { .c-quote__text { font-size: 24px; } }
.c-quote__who { margin-top: 24px; font-size: 13px; font-weight: 500; }
.c-quote__who small { display: block; font-weight: 400; color: var(--ink-2); margin-top: 2px; }

/* ---------- 表（仕様・会社概要） ---------- */
.c-table { width: 100%; font-size: 14px; line-height: 1.8; }
.c-table th, .c-table td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.c-table tr:first-child th, .c-table tr:first-child td { border-top: 1px solid var(--line); }
.c-table th { width: 28%; font-weight: 500; padding-right: 24px; }
@media (max-width: 767px) { .c-table th { width: 34%; } }

/* ---------- パンくず ---------- */
.c-crumbs { font-size: 12px; color: var(--ink-2); padding: 16px 0; }
.c-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.c-crumbs li + li::before { content: "・"; margin-right: 6px; }
.c-crumbs a { text-decoration: underline; text-underline-offset: 3px; }

/* ページ冒頭の見出し帯（写真の上に白文字） */
.c-pagehead { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.c-pagehead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-pagehead::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.05) 80%); }
.c-pagehead__in { position: relative; z-index: 2; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 24px; padding-bottom: 40px; }
@media (min-width: 768px) { .c-pagehead__in { min-height: 380px; padding-bottom: 48px; } }
.c-pagehead .c-crumbs { color: rgba(255,255,255,.8); padding: 0; margin-bottom: auto; }
.c-pagehead__lead { margin-top: 16px; max-width: 32em; font-size: 14px; line-height: 1.9; }
/* 写真のない冒頭（白地） */
.c-pagehead--plain { background: var(--paper); color: var(--ink); }
.c-pagehead--plain::before { display: none; }
.c-pagehead--plain .c-crumbs { color: var(--ink-2); }
.c-pagehead--plain .c-pagehead__in { min-height: 0; padding-top: 16px; padding-bottom: 48px; }

/* ---------- 注記の帯（価格の注意など） ---------- */
.c-note { font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }

/* ---------- フッター ---------- */
.l-footer { border-top: 1px solid var(--line); background: var(--paper); font-size: 13px; }
.l-footer__grid { display: grid; gap: 40px; padding: 56px 0 40px; }
@media (min-width: 768px) {
  .l-footer__grid { grid-template-columns: repeat(23, minmax(0, 1fr)); gap: 0; }
  .l-footer__brand { grid-column: 1 / 9; }
  .l-footer__col:nth-of-type(2) { grid-column: 10 / 14; }
  .l-footer__col:nth-of-type(3) { grid-column: 15 / 19; }
  .l-footer__col:nth-of-type(4) { grid-column: 20 / 24; }
}
.l-footer__brand .c-logo { align-items: flex-start; }
.l-footer__brand .c-logo__en, .l-footer__brand .c-logo__ja { margin-right: 0; }
.l-footer__addr { margin-top: 24px; line-height: 1.9; color: var(--ink-2); }
.l-footer__addr a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.l-footer__addr a { position: relative; }
.l-footer__addr a::before { content: ""; position: absolute; inset: -9px -4px; }
.l-footer__h { font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.l-footer__col li + li { margin-top: 8px; }
.l-footer__open { display: block; font-size: 12px; color: var(--ink-2); margin-top: 1px; }
.l-footer__open.is-open::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: 1px; }
.l-footer__col a { color: var(--ink-2); transition: color .3s var(--ease); }
.l-footer__col a:hover { color: var(--ink); }
.l-footer__sns { display: flex; gap: 4px; margin-top: 16px; margin-left: -10px; }
.l-footer__sns a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.l-footer__sns svg { width: 20px; height: 20px; }
.l-footer__foot { border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: var(--ink-2); }
@media (max-width: 767px) { .l-footer { padding-bottom: var(--sp-bar-h); } }

/* ---------- SP 下部固定バー ---------- */
.c-spbar { display: none; }
@media (max-width: 767px) {
  .c-spbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: calc(var(--sp-bar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--ink); color: #fff;
  }
  .c-spbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; letter-spacing: .04em; line-height: 1.3; }
  .c-spbar a + a { border-left: 1px solid rgba(255,255,255,.2); }
  .c-spbar svg { width: 18px; height: 18px; }
}

/* ---------- 撮影モード（?shot=1） ---------- */
html.is-shot .l-header { position: relative; transform: none !important; }
html.is-shot .c-spbar { display: none !important; }
