@charset "UTF-8";

#contact .inner {
  padding: 70px 30px 100px;
}

#contact .inner .lead {
  line-height: 1.8;
}

#contact .inner table {
  width: 100%;
  max-width: 770px;
  margin: 80px auto 40px;
  border-bottom: solid 1px #c3c6c2;
  color: #707070;
  font-size: 16px;
  font-size: 1.6rem;
}

#contact .inner table tr {
  border-top: solid 1px #c3c6c2;
}

#contact .inner table th {
  text-align: center;
  width: 240px;
  padding: 30px 40px 30px 0;
  vertical-align: middle;
}

#contact .inner table tr:last-child th {
  vertical-align: top;
}

#contact .inner table td {
  text-align: left;
  padding: 15px 0 15px 40px;
  vertical-align: middle;
}

#contact .required {
  display: block;
  position: relative;
}

#contact .required::before {
  position: absolute;
  content: "必須";
  background: #fa6767;
  width: 44px;
  height: 22px;
  font-size: 12px;
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  line-height: 1;
  padding: 4px 0;
  box-sizing: border-box;
  top: 0;
  right: -44px;
}

#contact input.text-short {
  background: rgba(112, 112, 112, 0.07);
  margin-left: 15px;
  margin-right: 30px;
  height: 50px;
  width: 190px;
  padding: 0 20px;
  font-size: 1.6rem;
}

#contact input.text-short.mr0 {
  margin-right: 0;
}

#contact input.text-long {
  background: rgba(112, 112, 112, 0.07);
  height: 50px;
  width: 100%;
  padding: 0 20px;
  font-size: 1.6rem;
}

#contact textarea.textarea {
  background: rgba(112, 112, 112, 0.07);
  height: 130px;
  width: 100%;
  resize: none;
  padding: 20px;
  font-size: 1.6rem;
}

#contact .privacy {
  text-align: center;
  font-size: 16px;
  font-size: 1.6rem;
}

#contact .privacy a {
  color: #0093ff;
  text-decoration: none;
}

#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: 1px;
}

#contact .checkbox:checked+span:before {
  content: "\f00c";
  color: #4a90e2;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  line-height: 1.2;
}

#contact .button {
  max-width: 770px;
  margin: 40px auto 0;
  text-align: center;
}

#contact .button input.submit {
  display: block;
  width: 100%;
  background: #fb9b9b;
  border: solid 2px #fb9b9b;
  text-decoration: none;
  color: #fff;
  font-size: 30px;
  font-size: 3rem;
  font-weight: bold;
  border-radius: 60px;
  transition: 0.3s;
  cursor: pointer;
  min-height: 100px;
}

#contact .button a {
  display: block;
  background: #fb9b9b;
  border: solid 2px #fb9b9b;
  text-decoration: none;
  color: #fff;
  font-size: 30px;
  font-size: 3rem;
  font-weight: bold;
  border-radius: 60px;
  transition: 0.3s;
  min-height: 100px;
  padding: 25px 0;
}

#contact .mw_wp_form_preview .label {
  display: none;
}

@media screen and (min-width: 768px) {
  #contact .button input.submit:hover {
    background: #fff;
    color: #fb9b9b;
  }

  #contact .button a:hover {
    background: #fff;
    color: #fb9b9b;
  }
}

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

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

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

  #contact .inner table th {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px 0;
  }

  #contact .inner table {
    margin: 40px auto 20px;
    font-size: 1.4rem;
  }

  #contact .inner table td {
    display: block;
    padding: 0 0 15px;
  }

  #contact .required {
    display: inline-block;
  }

  #contact input.text-short {
    margin: 5px 0 10px;
    display: block;
    width: 100%;
    font-size: 1.4rem;
    height: 40px;
  }

  span.label {
    font-size: 1.3rem;
  }

  #contact input.text-long {
    height: 40px;
    font-size: 1.4rem;
  }

  #contact .required::before {
    width: 40px;
    font-size: 1.1rem;
    height: 19px;
  }

  #contact textarea.textarea {
    height: 150px;
    font-size: 1.4rem;
    padding: 10px;
  }

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

  #contact .checkbox+span:before {
    top: -2px;
  }

  #contact .checkbox+span {
    padding-left: 24px;
  }

  #contact .button {}

  #contact .button input.submit {
    font-size: 2rem;
    min-height: 60px;
  }

  #contact .button a {
    font-size: 2rem;
    min-height: 60px;
    padding: 13px 0;
  }
}