.p-breadcrumb {
  margin-bottom: 0;
}

.page_ttl {
  line-height: normal;
}

.p-entry-body__page {
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
}
@media screen and (min-width: 750px) {
  .p-entry-body__page {
    margin: 46px auto 280px;
  }
}
@media screen and (min-width: 1280px) {
  .p-entry-body__page {
    padding: 0;
  }
}
@media screen and (max-width: 749px) {
  .p-entry-body__page {
    padding: 0 16px;
    margin: 40px auto 0;
  }
}

.p-contact-form__item--subject {
  margin: 0;
}
.p-contact-form__item--subject p {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (min-width: 750px) {
  .p-contact-form__item--subject p {
    padding: 14px 0 14px 16px;
  }
}

@media screen and (min-width: 750px) {
  .p-contact-form__item--input {
    padding-right: 16px;
  }
}

.select-wrap:after {
  display: block;
  content: "";
  width: 13px;
  height: 9px;
  background-image: url("../images/dropdown.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  position: absolute;
  right: 35px;
  top: 28px;
  bottom: 0;
}
@media screen and (max-width: 749px) {
  .select-wrap:after {
    right: 18px;
  }
}

@media (min-width: 750px) and (max-height: 700px) {
  .inner.contact_wrap {
    max-width: 800px;
    margin: 0 auto;
  }
}

.contact {
  margin-top: 60px;
}

.p-contact-form__item {
  display: grid;
  grid-template-columns: 380px 1fr;
  padding: 40px 0;
  border-bottom: solid 1px #8C8886;
}
.p-contact-form__item:first-of-type {
  border-top: solid 1px #8C8886;
}
@media screen and (max-width: 749px) {
  .p-contact-form__item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
    align-content: center;
  }
}

.p-contact-form {
  margin: 60px 0 0;
}

input[type=email],
input[type=text],
input[type=tel],
select,
textarea {
  width: 100%;
  line-height: 1.875;
  padding: 14px;
  background-color: #E9E9E8;
  border-radius: 8px;
  border: none;
}

input[type=checkbox] {
  width: 24px;
  height: 24px;
  margin-right: 0.5em;
  vertical-align: middle;
  background-color: #f8f8f8;
  border: 1px solid #e8e8e8;
  position: relative;
  border-radius: 4px;
}
input[type=checkbox]:checked {
  background: #222;
}

input[type=checkbox]:checked:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  background: url(../images/check.svg) no-repeat center center/contain;
}

select {
  width: 100%;
  line-height: 1.875;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  color: rgba(25, 17, 13, 0.5);
  font-weight: 300 !important;
}
@media screen and (max-width: 749px) {
  select {
    grid-template-columns: 1fr;
    gap: 8px;
    align-content: center;
  }
}

textarea {
  height: 16em;
  line-height: 1.875;
}

input,
select,
textarea {
  outline: none;
}

input.error-field,
select.error-field,
textarea.error-field {
  border-color: #cf455c;
}

.require {
  display: inline-block;
  border-radius: 2px;
  padding: 0px 8px;
  color: #fff;
  background-color: #d61a31;
  font-size: 10px !important;
}

.p-contact-form__confirm {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.p-contact-form__confirm .wpcf7-list-item-label {
  display: none;
}
.p-contact-form__confirm .confirm_txt {
  padding-top: 3px;
}

.p-contact-form__submit input[type=submit] {
  display: block;
  font-family: "yu-gothic-pr6n", sans-serif !important;
  font-weight: 700;
  font-style: normal;
  line-height: 48px;
  text-align: center;
  margin: 0 auto;
  border-width: 1px;
  border-style: solid;
  position: relative;
  background: #222;
  color: #FFF;
  font-weight: bold;
  border-radius: 40px;
  font-size: 14px;
  letter-spacing: 1px;
  width: 300px;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.p-contact-form__submit input[type=submit][disabled] {
  border-color: #707070;
  background-color: #707070;
}