/* MONO NOTE ― アプリUI型（大きな数字と棒グラフが主役）
   配色：背景 #F4F7FA／カード #FFFFFF／アクセント #507BA8／補助背景 #E8EFF6／本文 #303946
   強いグラデーション・濃い影は使わない。影はごく薄く。 */
:root{
  --bg:#F4F7FA; --card:#FFFFFF; --ink:#303946; --sub:#5A6879;
  --accent:#507BA8; --accent-text:#3F648C; --soft:#E8EFF6;
  --fill:#B9CBDD; --fill-sub:#9DB1C6; --fill-deep:#3F648C;
  --shadow:0 2px 10px rgba(48,57,70,.055);
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans CJK JP","Yu Gothic",YuGothic,sans-serif;
  background:var(--bg); color:var(--ink); font-size:15px; line-height:1.6;
}
a{color:inherit;text-decoration:none}
.num{font-variant-numeric:tabular-nums; letter-spacing:-.03em}
.wrap{max-width:430px;margin:0 auto;padding:0 14px}

/* header */
header{padding:18px 2px 6px;display:flex;align-items:center;gap:9px}
.logo-badge{width:34px;height:34px;border-radius:11px;background:var(--accent);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:17px;box-shadow:0 2px 6px rgba(80,123,168,.22)}
.logo{font-size:19px;font-weight:900;letter-spacing:.02em;line-height:1.25}
.logo small{display:block;font-size:9.5px;font-weight:600;color:var(--sub);letter-spacing:.05em;white-space:nowrap}
.head-nav{margin-left:auto;font-size:11.5px;font-weight:700;color:var(--sub);white-space:nowrap}
.head-nav a{padding:6px 2px}

