:root {
  --main-font: "Noto Sans JP", sans-serif;
  --title-font: "Shippori Mincho", serif;
  --main-color: #47351A;
  --title-color: #8D6B32;
}



body {
  background-color: #F6F0E1;
  font-family: "Noto Sans CJK JP", sans-serif;
}

.main {
  position: relative;
  isolation: isolate;
}

.fixed-bg {
  position: -webkit-sticky;
  position: sticky;
  top: calc(100vh - 27.4rem);
  top: calc(100dvh - 27.4rem);
  height: 27.4rem;
  margin-bottom: -17rem;
  z-index: -2;
  pointer-events: none;
  background-image: url('../img/module/body_img_bg1.svg');
  background-size: 67.4rem 27.4rem;
  background-position: right -2rem bottom 0;
  background-repeat: no-repeat;
}

/* ヒーローセクション */
.hero-section {
  margin-top: 6.5rem;
  margin-bottom: 5rem;
}

.hero-section__img__pc img {
  width: 115rem;
  height: 46rem;
  display: block;
  margin-inline: auto;
  border-radius: 3rem;
  overflow: hidden;
}

.hero-section__title {
  width: 60rem;
  text-align: center;
  padding-block: 2.2rem;
  border-radius: 5rem;
  box-shadow: 0 0.3rem 0.6rem #00000029;
  display: block;
  margin-inline: auto;
  margin-top: -4.5rem;
  margin-bottom: 5rem;
  background-color: #FFFFFF;
  position: relative;
  font-size: 2.5rem;
  font-weight: 700;
  color: #47351A;
}

/* 代表挨拶 */
.greeting h2 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: 2.3rem;
  line-height: calc(34 / 23);
  font-weight: 700;
  text-align: left;
  margin-left: 3rem;
  padding-top: 3.6rem;
  padding-bottom: 1.9rem;
}

.greeting__box p {
  font-family: var(--main-font);
  color: var(--main-color);
  font-size: 1.6rem;
  line-height: calc(32 / 16);
  font-weight: 500;
  text-align: left;
}

.greeting__box {
  width: 81.5rem;
  padding-bottom: 3.5rem;
}

.greeting__name img {
  width: 25rem;
  height: 30rem;
  object-fit: cover;
  border-radius: 1.5rem;
}

.greeting__name p {
  font-family: var(--title-font);
  color: var(--main-color);
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  font-weight: 600;
  text-align: center;
}

.greeting__name h3 {
  font-family: var(--main-font);
  color: var(--main-color);
  font-size: 1.8rem;
  line-height: calc(26 / 18);
  text-align: center;
}

.greeting__name {
  text-align: center;
}

.greeting__wrap {
  background-color: #FFFFFF;
  width: 115rem;
  margin: 0 auto;
  border-radius: 1.5rem;
}

.greeting__container {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  padding-bottom: 3.5rem;
}

/* 法人概要 */
.facility {
  margin-top: 6rem;
}

.facility h2 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: 2.3rem;
  line-height: calc(34 / 23);
  font-weight: 700;
  text-align: left;
  margin-left: 3rem;
  padding-top: 3.6rem;
  padding-bottom: 1.9rem;
}


.facility__box dl {
  font-family: var(--main-font);
  color: var(--main-color);
  font-size: 1.8rem;
  line-height: calc(26 / 16);
  font-weight: 700;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  width: 47.6rem;
}

.facility__box {
  margin-left: 3rem;
  padding-bottom: 6.9rem;
}

.facility__box dt {
  width: 13rem;
  text-align: center;
  background-color: #E3D7BB;
  padding: 1.5rem 1.5rem;
  position: relative;
}


.facility__box dt:first-of-type {
  border-radius: 1.5rem 0 0 0rem;
  padding-top: 3rem;
}

.facility__box dt:last-of-type {
  border-radius: 0rem 0 0 1.5rem;
  padding-bottom: 3rem;
}

.facility__box dt::after {
  content: "";
  width: 42rem;
  border-bottom: dotted #FFFFFF 0.3rem;
  position: absolute;
  top: 0rem;
  left: 2rem;
}

.facility__box dt:first-child::after {
  content: none;
}

.facility__box dd {
  width: 32.6rem;
  background-color: #F2E7CE;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  white-space: nowrap;
}

.facility__box dd:first-of-type {
  border-radius: 0 1.5rem 0 0;
  padding-top: 3rem;
}

.facility__box dd:last-of-type {
  border-radius: 0 0rem 1.5rem 0;
  padding-bottom: 3rem;
}

.facility__container {
  display: flex;
  gap: 1.5rem;
}

.facility__container img {
  width: 60rem;
  height: 40rem;
  object-fit: cover;
  border-radius: 1.5rem;
}

.facility__wrap {
  background-color: #FFFFFF;
  width: 115rem;
  margin: 0 auto;
  border-radius: 1.5rem;
}

/* アクセスマップ */
.access {
  margin-top: 6rem;
}

