/*
 * トップページ（/）専用。レイアウト home_next が単体で読み込む。
 * application.css には含めない（application.css 側で stub 指定）。
 *
 * ・色はモノクロ基調。色を使うのは危険レベルだけ（外務省の2026年7月以降の配色）。
 * ・書体は public/fonts/home_next/ の自前配信（使用文字だけ収録。bin/home_next_fonts で作り直す）。
 * ・動きは html に .rn-motion が付いたときだけ有効。JSなし／動きを減らす設定では完成形を静止表示する。
 */

@font-face { font-family: "RN Sans"; src: url(/fonts/home_next/sans.woff2?v=2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "RN Serif"; src: url(/fonts/home_next/serif.woff2?v=2) format("woff2"); font-weight: 500 700; font-display: swap; }

.rn {
  --ink: #0a0b0d;
  --ink-2: #33373d;
  --mute: #6b7078;
  --faint: #9a9fa7;
  --line: #e4e4e0;
  --paper: #ffffff;
  --paper-2: #f4f4f1;
  --night: #07080a;
  --night-2: #0f1114;
  --night-3: #171a1f;
  --night-line: rgba(255, 255, 255, 0.1);
  --night-mute: rgba(255, 255, 255, 0.6);
  --lv1: #ffff00;
  --lv2: #facc2e;
  --lv3: #ff0000;
  --lv4: #8b0a03;
  --sans: "Inter var", "RN Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --serif: "RN Serif", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --num: "Inter var", "RN Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1200px;
  --gutter: 32px;
  --header: 72px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(/%23n)'/%3E%3C/svg%3E");

  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.rn *, .rn *::before, .rn *::after { box-sizing: border-box; }
/* 素の要素の初期化。:where で詳細度を上げず、後ろの部品指定が必ず勝つようにする */
.rn :where(h1, h2, h3, h4, p, ol, ul, dl, dt, dd, figure, blockquote, hr, table) { margin: 0; padding: 0; }
.rn :where(ol, ul) { list-style: none; }
.rn :where(a) { color: inherit; text-decoration: none; }
.rn :where(canvas, svg) { display: block; }
.rn :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.rn :where(em, i) { font-style: normal; }
.rn :where(hr) { border: 0; }
.rn :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.rn-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.rn-nowrap { display: inline-block; }
.rn-serif { font-family: var(--serif); font-feature-settings: normal; }
.rn-num { font-family: var(--num); font-feature-settings: "tnum", "zero" 0; letter-spacing: 0; }
.rn-note { font-size: 12px; line-height: 1.7; color: var(--faint); }
.rn-flash { position: relative; z-index: 60; padding: 10px var(--gutter); text-align: center; font-size: 14px; font-weight: 600; color: #fff; background: var(--ink); }
.rn-flash--alert { background: #b91c1c; }

/* ------------------------------------------------------------------ 現れ方 */
.rn-motion [data-rn-in] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rn-motion [data-rn-in].is-in { opacity: 1; transform: none; }
/* 見出しの行は下から迫り上がる */
.rn-line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.rn-line > span { display: block; }
.rn-motion .rn-line > [data-rn-in] { opacity: 1; transform: translate3d(0, 108%, 0); transition: transform 1.5s var(--ease); transition-delay: calc(0.15s + var(--i, 0) * 110ms); }
.rn-motion .rn-line > [data-rn-in].is-in { transform: none; }

/* ------------------------------------------------------------------ 見出しの型 */
.rn-head { max-width: 780px; }
.rn-head--center { margin: 0 auto; text-align: center; }
.rn-label { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--mute); }
.rn-label b { font-family: var(--num); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; color: var(--faint); }
.rn-label b::after { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin-left: 14px; background: currentColor; opacity: 0.6; }
.rn-h2 { margin-top: 22px; font-size: clamp(30px, 4.3vw, 58px); line-height: 1.34; font-weight: 700; letter-spacing: 0.005em; }
.rn-lead { margin-top: 26px; max-width: 36em; font-size: clamp(15px, 1.25vw, 17px); line-height: 2; color: var(--ink-2); }
.rn-lead + .rn-lead { margin-top: 12px; }
[data-theme="dark"] .rn-label { color: rgba(255, 255, 255, 0.7); }
[data-theme="dark"] .rn-label b { color: rgba(255, 255, 255, 0.45); }
[data-theme="dark"] .rn-lead { color: var(--night-mute); }

.rn-section { position: relative; padding: clamp(96px, 12vw, 176px) 0; }
.rn-section--tint { background: var(--paper-2); }

/* ------------------------------------------------------------------ ボタン */
.rn-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 0.02em; white-space: nowrap; background: var(--ink); color: #fff; transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.4s; }
.rn-btn:hover { transform: translateY(-2px); }
.rn-btn--light { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 18px 50px -18px rgba(255, 255, 255, 0.45); }
.rn-btn--light:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 24px 60px -16px rgba(255, 255, 255, 0.6); }
.rn-btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.rn-btn--line:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.rn-btn--small { min-height: 40px; padding: 0 20px; font-size: 13px; }
.rn-arrow { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.rn-btn:hover .rn-arrow { transform: translateX(5px); }

/* 危険レベルの札 */
.rn-lv { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--ink); background: var(--line); }
.rn-lv--1 { background: var(--lv1); }
.rn-lv--2 { background: var(--lv2); }
.rn-lv--3 { background: var(--lv3); color: #fff; }
.rn-lv--4 { background: var(--lv4); color: #fff; }
.rn-lv--plain { background: rgba(127, 127, 127, 0.18); color: inherit; }

/* ------------------------------------------------------------------ ヘッダー */
.rn-header { --fg: var(--ink); --fg-inv: #fff; --bar: rgba(255, 255, 255, 0.78); --rule: var(--line); position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--header); color: var(--fg); border-bottom: 1px solid transparent; transition: background-color 0.4s, border-color 0.4s, color 0.4s; }
.rn-header.is-dark { --fg: #fff; --fg-inv: var(--ink); --bar: rgba(7, 8, 10, 0.6); --rule: rgba(255, 255, 255, 0.08); }
.rn-header.is-scrolled { background: var(--bar); border-bottom-color: var(--rule); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
.rn-header__inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.rn-brand { display: flex; align-items: baseline; gap: 10px; line-height: 1; }
.rn-brand b { font-family: var(--num); font-weight: 800; font-size: 22px; letter-spacing: 0.14em; }
.rn-brand small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; opacity: 0.6; }
.rn-nav { display: flex; gap: 30px; margin-left: auto; font-size: 13px; font-weight: 600; }
.rn-nav a { position: relative; padding: 6px 0; opacity: 0.78; transition: opacity 0.3s; }
.rn-nav a:hover { opacity: 1; }
.rn-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.rn-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.rn-header__actions { display: flex; align-items: center; gap: 18px; }
.rn-header__actions form { margin: 0; }
.rn-header__login { font-size: 13px; font-weight: 700; padding: 8px 2px; }
.rn-header__cta { background: var(--fg); color: var(--fg-inv); }
.rn-menu { display: none; position: relative; }
.rn-menu summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.rn-menu summary::-webkit-details-marker { display: none; }
.rn-menu__bars { width: 20px; height: 9px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: height 0.2s; }
.rn-menu[open] .rn-menu__bars { height: 1.5px; border-bottom: 0; }
.rn-menu__panel { position: absolute; top: 50px; right: 0; width: min(280px, 86vw); padding: 10px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line); }
.rn-menu__panel a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.rn-menu__panel a:hover { background: var(--paper-2); }

/* ------------------------------------------------------------------ ヒーロー */
.rn-hero { position: relative; display: flex; flex-direction: column; min-height: max(100svh, 780px); padding-top: var(--header); background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.rn-hero__globe { position: absolute; z-index: 0; inset: 0; }
.rn-hero__globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rn-motion .rn-hero__globe { opacity: 0; transform: scale(1.06); transition: opacity 2.2s ease 0.2s, transform 2.8s var(--ease) 0.2s; }
.rn-motion.rn-ready .rn-hero__globe { opacity: 1; transform: none; }
/* 文字の裏を沈め、全体に粒子をのせる */
.rn-hero__shade { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--night) 0%, rgba(7, 8, 10, 0.86) 26%, rgba(7, 8, 10, 0) 58%), linear-gradient(0deg, var(--night) 0%, rgba(7, 8, 10, 0) 22%); }
.rn-hero__shade::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.07; mix-blend-mode: screen; }
.rn-hero__copy { position: relative; z-index: 3; margin-top: auto; padding-top: 40px; }
.rn-kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.72); }
.rn-kicker b { font-family: var(--num); font-weight: 700; letter-spacing: 0.2em; padding: 5px 10px 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); color: #fff; font-size: 11px; }
.rn-hero__title { margin-top: 26px; font-weight: 600; font-size: clamp(38px, 4.8vw, 74px); line-height: 1.3; letter-spacing: 0.02em; text-shadow: 0 0 28px rgba(7, 8, 10, 0.95), 0 0 6px rgba(7, 8, 10, 0.9); }
/* 行頭のかぎ括弧は左へぶら下げ、2行目以降の文字と頭をそろえる */
.rn-hero__title .rn-line { margin-left: -1em; padding-left: 1em; }
.rn-hang { margin-left: -1em; }
.rn-hero__lead { margin-top: 30px; max-width: 33em; font-size: clamp(15px, 1.2vw, 17px); line-height: 2.05; color: rgba(255, 255, 255, 0.72); }
.rn-hero__lead strong { font-weight: 700; color: #fff; }
.rn-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
/* 情報源の機関名。ロゴの帯の代わりに、同じ色の文字だけで並べる。他社との違いなので大きく一行で見せる */
.rn-sources { margin-top: 48px; }
.rn-sources p { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); }
.rn-sources p::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.6; }
.rn-sources ul { display: flex; flex-wrap: wrap; align-items: stretch; row-gap: 12px; margin-top: 16px; }
.rn-sources li { display: flex; flex-direction: column; gap: 4px; font-size: clamp(16px, 1.66vw, 24px); }
.rn-sources li + li { margin-left: 0.8em; padding-left: 0.8em; border-left: 1px solid rgba(255, 255, 255, 0.22); }
/* 銀の地金に光が走るような質感。文字を透明にして背景のグラデーションで塗る（影は drop-shadow で付ける） */
.rn-sources b, .rn-sources small { color: #d9dde3; background: linear-gradient(100deg, #8d939c 0%, #e9ecf0 22%, #a3a9b2 40%, #f7f8fa 50%, #a3a9b2 60%, #dfe3e8 78%, #8d939c 100%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(7, 8, 10, 0.9)); }
.rn-sources b { font-family: var(--num); font-weight: 700; line-height: 1.3; letter-spacing: 0; white-space: nowrap; }
.rn-sources b:lang(ja) { font-family: var(--sans); letter-spacing: 0.1em; }
.rn-sources small { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
/* 光は左から右へ、少しずつずらして流れる */
.rn-motion.rn-ready .rn-sources b, .rn-motion.rn-ready .rn-sources small { animation: rn-sheen 7s var(--ease-io) 1.6s infinite; }
.rn-motion.rn-ready .rn-sources li:nth-child(2) :is(b, small) { animation-delay: 1.75s; }
.rn-motion.rn-ready .rn-sources li:nth-child(3) :is(b, small) { animation-delay: 1.9s; }
.rn-motion.rn-ready .rn-sources li:nth-child(4) :is(b, small) { animation-delay: 2.05s; }
@keyframes rn-sheen { 0% { background-position: 100% 0; } 30%, 100% { background-position: 0 0; } }
.rn-hero__facts { position: relative; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: auto; padding-top: clamp(28px, 5vh, 64px); padding-bottom: 34px; }
.rn-hero__facts dl { display: flex; gap: 0; }
.rn-hero__facts dl > div { padding: 2px 34px 2px 0; }
.rn-hero__facts dl > div + div { padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.rn-hero__facts dt { display: flex; align-items: baseline; gap: 6px; font-size: 34px; font-weight: 600; line-height: 1; }
.rn-hero__facts dt small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.rn-hero__facts dd { margin-top: 10px; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, 0.5); }
.rn-hero__facts .rn-note { color: rgba(255, 255, 255, 0.34); text-align: right; }

/* 地球儀の点に添える表示 */
.rn-hud { position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.6s ease; }
.rn-hud.is-on { opacity: 1; }
.rn-hud__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rn-hud__line path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1; stroke-dasharray: 2 4; }
.rn-hud__card { position: absolute; left: 0; top: 0; width: 264px; padding: 14px; border-radius: 16px; background: rgba(20, 23, 28, 0.62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -20px rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); transform: translate3d(var(--hx, 0px), var(--hy, 0px), 0); }
.rn-hud__card > * { opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 0.5s ease, transform 0.8s var(--ease); }
.rn-hud.is-on .rn-hud__card > * { opacity: 1; transform: none; transition-delay: 0.25s; }
.rn-hud.is-on .rn-hud__card > .rn-hud__stay { transition-delay: 1.1s; }
.rn-hud__mail { display: flex; align-items: flex-start; gap: 10px; padding: 2px 2px 12px; font-size: 12px; font-weight: 600; line-height: 1.5; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.rn-hud__mail i { flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--lv3); box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.18); }
.rn-hud small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.5); }
.rn-hud__stay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; }
.rn-hud__stay p { padding: 0 2px; }
.rn-hud__stay b { font-size: 30px; font-weight: 600; line-height: 1.2; }
.rn-hud__stay em { margin-left: 4px; font-size: 12px; color: rgba(255, 255, 255, 0.7); }

