/* =============== お問い合わせページ専用スタイル =============== */

/* お問い合わせヒーロー */
.contact-hero {
  height: 400px;
}

/* お問い合わせセクション */
.contact-section {
  width: 100%;
  max-width: 920px;
  padding-bottom: 0;
}

/* エラーメッセージ */
.contact-error {
  width: 100%;
  padding: 16px 24px;
  background-color: #fff0f0;
  border: 1px solid #e88;
  border-radius: 4px;
  color: #c33;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* リード文 */
.contact-lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 2;
  color: var(--color-black);
  text-align: center;
}

/* フォーム */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* フォームグループ */
.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* フォームラベル */
.form-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1.1;
}

.form-label-note {
  font-size: 16px;
  font-weight: 300;
}

.required {
  color: red;
}

/* ラジオボタングループ */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
}

/* ラジオボタンラベル */
.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* ラジオボタン非表示 */
.radio-label input[type="radio"] {
  display: none;
}

/* カスタムラジオボタン */
.radio-custom {
  width: 24px;
  height: 24px;
  border: 2px solid #e4e4e4;
  border-radius: 50%;
  background-color: #f5f5f5;
  position: relative;
  flex-shrink: 0;
}

/* ラジオボタン選択時 */
.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--color-burgundy);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: var(--color-burgundy);
  border-radius: 50%;
}

/* ラジオボタンテキスト */
.radio-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1.1;
}

/* テキスト入力 */
.form-input {
  width: 100%;
  padding: 16px 24px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #333;
  line-height: 1.1;
}

.form-input::placeholder {
  color: #b5b5b5;
}

.form-input:focus {
  outline: 2px solid var(--color-burgundy);
}

/* テキストエリア */
.form-textarea {
  width: 100%;
  height: 180px;
  padding: 16px 24px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #333;
  line-height: 1.5;
  resize: vertical;
}

.form-textarea::placeholder {
  color: #b5b5b5;
}

.form-textarea:focus {
  outline: 2px solid var(--color-burgundy);
}

/* 送信ボタン（contact-buttonと同幅で統一） */
.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  height: 80px;
  background-color: var(--color-burgundy);
  border: none;
  border-radius: 40px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.1;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.submit-button:hover {
  opacity: 0.8;
}

/* =============== 確認画面 =============== */

/* 確認内容 */
.confirm-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* 確認グループ */
.confirm-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 確認ラベル */
.confirm-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1.1;
}

.confirm-label-note {
  font-size: 16px;
  font-weight: 300;
}

/* 確認値 */
.confirm-value {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--color-black);
  line-height: 1.5;
}

/* 確認ボタン（contact-buttonと同幅440pxで統一） */
.confirm-buttons {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  margin-top: 88px;
  padding-bottom: 80px;
  width: 100%;
  max-width: 440px;
}

/* 戻るボタン（contact-buttonと同幅で統一） */
.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  height: 80px;
  background-color: transparent;
  border: 1px solid var(--color-burgundy);
  border-radius: 40px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-burgundy);
  line-height: 1.1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: var(--color-burgundy);
  color: var(--color-white);
}

/* =============== 送信完了画面（お問い合わせページベース） =============== */

/* THANKSページ用コンテナ */
.complete-thanks {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* 送信完了メッセージ */
.complete-message {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--color-black);
  line-height: 2;
  text-align: center;
}

.complete-message p {
  margin: 0;
}

/* ホームへボタン */
.home-button {
  text-decoration: none;
  margin-bottom: 80px;
}

/* =============== レスポンシブ - スマートフォン =============== */
@media (max-width: 768px) {
  /* お問い合わせヒーロー SP */
  .contact-hero {
    height: 300px;
  }

  /* お問い合わせセクション SP（他ページのharmony-sectionと同様に40pxで統一） */
  .contact-section {
    padding: 0 40px;
  }

  /* リード文 SP */
  .contact-lead {
    font-size: 19px;
  }

  /* フォーム SP */
  .contact-form {
    gap: 32px;
  }

  /* フォームラベル SP */
  .form-label {
    font-size: 19px;
  }

  .form-label-note {
    font-size: 14px;
  }

  /* ラジオボタングループ SP */
  .radio-group {
    gap: 20px;
    padding-bottom: 16px;
  }

  /* ラジオボタンテキスト SP */
  .radio-text {
    font-size: 19px;
  }

  /* テキスト入力 SP */
  .form-input {
    font-size: 16px;
    padding: 14px 16px;
  }

  /* テキストエリア SP */
  .form-textarea {
    font-size: 16px;
    padding: 14px 16px;
    height: 150px;
  }

  /* 送信ボタン SP */
  .submit-button {
    width: 100%;
    height: 64px;
    font-size: 19px;
  }

  /* 確認画面 SP */
  .confirm-content {
    gap: 40px;
  }

  .confirm-group {
    gap: 16px;
  }

  .confirm-label {
    font-size: 19px;
  }

  .confirm-label-note {
    font-size: 14px;
  }

  .confirm-value {
    font-size: 19px;
  }

  .confirm-buttons {
    width: 100%;
    gap: 40px;
    margin-top: 64px;
    padding-bottom: 60px;
  }

  .back-button {
    width: 100%;
    height: 64px;
    font-size: 19px;
  }

  /* 送信完了画面 SP */
  .complete-thanks {
    gap: 32px;
  }

  .complete-message {
    font-size: 19px;
  }

  .home-button {
    margin-bottom: 60px;
  }
}
