.sub-wrap{
  padding: 40px 0 100px;
}
.contact-top{
  text-align: center;
  line-height: 2em;
  font-weight: 500;
  margin: 0 0 30px;
}
.p-contact {
  padding: 20px 0;
}

.p-contact__inner {
  padding: 0 30px 0;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
}

.p-contact-form__row {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 20px;
  align-items: start;
}

.p-contact-form__row + .p-contact-form__row {
  margin-top: 18px;
}

.p-contact-form__head {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 56px;
}

.p-contact-form__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #222;
}

.p-contact-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  padding: 0 6px;
  background: #e60012;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 2px;
}

.p-contact-form__body {
  width: 100%;
}

.p-contact-form__input,
.p-contact-form__select,
.p-contact-form__textarea {
  width: 100%;
  border: 0;
  background: #f3f3f3;
  color: #222;
  font-size: 16px;
  font-family: inherit;
  border-radius: 4px;
  appearance: none;
}

.p-contact-form__input,
.p-contact-form__select {
  height: 56px;
  padding: 0 24px;
}

.p-contact-form__textarea {
  min-height: 200px;
  padding: 20px 24px;
  resize: vertical;
}

.p-contact-form__input::placeholder,
.p-contact-form__textarea::placeholder {
  color: #a8a8a8;
}

.p-contact-form__select {
  color: #666;
  cursor: pointer;
}

.p-contact-form__body--select {
  position: relative;
}

.p-contact-form__body--select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 10px;
  height: 6px;
  background: #9a9a9a;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(-50%);
  pointer-events: none;
}

.p-contact-form__note {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
  text-align: center;
}

.p-contact-form__submit {
  margin-top: 42px;
  text-align: center;
  display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column-reverse;
}

.c-btn-submit {
  min-width: 205px;
  height: 52px;
  padding: 0 32px;
  border: 1px solid var(--ember-color);
  border-radius: 999px;
  background: transparent;
  color: var(--ember-color);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: .3s;
}

.c-btn-submit:hover {
  background: var(--ember-color);
  color: #fff;
}

.wpcf7 form.sent .p-contact-form__row,
.wpcf7 form.sent .p-contact-form__note,
.wpcf7 form.sent .c-btn-submit {
	display: none;
}


.wpcf7-response-output {
	font-size: 16px;
	font-weight: bold;
	border-color: #e50014 !important; /* Green */
	background: #FFF;
	padding: 20px 0 !important;
	margin: 1em 0.5em 1em;
	text-align: center;
}
.wpcf7 form.submitting button {
  opacity: 0.6;
  pointer-events: none;
}

@media only screen and (max-width: 1200px) {



}




@media (max-width: 768px) {
  .p-contact__inner {
    padding: 0 0 0;
  }
  .contact-top .--sp,.p-contact-form__note .--sp{
    display: none;
  }
  .p-contact-form__note {
    font-size: 13px;
  }


}
@media (max-width: 767px) {

  .p-contact-form__row {
    grid-template-columns:1fr;
    gap: 0;
  }
  .p-contact-form__head {
    min-height: 41px;
  }
  .p-contact-form__row + .p-contact-form__row {
    margin-top: 10px;
  }
  .p-contact {
    padding: 0px 0;
  }
  .contact-top .--sp,.p-contact-form__note .--sp{
    display: block;
  }
  .p-contact-form__input, .p-contact-form__select {
    height: 45px;
    padding: 0 15px;
  }
  .p-contact-form__textarea {
    min-height: 200px;
    padding: 15px;
  } 
  .p-contact-form__note {
    margin-top: 10px;
  }
  .p-contact-form__submit {
    margin-top: 30px;
  }
  
  .wpcf7-response-output {
	  font-size: 14px;
	}

}
@media (max-width: 350px) {
  .contact-top {
    font-size: 14px;
    margin: 0 0 22px;
  }
  .contact-top br{
  }


}