@charset "UTF-8";
body {
  background: #f6f6f6;
}

.pageLead {
  margin-top: 6.6dvw !important;
  margin-left: 0 !important;
  line-height: 2.25;
  letter-spacing: 0.05em;
  color: #333;
  padding-right: var(--baseW);
  max-width: inherit !important;
}
@media screen and (max-width: 991px) {
  .pageLead {
    margin-left: 13.88dvw !important;
    font-size: 0.75rem !important;
    line-height: 2;
    padding-right: 0;
  }
}
.pageLead p {
  max-width: inherit;
  margin-bottom: 0.56em !important;
  line-height: 2.25;
}
@media screen and (max-width: 991px) {
  .pageLead p {
    line-height: 2;
    margin-bottom: 2em !important;
  }
}

.thanksMessage {
  display: none;
}

.wpcf7 {
  max-width: inherit !important;
}

.wpcf7-form {
  margin-top: 12.87rem;
  margin-bottom: 8.75rem;
  margin-right: calc(var(--baseW) * 4);
}
@media screen and (max-width: 991px) {
  .wpcf7-form {
    margin-top: 34.44dvw;
    margin-right: 0;
  }
}
.wpcf7-form table {
  border: none;
}
.wpcf7-form th, .wpcf7-form td {
  font-size: 1rem !important;
  padding: 0 0 3.75rem;
  line-height: 2.25em;
  border: none;
  vertical-align: top;
}
@media screen and (max-width: 991px) {
  .wpcf7-form th, .wpcf7-form td {
    font-size: 0.75rem !important;
    line-height: 2;
  }
}
.wpcf7-form th {
  width: calc(var(--baseW) * 5);
  text-align: left;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0 1.4em;
}
@media screen and (max-width: 991px) {
  .wpcf7-form table, .wpcf7-form tbody, .wpcf7-form tr, .wpcf7-form td {
    display: block;
    padding-bottom: 0;
  }
  .wpcf7-form th {
    width: auto;
    padding-top: 0;
    padding-bottom: 3.88dvw;
  }
  .wpcf7-form td {
    padding-top: 0;
    margin-bottom: 5.55dvw;
  }
}
.wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea {
  font-family: serif;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
@media screen and (max-width: 991px) {
  .wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea {
    font-size: 0.75rem;
  }
}
.wpcf7-form select, .wpcf7-form input {
  height: 3.75rem;
}
.wpcf7-form textarea {
  height: 11.25rem;
}
.wpcf7-form select option {
  text-align: center;
}
.wpcf7-form select option:first-child {
  display: none;
}
.wpcf7-form tr:has(.wpcf7-validates-as-required) th:after {
  content: "必須";
  display: inline-block;
  color: #fff;
  font-size: 0.75em;
  font-family: var(--gothic);
  width: 3.33em;
  height: 1.5em;
  background: #1a1a1a;
  text-align: center;
  line-height: 1.75em;
  border-radius: 0.16em;
}
.wpcf7-form .wpcf7-submit {
  color: #fff;
  background: #1a1a1a;
  width: 20em;
  height: 3.12em;
  border-radius: 0.25em;
  border: none;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 991px) {
  .wpcf7-form .wpcf7-submit {
    width: 100%;
  }
}
.wpcf7-form .wpcf7-submit:hover {
  background: #bc161f !important;
}

.entry-body:has(.wpcf7-form.sent) .pageLead {
  display: none;
}
.entry-body:has(.wpcf7-form.sent) .thanksMessage {
  display: block;
}

.wpcf7-form.sent {
  margin-top: 0;
}
.wpcf7-form.sent table {
  display: none !important;
}

.wpcf7 form .wpcf7-response-output {
  border-color: #888 !important;
  border-radius: 0.25rem;
  color: #1a1a1a !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  display: none;
}

.subjectSelectorWrapper {
  position: relative;
}

.subjectSelector-placeholder {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 2px;
  height: 3.5rem;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  pointer-events: none;
}
.subjectSelector-placeholder:before {
  content: "";
}
.subjectSelector-placeholder:after {
  content: "▼";
}

.subjectSelectorWrapper:has(.selected) .subjectSelector-placeholder {
  display: none;
}

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