/* トレカ在庫レーダー 新デザイン（2026-11〜。まずトップページだけで使う）
   薄い青の紙の上に、ななめに立つカード。見出しは日本語の極太（M PLUS 1 の 900）、数字だけ縦長の Big Shoulders Display。
   ポケカは黄色、ワンピカードはオレンジ（html に data-game="onepiece"）。1つの見た目に決めて、ダークモードでも同じ色で出す */
:root {
  color-scheme: light;
  --blue: #1f5cff;
  --deep: #1238b8;
  --ink: #0a1233;
  --paper: #f3f7ff;
  --white: #ffffff;
  --line: #c8d2ea;
  --text: #0a1233;
  --muted: #4d5878;
  --sky: #c9daff;
  --mist: #dcebff;          /* 上の帯の薄い青 */
  --good: #14a05a;
  --alert: #e5304a;
  --gray: #6e7781;
  --poke: #ffd630;
  --poke-deep: #ffbb12;
  --op: #ff7a1a;
  --op-deep: #e85a0c;
  --signal: var(--poke);       /* 選んでいるゲームの色 */
  --signal-text: var(--ink);   /* その色の上に乗せる文字 */
  --display: "Big Shoulders Display", "M PLUS 1", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --jp: "M PLUS 1", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --cut: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
html[data-game="onepiece"] { --signal: var(--op); --signal-text: #fff; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--jp); font-weight: 500; line-height: 1.75; }
a { color: var(--deep); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 880px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* ---- ヘッダー ---- */
.top { background: var(--ink); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 10px 22px; padding-block: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 900; text-decoration: none; letter-spacing: .02em; }
.logo svg { width: 22px; height: 22px; flex: none; }
.logo .tri { fill: var(--signal); }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; font-size: .88rem; font-weight: 800; }
.top nav a { color: #fff; text-decoration: none; opacity: .86; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top .cta { background: var(--signal); color: var(--signal-text); font-weight: 900; font-size: .88rem; text-decoration: none; padding: 7px 16px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
@media (max-width: 640px) { .top nav { margin-left: 0; order: 3; width: 100%; } .top .cta { margin-left: auto; } }

/* ---- ヒーロー（青。右上でレーダーが回る） ---- */
.hero { position: relative; overflow: hidden; background: var(--mist); color: var(--ink); }
.hero .wrap { position: relative; padding-block: 34px 8px; }
.radar { position: absolute; right: -120px; top: -150px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 51px, color-mix(in srgb, var(--blue) 18%, transparent) 51px 53px); }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--blue) 28%, transparent), transparent 65deg); animation: sweep 4.5s linear infinite; }
.radar::after { content: ""; position: absolute; left: 34%; top: 62%; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 16px var(--signal); animation: blip 4.5s ease-out infinite; }
@media (max-width: 640px) { .radar { width: 300px; height: 300px; right: -120px; top: -100px; opacity: .7; } }
@keyframes sweep { to { transform: rotate(1turn); } }
@keyframes blip { 0%, 20% { opacity: 0; } 26% { opacity: 1; } 70%, 100% { opacity: 0; } }
.kicker { margin: 0 0 6px; font-family: var(--display); font-weight: 900; letter-spacing: .08em; font-size: .92rem; color: var(--deep); }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(1.6rem, 8vw, 2.1rem); line-height: 1.22; letter-spacing: -.01em; }
@media (min-width: 640px) { .hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); } }
.hero h1 span { display: block; color: var(--blue); }
.hero h1 i { display: block; font-style: normal; color: var(--ink); }
.hero h1 b { display: inline-block; font-weight: inherit; } /* 言葉の途中で折り返さないように */
.hero .lead { margin: 12px 0 0; max-width: 40em; color: var(--muted); font-size: .92rem; font-weight: 700; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 14px 0 0; }
.hero-stats p { margin: 0; display: flex; align-items: baseline; gap: 8px; font-size: .85rem; font-weight: 800; color: var(--muted); }
.hero-stats b { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-stats .live b { color: var(--deep); }
.game-switch { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 18px 0 0; padding: 4px; background: var(--ink); }
.game-switch button { font: inherit; font-weight: 900; font-size: 1rem; padding: 10px 22px; border: 0; background: transparent; color: var(--sky); cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); transition: background .2s, color .2s; }
.game-switch button:hover { color: #fff; }
.game-switch button[aria-checked="true"] { background: var(--signal); color: var(--signal-text); }

/* ---- 次の発売（ななめのカード） ---- */
.drops { background: var(--mist); color: var(--ink); padding-block: 20px 6px; }
.drops-head { display: flex; align-items: end; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.drops-head h2 { margin: 0; font-weight: 900; font-size: 1.5rem; }
.drops-head p { margin: 0; font-size: .82rem; font-weight: 800; color: var(--muted); }
.track { display: flex; gap: clamp(14px, 3vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 22px 26px; perspective: 1400px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.drop {
  --face: var(--poke-deep); --t: var(--ink); --g: rgba(10, 18, 51, .08);
  position: relative; flex: 0 0 clamp(240px, 30vw, 330px); scroll-snap-align: start; min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 20px 22px 18px;
  color: var(--t); text-decoration: none;
  background: linear-gradient(var(--g) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, var(--g) 1px, transparent 1px) 0 0 / 26px 26px, var(--face);
  clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 0 100%);
  transform: rotateY(-14deg) rotateX(3deg); transform-origin: left center; transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.drop:hover, .drop:focus-visible { transform: rotateY(-4deg) translateY(-5px); }
.drop.alt { --face: var(--poke); }
.drop.op { --face: var(--op); --t: #fff; --g: rgba(255, 255, 255, .16); }
.drop.op.alt { --face: var(--op-deep); }
.drop .date { font-family: var(--display); font-weight: 900; letter-spacing: .04em; font-size: 1.05rem; opacity: .85; }
.drop .big { font-weight: 900; line-height: 1.08; font-size: clamp(2.6rem, 5vw, 3.5rem); letter-spacing: -.02em; }
.drop .name { font-weight: 900; font-size: .98rem; line-height: 1.45; }
.drop .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .8rem; font-weight: 800; }
.drop .left { font-family: var(--display); font-weight: 900; font-size: 1.45rem; }
.bar { height: 4px; background: rgba(10, 18, 51, .12); max-width: 340px; margin: 0 auto 18px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--deep); transition: transform .15s linear; }
@media (max-width: 640px) { .drop { min-height: 220px; transform: rotateY(-9deg); } .drop .big { font-size: 2.3rem; } }

/* ---- 探す・報告する（紙の部分） ---- */
.sheet { background: var(--paper); clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); margin-top: -26px; padding-top: 50px; position: relative; }
main.inner { padding-block: 8px 30px; }
h2 { font-weight: 900; font-size: 1.3rem; line-height: 1.4; margin: 34px 0 12px; display: flex; align-items: center; gap: 10px; }
h2::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 100%); transform: rotate(45deg); }
h3 { font-size: 1rem; margin: 20px 0 6px; }
.note { font-size: .86rem; color: var(--muted); }
.card { background: var(--white); border: 2px solid var(--ink); padding: 18px; clip-path: var(--cut); }
label { font-weight: 800; font-size: .9rem; }
input[type="text"], select { width: 100%; height: 46px; font: inherit; color: var(--text); background: var(--white); border: 2px solid var(--line); border-radius: 2px; padding: 8px 12px; }
input[type="text"]:focus, select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
input[type="checkbox"] { accent-color: var(--blue); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > .field { flex: 1 1 160px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; font: inherit; font-size: .9rem; font-weight: 700; padding: 7px 12px; border: 2px solid var(--line); border-radius: 2px; background: var(--white); color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--signal-text); font-weight: 900; }
.group-label { font-size: .8rem; font-weight: 800; color: var(--muted); margin: 10px 0 6px; }
.group-label:first-child { margin-top: 0; }
.hot { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.step { margin: 16px 0 8px; font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: .06em; color: var(--blue); }
.pack { width: 15px; height: 20px; flex: none; margin-right: 6px; vertical-align: -4px; }
#products .pack { width: 18px; height: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 900; border: 0; background: var(--blue); color: #fff; padding: 11px 24px; cursor: pointer; text-decoration: none; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.btn:hover { background: var(--deep); }
.btn.secondary { background: var(--white); color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* 探す／報告する のタブ（スクロールしても上に残る） */
.tabs { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 20px 0 0; padding: 4px; background: var(--ink); }
.tabs button { font: inherit; font-size: 1.05rem; font-weight: 900; padding: 12px 8px; border: 0; background: transparent; color: var(--sky); cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.done { margin-top: 16px; padding: 14px 16px; background: var(--white); border-left: 6px solid var(--good); }
.done-text { margin: 0; font-weight: 800; color: var(--good); }

/* 報告の一覧 */
.reports { display: grid; gap: 10px; margin-top: 12px; }
.report { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 12px 14px; background: var(--white); border-left: 6px solid var(--gray); min-width: 0; }
.report.in_stock { border-left-color: var(--good); }
.report.sold_out { border-left-color: var(--alert); }
.badge { font-size: .78rem; font-weight: 900; color: #fff; padding: 3px 10px; border-radius: 2px; white-space: nowrap; }
.s-in_stock { background: var(--good); }
.s-sold_out { background: var(--alert); }
.s-none { background: var(--gray); }
.report .where { font-weight: 900; min-width: 0; }
.report .detail { grid-column: 2; font-size: .85rem; color: var(--muted); }
.report .quick { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: .8rem; color: var(--muted); }
@media (max-width: 480px) { .report .quick .ql { flex-basis: 100%; } }
.qbtn { font: inherit; font-size: .82rem; font-weight: 800; padding: 5px 12px; border: 2px solid var(--line); border-radius: 2px; background: var(--white); color: var(--text); cursor: pointer; }
.qbtn.q-in:hover { border-color: var(--good); }
.qbtn.q-out:hover { border-color: var(--alert); }
.qbtn:disabled { opacity: .5; cursor: wait; }
.report .qmsg { grid-column: 2; font-size: .82rem; font-weight: 800; }
.report .qmsg:empty { display: none; }
.qmsg.ok, .message.ok { color: var(--good); }
.qmsg.err, .message.err { color: var(--alert); }
.empty { text-align: center; padding: 24px 12px; color: var(--muted); font-weight: 700; background: var(--white); border: 2px dashed var(--line); }
.empty .big { display: block; font-size: 2.2rem; line-height: 1.2; margin-bottom: 4px; }
.x-search { margin: 14px 0 0; text-align: center; }
.x-search .note { margin: 8px 0 0; font-size: .8rem; }
.x-btn { background: var(--ink); }
.x-btn:hover { background: #000; }
.store-chips { margin-top: 6px; }
.store-chips .note { display: block; margin-bottom: 4px; font-size: .8rem; }
.store-chips .chip { font-size: .85rem; padding: 5px 10px; }

/* 報告のボタン */
.status-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.status-buttons button { font: inherit; font-weight: 900; font-size: 1.05rem; padding: 16px 8px; border: 0; color: #fff; cursor: pointer; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); transition: transform .1s, filter .15s; }
.status-buttons button:hover { filter: brightness(1.08); }
.status-buttons button:active { transform: scale(.97); }
.status-buttons button:disabled { opacity: .5; cursor: wait; }
.message { margin: 10px 0 0; font-weight: 800; min-height: 1.5em; }

/* 狙い目ランキング */
.rank { display: grid; gap: 8px; margin-bottom: 10px; }
.rank-row { display: grid; grid-template-columns: 2.2em 1fr auto; align-items: center; gap: 2px 10px; padding: 10px 14px; background: var(--white); border-left: 6px solid var(--blue); }
.rank-row .no { font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--blue); text-align: center; }
.rank-row .name { font-weight: 900; }
.rank-row .stars { color: var(--poke-deep); font-size: 1.15rem; letter-spacing: .05em; white-space: nowrap; }
.rank-row .detail { grid-column: 2 / -1; font-size: .85rem; color: var(--muted); }
.rank-row.pending { border-left-color: var(--line); }
.rank-row.pending .stars { color: var(--muted); font-size: .85rem; letter-spacing: 0; }

/* ---- 抽選情報（紺の帯にチケット） ---- */
.lot-band { background: var(--ink); color: #fff; }
.lot-band .wrap { padding-block: 44px 46px; }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.band-head h2 { margin: 0; display: block; font-weight: 900; font-size: 2rem; line-height: 1.2; color: var(--signal); }
.band-head h2::before { display: none; }
.band-head p { margin: 0; font-size: .85rem; font-weight: 800; color: var(--sky); }
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.lot { display: grid; gap: 6px; align-content: start; padding: 16px 18px 14px; background: var(--white); color: var(--ink); border-top: 7px solid var(--signal); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); min-width: 0; text-decoration: none; }
.lot .row1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lot .state { font-size: .72rem; font-weight: 900; padding: 2px 9px; border-radius: 2px; color: #fff; background: var(--good); white-space: nowrap; }
.lot .state.soon { background: var(--blue); }
.lot .state.check { background: #5b6890; }
.lot .shop { font-weight: 900; }
.lot .ttl { font-size: .84rem; color: var(--muted); }
.lot .end { font-family: var(--display); font-weight: 900; font-size: 1.15rem; color: var(--deep); font-variant-numeric: tabular-nums; }
.lot .go { font-size: .82rem; font-weight: 900; color: var(--deep); padding-top: 6px; border-top: 2px dashed #d5dcef; }
.lot:hover .go { text-decoration: underline; }
.lot-empty { color: var(--sky); font-weight: 800; padding: 18px; border: 2px dashed rgba(201, 218, 255, .35); }
.lot-more { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: .88rem; font-weight: 800; }
.lot-more a { color: #fff; }

/* ---- 抽選情報の場所。広い画面（1220px〜）はヘッダーのすぐ下から左にぴったりつく欄、せまい画面は「次の発売」のすぐ下の帯（横にスライド） ---- */
.side { display: none; }
@media (min-width: 1220px) {
  .layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); background: linear-gradient(90deg, var(--ink) 320px, var(--paper) 320px); }
  .side { display: block; position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; padding: 22px 18px 20px; color: #fff; }
  .lot-band { display: none; }
}
@media (max-width: 1219.98px) {
  .lot-band .wrap { padding-block: 22px 44px; }
  .band-head { margin-bottom: 12px; }
  .band-head h2 { font-size: 1.5rem; }
  .lots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
  .lots::-webkit-scrollbar { display: none; }
  .lots li { flex: 0 0 min(76vw, 270px); scroll-snap-align: start; display: grid; }
}
.side-title { margin: 0; font-weight: 900; font-size: 1.6rem; line-height: 1.2; color: var(--signal); }
.side-sub { margin: 2px 0 12px; font-weight: 800; font-size: .85rem; color: var(--sky); }
.side-lots { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.side-lots .lot { padding: 12px 14px 10px; }
.side-empty { margin: 0; padding: 12px; font-size: .85rem; font-weight: 800; color: var(--sky); border: 2px dashed rgba(201, 218, 255, .35); }
.side-upd { margin: 12px 0 0; font-size: .75rem; color: var(--sky); }
.side-more { display: block; margin-top: 10px; color: #fff; font-size: .85rem; font-weight: 800; }

/* ---- 直近の報告。とても広い画面（1560px〜）は中身の左に並ぶ欄、それ以外は「探す」の中 ---- */
.recent { display: none; }
@media (min-width: 1560px) {
  .sheet-grid { display: grid; grid-template-columns: 300px minmax(0, 880px); gap: 28px; justify-content: center; padding-inline: 16px; }
  .sheet-grid > main.inner { margin: 0; max-width: none; padding-left: 0; padding-right: 0; }
  .recent { display: block; position: sticky; top: 16px; align-self: start; max-height: calc(100vh - 32px); overflow-y: auto; margin-top: 8px; }
  .recent-inline { display: none; }
}
.recent-title { margin: 0; font-weight: 900; font-size: 1.3rem; line-height: 1.3; }
.recent-sub { margin: 0 0 10px; font-size: .8rem; font-weight: 800; color: var(--muted); }
.recs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.recent-inline .recs { margin-top: 10px; }
.rec { display: grid; gap: 1px; padding: 10px 12px; background: var(--white); border-left: 6px solid var(--gray); font-size: .85rem; line-height: 1.5; min-width: 0; }
.rec.in_stock { border-left-color: var(--good); }
.rec.sold_out { border-left-color: var(--alert); }
.rec-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.rec-top time { font-size: .76rem; font-weight: 800; color: var(--muted); white-space: nowrap; }
.rec b { font-weight: 900; font-size: .92rem; }
.rec-shop { font-weight: 700; }
.rec-prod { color: var(--muted); font-size: .8rem; }
.rec-empty { padding: 14px 12px; font-size: .85rem; font-weight: 700; color: var(--muted); background: var(--white); border: 2px dashed var(--line); }

/* ---- トップの読みもの部分（お店ごとの特徴・流れ・わかったこと・読みもの） ---- */
html[data-game="onepiece"] .g-poke, html:not([data-game="onepiece"]) .g-op { display: none; }
.pause-note { margin: 10px 0 0; padding: 14px 18px; background: var(--white); border-left: 6px solid var(--signal); font-size: .92rem; }
.pause-note p { margin: 0; }
.pause-note .pause-title { font-weight: 900; margin-bottom: 4px; }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; margin: 14px 0 10px; }
.shop { background: var(--white); border: 2px solid var(--ink); padding: 14px 16px; clip-path: var(--cut); font-size: .9rem; }
.shop h3 { margin: 0; font-size: 1.05rem; font-weight: 900; }
.shop p { margin: 6px 0 0; }
.shop .shop-ex { margin-top: 2px; font-size: .8rem; font-weight: 800; color: var(--muted); }
.flow { list-style: none; counter-reset: flow; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 2.6rem 1fr; gap: 2px 12px; padding: 12px 14px; background: var(--white); border-left: 6px solid var(--blue); }
.flow li::before { content: counter(flow); grid-row: span 2; font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--blue); text-align: center; }
.flow b { font-weight: 900; }
.flow span { font-size: .9rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 12px 0 8px; }
.fact { display: grid; gap: 4px; align-content: start; padding: 14px 16px; background: var(--mist); font-size: .88rem; }
.fact b { font-weight: 900; font-size: 1.5rem; line-height: 1.2; color: var(--deep); }
.arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; margin-top: 12px; }
.art { display: grid; gap: 2px; align-content: start; padding: 14px 16px; background: var(--white); border: 2px solid var(--ink); text-decoration: none; color: var(--ink); font-size: .85rem; }
.art:hover, .art:focus-visible { background: var(--signal); border-color: var(--signal); color: var(--signal-text); }
.art .art-ic { font-size: 1.5rem; line-height: 1.2; }
.art b { font-weight: 900; font-size: .98rem; }

/* ---- お願い・よくある質問など ---- */
.info ul:not(.related):not(.news-list) { padding-left: 1.3em; }
.info li { margin: 4px 0; }
details { background: var(--white); border: 2px solid var(--line); padding: 10px 14px; margin-bottom: 8px; }
details[open] { border-color: var(--blue); }
summary { cursor: pointer; font-weight: 900; }
details p { margin: 8px 0 2px; }
.related { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.related a { display: inline-block; padding: 6px 14px; background: var(--white); border: 2px solid var(--ink); text-decoration: none; font-size: .9rem; font-weight: 800; color: var(--ink); }
.related a:hover { background: var(--signal); border-color: var(--signal); color: var(--signal-text); }
.news { margin-top: 36px; background: var(--white); border: 2px solid var(--ink); }
.news .news-head { margin: 0; padding: 10px 18px; background: var(--ink); color: #fff; font-size: 1.1rem; }
.news .news-head::before { display: none; }
.news-list { list-style: none; margin: 0; padding: 4px 18px; }
.news-list li { display: flex; gap: 4px 14px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.news-list li:last-child { border-bottom: 0; }
.news-list time { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-list a { font-weight: 800; text-decoration: none; }
.news-list a:hover { text-decoration: underline; }
.news-more { text-align: center; margin: 0 0 14px; }
.ad-slot { margin: 28px 0; min-height: 100px; display: flex; align-items: center; justify-content: center; }
.ad-slot:empty::before { content: "広告"; width: 100%; padding: 36px 0; text-align: center; font-size: .75rem; color: var(--muted); border: 2px dashed var(--line); }

/* ---- ほかのサイト ---- */
.sites .wrap { padding-block: 16px 52px; }
.sites h2 { display: block; margin: 0 0 4px; font-weight: 900; font-size: 2rem; line-height: 1.2; color: var(--blue); }
.sites h2::before { display: none; }
.sites .sub { margin: 0 0 16px; font-weight: 800; font-size: .92rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.tile { display: grid; gap: 4px; align-content: start; padding: 18px 18px 16px; color: #fff; background: var(--blue); text-decoration: none; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); min-width: 0; transition: transform .2s; }
.tile:hover, .tile:focus-visible { transform: translateY(-3px); }
.tile.ink { background: var(--ink); }
.tile.deep { background: var(--deep); }
.tile .en { font-weight: 900; font-size: 1.45rem; line-height: 1.2; opacity: 1; }
.tile b { font-weight: 900; }
.tile span { font-size: .82rem; opacity: .88; }
.tile .url { font-family: var(--display); font-weight: 800; letter-spacing: .06em; font-size: .85rem; opacity: .7; margin-top: 6px; }

/* ---- フッター ---- */
.foot { background: var(--ink); color: var(--sky); font-size: .82rem; }
.foot .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot a { color: #fff; }
.foot p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .radar::before, .radar::after { animation: none; }
  .drop, .tile, .bar i { transition: none; }
}
