@charset "utf-8";

/* ===============================================
   サンクスページ（フォーム送信完了・資料請求完了）
   リニューアル版ヘッダー/フッターと組み合わせて使う
   =============================================== */

.thanks-wrap {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #222;
  background: #f5f8fc;
  padding: 64px 16px 88px;
}

/* 親テーマ（Diver）が main#page-main に float:left / 幅指定をかけるため打ち消して中央寄せにする */
.thanks-wrap .thanks-main,
main#page-main.thanks-main {
  float: none;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}

.thanks-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 78, 162, 0.08);
  padding: 56px 48px 48px;
  text-align: center;
}

.thanks-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.thanks-eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #004EA2;
}

.thanks-title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.thanks-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.thanks-lead__line {
  display: block;
}

.thanks-lead strong {
  color: #004EA2;
  font-weight: 700;
}

/* 資料ダウンロード */
.thanks-download {
  margin: 0 0 28px;
}

.thanks-download__note {
  margin: 14px 0 0;
  font-size: 14px;
  color: #555;
}

/* 注意事項 */
.thanks-notes {
  list-style: none;
  margin: 0 auto 32px;
  padding: 18px 24px;
  max-width: 560px;
  text-align: left;
  background: #f7f9fb;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.thanks-notes li {
  position: relative;
  padding-left: 1.4em;
}

.thanks-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #004EA2;
}

/* 電話 */
.thanks-contact {
  margin: 0 0 36px;
  padding: 24px 16px;
  border-top: 1px solid #e3e9f1;
  border-bottom: 1px solid #e3e9f1;
}

.thanks-contact__label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.thanks-contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #004EA2;
  text-decoration: none;
  line-height: 1.2;
}

.thanks-contact__tel:hover {
  color: #003a7a;
  text-decoration: none;
}

.thanks-contact__hours {
  margin: 8px 0 0;
  font-size: 14px;
  color: #555;
}

.thanks-contact__person {
  display: inline-block;
  margin-left: 2px;
  white-space: nowrap;
}

/* ボタン */
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.thanks-btn--primary {
  background: #004EA2;
  color: #fff;
  border: 2px solid #004EA2;
}

.thanks-btn--primary:hover {
  background: #003a7a;
  border-color: #003a7a;
  color: #fff;
  text-decoration: none;
}

.thanks-btn--ghost {
  background: #fff;
  color: #004EA2;
  border: 2px solid #004EA2;
}

.thanks-btn--ghost:hover {
  background: #eef4fb;
  color: #004EA2;
  text-decoration: none;
}

.thanks-btn--download {
  min-width: 280px;
  font-size: 16px;
}

/* SP */
@media screen and (max-width: 768px) {
  .thanks-wrap {
    padding: 32px 16px 56px;
  }

  .thanks-card {
    padding: 40px 20px 32px;
    border-radius: 12px;
  }

  .thanks-title {
    font-size: 22px;
  }

  .thanks-lead {
    font-size: 15px;
    text-align: left;
  }

  .thanks-contact__person {
    display: block;
    margin: 4px 0 0;
  }

  .thanks-contact__tel {
    font-size: 28px;
  }

  .thanks-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thanks-btn {
    min-width: 0;
    width: 100%;
  }
}
