/* 型番比較 - 共通スタイル
   方針: テック感のある青系テーマ。データの正確さはそのままに、
   色帯・カード・影で「殺風景」にならない見栄えにする */
:root{
  --bg:#f4f8ff; --surface:#eef4ff; --surface-2:#dbeafe;
  --card:#ffffff;
  --text:#1f2937; --muted:#6b7280; --border:#d7e3f5;
  --accent:#2563eb; --accent-dark:#1e40af; --link:#2563eb;
  --diff:#fef3c7;
  --grad:linear-gradient(120deg,#1e3a8a 0%,#1d4ed8 55%,#0ea5e9 100%);
  --grad-head:linear-gradient(120deg,#dbeafe 0%,#eff6ff 60%,#ffffff 100%);
  --shadow:0 2px 10px rgba(30,64,175,.10);
  --shadow-hover:0 8px 22px rgba(30,64,175,.20);
  --max:960px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",Meiryo,sans-serif;
  font-size:16px; line-height:1.75;
}
::selection{background:#bfdbfe}
a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--max); margin:0 auto; padding:0 16px}
/* ヘッダー: 青グラデーション帯 */
header.site{background:var(--grad); box-shadow:0 2px 12px rgba(30,58,138,.30)}
header.site .wrap{display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding-top:16px; padding-bottom:16px}
.site-name{font-size:24px; font-weight:800; color:#fff; letter-spacing:.02em; text-shadow:0 1px 3px rgba(23,37,84,.4)}
.site-name::before{content:"📊 "; font-size:21px}
.site-name:hover{text-decoration:none; opacity:.92}
.site-tag{color:#dbeafe; font-size:13px; font-weight:600}
nav.site{font-size:14px; margin-left:auto}
nav.site a{
  color:#fff; font-weight:700; margin-left:8px; padding:5px 14px;
  border:1px solid rgba(255,255,255,.65); border-radius:999px; background:rgba(255,255,255,.12);
}
nav.site a:hover{text-decoration:none; background:rgba(255,255,255,.28)}
main{padding:28px 0 56px}
/* ページタイトル帯 */
h1{
  font-size:26px; line-height:1.45; margin:0 0 14px;
  background:var(--grad-head); border-left:7px solid var(--accent);
  border-radius:0 12px 12px 0; padding:16px 20px; box-shadow:var(--shadow);
}
/* トップページのヒーロー帯 */
body.top h1{
  background:var(--grad); color:#fff; border-left:none; border-radius:16px;
  font-size:31px; line-height:1.5; padding:30px 28px;
  box-shadow:0 10px 26px rgba(30,58,138,.35); text-shadow:0 1px 4px rgba(23,37,84,.4);
}
body.top h1::before{content:"📶 "; font-size:29px}
body.top .lead{font-size:17px; color:#1e3a8a; background:#fff; border:1px solid var(--border); border-radius:12px; padding:14px 18px; box-shadow:var(--shadow)}
h2{
  font-size:20px; margin:36px 0 14px; padding:8px 14px;
  background:linear-gradient(90deg,var(--surface-2),rgba(219,234,254,0));
  border-left:6px solid var(--accent); border-radius:0 8px 8px 0; color:#1e3a8a;
}
h2::before{content:"🔎 "; font-size:17px}
h3{font-size:17px; margin:24px 0 8px; color:var(--accent-dark)}
p{margin:0 0 12px}
.lead{color:var(--muted)}
.pr-note{
  background:#eff6ff; border:1px solid #bfdbfe; border-left:5px solid var(--accent);
  border-radius:8px; padding:10px 14px; font-size:13px; color:#1e3a8a; margin:0 0 20px;
}
.updated{
  display:inline-block; font-size:13px; color:#1e3a8a; background:var(--surface-2);
  border:1px solid #bfdbfe; border-radius:999px; padding:3px 14px; margin-bottom:16px;
}
.updated::before{content:"🕒 "}
.updated strong{color:var(--accent-dark)}
/* 一覧カード */
.card-list{list-style:none; margin:0; padding:0; display:grid; gap:14px}
.card{
  border:1px solid var(--border); border-top:5px solid var(--accent); border-radius:12px;
  padding:16px 18px; background:var(--card); box-shadow:var(--shadow);
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{transform:translateY(-3px); box-shadow:var(--shadow-hover)}
.card a{font-weight:700; font-size:17px; color:var(--accent-dark)}
.card .meta{font-size:13px; color:var(--muted); margin-top:4px}
.badge{
  display:inline-block; font-size:12px; font-weight:700; padding:2px 10px; border-radius:999px;
  background:var(--grad); color:#fff; vertical-align:middle; margin-right:6px;
  box-shadow:0 1px 4px rgba(30,64,175,.35);
}
/* 表: 横スクロール対応。比較表は1列目を項目名として固定気味に */
.table-scroll{overflow-x:auto; -webkit-overflow-scrolling:touch; margin:0 0 16px; border-radius:10px; box-shadow:var(--shadow)}
table{border-collapse:collapse; width:100%; min-width:560px; font-size:15px; background:#fff}
th,td{border:1px solid var(--border); padding:8px 10px; text-align:left; vertical-align:top}
th{background:linear-gradient(180deg,#3b82f6,#1d4ed8); color:#fff; font-weight:700; border-color:#1d4ed8}
tbody tr:nth-child(even) td{background:#f7faff}
table.spec th:first-child{white-space:nowrap; width:28%}
/* 違いがある行のハイライト */
tbody tr.diff td, tbody tr.diff th{background:var(--diff); color:var(--text); border-color:#f59e0b}
.same{color:var(--muted)}
/* 「違いはここだけ」ボックス */
.diff-box{
  border:2px solid var(--accent); border-radius:12px; padding:16px 20px; margin:0 0 20px;
  background:linear-gradient(180deg,#eff6ff,#dbeafe); box-shadow:var(--shadow);
}
.diff-box h2{border:none; margin-top:0; padding-bottom:0; background:none; padding-left:0}
.shop-links{list-style:none; margin:0 0 16px; padding:0; display:grid; gap:8px}
.shop-links li{
  border:1px solid var(--border); border-radius:10px; padding:10px 14px; background:#fff;
  box-shadow:var(--shadow);
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:baseline;
}
.shop-links .shop{font-weight:700; color:var(--accent-dark)}
.note{font-size:13px; color:var(--muted)}
ul.tight{margin:0 0 12px; padding-left:20px}
ul.tight li::marker{color:var(--accent); font-weight:700}
.source-box{
  background:var(--surface); border:1px solid var(--border); border-left:5px solid var(--accent);
  border-radius:8px; padding:12px 16px; font-size:14px; margin:0 0 20px;
}
/* フッター: 濃色帯 */
footer.site{background:linear-gradient(120deg,#172554,#1e3a8a); padding:26px 0 36px; font-size:13px; color:#dbeafe; margin-top:8px}
footer.site nav{margin-bottom:10px}
footer.site nav a{margin-right:14px; color:#93c5fd; font-weight:600}
footer.site nav a:hover{color:#fff}
@media (max-width:640px){
  body{font-size:15px}
  h1{font-size:22px; padding:13px 16px}
  body.top h1{font-size:25px; padding:24px 20px}
  h2{font-size:18px}
  .site-name{font-size:21px}
  nav.site{margin-left:0}
  main{padding:18px 0 40px}
}
