/* ===== SWELL との接続（このテンプレートのときだけ読み込まれる） ===== */
body { overflow-x: hidden; }
#main_visual, #sidebar, .l-sidebar { display: none !important; }
#content.l-content { display: block; padding-top: 0; }
.rf-root { display: block; width: 100%; max-width: none; }
.rf-fv { width: 100vw; margin-left: calc(50% - 50vw); }

/* 産業医への道：トップページ v2（本人のデザイン案 data/image-refs/top-design-2026-10-07.png を HTML/CSS で再現）
   幅で崩れないように、PC（1180px〜）→ 小さめのPC・タブレット横（960〜1179）→ タブレット（720〜959）→ スマホ（〜719）で
   同じ部品を並べ替える。文字はすべて HTML、絵は文字の無いイラスト（../../assets）。 */
.rf-root {
  --blue: #1E73BE; --blue-d: #165A97; --navy: #1F2A44; --ink: #26324A; --gray: #5B6578; --line: #E3E9F2;
  --sky: #F3F8FD; --white: #fff; --yellow: #F7D24A;
  --pink: #E8577A; --pink-bg: #FDEEF2; --teal: #2A9D8F; --green: #2E9E5B; --green-bg: #EAF6EE;
  --orange: #F39C32; --purple: #6B4FA8; --blue-bg: #EAF3FB;
  --r: 16px; --shadow: 0 6px 24px rgba(31, 42, 68, .08); --shadow-s: 0 2px 10px rgba(31, 42, 68, .07);
  --wrap: 1200px; --gut: 32px;
  --hand: "Yomogi", "Klee One", cursive; --script: "Caveat", cursive;
}
:where(.rf-root, .rf-root *) { box-sizing: border-box; }
.rf-root { margin: 0; color: var(--ink); background: var(--white); font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height: 1.7; overflow-x: hidden; }
:where(.rf-root) a { color: inherit; text-decoration: none; }
:where(.rf-root) img { display: block; max-width: 100%; }
.rf-wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.rf-ic { width: 1em; height: 1em; flex: none; }

/* ---------- header ---------- */
.rf-hd { position: relative; z-index: 3; background: var(--white); border-bottom: 1px solid var(--line); }
.rf-hd__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.rf-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.rf-logo__mark { width: 58px; height: 50px; }
.rf-logo__img { height: 46px; width: auto; }
.rf-logo .rf-logo__tag { padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.5; }
.rf-logo__txt { display: grid; line-height: 1.25; }
.rf-logo__name { font-size: 27px; font-weight: 900; color: var(--navy); letter-spacing: .04em; }
.rf-logo__tag { font-size: 12px; color: var(--gray); letter-spacing: .06em; }
.rf-nav { display: flex; gap: 26px; margin-left: auto; font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.rf-nav a:hover { color: var(--blue); }
.rf-hd__act { display: flex; align-items: center; gap: 14px; flex: none; }
.rf-round { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--navy); font-size: 18px; cursor: pointer; }
.rf-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 30px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .04em; box-shadow: 0 4px 12px rgba(30, 115, 190, .25); }
.rf-pill:hover { background: var(--blue-d); }
.rf-pill--lg { min-height: 52px; padding: 0 40px; font-size: 15px; }

/* ---------- first view ---------- */
.rf-fv { position: relative; overflow: hidden; background: linear-gradient(90deg, #fff 0%, var(--sky) 45%, #eef5fc 100%); }
/* 絵は中身の幅（最大1200px）に合わせる。画面が広くても絵の拡大率が変わらず、顔と手書きの言葉の位置関係がずれない */
.rf-fv__art { position: absolute; inset: 0; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, #000 90%, transparent 100%); }
.rf-fv__art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.rf-fv__art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 26%, rgba(255,255,255,0) 42%),
              linear-gradient(0deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 22%); }
.rf-fv__in { position: relative; display: grid; grid-template-columns: minmax(0, 41%) 1fr minmax(0, 17.5%); min-height: 510px;
  padding: 38px 0 56px; }
.rf-fv__text { grid-column: 1; align-self: center; position: relative; z-index: 1; }
.rf-fv__eyebrow { margin: 0 0 6px; color: var(--blue); font-weight: 700; font-size: 17px; letter-spacing: .06em; }
.rf-fv__ttl { margin: 0; color: var(--navy); font-weight: 900; font-size: clamp(44px, 5.4vw, 70px); line-height: 1.18; letter-spacing: .01em; }
.rf-fv__ttl .rf-blue { color: var(--blue); }
.rf-fv__hl { position: relative; display: inline-block; }
.rf-fv__hl::after { content: ""; position: absolute; left: -2%; right: -6%; bottom: .02em; height: .16em; border-radius: 99px; background: var(--yellow);
  transform: rotate(-2deg); z-index: -1; }
.rf-fv__lead { margin: 16px 0 0; font-size: 15px; line-height: 1.95; color: var(--ink); }
.rf-fv__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.rf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; white-space: nowrap; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .03em; transition: transform .15s, box-shadow .15s; }
.rf-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.rf-btn--main { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(30, 115, 190, .28); }
.rf-btn--sub { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.rf-fv__author { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; }
.rf-fv__author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-s); }
.rf-fv__author span { display: grid; line-height: 1.5; }
.rf-fv__author b { font-size: 15px; color: var(--navy); }
.rf-fv__author small { font-size: 12px; color: var(--gray); }

