@charset "UTF-8";

#contact_area {
  text-align: center;
  padding-top: 20rem;
  background: #fffced;
}

#contact_area h2 {
  margin-bottom: 1.5em;
  position: relative;
  padding-bottom: 0.7em;
}

#contact_area h2::after {
  position: absolute;
  content: "";
  width: 80px;
  height: 3px;
  background: #ffc400;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

#contact_area .button {
  padding: 0.5em 2.5em;
  font-size: 2rem;
  font-weight: 500;
  border:2px solid #ffc400;
}

#contact_area .button:hover {
  background: #fff;
  color: #ffc400;
}

#contact_area table {
  max-width: 800px;
  width: 100%;
  margin: 8rem auto 0;
  line-height: 2.14;
  text-align: left;
  border-spacing: 0 3rem;
}

#contact_area table td.top {
  vertical-align: top;
}

#contact_area table input,
#contact_area table textarea,
#contact_area table select,
#contact_area table date {
  font-size: 1.4rem;
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #fff;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(21, 21, 21, 0.05);
}

#contact_area table input:focus,
#contact_area table textarea:focus,
#contact_area table select:focus {
  border: 2px solid #b8d22c;
  outline: 0;
}

#contact_area table input[name="tel"],
#contact_area table input[name="date"],
#contact_area table select[name="time"],
#contact_area table select[name="people"] {
  width: 40%;
}

#contact_area table textarea {
  height: 18rem;
  resize: none;
}

#contact_area table td.title {
  width: 30%;
  padding-right: 20px;
  vertical-align: top;
}

#contact_area table .label {
  display: inline-block;
  text-align: center;
  width: 5rem;
  background-color: #888;
  padding: .2rem;
  color: #fff;
  font-size: 1.4rem;
  margin-left: 1rem;
  line-height: 1.4;
}

#contact_area table .label.essential {
  background-color: #f4494c;
  border-radius: 2px;
}


/** -------- スマホ -------- **/
@media screen and (max-width: 768px) {
  #contact {
    font-size: 1.4rem;
  }

  #contact_area{
    padding-top: 15rem;
  }

  #contact_area table {
    margin-top: 2rem;
  }

  #contact_area table .label {
    width: 4.3rem;
    padding: .2rem;
    font-size: 1.3rem;
    line-height: 1.3;
  }

  #contact_area table th,
  #contact_area table td,
  #contact_area table td.title {
    display: block;
    width: 100%;
  }

  #contact_area table td.title {
    padding-bottom: 0.5rem;
  }

  #contact_area table input,
  #contact_area table textarea,
  #contact_area table select,
  #contact_area table date {
    padding: 0.4rem 0.8rem;
  }
}

@media screen and (max-width: 570px) {
  #contact_area{
    padding-top: 12rem;
  }
  #contact_area .button{
    font-size: 1.6rem;
  }
}