/* model-2026.css — 2026年モデル詳細ページ共通スタイル */
.model-hero {
  background: linear-gradient(160deg, #0a1a30 0%, #1a3050 60%, #2a5080 100%);
  border-radius: 10px; padding: 28px 24px 22px;
  margin-bottom: 28px; position: relative; overflow: hidden;
}
.model-hero .brand-label { font-size:11px; font-weight:bold; letter-spacing:2px; color:#7ec8e3; text-transform:uppercase; margin-bottom:6px; }
.model-hero .model-title { font-size:28px; font-weight:900; color:#fff; line-height:1.1; margin-bottom:4px; }
.model-hero .model-year-tag { display:inline-block; background:#e74c3c; color:#fff; font-size:11px; font-weight:bold; padding:2px 10px; border-radius:3px; margin-bottom:16px; }
.spec-pills { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:18px; }
.spec-pill { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.18); border-radius:20px; padding:4px 12px; font-size:12px; color:#cde; white-space:nowrap; }
.spec-pill strong { color:#f0c040; }
.hero-price { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.hero-price .price-num { font-size:30px; font-weight:900; color:#fff; line-height:1; }
.hero-price .price-tax { font-size:12px; color:#aac; }
.buy-section { background:#f7f9fc; border:1px solid #dde6f0; border-radius:8px; padding:18px 20px; margin:20px 0; }
.buy-section .buy-title { font-size:13px; font-weight:bold; color:#555; margin-bottom:10px; }
a.btn-buy-primary { display:block; background:linear-gradient(135deg,#e67e22,#c0392b); color:#fff; text-align:center; padding:14px 16px; border-radius:6px; font-size:15px; font-weight:bold; text-decoration:none; margin-bottom:8px; box-shadow:0 3px 10px rgba(0,0,0,0.18); transition:filter 0.15s; }
a.btn-buy-primary:hover { filter:brightness(1.08); }
a.btn-buy-primary small { display:block; font-size:11px; font-weight:normal; margin-top:2px; opacity:0.8; }
.btn-buy-row { display:flex; gap:8px; flex-wrap:wrap; }
a.btn-buy-sub { flex:1; min-width:120px; display:block; text-align:center; padding:10px 8px; border-radius:5px; font-size:13px; font-weight:bold; text-decoration:none; transition:filter 0.15s; }
a.btn-buy-sub:hover { filter:brightness(1.06); }
a.btn-amazon  { background:#ff9900; color:#111; }
a.btn-rakuten { background:#bf0000; color:#fff; }
a.btn-yahoo   { background:#ff0033; color:#fff; }
a.btn-kakaku  { background:#0066cc; color:#fff; }
a.btn-dealer-only { display:block; background:#2c3e50; color:#fff; text-align:center; padding:11px 16px; border-radius:5px; font-size:13px; font-weight:bold; text-decoration:none; transition:filter 0.15s; }
a.btn-dealer-only:hover { filter:brightness(1.12); }
.buy-note { font-size:11px; color:#888; margin-top:8px; margin-bottom:0; }
.section-heading { border-left:4px solid #1b3a5c; padding-left:12px; margin:28px 0 14px; font-size:17px; font-weight:bold; color:#1b3a5c; }
.section-heading span { display:block; font-size:11px; font-weight:normal; color:#7ec8e3; letter-spacing:1px; text-transform:uppercase; margin-bottom:2px; }
.point-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:24px; }
@media (min-width:480px) { .point-grid { grid-template-columns:repeat(3,1fr); } }
.point-card { background:#fff; border:1px solid #e0eaf5; border-top:3px solid #1b3a5c; border-radius:6px; padding:14px 12px; }
.point-card .pt-num { font-size:11px; font-weight:bold; color:#7ec8e3; letter-spacing:1px; margin-bottom:4px; }
.point-card .pt-title { font-size:13px; font-weight:bold; color:#1b3a5c; margin:0 0 6px 0; line-height:1.3; }
.point-card .pt-body { font-size:12px; color:#555; line-height:1.6; }
.target-box { background:#eef6ff; border-left:4px solid #1b3a5c; border-radius:0 6px 6px 0; padding:16px 18px; margin-bottom:24px; }
.target-box .target-title { font-size:14px; font-weight:bold; color:#1b3a5c; margin-bottom:10px; }
.target-box ul { margin:0; padding-left:18px; }
.target-box ul li { font-size:13px; color:#333; margin-bottom:5px; line-height:1.5; }
.spec-table { font-size:13px; }
.spec-table th { background:#f0f4f9; width:32%; font-size:12px; color:#444; vertical-align:middle; white-space:nowrap; }
.spec-table td { vertical-align:middle; }
.spec-table tr.highlight td { background:#fffbea; font-weight:bold; color:#7a5200; }
.faq-list { margin-bottom:20px; }
.faq-item { border:1px solid #dde6f0; border-radius:6px; margin-bottom:10px; overflow:hidden; }
.faq-item h3 { margin:0; padding:0; font-size:13px; font-weight:bold; line-height:normal; }
.faq-q { background:#f0f4f9; padding:12px 16px; font-size:13px; font-weight:bold; color:#1b3a5c; display:flex; gap:10px; align-items:flex-start; margin:0; }
.faq-q::before { content:"Q"; background:#1b3a5c; color:#fff; border-radius:3px; padding:0 5px; font-size:12px; flex-shrink:0; margin-top:1px; }
.faq-a { padding:12px 16px; font-size:13px; color:#333; line-height:1.65; display:flex; gap:10px; align-items:flex-start; }
.faq-a::before { content:"A"; background:#e67e22; color:#fff; border-radius:3px; padding:0 5px; font-size:12px; flex-shrink:0; margin-top:1px; }
.section-divider { border:none; border-top:1px solid #e8eef5; margin:28px 0; }
.summary-box { background:#fff8e1; border:2px solid #f0c040; border-radius:8px; padding:16px 18px; margin-bottom:24px; }
.summary-box .sum-label { font-size:10px; font-weight:bold; letter-spacing:2px; color:#b8860b; text-transform:uppercase; margin-bottom:6px; }
.summary-box .sum-verdict { font-size:15px; font-weight:bold; color:#333; margin-bottom:8px; line-height:1.45; }
.summary-box ul { margin:0; padding-left:18px; }
.summary-box ul li { font-size:12px; color:#555; margin-bottom:3px; }
.usage-scores { margin-bottom:24px; }
.usage-row { display:flex; align-items:center; margin-bottom:9px; gap:10px; }
.usage-label { width:90px; font-size:12px; color:#444; flex-shrink:0; text-align:right; }
.usage-bar-wrap { flex:1; background:#eee; border-radius:4px; height:10px; overflow:hidden; }
.usage-bar { height:10px; border-radius:4px; background:linear-gradient(90deg,#1b3a5c,#3d85c8); transition:width 0.6s ease; }
.usage-score-num { width:36px; font-size:12px; font-weight:bold; color:#1b3a5c; flex-shrink:0; }
@media (max-width:767px) {
  .model-hero { padding:20px 16px 18px; }
  .model-hero .model-title { font-size:22px; }
  .hero-price .price-num { font-size:24px; }
  .btn-buy-row { flex-direction:column; }
  .btn-buy-sub { min-width:unset; }
}

/* ========== ENHANCED UX — 2026 v2 ========== */

/* --- スムーズスクロール --- */
html { scroll-behavior:smooth; }

/* --- 読み込み進捗バー --- */
#read-progress { position:fixed; top:0; left:0; height:3px; background:linear-gradient(90deg,#1b3a5c,#3d85c8,#e67e22); width:0%; z-index:99999; pointer-events:none; transition:width 0.08s linear; }

/* --- スクロールトップボタン --- */
#scroll-top { position:fixed; bottom:24px; right:16px; width:46px; height:46px; background:#1b3a5c; color:#fff; border:none; border-radius:50%; font-size:22px; line-height:46px; text-align:center; cursor:pointer; opacity:0; transition:opacity 0.3s, transform 0.3s; transform:translateY(14px); z-index:9997; box-shadow:0 3px 14px rgba(0,0,0,0.28); display:block; padding:0; }
#scroll-top.visible { opacity:1; transform:translateY(0); }
#scroll-top:hover { background:#2a5080; }
@media (max-width:767px) { #scroll-top { bottom:70px; right:12px; } }

/* --- ポイントカード ホバー効果 --- */
.point-card { transition:transform 0.2s ease, box-shadow 0.2s ease; cursor:default; }
.point-card:hover { transform:translateY(-4px); box-shadow:0 8px 22px rgba(27,58,92,0.14); border-top-color:#3d85c8; }
.point-card:hover .pt-num { color:#3d85c8; }

/* --- 用途スコアバー：アニメーション用 (JS連動) --- */
/* width:0 はJSのインラインスタイルで制御するため !important は付けない */
.usage-bar { width:0; transition:none; }
.usage-bar.m26-animated { transition:width 1.1s cubic-bezier(0.4,0,0.2,1); }

/* --- FAQ 常時展開（アコーディオン無効） --- */
.faq-list .faq-a,
.faq-list.faq-accordion .faq-a,
.faq-list.faq-accordion .faq-item.open .faq-a { display:flex !important; }
.faq-list.faq-accordion .faq-q { cursor:default; user-select:auto; }
.faq-list.faq-accordion .faq-q::after { content:"" !important; }
.faq-list.faq-accordion .faq-q:hover { background:#f0f4f9; }

/* --- フローティングモバイルCTA --- */
a#float-cta { display:none; position:fixed; bottom:0; left:0; right:0; background:linear-gradient(135deg,#e67e22,#c0392b); color:#fff; text-align:center; padding:13px 16px 16px; font-size:15px; font-weight:bold; text-decoration:none; z-index:9996; box-shadow:0 -4px 16px rgba(0,0,0,0.22); transition:transform 0.3s; transform:translateY(100%); }
a#float-cta.visible { transform:translateY(0); }
@media (max-width:767px) { a#float-cta { display:block; } }
a#float-cta small { display:block; font-size:11px; font-weight:normal; opacity:0.85; margin-top:2px; }

/* --- 印刷 (Ctrl+P) --- */
@media print {
  #fh5co-header, #fh5co-pc-nav, #fh5co-intro-section, .adsbygoogle,
  .buy-section, #scroll-top, #read-progress, #float-cta,
  .ninja_onebutton, .col-md-4 { display:none !important; }
  .col-md-8 { width:100% !important; float:none !important; }
  .model-hero { background:#fff !important; border:2px solid #1b3a5c; color:#000 !important; }
  .model-hero .brand-label, .model-hero .model-title { color:#1b3a5c !important; }
  .hero-price .price-num { color:#000 !important; font-size:22pt; }
  .spec-pill { background:#f0f0f0 !important; color:#000 !important; border-color:#999 !important; }
  .usage-bar { background:#888 !important; }
  a[href]::after { content:" (" attr(href) ")"; font-size:9pt; color:#666; }
}

/* --- ダークモード --- */
@media (prefers-color-scheme:dark) {
  .summary-box { background:#1e1a00; border-color:#665500; }
  .summary-box .sum-verdict { color:#eee; }
  .summary-box ul li { color:#bbb; }
  .point-card { background:#1a1e2e; border-color:#2a3860; }
  .point-card .pt-body { color:#aaa; }
  .target-box { background:#0e1b2a; border-left-color:#3d85c8; }
  .target-box .target-title { color:#7ec8e3; }
  .target-box ul li { color:#ccc; }
  .faq-q { background:#1a2535; color:#cde; }
  .faq-a { color:#bbb; }
  .faq-item { border-color:#2a3a55; }
  .spec-table th { background:#1a2535; color:#cde; }
  .section-heading { color:#7ec8e3; border-left-color:#3d85c8; }
  .usage-bar-wrap { background:#2a3a55; }
}

/* ========== 比較テーブル（他の2026年モデルと比較する）========== */
table.compare-table {
  font-size: 13px;
  table-layout: fixed;
  width: 100%;
}
/* カラム幅の再定義（colgroup inline style を上書き） */
.compare-table colgroup col:nth-child(1) { width: 24% !important; } /* モデル名 */
.compare-table colgroup col:nth-child(2) { width: 13% !important; } /* 価格 */
.compare-table colgroup col:nth-child(3) { width: 9%  !important; } /* 価格差 */
.compare-table colgroup col:nth-child(4) { width: 10% !important; } /* フレーム素材 */
.compare-table colgroup col:nth-child(5) { width: 19% !important; } /* メインコンポ */
.compare-table colgroup col:nth-child(6) { width: 25% !important; } /* 特徴 */
/* セルの基本スタイル */
table.compare-table th,
table.compare-table td {
  padding: 7px 8px;
  vertical-align: middle;
  word-break: break-all;
  overflow-wrap: break-word;
  line-height: 1.5;
}
/* ヘッダー行 */
.compare-table thead tr {
  background: #f0f4f9;
}
.compare-table thead th {
  font-size: 12px;
  font-weight: bold;
  color: #1b3a5c;
  text-align: center;
  white-space: nowrap;
}
/* 本モデル（highlight行）強調 */
.compare-table tr.highlight td {
  background: #fff8e8;
  font-weight: bold;
  border-left: 3px solid #e67e22;
}
/* 価格・価格差セル：中央揃え */
.compare-table td:nth-child(2),
.compare-table td:nth-child(3),
.compare-table td:nth-child(4) {
  text-align: center;
}
/* 価格差：プラス表示を色分け */
.compare-table td:nth-child(3) { color: #666; font-size: 12px; }
/* リンク */
.compare-table td a { color: #1b3a5c; text-decoration: underline; }
.compare-table td a:hover { color: #3d85c8; }
/* レスポンシブ: スマホでは横スクロール（table-responsive で対応済み） */
@media (max-width: 767px) {
  table.compare-table { font-size: 12px; }
  table.compare-table th, table.compare-table td { padding: 6px 5px; }
}

/* ========== サイドバーナビ（sidebar-nav）スタイル修正 ========== */
.sidebar-nav {
  margin-bottom: 16px;
}
.sidebar-nav p {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 14px;
  color: #1b3a5c;
  border-left: 3px solid #1b3a5c;
  padding-left: 8px;
}
/* 画像付きメディアリスト（2026年モデル一覧など） */
.sidebar-nav ul.media {
  padding-left: 0;
  margin: 0;
}
.sidebar-nav ul.media li {
  list-style: none;
  display: block;
  clear: both;
  overflow: hidden;       /* float を包む */
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.sidebar-nav ul.media li a {
  display: block;
  overflow: hidden;
  color: #1b3a5c;
  text-decoration: none;
  padding: 2px 0;
}
.sidebar-nav ul.media li a:hover { color: #3d85c8; }
.sidebar-nav ul.media img.pull-left {
  float: left;
  width: 64px;
  height: auto;
  margin-right: 8px;
  margin-bottom: 4px;
  border-radius: 3px;
}
/* テキストのみリスト（ブランド内モデル一覧・比較など） */
.sidebar-nav ul:not(.media) {
  padding-left: 0;
  margin: 0 0 4px 0;
}
.sidebar-nav ul:not(.media) li {
  list-style: none;
  font-size: 13px;
  line-height: 1.7;
  border-bottom: 1px dotted #e0e0e0;
}
.sidebar-nav ul:not(.media) li a {
  display: block;
  color: #1b3a5c;
  text-decoration: none;
  padding: 3px 4px;
}
.sidebar-nav ul:not(.media) li a:hover {
  background: #f0f4f9;
  color: #3d85c8;
}
/* 目的別おすすめまとめ */
.sidebar-nav.recommend-section p {
  border-left-color: #e67e22;
  color: #c0392b;
}
.sidebar-nav.recommend-section ul li a {
  color: #555;
}
.sidebar-nav.recommend-section ul li a:hover {
  color: #e67e22;
}

/* ========== アクセシビリティ：フォーカス状態 ========== */
/* 購入ボタン */
a.btn-buy-primary:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(27,58,92,0.5);
}
a.btn-buy-sub:focus {
  outline: 2px solid #1b3a5c;
  outline-offset: 2px;
}
/* スクロールトップ */
#scroll-top:focus {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
/* フィルターボタン（index.html） */
.filter-btn:focus {
  outline: 2px solid #1b3a5c;
  outline-offset: 1px;
}
