/* ============================================================
   大規模修繕labo LP スタイルシート
   モバイルファースト / ブレークポイント 768px・1024px
   ============================================================ */

/* ---------- デザイントークン ---------- */
:root {
  --color-primary: #1B4D8C;        /* 見出し・ヘッダー・フッター */
  --color-primary-light: #3F7CC4;  /* リンク・図解アクセント */
  --color-accent: #F2A93B;         /* CTAボタン専用。CTA以外に使わない */
  --color-accent-dark: #DD9320;
  --color-base: #FFFFFF;
  --color-base-alt: #F4F7FA;       /* セクション交互背景 */
  --color-text: #22303E;
  --color-error: #C0392B;
  --color-line: #06C755;           /* LINEブランド色(LINEボタンのみ) */
  --radius-card: 8px;
  --radius-pill: 999px;
  --shadow: 0 2px 12px rgba(27, 77, 140, 0.10); /* 影は1種類だけ */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", var(--font-jp);
}

/* ---------- リセット・ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-base);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--color-primary-light); }
h1, h2, h3 { font-weight: 700; color: var(--color-primary); line-height: 1.5; margin: 0 0 0.6em; }
p, ul, ol, table { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }

:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 760px; }

.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-dark); opacity: 1; }
.btn-lg { padding: 18px 48px; font-size: 1.1rem; }

.btn-tel { background: #fff; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-tel-number { font-family: var(--font-en); font-size: 1.2em; }
.btn-tel-hours { font-size: 0.75em; font-weight: 500; }

.btn-line { background: var(--color-line); color: #fff; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 12px;
}
.site-logo, .footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}
.site-logo span, .footer-logo span {
  font-family: var(--font-en);
  color: var(--color-primary-light);
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel {
  display: none;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-primary);
  line-height: 1.3;
}
.header-tel-number { font-family: var(--font-en); font-size: 1.15rem; font-weight: 700; }
.header-tel-hours { font-size: 0.7rem; }
.header-cta { padding: 10px 22px; font-size: 0.9rem; box-shadow: none; }

@media (min-width: 768px) {
  .header-tel { display: flex; }
}

/* ---------- セクション共通 ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--color-base-alt); }
.section-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.6em;
}
.section-title-sub { display: block; font-size: 0.7em; font-weight: 500; }
.section-lead { max-width: 720px; margin: -1em auto 2em; text-align: left; }

@media (min-width: 768px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 1.9rem; }
  .section-lead { text-align: center; }
}

.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

/* ---------- スクロールリビール(reduced-motion時は無効) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  /* 図解の施工会社カードは順に出現 */
  .diagram-company.is-visible:nth-child(1) { transition-delay: 0s; }
  .diagram-company.is-visible:nth-child(2) { transition-delay: 0.15s; }
  .diagram-company.is-visible:nth-child(3) { transition-delay: 0.3s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- ① ファーストビュー ---------- */
/* ============ ファーストビュー(画像KV + HTMLの帯/CTA) ============ */
.hero {
  background: var(--color-base-alt);
}

/* SEO/読み上げ用の非表示見出し */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* FV上部の帯(SP専用。PCは画像に焼き込み済み) */
.hero-band {
  display: block;
  margin: 0;
  background: #133C79;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
  padding: 11px 16px;
}

/* KV画像(見出し・サブ・バッジ・建物を内包) */
.hero-visual {
  display: block;
  margin: 0 auto;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 864 / 1249; /* SP画像。レイアウトシフト防止 */
}

/* CTAゾーン */
.hero-cta-zone {
  padding: 14px 0 26px;
}
.hero-cta-zone .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 電話ブロック(紺) */
.hero-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #133C79;
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  text-align: center;
}
.hero-tel-label { font-size: 0.85rem; font-weight: 500; }
.hero-tel-mid { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hero-tel-ic { display: flex; color: #fff; flex-shrink: 0; }
.hero-tel-num {
  font-family: var(--font-en);
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
}
.hero-tel-hours { font-size: 0.74rem; opacity: 0.9; }

/* メール/LINEボタン */
.hero-cta-btns { display: flex; flex-direction: column; gap: 12px; }
.hcta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
  transition: filter 0.15s ease;
}
.hcta:hover { filter: brightness(0.94); opacity: 1; }
.hcta-ic { flex-shrink: 0; display: flex; color: #fff; }
.hcta-ic svg { width: 24px; height: 24px; }
.hcta-txt { flex: 1; text-align: center; white-space: nowrap; }
.hcta-arw { flex-shrink: 0; display: flex; }
.hcta-arw svg { width: 27px; height: 27px; }
.hcta-mail { background: #EB731D; }
.hcta-mail .hcta-arw { color: #EB731D; }
.hcta-line { background: #06C755; }
.hcta-line .hcta-ic { color: #06C755; } /* 白角丸内の「LINE」文字色 */
.hcta-line .hcta-arw { color: #06C755; }

/* タブレット/横向き(768-991): PC画像+CTAは画像の下に(オーバーレイは窮屈なので避ける) */
@media (min-width: 768px) {
  .hero-band { display: none; }
  .hero-visual { max-width: 1080px; }
  .hero-visual img { aspect-ratio: 1536 / 1024; } /* PC画像 */
  .hero-cta-zone { padding: 16px 0 30px; }
  .hero-cta-zone .container { max-width: 1080px; }
  .hero-tel-label { font-size: 0.95rem; }
  .hero-tel-mid { gap: 14px; }
  .hero-tel-num { font-size: 2.3rem; }
  .hero-tel-hours { font-size: 0.82rem; }
  .hero-cta-btns { flex-direction: row; }
  .hcta { flex: 1; justify-content: center; font-size: 1.12rem; padding: 16px 22px; }
}

/* デスクトップ(≥992): CTAを画像内に重ねる(完成図どおり。電話ブロック=右/2ボタン=最下部全幅) */
@media (min-width: 992px) {
  .hero-frame { position: relative; max-width: 1080px; margin: 0 auto; }
  .hero-visual { max-width: none; }

  .hero-cta-zone {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 20px 14px;
  }
  .hero-cta-zone .container { max-width: none; padding: 0; }

  /* 電話ブロックはバッジの右側に配置(左のバッジ・注釈は隠さない) */
  .hero-tel {
    align-self: flex-end;
    width: 37%;
    min-width: 360px;
    padding: 12px 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.30);
  }
  .hero-tel-label { font-size: 0.9rem; }
  .hero-tel-mid { gap: 12px; }
  .hero-tel-num { font-size: 2.05rem; }
  .hero-tel-hours { font-size: 0.78rem; }

  /* メール/LINEは最下部の芝生帯に全幅で重ねる */
  .hcta { font-size: 1.15rem; padding: 15px 22px; }
}

/* ---------- ② お悩み共感 ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.problem-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}
.problem-card picture { flex: 0 0 88px; }
.problem-card img { border-radius: var(--radius-card); }
.problem-card p { margin: 0; font-weight: 500; }
.problem-closing {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2em;
}
.problem-closing strong { color: var(--color-primary-light); }

@media (min-width: 768px) {
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .problem-card { flex-direction: column; text-align: center; padding: 24px; }
  .problem-card picture { flex: 0 0 auto; width: 140px; }
}

/* ---------- 中間CTAバンド ---------- */
.cta-band {
  background: var(--color-primary);
  padding: 40px 0;
}
.cta-band-copy {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.2em;
}
.cta-band-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}
.cta-band .btn-tel { border-color: #fff; }

@media (min-width: 768px) {
  .cta-band-buttons { flex-direction: row; justify-content: center; max-width: none; }
}

/* ---------- ③ サービス紹介 ---------- */

/* 三者構造の図解(シグネチャ) */
.diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 auto 48px;
  max-width: 880px;
}
.diagram-node {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
}
.diagram-owner {
  background: #fff;
  border: 2px solid var(--color-primary-light);
  color: var(--color-primary);
  padding: 18px 36px;
}
.diagram-labo {
  background: var(--color-primary);
  color: #fff;
  padding: 22px 44px;
  font-size: 1.1rem;
}
.diagram-labo strong { font-family: var(--font-en); font-size: 1.2em; }
.diagram-companies {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.diagram-company {
  background: #fff;
  border: 2px solid var(--color-primary-light);
  color: var(--color-primary-light);
  padding: 12px 28px;
  font-size: 0.95rem;
}

/* 矢印(モバイル: 縦向き) */
.diagram-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
}
.diagram-arrow-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-light);
}
.diagram-arrow-line {
  display: block;
  width: 2px;
  height: 28px;
  background: var(--color-primary-light);
  position: relative;
}
.diagram-arrow-line::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--color-primary-light);
  border-bottom: none;
}

@media (min-width: 768px) {
  .diagram {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
  .diagram-arrow { flex-direction: column; padding: 0 8px; min-width: 120px; }
  .diagram-arrow-line {
    width: 100%;
    height: 2px;
  }
  .diagram-arrow-line::after {
    bottom: auto;
    left: auto;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    border: 7px solid transparent;
    border-left-color: var(--color-primary-light);
    border-right: none;
  }
  .diagram-arrow-label-top { margin-bottom: 6px; }
}

.service-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.service-point { padding: 24px; }
.service-point h3 { font-size: 1.05rem; }
.service-point p { margin: 0; }

@media (min-width: 1024px) {
  .service-points { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* なぜ無料?ブロック(必須・目立たせる) */
.why-free {
  background: var(--color-base-alt);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  max-width: 760px;
  margin: 0 auto 40px;
}
.why-free-title {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 0.8em;
}
.why-free p { margin: 0; font-weight: 500; }

.service-image { max-width: 640px; margin: 0 auto; }
.service-image img { border-radius: var(--radius-card); }

/* ---------- ④ ご利用の流れ ---------- */
.flow-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  list-style: none;
  padding: 0;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding: 24px 20px 20px;
  text-align: center;
}
.flow-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step img { margin: 0 auto 8px; width: 64px; height: 64px; }
.flow-step h3 { font-size: 1rem; margin-bottom: 0.4em; }
.flow-step p { margin: 0; font-size: 0.9rem; text-align: left; }
.flow-note {
  text-align: center;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1.6em;
}

@media (min-width: 768px) {
  .flow-list { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .flow-step p { font-size: 0.85rem; }
}

/* ---------- ⑤ 選ばれる理由 ---------- */
.reason-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.reason-card { padding: 24px; text-align: center; }
.reason-card picture { max-width: 180px; margin: 0 auto 12px; }
.reason-card img { border-radius: var(--radius-card); }
.reason-card h3 { font-size: 1.15rem; }
.reason-card p { margin: 0; text-align: left; }

@media (min-width: 768px) {
  .reason-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- ⑥ 工事内容 ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* モバイル2列 */
  gap: 14px;
}
.work-card { overflow: hidden; }
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.work-card h3 {
  font-size: 0.95rem;
  margin: 10px 12px 4px;
}
.work-card p {
  font-size: 0.82rem;
  margin: 0 12px 12px;
  line-height: 1.6;
}
.work-closing {
  text-align: center;
  font-weight: 500;
  margin-top: 2em;
}
.work-mini-cta { text-align: center; margin-top: 1.2em; }

@media (min-width: 1024px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } /* PC 4列×2段 */
  .work-card h3 { font-size: 1rem; }
}

/* ---------- ⑦ 対応物件・エリア ---------- */
.property-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-bottom: 1.6em;
}
.property-tags li {
  background: var(--color-base-alt);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary-light);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.9rem;
}
.area-lead { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.area-map {
  position: relative;
  max-width: 560px;
  margin: 0 auto 1em;
}
.area-map img { border-radius: var(--radius-card); }
.area-label {
  position: absolute;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  box-shadow: var(--shadow);
}
.area-label-saitama  { top: 42%; left: 33%; }
.area-label-tokyo    { top: 57%; left: 36%; }
.area-label-kanagawa { top: 73%; left: 30%; }
.area-label-chiba    { top: 64%; left: 62%; }
.area-list { text-align: center; font-weight: 700; color: var(--color-primary); }

/* ---------- ⑧ FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item h3 { margin: 0; }
.faq-question {
  display: block;
  width: 100%;
  padding: 16px 48px 16px 20px;
  background: none;
  border: none;
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  position: relative;
  line-height: 1.6;
}
.faq-question::before { content: "Q. "; color: var(--color-primary-light); font-family: var(--font-en); }
.faq-question::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary-light);
  border-bottom: 2px solid var(--color-primary-light);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-question[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-answer { padding: 0 20px 16px; }
.faq-answer p { margin: 0; }
.faq-answer p::before { content: "A. "; color: var(--color-accent); font-weight: 700; font-family: var(--font-en); }

/* ---------- ⑨ 運営会社 ---------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.company-table th, .company-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-base-alt);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  background: var(--color-base-alt);
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
  width: 9em;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }

/* ---------- ⑨-2 資料ダウンロード ---------- */
.section-download { background: var(--color-base); }
.download-points {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.8em;
  max-width: 520px;
  display: grid;
  gap: 8px;
}
.download-points li {
  position: relative;
  padding-left: 26px;
  font-weight: 500;
}
.download-points li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--color-primary-light);
  font-weight: 700;
}
.download-note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #5a6b78;
}

