/* ============================================
   お問い合わせ完了
============================================ */
.contact-thanks_content {
  padding: 14rem 0 0;
}

.contact-thanks_content__inner {
  max-width: 100rem;
  margin: 0 auto;
}

/* 見出し + 本文 */
.contact-thanks_content__block {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-thanks_content__heading {
  font-family: var(--font-mincho);
  font-size: 2rem;
  font-weight: 700;
  line-height: 2; /* 200% */
  letter-spacing: 0;
  color: var(--color-accent);
}

.contact-thanks_content__text p {
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2; /* 200% */
  letter-spacing: 0;
  color: var(--color-text);
}

/* TOPへ ボタン */
.contact-thanks_content__action {
  margin-top: 4.8rem; /* 【要確認】本文との間隔は実測値 */
  text-align: center;
}

.contact-thanks_content__top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23.2rem;
  height: 5.4rem;
  background: var(--color-brown);
  color: #fff;
  font-family: var(--font-mincho);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-thanks_content__top-link:hover {
  opacity: 0.85;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 768px) {
  .contact-thanks_content {
    padding: 8rem 0 0;
  }

  .contact-thanks_content__heading {
    font-size: 1.8rem;
  }

  .contact-thanks_content__text p {
    font-size: 1.5rem;
    line-height: 1.9;
  }

  .contact-thanks_content__top-link {
    width: 100%;
    max-width: 23.2rem;
  }
}