/* ------------------------------------------------------------------ 課題：散らばった机の上が一つの画面に */
.rn-problem { overflow: clip; }
.rn-problem { --deskh: clamp(460px, 44vw, 580px); }
.rn-desk-track { margin-top: clamp(24px, 3vw, 48px); }
/* 動きあり：机の上を画面に留めたまま、スクロール量で一つにまとめる */
.rn-motion .rn-desk-track { height: calc(var(--deskh) + 90vh); }
.rn-motion .rn-desk { position: sticky; top: calc(50vh - var(--deskh) / 2 + 24px); }
.rn-desk { --p: 1; --q: clamp(0, calc((var(--p) - 0.1) / 0.5), 1); --o: clamp(0, calc((var(--p) - 0.5) / 0.28), 1); position: relative; container-type: size; height: var(--deskh); max-width: 1080px; margin: 0 auto; }
.rn-pw { position: absolute; left: 50%; top: 50%; width: clamp(220px, 27cqw, 310px); border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.07), 0 2px 4px rgba(10, 11, 13, 0.04), 0 30px 60px -24px rgba(10, 11, 13, 0.32); font-size: 12px; line-height: 1.5; overflow: hidden; will-change: transform, opacity;
  transform: translate(-50%, -50%) translate3d(calc(var(--x) * var(--kx, 1) * (1 - var(--q)) * 1cqw), calc(var(--y) * (1 - var(--q)) * 1cqh + (0.5 - var(--p)) * (var(--d) - 2.5) * 22px), 0) rotate(calc(var(--r) * (1 - var(--q)) * 1deg)) scale(calc(1 - var(--q) * 0.5));
  opacity: calc(1 - var(--o) * 1.4); }
.rn-pw__bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; background: #f1f1ee; border-bottom: 1px solid rgba(10, 11, 13, 0.06); }
.rn-pw__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3d3cf; }
.rn-pw__bar span { margin-left: 8px; font-size: 10.5px; font-weight: 600; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-pw__body { display: grid; gap: 9px; padding: 14px 14px 16px; }
.rn-pw__body > b { font-size: 13px; font-weight: 700; }
.rn-pw__row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.rn-pw hr { height: 6px; border-radius: 3px; background: #ecece8; }
.rn-pw hr.m { width: 78%; }
.rn-pw hr.s { width: 52%; }
.rn-pw__list li { display: grid; grid-template-columns: 7px 1fr; align-items: center; gap: 9px; padding: 9px 13px; border-top: 1px solid rgba(10, 11, 13, 0.06); }
.rn-pw__list li:first-child { border-top: 0; }
.rn-pw__list i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.rn-pw__list b { font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-pw__list .read i { background: transparent; }
.rn-pw__list .read b { font-weight: 500; color: var(--mute); }
.rn-pw table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.rn-pw th, .rn-pw td { padding: 7px 10px; border: 1px solid #e9e9e5; text-align: left; font-weight: 500; }
.rn-pw th { background: #f7f7f4; font-weight: 700; color: var(--mute); }
.rn-pw tr > :first-child { border-left: 0; }
.rn-pw tr > :last-child { border-right: 0; }
.rn-pw tr:last-child td { border-bottom: 0; }
.rn-pw__chat { display: grid; justify-items: start; gap: 7px; padding: 14px; }
.rn-pw__chat p { padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #f1f1ee; font-size: 12px; font-weight: 600; }
.rn-pw__chat em { justify-self: end; font-size: 10.5px; color: var(--faint); }

.rn-one { position: absolute; left: 50%; top: 50%; width: min(100%, 640px); border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.08), 0 60px 120px -40px rgba(10, 11, 13, 0.4), 0 24px 48px -24px rgba(10, 11, 13, 0.2); overflow: hidden; opacity: var(--o); transform: translate(-50%, -50%) scale(calc(0.9 + var(--o) * 0.1)); will-change: transform, opacity; }
.rn-one__bar { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.rn-one__bar b { font-family: var(--num); font-weight: 800; font-size: 15px; letter-spacing: 0.16em; }
.rn-one__bar span { font-size: 12px; font-weight: 600; color: var(--mute); }
.rn-one__body { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.rn-one__col { padding: 22px 24px 26px; }
.rn-one__col + .rn-one__col { border-left: 1px solid var(--line); }
.rn-one__col > small { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--mute); }
.rn-one__gov li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; font-weight: 600; }
.rn-one__gov li + li, .rn-one__people li + li { border-top: 1px solid var(--line); }
.rn-one__gov i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.18); }
.rn-one__gov b { font-size: 24px; font-weight: 600; line-height: 1; }
.rn-one__gov em { margin-left: 2px; font-size: 12px; font-weight: 500; color: var(--faint); }
.rn-one__people li { display: grid; grid-template-columns: 3.2em 1fr auto; align-items: center; gap: 10px; padding: 12px 0; font-size: 14px; font-weight: 600; }
.rn-one__people em { font-size: 12px; color: var(--mute); }
.rn-one__people b { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; }
.rn-one__people b.soon { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--faint); }

.rn-pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--ink); }
.rn-pains li { padding: 26px 32px 0 0; }
.rn-pains li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.rn-pains b { font-size: 12px; font-weight: 500; color: var(--faint); }
.rn-pains strong { display: block; margin-top: 14px; font-size: 19px; line-height: 1.6; }
.rn-pains p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--mute); }

/* ------------------------------------------------------------------ ダッシュボードの演出 */
/* 傾けて置くだけで読ませない。寸法は em で持ち、画面幅に合わせて文字の大きさごと縮める */
.rn-dash { --s: 0.5; position: relative; padding-top: clamp(40px, 6vw, 88px); background: var(--night); color: #fff; overflow: hidden; }
.rn-dash::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 58%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.rn-dash::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(0deg, var(--night), rgba(7, 8, 10, 0)); pointer-events: none; }
.rn-dash__cap { position: relative; z-index: 2; text-align: center; }
.rn-dash__cap small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