.access h2 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: 2.3rem;
  line-height: calc(34 / 23);
  font-weight: 700;
  text-align: left;
  margin-left: 3rem;
  padding-top: 3.6rem;
  padding-bottom: 1.9rem;
}

.access__box dl {
  font-family: var(--main-font);
  color: var(--main-color);
  font-size: 1.8rem;
  line-height: calc(32 / 16);
  font-weight: 700;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  width: 45.6rem;
}

.access__box {
  margin-left: 3rem;
  padding-bottom: 6.9rem;
}

.access__box dt {
  width: 14rem;
  text-align: left;
  padding: 1.5rem 1.5rem;
  position: relative;
}

.access__box dd {
  width: 31.6rem;
  padding: 1.5rem 0 1.5rem 1.5rem;
}

.access__box dt::after {
  content: "";
  width: 42.8rem;
  border-bottom: dotted #47351A 0.3rem;
  position: absolute;
  top: 0rem;
  left: 1.5rem;
}

.access__box dt:first-child::after {
  content: none;
}

.access__container {
  display: flex;
  gap: 2.5rem;
}

.access__wrap {
  background-color: #FFFFFF;
  width: 115rem;
  margin: 0 auto;
  border-radius: 1.5rem;
}

.access__map iframe {
  width: 60rem;
  height: 40rem;
  border-radius: 1.5rem;
}


/* 背景ドットの為のdiv囲い */
.dot__wrap-green {
  background-image: url(../img/module/dot_green.svg);
  background-repeat: no-repeat;
  background-position: right 35rem;
  background-size: 22rem 22rem;
}

.dot__wrap-white {
  background-image: url(../img/module/dot_white.svg);
  background-repeat: no-repeat;
  background-position: left 100rem;
  background-size: 22rem 22rem;

}

/* お問い合わせ */
.contact {
  margin-top: 6rem;
  padding-bottom: 12rem;
}

.contact h2 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: 2.3rem;
  line-height: calc(34 / 23);
  font-weight: 700;
  text-align: left;
  margin-left: 3rem;
  padding-top: 3.6rem;
  padding-bottom: 1.9rem;
}

.contact__box p {
  font-family: var(--main-font);
  color: var(--main-color);
  font-size: 1.8rem;
  line-height: calc(26 / 18);
  font-weight: 700;
  text-align: left;
}

.contact__box {
  margin-left: 3rem;
  padding: 0 0rem 6.9rem;
  display: flex;
  gap: 6.1rem;
}

.tel__area img {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: cover;
}

.tel__area {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.tel__area p {
  font-family: var(--main-font);
  color: #FFFFFF;
  font-size: 2rem;
  line-height: calc(29 / 20);
}

.tel__box .tel__time {
  font-family: var(--main-font);
  color: #FFFFFF;
  font-size: 1.5rem;
  line-height: calc(21 / 15);
  text-align: center;
}

.tel__box {
  background-color: #C5B38B;
  border-radius: 1rem;
  width: 27.3rem;
}

.contact__wrap {
  background-color: #FFFFFF;
  width: 115rem;
  margin: 0 auto;
  border-radius: 1.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: start;
  gap: 4.5rem;
  margin-left: 3rem;
}

.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: solid 0.1rem #C4C4C4;
  border-radius: 0.5rem;
}

.contact__left dl {
  width: 50rem;
}

.contact__right dl {
  width: 50rem;
}

.contact__right dt {
  width: 40rem;
}

.inner-text {
  padding: 1rem 1rem 1rem 1rem;
  width: 32rem;
}

.contact__right .inner-text {
  padding: 1rem 1rem 1rem 1rem;
  width: 39rem;
  overflow-wrap: anywhere;
}

.type-dt {
  position: relative;
}

.type-dt::before {
  content: "";
  width: 1rem;
  height: 0.1rem;
  background-color: #333333;
  position: absolute;
  top: 2.2rem;
  right: 1.7rem;
  rotate: calc(45deg);
}

.type-dt::after {
  content: "";
  width: 1rem;
  height: 0.1rem;
  background-color: #333333;
  position: absolute;
  top: 2.2rem;
  right: 1rem;
  rotate: calc(-45deg);
}

.submit__box input[type="submit"] {
  font-family: var(--main-font);
  color: #FFFFFF;
  font-size: 1.6rem;
  line-height: 7rem;
  text-align: center;
  background-color: #0069AA;
  padding: 0rem 6.9rem;
  border-radius: 3.1rem;
  position: relative;
  width: fit-content;
  height: 7rem;
}

.submit__box p {
  position: relative;
  display: inline-block;
  width: fit-content;
  margin: 0;
}

.submit__box p::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;
  z-index: 2;
}

.submit__box .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin: 0 0 0 1rem;
}

.submit__box {
  padding-bottom: 3.5rem;
  margin: 0 auto;
  width: fit-content;
  text-align: center;
}

[id] {
  scroll-margin-top: 10rem;
}

