/* =================================
   サンクスページ
================================= */

.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 280px);
  padding: 120px 0 80px;
  text-align: center;
}

/* アイコンコンテナ */
.thanks__icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out;
}

.thanks__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #004896 0%, #1a6ec8 100%);
  border-radius: 50%;
  opacity: 0.1;
  animation: pulse 2s ease-in-out infinite;
}

.thanks__icon svg {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  color: #004896;
}

/* タイトル */
.thanks__title {
  font-weight: bold;
  font-size: 26px;
  color: #004896;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* サブタイトル */
.thanks__subtitle {
  font-weight: 500;
  font-size: 14px;
  line-height: 25px;
  color: #707070;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* メッセージカード */
.thanks__card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 32px 40px;
  max-width: 560px;
  width: 100%;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.thanks__message {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

.thanks__message-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  line-height: 1.8;
  color: #707070;
}

/* ボタンエリア */
.thanks__actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.thanks__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.thanks__button--primary {
  background-color: #004896;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 72, 150, 0.25);
}

.thanks__button--primary:hover {
  background-color: #1a6ec8;
  box-shadow: 0 4px 12px rgba(0, 72, 150, 0.35);
  transform: translateY(-2px);
}

.thanks__button--secondary {
  background-color: #fff;
  color: #004896;
  border: 1px solid #004896;
}

.thanks__button--secondary:hover {
  background-color: #004896;
  color: #fff;
}

/* アイコン */
.thanks__button-icon {
  width: 18px;
  height: 18px;
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.15;
  }
}

/* =================================
   レスポンシブ
================================= */
@media screen and (max-width: 769px) {
  .thanks {
    min-height: calc(100vh - 220px);
    padding: 100px 0 60px;
  }

  .thanks__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
  }

  .thanks__icon::before {
    width: 80px;
    height: 80px;
  }

  .thanks__icon svg {
    width: 80px;
    height: 80px;
  }

  .thanks__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .thanks__subtitle {
    font-size: 13px;
    margin-bottom: 32px;
  }

  .thanks__card {
    padding: 24px 20px;
    margin-bottom: 36px;
  }

  .thanks__message {
    font-size: 14px;
    line-height: 1.85;
  }

  .thanks__message-note {
    margin-top: 16px;
    padding-top: 16px;
    font-size: 12px;
  }

  .thanks__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .thanks__button {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }
}