/* category pills */
.pills{display:flex;gap:7px;padding:12px 2px 4px;overflow-x:auto;scrollbar-width:none}
.pills::-webkit-scrollbar{display:none}
.pill{font:inherit;font-size:12.5px;font-weight:700;color:var(--sub);background:#fff;padding:7px 14px;border:0;border-radius:999px;white-space:nowrap;box-shadow:0 1px 3px rgba(48,57,70,.05);cursor:pointer}
.pill.on{background:var(--accent);color:#fff}

main{padding-bottom:26px}
.hello{font-size:21px;font-weight:900;line-height:1.45;padding:16px 2px 4px}
.hello .accent-text{color:var(--accent)}
.hello-sub{font-size:12.5px;color:var(--sub);padding:0 2px 14px}

/* top article card */
.acard{display:block;background:var(--card);border-radius:20px;padding:16px;box-shadow:var(--shadow);margin-bottom:12px}
.acard .chead{display:flex;gap:12px}
.acard .thumb{flex:0 0 84px}
.acard .cat{display:inline-block;font-size:10.5px;font-weight:800;color:#2F4E73;background:var(--soft);padding:2px 9px;border-radius:999px}
.acard h3{font-size:16px;font-weight:900;line-height:1.5;margin-top:6px}
.acard .cline{font-size:12px;color:var(--sub);line-height:1.55;margin-top:7px}
.acard .vsrow{display:flex;gap:8px;margin-top:13px}
.vs{flex:1;background:var(--soft);border-radius:13px;padding:9px 11px}
.vs .vn{font-size:11px;font-weight:800;color:#3D4C61;white-space:nowrap;overflow:hidden}
.vs .vp{font-size:16.5px;font-weight:900;margin-top:1px}
.vs .vp small{font-size:10.5px;color:var(--sub);font-weight:700}
.acard .foot{display:flex;align-items:center;margin-top:13px}
.acard .go{margin-left:auto;background:var(--accent);color:#fff;font-size:12.5px;font-weight:800;padding:8px 16px;border-radius:999px}
.acard .note{font-size:11.5px;color:var(--sub)}
.list-empty{font-size:13px;color:var(--sub);padding:18px 2px}

/* device placeholder（商品写真のプレースホルダ。単色で自然に） */
.device{border-radius:13px;aspect-ratio:1/1.06;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#fff;position:relative;overflow:hidden}
.device::after{content:"";position:absolute;inset:15% 14%;border:2px solid rgba(255,255,255,.4);border-radius:5px}
.device .dname{font-size:10.5px;font-weight:900;z-index:1;text-align:center;padding:0 5px;line-height:1.35}
.device .dsize{font-size:9.5px;opacity:.85;z-index:1}
.d-legion{background:#39424F}
.d-xiaomi{background:#6E9CC4}
.d-ipad{background:#D9DFE7;color:#2C3542}
.d-ipad::after{border-color:rgba(48,57,70,.18)}

/* article */
.crumb{font-size:11px;color:var(--sub);padding-top:16px}
.crumb a{text-decoration:underline;text-underline-offset:2px}
.pr{display:inline-block;margin-top:10px;font-size:10.5px;font-weight:700;color:var(--sub);background:#fff;padding:4px 11px;border-radius:999px;box-shadow:0 1px 3px rgba(48,57,70,.05)}
h1.title{font-size:22.5px;font-weight:900;line-height:1.5;padding:12px 2px 0}
.meta{font-size:11.5px;color:var(--sub);padding:8px 2px 0}
.meta a{color:var(--accent-text);text-decoration:underline;text-underline-offset:2px}
.lead{font-size:14px;line-height:1.75;padding:10px 2px 2px;color:var(--ink)}
.lead b,.lead strong{color:var(--accent-text)}
.lead+.lead{padding-top:6px}
.lead-last{padding-bottom:16px}

/* prose sections */
.sec-title{font-size:16.5px;font-weight:900;padding:20px 2px 10px}
.prose{font-size:14px;line-height:1.75;padding:0 2px}
.prose p{margin-bottom:10px}
.prose ul{list-style:none;margin-bottom:10px}
.prose ul li{position:relative;padding-left:15px;margin-bottom:7px}
.prose ul li::before{content:"";position:absolute;left:1px;top:.62em;width:6px;height:6px;border-radius:99px;background:var(--fill)}
.prose a{color:var(--accent-text);text-decoration:underline;text-underline-offset:2px}
.prose strong{font-weight:800}
.prose h3{font-size:14.5px;font-weight:900;margin:14px 0 6px}
.small{font-size:11.5px;color:var(--sub)}

/* result card with bars */
.result{background:var(--card);border-radius:20px;box-shadow:var(--shadow);padding:17px 16px 15px;margin:4px 0 14px}
.result h2{font-size:13px;font-weight:900;letter-spacing:.08em;color:var(--sub);margin-bottom:12px}
.result h2 b{color:var(--ink)}
.bgroup{margin-bottom:15px}
.bgroup:last-child{margin-bottom:2px}
.btitle{font-size:12px;font-weight:800;color:var(--sub);letter-spacing:.06em;margin-bottom:8px}
.brow{margin-bottom:9px}
.brow .bhead{display:flex;align-items:baseline;gap:6px;margin-bottom:4px}
.brow .bname{font-size:12.5px;font-weight:800}
.brow .bval{margin-left:auto;font-size:16px;font-weight:900}
.brow .bval small{font-size:10.5px;color:var(--sub);font-weight:700}
.badge{font-size:9.5px;font-weight:900;color:#fff;background:var(--accent);border-radius:999px;padding:2px 8px;letter-spacing:.05em}
.badge.blue{background:var(--fill-deep)}
.track{height:9px;background:var(--soft);border-radius:99px;overflow:hidden}
.fill{height:100%;border-radius:99px;background:var(--fill)}
.fill.win{background:var(--accent)}
.fill.sub{background:var(--fill-sub)}
.bnote{font-size:11.5px;color:var(--sub);margin-top:7px}
.bnote b{color:var(--ink)}

/* verdict */
.verdict{background:var(--card);border-radius:20px;box-shadow:var(--shadow);padding:16px;margin-bottom:6px}
.vrow{display:flex;gap:11px;align-items:flex-start;padding:9px 0}
.vrow:first-child{padding-top:2px}
.vrow:last-child{padding-bottom:2px}
.vrow+.vrow{box-shadow:0 -1px 0 var(--soft)}
.vrow .ic{flex:0 0 38px;height:38px;border-radius:12px;background:var(--soft);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;color:#2F4E73}
.vrow h3{font-size:14.5px;font-weight:900;line-height:1.45}
.vrow p{font-size:12px;color:var(--sub);line-height:1.55}

/* product card */
.pcard{background:var(--card);border-radius:20px;box-shadow:var(--shadow);padding:16px;margin-bottom:12px}
.pcard .top{display:flex;gap:13px}
.pcard .thumb{flex:0 0 92px}
.pcard h3{font-size:16.5px;font-weight:900;line-height:1.4}
.pcard .role{display:inline-block;font-size:10.5px;font-weight:800;color:#fff;background:var(--accent);padding:2px 9px;border-radius:999px;margin-bottom:5px}
.pcard .role.gray{background:#5A738E}
.pcard .specs{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.pcard .specs span{font-size:11px;font-weight:700;color:#3D4C61;background:var(--soft);border-radius:8px;padding:3px 8px}
.pcard .pline{font-size:12px;color:var(--sub);line-height:1.55;margin-top:9px}
.pcard .price{font-size:29px;font-weight:900;margin-top:10px}
.pcard .price small{font-size:14px}
.pcard .was{font-size:11px;color:var(--sub);margin-left:7px}
.btns{display:flex;gap:8px;margin-top:12px}
.btn{flex:1;text-align:center;font-size:14px;font-weight:900;padding:12px 0;border-radius:13px}
.btn.main{background:var(--accent);color:#fff}
.btn.sub{background:var(--soft);color:var(--ink)}
.pcard .checked{font-size:10.5px;color:var(--sub);margin-top:9px;text-align:right}

/* buy list */
.buy-item{background:var(--card);border-radius:20px;box-shadow:var(--shadow);padding:15px 16px;margin-bottom:10px}
.buy-item-head{display:flex;align-items:baseline;gap:8px}
.buy-item-name{font-size:14.5px;font-weight:900}
.buy-item-price{margin-left:auto;font-size:19px;font-weight:900}
.buy-item .btns{margin-top:11px}
.buy-note{font-size:10.5px;color:var(--sub);margin-top:8px;text-align:right}

/* spec table */
.spec-wrap{background:var(--card);border-radius:20px;box-shadow:var(--shadow);padding:8px 16px 12px;margin-bottom:10px;overflow:hidden}
.spec-table{width:100%;border-collapse:collapse;font-size:12.5px;line-height:1.55}
.spec-table thead{display:none}
.spec-table tbody tr{display:block;padding:10px 0}
.spec-table tbody tr+tr{box-shadow:0 -1px 0 var(--soft)}
.spec-table tbody th{display:block;text-align:left;font-size:12px;font-weight:900;color:#2F4E73;background:var(--soft);border-radius:8px;padding:4px 9px;margin-bottom:7px}
.spec-table td{display:flex;gap:10px;padding:3px 0}
.spec-table td::before{content:attr(data-label);flex:0 0 42%;font-weight:700;color:var(--sub);font-size:11.5px}
.spec-note{font-size:11.5px;color:var(--sub);padding:0 2px}

/* sources */
.sources{list-style:none;font-size:12.5px;line-height:1.7;padding:0 2px}
.sources li{position:relative;padding-left:15px;margin-bottom:6px}
.sources li::before{content:"";position:absolute;left:1px;top:.62em;width:6px;height:6px;border-radius:99px;background:var(--fill)}
.sources a{color:var(--accent-text);text-decoration:underline;text-underline-offset:2px}

/* doc pages (about / privacy) */
.doc h1{font-size:21px;font-weight:900;line-height:1.5;padding:14px 2px 4px}
.doc h2{font-size:15.5px;font-weight:900;padding:18px 2px 7px}
.doc p{font-size:14px;line-height:1.75;padding:0 2px;margin-bottom:8px}
.doc ul{list-style:none;font-size:14px;line-height:1.75;padding:0 2px;margin-bottom:8px}
.doc ul li{position:relative;padding-left:15px;margin-bottom:6px}
.doc ul li::before{content:"";position:absolute;left:1px;top:.62em;width:6px;height:6px;border-radius:99px;background:var(--fill)}
.doc .updated{font-size:11.5px;color:var(--sub)}

/* footer */
footer{text-align:center;font-size:11px;color:var(--sub);padding:14px 0 26px;line-height:2}
footer .flogo{font-size:14px;font-weight:900;color:var(--ink)}
footer .fnav{display:flex;justify-content:center;gap:16px;font-weight:700;margin-bottom:6px}
footer .fnav a{padding:2px 0}

/* PC */
@media (min-width:820px){
  .wrap{max-width:780px;padding:0 24px}
  header{padding-top:26px}
  .hello{font-size:26px}
  h1.title{font-size:27px}
  .acard .thumb{flex-basis:104px}
  .pcard .thumb{flex-basis:110px}
  .spec-wrap{padding:6px 20px 14px}
  .spec-table{font-size:13px}
  .spec-table thead{display:table-header-group}
  .spec-table thead th{font-size:12.5px;font-weight:900;text-align:left;color:var(--ink);padding:10px 8px;box-shadow:0 1px 0 var(--soft)}
  .spec-table tbody tr{display:table-row;padding:0}
  .spec-table tbody tr+tr{box-shadow:none}
  .spec-table tbody th,.spec-table td{display:table-cell;padding:9px 8px;box-shadow:0 1px 0 var(--soft);vertical-align:top}
  .spec-table tbody th{background:transparent;border-radius:0;margin:0;color:var(--ink);font-size:12.5px;white-space:nowrap}
  .spec-table td::before{content:none}
}
