@charset "UTF-8";

/* =======================
   フォーム全体
======================= */
.reservation-form {
  max-width: 600px;
  margin: 2em auto;
  padding: 2em;
  background: #fafafa;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  font-family: "Hiragino Sans", sans-serif;
}

.reservation-form h2 {
  margin-bottom: 1em;
}

.reservation-form label {
  display: block;
  margin-bottom: 1em;
}

/* =======================
   入力フィールド共通
======================= */
.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;          /* iPhoneズーム防止 */
  font-family: sans-serif;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background: url("data:image/svg+xml;utf8,<svg fill='%23999' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 10px center;
  background-color: #fff;
  background-size: 12px;
  padding-right: 30px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 3px rgba(59,130,246,0.5);
}

/* =======================
   エラー表示
======================= */
.error {
  color: #d00;
  font-size: 0.9em;
  margin-top: 6px;
}

.required {
  color: #d00;
}

/* =======================
   ボタン
======================= */
.reservation-form button {
  font-size: 1.1em;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  margin: 0 5px;
}

/* 送信ボタン */
.reservation-form button[type="submit"] {
  padding-left: 50px;
  padding-right: 50px;
  background: #0073aa;
  color: #fff;
  border: none;
}

.reservation-form button[type="submit"]:hover {
  background: #005f8c;
}

/* 戻るボタン */
.reservation-form button[type="button"] {
  background: #fff;
  color: #0073aa;
  border: 1px solid #0073aa;
}

/* ===== PC時の中央配置 ===== */
.buttons {
  display: flex;
  justify-content: center;  /* ← 横並びで中央揃え */
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  text-align: center;
}

/* ------- スマートフォンサイト ------- */
@media screen and (max-width: 767px) { 
  .buttons {
    flex-direction: column;  /* 縦並び */
    align-items: center;     /* 中央に寄せる */
    gap: 10px;
  }

  .buttons button {
    width: 100%;        /* フル幅 */
    max-width: 300px;   /* 横幅制限（見た目を整える） */
    padding: 15px 0;
    font-size: 1.2em;
  }

  .buttons button[type="submit"] { order: 1; }
  .buttons button[type="button"] { order: 2; }
}

	
	
	
@media screen and (max-width: 480px) {
 
}





@media screen and (max-width: 320px) {

}