.header,
footer {
  display: none;
}

main {
  margin-top: 0;
}

.contact {
  padding: 8rem 1.35rem 6.2rem;
}

.contact * {
  color: #fff;
}

.section-title__ja {
  font-size: 1.8rem;
  line-height: 2.6rem;
}

.contact__title {
  font-size: 2rem;
  line-height: 1.45;
  text-align: center;
  font-weight: 700;
  margin: 4rem auto 1.6rem;
}

.contact__intro {
  text-align: center;
}

::placeholder {
  font-weight: 700;
  color: #c7c7c7;
}

.contact-form {
  max-width: 660px;
  margin: 8rem auto 0;
  font-size: 1.6rem;
  line-height: 1.5;
}

.contact__item {
  width: 100%;
  margin-bottom: 4rem;
}

.contact__item:nth-child(6) {
  margin-bottom: 1.8rem;
}

.contact__label {
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}

.contact__badge {
  background-color: #ca3c38;
  border-radius: 4px;
  margin-right: 1rem;
  width: 4.4rem;
  padding: 2px 7px 4px 7px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  height: 26px;
  line-height: 2rem;
  font-family: var(---sans-font), sans-serif;
}

.contact__badge--optional {
  background-color: #888a86;
}

.contact__inputs {
  display: flex;
  gap: 2rem;
}

.contact__input {
  border: 1px solid #707070;
  padding: 0.8rem 1.6rem;
  height: 4rem;
  width: 100%;
  background-color: #f7f7f7;
  border-radius: 0.4rem;
  font-size: inherit;
  font-family: inherit;
}

.contact__item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact__input-wrapper {
  width: fit-content;
}

.contact__textarea {
  border: 1px solid #707070;
  border-radius: 4px;
  padding: 8px 16px;
  height: 200px;
  width: 100%;
  background-color: #f7f7f7;
  font-size: inherit;
  font-family: inherit;
}

.submit-button {
  font-family: "Roboto", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px;
  color: #000;
  height: 60px;
  font-size: 2rem;
  font-weight: 600;
  border-radius: 30px;
  background-color: #fff;
  margin: 0 auto;
}

.contact__radio-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.contact__radio-button,
.mwform-radio-field label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.contact__radio-button input,
input[type="radio"] {
  width: 16px;
  height: 16px;
}

.contact__radio-button label,
.mwform-radio-field-text {
  font-size: 1.4rem;
  font-weight: 700;
}

input[type="radio"] {
  margin: 0;
  accent-color: #000;
}

.contact__item-text {
  margin-top: 2.6rem;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-left: 10px;
}

.mw_wp_form_preview .contact__item-text {
  margin-bottom: 4rem;
}

.contact__agree,
.mwform-checkbox-field label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #ca3c38;
}

.contact__agree label {
  font-weight: 700;
}

.submit-button--send {
  margin-top: 2rem;
}

.contact-complete__txt {
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  margin: 8rem auto 0;
}

@media (min-width: 768px) {
  .contact {
    padding: 10rem 2rem 30rem;
  }

  .contact *:not(.contact__badge) {
    color: #000;
  }

  .section-title {
    font-size: 4rem;
    line-height: 5.7rem;
  }
  .section-title__ja {
    font-size: 2.4rem;
    line-height: 3.5rem;
  }

  .contact {
    padding: 8rem 2rem;
  }

  .contact__title {
    margin-top: 8rem;
    margin-bottom: 1rem;
    font-size: 2.4rem;
    line-height: 3.5rem;
  }

  .contact-form {
    margin-top: 8rem;
  }

  .submit-button {
    width: 320px;
    background-color: #000;
    color: #fff !important;
    transition: all 0.3s;
  }

  .submit-button:hover {
    background-color: #d61518;
  }

  .contact__item:nth-child(6) {
    margin-bottom: 6rem;
  }

  .contact__radio-button input {
    width: 16px;
    height: 16px;
  }

  .contact__item-text {
    margin-left: 38px;
    line-height: 3rem;
  }
}
