@charset "utf-8";

#main {
  padding-top: 0;
}

.section__inner {
  padding: 10rem 0;
  max-width: 1200px;
  width: 90%;
}
@media (max-width: 1080px) {
  .section__inner {
    padding: 5rem 0;
    
  }
}


#main-visual__top.mv {
  width: 100%;
  height: 100%;
  position: relative;
  margin-top: 0;
  overflow: visible;
  height: 100vh;
}
@media (min-width: 1081px) {
  #main-visual__top.mv {
    min-height: 700px;
  }
}
@media (max-width: 1080px) {
  #main-visual__top.mv {
    height: calc(100svh - 80px);
  }
}
@media (max-width: 480px) {
  #main-visual__top.mv {
    height: calc(100svh - 40px);
  }
}

#main-visual__top.mv::before {
  content: '';
  width: 100%;
  height: 65%;
  left: 0; bottom: 0;
  position: absolute;
  z-index: 2;
  background: linear-gradient(
    180deg, 
    transparent 0 40%,
  #CD5F53 100%
  );
}

#main-visual__top::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  aspect-ratio: 113 / 10;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../img/top/arch_pink.webp);
  z-index: 2;

  @media screen and (max-width: 768px) {
    aspect-ratio: 200 / 23;
    background-image: url(../img/top/arch_pink_sp.webp);
  }
}

#main-visual__top.mv .swiper {
  width: 100%;
}

#main-visual__top.mv .swiper-slide {
  height: 100vh;
}
@media (min-width: 1081px) {
  #main-visual__top.mv .swiper-slide {
    min-height: 700px;
  }
}
@media (max-width: 1080px) {
  #main-visual__top.mv .swiper-slide {
    height: calc(100svh - 80px);
  }
}
@media (max-width: 480px) {
  #main-visual__top.mv .swiper-slide {
    height: calc(100svh - 40px);
  }
}

#main-visual__top.mv .swiper-img {
  width: 100%;
  object-fit: cover;
}

#main-visual__top.mv .swiper-slide img {
  height: 100%;
  width: 100%;
}

#main-visual__top.mv .swiper-horizontal>.swiper-pagination-bullets,
#main-visual__top.mv .swiper-pagination-bullets.swiper-pagination-horizontal,
#main-visual__top.mv .swiper-pagination-custom,
#main-visual__top.mv .swiper-pagination-fraction {
  bottom: 2rem;
}
@media screen and (max-width: 768px) {
  #main-visual__top.mv .swiper-horizontal>.swiper-pagination-bullets,
  #main-visual__top.mv .swiper-pagination-bullets.swiper-pagination-horizontal,
  #main-visual__top.mv .swiper-pagination-custom,
  #main-visual__top.mv .swiper-pagination-fraction {
    bottom: 1.5rem;
  }
}

#main-visual__top.mv .swiper-pagination-bullet {
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  background-color: #7f8080;
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap,5px);
  opacity: 1;
}
@media screen and (max-width: 768px) {
  #main-visual__top.mv .swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;
  }
}
#main-visual__top.mv .swiper-pagination-bullet-active {
  background-color: #FFF;
}


#main-visual__top .mv__catch {
  position: absolute;
  z-index: 4;
  bottom: 10rem;
  left: 0; right: 0;
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #main-visual__top .mv__catch {
    bottom: 4rem;
    left: 0; right: 0;
  }
}

#main-visual__top .mv__catch_text {
  font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
  font-size: clamp(2rem,2vw,3.4rem);
  font-weight: 500;
  color: #FFF;
  line-height: 1.4;
  text-shadow: 
    0px 0px 5px #ffffff,
    0px 0px 20px #B20000,
    0px 0px 40px #B20000,
    0px 0px 60px #FF9696,
    0px 0px 80px #FF9696;
  letter-spacing: 0.1em;
}

#main-visual__top .mv__catch_text.--center {
  font-size: 10rem;
  font-size: clamp(5rem,6vw,10rem);
}

#main-visual__top .mv__catch_text.--bottom {
  margin-top: 1rem;
  font-size: 2.6rem;
  font-size: clamp(1.6rem,1.3vw,2.6rem);
}


@media (max-width: 767px) {
  #main-visual__top,
  #main-visual__top .slick-slider .slick-slide {
    height: calc(100vh - 80px);
  }
}




/* TOP NEWS SECTION */
.top__news {
  background-color: #fdf1f0;
}