/* 手書きの言葉（男性と女性の頭の間〜右上） */
.rf-fv__hand { position: absolute; left: 65%; top: 15%; margin: 0; z-index: 1; color: var(--blue); font-family: var(--hand);
  font-size: 19px; line-height: 1.45; transform: rotate(-9deg); transform-origin: left top; text-shadow: 0 0 10px #fff, 0 0 4px #fff; }
.rf-fv__hand svg { display: block; width: 7.5em; height: auto; margin-top: -2px; }
.rf-fv__en { position: absolute; right: 18.5%; bottom: 17%; margin: 0; z-index: 1; color: var(--blue); font-family: var(--script); font-size: clamp(16px, 1.6vw, 23px);
  line-height: 1.15; text-align: right; transform: rotate(-9deg); text-shadow: 0 0 8px #fff; }

/* 右の浮いたカード */
.rf-fv__cards { grid-column: 3; align-self: center; display: grid; gap: 14px; margin: 0 0 40px; padding: 0; list-style: none; position: relative; z-index: 1; }
.rf-fv__cards li { display: flex; align-items: center; gap: 12px; padding: 14px 14px; border-radius: var(--r); background: rgba(255,255,255,.94);
  box-shadow: var(--shadow); font-size: 12px; line-height: 1.6; color: var(--ink); backdrop-filter: blur(4px); white-space: nowrap; }
.rf-ring { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--blue-bg); color: var(--blue); font-size: 26px; }
.rf-ring--green { background: var(--green-bg); color: var(--green); }

/* ---------- stats bar（FV に重なる） ---------- */
.rf-stats { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, .8fr) minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, 1.4fr); align-items: center;
  margin-top: -64px; padding: 20px 10px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.rf-stat { display: flex; align-items: center; gap: 14px; padding: 6px 18px; min-height: 64px; }
.rf-stat__sub, .rf-stat__lb, .rf-stat__lb2 { white-space: nowrap; }
.rf-stat + .rf-stat { border-left: 1px solid var(--line); }
.rf-stat__ic { color: var(--blue); font-size: 40px; display: grid; }
.rf-stat__lb, .rf-stat__lb2 { display: block; font-size: 13px; color: var(--gray); }
.rf-stat__lb2 { font-size: 14px; color: var(--ink); font-weight: 500; }
.rf-stat__num { display: block; font-size: 38px; font-weight: 900; color: var(--navy); line-height: 1.1; letter-spacing: .01em; }
.rf-stat__num small { font-size: 16px; font-weight: 700; margin-left: 2px; }
.rf-stat__sub { display: block; margin-top: 4px; font-size: 13px; color: var(--gray); }
.rf-stat--quote { border-left: none !important; padding: 0 6px 0 16px; }
.rf-stat--quote p { margin: 0; width: 100%; padding: 12px 16px; white-space: nowrap; border-radius: 12px; background: var(--sky); font-size: 13.5px; line-height: 1.75; color: var(--ink); }

/* ---------- sections ---------- */
.rf-sec { margin: 54px 0 0; }
.rf-sec__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; }
.rf-sec__ttl { margin: 0; font-size: clamp(21px, 2.1vw, 27px); font-weight: 900; color: var(--navy); line-height: 1.35; padding-left: 18px; border-left: 6px solid var(--blue); }
.rf-sec__more { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--blue); font-size: 13.5px; font-weight: 500; }
.rf-sec__sub { margin: 0; font-size: 13.5px; color: var(--gray); }

/* はじめての方へ：3枚のカード */
.rf-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rf-feat { position: relative; display: block; min-height: 210px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); isolation: isolate;
  transition: transform .15s, box-shadow .15s; }
