/*
 * 私達のサービス LP — 中途採用レジュメ書類評価（desktop）
 * デザイン言語 = /service/ インデックスと同じ「The Threshold」
 * 明朝(Yu Mincho)×ゴシック(Yu Gothic)・マゼンタ #a40b5e・暗明リズム・しきい線/→・reveal。
 * 挿絵は実プロダクト(rg-resume-support)接地のUIモック（サンプル明示・ブランド色へ翻訳）。
 * 020_§3.6 ワイヤー準拠／フォーマット系=可能性の民主化トーン／確定コピー・ガードレール保全。
 */

:root {
    --rs-magenta: #a40b5e;
    --rs-magenta-dark: #7d0847;
    --rs-magenta-bright: #d4267e;
    --rs-ink: #1a1216;
    --rs-sub: #5d545b;
    --rs-line: #e3dad0;
    --rs-paper: #f5f1ea;
    --rs-paper-2: #efe9df;
    --rs-dark: #140c11;
    --rs-dark-2: #1f141b;
    --rs-mincho: "Yu Mincho", YuMincho, "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Noto Serif JP", serif;
    --rs-gothic: "Yu Gothic", YuGothic, "游ゴシック", "Hiragino Sans", "ヒラギノ角ゴシック", "Noto Sans JP", sans-serif;
    --rs-ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ===== モーション基盤 ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--rs-ease), transform 0.8s var(--rs-ease);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== ヒーロー（page-header 外殻は共通・明朝へ昇華） ===== */
