@charset "utf-8";

/* ========================================
   contact.css
   お問い合わせページ固有スタイル
   フォームページ（contact/index.php）
   サンクスページ（contact/thanks.php）
======================================== */


/* ========== CONTACT SECTION ========== */
.contact-section {
  width: 100%;
  background-color: #0099c3;
  padding: 60px 0 80px;
  margin-bottom: 80px;
}

.contact-section__inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* リード文 */
.contact-lead {
  font-size: 16px;
  color: #fff;
  text-align: center;
  margin: 0 0 40px;
  line-height: 1.8;
}

/* 個人情報の取り扱い */
.contact-privacy {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 20px 24px;
  margin-bottom: 50px;
  box-sizing: border-box;
}

.contact-privacy--bottom {
  margin-top: 40px;
  margin-bottom: 30px;
}

.contact-privacy p {
  font-size: 14px;
  color: #fff;
  margin: 0;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .contact-section {
    padding: 40px 0 60px;
    margin-bottom: 60px;
  }

  .contact-section__inner {
    width: 90%;
  }

  .contact-privacy {
    padding: 16px;
  }

  .contact-privacy p {
    font-size: 13px;
  }
}
/* ========== /CONTACT SECTION ========== */


/* ========== CONTACT FORM ========== */
.contact-form {
  width: 100%;
}

/* 各行 */
.contact-form__row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-form__row:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding-top: 30px;
}

/* ラベル */
.contact-form__label {
  width: 200px;
  flex-shrink: 0;
  padding-top: 10px;
}

.contact-form__label label {
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

/* 必須バッジ */
.contact-form__required {
  display: inline-block;
  background-color: #cc0000;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* 入力エリア */
.contact-form__input {
  flex: 1;
}

/* テキスト・メール・TEL input */
.contact-form__input input[type="text"],
.contact-form__input input[type="email"],
.contact-form__input input[type="tel"] {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0 14px;
  font-size: 15px;
  color: #333333;
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  background-color: #fff;
  border-radius: 0;
  -webkit-appearance: none;
}

.contact-form__input input[type="text"]:focus,
.contact-form__input input[type="email"]:focus,
.contact-form__input input[type="tel"]:focus {
  border-color: #fff;
  outline: none;
}

/* テキストエリア */
.contact-form__input textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 12px 14px;
  font-size: 15px;
  color: #333333;
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
  resize: vertical;
  transition: border-color 0.2s ease;
  background-color: #fff;
  border-radius: 0;
  -webkit-appearance: none;
  line-height: 1.7;
}

.contact-form__input textarea:focus {
  border-color: #fff;
  outline: none;
}

/* ラジオボタングループ */
.contact-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 8px;
}

.contact-form__radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: #fff;
}

.contact-form__radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

/* 送信ボタン */
.contact-form__submit {
  text-align: center;
  margin-top: 10px;
}

.contact-form__btn {
  display: inline-block;
  width: 300px;
  height: 56px;
  background-color: #fff;
  color: #0099c3;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  letter-spacing: 0.05em;
}

.contact-form__btn:hover {
  background-color: #004364;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .contact-form__row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .contact-form__row:first-of-type {
    padding-top: 24px;
  }

  .contact-form__label {
    width: 100%;
    padding-top: 0;
  }

  .contact-form__input {
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form__radios {
    gap: 10px 20px;
  }

  .contact-form__btn {
    width: 100%;
  }
}
/* ========== /CONTACT FORM ========== */


/* ========== THANKS PAGE ========== */
.thanks-section {
  width: 100%;
  background-color: #0099c3;
  padding: 80px 0 100px;
  margin-bottom: 80px;
}

.thanks-section__inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* THANKS 英字見出し */
.thanks-en {
  font-family: "Zen Old Mincho", serif;
  font-size: 80px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 30px;
  line-height: 1;
  letter-spacing: 0.1em;
  opacity: 0.3;
}

/* メッセージ */
.thanks-message {
  margin: 0 0 60px;
}

.thanks-message p {
  font-size: 16px;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.9;
}

.thanks-message p:last-child {
  margin: 0;
}

/* thanksページのTOPへボタン（白枠） */
.thanks-section .back-btn-wrap {
  margin-bottom: 0;
}

.thanks-section .back-btn {
  color: #fff;
  border-color: #fff;
}

.thanks-section .back-btn:hover {
  background-color: #fff;
  color: #0099c3;
}

@media screen and (max-width: 768px) {
  .thanks-section {
    padding: 60px 0 70px;
    margin-bottom: 60px;
  }

  .thanks-section__inner {
    width: 90%;
  }

  .thanks-en {
    font-size: 50px;
  }

  .thanks-message p {
    font-size: 15px;
  }
}
/* ========== /THANKS PAGE ========== */