@charset "UTF-8";

#contact .inner {
  background: #fcfcf7;
  border-radius: 40px 0;
  border: solid 1px #347334;
  padding: 40px 40px 120px;
  max-width: 1070px;
  margin: 0 auto;
}

#contact .m-head {
  font-size: 2.4rem;
  margin-bottom: 15px;
}
#contact .m-lead {
  font-size: 1.4rem;
  text-align: center;
}
.p-contact {
  text-align: center;
  padding: 30px 0;
  background: #fcf8e3;
  border-radius: 40px 0;
}
.p-contact .tel {
  font-size: 3.6rem;
}
.p-contact .tel a {
  color: #264026;
  text-decoration: none;
  display: block;
  pointer-events: none;
}
.p-contact .tel span {
  font-size: 75%;
}
.p-contact .schedule {
  font-weight: 600;
  padding-top: 5px;
}

#contact .form {
  margin: 40px auto 0;
  padding-top: 30px;
}

#contact .form p strong {
  font-weight: bold;
}

#contact .formTable {
  max-width: 900px;
  width: 100%;
  margin: 60px auto 30px;
  border-bottom: solid 1px #f2e291;
  font-size: 1.6rem;
}

#contact .formTable tr {
  border-top: solid 1px #f2e291;
}

#contact .formTable th {
  text-align: left;
  vertical-align: middle;
  width: 280px;
  padding: 0 20px 0 0;
  font-weight: 500;
}

#contact .formTable tr:nth-child(n + 5) th {
  vertical-align: top;
  padding: 40px 20px 0 0;
}

#contact .formTable td {
  padding: 24px 0;
}

#contact .required {
  position: relative;
  display: block;
  padding-right: 50px;
}

#contact .required.long {
  padding: 0 0 30px;
}

#contact .required::before {
  position: absolute;
  content: "必須";
  background: #f26130;
  width: 44px;
  height: 22px;
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.8;
  right: 0;
}

#contact .required.long::before {
  right: inherit;
  left: 0;
  bottom: 0;
}

#contact .any {
  position: relative;
  display: block;
  padding-right: 50px;
}

#contact .any::before {
  position: absolute;
  content: "任意";
  background: #798079;
  width: 44px;
  height: 22px;
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.8;
  right: 0;
}

#contact .formTable .flex {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  font-weight: 500;
}

#contact .formTable .flex:last-child {
  margin-bottom: 0;
}

#contact .formTable .flex dt {
  width: 175px;
  padding-right: 35px;
  line-height: 1;
}

#contact .formTable .flex dt strong {
  border-bottom: solid 1px #264026;
}

#contact .formTable .flex dd {
  width: calc(100% - 175px);
}

#contact .lead {
  font-size: 1.3rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

#contact .privacy {
  font-size: 1.6rem;
  padding: 20px 0 35px;
  font-weight: 500;
  text-align: center;
  line-height: 2;
}

#contact .privacy a {
  color: #264026;
  text-decoration: underline;
}

#contact .privacy a:hover {
  text-decoration: none;
}

#contact .agreement {
  text-align: center;
  font-size: 1.6rem;
  padding: 20px 0 35px;
  font-weight: 500;
}

#contact .checkbox {
  display: none;
}
#contact .checkbox + span {
  padding-left: 30px;
  position: relative;
  line-height: 1;
  cursor: pointer;
}
#contact .checkbox + span:before {
  position: absolute;
  content: "";
  border: solid 1px #cccccc;
  width: 17px;
  height: 17px;
  display: inline-block;
  border-radius: 3px;
  padding: 1px 0 0;
  box-sizing: border-box;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#contact .checkbox:checked + span:before {
  content: "\f00c";
  color: #264026;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  line-height: 1.2;
}

#contact .button {
  max-width: 320px;
  margin: 0 auto;
}

#contact .button input[type="submit"] {
  width: 100%;
  background: #f28130;
  color: #fff;
  border-radius: 40px;
  height: 80px;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#contact .button .submit:disabled {
  background-color: #eee;
  pointer-events: none;
}

.wpcf7-spinner {
  display: none !important;
}
.wpcf7-not-valid-tip {
  padding-top: 10px;
}

@media screen and (min-width: 768px) {
  #contact .button input[type="submit"]:hover {
    opacity: 0.9;
  }

  /* #contact .button input[type="submit"]:hover {
    background: #F28130;
    border: solid 1px #F28130;
  } */
}

@media screen and (max-width: 767px) {
  #contact .inner {
    padding: 20px 20px 60px;
  }

  #contact .m-head {
    font-size: 2.2rem;
    line-height: 1.8;
  }
  #contact .m-lead {
    font-size: 1.3rem;
    font-weight: 500;
  }

  .p-contact .tel {
    font-size: 2.6rem;
  }
  .p-contact .schedule {
    font-size: 1.6rem;
  }
  #contact .form {
    padding-top: 20px;
  }

  #contact .formTable {
    margin: 30px auto;
  }

  #contact .formTable th {
    width: 100%;
    display: block;
    padding: 20px 0 0;
  }
  #contact .formTable tr:nth-child(n + 5) th {
    padding: 20px 0 0;
  }

  #contact .formTable td {
    display: block;
    padding: 20px 0;
  }

  #contact .formTable .flex dt {
    width: 100%;
    padding: 0 0 20px;
  }

  #contact .formTable .flex {
    flex-wrap: wrap;
  }

  #contact .formTable .flex dd {
    width: 100%;
  }

  #contact .required.long {
    padding: 0 50px 0 0;
  }

  #contact .required.long::before {
    left: inherit;
    right: 0;
  }

  #contact .privacy {
    font-size: 1.3rem;
  }
}

textarea.m-textarea.date {
  border: solid 1px #f2e291;
  width: 100%;
  height: auto;
  font-size: 1.6rem;
  padding: 20px;
  resize: none;
}