@media screen and (max-width:698.99px) {
  .fixed-bg {
    background-size: 100% auto;
  }

  .dot__wrap-green,
  .dot__wrap-white {
    background-image: none;
    background-size: 0;
  }

  .hero-section {
    margin-top: 0rem;
    margin-bottom: 0rem;
  }

  /* .hero-section__img__pc {
    display: none;
  } */

  /* .hero-section__img__sp img {
    width: 33.5rem;
    height: 25rem;
    display: block;
    margin-inline: auto;
    border-radius: 3rem;
    overflow: hidden;
  } */
  .hero-section__img__pc img {
    width: 33.5rem;
    height: 25rem;
    display: block;
    margin-inline: auto;
    border-radius: 3rem;
    overflow: hidden;
  }


  
  .hero-section__title {
    font-size: 2rem;
    width: 23rem;
    padding-block: 0.9rem;
    margin-top: -2.5rem;
  }

  /* 代表挨拶 */
  .greeting h2 {
    font-size: 2rem;
    margin-left: 1.5rem;
  }

  .greeting__name h3 {
    padding-bottom: 3.5rem;

  }

  .greeting__container {
    flex-direction: column;
    gap: 2rem;
  }

  .greeting__box {
    width: 30.5rem;
    padding-bottom: 0rem;
    margin: 0 auto;
  }

  .greeting__wrap {
    width: 33.5rem;
  }

  .greeting__box p {
    width: 30.5rem;
    margin: 0 auto;
    font-size: 1.5rem;
  }


  /* 法人概要 */
  .facility h2 {
    font-size: 2rem;
    margin-left: 2rem;
  }

  .facility__container {
    flex-direction: column;
    gap: 1.7rem;
  }

  .facility__box {
    width: 30.5rem;
    margin: 0 auto;
    padding: 0rem;
  }

  .facility__wrap {
    width: 33.5rem;
  }

  .facility__box dt {
    width: 30.5rem;
    padding: 1rem 1rem;
  }

  .facility__box dd {
    width: 30.5rem;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  }

  .facility__box dd:first-of-type {
    border-radius: 0 0;
    padding-top: 1.5rem;
  }

  .facility__box dl {
    text-align: center;
    width: 30.5rem;
    font-size: 1.7rem;
  }

  .facility__box dt:last-of-type {
    border-radius: 0 0;
    padding-bottom: 1rem;
  }

  .facility__box dt::after {
    width: 30.5rem;
    left: 0rem;
  }

  .facility__box dt:first-of-type {
    border-radius: 1.5rem 1.5rem 0 0;
    padding-top: 1rem;

  }

  .facility__box dd:last-of-type {
    border-radius: 0 0 1.5rem 1.5rem;
    padding-bottom: 1.5rem;
  }

  .facility__container img {
    width: 30.5rem;
    height: 20.3rem;
    margin: 0 auto;
    display: block;
  }

  .facility__container figure {
    padding-bottom: 3.5rem;

  }

  /* アクセスマップ */
  .access__container {
    flex-direction: column;
    gap: 2rem;
  }

  .access__wrap {
    width: 33.5rem;
  }

  .access__box dl {
    width: 30.5rem;
    font-size: 1.6rem;

  }

  .access__box dt {
    width: 30.5rem;
    padding: 1.5rem 1.5rem 0rem;
  }

  .access__box dd {
    width: 30.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 0.5rem 0 1.5rem 1.5rem;
  }

  .access__box {
    margin-left: 0rem;
    padding-bottom: 0rem;
  }

  .access h2 {
    margin-left: 1rem;
    font-size: 2rem;
  }

  .access__box dt::after {
    width: 30.5rem;
  }

  .access__map iframe {
    width: 30.5rem;
    height: 20.3rem;
    margin: 0 auto;
    display: block;
  }

  .access__map {
    padding-bottom: 3.5rem;
  }

  /* お問い合わせ */
  .contact h2 {
    font-size: 2rem;
    margin-left: 0rem;
    padding: 3.6rem 0.8rem 1.9rem;
  }

  .contact__wrap {
    width: 33.5rem;
  }

  .contact__box {
    flex-direction: column;
    gap: 2rem;
    margin-left: 0rem;
  }

  .contact__form {
    flex-direction: column;
    gap: 0rem;
    margin-left: 1.5rem;
  }

  .contact__box p {
    font-size: 1.6rem;
    font-weight: 500;
    margin-left: 0.8rem;
  }

  .tel__box {
    margin: 0 auto;
  }

  .tel__box .tel__time {
    padding-bottom: 1rem;
  }

  .tel__area {
    gap: 1rem;
  }

  .form__item {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .inner-text {
    width: 30.5rem;
  }

  .contact__form dt {
    width: 30.5rem;
  }

  .contact__left dl {
    width: 30.5rem;
  }

  .contact__right dl {
    width: 30.5rem;
  }

  .contact__right .inner-text {
    width: 30.5rem;
  }

  .submit__box p {
    padding: 0;
  }

  .submit__box input[type="submit"] {
    height: 4rem;
    line-height: 1;
  }
}