/* ============================================
   コーティングナビ モックデモ
   デザイン: A案(清潔・信頼)ベース + B案ヒーロー(艶・高級感)
   トークン: 8px基準 / 青系 / コーラルは店舗掲載CTA専用
   ============================================ */

:root {
  /* color */
  --navy-950: #081A38;
  --navy-900: #0D2B5C;
  --navy-800: #133A75;
  --blue-700: #1E4FA3;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --cyan-400: #38BDF8;
  --bg: #F4F8FC;
  --bg-alt: #E9F1F9;
  --surface: #FFFFFF;
  --ink: #16273F;
  --muted: #5B6B82;
  --line: #DCE6F2;
  --accent: #FF6A3D;      /* 店舗掲載CTA専用 */
  /* WHY: 旧 #E8501F は白文字で 3.75:1 と本文基準 4.5 に届かない。#CE3F14 で 4.82:1 */
  --accent-deep: #CE3F14;
  /* WHY: 旧 #F5A623 は白地で 2.03:1。星は装飾でなく判断材料なので
     non-text contrast 3:1 を満たす濃さが要る（#C47500 = 3.58:1） */
  --star: #C47500;
  /* shape */
  --radius-card: 12px;
  --radius-btn: 8px;
  /* WHY: 影は2種・光源1系統に固定。以前は12種・4系統あり、物理的にありえない
     光の当たり方になっていた。基準色は --navy-950 系に統一する */
  --shadow-card: 0 1px 3px rgba(8, 26, 56, .07);
  /* WHY: 以前ここが var(--shadow-hover) の自己参照になっていた。自己参照する
     カスタムプロパティは「保証された無効値」に解決されるため、この変数を使う
     13 箇所の hover 影が全て描画されていなかった（カードは浮くのに影が出ない）。
     --shadow-card と同じ光源・同じ基準色で、一段強いだけの値にする */
  --shadow-hover: 0 6px 20px rgba(8, 26, 56, .12);
  /* タイプスケール7段。半端な .5px 刻みは「目視で都度いじった痕跡」なので廃止 */
  --fs-xs: 12px; --fs-sm: 14px; --fs-base: 16px; --fs-lg: 20px;
  --fs-xl: 26px; --fs-2xl: 34px; --fs-3xl: 46px;
  /* layout */
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-card); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: .02em;
}
.brand svg,
.brand__mark { flex-shrink: 0; }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 28px; }
.gnav .nav-cta-sp { display: none; }
.gnav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.gnav a:hover { color: var(--blue-600); border-bottom-color: var(--blue-600); }

.header-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
  border-radius: var(--radius-btn);
  padding: 9px 16px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.header-cta:hover { background: var(--navy-900); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  transition: transform .25s, opacity .25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (B案: 艶・高級感) ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 55%, #123B7A 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-after.webp");
  background-size: cover;
  background-position: center right;
  opacity: .55;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(8, 26, 56, .92) 0%, rgba(8, 26, 56, .55) 45%, rgba(8, 26, 56, .15) 100%);
}
.hero-inner {
  position: relative;
  padding: 88px 24px 120px; /* 左右は .container と同値（shorthand上書き対策） */
}
.hero-copy h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .03em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.hero-copy p {
  margin-top: 18px;
  font-size: 16px;
  color: #D7E4F7;
  max-width: 460px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 32px;
}
.hero-stats .stat { display: flex; align-items: center; gap: 10px; }
.hero-stats .stat svg { flex-shrink: 0; }
.hero-stats .num {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
}
.hero-stats .label { font-size: 12px; color: #A9C1E4; display: block; line-height: 1.4; }
.hero-stats .note { font-size: 12px; color: #7E97BC; align-self: flex-end; }

/* 検索パネル */
.search-panel {
  position: relative;
  margin-top: -64px;
  z-index: 5;
}
.search-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  padding: 28px;
}
.search-card .search-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.search-form {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1.2fr auto;
  gap: 12px;
  align-items: center;
}
.search-form .x {
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}
.field { position: relative; }
.field select,
.field input[type="text"] {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 0 14px 0 40px;
  font-size: 14px;
  color: var(--ink);
  background: #FBFDFF;
  appearance: none;
  font-family: inherit;
}
.field select:focus,
.field input:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 1px;
  border-color: var(--blue-500);
}
.field .field-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-600);
  pointer-events: none;
  display: flex;
}
.field::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field.is-text::after { display: none; }

.search-btn {
  height: 52px;
  padding: 0 34px;
  border: 0;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: filter .2s, transform .15s;
}
.search-btn:hover { filter: brightness(1.12); }
.search-btn:active { transform: scale(.98); }

/* ---------- section 共通 ---------- */
.section { padding: 72px 0 0; }
.section:last-of-type { padding-bottom: 72px; }
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: .04em;
}
.section-head .en {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-head .lead { margin-top: 10px; font-size: 14px; color: var(--muted); }
.section-more { text-align: center; margin-top: 28px; }
.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-more:hover { text-decoration: underline; }

.badge-demo {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 99px;
  padding: 2px 10px;
  vertical-align: middle;
  margin-left: 8px;
}

/* ---------- 悩みから探す ---------- */
.concerns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.concern-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 16px 22px;
  text-align: center;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.concern-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--blue-500);
}
.concern-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
}
.concern-card .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.concern-card .t::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--blue-600);
  border-top: 2px solid var(--blue-600);
  transform: rotate(45deg);
}

