.form-wrap {
  text-align: center;
}

.form-wrap p {
  font-size: 20px;
  line-height: 38px;
}

.form-wrap-content {
  width: 926px;
  margin: 0 auto;
}

.form-wrap tr {
  margin: 24px auto;
  display: flex;
  align-items: flex-start;
}

.form-wrap th {
  display: flex;
  flex-direction: column-reverse;
  align-items: baseline;
  width: 200px;
  font-size: 18px;
  color: #3e3a39;
  text-align: left;
  font-weight: bold;
  letter-spacing: 0.01em;
}

.form-message-description {
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 20px;
  text-align: left;
  color: #231815;
}

.form-wrap td {
  flex: 1;
  display: flex;
}

.required {
  font-weight: normal;
  font-size: 10px;
  color: #e60012;
  border: solid 1px #e60012;
  padding: 4.5px 12px 4px;
  border-radius: 6.75px;
  background: white;
  margin-right: 6px;
}

.help {
  display: none !important;
}

.validation_message {
  color: #e60012;
  font-size: 17px;
  line-height: 44px;
  margin: 0 0 0 24px;
  display: inline-flex;
  align-items: center;
  position: relative;
  top: 2px;
}

.ninni {
  font-weight: normal;
  font-size: 10px;
  color: #1e5199;
  border: solid 1px #1e5199;
  padding: 4.5px 12px 4px;
  border-radius: 6.75px;
  background: white;
  margin-right: 6px;
}

.validation_message {
  display: none;
}

input[type="text"],
input[type="tel"] {
  border: solid 1px #595757;
  border-radius: 7px;
  font-size: 20px;
  padding: 10px 16px;
  width: 532px;
}

input::placeholder {
  font-size: 20px;
  color: #b5b5b6;
}

input[type="radio"] {
  display: none;
}

label.radio {
  color: #567db2;
  border: solid 1px #567db2;
  border-radius: 7px;
  width: 100px;
  height: 36.7px;
  background: white;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
}

label.radio:first-of-type {
  margin-right: 8px;
}


input[type="radio"]:checked + label.radio {
  background: #567db2;
  color: white;
}

.select-wrap {
  overflow: hidden;
  text-align: center;
  border: solid 1px #595757;
  border-radius: 7px;
  width: 238px;
  height: 45px;
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
}

.select-wrap::before {
  position: absolute;
  top: 15px;
  right: 12px;
  width: 0;
  height: 0;
  padding: 0;
  content: "";
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 14px solid #3e3a39;
  pointer-events: none;
}

select {
  font-size: 18px;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  color: #595757;
  padding: 0 38px 0 16px;
  flex: 1;
  color: #b5b5b6;
}

::selection {
  background: #595757;
  color: #b5b5b6;
}

#for-hidden-times,
#for-hidden-times-next {
  background: #9e9e9e;
  border-radius: 7px;
  width: 128px;
  height: 37px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  font-size: 14px;
  line-height: 35px;
  display: none;
}

#for-hidden-times.active,
#for-hidden-times-next.active {
  background: #1e5199;
}

#hidden-times th,
#hidden-times-next th {
  margin-top: -16px;
}

.datetime {
  display: flex;
  flex-direction: column;
}

.datetime .section {
  margin: 20px 0px 0;
  display: flex;
  flex-wrap: wrap;
}

.datetime label {
  margin: 10px 10px;
}

textarea {
  resize: none;
  width: 524px;
  height: 260px;
  border: solid 1px #595757;
  border-radius: 7px;
  font-size: 20px;
  padding: 12px;
}

#mail_sent {
  cursor: pointer;
  margin-top: 40px;
}

.form-wrap .blue {
  color: var(--blue-color);
  margin: 12px 0;
  font-weight: bold;
}

.form-wrap .tel-img {
  margin: 0;
  width: 450px;
  height: auto;
}

.form-wrap-content {
  margin-bottom: 35px;
}

.form-wrap-tel {
  margin: 24px 0;
}

/*ご希望時間*/

.form_radio {
  display: flex;
  flex-wrap: wrap;
}

.form_radio li {
  min-width: 100px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.form_sex li,
.age-section li,
.menus-section li {
  margin-bottom: 0;
}

.form_radio li label {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.sex-section,
.menus-section {
  padding-top: 10px;
}

.btnSubmit {
  width: 90%;
  max-width: 422px;
  margin: 0 auto;
}

.btnSubmit:hover {
  opacity: 0.7;
}

@media (min-width: 1080px) {
  .required.sp-none, .ninni.sp-none, .form-message-title.sp-none {
    display: none;
  }

  #hidden-times th, #hidden-times-next th {
    margin-top: 0;
  }

  .form-wrap th {
    flex-direction: column;
  }

  .important-none {
    display: none!important;
  }

  .age-section .form_radio {
    width: 532px;
    justify-content: space-between;
  }

  .age-section .form_radio li {
    width: 164px;
    margin: 0 0 20px;
  }
}
