/* =========================================================
       ボーナスチェックページ専用CSS
       common.css は変更していません。
       ========================================================= */

    .bonus-page {
      --bonus-orange: #f59e0b;
      --bonus-orange-dark: #d97706;
      --bonus-green: #22c55e;
      --bonus-green-bg: #ffffff;
      --bonus-blue-bg: #ffffff;
      --bonus-yellow-bg: #ffffff;
      --bonus-ink: #334155;
      --bonus-muted: #64748b;
      --bonus-line: #e2e8f0;
    }

    /* ===== ヒーロー ===== */
    .bonus-hero {
      position: relative;
      overflow: hidden;
      margin: 4px 0 24px;
      padding: 28px 22px 25px;
      border-radius: 22px;
      background: #ffffff;
      border: 2px solid #e2e8f0;
      box-shadow: 0 8px 24px rgba(245, 158, 11, .10);
    }

    .bonus-hero::before,
    .bonus-hero::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .bonus-hero::before {
      width: 120px;
      height: 120px;
      right: -38px;
      top: -45px;
      background: rgba(244, 114, 182, .12);
    }

    .bonus-hero::after {
      width: 85px;
      height: 85px;
      left: -32px;
      bottom: -38px;
      background: rgba(59, 130, 246, .10);
    }

    .bonus-kicker {
      position: relative;
      z-index: 1;
      display: inline-block;
      margin-bottom: 8px;
      padding: 5px 12px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid #e2e8f0;
      color: #475569;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .04em;
    }

    .bonus-hero h1 {
      position: relative;
      z-index: 1;
      margin: 0 0 10px;
      color: #1e293b;
      font-size: clamp(1.45rem, 5vw, 2.1rem);
      line-height: 1.4;
    }

    .bonus-hero h1 span {
      color: #334155;
    }

    .bonus-hero p {
      position: relative;
      z-index: 1;
      margin: 0;
      color: var(--bonus-muted);
      font-size: .92rem;
      line-height: 1.75;
    }

    /* ===== 入力フォーム ===== */
    .bonus-check-form {
      background: #fff;
      border: 1px solid var(--bonus-line);
      border-radius: 20px;
      padding: 21px;
      margin-bottom: 22px;
      box-shadow: 0 5px 18px rgba(15, 23, 42, .06);
    }

    .bonus-form-intro {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 18px;
      padding: 13px 14px;
      border-radius: 13px;
      background: #ffffff;
    }

    .bonus-form-intro-icon {
      font-size: 1.35rem;
      line-height: 1;
    }

    .bonus-form-intro strong {
      display: block;
      margin-bottom: 2px;
      color: var(--bonus-ink);
    }

    .bonus-form-intro span {
      color: var(--bonus-muted);
      font-size: .82rem;
    }

    .bonus-form-group {
      margin-bottom: 17px;
    }

    .bonus-form-label {
      display: block;
      margin-bottom: 7px;
      color: var(--bonus-ink);
      font-weight: 800;
      font-size: .9rem;
      line-height: 1.5;
    }

    .bonus-form-hint {
      display: block;
      margin-top: 5px;
      color: var(--bonus-muted);
      font-size: .76rem;
      line-height: 1.5;
    }

    .bonus-form-control {
      width: 100%;
      padding: 12px 13px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      font-size: 1rem;
      box-sizing: border-box;
      background: #fff;
      transition: .18s ease;
    }

    .bonus-form-control:focus {
      outline: none;
      border-color: var(--bonus-orange);
      box-shadow: 0 0 0 4px rgba(245, 158, 11, .13);
    }

    .bonus-check-row {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      padding: 11px 12px;
      border-radius: 11px;
      background: #ffffff;
      border: 1px solid #edf0f3;
    }

    .bonus-check-row input {
      width: 19px;
      height: 19px;
      accent-color: var(--bonus-green);
      flex: 0 0 auto;
    }

    .bonus-check-row span {
      font-size: .88rem;
      font-weight: 700;
      color: var(--bonus-ink);
      line-height: 1.45;
    }

    .bonus-submit {
      position: relative;
      width: 100%;
      border: none;
      border-radius: 13px !important;
      padding: 15px 18px;
      background: #334155 !important;
      color: #fff;
      font-size: 1rem;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 7px 16px rgba(249, 115, 22, .20);
      transition: transform .15s ease, box-shadow .15s ease;
    }

    .bonus-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(249, 115, 22, .28);
    }

    .bonus-submit:active {
      transform: translateY(1px);
    }

    .bonus-input-warning{color:#a42d22;background:#fff0ed;border:1px solid #f4b3aa;padding:11px 13px;border-radius:10px;font-size:.87rem;font-weight:700}
    .bonus-input-warning[hidden]{display:none}
    /* ===== 結果カード ===== */
    .bonus-result {
      scroll-margin-top: 80px;
      position: relative;
      overflow: hidden;
      background: #fff !important;
      border: 2px solid #e5e7eb !important;
      border-radius: 22px !important;
      padding: 20px;
      margin-top: 22px;
      margin-bottom: 25px;
      box-shadow: 0 8px 26px rgba(15, 23, 42, .08) !important;
    }

    .bonus-result.active {
      display: block;
      animation: bonusAppear .35s ease both;
    }

    @keyframes bonusAppear {
      from {
        opacity: 0;
        transform: translateY(10px) scale(.985);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .bonus-result-head {
      margin-bottom: 18px;
      text-align: center;
    }

    .bonus-result-head .small {
      display: block;
      margin-bottom: 3px;
      color: #94a3b8;
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .bonus-result-head h2 {
      margin: 0;
      color: var(--bonus-ink);
      font-size: 1.45rem;
    }

    .bonus-result-block {
      padding: 16px;
      border-radius: 16px;
      margin-bottom: 13px;
    }

    .bonus-result-block:last-child {
      margin-bottom: 0;
    }

    .bonus-result-block.commission {
      background: var(--bonus-green-bg);
      border: 1px solid #bbf7d0;
    }

    .bonus-result-block.title {
      background: #ffffff;
      border: 1px solid #e2e8f0;
    }

    .bonus-result-label {
      margin-bottom: 8px;
      color: var(--bonus-muted);
      font-size: .78rem;
      font-weight: 800;
    }

    .bonus-result-status {
      padding: 12px 14px;
      border-radius: 12px;
      text-align: center;
      font-size: 1.06rem;
      font-weight: 900;
    }

    .bonus-result-status.status-ok {
      background: #dcfce7;
      color: #15803d;
      border: 1px solid #bbf7d0;
    }

    .bonus-result-status.status-ng {
      background: #f1f5f9;
      color: #64748b;
      border: 1px solid #e2e8f0;
    }

    .bonus-result-note {
      margin-top: 8px;
      font-size: .82rem;
      color: #d97706;
      font-weight: bold;
      line-height: 1.5;
    }

    /* ===== タイトル達成 ===== */
    .bonus-title-achievement {
      padding: 15px;
      text-align: center;
      background: #fff;
      border-radius: 15px;
      border: 1px solid #e2e8f0;
    }

    .bonus-title-crown {
      font-size: 2.35rem;
      line-height: 1;
    }

    .bonus-title-label {
      margin-top: 6px;
      color: #475569;
      font-size: .78rem;
      font-weight: 900;
    }

    .bonus-title-name {
      margin-top: 2px;
      color: #1e293b;
      font-size: 1.4rem;
      font-weight: 900;
    }

    /* ===== お祝い演出 ===== */
    .bonus-result.celebrate {
      border-color: #f2c94c !important;
      box-shadow: 0 10px 30px rgba(245, 158, 11, .14) !important;
    }

    .bonus-confetti {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 5;
    }

    .bonus-confetti i {
      position: absolute;
      top: -12px;
      width: 7px;
      height: 12px;
      border-radius: 2px;
      opacity: 0;
    }

    .bonus-result.celebrate .bonus-confetti i {
      animation: bonusFall 1.5s ease-in forwards;
    }

    .bonus-confetti i:nth-child(1) { left: 8%;  background:#f59e0b; animation-delay:.02s; }
    .bonus-confetti i:nth-child(2) { left: 18%; background:#60a5fa; animation-delay:.12s; }
    .bonus-confetti i:nth-child(3) { left: 31%; background:#f472b6; animation-delay:.05s; }
    .bonus-confetti i:nth-child(4) { left: 45%; background:#22c55e; animation-delay:.18s; }
    .bonus-confetti i:nth-child(5) { left: 59%; background:#8b5cf6; animation-delay:.08s; }
    .bonus-confetti i:nth-child(6) { left: 72%; background:#f97316; animation-delay:.20s; }
    .bonus-confetti i:nth-child(7) { left: 84%; background:#06b6d4; animation-delay:.10s; }
    .bonus-confetti i:nth-child(8) { left: 93%; background:#ec4899; animation-delay:.16s; }

    @keyframes bonusFall {
      0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
      }
      100% {
        transform: translateY(230px) rotate(300deg);
        opacity: 0;
      }
    }

    /* ===== あと少しガイド ===== */
    .bonus-next-guide {
      margin-top: 10px;
      padding: 12px 13px;
      border-radius: 12px;
      background: rgba(255,255,255,.72);
      border: 1px dashed #cbd5e1;
      color: var(--bonus-ink);
      font-size: .82rem;
      line-height: 1.65;
    }

    .bonus-next-guide strong {
      color: #d97706;
    }

    .bonus-next-guide ul {
      margin: 6px 0 0;
      padding-left: 1.2em;
    }

    .bonus-next-guide li {
      margin: 3px 0;
    }

    .bonus-next-guide .done {
      color: #15803d;
      font-weight: 800;
    }

    /* ===== 参考表 ===== */
    .bonus-reference {
      margin-top: 24px;
      padding: 20px;
      background: #fff;
      border: 1px solid var(--bonus-line);
      border-radius: 18px;
      box-shadow: 0 4px 15px rgba(15, 23, 42, .05);
    }

    .bonus-reference-title {
      margin-bottom: 7px;
      color: var(--bonus-ink);
      font-weight: 900;
    }

    .bonus-reference-note {
      margin: 0 0 13px;
      color: var(--bonus-muted);
      font-size: .8rem;
    }

    /* ===== 数値入力の矢印を非表示 ===== */
    .bonus-form-control[type="number"]::-webkit-outer-spin-button,
    .bonus-form-control[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    .bonus-form-control[type="number"] {
      -moz-appearance: textfield;
      appearance: textfield;
    }

    /* ===== スマホ ===== */
    @media (max-width: 600px) {

      .bonus-hero {
        padding: 22px 17px;
      }

      .bonus-hero h1 {
        font-size: 1.38rem;
        line-height: 1.35;
      }

      .bonus-hero p {
        font-size: .86rem;
      }

      .bonus-check-form,
      .bonus-result,
      .bonus-reference {
        padding: 17px;
      }

      /* スマホでは入力項目のタイトルを少し小さく */
      .bonus-form-label {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 6px;
      }

      .bonus-form-hint {
        font-size: .72rem;
      }

      .bonus-check-row span {
        font-size: .82rem;
      }

      .bonus-form-intro strong {
        font-size: .88rem;
      }

      .bonus-form-intro span {
        font-size: .76rem;
      }

      .bonus-result-head h2 {
        font-size: 1.3rem;
      }

      .bonus-result-status {
        font-size: .95rem;
      }

      .bonus-title-name {
        font-size: 1.25rem;
      }

      .bonus-next-guide {
        font-size: .78rem;
      }
    }

    /* ===== 小さいスマホ ===== */
    @media (max-width: 380px) {

      .bonus-form-label {
        font-size: .95rem;
      }

      .bonus-check-row span {
        font-size: .78rem;
      }

      .bonus-hero h1 {
        font-size: 1.28rem;
      }
    }

@media(max-width:600px){.bonus-check-form{padding:23px 19px}.bonus-form-group{margin-bottom:27px}.bonus-form-label{font-size:1rem;line-height:1.6;margin-bottom:11px}.bonus-form-control{padding:15px;font-size:1.05rem;min-height:52px}.bonus-check-row{padding:16px 13px;gap:12px}.bonus-check-row span{font-size:.97rem;line-height:1.6}.bonus-form-hint,.bonus-form-intro span{font-size:.87rem;line-height:1.65}.bonus-form-intro{padding:16px;margin-bottom:25px}.bonus-form-intro strong{font-size:1rem}.bonus-submit{padding:18px;font-size:1.04rem}}

/* Make numeric entry fields clearly recognizable */
.bonus-form-control[type="number"]{border:2px solid #64748b;background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.07)}
.bonus-form-control[type="number"]:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.13)}
.bonus-form-control[type="number"]::placeholder{color:#94a3b8}

/* Input-area contrast: soft tinted panels around white controls */
.bonus-check-form{background:#fff;border-color:#e2e8f0}
.bonus-form-group{background:#f2f6fa;border:1px solid #e4ebf2;border-radius:16px;padding:18px 17px;margin-bottom:16px}
.bonus-form-label{margin-bottom:12px;color:#253449;font-size:1rem}
.bonus-form-control[type="number"]{background:#fff;border:2px solid #9aaabc;box-shadow:0 2px 6px rgba(27,45,70,.07)}
.bonus-check-row{background:#fff;border:1px solid #d7e1ea}
.bonus-form-hint{margin-top:10px}
@media(max-width:600px){.bonus-form-group{padding:18px 15px;margin-bottom:17px}.bonus-form-label{font-size:1rem;margin-bottom:12px}.bonus-check-form{padding:19px 15px}}

/* Refined editorial form design: calm canvas, clear white fields */
body:has(.bonus-page){background:#f7f7f4}
.bonus-page{--bonus-ink:#24352f;--bonus-muted:#64736c;--bonus-line:#e5e9e5}
.bonus-hero{background:transparent;border:0;box-shadow:none;border-radius:0;padding:26px 4px 15px;margin:0 0 14px}
.bonus-hero::before,.bonus-hero::after{display:none}
.bonus-kicker{border:0;background:transparent;padding:0;border-radius:0;color:#467667;font-size:.78rem;letter-spacing:.08em;margin-bottom:12px}
.bonus-hero h1{font-size:clamp(1.75rem,5.7vw,2.3rem);line-height:1.45;letter-spacing:.015em;color:#20372d;margin-bottom:13px}
.bonus-hero h1 span{color:#20372d}
.bonus-hero p{font-size:.96rem;line-height:1.9;color:#65746c;max-width:34em}
.bonus-check-form{background:transparent;border:0;box-shadow:none;padding:0;margin-bottom:30px}
.bonus-form-intro{padding:6px 4px 12px;background:transparent;margin:0;display:block}
.bonus-form-intro strong{font-size:1.05rem;color:#263b31;letter-spacing:.01em}
.bonus-form-group{background:#fff;border:1px solid #e4eae5;border-radius:18px;padding:21px 20px 22px;margin:0 0 13px;box-shadow:0 3px 13px rgba(27,53,39,.035)}
.bonus-form-label{font-size:1.03rem;line-height:1.65;font-weight:750;color:#26372f;margin:0 0 13px}
.bonus-form-control[type="number"]{min-height:58px;width:100%;background:#f8faf8;border:1.5px solid #c9d7ce;border-radius:12px;box-shadow:none;font-size:1.15rem;font-weight:600;color:#1d3327;padding:14px 16px}
.bonus-form-control[type="number"]:focus{background:#fff;border-color:#3b8068;outline:0;box-shadow:0 0 0 4px rgba(59,128,104,.12)}
.bonus-form-control[type="number"]::placeholder{color:#a2aea5;font-weight:400}
.bonus-check-row{background:#f8faf8;border:1px solid #e2eae4;border-radius:12px;min-height:58px;padding:15px;gap:13px}
.bonus-check-row input{width:23px;height:23px;accent-color:#3b8068}
.bonus-check-row span{font-size:1rem;line-height:1.6;font-weight:650}
.bonus-form-hint{font-size:.85rem;line-height:1.65;margin-top:12px;color:#738077}
.bonus-submit{margin-top:12px;background:#326d57!important;box-shadow:0 5px 13px rgba(39,94,71,.16);border-radius:14px!important;min-height:60px;font-size:1.06rem}
.bonus-submit:hover{box-shadow:0 7px 17px rgba(39,94,71,.2)}
.bonus-result,.bonus-reference{border-color:#e4eae5!important;box-shadow:0 3px 13px rgba(27,53,39,.04)!important}
@media(max-width:600px){.bonus-hero{padding:21px 3px 12px}.bonus-hero h1{font-size:1.7rem;line-height:1.48}.bonus-hero p{font-size:.93rem;line-height:1.85}.bonus-check-form{padding:0}.bonus-form-intro{padding:8px 4px 13px}.bonus-form-intro strong{font-size:1.04rem}.bonus-form-group{padding:20px 17px 21px;margin-bottom:13px}.bonus-form-label{font-size:1.03rem;line-height:1.6;margin-bottom:12px}.bonus-form-control[type="number"]{font-size:1.14rem;min-height:58px}.bonus-check-row span{font-size:.98rem}.bonus-form-hint{font-size:.84rem}.bonus-submit{font-size:1.04rem}}
@media(max-width:380px){.bonus-form-label{font-size:1rem}.bonus-check-row span{font-size:.95rem}}

/* One-question-at-a-time diagnosis */
.bonus-wizard{max-width:620px;margin:0 auto 26px;scroll-margin-top:90px}
.bonus-wizard .wizard-step[hidden],.bonus-wizard .wizard-actions button[hidden],.bonus-wizard .bonus-submit[hidden]{display:none!important}
.bonus-wizard .wizard-step{min-height:215px;padding:28px 25px;margin:0 0 16px;border-radius:20px;box-shadow:0 5px 22px rgba(32,62,43,.045)}
.bonus-wizard .bonus-form-label{font-size:1.15rem;line-height:1.65;margin-bottom:24px}
.wizard-progress{display:flex;align-items:center;gap:16px;margin:0 2px 22px;color:#587367;font-weight:750;font-size:.9rem;white-space:nowrap}
.wizard-track{flex:1;height:6px;background:#e1e9e3;border-radius:20px;overflow:hidden}
#wizard-fill{height:100%;background:#4e9276;border-radius:20px;transition:width .2s}
.wizard-actions{display:flex;gap:12px}
.wizard-actions button{border:0;border-radius:13px;min-height:55px;font-size:1rem;font-weight:750;cursor:pointer}
.wizard-back{background:#e9eee9;color:#405c4c;flex:0 0 30%}
.wizard-next{background:#326d57;color:white;flex:1}
.wizard-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wizard-choices button{min-height:62px;border:1.5px solid #c8d8ce;background:#f8faf8;border-radius:13px;color:#315c47;font-size:1.07rem;font-weight:750;cursor:pointer}
.wizard-choices button.selected{background:#e1f1e7;border-color:#438b6d}
.bonus-wizard .bonus-submit{margin-top:0}
@media(max-width:600px){.bonus-wizard .wizard-step{padding:26px 20px;min-height:205px}.bonus-wizard .bonus-form-label{font-size:1.09rem;margin-bottom:22px}.bonus-hero{margin-bottom:12px}.bonus-hero h1{font-size:1.5rem}.bonus-hero p{font-size:.87rem}}

.bonus-wizard .bonus-check-row[hidden]{display:none!important}

/* Separate question and results stages */
.bonus-page #bonus-wizard[hidden],.bonus-page .bonus-hero[hidden],.bonus-page #result-card[hidden],.bonus-page #bonus-reference[hidden],.bonus-page #wizard-edit[hidden]{display:none!important}
.wizard-edit{display:block;margin:0 auto 22px;background:transparent;border:1px solid #b8cec0;color:#326d57;padding:12px 20px;border-radius:12px;font-weight:750;font-size:.95rem;cursor:pointer}

/* Quick-entry helpers for point fields */
.point-shortcuts{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.point-shortcuts button{appearance:none;background:#f0ecfb;border:1px solid #d8d0f1;color:#6753a5;border-radius:999px;padding:10px 16px;font-size:.89rem;font-weight:750;line-height:1.3;min-height:42px;cursor:pointer}
.point-shortcuts button:active{background:#e2daf8}
.point-shortcuts button:focus-visible{outline:3px solid #9c8add;outline-offset:2px}
.point-preview{margin-top:12px;font-size:.86rem;line-height:1.5;color:#6353a3;font-weight:700;font-variant-numeric:tabular-nums}
.point-preview:empty{display:none}

/* =========================================================
   2026-11-08 | Ninaguide visual alignment
   Keep diagnosis-specific mint identity and wizard interactions.
   Presentation only: no input, navigation or calculation changes.
   ========================================================= */
body:has(.bonus-page){background:#f7fbff}
.bonus-page{
  --bonus-accent:#1769d1;
  --bonus-accent-soft:#edf5ff;
  --bonus-accent-border:#dfe8f2;
  --bonus-ink:#263d54;
  --bonus-muted:#687386;
  --bonus-line:#dfe8f2;
}
.bonus-page .bonus-hero{
  background:linear-gradient(135deg,#edf5ff 0%,#f1f8dc 100%);
  border:1px solid #dfe8f2;
  box-shadow:0 4px 16px rgba(18,59,120,.07);
}
.bonus-page .bonus-kicker{
  color:#0055a4;background:#fff;border-color:#dfe8f2;
}
.bonus-page .bonus-hero h1,
.bonus-page .bonus-hero h1 span{color:#123b78}
.bonus-page .bonus-hero p{color:#556777}
.bonus-page .bonus-check-form{border-color:#dfe8f2}
.bonus-page .bonus-wizard .wizard-step{
  background:#fff;border:1px solid #dfe8f2;
  box-shadow:0 4px 16px rgba(18,59,120,.055);
}
.bonus-page .bonus-wizard .bonus-form-label{color:#263d54}
.bonus-page .wizard-progress{color:#0055a4}
.bonus-page .wizard-track{background:#e2efff}
.bonus-page #wizard-fill{background:linear-gradient(90deg,#1769d1,#8fbf18)}
.bonus-page .bonus-form-control[type="number"]{
  background:#fff;border-color:#d9e5ed;color:#263d54;
}
.bonus-page .bonus-form-control[type="number"]:focus{
  border-color:#1769d1;box-shadow:0 0 0 4px rgba(23,105,209,.12);
}
.bonus-page .wizard-next,
.bonus-page .bonus-submit{
  background:#1769d1!important;
  box-shadow:0 4px 12px rgba(23,105,209,.16);
}
.bonus-page .wizard-back{background:#edf5ff;color:#123b78}
.bonus-page .wizard-choices button{
  background:#f7fbff;border-color:#d9e5ed;color:#123b78;
}
.bonus-page .wizard-choices button.selected{
  background:#edf5ff;border-color:#1769d1;
  box-shadow:inset 0 0 0 1px #1769d1;
}
.bonus-page .point-shortcuts button{
  background:#f1f8dc;color:#476516;border-color:#dbe9b5;
}
.bonus-page .point-preview{color:#1769d1}
.bonus-page .wizard-edit{color:#1769d1;border-color:#b9d1ed}
.bonus-page .bonus-result,
.bonus-page .bonus-reference,
.bonus-page .wizard-answers{
  border-color:#dfe8f2!important;
  box-shadow:0 4px 16px rgba(18,59,120,.06)!important;
}
.bonus-page .bonus-result-head{
  background:linear-gradient(135deg,#edf5ff,#f1f8dc);
}
.bonus-page .bonus-result-head .small{color:#1769d1}
.bonus-page .bonus-result-head h2,
.bonus-page .bonus-reference-title,
.bonus-page .wizard-answers h2,
.bonus-page .wizard-answer-row strong{color:#123b78}
.bonus-page .bonus-result-block.commission,
.bonus-page .bonus-result-block.title{
  background:#f7fbff;border-color:#dfe8f2;
}
.bonus-page .bonus-result-label{color:#1769d1}
.bonus-page .bonus-next-guide{border-color:#dfe8f2}
.bonus-page .bonus-reference-note,
.bonus-page .wizard-answer-row span{color:#687386}
.bonus-page .wizard-answer-row{border-color:#e8eef4}
.bonus-page button:focus-visible,
.bonus-page input:focus-visible{outline-offset:3px}
@media(max-width:600px){
  .bonus-page .bonus-hero{border-radius:18px}
  .bonus-page .bonus-wizard .wizard-step{border-radius:16px}
}

/* Shared guide page geometry (legacy common.css no longer loaded). */
body.guide-design-context{margin:0;background:#fff;color:#273544;font-family:"Noto Sans JP",sans-serif;font-size:15px;line-height:1.8}
body.guide-design-context .bonus-page{width:100%;max-width:860px;margin:0 auto;padding:52px 22px 110px;box-sizing:border-box;min-width:0}
body.guide-design-context .bonus-page button,
body.guide-design-context .bonus-page input{font:inherit}
body.guide-design-context .bonus-page button{cursor:pointer}
body.guide-design-context .bonus-page .bonus-form-control[type="number"]{font-size:1.14rem}
@media(max-width:600px){body.guide-design-context .bonus-page{padding:30px 18px 95px}}

/* Dreamy blue-mint diagnosis experience — scoped beneath shared chrome. */
body.guide-design-context:has(.bonus-page){
  background:radial-gradient(ellipse 85% 480px at 8% 180px,rgba(175,238,224,.30),transparent 72%),
             radial-gradient(ellipse 85% 560px at 100% 520px,rgba(190,215,255,.34),transparent 75%),
             #f8fcff;
}
body.guide-design-context .bonus-page{max-width:860px;position:relative;isolation:isolate}
.bonus-page .bonus-hero{
  position:relative;overflow:hidden;text-align:center;
  padding:62px 30px 58px;margin:0 auto 38px;max-width:760px;
  border:1px solid rgba(255,255,255,.85);border-radius:34px;
  background:radial-gradient(circle at 83% 12%,rgba(255,255,255,.95) 0 7%,transparent 26%),
    radial-gradient(circle at 10% 95%,rgba(178,243,222,.6),transparent 47%),
    linear-gradient(132deg,#e4f4ff 0%,#edfaff 47%,#e7f9ef 100%);
  box-shadow:0 18px 54px rgba(75,143,171,.12),inset 0 1px 0 rgba(255,255,255,.95);
}
.bonus-page .bonus-hero:before,.bonus-page .bonus-hero:after{display:block;content:"";position:absolute;pointer-events:none;border-radius:50%}
.bonus-page .bonus-hero:before{width:170px;height:170px;right:-65px;top:-80px;border:1px solid rgba(255,255,255,.8);box-shadow:0 0 0 24px rgba(255,255,255,.13),0 0 0 49px rgba(255,255,255,.10)}
.bonus-page .bonus-hero:after{width:120px;height:120px;left:-65px;bottom:-64px;background:rgba(255,255,255,.27);filter:blur(3px)}
.bonus-page .bonus-kicker{display:inline-block;background:rgba(255,255,255,.67);border:1px solid rgba(126,184,200,.22);color:#39869b;border-radius:999px;padding:7px 18px;letter-spacing:.12em;font-size:.75rem}
.bonus-page .bonus-hero h1,.bonus-page .bonus-hero h1 span{color:#27566d}
.bonus-page .bonus-hero h1{font-weight:800;font-size:clamp(1.75rem,4.8vw,2.55rem);line-height:1.52;letter-spacing:.045em;margin:20px 0}
.bonus-page .bonus-hero p{color:#5c7b89;margin:0 auto;max-width:32em}
.bonus-page .bonus-wizard{max-width:660px}
.bonus-page .wizard-progress{font-size:.8rem;letter-spacing:.12em;color:#5b91a4;margin:0 5px 23px}
.bonus-page .wizard-track{height:7px;background:#e3f1f3;border:1px solid rgba(255,255,255,.9)}
.bonus-page #wizard-fill{background:linear-gradient(90deg,#7fbfe9,#8ed9c4);box-shadow:0 0 12px rgba(94,198,189,.35);transition:width .35s ease}
.bonus-page .bonus-wizard .wizard-step{
  position:relative;min-height:250px;padding:40px 36px 36px;
  border-radius:28px;border:1px solid rgba(255,255,255,.96);
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(250,255,255,.91));
  box-shadow:0 15px 50px rgba(78,143,165,.10),0 2px 9px rgba(80,157,166,.04);
  animation:bonusFloatIn .38s ease-out both;
}
.bonus-page .bonus-wizard .bonus-form-label{font-size:clamp(1.13rem,2.7vw,1.34rem);color:#31586c;letter-spacing:.025em;line-height:1.7}
.bonus-page .bonus-form-hint{color:#718d9b}
.bonus-page .bonus-form-control[type="number"]{
  min-height:64px;border:1.5px solid #c7e2e9;border-radius:17px;
  background:#fbfeff;color:#28566a;box-shadow:inset 0 1px 3px rgba(51,113,142,.03);
}
.bonus-page .bonus-form-control[type="number"]:focus{border-color:#74bbd5;box-shadow:0 0 0 5px rgba(130,204,225,.18)}
.bonus-page .wizard-choices button{min-height:70px;background:#f3fbff;border:1px solid #d5e9ef;border-radius:17px;color:#38677c;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.bonus-page .wizard-choices button:hover{transform:translateY(-2px);background:#e8f8fa;box-shadow:0 6px 18px rgba(82,160,176,.11)}
.bonus-page .wizard-choices button.selected{background:linear-gradient(125deg,#e0f5ff,#e1f9ed);border-color:#83c6ca;box-shadow:inset 0 0 0 1px #83c6ca}
.bonus-page .wizard-actions{gap:14px}
.bonus-page .wizard-actions button,.bonus-page .bonus-submit{min-height:58px;border-radius:16px!important}
.bonus-page .wizard-next,.bonus-page .bonus-submit{background:linear-gradient(110deg,#579bc8,#58bba9)!important;color:#fff;box-shadow:0 8px 20px rgba(71,159,175,.20)}
.bonus-page .wizard-back{background:#e9f4f8;color:#527d8f}
.bonus-page .point-shortcuts button{background:#eaf9f3;border-color:#d0ede3;color:#418979}
.bonus-page .point-preview{color:#4c9e9d}
.bonus-page .bonus-result,.bonus-page .bonus-reference,.bonus-page .wizard-answers{
  border-radius:26px!important;background:rgba(255,255,255,.94)!important;border:1px solid #dceff0!important;box-shadow:0 14px 42px rgba(74,141,163,.09)!important;overflow:hidden;
}
.bonus-page .bonus-result-head{background:linear-gradient(125deg,#e2f4ff,#e3faee);padding-top:34px;padding-bottom:34px}
.bonus-page .bonus-result-head h2,.bonus-page .bonus-reference-title,.bonus-page .wizard-answers h2{color:#315b70}
.bonus-page .bonus-result-head .small,.bonus-page .bonus-result-label{color:#4b9eaa}
.bonus-page .bonus-result-block.commission,.bonus-page .bonus-result-block.title{background:#f5fbfd;border-color:#dfeef0}
.bonus-page .wizard-edit{border-radius:999px;border-color:#b7dce2;color:#4d8d9d;background:#f7fcfd}
@keyframes bonusFloatIn{from{opacity:.55;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){
 body.guide-design-context .bonus-page{padding-top:28px}
 .bonus-page .bonus-hero{padding:43px 21px 39px;border-radius:25px;margin-bottom:30px}
 .bonus-page .bonus-hero h1{font-size:1.7rem}
 .bonus-page .bonus-wizard .wizard-step{padding:30px 22px;min-height:235px;border-radius:23px}
 .bonus-page .wizard-choices button{min-height:65px}
}
@media(prefers-reduced-motion:reduce){.bonus-page .bonus-wizard .wizard-step{animation:none}.bonus-page #wizard-fill,.bonus-page .wizard-choices button{transition:none}}

/* The path opens: cover → six illuminated stops → result. */
.bonus-page #bonus-journey-cover[hidden],.bonus-page #bonus-wizard[hidden]{display:none!important}
.bonus-page #bonus-journey-cover{max-width:760px;min-height:570px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;isolation:isolate;margin:0 auto 36px;padding:70px 24px 60px;overflow:hidden;background:linear-gradient(180deg,#e8f8ff 0%,#e5f7f4 58%,#f8fdfb 100%);border-radius:28px;border:1px solid #e0f1f2;box-shadow:0 16px 55px rgba(68,137,167,.1)}
.bonus-page .journey-sky{position:absolute;inset:0;z-index:-1;overflow:hidden;background:radial-gradient(ellipse 45% 29% at 50% 35%,rgba(255,255,255,.98),transparent 90%),radial-gradient(ellipse 70% 38% at 48% 57%,rgba(167,223,239,.4),transparent 90%)}
.bonus-page .journey-sun{position:absolute;width:240px;height:240px;left:calc(50% - 120px);top:25%;border-radius:50%;background:radial-gradient(circle,#fff 0%,rgba(255,255,255,.8) 22%,rgba(255,255,255,0) 70%);filter:blur(3px)}
.bonus-page .journey-road{position:absolute;left:50%;top:46%;width:95%;height:100%;transform:translateX(-50%);clip-path:polygon(49% 0,51% 0,95% 100%,5% 100%);background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(130,213,220,.23) 45%,rgba(255,255,255,.65));filter:drop-shadow(0 0 20px #fff)}
.bonus-page .journey-horizon{position:absolute;left:-20%;right:-20%;top:53%;height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent);box-shadow:0 0 45px 25px rgba(255,255,255,.35)}
.bonus-page .journey-cover-content{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;max-width:540px}
.bonus-page #bonus-journey-cover .bonus-kicker{margin-bottom:24px}
.bonus-page #bonus-journey-cover h1{font-size:clamp(1.9rem,5vw,2.7rem);line-height:1.55;margin:0 0 23px;text-shadow:0 2px 22px rgba(255,255,255,.8)}
.bonus-page #bonus-journey-cover p{font-size:.97rem;line-height:2;max-width:30em;margin:0 auto 34px}
.bonus-page .journey-start{min-height:61px;padding:15px 43px;border:1px solid rgba(255,255,255,.8);border-radius:999px;background:linear-gradient(105deg,#539dc5,#58bda8);color:#fff;font-weight:750;letter-spacing:.08em;box-shadow:0 10px 26px rgba(71,158,169,.25);cursor:pointer;transition:transform .2s,box-shadow .2s}
.bonus-page .journey-start:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(71,158,169,.28)}
.bonus-page .journey-start span{margin-left:16px}
.bonus-page .journey-cover-note{display:block;margin-top:15px;color:#668c98;font-size:.78rem;letter-spacing:.08em}
.bonus-page .journey-stage-title{text-align:center;margin:10px auto 28px}
.bonus-page .journey-stage-title span{font-size:.7rem;letter-spacing:.22em;color:#6ca9ae;font-weight:750}
.bonus-page .journey-stage-title h2{font-size:clamp(1.35rem,4vw,1.85rem);color:#32637b;margin:8px 0 7px}
.bonus-page .journey-stage-title p{font-size:.88rem;color:#77929d;margin:0}
.bonus-page .journey-path{position:relative;height:125px;margin:0 auto 8px;max-width:600px}
.bonus-page .journey-path svg{display:block;width:100%;height:100%;overflow:visible}
.bonus-page .journey-path-base,.bonus-page .journey-path-lit{fill:none;stroke-width:5;stroke-linecap:round}
.bonus-page .journey-path-base{stroke:#e0edf0;stroke-dasharray:2 10}
.bonus-page .journey-path-lit{stroke:url(#journey-path-gradient);stroke-dasharray:16.666 100;pathLength:100;filter:drop-shadow(0 0 4px rgba(101,196,197,.5));transition:stroke-dasharray .45s ease}
.bonus-page .journey-dots{position:absolute;inset:0;pointer-events:none}
.bonus-page .journey-dots span{position:absolute;width:12px;height:12px;border:2px solid #d4e6e8;background:#fff;border-radius:50%;box-shadow:0 0 0 4px rgba(255,255,255,.9);transform:translate(-50%,-50%)}
.bonus-page .journey-dots span:nth-child(1){left:3.3%;top:79.2%}
.bonus-page .journey-dots span:nth-child(2){left:20%;top:38%}
.bonus-page .journey-dots span:nth-child(3){left:37%;top:48%}
.bonus-page .journey-dots span:nth-child(4){left:54%;top:47%}
.bonus-page .journey-dots span:nth-child(5){left:74%;top:24%}
.bonus-page .journey-dots span:nth-child(6){left:96.7%;top:15.2%}
.bonus-page .journey-dots span.lit{border-color:#76c4ca;background:#b6f3e5;box-shadow:0 0 0 5px #ffffffc9,0 0 18px #85d9d3}
.bonus-page .wizard-progress{max-width:600px;margin:0 auto 24px}
.bonus-page .bonus-result.active{animation:bonusFloatIn .7s ease-out both}
@media(max-width:600px){.bonus-page #bonus-journey-cover{min-height:560px;padding:60px 21px 55px;border-radius:22px}.bonus-page #bonus-journey-cover h1{font-size:1.85rem}.bonus-page .journey-path{height:100px}.bonus-page .journey-stage-title{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.bonus-page .journey-start,.bonus-page .journey-path-lit{transition:none}.bonus-page .bonus-result.active{animation:none}}

/* Cloud-scene redesign: clean typography and gentle sky changes. */
.bonus-page{position:relative}
.bonus-page #bonus-journey-cover{background:linear-gradient(180deg,#b9e0f8 0%,#e0f2fc 55%,#f9fcff 100%);border:0;border-radius:24px;min-height:590px;box-shadow:0 12px 40px rgba(55,110,165,.10)}
.bonus-page #bonus-journey-cover .journey-cover-content{z-index:2}
.bonus-page #bonus-journey-cover h1{font-size:clamp(2.3rem,6vw,3.6rem);line-height:1.38;letter-spacing:.02em;color:#174778;font-weight:800;text-shadow:none}
.bonus-page #bonus-journey-cover h1 span{color:#174778}
.bonus-page #bonus-journey-cover .bonus-kicker{letter-spacing:.15em;color:#356b9b;font-size:.75rem}
.bonus-page #bonus-journey-cover p{color:#3d6484;max-width:25em;line-height:1.9}
.bonus-page .journey-start{background:#185da5;border:0;box-shadow:0 7px 0 rgba(18,73,128,.15),0 14px 24px rgba(22,92,158,.13);font-size:1rem}
.bonus-page .journey-start:hover{box-shadow:0 4px 0 rgba(18,73,128,.15),0 10px 22px rgba(22,92,158,.16)}
.bonus-page .journey-cover-note{color:#537c9c}
.bonus-page .cloud-scene{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;border-radius:inherit}
.bonus-page .cloud-scene i{position:absolute;display:block;width:220px;height:66px;border-radius:100px;background:rgba(255,255,255,.88);filter:blur(1px);box-shadow:35px -24px 0 9px rgba(255,255,255,.85),85px -11px 0 25px rgba(255,255,255,.89),120px 4px 0 9px rgba(255,255,255,.8);animation:bonusCloudDrift 18s ease-in-out infinite alternate}
.bonus-page .cloud-scene i:nth-child(1){top:17%;left:-12%;transform:scale(.85);opacity:.75}
.bonus-page .cloud-scene i:nth-child(2){top:33%;right:-17%;transform:scale(1.15);opacity:.75;animation-delay:-7s}
.bonus-page .cloud-scene i:nth-child(3){bottom:19%;left:-20%;transform:scale(1.35);opacity:.8;animation-delay:-12s}
.bonus-page .cloud-scene i:nth-child(4){bottom:8%;right:-12%;transform:scale(.9);opacity:.7;animation-delay:-4s}
@keyframes bonusCloudDrift{from{translate:-18px 0}to{translate:28px -9px}}
.bonus-page #bonus-wizard{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(165deg,#cce9f9 0%,#edf7fc 68%,#fff 100%);border-radius:24px;padding:40px clamp(18px,5vw,54px) 48px;transition:background-color .45s ease;box-shadow:0 12px 38px rgba(59,119,163,.1)}
.bonus-page #bonus-wizard[data-sky="1"]{background:linear-gradient(165deg,#cdeeea 0%,#e9f9f8 65%,#fff 100%)}
.bonus-page #bonus-wizard[data-sky="2"]{background:linear-gradient(165deg,#d7e3fa 0%,#eef2fd 65%,#fff 100%)}
.bonus-page #bonus-wizard .cloud-scene-question{z-index:-1;opacity:.65}
.bonus-page #bonus-wizard[data-sky="1"] .cloud-scene-question{transform:translateX(9%);transition:transform .8s ease}
.bonus-page #bonus-wizard[data-sky="2"] .cloud-scene-question{transform:translateX(-8%);transition:transform .8s ease}
.bonus-page .journey-stage-title{position:relative;z-index:1}
.bonus-page .journey-stage-title span{color:#426f9b;letter-spacing:.15em}
.bonus-page .journey-stage-title h2{color:#1c4d7a}
.bonus-page .journey-stage-title p{color:#54748b}
.bonus-page #bonus-wizard .wizard-step{position:relative;z-index:1;background:rgba(255,255,255,.91);border:1px solid rgba(255,255,255,.95);box-shadow:0 10px 28px rgba(47,101,146,.09)}
.bonus-page #bonus-wizard .wizard-progress{position:relative;z-index:1}
.bonus-page #bonus-wizard .wizard-track{background:#d5e4ed}
.bonus-page #bonus-wizard #wizard-fill{background:#347ec1}
.bonus-page #bonus-wizard .wizard-choices button.selected{background:#e6f2fd;border-color:#347ec1}
.bonus-page .cloud-result-mode #result-card{position:relative;border-top:7px solid #8dc5e9}
@media(max-width:600px){.bonus-page #bonus-journey-cover{min-height:540px;padding:55px 20px}.bonus-page #bonus-journey-cover h1{font-size:2.25rem}.bonus-page #bonus-wizard{padding:28px 15px 34px;border-radius:18px}.bonus-page .cloud-scene i{opacity:.55}}
@media(prefers-reduced-motion:reduce){.bonus-page .cloud-scene i{animation:none!important}.bonus-page #bonus-wizard .cloud-scene-question{transition:none!important}}
