/* 先生カルテと口コミの集計。tools/review_insights.py が入れる（2026-11-26 設計 Fable 5.2・実装 Opus 5.5）。JS なし */
.rv-card, .rv-voice, .rv-report, .rv-intro {
  --rv-ink: #2a2233; --rv-sub: #6b6176; --rv-line: #e6deef; --rv-soft: #f7f3fb;
  --rv-deep: #2c0751; --rv-main: #5b1f8f; --rv-gold: #fbe7ad; --rv-ok: #1f7a4d;
}
.post_content .rv-card, .post_content .rv-voice { color: var(--rv-ink); font-size: 14px; line-height: 1.6; }
.post_content .rv-card ul, .post_content .rv-voice ul, .post_content .rv-report ul { list-style: none; margin: 0; padding: 0; }
.post_content .rv-card li, .post_content .rv-voice li, .post_content .rv-report li { margin: 0; padding: 0; }
.post_content .rv-card li::before, .post_content .rv-voice li::before, .post_content .rv-report li::before { content: none; }
.post_content .rv-card p, .post_content .rv-voice p, .post_content .rv-report p { margin: 0; }
.post_content .rv-card a, .post_content .rv-voice a, .post_content .rv-report a { color: var(--rv-main); }

.post_content .rv-h { margin: 14px 0 6px; font-weight: 700; color: var(--rv-deep); font-size: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: .3em; }
.post_content .rv-h::before { content: ""; width: 4px; height: 1em; background: var(--rv-main); border-radius: 2px; align-self: center; }
.rv-h small { font-weight: 400; font-size: 12px; color: var(--rv-sub); }
.post_content .rv-none { color: var(--rv-sub); font-size: 13px; padding: 10px 12px; background: var(--rv-soft); border-radius: 8px; }

/* ---- 先生カルテ ---- */
.post_content .rv-card { border: 1px solid var(--rv-line); border-radius: 10px; padding: 14px; margin: 0 0 16px; background: #fff; }
.rv-top { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; }
.rv-photo img { display: block; width: 110px !important; height: 110px; object-fit: cover; border-radius: 50%; border: 3px solid var(--rv-gold); margin: 0; }
.post_content .rv-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; }
.post_content .rv-facts li { display: flex; flex-direction: column; border-bottom: 1px dashed var(--rv-line); padding-bottom: 4px; }
.rv-facts span { font-size: 11px; color: var(--rv-sub); }
.rv-facts b { color: var(--rv-deep); }
.rv-facts small { font-size: 11px; color: var(--rv-sub); font-weight: 400; }

/* 横棒（件数÷30。縦線は平均） */
.post_content .rv-bars { display: grid; gap: 8px; }
.post_content .rv-row { display: grid; grid-template-columns: minmax(0, 16em) 1fr auto; gap: 4px 10px; align-items: center; }
.rv-name { font-size: 13px; line-height: 1.35; }
.rv-bar { position: relative; display: block; height: 10px; border-radius: 5px; background: var(--rv-soft); box-shadow: inset 0 0 0 1px var(--rv-line); }
.rv-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / var(--n) * 100%); border-radius: 5px; background: #9b7cc4; }
.rv-row.is-more .rv-bar i { background: var(--rv-main); }
.rv-bar::after { content: ""; position: absolute; top: -3px; bottom: -3px; left: calc(var(--avg) / var(--n) * 100%); width: 2px; background: var(--rv-ink); opacity: .55; }
.rv-num { font-size: 12px; white-space: nowrap; min-width: 5.5em; text-align: right; }
.rv-num b { font-size: 15px; color: var(--rv-deep); }
.rv-more { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 4px; background: var(--rv-main); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.6; }
.post_content .rv-note { margin-top: 8px; font-size: 12px; color: var(--rv-sub); }
.rv-avg-key { display: inline-block; width: 2px; height: 12px; background: var(--rv-ink); opacity: .55; vertical-align: -2px; margin-right: 3px; }


