@charset "UTF-8";

/* ==========================================================================
   鍵ロックセンター24 コラム記事 column_20.css
   - 参照トンマナ: https://www.xn--24-kh4azbuv70awbwe3083k.com/column/20.html
   - メインカラー: ティール / ダークネイビー
   - Breakpoints: 960px (タブレット切替) / 767px (SP切替)
   ========================================================================== */

:root {
  --teal: #1bb8c9;            /* メインのティールカラー */
  --teal-dark: #0d9aab;
  --teal-bg: #e7f8fb;         /* 薄ティール(帯/囲みの背景) */
  --teal-line: #a9e4ec;
  --navy: #1a3f54;            /* 見出し/強調テキスト */
  --ink: #2e3a46;
  --text: #333;
  --muted: #6b7280;
  --line: #e4e8ec;
  --bg-warm: #f6f8fa;
  --yellow: #fff27a;          /* 本文マーカー用 */
  --orange: #e67e22;          /* アクセント(任意) */
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "游ゴシック", sans-serif;
  --mono: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  padding: 14px 40px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-warm);
  max-width: 100%;
}
.breadcrumb .sep { margin: 0 8px; color: #c6c2b6; }
.breadcrumb a { color: #4a5568; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Article Header (hero と同じ幅で中央配置)
   ========================================================================== */
.article-header {
  max-width: 1160px;
  margin: 28px auto 0;
  padding: 0 40px;
}
.article-header .meta-row,
.article-header h1.title,
.article-header .lead {
  margin-left: 0;
  margin-right: 0;
}
.article-header .lead {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

/* ==========================================================================
   Main layout
   ========================================================================== */
.main {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 40px 64px;
}
article { min-width: 0; }

/* ==========================================================================
   Hero (2カラム合計幅に合わせて中央配置、画像差し替え前提のプレースホルダー)
   ========================================================================== */
.hero-wrap {
  max-width: 1160px;
  margin: 24px auto 0;
  padding: 0 40px;
}
.hero {
  position: relative;
  width: 100%;
  /*aspect-ratio: 16 / 5;*/
  background: #d9dcdf;
  /*border: 1px dashed #9aa3ac;*/
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  overflow: hidden;
}
.hero-placeholder-label {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #6b7280;
  margin-bottom: 8px;
}
.hero-placeholder-sub {
  font-size: 12px;
  color: #8a95a0;
}

/* meta (ラベル + 日付) - ヒーロー下 */
.meta-row {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.meta-row .tag-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--navy); font-weight: 600;
}
.meta-row .tag-line::before {
  content: ""; display: inline-block;
  width: 18px; height: 2px; background: var(--teal);
}
.meta-row .date {
  display: inline-flex; align-items: center;
  padding: 3px 14px; font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-family: var(--mono);
  border-radius: 2px;
}
.meta-row .read-time {
  font-size: 12px; color: var(--muted);
  font-family: var(--mono);
}

/* Title + Lead */
h1.title {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.lead {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.85;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   Sections (本文)
   ========================================================================== */
section.body-sec { margin-bottom: 48px; scroll-margin-top: 20px; }

.sec-label {
  font-family: var(--mono); font-size: 12px; color: var(--teal);
  font-weight: 700; letter-spacing: 2px; margin-bottom: 10px;
}

/* H2: 参照トンマナ - 薄シアン背景帯 + 左右ティール太ボーダー */
h2.sec-title {
  position: relative;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin: 0 0 24px;
  padding: 20px 24px;
  background: var(--teal-bg);
  border-left: 5px solid var(--teal);
  border-right: 5px solid var(--teal);
}

.body-sec p {
  font-size: 15px;
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.9;
}

/* 強調マーカー(黄色アンダーライン) */
.mark-y {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 2px;
  font-weight: 500;
}

/* ==========================================================================
   Step cards (参照準拠の白カード+ティール枠)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.step-card {
  border: 1px solid var(--teal-line);
  border-top: 3px solid var(--teal);
  padding: 20px;
  background: #fff;
  border-radius: 2px;
}
.step-label {
  font-family: var(--mono); font-size: 11px; color: var(--teal);
  font-weight: 700; letter-spacing: 1px; margin-bottom: 8px;
}
.step-title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-bottom: 8px;
}
.step-body { font-size: 13px; color: var(--text); line-height: 1.8; }

/* ==========================================================================
   Compare table (参照トンマナ準拠 - ティールヘッダ + ストライプ)
   ========================================================================== */
.compare-table {
  border: 1px solid var(--teal-line);
  margin-bottom: 24px;
  border-radius: 2px;
  overflow: hidden;
}
.compare-head {
  display: grid; grid-template-columns: 1.2fr 1.6fr 1fr 1.2fr;
  background: var(--teal);
  color: #fff;
  font-size: 13px; font-weight: 700;
}
.compare-head div { padding: 12px 16px; }
.compare-row {
  display: grid; grid-template-columns: 1.2fr 1.6fr 1fr 1.2fr;
  border-top: 1px solid var(--line);
  font-size: 13px;
  background: #fff;
}
.compare-row:nth-child(even) { background: var(--bg-warm); }
.compare-row > div { padding: 14px 16px; color: var(--text); }
.compare-row > div:first-child { color: var(--navy); font-weight: 700; }
.compare-row > div:nth-child(3) { text-align: center; font-weight: 600; color: var(--navy); }
.compare-row > div:last-child { font-family: var(--mono); font-weight: 600; color: var(--navy); }

/* ==========================================================================
   Point box (参照: 薄シアン背景 + 上下ティールライン)
   ========================================================================== */
.point-box {
  display: flex; gap: 14px;
  padding: 22px 26px;
  background: var(--teal-bg);
  border-top: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  margin: 20px 0;
}
.point-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.point-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.point-body { font-size: 14px; color: var(--text); line-height: 1.85; }

/* ==========================================================================
   Option cards (ディーラー vs 鍵屋)
   ========================================================================== */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.option-card {
  border: 1px solid var(--line);
  padding: 24px;
  background: #fff;
  position: relative;
  border-radius: 2px;
}
.option-card.featured {
  border: 2px solid var(--teal);
  background: var(--teal-bg);
}
.featured-badge {
  position: absolute; top: -12px; left: 20px;
  background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 2px;
}
.option-name {
  font-family: var(--sans); font-size: 20px; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.option-tag {
  font-size: 12px; color: var(--teal-dark);
  font-weight: 600; margin-bottom: 16px;
}
.option-row {
  display: flex; padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.option-row .k { width: 84px; color: var(--muted); flex-shrink: 0; }
.option-row .v { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Cars section (ティール背景に白カード)
   ========================================================================== */
.cars-section {
  background: var(--navy);
  color: #fff;
  padding: 36px 32px;
  margin: 40px 0 48px;
  border-radius: 2px;
}
.cars-section .eyebrow {
  font-family: var(--mono); font-size: 11px; color: var(--teal);
  font-weight: 700; letter-spacing: 3px; margin-bottom: 6px;
}
.cars-section h2 {
  font-family: var(--sans); font-size: 22px; font-weight: 700;
  margin: 0 0 20px;
}
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.car-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.15s, border-color 0.15s;
  border-radius: 2px;
}
.car-card:hover {
  background: rgba(27,184,201,0.15);
  border-color: var(--teal);
}
.car-name { font-size: 15px; font-weight: 600; }
.car-type { font-size: 10px; color: #9cb1bd; margin-top: 2px; }
.car-arrow { color: var(--teal); font-size: 18px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-box {
  background: var(--teal-bg);
  border-top: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  padding: 36px 40px;
  margin: 40px 0 48px;
  text-align: center;
}
.cta-eyebrow {
  font-family: var(--mono); font-size: 11px; color: var(--teal-dark);
  font-weight: 700; letter-spacing: 3px; margin-bottom: 6px;
}
.cta-title {
  font-family: var(--sans); font-size: 22px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.cta-sub { font-size: 13px; color: var(--text); margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--teal); color: #fff;
  padding: 16px 40px;
  font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 2px;
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary {
  background: #fff; color: var(--navy);
  padding: 16px 40px;
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--navy);
  display: inline-flex; align-items: center;
  border-radius: 2px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { margin-top: 40px; }
.faq-section .eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--teal);
  font-weight: 700; letter-spacing: 2px; margin-bottom: 8px;
}
.faq-section h2 {
  font-family: var(--sans); font-size: 22px; font-weight: 700;
  margin: 0 0 24px; color: var(--navy);
}
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q, .faq-a { display: flex; gap: 14px; }
.faq-q { margin-bottom: 10px; }
.faq-q .mark {
  font-family: var(--mono); color: var(--teal);
  font-size: 20px; font-weight: 700; line-height: 1;
  flex-shrink: 0;
}
.faq-q .txt { font-size: 15px; font-weight: 600; color: var(--navy); }
.faq-a .mark {
  font-family: var(--mono); color: var(--muted);
  font-size: 20px; font-weight: 700; line-height: 1;
  flex-shrink: 0;
}
.faq-a .txt { font-size: 14px; color: var(--text); line-height: 1.85; }

/* ==========================================================================
   Sidebar (PC only) - スクロール追従 + アクティブハイライト
   article-header が .main の上に移動したため、目次は自動的に最初のH2に揃う
   ========================================================================== */
aside { display: flex; flex-direction: column; gap: 28px; }
.sidebar-sticky {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* サイドバー内部が画面高を超えた時に、サイドバー内でスクロール可能にする */
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  /* 見た目を整えるスクロールバー */
  scrollbar-width: thin;
  scrollbar-color: var(--teal-line) transparent;
  /* スクロールバー表示時のコンテンツの詰まりを緩和 */
  padding-right: 6px;
}
.sidebar-sticky::-webkit-scrollbar { width: 6px; }
.sidebar-sticky::-webkit-scrollbar-track { background: transparent; }
.sidebar-sticky::-webkit-scrollbar-thumb { background: var(--teal-line); border-radius: 3px; }
.sidebar-sticky::-webkit-scrollbar-thumb:hover { background: var(--teal); }
.sidebar-block {
  border-top: 3px solid var(--teal);
  padding-top: 16px;
}
.sidebar-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--teal-dark); letter-spacing: 2px; margin-bottom: 14px;
}
.sidebar-title {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 14px;
}

/* サイドバー目次 - アクティブ時左にティールバー + 背景 */
.sidebar-toc {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
}
.sidebar-toc li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px;
  padding: 10px 0 10px 14px;
  margin-left: -1px;
  border-left: 3px solid transparent;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sidebar-toc li:hover { color: var(--navy); }
.sidebar-toc li.active {
  border-left: 3px solid var(--teal);
  background: var(--teal-bg);
  color: var(--navy);
  font-weight: 700;
}
.sidebar-toc .num {
  font-family: var(--mono); font-size: 11px;
  color: #b5c2c9; font-weight: 700;
  flex-shrink: 0;
}
.sidebar-toc li.active .num { color: var(--teal); }

/* 検索ボックス */
.search-box {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 2px;
}
.search-box:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(27,184,201,0.15);
}
.search-box input {
  border: none; outline: none; flex: 1;
  font-family: var(--sans);
  /* iOSのフォーカス時自動ズームを防ぐため 16px 以上 */
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.search-box input::placeholder { color: #b5c2c9; font-size: 13px; }

/* 車種リスト - 初期は自然な高さ、展開時は高さ制限+スクロール */
.car-list-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-y: auto;
  padding-right: 4px;
  /* 展開時の高さ制限 (約4〜5車種分) */
  transition: max-height 0.3s ease;
}
.car-list-wrap.is-expanded {
  max-height: 280px;
}
.car-list-wrap::-webkit-scrollbar { width: 6px; }
.car-list-wrap::-webkit-scrollbar-track { background: var(--bg-warm); }
.car-list-wrap::-webkit-scrollbar-thumb { background: var(--teal-line); border-radius: 3px; }
.car-list-wrap::-webkit-scrollbar-thumb:hover { background: var(--teal); }

.car-list { display: flex; flex-direction: column; }
.car-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 6px;
  border-bottom: 1px solid #eef1f3;
  font-size: 13px;
  transition: background 0.15s;
}
.car-list-item:last-child { border-bottom: none; }
.car-list-item:hover {
  background: var(--teal-bg);
}
.car-list-item:hover .car-list-jp { color: var(--teal-dark); }
.car-list-jp { color: var(--ink); transition: color 0.15s; }
.car-list-en {
  font-family: var(--mono); font-size: 9px; color: #b5c2c9;
  letter-spacing: 0.5px; margin-top: 2px;
}
.car-list-arrow { color: var(--teal); font-size: 14px; }

/* 「もっと見る」ボタン */
.car-list-more {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--navy);
  padding: 10px;
  border: 1px solid var(--teal);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
}
.car-list-more:hover {
  background: var(--teal);
  color: #fff;
}
/* 展開時(閉じるボタンに変わった状態)のスタイル */
.car-list-more.is-expanded {
  background: var(--teal-bg);
  border-color: var(--teal-line);
  color: var(--navy);
}
.car-list-more.is-expanded:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.car-list-more .arrow { margin-left: 4px; }

/* ==========================================================================
   Sidebar CV (画像差し替え前提のグレープレースホルダー)
   ========================================================================== */
.sidebar-cv {
  margin-top: 24px;
}
.sidebar-cv-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: #d9dcdf;
  /*border: 1px dashed #9aa3ac;*/
  color: #6b7280;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s;
}
.sidebar-cv-placeholder:hover {
  background: #cdd2d6;
}
.sidebar-cv-label {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #6b7280;
  margin-bottom: 6px;
}
.sidebar-cv-sub {
  font-size: 11px;
  color: #8a95a0;
}

/* 検索結果なし表示 */
.car-list-empty {
  padding: 20px 10px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   FAB (Floating Action Button) - SPのみ表示
   ========================================================================== */
.fab,
.fab-close,
.search-sheet { display: none; }

/* ==========================================================================
   Tablet: 768px 〜 960px
   ========================================================================== */
@media (max-width: 960px) {
  .main {
    grid-template-columns: 1fr;
    padding: 28px 28px 56px;
    gap: 40px;
  }
  .article-header { padding: 0 28px; }
  .sidebar-sticky { position: static; }

  .breadcrumb { padding: 12px 24px; }

  h1.title { font-size: 24px; }
  .hero-wrap {
    padding: 0 28px;
    margin-top: 20px;
  }
  .hero {
    aspect-ratio: 16 / 6.5;
  }
  .hero-placeholder-label { font-size: 16px; }

  .cars-section { padding: 30px 24px; }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }

  /* タブレットではサイドバーCVを小さめに */
  .sidebar-cv-placeholder { aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   Smartphone: 〜 767px
   ========================================================================== */
@media (max-width: 767px) {

  /* ----- Breadcrumb ----- */
  .breadcrumb {
    padding: 10px 16px;
    font-size: 10px;
    overflow-x: auto; white-space: nowrap;
  }
  .breadcrumb .sep { margin: 0 6px; }

  /* ----- Main layout ----- */
  .main {
    display: block;
    padding: 0;
    max-width: 100%;
  }
  /* SP: article全体に左右16pxの余白を確保 */
  .main > article {
    padding: 0 16px;
  }

  /* ----- Hero (SP: プレースホルダーを画面幅に) ----- */
  .hero-wrap {
    padding: 0 16px;
    margin-top: 14px;
  }
  .hero {
    aspect-ratio: 16 / 9;
  }
  .hero-placeholder-label { font-size: 14px; letter-spacing: 2px; }
  .hero-placeholder-sub { font-size: 10px; }

  /* ----- meta/title/lead: article-header に左右16pxパディング ----- */
  .article-header {
    padding: 0 16px;
    margin-top: 20px;
  }
  .meta-row {
    padding: 0;
    margin-bottom: 10px;
    gap: 10px;
  }
  .meta-row .tag-line { font-size: 12px; }
  .meta-row .date { font-size: 11px; padding: 2px 10px; }
  .read-time { display: none; }

  h1.title {
    padding: 0;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .lead {
    padding: 0 0 20px;
    margin: 0 0 24px;
    font-size: 13px;
  }
  .article-header .lead {
    padding-bottom: 20px;
    margin-bottom: 0;
  }

  /* ----- Sections ----- */
  section.body-sec {
    padding: 0 16px;
    margin-bottom: 36px;
  }
  .sec-label { font-size: 10px; margin-bottom: 6px; }
  h2.sec-title {
    font-size: 17px;
    padding: 14px 14px;
    margin-bottom: 18px;
    border-left-width: 4px;
    border-right-width: 4px;
  }
  .body-sec p { font-size: 14px; margin-bottom: 14px; line-height: 1.85; }

  /* ----- Step cards (縦並び) ----- */
  .steps { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .step-card { padding: 14px; }
  .step-label { font-size: 10px; margin-bottom: 4px; }
  .step-title { font-size: 14px; margin-bottom: 4px; }
  .step-body { font-size: 12px; line-height: 1.75; }

  /* ----- Compare table → カード型 ----- */
  .compare-head { display: none; }
  .compare-row {
    display: block;
    padding: 14px 14px;
    font-size: 12px;
  }
  .compare-row > div { padding: 0; text-align: left !important; font-family: var(--sans) !important; }
  .compare-row > div:first-child {
    font-size: 15px; margin-bottom: 8px; font-weight: 700;
    color: var(--navy);
  }
  .compare-row > div:nth-child(2)::before { content: "対応車種: "; color: var(--muted); font-weight: 500; }
  .compare-row > div:nth-child(3)::before { content: "難度: "; color: var(--muted); font-weight: 500; }
  .compare-row > div:last-child::before { content: "費用: "; color: var(--muted); font-weight: 500; }
  .compare-row > div:not(:first-child) {
    font-size: 12px;
    color: var(--text);
    line-height: 1.7;
    padding: 2px 0;
  }
  .compare-row > div:last-child {
    font-weight: 700 !important;
    color: var(--teal-dark);
    font-family: var(--mono) !important;
    font-size: 13px !important;
  }

  /* ----- Point box ----- */
  .point-box { padding: 16px; gap: 10px; }
  .point-icon { font-size: 18px; }
  .point-title { font-size: 12px; }
  .point-body { font-size: 13px; line-height: 1.75; }

  /* ----- Option cards (縦並び) ----- */
  .options { grid-template-columns: 1fr; gap: 20px; }
  .option-card { padding: 20px; }
  .option-name { font-size: 18px; }

  /* ----- Cars section ----- */
  .cars-section {
    padding: 24px 16px;
    margin: 30px 0;
    border-radius: 0;
  }
  .cars-section .eyebrow { font-size: 10px; margin-bottom: 4px; }
  .cars-section h2 { font-size: 18px; margin-bottom: 14px; }
  .cars-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .car-card { padding: 10px 12px; }
  .car-name { font-size: 13px; }
  .car-type { font-size: 10px; }

  /* ----- CTA ----- */
  .cta-box {
    padding: 28px 16px;
    margin: 30px 0;
  }
  .cta-eyebrow { font-size: 10px; margin-bottom: 4px; }
  .cta-title { font-size: 17px; margin-bottom: 6px; }
  .cta-sub { font-size: 11px; margin-bottom: 14px; }
  .cta-buttons { flex-direction: column; gap: 8px; }
  .btn-primary, .btn-secondary {
    display: block;
    padding: 14px;
    width: 100%;
    justify-content: center;
  }
  .btn-primary { font-size: 15px; }
  .btn-secondary { font-size: 13px; }

  /* ----- FAQ ----- */
  .faq-section {
    padding: 0 16px;
    margin-top: 30px;
  }
  .faq-section .eyebrow { font-size: 10px; }
  .faq-section h2 { font-size: 18px; margin-bottom: 16px; }
  .faq-q .mark, .faq-a .mark { font-size: 18px; }
  .faq-q .txt { font-size: 14px; }
  .faq-a .txt { font-size: 13px; }

  /* ----- Sidebar: 非表示(FABで代替) ----- */
  aside { display: none; }

  /* ----- FAB (floating action button) ----- */
  .fab {
    display: flex;
    position: fixed; right: 14px; bottom: 80px; z-index: 50;
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--teal);
    color: #fff;
    flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(27,184,201,0.45), 0 2px 6px rgba(0,0,0,0.15);
    border: 3px solid #fff;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
  }
  .fab:hover { transform: scale(1.05); }
  .fab svg { margin-bottom: 2px; }
  .fab-label { font-size: 9px; font-weight: 700; line-height: 1.15; text-align: center; }
  .fab-close {
    display: flex;
    position: fixed; right: 14px; bottom: 80px; z-index: 51;
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--navy); color: #fff;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(15,27,45,0.3);
    border: 3px solid #fff;
    font-size: 28px; font-weight: 300;
    cursor: pointer;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s;
  }

  /* ----- Search sheet (SP) ----- */
  .search-sheet {
    display: flex; flex-direction: column;
    position: fixed;
    right: 14px; bottom: 170px; z-index: 50;
    width: calc(100% - 28px); max-width: 340px;
    max-height: 60vh;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--teal);
    box-shadow: 0 10px 30px rgba(15,27,45,0.2);
    padding: 18px;
    opacity: 0; transform: translateY(10px); pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    border-radius: 2px;
  }
  .sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
    flex-shrink: 0;
  }
  .sheet-head-left { display: flex; align-items: center; gap: 8px; }
  .sheet-head .bar { width: 3px; height: 14px; background: var(--teal); }
  .sheet-head .title {
    font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--navy);
  }
  .sheet-close { font-size: 22px; color: var(--muted); line-height: 1; cursor: pointer; }
  .sheet-search {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid var(--line);
    padding: 10px 12px;
    margin-bottom: 14px;
    flex-shrink: 0;
    border-radius: 2px;
  }
  .sheet-search:focus-within { border-color: var(--teal); }
  .sheet-search input {
    border: none; outline: none; flex: 1;
    font-family: var(--sans);
    /* iOSのフォーカス時自動ズームを防ぐため 16px 以上 */
    font-size: 16px;
    color: var(--ink);
    min-width: 0;
    background: transparent;
  }
  .sheet-search input::placeholder { color: #b5c2c9; font-size: 13px; }
  .sheet-list-wrap {
    flex: 1;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 0;
  }
  .sheet-list-wrap::-webkit-scrollbar { width: 6px; }
  .sheet-list-wrap::-webkit-scrollbar-thumb { background: var(--teal-line); border-radius: 3px; }
  .sheet-list {
    display: flex; flex-direction: column;
  }
  .sheet-list-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 6px;
    border-bottom: 1px solid #eef1f3;
    font-size: 13px;
  }
  .sheet-list-item:last-child { border-bottom: none; }
  .sheet-list-item .sheet-jp { color: var(--ink); }
  .sheet-list-item .sheet-en {
    font-family: var(--mono); font-size: 9px; color: #b5c2c9;
    letter-spacing: 0.5px; margin-top: 2px;
  }
  .sheet-list-item .sheet-arrow { color: var(--teal); font-size: 14px; }
  .sheet-list-more {
    display: block;
    width: 100%;
    margin-top: 12px;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--teal);
    background: #fff;
    color: var(--navy);
    font-size: 12px; font-weight: 600;
    cursor: pointer;
    font-family: var(--sans);
    flex-shrink: 0;
  }
  .sheet-list-more:hover {
    background: var(--teal); color: #fff;
  }
  .sheet-empty {
    padding: 20px 10px;
    text-align: center; font-size: 12px; color: var(--muted);
  }

  /* ----- Toggle state (search open) ----- */
  body.search-open .fab { opacity: 0; pointer-events: none; }
  body.search-open .fab-close { opacity: 1; pointer-events: auto; }
  body.search-open .search-sheet {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
}

/* ==========================================================================
   ===== spec.md 準拠: 記事本文用コンポーネント追加分 =====
   column_20.html の <article> 内で使用される新規クラス。
   既存のティール系カラーパレットに合わせて実装。
   ========================================================================== */

/* 本文段落 ----------------------------------------------------------------- */
.column_txt {
  font-size: 15px;
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.9;
}
.column_txt strong {
  color: var(--navy);
  font-weight: 700;
}
.column_txt a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.column_txt a:hover {
  color: var(--teal);
}

/* 本文中の画像 ------------------------------------------------------------- */
.column_img {
  margin: 20px 0 24px;
  text-align: center;
}
.column_img img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

/* 本文 H2 (id="sectionX") --------------------------------------------------
   既存の sec-title スタイル(左右ティールボーダー+薄シアン帯)を踏襲 */
article h2[id^="section"] {
  position: relative;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin: 40px 0 24px;
  padding: 20px 24px;
  background: var(--teal-bg);
  border-left: 5px solid var(--teal);
  border-right: 5px solid var(--teal);
  scroll-margin-top: 20px;
}

/* 本文 H3 --------------------------------------------------------------- */
article h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
}