/* ---------- ⑩ フォーム ---------- */
.section-contact { background: var(--color-base-alt); }
.contact-lead { text-align: center; font-weight: 500; margin-bottom: 2em; }

.form-error-banner {
  background: #FBEAE8;
  color: var(--color-error);
  border: 1.5px solid var(--color-error);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  font-weight: 700;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px 20px;
}
.form-row { margin-bottom: 20px; }
.form-label {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.required-mark, .optional-mark {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: middle;
}
.required-mark { background: var(--color-error); color: #fff; }
.optional-mark { background: #B5C2CE; color: #fff; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-jp);
  font-size: 1rem;
  color: var(--color-text);
  border: 1.5px solid #B5C2CE;
  border-radius: var(--radius-card);
  background: #fff;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary-light);
  outline: 2px solid var(--color-primary-light);
  outline-offset: 0;
}
.contact-form .is-invalid { border-color: var(--color-error); }

.form-radio-group { border: none; padding: 0; margin-left: 0; margin-right: 0; }
.form-radio-group legend { padding: 0; }
.radio-label, .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
  margin-bottom: 8px;
  cursor: pointer;
}
.radio-label input, .checkbox-label input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.form-consent { text-align: center; }
.form-consent .checkbox-label { justify-content: center; }

.field-error {
  color: var(--color-error);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 6px 0 0;
}

.form-submit { text-align: center; margin-top: 28px; }
.form-submit .btn { width: 100%; max-width: 420px; }
.form-submit .btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* honeypot: 視覚的に隠す(display:noneはボットが検知するため位置で隠す) */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-alt { text-align: center; margin-top: 36px; }
.contact-alt > p { font-weight: 700; color: var(--color-primary); }
.contact-alt-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-form { padding: 40px 48px; }
  .contact-alt-buttons { flex-direction: row; justify-content: center; max-width: none; }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 96px; /* 下部は追従CTAバー分の余白 */
}
.footer-inner { text-align: center; }
.footer-logo { color: #fff; margin-bottom: 0.8em; }
.footer-logo span { color: #AECBEB; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 1.2em;
}
.footer-nav a { color: #fff; font-size: 0.85rem; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.8rem; margin: 0; opacity: 0.8; }

@media (min-width: 768px) {
  .site-footer { padding-bottom: 40px; } /* PCは追従バー非表示のため通常余白 */
}

/* ---------- モバイル追従CTAバー ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -2px 12px rgba(27, 77, 140, 0.15);
  transition: transform 0.3s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  color: #fff;
}
.sticky-cta-tel  { background: var(--color-primary); }
.sticky-cta-form { background: var(--color-accent); flex: 1.3; }
.sticky-cta-line { background: var(--color-line); flex: 0.8; }

@media (min-width: 768px) {
  .sticky-cta { display: none; } /* 追従バーはモバイルのみ */
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
  .btn { transition: none; }
  .faq-question::after { transition: none; }
}

/* ============================================================
   追加セクション(クライアント修正依頼 反映分)
   ============================================================ */

/* ② お悩み: 追加のお悩みチェックリスト */
.problem-more {
  list-style: none;
  padding: 0;
  margin: 28px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.problem-more li {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 12px 16px 12px 44px;
  font-weight: 500;
}
.problem-more li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary-light);
  font-weight: 700;
}
@media (min-width: 768px) {
  .problem-more { grid-template-columns: 1fr 1fr; }
}

