/* =========================
   お問い合わせ・完了ページ共通設計
========================= */

/* セクション全体の余白を他ページと完全統一 */
.contact-page-section {
  padding-top: 100px; /* PC版余白 */
  padding-bottom: 80px;
}

h1, h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* 見出し下の導入文を完全中央寄せ */
.lead-text {
  text-align: center !important;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: #333;
}

/* =========================
   お問い合わせフォーム (contact.html)
========================= */

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.required {
  color: #E60012;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* 送信ボタン：赤色で統一 */
.form-submit .btn-red {
  width: 250px;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #E60012;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit .btn-red:hover {
  background-color: #c40010;
}

/* =========================
   補足連絡先 (contact.html用)
========================= */

.contact-methods-section {
  padding: 80px 20px;
}

.methods-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.contact-methods {
  list-style: none;
  padding: 0;
}

.contact-methods li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.contact-methods a {
  color: #E60012;
  font-weight: bold;
  text-decoration: none;
}

/* =========================
   サンクスページ専用 (thanks.html)
========================= */

.thanks-main-text {
  font-size: 1.25rem;
  font-weight: bold;
}

.thanks-note {
  text-align: center !important;
  color: #666;
  font-size: 0.95rem;
}

.thanks-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.btn-home {
  display: inline-block;
  background: #004098;
  color: #fff;
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.btn-contact-outline {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid #004098;
  color: #004098;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* =========================
   レスポンシブ
========================= */

@media (max-width: 768px) {
  .contact-page-section {
    padding-top: 40px; /* スマホ版余白 */
  }

  .contact-form {
    padding: 25px 20px;
  }

  .form-submit .btn-red {
    width: 100%;
  }

  .thanks-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-home, .btn-contact-outline {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}