@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500;700&family=Noto+Serif+JP:wght@200;300;400;500&family=Roboto:wght@100;300;400;500;700&display=swap");

.u-tb-sp-only {
  display: none !important;
}

.u-sp-only {
  display: none !important;
}

.grecaptcha-badge {
  display: block !important;
}

.p-contact_head-text {
  margin-top: 120px;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
  color: #0078c7;
}

.note {
  margin-top: 50px;
  text-align: center;
}
.note span {
  color: #e10000;
}

input,
textarea,
select {
  width: 200px;
  margin: -7px 0 7px;
  padding: 7px 1em;
  border-radius: 5px;
  border: 1px solid #efefef;
  background: #efefef;
}
input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border: 1px solid #0078c7;
}

.form-select {
  margin-bottom: 15px;
  position: relative;
}
.form-select::after {
  position: absolute;
  top: 0.7em;
  right: 1em;
  font-size: 80%;
  content: "▼";
  line-height: 1;
}

.l-contact__form {
  margin: 40px auto 0;
  width: 800px;
  display: grid;
  grid-template-columns: auto 560px;
}
.l-contact__form dt {
  padding-right: 2em;
  text-align: right;
  margin-bottom: 15px;
}
.l-contact__form dt sup {
  font-size: 60%;
  color: #e10000;
}
.l-contact__form dd {
  margin-bottom: 15px;
}
.l-contact__form dd input,
.l-contact__form dd textarea,
.l-contact__form dd select {
  width: 100%;
}
.l-contact__form dd input[type=checkbox] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.l-contact__form dd .agree-text {
  padding-left: 0.7em;
  display: inline-block;
  vertical-align: text-bottom;
}
.l-contact__form dd .agree-text input[type=checkbox] {
  vertical-align: sub;
}
.l-contact__form dd .btn-wrap {
  display: flex;
}
.l-contact__form dd .btn-wrap br {
  display: none;
}
.l-contact__form dd input[type=submit],
.l-contact__form dd button[type=submit],
.l-contact__form dd #btn_back {
  margin: 40px 10px 0;
  padding: 0;
  background: #3c1e0f;
  color: #efefef;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
  width: 180px;
  line-height: 45px;
  display: inline-block;
  border-radius: 50px;
}
.l-contact__form dd p {
  padding-left: 1em;
  text-indent: -1em;
  margin-top: 0.5em;
}
.l-contact__form dd a {
  text-decoration: underline;
}
.l-contact__form dd sup {
  color: #e10000;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #e10000;
  text-align: center;
  color: #e10000;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #0078c7;
  text-align: center;
}

.mw_wp_form_preview .preview-hidden {
  display: none;
}
.mw_wp_form_preview .form-select::after {
  display: none;
}
.mw_wp_form_preview .agree-text {
  display: none !important;
}
@media (max-width: 767px) {
  .u-pc-only {
    display: none !important;
  }
  .u-sp-only {
    display: block !important;
  }
  .p-contact_head-text {
    margin-top: 8.59375vw;
    font-size: 14px;
    line-height: 2;
  }
  .note {
    margin-top: 7.8125vw;
  }
  input,
  textarea,
  select {
    margin: 0;
    width: 100%;
    padding: 2px 0.5em;
  }
  .l-contact__form {
    margin-top: 6.25vw;
    width: 100%;
    display: block;
    font-size: 12px;
  }
  .l-contact__form dt {
    margin-bottom: 1.5625vw;
    padding-right: 0;
    text-align: left;
    line-height: 1;
    font-weight: 500;
  }
  .l-contact__form dd {
    margin-bottom: 3.4375vw;
  }
  .l-contact__form dd .btn-wrap {
    display: block;
  }
  .l-contact__form dd input[type=submit],
  .l-contact__form dd button[type=submit],
  .l-contact__form dd #btn_back {
    margin: 9.375vw auto 0;
    font-size: 4.375vw;
    line-height: 9.375vw;
    width: 37.5vw;
    display: block;
  }
  .wpcf7-list-item-label {
    vertical-align: middle;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .u-tb-sp-only {
    display: block !important;
  }
  .p-contact_head-text {
    margin-top: 10vw;
    font-size: 14px;
    line-height: 1.7;
  }
  .note {
    margin-top: 4.1666666667vw;
  }
  input,
  textarea,
  select {
    width: 16.6666666667vw;
    margin: -0.5833333333vw 0 0.5833333333vw;
    padding: 0.5833333333vw 1em;
  }
  .form-select {
    margin-bottom: 1.25vw;
  }
  .l-contact__form {
    margin: 3.3333333333vw auto 0;
    width: 66.6666666667vw;
    grid-template-columns: auto 46.6666666667vw;
  }
  .l-contact__form dt {
    margin-bottom: 1.25vw;
  }
  .l-contact__form dd {
    margin-bottom: 1.25vw;
  }
  .l-contact__form dd input[type=submit],
  .l-contact__form dd button[type=submit],
  .l-contact__form dd #btn_back {
    margin: 3.3333333333vw 0.8333333333vw 0;
    font-size: 1.5vw;
    width: 15vw;
    line-height: 3.75vw;
    border-radius: 4.1666666667vw;
  }
}
@media (max-width: 1024px) {
  .l-contact__form dd input[type=checkbox] {
    margin-top: 0.5em;
    width: 20px;
    height: 20px;
  }
  .l-contact__form dd .agree-text {
    width: calc(100% - 40px);
    vertical-align: top;
  }
}
/*# sourceMappingURL=sourcemaps/contact.css.map */
