.p-contact.l-content__second {
  background: inherit;
}

.l-content__second .p-contact__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.l-content__second .p-contact__main p {
  margin-bottom: 40px;
  line-height: 1.6;
  font-size: 14px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .l-content__second .p-contact__main p {
    margin-bottom: 6%;
    font-size: 4.2vw;
  }
}

.mw_wp_form_confirm .p-contact__main > p {
  display: none;
}

.p-contact__form--item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}
@media screen and (max-width: 767px) {
  .p-contact__form--item {
    display: block;
  }
}
.p-contact__form--item:last-child {
  align-items: flex-start;
}
.p-contact__form--item dt {
  min-width: 200px;
  font-weight: normal;
}
@media screen and (max-width: 767px) {
  .p-contact__form--item dt {
    min-width: inherit;
    margin-bottom: 4%;
    text-align: left;
  }
}
.p-contact__form--item dd {
  width: 100%;
}
.p-contact__form--item dd input[type=text] {
  width: 100%;
  height: 58px;
  padding: 0 25px;
  border: 0;
  background: #f5f5f5;
}
@media screen and (max-width: 767px) {
  .p-contact__form--item dd input[type=text] {
    height: 48px;
  }
}
.p-contact__form--item dd textarea {
  width: 100%;
  height: 245px;
  padding: 25px;
  background: #f5f5f5;
  line-height: 1.6;
  resize: none;
}

.p-contact__form--required {
  display: inline-block;
  margin-left: 10px;
  padding: 0px 10px 3px;
  background: #e73b35;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .p-contact__form--required {
    padding: 0px 6px 1px;
  }
}

.l-content__second .p-contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  margin: 40px auto 70px;
  gap: 20px;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  .l-content__second .p-contact__btn {
    display: block;
    width: 100%;
    margin: 6% auto;
  }
}
.l-content__second .p-contact__btn input {
  width: 250px;
  padding: 13px 0 14px;
  max-width: 100%;
  margin: 0 !important;
  font-size: 16px;
}
.l-content__second .p-contact__btn input:disabled {
  opacity: 0.5;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .l-content__second .p-contact__btn input {
    width: 100%;
    margin: 4% 0;
  }
}
.p-chack input[type=checkbox]{
    display: none;
}
.p-chack input[type=checkbox] + label {
    box-sizing: border-box;
    cursor: pointer;
    padding: 5px 31px;
    position: relative;
    width: auto;
}
.p-chack input[type=checkbox] + label::before {
  position: absolute;
  top: 50%;
  left: 5px;
  display: block;
  margin-top: -8px;
  width: 17px;
  height: 17px;
  content: '';
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #b9b9b9
}
.p-chack input[type=checkbox] + label::after {
  border-right: 2px solid #e73b35;
  border-bottom: 2px solid #e73b35;
  content: '';
  display: block;
  height: 12px;
  left: 10px;
  margin-top: -7px;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 7px;
}
.p-chack input[type=checkbox] + label::after {
    opacity: 0;
}
.p-chack input[type=checkbox]:checked + label::after {
    opacity: 1;
}
.mw_wp_form_confirm .p-contact__btn input {
  width: 250px;
}
.l-content__second .p-contact__btn .c-button {
  width: auto !important;
}

.p-contact__form--item dd .error {
  margin-top: 5px;
}

.mw_wp_form_confirm .p-contact__main > p,
.mw_wp_form_confirm .p-contact__main .p-chack {
  display: none;
}
.p-chack {
  display: flex;
  margin: 20px 0;
}
.p-chack label {
  margin-left: 12px;
  font-size: 14px;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  .p-chack label {
    font-size: 4.2vw;
  }
}
.p-contact__complete {
  margin: 0 auto 60px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-contact__complete {
    margin-bottom: 20px;
    font-size: 4.2vw;
  }
}
.p-contact__form--item dd .error {
  margin-top: 5px;
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  .p-contact__form--item dd .error {
    font-size: 4.2vw;
  }
}