@charset "UTF-8";
/* CSS Document */
/* ブラウザ標準の余白をリセット（スマホの端までぴったり広げる） */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* =========================================
   2026年最新・全デバイス最適ゴシック体フォント統一
   ========================================= */
body,
.detail-container,
.detail-container h1,
.detail-container h2,
.detail-container h3,
.detail-container p,
.detail-container li,
.detail-container th,
.detail-container td,
.detail-container dt,
.detail-container dd,
.detail-container a,
.detail-container button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   詳細ページ専用スタイル（detail.css）
   ========================================================= */
.detail-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px 0;
  color: #1e293b;
  line-height: 1.7;
  font-size: 15px;
}

/* パンくずリスト（SEOキーワード維持・縦幅スリム化版） */
.breadcrumb {
  margin: 3px 0; /* パンくずの上下余白はここで一元管理（上下完全一致） */
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* ★全項目の縦位置を中央で揃える */
  gap: 0; /* ★要素間の押せない隙間をゼロにする */
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 10.5px;
  line-height: 1.3;
  color: #64748b;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li:last-child {
  padding: 3px 2px; /* ★リンクあり項目と上下の余白を完全一致させる */
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 2px;
  color: #94a3b8;
}

.breadcrumb a {
  display: inline-block;
  padding: 3px 2px; /* ★見た目の行間・間隔はそのままに、押せる範囲を広げる */
  color: #15803d;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ヘッダー ＆ H1直上の「ちょい見せ」パノラマ画像 */
.detail-header {
  margin-bottom: 16px;
}

/* PC表示 */
.detail-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 185px;
  margin: 0 0 14px 0;
  border-radius: 0;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  background-image: var(--fv-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.detail-meta-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #64748b;
}

/* エリアタグ（1箇所に統一） */
.area-tag {
  display: inline-block;
  background-color: #15803d;
  color: #ffffff;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.detail-header h1 {
  font-size: 23px;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 8px 0;
}

@media (min-width: 768px) {
  .detail-header h1 {
    font-size: 26px;
  }
}

.detail-lead {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 10px 0;
}

/* 設備バッジ一覧（1箇所に統一） */
.spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.spec-badges li {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  line-height: 1.4;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
}

.spec-badges li.is-on {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-weight: 600;
}

/* 結論サマリーボックス */
.summary-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 28px;
}

.summary-box h2 {
  font-size: 17px;
  margin: 0 0 10px 0;
  color: #0f172a;
}

.summary-box ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.summary-box li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* CTAボタン（公式ブルー統一） */
.detail-cta {
  text-align: center;
}

.btn-official {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #1d4ed8;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(29, 78, 216, 0.25);
  box-sizing: border-box;
  transition: background 0.15s ease;
}

.btn-official:hover {
  background: #1e40af;
}

.cta-tel {
  font-size: 13px;
  color: #475569;
  margin: 8px 0 0 0;
}

.cta-tel a {
  font-weight: 700;
  color: #0f172a;
}

/* 各セクション共通 */
.detail-section {
  margin-bottom: 32px;
}

.detail-section h2 {
  font-size: 19px;
  color: #0f172a;
  border-left: 5px solid #15803d;
  padding-left: 12px;
  margin: 0 0 16px 0;
}

.feature-block {
  margin-bottom: 24px;
}

.feature-block h3 {
  font-size: 16.5px;
  color: #0f172a;
  margin: 0 0 10px 0;
}

/* スペック表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 28%;
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
}

@media (max-width: 600px) {
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .spec-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
}

/* 画像ギャラリー */
.detail-fig {
  margin: 0 0 12px 0;
}

.detail-fig img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.detail-fig figcaption {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.fig-2col {
  display: grid;
  grid-template-columns: 100%;
  gap: 12px;
}

@media (min-width: 768px) {
  .fig-2col {
    grid-template-columns: calc(50% - 6px) calc(50% - 6px);
  }
}

/* 注意点・デメリットボックス */
.caution-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 16px;
}

.caution-box h2 {
  border-left-color: #d97706;
}

.caution-box ul {
  margin: 0;
  padding-left: 20px;
}

.caution-box li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* FAQ */
.faq-list dt {
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.faq-list dd {
  margin: 0 0 16px 0;
  padding: 0 8px;
  font-size: 14px;
  color: #334155;
}

/* フッターCTA＆エリア一覧へ戻る */
.detail-footer-cta {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  margin-top: 32px;
}

.detail-footer-cta h2 {
  font-size: 18px;
  margin: 0 0 8px 0;
}

.detail-footer-cta p {
  font-size: 14px;
  margin: 0 0 16px 0;
}

.back-area-link {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #86efac;
}

.back-area-link a {
  font-weight: 700;
  color: #15803d;
  text-decoration: none;
}

/* =========================================
   スマホ表示最適化（640px以下）
   ========================================= */
@media (max-width: 640px) {
  .detail-container {
    overflow-x: hidden;
  }
  /* スマホ表示ではすぐ下にH1があるため、パンくずの現在地(5番目)を隠して2行に収める */
  .breadcrumb li:last-child {
    display: none;
  }
  .breadcrumb li:nth-last-child(2)::after {
    content: none;
  }
  /* スマホ表示時は画面端ぴったりでH1直上に1枚表示 */
  .detail-header::before {
    width: calc(100% + 32px);
    margin: 0 -16px 12px -16px;
    height: 135px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    background-size: cover;
    background-position: center;
  }
  .detail-header h1 {
    font-size: 18.5px;
    margin-bottom: 6px;
  }
  .detail-header .detail-lead {
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  /* 横スクロールを解除し、7個のバッジすべてを2行で一覧表示 */
  .detail-header .spec-badges {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 4px;
    padding-bottom: 0;
  }
  .detail-header .spec-badges li {
    flex-shrink: 1;
    font-size: 10.5px;
    padding: 2px 7px;
  }
}
/* スマホ専用改行クラス（PCでは非表示） */
.sp-only {
  display: none;
}

@media (max-width: 640px) {
  .sp-only {
    display: inline;
  }
}
/* スマホ専用改行・PC専用改行の切り替え */
.sp-only {
  display: none;
}
.pc-only {
  display: inline;
}

@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }
  .pc-only {
    display: none;
  }
}