/* ------------------------------
    mixin
------------------------------ */
/* ------------------------------
	contact
------------------------------ */
/* contact */
.p-contact {
  padding: 6.5rem 0 10rem;
}
.p-contact__title {
  margin-bottom: 6rem;
}
.p-contact__form {
  position: relative;
  width: 110rem;
  border-top: 1px solid #ccc;
  margin: 0 auto;
  background: #fff;
}

@media screen and (max-width: 767px) {
  .p-contact {
    padding: 6.2rem 0 11.5rem;
  }
  .p-contact__title {
    margin-bottom: 5rem;
  }
  .p-contact__form {
    width: 100%;
  }
}
.c-form {
  /* wp */
}
.c-form__box {
  width: 100%;
  position: relative;
  border-bottom: 1px solid #ccc;
}
.c-form__box::before {
  position: absolute;
  content: "";
  background: #f5f5f5;
  width: 33rem;
  height: 100%;
  top: 0;
  left: 0;
}
.c-form__box dl {
  width: 100%;
  position: relative;
  display: table;
  padding: 0;
  margin: 0;
  min-height: 10rem;
}
.c-form__box dt, .c-form__box dd {
  position: relative;
  font-size: 1.6rem;
  font-weight: 500;
  display: table-cell;
  vertical-align: middle;
}
.c-form__box dt .sm, .c-form__box dd .sm {
  font-size: 1.4rem;
  line-height: 1.2;
}
.c-form__box dt {
  width: 33rem;
  text-align: center;
  padding-top: 2.1rem;
  padding-bottom: 2.1rem;
}
.c-form__box dd {
  width: calc(100% - 33rem);
  background: #fff;
  padding: 2.1rem 2.6rem 2.1rem 3.2rem;
}
.c-form input[type=text], .c-form input[type=email], .c-form input[type=tel] {
  width: 71rem;
  height: 5.6rem;
  font-size: 1.6rem;
  padding: 0.75em;
  background-color: #fff;
  border: 1px solid #ccc;
}
.c-form textarea {
  width: 71rem;
  height: 17.9rem;
  padding: 0.75em;
  background-color: #fff;
  border: 1px solid #ccc;
}
.c-form input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  visibility: hidden;
}
.c-form input[type=checkbox] + span.wpcf7-list-item-label {
  display: inline-block;
  position: relative;
  font-feature-settings: "palt";
  padding-left: 3rem;
  line-height: 1;
  cursor: pointer;
}
.c-form input[type=checkbox] + span.wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.8rem;
  height: 1.8rem;
  background-color: #fff;
  border: 2px solid #ccc;
}
.c-form input[type=checkbox]:checked + span.wpcf7-list-item-label::after {
  content: "";
  width: 0.8rem;
  height: 0.5rem;
  border-left: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(-45deg);
  position: absolute;
  top: 0.6rem;
  left: 0.5rem;
}
.c-form__select {
  position: relative;
  width: 28.9rem;
  height: 5.6rem;
  background-color: #fff;
  border: 1px solid #ccc;
}
.c-form__select select {
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  padding: 0 2.5rem;
  cursor: pointer;
  color: #222;
}
.c-form__select:before {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-top: solid 2px #00865d;
  border-right: solid 2px #00865d;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
  pointer-events: none;
}
.c-form__submit {
  position: relative;
  margin: 4.3rem auto 0;
  text-align: center;
}
.c-form__submit input {
  position: relative;
  width: 23.4rem;
  height: 5.7rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, rgb(22, 157, 84) 0%, rgb(13, 95, 118) 100%);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
}
@media print and (any-hover: hover), screen and (any-hover: hover) and (min-width: 768px) {
  .c-form__submit input {
    transition: opacity 0.3s;
    cursor: pointer;
  }
  .c-form__submit input:hover {
    opacity: 0.7;
  }
}
.c-form .wpcf7-spinner {
  display: none;
}
.c-form .wpcf7-response-output {
  padding: 1em 0.5em !important;
  line-height: 1.5;
  text-align: center;
  font-size: 1.6rem;
  max-width: 110rem;
  margin: 3em auto 0 !important;
}
.c-form .wpcf7-form-control-wrap + span {
  display: block;
  margin-top: 1.8rem;
}
.c-form .wpcf7-list-item {
  display: block;
  line-height: 1.2;
}
.c-form .wpcf7-list-item + .wpcf7-list-item {
  margin-top: 1em;
}

