:root {
  --main-font: "Noto Sans JP", sans-serif;
  --title-font: "Shippori Mincho", serif;
  --main-color: #47351A;
  --title-color: #8D6B32;
}

body {
  background-color: #F6F0E1;
  background-image: url('../img/module/body_img_bg1.svg');
  background-position: right 0 bottom 0;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero-section {
  margin-top: 16.5rem;
  margin-bottom: 5rem;
}

/* コンタクトフォーム７ */
.contact__form label {
  font-family: var(--main-font);
  color: var(--main-color);
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  font-weight: 700;
  width: 18rem;
  display: inline-block;
  margin-top: 1rem;
}

.contact__form p {
  font-family: var(--main-font);
  color: #FFFFFF;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  font-weight: 500;
  background-color: #D84646;
  border-radius: 0.5rem;
  display: inline-block;
  margin-left: 1rem;
  padding: 0.2rem 0.9rem;

}

.contact__form {
  display: flex;
  justify-content: center;
  gap: 4.5rem;
  margin-left: 3rem;
  padding-top: 6rem;
}

.form__item {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2rem;
}

.wpcf7-form-control-wrap {
  font-family: var(--main-font);
  color: #333333;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  font-weight: 700;
}

.contact__left dd {
  width: 15rem;
}

.contact__right dd {
  width: 8rem;
}

.contact__form dt {
  width: 32.5rem;
  border-radius: 0.5rem;
  font-size: 1.6rem;
  margin-top: 1rem;
  margin-left: 3rem;
  overflow-wrap: anywhere;
}

.contact__left dl {
  width: 50rem;
}

.contact__right dl {
  width: 50rem;
}

.contact__right dt {
  width: 40rem;
}

.inner-text {
  padding: 1rem 0rem 1rem 1rem;
  width: 32rem;
}

.contact__right .inner-text {
  padding: 1rem 0rem 1rem 1rem;
  width: 39rem;
  overflow-wrap: anywhere;
}

.type-dt {
  position: relative;
}



.submit__box p:first-of-type,
.submit__box p:last-of-type {
  font-family: var(--main-font);
  color: #FFFFFF;
  font-size: 1.6rem;
  line-height: 1;
  text-align: center;
  padding: 0;
  border-radius: 3.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  width: 22rem;
  max-width: 22rem;
  height: 7rem;
  margin: 0;
  white-space: nowrap;
}

.submit__box p:first-of-type {
  background-color: #D84646;
}

.submit__box p:last-of-type {
  background-color: #0069AA;
}

.submit__box input {
   font-family: var(--main-font);
  color: #fff;
  font-size: 1.6rem;
  border: none;
  border-radius: 3.1rem;
  width: 20rem;
  display: block;
  line-height: 1;
  cursor: pointer;
  padding: 2rem 0rem;
}

.submit__box p:first-of-type:before {
  content: "<";
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

.submit__box p:last-of-type:before {
  content: ">";
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
  position: absolute;
  top: 50%;
  right: 3rem;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

.submit__box .wpcf7-spinner {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.submit__box {
  padding: 0 1.5rem 3.5rem;
  margin: 8rem auto 0;
  width: 100%;
  max-width: 50rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}


@media screen and (max-width:698.99px) {

  /* お問い合わせ */
  .contact h2 {
    font-size: 2rem;
    margin-left: 1rem;
  }

  .contact__wrap {
    width: 33.5rem;
  }

  .contact__box {
    flex-direction: column;
    gap: 2rem;
    margin-left: 1rem;
  }

  .contact__form {
    flex-direction: column;
    gap: 0rem;
    background-color: #ffffff;
    border-radius: 3rem;
    width: 33.5rem;
    margin: 0 auto;
    padding-bottom: 6rem;
  }

  .contact__box p {
    font-size: 1.6rem;
    font-weight: 500;
  }

  .tel__box {
    margin: 0 auto;
  }

  .tel__box .tel__time {
    padding-bottom: 1rem;
  }

  .form__item {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .inner-text {
    width: 30.5rem;
  }

  .contact__form dt {
    width: 27.5rem;
    margin-left: 6rem;
    padding-right: 3rem;
  }

  .contact__left dl {
    width: 30.5rem;
  }

  .contact__right dl {
    width: 30.5rem;
  }

  .contact__right .inner-text {
    width: 30.5rem;
  }

  .submit__box {
    gap: 1.5rem;
  }

  .submit__box p:first-of-type,
  .submit__box p:last-of-type {
    width: auto;
    max-width: none;
    height: 4rem;
    padding: 0;
    border-radius: 2rem;
  }

  .submit__box p:first-of-type:before {
    left: 2rem;
  }

  .submit__box p:last-of-type:before {
    right: 2rem;
  }
.contact__form label{
  margin-left: 3rem;
}
.submit__box input{
  width: 16rem;
}
}