/* 見積書 無料チェック(査定) */
.section-check { background: var(--color-base-alt); }
.check-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 auto 40px;
  max-width: 920px;
}
.check-step {
  padding: 22px 20px;
  text-align: center;
}
.check-step-num {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 3px 14px;
  margin-bottom: 10px;
}
.check-step h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.check-step p { margin: 0; text-align: left; }
.check-points {
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  max-width: 760px;
  margin: 0 auto 32px;
}
.check-points-title {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}
.check-points-lead {
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-text);
  margin: 0 auto 1.4em;
  max-width: 620px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.check-list li {
  position: relative;
  padding: 12px 12px 12px 34px;
  border-bottom: 1px solid var(--color-base-alt);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 6px;
  top: 13px;
  color: #fff;
  background: var(--color-accent);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}
.check-item-term {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
}
.check-item-desc {
  display: block;
  font-size: 0.85rem;
  color: #5a6b78;
  margin-top: 2px;
}
@media (min-width: 768px) {
  .check-list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .check-list li:nth-last-child(2) { border-bottom: none; }
}
.check-note {
  font-size: 0.82rem;
  color: #5a6b78;
  margin: 0;
}
@media (min-width: 768px) {
  .check-flow { grid-template-columns: repeat(3, 1fr); }
  .check-step p { text-align: center; }
}

