/* Phone-only layouts for 4つの武器 (.cx-mb), 研修ロードマップ (.rm-mb) and 料金プラン (.pr-mb).
   Each carries the same content as the desktop version, arranged for a narrow screen.
   Desktop markup is hidden at ≤767px and these blocks are hidden above it. */

.cx-mb,
.rm-mb,
.pr-mb { display: none; }

@media (max-width: 767px) {
  .cx .cx-pc,
  .rm .rm-days,
  .pr .pr-body { display: none; }

  .cx .cx-mb,
  .rm .rm-mb,
  .pr .pr-mb { display: block; }

  /* =========================================================
     4つの武器: swipe carousel (next card peeks in)
     ========================================================= */
  .cx-mb { margin: 22px -16px 0; }

  .cx-mb__track {
    display: grid;
    grid-auto-columns: 84%;
    grid-auto-flow: column;
    gap: 12px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scroll-padding: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cx-mb__track::-webkit-scrollbar { display: none; }

  .cx-mb .cx-card { padding: 18px 18px 20px; scroll-snap-align: start; }
  .cx-mb .cx-card__icon { width: 40px; height: 40px; }
  .cx-mb .cx-card__icon svg { width: 22px; height: 22px; }
  .cx-mb .cx-card__num { font-size: 20px; }
  .cx-mb .cx-card__tag { font-size: 11px; }
  .cx-mb .cx-card__title { margin-top: 12px; font-size: 20px; }
  .cx-mb .cx-card__body { margin-top: 6px; min-height: 0; font-size: 12.5px; line-height: 1.7; }
  .cx-mb .cx-card__body br { display: none; }
  .cx-mb .cx-m { height: 128px; margin-top: 12px; }
  .cx-mb .cx-m__code { font-size: 9.5px; }
  .cx-mb .cx-card__checks { gap: 4px; margin-top: 12px; }
  .cx-mb .cx-card__checks li { font-size: 13px; }

  .cx-mb__nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 0 16px; }
  .cx-mb__dots { display: flex; gap: 6px; }
  .cx-mb__dots i { width: 7px; height: 7px; border-radius: 999px; background: #c5cdef; transition: width 0.25s, background 0.25s; }
  .cx-mb__dots i.is-on { width: 22px; background: #3b5bf6; }
  .cx-mb__count { color: #3a4468; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; }
  .cx-mb__count b { color: #3b5bf6; }
  .cx-mb__hint { margin-left: auto; color: #7a82a3; font-size: 11.5px; }

  /* =========================================================
     研修ロードマップ: course switch + vertical timeline
     ========================================================= */
  .rm-tabs { gap: 4px; padding: 4px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.6); }

  .rm-tabs label {
    flex: 1;
    flex-direction: column;
    gap: 0;
    padding: 8px 4px;
    border-radius: 9px;
    font-size: 15px;
    box-shadow: none;
  }

  .rm-tabs label b { display: inline; }
  .rm-tabs__days { font-size: 12px; }
  .rm-tabs__note { display: none; }

  #rm-course-basic:checked ~ .rm-tabs label[for="rm-course-basic"],
  #rm-course-std:checked ~ .rm-tabs label[for="rm-course-std"] {
    background: #3b5bf6;
    color: #fff;
    box-shadow: 0 6px 14px rgba(59, 91, 246, 0.3);
  }

  .rm-mb { position: relative; margin-top: 18px; padding: 0; list-style: none; }

  /* Timeline rail. */
  .rm-mb::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 40px;
    left: 23px;
    width: 2px;
    background: linear-gradient(#9fb0f3, #c9d0ee);
  }

  .rm-mb__day { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding-bottom: 14px; transition: opacity 0.25s; }

  .rm-mb__num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    align-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #0f1a4d;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 0 2px #9fb0f3, 0 6px 14px rgba(70, 90, 200, 0.15);
  }

  .rm-mb__num small { color: #5b73d8; font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; }

  .rm-mb__body {
    padding: 14px 14px 14px;
    border: 1px solid rgba(160, 175, 240, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(70, 90, 200, 0.08);
  }

  .rm-mb__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .rm-mb__top h3 { color: #0f1a4d; font-size: 16px; font-weight: 800; line-height: 1.4; }
  .rm-mb__top .rm-card__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; }
  .rm-mb__top .rm-card__icon svg { width: 20px; height: 20px; }
  .rm-mb__desc { margin-top: 4px; color: #5d6689; font-size: 12.5px; line-height: 1.7; }

  .rm-mb .rm-m { height: auto; min-height: 0; margin-top: 10px; }
  .rm-mb .rm-m--prompt { padding: 8px 10px; }
  .rm-mb .rm-m__input { min-height: 0; height: auto; padding: 8px 40px 8px 10px; }
  .rm-mb .rm-m__code { font-size: 10px; }
  .rm-mb .rm-m--pr, .rm-mb .rm-m--impact { padding: 10px 12px; }
  .rm-mb .rm-m__bars { height: 44px; }

  .rm-mb__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

  .rm-mb__chips li {
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef1fd;
    color: #2f45c9;
    font-size: 11.5px;
    font-weight: 700;
  }

  .rm-mb__std { display: none; margin-top: 8px; color: #e0671a; font-size: 11.5px; font-weight: 700; }

  /* Basic covers Day 1–2 only. */
  #rm-course-basic:checked ~ .rm-mb .rm-mb__day--std { opacity: 0.5; }
  #rm-course-basic:checked ~ .rm-mb .rm-mb__day--std .rm-mb__std { display: block; }

  /* =========================================================
     料金プラン: stacked comparison (accordion) + simulator
     ========================================================= */
  .pr-mb { margin-top: 22px; }

  .pr-mb__label { display: flex; align-items: baseline; justify-content: space-between; color: #0f1a4d; font-size: 15px; font-weight: 800; }
  .pr-mb__label small { color: #6a7296; font-size: 11.5px; font-weight: 500; }

  .pr-mb__plans { display: grid; gap: 10px; margin-top: 10px; }

  .pr-mb__plan {
    border: 1px solid rgba(160, 175, 240, 0.4);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(70, 90, 200, 0.08);
  }

  .pr-mb__plan--std { border: 2px solid #7f9cf8; background: #fff; }

  .pr-mb__plan summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 44px 14px 16px;
    position: relative;
    cursor: pointer;
    list-style: none;
  }

  .pr-mb__plan summary::-webkit-details-marker { display: none; }

  .pr-mb__plan summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #3a4468;
    border-bottom: 2px solid #3a4468;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s;
  }

  .pr-mb__plan[open] summary::after { transform: translateY(-30%) rotate(225deg); }

  .pr-mb__head { display: grid; gap: 1px; min-width: 0; }
  .pr-mb__head .pr-plan__badge,
  .pr-mb__head .pr-plan__label { justify-self: start; }
  .pr-mb__head .pr-plan__badge { padding: 1px 10px; font-size: 11px; }
  .pr-mb__head .pr-plan__label { font-size: 11.5px; }
  .pr-mb__head b { color: #0f1a4d; font-size: 18px; font-weight: 800; }
  .pr-mb__head small { color: #6a7296; font-size: 11.5px; }

  .pr-mb__price { flex: none; color: #0f1a4d; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .pr-mb__price b { font-family: "Inter", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
  .pr-mb__price b.is-ask { font-family: "Noto Sans JP", sans-serif; font-size: 20px; letter-spacing: 0; }
  .pr-mb__price small { margin-left: 2px; color: #6a7296; font-size: 11px; font-weight: 500; }

  .pr-mb__detail { padding: 0 16px 16px; }
  .pr-mb__detail .pr-plan__list { margin: 0 0 14px; padding-top: 12px; border-top: 1px solid #e3e7f5; }
  .pr-mb__detail .pr-plan__list li { font-size: 13px; }
  .pr-mb__detail .pr-plan__btn { height: 46px; }

  .pr-sim--mb { margin-top: 20px; padding: 18px 16px; }
  .pr-sim--mb .pr-sim__net { padding: 12px 14px; }
  .pr-sim--mb .pr-sim__netval b { font-size: 32px; }
}

@media (max-width: 767px) {
  .cx-mb .cx-m__prompt { padding-right: 52px; }
  .cx-mb .cx-m__prompt p { font-size: 12px; }
  .rm-mb .rm-m__input p br { display: none; }
  .pr-feats p { font-size: 10.5px; line-height: 1.55; }
  .pr .pr-feats p br { display: inline; }
}
@media (max-width: 767px) { .cx-mb .cx-m__prompt p br { display: none; } }

/* ---------- phone: compact vertical rhythm ---------- */
@media (max-width: 767px) {
  /* shared section chrome */
  .cx, .rm, .pr { padding: 40px 16px 32px; }
  .cx-eyebrow, .rm-eyebrow, .pr-eyebrow { font-size: 13px; }
  .cx-eyebrow small, .rm-eyebrow small, .pr-eyebrow small { font-size: 10px; }
  .cx-title, .rm-title, .pr-title { margin-top: 6px; font-size: 23px; line-height: 1.4; }
  .cx-lead, .rm-lead, .pr-lead { margin-top: 8px; font-size: 12px; line-height: 1.7; }
  .cx-head__art { margin-top: 10px; }
  .cx-pill, .rm-pill { margin-top: 10px; padding: 6px 14px; font-size: 12px; }

  /* 4つの武器 */
  .cx-mb { margin-top: 14px; }
  .cx-mb .cx-card { padding: 14px 16px 16px; }
  .cx-mb .cx-card__icon { width: 34px; height: 34px; }
  .cx-mb .cx-card__icon svg { width: 19px; height: 19px; }
  .cx-mb .cx-card__title { margin-top: 8px; font-size: 18px; }
  .cx-mb .cx-card__body { font-size: 12px; line-height: 1.65; }
  .cx-mb .cx-m { height: 96px; margin-top: 10px; }
  .cx-mb .cx-m__title, .cx-mb .cx-m__tabs { font-size: 11px; }
  .cx-mb .cx-m--work li { font-size: 11px; line-height: 1.35; }
  .cx-mb .cx-m--work ul { gap: 2px; margin-top: 4px; }
  .cx-mb .cx-m--work li:nth-child(5) { display: none; }
  .cx-mb .cx-m__chart { height: 30px; }
  .cx-mb .cx-m__code { line-height: 1.35; }
  .cx-mb .cx-m__issue { margin-top: -26px; padding: 3px 8px; font-size: 10.5px; line-height: 1.45; }
  .cx-mb .cx-card__checks { gap: 2px; margin-top: 10px; }
  .cx-mb .cx-card__checks li { font-size: 12.5px; }
  .cx-mb__nav { margin-top: 6px; }

  .cx-band, .rm-band { gap: 10px; margin-top: 14px; padding: 14px; }
  .cx-band__text h3 { font-size: 15px; }
  .cx-band__text p { font-size: 11px; }
  .cx-band__btn, .rm-band__btn { height: 42px; padding: 0 8px; font-size: 12px; gap: 6px; }
  .cx-band__btn svg, .rm-band__btn svg { width: 15px; height: 15px; }
  .cx-band, .rm-band { display: grid; grid-template-columns: 1fr 1fr; }
  .cx-band__text, .rm-band__facts { grid-column: 1 / -1; }

  /* ロードマップ: timeline without mocks */
  .rm-tabs { margin-top: 14px; }
  .rm-tabs label { padding: 6px 4px; font-size: 14px; }
  .rm-mb { margin-top: 12px; }
  .rm-mb .rm-m { display: none; }
  .rm-mb__day { grid-template-columns: 40px 1fr; gap: 8px; padding-bottom: 8px; }
  .rm-mb::before { left: 19px; }
  .rm-mb__num { width: 40px; height: 40px; font-size: 15px; }
  .rm-mb__num small { font-size: 7.5px; }
  .rm-mb__body { padding: 10px 12px; }
  .rm-mb__top h3 { font-size: 14.5px; }
  .rm-mb__top .rm-card__icon { width: 28px; height: 28px; border-radius: 8px; }
  .rm-mb__top .rm-card__icon svg { width: 16px; height: 16px; }
  .rm-mb__desc { margin-top: 2px; font-size: 11.5px; line-height: 1.6; }
  .rm-mb__chips { gap: 4px; margin-top: 6px; }
  .rm-mb__chips li { padding: 2px 8px; font-size: 10.5px; }
  .rm-mb__std { margin-top: 4px; font-size: 10.5px; }
  .rm-band__facts { gap: 6px; }
  .rm-band__facts dt { font-size: 11px; }
  .rm-band__facts dd { font-size: 13px; }
  .rm-band__facts > div + div { padding-top: 6px; }

  /* 料金 */
  .pr-head { gap: 14px; }
  .pr-feats li { gap: 4px; }
  .pr-feat__icon { width: 38px; height: 38px; }
  .pr-feat__icon svg { width: 18px; height: 18px; }
  .pr-feats p { font-size: 10px; }
  .pr-mb { margin-top: 14px; }
  .pr-mb__label { font-size: 13.5px; }
  .pr-mb__plans { gap: 8px; margin-top: 8px; }
  .pr-mb__plan summary { padding: 10px 40px 10px 14px; }
  .pr-mb__head b { font-size: 16px; }
  .pr-mb__head small { font-size: 10.5px; }
  .pr-mb__price b { font-size: 24px; }
  .pr-mb__price b.is-ask { font-size: 17px; }
  .pr-mb__detail { padding: 0 14px 12px; }
  .pr-mb__detail .pr-plan__list { gap: 2px; margin-bottom: 10px; padding-top: 8px; }
  .pr-mb__detail .pr-plan__list li { font-size: 12px; }
  .pr-mb__detail .pr-plan__btn { height: 40px; font-size: 13px; }

  .pr-sim--mb { margin-top: 12px; padding: 14px; }
  .pr-sim--mb .pr-sim__icon { width: 34px; height: 34px; }
  .pr-sim--mb .pr-sim__icon svg { width: 20px; height: 20px; }
  .pr-sim--mb .pr-sim__title { font-size: 15px; }
  .pr-sim--mb .pr-sim__sub { display: none; }
  .pr-sim--mb .pr-sim__head { align-items: center; gap: 10px; }
  .pr-sim--mb .pr-sim__seg { margin-top: 10px; }
  .pr-sim--mb .pr-sim__seg button { padding: 6px; font-size: 13px; }
  .pr-sim--mb .pr-sim__row { margin-top: 8px; padding-bottom: 8px; }
  .pr-sim--mb .pr-sim__stepper button { width: 36px; height: 36px; font-size: 17px; }
  .pr-sim--mb .pr-sim__stepper output { font-size: 22px; }
  .pr-sim--mb .pr-sim__receipt { gap: 0; margin-top: 6px; }
  .pr-sim--mb .pr-sim__receipt > div { font-size: 12px; }
  .pr-sim--mb .pr-sim__receipt dd b { font-size: 15px; }
  .pr-sim--mb .pr-sim__net { margin-top: 8px; padding: 8px 12px; }
  .pr-sim--mb .pr-sim__net > p:first-child { font-size: 13px; }
  .pr-sim--mb .pr-sim__netval b { font-size: 26px; }
  .pr-sim--mb .pr-sim__cta { height: 44px; margin-top: 10px; font-size: 13.5px; }
  .pr-foot { gap: 6px; margin-top: 10px; }
  .pr-foot p { font-size: 10px; }
  .pr-foot a { font-size: 12px; }
}

@media (max-width: 767px) {
  .cx-band, .rm-band { grid-template-columns: 1fr; gap: 8px; }
  .cx-band__btn, .rm-band__btn { height: 40px; font-size: 13px; white-space: nowrap; }
}

/* =========================================================
   Phone: one message per section, clear breaks between sections.
   Each section is a sheet that slides over the previous one (rounded top,
   soft top shadow, its own background), so the page reads in chapters.
   ========================================================= */
@media (max-width: 767px) {
  .cx, .rm, .pr {
    z-index: 1;
    margin-top: -22px;
    padding: 44px 18px 44px;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -12px 30px rgba(20, 30, 90, 0.08);
  }

  .cx { z-index: 2; background: #fff; }
  .rm { z-index: 3; background: #f2f4ff; }
  .pr { z-index: 4; }
  .cx .cx__bg, .rm .rm__bg { display: none; }

  /* Section opener: eyebrow + title only; generic lead copy is dropped on phones. */
  .cx-eyebrow, .rm-eyebrow, .pr-eyebrow { font-size: 14px; }
  .cx-eyebrow small, .rm-eyebrow small, .pr-eyebrow small { font-size: 11px; }
  .cx-title, .rm-title, .pr-title { margin-top: 8px; font-size: 25px; line-height: 1.42; }
  .cx-lead, .rm-lead, .pr-lead { display: none; }
  .cx-head__art { margin-top: 12px; }
  .rm-head { gap: 0; }
  .rm-pill { margin-top: 12px; }

  /* ---------- 4つの武器 ---------- */
  .cx-mb { margin-top: 20px; }

  .cx-mb__index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 16px 12px; }

  .cx-mb__index button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7px 2px;
    border: 1px solid #d5dbf3;
    border-radius: 10px;
    background: #fff;
    color: #5d6689;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

  .cx-mb__index button span { font-family: "Inter", sans-serif; font-size: 10px; opacity: 0.8; }
  .cx-mb__index button.is-on { border-color: #3b5bf6; background: #3b5bf6; color: #fff; }

  .cx-mb .cx-card { padding: 18px 18px 20px; background: #f7f8ff; box-shadow: none; }
  .cx-mb .cx-card__body { display: none; }
  .cx-mb .cx-card__icon { width: 38px; height: 38px; }
  .cx-mb .cx-card__icon svg { width: 21px; height: 21px; }
  .cx-mb .cx-card__title { margin-top: 12px; font-size: 20px; line-height: 1.4; }
  .cx-mb .cx-m { height: 104px; margin-top: 14px; }
  .cx-mb .cx-card__checks { gap: 5px; margin-top: 14px; }
  .cx-mb .cx-card__checks li { font-size: 13.5px; }
  .cx-mb__count { margin: 8px 16px 0; color: #7a82a3; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; text-align: right; }

  /* One CTA per band on phones; the download link lives in the hero and the form. */
  .cx-band__btn--ghost, .rm-band__btn--ghost { display: none; }
  .cx-band, .rm-band { gap: 12px; margin-top: 22px; padding: 20px 18px; border-radius: 18px; }
  .cx-band__text h3 { font-size: 17px; }
  .cx-band__text p { font-size: 12px; }
  .cx-band__btn, .rm-band__btn { height: 48px; font-size: 14px; }

  /* ---------- 研修ロードマップ ---------- */
  .rm-tabs { margin-top: 20px; background: #fff; }
  .rm-tabs label { padding: 8px 4px; font-size: 15px; }
  .rm-mb { margin-top: 16px; }
  .rm-mb__day { grid-template-columns: 44px 1fr; gap: 12px; padding-bottom: 12px; }
  .rm-mb::before { left: 21px; }
  .rm-mb__num { width: 44px; height: 44px; font-size: 16px; }
  .rm-mb__num small { font-size: 8px; }
  .rm-mb__body { padding: 14px 16px; background: #fff; box-shadow: none; }
  .rm-mb__top h3 { font-size: 16px; }
  .rm-mb__top .rm-card__icon { display: none; }
  .rm-mb__desc { display: none; }
  .rm-mb__chips { gap: 6px; margin-top: 8px; }
  .rm-mb__chips li { padding: 3px 10px; font-size: 11.5px; }
  .rm-mb__std { font-size: 11.5px; }
  .rm-band__facts dt { font-size: 11.5px; }
  .rm-band__facts dd { font-size: 14px; }

  /* ---------- 料金プラン ---------- */
  .pr-feats { display: none; }
  .pr-mb { margin-top: 20px; }
  .pr-mb__label { font-size: 15px; }
  .pr-mb__plans { gap: 10px; margin-top: 10px; }
  .pr-mb__plan summary { padding: 14px 42px 14px 16px; }
  .pr-mb__head b { font-size: 17px; }
  .pr-mb__head small { font-size: 11.5px; }
  .pr-mb__price b { font-size: 28px; }
  .pr-mb__price b.is-ask { font-size: 19px; }
  .pr-mb__detail .pr-plan__list li { font-size: 13px; }
  .pr-mb__detail .pr-plan__btn { height: 44px; font-size: 14px; }

  .pr-sim--mb { margin-top: 22px; padding: 18px 16px; }
  .pr-sim--mb .pr-sim__title { font-size: 16px; }
  .pr-sim--mb .pr-sim__seg button { padding: 8px 6px; font-size: 14px; }
  .pr-sim--mb .pr-sim__row { margin-top: 12px; padding-bottom: 12px; }
  .pr-sim--mb .pr-sim__stepper button { width: 40px; height: 40px; }
  .pr-sim--mb .pr-sim__stepper output { font-size: 24px; }
  .pr-sim--mb .pr-sim__receipt { gap: 4px; margin-top: 10px; }
  .pr-sim--mb .pr-sim__receipt > div { font-size: 13px; }
  .pr-sim--mb .pr-sim__net { margin-top: 10px; padding: 12px 14px; }
  .pr-sim--mb .pr-sim__net > p:first-child { font-size: 14px; }
  .pr-sim--mb .pr-sim__netval b { font-size: 30px; }
  .pr-sim--mb .pr-sim__cta { height: 50px; margin-top: 14px; font-size: 14.5px; }
  .pr-foot p { font-size: 11px; }
}

@media (max-width: 767px) {
  .cx-title { font-size: clamp(20px, 5.9vw, 25px); }
  .rm-band__facts dd { font-size: 13px; letter-spacing: -0.02em; }
}

/* ---------- phone: simulator as a bottom sheet ---------- */
.pr-mb__simbtn,
.pr-mb__try { display: none; }

@media (max-width: 767px) {
  .pr-mb__simbtn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
    padding: 14px 16px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(90deg, #2b44d6, #4f6bf0);
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(47, 77, 224, 0.3);
  }

  .pr-mb__simicon { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.18); }
  .pr-mb__simicon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .pr-mb__simtext { display: grid; flex: 1; gap: 2px; }
  .pr-mb__simtext b { font-size: 15px; font-weight: 800; }
  .pr-mb__simtext small { color: rgba(255, 255, 255, 0.85); font-size: 11.5px; }
  .pr-mb__simtext em { color: #fff; font-family: "Inter", "Noto Sans JP", sans-serif; font-size: 13px; font-style: normal; font-weight: 800; }
  .pr-mb__simgo { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #2b44d6; font-weight: 700; }

  .pr-mb__try {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 10px;
    border: 1px dashed #9fb0f3;
    border-radius: 999px;
    background: #f4f6ff;
    color: #2f45c9;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .pr-sheet {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: 92vh;
    margin: 0;
    padding: 0 0 max(12px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 0;
    border-radius: 22px 22px 0 0;
    background: #fff;
    color: #0f1a4d;
    box-shadow: 0 -20px 50px rgba(15, 26, 77, 0.25);
    font-family: "Noto Sans JP", system-ui, sans-serif;
  }

  .pr-sheet[open] { animation: pr-sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .pr-sheet::backdrop { background: rgba(15, 26, 77, 0.45); backdrop-filter: blur(3px); }

  .pr-sheet__bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 18px 16px 8px; background: #fff; }
  .pr-sheet__grip { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 999px; background: #d5dbf3; transform: translateX(-50%); }
  .pr-sheet__bar p { margin: 0; font-size: 15px; font-weight: 800; }

  .pr-sheet__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f3fb;
    color: #3a4468;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }

  .pr-sheet .pr-sim--sheet { margin: 0; padding: 4px 18px 8px; border: 0; background: transparent; box-shadow: none; }
  .pr-sheet .pr-sim__head { display: none; }
  .pr-sheet .pr-sim__seg { margin-top: 6px; }
  .pr-sheet .pr-sim__seg button { padding: 10px 6px; font-size: 15px; }
  .pr-sheet .pr-sim__stepper button { width: 44px; height: 44px; }
  .pr-sheet .pr-sim__netval b { font-size: 34px; }
  .pr-sheet .pr-sim__cta { height: 52px; }

  html.is-sheet-open { overflow: hidden; }
}

@keyframes pr-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .pr-sheet[open] { animation: none; }
}

/* ---------- phone hero: at most two buttons ----------
   The quick-link block duplicated the hamburger menu, and the header CTA duplicated
   the hero CTA, so both are dropped on phones. */
@media (max-width: 767px) {
  .fv .fv-quicklinks { display: none; }
  body.mirror-home-page .header__spCta { display: none; }
  .fv .fv-points { margin-top: 16px; }
}

/* ---------- phone hero: only buttons look like buttons ----------
   The feature chips used the primary button's styling (white card, 10px radius,
   shadow, bold blue text), so five identical boxes competed for the tap. They are
   now plain icon + text, separated by hairlines. */
@media (max-width: 767px) {
  .fv .fv-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .fv .fv-points li {
    height: auto;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
  }

  .fv .fv-points li + li { border-left: 1px solid rgba(255, 255, 255, 0.28); }
  .fv .fv-points__head { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
  .fv .fv-points__head svg { width: 22px; height: 22px; color: rgba(255, 255, 255, 0.92); }
  .fv .fv-points strong { color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.35; text-align: center; }

  /* Keep the two real buttons clearly apart from each other, too. */
  .fv .fv-cta__ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.85); }
}
