@charset "UTF-8";
/*
 * 図解・データ可視化の共通スタイル
 * 色・角丸・書体は各ブランドのカスタムプロパティを参照する。
 * 【禁止】1辺だけの枠線（border-left 等）は使わない。
 */

.rv {
  margin: 0; padding: 0;
  /* 画面幅ではなく「置かれた場所の幅」で判定する。
     2列レイアウトの片側に入れても、正しく縮小レイアウトへ切り替わる。 */
  container-type: inline-size;
}
/* 記事本文の中では、前後の段落と間隔を取る */
.post_content .rv { margin: clamp(32px, 4vw, 52px) 0; }
.post_content .rv + p, .post_content .rv + h2, .post_content .rv + h3 { margin-top: 0; }
.rv__head { display: block; margin-bottom: 18px; }
.rv__title { display: block; font-size: clamp(17px, 2vw, 20px); font-weight: 700; line-height: 1.6; }
.rv__lead { display: block; margin-top: 6px; font-size: 14px; line-height: 1.85; color: var(--r-muted); }
.rv__note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--r-muted); }
.rv__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 出現アニメーション ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1); }
/* JSが動かない環境でも内容が読めるようにする */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- 縦棒グラフ ---------- */
.rv__barwrap { position: relative; }
.rv__unit { position: absolute; top: -4px; right: 0; font-size: 11.5px; color: var(--r-muted); }
.rv__bars {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  align-items: end; gap: clamp(6px, 1.6vw, 18px);
  height: clamp(180px, 26vw, 260px);
  border-bottom: 1px solid var(--r-rule);
}
.rv__bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.rv__barval { font-size: clamp(11px, 1.3vw, 13px); font-weight: 700; margin-bottom: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv__barcol {
  display: block; width: 100%; max-width: 64px; background: var(--rv-ink, var(--r-text));
  height: var(--rv-h); transform: scaleY(0); transform-origin: bottom;
  transition: transform .85s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--rv-i) * 70ms);
}
.rv.is-in .rv__barcol { transform: scaleY(1); }
.rv__bar.is-highlight .rv__barcol { background: var(--r-accent); }
.rv__bar.is-highlight .rv__barval { color: var(--r-accent); }
.rv__barlabel { position: absolute; bottom: -26px; font-size: 12px; color: var(--r-muted); white-space: nowrap; }
.rv--bar { padding-bottom: 30px; }

/* ---------- 横棒 ---------- */
.rv__hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rv__hbar {
  display: grid; grid-template-columns: minmax(104px, 9.5em) minmax(0, 1fr) auto;
  gap: 0 clamp(14px, 2vw, 22px); align-items: center;
  padding: 14px clamp(12px, 1.6vw, 18px); border-radius: var(--r-radius);
}
.rv__hbarhead { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rv__hbarlabel { font-size: 15px; font-weight: 700; line-height: 1.5; }
.rv__hbarcap { font-size: 12px; line-height: 1.6; color: var(--r-muted); }
.rv__hbartrack { height: 26px; background: var(--r-track); overflow: hidden; border-radius: 2px; }
.rv__hbarfill {
  display: block; height: 100%; width: var(--rv-w); background: var(--r-track-strong);
  transform: scaleX(0); transform-origin: left;
  transition: transform .85s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--rv-i) * 80ms);
}
.rv.is-in .rv__hbarfill { transform: scaleX(1); }
.rv__hbarval {
  font-size: clamp(17px, 2.2vw, 22px); font-weight: 800; font-variant-numeric: tabular-nums;
  white-space: nowrap; text-align: right; min-width: 5.5em;
}
.rv__hbarval small { font-size: .62em; font-weight: 700; margin-left: 2px; }

/* 基準にしている行を明示する */
.rv__hbar.is-highlight { background: var(--r-recommend); }
.rv__hbar.is-highlight .rv__hbarfill { background: var(--r-accent); }
.rv__hbar.is-highlight .rv__hbarlabel { color: var(--r-text); }
.rv__hbar.is-highlight .rv__hbarval { color: var(--r-text); }
.rv__hbar.is-highlight .rv__hbarcap { color: var(--r-text); font-weight: 700; }

