/* =========================================================
   個人情報セキュリティ（london3.jp/sec/kojin/）
   共通スタイルシート
   ※ 色は :root にまとめてあります。色を変えたいときはここだけ直せばOKです。
   ========================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* ベース色（ポータル・速報とそろえたダーク系） */
  --bg:       #0a0d14;
  --bg-2:     #0e1420;
  --card:     #111926;
  --line:     #1e2c42;
  --line-2:   #2a3d5c;
  --text:     #dde5f0;
  --text-sub: #8aa0bd;
  --text-dim: #5f7490;

  /* アクセント色 */
  --accent: #00d4ff;  /* シアン：リンク・見出し */
  --alert:  #ff3b5c;  /* レッド：漏えい・警告 */
  --warn:   #ffb000;  /* アンバー：注意 */
  --ok:     #2fe38a;  /* グリーン：対策 */
  --purple: #a970ff;

  --radius: 12px;
  --maxw: 1100px;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }  /* 目次から飛んだとき、見出しがヘッダーに隠れないように */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 20, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark {
  font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 12px; letter-spacing: .08em;
  color: #fff; background: var(--alert); border-radius: 6px; padding: 3px 8px;
}
.logo-text { font-weight: 700; font-size: 15px; line-height: 1.3; }
.logo-text small { display: block; font-size: 11px; color: var(--text-sub); font-weight: 400; }
.header-nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: 13px; }
.header-nav a { color: var(--text-sub); }
.header-nav a:hover, .header-nav a.is-current { color: var(--accent); text-decoration: none; }

/* ---------- パンくず ---------- */
.crumbs { font-size: 12px; color: var(--text-dim); padding: 14px 0 0; }
.crumbs a { color: var(--text-sub); }

/* ---------- ページ見出し（ヒーロー） ---------- */
.hero { padding: 44px 0 30px; }
.hero .tag {
  display: inline-block; font-family: 'Share Tech Mono', monospace; font-size: 12px;
  color: var(--accent); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 12px; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(26px, 5vw, 42px); line-height: 1.35; font-weight: 900; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--alert); }
.hero p { color: var(--text-sub); max-width: 760px; }

/* ---------- 本文 ---------- */
.content { padding-bottom: 60px; }
.content h2 {
  font-size: clamp(20px, 3.4vw, 26px); margin: 56px 0 16px; padding-left: 14px;
  border-left: 4px solid var(--accent); line-height: 1.45;
}
.content h2 .en { display: block; font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--text-dim); font-weight: 400; }
.content h3 { font-size: 18px; margin: 30px 0 10px; color: #fff; }
.content p { margin-bottom: 14px; }
.content ul, .content ol { margin: 0 0 16px 1.4em; }
.content li { margin-bottom: 6px; }
.content strong { color: #fff; background: linear-gradient(transparent 62%, rgba(255, 59, 92, .35) 62%); }
.note { font-size: 13px; color: var(--text-sub); }

.toc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin: 10px 0 20px;
}
.toc p { font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
.toc ol { margin: 0 0 0 1.3em; columns: 2 260px; column-gap: 30px; }
.toc li { margin-bottom: 4px; }

.box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin: 16px 0 20px;
}
.box.is-alert { border-color: rgba(255, 59, 92, .55); background: linear-gradient(180deg, rgba(255, 59, 92, .09), var(--card)); }
.box.is-ok { border-color: rgba(47, 227, 138, .45); background: linear-gradient(180deg, rgba(47, 227, 138, .07), var(--card)); }
.box.is-warn { border-color: rgba(255, 176, 0, .5); background: linear-gradient(180deg, rgba(255, 176, 0, .07), var(--card)); }
.box .box-title { font-weight: 700; color: #fff; margin-bottom: 8px; display: block; }
.box > :last-child { margin-bottom: 0; }

/* 表 */
.table-wrap { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--bg-2); color: var(--text-sub); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
td.num { text-align: right; font-family: 'Share Tech Mono', monospace; white-space: nowrap; }

/* カードの並び */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 16px 0 22px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.tile h3 { margin: 0 0 6px; font-size: 16px; }
.tile p { font-size: 14px; color: var(--text-sub); margin: 0; }
.tile .k { font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--accent); display: block; margin-bottom: 4px; }

/* タイムライン（手順） */
.flow { list-style: none; margin: 18px 0 22px !important; counter-reset: f; }
.flow li {
  position: relative; padding: 0 0 18px 54px; margin: 0 !important; counter-increment: f;
}
.flow li::before {
  content: counter(f); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 14px;
  background: var(--bg-2); border: 2px solid var(--accent); color: var(--accent);
}
.flow li::after {
  content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--line-2);
}
.flow li:last-child::after { display: none; }
.flow li b { color: #fff; display: block; }
.flow li .when { font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--warn); }

