/* ==========================================================================
   Thanks page
   ========================================================================== */

body.is-thanks-page {
  padding-bottom: 0;
  background: #f7f4ef;
}

.thanks-page {
  padding: 6.4rem 0 8rem;
  background: #f7f4ef;
}

.thanks {
  min-height: 50vh;
}

.thanks__inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 4.8rem 4rem 5.6rem;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0.4rem 2.4rem rgba(45, 26, 20, 0.08);
  text-align: center;
}

.thanks__label {
  margin: 0 0 0.8rem;
  color: #c51d27;
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.thanks__title {
  margin: 0 0 3.2rem;
  color: #2d1a14;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.thanks__body {
  margin: 0 auto;
  max-width: 62rem;
  text-align: left;
}

.thanks__lead {
  margin: 0 0 2.4rem;
  color: #2d2d2d;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2;
}

.thanks__notes {
  margin: 0 0 2.4rem;
  padding-left: 1.6rem;
  color: #555;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.85;
}

.thanks__notes li + li {
  margin-top: 0.8rem;
}

.thanks__tel {
  margin: 0;
  padding: 1.6rem 2rem;
  border-radius: 0.4rem;
  background: #f3f3f3;
  color: #2d2d2d;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.thanks__tel a {
  color: #c51d27;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.thanks__hours {
  font-size: 1.25rem;
}

.thanks__actions {
  margin: 4rem 0 0;
  text-align: center;
}

.thanks__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28rem;
  min-height: 5.2rem;
  padding: 0.8rem 3.2rem;
  border: 0.3rem solid #fff;
  border-radius: 999px;
  background: var(--m-cta-gradient-mail);
  box-shadow: 0 0.4rem 0 rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thanks__btn:hover {
  transform: translateY(0.2rem);
  box-shadow: 0 0.2rem 0 rgba(0, 0, 0, 0.35);
  color: #fff;
}

@media (max-width: 768px) {
  .thanks-page {
    padding: 4rem 0 6.4rem;
  }

  .thanks__inner {
    padding: 3.2rem 1.6rem 4rem;
  }

  .thanks__title {
    margin-bottom: 2.4rem;
    font-size: 2.2rem;
  }

  .thanks__lead {
    font-size: 1.4rem;
    line-height: 1.85;
  }

  .thanks__notes {
    font-size: 1.2rem;
  }

  .thanks__btn {
    min-width: 0;
    width: min(100%, 32rem);
    max-width: 100%;
    min-height: 4.8rem;
    font-size: 1.5rem;
  }
}
