html {
  scroll-behavior: smooth;
}

.main {
  display: flex;
  gap: 2.5rem;
  padding-top: 5rem;
  padding-bottom: 10rem;
  background-image: url(../img/bg/bg_short2x.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.nav {
  width: 27.9rem;
  height: fit-content;
  position: sticky;
  right: 7rem;
  top: 19.9rem;
  border: 0.1rem solid#000000;
  border-radius: 1rem;
  background-color: white;
  padding: 1.5rem 2rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;

}

.nav_title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: block;
}

.nav_text {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: block;
}

.nav_text_aut {
  display: block;
  font-size: 1.6rem;
  width: 20rem;
  height: 5.4rem;
  margin-bottom: 1rem;
  padding: 1.5rem 2rem;
  background-color: #F7F1DC;
  border-radius: 1rem;

}

.nav_arrow {
  width: 2rem;
  height: 2rem;
  position: relative;
  top: 0.2rem;
  margin-left: 4rem;
  display: inline-block;
}

.nav_arrow::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-color: #E8DE64;
  border: #000000 solid 0.1rem;
  border-radius: 50%;
  bottom: 0;
  right: 2.4rem;
}

.nav_arrow::after {
  content: "";
  display: inline-block;
  position: absolute;
  height: calc(1.4rem / 2 * tan(60deg));
  width: 0.8rem;
  background-color: #FFFFFF;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  bottom: 0.4rem;
  right: 2.9rem;
}

.title {
  font-size: 2.8rem;
  font-family: "Zen Maru Gothic", sans-serif;
  padding-left: 1.6rem;
  margin-left: 7rem;
  border-left: 1.1rem solid #E8DE64;
  height: 4rem;
  margin-bottom: 3rem;
  font-weight: 500;
}


/* メインビジュアル */
.mainvisual_wrap {
  margin-bottom: 8.5rem;
}

.mainvisual {
  width: 83.6rem;
  height: 47rem;
  box-shadow: 0.6rem 0.6rem #E8DE64;
  border-radius: 2rem;
  margin-left: 7rem;
}

/* メインビジュアル */
.section_wrapper {
  width: 83.6rem;
  border: 0.1rem solid #000000;
  border-radius: 1rem;
  background-color: white;
  padding: 6rem 3rem;
  margin-left: 7.5rem;
}

/* 特別養護老人ホームについて */
.about {
  margin-bottom: 10rem;
  scroll-margin-top: 10rem;
}

