/* mochikomi Biz 体験デモ：デッキ側の装飾（実画面のCSSは stg-style.css / stg-app.css / stg-pages.css） */
/* 日本語フォントは Google Fonts の Noto Sans JP（index.html で読み込み） */

/* 実画面CSSが指定する和文・絵文字フォント：端末にあるものを使う */
@font-face { font-family: "Hiragino Kaku Gothic ProN"; src: local("Hiragino Kaku Gothic ProN"); }
@font-face { font-family: "ヒラギノ角ゴ ProN W4"; src: local("ヒラギノ角ゴ ProN W4"); }
@font-face { font-family: "YuGothic"; src: local("YuGothic"); }
@font-face { font-family: "Yu Gothic Medium"; src: local("Yu Gothic Medium"); }
@font-face { font-family: "游ゴシック体"; src: local("游ゴシック体"); }
@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic"); }
@font-face { font-family: "Hiragino Sans"; src: local("Hiragino Sans"); }
@font-face { font-family: "Meiryo"; src: local("Meiryo"); }
@font-face { font-family: "Figtree"; src: local("Figtree"); }
@font-face { font-family: "Apple Color Emoji"; src: local("Apple Color Emoji"); }
@font-face { font-family: "Segoe UI Emoji"; src: local("Segoe UI Emoji"); }
@font-face { font-family: "Segoe UI Symbol"; src: local("Segoe UI Symbol"); }
@font-face { font-family: "Noto Color Emoji"; src: local("Noto Color Emoji"); }
@font-face { font-family: "SFMono-Regular"; src: local("SFMono-Regular"); }

/* 色：実画面（提供者側の中のページ）の紺の淡いグラデーションを基調に、ピンクを差し色に */
html, body { margin: 0; width: 1920px; height: 1080px; overflow: hidden; background: #eef1fb; }
html body#body { padding: 0 !important; margin: 0 !important; background: #eef1fb !important; font-family: "Noto Sans JP", sans-serif; line-height: 1.5; }
#body .hfx-page, #body .hfx-page * { font-family: "Noto Sans JP", sans-serif; }
#root { position: absolute !important; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #eef1fb; }

/* ---------- 背景 ---------- */
.hfx-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: radial-gradient(1100px 700px at 86% -12%, rgba(221,141,211,.30) 0%, rgba(221,141,211,0) 62%),
              radial-gradient(1000px 700px at -6% 112%, rgba(0,25,158,.16) 0%, rgba(0,25,158,0) 62%),
              linear-gradient(180deg, #f6f7fd 0%, #e6eaf8 100%); }
.hfx-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,25,158,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,25,158,.045) 1px, transparent 1px);
  background-size: 64px 64px; }
.hfx-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: hfx-drift 18s ease-in-out infinite alternate; }
.hfx-orb.a { width: 520px; height: 520px; left: 1320px; top: -200px; background: #f2b6e9; }
.hfx-orb.b { width: 480px; height: 480px; left: -160px; top: 760px; background: #b9c5f5; animation-duration: 22s; }
@keyframes hfx-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.12); } }