/* チェックリスト */
.check { list-style: none; margin-left: 0 !important; }
.check li { padding-left: 28px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 900; }

/* 分類バッジ（速報と同じ色） */
.badge { display: inline-block; font-size: 11px; font-weight: 700; border: 1px solid currentColor; border-radius: 999px; padding: 0 9px; line-height: 1.8; white-space: nowrap; }
.b-ransomware { color: #ff6a8b; }
.b-unauthorized { color: #4fc3ff; }
.b-phishing { color: #ffb000; }
.b-vulnerability { color: #a970ff; }
.b-insider { color: #ff9a5c; }
.b-misconfig { color: #7ed6a5; }
.b-supplychain { color: #65d0d8; }
.b-loss { color: #c0a8ff; }
.b-ddos { color: #ff8fb0; }

/* 脅威ごとの棒グラフ */
.hbar { margin: 18px 0 8px; }
.hbar .row { display: grid; grid-template-columns: 170px 1fr 64px; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 14px; }
.hbar .track { background: var(--bg-2); border-radius: 6px; height: 16px; overflow: hidden; }
.hbar .track, .hbar .fill { display: block; }
.hbar .fill { height: 100%; border-radius: 6px; background: var(--accent); }
.hbar .v { text-align: right; font-family: 'Share Tech Mono', monospace; color: var(--text-sub); }
@media (max-width: 560px) {
  .hbar .row { grid-template-columns: 1fr 52px; }
  .hbar .row .track { grid-column: 1 / -1; grid-row: 2; }
}

/* 事例リンク */
.cases { list-style: none; margin: 8px 0 0 !important; }
.cases li { font-size: 14px; border-top: 1px dashed var(--line); padding: 8px 0; margin: 0 !important; }
.cases li .n { color: var(--alert); font-family: 'Share Tech Mono', monospace; margin-right: 6px; }

/* 脅威カード */
.threat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.threat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.threat-head h3 { margin: 0; }
.threat-head .cnt { font-family: 'Share Tech Mono', monospace; color: var(--text-sub); font-size: 13px; }
.threat .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.threat .cols h4 { font-size: 13px; color: var(--text-sub); margin-bottom: 4px; }
.threat .cols p, .threat .cols li { font-size: 14px; }
@media (max-width: 720px) { .threat .cols { grid-template-columns: 1fr; } }

/* 関連リンク */
.next-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 40px 0 10px; }
.next-links a {
  display: block; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px 18px; color: var(--text);
}
.next-links a:hover { border-color: var(--accent); text-decoration: none; }
.next-links small { display: block; font-family: 'Share Tech Mono', monospace; color: var(--accent); font-size: 11px; }
.next-links b { font-size: 16px; }

/* ---------- TOPページ ---------- */
.top-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 10px 0 40px; }
.top-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; color: var(--text); overflow: hidden;
}
.top-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.top-card { transition: transform .2s, border-color .2s; }
.top-card .k { font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--accent); }
.top-card h2 { font-size: 21px; line-height: 1.4; }
.top-card p { font-size: 14px; color: var(--text-sub); }
.top-card .go { margin-top: auto; font-weight: 700; color: var(--accent); font-size: 14px; }
.top-card.is-rank { border-color: rgba(255, 59, 92, .6); background: radial-gradient(120% 90% at 100% 0%, rgba(255, 59, 92, .28), transparent 60%), #160b10; }
.top-card.is-rank .k, .top-card.is-rank .go { color: var(--alert); }
.top-card.is-rank .big { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 34px; color: #fff; line-height: 1.1; text-shadow: 0 0 18px rgba(255, 59, 92, .7); }
.top-card.is-rank .big small { font-size: 14px; font-family: 'Noto Sans JP', sans-serif; color: var(--text-sub); margin-left: 4px; }

.mini-rank { list-style: none; margin: 0 0 40px; border: 1px solid rgba(255, 59, 92, .4); border-radius: var(--radius); overflow: hidden; }
.mini-rank li { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.mini-rank li:last-child { border-bottom: none; }
.mini-rank .r { font-family: 'Orbitron', sans-serif; font-weight: 900; color: var(--alert); font-size: 20px; }
.mini-rank .o { font-weight: 700; color: var(--text); line-height: 1.4; }
.mini-rank .o small { display: block; color: var(--text-dim); font-weight: 400; font-size: 12px; }
.mini-rank .c { font-family: 'Orbitron', sans-serif; font-weight: 700; color: #fff; white-space: nowrap; }
.mini-rank a { color: inherit; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 30px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat .num { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 28px; color: var(--accent); line-height: 1.2; }
.stat.is-alert .num { color: var(--alert); }
.stat .label { font-size: 13px; color: var(--text-sub); }

.section-title { font-family: 'Share Tech Mono', monospace; color: var(--text-dim); font-size: 13px; margin: 10px 0 12px; }

/* ---------- フッター ---------- */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; margin-top: 40px; font-size: 13px; color: var(--text-sub); }
footer .fnav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
footer p { margin-bottom: 8px; }
footer .sig { color: var(--text-dim); }

/* =========================================================
   ランキングページ専用（ショッキングな演出）
   ========================================================= */
body.rank-page { background: #07070a; }
.rank-page .site-header { background: rgba(7, 7, 10, .92); border-bottom-color: #3a0d16; }

/* 黄色と黒の警告テープ */
.hazard {
  height: 14px;
  background: repeating-linear-gradient(-45deg, #ffcc00 0 16px, #111 16px 32px);
}
.hazard.is-text {
  height: auto; padding: 6px 0; overflow: hidden; white-space: nowrap;
  font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 13px; letter-spacing: .2em; color: #111;
  background: repeating-linear-gradient(-45deg, #ffcc00 0 22px, #e6b800 22px 44px);
}
.hazard.is-text span { display: inline-block; padding-left: 100%; animation: ticker 28s linear infinite; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ヒーロー */
.rk-hero {
  position: relative; overflow: hidden; text-align: center; padding: 60px 16px 56px;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(255, 0, 40, .35), transparent 70%),
    #07070a;
}
.rk-hero::before { /* 走査線 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px);
}
.rk-hero::after { /* 赤い点滅 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 160px rgba(255, 0, 40, .55);
  animation: alarm 2.4s ease-in-out infinite;
}
@keyframes alarm { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.rk-hero > * { position: relative; z-index: 1; }
.rk-warning {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Orbitron', sans-serif; font-weight: 900; letter-spacing: .25em; font-size: 13px;
  color: #ff2a4d; border: 2px solid #ff2a4d; padding: 4px 14px; margin-bottom: 18px;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.rk-title {
  font-size: clamp(30px, 7vw, 68px); font-weight: 900; line-height: 1.2; color: #fff;
  text-shadow: 0 0 28px rgba(255, 0, 40, .8);
}
.rk-title .glitch { position: relative; display: inline-block; color: #ff2a4d; }
.rk-title .glitch::before, .rk-title .glitch::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden;
}
.rk-title .glitch::before { color: #00e5ff; transform: translate(-3px, 0); clip-path: inset(0 0 60% 0); animation: g1 2.8s infinite steps(1); mix-blend-mode: screen; }
.rk-title .glitch::after { color: #ffcc00; transform: translate(3px, 0); clip-path: inset(55% 0 0 0); animation: g2 3.4s infinite steps(1); mix-blend-mode: screen; }
@keyframes g1 { 0%, 88%, 100% { transform: translate(0); opacity: 0; } 90% { transform: translate(-4px, -2px); opacity: 1; } 94% { transform: translate(3px, 1px); opacity: 1; } }
@keyframes g2 { 0%, 84%, 100% { transform: translate(0); opacity: 0; } 86% { transform: translate(4px, 2px); opacity: 1; } 92% { transform: translate(-3px, 0); opacity: 1; } }
.rk-sub { color: #c9b3b9; margin: 14px auto 30px; max-width: 720px; font-size: 15px; }

.rk-asof {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid rgba(255, 204, 0, .55); background: rgba(255, 204, 0, .08); border-radius: 10px;
  padding: 10px 20px; margin: -6px auto 30px; color: #ffe9a8; font-size: 15px;
}
.rk-asof b { color: #ffcc00; font-size: 18px; }
.rk-asof-k { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .25em; color: #ffcc00; }
.rk-asof-sub { font-size: 12px; color: #b8a77a; }
.rk-total-label { font-size: 14px; color: #ff8a9f; letter-spacing: .1em; }
.rk-total {
  font-family: 'Orbitron', sans-serif; font-weight: 900; color: #fff;
  font-size: clamp(42px, 11vw, 110px); line-height: 1.05; letter-spacing: -.01em;
  text-shadow: 0 0 22px #ff0028, 0 0 60px rgba(255, 0, 40, .6);
  font-variant-numeric: tabular-nums;
}
.rk-total small { font-family: 'Noto Sans JP', sans-serif; font-size: .3em; margin-left: 6px; color: #ffb3c0; }
.rk-compare { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.rk-compare div {
  background: rgba(255, 0, 40, .12); border: 1px solid rgba(255, 42, 77, .55); border-radius: 10px; padding: 10px 18px; color: #ffd6dd; font-size: 14px;
}
.rk-compare b { font-family: 'Orbitron', sans-serif; font-size: 26px; color: #fff; display: block; line-height: 1.2; }

/* 人型アイコンの帯（日本の人口との比較） */
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; max-width: 760px; margin: 26px auto 6px; }
.people svg { width: 14px; height: 22px; }
.people .p-on { fill: #ff2a4d; filter: drop-shadow(0 0 3px rgba(255, 42, 77, .9)); }
.people-cap { font-size: 12px; color: #a98c93; }

/* 表彰台（TOP3） */
.rk-section-title {
  font-family: 'Orbitron', sans-serif; font-weight: 900; letter-spacing: .2em; color: #ff2a4d;
  font-size: 14px; margin: 50px 0 16px; display: flex; align-items: center; gap: 12px;
}
.rk-section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #ff2a4d, transparent); }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.pod {
  position: relative; display: block; color: #fff; border-radius: 14px; padding: 22px 20px 20px; overflow: hidden;
  background: linear-gradient(180deg, #2a0710, #12050a);
  border: 1px solid #5a1222;
  transition: transform .2s, box-shadow .2s;
}
.pod:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 10px 40px rgba(255, 0, 40, .35); }
.pod.r1 { padding-top: 34px; border: 2px solid #ff2a4d; box-shadow: 0 0 40px rgba(255, 0, 40, .45), inset 0 0 50px rgba(255, 0, 40, .25); }
.pod .rank {
  font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 64px; line-height: 1; color: transparent;
  -webkit-text-stroke: 2px #ff2a4d; position: absolute; right: 14px; top: 8px; opacity: .9;
}
.pod.r1 .rank { font-size: 90px; color: #ff2a4d; -webkit-text-stroke: 0; text-shadow: 0 0 24px rgba(255, 0, 40, .9); }
.pod .crown { font-family: 'Orbitron', sans-serif; font-size: 11px; letter-spacing: .2em; color: #ffcc00; }
.pod .count {
  font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; margin: 22px 0 4px;
  text-shadow: 0 0 16px rgba(255, 0, 40, .8); font-variant-numeric: tabular-nums;
}
.pod.r1 .count { font-size: clamp(36px, 5.4vw, 60px); }
.pod .count small { font-size: 15px; font-family: 'Noto Sans JP', sans-serif; margin-left: 2px; color: #ffb3c0; }
.pod .exact { font-family: 'Share Tech Mono', monospace; color: #ff8a9f; font-size: 13px; margin-bottom: 8px; }
.pod .org { font-weight: 700; font-size: 16px; line-height: 1.45; }
.pod .ttl { font-size: 12.5px; color: #c9a3ad; margin-top: 8px; line-height: 1.6; }
.pod .meta { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 12px; color: #a98c93; flex-wrap: wrap; }
.pod .read { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #ff2a4d; }
@media (max-width: 820px) {
  .podium { grid-template-columns: 1fr; }
  .pod.r1 { order: -1; }
}

/* 4〜10位 */
.top10 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.t10 {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; color: #fff;
  background: #120a0d; border: 1px solid #3a1019; border-left: 4px solid #ff2a4d; border-radius: 10px; padding: 14px 16px;
}
.t10:hover { text-decoration: none; border-color: #ff2a4d; background: #1a0b10; }
.t10 .rank { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 30px; color: #ff2a4d; line-height: 1.1; }
.t10 .count { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; }
.t10 .count small { font-size: 12px; font-family: 'Noto Sans JP', sans-serif; color: #ffb3c0; margin-left: 2px; }
.t10 .org { font-size: 14px; font-weight: 700; line-height: 1.45; margin-top: 2px; }
.t10 .ttl { font-size: 12px; color: #a98c93; line-height: 1.55; margin-top: 4px; }

/* 11位以下（棒グラフつきの表） */
.rk-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.rk-filter button {
  font: inherit; font-size: 13px; color: #d8c3c9; background: #120a0d; border: 1px solid #3a1019; border-radius: 999px; padding: 4px 14px; cursor: pointer;
}
.rk-filter button.is-on { background: #ff2a4d; border-color: #ff2a4d; color: #fff; font-weight: 700; }
.rk-list { list-style: none; border: 1px solid #2a0c13; border-radius: 12px; overflow: hidden; }
.rk-row a {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) 150px; gap: 12px; align-items: center;
  padding: 10px 16px; color: #eee; border-bottom: 1px solid #1d0a0f; background: #0d0709; position: relative;
}
.rk-row:nth-child(even) a { background: #100809; }
.rk-row a:hover { text-decoration: none; background: #1c0a10; }
.rk-row .rank { font-family: 'Orbitron', sans-serif; font-weight: 700; color: #ff5470; font-size: 16px; }
.rk-row a > span:nth-child(2) { display: block; min-width: 0; }
.rk-row .org { display: block; font-size: 14px; font-weight: 700; line-height: 1.45; }
.rk-row .org small { display: block; font-weight: 400; color: #8d7379; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-row .bar { display: block; height: 6px; background: #22090f; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.rk-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff2a4d, #ff8a3d); border-radius: 3px; width: 0; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.rk-row .count { text-align: right; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 16px; white-space: nowrap; }
.rk-row .count small { font-family: 'Noto Sans JP', sans-serif; font-size: 11px; color: #ffb3c0; margin-left: 2px; }
.rk-row.is-hidden { display: none; }
@media (max-width: 600px) {
  .rk-row a { grid-template-columns: 40px minmax(0, 1fr); }
  .rk-row .count { grid-column: 2; text-align: left; font-size: 15px; }
}

.rk-note { background: #0f0b0c; border: 1px solid #2a1a1e; border-radius: 12px; padding: 18px 20px; margin: 40px 0 10px; font-size: 13.5px; color: #b9a6ab; }
.rk-note b { color: #fff; }
.rk-note ul { margin: 6px 0 0 1.3em; }

/* 動きを減らす設定の人には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hazard.is-text span { padding-left: 0; }
}
