.p_contact_form__head .txt_required {
  font-size: 0.875rem;
}

.p_contact_form__input::-moz-placeholder, .p_contact_form__textarea::-moz-placeholder {
  font-size: 1rem;
}

.p_contact_time, .p_contact_form__head .ttl, .p_contact_form__input::placeholder, .p_contact_form__textarea::placeholder, .p_contact_form__rule__overflow .txt {
  font-size: 1rem;
}

.p_contact_form__btn {
  font-size: 1.125rem;
}

.p_contact_tel {
  font-size: 1.5rem;
}

.p_contact_sec01 {
  padding: 60px 0 0;
}
.p_contact_tel {
  text-align: center;
  margin-top: 15px;
  font-weight: 700;
  line-height: 1;
  color: #4d4d4d;
}
.p_contact_tel .txt_tel,
.p_contact_tel .txt_tel_link {
  display: inline-block;
}
.p_contact_tel .txt_tel {
  margin-right: 5px;
}
.p_contact_tel .txt_tel_link {
  text-decoration: none;
}
.p_contact_time {
  text-align: center;
  color: #4d4d4d;
  line-height: 1.2;
  margin-top: 5px;
}
.p_contact_form {
  margin-top: 30px;
}
.p_contact_form__row {
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  gap: 12px 0;
  border-bottom: solid 1px #707070;
}
.p_contact_form__row:first-child {
  margin-top: 0;
  border-top: solid 1px #707070;
}
.p_contact_form__head {
  position: relative;
}
.p_contact_form__head .txt_required {
  border: solid 1px #ff0000;
  padding: 2px 8px;
  color: #ff0000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  margin-right: 10px;
  position: relative;
  top: -1px;
  font-weight: 400;
}
.p_contact_form__head .ttl {
  font-weight: 700;
  color: #4d4d4d;
  line-height: 1.2;
}
.p_contact_form__input {
  border: solid 1px #707070;
  background-color: #fff;
  line-height: 1.5;
  font-size: 1rem;
  width: 100%;
  padding: 8px 15px;
}
.p_contact_form__input:focus {
  outline: 0;
}
.p_contact_form__input::-moz-placeholder {
  color: #838383;
  line-height: 1.5;
}
.p_contact_form__input::placeholder {
  color: #838383;
  line-height: 1.5;
}
.p_contact_form__textarea {
  border: solid 1px #707070;
  background-color: #fff;
  line-height: 1.5;
  font-size: 1rem;
  resize: vertical;
  height: 200px;
  width: 100%;
  padding: 8px 15px;
}
.p_contact_form__textarea:focus {
  outline: 0;
}
.p_contact_form__textarea::-moz-placeholder {
  color: #838383;
  line-height: 1.5;
}
.p_contact_form__textarea::placeholder {
  color: #838383;
  line-height: 1.5;
}
.p_contact_form__group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.p_contact_form__rule {
  margin-top: 50px;
}
.p_contact_form__rule__ttl {
  color: #4d4d4d;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 15px;
}
.p_contact_form__rule__content {
  margin-top: 15px;
  border: solid 1px #707070;
  padding: 15px 10px 15px 15px;
}
.p_contact_form__rule__overflow {
  height: 190px;
}
.p_contact_form__rule__overflow .txt {
  color: #4d4d4d;
}
.p_contact_form__cb {
  line-height: 1.5;
  color: #4d4d4d;
}
.p_contact_form__cb input {
  cursor: pointer;
  position: relative;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border: solid 1px #707070;
  border-radius: 0;
  margin-right: 10px;
}
.p_contact_form__cb input::after {
  display: inline-block;
  transform: rotate(45deg);
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  height: 12px;
  width: 5px;
  border-bottom: solid 2px #fff;
  border-right: solid 2px #fff;
  opacity: 0;
}
.p_contact_form__cb input:checked {
  background-color: #707070;
}
.p_contact_form__cb input:checked::after {
  opacity: 1;
}
.p_contact_form__cb label {
  display: flex;
  cursor: pointer;
}
.p_contact_form__cb .txt {
  display: inline-block;
}
.p_contact_form__agree {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.p_contact_form__btn {
  margin: 30px auto 0;
  width: 100%;
  border: solid 1px #d5b162;
  background-color: #d5b162;
  text-align: center;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  line-height: 1.5;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0;
  padding: 12px 20px;
  max-width: 350px;
}
.p_contact_form__btn:focus {
  outline: 0;
}
@media screen and (min-width: 768px) {
  .p_contact_form__head .txt_required {
    font-size: 1rem;
  }
  .p_contact_form__input::-moz-placeholder, .p_contact_form__textarea::-moz-placeholder {
    font-size: 1.125rem;
  }
  .p_contact_time, .p_contact_form__head .ttl, .p_contact_form__input::placeholder, .p_contact_form__textarea::placeholder, .p_contact_form__rule__overflow .txt {
    font-size: 1.125rem;
  }
  .p_contact_form__btn {
    font-size: 1.375rem;
  }
  .p_contact_tel {
    font-size: clamp(1.5rem, 1.9230769231vw + 0.5769230769rem, 2.5rem);
  }
  .p_contact_sec01 {
    padding: 57px 0 176px;
  }
  .p_contact_tel {
    margin-top: 30px;
  }
  .p_contact_tel .txt_tel {
    margin-right: 13px;
  }
  .p_contact_tel .txt_tel_link {
    pointer-events: none;
  }
  .p_contact_time {
    margin-top: 7px;
  }
  .p_contact_form {
    margin-top: 77px;
  }
  .p_contact_form__row {
    gap: 0;
    flex-direction: row;
    padding: 35px 23px 29px;
  }
  .p_contact_form__row.align_center {
    align-items: center;
  }
  .p_contact_form__head {
    width: 294px;
    padding-left: 68px;
    padding-top: 4px;
  }
  .p_contact_form__head .txt_required {
    padding: 5px 8px 3px;
    position: absolute;
    left: 0;
    top: -3px;
    height: 30px;
    margin-right: 0;
  }
  .p_contact_form__content {
    width: calc(100% - 294px);
  }
  .p_contact_form__input {
    padding: 6px 20px 3px;
  }
  .p_contact_form__textarea {
    padding: 6px 20px 3px;
    height: 230px;
  }
  .p_contact_form__group {
    justify-content: space-between;
  }
  .p_contact_form__group .p_contact_form__input {
    width: 300px;
  }
  .p_contact_form__rule {
    margin-top: 91px;
  }
  .p_contact_form__rule__ttl {
    padding: 0 25px;
  }
  .p_contact_form__rule__content {
    padding: 20px 12px 21px 23px;
    margin-top: 13px;
  }
  .p_contact_form__rule__overflow {
    height: 205px;
  }
  .p_contact_form__rule__overflow .txt {
    line-height: 1.9444444444;
  }
  .p_contact_form__cb input {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    top: -1px;
  }
  .p_contact_form__cb input::after {
    top: 3px;
    left: 8px;
  }
  .p_contact_form__agree {
    margin-top: 40px;
  }
  .p_contact_form__btn {
    max-width: 500px;
    margin-top: 56px;
    padding: 18px 20px 17px;
    transition: all 0.5s;
  }
  .p_contact_form__btn:hover {
    background-color: #fff;
    color: #d5b162;
  }
}
/*# sourceMappingURL=maps/contact.css.map */


/* 20250808KD追記 */
/* フォームが invalid 状態になる（送信して失敗する）までは非表示 */
.wpcf7 form:not(.invalid) .wpcf7-not-valid-tip { display: none; }
/* 境界線の赤も送信前は消す（必要なら） */
.wpcf7 form:not(.invalid) .wpcf7-not-valid { border-color: inherit; }

