@charset "UTF-8";
/* =========================================================
  석운노인요양원 : 메인페이지(index.php) 스타일시트
========================================================= */
/* =========================================================
  석운노인요양원 : 공통 변수
========================================================= */
/* =========================================================
  석운노인요양원 : 공통 믹스인 (미디어쿼리)
========================================================= */
/* ===== mir 메인페이지 레이아웃 ===== */
#index_wrap {
  width: 100%;
}

#section01 {
  display: flex;
  flex-direction: column;
}

#section01 #main_visual {
  width: 100%;
  position: relative;
  overflow: hidden;
}

#section01 #main_visual .banner_img_box,
#section01 #main_visual .bannerimg,
#section01 #main_visual .bannerimg img {
  width: 100%;
}

#section01 #main_visual .bannerimg img {
  object-fit: cover;
}

#section01 #main_visual .mo_bnn {
  display: none;
}

#section01 #main_visual .splide__pagination {
  width: fit-content;
  margin: 0 auto;
  bottom: 101px;
  padding: 10px 15px;
  display: flex !important;
  gap: 10px;
  align-items: center;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
}

#section01 #main_visual .splide__pagination__page {
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 1;
  border-radius: 50%;
  background: #CCC;
  transform: none;
}

#section01 #main_visual .splide__pagination__page.is-active {
  width: 40px;
  height: 20px;
  border-radius: 50px;
  background: #FFF;
  transform: none;
}

#section01 .main_quick {
  width: 100%;
  max-width: 1560px;
  margin: -50px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

#section01 .main_quick__item {
  flex: 1;
  padding: 30px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-radius: 15px;
}

#section01 .main_quick__item:first-child {
  background: #26A756;
}

#section01 .main_quick__item:nth-child(2) {
  background: #08B383;
}

#section01 .main_quick__item:nth-child(3) {
  background: linear-gradient(0deg, #0891B3 0%, #0891B3 100%), #32A991;
}

#section01 .main_quick__item:last-child {
  background: linear-gradient(0deg, #0384C6 0%, #0384C6 100%), #0891B3;
}

#section01 .main_quick__item span {
  color: #FFFFFF;
  text-align: center;
  font-family: "Aggravo";
  font-size: 1.67rem; /* 30px */
  font-weight: 400;
  letter-spacing: -0.9px;
}

#index_layout {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 120px 20px;
  display: flex;
  gap: 150px;
  flex-direction: column;
}

#section02 {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

#section02 #main_news {
  width: 930px;
  display: flex;
  gap: 30px;
  flex-direction: column;
}

#section02 .main_news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#section02 .main_news__title-wrap {
  display: flex;
  gap: 30px;
  align-items: center;
}

#section02 .main_news__title-wrap h2 {
  color: #333333;
  font-family: "Aggravo";
  font-size: 2.5rem; /* 45px */
  font-weight: 400;
  line-height: 120%; /* 54px */
}

#section02 .main_news__title-wrap h2 span {
  color: #368253;
}

#section02 .main_news__tabs {
  display: flex;
  gap: 15px;
  align-items: center;
}

#section02 .main_news__tabs button {
  padding: 15px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  font-size: 1.33rem; /* 24px */
  font-weight: 500;
  line-height: 100%; /* 24px */
  border-radius: 15px;
  background: #FBFBFB;
  border: 1px solid #DDD;
}

#section02 .main_news__tabs button.is-active {
  color: #FFFFFF;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 0 15px 0 rgba(38, 167, 86, 0.3);
  background: linear-gradient(251deg, #0384C6 -61.09%, #26A756 62.76%);
}

#section02 .main_news__more {
  height: 54px;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #333333;
  font-size: max(17px, 1.11rem); /* 20px */
  font-weight: 500;
  border-radius: 999px;
  background: #FBFBFB;
  border: 1px solid #DDD;
}

#section02 .main_news__more img {
  flex-shrink: 0;
}

#section02 .main_news__panel {
  display: none;
}

#section02 .main_news__panel.is-active {
  display: block;
}

#section02 .notice_board {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

#section02 .board_link {
  padding: 20px;
  display: flex;
  gap: 50px;
  align-items: center;
  background: #FFF;
  border-radius: 15px;
  border: 1px solid #DDD;
}

#section02 .board_info {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

#section02 .laC_cate {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

#section02 .laC_cate::after {
  content: "";
  width: 8px;
  height: 8px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ccc;
}

#section02 .laC_cate p {
  padding: 2px 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: max(16px, 1rem); /* 18px */
  font-weight: 700;
  line-height: 177.778%; /* 32px */
  border-radius: 999px;
}

#section02 .laC_cate.cate_event p {
  color: #0384C6;
  background: #F3FBFF;
}

#section02 .laC_cate.cate_work p {
  color: #32A991;
  background: #EFFFFC;
}

