header,
footer,
.mobile-nav {
  display: none;
}

main {
  margin-top: 0;
  padding: 107px min(27px, max(16px, calc(27px + 50vw - 180px))) 80px;
}

.title--contact img {
  width: 75px;
  height: 60px;
}

.breadcrumb {
  top: 10px;
}

.contact__item__wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact_form {
  padding-top: 100px;
  color: #000;
}

.contact_content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 54px;
}

.contact_content img {
  position: relative;
  width: 36px;
  margin-right: 5px;
  top: -5px;
}

input[type="tel"] > a {
  color: #3b4043;
}

.contact__form {
  padding-top: 62px;
  padding-bottom: 104px;
}
.contact__item {
  width: 100%;
}

.contact__item--agree {
  margin-top: 8px;
}
.contact__item,
.contact__item * {
  font-family: "Noto Serif JP", serif;
}

.contact__label {
  padding-bottom: 10px;
  font-weight: 700;
  font-size: 16px;
}

.contact__required {
  background-color: #ca3c38;
  border-radius: 4px;
  margin-right: 10px;
  width: 44px;
  padding: 2px 8px 0 8px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  font-family: "Noto Sans JP";
  color: #ffffff;
  height: 26px;
  line-height: normal;
}

.contact__optional {
  background-color: #888a86;
  border-radius: 4px;
  margin-right: 10px;
  width: 44px;
  padding: 2px 8px 0px 8px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  height: 25px;
  line-height: normal;
}

.mw_wp_form_preview .contact__required,
.mw_wp_form_preview .contact__optional {
  display: none;
}

.contact__name {
  display: flex;
  gap: min(20px, max(10px, calc(20px + 50vw - 188px)));
}

.contact__item:first-of-type .contact__name input {
  margin-right: 0;
}

.contact-select-wrapper {
  display: inline-block;
  width: 150px;
  max-height: 250px;
}

.contact-select-wrapper select {
  width: 100%;
  height: 100%;
  width: 150px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.contact__birth-wrapper {
  display: flex;
  gap: min(20px, max(10px, calc(20px + 50vw - 188px)));
}

.contact__birth > select {
  padding: 0 8px;
}

.contact__birth .contact-select-type::-webkit-listbox {
  max-height: 250px;
}

.contact__birth-wrapper > div:first-child {
  width: 150px;
}
.contact__birth-wrapper > div:nth-child(2) {
  width: 65px;
}
.contact__birth-wrapper > div:last-child {
  width: 65px;
}
.contact__input {
  border: 1px solid #707070;
  border-radius: 4px;
  padding: 8px 16px;
  height: 40px;
  width: 100%;
  font-weight: 600;
  background-color: #fff;
}

.contact__medium-input {
  width: 320px;
  max-width: 100%;
  display: block;
  position: relative;
  margin-bottom: 20px;
}
.contact__small-input {
  max-width: 235px;
  display: block;
  position: relative;
  margin-bottom: 20px;
}

.mw_wp_form_preview .contact__small-input {
  margin-bottom: 0;
}

.contact__small-input02 {
  max-width: none;
}
.contact__small-input03 {
  margin-bottom: 0;
}
.contact__small2-input {
  max-width: 132px;
}
.contact__textarea {
  border: 1px solid #707070;
  border-radius: 4px;
  padding: 8px 16px;
  height: 200px;
  width: 100%;
  background-color: #fff;
}

.contact-select-type {
  max-width: 320px;
  padding-right: 35px;
}

.contact-select-type,
.contact__select {
  background-image: url(../images/common/select-arrow.svg);
  background-position: right 7px center;
  background-repeat: no-repeat;
  background-size: 20px 13px;
}

.contact-select-type option {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

::placeholder {
  color: #c7c7c7;
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
}

@media (max-width: 374px) {
  .p-street-address::placeholder {
    font-size: 14px;
  }

  .contact__item--textarea .contact__label {
    font-size: 14px;
  }
}

.is-empty {
  color: #c7c7c7;
}

select {
  color: rgb(201, 201, 201);
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
}

:disabled {
  color: #3b4043;
  background-color: #ffffff;
  border: 1px solid #707070;
}

.common__btn__wrap {
  width: 320px;
  height: 60px;
  background-color: #191919;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  line-height: calc(18 / 14);
  text-align: center;
  margin-top: 40px;
}

.common__btn__wrap a {
  color: #fff;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 20px;
  font-weight: bold;
}

.contact__checkbox {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
}

.contact__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  margin-top: 16px;
}

.mwform-checkbox-field label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact__checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

.checkmark {
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #707070;
  display: inline-block;
  position: relative;
  cursor: pointer;
  background-color: #fff;
}
.mw_wp_form_preview .checkmark {
  display: none;
}

.mw_wp_form_preview .agree {
  font-weight: 400;
}

.checkmark.checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -3px;
  width: 17px;
  height: 18px;
  background-image: url(../images/common/check-mark.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.mwform-checkbox-field-text {
  font-size: 16px;
  font-weight: 700;
}

.link-button {
  font-family: "Noto Serif JP", sans-serif;
  font-weight: 500;
  margin-top: 60px;
  max-width: 256px;
}

.submit-button--send {
  margin-top: 30px;
}

.error {
  margin-top: 2px;
}

.contact-complete__txt {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  line-height: 2;
}

.mw_wp_form .error {
  font-weight: 400;
}

@media (min-width: 768px) {
  .contact_form {
    padding-bottom: 110px;
    color: #000;
    max-width: 1054px;
    margin: 0 auto;
    padding-top: 73px;
  }

  .contact__item__wrap {
    max-width: 660px;
    margin: 0 auto;
  }
}