/* ---------- 場面 ---------- */
.scene-frame { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; z-index: 1; perspective: 2200px; }
.scene-frame.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hfx { font-family: "Noto Sans JP", sans-serif; color: #141a3a; }

/* 進行バー */
.hfx-progress { position: absolute; left: 0; top: 0; height: 5px; width: 1920px; background: rgba(0,25,158,.08); z-index: 30; }
.hfx-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #DD8DD3, #b04fa3 55%, #00199E); }

/* 見出し帯 */
.hfx-top { position: absolute; left: 110px; right: 520px; top: 44px; height: 112px; display: flex; align-items: center; gap: 20px; }
.hfx-step { font-size: 21px; font-weight: 700; color: #3b4470; letter-spacing: .14em; white-space: nowrap; padding: 8px 18px; border: 1.5px solid rgba(0,25,158,.25); border-radius: 999px; background: rgba(255,255,255,.7); }
.hfx-role { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; border-radius: 999px; font-size: 24px; font-weight: 800; white-space: nowrap; color: #fff; }
.hfx-role.is-seller { background: linear-gradient(135deg, #d77bcb, #a43f98); box-shadow: 0 10px 26px rgba(164,63,152,.30); }
.hfx-role.is-buyer { background: linear-gradient(135deg, #2f4dff, #00199E); box-shadow: 0 10px 26px rgba(0,25,158,.28); }
.hfx-head { margin: 0; font-size: 44px; font-weight: 800; line-height: 1.3; letter-spacing: .01em; color: #141a3a; }

/* ブラウザ枠（上部を立場の色にする） */
.hfx-window { position: absolute; left: 110px; top: 176px; width: 1260px; height: 770px; border-radius: 20px; background: #fff; overflow: hidden;
  box-shadow: 0 40px 90px rgba(20,30,90,.22), 0 6px 18px rgba(20,30,90,.10); transform-origin: 50% 60%; border: 3px solid transparent; box-sizing: border-box; }
.hfx-window.is-seller { border-color: #d77bcb; }
.hfx-window.is-buyer { border-color: #2f4dff; }
.hfx-bar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 18px; box-sizing: border-box; }
.hfx-window.is-seller .hfx-bar { background: linear-gradient(90deg, #a43f98, #d77bcb); }
.hfx-window.is-buyer .hfx-bar { background: linear-gradient(90deg, #00199E, #2f4dff); }
.hfx-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.55); }
.hfx-who { margin-left: 14px; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .04em; white-space: nowrap; }
.hfx-url { margin-left: 18px; flex: 1; height: 26px; border-radius: 13px; background: rgba(255,255,255,.92); font-size: 14px; color: #3b4166; display: flex; align-items: center; padding: 0 14px; }
.hfx-viewport { position: relative; width: 1254px; height: 720px; overflow: hidden; background: #fff; }
.hfx-stage { position: absolute; left: 0; top: 0; width: 1440px; transform-origin: 0 0; background: #fff; }
.hfx-page { position: relative; width: 1440px; min-height: 900px; background: #fff; color: #222; }
.hfx-page .mk-wrapper.is-full > main.mk-main { padding-left: 48px !important; padding-right: 48px !important; box-sizing: border-box; }
.hfx-page .mk-header-menu a { color: #3b4166 !important; }

/* スポットライト */
.hfx-spot { position: absolute; left: 0; top: 0; width: 10px; height: 10px; z-index: 40; pointer-events: none; opacity: 0; border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(221,141,211,.95), 0 0 30px 8px rgba(221,141,211,.5), 0 0 0 4000px rgba(20,28,80,.32); }

/* カーソルとクリック */
.hfx-cursor { position: absolute; left: 0; top: 0; width: 40px; height: 40px; z-index: 50; pointer-events: none; }
.hfx-cursor svg { display: block; width: 36px; height: 36px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); transform-origin: 6px 4px; }
.hfx-ripple { position: absolute; left: -24px; top: -24px; width: 52px; height: 52px; border-radius: 50%; border: 4px solid #DD8DD3; opacity: 0; box-sizing: border-box; }

/* 添付される査定書 */
.hfx-file { position: absolute; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 12px; background: #fff; opacity: 0;
  box-shadow: 0 18px 40px rgba(20,30,90,.25); border: 1.5px solid #e2e6f5; font-size: 16px; font-weight: 700; color: #141a3a; white-space: nowrap; }
.hfx-file .ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 46px; border-radius: 6px; background: #e5484d; color: #fff; font-size: 12px; font-weight: 800; }
.hfx-file small { display: block; font-size: 12px; font-weight: 600; color: #6b7280; }
.hfx-attached { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #f4fff6; border: 1px solid #b7e4c2; font-size: 15px; font-weight: 700; color: #1f6b35; }
.hfx-attached .ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 36px; border-radius: 5px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 800; }

/* 字幕 */
.hfx-caption { position: absolute; left: 110px; top: 966px; width: 1260px; height: 76px; display: flex; align-items: center; justify-content: center; }
.hfx-caption span { display: inline-block; padding: 12px 34px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid rgba(0,25,158,.12);
  box-shadow: 0 12px 30px rgba(20,30,90,.12); font-size: 29px; font-weight: 700; color: #141a3a; letter-spacing: .02em; white-space: nowrap; }

/* 右側：誰の画面か（流れ図）と解説 */
.hfx-side { position: absolute; left: 1410px; top: 44px; width: 420px; height: 902px; }
.hfx-flowmap { padding: 22px 22px 18px; border-radius: 22px; background: rgba(255,255,255,.85); border: 1px solid rgba(0,25,158,.10); box-shadow: 0 18px 44px rgba(20,30,90,.10); box-sizing: border-box; }
.hfx-flowmap-title { font-size: 17px; font-weight: 800; color: #3b4470; letter-spacing: .12em; margin-bottom: 12px; }
.hfx-lanes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.hfx-lane-h { padding: 8px 6px; border-radius: 10px; text-align: center; font-size: 15px; font-weight: 800; color: #fff; line-height: 1.35; }
.hfx-lane-h.s { background: linear-gradient(135deg, #d77bcb, #a43f98); }
.hfx-lane-h.b { background: linear-gradient(135deg, #2f4dff, #00199E); }
.hfx-lane-row { display: contents; }
.hfx-node { margin-top: 9px; height: 40px; border-radius: 10px; display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 15px; font-weight: 700; color: #8a90ac; box-sizing: border-box; border: 1.5px dashed transparent; }
.hfx-node.on { color: #3b4470; background: #f2f4fb; border-color: #d7dcef; border-style: solid; }
.hfx-node.done { color: #3b4470; background: #f2f4fb; }
.hfx-node.done::before { content: "✓"; color: #2f9e57; font-weight: 800; }
.hfx-node.now { color: #fff; border: none; }
.hfx-node.now.s { background: linear-gradient(135deg, #d77bcb, #a43f98); box-shadow: 0 8px 20px rgba(164,63,152,.35); }
.hfx-node.now.b { background: linear-gradient(135deg, #2f4dff, #00199E); box-shadow: 0 8px 20px rgba(0,25,158,.35); }
.hfx-node.now::before { content: "▶"; font-size: 12px; }
.hfx-card { margin-top: 18px; padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid rgba(0,25,158,.10); box-shadow: 0 20px 50px rgba(20,30,90,.14); opacity: 0; box-sizing: border-box; }
.hfx-card .t { font-size: 25px; font-weight: 800; line-height: 1.5; color: #141a3a; }
.hfx-card .t b { color: #a43f98; font-weight: 800; font-size: inherit !important; }
.hfx-card .s { margin-top: 10px; font-size: 18px; line-height: 1.65; color: #4b5170; }
.hfx-card .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; color: #4b5170; }
.hfx-card .row span { font-size: 16px; white-space: nowrap; margin-right: 10px; }
.hfx-card .row strong { font-size: 40px; color: #00199E; font-weight: 800; white-space: nowrap; }
.hfx-demo-tag { position: absolute; left: 110px; bottom: 6px; margin: 0; font-size: 16px; color: #4b5170; }

/* ---------- 表紙・まとめ・CTA ---------- */
.hfx-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hfx-logo { width: 380px; height: auto; }
.hfx-eyebrow { margin: 36px 0 0; font-size: 26px; font-weight: 800; color: #a43f98; letter-spacing: .3em; }
.hfx-title { margin: 20px 0 0; font-size: 82px; font-weight: 800; line-height: 1.28; color: #141a3a; }
.hfx-title em { font-style: normal; font-size: inherit !important; font-weight: inherit !important; background: linear-gradient(90deg, #c45ab6, #a43f98 45%, #00199E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hfx-sub { margin: 26px 0 0; font-size: 30px; line-height: 1.7; color: #3b4166; }
.hfx-flow { margin-top: 54px; display: flex; align-items: center; gap: 20px; }
.hfx-chip { padding: 18px 30px; border-radius: 16px; background: #fff; border: 1px solid rgba(0,25,158,.1); font-size: 28px; font-weight: 800; box-shadow: 0 12px 30px rgba(20,30,90,.1); }
.hfx-chip.s { color: #a43f98; box-shadow: inset 0 -4px 0 #d77bcb, 0 12px 30px rgba(20,30,90,.1); }
.hfx-chip.b { color: #00199E; box-shadow: inset 0 -4px 0 #2f4dff, 0 12px 30px rgba(20,30,90,.1); }
.hfx-arrow { font-size: 32px; color: #5d6386; }
.hfx-cols { display: flex; gap: 48px; margin-top: 56px; }
.hfx-col { width: 700px; padding: 44px 48px; border-radius: 26px; text-align: left; background: #fff; border: 1px solid rgba(0,25,158,.1); box-shadow: 0 20px 50px rgba(20,30,90,.1); box-sizing: border-box; }
.hfx-col h3 { margin: 0; font-size: 34px; font-weight: 800; line-height: 1.4; }
.hfx-col.s h3 { color: #a43f98; } .hfx-col.b h3 { color: #00199E; }
.hfx-col ul { margin: 22px 0 0; padding: 0; list-style: none; }
.hfx-col li { position: relative; padding-left: 42px; margin-top: 18px; font-size: 27px; line-height: 1.55; color: #24294a; list-style: none; }
.hfx-col li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: #2f9e57; }
.hfx-small { margin: 32px 0 0; font-size: 20px; color: #4b5170; }
.hfx-ctas { display: flex; gap: 36px; margin-top: 56px; }
.hfx-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 500px; min-height: 240px; padding: 30px; border-radius: 28px; text-decoration: none; box-sizing: border-box; }
.hfx-cta .k { font-size: 22px; font-weight: 700; }
.hfx-cta .v { margin-top: 12px; font-size: 38px; font-weight: 800; line-height: 1.35; }
.hfx-cta .g { margin-top: 18px; font-size: 22px; font-weight: 700; }
.hfx-cta.main { background: linear-gradient(135deg, #d77bcb, #a43f98); color: #fff; box-shadow: 0 22px 60px rgba(164,63,152,.35); }
.hfx-cta.s { background: #fff; color: #a43f98; border: 2.5px solid #e7b3df; box-shadow: 0 16px 40px rgba(20,30,90,.08); }
.hfx-cta.b { background: #fff; color: #00199E; border: 2.5px solid #b8c2ee; box-shadow: 0 16px 40px rgba(20,30,90,.08); }
.hfx-hint { position: absolute; left: 0; right: 0; bottom: 40px; margin: 0; text-align: center; font-size: 22px; color: #3b4166; }
.hfx-tag { position: absolute; left: 44px; bottom: 26px; margin: 0; font-size: 18px; color: #4b5170; }
.hfx-start { margin-top: 44px; display: inline-flex; align-items: center; gap: 14px; padding: 20px 44px; border: none; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #d77bcb, #a43f98); color: #fff; font-family: "Noto Sans JP", sans-serif; font-size: 28px; font-weight: 800; box-shadow: 0 18px 44px rgba(164,63,152,.35); }

/* 音のボタン */
.hfx-sound { position: static; right: auto; bottom: auto; z-index: 100; display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid rgba(0,25,158,.25); background: rgba(255,255,255,.85); color: #24294a; font-family: "Noto Sans JP", sans-serif; font-size: 18px; font-weight: 700; cursor: pointer; }
.hfx-sound.is-on { background: linear-gradient(135deg, #d77bcb, #a43f98); color: #fff; border-color: transparent; }

/* ---------- 利用料の目安 ---------- */
.hfx-title.is-md { font-size: 64px; }
.hfx-formula { margin-top: 26px; display: flex; align-items: center; gap: 14px; font-size: 27px; font-weight: 800; color: #3b4166; }
.hfx-fx { padding: 10px 22px; border-radius: 14px; background: #fff; border: 1.5px solid rgba(0,25,158,.15); color: #00199E; box-shadow: 0 10px 24px rgba(20,30,90,.08); }
.hfx-x { color: #4b5170; }
.hfx-fee { margin-top: 30px; padding: 28px 34px; border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(20,30,90,.12); border: 1px solid rgba(0,25,158,.08); }
.hfx-fee-cap { margin: 0 0 16px; font-size: 21px; color: #3b4166; text-align: left; }
.hfx-fee-cap b { color: #00199E; }
.hfx-fee-table { border-collapse: separate; border-spacing: 0; font-size: 26px; }
.hfx-fee-table th, .hfx-fee-table td { padding: 13px 22px; text-align: center; border-bottom: 1px solid #e6e9f5; white-space: nowrap; }
.hfx-fee-table thead th { font-size: 22px; color: #fff; background: #00199E; }
.hfx-fee-table thead th:first-child { border-top-left-radius: 12px; }
.hfx-fee-table thead th:last-child { border-top-right-radius: 12px; }
.hfx-fee-table tbody th { text-align: left; font-size: 19px; color: #3b4166; line-height: 1.35; }
.hfx-fee-table td { font-weight: 800; color: #141a3a; }
.hfx-fee-table tr.inc td { color: #a43f98; }
.hfx-fee-table .hl { background: #fde9fa; }
.hfx-fee-table thead th.hl { background: #a43f98; }
.hfx-fee-pin { margin: 14px 0 0; font-size: 21px; font-weight: 800; color: #a43f98; text-align: right; opacity: 0; }
.hfx-fee-notes { margin: 24px 0 0; padding: 0; list-style: none; text-align: left; }
.hfx-fee-notes li { position: relative; padding-left: 24px; margin-top: 8px; font-size: 21px; color: #3b4166; list-style: none; }
.hfx-fee-notes li::before { content: "・"; position: absolute; left: 0; }

/* ---------- 商談成立後 ---------- */
.hfx-deal { margin-top: 44px; display: flex; align-items: center; gap: 28px; }
.hfx-party { width: 330px; padding: 28px 20px; border-radius: 24px; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: 0 18px 44px rgba(20,30,90,.18); }
.hfx-party.s { background: linear-gradient(135deg, #d77bcb, #a43f98); }
.hfx-party.b { background: linear-gradient(135deg, #2f4dff, #00199E); }
.hfx-party .lbl { font-size: 36px; font-weight: 800; }
.hfx-party .sub { font-size: 20px; font-weight: 700; }
.hfx-link { width: 420px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hfx-link-tag { padding: 8px 20px; border-radius: 999px; background: #fff; border: 1.5px solid rgba(0,25,158,.2); font-size: 20px; font-weight: 800; color: #00199E; }
.hfx-link-line { width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #d77bcb, #00199E); }
.hfx-link-cap { font-size: 21px; font-weight: 700; color: #3b4166; }
.hfx-rules { margin-top: 38px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.hfx-rule { display: flex; align-items: center; gap: 18px; padding: 16px 28px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(20,30,90,.08); font-size: 27px; color: #24294a; }
.hfx-rule p { margin: 0; }
.hfx-rule b { color: #a43f98; }
.hfx-rule .n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #00199E; color: #fff; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.hfx-disclaimer { margin: 26px 0 0; padding: 14px 24px; border-radius: 12px; background: #fff7e6; border: 1.5px solid #f5c26b; font-size: 22px; font-weight: 700; color: #6b4300; }

/* ---------- 前へ・次へ ---------- */
.hfx-nav { position: absolute; right: 40px; bottom: 74px; z-index: 100; display: flex; gap: 12px; align-items: center; }
.hfx-nav .hfx-sound { position: static; }
.hfx-navbtn { padding: 12px 24px; border-radius: 999px; border: 1.5px solid rgba(0,25,158,.25); background: #fff; color: #00199E; font-family: "Noto Sans JP", sans-serif; font-size: 19px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(20,30,90,.10); }
.hfx-navbtn.is-next { background: linear-gradient(135deg, #2f4dff, #00199E); color: #fff; border-color: transparent; }
.hfx-navbtn[disabled] { opacity: .35; cursor: default; }

/* ---------- 画面上の注釈（番号ピン） ---------- */
.hfx-pin { position: absolute; left: 0; top: 0; z-index: 46; display: flex; align-items: center; gap: 8px; pointer-events: none; opacity: 0; }
.hfx-pin .no { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #a43f98; color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 0 0 4px #fff, 0 6px 14px rgba(0,0,0,.25); flex-shrink: 0; }
.hfx-pin .lb { padding: 8px 14px; border-radius: 10px; background: #141a3a; color: #fff; font-size: 18px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* 実画面CSSの文字サイズ指定に負けないよう、デッキ側の文字サイズを固定 */
.hfx-formula span { font-size: 27px !important; }
.hfx-fee-cap, .hfx-fee-cap b { font-size: 21px !important; }
.hfx-fee-table th, .hfx-fee-table td { font-size: 26px !important; }
.hfx-fee-table thead th { font-size: 22px !important; }
.hfx-fee-table tbody th { font-size: 19px !important; }
.hfx-fee-pin { font-size: 22px !important; }
.hfx-rule p { font-size: 27px !important; line-height: 1.5; }
.hfx-rule b { font-size: inherit !important; }
.hfx-link-tag { font-size: 20px !important; }
.hfx-link-cap { font-size: 21px !important; }
.hfx-disclaimer { font-size: 22px !important; }
.hfx-lane-h small { display: block; font-size: 12px; font-weight: 700; opacity: .92; }
.hfx-node { height: 34px; margin-top: 6px; }
.hfx-flowmap { padding: 18px 20px 14px; }
.hfx-card { margin-top: 14px; padding: 20px 24px; }

/* 利用料の表：取引タイプのまとまり */
.hfx-fee-table th.grp { width: 92px; text-align: center !important; font-size: 22px !important; font-weight: 800; color: #fff !important; }
.hfx-fee-table th.grp small { display: block; font-size: 13px; font-weight: 700; }
.hfx-fee-table th.grp.buy { background: #a43f98; }
.hfx-fee-table th.grp.brk { background: #00199E; }
.hfx-fee-table tr.grp-top td, .hfx-fee-table tr.grp-top th { border-top: 2px solid #c9d0ec; }
.hfx-fee-table th, .hfx-fee-table td { padding: 10px 18px; }
.hfx-fee-table td { font-size: 24px !important; }

/* 提案の詳細（会社紹介・担当者・条件） */
.hfx-cmodal { position: absolute; inset: 0; z-index: 30; display: none; align-items: center; justify-content: center; background: rgba(20,28,80,.35); }
.hfx-cmodal.on { display: flex; }
.hfx-cpanel { width: 1040px; max-height: 820px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hfx-chead { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; border-bottom: 1px solid #e6e9f5; }
.hfx-cname { font-size: 26px; font-weight: 800; color: #00199E; }
.hfx-ctabs { display: flex; gap: 8px; }
.hfx-ctab { padding: 6px 14px; border-radius: 999px; border: 1.5px solid #d7dcef; font-size: 15px; font-weight: 700; color: #4b5170; }
.hfx-ctab.on { background: #00199E; border-color: #00199E; color: #fff; }
.hfx-cbody { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px 26px 26px; }
.hfx-cbox { border: 1px solid #e6e9f5; border-radius: 12px; padding: 16px 18px; }
.hfx-cbox h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: #4b5170; letter-spacing: .04em; }
.hfx-cbox p { margin: 0; font-size: 17px; line-height: 1.7; color: #222; }
.hfx-cbox.wide { grid-column: 1 / 3; }
.hfx-camt { display: flex; gap: 22px; align-items: baseline; }
.hfx-camt span { font-size: 15px; font-weight: 700; color: #4b5170; }
.hfx-camt b { font-size: 30px; font-weight: 800; color: #141a3a; }
.hfx-cfiles { display: flex; gap: 10px; flex-wrap: wrap; }
.hfx-cfile { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: #f5f7fc; font-size: 15px; font-weight: 700; color: #141a3a; }
.hfx-cfile i { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 30px; border-radius: 4px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 800; }
.hfx-cnote { grid-column: 1 / 3; font-size: 15px; color: #4b5170; }

.hfx-cmodal { z-index: 2000; }
.hfx-cpanel { width: 1180px; }
.hfx-cname { font-size: 30px !important; }
.hfx-ctab { font-size: 17px !important; }
.hfx-cbox h4 { font-size: 18px !important; }
.hfx-cbox p { font-size: 21px !important; line-height: 1.65; }
.hfx-camt span { font-size: 18px !important; }
.hfx-camt b { font-size: 36px !important; }
.hfx-cfile { font-size: 18px !important; }
.hfx-cnote { font-size: 17px !important; }

/* 提案詳細：実画面の部品をデモの枠内に収める */
.hfx-page .floating-negotiate-box { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; bottom: auto !important; top: auto !important; margin: 26px auto 0; width: 760px; transform: none !important; }
.hfx-page .floating-negotiate-box__inner p { font-size: 13px; line-height: 1.6; margin-top: 10px; }
.hfx-dfiles { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 18px; border: 1px solid #e6e9f5; border-radius: 12px; }
.hfx-dfiles-h { font-size: 16px; font-weight: 800; color: #4b5170; }
.hfx-ctitle { margin: 0 0 14px; text-align: center; font-size: 24px !important; font-weight: 800; color: #00199E; }
.hfx-csub { margin: 16px 0 8px; font-size: 18px !important; font-weight: 800; color: #141a3a; }
.hfx-ctable { width: 100%; border-collapse: collapse; }
.hfx-ctable th, .hfx-ctable td { border: 1px solid #e3e6f0; padding: 9px 14px; text-align: left; vertical-align: top; font-size: 16px !important; line-height: 1.6; }
.hfx-ctable th { width: 200px; background: #f5f7fc; color: #4b5170; font-weight: 700; }
.hfx-ctable td { color: #222; }
.hfx-cpanel { width: 1100px; padding: 24px 30px 28px; box-sizing: border-box; max-height: none; }
.hfx-cmodal { align-items: flex-start; padding-top: 30px; }
.hfx-done-note { margin-top: 10px; font-size: 15px; font-weight: 800; color: #2f9e57; text-align: center; }
.hfx-page .floating-negotiate-box .hfx-done-note { color: #fff !important; font-size: 17px !important; background: rgba(31,107,53,.85); border-radius: 8px; padding: 8px 12px; }

/* 表紙＝サムネイル（全面）。押すと再生開始。表紙では下のボタン類を出さない（2026-10-17 サムネイル適用） */
.hfx-thumbbtn { position: absolute; inset: 0; width: 1920px; height: 1080px; padding: 0; margin: 0; border: 0; background: #fff; cursor: pointer; z-index: 5; }
.hfx-thumbbtn img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hfx-thumbbtn:hover img { filter: brightness(1.03); }
body:has(#scene-cover.is-active) .hfx-nav, body:has(#scene-cover.is-active) .hfx-progress { display: none; }
