/* ご契約確認・解約手続きと、解約・返金・データ保持規約のモーダル（管理運営モード画面・公式HP 共通） */
.icx-bg { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(10, 20, 40, 0.55); }
.icx-bg[hidden] { display: none !important; }
.icx { width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 16px; background: #fff; color: #1e2c45; box-shadow: 0 24px 70px rgba(6, 15, 32, 0.45); font-size: 14px; line-height: 1.75; outline: none; }
.icx__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #1e2c45; color: #fff; }
.icx__head h2 { margin: 0; font-size: 17px; }
.icx__x { font: inherit; width: 34px; height: 34px; border: 0; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, 0.14); cursor: pointer; }
.icx__body { padding: 14px 20px 20px; }
.icx__lead { margin: 0 0 6px; font-weight: 800; }
.icx__mode { margin: 0 0 10px; padding: 6px 10px; border-radius: 8px; background: #fff7e0; color: #6b4a00; font-size: 13px; }
.icx h3 { margin: 16px 0 6px; font-size: 15px; color: #1e2c45; border-left: 4px solid #2c63b5; padding-left: 8px; }
.icx__tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.icx__tbl th, .icx__tbl td { border: 1px solid #d9dee8; padding: 7px 10px; vertical-align: top; text-align: left; }
.icx__tbl th { width: 130px; background: #f2f5fa; white-space: nowrap; }
.icx__list { margin: 0; padding-left: 20px; font-size: 13.5px; }
.icx__list li { margin: 4px 0; }
.icx__list b, .icx__tbl b { color: #b0122a; }
.icx__ack { display: flex; align-items: flex-start; gap: 6px; margin: 16px 0 10px; padding: 8px 10px; border-radius: 8px; background: #f2f5fa; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.icx__ack input { margin-top: 5px; }
.icx__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.icx__pick { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.icx__pick[hidden] { display: none; }
.icx-btn { font: inherit; font-weight: 800; font-size: 14px; padding: 10px 14px; border-radius: 10px; border: 0; cursor: pointer; }
.icx-btn--export { background: #e8f0fb; color: #1f4f96; box-shadow: inset 0 0 0 1px #b9cdee; }
.icx-btn--sub { font-size: 13px; padding: 7px 12px; background: #fff; color: #1f4f96; box-shadow: inset 0 0 0 1px #b9cdee; }
.icx-btn--danger { background: linear-gradient(180deg, #e2384c, #b81d31); color: #fff; box-shadow: 0 3px 10px rgba(184, 29, 49, 0.35); }
.icx-btn:disabled { opacity: 0.6; cursor: default; }
.icx__msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #eef4ff; color: #1e2c45; font-weight: 700; }
.icx__msg.is-demo { background: #fff7e0; color: #6b4a00; box-shadow: inset 0 0 0 1px #f0d48a; }
.icx__msg.is-warn { background: #fdeef0; color: #a3101f; }
.icx__msg.is-ok { background: #e6f6ec; color: #136c3a; }
body.icx-open { overflow: hidden; }
.icx-print { display: none; }
@media print {
  body.icx-printing > *:not(.icx-print) { display: none !important; }
  body.icx-printing .icx-print { display: block; color: #000; font: 12pt/1.6 sans-serif; }
  .icx-print table { border-collapse: collapse; } .icx-print th, .icx-print td { border: 1px solid #888; padding: 4px 10px; }
}
@media (max-width: 520px) { .icx__tbl th { width: auto; white-space: normal; } .icx-btn { width: 100%; } }
/* 開くボタン */
.cancel-open-btn { font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.cancel-band { padding: 18px 0; background: #f2f4f8; border-top: 1px solid #e1e5ec; text-align: center; }
.cancel-band .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.cancel-band p { margin: 0; font-size: 13px; color: #4a5068; }
.cancel-hp-btn { font: inherit; font-size: 14px; font-weight: 800; padding: 10px 16px; border-radius: 999px; border: 1px solid #c3cbda; background: #fff; color: #1e2c45; cursor: pointer; white-space: normal; max-width: 100%; }
.cancel-hp-btn:hover { background: #f6f8fb; }
/* 2026-11-15 02:53 枝分かれ式：はじめは3つの枝だけ */
.icx__q { margin: 4px 0 8px; font-weight: 800; }
.icx__pick3 { display: grid; gap: 8px; }
.icx__pick3[hidden], .icx__sec[hidden], .icx__back[hidden] { display: none; }
.icx-branch { font: inherit; display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid #d5dce8; background: #fff; cursor: pointer; }
.icx-branch b { font-size: 15px; color: #1e2c45; }
.icx-branch small { font-size: 12.5px; color: #5a6478; }
.icx-branch:hover { background: #f5f8fd; border-color: #b9cdee; }
.icx-branch--cancel b { color: #a3101f; }
.icx__back { font: inherit; font-size: 13px; font-weight: 700; margin: 0 0 6px; padding: 4px 10px; border: 0; border-radius: 8px; background: #eef2f8; color: #1f4f96; cursor: pointer; }
.icx__note { margin: 4px 0 10px; font-size: 13.5px; }
.icx__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.icx__link { font: inherit; font-size: 13px; padding: 4px 10px; border: 0; border-radius: 8px; background: #eef2f8; color: #1f4f96; cursor: pointer; }
.icx__expick[hidden] { display: none; }
.icx__confirm { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #e2384c; background: #fff6f7; }
.icx__confirm[hidden] { display: none; }
.icx__warn { margin: 4px 0 8px; padding: 8px 10px; border-radius: 8px; background: #fde7ea; color: #a3101f; font-weight: 800; font-size: 14px; }
