/* ====================================
   Thank You ページ用スタイル
==================================== */

.thankyou-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 60px 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.thankyou-icon {
  margin-bottom: 30px;
  display: inline-block;
  animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thankyou-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.5;
}

.thankyou-message {
  margin-bottom: 40px;
}

.thankyou-message p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.thankyou-note {
  font-size: 14px !important;
  color: #999 !important;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: left;
}

.thankyou-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* PC/SPボタンの表示切り替え */
.thankyou-actions .banner-button-wrap {
  display: block;
}

.thankyou-actions .banner-button-wrap-sp {
  display: none;
}

.thankyou-info {
  padding: 30px;
  background: #fafafa;
  border-radius: 8px;
  text-align: left;
}

.thankyou-info h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.thankyou-info p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.thankyou-info .small-text {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

/* 既存のページヒーローセクションとの調整 */
.thankyou-page.wrapper {
  padding-top: 80px;
  padding-bottom: 60px;
}

/* ====================================
   レスポンシブ対応
==================================== */
@media (max-width: 768px) {
  .thankyou-container {
    padding: 40px 20px;
    margin: 40px 20px;
  }

  .thankyou-title {
    font-size: 24px;
  }

  .thankyou-note {
    padding: 15px;
    font-size: 13px !important;
  }

  /* モバイルでボタン切り替え */
  .thankyou-actions .banner-button-wrap {
    display: none;
  }

  .thankyou-actions .banner-button-wrap-sp {
    display: block;
  }
}