#section02 .laC_sbjt {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333;
  font-size: 1.22rem; /* 22px */
  font-weight: 700;
  line-height: 145.455%; /* 32px */
}

#section02 .laC_date {
  flex-shrink: 0;
  color: #666;
  font-size: max(14px, 0.89rem); /* 16px */
  font-weight: 400;
}

#section02 .no_list_board {
  padding: 60px 20px;
  color: #888;
  text-align: center;
  font-size: max(15px, 0.94rem);
  font-weight: 400;
}

#section02 .main_news__right {
  flex: 1;
  display: flex;
  gap: 35px;
  flex-direction: column;
}

#section02 .main_contact {
  padding: 45px 30px;
  display: flex;
  gap: 30px;
  flex-direction: column;
  background: #E4F8FD;
  border-radius: 30px 30px 80px 80px;
}

#section02 .main_contact__tel {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #333;
  text-align: center;
  font-family: "Aggravo";
  font-size: 2.56rem; /* 46px */
  font-weight: 400;
  line-height: 100%; /* 46px */
  letter-spacing: -1.38px;
}

#section02 .main_contact__tel img {
  flex-shrink: 0;
}

#section02 .main_contact__info {
  padding: 20px 30px;
  display: flex;
  gap: 5px;
  flex-direction: column;
  border-radius: 30px;
  background: #FFFFFF;
  box-shadow: 0 0 15px 0 #C3F3FF;
}

#section02 .main_contact__info p {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #333333;
  text-align: center;
  font-size: max(16px, 1rem); /* 18px */
  font-weight: 500;
  line-height: 155.556%; /* 28px */
  letter-spacing: -0.54px;
}

#section02 .main_contact__info p img {
  flex-shrink: 0;
}

#section02 .main_schedule {
  height: 115px;
  position: relative;
  padding: 26px 50px;
  display: flex;
  align-items: center;
  border-radius: 80px 80px 30px 30px;
  background: linear-gradient(88deg, #E4FDF7 42.49%, #E6F9CD 138.29%);
}

#section02 .main_schedule::before,
#section02 .main_schedule::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#section02 .main_schedule::before {
  width: 97px;
  height: 67px;
  top: 50%;
  right: 32px;
  z-index: 0;
  transform: translateY(-50%);
  background-image: url("../img/main/img_schedule_01.png");
}

#section02 .main_schedule::after {
  width: 143px;
  height: 159px;
  right: 110px;
  top: 4px;
  z-index: 1;
  background-image: url("../img/main/img_schedule_02.png");
}

#section02 .main_schedule span {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: "Aggravo";
  font-size: 1.89rem; /* 34px */
  font-weight: 400;
  background: linear-gradient(90deg, #24AE84 0%, #0384C6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#section03 {
  position: relative;
  display: flex;
  align-items: center;
}

#section03::before {
  content: "";
  width: 285px;
  aspect-ratio: 285/157;
  position: absolute;
  left: calc((100% - 100vw) / 2);
  top: -70px;
  z-index: 4;
  pointer-events: none;
  background: url("../img/main/img_gallery_tree.png") no-repeat left top/contain;
}

#section03 .main_gallery__info,
#section03 #main_gallery {
  position: relative;
  z-index: 2;
}

#section03 .main_gallery__info {
  width: 420px;
  height: 440px;
  flex-shrink: 0;
  padding: 75px 50px 55px 50px;
  position: relative;
  z-index: 2;
  display: flex;
  gap: 50px;
  flex-direction: column;
  border-radius: 40px;
  background: #EAFEE7;
}

#section03 .main_gallery__info::after {
  content: "";
  width: 282px;
  aspect-ratio: 282/234;
  position: absolute;
  left: -125px;
  bottom: -65px;
  z-index: 3;
  pointer-events: none;
  background: url("../img/main/img_gallery_people.png") no-repeat center/contain;
}

#section03 .main_gallery__text {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

#section03 .main_gallery__text h2 {
  color: #222222;
  font-family: "Aggravo";
  font-size: 2.5rem; /* 45px */
  font-weight: 400;
}

#section03 .main_gallery__text h2 span {
  color: #439C65;
}

#section03 .main_gallery__text p {
  color: #333333;
  font-size: max(17px, 1.11rem); /* 20px */
  font-weight: 500;
  line-height: 140%; /* 28px */
}

#section03 .main_gallery__controls {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

#section03 .main_gallery__controls .splide__arrow {
  width: 70px;
  height: 70px;
  position: static;
  opacity: 1;
  transform: none;
  background: #FFFFFF;
}

#section03 .main_gallery__controls .splide__arrow svg {
  width: auto;
  height: auto;
  fill: none;
  transform: none;
}

#section03 .main_gallery__controls .splide__arrow--prev,
#section03 .main_gallery__controls .splide__arrow--next {
  left: auto;
  right: auto;
}

#section03 .main_gallery__controls button,
#section03 .main_gallery__controls a {
  width: 70px;
  height: 70px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #FFFFFF;
}

