/* 動画⑨ 返金・キャンセルのルール 専用の見た目。board.css の上に重ねる（STGのCSSの文字サイズ指定に負けないよう !important を付ける） */

/* ---------- 説明の場面 ---------- */
.bd-cast .bd-ci { width: 340px; }

.rf-time { margin-top: 56px; display: flex; gap: 0; position: relative; width: 1500px; }
.rf-time::before { content: ""; position: absolute; left: 90px; right: 90px; top: 22px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #2f4dff, #c7cbe3); }
.rf-tp { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rf-dot { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 6px solid #c7cbe3; box-sizing: border-box; }
.rf-tp.is-key .rf-dot { border-color: #2f4dff; background: #2f4dff; box-shadow: 0 0 0 10px rgba(47,77,255,.18); }
.rf-tp b { margin-top: 20px; font-size: 30px !important; font-weight: 800; color: #141a3a; }
.rf-tp.is-key b { color: #1f39d8; }
.rf-tp p { margin: 8px 0 0; font-size: 22px !important; color: #4b5170; }
.rf-rule-box { margin-top: 54px; padding: 26px 44px; border-radius: 22px; background: #fff; border: 2.5px solid #2f4dff; box-shadow: 0 18px 44px rgba(0,25,158,.12); }
.rf-rule-box b { display: block; font-size: 32px !important; font-weight: 800; color: #141a3a; }
.rf-rule-box span { display: block; margin-top: 8px; font-size: 22px !important; color: #4b5170; }

.rf-grid4 { margin-top: 50px; display: grid; grid-template-columns: repeat(2, 720px); gap: 26px 34px; }.rf-c { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 26px 34px 26px 120px; border-radius: 24px; background: #fff;
  box-shadow: 0 18px 44px rgba(20,30,90,.1); text-align: left; box-sizing: border-box; border: 2.5px solid transparent; }
.rf-c b { font-size: 30px !important; font-weight: 800; color: #141a3a; line-height: 1.4; }
.rf-c p { margin: 8px 0 0; font-size: 22px !important; color: #3b4166; line-height: 1.5; }
.rf-c.ng { border-color: #f2b8b0; }
.rf-c.ng i { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; border-radius: 50%; background: #fdecea; color: #c0392b;
  font-style: normal; font-size: 36px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rf-c .no { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; border-radius: 50%; color: #fff; font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; background: #8a90ac; }
.rf-c.ok { border-color: #9ed7b4; } .rf-c.ok .no { background: linear-gradient(135deg, #3fbf78, #1f7a45); }
.rf-c.ok2 { border-color: #d6d9ea; }
.rf-terms { margin-top: 34px !important; font-size: 24px !important; color: #3b4166; }
.rf-terms b { color: #1f39d8; }

.rf-wd { margin-top: 44px; display: flex; gap: 40px; }
.rf-wd-col { width: 700px; padding: 28px 34px 30px; border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(20,30,90,.1); text-align: left; box-sizing: border-box; }
.rf-wd-col.b { border: 2.5px solid #9fb0ff; } .rf-wd-col.s { border: 2.5px solid #e3a6dc; }
.rf-wd-h { display: flex; align-items: center; gap: 16px; }
.rf-wd-h img { width: 70px; height: 70px; max-width: none !important; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(20,30,90,.14); }
.rf-wd-h b { font-size: 30px !important; font-weight: 800; }
.rf-wd-col.b .rf-wd-h b { color: #1f39d8; } .rf-wd-col.s .rf-wd-h b { color: #a43f98; }
.rf-wd ul { margin: 18px 0 0; padding: 0; list-style: none; }
.rf-wd li { list-style: none; display: grid; grid-template-columns: 220px 1fr; align-items: baseline; gap: 4px 18px; padding: 16px 0; border-top: 1px dashed #d6d9ea; }
.rf-wd li span { font-size: 22px !important; color: #4b5170; font-weight: 700; }
.rf-wd li b { font-size: 32px !important; font-weight: 800; color: #141a3a; }
.rf-wd li small { grid-column: 2; font-size: 19px !important; color: #6b7090; }
.rf-note { margin-top: 30px !important; font-size: 23px !important; line-height: 1.7; color: #3b4166; }

.rf-ex { margin-top: 40px; max-width: 1400px; padding: 22px 34px; border-radius: 18px; background: #fff7e6; border: 1.5px solid #f5c26b; font-size: 26px !important; line-height: 1.6; color: #4a3200; text-align: left; }
.rf-ex b { display: inline-block; margin-right: 16px; padding: 2px 14px; border-radius: 999px; background: #f5c26b; color: #4a3200; font-size: 20px !important; }

.rf-who h3 { display: flex; align-items: center; gap: 14px; }
.rf-who h3::before { content: none !important; }
.rf-who h3 img { width: 58px; height: 58px; max-width: none !important; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(20,30,90,.14); }
.rf-who.b { border-color: #9fb0ff !important; } .rf-who.b h3 { color: #1f39d8 !important; }
.rf-who.s { border-color: #e3a6dc !important; } .rf-who.s h3 { color: #a43f98 !important; }

/* ---------- 実画面の再現（取得者側） ---------- */
.hfx-stage .rf-page { position: relative; }
.hfx-stage .rf-drawer { display: none; position: absolute; right: 150px; top: 84px; width: 260px; padding: 12px 0; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(20,30,90,.22); z-index: 30; }
.hfx-stage .rf-drawer.on { display: block; }
.hfx-stage .rf-drawer ul { margin: 0; padding: 0; list-style: none; }
.hfx-stage .rf-drawer li { list-style: none; padding: 9px 26px; font-size: 15px !important; font-weight: 700; color: #3b4166; }
.hfx-stage .rf-drawer li#dr-pay, .hfx-stage .rf-drawer li#dr-contact { color: #a43f98; }

.hfx-stage .rf-pay, .hfx-stage .rf-contact { max-width: 1040px; margin: 30px auto 60px; }
.hfx-stage .rf-pay .c-title, .hfx-stage .rf-contact .c-title { text-align: center; }
.hfx-stage .rf-stats { display: flex; gap: 24px; margin-top: 26px; }
.hfx-stage .rf-stat { flex: 1; padding: 18px 24px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(20,30,90,.07); }
.hfx-stage .rf-stat h3 { margin: 0 0 10px; font-size: 15px !important; font-weight: 800; color: #00199E; }
.hfx-stage .rf-stat > div { display: flex; gap: 24px; }
.hfx-stage .rf-stat p { flex: 1; margin: 0; }
.hfx-stage .rf-stat span { display: block; font-size: 13px !important; color: #6b7090; }
.hfx-stage .rf-stat b { display: block; margin-top: 4px; font-size: 24px !important; font-weight: 800; color: #141a3a; }
.hfx-stage .rf-stat small { font-size: 12px !important; color: #6b7090; }
.hfx-stage .rf-table { width: 100%; margin-top: 26px; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(20,30,90,.07); }
.hfx-stage .rf-table th { padding: 14px 18px; text-align: left; font-size: 14px !important; font-weight: 800; color: #00199E; background: #f3f4fb; }
.hfx-stage .rf-table td { padding: 16px 18px; font-size: 15px !important; border-top: 1px solid #eceef6; color: #141a3a; }
.hfx-stage .rf-table td.rf-pt { font-weight: 700; }
.hfx-stage .rf-table td.rf-py small { display: block; font-size: 12px !important; color: #6b7090; }

.hfx-stage .rf-form { margin-top: 30px; padding: 30px 60px 40px; border-radius: 16px; background: transparent; }
.hfx-stage .rf-fg { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; margin-top: 18px; }
.hfx-stage .rf-fg label { padding-top: 12px; font-size: 15px !important; font-weight: 800; color: #141a3a; }
.hfx-stage .rf-fg .required { color: #e57cb8; margin-left: 4px; font-size: 12px !important; }
.hfx-stage .rf-fg .c-form-input { width: 100%; max-width: 560px; height: 46px; padding: 0 16px; border: 1px solid #cfd3e3; border-radius: 4px; background: #fff; font-size: 15px !important; box-sizing: border-box; }
.hfx-stage .rf-fg .c-form-input.is-lock { background: #f2f2f4; color: #555; }
.hfx-stage .rf-fg textarea.c-form-input { height: 150px; padding: 12px 16px; line-height: 1.6; resize: none; }
.hfx-stage .rf-fnote { margin: 6px 0 0; font-size: 12px !important; color: #6b7090; }
.hfx-stage .rf-sel { position: relative; width: 260px; height: 46px; padding: 0 16px; border: 1px solid #cfd3e3; border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; font-size: 15px !important; }
.hfx-stage .rf-sel i { font-style: normal; color: #6b7090; }
.hfx-stage .rf-opts { display: none; position: absolute; left: -1px; top: 46px; width: 260px; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid #cfd3e3; box-shadow: 0 10px 24px rgba(20,30,90,.16); z-index: 20; }
.hfx-stage .rf-opts.on { display: block; }
.hfx-stage .rf-opts li { list-style: none; padding: 8px 16px; font-size: 15px !important; }
.hfx-stage .rf-opts li#opt-refund { background: #fde8fa; font-weight: 700; }
.hfx-stage .rf-confirm { margin-top: 36px; text-align: center; }
.hfx-stage .rf-confirm-btn { display: inline-block; width: 270px; padding: 12px 0; border-radius: 999px; background: #e08ad6; color: #fff; font-weight: 800; font-size: 15px !important; }

/* ---------- 点検後の調整（2026-10-16） ---------- */
.bd-cast .bd-ci small { white-space: nowrap; }
.rf-terms b { font-size: 24px !important; }
.rf-wd li { grid-template-columns: 250px 1fr; }
.rf-wd li span { white-space: nowrap; }
.hfx-stage .rf-page .seller-view-confirm { padding-top: 46px; }
.hfx-stage .rf-table tr { display: table-row !important; }
.hfx-stage .rf-table td, .hfx-stage .rf-table th { display: table-cell !important; }

/* ---------- 最後の画面（マニュアル用に統一、2026-10-16 高村さん指示） ---------- */
#scene-after .hfx-after { margin-top: 30px; }
#scene-after .bd-nx { text-decoration: none; color: inherit; cursor: pointer; }
.rf-end-btns { margin-top: 34px; display: flex; gap: 28px; justify-content: center; }
.rf-end-btn { width: 420px; padding: 20px 0; border-radius: 999px; border: 0; font: inherit; font-size: 26px !important; font-weight: 800; text-align: center; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, #2f4dff, #00199E); box-shadow: 0 12px 28px rgba(0,25,158,.25); text-decoration: none; }
.rf-end-btn + .rf-end-btn { background: linear-gradient(135deg, #d77bcb, #a43f98); box-shadow: 0 12px 28px rgba(164,63,152,.25); }
.rf-end-foot { margin-top: 26px !important; font-size: 18px !important; color: #6b7090; }
.rf-end-foot a { color: #4b5170; text-decoration: underline; cursor: pointer; }

/* 表示していない場面の要素がクリックを横取りしないように（動画④の不具合対策、2026-10-16） */
.scene-frame:not(.is-active), .scene-frame:not(.is-active) * { pointer-events: none !important; }
/* 2026-10-29 最後の画面の統一：関連する動画は、まとめの枠の外・ボタンの下に1列で置く */
#scene-after .hfx-after { justify-content: center; }
.end-relrow { margin-top: 24px; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 18px; }
.end-relrow-h { font-size: 19px; font-weight: 800; color: #4b5170; }
.end-relrow a.bd-nx { margin-top: 0; display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: #fff; border: 1px solid #e3e6f0; border-radius: 999px; text-decoration: none; color: inherit; cursor: pointer; }
.end-relrow a.bd-nx:hover { background: #f5f7fc; }
.end-relrow a.bd-nx p { font-size: 18px !important; white-space: nowrap; }
.end-relrow a.bd-nx p b { font-size: 19px !important; }
/* 「マニュアルに戻る」を主、「もう一度」は白い縁取り */
.rf-end-btn.is-sub { background: #fff; color: #a43f98; border: 2px solid #a43f98; box-shadow: none; }

/* ===================== 追加動画⑤ 利用料の払い方と「支払い管理」（2026-11-06） ===================== */
.hfx-stage .rf-drawer li#dr-company { color: #a43f98; }
/* 自社情報 */
.hfx-stage .py-co { max-width: 1000px; margin: 30px auto 60px; }
.hfx-stage .py-co .c-title, .hfx-stage .py-edit-page .c-title { text-align: center; }
.hfx-stage .py-box { margin-top: 24px; padding: 20px 28px 22px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(20,30,90,.07); }
.hfx-stage .py-box-h { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #eceef6; padding-bottom: 10px; }
.hfx-stage .py-box-h h3 { margin: 0; font-size: 17px !important; font-weight: 800; color: #00199E; }
.hfx-stage .py-edit { display: inline-block; padding: 7px 22px; border-radius: 999px; border: 1.5px solid #00199E; color: #00199E; font-size: 14px !important; font-weight: 800; background: #fff; }
.hfx-stage .py-dl { margin: 6px 0 0; }
.hfx-stage .py-dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f0f1f7; }
.hfx-stage .py-dl dt { font-size: 14px !important; font-weight: 700; color: #6b7090; }
.hfx-stage .py-dl dd { margin: 0; font-size: 15px !important; color: #141a3a; line-height: 1.6; }
/* 請求先情報の編集 */
.hfx-stage .py-edit-page { max-width: 1000px; }
.hfx-stage .py-radio { display: flex; gap: 28px; padding-top: 10px; }
.hfx-stage .py-rd { display: inline-flex; align-items: center; gap: 10px; font-size: 15px !important; font-weight: 700; color: #141a3a; }
.hfx-stage .py-rd i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9aa0bd; box-sizing: border-box; background: #fff; }
.hfx-stage .py-rd.on i { border: 6px solid #a43f98; }
.hfx-stage .py-group { margin-top: 22px; padding: 4px 22px 18px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(20,30,90,.06); }
.hfx-stage .py-group.is-refund { background: #fbf7ff; }
.hfx-stage .py-gh { margin: 14px 0 0; font-size: 15px !important; font-weight: 800; color: #00199E; }
.hfx-stage .py-group .rf-fg { margin-top: 12px; }
.hfx-stage .py-group .c-form-input { height: 40px; }
.hfx-stage .py-upd { background: #00199E; }

/* 説明の場面 */
.py-two { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 640px); gap: 40px; }
.py-way { position: relative; padding: 40px 40px 36px; border-radius: 28px; background: #fff; box-shadow: 0 18px 44px rgba(20,30,90,.1); text-align: left; border: 2.5px solid #d6d9ea; }
.py-way .no { position: absolute; left: 40px; top: -30px; width: 60px; height: 60px; border-radius: 50%; color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2f4dff, #00199E); }
.py-way.inv .no { background: linear-gradient(135deg, #d77bcb, #a43f98); }
.py-way .ic { font-size: 54px !important; line-height: 1; }
.py-way b { display: block; margin-top: 16px; font-size: 34px !important; font-weight: 800; color: #141a3a; }
.py-way p { margin: 12px 0 0; font-size: 23px !important; color: #3b4166; line-height: 1.6; }
.py-way small { display: block; margin-top: 16px; padding: 10px 16px; border-radius: 12px; background: #fff7e6; border: 1.5px solid #f5c26b; font-size: 20px !important; color: #4a3200; }
.py-flow { margin-top: 60px; display: flex; align-items: stretch; gap: 0; }
.py-fs { position: relative; width: 420px; padding: 30px 28px; border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(20,30,90,.1); text-align: center; }
.py-fs + .py-fs { margin-left: 70px; }
.py-fs + .py-fs::before { content: "▶"; position: absolute; left: -54px; top: 50%; transform: translateY(-50%); font-size: 34px; color: #9fb0ff; }
.py-fs span { display: block; font-size: 22px !important; color: #4b5170; font-weight: 700; }
.py-fs b { display: block; margin-top: 10px; font-size: 34px !important; font-weight: 800; color: #141a3a; }
.py-fs.is-key { border: 2.5px solid #2f4dff; } .py-fs.is-key b { color: #1f39d8; }
.py-ex { margin-top: 40px !important; padding: 18px 34px; border-radius: 18px; background: #fff7e6; border: 1.5px solid #f5c26b; font-size: 26px !important; color: #4a3200; }
.py-ex b { display: inline-block; margin-right: 16px; padding: 2px 14px; border-radius: 999px; background: #f5c26b; font-size: 20px !important; }
.py-links { margin-top: 30px; display: flex; gap: 20px; justify-content: center; }
.py-links span { padding: 12px 24px; border-radius: 999px; background: #fff; border: 1.5px solid #d6d9ea; font-size: 21px !important; color: #3b4166; }
.py-links span b { color: #1f39d8; }
.py-ex strong { font-size: 26px !important; font-weight: 800; color: #1f39d8; }
.py-links span b { font-size: 21px !important; font-weight: 800; }
.hfx-stage .rf-table td.rf-pt { text-align: left !important; }
.hfx-stage .py-edit-page .rf-form { margin-top: 0; padding-top: 10px; }

.hfx-stage .py-co .py-box { margin-top: 16px; padding: 14px 28px 14px; }
.hfx-stage .py-co .py-dl > div { padding: 8px 0; }
.hfx-stage .py-pw { margin: 10px 0 0; }