@container (max-width: 600px) {
  .rv__hbar { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .rv__hbarhead { grid-column: 1; }
  .rv__hbarval { grid-column: 2; min-width: 0; }
  .rv__hbartrack { grid-column: 1 / -1; height: 22px; }
}

/* ---------- 大きな数字 ---------- */
.rv__stats {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(20px, 3vw, 36px);
  grid-template-columns: repeat(var(--rv-cols, auto-fit), minmax(200px, 1fr));
}
.rv__stat { display: flex; flex-direction: column; gap: 2px; }
.rv__statlabel { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--r-muted); }
.rv__statnum { display: flex; align-items: baseline; gap: 4px; }
.rv__statval { font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rv__statunit { font-size: clamp(13px, 1.6vw, 17px); font-weight: 700; }
.rv__statbasis { font-size: 11.5px; line-height: 1.75; color: var(--r-muted); margin-top: 4px; }

/* ---------- フロー ---------- */
.rv__flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.rv__step { position: relative; padding: 26px 22px 24px; background: var(--r-panel); display: flex; flex-direction: column; gap: 6px; }
.rv__step + .rv__step::before {
  content: ""; position: absolute; left: -1px; top: 50%; width: 0; height: 0;
  border-block: 7px solid transparent; border-left: 8px solid var(--r-bg); transform: translateY(-50%); z-index: 1;
}
.rv__stepno { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1; color: var(--r-numeral); letter-spacing: -.02em; }
.rv__stepwhen { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--r-accent); }
.rv__steptitle { font-size: 16.5px; font-weight: 700; line-height: 1.6; }
.rv__stepdesc { font-size: 13.5px; line-height: 1.9; color: var(--r-muted); }
@container (max-width: 640px) { .rv__step + .rv__step::before { display: none; } }

/* ---------- 関係図 ---------- */
.rv__scheme { display: grid; gap: 14px; }
.rv__schemerow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.rv__node { background: var(--r-panel); padding: 18px 16px; text-align: center; display: flex; flex-direction: column; gap: 3px; }
.rv__node.is-emphasis { background: var(--r-ink-block); color: var(--r-ink-block-text); }
.rv__nodetitle { font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.rv__nodesub { font-size: 12px; opacity: .72; }
.rv__edge { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 76px; }
.rv__edgelabel { font-size: 11.5px; color: var(--r-muted); white-space: nowrap; }
.rv__arrow { display: block; width: 100%; height: 1px; background: var(--r-rule); position: relative; }
.rv__arrow::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border-block: 4px solid transparent; border-left: 6px solid var(--r-rule);
}
@container (max-width: 560px) {
  .rv__schemerow { grid-template-columns: 1fr; }
  .rv__edge { flex-direction: row; min-width: 0; }
  .rv__arrow { width: 40px; }
}

