/* 製造者：平野 */
@charset "utf-8";

/* 背景追従 */
.bg_wrap {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.bg_filter {
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: #FFF5DA;
  opacity: 38%;
}
.bg_shape {
  width: 100%;
  height: auto;
  top: 3.7rem;
  left: -.8rem;
  position: fixed;
  z-index: -1;
}
.bg_shape_sp {
  display: none;
}
/* 背景追従ここまで */
/* 下層FV */
.fv_bg_cor {
  width: 100%;
  height: 51.7rem;
  background-color: #FFF5DA;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.hero_visual {
  width: 114rem;
  height: 40rem;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.hero_visual img {
  border-radius: 4rem;
}


.home_main {
  background-color: #FFF5DA;
  /* font-family: var(--Zen-Maru-Gothic); */
  letter-spacing: 0;
  color: #000000;
  /* padding-bottom: 6.8rem; */
  padding-bottom: 4.9rem;
}

.home_color_green {
  background-color: #00A57C;
}

.home_color_orange {
  background-color: #F27B2D;
}

.home_color_pink {
  background-color: #FDB9C9;
}

.home_color_yellow {
  background-color: #FFE17A;
}

.home_color_black {
  background-color: #000000;
}

/* ボタンっぽいデザイン */
.home_button {
  display: grid;
  width: 16.5rem;
  height: 4.0rem;
  place-content: center;
  border-radius: 100vh;
  color: #FFFFFF;
  text-align: center;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: calc(17 / 15);
}

.home_color_yellow{
  color: #000000;
}
/* メインビジュアル */
.home_main_visual {
  width: 114.0rem;
  height: 40.0rem;
  margin-inline: auto;
  margin-bottom: 3.0rem;
}

.home_main_visual_img {
  border-radius: 4.0rem;
  aspect-ratio: 1140 / 400;
}

/* 各ホーム紹介掲載部分 */
.home_article_wrapper {
  /* 1280px超えた時の画面崩れ防止 */
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.home_article {
  background-color: #FFFFFF;
  width: 90.3rem;
  border-radius: 4.0rem;
  padding-inline: 9.0rem;
  padding-top: 8.5rem;
  padding-bottom: 8.0rem;
  margin-left: 16.7rem;
  margin-top: 3rem;
}

/* 各タイトル部分 */
.home_sec_sub_title_green {
  position: relative;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: calc(21 / 15);
  padding-left: 2.0rem;
  margin-bottom: 0.4rem;

  &::before {
    position: absolute;
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #00A57C;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

.home_sec_sub_title_orange {
  position: relative;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: calc(21 / 15);
  padding-left: 2.0rem;
  margin-bottom: 0.4rem;

  &::before {
    position: absolute;
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #F27B2D;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

.home_sec_sub_title_pink {
  position: relative;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: calc(21 / 15);
  padding-left: 2.0rem;
  margin-bottom: 0.4rem;

  &::before {
    position: absolute;
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #FDB9C9;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

.home_sec_sub_title_yellow {
  position: relative;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: calc(21 / 15);
  padding-left: 2.0rem;
  margin-bottom: 0.4rem;

  &::before {
    position: absolute;
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #FFE17A;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

.home_sec_sub_title_gr {
  position: relative;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: calc(21 / 15);
  padding-left: 2.0rem;
  margin-bottom: 0.4rem;

  &::before {
    position: absolute;
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #00A57C;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

.home_sec_title {
  font-weight: 500;
  font-size: 3.3rem;
  line-height: calc(48 / 33);
  margin-bottom: 2rem;
}
.one_day_title {
  margin-bottom: 2.5rem;
}

.title_mb_40,
.vacancy_mb_40 {
  margin-bottom: 4rem;
}

/* リンク表示部分 */
.home_choice_sec {
  padding-bottom: 3.0rem;
  border-bottom: 0.1rem solid #000000;
  margin-bottom: 3.0rem;
}

.home_link_list {
  display: grid;
  grid-template-columns: repeat(4, 16.5rem);
  column-gap: 2.0rem;
  row-gap: 1.5rem;
}

/* 各グループホーム施設紹介 */
.home_info_sec {
  padding-bottom: 6.0rem;
  margin-bottom: 3.0rem;
  border-bottom: 0.1rem solid #000000;

  &:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }
}

/* 各グループホームのスライダー処理 */
.home_swiper {
  width: 72.3rem;
  height: max-content;
}
.home_info_container {
  margin-bottom: 2rem;
  /* position: relative; */
  width: 72.3rem;
  border-radius: 1rem;
  /* display: flex; */
  /* flex-wrap: wrap; */
  /* row-gap: 2.0rem; */
  /* margin-bottom: 3.035rem; */
  /* justify-content: center; */
}

/* スライダー写真枠の色 */
.swiper-slide-thumb-active img {
  border: 0.3rem solid #01A47D;
  border-radius: 1rem;
}
.swiper-slide-thumb-active .border_or {
  border: 0.3rem solid #F27B2D;
}
.swiper-slide-thumb-active .border_pink {
  border: 0.3rem solid #FDB9C9;
}
.swiper-slide-thumb-active .border_yell {
  border: 0.3rem solid #FFE17A;
}

.home_info_main_slider {
  /* position:relative; */
  /* width: 72.3rem; */
  /* height: 50.5rem; */
  /* overflow: hidden; */

  .home_info_main_slide {
    width: 72.3rem;
    height: 50.5rem;
    aspect-ratio: 723 / 505;
    border-radius: 1.0rem;
  }
}

.home_info_thumbnail_carousel {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  /* height: stretch; */
}

.home_info_thumbnail_slider {
  position: relative;
  height: 16.065rem;
}
  /* height: stretch; */
  /* display: flex;
  column-gap: 1.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-behavior: smooth;
  scroll-marker-group: none;
  scrollbar-width: none;
  scroll-target-group: auto; */

  /* overflow: hidden; */
  /* ボタン設定 */

  /* &::scroll-button(right) { */
    /* top: 45%; */
    /* right: 20px; */
    /* content: "→";
    top: 50%;
    right: -2.5rem;
    transform: translateY(-50%);
    font-weight: 500;
    font-size: 1.8rem;
    text-align: center;
    line-height: calc(50 / 18);
    color: #FFFFFF;
    border: none; */
  /* } */

  /* &::scroll-button(left) { */
    /* position: absolute;
    width: 5.0rem;
    height: 5.0rem;
    border-radius: 50%;
    background-color: #00A57C; */
    /* top: 45%; */
    /* right: 20px; */
    /* content: "←";
    top: 50%;
    left: -2.5rem;
    transform: translateY(-50%);
    font-weight: 500;
    font-size: 1.8rem;
    text-align: center;
    line-height: calc(50 / 18);
    color: #FFFFFF;
    border: none; */
  /* } */
  /* &::scroll-button(*) {
    opacity: 1;
    transition: .3s;
  } */
  /* スクロール終わりボタン非表示 */
  /* &::scroll-button(*):disabled {
    opacity: 0;
    cursor: none;
    transition: .3s;
  }

  :target-current {
    .home_info_thumbnail_slide {
      border: 0.3rem solid #01A47D;
      box-sizing: border-box;
    } */
  /* } */

  /* スライドボタン */
  .swiper_btn_wrap {
    width: 100%;
    position: relative;
    z-index: 3;
  }
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-button-next2,
  .swiper-button-prev2,
  .swiper-button-next3,
  .swiper-button-prev3,
  .swiper-button-next4,
  .swiper-button-prev4 {
    width: 5.0rem;
    height: 5.0rem;
    border-radius: 50%;
    background-color: #00A57C;
    position: absolute;
    top: -10.4rem;
    right: -2.3rem;
  }
  .swiper-button-next2,
  .swiper-button-prev2,
  .swiper-button-next3,
  .swiper-button-prev3,
  .swiper-button-next4,
  .swiper-button-prev4 {
    top: -12.5rem;
  }

  .swiper-button-prev,
  .swiper-button-prev2,
  .swiper-button-prev3,
  .swiper-button-prev4 {
    left: -2.5rem;
  }
  .swiper-button-prev::after,
  .swiper-button-next::after,
  .swiper-button-prev2::after,
  .swiper-button-next2::after,
  .swiper-button-prev3::after,
  .swiper-button-next3::after,
  .swiper-button-prev4::after,
  .swiper-button-next4::after {
    bottom: 0;
    content: "";
    height: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 0;
  }
  .swiper-button-next::after,
  .swiper-button-next2::after,
  .swiper-button-next3::after,
  .swiper-button-next4::after {
    content: "→";
    position: absolute;
    top: -5rem;
    right: 3.3rem;
    transform: translateY(-50%);
    font-weight: 500;
    font-size: 1.8rem;
    text-align: center;
    line-height: calc(50 / 18);
    color: #FFFFFF;
    border: none;
  }
  .swiper-button-prev::after,
  .swiper-button-prev2::after,
  .swiper-button-prev3::after,
  .swiper-button-prev4::after {
    content: "←";
    position: absolute;
    top: -5rem;
    left: 1.5rem;
    transform: translateY(-50%);
    font-weight: 500;
    font-size: 1.8rem;
    text-align: center;
    line-height: calc(50 / 18);
    color: #FFFFFF;
    border: none;
  }
  /* スライドボタン色設定 */
  .swiper-button-next2,
  .swiper-button-prev2 {
    background-color: #F27B2D;
  }
  .swiper-button-next3,
  .swiper-button-prev3 {
    background-color: #FDB9C9;
  }
  .swiper-button-next4,
  .swiper-button-prev4 {
    background-color: #FFE17A;
  }


  .swiper-button-disabled {
    display: none;
  }
  .home_info_thumbnail_slide {
    /* width: 23.0rem; */
    height: 16.1rem;
    aspect-ratio: 230 / 161;
    border-radius: 1.0rem;
  }


.home_info_text {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(25 / 16);
  margin-bottom: 4.5rem;
}

.home_name {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: calc(26 / 18);
}

.home_address {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: calc(26 / 18);
  margin-bottom: 1.0rem;
}

.home_map {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  color: #00A57C;
}

/* 1日の流れ */
.home_sec_title2 {
  font-weight: 500;
  font-size: 2.5rem;
  line-height: calc(36 / 25);
  margin-bottom: 1.0rem;
}

.home_time_sec {
  display: flex;
  column-gap: 2.0rem;
}

.home_schedule_time {
  width: 9.0rem;
  height: 3.0rem;
  border-radius: 100vh;
  background-color: #000000;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(30 / 16);
  text-align: center;
}

.home_schedule_label {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: calc(26 / 18);
}

.home_schedule_content {
  margin-left: calc(4.5rem - (0.5rem / 2));
  /* border-left: 0.5rem dotted #000000; */
  padding-left: 6.5rem;
  padding-top: 2.0rem;
  padding-bottom: 4.0rem;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  background-image: radial-gradient(circle, #000000 0.25rem, transparent 0.25rem);
  background-position: left top 0.4rem;
  background-repeat: repeat-y;
  background-size: 0.5rem 1.3rem;
}

.home_schedule_content_text {
  margin-bottom: 4.0rem;
}

.home_schedule_img {
  margin-top: 2.0rem;
  width: 24.0rem;
  height: 16.8rem;
  border-radius: 1.0rem;
  aspect-ratio: 240 / 168;
}

.home_other_img {
  width: 16.8rem;
  height: 24.0rem;
  aspect-ratio: 168 / 240;
}

/* 利用料金 */
.over_scroll_wrap {
  margin-bottom: 3.5rem;
}
.over_scroll_wrap:nth-last-child(1) {
  margin-bottom: 0;
}

.home_fee_table {
  width: 66.5rem;
  margin-inline: auto;
  margin-top: 3.0rem;
  margin-bottom: 3.5rem;
  border-collapse: collapse;

  thead {
    background-color: #EBEBEB;

    td {
      padding-block: 0.5rem;
      padding-inline: 1.5rem;
      font-weight: 500;
      font-size: 1.8rem;
      line-height: calc(26 / 18);
      border: 0.1rem solid #707070;

      &.home_fee_item {
        width: 15.6rem;
      }

      &.home_fee_content {
        /* width: 36.6rem; */
        width: 36.7rem;
      }
    }
  }

  tbody {
    td {
      padding-block: 0.5rem;
      padding-inline: 1.5rem;
      font-weight: 500;
      font-size: 1.6rem;
      line-height: calc(24 / 18);
      border: 0.1rem solid #707070;
      vertical-align: top;

      &.home_fee_amount {
        text-align: right;
        padding-right: 3.7rem;
      }
    }
  }

  &:last-of-type {
    margin-bottom: 0;
  }
}
.home_fee_price {
  text-align: center;
}

/* 空室状況 */
.home_vacancy_list {
  display: grid;
  grid-template-columns: repeat(4, 16.5rem);
  column-gap: 2.0rem;
}

.home_vacancy_content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.3rem;
  padding-bottom: 0.3rem;
  padding-inline: 0.8rem;
  border-bottom: 0.1rem solid #000000;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
}

.home_vacancy_num {
  font-weight: 500;
  font-size: 2.0rem;
  line-height: calc(24 / 20);
  color: #FF0000;
}

/* 入居までの流れ */
.home_process_num_sec {
  display: flex;
  column-gap: 4.0rem;
}

.home_process_list {
  margin-left: 3.0rem;
}

.home_process_num {
  width: 3.0rem;
  height: 3.0rem;
  border-radius: 50%;
  background-color: #000000;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(30 / 16);
  text-align: center;
}

.home_process_label {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: calc(26 / 18);
}

.home_process_content {
  margin-left: calc(1.5rem - (0.5rem / 2));
  /* border-left: 0.5rem dotted #000000; */
  padding-left: 5.5rem;
  padding-top: 2.0rem;
  padding-bottom: 4rem;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  background-image: radial-gradient(circle, #000000 0.25rem, transparent 0.25rem);
  background-position: left top 0.4rem;
  background-repeat: repeat-y;
  background-size: 0.5rem 1.3rem;
}

.home_process_content_text {
  margin-bottom: 1.0rem;
}

@media screen and (max-width: 699.98px) {
  /* 下層FV */
  .fv_bg_cor {
    width: 100%;
    height: 51.1rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }
  .hero_visual {
    width: 100%;
    height: 40rem;
    margin: 0;
    margin-bottom: 4rem;
    padding: 0 2.5rem;
  }

  /* 背景追従 */
  .bg_wrap {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
  }
  .bg_shape_sp {
    width: 100%;
    height: auto;
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
  }
   .bg_shape {
    display: none;
  }
  .hero_visual img {
    border-radius: 3rem;
  }


  .home_main {
    padding-bottom: 3rem;
    /* padding-top: 9.1rem; */
  }
  .home_link_list {
    display: grid;
    grid-template-columns: repeat(2, 14rem);
    gap: 1rem .5rem;
  }
  .home_button {
    display: grid;
    width: 14rem;
    height: 4.0rem;
  }

  .home_choice_sec {
    padding-bottom: 2rem;
    margin-bottom: 2.0rem;
  }

  /* 各ホーム紹介掲載部分 */
  .home_article_wrapper {
    padding: 0 2.5rem;
  }

  .home_article {
    background-color: #FFFFFF;
    width: 100%;
    border-radius: 3rem;
    padding: 2.5rem 2rem 4rem;
    margin-left: 0;
    margin-bottom: 0;
  }

  .home_sec_sub_title_green,
  .home_sec_sub_title_orange,
  .home_sec_sub_title_pink,
  .home_sec_sub_title_orange {
    margin-bottom: 0;
  }

  .home_sec_sub_title_gr {
    margin-bottom: 0;
  }

  .home_sec_title {
    font-size: 2.5rem;
    line-height: calc(36 / 25);
    margin-bottom: 1rem;
  }
  .sp_mb_20 {
    margin-bottom: 2rem;
  }

  /* 各グループホーム施設紹介 */
  .home_info_sec {
    padding-bottom: 3.0rem;
    margin-bottom: 2.0rem;
    /* padding-top: 7.0rem; */

    &:last-of-type {
      padding-bottom: 0;
      margin-bottom: 0;
      border-bottom: none;
    }
  }

  .home_info_text {
    margin-bottom: 2.5rem;
  }

  .home_address {
    margin-bottom: 0;
  }

  .home_info_thumbnail_slide {
    height: 20rem;
    aspect-ratio: 285 / 200;
    border-radius: 1.0rem;
  }

  /* 各グループホームのスライダー処理 */
  .home_swiper {
    width: 100%;
    height: max-content;
    margin-bottom: 1rem;
  }
  .home_info_container {
    margin-bottom: 0;
  }

  .home_info_main_slider {
    display: none;
  }
  .swiper-slide-thumb-active img,
  .swiper-slide-thumb-active .border_or,
  .swiper-slide-thumb-active .border_pink,
  .swiper-slide-thumb-active .border_yell {
    border: none;
  }
  .home_info_thumbnail_carousel {
    margin-bottom: 1rem;
    border-radius: 1rem;
  }

  .home_info_thumbnail_slider {
    height: 20rem;
  }
  /* ボタン */
  .swiper-button-next,
  .swiper-button-prev {
    top: -6rem;
  }
  .swiper-button-next2,
  .swiper-button-prev2,
  .swiper-button-next3,
  .swiper-button-prev3,
  .swiper-button-next4,
  .swiper-button-prev4 {
    top: -8rem;
  }

  
  /* 1日の流れ */
  .one_day_title {
    margin-bottom: 1.5rem;
  }

  .home_schedule_content {
    padding: .7rem 0 4.5rem 5.2rem;
  }

  .home_sec_title2 {
    font-size: 2rem;
    line-height: calc(29 / 20);
  }
  .home_time_sec {
    gap: 1rem;
  }

  .home_schedule_img {
    margin-top: 1rem;
    width: 18.5rem;
    height: 12.6rem;
  }

  .home_other_img {
    margin-top: 1rem;
    width: 12.6rem;
    height: 18.5rem;
  }

  .sched_pb_35 {
    padding-bottom: 3.5rem;
  }

  .home_schedule_content_text {
    margin-bottom: 3rem;
  }

  /* 利用料金セクション */
  .over_scroll_wrap {
    width: 115%;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 4rem;
    margin-bottom: 4rem;
    background-color: #fff;
    padding-right: 2.5rem;
    background-color: transparent;
  }

  .title_mb_40,
  .vacancy_mb_40 {
    margin-bottom: 2rem;
  }

  .home_fee_table {
    margin-top: 2rem;
    background-color: #fff;
  }

  .home_text_cont {
    padding-block: 0.5rem;
    padding-inline: 1.5rem;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: calc(26 / 18);
    border: 0.1rem solid #707070;
  }

  .home_fee_item,
  .home_fee_content,
  .home_fee_price {
    padding-block: 0.5rem;
    padding-inline: 1.5rem;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: calc(26 / 18);
    border: 0.1rem solid #707070;
    background-color: #EBEBEB;
  }
  .home_fee_item {
    width: 15.6rem;
  }
  .home_fee_content {
    /* width: 36.6rem; */
    width: 36.7rem;
  }

  .home_fee_amount {
    text-align: right;
    padding-right: 3.7rem;
  }

  /* VACANCY セクション */
  .home_vacancy_list {
    display: grid;
    grid-template-columns: repeat(2, 14rem);
    gap: 2.5rem .5rem;
  }

  /* 入居までの流れ */
  .home_process_list {
    margin-left: 0;
  }

  .home_process_num_sec {
    column-gap: 2.0rem;
  }

  .process_sp_mb {
    margin-bottom: 2rem;
  }

  .home_process_content {
    padding: 2rem 0 4.3rem 3rem;
  }

}