.top__news .section__inner {
  padding-bottom: 15rem;
  @media (max-width: 768px) {
    padding-bottom: 10rem;
  }
}

.top__news .top_news__list__wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width:769px) and (max-width: 1024px) {
  .top__news .top_news__list__wrap {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .top__news .top_news__list__wrap {
    flex-direction: column;
  }
}

.top__news .top_news__list--title {
  width: 22%;
}

@media (max-width: 768px) {
  .top__news .top_news__list--title {
    width: 100%;
  }
}

.top__news .top_news__list--title .section__title {
  text-align: left;
}


.top__news .top_news__list_area {
  width: 100%;
}
@media (min-width: 1025px) {
  .top__news .top_news__list_area {
    max-width: 90rem;
  }
}

.top__news .top_news__list {
  width: 100%;
}


.top__news .top_news__item {
  padding: 1.5rem 2rem 1.5rem 0;
  border-bottom: solid 1px #b3b3b3;
  display: flex;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .top__news .top_news__item {
    padding: 2rem 1rem 2rem 0;
    flex-wrap: wrap;
  }
}

.top__news .top_news__item:last-child {
  margin-bottom: 0;
}

.top__news .top_news__item--date {
  max-width: 10rem;
  font-size: 1.4rem;
  font-weight: 400;
  margin-right: 1rem;
}

@media (max-width: 767px) {
  .top__news .top_news__item--date {
    font-size: 1.25rem;
    margin-right: 0.2rem;
  }
}

.top__news .top_news__item--category {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFF;
  background-color: #29abe2;
  border-radius: 2rem;
  padding: 0.2em 0.5em;
  margin-left: 1em;
  text-align: center;
  line-height: 1.2;
}
.top__news .top_news__item--category a {
  color: #FFF;
}
@media (min-width: 769px) {
  .top__news .top_news__item--category {
    flex: 1;
    min-width: 12rem;
  }
}
@media (max-width: 768px) {
  .top__news .top_news__item--category {
    font-size: 1.25rem;
  }
}

.top__news .top_news__item--category[data-cat="recruit"] {
  background-color: #fbb03b;
}
.top__news .top_news__item--category[data-cat="kouhoushi"] {
  background-color: #c69c6d;
}
.top__news .top_news__item--category[data-cat="covid-19"] {
  background-color: #ed1c24;
}
.top__news .top_news__item--category[data-cat="cat-wakamatsu_hospital"],
.top__news .top_news__item--category[data-cat="cat-family_clinic"] {
  background-color: #39b54a;
}
.top__news .top_news__item--category[data-cat="cat-wakamatsu_en"] {
  background-color: #0071bc;
}
.top__news .top_news__item--category[data-cat="cat-wakamatsu_en_day"] {
  background-color: #29abe2;
}
.top__news .top_news__item--category[data-cat="cat-ashagi"] {
  background-color: #f7931e;
}
.top__news .top_news__item--category[data-cat="chaprenshitu"] {
  background-color: #8cc63f;
}

.top__news .top_news__item--title {
  /*flex: 3;*/
  flex-shrink: 1;
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1.6;
  padding-left: 1em;
  width: 100%;
}

@media (max-width: 767px) {
  .top__news .top_news__item--title {
    flex: auto;
    font-size: 1.5rem;
    padding-left: 0;
    margin-top: 1em;
  }
}

.top__news .top_news__item--link {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top__news .top_news__item--link.arrow {
  position: relative;
  padding-right: 2rem;
}
.top__news .top_news__item--link.arrow::after {
  content: '';
  position: absolute;
  display: inline-block;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.39rem;
  height: 0.9rem;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}


.top__news .link-wrap {
  width: 100%;
  text-align: right;
  margin-top: 3rem;
  padding-right: 2rem;
}
@media (max-width: 767px) {
  .top__news .link-wrap {
    padding-right: 1rem;
  }
}

.top__news .top_news__list--link {
  font-size: 1.6rem;
  font-weight: bold;
  position: relative;
  margin-right: 1.5em;
}
.top__news .top_news__list--link::after {
  content: '';
  position: absolute;
  display: inline-block;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.39rem;
  height: 0.9rem;
  top: 50%;
  right: -1.5em;
  transform: translateY(-50%);
}




/* TOP FACILITY SECTION */
.top__facility {
  &::before {
    content: '';
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: 100%;
    background: url(../img/top/facility_circle.png) center no-repeat;
    background-size: contain;
    aspect-ratio: 143 / 30;
    max-width: 46.2rem;
    width: 65%;
    height: auto;
    margin: auto;
  }
}

.top__facility .section__inner {
  padding-top: 0;
}

.top__facility .section__title {
  text-align: center;
}

.facility_btn__list {
  display: flex;
  justify-content: center;
  gap: 0 2rem;
  padding: 3rem 0;
}
@media (max-width: 1220px) {  
  .facility_btn__list {
    flex-direction: column;
    gap: 2rem 0;
  }
}

.facility_btn {
  flex: 1;
  color: #000;
  border: solid 1.5px #e94d48;
  background-color: #fff5cc;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 28.7rem;
  display: flex;
  align-items: center;
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2rem;
    margin: auto;
    background-color: #e94d48;
    width: 1.2rem;
    height: 1.2rem;
    clip-path: polygon(100% 40%, 50% 90%, 0 40%, 10% 30%, 50% 70%, 90% 30%);
  }
}
@media (max-width: 1220px) { 
  .facility_btn {
    max-width: none;
  }
}
.facility_btn--icon {
  display: inline-block;
  max-width: 4rem;
  height: 4rem;
  margin-right: 1rem;
}
.facility_btn--icon::before {
  content: '';
  display: inline-block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 4rem;
  height: 4rem;
}

#facility_btn--all .facility_btn--icon::before {
  background-image: url(../img/top/icon_facility_btn_all.png);
}
#facility_btn--all.is-active .facility_btn--icon::before {
  background-image: url(../img/top/icon_facility_btn_all_w.png);
}
#facility_btn--problem .facility_btn--icon::before {
  background-image: url(../img/top/icon_facility_btn_problem.png);
}
#facility_btn--problem.is-active .facility_btn--icon::before {
  background-image: url(../img/top/icon_facility_btn_problem_w.png);
}
#facility_btn--service .facility_btn--icon::before {
  background-image: url(../img/top/icon_facility_btn_service.png);
}
#facility_btn--service.is-active .facility_btn--icon::before {
  background-image: url(../img/top/icon_facility_btn_service_w.png);
}

