/* お問い合わせページ用スタイル */
.contact-hero {
  padding: 80px 0 40px;
}

.contact__ttl {
  font-size: 32px;
  font-weight: 700;
  margin: 20px 0;
  text-align: center;
}

.contact__desc {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
}

.contact-form {
  padding: 0 0 100px;
}

/* フォームの共通スタイル */
.form {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.form__group {
  margin-bottom: 30px;
}

.form__label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
}

.form__required {
  display: inline-block;
  background-color: #e60012;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 10px;
  border-radius: 4px;
  font-weight: normal;
}

.form__input-wrap {
  position: relative;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.form__textarea {
  resize: vertical;
  min-height: 150px;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: #0071BC;
  box-shadow: 0 0 5px rgba(0, 113, 188, 0.3);
}

/* 個人情報の取り扱いセクション */
.form__privacy {
  margin: 40px 0;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.form__privacy-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.form__privacy-content {
  font-size: 14px;
  line-height: 1.8;
}

.form__privacy-content p {
  margin-bottom: 10px;
}

.form__privacy-content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.form__privacy-content li {
  margin-bottom: 5px;
}

.form__privacy-check {
  margin-top: 15px;
  display: flex;
  align-items: center;
}

.form__privacy-check input {
  margin-right: 10px;
}

/* 送信ボタン */
.form__submit {
  text-align: center;
  margin-top: 40px;
}

.form__button {
  display: inline-block;
  background-color: #0071BC;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 15px 60px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form__button:hover {
  background-color: #005a95;
}

/* メッセージ表示 */
.contact-message {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
}

.contact-message p {
  font-size: 16px;
  line-height: 1.6;
}

.contact-message--success {
  background-color: #e7f4e4;
  border: 1px solid #c5e1c5;
  color: #2d6a2d;
}

.contact-message--error {
  background-color: #fbe9e7;
  border: 1px solid #ffcdd2;
  color: #b71c1c;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .contact-hero {
    padding: 60px 0 30px;
  }
  
  .contact__ttl {
    font-size: 24px;
  }
  
  .contact__desc {
    font-size: 14px;
    text-align: left;
  }
  
  .form {
    padding: 20px;
  }
  
  .form__button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}