.rn-dash__stage { position: relative; height: clamp(440px, 60vw, 860px); margin-top: clamp(-40px, -2vw, 0px); perspective: 2400px; perspective-origin: 50% 30%; }
.rn-dash__plane { --rx: calc(52deg - var(--s) * 10deg); --rz: calc(-34deg + var(--s) * 8deg); position: absolute; left: 50%; top: 44%; width: 74em; font-size: clamp(6.4px, 1.02vw, 14px); transform-style: preserve-3d; transform: translate3d(-50%, calc(-50% + (0.5 - var(--s)) * 8em), 0) rotateX(var(--rx)) rotateZ(var(--rz)); }
.rn-dash__win { border-radius: 1.2em; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 12em -2em rgba(255, 255, 255, 0.22); }
.rn-dash__win .rn-win__bar { height: 2.6em; padding: 0 1em; gap: 0.45em; }
.rn-dash__win .rn-win__bar i { width: 0.7em; height: 0.7em; }
.rn-dash__win .rn-win__bar span { margin-right: 3em; font-size: 0.85em; }

.rn-dash__body { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); color: var(--ink); }
.rn-dash__nav { padding: 1.2em 0.8em; border-right: 1px solid var(--line); background: #fafaf8; }
.rn-dash__nav > b { display: block; padding: 0 0.8em 1em; font-family: var(--num); font-size: 1.05em; font-weight: 800; letter-spacing: 0.16em; }
.rn-dash__nav li { display: flex; align-items: center; gap: 0.7em; height: 2.6em; padding: 0 0.8em; border-radius: 0.6em; font-size: 0.9em; font-weight: 600; color: var(--mute); }
.rn-dash__nav li.is-on { background: var(--ink); color: #fff; }
.rn-dash__nav svg { width: 1.2em; height: 1.2em; }

.rn-dash__main { display: grid; gap: 1.1em; padding: 1.4em; background: #fff; }
.rn-dash__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1em; }
.rn-dash__stats li { padding: 0.9em 1.1em; border-radius: 0.8em; box-shadow: inset 0 0 0 1px var(--line); }
.rn-dash__stats small { display: block; font-size: 0.78em; color: var(--mute); white-space: nowrap; }
.rn-dash__stats b { display: block; margin-top: 0.1em; font-size: 2.1em; font-weight: 700; line-height: 1.2; }
.rn-dash__stats em { margin-left: 0.15em; font-size: 0.45em; font-weight: 600; color: var(--mute); }
.rn-dash__row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1.1em; }
.rn-dash__card { padding: 1em 1.2em; border-radius: 0.8em; box-shadow: inset 0 0 0 1px var(--line); }
.rn-dash__title { display: flex; align-items: baseline; gap: 0.8em; font-size: 0.92em; font-weight: 700; line-height: 1.4; }
.rn-dash__title span { font-size: 0.85em; font-weight: 500; color: var(--faint); }

/* アラート数のグラフ */
.rn-dash__legend { display: flex; flex-wrap: wrap; gap: 0.3em 1.2em; margin-top: 0.6em; font-size: 0.75em; color: var(--mute); }
.rn-dash__legend li { display: flex; align-items: center; gap: 0.5em; }
.rn-dash__legend svg { width: 1.6em; height: 0.4em; }
.rn-dash__plot { position: relative; height: 13em; margin-top: 0.8em; }
.rn-dash__plot svg { width: 100%; height: 100%; overflow: visible; }
.rn-dash__plot path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.rn-dash__grid { stroke: var(--line); stroke-width: 1; }
.rn-dash__lines path { stroke-width: 2.2; }
.rn-dash__pulse { stroke-width: 3.6; opacity: 0; }
.rn-dash__now { position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: var(--line); }
.rn-dash__now::after { content: ""; position: absolute; top: -0.3em; left: -0.3em; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--ink); }

/* 新着アラート（下へ押し出されていく受信一覧）。--h は em のまま継承されるので、窓・一覧・行の文字の大きさを揃えておく */
.rn-dash__feed { --h: 4.1em; display: flex; flex-direction: column; }
.rn-dash__live { display: inline-flex; align-items: center; gap: 0.5em; margin-left: auto; }
.rn-dash__live i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--ink); }
.rn-dash__window { position: relative; height: calc(var(--h) * 4.6); margin-top: 0.6em; font-size: 0.82em; overflow: hidden; -webkit-mask: linear-gradient(180deg, #000 78%, transparent); mask: linear-gradient(180deg, #000 78%, transparent); }
.rn-dash__window::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: var(--h); border-radius: 0.5em; background: rgba(10, 11, 13, 0.05); box-shadow: inset 2px 0 0 var(--ink); opacity: 0; pointer-events: none; }
.rn-dash__window li { display: grid; grid-template-columns: 0.6em minmax(0, 1fr); align-items: center; gap: 0.8em; height: var(--h); padding: 0 0.6em; border-bottom: 1px solid var(--line); line-height: 1.35; color: var(--ink-2); }
.rn-dash__window li > i { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--c); }
.rn-dash__window li p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-dash__window li b { margin-right: 0.6em; font-weight: 700; color: var(--ink); }
.rn-dash__window li small { display: block; font-size: 0.85em; color: var(--faint); }

