@charset "UTF-8";
.p-contact_top {
  background-color: #5AA246;
  padding: 5rem;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .p-contact_top {
    padding: 4rem 2.5rem 2.5rem;
  }
}

.p-contact_top::before {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  background: url("../img/contact/bgContact.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 26.1rem;
  height: 21.4rem;
}
@media screen and (max-width: 767px) {
  .p-contact_top::before {
    background: unset;
  }
}

.p-contact_title {
  width: 80%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 3rem;
  font-weight: 700;
  gap: 0.9rem;
  border-bottom: 3px dotted #fff;
  padding-bottom: 3.3rem;
}
@media screen and (max-width: 767px) {
  .p-contact_title {
    font-size: 2.5rem;
    width: 100%;
    padding-bottom: 3.1rem;
  }
}

.p-contact_icon {
  width: 38px;
}

.p-contact_labelImg {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.p-contact_desc {
  padding-top: 3.6rem;
  font-size: 1.6rem;
  line-height: 1.88;
}
@media screen and (max-width: 767px) {
  .p-contact_desc {
    padding-top: 3.1rem;
  }
}

@media screen and (max-width: 767px) {
  .p-contact_box {
    padding: 2.5rem;
  }
}

.p-contact_faq {
  margin-top: 8.2rem;
}
@media screen and (max-width: 767px) {
  .p-contact_faq {
    margin-top: 3rem;
  }
}

.p-contact_faqGroup {
  margin-top: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5rem;
}
@media screen and (max-width: 767px) {
  .p-contact_faqGroup {
    margin-top: 3rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 2rem;
  }
}

.p-contact__form {
  margin-top: 10rem;
}
@media screen and (max-width: 767px) {
  .p-contact__form {
    margin-top: 4rem;
  }
}

@media screen and (max-width: 767px) {
  .p-contact_faqGroup .cta {
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 0 0 1.5rem 0;
  }
}

.mainv_inner--contact {
  padding: 0 5rem 8rem 0;
}
@media screen and (max-width: 767px) {
  .mainv_inner--contact {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    padding: 30px 0;
  }
}

/* ========== FORM ========== */
.c-form {
  width: 100%;
  border-collapse: collapse;
}

/* Row */
.c-form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 3rem;
  padding: 5rem 0;
  border-bottom: 0.1rem solid #ccc;
}
@media screen and (max-width: 767px) {
  .c-form__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 2rem;
    padding: 3rem 0;
  }
}

.c-form__row:last-child {
  color: #222;
  border-bottom: 0;
}

.c-form__row--textarea .c-form__title {
  padding-top: 0;
  -ms-flex-item-align: start;
      align-self: flex-start;
  color: #222;
}

.c-form__row:first-child .c-form__title {
  padding-top: 0;
  -ms-flex-item-align: start;
      align-self: flex-start;
  color: #222;
}

/* Label */
.c-form__label {
  cursor: pointer;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.6rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

/* Title */
.c-form__title {
  width: 28.95%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 1.6rem;
  line-height: 2;
  font-weight: 400;
  text-align: left;
}
@media screen and (max-width: 1024px) {
  .c-form__title {
    width: 28.96%;
  }
}
@media screen and (max-width: 767px) {
  .c-form__title {
    width: 100%;
    -webkit-box-pack: unset;
        -ms-flex-pack: unset;
            justify-content: unset;
  }
}

.c-form__title p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 767px) {
  .c-form__title p {
    -webkit-box-pack: unset;
        -ms-flex-pack: unset;
            justify-content: unset;
  }
}

/* Required */
.c-form__required {
  display: inline-block;
  min-width: 5rem;
  min-height: 2.4rem;
  margin-left: auto;
  background-color: #5AA246;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 1.3rem;
  line-height: 1.85;
  padding: 0.2rem 0.5rem;
}
@media screen and (max-width: 767px) {
  .c-form__required {
    margin-left: 1.5rem;
  }
}

.c-form__label span {
  font-size: 1.3rem;
}

/* Data */
.c-form__data {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media screen and (max-width: 767px) {
  .c-form__data {
    width: 100%;
  }
}

.c-form__data--radio .wpcf7-list-item {
  display: block;
  margin: 0;
}

.c-form__data--radio .wpcf7-list-item + .wpcf7-list-item {
  margin-top: 1rem;
}

.c-form__data--radio label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  position: relative;
  padding-left: 2em;
}

.c-form__data--radio .c-checkinput input {
  display: none;
}

.c-form__data--radio .c-checkinput .wpcf7-list-item-label::before {
  position: absolute;
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background-color: #fff;
  top: 0.5rem;
  left: 0.8rem;
  opacity: 0;
  z-index: 11;
}

