@charset "utf-8";
/* CSS Document */

/* 背景画像 */
body {
  background-image: url("../img/top10.png");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
}

/* =========================
   フォームエリアのカード
========================= */
.formSec {
  background-color: #ffffff; /* 入力欄を纏めてる、外枠ボックスの色 */
  border: 1px solid #4a4338; /* 入力欄を纏めてる、外枠ボックスの枠の色 */
  border-radius: 8px; /* 角を少し丸くする */
  width: 90%;
  max-width: 900px; /* 横幅が広がりすぎないように制限 */
  padding: 40px;
  box-sizing: border-box;
  margin: 60px auto 0 auto; /* 上に60pxの余白を追加し、左右中央揃え */
}

/* フォーム内のテキスト全体 */
.innerWrap {
  text-align: center;
}

.innerWrap h1 {
  margin-top: 10px;
  font-size: 32px;
  color: #4a4338;
  letter-spacing: 2px;
}

.innerWrap h2 {
  font-size: 18px;
  color: #4a4338;
  letter-spacing: 2px;
  margin-top: 20px;
  line-height: 1.5;
  font-weight: normal; /* 説明文のため少し文字の太さを落とす設定 */
}

/* 各入力ブロックの調整 */
form p {
  margin-bottom: 25px;
  text-align: left; /* ラベルや入力欄を左寄せ */
}

/* ラジオボタンの配置 */
.attendRadio label {
  margin-right: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.attendRadio input {
  margin-right: 8px;
}

/* =========================
   入力欄共通デザイン
========================= */
/* 1行入力欄（テキスト、メール、電話、住所、人数） */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
  display: block;
  width: 100%;
  max-width: 800px;
  height: 48px; /* 1行入力欄に適切な高さを設定 */
  margin: 8px auto 0 auto;
  padding: 10px 15px;
  border: 1px solid #f7f4eb;
  border-radius: 4px;
  background-color: #f7f4eb;
  color: #4a4338;
  font-size: 16px;
  box-sizing: border-box;
}

/* 複数行入力欄（テキストエリア）のみ高さを固定 */
textarea {
  display: block;
  width: 100%;
  max-width: 800px;
  height: 120px; /* お問い合わせ内容欄の高さ */
  margin: 8px auto 0 auto;
  padding: 15px;
  border: 1px solid #f7f4eb;
  border-radius: 4px;
  background-color: #f7f4eb;
  color: #4a4338;
  font-size: 16px;
  box-sizing: border-box;
  resize: none; /* resize: vertical;に変えるとユーザーが縦方向にだけ伸縮できるように設定 */
}

/* フォーカス時の色変化 */
input:focus,
textarea:focus {
  outline: none;
  border-color: #8c7b64;
  background-color: #ffffff;
}

/* =========================
   送信ボタン
========================= */
.submitBtn {
  text-align: center; /* ボタンも中央揃えにすると見た目が綺麗になります */
  margin-top: 30px;
}

.submitBtn input[type="submit"] {
  background-color: #8c7b64;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 14px 60px;
  font-size: 18px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background-color 0.3s;
}

/* マウスを乗せたとき */
.submitBtn input[type="submit"]:hover {
  background-color: #6e5f4b;
}

/* =========================
   レスポンシブ対応（スマホ）
========================= */
@media (max-width: 768px) {
  .formSec {
    width: 95%;
    padding: 20px 15px;
    margin-top: 30px;
  }

  .innerWrap h1 {
    font-size: 24px;
  }

  .innerWrap h2 {
    font-size: 14px;
  }

  .attendRadio label {
    display: block; /* スマホではラジオボタンを縦に並べる */
    margin: 10px 0;
  }
}