/* cmn */
.nu-app_icon_wrap {
    padding: 1.35rem 0.75rem 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.cd-cmn-floating-cta .nu-app_icon_wrap {
    padding: 0 2%;
    width: 30%;
    gap: 0;
}

.cd-cmn-floating-cta .nu-app_icon_wrap a {
    display: block;
    width: 100%;
}

.nu-app_icon_wrap a {
    display: block;
    width: 65%;
}

.nu-icon {
    max-width: 45px;
    height: auto;
}

.nu-icon-install {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* floating cta overwrite */
.cd-cmn-floating-cta { cursor: pointer; }
.cd-cmn-floating-cta.cd-cmn-floating-cta--visible {
    width: 100%;
    background-color: var(--color-white);
    border-top: solid 2px var(--color-grey-light);
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    font-size: var(--font-S);
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.25;
    padding: 1rem 0;
    overflow: hidden;
}

.cd-cmn-floating-cta .cd-img-pc {
    display: none;
}

.cd-cmn-floating-cta .cd-img-sp {
    position: absolute;
    right: -3%;
    top: 0;
    width: 15%;
    z-index: -1;
}

.cd-cmn-floating-cta.cd-cmn-floating-cta--visible span {
    color: var(--color-red);
    font-style: normal;
    font-weight: 700;
}

/* MV */
.cd-cmn-hero-section-inn {
    max-width: 960px;
    margin: 0 auto;
}

.cd-cmn-hero-section-wrap {
    position: relative;
}

.cd-cmn-hero-image {
    display: block;
}

.cd-cmn-hero-section h1 {
    margin: 0;
    padding: 5px 0 20px;
}

.cd-cmn-hero-section {
    position: relative;
}

/* sp download banner */
.mv-dl-banner {
    align-items: flex-end;
    overflow: hidden;
    z-index: 2;

    position: absolute;
    width: 53%;
    top: 38%;
    right: 5%;
    bottom: inherit;
    left: inherit;
}

.mv-dl-banner.is-visible {
    /*display: flex;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;
    height: 37vw;
    width: 95%;*/
}

.mv-dl-banner__mock {
    flex-shrink: 0;
    width: 40%;
    margin-bottom: -4px;
}

.mv-dl-banner__mock img {
    width: 100%;
    height: auto;
    display: block;
}

.mv-dl-banner__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*gap: 10px;*/
    flex: 1;
    /*padding: 16px 12px 20px 0;*/
}

.mv-dl-banner__heading {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    /*gap: 6px;*/
}

.mv-dl-banner__icon {
    width: 32px;
    height: auto;
    flex-shrink: 0;
}

.mv-dl-banner__text {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.mv-dl-banner__btns {
    /*display: flex;
    gap: 8px;
    gap: 1em;*/
    display: initial;
}

.mv-dl-banner__btns__wrap {
    max-width: 190px;
    display: grid;
    gap: 0.5em;
    margin: 0.25em auto 0 auto;
}

.mv-dl-banner__btn--ios,
.mv-dl-banner__btn--android {
    display: none;
}

.mv-dl-banner__btn {
    display: none;
    flex: 1;
}

.mv-dl-banner__btn img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.mv-dl-banner__qr {
    display: none;
    width: 120px;
    height: auto;
}

.mv-dl-banner__logo {
    display: none;
    width: 100%;
    height: auto;
}

/*@media (min-width: 641px) {*/
@media (min-width: 768px) {
    .mv-dl-banner {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        position: unset;
        z-index: 2;
        /*width: 420px;*/
        max-width: 240px;
        /*padding: 16px;*/
        align-items: flex-start;
    }

    .mv-dl-banner {
        position: absolute;
        top: inherit;
        right: inherit;
        bottom: 1.5em;
        left: 3.5em;
    }

    .mv-dl-banner__btns {
        display: flex;
        /*gap: 8px;*/
        gap: 1em;
    }

    .mv-dl-banner.is-visible {
        /*display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        position: unset;
        height: auto;
        width: 420px;*/
    }

    .mv-dl-banner__mock {
        width: 130px;
        flex-shrink: 0;
    }

    .mv-dl-banner__mock img {
        width: 130px;
    }

    .mv-dl-banner__right {
        padding: 0;
        /*gap: 12px;*/
        width: 100%;
    }

    .mv-dl-banner__heading {
        /*gap: 8px;*/
    }

    .mv-dl-banner__heading img {
        max-width: 98%;
    }

    .mv-dl-banner__icon {
        width: 36px;
    }

    .mv-dl-banner__text {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .mv-dl-banner__btn--ios,
    .mv-dl-banner__btn--android {
        display: block;
    }

    .mv-dl-banner__btn {
        display: block;
    }

    .mv-dl-banner__qr {
        display: block;
        /*width: 140px;*/
        width: 92px;
        align-self: center;
    }

    .mv-dl-banner__logo {
        display: block;
    }
}


@media (min-width: 641px) {
    .nu-icon {
        max-width: 48px;
        height: auto;
    }

    .nu-img {
        right: 20px;
        top: 5px;
        width: 100px;
    }

    .nu-app_icon_wrap a {
        width: 210px;
    }

    .cd-cmn-floating-cta .nu-app_icon_wrap a {
        width: 150px;
    }

    .cd-cmn-floating-cta .cd-img-sp {
        display: none;
    }

    .cd-cmn-floating-cta .cd-img-pc {
        display: block;
        right: calc(50% - 410px);
        position: absolute;
        top: 0;
        z-index: -1;
        transform: translateX(-50%);
        width: 90px;
    }

    .cd-cmn-floating-cta .nu-app_icon_wrap {
        padding: 0 20px;
        width: auto;
        gap: 1rem;
    }

    .mv-dl-banner-pc {
        display: flex;
        flex-direction: column;
        max-width: 380px;
        padding: 0;
    }

    .cd-cmn-hero-section-inn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== SAVINGS CALCULATOR ===== */
.savings {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  gap: 16px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF 3.4%, #FFF5CC 29.68%);
  box-sizing: border-box;
}
@media (min-width: 640px) { .savings { padding: 40px 16px; } }
.savings__title {
  text-align: center;
  font-weight: 900;
  line-height: 1.2;
  width: 100%;
  max-width: 700px;
}
.savings__title .black { color: #333; }
.savings__title .red { color: #BF0000; }
.savings__title .sm { font-size: 19px; }
.savings__title .md { font-size: 24px; }
.savings__title .lg { font-size: 20px; }
@media (min-width: 640px) {
  .savings__title .sm { font-size: 23px; }
  .savings__title .md { font-size: 30px; }
  .savings__title .lg { font-size: 25px; }
}
.savings__tabs-wrap {display: flex;flex-direction: column;align-items: center;width: 100%;max-width: 800px;}
.savings__tabs {display: flex;align-items: flex-end;gap: 3px;width: 96%;}
.savings__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.2s;
}
.savings__tab--active { padding: 14px 0; background: #BF0000; color: #fff; }
.savings__tab--inactive { height: 47px; background: #EBEBEB; color: #686868; }
@media (min-width: 640px) { .savings__tab { font-size: 20px; } }
.savings__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  border-radius: 0 0 10px 10px;
  padding: 30px 16px 40px;
  background: #fff;
  box-shadow: 2px 3px 0 0 rgba(0,0,0,0.10);
}
.savings__cards { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.persona-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #D1D1D1;
  overflow: hidden;
}
.persona-card__img {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  width: 20%;
  background: #FFFDF5;
}
.persona-card__img img {width: 90%;max-width: 75px;height: auto;margin: 0 auto 0;}
.persona-card__img span { font-size: 9px; font-weight: 700; text-align: center; color: #333; white-space: pre-line; }
.persona-card__img--h110 { min-height: 110px; }
.persona-card__img--h126 { min-height: 126px; }
.persona-card__prefix--multiline { line-height: 120%; }
.sp-br { display: inline; }
@media (min-width: 640px) {
  .sp-br { display: none; }
  .persona-card__img { width: 100px; }
}
.persona-card__body {display: flex;flex-direction: column;justify-content: center;gap: 6px;flex: 1;padding: 12px;width: 80%;}
@media (min-width: 640px) { .persona-card__body { padding: 14px; } }
.persona-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.persona-card__tag {
  display: flex;
  align-items: center;
  padding: 2px 6px;
  background: #EBEBEB;
  font-size: 10px;
  color: #333;
  line-height: 16px;
}
.persona-card__tag b {font-weight: 600;font-size: 110%;}
.persona-card__points { display: flex; align-items: flex-end; gap: 2px; }
.persona-card__prefix {font-size: 14px;color: #333;white-space: pre-line;}
.persona-card__num {font-size: 26px;font-weight: 800;color: #BF0000;line-height: 1;padding: 0 0.1em;}
.persona-card__unit {font-size: 14px;font-weight: 800;color: #BF0000;line-height: 1;}
.persona-card__suffix {font-size: 14px;color: #333;line-height: 1;}
.savings__notes { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.savings__notes p {font-size: 10px;color: #4D4D4D;line-height: 1.8;text-align: justify;}
.savings__notes a { color: #BF0000; font-weight: 600; text-decoration: underline; }
.hidden-tab { display: none; }

/* ===== POINTS TABLE ACCORDION ===== */
.points-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 30px 0;
  background-color: #FFF5CC;
}
.accordion-wrap {
  width: 94%;
  max-width: 960px;
  margin: 0 auto;
}
.accordion-header {
  background: #fff;
  border-left: 4px solid #FFCC00;
}
.accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 16px 16px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.accordion-btn__text {
  font-size: 16px;
  font-weight: 700;
  padding: 0;
  text-align: left;
  color: #333;
}
.accordion-btn__icon {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  flex-shrink: 0;
  margin-left: 16px;
}
.accordion-content {
  max-height: var(--accordion-max-height, 0px);
  overflow: hidden;
  width: 100%;
  background: rgba(255, 251, 237, 1);
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== VIDEO SECTION (v2: scroll autoplay) ===== */
.video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px;
  gap: 16px;
  width: 100%;
  overflow: hidden;
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.video-section__title {
  text-align: center;
  font-weight: 900;
  line-height: 1;
}
.vs-red { color: #BF0000; }
.vs-black { color: #333; }
.vs-sm { font-size: 20px; }
.vs-md { font-size: 26px; }
.vs-lg { font-size: 35px; }
.video-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 700px;
  background: #fff;
}
.video-section__wrap { position: relative; width: 100%; }
.video-section__video { width: 100%; display: block; }
.video-section__wrap--yt { aspect-ratio: 16 / 9; }
.video-section__yt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-section__note {
  text-align: center;
  color: #686868;
  font-size: 12px;
  font-weight: 500;
  line-height: 130%;
  margin: 0;
}

/* ===== VIDEO SECTION PATTERN B ===== */
.video-section--b {
  background: #fff;
  gap: 20px;
}
.step-stage {
  width: 100%;
  max-width: 600px;
  background: #fff;
  overflow: hidden;
}
.progress-bar-wrap {
  height: 4px;
  background: #EEE;
  width: 100%;
}
.progress-bar {
  height: 4px;
  background: #BF0000;
  width: 0%;
  transition: none;
}
.step-track-wrap {
  overflow: hidden;
  width: 100%;
}
.step-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.step-card {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.step-bg {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.step-bg img,
.step-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.step-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2));
  pointer-events: none;
}
.step-num {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(28,28,28,0.85);
  color: #FFB700;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.step-content {
  width: 100%;
  padding: 16px 20px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-hero-label {
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  opacity: 0;
  animation: vsbFadeUp 0.5s ease 0.1s forwards;
}
.step-hero-label .red { color: #BF0000; }
.step-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 14px;
  background: #fff;
}
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DDD;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.step-dot.active {
  background: #BF0000;
  transform: scale(1.3);
}
@keyframes vsbFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== ENTRY CTA ===== */
.entry-cta-section {
  display: inline-block;
  width: 100%;
  background-color: #FFF5CC;
}
.entry-cta-block {
  max-width: 480px;
  margin: 0 auto;
  padding: 3em 1em 0;
  width: 100%;
}
.entry-cta-block__lead {
  text-align: center;
  font-size: clamp(13px,3.5vw,15px);
  font-weight: bold;
  color: #BF0000;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.entry-cta-block__lead em {
  font-size: clamp(18px,5vw,22px);
}
.entry-cta-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 16px;
  background: #BF0000;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(191,0,0,.35);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.entry-cta-btn.is-entered {
  background: #E0E0E0;
  color: #999999;
  box-shadow: none;
  cursor: not-allowed;
}
.entry-cta-btn:disabled {
  background: #E0E0E0;
  color: #999999;
  box-shadow: none;
  cursor: not-allowed;
}
.entry-cta-block__note {
  text-align: left;
  font-size: 11.5px;
  color: #8a7a2a;
  margin-top: 10px;
  line-height: 1.5em;
}
.entry-cta-block__done {
  display: none;
  text-align: center;
  font-size: 12px;
  color: #00804e;
  font-weight: bold;
  margin-top: 8px;
}
.entry-cta-block__done.show {
  display: block;
}
.entry-cta-block__optin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  max-width: 340px;
  font-size: 13px;
  font-weight: bold;
  color: #1C1C1C;
}
.entry-cta-block__optin input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #00A040;
  flex-shrink: 0;
}
.entry-cta-block__disclosure {
  max-width: 420px;
  margin: 12px auto 0;
  font-size: 12px;
  color: #555;
  line-height: 1.5em;
  text-align: left;
}
@media (min-width: 640px) {
  .entry-cta-block__note,
  .entry-cta-block__disclosure {
    text-align: center;
  }
}

span.RexButton-message {
    font-size: 24px;
}

@media only screen and (max-width: 768px) {
    span.RexButton-message {
        font-size: 18px;
    }
}

@media only screen and (max-width: 375px) {
    span.RexButton-message {
        font-size: 16px;
    }
}

.CampaignEntryButton_campaignButton__n6hK5 {
    margin-top: 0;
}

.CampaignEntryButton_campaignButton__n6hK5 .CampaignEntryButton_rexButton__VH0Gh {
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 100% !important;
}
