.p-contact-hero {
  position: relative;
  overflow: hidden;
}

.p-contact-hero__bg {
  position: absolute;
  inset: 0;
}

.p-contact-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.p-contact-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 400px;
  text-align: center;
}
@media (max-width: 1280px) {
  .p-contact-hero__inner {
    height: auto;
    padding: 48px 0;
    gap: 16px;
  }
}

.p-contact-hero__eyebrow {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: #fff;
}

.p-contact-hero__heading {
  font-family: "Yu Mincho", "YuMincho", serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 32px;
  color: #fff;
}
@media (max-width: 1280px) {
  .p-contact-hero__heading {
    font-size: 24px;
    line-height: 32px;
  }
}

.p-contact-hero__lead {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}
@media (max-width: 1280px) {
  .p-contact-hero__lead {
    font-size: 14px;
    line-height: 22px;
  }
}

.contact-form {
  padding: 64px 0 80px;
  background-color: #f7f7f7;
}
@media (max-width: 1280px) {
  .contact-form {
    padding: 40px 0 48px;
  }
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  margin-bottom: 48px;
}
@media (max-width: 1280px) {
  .contact-form__fields {
    gap: 24px;
    margin-bottom: 32px;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.contact-form__field--group {
  gap: 16px;
}

.contact-form__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-form__label {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #222;
}

.contact-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background-color: #fff;
  border: 1px solid #c91d1d;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #c91d1d;
  white-space: nowrap;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding-inline: 16px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  color: #222;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #01564c;
}

.contact-form__input {
  height: 56px;
}

.contact-form__textarea {
  height: 210px;
  padding-block: 16px;
  resize: vertical;
}

.contact-form__field [data-name=inquiry-type] .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__field [data-name=inquiry-type] .wpcf7-list-item {
  width: fit-content;
}

.contact-form__field [data-name=inquiry-type] label {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.contact-form__field [data-name=inquiry-type] input[type=radio] {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin: 0;
  background-color: #fff;
  background-repeat: no-repeat;
  border: 2px solid #ccc;
  border-radius: 50%;
  appearance: none;
  cursor: pointer;
}

.contact-form__field [data-name=inquiry-type] input[type=radio]:checked {
  background-image: radial-gradient(#01564c 0, #01564c 45%, transparent 46%);
  border-color: #01564c;
}

.contact-form__field [data-name=inquiry-type] .wpcf7-list-item-label {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #222;
}

.contact-form__privacy-text {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #222;
}

.contact-form__checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-form__checkbox label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  cursor: pointer;
}

.contact-form__checkbox input[type=checkbox] {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 22px;
  border: 2px solid #ccc;
  border-radius: 8px;
  appearance: none;
  cursor: pointer;
}

.contact-form__checkbox input[type=checkbox]:checked {
  border-color: #01564c;
  background-image: url("../../img/icon/icon_check_green.svg");
}

.contact-form__checkbox .wpcf7-list-item-label {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #222;
}

.contact-form__checkbox a {
  border-bottom: solid 2px #7A9FB5;
  padding-bottom: 4px;
  font-weight: 700;
  color: #4b6587;
}

.contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  background-color: #dd6e18;
  border: none;
  cursor: pointer;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  white-space: nowrap;
  transition-duration: 0.3s;
}
@media (min-width: 1281px) {
  .contact-form__submit {
    background-image: linear-gradient(to right, #c05c0e 50%, #dd6e18 50%);
    background-size: 200% 100%;
    background-position: right;
    transition: background-position 0.4s ease;
  }
  .contact-form__submit:not(:disabled):hover {
    background-position: left;
  }
}
@media (max-width: 1280px) {
  .contact-form__submit {
    height: 56px;
    font-size: 16px;
  }
}

.contact-form__submit:disabled {
  background-color: #ccc;
  background-image: none;
}

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

.contact-form__checkbox-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wpcf7 form.sent .wpcf7-response-output {
  margin: 0;
  border-color: #dd6e18;
}

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