/* ============================================
   お問い合わせページ（contact-page）専用 CSS
============================================ */

/* フォーム全体の背景と枠線 */
.contact-page .contact-form {
  background: #f5f9ff;
  padding: 25px 30px;
  border-radius: 8px;
  border: 1px solid #c7d8f0;
  box-sizing: border-box;
}

/* 1行のまとまり */
.contact-page .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #dfe7f5;
}

/* 左側のラベル */
.contact-page .form-label {
  width: 260px;
  font-weight: bold;
  padding-top: 6px;
  color: #333;
}

/* 右側の入力欄 */
.contact-page .form-field {
  flex: 1;
}

/* 入力欄のスタイル */
.contact-page .form-field input[type="text"],
.contact-page .form-field input[type="email"],
.contact-page .form-field input[type="tel"],
.contact-page .form-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
}

/* ラジオボタンの行間 */
.contact-page .form-field label {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 6px;
}

/* 必須マーク */
.contact-page .required {
  color: #d00;
  font-weight: bold;
  margin-left: 5px;
}

/* 注意書き */
.contact-page .note {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

/* ボタン */
.contact-page .form-buttons {
  text-align: center;
  margin-top: 30px;
}

.contact-page .form-buttons input[type="submit"],
.contact-page .form-buttons input[type="reset"] {
  padding: 10px 28px;
  font-size: 16px;
  border: none;
  background: #0072c6;
  color: #fff;
  cursor: pointer;
  margin: 0 12px;
  border-radius: 4px;
  transition: 0.2s;
}

.contact-page .form-buttons input[type="reset"] {
  background: #888;
}

.contact-page .form-buttons input:hover {
  opacity: 0.85;
}

/* スマホ対応 */
@media screen and (max-width: 700px) {
  .contact-page .form-row {
    flex-direction: column;
  }

  .contact-page .form-label {
    width: 100%;
  }
}
.contact-page #contents2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.contact-page .faq-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1e90ff !important;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
}

.contact-page .faq-btn:hover {
  background: #0f78d4 !important;
}
/* 送信完了ページ専用：内容を上下左右中央に寄せる */
.contact-page .results-wrapper {
  min-height: 60vh;          /* 画面の6割を確保して中央寄せしやすくする */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 上下中央 */
  align-items: center;       /* 左右中央 */
  text-align: center;        /* テキスト中央寄せ */
  gap: 30px;                 /* テキストとボタンの間に余白 */
}
/* ============================
   ラジオボタン（お問い合わせ内容・機種など）
   ============================ */

/* ラジオボタンを縦並び＋左寄せに */
.contact-page .form-field label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 4px 0;
}

/* ============================
   項目（ラベル）を左寄せに
   ============================ */
.contact-page .form-label {
  text-align: left;
  font-weight: 600; /* 見やすく */
  margin-bottom: 6px;
}

/* ============================
   フォーム全体の見やすさ向上
   ============================ */
.contact-page .form-row {
  margin-bottom: 18px; /* 項目間の余白を広げる */
}

/* ============================
   必須マークの強調
   ============================ */
.contact-page .required {
  color: #e60033;
  font-weight: bold;
}

.send-btn {
  content: "送信する";
}