/* 共通コンポーネントの margin-bottom:60px の隙間に固定背景(bg1.png)が覗くのを防ぐ。 */
.page-header { margin-bottom: 0; }
.page-header-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 50% 6%, rgba(164, 11, 94, 0.20) 0%, rgba(20, 6, 14, 0) 55%),
        linear-gradient(180deg, rgba(20, 6, 14, 0.42) 0%, rgba(20, 6, 14, 0.66) 100%);
    z-index: -1;
}
.page-header-content { padding: 0 24px; }
.rs-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #f4bcd6;
    font-family: var(--rs-gothic);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3em;
    margin: 0 0 22px;
}
.rs-hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: rgba(244, 188, 214, 0.7); }
.rs-hero-eyebrow .en { color: rgba(244, 188, 214, 0.7); letter-spacing: 0.2em; font-size: 11px; }
.page-header .rs-hero-main {
    font-family: var(--rs-mincho);
    color: #fff;
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.015em;
    text-align: center;
    margin: 0 0 24px;
    max-width: 960px;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.42);
}
.page-header .rs-hero-main em { font-style: normal; color: #ffd9ea; }
.page-header .rs-hero-lead {
    font-family: var(--rs-gothic);
    color: #f1e8ed;
    font-size: 16.5px;
    line-height: 1.95;
    text-align: center;
    margin: 0 auto 30px;
    max-width: 740px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.rs-scroll-cue {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-family: var(--rs-gothic);
    font-size: 10.5px;
    letter-spacing: 0.24em;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    z-index: 11;
    animation: rsBob 2.2s ease-in-out infinite;
}
@keyframes rsBob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ===== ボタン ===== */
.rs-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--rs-gothic);
    padding: 15px 30px;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    transition: transform 0.18s var(--rs-ease), box-shadow 0.18s var(--rs-ease), background-color 0.18s, color 0.18s;
}
.rs-btn .arr { transition: transform 0.2s var(--rs-ease); }
.rs-btn:hover .arr { transform: translateX(5px); }
.rs-btn--primary { background: var(--rs-magenta); color: #fff; box-shadow: 0 12px 28px rgba(164, 11, 94, 0.30); }
.rs-btn--primary:hover { background: var(--rs-magenta-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(164, 11, 94, 0.40); }
.rs-btn--ghost { background: transparent; color: var(--rs-ink); border: 1.5px solid rgba(26, 18, 22, 0.28); }
.rs-btn--ghost:hover { border-color: var(--rs-magenta); color: var(--rs-magenta-dark); transform: translateY(-2px); }
.rs-btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.65); }
.rs-btn--ghost-light:hover { background: #fff; color: var(--rs-magenta-dark); border-color: #fff; transform: translateY(-2px); }

/* ===== 本体共通 ===== */
.rs-page {
    text-align: left; /* 新世代スコープの基準（祖先の center 継承を遮断） */
    position: relative;
    z-index: 1;
    background: var(--rs-paper);
    color: var(--rs-ink);
    font-family: var(--rs-gothic);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.rs-section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.rs-container { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 40px; }

.rs-eyebrow {
    display: inline-flex; align-items: baseline; gap: 14px;
    font-family: var(--rs-gothic);
    font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
    color: var(--rs-magenta);
    margin: 0 0 20px;
}
.rs-eyebrow::before { content: ""; align-self: center; width: 30px; height: 2px; background: var(--rs-magenta); }
.rs-eyebrow .en { color: #b9a7b1; font-weight: 600; font-size: 11px; letter-spacing: 0.16em; }
.rs-eyebrow--ondark { color: #f4bcd6; }
.rs-eyebrow--ondark::before { background: #f4bcd6; }
.rs-eyebrow--ondark .en { color: rgba(244, 188, 214, 0.6); }

.rs-section-title {
    font-family: var(--rs-mincho);
    font-size: clamp(26px, 3.4vw, 42px);
    font-weight: 600;
    line-height: 1.5;
    color: var(--rs-ink);
    margin: 0 0 clamp(36px, 4vw, 54px);
}
.rs-section-title--light { color: #fff; }
.rs-section-title em { font-style: normal; color: var(--rs-magenta-dark); }

.rs-ghost {
    position: absolute;
    font-family: var(--rs-mincho); font-weight: 700; line-height: 0.8;
    color: rgba(26, 18, 22, 0.04);
    pointer-events: none; user-select: none; z-index: 0; white-space: nowrap;
}
.rs-ghost--ondark { color: rgba(255, 255, 255, 0.045); }

.rs-note { font-size: 13.5px; line-height: 1.85; color: #8a828a; margin: 22px 0 0; max-width: 820px; }
.rs-note--ondark { color: #9c9098; }

/* ===== 0. グリンプス（スコアカード mock） ===== */
.rs-glimpse { background: var(--rs-paper); }
.rs-glimpse-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.rs-glimpse-title {
    font-family: var(--rs-mincho);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 600; line-height: 1.45; color: var(--rs-ink);
    margin: 0 0 20px;
}
.rs-glimpse-title em { font-style: normal; color: var(--rs-magenta-dark); }
.rs-glimpse-lead { font-size: 16px; line-height: 2; color: var(--rs-sub); margin: 0 0 24px; }
.rs-note { display: inline; }
.rs-glimpse-lead .rs-note { display: inline; color: #9a8f96; font-size: 13px; }
.rs-glimpse-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rs-glimpse-points li {
    position: relative; padding-left: 28px;
    font-size: 14.5px; line-height: 1.7; color: var(--rs-ink); font-weight: 500;
}
.rs-glimpse-points li::before {
    content: "→"; position: absolute; left: 0; top: 0;
    color: var(--rs-magenta); font-weight: 700;
}

/* ===== 製品モック共通 ===== */
.rs-mock {
    position: relative;
    background: #fff;
    border: 1px solid var(--rs-line);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(31, 18, 28, 0.12);
    margin: 0;
    overflow: hidden;
}
.rs-mock-cap {
    display: flex; align-items: center; gap: 9px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--rs-line);
    background: var(--rs-paper-2);
    font-size: 12.5px; font-weight: 700; color: var(--rs-ink); letter-spacing: 0.02em;
}
.rs-mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rs-magenta); box-shadow: 14px 0 0 -2px #d8ccd3, 28px 0 0 -2px #d8ccd3; margin-right: 22px; }
.rs-mock-sample { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--rs-magenta-dark); background: rgba(164, 11, 94, 0.10); padding: 3px 10px; border-radius: 999px; }

/* スコアカード */
.rs-mock--score { padding-bottom: 22px; }
.rs-score-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px 16px; }
.rs-score-id { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.rs-mask--name {
    align-self: flex-start;
    background: repeating-linear-gradient(45deg, #2a2230, #2a2230 5px, #352a39 5px, #352a39 10px);
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 16px; border-radius: 4px;
    font-size: 12px; letter-spacing: 0.3em;
}
.rs-score-sub { font-size: 12.5px; color: var(--rs-sub); }
.rs-mask-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.rs-mask-tag { background: #f0e6ec; color: var(--rs-magenta-dark); border-radius: 999px; padding: 2px 9px; font-size: 10.5px; font-weight: 700; }
.rs-score-rank { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rs-rank {
    font-family: var(--rs-mincho); font-size: 40px; font-weight: 600; line-height: 1;
    color: #fff; background: var(--rs-magenta);
    width: 56px; height: 56px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px rgba(164, 11, 94, 0.30);
}
.rs-score-total { font-family: var(--rs-mincho); font-size: 30px; font-weight: 600; color: var(--rs-ink); }
.rs-score-total small { font-size: 14px; color: #9a8f96; font-weight: 400; }
.rs-bars { list-style: none; margin: 0; padding: 4px 24px 0; display: flex; flex-direction: column; gap: 13px; }
.rs-bars li { display: grid; grid-template-columns: 116px 1fr 34px; align-items: center; gap: 14px; }
.rs-bar-label { font-size: 13px; color: var(--rs-sub); font-weight: 600; }
.rs-bar { height: 8px; background: #ece4e9; border-radius: 999px; overflow: hidden; }
.rs-bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--rs-magenta), var(--rs-magenta-bright)); }
.rs-bar-val { font-size: 13px; font-weight: 700; color: var(--rs-ink); text-align: right; }
.rs-reason { margin: 20px 24px 0; padding: 14px 16px; background: var(--rs-paper-2); border-left: 3px solid var(--rs-magenta); border-radius: 6px; font-size: 13px; line-height: 1.8; color: var(--rs-ink); }
.rs-reason-label { display: inline-block; margin-right: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; color: #fff; background: var(--rs-magenta); padding: 2px 9px; border-radius: 999px; vertical-align: middle; }
.rs-reason strong { color: var(--rs-magenta-dark); }

/* ===== 2. 二段オープニング ===== */
.rs-opening { background: var(--rs-paper-2); overflow: hidden; }
.rs-opening .rs-ghost { top: -6px; right: -8px; font-size: clamp(110px, 16vw, 220px); }
.rs-statement {
    font-family: var(--rs-mincho);
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 600; line-height: 1.55; color: var(--rs-ink);
    margin: 0 0 22px; max-width: 940px;
}
.rs-lead { font-size: 16px; line-height: 2; color: var(--rs-sub); margin: 0 0 32px; max-width: 820px; }
.rs-pain-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rs-pain-list li {
    position: relative;
    background: #fff; border: 1px solid var(--rs-line); border-radius: 10px;
    padding: 20px 22px 20px 58px;
    font-size: 14.5px; line-height: 1.8; color: var(--rs-ink);
}
.rs-pain-no {
    position: absolute; left: 20px; top: 18px;
    font-family: var(--rs-mincho); font-size: 18px; font-weight: 600; color: var(--rs-magenta); opacity: 0.5;
}
/* flex はテキストノードと strong が別カラムに分裂するため block＋inline-block 罫線で組む */
.rs-cost { display: block; font-size: 16px; line-height: 1.85; color: var(--rs-ink); margin: 0; max-width: 900px; }
.rs-cost-line { display: inline-block; vertical-align: middle; margin-right: 16px; width: 40px; height: 2px; background: var(--rs-magenta); }
.rs-cost strong { color: var(--rs-magenta-dark); font-weight: 700; }

/* ===== 3. 解決・提供価値 ===== */
.rs-solution { background: var(--rs-paper); }
.rs-vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rs-solution .rs-vcard {
    width: auto; max-width: none; /* グローバル article{width:100vw} 無効化 */
    position: relative;
    background: #fff; border: 1px solid var(--rs-line); border-radius: 14px;
    padding: 32px 28px;
    transition: transform 0.18s var(--rs-ease), box-shadow 0.18s var(--rs-ease), border-color 0.18s;
}
.rs-vcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31, 18, 28, 0.10); border-color: #dcc8d4; }
.rs-vcard-ic { display: inline-flex; width: 46px; height: 46px; color: var(--rs-magenta); }
.rs-vcard-ic svg { width: 100%; height: 100%; }
.rs-vcard-no { position: absolute; top: 26px; right: 28px; font-family: var(--rs-mincho); font-size: 22px; font-weight: 600; color: var(--rs-magenta); opacity: 0.32; }
.rs-vcard h3 { font-size: 19px; font-weight: 800; margin: 16px 0 12px; color: var(--rs-ink); }
.rs-vcard p { font-size: 14.5px; line-height: 1.9; color: var(--rs-sub); margin: 0; }
.rs-vcard p small { display: block; margin-top: 8px; font-size: 12px; color: #9a8f96; }
.rs-vcard strong { color: var(--rs-magenta-dark); }
.rs-guard { font-size: 13.5px; line-height: 1.85; color: #8a828a; margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--rs-line); }
.rs-cta-inline { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.rs-cta-inline--center { justify-content: center; }

/* ===== 4. 方法論（ダーク・製品ショーケース＋ミニモック） ===== */
.rs-method { background: var(--rs-dark); color: #fff; overflow: hidden; }
.rs-method .rs-ghost { bottom: -24px; left: -6px; font-size: clamp(120px, 18vw, 240px); }
.rs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rs-method .rs-step {
    width: auto; max-width: none; /* article 幅罠対策 */
    display: flex; flex-direction: column;
    background: #fff; color: var(--rs-ink);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.30);
}
.rs-step-head { padding: 24px 24px 0; }
.rs-step-label {
    display: inline-block; margin-bottom: 14px;
    padding: 5px 16px; border-radius: 999px;
    background: var(--rs-magenta); color: #fff;
    font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
}
.rs-step-head h3 { font-size: 17px; font-weight: 800; margin: 0; color: var(--rs-ink); line-height: 1.5; }
.rs-step > p { font-size: 13.5px; line-height: 1.85; color: var(--rs-sub); margin: 12px 0 18px; padding: 0 24px; }
.rs-step .rs-mock { margin: 0 18px 18px; box-shadow: none; border-color: var(--rs-line); border-radius: 10px; background: var(--rs-paper); }

/* 見ない: マスキング mock */
.rs-mock--mask { padding: 16px 16px; }
.rs-mask-rows { display: flex; flex-direction: column; gap: 9px; }
.rs-mask-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; }
.rs-mask-k { font-size: 12px; color: var(--rs-sub); font-weight: 600; }
.rs-mask-bar { height: 16px; border-radius: 4px; background: repeating-linear-gradient(45deg, #2a2230, #2a2230 5px, #352a39 5px, #352a39 10px); }
.rs-mask-bar--photo { height: 30px; width: 30px; flex: none; }
.rs-mask-row--keep .rs-mask-keep {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--rs-magenta-dark); font-size: 12.5px; font-weight: 700;
}
.rs-mask-row--keep .rs-mask-keep::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--rs-magenta); color: #fff; font-size: 10px; }

/* 見る: 評価軸 mock */
.rs-mock--criteria { padding: 16px 18px; display: flex; flex-direction: column; gap: 11px; }
.rs-crit-row { display: grid; grid-template-columns: 84px 1fr 58px; align-items: center; gap: 10px; }
.rs-crit-row i { font-style: normal; font-size: 12px; color: var(--rs-ink); font-weight: 600; }
.rs-crit-bar { height: 7px; background: #ece4e9; border-radius: 999px; overflow: hidden; }
.rs-crit-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--rs-magenta), var(--rs-magenta-bright)); }
.rs-crit-row b { font-size: 11.5px; font-weight: 700; color: var(--rs-sub); text-align: right; }
.rs-crit-foot { font-size: 11px; color: #9a8f96; margin-top: 4px; }

/* 見せる: 根拠 mock */
.rs-mock--reason { padding: 16px 18px; }
.rs-reason-row { margin-bottom: 10px; }
.rs-reason-score { display: inline-block; font-size: 12px; color: var(--rs-sub); font-weight: 600; }
.rs-reason-score strong { font-family: var(--rs-mincho); font-size: 18px; color: var(--rs-magenta-dark); margin-left: 4px; }
.rs-reason-body { font-size: 12.5px; line-height: 1.75; color: var(--rs-ink); margin: 0 0 8px; }
.rs-reason-body--flag { color: var(--rs-magenta-dark); }
.rs-reason-body--flag strong { color: var(--rs-magenta-dark); }
.rs-reason-foot { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--rs-magenta-dark); background: rgba(164, 11, 94, 0.10); padding: 2px 9px; border-radius: 999px; }

/* 運用フロー */
.rs-flow { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin: clamp(34px, 4vw, 50px) 0 0; }
.rs-flow-step {
    flex: 1 1 0; min-width: 150px;
    display: flex; flex-direction: column; gap: 10px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px; padding: 18px 18px;
}
.rs-flow-step b { font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.5; }
.rs-flow-step--final { background: rgba(212, 38, 126, 0.14); border-color: rgba(212, 38, 126, 0.5); }
.rs-flow-who { align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 2px 11px; border-radius: 999px; }
.rs-flow-who--human { background: var(--rs-magenta); color: #fff; }
.rs-flow-who--ai { background: transparent; color: #d8ccd3; border: 1px solid rgba(255, 255, 255, 0.4); }
.rs-flow-arrow { align-self: center; color: var(--rs-magenta-bright); font-size: 20px; font-weight: 700; }

/* ===== 5. 信頼（紙・倫理パネル） ===== */
.rs-trust { background: var(--rs-paper); }
.rs-tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rs-tcard { background: #fff; border: 1px solid var(--rs-line); border-radius: 14px; padding: 30px 28px; }
.rs-tcard-no { display: block; font-family: var(--rs-mincho); font-size: 22px; font-weight: 600; color: var(--rs-magenta); opacity: 0.4; margin-bottom: 12px; }
.rs-tcard h3 { font-size: 18px; font-weight: 800; margin: 0 0 12px; color: var(--rs-ink); }
.rs-tcard p { font-size: 14.5px; line-height: 1.9; color: var(--rs-sub); margin: 0; }
.rs-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #f0e6ec; color: var(--rs-magenta-dark); font-size: 10.5px; font-weight: 700; vertical-align: middle; }

.rs-ethics { margin: 36px 0 0; background: #fff; border: 1.5px solid var(--rs-magenta); border-radius: 16px; padding: 34px 36px; }
.rs-ethics-title { font-size: 18px; font-weight: 800; color: var(--rs-magenta-dark); margin: 0 0 18px; display: flex; align-items: center; }
.rs-ethics-title::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 11px; border-radius: 50%; background: var(--rs-magenta); color: #fff; font-size: 13px; flex-shrink: 0; }
.rs-ethics-list { margin: 0 0 16px; padding-left: 22px; columns: 2; column-gap: 40px; }
.rs-ethics-list li { font-size: 14.5px; line-height: 1.85; color: var(--rs-ink); margin-bottom: 9px; break-inside: avoid; }
.rs-ethics-list strong { color: var(--rs-magenta-dark); }
.rs-ethics-note { font-size: 13.5px; line-height: 1.85; color: var(--rs-sub); margin: 0; padding-top: 16px; border-top: 1px dashed var(--rs-line); }
.rs-ethics-note strong { color: var(--rs-magenta-dark); }

/* ===== 7. CTA（マゼンタ） ===== */
.rs-cta {
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(135deg, #2a0a1a 0%, var(--rs-magenta-dark) 52%, var(--rs-magenta) 120%);
    color: #fff; overflow: hidden; text-align: center;
}
.rs-cta .rs-ghost { top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(140px, 22vw, 300px); color: rgba(255, 255, 255, 0.06); }
.rs-cta-inner { max-width: 880px; margin: 0 auto; position: relative; }
.rs-cta-flag {
    display: inline-flex; align-items: center; gap: 16px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px;
}
.rs-cta-flag::before, .rs-cta-flag::after { content: ""; width: 30px; height: 1px; background: rgba(255, 255, 255, 0.5); }
.rs-cta-title { font-family: var(--rs-mincho); font-size: clamp(24px, 3.2vw, 40px); font-weight: 600; line-height: 1.5; color: #fff; margin: 0 0 18px; }
.rs-cta-lead { font-size: 16px; line-height: 1.9; color: #f4e2ec; margin: 0 0 34px; }
.rs-cta-lead strong { color: #fff; }
.rs-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.rs-cta .rs-btn--primary { background: #fff; color: var(--rs-magenta-dark); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); }
.rs-cta .rs-btn--primary:hover { background: var(--rs-ink); color: #fff; }
.rs-cta-fine { font-size: 12.5px; color: #e7cdda; margin: 26px 0 0; }

/* ===== グローバルCSS（desktop/top.css）漏れの打ち消し ===== */
/* `.desktop-device h1,h2,h3 { text-align:center }` が編集的レイアウトの見出しを中央寄せにするため左へ戻す */
.rs-page .rs-section-title,
.rs-page .rs-statement,
.rs-page .rs-glimpse-title,
.rs-page .rs-vcard h3,
.rs-page .rs-step-head h3,
.rs-page .rs-tcard h3,
.rs-page .rs-ethics-title {
    text-align: left;
}
.rs-page .rs-cta-title { text-align: center; }
/* `.desktop-device p/div { text-align:left }` が中央であるべきヒーロー・CTAを左寄せにするため固定 */
.page-header .rs-hero-lead { text-align: center !important; }
.rs-page .rs-cta-inner { text-align: center !important; }
.rs-page .rs-cta-flag,
.rs-page .rs-cta-lead,
.rs-page .rs-cta-fine { text-align: center !important; }

/* ===== レスポンシブ（狭幅デスクトップ） ===== */
@media (max-width: 1000px) {
    .rs-glimpse-grid { grid-template-columns: 1fr; }
    .rs-vcards, .rs-steps, .rs-tcards { grid-template-columns: 1fr; }
    .rs-pain-list { grid-template-columns: 1fr; }
    .rs-ethics-list { columns: 1; }
    .rs-flow-step { flex-basis: 100%; }
    .rs-flow-arrow { transform: rotate(90deg); align-self: center; }
}