/* ---------- 比較表 ---------- */
/* 幅が足りないときは横スクロールではなく、積み上げ表示へ切り替える */
.rv__cellbadge { display: none; }
.rv__compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14.5px; }
.rv__compare th, .rv__compare td { padding: 16px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--r-rule); background: none; color: var(--r-text); }
/* 記事本文の中に置かれても、テーマ側の表組みの色に引きずられないようにする */
.rv__compare thead th { border-bottom: 2px solid var(--r-text); color: var(--r-text); }
.rv__compare .rv__ch { color: var(--r-muted); font-size: 13px; font-weight: 700; }
.rv__compare .rv__ch { width: 22%; }
.rv__compare tbody th { font-size: 13px; font-weight: 700; color: var(--r-muted); width: 22%; }
.rv__colname { display: block; font-size: 16px; font-weight: 700; color: var(--r-text); }
.rv__colsub { display: block; font-size: 11.5px; color: var(--r-muted); margin-top: 2px; }
.rv__badge { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 700; padding: 3px 8px; background: var(--r-accent); color: #fff; }
.rv__compare th.is-recommended, .rv__compare td.is-recommended { background: var(--r-recommend); }
.rv__cellval { display: block; font-size: 16px; font-weight: 700; line-height: 1.5; }
td.is-recommended .rv__cellval { font-size: clamp(18px, 2.4vw, 22px); }
.rv__cellsub { display: block; font-size: 12px; color: var(--r-muted); margin-top: 3px; line-height: 1.7; }

/* 狭いコンテナ（2列レイアウトの片側、スマートフォン）では積み上げる */
@container (max-width: 660px) {
  .rv__scroll { overflow-x: visible; }
  .rv__compare { min-width: 0; display: block; }
  .rv__compare thead { display: none; }
  .rv__compare tbody, .rv__compare tr, .rv__compare th, .rv__compare td { display: block; width: auto; }
  .rv__compare tbody tr { padding: 20px 0 4px; border-bottom: 1px solid var(--r-rule); }
  .rv__compare tbody tr:first-child { border-top: 2px solid var(--r-text); }
  .rv__compare tbody th {
    width: auto; padding: 0 0 12px; border: 0; font-size: 15px; color: var(--r-text); font-weight: 700;
  }
  .rv__compare tbody td {
    box-sizing: border-box; width: 100%;
    padding: 10px 0; border: 0; display: grid;
    grid-template-columns: minmax(84px, 34%) 1fr; gap: 4px 14px; align-items: baseline;
  }
  .rv__compare tbody td::before {
    content: attr(data-col); font-size: 12.5px; color: var(--r-muted); font-weight: 700; line-height: 1.7;
  }
  .rv__compare td.is-recommended { background: var(--r-recommend); padding-inline: 12px; }
  .rv__compare td .rv__cellval { font-size: 15.5px; }
  .rv__compare td.is-recommended .rv__cellval { font-size: 16.5px; }
  .rv__cellsub { grid-column: 2; }
  .rv__cellbadge {
    display: inline-block; grid-column: 2; justify-self: start; font-size: 10px; font-weight: 700;
    padding: 2px 7px; background: var(--r-accent); color: #fff; margin-bottom: 2px;
  }
}

/* ---------- ウォーターフォール ---------- */
.rv__wf { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.rv__wfrow {
  display: grid; grid-template-columns: minmax(112px, 11em) minmax(0, 1fr) auto;
  gap: 0 clamp(14px, 2vw, 20px); align-items: center;
  padding: 11px clamp(12px, 1.6vw, 18px); border-radius: var(--r-radius);
}
.rv__wflabel { font-size: 14.5px; line-height: 1.6; font-weight: 700; }
.rv__wftrack { height: 20px; background: var(--r-track); border-radius: 2px; overflow: hidden; }
.rv__wffill {
  display: block; height: 100%; width: var(--rv-w); transform: scaleX(0); transform-origin: left;
  transition: transform .8s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--rv-i) * 60ms);
}
.rv.is-in .rv__wffill { transform: scaleX(1); }
.rv__wfrow.is-in .rv__wffill { background: var(--r-accent-2); }
.rv__wfrow.is-out .rv__wffill { background: var(--r-track-strong); }
.rv__wfrow.is-total .rv__wffill { background: var(--r-accent); }
.rv__wfrow.is-total { background: var(--r-recommend); }
.rv__wfrow.is-total .rv__wflabel, .rv__wfrow.is-total .rv__wfval { font-weight: 800; }
.rv__wfrow.is-total .rv__wfval { font-size: clamp(17px, 2.2vw, 21px); }
.rv__wfval { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; min-width: 6em; }
@container (max-width: 560px) {
  .rv__wfrow { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .rv__wftrack { grid-column: 1 / -1; }
  .rv__wfval { min-width: 0; }
}

/* ---------- 円グラフ ---------- */
.rv__donutwrap { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; position: relative; }
.rv__donut { width: 100%; height: auto; transform: rotate(-90deg); }
.rv__donutbg { stroke: var(--r-track); }
.rv__donutseg {
  stroke-dasharray: 0 100 !important; transition: stroke-dasharray .9s cubic-bezier(.2,.7,.3,1);
  transition-delay: calc(var(--rv-i) * 100ms);
}
.rv.is-in .rv__donutseg { stroke-dasharray: var(--rv-pct) 100 !important; }
.rv__donutseg[data-seg="0"], .rv__swatch[data-seg="0"] { stroke: var(--r-accent); background: var(--r-accent); }
.rv__donutseg[data-seg="1"], .rv__swatch[data-seg="1"] { stroke: var(--r-accent-2); background: var(--r-accent-2); }
.rv__donutseg[data-seg="2"], .rv__swatch[data-seg="2"] { stroke: var(--r-accent-3); background: var(--r-accent-3); }
.rv__donutseg[data-seg="3"], .rv__swatch[data-seg="3"] { stroke: var(--r-track-strong); background: var(--r-track-strong); }
.rv__donutseg[data-seg="4"], .rv__swatch[data-seg="4"] { stroke: var(--r-track); background: var(--r-track); }
.rv__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rv__legend li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.rv__swatch { width: 14px; height: 14px; border-radius: 3px; }
.rv__legendval { font-weight: 700; font-variant-numeric: tabular-nums; }
@container (max-width: 520px) { .rv__donutwrap { grid-template-columns: 1fr; } .rv__donut { max-width: 200px; margin-inline: auto; } }

/* ---------- タイムライン ---------- */
.rv__timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.rv__timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--r-rule); }
.rv__tlitem { position: relative; padding: 0 0 30px 34px; display: flex; flex-direction: column; gap: 4px; }
.rv__tlitem::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--r-bg); box-shadow: inset 0 0 0 3px var(--r-accent);
  transform: scale(0); transition: transform .5s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--rv-i) * 90ms);
}
.rv.is-in .rv__tlitem::before { transform: scale(1); }
.rv__tlwhen { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--r-accent); }
.rv__tltitle { font-size: 17px; font-weight: 700; line-height: 1.6; }
.rv__tldesc { font-size: 14px; line-height: 1.9; color: var(--r-muted); }

