/* 共通スタイル v9ベース */
:root{--navy:#163a5f;--blue:#2e75b6;--bg:#f2f4f7;--ink:#1f2933;--muted:#67737e;--line:#e3e7ec;--gold:#b07a13;--green:#1f7a33;--t1:#2e6fb0;--t2:#1f7a33;--t3:#b07a13}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Hiragino Sans","Yu Gothic","Meiryo",system-ui,sans-serif;line-height:1.6}
.app{max-width:480px;margin:0 auto;min-height:100vh;background:#fff;box-shadow:0 0 24px rgba(0,0,0,.06)}
a{color:inherit;text-decoration:none}
header.top{background:var(--navy);color:#fff;padding:14px 16px;position:sticky;top:0;z-index:10}
.nfnote{background:#fff7e6;border:1px solid #f0dcae;color:#9a6a12;font-size:12px;line-height:1.6;padding:9px 13px;margin:10px 16px 0;border-radius:8px}.nfnote a{color:#9a6a12;font-weight:600}
.subtt{margin:0;background:var(--navy);color:#d9e6f2;font-size:11.5px;line-height:1.5;padding:0 16px 10px}
header.top h1{font-size:16px;margin:0;display:flex;align-items:center;gap:8px}
header.top .demo{font-size:10px;background:#fff3;padding:2px 8px;border-radius:10px;font-weight:600}
.hero{background:linear-gradient(0deg,#fff,#eef4fb);padding:16px;border-bottom:1px solid var(--line)}
.hero h2{margin:0 0 5px;font-size:16px;color:var(--navy)}
.hero .hpts p{margin:3px 0;font-size:12.5px;color:var(--ink)} .hero .hpts .n{display:inline-block;width:20px;font-weight:700}
.hero .hpts .n1{color:var(--t1)} .hero .hpts .n2{color:var(--t2)} .hero .hpts .n3{color:var(--t3)}
.hero .hclose{margin-top:8px;font-size:12px;color:var(--muted)}
.hero .area{display:inline-block;margin-top:8px;font-size:12px;background:#fff;border:1px solid #cdddf0;color:var(--navy);padding:4px 10px;border-radius:14px}
.setwrap{padding:14px 16px 6px}.setttl{font-size:14px;font-weight:700;color:var(--navy);margin:0 0 9px}
.b{border:1px solid var(--line);border-radius:10px;padding:11px 12px;border-left:4px solid var(--lc);margin-bottom:9px;cursor:pointer}
.b .tag{display:inline-block;font-size:10px;font-weight:700;color:#fff;background:var(--lc);padding:1px 8px;border-radius:9px;margin-bottom:4px}
.b .role{font-size:10.5px;color:var(--muted);margin:0 0 6px}.b .pick{display:flex;align-items:center;gap:8px}
.b .pick .nm{font-size:13.5px;font-weight:600;flex:1}.b .pick .v{font-size:10px;color:var(--muted);text-align:right;line-height:1.3}.b .pick .v b{font-size:14px;color:var(--ink)}
.b .alt{font-size:10.5px;color:var(--blue);margin:6px 0 0}.b.t1{--lc:var(--t1)}.b.t2{--lc:var(--t2)}.b.t3{--lc:var(--t3)}
.ctrl{padding:10px 16px;display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);border-top:1px solid var(--line);background:#fff}
.chip{font-size:12px;padding:6px 12px;border:1px solid var(--line);border-radius:16px;background:#fff;cursor:pointer;user-select:none}
.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}
input.q{flex:1;min-width:100px;font-size:13px;padding:6px 10px;border:1px solid var(--line);border-radius:16px;outline:none}
.secthd{padding:16px 16px 2px;display:flex;align-items:center;gap:8px}.secthd .dot{width:10px;height:10px;border-radius:3px;background:var(--lc)}
.secthd h3{font-size:14px;margin:0;color:var(--navy)}.secthd .sub{font-size:10px;color:var(--muted);margin-left:auto;text-align:right;max-width:52%}
.panel{padding:8px 16px 4px}.chart{position:relative}
.brow{display:flex;align-items:center;gap:8px;height:30px;transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.brow .rk{width:20px;height:20px;border-radius:50%;background:var(--navy);color:#fff;font-size:10.5px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.brow .rk.r1{background:var(--gold)}.brow .rk.r2{background:#8d9aa8}.brow .rk.r3{background:#a9744b}
.brow .bwrap{flex:1;height:22px;background:#eef3f8;border-radius:5px;position:relative;overflow:hidden;min-width:0}
.brow .bfill{height:100%;width:0;border-radius:5px;transition:width .65s cubic-bezier(.2,.7,.2,1)}
.brow .bnm{position:absolute;left:8px;top:0;height:100%;display:flex;align-items:center;font-size:11px;color:#fff;font-weight:600;white-space:nowrap;text-shadow:0 1px 1px rgba(0,0,0,.25)}
.brow .bval{position:absolute;right:7px;top:0;height:100%;display:flex;align-items:center;font-size:11px;font-weight:700;color:var(--navy)}
.card{border-bottom:1px solid var(--line);padding:12px 16px;cursor:pointer}.row1{display:flex;align-items:center;gap:10px}
.rank{width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.rank.r1{background:var(--gold)}.rank.r2{background:#8d9aa8}.rank.r3{background:#a9744b}
.nm{font-size:14px;font-weight:600;flex:1;min-width:0}
.badge{font-size:9.5px;background:#fdf3dd;color:var(--gold);border:1px solid #f0dcae;padding:1px 6px;border-radius:8px;white-space:nowrap}
.stats{display:flex;gap:18px;margin:7px 0 0 36px;font-size:11px;color:var(--muted)}.stats .big b{font-size:17px;color:var(--green);font-weight:700}.stats b{font-size:15px;color:var(--ink);font-weight:700}.stats .unit{font-size:10px}
.detail{display:none;margin:10px 0 2px 36px;font-size:12px}.card.open .detail{display:block}
.kv{display:flex;justify-content:space-between;border-bottom:1px dashed var(--line);padding:4px 0;color:var(--muted)}.kv span:last-child{color:var(--ink);text-align:right;max-width:62%}
.chart-label{font-size:10.5px;color:var(--muted);margin:14px 0 4px}
.hist{display:flex;align-items:flex-end;gap:6px;height:96px;padding:16px 2px 18px;margin-top:2px}
.hbar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}
.hbar .hv{font-size:10px;font-weight:700;color:var(--navy);line-height:1;margin-bottom:3px;white-space:nowrap}
.hbar i{width:100%;background:var(--blue);border-radius:3px 3px 0 0;display:block;min-height:3px}
.hbar em{position:absolute;bottom:-16px;left:50%;transform:translateX(-50%);font-size:9.5px;font-style:normal;color:var(--muted)}
.areachips{display:flex;gap:6px;flex-wrap:wrap;padding:8px 16px 2px}
.areachips .ac{font-size:11.5px;padding:5px 11px;border:1px solid var(--line);border-radius:15px;background:#fff;cursor:pointer;color:var(--t2)}
.areachips .ac.on{background:var(--t2);color:#fff;border-color:var(--t2)}
.jtags{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 6px}.jtag{font-size:11px;background:#eef3f8;color:#235a92;border:1px solid #d6e3f0;padding:3px 9px;border-radius:13px}
.gs{display:block;text-align:center;font-size:11.5px;color:var(--muted);margin:2px 0 0;text-decoration:underline}
.cta{display:block;text-align:center;background:var(--green);color:#fff;font-size:13px;font-weight:600;padding:11px;border-radius:8px;margin:12px 0 4px}
.adline{font-size:10.5px;color:var(--muted);margin:6px 16px 0;line-height:1.5}.adline a{color:var(--muted)}
.soon{margin:8px 16px 4px;border:1px dashed #bcd3a9;background:#f4faf0;border-radius:10px;padding:12px;font-size:11.5px;color:var(--muted)}
.soon .chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.soon .jc{font-size:11px;border:1px solid #cfe0c2;background:#fff;color:var(--green);padding:4px 10px;border-radius:14px}
.empty{padding:20px 16px;color:var(--muted);font-size:12px}
.hpts3{margin:10px 16px 0;padding:10px 12px;background:#f3f7fb;border:1px solid var(--line);border-radius:8px}.hpts3 .t{font-size:13px;font-weight:700;color:var(--navy);margin:0 0 5px}.hpts3 p{margin:3px 0;font-size:12px}.hpts3 .n{display:inline-block;width:18px;font-weight:700}.hpts3 .n1{color:var(--t1)}.hpts3 .n2{color:var(--t2)}.hpts3 .n3{color:var(--t3)}.hpts3 .cl{font-size:12px;color:var(--muted);margin-top:6px}.ranklead{font-weight:700;margin:14px 16px 4px;font-size:13px}.ranklead.t1{color:var(--t1)}.ranklead.t2{color:var(--t2)}

.navsearch{display:flex;gap:6px;padding:10px 12px;background:#0f2c49;flex-wrap:nowrap;position:sticky;top:50px;z-index:9}
.navsearch select{flex:1 1 0;min-width:0;font-size:11.5px;padding:7px 4px;border:none;border-radius:6px}
.navsearch .nq{flex:1 1 0;min-width:0;font-size:11.5px;padding:7px 6px;border:none;border-radius:6px}
.navsearch button{font-size:12.5px;font-weight:700;padding:7px 12px;border:none;border-radius:6px;background:#f0a020;color:#3a2600;cursor:pointer}

.moreBtn{display:block;width:calc(100% - 32px);margin:10px 16px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--navy);font-size:13px;font-weight:600;cursor:pointer}
.arealist{padding:8px 16px 16px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.arealist a{border:1px solid var(--line);border-radius:8px;padding:9px 6px;text-align:center;font-size:12.5px;color:var(--navy);background:#fff}
footer{padding:18px 16px 28px;background:#f8fafc;border-top:1px solid var(--line);font-size:10.5px;color:var(--muted);margin-top:14px}
footer a{color:var(--blue)} footer h3{font-size:11.5px;color:var(--ink);margin:12px 0 4px}

@media (min-width: 1024px){
 .app{max-width:840px}
 .hero h2{font-size:21px}
 .subtt{font-size:12.5px}
 .navsearch select{font-size:13.5px;padding:9px 10px}
 .navsearch .nq{flex:1 1 160px;font-size:13.5px;padding:9px 10px}
 .setwrap{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
 .setwrap .setttl{grid-column:1/-1;margin-bottom:0}
 .b{margin-bottom:0}
 .arealist{grid-template-columns:repeat(6,1fr)}
 .stats .big b{font-size:19px}
 .hist{max-width:520px}
}