@media screen and (max-width: 767px) {
  .c-form {
    /* wp */
  }
  .c-form__box::before {
    display: none;
  }
  .c-form__box dl {
    min-height: inherit;
  }
  .c-form__box dl.check dd {
    padding: 2rem 0;
  }
  .c-form__box dl.gender .wpcf7-checkbox {
    display: flex;
    gap: 3.5rem;
    padding-block: 1.5rem;
  }
  .c-form__box dl.gender .wpcf7-list-item + .wpcf7-list-item {
    margin-top: 0;
  }
  .c-form__box dt, .c-form__box dd {
    font-size: 1.8rem;
    display: block;
  }
  .c-form__box dt .sm, .c-form__box dd .sm {
    font-size: 1.6rem;
  }
  .c-form__box dt {
    width: 100%;
    text-align: left;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    padding: 1.6rem 2rem 1.6rem 1.8rem;
    background: #f5f5f5;
    border-bottom: 1px solid #ccc;
    line-height: 1.5;
  }
  .c-form__box dd {
    width: 100%;
    padding: 1.4rem 0 2.4rem 0;
  }
  .c-form input[type=text], .c-form input[type=email], .c-form input[type=tel] {
    width: 100%;
    font-size: 16px;
  }
  .c-form textarea {
    width: 100%;
    height: 14.4rem;
  }
  .c-form input[type=checkbox] + span.wpcf7-list-item-label::before {
    top: 0.05em;
  }
  .c-form input[type=checkbox]:checked + span.wpcf7-list-item-label::after {
    top: 0.7rem;
  }
  .c-form__select {
    width: 100%;
  }
  .c-form__submit {
    margin: 4.7rem auto 0;
  }
  .c-form__submit input {
    font-size: 1.8rem;
  }
  .c-form .wpcf7-form-control-wrap + span {
    margin-top: 2.4rem;
  }
  .c-form .wpcf7-list-item + .wpcf7-list-item {
    margin-top: 0.9em;
  }
}
.u-require {
  position: relative;
  background: #468f74;
  border-radius: 0.4rem;
  padding: 0.1em 1em 0.15em;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-left: 0.9em;
}

@media screen and (max-width: 767px) {
  .u-require {
    padding: 0 0.6em 0.15em;
    font-size: 1.5rem;
    margin-left: 0.9em;
  }
}
/* thanks */
.p-contact-thanks__title {
  color: #0f70b9;
  font-size: 2.4rem;
  text-align: center;
  line-height: 2.1666666667;
  margin: 0 auto 1rem;
}
.p-contact-thanks__txt {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
}

/* ------------------------------
	tour form
------------------------------ */
.c-form--tour .u-require {
  background: #e60012;
}
.c-form--tour input[type=text]::placeholder, .c-form--tour input[type=email]::placeholder, .c-form--tour input[type=tel]::placeholder {
  color: #c5c4c1;
}
.c-form--tour .wpcf7-list-item {
  margin-left: 0;
}
.c-form--tour .reply .txt {
  margin-block: 3.2rem 1.5rem;
  color: #e60012;
  font-weight: 500;
}
.c-form--tour .p-contact__note {
  color: #e60012;
  margin-top: 3.8rem;
  text-align: center;
  font-weight: 500;
}
.c-form--tour__submit {
  position: relative;
  margin: 4.3rem auto 0;
  text-align: center;
}
.c-form--tour__submit input {
  position: relative;
  width: 47rem;
  height: 7.7rem;
  border-radius: calc(infinity * 1px);
  background: #3d8f70;
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
}
@media print and (any-hover: hover), screen and (any-hover: hover) and (min-width: 768px) {
  .c-form--tour__submit input {
    transition: opacity 0.3s;
    cursor: pointer;
  }
  .c-form--tour__submit input:hover {
    opacity: 0.7;
  }
}

@media screen and (min-width: 768px) {
  .c-form--tour .wpcf7-checkbox {
    display: flex;
    gap: 4.8rem;
  }
  .c-form--tour .wpcf7-list-item + .wpcf7-list-item {
    margin-top: 0;
  }
  .c-form--tour .c-form__box .reply dd {
    padding: 4rem 2.6rem 2.1rem 3.2rem;
  }
}
@media screen and (max-width: 767px) {
  .c-form--tour .reply .txt {
    margin-block: 2.5rem 1.3rem;
    font-size: 1.6rem;
  }
  .c-form--tour .p-contact__note {
    margin-top: 3.3rem;
    text-align: left;
  }
  .c-form--tour__submit input {
    width: 42rem;
    height: 6.5rem;
  }
}