.about_title {
  font-size: 2.5rem;
  font-family: "Zen Maru Gothic";
  padding-left: 1.5rem;
  border-left: 1rem solid #E8DE64;
  height: 4rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.about_int_title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about_int_title::before {
  content: '----';
  letter-spacing: -0.5rem;
  font-size: 3rem;
  color: #E8DE64;
  margin-right: 1rem;
  display: inline-block;
  position: relative;
  top: 0.3rem;

}

.about_int_video {
  width: 71.6rem;
  height: 47.7rem;
  margin-left: 3rem;
  margin-bottom: 7rem;
  display: block;
}

.about_hose_title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about_hose_title::before {
  content: '----';
  letter-spacing: -0.5rem;
  font-size: 3rem;
  color: #E8DE64;
  margin-right: 1rem;
  display: inline-block;
  position: relative;
  top: 0.3rem;
}

.about_hose_text {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  margin-left: 4rem;
}

.about_hose_video {
  width: 55rem;
  height: 30.9rem;
  margin: 0 auto;
  display: block;
}

/* 特別養護老人ホームについて */

/* お知らせ */
.arcive {
  scroll-margin-top: 10rem;
}

.arcive_title {
  font-size: 2.5rem;
  font-family: "Zen Maru Gothic";
  padding-left: 1.5rem;
  border-left: 1rem solid #E8DE64;
  height: 4rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.about_news {
  font-size: 2.5rem;
  font-weight: 500;
  font-family: "Zen Maru Gothic", sans-serif;
  position: relative;
  margin-left: 4.6rem;
  margin-bottom: 1.7rem;
}

.about_news::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 4rem;
  background-color: #A2D245;
  position: absolute;
  top: 0rem;
  left: -1.6rem;
}

.news_block {
  gap: 2rem;
  margin-left: 2rem;
  margin-right: 3rem;
}

.news_thumbnail {
  width: 23.5rem;
  height: 14rem;
  display: block;
  border: #E8DE64 solid 0.1rem;
  border-radius: 0.5rem;
}

.news_date {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  line-height: calc(30 / 15);
  letter-spacing: calc(0.75em / 15);
}

.news_title {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Zen Maru Gothic", sans-serif;
  line-height: calc(30 / 15);
  letter-spacing: calc(0.75em / 15);
}

.news_buttonbox {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Zen Maru Gothic", sans-serif;
  line-height: calc(30 / 15);
  letter-spacing: calc(0.75em / 15);
}

.morebutton_news {
  display: block;
  width: 13rem;
  height: 3.1rem;
  text-align: center;
  line-height: 3.1rem;
  background-color: #E8DE64;
  border-radius: 1.6rem;
  margin: 3rem auto 10rem;
}

.flex {
  display: flex;
}


/* お知らせ */
/* インスタグラム */
.inst {
  margin-bottom: 10rem;
  scroll-margin-top: 10rem;
}

.inst_title {
  font-size: 2.5rem;
  font-family: "Zen Maru Gothic";
  padding-left: 1.5rem;
  border-left: 1rem solid #E8DE64;
  height: 4rem;
  margin-bottom: 3rem;
  font-weight: 500;
}
.inst_qr{
  display:flex;
}
.inst_qr img{
  width:12.9rem;
  height:auto;
}
.inst_qr_text{
  font-size:1.5rem;
  margin-top:1rem;
  font-family:"Noto Sans JP";
}
/* インスタグラム */
/* 運営方針 */
.management {
  margin-bottom: 10rem;
  scroll-margin-top: 10rem;
  line-height: calc(30 / 15);
}

.management_title {
  font-size: 2.5rem;
  font-family: "Zen Maru Gothic";
  padding-left: 1.5rem;
  border-left: 1rem solid #E8DE64;
  height: 4rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.management_text {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 運営方針 */
/* 施設概要 */
.facility {
  margin-bottom: 10rem;
  scroll-margin-top: 10rem;
}

.facility:last-child {
  border-bottom: none;
}

.facility_title {
  font-size: 2.5rem;
  font-family: "Zen Maru Gothic";
  padding-left: 1.5rem;
  border-left: 1rem solid #E8DE64;
  height: 4rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.facility_list {
  display: flex;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-bottom: 0.1rem solid #070707;
  width: 74.6rem;
  margin: 0 auto;
}

.facility_list_title {
  font-size: 1.6rem;
  width: 12.5rem;
  font-weight: normal;
}

.facility_list_text {
  font-size: 1.6rem;
}

/* 施設概要 */
/* 事業内容 */
.service {
  margin-bottom: 10rem;
  scroll-margin-top: 10rem;
}

.service_title {
  font-size: 2.5rem;
  font-family: "Zen Maru Gothic";
  padding-left: 1.5rem;
  border-left: 1rem solid #E8DE64;
  height: 4rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.service_sub_title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.service_sub_title::before {
  content: '----';
  letter-spacing: -0.5rem;
  font-size: 3rem;
  color: #E8DE64;
  margin-right: 1rem;
  display: inline-block;
  position: relative;
  top: 0.3rem;
}

.service_box {
  width: 69.5rem;
  padding: 3rem 2.3rem 3rem 3rem;
  background-color: #FFFBEF;
  border: 0.1rem solid #000000;
  border-radius: 1.9rem;
  margin: 0 auto 7rem;
}

.service_box_title {
  width: fit-content;
  font-size: 1.8rem;
  background-color: #E8DE64;
  border-radius: 1.9rem;
  font-weight: 500;
  padding: 0.5rem 3rem;
  margin-bottom: 2rem;
}

.service_flex {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.service_box_text {
  font-size: 1.5rem;
  line-height: calc(30 / 15);
}

.service_img {
  width: 28rem;
  height: 18.5rem;
  filter: brightness(1.2);
}

/* 事業内容 */
/* 入所案内 */
.infomation {
  scroll-margin-top: 10rem;
}

.infomation_title {
  font-size: 2.5rem;
  font-family: "Zen Maru Gothic";
  padding-left: 1.5rem;
  border-left: 1rem solid #E8DE64;
  height: 4rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.infomation_sub_title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.infomation_sub_title::before {
  content: '----';
  letter-spacing: -0.5rem;
  font-size: 3rem;
  color: #E8DE64;
  margin-right: 1rem;
  display: inline-block;
  position: relative;
  top: 0.3rem;
}

.infomation_text {
  font-size: 1.5rem;
  margin-bottom: 5rem;
  margin-left: 4rem;
  line-height: calc(30 / 15);
}

.infomation_text_accent {
  font-weight: 500;
  font-size: 1.7rem;
  display: block;
}

.infomation_step {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  margin-left: 4rem;
}

.step_arrow {
  width: 2rem;
  height: 2rem;
  position: relative;
  margin-bottom: 0.5rem;
  margin-left: 11rem;

}

.step_arrow::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-color: #E8DE64;
  border: #000000 solid 0.1rem;
  border-radius: 50%;
  bottom: 0;
  right: 2.4rem;
}

.step_arrow::after {
  content: "";
  display: inline-block;
  position: absolute;
  height: calc(1rem / 2 * tan(60deg));
  width: 1rem;
  background-color: #FFFFFF;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  bottom: 0.5rem;
  right: 2.9rem;
}

/* 入所案内 */
.title_sp {
  display: none;
}

.sp_only {
  display: none;
}

.footer {
  background-color: #F9C1DD;
}

.footer img {
  display: block;
}

.footer div {
  display: none;
}

@media screen and (max-width:699.98px) {
  .main {
    padding-top: 2rem;
    display: block;
    background-image: url(../img/bg/bg-long_sp2x.png);
  }

  .sp_only {
    display: block;
  }

  .title {
    display: none;
  }

  .title_sp {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", sans-serif;
    margin-bottom: 3rem;
    position: relative;
    margin-left: 0rem;
    color: black;
    background-color: #E8DE64;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding: 1rem 2rem;
    margin: 3rem auto 3rem;
    border-radius: 1rem;
  }

  .mainvisual {
    display: block;
    width: 35.5rem;
    height: 18rem;
    box-shadow: 0.3rem 0.3rem 0rem #E8DE64;
    border-radius: 1rem;
    margin: 0rem auto 0rem;
  }

  .mainvisual_wrap {
    margin-bottom: 3rem;
  }

  .nav {
    display: none;
  }

  .nav_wrap {
    padding: 1rem 2rem;
    font-family: "Zen Maru Gothic";
    width: 33.5rem;
    border-radius: 1rem;
    border: 0.1rem solid #000000;
    margin: 0 auto 1rem;
    background-color: white;
  }

  .nav_wrap nav {
    display: none;
    font-weight: 500;
  }

  .nav_open {
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    transition: 0.7s;
  }

  .nav_open.active {
    margin-bottom: 2rem;
  }

  .circle {
    position: relative;

  }

  .circle::before {
    content: "";
    width: 2.2rem;
    height: 2.2rem;
    background-color: #E8DE64;
    border-radius: 50%;
    position: absolute;
    top: 0.1rem;
    right: -8.5rem;
  }

  .nav_open::before {
    content: "";
    position: absolute;
    background-color: #000;
    width: 1.4rem;
    height: 0.2rem;
    top: 1.1rem;
    right: 0.4rem;
    z-index: 9;
  }

  .nav_open::after {
    content: "";
    position: absolute;
    background-color: #000;
    width: 0.2rem;
    height: 1.4rem;
    top: 0.5rem;
    right: 1rem;
    transition: transform 0.7s;
    transform-origin: center;
  }



  .nav_open.active::after {
    transform: rotate(90deg);
  }

  .section_wrapper {
    margin: 0 auto;
    width: 33.5rem;
    padding: 3rem 1rem 6rem;
  }

  .about {
    margin-bottom: 7rem;
  }

  .about_title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    height: 3.1rem;
    padding-left: 0.7rem;
    border-left: 0.7rem solid #E8DE64;
  }

  .about_int_title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .about_int_title::before {
    font-size: 2.5rem;
  }

  .about_int_video {
    width: 28.9rem;
    height: auto;
    margin: 0 auto;
    margin-bottom: 5rem;

  }

  .about_hose_title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .about_hose_title::before {
    font-size: 2.5rem;
  }

  .about_hose_text {
    font-size: 1.4rem;
    line-height: calc(30 / 15);
  }

  .about_hose_video {
    width: 28.9rem;
    height: auto;
  }

  .arcive_title {
    font-size: 2rem;
    margin-bottom: 5.5rem;
    height: 3.1rem;
    padding-left: 0.7rem;
    border-left: 0.7rem solid #E8DE64;
  }

  .news_block {
    flex-flow: column;
    align-items: center;
  }

  .morebutton_news {
    margin-bottom: 7rem;
  }

  .inst_title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    height: 3.1rem;
    padding-left: 0.7rem;
    border-left: 0.7rem solid #E8DE64;
  }

  .inst {
    margin-bottom: 7rem;
  }
  .inst_qr{
    flex-direction: column;
  }
  .management_title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    height: 3.1rem;
    padding-left: 0.7rem;
    border-left: 0.7rem solid #E8DE64;
  }

  .management_text {
    font-size: 1.4rem;
    width: auto;
    line-height: calc(30 / 15);
  }

  .management_margin {
    display: inline-block;
    margin-left: 4.2rem;
  }

  .management {
    margin-bottom: 7rem;
  }

  .facility_title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    height: 3.1rem;
    padding-left: 0.7rem;
    border-left: 0.7rem solid #E8DE64;
  }

  .facility_list {
    flex-flow: column;
    width: 100%;
  }

  .facility {
    margin-bottom: 7rem;
  }

  .service_title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    height: 3.1rem;
    padding-left: 0.7rem;
    border-left: 0.7rem solid #E8DE64;
  }

  .service_sub_title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .service_sub_title::before {
    font-size: 2.5rem;
  }

  .service_box {
    width: 100%;
    padding: 3rem 1rem 3rem 1rem;
    margin-bottom: 5rem;
  }

  .service_box_title {
    padding: 0.5rem 2rem;
  }

  .service_flex {
    flex-flow: column-reverse;
  }

  .service_img {
    margin: 0 auto;
  }

  .service_box_text {
    font-size: 1.4rem;
  }

  .service {
    margin-bottom: 7rem;
  }

  .infomation_title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    height: 3.1rem;
    padding-left: 0.7rem;
    border-left: 0.7rem solid #E8DE64;
  }

  .infomation_sub_title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .infomation_sub_title::before {
    font-size: 2.5rem;
  }

  .infomation_text {
    font-size: 1.4rem;
  }

  .infomation_text_accent {
    font-size: 1.5rem;
  }

  .infomation_step {
    font-size: 1.5rem;
  }
}