/* リスクレベル推移の帯（色はダッシュボードと同じ） */
.rn-dash__strip table { width: 100%; margin-top: 0.6em; border-collapse: separate; border-spacing: 0.25em; table-layout: fixed; font-size: 0.78em; }
.rn-dash__strip th { width: 3.4em; text-align: left; font-weight: 600; color: var(--ink-2); }
.rn-dash__strip td { height: 2em; border-radius: 0.3em; text-align: center; font-weight: 600; line-height: 2em; }
.rn-dash__strip td.l1 { background: #f3f4f6; color: #374151; }
.rn-dash__strip td.l2 { background: #ffedd5; color: #9a3412; }
.rn-dash__strip td.l3 { background: #fdba74; color: #7c2d12; }
.rn-dash__strip td.l4 { background: #dc2626; color: #fff; }

/* 浮かび上がる通知 */
.rn-dash__float { position: absolute; display: flex; align-items: center; gap: 0.9em; padding: 1em 1.3em; border-radius: 1em; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.06), 0 2.4em 4em -1.6em rgba(0, 0, 0, 0.55); white-space: nowrap; }
.rn-dash__float small { display: block; font-size: 0.75em; color: var(--mute); }
.rn-dash__float--mail { top: 11%; left: 64%; font-size: 1.05em; font-weight: 700; transform: translateZ(7em); }
.rn-dash__float--mail > i { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--lv3); box-shadow: 0 0 0 0.35em rgba(255, 0, 0, 0.15); }
.rn-dash__float--mail p { line-height: 1.4; }
.rn-dash__float--stay { bottom: 30%; left: -6%; align-items: baseline; transform: translateZ(10em); }
.rn-dash__float--stay b { font-size: 2.2em; font-weight: 700; line-height: 1; }
.rn-dash__float--stay em { margin-left: 0.1em; font-size: 0.45em; color: var(--mute); }
.rn-dash__float--stay span { font-size: 0.85em; color: var(--mute); }

/* 動き。JSなし・動きを減らす設定では、上の完成形のまま止まる */
.rn-motion .rn-dash__lines { clip-path: inset(0 100% 0 0); }
.rn-motion .rn-dash__now { opacity: 0; }
.rn-motion .rn-dash__strip td { opacity: 0; transform: scale(0.6); }
.rn-motion .rn-dash__float { opacity: 0; }
.rn-motion .rn-dash.is-playing .rn-dash__lines { animation: rn-dash-draw 2.6s var(--ease-io) 0.3s forwards; }
.rn-motion .rn-dash.is-playing .rn-dash__pulse { animation: rn-dash-pulse 3.6s cubic-bezier(0.45, 0, 0.55, 1) calc(2.6s + var(--n) * 0.45s) infinite both; }
.rn-motion .rn-dash.is-playing .rn-dash__now { opacity: 1; transition: opacity 0.6s ease 2.6s; }
.rn-motion .rn-dash.is-playing .rn-dash__now::after { animation: rn-dash-beat 2s ease-out 2.9s infinite; }
.rn-motion .rn-dash.is-playing .rn-dash__live i { animation: rn-dash-beat 2s ease-out infinite; }
.rn-motion .rn-dash.is-playing .rn-dash__window ul { animation: rn-dash-feed 15s var(--ease-io) 1s infinite both; }
.rn-motion .rn-dash.is-playing .rn-dash__window::before { animation: rn-dash-flash 2.5s ease-out 3.5s infinite; }
.rn-motion .rn-dash.is-playing .rn-dash__strip td { opacity: 1; transform: none; transition: opacity 0.35s ease, transform 0.5s var(--ease); transition-delay: calc(0.8s + var(--n) * 70ms); }
.rn-motion .rn-dash.is-playing .rn-dash__float--mail { animation: rn-dash-rise 1s var(--ease) 2.2s both, rn-dash-bob 6s ease-in-out 3.2s infinite; }
.rn-motion .rn-dash.is-playing .rn-dash__float--stay { animation: rn-dash-rise 1s var(--ease) 2.8s both, rn-dash-bob 7s ease-in-out 3.8s infinite reverse; }

@keyframes rn-dash-draw { to { clip-path: inset(0 0 0 0); } }
/* pathLength=1 の線の上を、短い光の線が左端から右端へ進む */
@keyframes rn-dash-pulse {
  0% { opacity: 1; stroke-dasharray: 0.06 1.2; stroke-dashoffset: 0.06; }
  100% { opacity: 1; stroke-dasharray: 0.06 1.2; stroke-dashoffset: -1; }
}
@keyframes rn-dash-beat { 0% { box-shadow: 0 0 0 0 rgba(10, 11, 13, 0.35); } 100% { box-shadow: 0 0 0 0.9em rgba(10, 11, 13, 0); } }
/* 2.5秒ごとに1件ずつ下へ押し出す。2周分並べてあるので 0 と -6件分 は同じ見た目になり、継ぎ目なく繰り返せる */
@keyframes rn-dash-feed {
  0%, 13.3% { transform: translateY(calc(var(--h) * -6)); }
  16.67%, 30% { transform: translateY(calc(var(--h) * -5)); }
  33.33%, 46.67% { transform: translateY(calc(var(--h) * -4)); }
  50%, 63.33% { transform: translateY(calc(var(--h) * -3)); }
  66.67%, 80% { transform: translateY(calc(var(--h) * -2)); }
  83.33%, 96.67% { transform: translateY(calc(var(--h) * -1)); }
  100% { transform: translateY(0); }
}
/* 押し出しが終わった瞬間に、先頭に来た1件を光らせる */
@keyframes rn-dash-flash { 0% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes rn-dash-rise { from { opacity: 0; translate: 0 0 -6em; } to { opacity: 1; translate: 0 0 0; } }
@keyframes rn-dash-bob { 0%, 100% { translate: 0 0 0; } 50% { translate: 0 0 2.4em; } }

@media (max-width: 899px) {
  .rn-dash__stage { height: 92vw; max-height: 560px; margin-top: 0; }
  .rn-dash__plane { font-size: 1.32vw; --rx: calc(48deg - var(--s) * 8deg); --rz: calc(-30deg + var(--s) * 6deg); }
}

/* ------------------------------------------------------------------ ある朝 */
.rn-tour { position: relative; background: var(--night); color: #fff; }
.rn-tour::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.05; mix-blend-mode: screen; pointer-events: none; }
.rn-tour__head { position: relative; padding-top: clamp(96px, 12vw, 176px); }
.rn-tour__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

.rn-beats { position: relative; }
.rn-beat time { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); }
.rn-beat time::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: 0.5; }
.rn-beat h3 { margin-top: 20px; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.46; font-weight: 700; }
.rn-beat h3.rn-serif { font-weight: 600; font-size: clamp(25px, 2.9vw, 41px); letter-spacing: 0.01em; }
.rn-beat p { margin-top: 20px; max-width: 27em; font-size: 15px; line-height: 2; color: var(--night-mute); }
.rn-beats .rn-note { margin-top: 18px; color: rgba(255, 255, 255, 0.34); }
.rn-rail { display: none; }

.rn-stage { position: relative; }
.rn-stage__glow { position: absolute; inset: -12% -8%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.rn-layer { position: relative; }

/* 静止表示（JSなし／動きを減らす設定）：本文を並べ、その下に各画面を順に置く */
.rn-tour__track { padding: 56px 0 0; }
.rn-tour__grid { grid-template-columns: 1fr; }
.rn-beats ol { display: grid; gap: 48px; max-width: 720px; }
.rn-stage { display: grid; gap: 24px; max-width: 860px; margin-top: 24px; }
.rn-cursor { display: none; }

/* 動きあり：場面を画面に固定し、スクロール量で進める */
.rn-motion .rn-tour__track { height: calc(5 * 115vh + 100vh); padding: 0; }
.rn-motion .rn-tour__pin { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; padding-top: var(--header); overflow: hidden; }
.rn-motion .rn-tour__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.rn-motion .rn-beats ol { position: relative; display: block; max-width: none; height: clamp(300px, 44vh, 400px); }
.rn-motion .rn-beat { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; transform: translate3d(0, calc(-50% + 36px), 0); transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.rn-motion .rn-beat.is-past { transform: translate3d(0, calc(-50% - 36px), 0); }
.rn-motion .rn-beat.is-active { opacity: 1; transform: translate3d(0, -50%, 0); transition-delay: 0.12s; pointer-events: auto; }
.rn-motion .rn-rail { display: flex; gap: 6px; margin-top: 28px; }
.rn-rail button { position: relative; padding: 12px 0 0; width: 62px; text-align: left; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.36); transition: color 0.4s; }
.rn-rail button::before, .rn-rail button i { content: ""; position: absolute; left: 0; right: 6px; top: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.rn-rail button i { background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }
.rn-rail button.is-active, .rn-rail button.is-past { color: #fff; }
.rn-motion .rn-stage { display: block; max-width: none; margin: 0; height: min(600px, 68vh); }
.rn-motion .rn-layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translate3d(0, 34px, 0) scale(0.965); transition: opacity 0.5s var(--ease), transform 0.9s var(--ease), visibility 0s 0.5s; }
.rn-motion .rn-layer.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0.1s, 0.1s, 0s; }

/* 画面内の部品が順に現れる（data-on="場面:進み具合"） */
.rn-motion [data-on] { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity 0.55s var(--ease), transform 0.8s var(--ease); }
.rn-motion [data-on].on { opacity: 1; transform: none; }

/* --- 場面0：3政府の発表 */
.rn-feed { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.rn-feed__lanes { display: grid; gap: 10px; }
.rn-lane { border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)); box-shadow: inset 0 0 0 1px var(--night-line), inset 0 1px 0 rgba(255, 255, 255, 0.08); overflow: hidden; }
.rn-lane header { display: flex; align-items: center; gap: 10px; padding: 12px 18px 10px; font-size: 13px; }
.rn-lane header i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.rn-lane header small { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.rn-lane li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 18px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.62); }
.rn-lane li time { font-size: 11.5px; color: rgba(255, 255, 255, 0.42); }
.rn-lane li p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-lane li b { margin-right: 10px; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.rn-lane li.rn-lane__new { color: #fff; background: linear-gradient(90deg, rgba(255, 0, 0, 0.18), rgba(255, 0, 0, 0) 70%); box-shadow: inset 2px 0 0 var(--lv3); }
.rn-lane li.rn-lane__new time, .rn-lane li.rn-lane__new b { color: #fff; }
.rn-shift { display: inline-flex; align-items: center; gap: 6px; }
.rn-shift svg { width: 16px; height: 10px; color: rgba(255, 255, 255, 0.7); }
.rn-motion .rn-lane__new[data-on] { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; transform: none; transition: max-height 0.7s var(--ease), padding 0.7s var(--ease), opacity 0.6s ease 0.15s; }
.rn-motion .rn-lane__new[data-on].on { max-height: 60px; padding-top: 11px; padding-bottom: 11px; opacity: 1; }
.rn-fetch { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--night-line); }
.rn-fetch__ring { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#fff calc(var(--t, 1) * 360deg), rgba(255, 255, 255, 0.14) 0); -webkit-mask: radial-gradient(circle, transparent 10.5px, #000 11px); mask: radial-gradient(circle, transparent 10.5px, #000 11px); }
.rn-fetch p { line-height: 1.3; }
.rn-fetch small { display: block; font-size: 10.5px; color: rgba(255, 255, 255, 0.5); }
.rn-fetch b { font-size: 18px; font-weight: 600; }
.rn-fetch__bar { height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.rn-fetch__bar i { display: block; height: 100%; background: #fff; transform: scaleX(var(--t, 1)); transform-origin: left; }
.rn-fetch__done { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.rn-fetch__done svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: #fff; color: var(--ink); }

/* --- 窓の枠 */
.rn-win { display: flex; flex-direction: column; border-radius: 14px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 140px -30px rgba(255, 255, 255, 0.16); }
.rn-win__bar { flex: none; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; background: #f1f1ee; border-bottom: 1px solid rgba(10, 11, 13, 0.07); }
.rn-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d1d1cc; }
.rn-win__bar span { flex: 1; margin-right: 42px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--mute); }

/* --- 場面1：受信トレイ */
.rn-mailapp__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.rn-mailapp__list { border-right: 1px solid var(--line); background: #fafaf8; }
.rn-mailapp__list li { display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.55; color: var(--mute); }
.rn-mailapp__list li > i { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; }
.rn-mailapp__list b { display: block; font-weight: 600; color: var(--ink-2); }
.rn-mailapp__list span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-mailapp__list time { font-size: 10.5px; color: var(--faint); }
.rn-mailapp__list li.is-new { background: #fff; color: var(--ink); box-shadow: inset 2px 0 0 var(--ink); }
.rn-mailapp__list li.is-new > i { background: var(--ink); }
.rn-mailapp__list li.is-new b, .rn-mailapp__list li.is-new span { font-weight: 700; color: var(--ink); }
.rn-motion .rn-mailapp__list li.is-new[data-on] { transform: translate3d(0, -100%, 0); }
.rn-motion .rn-mailapp__list li.is-new[data-on].on { transform: none; }
.rn-letter { align-self: center; margin: clamp(14px, 2.4vw, 30px); padding: 0 0 18px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(10, 11, 13, 0.25); overflow: hidden; font-size: 12.5px; line-height: 1.7; }
.rn-letter header { display: flex; align-items: baseline; gap: 12px; padding: 14px 20px; background: var(--ink); color: #fff; }
.rn-letter header b { font-family: var(--num); font-size: 15px; font-weight: 800; letter-spacing: 0.14em; }
.rn-letter header span { font-size: 11px; opacity: 0.75; }
.rn-letter__to { padding: 16px 20px 0; font-size: 11.5px; color: var(--mute); }
.rn-letter__alert { margin: 12px 20px 0; padding: 12px 14px; border-radius: 8px; background: var(--paper-2); box-shadow: inset 3px 0 0 var(--ink); }
.rn-letter__alert small { display: block; font-size: 11px; color: var(--mute); }
.rn-letter__alert strong { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.6; }
.rn-letter__btn { display: inline-flex; align-items: center; height: 36px; margin: 16px 20px 0; padding: 0 16px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; transition: transform 0.2s; }
.rn-letter__foot { margin: 14px 20px 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--mute); }

/* --- 場面2〜4：RIVERの画面 */
.rn-app__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 158px minmax(0, 1fr); }
.rn-app__nav { padding: 16px 10px; border-right: 1px solid var(--line); background: #fafaf8; }
.rn-app__nav > b { display: block; padding: 0 10px 14px; font-family: var(--num); font-weight: 800; font-size: 14px; letter-spacing: 0.16em; }
.rn-app__nav li { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--mute); transition: background-color 0.4s, color 0.4s; }
.rn-app__nav svg { width: 16px; height: 16px; }
.rn-stage[data-beat="2"] [data-nav="2"], .rn-stage[data-beat="3"] [data-nav="3"], .rn-stage[data-beat="4"] [data-nav="4"] { background: var(--ink); color: #fff; }
.rn-app__views { position: relative; min-width: 0; }
.rn-view { display: flex; flex-direction: column; gap: 12px; padding: clamp(14px, 1.8vw, 22px); }
.rn-view + .rn-view { border-top: 1px solid var(--line); }
.rn-motion .rn-view { position: absolute; inset: 0; border: 0; opacity: 0; visibility: hidden; transform: translate3d(0, 18px, 0); transition: opacity 0.45s var(--ease), transform 0.7s var(--ease), visibility 0s 0.45s; }
.rn-motion .rn-view.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0.12s, 0.12s, 0s; }
.rn-view__head { display: flex; align-items: baseline; gap: 12px; }
.rn-view__head h4 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.rn-view__head > span:not(.rn-sw) { font-size: 11.5px; color: var(--mute); }
.rn-view__cols { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 12px; }
.rn-view__cols--map { grid-template-columns: 1fr; grid-template-rows: minmax(90px, 0.8fr) auto; }
.rn-ui-card { min-width: 0; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.rn-ui-card__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; line-height: 1.4; }

.rn-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rn-levels li { position: relative; padding: 12px 14px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.rn-levels small { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--mute); }
.rn-levels small i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.rn-levels b { display: flex; align-items: baseline; margin-top: 4px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.15; }
.rn-levels em { margin-left: 3px; font-size: 0.38em; font-weight: 500; color: var(--faint); }
.rn-levels__tag { position: absolute; right: 10px; bottom: 12px; padding: 4px 7px; border-radius: 4px; background: var(--lv3); color: #fff; font-size: 10px; font-weight: 700; line-height: 1.2; }
.rn-levels li.is-changed { transition: box-shadow 0.6s, background-color 0.6s, opacity 0.55s var(--ease), transform 0.8s var(--ease); }
.rn-stage[data-beat="2"] .rn-levels li.is-changed:has(.rn-flip.on), .rn-static .rn-levels li.is-changed { box-shadow: inset 0 0 0 1.5px var(--lv3); background: rgba(255, 0, 0, 0.035); }
/* 数字が下から差し替わる */
.rn-flip { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.rn-flip > span { grid-area: 1 / 1; transition: transform 0.7s var(--ease); }
.rn-flip > span:first-child { transform: translate3d(0, -110%, 0); }
.rn-motion .rn-flip[data-on] { opacity: 1; transform: none; }
.rn-motion .rn-flip:not(.on) > span:first-child { transform: none; }
.rn-motion .rn-flip:not(.on) > span:last-child { transform: translate3d(0, 110%, 0); }

/* レベル推移の帯。行は政府、列は月。色は危険度だけ（ダッシュボードの risk_level_strip と同じ配色） */
.rn-strip { display: flex; flex-direction: column; }
.rn-strip table { width: 100%; margin-top: 10px; border-collapse: separate; border-spacing: 2px; table-layout: fixed; font-size: 10.5px; }
.rn-strip th { font-weight: 500; color: var(--faint); text-align: center; line-height: 1.6; }
.rn-strip tbody th, .rn-strip thead th:first-child { width: 2.9em; text-align: left; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.rn-strip td { height: 22px; border-radius: 3px; text-align: center; font-weight: 600; line-height: 22px; }
.rn-strip td.l1 { background: #f3f4f6; color: #374151; }
.rn-strip td.l2 { background: #ffedd5; color: #9a3412; }
.rn-strip td.l3 { background: #fdba74; color: #7c2d12; }
.rn-strip td.l4 { background: #dc2626; color: #fff; }
.rn-strip td.none { background: repeating-linear-gradient(135deg, #fff, #fff 3px, #f0f0ee 3px, #f0f0ee 6px); }
.rn-strip tbody tr:first-child td:last-child { box-shadow: 0 0 0 2px var(--lv3); }
.rn-strip__note { margin-top: auto; padding-top: 8px; font-size: 10px; color: var(--faint); }
.rn-motion .rn-strip td { opacity: 0; transform: scale(0.6); transition: opacity 0.35s ease, transform 0.5s var(--ease); transition-delay: calc(0.3s + var(--n) * 55ms); }
.rn-motion .rn-strip.on td { opacity: 1; transform: none; }
.rn-brief { display: flex; flex-direction: column; gap: 9px; }
.rn-brief hr { height: 6px; border-radius: 3px; background: #ececE8; }
.rn-brief hr.m { width: 82%; }
.rn-brief hr.s { width: 56%; }
.rn-brief__src { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 11.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rn-brief__src svg { width: 11px; height: 11px; }

.rn-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rn-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rn-stats li { padding: 11px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.rn-stats small { display: block; font-size: 11px; font-weight: 600; color: var(--mute); white-space: nowrap; }
.rn-stats b { display: flex; align-items: baseline; margin-top: 2px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.25; }
.rn-stats em { margin-left: 4px; font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--mute); white-space: nowrap; }
.rn-sw { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; font-weight: 600; }
.rn-sw i { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(currentColor calc(var(--sw, 1) * 360deg), rgba(127, 127, 127, 0.25) 0); -webkit-mask: radial-gradient(circle, transparent 5px, #000 5.5px); mask: radial-gradient(circle, transparent 5px, #000 5.5px); }
.rn-sw b { font-weight: 600; }

.rn-minimap { position: relative; min-height: 120px; border-radius: 12px; background: #1c1d21; overflow: hidden; color: rgba(255, 255, 255, 0.26); }
.rn-minimap canvas { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(-46%); }
.rn-minimap > i { position: absolute; width: 0; height: 0; }
.rn-minimap > i::before, .rn-minimap > i::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.rn-minimap > i::before { width: 8px; height: 8px; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22); }
.rn-minimap > i::after { width: 30px; height: 30px; border: 1px solid #fff; opacity: 0; }
.rn-motion .rn-minimap > i::after { animation: rn-ping 3.2s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 0.5s); }
@keyframes rn-ping { 0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.2); } 70%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }

.rn-table { display: flex; flex-direction: column; padding: 12px 0 4px; }
.rn-table .rn-ui-card__title { padding: 0 14px 10px; border-bottom: 1px solid var(--line); }
.rn-filter { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; font-weight: 600; transition: box-shadow 0.3s, background-color 0.3s, transform 0.2s; }
.rn-filter em { color: var(--mute); }
.rn-filter > span { display: inline-grid; overflow: hidden; }
.rn-filter > span b { grid-area: 1 / 1; font-weight: 700; transition: transform 0.5s var(--ease); }
.rn-filter > span b:first-child { transform: translate3d(0, -120%, 0); }
.rn-filter svg { width: 9px; height: 6px; color: var(--mute); }
.rn-filter { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rn-motion .rn-filter[data-on] { opacity: 1; transform: none; }
.rn-motion .rn-filter:not(.on) { box-shadow: inset 0 0 0 1px var(--line); }
.rn-motion .rn-filter:not(.on) > span b:first-child { transform: none; }
.rn-motion .rn-filter:not(.on) > span b:last-child { transform: translate3d(0, 120%, 0); }
.rn-rows li { display: grid; grid-template-columns: auto 3.4em 2.6em 1fr; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; overflow: hidden; transition: height 0.6s var(--ease), opacity 0.4s, border-color 0.4s; }
.rn-rows li:last-child { border-bottom: 0; }
.rn-rows em { color: var(--mute); }
.rn-rows time { justify-self: end; font-size: 11.5px; font-weight: 500; color: var(--mute); white-space: nowrap; }
.rn-rows li.x { height: 0; opacity: 0; border-color: transparent; }
.rn-motion .rn-rows[data-on] { opacity: 1; transform: none; }
.rn-motion .rn-rows:not(.on) li.x { height: 40px; opacity: 1; border-color: var(--line); }
.rn-state { justify-self: start; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.rn-state--soon { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--faint); }

.rn-alerts { padding: 0; }
.rn-alerts li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.rn-alerts li:last-child { border-bottom: 0; }
.rn-alerts time { font-size: 11.5px; font-weight: 500; color: var(--mute); }
.rn-alerts p { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-alerts small { display: block; font-size: 10.5px; font-weight: 500; color: var(--mute); }
.rn-alerts li.is-hot { background: rgba(255, 0, 0, 0.035); box-shadow: inset 3px 0 0 var(--lv3); }
.rn-new { display: inline-block; margin-left: 8px; padding: 1px 5px; border-radius: 3px; background: var(--lv3); color: #fff; font-family: var(--num); font-size: 9px; font-weight: 700; letter-spacing: 0.04em; vertical-align: 1px; }
.rn-ask { display: inline-grid; overflow: hidden; height: 32px; border-radius: 7px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--faint); font-size: 11.5px; font-weight: 700; white-space: nowrap; transition: background-color 0.4s, color 0.4s, transform 0.2s; }
.rn-ask > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; transition: transform 0.5s var(--ease); }
.rn-ask > span:first-child { transform: translate3d(0, -110%, 0); }
.rn-ask svg { width: 12px; height: 12px; }
.rn-motion .rn-ask[data-on] { opacity: 1; transform: none; }
.rn-motion .rn-ask:not(.on) { background: var(--ink); color: #fff; box-shadow: none; }
.rn-motion .rn-ask:not(.on) > span:first-child { transform: none; }
.rn-motion .rn-ask:not(.on) > span:last-child { transform: translate3d(0, 110%, 0); }
.rn-toast { align-self: center; display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; box-shadow: 0 16px 30px -14px rgba(10, 11, 13, 0.6); }
.rn-toast svg { flex: none; width: 18px; height: 18px; padding: 3.5px; border-radius: 50%; background: #fff; color: var(--ink); }
.rn-comment { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 12.5px; font-weight: 600; line-height: 1.6; }
.rn-comment small { display: block; font-size: 11px; font-weight: 500; color: var(--mute); }
.rn-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); font-size: 11px; font-weight: 700; color: var(--ink-2); }
.rn-pressed { transform: scale(0.95) !important; }

/* 画面の上を動く矢印と、押したときの輪 */
.rn-motion .rn-cursor { display: block; position: absolute; z-index: 9; left: 0; top: 0; width: 24px; height: 24px; opacity: 0; transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0); transition: transform 0.95s var(--ease-io), opacity 0.4s; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35)); pointer-events: none; }
.rn-motion .rn-cursor.is-on { opacity: 1; }
.rn-click { position: absolute; z-index: 8; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1.5px solid var(--ink); pointer-events: none; animation: rn-click 0.7s var(--ease) forwards; }
@keyframes rn-click { from { opacity: 0.7; transform: scale(0.2); } to { opacity: 0; transform: scale(1.2); } }

.rn-tour__outro { position: relative; padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(96px, 12vw, 176px); text-align: center; }
.rn-tour__outro p { font-size: clamp(26px, 4vw, 54px); line-height: 1.5; font-weight: 600; letter-spacing: 0.02em; }
.rn-tour__outro small { display: block; margin-top: 24px; font-size: 14px; color: var(--night-mute); }

/* ------------------------------------------------------------------ 仕組み */
.rn-flow { position: relative; margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 0.95fr); gap: clamp(56px, 9vw, 140px); align-items: center; }
.rn-flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rn-flow__col { position: relative; z-index: 1; display: grid; gap: 14px; }
.rn-flow__col--src { gap: 36px; }
.rn-flow__group { display: grid; gap: 12px; }
.rn-flow__caption { display: flex; align-items: baseline; gap: 12px; font-size: 12px; color: var(--mute); }
.rn-flow__caption b { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); }
.rn-node { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -22px rgba(10, 11, 13, 0.3); font-size: 15px; font-weight: 700; line-height: 1.45; }
.rn-node small { display: block; font-size: 11.5px; font-weight: 500; color: var(--mute); }
.rn-node i { width: 11px; height: 11px; border-radius: 50%; background: var(--c, var(--ink)); box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.2); }
.rn-node--in i { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.rn-node.is-hit { animation: rn-hit 1s var(--ease); }
@keyframes rn-hit { 0% { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 0 rgba(10, 11, 13, 0.22); } 100% { box-shadow: 0 0 0 1px var(--line), 0 0 0 12px rgba(10, 11, 13, 0); } }
.rn-tag { padding: 3px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--faint); font-size: 10.5px; font-weight: 600; line-height: 1.4; color: var(--ink-2); white-space: nowrap; }
/* 核：外の情報と社員の所在を突き合わせる */
.rn-core { position: relative; z-index: 1; display: grid; justify-items: center; gap: 20px; min-width: 216px; padding: 40px 34px 34px; border-radius: 32px; background: var(--ink); color: #fff; text-align: center; box-shadow: 0 40px 80px -36px rgba(10, 11, 13, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.rn-core::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--grain); opacity: 0.08; mix-blend-mode: screen; }
.rn-core > b { font-family: var(--num); font-size: 30px; font-weight: 800; letter-spacing: 0.18em; line-height: 1; margin-right: -0.18em; }
.rn-core__x { display: grid; justify-items: center; gap: 10px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.rn-core__x span { padding: 7px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34); white-space: nowrap; }
.rn-core__x span:last-child { background: #fff; color: var(--ink); box-shadow: none; }
.rn-core__x i { position: relative; width: 14px; height: 14px; }
.rn-core__x i::before, .rn-core__x i::after { content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: 100%; margin-left: -0.75px; background: #fff; transform: rotate(45deg); }
.rn-core__x i::after { transform: rotate(-45deg); }
.rn-core > small { font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; margin-right: -0.24em; color: rgba(255, 255, 255, 0.62); }
.rn-core.is-hit { animation: rn-corehit 0.9s var(--ease); }
.rn-core.is-hit .rn-core__x i { animation: rn-cross 0.9s var(--ease); }
@keyframes rn-corehit { 30% { transform: scale(1.03); } }
@keyframes rn-cross { to { transform: rotate(180deg); } }

.rn-steps { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 48px 20px; }
.rn-steps > li { grid-column: span 2; }
.rn-steps > li.rn-step--wide { grid-column: span 3; }
.rn-steps > li > b { display: block; margin-top: 22px; font-size: 12px; font-weight: 500; color: var(--faint); }
.rn-steps h3 { margin-top: 6px; font-size: 22px; font-weight: 700; }
.rn-steps > li > p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--mute); }
.rn-step__fig { position: relative; display: grid; place-items: center; height: 148px; border-radius: 20px; background: var(--paper-2); overflow: hidden; }
/* 01 毎時の時計 */
.rn-step__fig--clock { grid-auto-flow: column; justify-content: center; gap: 20px; }
.rn-step__fig--clock svg { width: 86px; height: 86px; }
.rn-clock__hand { transform-box: view-box; transform-origin: 60px 60px; }
.rn-motion .rn-clock__hand { animation: rn-spin 8s linear infinite; }
@keyframes rn-spin { to { transform: rotate(360deg); } }
.rn-step__fig--clock p { display: grid; gap: 2px; line-height: 1.4; }
.rn-step__fig--clock b { font-size: 20px; letter-spacing: 0.08em; }
.rn-step__fig--clock span { font-size: 11.5px; font-weight: 600; color: var(--mute); }
/* 02 評価をそろえる */
.rn-step__fig--norm { align-content: center; gap: 10px; padding: 0 16px; }
.rn-step__fig--norm p { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; width: 100%; padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 11px; font-weight: 600; line-height: 1.4; color: var(--ink-2); position: relative; }
.rn-step__fig--norm p::after { content: ""; position: absolute; right: 50px; top: 50%; width: 12px; height: 1px; background: var(--ink); box-shadow: 0 0 0 0 transparent; }
.rn-step__fig--norm b { font-size: 18px; font-weight: 600; line-height: 1; }
.rn-step__fig--norm em { font-size: 10px; font-weight: 500; color: var(--faint); margin-left: 1px; }
/* 03 地図に重ねる */
.rn-step__fig--layer { perspective: 600px; }
.rn-step__fig--layer i { position: absolute; left: 50%; top: 50%; width: 132px; height: 84px; margin: -42px 0 0 -66px; border-radius: 10px; transform: rotateX(58deg) rotateZ(-34deg) translateZ(var(--z)); box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.14); }
.rn-step__fig--layer i:nth-child(1) { --z: -22px; background: radial-gradient(circle, rgba(10, 11, 13, 0.4) 1.2px, transparent 1.6px) 0 0 / 9px 9px, #fff; }
.rn-step__fig--layer i:nth-child(2) { --z: 4px; background: radial-gradient(ellipse 15% 20% at 70% 36%, var(--lv3) 0 96%, transparent 100%), radial-gradient(ellipse 30% 38% at 66% 40%, var(--lv2) 0 96%, transparent 100%), radial-gradient(ellipse 22% 24% at 30% 66%, var(--lv1) 0 96%, transparent 100%), rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.14); }
.rn-step__fig--layer i:nth-child(3) { --z: 30px; background: radial-gradient(circle at 68% 38%, var(--ink) 0 4px, #fff 4.5px 7px, transparent 7.5px), radial-gradient(circle at 34% 62%, var(--ink) 0 4px, #fff 4.5px 7px, transparent 7.5px), rgba(255, 255, 255, 0.3); box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.22); }
.rn-motion .rn-step__fig--layer i { animation: rn-float 5s ease-in-out infinite; animation-delay: calc(var(--z) * -0.03s); }
@keyframes rn-float { 50% { transform: rotateX(58deg) rotateZ(-34deg) translateZ(calc(var(--z) * 1.35)); } }
/* 03 社員の所在をつかむ手段 */
.rn-step__fig--means { align-content: center; gap: 7px; padding: 0 16px; }
.rn-step__fig--means p { display: grid; grid-template-columns: 3.4em 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 7px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 11.5px; line-height: 1.4; color: var(--mute); }
.rn-step__fig--means b { font-size: 12px; color: var(--ink); }
/* 04 突き合わせる：アラートの国と、そこにいる人 */
.rn-step--wide .rn-step__fig { height: 176px; }
.rn-step__fig--match { grid-template-columns: auto minmax(36px, 1fr) auto; align-items: center; padding: 0 clamp(16px, 3vw, 44px); }
.rn-match__alert { display: grid; justify-items: start; gap: 5px; padding: 14px 18px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 20px 36px -20px rgba(10, 11, 13, 0.7); }
.rn-match__alert small { font-size: 10.5px; color: rgba(255, 255, 255, 0.6); }
.rn-match__alert b { font-size: 22px; line-height: 1.2; }
.rn-step__fig--match svg { width: 100%; height: 118px; overflow: visible; }
.rn-step__fig--match path { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rn-match__people { display: grid; gap: 7px; }
.rn-match__people li { display: grid; grid-template-columns: 2.8em auto; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.rn-match__people b { font-size: 12.5px; color: var(--ink); }
.rn-match__people li.hit { box-shadow: 0 0 0 1.5px var(--ink); color: var(--ink-2); }
.rn-match__people li:not(.hit) { opacity: 0.45; }
.rn-motion .rn-step__fig--match svg { clip-path: inset(-4px 100% -4px 0); transition: clip-path 1s var(--ease) 0.5s; }
.rn-motion .is-in .rn-step__fig--match svg { clip-path: inset(-4px 0 -4px 0); }
.rn-motion .rn-match__people li.hit { box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.5s ease 1.3s; }
.rn-motion .is-in .rn-match__people li.hit { box-shadow: 0 0 0 1.5px var(--ink); }
/* 05 届ける */
.rn-step__fig--send { align-content: center; gap: 7px; padding: 0 16px; }
.rn-step__fig--send p { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; width: 100%; padding: 7px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 11.5px; line-height: 1.4; color: var(--mute); }
.rn-step__fig--send { padding: 0 clamp(16px, 3vw, 44px); }
.rn-step__fig--send p { grid-template-columns: 7.4em 1fr; padding: 9px 12px; font-size: 12px; }
.rn-step__fig--send b { padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; text-align: center; }

/* ------------------------------------------------------------------ 導入の効果 */
.rn-values { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rn-value { position: relative; display: flex; flex-direction: column; padding: 34px 34px 38px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.05), 0 30px 60px -40px rgba(10, 11, 13, 0.25); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), opacity 1.1s var(--ease); }
.rn-value:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.05), 0 50px 80px -44px rgba(10, 11, 13, 0.4); }
.rn-value__no { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--faint); }
.rn-value__ask { margin-top: 22px; font-size: clamp(22px, 2.1vw, 29px); font-weight: 600; line-height: 1.6; letter-spacing: 0.01em; text-indent: -0.5em; padding-left: 0.5em; min-height: 3.2em; }
.rn-value__answer { margin-top: 44px; }
.rn-value__answer::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 22px; background: var(--ink); }
.rn-value h3 { font-size: 19px; font-weight: 700; line-height: 1.5; }
.rn-value__answer p { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--mute); }

.rn-duty { position: relative; margin-top: 20px; display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 64px); padding: clamp(32px, 4vw, 56px); border-radius: 28px; background: var(--night); color: #fff; overflow: hidden; }
.rn-duty::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.06; mix-blend-mode: screen; pointer-events: none; }
.rn-duty figcaption { grid-row: span 2; }
.rn-duty figcaption b { display: block; font-size: 15px; letter-spacing: 0.14em; }
.rn-duty figcaption span { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.rn-duty blockquote { font-size: clamp(18px, 1.9vw, 26px); font-weight: 500; line-height: 1.9; letter-spacing: 0.02em; }
.rn-duty p { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* ------------------------------------------------------------------ たびレジ */
.rn-gap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.rn-waffle__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 0.9vw, 11px); max-width: 420px; }
.rn-waffle__grid i { aspect-ratio: 1; border-radius: 50%; background: var(--line); }
.rn-waffle__grid i.want { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.rn-waffle__grid i.use { background: var(--ink); }
.rn-motion .rn-waffle__grid i { opacity: 0; transform: scale(0.4); transition: opacity 0.5s ease, transform 0.7s var(--ease); transition-delay: calc(0.2s + var(--n) * 12ms); }
.rn-motion .is-in .rn-waffle__grid i { opacity: 1; transform: none; }
.rn-waffle__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; max-width: 460px; }
.rn-waffle__legend dt { display: flex; align-items: baseline; gap: 4px; font-size: clamp(44px, 5vw, 68px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.rn-waffle__legend dt small { font-size: 0.36em; font-weight: 600; }
.rn-waffle__legend dd { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.rn-waffle__legend dd i { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; }
.rn-waffle__legend dd i.want { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rn-waffle__legend dd i.use { background: var(--ink); }
.rn-source { margin-top: 20px; font-size: 11.5px; line-height: 1.7; color: var(--faint); }

.rn-relay { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 0.5fr) minmax(0, 1fr); align-items: center; margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3.4vw, 48px); border-radius: 28px; background: var(--night); color: #fff; overflow: hidden; }
.rn-relay::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.06; mix-blend-mode: screen; pointer-events: none; }
.rn-relay__form, .rn-relay__mofa { position: relative; display: grid; gap: 10px; padding: 20px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); box-shadow: inset 0 0 0 1px var(--night-line), inset 0 1px 0 rgba(255, 255, 255, 0.08); font-size: 13px; }
.rn-relay small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.5); }
.rn-relay__form > p:not(.rn-consent) { display: grid; grid-template-columns: 5.5em 1fr; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
.rn-relay__form > p:not(.rn-consent) > span { font-size: 11.5px; color: rgba(255, 255, 255, 0.5); }
.rn-consent { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); font-size: 14px; font-weight: 700; line-height: 1.5; }
.rn-consent small { margin-top: 2px; font-weight: 500; letter-spacing: 0; }
.rn-consent i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: #fff; color: var(--ink); }
.rn-consent i svg { width: 13px; height: 13px; }
.rn-motion .rn-consent i { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); transition: background-color 0.3s 0.7s, box-shadow 0.3s 0.7s; }
.rn-motion .rn-consent i svg { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 0.4s ease 0.85s; }
.rn-motion .is-playing .rn-consent i { background: #fff; box-shadow: none; }
.rn-motion .is-playing .rn-consent i svg { stroke-dashoffset: 0; }
.rn-relay__wire { position: relative; height: 1px; margin: 0 14px; background: rgba(255, 255, 255, 0.22); }
.rn-relay__wire span { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
.rn-relay__wire i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.6); opacity: 0; }
.rn-motion .is-playing .rn-relay__wire i { animation: rn-wire 1.8s var(--ease-io) 1.3s infinite; }
@keyframes rn-wire { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.rn-relay__mofa li { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); font-weight: 600; }
.rn-relay__mofa li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 10px; border-radius: 50%; background: #fff; }
.rn-motion .rn-relay__mofa li { opacity: 0.25; transition: opacity 0.6s ease; }
.rn-motion .is-playing .rn-relay__mofa li { opacity: 1; transition-delay: 2.2s; }
.rn-motion .is-playing .rn-relay__mofa li:nth-child(2) { transition-delay: 2.4s; }
.rn-motion .is-playing .rn-relay__mofa li:nth-child(3) { transition-delay: 2.6s; }

/* ------------------------------------------------------------------ 機能 */
.rn-features { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: 28px; background: var(--line); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.rn-feature { position: relative; padding: 34px 32px 38px; background: #fff; transition: background-color 0.5s, opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.rn-feature:hover { background: #fbfbf9; }
.rn-feature__no { position: absolute; top: 30px; right: 30px; font-size: 11px; font-weight: 500; color: var(--faint); }
.rn-feature__ico { width: 34px; height: 34px; transition: transform 0.6s var(--ease); }
.rn-feature:hover .rn-feature__ico { transform: translateY(-3px); }
.rn-feature h3 { margin-top: 22px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.rn-feature p { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--mute); }
.rn-custom { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 3.4vw, 44px); border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.rn-custom h3 { font-size: 22px; line-height: 1.55; }
.rn-custom > div > p { margin-top: 12px; font-size: 14px; color: var(--mute); }
.rn-custom li { display: grid; grid-template-columns: 10.5em 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.rn-custom li:first-child { border-top: 0; padding-top: 0; }
.rn-custom li span { color: var(--mute); }

/* ------------------------------------------------------------------ データの扱い */
.rn-trustwrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.rn-trustwrap .rn-head { position: sticky; top: calc(var(--header) + 40px); }
.rn-trust li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 30px 0; border-top: 1px solid var(--line); }
.rn-trust li:last-child { border-bottom: 1px solid var(--line); }
.rn-trust li > b { padding-top: 5px; font-size: 12px; font-weight: 500; color: var(--faint); }
.rn-trust h3 { font-size: 19px; font-weight: 700; line-height: 1.6; }
.rn-trust p { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--mute); }
.rn-trust a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }

/* ------------------------------------------------------------------ 結び */
.rn-cta { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.rn-cta__globe { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 78%; pointer-events: none; }
.rn-cta__globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 球は下へ行くほど闇に沈める（フッターの文字を読めるように） */
.rn-cta__globe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 10, 0) 46%, rgba(7, 8, 10, 0.8) 82%, var(--night) 98%); }
.rn-cta::after { content: ""; position: absolute; z-index: 1; inset: 0; background-image: var(--grain); opacity: 0.06; mix-blend-mode: screen; pointer-events: none; }
.rn-cta__inner { position: relative; z-index: 2; padding-top: clamp(110px, 14vw, 200px); padding-bottom: clamp(240px, 30vw, 420px); text-align: center; }
.rn-cta h2 { font-size: clamp(36px, 6vw, 84px); line-height: 1.34; font-weight: 600; letter-spacing: 0.02em; }
.rn-cta__inner > p { margin: 28px auto 0; max-width: 33em; font-size: 15px; line-height: 2; color: var(--night-mute); }
.rn-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.rn-footer { position: relative; z-index: 2; padding: 28px 0 36px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.rn-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rn-footer b { font-family: var(--num); letter-spacing: 0.14em; color: #fff; }
.rn-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.rn-footer a { transition: color 0.3s; }
.rn-footer a:hover { color: #fff; }

.rn-pc { display: inline; }

/* ------------------------------------------------------------------ 狭い画面 */
@media (max-width: 1080px) {
  .rn-nav { display: none; }
  .rn-header__actions { margin-left: auto; }
  .rn-menu { display: block; }
  .rn-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .rn-steps > li { grid-column: auto; }
  .rn-steps > li.rn-step--wide { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .rn { --gutter: 22px; --header: 60px; }
  .rn-pc { display: none; }

  .rn-hero { min-height: 0; }
  .rn-hero__copy { margin-top: 0; padding-top: 48px; }
  .rn-hero__title { font-size: clamp(36px, 10.6vw, 66px); }
  /* 狭い画面は左の余白が小さいので、ぶら下げは半分にとどめる */
  .rn-hero__title .rn-line { margin-left: -0.5em; padding-left: 0.5em; }
  .rn-hang { margin-left: -0.5em; }
  .rn-hero__globe { position: relative; inset: auto; order: 2; height: 104vw; max-height: 620px; margin-top: -4vw; }
  .rn-hero__shade { background: linear-gradient(180deg, var(--night) 0%, rgba(7, 8, 10, 0) 46%, rgba(7, 8, 10, 0) 78%, var(--night) 100%); }
  .rn-hero__facts { order: 3; flex-direction: column; align-items: stretch; margin-top: 0; padding-top: 8px; padding-bottom: 36px; gap: 18px; }
  .rn-hero__facts dl > div { flex: 1; padding-right: 12px; }
  .rn-hero__facts dl > div + div { padding-left: 14px; }
  .rn-hero__facts dt { font-size: 26px; flex-wrap: wrap; gap: 2px 5px; }
  .rn-hero__facts dt small { font-size: 11px; }
  .rn-hero__facts dd { font-size: 11px; }
  .rn-hero__facts dd br { display: none; }
  .rn-hero__facts .rn-note { text-align: left; }
  .rn-hud__card { width: 244px; padding: 12px; }
  .rn-hud__mail { font-size: 11px; }
  .rn-hud__stay b { font-size: 24px; }

  .rn-problem { --deskh: 520px; }
  .rn-pw { width: 214px; --kx: 0.5; }
  .rn-one__body { grid-template-columns: 1fr; }
  .rn-one__col + .rn-one__col { border-left: 0; border-top: 1px solid var(--line); }
  .rn-one__col { padding: 16px 20px 18px; }
  .rn-pains { grid-template-columns: 1fr; border-top: 0; }
  .rn-pains li, .rn-pains li + li { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }

  /* 固定した画面の上半分に舞台、下に本文 */
  .rn-motion .rn-tour__pin { align-items: stretch; }
  .rn-motion .rn-tour__grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; gap: 14px; padding-top: 10px; padding-bottom: 14px; }
  .rn-motion .rn-stage { order: -1; height: auto; min-height: 0; }
  .rn-motion .rn-beats { display: flex; flex-direction: column; min-height: 0; }
  .rn-motion .rn-beats ol { flex: 1; height: auto; min-height: 0; }
  .rn-motion .rn-beat { top: 0; transform: translate3d(0, 24px, 0); }
  .rn-motion .rn-beat.is-past { transform: translate3d(0, -24px, 0); }
  .rn-motion .rn-beat.is-active { transform: none; }
  .rn-beat time { font-size: 13px; }
  .rn-beat h3 { margin-top: 10px; font-size: 21px; }
  .rn-beat h3.rn-serif { font-size: 22px; }
  .rn-beat p { margin-top: 10px; font-size: 13px; line-height: 1.85; }
  .rn-motion .rn-rail { margin-top: 10px; }
  .rn-rail button { flex: 1; width: auto; font-size: 10px; }
  .rn-motion .rn-beats .rn-note { display: none; }
  .rn-app__body { grid-template-columns: 1fr; }
  .rn-app__nav { display: none; }
  .rn-mailapp__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .rn-mailapp__list { border-right: 0; }
  .rn-mailapp__list li:nth-child(n + 3) { display: none; }
  .rn-mailapp__list li { padding: 9px 14px; }
  .rn-letter { margin: 12px; align-self: start; }
  .rn-letter__to, .rn-letter__foot { display: none; }
  .rn-view { gap: 9px; padding: 12px; }
  .rn-view__cols, .rn-view__cols--map { grid-template-columns: 1fr; }
  .rn-brief, .rn-minimap, .rn-strip__note { display: none; }
  .rn-levels, .rn-stats { gap: 7px; }
  .rn-levels li { padding: 8px 8px 6px; }
  .rn-levels small { font-size: 10px; gap: 5px; }
  .rn-levels b { font-size: 24px; }
  .rn-levels__tag { right: 6px; bottom: 8px; padding: 3px 5px; font-size: 9px; }
  .rn-strip td { height: 20px; line-height: 20px; }
  .rn-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rn-stats li { padding: 8px 9px; }
  .rn-stats li:nth-child(4) { display: none; }
  .rn-stats small { font-size: 9.5px; }
  .rn-stats em { font-size: 9.5px; }
  .rn-rows li { height: 36px; font-size: 12px; }
  .rn-motion .rn-rows:not(.on) li.x { height: 36px; }
  .rn-alerts li { grid-template-columns: 1fr; gap: 8px; padding: 9px 12px; }
  .rn-ask { justify-self: start; height: 30px; }
  .rn-alerts li time, .rn-alerts li:nth-child(3) { display: none; }
  .rn-toast { font-size: 11px; padding: 7px 12px 7px 8px; }
  .rn-lane header { padding: 9px 14px 7px; }
  .rn-lane li { grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: 8px; padding: 7px 14px; font-size: 11.5px; }
  .rn-lane li:nth-child(n + 3) { display: none; }
  .rn-lane:nth-child(n + 2) li:nth-child(n + 2) { display: none; }
  /* 4政府ぶんを収めるため、日本も新着の1件だけにする */
  .rn-lane li:not(.rn-lane__new):nth-child(n + 2) { display: none; }
  .rn-feed { gap: 8px; }
  .rn-feed__lanes { gap: 7px; }
  .rn-lane header small { display: none; }
  .rn-fetch { grid-template-columns: auto auto 1fr; gap: 12px; padding: 10px 14px; }
  .rn-fetch__done { grid-column: 1 / -1; }

  .rn-flow { grid-template-columns: 1fr; gap: 92px; }
  /* 入口は「外の情報」「社員の所在」の2枚の札にまとめ、それぞれから3本ずつ流す */
  .rn-flow__col--src { grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
  .rn-flow__group { align-content: start; gap: 0; padding: 14px 12px 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -22px rgba(10, 11, 13, 0.3); }
  .rn-flow__group .rn-flow__caption { display: block; margin-bottom: 6px; font-size: 10.5px; line-height: 1.5; }
  .rn-flow__group .rn-flow__caption b { display: block; font-size: 14px; }
  .rn-flow__group .rn-node { grid-template-columns: auto 1fr; gap: 8px; padding: 7px 0; border-radius: 0; background: none; box-shadow: none; font-size: 12.5px; animation: none; }
  .rn-flow__group .rn-node small, .rn-flow__group .rn-tag { display: none; }
  .rn-flow__col--out { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  /* 見出しは帯と重ならないよう、届け先の下に置く */
  .rn-flow__col--out .rn-flow__caption { order: 2; grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; gap: 2px 10px; margin-top: 6px; }
  .rn-flow__col--out .rn-node { grid-template-columns: 1fr; justify-items: center; gap: 7px; padding: 13px 4px; border-radius: 12px; font-size: 12px; text-align: center; }
  .rn-flow__col--out .rn-node small { display: none; }
  .rn-core { justify-self: center; padding: 30px 30px 26px; gap: 16px; }

  .rn-values { grid-template-columns: 1fr; }
  .rn-value { min-height: 0; padding: 28px 26px 30px; }
  .rn-duty { grid-template-columns: 1fr; }
  .rn-gap { grid-template-columns: 1fr; }
  .rn-relay { grid-template-columns: 1fr; }
  .rn-relay__wire { width: 1px; height: 54px; margin: 0 auto; }
  .rn-relay__wire span { left: 16px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .rn-relay__wire i { top: 0; left: -3px; }
  @keyframes rn-wire { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 7px); opacity: 0; } }
  .rn-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rn-custom { grid-template-columns: 1fr; }
  .rn-custom li { grid-template-columns: 1fr; gap: 2px; }
  .rn-trustwrap { grid-template-columns: 1fr; }
  .rn-trustwrap .rn-head { position: static; }
}

@media (max-width: 560px) {
  .rn-brand small { display: none; }
  .rn-header__inner { gap: 12px; }
  .rn-header__cta { display: none; }
  .rn-hero__cta .rn-btn { width: 100%; }
  .rn-sources { margin-top: 36px; }
  .rn-sources p { font-size: 12px; letter-spacing: 0.02em; }
  .rn-sources p::after { display: none; }
  .rn-sources ul { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rn-sources li { font-size: 17px; gap: 2px; }
  .rn-sources b { white-space: normal; }
  .rn-sources small { font-size: 11px; }
  .rn-sources li + li { margin-left: 0; padding-left: 0; border-left: 0; }
  .rn-features { grid-template-columns: 1fr; }
  .rn-steps { grid-template-columns: 1fr; }
  .rn-steps > li.rn-step--wide { grid-column: auto; }
  .rn-step__fig--match { padding: 0 12px; }
  .rn-match__alert { padding: 12px 14px; }
  .rn-cta__actions .rn-btn { width: 100%; }
  .rn-waffle__legend { gap: 14px; }
}
