/* ========================================
   Thanks Page (Resource)
======================================== */

.thanks-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--color-text);
}

.thanks-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.thanks-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.thanks-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* ボタン：基本（赤） */
.btn-thanks {
  display: block;
  width: 100%;
  padding: 1.2rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: var(--color-danger);
  color: var(--color-white);
  line-height: 1.5;
  transition: background-color 0.3s ease;
}

.btn-thanks:hover {
  background-color: var(--color-danger-hover);
}

/* ボタン：青バージョン */
.btn-thanks.blue {
  background-color: var(--color-primary);
}

.btn-thanks.blue:hover {
  background-color: var(--color-primary-hover);
}

/* ボタン：赤（danger）バージョン */
.btn-thanks.danger {
  background-color: var(--color-danger);
}

.btn-thanks.danger:hover {
  background-color: var(--color-danger-hover);
}

.highlight-number {
  font-size: 120%;
  font-weight: 900;
}

/* ========================================
   イベント利用案内カード
======================================== */

.thanks-event-card {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  background: var(--color-white, #fff);
}

/* 注意書きエリア */
.thanks-event-card__notice {
  padding: 2rem 2rem 1.5rem;
  text-align: left;
}

.thanks-event-card__notice-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-danger);
  margin: 0 0 1rem;
}

.thanks-event-card__notice-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
}

.thanks-event-card__notice-text strong {
  color: var(--color-primary);
}

/* バナー画像エリア */
.thanks-event-card__banner {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.thanks-event-card__banner:hover {
  opacity: 0.88;
}

.thanks-event-card__banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* CTAボタンエリア */
.thanks-event-card__cta {
  padding: 1.2rem 2rem 1.8rem;
}

.thanks-event-card__cta .btn-thanks {
  text-align: center;
}

/* ========================================
   下部リンク（デザイン強化・メリハリ調整）
======================================== */

.thanks-links {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.4rem 2rem;
  background: #f4f8fb;
  border: 1px solid #dce6ee;
  border-radius: 14px;
  text-align: left;
  line-height: 1.8;
}

/* 各ブロック */
.thanks-links .section-block {
  padding-bottom: 1.8rem;
  border-bottom: 1px solid #e5edf3;
  margin-bottom: 1.8rem;
}
.thanks-links .section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 見出しテキスト */
.thanks-links p strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

/* リンクリスト（行頭の・を揃える） */
.thanks-links .link-list {
  padding-left: 0.2rem;
  text-align: center;
}

/* 各リンク */
.thanks-links a {
  display: inline-block;
  padding: 6px 0;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color .25s ease, transform .2s ease;
}

.thanks-links a:hover {
  color: var(--color-primary-hover);
  transform: translateX(2px);
}

/* ▼お客様への紹介や協業について▼ の下の余白を詰める */
.thanks-links .section-block > p {
  margin-bottom: 0;
}

/* section 見出し（thanksページ専用） */
.thanks-links .section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  text-align: center;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 600px) {
  .thanks-page {
    padding: 2.5rem 1rem;
  }

  .thanks-title {
    font-size: 1.5rem;
  }

  .thanks-event-card__notice {
    padding: 1.5rem 1.2rem 1rem;
  }

  .thanks-event-card__notice-title {
    font-size: 0.95rem;
  }

  .thanks-event-card__notice-text {
    font-size: 0.88rem;
  }

  .thanks-event-card__cta {
    padding: 1rem 1.2rem 1.4rem;
  }

  .btn-thanks {
    font-size: 0.95rem;
    padding: 1rem 0.8rem;
  }

  .thanks-links {
    padding: 1.5rem 1.2rem;
  }
}