/* 本文 H4 --------------------------------------------------------------- */
article h4 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin: 24px 0 10px;
  padding: 0.2em 0 0.2em 0;
  border-bottom: 2px solid var(--line);
}

/* 本文 H5 --------------------------------------------------------------- */
article h5 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #050505;
  line-height: 1.5;
  margin: 18px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--teal-line);
}

/* 執筆者プロフィール(design-box profile-box) ------------------------------ */
.design-box.profile-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 2px;
  margin: 24px 0 28px;
}
.profile-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.profile-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.profile-content {
  flex: 1;
  min-width: 0;
}
.profile-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.profile-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  margin: 0;
}

/* チェックボックス囲み (design-box check-box) ----------------------------
   シンプル版: 上下ラインなし、薄シアン背景+左ボーダー程度の柔らかい囲み */
.design-box.check-box {
  padding: 18px 22px;
  background: var(--teal-bg);
  border: none;
  border-radius: 4px;
  margin: 18px 0 22px;
}
.design-box.check-box .column_txt {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}
.design-box.check-box .column_txt strong {
  color: var(--navy);
}

/* 箇条書きボックス (spare-key-guide) --------------------------------------
   シンプル版: 左縦棒・ボックス囲みなし、「・」マーカーのみ */
.spare-key-guide {
  margin: 16px 0 20px;
}
.spare-key-guide .block {
  padding: 0;
  background: transparent;
  border: none;
}
.spare-key-guide ul,
.spare-key-guide ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: skg-counter;
}
.spare-key-guide ul li,
.spare-key-guide ol li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  border: none;
}
/* <ul> は「・」マーカー */
.spare-key-guide ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--text);
  font-weight: 700;
}
/* <ol> は 1. 2. 3. のシンプル表示 */
.spare-key-guide ol li {
  padding-left: 22px;
  counter-increment: skg-counter;
}
.spare-key-guide ol li::before {
  content: counter(skg-counter) ".";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--navy);
  font-weight: 700;
  font-family: var(--mono);
}
.spare-key-guide li strong {
  color: var(--navy);
  font-weight: 700;
}
.spare-key-guide li a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.spare-key-guide li a:hover {
  color: var(--teal);
}

