@charset "utf-8";
/* =========================================================
   サンクスページ固有のスタイル (thanks.css)
========================================================= */

#main_content {
  place-items: flex-start !important;
}

.p-thanks {
  padding: 80px 0; /* 120px -> 80px */
  background-color: #f8fafc;
  min-height: 50vh; /* 60vh -> 50vh */
  display: flex;
  align-items: center;
}

.p-thanks__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

@media screen and (max-width: 599px) {
  .p-thanks {
    padding: 0;
  }
}

.p-thanks__contentBox {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: 64px 40px;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.p-thanks__title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.p-thanks__title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
}

.p-thanks__text {
  font-size: 16px;
  line-height: 2;
  color: #475569;
  margin-top: 32px;
  margin-bottom: 32px; /* 48px -> 32px */
}

.p-thanks__btnWrap {
  display: flex;
  justify-content: center;
}

.p-thanks__btn {
  /* .c-mvBtn__btn の共通スタイルを継承しつつ微調整 */
  padding: 20px 64px !important;
  font-size: 1.1rem !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex;
  font-weight: bold;
}

.p-thanks__btn:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6) !important;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
}

/* スマホ版（デフォルトの画面幅600px未満を想定） */
@media (max-width: 599px) {
  .p-thanks {
    padding: 64px 0; /* 80px -> 64px */
  }
  
  .p-thanks__contentBox {
    padding: 32px 20px; /* 40px -> 32px */
  }

  .p-thanks__title {
    font-size: 24px;
  }

  .p-thanks__text {
    font-size: 14px;
    margin-bottom: 32px;
    br {
      display: none; /* スマホでは自然な折り返しに任せる */
    }
  }

  .p-thanks__btn {
    padding: 16px 40px !important;
    font-size: 1rem !important;
    width: 100%;
    justify-content: center;
  }
}