/* ---------- ゲージ ---------- */
.rv__gauge { position: relative; max-width: 260px; text-align: center; }
.rv__gauge svg { width: 100%; height: auto; }
.rv__gaugebg { stroke: var(--r-track); }
.rv__gaugefill {
  stroke: var(--r-accent); stroke-dasharray: 157; stroke-dashoffset: 157;
  transition: stroke-dashoffset 1s cubic-bezier(.2,.7,.3,1);
}
.rv.is-in .rv__gaugefill { stroke-dashoffset: calc(157 - 157 * var(--rv-pct) / 100); }
.rv__gaugeval { position: absolute; left: 0; right: 0; top: 52%; font-size: clamp(28px, 4vw, 40px); font-weight: 800; font-variant-numeric: tabular-nums; }
.rv__gaugeval small { font-size: .45em; margin-left: 2px; }
.rv__gaugecap { display: block; font-size: 12.5px; color: var(--r-muted); margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .rv__barcol, .rv__hbarfill, .rv__wffill { transform: none !important; }
  .rv__donutseg { stroke-dasharray: var(--rv-pct) 100 !important; }
  .rv__tlitem::before { transform: scale(1) !important; }
  .rv__gaugefill { stroke-dashoffset: calc(157 - 157 * var(--rv-pct) / 100) !important; }
}


/* ---------- 空の状態 ---------- */
.r-empty { padding: clamp(36px, 6vw, 64px) 0; max-width: 34em; }
.r-empty__title { font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; margin: 0 0 12px; line-height: 1.6; }
.r-empty__body { font-size: 15px; line-height: 1.95; color: var(--r-muted); margin: 0 0 24px; }
.r-empty__links { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; font-size: 14.5px; font-weight: 700; }
.r-empty__links a { color: var(--r-accent); text-decoration: underline; text-underline-offset: .22em; }

/* ---------- セクションを説明する写真 ---------- */
.r-figure { margin: 0; }
.r-figure img { width: 100%; height: auto; display: block; border-radius: var(--r-radius); object-fit: cover; }
.r-figure figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.85; color: var(--r-muted); }
.r-figure--wide img { aspect-ratio: 16 / 7; }
.r-figure--tall img { aspect-ratio: 3 / 4; }
.r-figure--square img { aspect-ratio: 1 / 1; }

