@charset "UTF-8";

/* ===============================
   サンクスページ専用スタイル
================================ */
.thanks-body {
  background-color: var(--sub-color-light, #FFF8D6); /* 既存CSSの変数がない場合のフォールバック含む */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.thanks-container {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 40px 20px;
  text-align: center;
}

/* アラートボックス（離脱防止） */
.alert-box {
  background-color: #FFEFEF;
  border: 2px solid #E60012;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
  animation: shake 2s infinite; /* 注意を引くための軽い揺れ */
}
.alert-text {
  color: #E60012;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
.alert-text span {
  font-size: 22px;
}

/* メインコンテンツ */
.thanks-title {
  font-size: 24px;
  color: var(--text-color, #333);
  margin-bottom: 20px;
  line-height: 1.4;
}
.thanks-desc {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}
.thanks-desc strong {
  color: var(--accent-orange, #FFA500);
}
.small-text {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

/* CTAエリアの調整 */
.thanks-cta {
  margin-bottom: 40px;
}
.thanks-cta .cta-btn {
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  font-size: 20px;
}

/* 脈打ちアニメーションを少し早く（焦燥感と行動喚起） */
.pulse-fast {
  animation: pulse-fast-animation 1.5s infinite;
}
@keyframes pulse-fast-animation {
  0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(6, 199, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* 今後の流れボックス */
.next-step-box {
  background-color: var(--light-gray, #F7F9FA);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  margin-bottom: 30px;
}
.next-step-box h3 {
  font-size: 18px;
  text-align: center;
  color: var(--text-color, #333);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--sub-color, #FFD700);
  padding-bottom: 10px;
  display: inline-block;
  width: 100%;
}
.next-step-box ol {
  padding-left: 20px;
  margin: 0;
}
.next-step-box li {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}
.next-step-box li:last-child {
  margin-bottom: 0;
}
.next-step-box strong {
  color: var(--accent-orange, #FFA500);
}

/* 戻るリンク */
.back-link a {
  color: #999;
  font-size: 14px;
  text-decoration: underline;
}
.back-link a:hover {
  text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .thanks-title {
    font-size: 22px;
  }
  .alert-text {
    font-size: 16px;
  }
  .alert-text span {
    font-size: 18px;
  }
  .thanks-cta .cta-btn {
    font-size: 18px;
    padding: 15px;
  }
}