.facility_btn--title {
  font-size: 1.8rem;
}

.facility_btn.is-active {
  background-color: #e94d48;
  color: #FFF;

  &::after {
    content: none;
  }
}


.facility_contents > .facility_content {
  display: none;
  padding: 3rem 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  animation: fadeIn 0.3s ease-in-out;
}
.facility_contents > .facility_content.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.facility__list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) { 
  .facility__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) { 
  .facility__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* FACILITY BLOCK */
.facility-block {
  margin-bottom: 5rem;
}
.facility-block--title {
  display: flex;
  flex-direction: column;
  font-size: 2.6rem;
  font-size: clamp(1.8rem, 4.787vw, 2.6rem);
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: solid 1px #999999;
}
.facility-block--title_en {
  font-size: 1.6rem;
  font-size: clamp(1.4rem, 3.723vw, 1.6rem);
}
.facility-block--title_jp {
}

.facility__box {
  border-radius: 1rem;
  position: relative;

  & .facility__box_inner {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  & .facility__box--pic {

    & img {
      border-top-left-radius: 1rem;
      border-top-right-radius: 1rem;
      width: 100%;
      height: 100%;
      aspect-ratio: 59 / 35; 
    }
  }

  & .facility__box--name {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: #deeacd;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    padding: 1.0em;
    font-size: clamp(1.5rem, 3.989vw, 1.6rem);
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
    z-index: 2;

    & .sub {
      font-size: 1.3rem;
      ont-size: clamp(1.0rem, 2.65957vw, 1.3rem);
    }

    @media (min-width: 1081px) { 
      margin-top: -1rem;
    }
  }

  & .link_arrow {
    position: absolute;
    display: inline-block;
    right: 0; bottom: 0;
    background-color: #3eac4a;
    border-top-left-radius: 100%;
    border-bottom-right-radius: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    z-index: 3;

    &::after {
      content: '';
      position: absolute;
      display: inline-block;
      background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      width: 1rem;
      height: 0.7rem;
      top: calc(50% + 0.2rem);
      right: 0.9rem;
      transform: translateY(-50%);
    }
  }

}

.facility__box.facility__box--big {
  grid-column: 1 / 3;
  grid-row: 1 / 3;

  @media (max-width: 1080px) { 
    grid-column: 1 / 2;
    grid-row: 1 / 5;
  }

  & .facility__box--name {
    font-size: clamp(1.5rem, 3.989vw, 2.6rem);
    & .sub {
      font-size: 2.0rem;
      ont-size: clamp(1.0rem, 2.65957vw, 2.0rem);
    }
  }
}
.facility__box.facility__box--big:nth-child(2) {
  grid-column: 3 / 5;
}

@media (max-width: 1080px) { 
  .facility__box.facility__box--big:nth-child(2) {
    grid-column: 2 / 3;
  }
}

@media (max-width: 767px) { 
  .facility__box.facility__box--big,
  .facility__box.facility__box--big:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 1080px) { 
  .facility__box:not(.facility__box--big) .facility__box_inner {
    flex-direction: row;

    & .facility__box--pic {
      max-width: 24rem;
      width: 35%;

      & img {
        border-bottom-left-radius: 1rem;
      }
    }

    & .facility__box--name {
      @media (max-width: 1080px) { 
        margin-left: -0.5rem;
        border-bottom-left-radius: 0;
        border-top-right-radius: 1rem;
      }
    }
  }
}

.facility__box.cat-care_facility,
.facility__box.facility__box--care {
  &.facility__box--big {
    & .facility__box--name {
      background-color: #9fc7e4;
    }
    & .link_arrow {
      background-color: #0071bc;
    }
  }

  & .facility__box--name {
    background-color: #dce7f4;
  }
  & .link_arrow {
    background-color: #29abe2;
  }
}

.facility__box.cat-small_scale_home ,
.facility__box.facility__box--sshome {
  & .facility__box--name {
    background-color: #eddfe2;
  }
  & .link_arrow {
    background-color: #9e005d;
  }
}

.facility__box.cat-group_home,
.facility__box.facility__box--grouphome {
  & .facility__box--name {
    background-color: #fae8cd;
  }
  & .link_arrow {
    background-color: #f7931e;
  }
}

.facility__box.cat-dementia,
.facility__box.facility__box--dementia {
  & .facility__box--name {
    background-color: #fae8cd;
  }
  & .link_arrow {
    background-color: #f7931e;
  }
}
















/* TOP ABOUT SECTION */
.top__aboutus {
  background-color: #fdf1f0;
}

.top_aboutus_row {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1080px) {
  .top_aboutus_row {
    flex-direction: column;
  }
}

.top_aboutus__textarea {
  flex: 1;
  text-align: left;
  position: relative;
  padding-top: 3rem;
}
.top_aboutus__textarea::before {
  content: '';
  position: absolute;
  background: url(../img/top/txt_aboutus.png) 0 0 no-repeat;
  background-size: contain;
  left: 0; top: 0;
  width: 100%;
  aspect-ratio: 711 / 113;
}

.top_aboutus__catch {
  font-size: 3rem;
  font-size: clamp(2.7rem, 7.180vw, 5.4rem)
  font-weight: bold;
  color: #e94d48;
  line-height: 1.3;
  margin-bottom: 1em;
}

.top_aboutus__text {
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.75;
}
@media (max-width: 767px) {
  .top_aboutus__text {
    font-size: 1.5rem;
  }
}

.top_aboutus__imgarea {
  width: 48%;
}
@media (max-width: 1080px) {
  .top_aboutus__imgarea {
    display: none;
  }
}

.top_aboutus__textarea .btn {
  margin-top: 3rem;
}
@media (min-width: 1081px) {
  .top_aboutus__textarea .btn {
    margin-right: 0;
  }
}

@media (min-width: 1081px) {
  .top_aboutus__img--sp {
    display: none;
  }
}
@media (max-width: 1080px) {
  .top_aboutus__img--pc {
    display: none;
  }
}



/* TOP CHAPLAIN SECTION */
.top_chaplain_row {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
@media (max-width: 1080px) {
  .top_chaplain_row {
    flex-direction: column;
  }
}

.top_chaplain__textarea {
  flex: 1;
  text-align: left;
  position: relative;
  padding-top: 5rem;
  padding-left: 8rem;
}
@media (max-width: 1080px) {
  .top_chaplain__textarea {
    padding-left: 0;
  }
}
.top_chaplain__textarea::before {
  content: '';
  position: absolute;
  background: url(../img/top/txt_chaplain.png) 0 0 no-repeat;
  background-size: contain;
  left: 8rem; top: 0;
  width: 100%;
  aspect-ratio: 602 / 157;
}
@media (max-width: 1080px) {
  .top_chaplain__textarea::before {
    left: 0;
  }
}

.top_chaplain__catch {
  font-size: 3rem;
  font-size: clamp(2.7rem, 7.180vw, 5.4rem)
  font-weight: bold;
  color: #e94d48;
  line-height: 1.3;
  margin-bottom: 1em;
}

.top_chaplain__text {
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.75;
}
@media (max-width: 1080px) {
  .top_chaplain__text {
    margin-top: 3rem;
  }
}
@media (max-width: 767px) {
  .top_chaplain__text {
    font-size: 1.5rem;
  }
}

.top_chaplain__imgarea {
  width: 41.5%;
}
@media (max-width: 1080px) {
  .top_chaplain__imgarea {
    display: none;
  }
}

.top_chaplain__textarea .btn {
  margin-top: 3rem;
}
@media (min-width: 1081px) {
  .top_chaplain__textarea .btn {
    margin-right: 0;
  }
}

@media (min-width: 1081px) {
  .top_chaplain__img--sp {
    display: none;
  }
}
@media (max-width: 1080px) {
  .top_chaplain__img--pc {
    display: none;
  }
}


/* お悩みから探す */
.problem__list_wrap {
  background-color: #fdf1f0;
  padding: 5rem;
  border-radius: 10px;
  position: relative;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    translate: -50% 100%;
    background-color: #fdf1f0;
    width: 7.2rem;
    height: 3.4rem;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
  }
}
@media (max-width: 1080px) {
  .problem__list_wrap {
    padding: 2rem;
  }
}

.problem__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1080px) {
  .problem__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .problem__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.problem__item {
  background-color: #FFF;
  border-radius: 10px;
  padding: 2rem 1rem;
  color: #000;
}
.problem__item.is-active {
  background-color: #ffe78c;
}

.problem__item--icon {
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
}

.problem__item--title {
  font-size: 2.2rem;
  color: #e94d48;
  margin: 2rem 0 1rem;
  text-align: center;
}
@media (max-width: 767px) {
  .problem__item--title {
    font-size: 1.8rem;
  }
}

.problem__item--text {
  font-size: 1.7rem;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 767px) {
  .problem__item--text {
    font-size: 1.5rem;
  }
}

/* PROBLEM  FACILITY LIST */
.facility__list_contents {
  background-color: #fdf1f0;
  padding: 3rem;
  border-radius: 10px;
  margin-top: 7rem;
  position: relative;
}
@media (max-width: 1080px) {
  .facility__list_contents {
    padding: 2rem;
  }
}

.facility__list_content {
  display: none;
}
.facility__list_content.is-active {
  display: block;
}

.problem-facility__list {

}


/* SERVICE CONDITIONS BLOCK */
.service_conditions__block {
  background-color: #fdf1f0;
  padding: 3rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
}
@media (max-width: 1080px) {
  .service_conditions__block {
    flex-direction: column;
    gap: 3rem 0;
    padding: 2rem;
  }
}

.service_conditions--title {
  font-size: 2.0rem;
  font-weight: bold;
  text-align: center;
  width: 25rem;
}

.service_conditions__area {
  flex: 2;
  display: flex;
  align-items: center;
  gap: 1rem 1rem;
  flex-wrap: wrap;
}

/* 提供サービス選択ボックス　*/
.service_select__item {
  display: inline-flex;
  align-items: center;
  font-size: 1.9rem;
  column-gap: 4px;
  line-height: 1;
  background-color: #FFF;
  border-radius: 3rem;
  padding: 1.5rem ;
  cursor: pointer;

  & input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 0.6em;
    height: 0.6em;
    border: none;
    border-radius: 50%;
    background-color: #999999;
    margin-right: 1rem;
    position: relative;
    transition: all 0.3s ease;
  }

  & input[type="checkbox"]:checked {
    background-color: #FFF;
  }

  &:has(input:checked) {
    color: #FFF;
    background-color: #e94d48;
  }

  /*
  & input[type="checkbox"]:focus {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
  }
  */

}


@media (max-width: 767px) {
  .service_select__item {
    font-size: clamp(1.3rem, 3.467vw, 1.5rem);
  }
}

/* SERVICE FACILITY LIST */
.servie__facility__list_content {
  background-color: #fdf1f0;
  padding: 3rem;
  border-radius: 10px;
  margin-top: 3rem;
  position: relative;
}
@media (max-width: 1080px) {
  .servie__facility__list_content {
    padding: 2rem;
  }
}

.facility_content .message_text {
  font-size: 1.6rem;
  line-height: 1.3;
  text-align: center;
}
@media (max-width: 767px) {
  .facility_content .message_text {
    font-size: 1.5rem;
  }
}


/* TOP RECRUIT SECTION */
.top__recruit {
  background-color: #3ba147;
  background-image: url(../img/top/bg_recruit.webp);
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
@media (max-width: 1080px) {
  .top__recruit {
    background-image: url(../img/top/bg_recruit_sp.png);
    background-position: center;
  }
}

.top__recruit--title {
  font-size: 2.6rem;
  font-size: clamp(2.1rem, 5.585vw, 2.6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem 0;
  color: #FFF;
  text-align: left;
  position: relative;
  width: 60%;
}
@media (max-width: 1080px) {
  .top__recruit--title {
    width: 100%;
  }
}

.top__recruit--title__title {
  font-size: 9rem;
  font-size: clamp(4.7rem, 12.5vw, 9.0rem );
}
.top__recruit--title__title:first-letter {
  color: #f2e634;
}

.top__recruit--title::before {
  content: '';
  background: url(../img/top/txt_supporting_okinawa.png) 0 0 no-repeat;
  background-size: contain;
  width: 40%;
  right: 0;
  top: 100%;
  position: absolute;
  aspect-ratio: 334 / 166;
}
@media (max-width: 1080px) {
  .top__recruit--title::before {
    top: auto;
    bottom: -10rem;
  }
}
@media (max-width: 520px) {
  .top__recruit--title::before {
    top: auto;
    bottom: -3rem;
  }
}

.top__recruit .btn {
  margin-top: 5rem;
  border-color: #17a196;
}
@media (min-width: 1081px) {
  .top__recruit .btn {
    margin-left: 0;
  }
}

.top__recruit .btn::after {
  content: '';
  position: absolute;
  display: inline-block;
  background: url(../img/common/icon_link_g.png) center no-repeat;
  background-size: contain;
  width: 1.2em;
  height: 1.2em;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
}

.top_recruit__img {
  margin-top: 5rem;
  margin-right: -5.5%;
}
@media (min-width: 1081px) {
  .top_recruit__img {
    display: none;
  }
}




/* TOP OTHER SECTION */
.top__other .section__title {
  text-align: center;
}

.top_other__list {
  /*
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
@media (max-width: 1080px) {
  .top_other__list {
    gap: 1;
    /*grid-template-columns: repeat(2, 1fr);*/
  }
}

.top_other__item {
  position: relative;
  width: calc(100% - 3rem);
  max-width: 39rem;
  max-width: clamp(340px, 90vw, 390px);
}
@media (max-width: 1080px) {
  .top_other__item {
    width: calc(50% - 1.0rem);
  }
}
.top_other__item > a {
  background-color: #FFF;
  border: solid 1px #dc4d47;
  border-radius: 1rem;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.top_other__item--icon {
  display: block;
  height: 80px;
  margin: 1rem 0;
  @media (max-width: 768px) {
    height: 50px;
  }
  & img {
    height: 100%;
    width: auto;
  }
}


.top_other__item--title {
  text-align: center;
  color: #000;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 1rem 0;
}
@media (max-width: 1080px) {
  .top_other__item--title {
    font-size: clamp(1.4rem, 0.266667vw, 2.8rem);
  }
}

.top_other__item .link_arrow {
  position: absolute;
  display: inline-block;
  right: 0;
  bottom: 0;
  background-color: #dc4d47;
  border-top-left-radius: 100%;
  border-bottom-right-radius: 1rem;
  width: 3.5rem;
  height: 3.5rem;
  z-index: 3;

  &::after {
    content: '';
    position: absolute;
    display: inline-block;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 1rem;
    height: 0.7rem;
    top: calc(50% + 0.2rem);
    right: 0.9rem;
    transform: translateY(-50%);
  }
}
@media (max-width: 768px) {
  .top_other__item .link_arrow {
    height: 2.5rem;
    width: 2.5rem;
    &::after {
      width: 0.8rem;
      height: 0.5rem;
      right: 0.7rem;
    }
  }
}


.top_other_bnr__list {
  margin-top: 8rem;
  @media (max-width: 768px) { 
    margin-top: 5rem;
  }
}

.top_other_bnr__item + .top_other_bnr__item {
  margin-top: 5rem;
  @media (max-width: 768px) { 
    margin-top: 3rem;
  }
}



/* TOP SNS SECTION */
.top__sns.section {
  background-color: #f2f2f2;
}
.top__sns .section__title {
  text-align: center;
}