.r-mediawrap { container-type: inline-size; }
.r-media { display: grid; gap: clamp(22px, 4vw, 52px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.r-media.is-reverse .r-media__figure { order: 2; }
.r-media.is-textonly { grid-template-columns: 1fr; }
.r-media + .r-media { margin-top: clamp(32px, 5vw, 64px); }
.r-media__label { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--r-accent); margin: 0 0 12px; }
.r-media__title { font-size: clamp(19px, 2.6vw, 26px); line-height: 1.6; margin: 0 0 14px; }
.r-media__text { font-size: 15px; line-height: 2; margin: 0 0 14px; color: var(--r-muted); }
.r-media__text:last-child { margin-bottom: 0; }
.r-media__text strong { color: var(--r-text); }
@container (max-width: 780px) {
  .r-media { grid-template-columns: 1fr; }
  .r-media.is-reverse .r-media__figure { order: 0; }
}

/* 写真つきカード（悩み・手順など） */
.r-photocards { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.r-photocard { display: flex; flex-direction: column; }
.r-photocard a, .r-photocard > div { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.r-photocard__thumb { display: block; overflow: hidden; border-radius: var(--r-radius); background: var(--r-track); }
.r-photocard__thumb img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.r-photocard a:hover .r-photocard__thumb img { transform: scale(1.04); }
.r-photocard__name { display: block; font-size: 16.5px; font-weight: 700; margin: 14px 0 6px; line-height: 1.6; }
.r-photocard__desc { display: block; font-size: 13px; color: var(--r-muted); line-height: 1.85; }

/* ---------- 役割分担の表 ---------- */
.rv__roles { width: 100%; border-collapse: collapse; font-size: 15px; }
.rv__roles th, .rv__roles td { padding: 16px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--r-rule); }
.rv__roles thead th { border-bottom: 2px solid var(--r-text); font-size: 13px; letter-spacing: .06em; color: var(--r-muted); font-weight: 700; }
.rv__roles thead th:first-child { width: 34%; }
.rv__roles tbody th { font-size: 15.5px; font-weight: 700; line-height: 1.7; }
.rv__role { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; }
.rv__rolemark { width: 13px; height: 13px; border-radius: 50%; flex: none; }
td.is-main .rv__rolemark { background: var(--r-accent); }
td.is-support .rv__rolemark { background: transparent; box-shadow: inset 0 0 0 2px var(--r-track-strong); }
td.is-none .rv__rolemark { background: transparent; box-shadow: inset 0 0 0 1px var(--r-rule); position: relative; }
td.is-none .rv__rolemark::after {
  content: ""; position: absolute; inset: 50% 2px auto; height: 1px; background: var(--r-rule); transform: translateY(-50%);
}
td.is-main .rv__rolelabel { color: var(--r-text); }
td.is-support .rv__rolelabel, td.is-none .rv__rolelabel { color: var(--r-muted); font-weight: 500; }
.rv__roletext { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.85; color: var(--r-muted); }

/* 狭いときは、業務ごとのブロックに積み上げる */
@container (max-width: 620px) {
  .rv__roles, .rv__roles thead, .rv__roles tbody, .rv__roles tr, .rv__roles th, .rv__roles td { display: block; width: auto; }
  .rv__roles thead { display: none; }
  .rv__roles tbody tr { padding: 18px 0 10px; border-bottom: 1px solid var(--r-rule); }
  .rv__roles tbody tr:first-child { border-top: 2px solid var(--r-text); }
  .rv__roles tbody th { padding: 0 0 12px; border: 0; }
  .rv__roles tbody td {
    padding: 6px 0; border: 0; display: grid; grid-template-columns: minmax(78px, 26%) 1fr;
    gap: 4px 14px; align-items: baseline;
  }
  .rv__roles tbody td::before {
    content: attr(data-actor); font-size: 12.5px; color: var(--r-muted); font-weight: 700; line-height: 1.9;
  }
  .rv__roletext { grid-column: 2; }
}

/* ---------- 関係の流れ図 ---------- */
.rv__chain {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap;
}
.rv__chainnode {
  flex: 1 1 0; min-width: 0; background: var(--r-panel); padding: 22px 16px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; gap: 4px;
}
.rv__chainnode.is-emphasis { background: var(--r-ink-block); color: var(--r-ink-block-text); }
.rv__chainnode .rv__nodetitle { font-size: clamp(15px, 1.8vw, 17px); font-weight: 700; line-height: 1.5; }
.rv__chainnode .rv__nodesub { font-size: 12px; opacity: .72; }
.rv__chainedge {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 0 clamp(10px, 1.6vw, 20px);
}
.rv__chainlabel { font-size: 11.5px; color: var(--r-muted); white-space: nowrap; }
.rv__chainarrow { display: block; width: clamp(28px, 4vw, 56px); height: 1px; background: var(--r-rule); position: relative; }
.rv__chainarrow::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border-block: 4px solid transparent; border-left: 6px solid var(--r-rule);
}

@container (max-width: 700px) {
  .rv__chain { flex-direction: column; }
  .rv__chainnode { width: 100%; padding: 18px 16px; }
  .rv__chainedge { flex-direction: row; gap: 10px; padding: 10px 0; }
  .rv__chainarrow { width: 1px; height: 26px; }
  .rv__chainarrow::after {
    right: 50%; top: auto; bottom: 0; transform: translateX(50%);
    border-inline: 4px solid transparent; border-left: 4px solid transparent;
    border-top: 6px solid var(--r-rule); border-right: 4px solid transparent;
  }
}
