.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: #fff;
}

.header__inner {
  padding: 20px 30px;
}

@media (max-width: 767px) {
  .header__inner {
    padding: 15px;
  }
}

.header__logo__link {
  display: block;
  max-width: 180px;
}

@media (max-width: 767px) {
  .header__logo__link {
    max-width: 100px;
    width: 50%;
  }
}

.container {
  max-width: 1920px;
  margin: 76px auto 0;
}

@media (max-width: 767px) {
  .container {
    margin-top: 49px;
  }
}

.content-width {
  width: calc(100% - 40px);
  max-width: 1064px;
  margin: 0 auto;
}

.hero {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 810;
  position: relative;
  margin-bottom: 168px;
}

@media (max-width: 767px) {
  .hero {
    aspect-ratio: 375 / 450;
    margin-bottom: 337px;
  }
}

.hero-deco-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 1440 / 82;
  z-index: 2;
}

.hero-deco-bottom {
  position: absolute;
  bottom: -168px;
  left: 0;
  right: 0;
  aspect-ratio: 1440 / 474;
  z-index: 1;
}

@media (max-width: 767px) {
  .hero-deco-bottom {
    bottom: -337px;
  }
}

.swiper-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 810;
}

@media (max-width: 767px) {
  .swiper-wrapper {
    aspect-ratio: 375 / 450;
  }
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

.copy {
  width: 96.8%;
  max-width: 790px;
  margin: 0 auto 77px;
}

@media (max-width: 767px) {
  .copy {
    max-width: 363px;
    margin-top: 40px;
  }
}

.prise {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto 20px auto 12px auto 10px;
  gap: 90px 40px;
  width: 73.89%;
  max-width: 1064px;
  min-width: 0;
  margin: 0 auto 117px;
}

@media (max-width: 767px) {
  .prise {
    display: block;
    width: 100%;
    margin-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .prise__item:not(:last-of-type) {
    margin-bottom: 74px;
  }
}

.prise__item.--first {
    grid-column: 1 / 3;
    aspect-ratio: 1062 / 585;
    min-width: 0;
}

@media (max-width: 767px) {
  .prise__item.--first {
    margin-bottom: 64px;
  }
}

.prise__item.--second {
    grid-column: 1;
    grid-row: 2 / 4;
    aspect-ratio: 512 / 550;
    min-width: 0;
    padding-top: 10px;
}

.prise__item.--third {
    grid-column: 2;
    grid-row: 3 / 5;
    aspect-ratio: 512 / 550;
    min-width: 0;
}

.prise__item.--forth {
    grid-column: 1;
    grid-row: 4 / 6;
    aspect-ratio: 512 / 508;
    min-width: 0;
}

.prise__item.--fifth {
    grid-column: 2;
    grid-row: 5 / 7;
    aspect-ratio: 512 / 508;
    min-width: 0;
}

@media (max-width: 767px) {
  .prise__item.--second,
  .prise__item.--third,
  .prise__item.--forth,
  .prise__item.--fifth {
    margin-left: 10px;
    margin-right: 10px;
  }
}

.prise-double-chance {
  width: 73.89%;
  max-width: 1064px;
  margin: 0 auto 110px;
  background-image: linear-gradient(109deg, #ff4a9b, #b951ff 50%, #102dcf);
  padding: 8px;
}

@media (max-width: 767px) {
  .prise-double-chance {
    width: calc(100% - 30px);
    margin: 0 auto 100px;
    padding: 6px;
  }
}

.prise-double-chance__inner {
  background-color: #fff;
  padding: 49px 0 40px;
  font-size: clamp(0px, 0.5rem + 1vw, 1.2rem);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  position: relative;
}
@media (max-width: 767px) {
  .prise-double-chance__inner {
    font-size: clamp(0.9rem, 0.5rem + 2vw, 2.5rem);
    padding: 34px 0 23px;
  }
}

.prise-double-chance__title {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 250px;
  height: 52px;
  transform: translate(-50%, -50%);
}
@media (max-width: 767px) {
  .prise-double-chance__title {
    width: 174px;
    height: 39px;
    top: -3px;
  }
}

.prise-double-chance__inner .strong {
    font-size: 133.3%;
    position: relative;
    z-index: 1;
}

.prise-double-chance__inner .strong::after {
    background-color: #FFCF4B;
    content: "";
    position: absolute;
    bottom: -4px;
    right: -2px;
    left: -2px;
    height: 12px;
    z-index: -1;
}

@media (max-width: 767px) {
  .prise-double-chance__inner .strong {
    font-size: 125%;
  }

  .prise-double-chance__inner .strong::after {
    height: 10px;
  }
}

.howto {
  padding-top: clamp(0px, 13.2639vw, 191px);
  padding-bottom: clamp(0px, 21.5972vw, 311px);
  position: relative;
  background-image: url('../images/howto-deco-top.webp'),url('../images/howto-deco-bottom.webp');
  background-position: center top, center bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: 100%, 100%;
}

@media (max-width: 767px) {
  .howto {
    padding: 125px 0 190px;
    background-image: url('../images/howto-deco-top_sp.webp'),url('../images/howto-deco-bottom_sp.webp');
  }
}

.howto::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  right: 0;
  left: 0;
  background-color: #0c54c9;
  z-index: -1;
}

.howto__title {
  width: 33.1944vw;
  max-width: 478px;
  min-width: 320px;
  margin: 0 auto 64px;
}

@media (max-width: 767px) {
  .howto__title {
    width: 84vw;
    min-width: 200px;
  }
}

.howto__inner {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .howto__inner {
    flex-flow: column;
    max-width: 340px;
    gap: 86px;
  }
}

.howto__item {
  flex-basis: clamp(0px, calc((100% - 22px * 2) / 3), 340px);
  position: relative;
}

.howto__item:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  width: 28px;
  height: 95px;
  background: url('../images/howto-arrow.webp') center / cover no-repeat;
  transform: translate(100%, -50%);
}

@media (max-width: 767px) {
  .howto__item:not(:last-of-type)::after {
    top: initial;
    bottom: -32px;
    right: 50%;
    transform: translate(50%, 100%);
    width: 95px;
    height: 28px;
    background: url('../images/howto-arrow_sp.webp') center / cover no-repeat;
  }
}

.details {
}
@media (max-width: 767px) {
  .details {
    width: calc(100% - 60px);
    margin: 65px auto 170px;
  }
}

.details-title {
  width: 42.6285vw;
  max-width: 614px;
  margin: 0 auto 80px;
}
@media (max-width: 767px) {
  .details-title {
    width: 85.3333vw;
    max-width: 320px;
    min-width: 200px;
    margin: 0 auto 60px;
  }
}

.details-table {
  border-top: solid 2px var(--color-text);
  border-bottom: solid 2px var(--color-text);
  padding: 8px 0;
  margin-bottom: 160px;
}
@media (max-width: 767px) {
  .details-table {
    margin-bottom: 0;
    padding: 40px 0;
  }
}
.details-table__row {
  display: flex;
  flex-flow: row wrap;
}

@media (max-width: 767px) {
  .details-table__row {
    flex-flow: column;
    gap: 32px;
  }
}

.details-table__label {
  padding: 56px 0;
  flex-basis: 200px;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .details-table__label {
    font-size: 0.8rem;
    flex-basis: initial;
    padding: 0;
  }
}

.details-table__text {
  padding: 56px 0;
  flex: 1;
  min-width: 0;
}
@media (max-width: 767px) {
  .details-table__text {
    padding: 0;
    font-size: 0.8rem;
    font-weight: 600;
  }
}

.details-table__row:not(:last-of-type) .details-table__text {
  border-bottom:solid 1px #19437533;
}

@media (max-width: 767px) {
  .details-table__row:not(:last-of-type) .details-table__text {
    padding-bottom: 40px;
    margin-bottom: 32px;
  }
}

.details-table__text__palagraph:not(:last-of-type) {
  margin-bottom: 1.6rem;
}

.details-table__label__bg {
  padding: 8px 12px;
  background: var(--color-text);
  color: #fff;
}

@media (max-width: 767px) {
  .details-table__label__bg {
    padding: 6px 10px;
  }
}

a {
  transition: opacity 0.3s ease;
}

a:hover {
opacity: 0.5;
}

.link--pdf {
  text-decoration: underline;
  padding-right: 68px;
  position: relative;
}
@media (max-width: 767px) {
  .link--pdf {
    padding-right: 53px;
  }
}
.link--pdf::after {
  content: "";
  background: url('../images/icon-pdf.webp') center / cover no-repeat;
  width: 56px;
  height: 20px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0px, -50%);
}
@media (max-width: 767px) {
  .link--pdf::after {
    width: 45px;
    height: 16px;
  }
}