/* ---- 口コミの集計 ---- */
.post_content .rv-voice { border: 1px solid var(--rv-line); border-radius: 10px; padding: 4px 14px 14px; margin: 0 0 16px; background: #fff; }
.post_content .rv-lead { margin-top: 10px; font-size: 12px; color: var(--rv-sub); }
.post_content .rv-caution { margin-top: 6px; font-size: 12px; color: var(--rv-sub); }
.post_content .rv-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.post_content .rv-topics li { padding: 2px 10px; border-radius: 999px; background: #fde6ee; color: #9b1b45; font-size: 12px; }
.post_content .rv-topics li.is-none { background: var(--rv-soft); color: var(--rv-sub); }
.post_content .rv-usage { margin-top: 10px; font-size: 13px; padding: 8px 12px; background: var(--rv-soft); border-radius: 8px; }
.post_content .rv-voice p.rv-usage { margin-top: 10px; } /* 上の「.rv-voice p { margin: 0 }」に消されないように */
.rv-usage b, .rv-topics b { font-size: 14px; }
.rv-tag { padding: 0 6px; border-radius: 4px; background: var(--rv-soft); color: var(--rv-main); font-weight: 700; }

.post_content .rv-voice details { margin-top: 12px; border: 1px solid var(--rv-line); border-radius: 8px; padding: 0 12px; }
.rv-voice summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; font-size: 13px; color: var(--rv-deep); }
.post_content .rv-voice details[open] { padding-bottom: 12px; }
.post_content .rv-moredet { border: 0 !important; padding: 0 !important; }
.post_content .rv-moredet summary { color: var(--rv-main); font-weight: 400; }

/* ---- 比較表の「口コミで多い声」 ---- */
.tf-voice { display: block; margin-top: 4px; font-size: 11px; color: var(--tf-sub, #6b6176); white-space: normal; }
.tf-voice b { color: var(--tf-main, #5b1f8f); }

@media (max-width: 599px) {
  .rv-top { grid-template-columns: 84px 1fr; gap: 10px; }
  .rv-photo img { width: 84px !important; height: 84px; }
  .post_content .rv-facts { grid-template-columns: 1fr; gap: 4px; }
  .post_content .rv-facts li { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; text-align: right; }
  .rv-facts small { flex-basis: 100%; }
  .rv-facts span { text-align: left; flex: none; }
  .post_content .rv-row { grid-template-columns: 1fr auto; }
  .rv-row .rv-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ---- ランキングの見出し：本文の h3 と同じ形（薄紫の帯・左に濃い紫の線・吹き出しのアイコン） ---- */
/* 先生ごとに1枚のカード（2026-11-26 平良さん「セクションごとにカードタイプにしてメリハリを」） */
.post_content .rv-rank {
  position: relative; margin: 0 0 40px !important; padding: 0 0 20px; overflow: hidden; background: #fff;
  border: 1px solid #e3d8ef; border-top: 5px solid #5b1f8f; border-radius: 16px;
  box-shadow: 0 10px 28px rgba(44,7,81,.10), 0 2px 4px rgba(44,7,81,.05);
}
.post_content .rv-rank::before {
  content: "No." attr(data-rank); position: absolute; top: 10px; right: 12px; z-index: 1;
  min-width: 50px; padding: 4px 10px; border-radius: 999px; text-align: center;
  background: #5b1f8f; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.4;
}
.post_content .rv-rank[data-rank="1"] { border-top-color: #c9a227; }
.post_content .rv-rank[data-rank="1"]::before { background: linear-gradient(135deg, #f6d77a, #c9a227); color: #3a2a00; }
.post_content .rv-rank[data-rank="2"] { border-top-color: #9aa3ad; }
.post_content .rv-rank[data-rank="2"]::before { background: linear-gradient(135deg, #e6eaee, #9aa3ad); color: #2b3138; }
.post_content .rv-rank[data-rank="3"] { border-top-color: #b8743c; }
.post_content .rv-rank[data-rank="3"]::before { background: linear-gradient(135deg, #f0c39a, #b8743c); color: #3a1f08; }
.post_content .rv-rank > .cap_box_ttl {
  position: relative; display: block; margin: 0 0 16px; padding: 14px 82px 14px 42px; text-align: left;
  background: #f3eff8; border: 0; border-left: 4px solid var(--color_main, #2c0751); border-radius: 0;
}
.post_content .rv-rank > .cap_box_ttl::before, .post_content .rv-rank > .cap_box_ttl::after { content: none; }
.post_content .rv-rank > .cap_box_ttl > h3 {
  position: static; margin: 0; padding: 0; background: none; border: 0; text-align: left; color: #333; font-size: 17px !important; line-height: 1.5;
}
.post_content .rv-rank > .cap_box_ttl > h3::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 0; background: #9731c8;
  -webkit-mask: url("icons/toc-bubble.svg") center / contain no-repeat; mask: url("icons/toc-bubble.svg") center / contain no-repeat;
}
.post_content .rv-rank > .cap_box_ttl > h3::after { content: none; }
.post_content .rv-rank > .cap_box_content { padding: 0 16px; border: 0; background: #fff; }

/* ---- 調査員の鑑定：調査レポートの用紙 ---- */
.post_content .rv-report {
  position: relative; margin-top: 14px; padding: 14px 14px 12px; border-radius: 10px;
  background: #fffaf0 repeating-linear-gradient(0deg, transparent 0 27px, rgba(210,170,90,.12) 27px 28px);
  border: 1px solid #ead9b0; box-shadow: 0 1px 0 #ead9b0, 0 2px 6px rgba(44,7,81,.06);
}
.post_content .rv-report.is-none { background: none; border: 0; padding: 0; box-shadow: none; }
.rv-rep-head { position: relative; padding-right: 120px; min-height: 56px; }
.post_content .rv-rep-ttl { margin: 0; font-weight: 700; font-size: 16px; color: var(--rv-deep); line-height: 1.4; }
.rv-rep-kicker { display: block; font-size: 11px; letter-spacing: .12em; color: #a07a2a; font-weight: 700; }
.rv-rep-topic { display: inline-block; margin-top: 4px; padding: 0 8px; border-radius: 4px; background: #fff; border: 1px solid #ead9b0; font-size: 12px; color: var(--rv-sub); }
.rv-stamps { position: absolute; right: -4px; top: -6px; display: flex; align-items: center; }
.post_content .rv-stamp { width: 64px; height: 64px; opacity: .9; transform: rotate(-8deg); margin: 0; border: 0; }
.post_content .rv-stamp--f { width: 56px; height: 56px; margin-left: -6px; transform: rotate(6deg); }
.rv-rep-body { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; margin-top: 10px; }
.post_content .rv-pts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.post_content .rv-pts li { display: grid; justify-content: start; grid-template-columns: 4.5em auto minmax(1.6em, max-content); align-items: center; gap: 6px; font-size: 12px; }
.rv-pt-k { color: var(--rv-ink); }
.rv-dots { display: inline-flex; gap: 3px; }
.rv-dots i { width: 10px; height: 10px; border-radius: 50%; background: #eadfc6; }
.rv-dots i.on { background: var(--rv-main); }
.rv-pts b { font-size: 14px; color: var(--rv-deep); text-align: right; white-space: nowrap; }
.post_content .rv-rep-total { margin: 0; text-align: center; padding: 6px 12px; border-radius: 10px; background: var(--rv-deep); color: #fff; line-height: 1.1; }
.rv-rep-total span { display: block; font-size: 11px; color: var(--rv-gold); }
.rv-rep-total b { font-size: 26px; }
.rv-rep-total small { font-size: 11px; }
.post_content .rv-rep-note { position: relative; margin-top: 12px; padding: 10px 12px 10px 44px; background: #fff; border-radius: 8px; border: 1px dashed #d8c59a; }
.post_content .rv-rep-note::before {
  content: ""; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; background: var(--rv-main);
  -webkit-mask: url("icons/toc-bubble.svg") center / contain no-repeat; mask: url("icons/toc-bubble.svg") center / contain no-repeat;
}
.post_content .rv-rep-note-h { font-size: 11px; font-weight: 700; color: #a07a2a; margin: 0 0 2px; }
.post_content .rv-rep-note p { font-size: 13px; line-height: 1.7; margin: 0; }
.post_content .rv-rep-follow { margin: 8px 0 0; font-size: 12px; color: var(--rv-sub); }
.rv-rep-follow b { color: #d2354f; }
.post_content a.rv-rep-btn {
  display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: 10px; min-height: 44px; border-radius: 999px;
  background: #fff; border: 2px solid var(--rv-main); color: var(--rv-main); font-weight: 700; font-size: 14px; text-decoration: none;
}
.post_content a.rv-rep-btn::after { content: "›"; font-size: 18px; line-height: 1; }
.post_content a.rv-rep-btn:hover { background: var(--rv-main); color: #fff; }

/* ---- 口コミのカード（横にスライド） ---- */
.post_content .rv-swipe { margin: 0 0 6px; font-size: 11px; color: var(--rv-sub); text-align: right; }
.rv-swipe::after { content: " →"; }
.post_content .rv-qs {
  display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 2px 2px 14px; margin: 0 -2px; scrollbar-width: thin; align-items: stretch;
}
.post_content .rv-qs:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }
.post_content .rv-voice .rv-rc {
  flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column; padding: 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--rv-line); box-shadow: 0 2px 6px rgba(44,7,81,.07);
}
.rv-rc-head { display: flex; align-items: center; gap: 8px; }
.rv-rc-ava { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--rv-soft); position: relative; overflow: hidden; }
.rv-rc-ava::before { content: ""; position: absolute; left: 50%; top: 7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #b9a6d3; }
.rv-rc-ava::after { content: ""; position: absolute; left: 50%; top: 21px; width: 24px; height: 18px; margin-left: -12px; border-radius: 12px 12px 0 0; background: #b9a6d3; }
.rv-rc-who { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; color: var(--rv-ink); line-height: 1.3; }
.rv-rc-who small { font-weight: 400; color: var(--rv-sub); font-size: 11px; }
.rv-rc-star { margin-left: auto; color: #f0a500; font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.post_content .rv-q { flex: 1; margin: 8px 0 0; padding: 0; border: 0; background: none; font-style: normal; }
.post_content .rv-q::before, .post_content .rv-q::after { content: none; display: none; }
.post_content .rv-q p { font-size: 14px; line-height: 1.75; margin: 0; }
.rv-q mark { background: linear-gradient(transparent 55%, var(--rv-gold) 55%); color: inherit; padding: 0 1px; }
.post_content .rv-qmeta { margin: 8px 0 0; font-size: 11px; }
.post_content .rv-from { margin: 4px 0 0; font-size: 11px; color: var(--rv-sub); }
.post_content .rv-caution a { color: var(--rv-main); }
@media (min-width: 600px) {
  .post_content .rv-voice .rv-rc { flex-basis: 46%; }
}
@media (max-width: 599px) {
  .rv-rep-head { padding-right: 96px; }
  .post_content .rv-stamp { width: 54px; height: 54px; }
  .post_content .rv-stamp--f { width: 46px; height: 46px; }
  .rv-rep-body { grid-template-columns: 1fr; }
  .post_content .rv-pts { grid-template-columns: 1fr; }
  .post_content .rv-rep-total { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
  .rv-rep-total span { display: inline; }
}

/* ---- カルテの「口コミでよく言われていること」（要約の札。棒は下の口コミ欄に1か所だけ） ---- */
.post_content .rv-mood { margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--rv-soft); }
.post_content .rv-mood-h { margin: 0 0 8px; font-weight: 700; font-size: 14px; color: var(--rv-deep); }
.rv-mood-h small { font-weight: 400; font-size: 11px; color: var(--rv-sub); margin-left: .3em; }
.post_content .rv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.post_content .rv-chips li { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--rv-line); font-size: 13px; }
.post_content .rv-chips li.is-more { border-color: var(--rv-main); }
.rv-chips b { color: var(--rv-deep); font-size: 15px; }
.post_content a.rv-jump { display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--rv-main); text-decoration: none; }
.post_content a.rv-jump::after { content: "↓"; margin-left: .35em; }
.post_content a.rv-jump:hover { text-decoration: underline; }
@media (min-width: 600px) {
  .post_content .rv-facts { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 「〇〇先生はこんな先生」（紹介文の枠。文は元のまま） ---- */
.post_content .rv-intro { margin: 0 0 20px; padding: 14px 16px 4px; border-radius: 10px; background: #fff; border: 1px solid var(--rv-line, #e6deef); border-top: 3px solid #e2c27a; }
.post_content .rv-intro-h { display: flex; align-items: center; gap: .45em; margin: 0 0 8px; font-weight: 700; font-size: 15px; color: var(--rv-deep, #2c0751); }
.post_content .rv-intro-h::before {
  content: ""; width: 18px; height: 18px; background: #9731c8; flex: none;
  -webkit-mask: url("icons/toc-bubble.svg") center / contain no-repeat; mask: url("icons/toc-bubble.svg") center / contain no-repeat;
}
.post_content .rv-intro > p.wp-block-paragraph { margin: 0 0 .9em; line-height: 1.85; }
.post_content .rv-intro > p.wp-block-paragraph:empty { display: none; }
.post_content .rv-report { margin: 0 0 16px; }
.post_content .rv-voice { margin-bottom: 14px; }

/* ---- 口コミの見出し（h4）を口コミの枠の頭に ---- */
.post_content h4.is-style-rv-voice-h {
  position: relative; margin: 0; padding: 12px 14px 12px 40px; border: 1px solid var(--rv-line, #e6deef); border-bottom: 0;
  border-radius: 10px 10px 0 0; background: linear-gradient(90deg, #2c0751, #5b1f8f); color: #fff; font-size: 16px; line-height: 1.4;
}
.post_content h4.is-style-rv-voice-h::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 0; border-radius: 0; box-shadow: none;
  background: #fbe7ad; -webkit-mask: url("icons/toc-bubble.svg") center / contain no-repeat; mask: url("icons/toc-bubble.svg") center / contain no-repeat;
}
.post_content h4.is-style-rv-voice-h::after { content: none; }
.post_content h4.is-style-rv-voice-h + .rv-voice, .post_content h4.is-style-rv-voice-h + * + .rv-voice { border-top: 0; border-radius: 0 0 10px 10px; margin-top: 0; }
.post_content h4.is-style-rv-voice-h ~ .rv-voice { margin-bottom: 20px; }

/* ---- 鑑定レポートの中の「こんな先生」 ---- */
.post_content .rv-report .rv-intro { margin: 12px 0 0; padding: 12px 14px 2px; border: 1px solid #ead9b0; border-top: 3px solid #e2c27a; background: #fff; }
.post_content .rv-report .rv-intro > p.wp-block-paragraph { font-size: 15px; }

/* ---- カードの中は枠線を使わず、背景の色で区切る（2026-11-26 平良さん「中でも枠線を使うとメリハリがない」）
   カルテ＝白（線なし）／口コミ＝紫の帯＋薄紫の面／鑑定レポート＝クリームの用紙／その中の白い面は線なし ---- */
.post_content .rv-rank .rv-card { border: 0; padding: 4px 0 0; margin: 0 0 28px; background: transparent; }
.post_content .rv-rank .rv-facts li { border-bottom-color: #efe9f5; }
.post_content .rv-rank .rv-mood { background: #f7f3fb; }
.post_content .rv-rank .rv-chips li { border: 0; box-shadow: 0 1px 2px rgba(44,7,81,.08); }
.post_content .rv-rank .rv-chips li.is-more { background: #5b1f8f; color: #fff; }
.post_content .rv-rank .rv-chips li.is-more b { color: #fbe7ad; }
.post_content .rv-rank .rv-chips li.is-more .rv-more { background: #fbe7ad; color: #2c0751; }

.post_content .rv-rank h4.is-style-rv-voice-h { border: 0; border-radius: 12px 12px 0 0; }
.post_content .rv-rank .rv-voice { border: 0; border-radius: 0 0 12px 12px; background: #f7f3fb; padding: 6px 16px 16px; margin: 0 0 28px; }
.post_content .rv-rank .rv-bar { background: #fff; box-shadow: none; }
.post_content .rv-rank .rv-usage { background: #fff; }
.post_content .rv-rank .rv-voice .rv-rc { border: 0; box-shadow: 0 2px 8px rgba(44,7,81,.08); }
.post_content .rv-rank .rv-topics li.is-none { background: #fff; }

.post_content .rv-rank .rv-report { border: 0; box-shadow: none; border-radius: 12px; margin: 0 0 24px; padding: 16px; }
.post_content .rv-rank .rv-rep-topic { border: 0; }
.post_content .rv-rank .rv-rep-note { border: 0; background: #fff; }
.post_content .rv-rank .rv-report .rv-intro { border: 0; border-radius: 10px; margin-top: 14px; padding: 14px 14px 4px; }
.post_content .rv-rank > .cap_box_content > .rv-intro { border: 0; background: #f7f3fb; border-radius: 12px; margin: 0 0 24px; }

/* ---- 割合の表示（全件の集計。2026-11-26） ---- */
.rv-num small { font-size: 10px; color: var(--rv-sub, #6b6176); margin-left: 1px; }
.post_content .rv-row { grid-template-columns: minmax(0, 16em) 1fr 8.5em; }
@media (max-width: 599px) { .post_content .rv-row { grid-template-columns: 1fr auto; } }

/* 「こんな先生」の見出しの下に、編集部の感想であることを1行で */
.post_content .rv-intro-h { flex-wrap: wrap; }
.post_content .rv-intro-h small { flex-basis: 100%; padding-left: calc(18px + .45em); font-size: 11px; font-weight: 400; color: var(--rv-sub, #6b6176); }

/* ---- 各先生のボタン（占ってもらう・体験レポート）：横幅いっぱい、形と大きさをそろえる（2026-11-26 平良さん） ---- */
.post_content .rv-rank .swell-block-button { width: 100% !important; max-width: none; margin: 0 0 12px !important; --the-width: 100%; }
.post_content .rv-rank .swell-block-button .swell-block-button__link {
  display: flex; align-items: center; justify-content: center; gap: .4em; width: 100%; min-height: 56px; padding: 12px 20px; box-sizing: border-box;
  border-radius: 12px; font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; text-decoration: none; box-shadow: none; transform: none;
}
.post_content .rv-rank .swell-block-button .swell-block-button__link::before { content: none; }
.post_content .rv-rank .swell-block-button .swell-block-button__link::after { content: "›"; font-size: 20px; line-height: 1; margin-left: .2em; position: static; border: 0; width: auto; height: auto; transform: none; }
.post_content .rv-rank .swell-block-button.red_ .swell-block-button__link {
  background: linear-gradient(135deg, #e0456f, #c2264f); color: #fff; border: 2px solid #c2264f; box-shadow: 0 3px 0 #9d1c3f;
}
.post_content .rv-rank .swell-block-button.red_ .swell-block-button__link:hover { filter: brightness(1.05); }
.post_content .rv-rank .swell-block-button.green_ .swell-block-button__link {
  background: #fff; color: #5b1f8f; border: 2px solid #5b1f8f; box-shadow: 0 3px 0 #e3d8ef;
}
.post_content .rv-rank .swell-block-button.green_ .swell-block-button__link:hover { background: #f7f3fb; }
.post_content .rv-rank .swell-block-button .swell-block-button__link span { color: inherit; background: none; }
.post_content .rv-rank > .cap_box_content > p.has-text-align-center:empty { display: none; }

/* ---- ランキングの前の見出し（飾り見出しを、本文の h3 と同じ形に。2026-11-26） ---- */
.post_content .rv-rankhead {
  position: relative; margin: 0 0 24px; padding: 12px 14px 12px 42px; background: #f3eff8; border-left: 4px solid var(--color_main, #2c0751);
  border-radius: 0 8px 8px 0; font-size: 18px; font-weight: 700; color: #333; line-height: 1.5;
}
.post_content .rv-rankhead::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: #9731c8;
  -webkit-mask: url("icons/toc-bubble.svg") center / contain no-repeat; mask: url("icons/toc-bubble.svg") center / contain no-repeat;
}

/* ---- ランキングの外の「調査団が実際に鑑定した先生」（ピクシィの Claris 先生。2026-11-26） ---- */
.post_content .rv-extras { margin: 8px 0 32px; }
.post_content .rv-extra-lead { margin: -12px 0 20px; font-size: 13px; color: #6b6176; line-height: 1.7; }
.post_content .rv-rank.rv-extra { border-top-color: #1f7a4d; }
.post_content .rv-rank.rv-extra::before { content: "調査団が鑑定"; background: #1f7a4d; color: #fff; }
.post_content .rv-rank.rv-extra > .cap_box_ttl > .rv-extra-ttl {
  margin: 0; padding: 0; font-size: 17px; font-weight: 700; color: #333; line-height: 1.5;
}
.post_content .rv-rank.rv-extra > .cap_box_ttl > .rv-extra-ttl::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: #9731c8;
  -webkit-mask: url("icons/toc-bubble.svg") center / contain no-repeat; mask: url("icons/toc-bubble.svg") center / contain no-repeat;
}
.post_content .rv-rank .rv-extra-vh {
  position: relative; margin: 0; padding: 12px 14px 12px 40px; border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #2c0751, #5b1f8f); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4;
}
.post_content .rv-rank .rv-extra-vh::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: #fbe7ad;
  -webkit-mask: url("icons/toc-bubble.svg") center / contain no-repeat; mask: url("icons/toc-bubble.svg") center / contain no-repeat;
}
.post_content .rv-rank .rv-extra-vh + .rv-voice { border-radius: 0 0 12px 12px; }

/* 「調査団の鑑定レポート」「こんな先生」を見出し（h4・h5）にしたので、テーマの h4・h5 の飾り（余白・下線）を打ち消して前と同じ見た目に（2026-11-26） */
.post_content .rv-report h4.rv-rep-ttl, .post_content .rv-intro h4.rv-intro-h, .post_content .rv-intro h5.rv-intro-h {
  padding: 0; border: 0; border-image: none; background: none; box-shadow: none; letter-spacing: normal;
}
.post_content .rv-report h4.rv-rep-ttl::after, .post_content .rv-intro h4.rv-intro-h::after, .post_content .rv-intro h5.rv-intro-h::after { content: none; }
.post_content .rv-report h4.rv-rep-ttl::before { content: none; }
/* 「こんな先生」の注記（見出しの外。前は見出しの中の small） */
.post_content .rv-intro .rv-intro-sub { margin: -4px 0 8px; padding-left: calc(18px + .45em); font-size: 11px; font-weight: 400; color: var(--rv-sub, #6b6176); line-height: 1.5; }
.tf-vh, .post_content .tf-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- ランキングの前置きは、先生の見出し（h3 の帯）より一段軽い見た目に（2026-11-26 見出しの論理構造の点検。
   前は h3 と同じ薄紫の帯で、先生と同じ段に見えていた） ---- */
.post_content p.rv-rankhead {
  display: flex; align-items: center; gap: 12px; margin: 8px 0 20px; padding: 0; background: none; border: 0; border-radius: 0;
  font-size: 15px; font-weight: 700; color: var(--color_main, #2c0751); letter-spacing: .08em; text-align: center; justify-content: center;
}
.post_content p.rv-rankhead::before, .post_content p.rv-rankhead::after {
  content: ""; position: static; flex: 1; height: 1px; width: auto; margin: 0; background: linear-gradient(90deg, transparent, #c9a227);
  -webkit-mask: none; mask: none;
}
.post_content p.rv-rankhead::after { background: linear-gradient(90deg, #c9a227, transparent); }
