@charset "UTF-8";
.error {
  color: red;
  font-weight: 700;
}

@media all and (min-width: 751px) {
  body.contact #title {
    background-image: url(../images/contact/title-bg.jpg);
  }
  /* INDEX */
  #contact-form .message {
    margin-bottom: 40px;
  }
  #contact-form form .formtable tbody tr th {
    width: 250px;
  }
  #contact-form form .formtable tbody tr th.rqs {
    position: relative;
  }
  #contact-form form .formtable tbody tr th.rqs:before {
    content: "必須";
    display: inline-block;
    vertical-align: middle;
    padding: 1px 6px;
    font-weight: 700;
    color: #BE272D;
    font-size: 77.777777%;
    line-height: 1.5;
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(calc(-50% + 2px));
  }
  #contact-form form .formtable tbody tr td input, #contact-form form .formtable tbody tr td textarea, #contact-form form .formtable tbody tr td select {
    padding: 5px 8px;
  }
  #contact-form form .formtable tbody tr td .form-content {
    width: 100%;
    vertical-align: middle;
    margin-block: 15px;
  }
  #contact-form form .formtable.confirm {
    margin-bottom: 70px;
  }
  #contact-form form .form-navi {
    text-align: center;
  }
  #contact-form form .form-navi .input-submit {
    color: #ffffff;
    background-color: #007e6b;
    border: none;
    font-size: 125%; /* 20px */
    font-weight: 600;
    padding: 16px 30px;
    margin-inline: 25px;
    cursor: pointer;
    transition: filter 0.3s ease-in-out;
  }
  #contact-form form .form-navi .input-submit:hover {
    filter: brightness(0.7);
  }
}
@media only screen and (max-width: 750px) {
  body.contact #title {
    background-image: url(../images/contact/title-bg_sp.jpg);
  }
  /* INDEX */
  #contact-form .message {
    margin-bottom: 35px;
  }
  #contact-form form .formtable tbody th {
    position: relative;
  }
  #contact-form form .formtable tbody th.rqs {
    position: relative;
  }
  #contact-form form .formtable tbody th.rqs:before {
    content: "必須";
    display: inline-block;
    vertical-align: middle;
    padding: 1px 6px;
    font-weight: 700;
    color: #BE272D;
    font-size: 82.352941%;
    line-height: 1.5;
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(calc(-50% + 1px));
  }
  #contact-form form .formtable tbody td input, #contact-form form .formtable tbody td textarea, #contact-form form .formtable tbody td select {
    padding: 5px 8px;
    box-sizing: border-box;
    vertical-align: middle;
  }
  #contact-form form .formtable tbody td input:not(.sexes), #contact-form form .formtable tbody td textarea:not(.sexes), #contact-form form .formtable tbody td select:not(.sexes) {
    width: 100%;
  }
  #contact-form form .formtable tbody td .name1, #contact-form form .formtable tbody td .kana1, #contact-form form .formtable tbody td .name2, #contact-form form .formtable tbody td .kana2 {
    display: inline-block;
    margin: 5px 0 10px 0;
  }
  #contact-form form .formtable.confirm {
    margin-bottom: 60px;
  }
  #contact-form form .form-navi {
    text-align: center;
  }
  #contact-form form .form-navi .input-submit {
    color: #ffffff;
    background-color: #007e6b;
    border: none;
    font-size: 112.5%; /* 18px */
    font-weight: 600;
    padding: 15px 30px;
    margin: 0 10px 10px 10px;
    cursor: pointer;
    transition: filter 0.3s ease-in-out;
  }
  #contact-form form .form-navi .input-submit:hover {
    filter: brightness(0.7);
  }
}

/*# sourceMappingURL=page-contact.css.map */