.details-table__list__item {
  position: relative;
  padding-left: 1em;
}
.details-table__list__item:not(:last-of-type) {
  margin-bottom: 10px;
}
.details-table__list__item::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

.footer__container {
  background-color: #E8EDEF;
  background-image: url('../images/footer-bg.webp');
  background-repeat: repeat;
  background-attachment: fixed;
  padding: 82px 0 240px;
}
@media (max-width: 767px) {
  .footer__container {
    padding: 80px 0 145px;
    background-image: url('../images/footer-bg_sp.webp');
  }
}
.footer__inner {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .footer__inner {
    flex-flow: column;
    max-width: 315px;
    gap: 32px;
  }
}
.footer__logo {
  flex-basis: 26.5278vw;
  max-width: 382px;
}
@media (max-width: 767px) {
  .footer__logo {
    order: 1;
    max-width: 235px;
    flex-basis: initial;
  }
}
.footer__logo__link {
  display: block;
}
.footer__text {
  flex: 1;
  font-family: "Zen Dots", sans-serif;
  font-size: 0.7rem;
  color: #333;
}
@media (max-width: 767px) {
  .footer__text {
    order: 2;
    font-size: 0.55em;
    text-align: center;
  }
}

.app-btn {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1;
}

@media (max-width: 767px) {
  .app-btn {
    left: 0;
    bottom: 0;
  }
}

