html {
  color-scheme: light;
}
body {
  color: #1A1A1E;
  font-family: 'Noto Sans JP', sans-serif;
}
.cp-header__inr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}
.cp-header__logo {
  width: 68px;
  height: auto;
}
.cp-header__link {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1E;
  padding: 8px 24px;
  border-radius: 4px;
  border: 1px solid #1A1A1E;
  text-decoration: none;
  display: inline-block;
  margin-left: 16px;
}
.cp-header__link:hover {
  background-color: #1A1A1E;
  color: #fff;
}
.cp-fv {
  background: #55EACE url("../images/fv_bg.svg") center / cover no-repeat;
}
.cp-fv__inr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 0;
  position: relative;
  isolation: isolate;
  max-width: 657px;
  margin: 0 auto;
}
.cp-fv__campaign {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1E;
  text-align: center;
  padding: 2px 24px;
  background: #D5FAF3;
  position: relative;
  margin-bottom: 16px;
  z-index: 1;
  &::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 12px;
    width: 29px;
    height: 19px;
    background: url("../images/ribbon_left.svg") center / contain no-repeat;
    clip-path: inset(0 14px 0 0);
  }
  &::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 12px;
    width: 29px;
    height: 19px;
    background: url("../images/ribbon_right.svg") center / contain no-repeat;
    clip-path: inset(0 0 0 14px);
  }
}
.cp-fv__ttl {
  font-size: 48px;
  font-weight: 600;
  color: #1A1A1E;
  text-align: center;
  margin-bottom: 16px;
}
.cp-fv__ttl .txt-sat {
  color: #2469C1;
}
.cp-fv__ttl .txt-sun {
  color: #C12424;
}
.cp-fv__desc {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1E;
  text-align: center;
  margin-bottom: 12px;
}
.cp-fv__badge {
  position: absolute;
  top: 60px;
  right: 0;
  width: 115px;
  height: 115px;
  img {
    width: 100%;
    height: 100%;
  }
}
.txt-emphasize {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  position: relative;
  &:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
    width: 18px;
    height: 35px;
    background: url("../images/emphasize_left.svg") center / contain no-repeat;
  }
  &:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -24px;
    width: 18px;
    height: 35px;
    background: url("../images/emphasize_right.svg") center / contain no-repeat;
  }
  span {
    font-size: 42px;
    font-weight: 600;
    color: #1A1A1E;
    display: inline-block;
    background: #FFFFFF;
    border-radius: 2px;
    padding: 0 8px;
  }
}
.cp-fv__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 657px;
  margin: 24px 0 32px;
}
.cp-fv__links__row {
  display: flex;
  gap: 24px;
}
.cp-fv__links__week {
  display: flex;
  flex: 1;
}
.cp-fv__links__week__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #E5E5E8;
  padding: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1E;
  text-align: center;
}
.cp-fv__links__cards {
  display: flex;
  gap: 8px;
  padding: 4px 6px;
  background: #FFFFFF;
  flex: 1;
}
.cp-fv__links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  border-radius: 4px;
  text-decoration: none;
  padding-bottom: 12px;
  gap: 10px;
  background: #fff;
  &:hover {
    .cp-fv__links__item__btn {
      background: #FCFCFC;
      color: #1A1A1E;
    }
  }
  &.sat {
    border: 1px solid #2469C1;
    .cp-fv__links__item__date {
      background: #2469C1;
    }
    .cp-fv__links__item__discount {
      color: #2469C1;
    }
  }
  &.sun {
    border: 1px solid #C12424;
    .cp-fv__links__item__date {
      background: #C12424;
    }
    .cp-fv__links__item__discount {
      color: #C12424;
    }
  }
}
.cp-fv__links__item__date {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 4px 0;
  font-size: 16px;
  font-weight: 700;
  color: #FCFCFC;
}
.cp-fv__links__item__discount {
  font-size: 24px;
  font-weight: 700;
}
.cp-fv__links__item__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  background: #1A1A1E;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: #FCFCFC;
  border: 1px solid #1A1A1E;
  transition: background-color 0.2s, color 0.2s;
}
.cp-fv__illust {
  max-width: 510px;
  margin: 0 auto;
  img {
    width: 100%;
    height: auto;
  }
}
.cp-block__inr {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px;
}
.cp-block__ttl {
  font-size: 24px;
  font-weight: 600;
  color: #1A1A1E;
  margin-bottom: 24px;
}
.cp-howto__lst {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 48px;
}
.cp-howto__item + .cp-howto__item {
  position: relative;
}
.cp-howto__item + .cp-howto__item::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("../images/akippa-follow-down-navy.svg") center / contain no-repeat;
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
}
.cp-howto__item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 4px;
  padding: 16px 24px;
  border: 1px solid #CBCBD2;
}
.cp-howto__item__ttl {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1E;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  .step-number  {
    background: #55EACE;
    color: #1A1A1E;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 8px;
  }
}
.cp-howto__item__desc {
  font-size: 14px;
  color: #1A1A1E;
  margin-bottom: 12px;
  font-weight: 400;
}
.cp-howto__item__img {
  width: 80px;
  height: 95px;
  img {
    width: 100%;
  }
}
.cp-howto__item__note {
  font-size: 12px;
  color: #FF6B3D;
  font-weight: 600;
}
.cp-block__cta {
  margin-top: 24px;
  text-align: center;
}
.cp-block__cta__before {
  padding: 12px 24px;
  background: #E5E5E8;
  color: #1A1A1E;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  min-width: 400px;
  text-align: center;
}
.cp-block__cta__btn {
  padding: 12px 24px;
  background: #00B893;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  border: 1px solid #00B893;
  min-width: 400px;
  &:hover {
    background: #fff;
    color: #00B893;
    border: 1px solid #00B893;
  }
}
.cp-point__lst {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cp-point__item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border: 1px solid #CBCBD2;
  border-radius: 4px;
}
.cp-point__item__img {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}
.cp-point__item__txt {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1E;
}
.cp-point__item__desc {
  font-size: 14px;
  color: #1A1A1E;
  margin-top: 12px;
  font-weight: 400;
}
.cp-detail__lst {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cp-detail__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #F0F0F2;
  border-radius: 4px;
  padding: 12px 16px;
}
.cp-detail__item__ttl {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1E;
}
.cp-detail__item__desc {
  font-size: 14px;
  font-weight: 400;
  color: #1A1A1E;
  line-height: 1.6;
}
.cp-detail__item__desc__lst {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #1A1A1E;
  line-height: 1.6;
  padding-left: 1em;
  list-style: disc;
}
.fixed-banner {
  display: none;
}
.fixed-banner a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.fixed-banner__microcopy {
  background: #FFFFFF;
  border-radius: 2px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1A1A1E;
  position: relative;
  margin-top: 8px;
  margin-bottom: 5px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  .txt-sat {
    color: #2469C1;
  }
  .txt-sun {
    color: #C12424;
  }
}
.fixed-banner__microcopy::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #FFFFFF;
}
.fixed-banner__txt {
  display: block;
  width: 100%;
  background: #00B893;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #FCFCFC;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.24);
}
.cp-footer {
  background: #F0F0F2;
  padding: 48px 32px;
}
.cp-footer__inr {
  display: flex;
  align-items: center;
  gap: 32px;
}
.cp-footer__logo {
  width: 68px;
  height: auto;
  flex-shrink: 0;
}
.cp-footer__nav__lst {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cp-footer__nav__link {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1E;
  text-decoration: none;
  white-space: nowrap;
  &:hover {
    text-decoration: underline;
  }
}
.cp-footer__copyright {
  flex: 1;
  font-size: 12px;
  font-weight: 400;
  color: #828291;
  text-align: right;
}

@media (max-width: 768px) {
  /* Header */
  .cp-header__inr {
    padding: 12px 20px;
  }
  .cp-header__logo {
    width: 45px;
  }
  .cp-header__link {
    font-size: 14px;
    padding: 6px 16px;
  }

  /* FV */
  .cp-fv {
    background-image: url("../images/fv_bg_sp.svg");
    background-size: 100% auto;
  }
  .cp-fv__inr {
    padding: 48px 16px 0;
  }
  .cp-fv__ttl {
    font-size: 36px;
  }
  .cp-fv__desc {
    font-size: 14px;
  }
  .cp-fv__links {
    max-width: 100%;
    gap: 4px;
  }
  .cp-fv__links__row {
    flex-direction: column;
    gap: 4px;
  }
  .cp-fv__links__week__label {
    flex-direction: row;
    gap: 2px;
    padding: 4px 8px;
    writing-mode: horizontal-tb;
  }
  .cp-fv__links__item {
    gap: 4px;
  }
  .cp-fv__links__item__date {
    font-size: 12px;
  }
  .cp-fv__links__item__discount {
    font-size: 18px;
  }
  .cp-fv__links__item__btn {
    font-size: 12px;
  }
  .cp-fv__badge {
    width: 80px;
    height: 80px;
    top: 12px;
    right: 12px;
  }
  .txt-emphasize {
    span {
      font-size: 36px;
      padding: 0 4px 2px;
    }
  }

  /* Howto */
  .cp-howto__item {
    gap: 16px;
    padding: 12px 16px;
    justify-content: space-between;
  }
  .cp-howto__item__img {
    width: 80px;
    height: 95px;
    flex-shrink: 0;
    order: 1;
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
  .cp-howto__item__desc {
    font-size: 12px;
  }
  .cp-howto__item__note {
    font-size: 12px;
  }

  /* Point */
  .cp-point__lst {
    grid-template-columns: repeat(1, 1fr);
  }
  .cp-point__item__txt {
    margin-top: 16px;
  }
  .cp-point__item__img {
    height: 161px;
    margin-bottom: 0;
    overflow: hidden;
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  /* CTA button */
  .cp-block__cta__before {
    min-width: unset;
    width: 100%;
    box-sizing: border-box;
  }
  .cp-block__cta__btn {
    min-width: unset;
    width: 100%;
    box-sizing: border-box;
  }

  /* Footer */
  .cp-footer__inr {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .cp-footer__nav__lst {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .cp-footer__copyright {
    flex: none;
    text-align: left;
  }

  /* Fixed Banner */
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  .fixed-banner {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 20px calc(16px + env(safe-area-inset-bottom));
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .fixed-banner.is-hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
  }
}
