@charset "UTF-8";
/********** 섹션 네비게이션 **********/
.section-nav {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.scroll-dot {
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  color: rgba(255, 255, 255, 0.3);
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
.scroll-dot:after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.scroll-dot:hover:after {
  background: rgba(255, 255, 255, 0.6);
}
.scroll-dot:hover {
  color: rgba(255, 255, 255, 0.6);
}

.scroll-dot.active:after {
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.scroll-dot.active {
  color: #fff;
}

@media screen and (max-width: 1600px) {
}

/* 반응형 - 테블릿 */
@media screen and (max-width: 1200px) {
  .section-nav {
    display: none;
  }
}

/* 반응형 - 모바일 */
@media screen and (max-width: 900px) {
}

/*---------- 풀스크린 섹션 ----------*/

html {
  scroll-behavior: smooth;
}

body {
  overflow: hidden; /* 원스크롤을 위해 기본 스크롤 숨김 */
}

/* 풀페이지 컨테이너 */
.fullpage-container {
  height: 100vh;
  height: 100dvh; /* 동적 뷰포트 높이 */
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.section-content {
  padding-top: 160px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: relative;
}

.container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* 풀스크린 section별 스타일 */
.section1-active .scroll-dot,
.section2-active .scroll-dot,
.section3-active .scroll-dot,
.section4-active .scroll-dot {
  color: rgba(0, 0, 0, 0.3);
}
.section1-active .scroll-dot:after,
.section2-active .scroll-dot:after,
.section3-active .scroll-dot:after,
.section4-active .scroll-dot:after {
  background: rgba(0, 0, 0, 0.3);
}
.section1-active .scroll-dot.active,
.section2-active .scroll-dot.active,
.section3-active .scroll-dot.active,
.section4-active .scroll-dot.active {
  color: #000;
}
.section1-active .scroll-dot.active:after,
.section2-active .scroll-dot.active:after,
.section3-active .scroll-dot.active:after,
.section4-active .scroll-dot.active:after {
  background: #000;
}

.section1-active {
}

@media screen and (max-width: 1600px) {
}

/* 반응형 - 테블릿 */
@media screen and (max-width: 1200px) {
  .section-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .fullpage-container {
    height: auto;
    transform: unset !important;
  }
  .section {
    height: auto;
  }
}

/* 반응형 - 모바일 */
@media screen and (max-width: 900px) {
}

/* ---------- 섹션 콘텐츠 공통 ---------- */
.section-content {
  height: 100%;
}

/* tit-wrap */
.tit-wrap {
  text-align: center;
}
.tit-wrap .tit {
  font-size: 2.6rem;
  color: var(--black);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.tit-wrap .txt {
  font-size: 1rem;
  color: var(--sub-txt-color);
}

@media screen and (max-width: 1600px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 900px) {
  .tit-wrap .tit {
    font-size: 2rem;
  }
}

/* ---------- section1 ----------*/
.section1 {
  background: url("../images/main/main_bg_251215.png") no-repeat 0 0;
  background-size: cover;
  overflow: hidden;
}
.visual-txt {
  position: absolute;
  bottom: 10rem;
  left: 5rem;
}
.visual-txt .tit {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.visual-txt .txt {
  color: var(--white);
  font-size: 1.1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 퀵메뉴 */
.quick-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

/* 숨김 상태 - 애니메이션 적용 */
.quick-wrap.hidden {
  animation: hideQuickMenu 1.2s ease-out forwards;
}

/* 보이기 상태 - 애니메이션 적용 */
.quick-wrap:not(.hidden) {
  animation: showQuickMenu 0.8s ease-out forwards;
}

/* 숨기기 애니메이션: 왼쪽 → 오른쪽 → 사라짐 */
@keyframes hideQuickMenu {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  25% {
    transform: translateY(-50%) translateX(-40px); /* 왼쪽으로 살짝 */
  }
  50% {
    transform: translateY(-50%) translateX(30px); /* 오른쪽으로 살짝 */
  }
  100% {
    transform: translateY(-50%) translateX(calc(100% + 2rem)); /* 완전히 숨김 */
  }
}

/* 보이기 애니메이션 */
@keyframes showQuickMenu {
  0% {
    transform: translateY(-50%) translateX(calc(100% + 2rem));
  }
  100% {
    transform: translateY(-50%) translateX(0);
  }
}

.quick-wrap .card {
  width: 18rem;
  height: 10rem;
  display: block;
  padding: 1rem;
  border-radius: 0.5rem !important;
  border: 0;
  background: #ccc;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-wrap .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quick-wrap .card .card-title {
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.quick-wrap .card:hover .card-title {
  transform: scale(1.05);
}

.quick-wrap .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

.quick-wrap .card:hover::before {
  transform: scale(1.1);
}

.quick-wrap .card-1::before {
  background-image: url("../images/main/quick-1.png");
}
.quick-wrap .card-2::before {
  background-image: url("../images/main/quick-2.png");
}
.quick-wrap .card-3::before {
  background-image: url("../images/main/quick-3.png");
}
.quick-wrap .card-4::before {
  background-image: url("../images/main/quick-4.png");
}

.quick-wrap .card-1,
.quick-wrap .card-2,
.quick-wrap .card-3,
.quick-wrap .card-4 {
  background: none;
}

.quick-wrap .card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}

.quick-wrap .card:hover::after {
  opacity: 0;
}

/* 퀵메뉴 버튼 */
.quick-btn {
  display: block;
  width: 6px;
  height: 80px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.quick-btn:hover {
  background-color: rgba(255, 255, 255, 0.7);
  width: 8px;
}

.quick-wrap.hidden .quick-btn {
  background-color: rgba(255, 255, 255, 0.8);
}

.quick-btn:hover::before {
  opacity: 1;
}

.scroll-down {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: shakeVertical 1s ease-in-out infinite;
}
.scroll-down > span {
  color: var(--white);
  font-size: 2.8rem;
  text-shadow: 0 0 15px rgba(0 0 0 / 90%);
}

@media screen and (max-width: 1600px) {
}

@media screen and (max-width: 1200px) {
  .scroll-down {
    display: none;
  }
  .section1 {
    height: 700px;
  }
  .visual-txt {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    text-align: center;
  }
  .visual-txt .tit {
    font-size: 3rem;
  }
  .visual-txt .tit br {
    display: none;
  }

  .quick-wrap {
    top: auto;
    bottom: 2rem;
    transform: translateY(0) translateX(0px) !important;
    display: flex;
    flex-direction: row;
    right: auto;
    left: 1rem;
    width: calc(100% - 2rem);
    justify-content: center;
  }
  .quick-wrap.hidden a {
    display: none;
  }
  .quick-btn {
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
  }
  .quick-btn:hover {
    background-color: rgba(255, 255, 255, 0.7);
    width: 90px;
  }
}

@media screen and (max-width: 900px) {
  .section1 {
    height: 500px;
  }
  .visual-txt {
    width: 90%;
  }
  .visual-txt .tit {
    font-size: 2rem;
  }
  .visual-txt .txt {
    font-size: 0.9rem;
  }
  .quick-wrap {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .quick-wrap .card {
    flex: 1;
    height: 7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .quick-wrap .card .card-title {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.2;
  }

  /* 숨김 상태 - 애니메이션 적용 */
  .quick-wrap.hidden {
    animation: none;
  }

  /* 보이기 상태 - 애니메이션 적용 */
  .quick-wrap:not(.hidden) {
    animation: none;
  }
}

/* ---------- section2 ----------*/
.swiper-wrapper {
  height: auto;
}
.section2 {
  background-color: var(--white);
}

.swiper {
  width: 100%;
  height: 100%;
}

.equipment-wrap {
  position: relative;
  overflow: hidden; /* 넘치는 텍스트 숨김 */
}
.equipment-wrap .bg-txt-wrapper {
  position: absolute;
  top: -2.2rem;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 0;
  pointer-events: none;
}

.equipment-wrap .bg-txt {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  padding-right: 3rem; /* 텍스트 간격 */
  animation: flowTextSeamless 50s linear infinite;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
}

/* 끊김 없는 애니메이션 */
@keyframes flowTextSeamless {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Swiper 스타일 */
.equipment-wrap .swiper {
  width: 100%;
  padding: 3.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* 슬라이드 */
.equipment-wrap .swiper-slide {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  height: auto;
  opacity: 0.4;
  filter: blur(3px);
  transform: scale(0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line-color);
  flex-shrink: 0; /* 추가 */
}
.swiper-slide:not(.swiper-slide-active)::before {
  content: "";
  position: absolute;
  background: rgba(0 0 0 / 14%);
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  top: 0;
  left: 0;
}
/* 활성 슬라이드 (중앙) */
.equipment-wrap .swiper-slide-active {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: scale(1) !important;
  z-index: 10;
}

.equipment-wrap .swiper-slide-active:hover {
  transform: translateY(-10px) scale(1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* 이미지 영역 */
.equipment-wrap .slide-image {
  width: 100%;
  height: 280px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.equipment-wrap .slide-image img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.equipment-wrap .swiper-slide-active:hover .slide-image img {
  transform: scale(1.05);
}

/* 태그 */
.equipment-wrap .slide-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #e3f2fd;
  color: #1976d2;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 0.3rem;
}

/* 제목 */
.equipment-wrap .slide-title {
  max-width: 100%;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

/* 예약하기 버튼 */
.equipment-wrap .slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1rem;
  background: transparent;
  color: #666;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.equipment-wrap .slide-btn:hover {
  background: #1976d2;
  color: white;
  border-color: #1976d2;
  transform: translateX(5px);
}

/* 네비게이션 버튼 */
.slide-control .swiper-button-prev,
.slide-control .swiper-button-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: static;
  flex-shrink: 0; /* 버튼이 줄어들지 않도록 */
  border: 1px solid var(--line-color);
  margin: 0 !important; /* Swiper 기본 마진 제거 */
}

.slide-control .swiper-button-prev:hover,
.slide-control .swiper-button-next:hover {
  background: #7986a8;
  transform: scale(1.1);
}

.slide-control .swiper-button-prev::after,
.slide-control .swiper-button-next::after {
  font-size: 18px;
  color: #7986a8;
  font-weight: bold;
}

.slide-control .swiper-button-prev:hover::after,
.slide-control .swiper-button-next:hover::after {
  color: white;
}

/* Pagination */
.slide-control {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem; /* 간격 추가 */
  padding: 0 2rem; /* 좌우 여백 추가 */
  flex-wrap: nowrap; /* 반응형을 위한 줄바꿈 허용 */
}
/* 페이지네이션 */
.slide-control .swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: static;
}

.slide-control .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d0d0d0;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 !important;
}

.slide-control .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  background: #7986a8;
}

/* 카운터 */
.slide-control .slide-counter {
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  gap: 0.1rem;
  white-space: nowrap; /* 텍스트가 줄바꿈되지 않도록 */
  flex-shrink: 0;
}

.slide-control .slide-counter .current {
  color: #000;
}

.slide-control .slide-counter .total {
  color: #999;
}

/* 버튼 */
.equipment-wrap .view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #7986a8;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.equipment-wrap .view-all-btn:hover {
  background: #5a6785;
  transform: translateX(5px);
}

@media screen and (max-width: 1600px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 900px) {
  .equipment-wrap .swiper {
    width: 90%;
    margin: 0 auto;
  }
  .equipment-wrap .slide-image {
    height: 200px;
  }
  .section2 .slide-control .swiper-pagination {
    display: none;
  }
  .equipment-wrap .view-all-btn {
    padding: 0.5rem 1rem;
  }
  .equipment-wrap .slide-control .swiper-button-prev,
  .equipment-wrap .slide-control .swiper-button-next {
    height: 40px;
    width: 40px;
  }
  .equipment-wrap .slide-control {
    gap: 0.5rem;
  }
}

/* ---------- section3: News & Notice ----------*/
.section3 {
  background: #fff url("../images/main/main_section3_bg.png") no-repeat 0 0;
  background-size: cover;
}

/* 헤더 */
.news-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.news-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.news-title .subtitle {
  font-weight: 300;
  color: #000;
  font-size: 3rem;
}

.news-title .title {
  font-size: 3rem;
  font-weight: 900;
  color: #000;
  margin: 0;
}

.news-desc {
  font-size: 1rem;
  color: #333;
  text-align: left;
}

/* 메인 콘텐츠 */
.news-content {
  display: grid;
  grid-template-columns: 700px calc(100% - 700px - 5rem);
  gap: 5rem;
}

/* 왼쪽: 대표 뉴스 */
.news-main {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.news-main::before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--line-color);
  position: absolute;
  top: 0;
  right: -2.5rem;
}

.main-news-card {
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.main-news-card:hover {
  transform: translateY(-5px);
}
.main-news-card:hover .news-image {
  border-radius: 0;
}

.main-news-card .news-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 1rem;
}

.main-news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.main-news-card:hover .news-image img {
  transform: scale(1.05);
}

.main-news-card .news-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1.4;
  width: 100%;
}

.news-card-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.5rem;
  flex: 1;
}

.news-meta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.news-category {
  padding: 6px 14px;
  background: #e3f2fd;
  color: #1976d2;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
}

.news-date {
  font-size: 0.9rem;
  color: #999;
}

/* 오른쪽: 뉴스 리스트 */
.news-swiper .swiper-slide {
  width: 600px; /* 또는 원하는 고정 너비 */
  /* 또는 */
  width: 80%;
  max-width: 700px;
}

.news-swiper {
  width: 100%;
  overflow: hidden;
}

.news-swiper-next:after,
.news-swiper-prev:after {
  color: var(--white);
  opacity: 0.4;
  font-size: 2.3rem;
  font-weight: 200;
}
.news-swiper-prev:hover:after,
.news-swiper-next:hover:after {
  opacity: 0.8;
}

.new-top {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.news-list {
  display: flex;
  flex-direction: column;
}

.more-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: var(--white);
  border-radius: 3rem;
  box-shadow: 0 0 1.2rem rgba(0 0 0 / 8%);
  border: 1px solid var(--line-color);
}

.more-btn:hover {
  color: #7986a8;
  box-shadow: none;
}

.more-btn .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.more-btn:hover .material-symbols-outlined {
  transform: translateX(5px);
}

/* 뉴스 아이템 */
.news-items {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.news-item {
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-item:hover {
  transform: translateX(5px);
}

.news-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: calc(100% - 140px - 1.5rem);
}

.news-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-desc {
  font-size: 0.9rem;
  color: #666;
  flex: 1;
}

.news-item-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.news-item-category {
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--line-color);
  color: #666;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 15px;
}

.news-item-date {
  font-size: 0.85rem;
  color: #999;
}

.news-item-thumb {
  width: 140px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-item-thumb img {
  transform: scale(1.1);
}

@media screen and (max-width: 1600px) {
}

@media screen and (max-width: 1200px) {
  .news-content {
    display: flex;
    flex-direction: column;
  }

  .news-swiper .swiper-slide {
    max-width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .news-header {
    flex-direction: column;
  }
  .news-title .title,
  .news-title .subtitle {
    font-size: 2rem;
  }
  .news-desc {
    text-align: center;
  }
  .main-news-card .news-image {
    height: 260px;
  }

  .new-top {
    flex-direction: column;
  }
  .news-item-desc {
    font-size: 1rem;
  }
}

/* ---------- section4: 시설예약 ----------*/
.section4 {
  background: #f8f9fa;
}

.section4 .section-content {
  display: grid;
  justify-content: space-between;
  grid-template-columns: 700px calc(100% - 700px - 5rem);
}

.section4 .tit-wrap {
  text-align: left;
}

.section4 .tit {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.section4 .txt {
  font-size: 1rem;
  color: #666;
}

/* 시설 카드 리스트 */
.facility-list {
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  position: relative;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.facility-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.facility-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  margin-bottom: 2rem;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 이미지 갤러리 - 가로 스크롤 */
.facility-image-gallery {
  position: relative;
  height: 500px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
  cursor: grab;
}

.facility-image-gallery:active {
  cursor: grabbing;
}

/* 스크롤바 스타일 */
.facility-image-gallery::-webkit-scrollbar {
  height: 8px;
}

.facility-image-gallery::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin: 0 10px;
}

.facility-image-gallery::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transition: background 0.3s;
}

.facility-image-gallery:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.8);
}

.facility-image-gallery img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* 시설 정보 오버레이 */
.facility-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );
  padding: 1.5rem;
  color: white;
  pointer-events: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.facility-name {
  font-size: 1.7rem;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.facility-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.95;
  transition: all 0.3s;
  pointer-events: auto;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.facility-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(5px);
}

.facility-link .material-symbols-outlined {
  font-size: 22px;
  transition: transform 0.3s;
}

.facility-link:hover .material-symbols-outlined {
  transform: translateX(5px);
}
/* scroll-hint 자동 페이드아웃 스타일 */
.scroll-hint {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 70%;
  width: 100px;
  height: 100px;
  background-color: rgba(255 255 255 / 40%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.scroll-hint.show {
  opacity: 1 !important;
  animation: shakeVertical 1s ease-in-out infinite;
}

.scroll-hint > span {
  color: rgba(255 255 255 / 95%);
  font-size: 1.9rem;
}

@keyframes shakeVertical {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  25% {
    transform: translate(-50%, -50%) translateY(-5px);
  }
  75% {
    transform: translate(-50%, -50%) translateY(5px);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media screen and (max-width: 1600px) {
}

@media screen and (max-width: 1200px) {
  .section4 .section-content {
    display: flex;
    flex-direction: column;
  }
  .facility-list {
    margin-top: 2rem;
  }
  .section4 .tit-wrap {
    margin-top: 0 !important;
    text-align: center;
  }
}

@media screen and (max-width: 900px) {
  .section4 .tit {
    font-size: 2rem;
  }
  .facility-image-gallery {
    height: 250px;
  }
  .facility-name {
    font-size: 1.4rem;
  }
}

/*---------- section05 ----------*/
.section5 {
  background: #f2f5f8 url("../images/main/section05_bg.png") 50% 50% no-repeat;
  background-size: 100% auto;
}
.section5 .section-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section5 .tit {
  color: var(--black);
  font-size: 3.1rem;
  line-height: 1.4;
  text-align: center;
}
.section5 .txt {
  font-size: 1.2rem;
  color: var(--sub-txt-color);
  text-align: center;
}

@media screen and (max-width: 1600px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 900px) {
  .section5 {
    background-size: 150% auto;
  }
  .section5 .section-content {
    padding: 3rem 1rem;
  }
  .section5 .tit {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .section5 .txt {
    font-size: 1rem;
  }
}

/*---------- 스크롤 다운 인디케이터 ----------*/
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 65px;
  background: url("../images/main/scroll-indicator.png") no-repeat 0 0;
  background-size: 100%;
}
.scroll-indicator::after {
  content: "↓";
  font-size: 30px;
  color: var(--white);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* 애니메이션 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