.app-btn__link {
  display: block;
  width: 340px;
  height: 90px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  position: relative;
}
.app-btn__link::before,
.app-btn__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / contain no-repeat;
  transition: opacity 0.3s linear;
}
.app-btn__link::before {
  background-image: url(../images/app-btn.webp);
}
.app-btn__link::after {
  background-image: url(../images/app-btn_hover.webp);
  opacity: 0;
}
.app-btn__link:hover::after,
.app-btn__link:focus-visible::after {
  opacity: 1;
}
@media (max-width: 767px) {
  .app-btn__link {
    width: 100vw;
    height: auto;
    aspect-ratio: 750 / 144;
  }
  .app-btn__link::before {
    background-image: url(../images/app-btn_sp.webp);
  }
  .app-btn__link::after {
    display: none;
  }
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.modal__window {
  width: 600px;
  background-color: #fff;
}

@media (max-width: 767px) {
  .modal__window {
    width: 345px;
  }
}

.modal__close {
  border: none;
  background-color: #333333;
  color: #fff;
  padding: 0.6rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 1.5rem;
}

.modal__contents {
  padding: 47px 0;
}

@media (max-width: 767px) {
  .modal__contents {
    padding: 40px 0 50px;
  }
}

.app-dl__icon {
  width: 160px;
  margin: 0 auto 10px;
}

.app-dl__title {
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.4rem;
}
@media (max-width: 767px) {
  .app-dl__title {
    margin-bottom: 30px;
    font-size: 1.2rem;
  }
}

.app-dl__links {
  flex-flow: row wrap;
  gap: 60px;
  justify-content: center;
}

@media (max-width: 767px) {
  .app-dl__links {
    flex-flow: column;
    gap: 12px;
    padding: 0 15px;
  }
}

.app-dl__links__qr {
  text-align: center;
}

.app-dl__links__qr__text {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #333333;
}

.app-dl__links__qr__img {
  width: 160px;
  margin: 0 auto;
}

.app-dl__links__btn {
    font-size: 0.9rem;
    color: #fff;
    background-color: #121212;
    padding: 25px 28px 25px 70px;
    border-radius: 2rem;
    position: relative;
    font-weight: 600;
}

.app-dl__links__btn::after {
  content: "→";
  font-size: 1rem;
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translate(0px, -50%);
}

.app-dl__links__btn.--iphone::before {
  content: "";
  background: url('../images/app-icon_apple.webp') center / cover no-repeat;
  width: 24px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translate(0px, -50%);
}

.app-dl__links__btn.--android::before {
  content: "";
  background: url('../images/app-icon_googleplay.webp') center / cover no-repeat;
  width: 27px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translate(0px, -50%);
}