/* ---------- 店舗カード ---------- */
.shops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shop-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.shop-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.shop-photo {
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
  overflow: hidden;
}
.shop-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shop-card:hover .shop-photo img { transform: scale(1.04); }
.shop-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-name { font-size: 16px; font-weight: 600; color: var(--navy-900); }
.shop-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
/* WHY: 5枠を必ず描き、塗りを % で表現する。以前は round() で★を repeat していたため
   4.4→★4個 / 4.5→★5個 と情報が丸められ、列の長さも不揃いで比較できなかった */
.stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}
.stars__base { color: #D3DEEC; }
.stars__fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: var(--star);
}
.rating-num { color: var(--star); font-weight: 800; font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 3px 9px;
}
.shop-price { font-size: 12px; color: var(--muted); margin-top: auto; }
.shop-price strong { font-size: 16px; color: var(--ink); font-weight: 800; margin-left: 6px; }
.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border: 1.5px solid var(--blue-600);
  border-radius: var(--radius-btn);
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--blue-600); color: #fff; }

/* ---------- 施工事例 ---------- */
.section--cases { background: var(--bg-alt); padding-bottom: 72px; margin-top: 72px; }
.section--cases .section-head { padding-top: 72px; }
.cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s, transform .25s;
}
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.case-photo { position: relative; aspect-ratio: 4 / 3; background: var(--navy-900); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-photo .ba {
  position: absolute;
  top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(8, 26, 56, .8);
  border-radius: 8px;
  padding: 2px 8px;
}
.case-photo .ba.before { left: 10px; }
.case-photo .ba.after { right: 10px; background: var(--blue-600); }
.case-photo .divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, .85);
}
.case-body { padding: 14px 16px 16px; }
.case-body .car { font-size: 14px; font-weight: 600; color: var(--ink); }
.case-body .desc { font-size: 12px; color: var(--muted); margin-top: 4px; }
.case-body .tag { display: inline-block; margin-top: 8px; }

