/* ============== LAYOUT OVERRIDES ==============
 * Arkhe親テーマの .l-container は max-width と左右padding を持つため、
 * フルブリードの .thanks-page が画面幅いっぱいに広がらない。
 * thanks ページでは l-container の制約を解除する。 */
body.page-thanks {
  overflow-x: hidden;
}

body.page-thanks .l-wrapper #content .l-container,
body.page-thanks .l-content,
body.page-thanks .l-content__body {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

/* ============== THANKS PAGE WRAPPER ============== */
body.page-thanks .thanks-page {
  position: relative;
  background: linear-gradient(180deg, #f1f6fc 0%, #f1f6fc 100%);
  overflow: hidden;
}

/* ===== Decorative background (shared visual language with contact page) ===== */
body.page-thanks .contact-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

body.page-thanks .contact-bg-tr {
  top: -80px;
  right: -120px;
  width: 760px;
  height: 600px;
  background-image: url('../images/bg04.svg');
  background-position: top right;
}

body.page-thanks .contact-bg-bl {
  left: -80px;
  bottom: -20%;
  width: 720px;
  height: 400px;
  background-image: url('../images/bg03.svg');
  background-position: bottom left;
}

/* ============== THANKS CARD ============== */
body.page-thanks .thanks-section {
  position: relative;
  z-index: 2;
  padding: 248px 32px 110px;
  display: flex;
  justify-content: center;
}

body.page-thanks .thanks-card {
  background: #fff;
  border-radius: 15px;
  width: 610px;
  max-width: 100%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.page-thanks .thanks-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 65px;
  width: 100%;
}

body.page-thanks .thanks-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 33px;
}

body.page-thanks .thanks-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 71px;
  line-height: 1;
  color: var(--blue);
  text-align: center;
}

body.page-thanks .thanks-message {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  text-align: center;
}

body.page-thanks .thanks-top-btn {
  min-width: 220px;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 8px;
}

body.page-thanks .thanks-top-btn-text {
  padding-left: 50px;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1200px) {
  body.page-thanks .contact-bg-tr {
    width: 500px;
    height: 400px;
  }

  body.page-thanks .contact-bg-bl {
    width: 480px;
    height: 280px;
  }
}

@media (max-width: 900px) {
  body.page-thanks .thanks-section {
    padding: 130px 20px 80px;
  }

  body.page-thanks .thanks-card {
    padding: 48px 24px;
  }

  body.page-thanks .thanks-card-body {
    gap: 48px;
  }

  body.page-thanks .thanks-card-text {
    gap: 24px;
  }

  body.page-thanks .thanks-title {
    font-size: 48px;
  }

  body.page-thanks .thanks-message {
    font-size: 16px;
  }

  body.page-thanks .contact-bg-tr,
  body.page-thanks .contact-bg-bl {
    opacity: 0.5;
  }
}
