:root {
  --title-font: "Zen Maru Gothic", sans-serif;
  --title-weight: 700;
  --title-size: 2.8rem;
  --main-font: "Noto Sans JP", sans-serif;
  --main-weight: 400;
  --main-size: 1.6rem;
}

.main {
  background-color: #F6F8FB;
  color: #575757;
}

.misaki-page-hero {
  position: relative;
  width: 100%;
  height: 28.5rem;
  margin-top: min(10rem, 110px);
  overflow: hidden;
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.misaki-page-hero__visual,
.misaki-page-hero__shade {
  position: absolute;
  inset: 0;
}

.misaki-page-hero__visual {
  overflow: hidden;
}

.misaki-page-hero__visual img {
  position: absolute;
  top: -36.4rem;
  left: 0;
  width: 144rem;
  height: 96.012rem;
  max-width: none;
  object-fit: contain;
  transform: scale(-1, -1);
  rotate: calc(180deg);
}

.misaki-page-hero__shade {
  background: rgba(0, 0, 0, 0.29);
}

.misaki-page-hero__title {
  position: absolute;
  top: 10.3rem;
  left: 50%;
  min-width: 10.6rem;
  height: 6.9rem;
  text-align: center;
  font-weight: 700;
  transform: translateX(-50%);
}

.misaki-page-hero__title span {
  position: absolute;
  left: 50%;
  white-space: nowrap;
  transform: translateX(-50%);
}

.misaki-page-hero__title-ja {
  top: 0;
  font-size: 2.8rem;
}

.misaki-page-hero__title-en {
  top: 4.6rem;
  font-size: 1.6rem;
}

.contact img {
  width: 11.2rem;
  height: 10rem;
  object-fit: cover;
}

.contact h2 {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: var(--title-size);
  letter-spacing: calc(0 / 100 * 28 / 10 * 1rem);
  color: #575757;
  padding-top: 1.4rem;
}

.contact p {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: var(--main-size);
  letter-spacing: calc(0 / 100 * 28 / 10 * 1rem);
  color: #B7B7B7;
}

.contact {
  display: flex;
  gap: 1.2rem;
  width: 124rem;
  margin: 0 auto;
  text-align: left;
  padding-top: 12rem;
}



/* コンタクトセクション */
.contact__wrap h3 {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: var(--title-size);
  color: #575757;
  padding-left: 4rem;
  position: relative;
}

.contact__wrap h3::before {
  content: "●";
  font-size: var(--title-size);
  color: #F6B8C4;
  position: absolute;
  top: 0rem;
  left: 0rem;
}

.contact__wrap__mail h3 {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: var(--title-size);
  color: #575757;
  padding-top: 10.6rem;
  padding-left: 4rem;
  position: relative;
}

.contact__wrap__mail h3::before {
  content: "●";
  font-size: var(--title-size);
  color: #F6B8C4;
  position: absolute;
  top: 0rem;
  left: 0rem;
  padding-top: 10.6rem;
}

.contact__wrap p {
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  color: #575757;
}

.contact__wrap__mail p {
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  color: #575757;
  padding-top: 2.4rem;
  position: relative;
  text-align: center;
}

.contact__required-mark {
  font-size: 1rem;
  color: #F6B8C4;
}


.contact__text a {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: var(--title-size);
  color: #FF97AB;
  padding-top: 2.8rem;
  position: relative;

}

.contact__text a::after {
  content: "";
  width: 16rem;
  height: 0.1rem;
  background-color: #FF97AB;
  position: absolute;
  bottom: 0rem;
  left: 0rem;
}

.contact__sub__text p {
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  color: #575757;
  padding-top: 3rem;
}

.contact__text {
  display: flex;
  align-items: center;
}

.contact__sub__text {
  display: flex;
  align-items: center;
}

.contact__container {
  width: 124rem;
  background-color: #F2F2F2;
  margin: 0 auto;
}

.contact__box {
  padding: 6rem 5.4rem 6.5rem;
}

/* contact form 7 */
.cf7 h3 {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: calc(20 / 22);
  margin-top: 4.7rem;
}



input,
textarea,
select,
button {
  appearance: auto;
  -webkit-appearance: auto;
}

label {
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  line-height: calc(20 / 16);
}

.radio__button {
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  line-height: calc(20 / 16);

}

.radio__box {
  display: flex;
  padding-top: 2.8rem;
  gap: 7.8rem;
}

.wpcf7-list-item {
  margin: 0 0 0 6rem;
}

.textarea {
  background-color: #ffffff;
  width: 85rem;
  height: 20.1rem;
  resize: none;
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  overflow-wrap: anywhere;
  padding: 1rem;
}

.textarea__wrap {
  display: flex;
  gap: 10.6rem;
  padding-top: 6rem;
}

.contact__name {
  display: flex;
  gap: 18.6rem;
  align-items: center;
  margin-top: 2.7rem;
}

.name,
.rubi__name {
  width: 56.3rem;
  height: 5.4rem;
  background-color: #ffffff;
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  overflow-wrap: anywhere;
  padding: 1rem;
}

.contact__rubi__name {
  display: flex;
  gap: 17rem;
  align-items: center;
  margin-top: 2.6rem;
}

.your-email,
.your-email-confirm {
  width: 85rem;
  height: 5.4rem;
  background-color: #ffffff;
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  overflow-wrap: anywhere;
  margin-top: 2.6rem;
}

.your-email {
  margin-left: 12rem;
  padding: 1rem;
}

.your-email-confirm {
  margin-left: 9rem;
  padding: 1rem;
}

.email-confirm-error {
  color: #dc3232;
  display: block;
  margin-top: 0.5rem;
}

.tel__input {
  width: 85rem;
  height: 5.4rem;
  background-color: #ffffff;
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-size: var(--main-size);
  overflow-wrap: anywhere;
  padding: 1rem;
}

.contact__tel {
  display: flex;
  gap: 17.3rem;
  align-items: center;
  margin-top: 2.6rem;

}

.wpcf7 input[type="tel"] {
  margin: 0 1rem;
}

.required label {
  position: relative;
}

.required label::after {
  content: "★";
  font-size: 1rem;
  color: #F6B8C4;
  position: relative;
  top: -0.6rem;
  right: 0rem;
}

.submit__button {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: 1.8rem;
  color: #ffffff;
  background-color: #FF97AB;
  border-radius: 1.3rem;
  padding: 2.1rem 7.5rem;
  cursor: pointer;
}

.submit__box {
  margin: 7rem auto;
  width: fit-content;
}

@media screen and (max-width:699.98px) {
  .misaki-page-hero {
    width: 37.5rem;
    height: 26.8rem;
    margin-top: 8.4rem;
  }

  .misaki-page-hero__visual img {
    top: -19rem;
    left: -27rem;
    width: 92.9rem;
    height: 61.932rem;
  }

  .misaki-page-hero__title {
    top: 8.4rem;
    min-width: 9.3rem;
    height: 5.4rem;
  }

  .misaki-page-hero__title-ja {
    font-size: 2.4rem;
  }

  .misaki-page-hero__title-en {
    top: 3.5rem;
    font-size: 1.4rem;
  }

  .contact {
    width: 35.1rem;
    padding-top: 4.6rem;
  }

  .contact img {
    width: 8rem;
    height: 7.2rem;
  }

  .contact h2 {
    padding-top: 0.5rem;
    font-size: 2.4rem;
  }

  .contact__box {
    padding: 3.6rem 0 0 1.2rem;
  }

  .contact__container {
    width: 35.1rem;
  }

  .contact__wrap h3 {
    font-size: 2.2rem;
  }

  .contact__text a {
    font-size: 2.8rem;
    padding-top: 0rem;
  }

  .contact__sub__text {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 2rem;
    padding-left: 2rem;
  }

  .contact__sub__text p {
    padding-top: 0rem;
  }

  .contact__wrap__mail h3 {
    font-size: 2.2rem;
    width: 26.4rem;
    padding-top: 4.4rem;
  }

  .contact__wrap h3::before {
    top: -0.5rem;
  }

  .contact__wrap__mail h3::before {
    top: -6.6rem;
  }

  .cf7 h3 {
    font-size: 1.9rem;
  }

  label {
    font-size: 1.6rem;
  }

  .radio__button {
    width: 32.7rem;
    display: block;
  }

  .radio__box {
    flex-direction: column;
    gap: 0.8rem;
  }

  .wpcf7-list-item {
    margin: 0;
  }

  .wpcf7-list-item:nth-of-type(2) {
    margin-left: 8rem;
  }

  .wpcf7-list-item:nth-of-type(4) {
    margin-left: 4.8rem;
  }

  .textarea__wrap {
    flex-direction: column;
    gap: 0.8rem;
  }

  .textarea {
    width: 32.7rem;
    padding: 1rem;
  }

  .contact__name,
  .contact__rubi__name {
    flex-direction: column;
    gap: 0.8rem;
    align-items: start;
  }

  .name,
  .rubi__name,
  .your-email,
  .your-email-confirm {
    width: 32.7rem;
    margin-top: 0.8rem;
  }

  .required {
    display: flex;
    flex-direction: column;
  }

  .your-email {
    margin-left: 0rem;
  }

  .contact__mail label {
    padding-top: 3rem;
  }

  .your-email-confirm {
    margin-left: 0rem;
  }

  .contact__tel {
    flex-direction: column;
    gap: 0.8rem;
    align-items: start;
  }

  .wpcf7 input[type="tel"] {
    margin: 0;
  }

  .tel__input {
    width: 32.7rem;
  }

  .submit__button {
    padding: 1.8rem 7.5rem;
  }

  .submit__box {
    padding-bottom: 4rem;
    margin: 7rem 0rem 0rem 4.3rem;
  }
}