@charset "UTF-8";

/* =========================================
   Thanks Section
   ========================================= */
.thanks {
  background-color: var(--color-base-light);
  padding: 18rem 0 16rem;
  text-align: center;
  min-height: calc(100vh - 30rem); /* ヘッダー・フッターを考慮した高さ調整 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks__inner {
  width: 100%;
}

.thanks__title {
  font-family: var(--font-ja);
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 7rem;
}

.thanks__content {
  margin-bottom: 7rem;
}

.thanks__text {
  font-size: 1.6rem;
  line-height: 2.2;
  letter-spacing: 0.08em;
  margin-bottom: 4rem;
}

.thanks__text:last-child {
  margin-bottom: 0;
}

.thanks__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28rem;
  height: 6.4rem;
  border: 1px solid var(--color-text-main);
  border-radius: 3.2rem;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 auto;
}

.thanks__btn:hover {
  background-color: var(--color-text-main);
  color: var(--color-white);
}

/* =========================================
   SP & Tablet (max-width: 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .thanks {
    padding: 30vw 0 25vw;
    min-height: 80vh;
  }

  .thanks__title {
    font-size: 5vw;
    margin-bottom: 10vw;
  }

  .thanks__content {
    margin-bottom: 12vw;
  }

  .thanks__text {
    font-size: 3.8vw;
    line-height: 2;
    margin-bottom: 6vw;
  }

  .thanks__btn {
    width: 48vw;
    height: 13vw;
    border-radius: 6.5vw;
    font-size: 4.2vw;
  }
}