.c-form__data--radio .c-checkinput .wpcf7-list-item-label::after {
  position: absolute;
  content: "";
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1px solid #8D8D8D;
  top: 0;
  left: 3px;
  z-index: 10;
  background: #fff;
}

.c-form__data--radio .c-checkinput input:checked ~ .wpcf7-list-item-label::before {
  opacity: 1;
}

.c-form__data--radio .c-checkinput input:checked ~ .wpcf7-list-item-label::after {
  background: #2C88C6;
}

/* Input */
.c-form__input {
  font-size: 1.5rem;
  width: 100%;
  border: 0;
  font-family: inherit;
  display: inline-block;
  padding: 1.3rem 2rem 1.4rem;
  background-color: #F6F6F6;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  line-height: 1.88;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 0.2rem solid transparent;
  border-radius: 0;
}

.c-form__input::-webkit-input-placeholder {
  color: #ccc;
}

.c-form__input::-moz-placeholder {
  color: #ccc;
}

.c-form__input:-ms-input-placeholder {
  color: #ccc;
}

.c-form__input::-ms-input-placeholder {
  color: #ccc;
}

.c-form__input::placeholder {
  color: #ccc;
}

.c-form__input:focus {
  border: 0.2rem solid #5AA246;
  outline: none;
}

.c-checkinput .mwform-radio-field {
  display: block;
}

.p-contact__form .mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0;
}

.c-checkinput--checkbox {
  display: none;
}

.c-form__row--agree {
  text-align: center;
}

.c-checkinput--checkbox ~ .wpcf7-list-item-label label {
  position: relative;
  padding-left: 4rem;
}

.c-checkinput--checkbox ~ .wpcf7-list-item-label label::before {
  position: absolute;
  content: "";
  width: 1rem;
  height: 0.6rem;
  border-left: 1px solid green;
  border-bottom: 1px solid green;
  border-radius: unset;
  background-color: unset;
  top: 0.8rem;
  left: 0.7rem;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  opacity: 0;
}

.c-checkinput--checkbox ~ .wpcf7-list-item-label label::after {
  position: absolute;
  content: "";
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid #333;
  top: 6px;
  left: 3px;
  z-index: 10;
}

.c-checkinput--checkbox:checked + .wpcf7-list-item-label label::before {
  opacity: 1;
}

.p-contact__form .wpcf7-list-item-label::before,
.p-contact__form .wpcf7-list-item-label::after {
  content: unset;
}

/* Textarea */
.c-form__textarea {
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  width: 100%;
  height: 30rem;
  border: 0;
  font-family: inherit;
  display: inline-block;
  padding: 2.3rem;
  resize: none;
  background-color: #F6F6F6;
  line-height: 1.88;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 0.2rem solid transparent;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  border-radius: 0;
}

.c-form__textarea:focus {
  border: 0.2rem solid #5AA246;
  outline: none;
}

/* Button */
.c-form__button {
  text-align: center;
  margin-top: 0.2rem;
}

.c-form__button button {
  font-family: inherit;
}

.c-form__button .c-btn-voicesgl {
  border: 0;
}
@media screen and (max-width: 767px) {
  .c-form__button .c-btn-voicesgl {
    margin-top: 4rem;
  }
}
.c-form__button .c-btn-voicesgl:hover {
  border: 0.1rem solid #ec0e0e;
}

.c-form__button .c-btn1 {
  border: 0;
  margin-top: 5rem;
}
@media screen and (max-width: 1024px) {
  .c-form__button .c-btn1 {
    width: unset;
    min-width: 27rem;
  }
}
@media screen and (max-width: 767px) {
  .c-form__button .c-btn1 {
    margin-top: 2.5rem;
  }
}
.c-form__button .c-btn1:hover {
  border: 0.1rem solid #5AA246;
}

/* Error */
.c-form__error {
  color: #ec0e0e;
  padding-top: 1.5rem;
  display: none;
}
@media screen and (max-width: 767px) {
  .c-form__error {
    padding-top: 2rem;
  }
}

.c-form__error.is-visible {
  display: block;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  display: none;
}

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

.wpcf7-spinner {
  visibility: hidden;
}

.p-contact__form .wpcf7-not-valid-tip {
  display: none;
}

.c-submit {
  color: #fff;
  background: transparent;
}

.c-submit:hover {
  color: #5AA246;
  background: transparent;
}

.c-submit:active {
  color: #5AA246;
  background: transparent;
}

.c-submit:active {
  color: #5AA246;
  background: transparent;
}

.p-contact_thanks {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.p-contact_thanks-desc {
  font-size: 1.6rem;
  line-height: 1.88;
  font-weight: 400;
  margin-top: 4.5rem;
}