.rf-feat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rf-feat--pink { background: linear-gradient(110deg, var(--pink-bg) 40%, #fff 100%); }
.rf-feat--blue { background: linear-gradient(110deg, var(--blue-bg) 40%, #fff 100%); }
.rf-feat--green { background: linear-gradient(110deg, var(--green-bg) 40%, #fff 100%); }
.rf-feat__art { position: absolute; inset: 0 0 0 30%; z-index: -1; }
.rf-feat__art img { width: 100%; height: 100%; object-fit: cover; object-position: 90% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.rf-feat__body { position: relative; display: grid; align-content: start; gap: 10px; width: 62%; padding: 22px 0 22px 20px; }
.rf-badge { justify-self: start; padding: 2px 14px; border-radius: 999px; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.rf-badge--pink { background: var(--pink); } .rf-badge--blue { background: var(--blue); } .rf-badge--green { background: var(--green); }
.rf-feat__ttl { font-size: clamp(19px, 1.95vw, 26px); font-weight: 900; color: var(--navy); line-height: 1.35; }
.rf-feat__ttl em { font-style: normal; color: #E0344F; font-size: 1.15em; }
.rf-feat__txt { font-size: 12.5px; color: var(--ink); line-height: 1.75; text-shadow: 0 0 6px rgba(255,255,255,.8); }
.rf-go { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--navy); font-size: 16px; box-shadow: var(--shadow-s); }
.rf-go--line { position: static; flex: none; width: 30px; height: 30px; font-size: 14px; border: 1px solid var(--line); box-shadow: none; color: var(--blue); }

/* いまの段階から選ぶ：5枚 */
.rf-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.rf-stage { --c: var(--blue); --cb: var(--blue-bg); display: grid; align-content: start; gap: 10px; padding: 16px 14px 14px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); border-top: 4px solid var(--c); box-shadow: var(--shadow-s); transition: transform .15s; }
.rf-stage:hover { transform: translateY(-2px); }
.rf-stage--teal { --c: var(--teal); --cb: #E6F5F3; } .rf-stage--blue { --c: var(--blue); --cb: var(--blue-bg); }
.rf-stage--orange { --c: var(--orange); --cb: #FEF1E2; } .rf-stage--green { --c: var(--green); --cb: var(--green-bg); }
.rf-stage--purple { --c: var(--purple); --cb: #F0ECF8; }
.rf-stage__top { display: flex; align-items: center; gap: 12px; }
.rf-stage__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--cb); color: var(--c); font-size: 28px; }
.rf-stage__label { display: flex; align-items: center; gap: 8px; color: var(--c); font-weight: 700; font-size: 13px; }
.rf-stage__no { padding: 0 9px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12px; line-height: 1.7; }
.rf-stage__ttl { font-size: 16px; font-weight: 900; color: var(--navy); line-height: 1.4; }
.rf-stage__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.rf-stage__txt { font-size: 12.5px; color: var(--ink); line-height: 1.7; }

/* 下の帯 */
.rf-banner { display: flex; align-items: center; gap: 20px; margin: 30px 0 0; padding: 22px 32px; border-radius: var(--r);
  background: linear-gradient(90deg, var(--sky), #F7FBFF); border: 1px solid #DCE8F5; }
.rf-banner__ic { color: var(--orange); font-size: 46px; display: grid; }
.rf-banner__txt { display: grid; gap: 4px; }
.rf-banner__txt b { font-size: clamp(16px, 1.6vw, 19px); color: var(--navy); }
.rf-banner__txt small { font-size: 13px; color: var(--gray); }
.rf-banner .rf-pill { margin-left: auto; }

/* 新着記事（デザイン案の下に続く部分） */
.rf-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rf-post { display: grid; gap: 8px; }
.rf-post img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-s); }
.rf-post__ttl { font-weight: 700; font-size: 14.5px; line-height: 1.55; color: var(--navy); }
.rf-post__date { font-size: 12px; color: var(--gray); }
.rf-disclosure { margin: 36px 0 40px; text-align: center; font-size: 12px; color: var(--gray); }
.rf-ft { background: var(--navy); color: #cfd6e4; font-size: 13px; padding: 24px 0; }

/* ロゴ横の一言は、横幅に余裕があるときだけ */
@media (max-width: 1359px) { .rf-logo .rf-logo__tag { display: none; } }

/* ---------- 960〜1179px：PC のまま全体を詰める ---------- */
@media (max-width: 1179px) {
  .rf-nav { gap: 16px; font-size: 12.5px; }
  .rf-logo__name { font-size: 23px; }
  .rf-logo__tag { display: none; }
  .rf-fv__in { grid-template-columns: minmax(0, 47%) 1fr; padding-bottom: 32px; }
  .rf-btn { padding: 0 22px; font-size: 14px; }
  .rf-fv__author small { font-size: 11.5px; }
  .rf-fv__hand { left: auto; right: 3%; top: 5%; transform-origin: right top; }
  .rf-fv__en { display: none; }
  /* 浮いたカードは FV の下に横一列 */
  .rf-fv__cards { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 70px; }
  /* 数字の帯：4つを横一列、引用は下の段 */
  .rf-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; }
  .rf-stat { padding: 6px 14px; gap: 10px; }
  .rf-stat__ic { font-size: 32px; }
  .rf-stat__num { font-size: 31px; }
  .rf-stat--quote { grid-column: 1 / -1; padding: 4px 8px 0; }
  .rf-stat--quote p { white-space: normal; text-align: center; }
  .rf-stat--quote p br { display: none; }
  .rf-feat__txt br, .rf-stage__txt br { display: none; }
  .rf-feat__body { width: 64%; }
}
@media (max-width: 1119px) { .rf-nav { display: none; } .rf-hd__act { margin-left: auto; } }

/* ---------- 720〜959px：タブレット ---------- */
@media (max-width: 959px) {
  .rf-root { --gut: 24px; }
  .rf-nav { display: none; }
  .rf-hd__act { margin-left: auto; }
  .rf-fv__in { grid-template-columns: minmax(0, 54%) 1fr; min-height: 0; }
  .rf-fv__art { left: 42%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 92%, transparent 100%); }
  .rf-fv__art img { object-position: 74% 18%; }
  .rf-fv__art::after { background: linear-gradient(0deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 25%); }
  /* 手書きの言葉は絵に重ねず、見出しの上に置く（スマホと同じ並び） */
  .rf-fv__hand { position: relative; left: auto; right: auto; top: auto; grid-column: 1; grid-row: 1; margin: 0 0 14px; font-size: 17px;
    transform: rotate(-3deg); transform-origin: left center; }
  .rf-fv__hand br { display: none; }
  .rf-fv__hand br:nth-of-type(2) { display: inline; }
  .rf-fv__hand br:nth-of-type(3) { display: none; }
  .rf-fv__hand svg { width: 70%; }
  .rf-fv__text { grid-row: 2; }
  .rf-fv__cards { grid-row: 3; }
  .rf-fv__en { display: none; }
  .rf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .rf-stat:nth-child(odd) { border-left: none; }
  .rf-stat:nth-child(2) { border-left: 1px solid var(--line); }
  .rf-stat:nth-child(3), .rf-stat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 14px; }
  .rf-stat--quote { grid-column: 1 / -1; padding: 6px 10px 0; }
  .rf-feats { grid-template-columns: 1fr; }
  .rf-feat { min-height: 180px; }
  .rf-feat__art { inset: 0 0 0 44%; }
  .rf-feat__body { width: 60%; }
  .rf-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rf-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 〜719px：スマホ（絵を上、文字を下に積む） ---------- */
@media (max-width: 719px) {
  .rf-root { --gut: 16px; }
  .rf-hd__in { min-height: 62px; gap: 10px; }
  .rf-logo__mark { width: 40px; height: 35px; }
  .rf-logo__img { height: 32px; }
  .rf-logo__name { font-size: 19px; }
  .rf-round { width: 36px; height: 36px; font-size: 16px; }
  .rf-hd__act { gap: 8px; }
  .rf-hd__act .rf-pill { min-height: 36px; padding: 0 14px; font-size: 12px; }
  /* 絵と文字を1枚に：縦長の絵の下側を白くぼかし、そこに見出しを重ねる。手書きは女性の頭上の窓に重ねる */
  .rf-fv { background: #fff; }
  .rf-fv__in { position: relative; display: flex; flex-direction: column; padding: 0 0 24px; }
  .rf-fv__art { position: relative; inset: auto; order: 0; aspect-ratio: 4 / 5; margin-inline: calc(var(--gut) * -1);
    -webkit-mask-image: none; mask-image: none; }
  .rf-fv__art img { object-position: 72% 0%; }
  .rf-fv__art::after { background: linear-gradient(180deg, rgba(255,255,255,0) 46%, rgba(255,255,255,.78) 64%, rgba(255,255,255,.96) 80%, #fff 92%); }
  .rf-fv__text { order: 1; position: relative; z-index: 1; margin-top: calc(-125vw * .34); }
  .rf-fv__eyebrow { font-size: 14px; text-shadow: 0 0 8px #fff, 0 0 3px #fff; }
  .rf-fv__ttl { font-size: clamp(38px, 11.5vw, 52px); text-shadow: 0 0 14px rgba(255,255,255,.9); }
  .rf-fv__lead { font-size: 14px; }
  .rf-fv__lead br { display: none; }
  .rf-fv__cta { flex-direction: column; }
  .rf-btn { width: 100%; }
  .rf-fv__hand { position: absolute; z-index: 1; top: 5vw; right: 4vw; left: auto; width: 34vw; margin: 0; text-align: left; font-size: clamp(13px, 3.7vw, 16px); line-height: 1.45;
    transform: rotate(-7deg); transform-origin: right top; text-shadow: 0 0 8px #fff, 0 0 3px #fff, 0 0 2px #fff; }
  .rf-fv__hand br, .rf-fv__hand br:nth-of-type(2), .rf-fv__hand br:nth-of-type(3) { display: inline; }
  .rf-fv__hand svg { width: 100%; }
  .rf-fv__cards { order: 3; }
  .rf-fv__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 20px 0 52px; }
  .rf-fv__cards li { flex-direction: column; text-align: center; gap: 8px; padding: 12px 4px; font-size: 10.5px; white-space: normal; word-break: keep-all; }
  .rf-ring { width: 40px; height: 40px; font-size: 21px; }
  .rf-stats { margin-top: -40px; padding: 10px 6px; }
  .rf-stat { padding: 8px 10px; gap: 8px; min-height: 0; }
  .rf-stat__ic { font-size: 26px; }
  .rf-stat__num { font-size: 26px; }
  .rf-stat__num small { font-size: 13px; }
  .rf-stat__lb, .rf-stat__lb2, .rf-stat__sub { font-size: 11.5px; }
  .rf-stat--quote p { font-size: 12.5px; }
  .rf-sec { margin-top: 40px; }
  .rf-sec__more { margin-left: 0; }
  .rf-feat { min-height: 156px; }
  .rf-feat__art { inset: 0 0 0 40%; }
  .rf-feat__body { width: 66%; padding: 16px 0 16px 16px; gap: 6px; }
  .rf-feat__txt br { display: none; }
  .rf-stages { grid-template-columns: 1fr; gap: 10px; }
  .rf-stage { grid-template-columns: auto 1fr; grid-template-areas: "icon label" "icon ttl" "row row"; column-gap: 12px; row-gap: 4px; }
  .rf-stage__top { display: contents; }
  .rf-stage__icon { grid-area: icon; align-self: center; }
  .rf-stage__label { grid-area: label; }
  .rf-stage__ttl { grid-area: ttl; }
  .rf-stage__row { grid-area: row; margin-top: 4px; }
  .rf-stage__txt br { display: none; }
  .rf-banner { flex-direction: column; text-align: center; padding: 22px 18px; gap: 12px; }
  .rf-banner .rf-pill { margin: 4px 0 0; width: 100%; }
  .rf-posts { grid-template-columns: 1fr; }
}

/* ===== テーマ版で足したもの ===== */
/* ボタンは白抜き（SWELL のリンク色に負けないように） */
.rf-root a.rf-btn--main, .rf-root a.rf-btn--main:hover, .rf-root a.rf-pill, .rf-root a.rf-pill:hover { color: #fff !important; }
.rf-root a.rf-btn--sub, .rf-root a.rf-btn--sub:hover, .rf-root a.rf-sec__more { color: var(--blue) !important; }
.rf-root a.rf-feat, .rf-root a.rf-stage, .rf-root a.rf-post { color: var(--ink); }
.rf-wrap { width: min(var(--wrap), 100%); margin-inline: auto; }
.rf-fv > .rf-wrap { width: min(var(--wrap), 100% - var(--gut) * 2); }
.rf-fv__ttl { margin: 0; }
.rf-root h2.rf-sec__ttl { background: none; color: var(--navy); }
.rf-root h2.rf-sec__ttl::before, .rf-root h2.rf-sec__ttl::after, .rf-root h2.rf-fv__ttl::before, .rf-root h2.rf-fv__ttl::after { content: none; }
.rf-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.rf-post { grid-template-columns: 40% 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; }
.rf-post img { grid-row: 1 / 3; }
.rf-post__ttl { font-size: 14px; }
.rf-more { margin: 24px 0 0; text-align: center; }
@media (max-width: 719px) {
  .rf-posts { grid-template-columns: 1fr; }
}