/* 比較表 (search-tips-table) ----------------------------------------------
   既存の compare-table スタイル(ティールヘッダ+ストライプ)を踏襲 */
.search-tips-table-wrapper {
  margin: 18px 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.search-tips-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--teal-line);
  border-radius: 2px;
  overflow: hidden;
  font-size: 13px;
  background: #fff;
}
.search-tips-thead {
  background: #a3f1ff;
  color: #fff;
}
.search-tips-th {
  padding: 12px 14px;
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
  border-right: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
}
.search-tips-th:last-child { border-right: none; }

.search-tips-tbody .search-tips-tr:nth-child(even) {
  background: var(--bg-warm);
}
.search-tips-td {
  padding: 14px 16px;
  color: var(--text);
  vertical-align: middle;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
}
.search-tips-td:last-child { border-right: none; }
.search-tips-td:first-child {
  color: var(--navy);
  font-weight: 700;
}
.search-tips-td a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.search-tips-td a:hover {
  color: var(--teal);
}

/* rtoc-like 目次(開閉式) -------------------------------------------------
   checkbox hack による開閉制御
   既存の toc-box / sidebar-toc とは別系統(本文内に置く目次) */
.rtoc-like {
  position: relative;
  margin: 28px 0 32px;
}
.rtoc-like__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rtoc-like__box {
  border: 1px solid var(--teal-line);
  border-top: 3px solid var(--teal);
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.rtoc-like__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--teal-bg);
  border-bottom: 1px solid var(--teal-line);
}
.rtoc-like__title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.rtoc-like__title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--teal);
  margin-right: 10px;
  vertical-align: -3px;
}
.rtoc-like__close {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 1px;
  padding: 4px 10px;
  border: 1px solid var(--teal);
  border-radius: 2px;
  cursor: pointer;
  background: #fff;
  transition: background 0.15s, color 0.15s;
}
.rtoc-like__close:hover {
  background: var(--teal);
  color: #fff;
}
.rtoc-like__sections {
  list-style: none;
  margin: 0;
  padding: 14px 20px 18px;
  counter-reset: rtoc-counter;
}
.rtoc-like__section {
  counter-increment: rtoc-counter;
  padding: 6px 0;
  border-bottom: 1px dashed #e4edef;
}
.rtoc-like__section:last-child { border-bottom: none; }
.rtoc-like__main {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rtoc-like__main a {
  flex: 1;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.7;
  padding: 2px 0;
  transition: color 0.15s;
}
.rtoc-like__main a:hover {
  color: var(--teal-dark);
}

/* 閉じるボタン = 閉じた状態に遷移(CLOSE ラベル) */
.rtoc-like__toggle:checked ~ .rtoc-like__box {
  max-height: 52px; /* ヘッダーのみ見える高さ */
}
.rtoc-like__toggle:checked ~ .rtoc-like__box .rtoc-like__sections {
  display: none;
}
.rtoc-like__toggle:checked ~ .rtoc-like__box .rtoc-like__close {
  display: none;
}

/* 閉じた時に「目次」の丸バーを表示 */
.rtoc-like__openbar {
  display: none;
  margin-top: 8px;
  padding: 10px 20px;
  text-align: center;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 2px;
}
.rtoc-like__openbar:hover { background: var(--teal-dark); }
.rtoc-like__toggle:checked ~ .rtoc-like__openbar {
  display: block;
}
.rtoc-like__toggle:checked ~ .rtoc-like__box .rtoc-like__head {
  border-bottom: none;
}

/* ==========================================================================
   記事本文用コンポーネントの SP 調整
   ========================================================================== */
@media (max-width: 767px) {
  /* 本文段落 */
  .column_txt {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 14px;
  }
  /* 本文画像 */
  .column_img {
    margin: 16px 0 20px;
  }

  /* H2 */
  article h2[id^="section"] {
    font-size: 17px;
    padding: 14px 14px;
    margin: 28px 0 18px;
    border-left-width: 4px;
    border-right-width: 4px;
  }
  /* H3 */
  article h3 {
    font-size: 15px;
    margin: 22px 0 12px;
    padding-left: 10px;
    border-left-width: 3px;
  }

  /* H4 */
  article h4 {
    font-size: 14px;
    margin: 18px 0 8px;
  }
  /* H5 */
  article h5 {
    font-size: 13px;
    margin: 14px 0 6px;
    padding-left: 8px;
  }

  /* プロフィール */
  .design-box.profile-box {
    gap: 12px;
    padding: 14px 16px;
    margin: 16px 0 20px;
  }
  .profile-icon {
    width: 56px;
    height: 56px;
  }
  .profile-title { font-size: 12px; }
  .profile-desc { font-size: 13px; line-height: 1.8; }

  /* チェックボックス囲み */
  .design-box.check-box {
    padding: 14px 16px;
    margin: 16px 0 20px;
  }
  .design-box.check-box .column_txt {
    font-size: 13px;
    line-height: 1.8;
  }

  /* 箇条書きボックス(シンプル版) */
  .spare-key-guide {
    margin: 12px 0 16px;
  }
  .spare-key-guide .block {
    padding: 0;
  }
  .spare-key-guide ul li,
  .spare-key-guide ol li {
    font-size: 13px;
    line-height: 1.8;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .spare-key-guide ul li { padding-left: 16px; }
  .spare-key-guide ul li::before { top: 4px; }
  .spare-key-guide ol li { padding-left: 20px; }
  .spare-key-guide ol li::before { top: 4px; font-size: 13px; }

  /* 比較表(SPではスクロール対応) */
  .search-tips-table-wrapper {
    margin: 14px -16px 20px;
    padding: 0 16px;
  }
  .search-tips-table {
    font-size: 12px;
    min-width: 520px; /* 横スクロールで見られるよう最小幅確保 */
  }
  .search-tips-th {
    padding: 10px 10px;
    font-size: 12px;
  }
  .search-tips-td {
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.7;
  }

  /* rtoc-like 目次 */
  .rtoc-like {
    margin: 20px 0 24px;
  }
  .rtoc-like__head {
    padding: 12px 14px;
  }
  .rtoc-like__title { font-size: 14px; }
  .rtoc-like__close { font-size: 10px; padding: 3px 8px; }
  .rtoc-like__sections {
    padding: 10px 16px 14px;
  }
  .rtoc-like__main a {
    font-size: 13px;
    line-height: 1.6;
  }
}

.marker {
    background:linear-gradient(transparent 60%, #ff6 60%);
	font-weight: bold;
}

/* ==========================================================================
   dialogue_component.css
   人 ↔ 鍵屋スタッフ 会話UIコンポーネント
   column_20.css / common.css の後に読み込む
   ========================================================================== */

/* ---------- ラッパー ---------- */
.dlg-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

/* ---------- 1行ぶんの会話 ---------- */
.dlg-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

/* 鍵屋：左寄せ */
.dlg-row.staff {
  flex-direction: row;
}

/* ユーザー（人）：右寄せ */
.dlg-row.user {
  flex-direction: row-reverse;
}

/* ---------- アイコン ---------- */
.dlg-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8edf2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dlg-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* アイコン未設定時のフォールバック文字 */
.dlg-icon-fallback {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  line-height: 1.2;
  text-align: center;
  padding: 4px;
}

/* ---------- 吹き出し本体 ---------- */
.dlg-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 68px);
}

/* 話者名 */
.dlg-name {
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.dlg-row.user .dlg-bubble-wrap {
  align-items: flex-end;
}

.dlg-row.user .dlg-name {
  text-align: right;
}

/* 吹き出し */
.dlg-bubble {
  position: relative;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.75;
  word-break: break-word;
}

/* 鍵屋：薄ブルー・左尖り */
.dlg-row.staff .dlg-bubble {
  background: #e8f1fb;
  border: 1px solid #c3d9f2;
  color: #1a1a1a;
  border-bottom-left-radius: 4px;
}

/* ユーザー：クリーム・右尖り */
.dlg-row.user .dlg-bubble {
  background: #fdf6e3;
  border: 1px solid #ecdfa8;
  color: #1a1a1a;
  border-bottom-right-radius: 4px;
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 640px) {
  .dlg-icon {
    width: 40px;
    height: 40px;
  }

  .dlg-bubble {
    font-size: 13px;
    padding: 9px 12px;
  }

  .dlg-bubble-wrap {
    max-width: calc(100% - 58px);
  }
}

.form-note {
  text-align: center;
  color: #999;
  font-size: 12px;
  margin: 8px 0 20px;
}

.img-text-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.img-text-layout__image {
  width: 45%;
  flex-shrink: 0;
}

.img-text-layout__image img {
  width: 100%;
  height: auto;
  display: block;
}

.img-text-layout__body {
  flex: 1;
}

@media (max-width: 768px) {
  .img-text-layout {
    flex-direction: column;
  }

  .img-text-layout__image {
    width: 100%;
  }
}

.img-text-layout__body p {
  margin-bottom: 2em;
}