@charset "UTF-8";
html {
  font-size: clamp(14px, 1.5vw, 16px);
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(-20deg, #94b9ff 0%, #ffffb6 100%);
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Arial", "Helvetica", "sans-serif", "メイリオ", "MS Gothic", "Yu Gothic", "ヒラギノ角ゴ ProN W3", sans-serif;
}

h1, h2 {
  text-align: center;
  color: #19bab4;
}

img {
  display: block;
  margin-bottom: -0.25rem;
  width: 100%;
}

.page-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.page-wrapper__side-bg {
  position: fixed;
  top: 0;
  bottom: 0;
  width: calc(50% - 300px);
  z-index: 0;
}
.page-wrapper__side-bg--left {
  left: 0;
}
.page-wrapper__side-bg--right {
  right: 0;
}

.cta-pc {
  position: fixed;
  bottom: 12.5rem;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 10;
}
.cta-pc__button {
  background: #febe29;
  color: #fff;
  padding: 1.25rem;
  text-align: center;
  text-decoration: none;
  border-radius: 0.625rem 0 0 0.625rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  box-shadow: 0 0.25rem 0.5rem 0.25rem rgba(0, 0, 0, 0.1);
}
.cta-pc__button:hover {
  background-color: #e0a825;
  box-shadow: none;
}

.main-content {
  width: 600px;
  height: 100%;
  margin: 0 auto;
  background: white;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  box-shadow: 0.625rem 0 1rem -1rem rgba(0, 0, 0, 0.45), -0.625rem 0 1rem -1rem rgba(0, 0, 0, 0.45);
}

.back {
  background-image: url(./images/bg.png);
  background-size: cover;
}
.back-blue {
  background-color: #cdf0e0;
}
.back-green {
  background-color: #19bab4;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.back-green section:last-child {
  padding-bottom: 3rem;
}

.campaign {
  background-color: #f6f3e9;
  padding: 0.625rem 0 3rem;
}
.campaign--second {
  background-color: #feffc1;
  padding: 3rem 0;
  background-image: url(../images/bkg-grid.png);
  background-repeat: repeat;
}
.campaign__cta--go-to {
  display: block;
  margin: 0.5rem auto;
  padding: 1.25rem 3.75rem;
  background-color: #febe29;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 2.5rem/50%;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.2);
  width: -moz-fit-content;
  width: fit-content;
  animation: scaleChange 1.5s ease-in-out infinite;
}
.campaign__cta--go-to:hover {
  background-color: #f4b400;
  box-shadow: none;
}
.campaign__box {
  max-width: 30rem;
  margin: 1rem auto 2rem;
  background: #fff;
  border: 0.4rem solid #19bab4;
  border-radius: 2rem;
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 0 1rem 1rem;
}
.campaign__header {
  background-color: #19bab4;
  border-radius: 0 0 1rem 1rem;
  color: white;
  font-size: 1.7rem;
  font-weight: bold;
  padding: 0.5rem;
  text-align: center;
}
.campaign__header .campaign__highlight {
  color: #ffe14d;
}
.campaign__content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}
.campaign__device-image {
  width: 7rem;
  height: auto;
}
.campaign__price-info {
  text-align: left;
}
.campaign__price-label {
  color: #d35b00;
  font-size: 1rem;
  margin-bottom: 0.25px;
}
.campaign__price-main {
  font-size: 4.75rem;
  font-weight: bold;
  color: #f47216;
  display: flex;
  align-items: flex-end;
  gap: 0.25px;
}
.campaign__price-main__yen {
  font-weight: bold;
}
.campaign__price-main__unit {
  font-size: 2rem;
  color: #f47216;
}
.campaign__price-main__tax {
  font-size: 0.9rem;
  color: #23354d;
  margin-left: 0.75rem;
  line-height: 1.2;
}

@keyframes scaleChange {
  0%, 100% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1);
  }
}
.q-and-a,
.last-section {
  background-color: #f5f5f5;
  background-image: url(../images/bkg-stripeDiagonal.png);
  background-repeat: repeat;
}

.cta-button {
  background-color: #febe29;
  color: white;
  padding: 25px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin: 30px auto;
  width: 80%;
  border-radius: 20px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-button:hover {
  background-color: #e0a825;
  box-shadow: none;
}
.cta-button::before {
  content: "";
  height: 100%;
  width: 30px;
  position: absolute;
  top: -180px;
  left: 0;
  background-color: #fff;
  opacity: 0;
  animation: kirari 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes kirari {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
footer {
  background-color: #f6f3e9;
  text-align: center;
  padding: 20px 10px 90px;
  font-size: 12px;
  color: #333;
  margin: 0;
  position: relative;
}
footer .footer__links {
  margin-bottom: 10px;
}
footer .footer__links .footer__link {
  color: #333;
  text-decoration: none;
  margin: 0 10px;
}
footer .footer__links .footer__link:hover {
  text-decoration: underline;
}
footer .footer__copyright {
  font-size: 12px;
  color: #777;
}

@media screen and (max-width: 767px) {
  .side-bg,
  .pc-side-cta {
    display: none;
  }
  .main-content {
    width: 100%;
  }
  .campaign__box {
    max-width: 25rem;
  }
  .campaign__header {
    font-size: 1.3rem;
  }
  .campaign__device-image {
    width: 5rem;
  }
  .campaign__price-main {
    font-size: 4rem;
  }
  .campaign__price-main .campaign__unit {
    font-size: 1rem;
  }
  .campaign__cta--go-to {
    width: 100%;
    font-size: 1.5rem;
    padding: 0.7rem;
  }
  .footer-nav {
    position: fixed;
    height: 70px;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-around;
  }
  .footer-nav .footer-nav__link {
    text-align: center;
    font-size: 10px;
    text-decoration: none;
    color: #23354d;
    padding: 10px;
    flex: 1;
  }
  .footer-nav .footer-nav__link .footer-nav__icon {
    font-size: 2rem;
    display: block;
    margin: 0 auto 5px;
  }
}
@media screen and (min-width: 768px) {
  .footer-nav {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */