/* PRICE SP final master: the approved two-block composition at 390px. */
.price-sp-initial { display: none; }

@media (min-width: 601px) {
  #price .pc-price-master-consult {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15cqw;
    margin: .55cqw 0 0;
    color: #263d68;
    font-size: 1.12cqw;
    font-weight: 700;
    line-height: 1.25;
  }

  #price .pc-price-master-consult strong {
    color: #0967e5;
    font-size: 1.42cqw;
    font-weight: 900;
    line-height: 1.15;
  }

  #price .pc-price-master-setup .pc-price-master-rule {
    margin-top: 1.45cqw;
  }

  #price .pc-price-master-setup .pc-price-master-note {
    margin-top: 1.25cqw;
  }
}

@media (max-width: 600px) {
  body.sp-phase2-active #price.pc-price-master {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 54px 18px 62px !important;
    overflow: hidden !important;
    color: #041b4d !important;
    background:
      radial-gradient(circle at 50% 36%, rgba(255,255,255,.99) 0 22%, rgba(250,254,255,.86) 57%, rgba(226,245,255,.78) 100%),
      linear-gradient(145deg,#f8fdff,#eaf8ff) !important;
    isolation: isolate;
  }

  body.sp-phase2-active #price.pc-price-master::before,
  body.sp-phase2-active #price.pc-price-master::after {
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    border: 28px solid rgba(184,226,252,.29);
    border-radius: 50%;
    background: transparent !important;
    box-shadow: none !important;
    content: "";
  }

  body.sp-phase2-active #price.pc-price-master::before { left: -228px; top: -192px; }
  body.sp-phase2-active #price.pc-price-master::after { right: -230px; bottom: -205px; }

  body.sp-phase2-active #price .pc-price-master-inner,
  body.sp-phase2-active #price .pc-price-master-head,
  body.sp-phase2-active #price .pc-price-master-cards {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 354px !important;
    height: auto !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.sp-phase2-active #price .pc-price-master-head {
    margin-bottom: 30px !important;
    text-align: center !important;
  }

  body.sp-phase2-active #price .pc-price-master-en {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin: 0 !important;
    color: #0869df !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .48em !important;
    line-height: 1 !important;
  }

  body.sp-phase2-active #price .pc-price-master-en::before,
  body.sp-phase2-active #price .pc-price-master-en::after {
    width: 48px !important;
    height: 1px !important;
    background: #0873ed !important;
    content: "";
  }

  body.sp-phase2-active #price .pc-price-master-head h2 {
    margin: 18px 0 0 !important;
    color: #031747 !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
    line-height: 1.14 !important;
  }

  body.sp-phase2-active #price .pc-price-master-head h2 span { color: #0966dd !important; }

  body.sp-phase2-active #price .pc-price-master-sub {
    margin: 13px 0 0 !important;
    color: #263d68 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
  }

  body.sp-phase2-active #price .pc-price-master-cards {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 24px !important;
  }

  body.sp-phase2-active #price .pc-price-master-card {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    border: 1px solid rgba(176,217,241,.98) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.97) !important;
    box-shadow: 0 12px 28px rgba(11,83,144,.10) !important;
    text-align: center !important;
    overflow: visible !important;
  }

  body.sp-phase2-active #price .pc-price-master-setup { order: 1 !important; }
  body.sp-phase2-active #price .pc-price-master-main {
    order: 2 !important;
    grid-column: auto !important;
    padding: 64px 20px 25px !important;
    border: 2px solid #42aff7 !important;
    box-shadow: 0 14px 32px rgba(7,82,177,.14) !important;
  }

  body.sp-phase2-active #price .pc-price-master-lp { display: none !important; }

  body.sp-phase2-active #price .pc-price-master-setup > .pc-price-master-icon,
  body.sp-phase2-active #price .pc-price-master-setup > h3,
  body.sp-phase2-active #price .pc-price-master-setup > .pc-price-master-zero,
  body.sp-phase2-active #price .pc-price-master-setup > .pc-price-master-consult,
  body.sp-phase2-active #price .pc-price-master-setup > .pc-price-master-rule,
  body.sp-phase2-active #price .pc-price-master-setup > .pc-price-master-note { display: none !important; }

  body.sp-phase2-active #price .price-sp-initial { display: block !important; width: 100%; }

  body.sp-phase2-active #price .price-sp-band,
  body.sp-phase2-active #price .pc-price-master-plan {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    color: #fff !important;
    background: linear-gradient(100deg,#178eef,#0342bd) !important;
    box-shadow: 0 7px 16px rgba(7,82,177,.24) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }

  body.sp-phase2-active #price .price-sp-band {
    width: calc(100% + 2px) !important;
    min-height: 58px !important;
    margin: -1px -1px 0 !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.sp-phase2-active #price .price-sp-band-icon {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
  }

  body.sp-phase2-active #price .price-sp-band-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
  }

  body.sp-phase2-active #price .price-sp-basic {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 25px 0 18px;
    color: #07194a;
    line-height: 1;
  }

  body.sp-phase2-active #price .price-sp-basic b {
    margin-right: 5px;
    padding-bottom: 7px;
    font-size: 23px;
    font-weight: 900;
  }

  body.sp-phase2-active #price .price-sp-basic strong {
    color: #0967e5;
    font-size: 68px;
    font-weight: 900;
    letter-spacing: -.055em;
  }

  body.sp-phase2-active #price .price-sp-basic span {
    padding-bottom: 7px;
    font-size: 27px;
    font-weight: 900;
  }

  body.sp-phase2-active #price .price-sp-initial-list {
    width: calc(100% - 36px);
    margin: 0 auto;
    border-top: 1px solid #d4e8f5;
  }

  body.sp-phase2-active #price .price-sp-initial-list div {
    display: grid;
    min-height: 57px;
    align-items: center;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
    border-bottom: 1px solid #d4e8f5;
    text-align: left;
  }

  body.sp-phase2-active #price .price-sp-initial-list dt {
    color: #263d68;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
  }

  body.sp-phase2-active #price .price-sp-initial-list dd {
    margin: 0;
    color: #0967e5;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
  }

  body.sp-phase2-active #price .price-sp-initial-note {
    margin: 16px 18px 20px;
    color: #536781;
    font-size: 12px;
    line-height: 1.65;
  }

  body.sp-phase2-active #price .pc-price-master-plan {
    position: absolute !important;
    left: 50% !important;
    top: -22px !important;
    width: calc(100% - 32px) !important;
    min-height: 52px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    transform: translateX(-50%) !important;
  }

  body.sp-phase2-active #price .pc-price-master-plan svg { width: 27px !important; height: 27px !important; flex: 0 0 auto; }

  body.sp-phase2-active #price .pc-price-master-main h3 {
    margin: 0 !important;
    color: #05194a !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
  }

  body.sp-phase2-active #price .pc-price-master-first {
    width: 100% !important;
    min-height: 145px !important;
    height: auto !important;
    margin: 17px 0 0 !important;
    padding: 19px 14px 17px !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg,#edf9ff,#dff3ff) !important;
  }

  body.sp-phase2-active #price .pc-price-master-first b { display: block !important; font-size: 17px !important; line-height: 1 !important; }
  body.sp-phase2-active #price .pc-price-master-first strong { display: block !important; margin-top: 7px !important; color: #0962da !important; font-size: 62px !important; font-weight: 900 !important; letter-spacing: -.04em !important; line-height: .92 !important; }
  body.sp-phase2-active #price .pc-price-master-first small { font-size: 34px !important; }
  body.sp-phase2-active #price .pc-price-master-first p { margin: 10px 0 0 !important; color: #314970 !important; font-size: 13px !important; line-height: 1.4 !important; }

  body.sp-phase2-active #price .pc-price-master-steps {
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    grid-template-columns: 1fr 1px 1fr !important;
    gap: 8px !important;
    margin: 14px 0 0 !important;
  }

  body.sp-phase2-active #price .pc-price-master-steps p {
    display: flex !important;
    min-height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 6px 4px !important;
    border-radius: 11px !important;
    background: linear-gradient(145deg,#eff9ff,#e3f3fc) !important;
    color: #07194a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  body.sp-phase2-active #price .pc-price-master-steps strong { color: #0962da !important; font-size: 23px !important; font-weight: 900 !important; }
  body.sp-phase2-active #price .pc-price-master-steps i { width: 1px !important; height: 40px !important; align-self: center !important; background: #b7d7ed !important; }

  body.sp-phase2-active #price .pc-price-master-main .pc-price-master-rule {
    width: 88% !important;
    height: 1px !important;
    margin: 21px auto 0 !important;
    background: linear-gradient(90deg,transparent,#8dbbf0 25%,#8dbbf0 75%,transparent) !important;
  }

  body.sp-phase2-active #price .pc-price-master-main .pc-price-master-note {
    margin: 15px auto 0 !important;
    color: #263d68 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
}