/* ---------- ランキング ---------- */
.ranking {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rank-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  transition: box-shadow .25s, transform .25s;
}
.rank-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.rank-medal {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.rank-1 .rank-medal { background: linear-gradient(135deg, #F7C948, #E8A506); box-shadow: var(--shadow-card); }
.rank-2 .rank-medal { background: linear-gradient(135deg, #C4CDD8, #97A4B4); }
.rank-3 .rank-medal { background: linear-gradient(135deg, #D9976B, #B06A3B); }
.rank-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-900);
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { min-width: 0; }
/* WHY: span のままだと display:inline で全部つながり、店名が単語の途中で折り返す */
.rank-info .area,
.rank-info .name,
.rank-info .score { display: block; }
.rank-info .area { font-size: 12px; color: var(--muted); }
.rank-info .name { font-size: 14px; font-weight: 600; color: var(--navy-900); line-height: 1.4; }
.rank-info .score { font-size: 12px; margin-top: 2px; }
.ranking-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }

/* ---------- 口コミ ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-head { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-head .who { font-size: 12px; font-weight: 600; }
.review-head .when { font-size: 12px; color: var(--muted); display: block; font-weight: 400; }
.review-body { font-size: 14px; color: var(--ink); }
.review-shop { font-size: 12px; color: var(--blue-600); font-weight: 600; margin-top: auto; }

/* ---------- 選び方 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 24px 26px;
  text-align: center;
}
.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { color: var(--blue-600); margin-bottom: 12px; display: flex; justify-content: center; }
.step-card h3 { font-size: 16px; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.step-card p { font-size: 12px; color: var(--muted); }

/* ---------- 店舗掲載CTA (コーラル・一般導線と分離) ---------- */
.listing-cta {
  margin-top: 72px;
  background: var(--accent-deep);
  color: #fff;
}
.listing-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 56px 24px; /* 左右は .container と同値（shorthand上書き対策） */
}
.listing-copy { flex: 1; }
.listing-copy h2 { font-size: 26px; font-weight: 800; letter-spacing: .03em; }
.listing-copy p { margin-top: 12px; font-size: 14px; color: #fff; max-width: 520px; }
.listing-points { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.listing-points li {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.listing-points li::before {
  content: "✓";
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-listing {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-btn);
  padding: 18px 36px;
  box-shadow: var(--shadow-hover);
  transition: transform .2s, box-shadow .2s;
}
.btn-listing:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #C4D4EC;
  padding: 56px 0 0;
  font-size: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 12px; color: #8FA6C6; max-width: 260px; }
.footer-col h3 {
  font-size: 12px;
  font-weight: 600;
  color: #7E97BC;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #7E97BC;
}

/* ---------- toast / reveal ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--navy-900);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 12px 22px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 200;
  max-width: calc(100vw - 40px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* JS が動く環境でのみ初期非表示にする（JS無効時は常に表示） */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .gnav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-hover);
    display: none;
    padding: 8px 0 16px;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { display: block; padding: 14px 24px; border-bottom: 0; font-size: 14px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .gnav .nav-cta-sp { display: block; padding: 10px 24px 0; }
  .gnav .nav-cta-sp a {
    border: 1.5px solid var(--accent-deep);
    color: var(--accent-deep);
    border-radius: var(--radius-btn);
    text-align: center;
    font-weight: 600;
  }

  .search-form { grid-template-columns: 1fr; }
  .search-form .x { display: none; }
  .search-btn { justify-content: center; }

  .concerns { grid-template-columns: repeat(2, 1fr); }
  .shops { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .ranking { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .reviews { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; row-gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing-inner { flex-direction: column; text-align: center; align-items: center; }
  .listing-copy p { margin-inline: auto; }
  .listing-points { justify-content: center; }
}

@media (max-width: 640px) {
  .hero-inner { padding: 56px 24px 96px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stats .num { font-size: 16px; }
  .section { padding-top: 56px; }
  .section-head h2 { font-size: 20px; }
  .concerns { gap: 12px; }
  .concern-card { padding: 20px 10px 16px; }
  .concern-icon { width: 60px; height: 60px; }
  .cases { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .search-card { padding: 20px; }
  .listing-copy h2 { font-size: 20px; }
}

/* ============================================
   WordPress 化に伴う追加分
   ============================================ */

/* スクリーンリーダー専用ラベル（検索パネルの select/input 用） */
.cn-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* アイキャッチ未設定時のプレースホルダ。カードの高さを揃えて崩れを防ぐ */
.cn-noimage {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-700));
}

/* PR（有料掲載枠）ラベル。通常順位と視覚的に区別する */
.shop-photo { position: relative; }
.pr-label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(8, 26, 56, .82);
  border-radius: 8px;
  padding: 2px 8px;
}

/* WP が出力する画像は width/height 属性を持つため、比率固定を明示する */
.shop-photo img,
.case-photo img,
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 管理バー表示時に sticky ヘッダーが隠れないようにする */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ============================================
   検索結果一覧
   ============================================ */

.page-head {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 28px 0 30px;
}
.page-head h1 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; letter-spacing: .03em; }
.breadcrumb { font-size: 12px; color: #A9C1E4; margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #CFE0F7; }
.breadcrumb a:hover { text-decoration: underline; }

/* 検索ページは検索パネルの浮き上がりを弱める（ヒーローが無いため） */
.page-head + .search-panel { margin-top: 0; padding-top: 24px; }
.page-head + .search-panel .search-card { box-shadow: var(--shadow-card); border: 1px solid var(--line); }

.search-layout__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.search-sidebar { position: sticky; top: 92px; }

/* ---- 絞り込みパネル ---- */
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
}
.filter-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filter-panel__head h2 { font-size: 16px; font-weight: 800; color: var(--navy-900); }
.filter-close { display: none; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); width: 44px; height: 44px; }

.filter-group { padding: 14px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group h3 { font-size: 12px; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.filter-group select {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #FBFDFF;
}
.filter-group select:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; }
.filter-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

.filter-checks li { margin-bottom: 8px; }
.filter-checks label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; min-height: 28px; }
.filter-checks input { width: 18px; height: 18px; accent-color: var(--blue-600); }

.filter-actions { padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.btn-filter-apply {
  height: 46px;
  border: 0;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.btn-filter-apply:hover { filter: brightness(1.12); }
.btn-filter-reset { text-align: center; font-size: 12px; color: var(--muted); text-decoration: underline; }
.btn-filter-reset:hover { color: var(--blue-600); }

/* ---- 条件チップ ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--bg-alt);
  border: 1px solid #C8DCF2;
  border-radius: 99px;
  padding: 6px 12px;
  transition: background .2s, border-color .2s;
}
.chip:hover { background: #DCEAFA; border-color: var(--blue-500); }
.chip__x { font-size: 14px; line-height: 1; color: var(--muted); }
.chip--reset { color: var(--muted); background: transparent; border-style: dashed; }

/* ---- 件数バー ---- */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.results-count { font-size: 14px; color: var(--muted); }
.results-count strong { font-size: 20px; font-weight: 800; color: var(--navy-900); margin-right: 2px; }
.results-tools { display: flex; align-items: center; gap: 10px; }
.sort-form select {
  height: 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
}
.btn-filter-open {
  display: none;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--blue-600);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 600;
}

/* ---- 横長店舗カード ---- */
.shop-list { display: grid; gap: 16px; }
.shop-card--list {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.shop-card--list:hover { box-shadow: var(--shadow-hover); border-color: #C8DCF2; transform: none; }
.shop-card--list__photo {
  position: relative;
  /* WHY: aspect-ratio だと写真がカード高に追従せず、下に 123px の白い穴が空く
     （実測: カード288px / 写真165px）。横長カードは高さ100%で埋めるのが正しい */
  height: 100%;
  min-height: 180px;
  background: var(--navy-900);
  overflow: hidden;
}
.shop-card--list__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shop-card--list:hover .shop-card--list__photo img { transform: scale(1.04); }
.shop-card--list__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; }
.shop-card--list .shop-name { font-size: 16px; }
.shop-excerpt { font-size: 12px; color: var(--muted); }
.shop-area { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); }

.shop-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-flags li {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-800);
  border: 1px solid #C8DCF2;
  border-radius: 8px;
  padding: 2px 8px;
}
.shop-card--list__foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.shop-card--list__foot .shop-price { margin-top: 0; }
.shop-card--list__foot .btn-outline { padding: 0 20px; min-width: 168px; }
.shop-price--none { font-size: 12px; color: var(--muted); }

/* ---- ページネーション ---- */
.pagination { margin-top: 32px; }
.pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination li > .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination li > a.page-numbers:hover { background: var(--bg-alt); border-color: var(--blue-500); color: var(--blue-700); }
.pagination li > .page-numbers.current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pagination li > .page-numbers.dots { border-color: transparent; background: transparent; }

/* ---- 0件時 ---- */
.no-results {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px 24px;
  text-align: center;
}
.no-results__title { font-size: 16px; font-weight: 800; color: var(--navy-900); }
.no-results__lead { font-size: 14px; color: var(--muted); margin-top: 8px; }
.no-results__relax { margin-top: 20px; display: grid; gap: 8px; justify-content: center; }
.no-results__relax a { font-size: 14px; font-weight: 600; color: var(--blue-600); }
.no-results__relax a:hover { text-decoration: underline; }
.alt-shops { margin-top: 40px; }
.alt-shops h2 { font-size: 16px; font-weight: 800; color: var(--navy-900); text-align: center; margin-bottom: 20px; }

@media (max-width: 960px) {
  .search-layout__inner { grid-template-columns: 1fr; }
  .btn-filter-open { display: inline-flex; }

  /* SP はボトムシート化。閉じている間は完全に画面外へ逃がす */
  .search-sidebar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 150;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: 16px 16px 0 0;
    box-shadow: var(--shadow-hover);
    transform: translateY(101%);
    transition: transform .3s ease;
    visibility: hidden;
  }
  .search-sidebar.is-open { transform: translateY(0); visibility: visible; }
  .filter-panel { border: 0; border-radius: 0; padding: 20px 20px 32px; }
  .filter-panel__head { position: sticky; top: 0; background: var(--surface); padding-bottom: 12px; z-index: 1; }
  .filter-close { display: block; }

  .filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(8, 26, 56, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s;
  }
  .filter-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 640px) {
  .shop-card--list { grid-template-columns: 1fr; }
  .shop-card--list__photo { aspect-ratio: 16 / 9; }
  .shop-card--list__foot .btn-outline { min-width: 0; flex: 1; }
  .results-bar { align-items: flex-start; }
  .results-tools { width: 100%; justify-content: space-between; }
  .sort-form select { max-width: 190px; }
}

/* ============================================
   店舗詳細
   ============================================ */

.page-head--shop { padding: 16px 0; }
.shop-detail { padding: 32px 0 96px; }
.shop-detail__inner { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

/* ---- ギャラリー ---- */
.gallery__main {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--navy-900);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb {
  width: 84px;
  height: 62px;
  flex-shrink: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-900);
  opacity: .65;
  transition: opacity .2s, border-color .2s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--blue-600); }

/* ---- 見出し ---- */
.shop-head { margin-top: 24px; }
.shop-head h1 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; color: var(--navy-900); line-height: 1.4; }
.shop-head .shop-meta { margin-top: 10px; }
.shop-hours { color: var(--muted); }

.strength { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.strength li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--bg-alt);
  border: 1px solid #C8DCF2;
  border-radius: 99px;
  padding: 7px 14px;
}
.strength svg { color: var(--blue-600); }

/* ---- アンカーナビ ---- */
.anchor-nav {
  position: sticky;
  top: 68px;
  z-index: 20;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 28px 0 0;
  padding: 4px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.admin-bar .anchor-nav { top: 100px; }
.anchor-nav a {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.anchor-nav a:hover { color: var(--blue-600); border-bottom-color: var(--blue-600); }

/* ---- セクション ---- */
.shop-section { padding-top: 44px; scroll-margin-top: 130px; }
.shop-section h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  padding-left: 12px;
  border-left: 4px solid var(--blue-600);
  margin-bottom: 16px;
}
.section-note { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.shop-body p { margin-bottom: 1em; }
.shop-body p:last-child { margin-bottom: 0; }

/* ---- 料金表 ---- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--bg-alt); font-size: 12px; font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.price-table thead th:not(:first-child), .price-table td { text-align: right; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { font-weight: 400; }
.plan-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.plan-included { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.plan-inc { font-size: 12px; color: var(--blue-700); background: var(--bg-alt); border-radius: 8px; padding: 2px 7px; }
.plan-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.price-table td { font-size: 14px; font-weight: 600; color: var(--navy-900); white-space: nowrap; }

/* ---- 口コミサマリ ---- */
.review-summary {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.review-summary__score { text-align: center; }
.review-summary__score .num { display: block; font-size: 34px; font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.review-summary__score .cnt { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.review-summary__bars li { display: grid; grid-template-columns: 32px 1fr 32px; gap: 10px; align-items: center; margin-bottom: 6px; }
.review-summary__bars .lbl { font-size: 12px; color: var(--muted); }
.review-summary__bars .cnt { font-size: 12px; color: var(--muted); text-align: right; }
.review-summary__bars .bar { height: 8px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.review-summary__bars .bar span { display: block; height: 100%; background: var(--star); border-radius: 99px; }

/* ---- アクセス ---- */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 16 / 7;
  border: 2px dashed var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-alt);
  color: var(--muted);
  margin-bottom: 16px;
}
.map-placeholder p { font-size: 12px; }

.info-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.info-table th, .info-table td { padding: 13px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.info-table th { width: 120px; background: var(--bg-alt); font-weight: 600; color: var(--navy-900); font-size: 12px; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.demo-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---- 問い合わせカード（PC 追従） ---- */
.shop-detail__side { position: sticky; top: 92px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px;
  text-align: center;
}
.contact-card__lead { font-size: 14px; font-weight: 800; color: var(--navy-900); }
.contact-card__rating { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.contact-card__price { font-size: 12px; color: var(--muted); margin-top: 8px; }
.contact-card__price strong { font-size: 20px; color: var(--ink); font-weight: 800; margin-left: 4px; }
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 16px;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: filter .2s;
}
.btn-primary:hover { filter: brightness(1.12); }
.btn-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  margin-top: 10px;
  border: 1.5px solid var(--navy-900);
  border-radius: var(--radius-btn);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 600;
}
.btn-tel:hover { background: var(--navy-900); color: #fff; }
.contact-card__note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---- SP 追従CTA ---- */
.sp-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 120;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.sp-cta__tel, .sp-cta__main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
}
.sp-cta__tel { flex: 0 0 34%; border: 1.5px solid var(--navy-900); color: var(--navy-900); }
.sp-cta__main { flex: 1; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: #fff; }

@media (max-width: 960px) {
  .shop-detail__inner { grid-template-columns: 1fr; }
  .shop-detail__side { display: none; }
  .shop-detail { padding-bottom: 96px; }
  .sp-cta { display: flex; }
  .review-summary { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .anchor-nav { top: 68px; }
  .shop-section { scroll-margin-top: 118px; }
  .info-table th { width: 92px; }
}

/* ============================================
   掲載申込LP（店舗向け）
   ============================================ */

.container--narrow { max-width: 780px; }

.lp-hero {
  background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-900) 60%, #16407F 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.lp-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.22), transparent 70%);
}
.lp-hero__inner { position: relative; display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.lp-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 99px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.lp-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.4; letter-spacing: .02em; }
.lp-hero__lead { margin-top: 18px; font-size: 14px; color: #D7E4F7; max-width: 560px; }
.lp-hero__actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.lp-hero__sub { font-size: 14px; font-weight: 600; color: #A9C1E4; text-decoration: underline; }
.lp-hero__sub:hover { color: #fff; }

.lp-stats { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-card); padding: 20px 22px; }
.lp-stats li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.lp-stats li:last-of-type { border-bottom: 0; }
.lp-stats .num { display: block; font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.lp-stats .lbl { font-size: 12px; color: #A9C1E4; }
.lp-stats .note { font-size: 12px; color: #7E97BC; border-bottom: 0; padding-top: 4px; }

/* ---- メリット ---- */
.merits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.merit-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
}
.merit-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.merit-card h3 { font-size: 16px; font-weight: 800; color: var(--navy-900); margin-bottom: 10px; }
.merit-card p { font-size: 14px; color: var(--muted); }

/* ---- 掲載イメージ ---- */
.preview-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.preview-card__shot { aspect-ratio: 16 / 10; border-radius: var(--radius-btn); overflow: hidden; background: var(--navy-900); }
.preview-card__shot img { width: 100%; height: 100%; object-fit: cover; }
.preview-card__body h3 { font-size: 20px; font-weight: 800; color: var(--navy-900); margin-bottom: 14px; }
.preview-card__points { display: grid; gap: 9px; margin-bottom: 20px; }
.preview-card__points li { position: relative; font-size: 14px; color: var(--ink); padding-left: 24px; }
.preview-card__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-card__body .btn-outline { max-width: 220px; }

/* ---- ロードマップ ---- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.roadmap__item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 22px;
}
.roadmap__item.is-now { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.roadmap__phase {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue-600);
  margin-bottom: 10px;
}
.roadmap__badge { font-size: 12px; font-weight: 600; color: #fff; background: var(--blue-600); border-radius: 99px; padding: 2px 8px; letter-spacing: .04em; }
.roadmap__item h3 { font-size: 16px; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; }
.roadmap__item p { font-size: 12px; color: var(--muted); }
/* 矢印コネクタ（PCのみ） */
.roadmap__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--line);
  border-top: 2px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}

/* ---- 4ステップ ---- */
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- 申込フォーム ---- */
.lp-apply { background: var(--bg-alt); padding-bottom: 72px; margin-top: 72px; }
.lp-apply .section-head { padding-top: 72px; }
.apply-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.apply-field--wide { grid-column: 1 / -1; }
.apply-field label { display: block; font-size: 12px; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.apply-field .req { font-size: 12px; font-weight: 600; color: #fff; background: var(--accent-deep); border-radius: 8px; padding: 2px 6px; margin-left: 6px; vertical-align: 1px; }
.apply-field input, .apply-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #FBFDFF;
}
.apply-field input { height: 50px; }
.apply-field input:focus, .apply-field textarea:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: var(--blue-500); }
.apply-field.has-error input, .apply-field.has-error textarea { border-color: var(--accent-deep); background: #FFF6F3; }
.apply-error { display: block; font-size: 12px; font-weight: 600; color: var(--accent-deep); margin-top: 5px; }
.apply-note { font-size: 12px; color: var(--muted); margin-top: 20px; }
.apply-note a { color: var(--blue-600); text-decoration: underline; }
.apply-demo { font-size: 12px; color: var(--muted); margin-top: 6px; }
.btn-listing--full { width: 100%; justify-content: center; margin-top: 18px; border: 0; font-family: inherit; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 18px; font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .lp-hero__inner { grid-template-columns: 1fr; }
  .merits { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .preview-card { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .roadmap__item:not(:last-child)::after { right: 50%; top: auto; bottom: -14px; transform: translateX(50%) rotate(135deg); }
  .steps--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-hero { padding: 44px 0 52px; }
  .apply-grid { grid-template-columns: 1fr; }
  .apply-form { padding: 22px; }
  .steps--4 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ============================================
   施工事例 / 口コミ アーカイブ
   ============================================ */

.tab-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.tab-filter__item {
  flex-shrink: 0;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.tab-filter__item:hover { color: var(--blue-600); border-color: var(--blue-500); }
.tab-filter__item.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.section > .container > .results-count { margin-bottom: 18px; }
.cases--archive { grid-template-columns: repeat(4, 1fr); }

/* ---- 施工事例 詳細 ---- */
.case-detail__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--navy-900);
}
.case-detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.case-detail__photo .ba { top: 14px; font-size: 12px; padding: 4px 12px; }
.case-detail__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 24px 0 16px; }
.case-detail__head h1 { font-size: clamp(21px, 3.2vw, 28px); font-weight: 800; color: var(--navy-900); }

.case-shop-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  margin-top: 32px;
}
.case-shop-card__thumb { aspect-ratio: 4 / 3; border-radius: var(--radius-btn); overflow: hidden; background: var(--navy-900); }
.case-shop-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-shop-card__body .lbl { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--blue-500); }
.case-shop-card__body h2 { font-size: 20px; font-weight: 800; color: var(--navy-900); margin: 4px 0 8px; }
.case-shop-card__body .btn-outline { max-width: 220px; margin-top: 14px; }

@media (max-width: 960px) {
  .cases--archive { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .cases--archive { grid-template-columns: repeat(2, 1fr); }
  .case-shop-card { grid-template-columns: 1fr; }
  .case-shop-card__body .btn-outline { max-width: none; }
}
@media (max-width: 480px) {
  .cases--archive { grid-template-columns: 1fr; }
}

/* 汎用固定ページ */
.page-body { font-size: 14px; }
.page-body h2 { font-size: 20px; font-weight: 800; color: var(--navy-900); margin: 32px 0 12px; }
.page-body h3 { font-size: 16px; font-weight: 600; color: var(--navy-900); margin: 24px 0 10px; }
.page-body ul, .page-body ol { margin: 0 0 1em 1.4em; }
.page-body li { margin-bottom: .4em; list-style: disc; }
.page-body a { color: var(--blue-600); text-decoration: underline; }
.page-back { margin-top: 32px; }

/* ============================================
   狭い画面(375px)での実測反映
   ============================================ */

/* WHY: flex の縮小でサイト名が「コーティン / グナビ」と途中で折り返していた。
       ロゴは意味の切れ目がない固有名詞なので改行させない */
.brand { white-space: nowrap; }

@media (max-width: 480px) {
  /* 価格とボタンを横並びのままにするとボタン文字が2行になって窮屈。縦積みにする */
  .shop-card--list__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .shop-card--list__foot .btn-outline { width: 100%; flex: none; }
  .shop-card--list__body { padding: 16px; }

  /* サイト名を少し詰めて、ハンバーガーとの余白を確保 */
  .brand { font-size: 16px; gap: 8px; }
  .footer-brand .brand { font-size: 16px; }
  /* WHY: ロゴが画像になったので、狭幅では font-size ではなく高さで縮める。
     幅は width:auto で比率から決まる（属性の width が残ると縦横比が崩れる） */
  .brand__mark { height: 24px; width: auto; }
}

/* WHY: grid / flex の子要素は min-width:auto が既定で、中身の最小幅がトラックを
       押し広げる。料金表の min-width:620px が .price-table-wrap の overflow-x を
       무効化し、ページ全体に横スクロールを出していた（375px で scrollW=660）。
       min-width:0 を入れてトラックを縮ませ、スクロールを表の中だけに閉じ込める */
.shop-detail__main,
.search-results,
.shop-card--list__body,
.case-shop-card__body { min-width: 0; }

/* WHY: 狭い画面で min-width:620px の表を出すと、メニュー名列に押されて
       価格列が画面外へ出る。横スクロールすれば読めるが、料金は最重要情報なので
       初期表示で見えない状態は許容できない。表をカード形式に組み替える */
@media (max-width: 640px) {
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table tbody th,
  .price-table td { display: block; width: 100%; }

  .price-table tbody tr { padding: 16px 0 12px; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table tbody th { padding: 0 16px 10px; border-bottom: 0; }

  .price-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 16px;
    border-bottom: 0;
    text-align: right;
  }
  .price-table td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
  }
  .price-table td + td { border-top: 1px dashed var(--line); }
}

/* WHY: 店舗詳細の事例はその店舗の件数だけ（2〜3件が普通）。トップと同じ4カラムだと
       カードが細くなりすぎて施工名が途中で折り返す。3カラム基準に緩める */
.shop-section .cases { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) { .shop-section .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .shop-section .cases { grid-template-columns: 1fr; } }

/* 評価分布の見出し（総数と掲載分の区別を明示する） */
.review-summary__breakdown { min-width: 0; }
.review-summary__label { font-size: 12px; color: var(--muted); margin-bottom: 8px; }

/* WHY: 横スクロールするタブ・ナビは、切れていること自体が見た目で伝わらないと
       「途中で切れた不具合」に見える。右端にフェードを重ねて続きがあると示す */
/* WHY: .anchor-nav は position:sticky なので、ここで position:relative を当てると
   sticky が死ぬ。しかも z-index:20 の背景が直後の h2 を覆い、「店舗紹介」の
   見出しが消えていた。フェードは実際に溢れる2つだけに限定する。
   また mask-image はレイアウトに関わらないので position 指定も不要 */
.tab-filter,
.gallery__thumbs {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
}
.anchor-nav { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }

/* ============================================
   刷新: ヒーロー（ワイパーリビール）
   ============================================ */

/* WHY: カスタムプロパティをアニメーションさせるには @property による型宣言が要る。
   非対応ブラウザでは initial-value のまま静止するだけで、壊れはしない */
@property --wipe {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 38%;
}

.hero {
  position: relative;
  --wipe: 38%;
  min-height: min(76vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
  touch-action: pan-y;
  cursor: ew-resize;
}
.hero__layers { position: absolute; inset: 0; }
.hero__after,
.hero__before {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-after.webp");
  background-size: cover;
  background-position: 82% center;
}
/* WHY: 施工前は同じ画像を土台にする。別撮りだとアングルが一致せず
   「同じ車の前後」に見えないため、比較の説得力が消える。
   WHY: フィルタでの彩度・明度落としは控えめにする。色を大きく動かすと
   「フィルタを掛けただけ」に見え、拭いても汚れが落ちた実感が出ない
   （実際その指摘を受けた）。ツヤの無さは contrast を落として blur を
   上げることで作り、汚れそのものは下の疑似要素で足す */
.hero__before {
  filter: saturate(.62) brightness(.88) contrast(.70) blur(1px);
  clip-path: inset(0 calc(100% - var(--wipe)) 0 0);
}
/* WHY: 汚れは mix-blend-mode: screen で乗せる。screen は明るい側へ寄せる合成なので、
   元画像で既に白い壁・床の上ではほぼ変化せず、暗い車体の上でだけ浮き上がる。
   車体形状のマスクを別途用意しなくても、乗ってほしい場所にだけ乗る。
   テクスチャ側の黒地も同じ理屈で透明として振る舞う */
.hero__before::before,
.hero__before::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
/* 埃の膜。暗部だけを持ち上げて黒の締まりを奪う */
.hero__before::before {
  background: rgba(150, 162, 180, .16);
}
/* 水垢・ウォータースポット。背景指定を写真と揃えて座標を一致させる。
   WHY: 素材の最大輝度が 37/255 しかなく、そのまま screen で重ねても濃紺の
   ボディ上で 7% しか持ち上がらず見えない。brightness で増幅し、contrast で
   粒（水垢）と地のノイズを分離する。素材を作り直すより調整の粒度が細かい */
.hero__before::after {
  background-image: url("../img/hero-dirt.webp");
  background-size: cover;
  background-position: 82% center;
  filter: brightness(3.4) contrast(1.25);
  opacity: .85;
}
.hero__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--wipe);
  width: 2px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 18px rgba(56, 189, 248, .55);
  transform: translateX(-1px);
}
.hero__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 99px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-hover);
}
.hero__grip::before,
.hero__grip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--navy-900);
  border-right: 2px solid var(--navy-900);
}
.hero__grip::before { left: 12px; transform: translateY(-50%) rotate(-135deg); }
.hero__grip::after  { right: 12px; transform: translateY(-50%) rotate(45deg); }

/* 一方向の1枚だけ。以前は二重掛けでハイライト（＝艶の証拠）が死んでいた */
.hero__scrim {
  position: absolute;
  inset: 0;
  /* WHY: 文字が乗る左半分だけを確実に暗くし、右の反射・映り込みは素のまま残す。
     以前は全面 opacity で落としていたため、艶の証拠であるハイライトが先に死んでいた */
  background: linear-gradient(96deg,
    rgba(8, 26, 56, .95) 0%,
    rgba(8, 26, 56, .90) 30%,
    rgba(8, 26, 56, .55) 48%,
    rgba(8, 26, 56, .10) 66%,
    rgba(8, 26, 56, 0) 76%);
  pointer-events: none;
}
.hero__inner { position: relative; padding: 72px 24px; pointer-events: none; max-width: var(--container); }
.hero__inner > * { max-width: 560px; }
.hero__inner a { pointer-events: auto; }

.hero__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--cyan-400);
  border: 1px solid rgba(56, 189, 248, .5);
  border-radius: 99px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: .02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}
.hero__lead { margin-top: 16px; font-size: 16px; color: #D7E4F7; max-width: 380px; }

.hero__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  color: #A9C1E4;
}
.hero__hint-icon {
  width: 26px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 99px;
  position: relative;
}
.hero__hint-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  animation: hintSlide 2.4s ease-in-out infinite;
}
@keyframes hintSlide { 0%,100% { left: 4px; } 50% { left: 15px; } }

.hero-stats { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats dt { font-size: 12px; color: #A9C1E4; margin-bottom: 2px; }
.hero-stats dd { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.hero-stats dd small { font-size: 14px; font-weight: 600; margin-left: 2px; }
.hero__note { margin-top: 10px; font-size: 12px; color: #7E97BC; }

/* 初回だけ自動で拭き取って「動く」と気づかせる。操作が入ったら止める */
.hero.is-auto .hero__before,
.hero.is-auto .hero__seam { animation: heroSweep 3.4s cubic-bezier(.4, 0, .2, 1) .5s 1 both; }
@keyframes heroSweep {
  0%   { --wipe: 4%; }
  42%  { --wipe: 92%; }
  100% { --wipe: 38%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.is-auto .hero__before,
  .hero.is-auto .hero__seam { animation: none; }
  .hero__hint-icon::after { animation: none; }
}

/* ============================================
   刷新: セクションのリズム（帯・左寄せ見出し・横スクロール）
   ============================================ */

.band { padding: 64px 0; }
.band--concern { background: var(--surface); border-bottom: 1px solid var(--line); padding: 28px 0; }
.band--cases { background: var(--bg-alt); }
.band--voice { background: var(--navy-950); color: #fff; }

.head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.head-row h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: .02em;
  position: relative;
  padding-left: 16px;
}
.head-row h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 4px;
  border-radius: 99px;
  background: var(--blue-600);
}
.head-row--invert h2 { color: #fff; }
.head-row--invert h2::before { background: var(--cyan-400); }
.head-row--invert .link-more { color: var(--cyan-400); }
.head-row--stack { display: block; }
.head-row--stack .lead { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 640px; }

/* 悩み: 円アイコンを廃してテキストのチップ帯に */
.concern-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.concern-row__title { font-size: 16px; font-weight: 800; color: var(--navy-900); white-space: nowrap; }
.concern-row__title span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.concern-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.concern-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 99px;
  transition: background .2s, border-color .2s, color .2s;
}
.concern-chips a::after {
  content: "";
  width: 6px; height: 6px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
}
.concern-chips a:hover { background: var(--surface); border-color: var(--blue-500); color: var(--blue-700); }

/* 事例: 画面端まで使う横スクロール。写真が商品なので余白で囲まない */
.rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.rail:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.rail__track {
  display: flex;
  gap: 16px;
  padding-inline: max(24px, calc((100vw - var(--container)) / 2));
  width: max-content;
}
.rail__track .case-card { width: 300px; flex: 0 0 auto; scroll-snap-align: start; }

/* ランキング: 1位を大きく、2〜3位を小さく。均等3分割の単調さを崩す */
.ranking { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 20px; align-items: stretch; }
.rank-card { flex-direction: column; align-items: flex-start; gap: 12px; }
.rank-card.rank-1 { padding: 24px; background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); border-color: transparent; color: #fff; }
.rank-card.rank-1 .rank-thumb { width: 100%; height: 168px; }
.rank-card.rank-1 .rank-info .name { font-size: 20px; color: #fff; }
.rank-card.rank-1 .rank-info .area { color: #A9C1E4; }
.rank-card.rank-1 .rank-medal { background: #fff; color: var(--navy-900); }
.rank-card.rank-1 .rating-num { color: #fff; }
.rank-card.rank-1 .stars__base { color: rgba(255, 255, 255, .3); }
.rank-card.rank-1 .stars__fill { color: #FFC14D; }
.rank-thumb { width: 100%; height: 96px; }

/* 口コミ: カードをやめ、濃色地に引用として置く */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.voice { position: relative; padding-top: 28px; }
.voice::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "\201C";
  font-size: 46px;
  line-height: 1;
  color: var(--cyan-400);
  opacity: .55;
}
.voice blockquote { font-size: 16px; line-height: 1.85; color: #E4EDF9; }
.voice figcaption { margin-top: 16px; font-size: 12px; color: #A9C1E4; }
.voice__rating { display: block; margin-bottom: 6px; }
.voice__rating .rating-num { color: #fff; }
.voice__rating .stars__base { color: rgba(255, 255, 255, .28); }
.voice__rating .stars__fill { color: #FFC14D; }
.voice__who a { color: var(--cyan-400); }
.voice__who a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .ranking { grid-template-columns: 1fr; }
  .rank-card.rank-1 .rank-thumb { height: 200px; }
  .voices { grid-template-columns: 1fr; gap: 28px; }
  .concern-row { gap: 16px; }
}
@media (max-width: 640px) {
  /* WHY: 狭い画面では文字が横方向のスクリムを突き抜けて車体に重なり、
     後半がほぼ読めなくなる。SP は「上に艶・下に文字」の縦構成へ切り替える。
     艶は画面上部で見せられるので、可読性と訴求を両立できる */
  .hero { min-height: 600px; align-items: flex-end; }
  .hero__after,
  .hero__before { background-position: 72% 28%; }
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(8, 26, 56, .10) 0%,
      rgba(8, 26, 56, .48) 30%,
      rgba(8, 26, 56, .90) 54%,
      rgba(8, 26, 56, .97) 100%);
  }
  .hero__inner { padding: 0 24px 40px; }
  .hero__inner > * { max-width: none; }
  .hero__lead { max-width: none; }
  .hero-stats { gap: 18px 24px; margin-top: 24px; }
  .hero-stats dd { font-size: 20px; }
  .rail__track .case-card { width: 264px; }
  .head-row h2 { font-size: 20px; }
}

/* 業種固有の比較軸。星以外の判断材料を同じ位置に揃えて比較しやすくする */
.spec-row { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.spec-row > div { flex: 1 1 0; min-width: 84px; padding: 7px 12px; border-left: 1px solid var(--line); }
.spec-row > div:first-child { border-left: 0; }
.spec-row dt { font-size: 12px; color: var(--muted); }
.spec-row dd { font-size: 14px; font-weight: 600; color: var(--navy-900); margin-top: 1px; }

/* ============================================
   コントラスト / タップターゲット
   ============================================ */
@media (max-width: 640px) {
  /* WHY: SP で本文が 12.5〜13.5px と小さすぎた。可読の下限を 14px に引き上げる */
  .shop-excerpt,
  .case-body .desc,
  .review-body,
  .site-footer,
  .filter-note,
  .contact-card__note { font-size: 14px; }
  .voice blockquote { font-size: 16px; }

  /* タップ領域 44px 確保 */
  .link-more,
  .footer-col a { display: inline-flex; align-items: center; min-height: 44px; }
  .filter-checks label { min-height: 44px; }
  .chip { min-height: 40px; }
  .chip__x { padding: 4px; }
}

/* WHY: paginate_links(type=list) は <ul class="page-numbers"> を出すため、
   SWELL 親テーマの .page-numbers スタイルが ul 自体にも当たり、
   ページ送りの左に空の灰色の箱が描画されていた。ul 側を明示的に打ち消す */
.pagination ul.page-numbers {
  background: none;
  border: 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  box-shadow: none;
}

/* WHY: .btn-listing は濃色地の上に置く前提の白ボタン。白いフォームカードの中では
   地と同化してボタンに見えないため、フォーム内だけ塗りを反転させる */
.btn-listing--full {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: none;
}
.btn-listing--full:hover { background: #B8360F; transform: none; }
