@import "../assets/styles/reset.css";
@import "../assets/styles/variable.css";
@import "../assets/styles/button.css";

.promotion {
  padding: 0 0 120px;
}

.promotion section article {
  margin: 0 auto;
  max-width: var(--layout-content-max-width);
}

.promotion__hero {
  text-align: center;
  background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0.6) 100%
    ),
    linear-gradient(139deg, #7a33ff 0%, #b25df8 38%, #ff57d2 70%, #ffb05e 100%);
}

.promotion__hero article {
  padding: 110px 20px 30px;
}

.promotion__hero-header img {
  display: block;
  max-width: 393px;
  width: 100%;
  margin: 0 auto;
}

.promotion__hero-header h2 {
  font-size: 56px;
  line-height: 1.2;
  letter-spacing: -2px;
  font-weight: 700;
  word-break: keep-all;
  color: #000;
  padding-top: 24px;
}

.promotion__hero-header p {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  font-weight: 700;
  word-break: keep-all;
  font-weight: 400;
  color: #000;
  padding-top: 24px;
}

.promotion__hero-visual {
  display: block;
  max-width: 900px;
  width: 100%;
  margin: 48px auto 0;
}

.promotion__guide {
  text-align: center;
  margin: 0 auto;
}

.promotion__guide article {
  padding-top: 100px;
}

.promotion__guide-header h3 {
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  font-weight: 700;
  word-break: keep-all;
  display: inline-block;
}

.promotion__guide-header p {
  font-size: 22px;
  color: rgba(0, 0, 0, 0.8);
  padding-top: 10px;
}
.promotion__guide-header p a {
  text-decoration: underline;
}

.promotion__guide-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-top: 40px;
}

.guide-step {
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 334px;
  width: 100%;
  min-height: 292px;
  text-align: center;
  border: 2px solid #e5e8eb;
  border-radius: 16px;
  padding: 30px 0 0;
}

.guide-step__badge {
  display: block;
  width: fit-content;
  font-size: 16px;
  letter-spacing: -0.5px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  background-color: #000;
  border-radius: 40px;
  padding: 10px 14px;
  margin: 0 auto;
}

.guide-step__description {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  padding-top: 10px;
}

.guide-step__note {
  display: block;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.13px;
  color: rgba(26, 26, 26, 0.8);
  padding-top: 4px;
}

.guide-step__image {
  width: 100%;
  height: auto;
}

.guide-step__action {
  display: inline-flex;
  margin-top: 2px;
}

.guide-step__arrow {
  display: inline-flex;
  width: 16px;
  height: 34px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="34" viewBox="0 0 16 34" fill="none"><path d="M0.775879 32.6306L13.7759 16.6306L0.775878 0.630615" stroke="%23C5C5C5" stroke-width="2"/></svg>')
    no-repeat;
  margin: 0 21px;
}

.promotion__cta .btn {
  width: 280px;
  margin-top: 60px;
}

.promotion__terms {
  max-width: var(--layout-container-max-width);
  width: calc(100% - 80px);
  margin: 0 auto;
}

.promotion__terms article {
  background-color: #f2f4f6;
  border-radius: 16px;
  padding: 42px 36px;
  margin-top: 80px !important;
}

.terms-list {
  text-align: left;
}

.terms-list:not(:first-of-type) {
  margin-top: 24px;
}

.terms-list__title {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 700;
  word-break: keep-all;
  padding-bottom: 10px;
}

.terms-list__item {
  position: relative;
  font-size: 14px;
  padding-left: 12px;
  word-break: keep-all;
}

.terms-list__item:before {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  content: "-";
  top: 0;
}
.terms-list__item .indent {
  margin-left: 10px;
}

@media (max-width: 1023px) {
  .promotion {
    padding: 0 0 60px;
  }

  .promotion__hero article,
  .promotion__terms article,
  .promotion__guide article {
    padding-left: 20px;
    padding-right: 20px;
  }

  .promotion__hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
  }

  .promotion__hero article {
    padding: 60px 16px 20px;
  }

  .promotion__hero-header img {
    max-width: 230px;
  }

  .promotion__hero-header h2 {
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: -0.5px;
    font-weight: 700;
    word-break: keep-all;
    padding-top: 16px;
  }

  .promotion__hero-header p {
    font-size: 15px;
    padding-top: 10px;
  }

  .promotion__guide article {
    padding-top: 60px;
  }

  .guide-step__badge {
    font-size: 14px;
    font-weight: 700;
    border-radius: 40px;
    padding: 8px 19px;
  }

  .promotion__guide-header h3 {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.5px;
    font-weight: 700;
    word-break: keep-all;
  }

  .promotion__guide-header p {
    font-size: 15px;
    word-break: keep-all;
  }

  .promotion__guide-steps {
    flex-direction: column;
    gap: 10px 0;
    margin-top: 36px;
  }

  .guide-step__arrow {
    transform: rotate(90deg);
    margin: 0 23px;
  }

  .promotion__cta .btn {
    width: 240px;
    height: 52px;
    font-size: 15px;
    padding: 0 24px;
    margin-top: 36px;
  }

  .promotion__terms {
    width: 100%;
    width: calc(100% - 40px);
    border-radius: 16px;
  }

  .promotion__terms article {
    margin-top: 60px !important;
  }

  .terms-list:not(:first-of-type) {
    margin-top: 20px;
  }

  .terms-list__title {
    font-size: 18px;
  }

  .terms-list__item {
    font-size: 13px;
  }
}