/* ⑤ 選ばれる理由: 追加の強み */
.reason-more {
  list-style: none;
  padding: 0;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.reason-more-item {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px 18px 18px 46px;
}
.reason-more-item::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 18px;
  color: #fff;
  background: var(--color-primary-light);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.reason-more-item h4 {
  margin: 0 0 0.3em;
  font-size: 1rem;
  color: var(--color-primary);
}
.reason-more-item p { margin: 0; font-size: 0.9rem; }
@media (min-width: 768px) {
  .reason-more { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .reason-more { grid-template-columns: repeat(3, 1fr); }
}

/* 承っているご相談の例 */
.case-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.case-card {
  position: relative;
  padding: 18px 18px 18px 52px;
  font-weight: 700;
  color: var(--color-primary);
}
.case-card::before {
  content: "“";
  position: absolute;
  left: 16px;
  top: 6px;
  font-family: var(--font-en);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-primary-light);
}
@media (min-width: 768px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .case-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 紹介する施工会社の選定基準 */
.criteria-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.criteria-card {
  position: relative;
  padding: 22px 20px 20px 56px;
}
.criteria-card::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 22px;
  color: #fff;
  background: var(--color-primary);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.criteria-card h3 { font-size: 1.02rem; margin-bottom: 0.4em; }
.criteria-card p { margin: 0; font-size: 0.9rem; }
.criteria-note {
  text-align: center;
  font-size: 0.82rem;
  color: #5a6b78;
  margin: 0;
}
@media (min-width: 768px) {
  .criteria-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1024px) {
  .criteria-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ⑥ 工事内容: そのほかの工事タグ */
.work-more {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
}
.work-more-label {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.8em;
}
.work-more-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.work-more-tags li {
  background: #fff;
  border: 1.5px solid var(--color-primary-light);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* 見積書で注意したい例 */
.caution-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.caution-card {
  padding: 20px;
  border-top: 4px solid var(--color-accent);
}
.caution-card h3 { font-size: 1.02rem; margin-bottom: 0.4em; }
.caution-card p { margin: 0; font-size: 0.9rem; }
.caution-note {
  text-align: center;
  font-size: 0.82rem;
  color: #5a6b78;
  margin: 0;
}
@media (min-width: 768px) {
  .caution-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1024px) {
  .caution-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ⑦ 対応規模の一文 */
.area-scale {
  text-align: center;
  font-size: 1.02rem;
  margin-bottom: 1em;
}
.area-scale strong { color: var(--color-primary); }

/* ============================================================
   クライアント依頼 ④⑤⑦ 追加分（v=14）
   ============================================================ */

/* ⑤ FV: チェックアイコン付きバッジ＋安心マイクロコピー */
.hero-badges-check li {
  position: relative;
  padding-left: 34px;
}
.hero-badges-check li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent-dark);
  font-weight: 700;
}
.hero-note {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}


/* ④ 私たちが責任を持ってサポートします(代表紹介は写真なし構成) */
.about-ceo {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  max-width: 880px;
  margin: 0 auto 32px;
  border-top: 4px solid var(--color-primary);
}
.about-ceo-role {
  font-size: 0.85rem;
  color: #5a6b78;
  margin: 0;
  text-align: center;
}
.about-ceo-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1em;
  text-align: center;
}
.about-ceo-message {
  margin: 0;
  font-size: 0.95rem;
  line-height: 2;
}
@media (min-width: 768px) {
  .about-ceo { padding: 36px 48px; }
}

.about-team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 40px;
}
.about-team-card { padding: 24px 22px; }
.about-team-card h3 { font-size: 1.08rem; margin-bottom: 0.5em; }
.about-team-card p { font-size: 0.92rem; }
.about-team-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-team-tags li {
  background: var(--color-base-alt);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .about-team { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.about-story {
  background: var(--color-base-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  max-width: 880px;
  margin: 0 auto 40px;
}
.about-story-title {
  font-size: 1.15rem;
  margin-bottom: 0.8em;
}
.about-story-quote {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1em;
}
.about-story p:last-child { margin-bottom: 0; }

.about-promise-title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 1em;
}
.about-promise {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.about-promise-item {
  position: relative;
  padding: 20px 20px 18px 56px;
}
.about-promise-item::before {
  content: "約";
  position: absolute;
  left: 16px;
  top: 20px;
  color: #fff;
  background: var(--color-primary);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.about-promise-item h4 {
  margin: 0 0 0.3em;
  font-size: 1.02rem;
  color: var(--color-primary);
}
.about-promise-item p { margin: 0; font-size: 0.9rem; }
@media (min-width: 768px) {
  .about-promise { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ============================================================
   B案の「枠」用スタイル(①実績数字 ②お客様の声 ③比較事例)
   ※対応するHTMLは index.html 内にコメントアウトで待機中。
     実データ確定後にコメント解除すればこのスタイルで表示される。
   ============================================================ */

/* ① 実績数字バー */
.stats-bar {
  background: var(--color-primary);
  padding: 28px 0;
}
.stats-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stats-item {
  text-align: center;
  color: #fff;
}
.stats-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
}
.stats-num small {
  font-size: 0.55em;
  margin-left: 2px;
}
.stats-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}
.stats-note {
  color: #fff;
  opacity: 0.85;
  font-size: 0.78rem;
  text-align: center;
  margin: 0;
}
@media (min-width: 768px) {
  .stats-list { grid-template-columns: repeat(4, 1fr); }
  .stats-num { font-size: 2.3rem; }
}

/* ② お客様の声 */
.voice-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.voice-card { padding: 22px 22px 20px; position: relative; }
.voice-card::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 14px;
  font-family: var(--font-en);
  font-size: 2.4rem;
  color: var(--color-primary-light);
  line-height: 1;
}
.voice-attr {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin: 0 0 0.6em;
  padding-left: 22px;
}
.voice-text { margin: 0; font-size: 0.92rem; line-height: 1.9; }
.voice-note {
  text-align: center;
  font-size: 0.78rem;
  color: #5a6b78;
  margin: 0;
}
@media (min-width: 768px) {
  .voice-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ③ 見積比較事例 */
.case-ex-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.case-ex-card { padding: 22px; }
.case-ex-head {
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.8em;
}
.case-ex-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.case-ex-before, .case-ex-after {
  text-align: center;
}
.case-ex-before span, .case-ex-after span {
  display: block;
  font-size: 0.75rem;
  color: #5a6b78;
}
.case-ex-before strong {
  font-size: 1.05rem;
  color: var(--color-text);
}
.case-ex-after strong {
  font-size: 1.3rem;
  color: var(--color-accent-dark);
}
.case-ex-arrow {
  color: var(--color-primary-light);
  font-weight: 700;
}
.case-ex-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-ex-points li {
  background: var(--color-base-alt);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
}
.case-ex-note {
  text-align: center;
  font-size: 0.78rem;
  color: #5a6b78;
  margin: 0;
}
@media (min-width: 768px) {
  .case-ex-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ⑦ コラム(記事ページ・一覧) */
.breadcrumb {
  font-size: 0.8rem;
  margin: 20px 0 8px;
  color: #5a6b78;
}
.breadcrumb a { color: var(--color-primary-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.column-article {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  margin-bottom: 40px;
}
.column-article h1 {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 0.4em;
}
.column-meta {
  font-size: 0.8rem;
  color: #5a6b78;
  margin-bottom: 1.6em;
}
.column-article h2 {
  font-size: 1.2rem;
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
  background: var(--color-base-alt);
  border-radius: 4px;
  padding: 10px 14px;
  margin: 2em 0 0.9em;
}
.column-article h3 {
  font-size: 1.05rem;
  border-bottom: 2px solid var(--color-base-alt);
  padding-bottom: 6px;
  margin: 1.6em 0 0.7em;
}
.column-article p { line-height: 2; }
.column-article ul, .column-article ol { line-height: 2; }
.column-toc {
  background: var(--color-base-alt);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  margin: 1.5em 0 2em;
}
.column-toc-title {
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.5em;
}
.column-toc ol {
  margin: 0;
  padding-left: 1.3em;
}
.column-toc a { text-decoration: none; }
.column-toc a:hover { text-decoration: underline; }
.column-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 0.4em;
  font-size: 0.92rem;
}
.column-table th, .column-table td {
  border: 1px solid #dce6f0;
  padding: 10px 12px;
  text-align: left;
}
.column-table th {
  background: var(--color-base-alt);
  color: var(--color-primary);
  white-space: nowrap;
}
/* モバイル: 幅の広いテーブルはページ幅を壊さず内部スクロール */
@media (max-width: 767px) {
  .column-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .column-table th, .column-table td { white-space: nowrap; }
}
.column-note {
  font-size: 0.8rem;
  color: #5a6b78;
}
.column-point {
  background: rgba(242, 169, 59, 0.10);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
  padding: 14px 18px;
  margin: 1.2em 0;
}
@media (min-width: 768px) {
  .column-article { padding: 44px 48px; }
  .column-article h1 { font-size: 1.7rem; }
}

/* 関連記事 */
.related-title {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.8em;
}
.related-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.related-list a {
  display: block;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.92rem;
}
.related-list a:hover { opacity: 0.85; }
@media (min-width: 768px) {
  .related-list { grid-template-columns: 1fr 1fr; }
}

/* コラム一覧 */
.column-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.column-list a {
  display: block;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--color-text);
}
.column-list a:hover { opacity: 0.9; }
.column-list h2 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin: 0 0 0.4em;
}
.column-list p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ============================================================
   抜本リストラクチャ 追加分（v=10）
   ============================================================ */

/* 各セクションの特集画像(なぜ難しいか/見積チェック/信頼) */
.why-image,
.check-image,
.trust-image {
  max-width: 560px;
  margin: 0 auto 32px;
}
.why-image img,
.check-image img,
.trust-image img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.why-sub {
  text-align: center;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1.2em;
}

/* ④ laboにできること：ご要望リスト(入口) */
.needs-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 8px;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.needs-list li {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 14px 16px 14px 46px;
  font-weight: 500;
}
.needs-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: var(--color-accent);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.service-lead-sub { margin-top: 2em; }
@media (min-width: 768px) {
  .needs-list { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ⑦ 選ばれる理由：比較表 -------------------------------------- */
.compare {
  --cols: 1.15fr 1fr 1fr 1fr;
  max-width: 980px;
  margin: 0 auto;
}
/* モバイル(既定)：選択肢ごとに縦積みのカード */
.compare-head { display: none; }
.compare-group {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
}
.compare-feat {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
}
.compare-cell {
  padding: 11px 16px;
  border-top: 1px solid var(--color-base-alt);
}
.compare-cell-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 2px;
}
.compare-cell-labo { background: rgba(242, 169, 59, 0.10); }
.compare-cell-labo .compare-cell-label { color: var(--color-accent-dark); }
.compare-mark { color: var(--color-accent-dark); font-weight: 700; margin-right: 4px; }
.compare-val { font-weight: 500; }
.compare-note {
  text-align: center;
  font-size: 0.8rem;
  color: #5a6b78;
  margin: 1.2em 0 0;
}

@media (min-width: 768px) {
  /* デスクトップ：4列のテーブル風グリッド */
  .compare {
    border: 1px solid #dce6f0;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
  }
  .compare-head {
    display: grid;
    grid-template-columns: var(--cols);
    background: var(--color-base-alt);
  }
  .compare-opt {
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    color: var(--color-primary);
    border-left: 1px solid #dce6f0;
  }
  .compare-opt-labo {
    background: var(--color-accent);
    color: #fff;
  }
  .compare-feat-h { padding: 14px 16px; }
  .compare-group {
    display: grid;
    grid-template-columns: var(--cols);
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    border-top: 1px solid #e3eaf1;
  }
  .compare-feat {
    background: #fff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
  }
  .compare-cell {
    border-top: none;
    border-left: 1px solid #eef2f6;
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .compare-cell .compare-val { flex: 1; }
  .compare-cell-label { display: none; }
  .compare-cell-labo { background: rgba(242, 169, 59, 0.10); }
}