#section03 .main_gallery__controls a.main_gallery__more {
  background: #368253;
}

#section03 #main_gallery {
  flex: 1;
  min-width: 0;
  margin-left: -70px;
  padding: 30px;
  border-radius: 40px;
  background: #FFF;
  box-shadow: 0 0 20px 0 rgba(125, 125, 125, 0.26);
}

#main_gallery_slider {
  width: 100%;
}

#main_gallery_slider .splide__slide {
  height: auto;
}

#main_gallery_slider .splide__slide > a {
  height: 100%;
  display: flex;
  gap: 20px;
  flex-direction: column;
}

#main_gallery_slider .img {
  overflow: hidden;
  border-radius: 20px;
}

#main_gallery_slider .img img {
  width: 100%;
  aspect-ratio: 357/240;
  display: block;
  object-fit: cover;
}

#main_gallery_slider .slide_txt {
  width: 100%;
  min-width: 0;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

#main_gallery_slider .slide_tit {
  width: 100%;
  min-width: 0;
  padding: 0 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333;
  text-align: center;
  font-size: 1.22rem; /* 22px */
  font-weight: 500;
}

#main_gallery_slider .slide_date {
  padding: 0 5px 5px 5px;
  text-align: center;
  color: #666;
  font-size: max(14px, 0.89rem); /* 16px */
  font-weight: 400;
}

/* =========================================================
  Media Query
========================================================= */
/* ===== PC ===== */
@media (max-width: 1600px) {
  /* 1600px */
  #index_layout {
    padding: 100px 0;
    gap: 80px;
  }
  #section01 .main_quick {
    gap: 20px;
  }
  #section02 {
    gap: 20px;
  }
  #section02 .main_schedule {
    height: 130px;
  }
  #section03::before {
    content: none;
  }
  #section03 .main_gallery__info::after {
    content: none;
  }
  #section03 .main_gallery__info {
    justify-content: space-between;
  }
}
@media (max-width: 1440px) {
  /* 1440px */
  #index_layout {
    padding: 100px 20px;
  }
  #section02 {
    gap: 40px;
    align-items: stretch;
    flex-direction: column;
  }
  #section02 #main_news {
    width: 100%;
  }
  #section02 .main_schedule::after {
    right: 70px;
    top: 30px;
  }
  #section03 .main_gallery__info {
    width: 400px;
    height: 400px;
  }
}
@media (max-width: 1280px) {
  /* 1280px */
}
/* ===== Tablet ===== */
@media (max-width: 1024px) {
  /* 1024px */
  #index_layout {
    padding: 80px 20px;
    gap: 60px;
  }
  #section01 .main_quick {
    gap: 10px;
  }
  #section01 .main_quick__item {
    padding: 20px 30px;
  }
  #section02 .main_schedule::after {
    content: none;
  }
  #section03 {
    flex-direction: column;
  }
  #section03 .main_gallery__info {
    width: 100%;
    height: auto;
    padding: 45px 50px 55px 50px;
    flex-direction: row;
  }
  #section03 #main_gallery {
    flex: auto;
    width: 100%;
    margin-left: 0;
    margin-top: -30px;
  }
  #section03 .main_gallery__text {
    flex: 1;
    flex-direction: row;
  }
  #section03 .main_gallery__controls .splide__arrow {
    display: none;
  }
}
@media (max-width: 960px) {
  /* 960px */
}
/* ===== Mobile ===== */
@media (max-width: 768px) {
  /* 768px */
  #section01 #main_visual .pc_bnn {
    display: none;
  }
  #section01 #main_visual .mo_bnn {
    display: block;
  }
  #section01 .main_quick {
    flex-wrap: wrap;
  }
  #section01 .main_quick__item {
    width: calc((100% - 10px) / 2);
    flex: auto;
  }
  #index_layout {
    padding: 60px 20px;
    gap: 40px;
  }
  #section02 .main_news__head {
    gap: 20px;
    flex-direction: column;
    justify-content: center;
  }
  #section02 .main_news__title-wrap {
    gap: 15px;
    flex-direction: column;
  }
  #section02 .main_contact {
    padding: 20px 30px 25px 30px;
    gap: 10px;
  }
  #section02 .main_schedule {
    padding: 26px 40px;
  }
}
@media (max-width: 640px) {
  /* 640px */
  #section02 .board_link {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  #section03 .main_gallery__info {
    padding: 35px 30px 55px 30px;
  }
  #section03 .main_gallery__controls {
    display: none;
  }
  #section03 .main_gallery__text {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  #section02 .board_info {
    gap: 5px;
    flex-direction: column;
    align-items: flex-start;
  }
  #section02 .laC_cate::after {
    content: none;
  }
  #section02 .laC_date {
    align-self: flex-end;
  }
}
@media (max-width: 480px) {
  /* 480px */
}
@media (max-width: 360px) {
  /* 360px */
}