/* 型番比較 - 共通スタイル
   方針: データサイトらしく清潔・実用的、装飾最小、高速表示 */
:root{
  --bg:#ffffff; --surface:#f5f7fa; --surface-2:#eff6ff;
  --text:#1f2937; --muted:#6b7280; --border:#e5e7eb;
  --accent:#1d4ed8; --accent-dark:#1e40af; --link:#2563eb;
  --diff:#fef3c7;
  --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;
}
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{border-bottom:1px solid var(--border); background:var(--bg)}
header.site .wrap{display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; padding-top:14px; padding-bottom:14px}
.site-name{font-size:22px; font-weight:700; color:var(--text)}
.site-name:hover{text-decoration:none}
.site-tag{color:var(--muted); font-size:13px}
nav.site{font-size:14px}
nav.site a{margin-right:14px; color:var(--text)}
main{padding:24px 0 48px}
h1{font-size:26px; line-height:1.4; margin:0 0 12px}
h2{font-size:20px; margin:32px 0 12px; padding-bottom:6px; border-bottom:2px solid var(--surface-2)}
h3{font-size:17px; margin:24px 0 8px}
p{margin:0 0 12px}
.lead{color:var(--muted)}
.pr-note{
  background:var(--surface); border:1px solid var(--border); border-radius:8px;
  padding:10px 14px; font-size:13px; color:var(--muted); margin:0 0 20px;
}
.updated{font-size:13px; color:var(--muted); margin-bottom:16px}
.updated strong{color:var(--text)}
/* 一覧カード */
.card-list{list-style:none; margin:0; padding:0; display:grid; gap:12px}
.card{
  border:1px solid var(--border); border-radius:10px; padding:14px 16px; background:var(--bg);
}
.card a{font-weight:700; font-size:17px}
.card .meta{font-size:13px; color:var(--muted); margin-top:4px}
.badge{
  display:inline-block; font-size:12px; font-weight:700; padding:1px 8px; border-radius:999px;
  background:var(--surface-2); color:var(--accent-dark); border:1px solid #bfdbfe; vertical-align:middle;
}
/* 表: 横スクロール対応。比較表は1列目を項目名として固定気味に */
.table-scroll{overflow-x:auto; -webkit-overflow-scrolling:touch; margin:0 0 16px}
table{border-collapse:collapse; width:100%; min-width:560px; font-size:15px}
th,td{border:1px solid var(--border); padding:8px 10px; text-align:left; vertical-align:top}
th{background:var(--surface); font-weight:700}
table.spec th:first-child{white-space:nowrap; width:28%}
/* 違いがある行のハイライト */
tr.diff td, tr.diff th{background:var(--diff)}
.same{color:var(--muted)}
/* 「違いはここだけ」ボックス */
.diff-box{
  border:2px solid var(--accent); border-radius:10px; padding:14px 18px; margin:0 0 20px;
  background:var(--surface-2);
}
.diff-box h2{border:none; margin-top:0; padding-bottom: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:8px; padding:10px 14px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:baseline;
}
.shop-links .shop{font-weight:700}
.note{font-size:13px; color:var(--muted)}
ul.tight{margin:0 0 12px; padding-left:20px}
.source-box{
  background:var(--surface); border:1px solid var(--border); border-radius:8px;
  padding:12px 16px; font-size:14px; margin:0 0 20px;
}
footer.site{border-top:1px solid var(--border); padding:20px 0 32px; font-size:13px; color:var(--muted)}
footer.site nav a{margin-right:14px; color:var(--muted)}
@media (max-width:640px){
  body{font-size:15px}
  h1{font-size:22px}
  h2{font-size:18px}
  .site-name{font-size:20px}
  main{padding:16px 0 36px}
}
