@charset "utf-8";
.beforereservation{
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  position: relative;
}
.beforereservation::after{
  content: "";
  position: absolute;
  width: 80px;
  height: 5px;
  background-color: #3498db;
  margin-right: auto;
  margin-left: auto;
  bottom: -20px;
  right: 0;
  left: 0;
}
.description{
  width: 70%;
  background-color: #fff;
  padding: 2rem;
  margin: 5% auto;
}
.description h2 {
    color: #2c3e50;
    border-left: 5px solid #3498db;
    padding-left: 10px;
    margin-top: 30px;
}
.description ul {
  list-style-type: disc;
  padding-left: 20px;
}
.description ul li{
  font-size: 16px;
  font-feature-settings: "palt";
}
.description .important {
  color: #e74c3c;
  font-weight: bold;
}
.description .contact {
  font-weight: bold;
}

/* セクション全体 */
#formsection {
  padding: 40px 20px;
  background-color: #ffffff;
  width: 70%;
  margin-right: auto;
  margin-left: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-sizing: border-box;
}

/* タイトル */
.contact-form .formtitle {
  text-align: center;
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 15px;
  position: relative;
}
.contact-form .formtitle::after{
    content: "";
    background-color: #039de7;
    width: 80px;
    height: 5px;
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;

  }
/* 各入力エリア */
.item {
  margin-bottom: 25px;
}

/* ラベル */
.label {
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
  color: #2c3e50;
  white-space: nowrap;
}

/* テキスト入力 */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus {
  border-color: #3498db;
  outline: none;
}

/* 2列表示（姓・名など） */
.display {
  display: flex;
  gap: 10px;
}

.display input {
  flex: 1;
}

/* ラジオボタン */
.radio label,
.inputs label {
  margin-right: 16px;
  display: inline-block;
  cursor: pointer;
  white-space: nowrap;
}

.radio input,
.inputs input[type="radio"] {
  margin-right: 5px;
}

/* ボタンエリア */
.button-area {
  text-align: center;
  margin-top: 30px;
}

.button-area input[type="submit"],
.button-area input[type="reset"] {
  background-color: #3498db;
  color: white;
  font-size: 16px;
  border: none;
  padding: 12px 30px;
  margin: 0 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-area input[type="submit"]:hover,
.button-area input[type="reset"]:hover {
  background-color: #2980b9;
}

/* 備考・注意事項 */
.annotations {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
  background-color: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #3498db;
  border-radius: 4px;
}

/* セクション間の調整 */
.addressarea {
  margin-top: 20px;
}
.yes{
  text-align: center;
  font-size: 16px;
  white-space: nowrap;
}

.yes a{
  color: #3498db;
}
/* 非表示にしておくエリア（表示切替用） */
.hidden {
  display: none;
}
label {
  white-space: nowrap;
}
/* メディアクエリ（スマホ対応） */
@media screen and (max-width:768px) {

/* セクション全体 */

.beforereservation{
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  position: relative;
}
.beforereservation::after{
  content: "";
  position: absolute;
  width: 80px;
  height: 5px;
  background-color: #3498db;
  margin-right: auto;
  margin-left: auto;
  bottom: -20px;
  right: 0;
  left: 0;
}
.description{
  width: 94%;
  background-color: #fff;
  padding: 2rem;
  margin: 5% auto;
  font-feature-settings: "palt";
}
.description h2 {
    color: #2c3e50;
    border-left: 5px solid #3498db;
    padding-left: 10px;
    margin-top: 30px;
}
.description ul {
  list-style-type: disc;
  padding-left: 20px;
}
.description ul li{
  font-size: 16px;
  font-feature-settings: "palt";
}
.description .important {
  color: #e74c3c;
  font-weight: bold;
}
.description .contact {
  font-weight: bold;
}
#formsection {
  padding: 40px 20px;
  background-color: #ffffff;
  width: 94%;
  margin-right: auto;
  margin-left: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-sizing: border-box;
}

/* タイトル */
.contact-form .formtitle {
  text-align: center;
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 15px;
  position: relative;
}
.contact-form .formtitle::after{
    content: "";
    background-color: #039de7;
    width: 80px;
    height: 5px;
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;

  }

/* 各入力エリア */
.item {
  margin-bottom: 25px;
}

/* ラベル */
.label {
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
  color: #2c3e50;
  font-size: 16px;
  white-space: nowrap;
}

/* テキスト入力 */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus {
  border-color: #3498db;
  outline: none;
  font-size: 16px;
}

/* 2列表示（姓・名など） */
.display {
  display: flex;
  gap: 10px;
}

.display input {
  flex: 1;
}

/* ラジオボタン */
.radio label,
.inputs label {
  margin-right: 8px;
  display: inline-block;
  cursor: pointer;
  white-space: nowrap;
}

.radio input,
.inputs input[type="radio"] {
  margin-right: 5px;
}

/* ボタンエリア */
.button-area {
  text-align: center;
  margin-top: 30px;
}

.button-area input[type="submit"],
.button-area input[type="reset"] {
  background-color: #3498db;
  color: white;
  font-size: 16px;
  border: none;
  padding: 12px 30px;
  margin: 0 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-area input[type="submit"]:hover,
.button-area input[type="reset"]:hover {
  background-color: #2980b9;
}

/* 備考・注意事項 */
.annotations {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
  background-color: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #3498db;
  border-radius: 4px;
}

}