:root {
  --sz-primary: #ffffff;
  --sz-on-primary: #222222;
  --sz-bg-overlay: rgba(0, 0, 0, 0.05);
  --sz-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --sz-transition: 200ms ease;
  --sz-mo-bg-overlay: rgba(255, 255, 255, 1);
  /*모바일 메뉴 배경*/
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
}

.video-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  /* 클릭 방지 */
}

.video-bg-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  /* 충분히 크게 */
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  /* 클릭 방지 */
}

.youtube-iframe {
  width: 65vw;
  aspect-ratio: 16 / 9;
  /* top: 50%; */
  /* left: 50%; */
  /* width: 120vw; */
  /* height: 120vh; */
  /* 충분히 크게 */
  /* min-width: 100%; */
  /* min-height: 100%; */
  /* transform: translate(-50%, -50%); */
  z-index: 1;
  pointer-events: none;
  /* 클릭 방지 */
}

.container.position-relative.full-screen {
  position: relative;
  z-index: 2;
  /* 텍스트가 iframe 위에 오도록 */
}

.sz-map {
  display: flex;
  justify-content: center;
}

/* SECTION: NAVIGATION BAR */
.sz-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(6px);
  background: var(--sz-bg-overlay);
  transition: background 0.3s;
}

.sz-navbar a {
  color: #fff;
}

.sz-navbar.scrolled a {
  color: #222;
  text-shadow: unset;
}

.sz-navbar.scrolled {
  background: #fff;
  /* 원하는 색상으로 변경 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sz-navbar.scrolled .sz-menu li a {
  color: #222;
  /* 스크롤 시 변경될 색상 */
}

.sz-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

/* Logo */
.sz-logo {
  display: flex;
  align-items: left;
}

.sz-logo img {
  height: 40px;
  width: auto;
}

/* Desktop Menu */
.sz-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 48px;
}

.sz-arrow {
  display: none;
}

.sz-menu>li {
  position: relative;
}

.sz-menu>li>a {
  display: block;
  padding: 20px 0;
  font-size: 17px;
  color: var(--sz-primary);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity var(--sz-transition);
  text-shadow: 1.5px 1.5px 2px rgba(0, 0, 0, 0.5);
}

.sz-menu>li:hover>a {
  opacity: 0.8;
}

/* Submenu */
.sz-submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--sz-primary);
  border-radius: 4px;
  box-shadow: var(--sz-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--sz-transition);
  z-index: 500;
}

.sz-submenu li {
  position: relative;
}

.sz-submenu li a {
  display: block;
  padding: 12px 20px;
  color: var(--sz-on-primary);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: background var(--sz-transition);
}

.sz-submenu li a:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* show submenu on hover */
.sz-menu>li:hover>.sz-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Arrow indicator for items with deeper submenu */
.sz-submenu li.sz-has-deeper>a::after {
  content: '›';
  float: right;
}

/* deeper submenu (level 2) */
.sz-submenu .sz-submenu {
  left: 100%;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0) translateX(8px);
}

.sz-submenu li:hover>.sz-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(0);
}

/* Mobile Styles */
.sz-toggle {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.sz-toggle span {
  display: block;
  height: 3px;
  background: var(--sz-primary);
}

.sz-toggle.scrolled span {
  background: #000;
}

.sz-gallery4 {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.sz-gallery4 .sz-title {
  margin-top: 30px;
  margin-left: 5%;
  height: 450px;
  width: 25%;
}

.sz-gallery4 .sz-contain-gallery {
  margin-top: 30px;
  margin-right: 5%;
  width: 70%;
}

.sz-swiper-item {
  height: 450px;
  width: 100%;
}

.sz-swiper-slide {
  height: 450px;
}

/* @media (max-width: 1024px) {
  .sz-nav-container {
      height: 60px;
    }

  .sz-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--sz-mo-bg-overlay);
    backdrop-filter: blur(6px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
  }

  .sz-menu.sz-open {
    max-height: 100vh;
  }

  .sz-menu>li>a {
    padding: 16px 24px;
    color: black;
  }

  .sz-submenu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .sz-submenu li a {
    padding-left: 40px;
    color: black
  }

  .sz-submenu li a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .sz-submenu .sz-submenu {
    display: none;
  }

  .sz-toggle {
    display: flex;
  }
} */


@media (max-width: 1024px) {
  .sz-map {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  #sz-popup {
    top: 10% !important;
    left: 50%;
    right: unset !important;
    transform: translate(-50%, 0%);
    width: 84% !important;
  }

  .sz-popupwrap .sz-popupbtn>span {
    font-size: 0.8em !important;
  }

  .sz-nav-container {
    height: 60px;
  }

  .sz-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--sz-mo-bg-overlay);
    backdrop-filter: blur(6px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    overscroll-behavior: contain;
  }

  .sz-arrow {
    display: flex;
    /* margin-left: 4px; */
    font-size: 16px;
    /* vertical-align: middle; */
    top: 20px;
    right: 10px;
    position: absolute;
    /* height: 100%; */
    /* align-items: center; */
  }

  .sz-menu>li {
    width: 100%;
    border-bottom: 1px solid #b5b2b2;
    /* 원하는 색상으로 변경 가능 */
  }

  .sz-submenu>li {
    width: 100%;
    position: relative;
    border-bottom: none;
    /* 기존 라인 제거 */
  }

  .sz-submenu>li::after {
    content: '';
    display: block;
    position: absolute;
    left: 40px;
    /* 글자 시작점과 맞춤 */
    right: 0;
    bottom: 0;
    height: 1px;
    background: #d0cece;
    /* 원하는 색상 */
  }

  .sz-submenu>li:last-child::after {
    display: none;
    /* 마지막 서브에는 라인 제거 */
  }

  .sz-menu.sz-open {
    max-height: 100vh;
    overflow-y: auto;
    /* 메뉴만 스크롤 */
    -webkit-overflow-scrolling: touch;
  }

  .sz-menu li a {
    padding-left: 20px;
    color: black;
    text-shadow: unset;
  }

  /* hover 효과 무효화 */
  .sz-menu>li:hover>a,
  .sz-menu>li:hover>.sz-submenu,
  .sz-submenu li:hover>.sz-submenu {
    opacity: 1 !important;
    visibility: visible !important;
    background: none !important;
    transform: none !important;
  }

  /* 서브메뉴 기본 숨김 */
  .sz-submenu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    opacity: 1;
    visibility: visible;
  }

  /* 서브메뉴 열기용 클래스 */
  .sz-menu li.sz-submenu-open>.sz-submenu {
    display: block;
  }

  .sz-submenu li a {
    padding-left: 40px;
    color: black;
  }

  .sz-submenu li a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .sz-submenu .sz-submenu {
    display: none;
  }

  .sz-toggle {
    display: flex;
  }

  /* .sz-popupwrap .sz-popup_list .sz-popup_img {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
  } */

  .gallery-section {
    width: 90vw !important;
  }

  .sz-gallery4 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }

  .sz-gallery4 .sz-title {
    width: 100%;
    height: auto;
  }

  .sz-gallery4 .sz-contain-gallery {
    margin-top: 30px;
    margin-right: 5%;
    width: 90%;
  }
}

.sz-menu>li.sz-active>a {
  color: var(--sz-main-color);
  font-weight: 700;
}

.sz-submenu li.sz-active>a {
  color: var(--sz-main-color);
  font-weight: bold;
}

.sz-footer {
  background-color: #1c1c1c;
  color: #fff;
  font-family: sans-serif;
  font-size: 14px;
  padding: 40px 20px 20px;
}

.sz-footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.sz-footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 10px;
}

.sz-footer-section>p {
  color: #d7d2d2;
  margin-bottom: -5px;
}

.sz-footer-title {
  font-weight: bold;
  margin-bottom: 0px;
  color: #d7d2d2;
  font-size: 20px !important;
}

.sz-footer-divider {
  border: none;
  border-top: 1px solid #555;
  margin: 20px 0;
}

.sz-footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #ccc;
}

#map {
  width: 100vw;
  max-width: 100%;
  height: 300px;
  min-height: 200px;
  border-radius: 10px;
}

@media (min-width: 768px) {
  #map {
    width: 500px;
    height: 350px;
  }
}

#sz-popup {
  position: fixed;
  top: 10%;
  right: 5%;
  width: 20%;
  height: 100%;
  z-index: 10000;
}

.sz-popupxwrap {
  overflow: hidden;
  display: block;
}

.sz-popupwrap {}

.sz-popupwrap .sz-popup_list {
  display: none;
}

.sz-popupwrap .sz-popup_list.active {
  display: inline-block;
}

.sz-popupwrap .sz-popupbtn {
  margin-top: 5px;
}

.sz-popupwrap .sz-popupbtn>span {
  height: 4em;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 6px;
  cursor: pointer;
  font-size: 0.8em;
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  background: #fff;
  color: #222;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  border-color: #222;
  border: 1px solid #222222;
}

.sz-popupwrap .sz-popupbtn>span.active {
  background: #222222;
  color: #fff;
}

.sz-popupx {
  float: right;
  display: inline-block;
  cursor: pointer;
  padding: 8px 12px;
  background: #fff;
  border: 1px soild #222222;
  color: #222222;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.sz-popupx>i {
  color: #222222;
}

.sz-popup-todayx {
  float: left;
  display: inline-block;
  cursor: pointer;
  padding: 8px 12px;
  background: #fff;
  border: 1px soild #222222;
  color: #222222;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.sz-popupx-today>i {
  color: #222222;
}

.fa {
  display: inline-block;
  font-size: inherit;
  text-rendering: auto;
}

.gallery-section {
  width: 65vw;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.sz-menu-link {}

@media (max-height: 799px) {
  #sz-popup2 {
    top: 30px !important;
  }

  .sz-popup2 .sz-popup_img {
    max-width: 80vw;
    width: 405px;
    aspect-ratio: 405 / 646;
    overflow: hidden;
    /* 혹시라도 넘치는 걸 잘라냄 */
  }
}

@media (max-width:991px) {
  .sz-deploy {
    /* bottom: 20px; */
    /* right: 20px; */
    /* bottom: 3rem !important; */
  }
}

/* Popup2 Style */
#sz-popup2 {
  display: none;
  position: fixed;
  right: 32px;
  top: 82px;
  width: 405px;
  max-width: 80vw;
  z-index: 9999;
  background: none;
  /* 오버레이 제거 */
  box-shadow: none;
  pointer-events: none;
  /* 팝업 외 영역 클릭 가능 */
}

.sz-popup2 {}

.sz-popup2 .sz-popup-swiper {
  width: 100%;
  height: 100%;
}

.sz-popup2 .sz-popupwrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.85);
  /* 진한 그림자 */
  /* padding: 15px; */
  margin: 0;
  position: relative;
  pointer-events: auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sz-popup2 .sz-popup_img {
  max-width: 80vw;
  width: 405px;
  aspect-ratio: 405 / 646;
  overflow: hidden;
  /* 혹시라도 넘치는 걸 잘라냄 */
}

.sz-popup2 .sz-popup_img img {
  /* width: 405px; */
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  display: block;
}

.sz-popup2 .sz-popup-btns {
  display: flex;
  gap: 12px;
  padding: 15px;
  justify-content: center;
}

.sz-popup2 .sz-popup-btn {
  flex: 1;
  padding: 10px 0;
  border-radius: 8px;
  border: none;
  background: #f5f5f5;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.sz-popup2 .sz-popup-btn:hover {
  background: #e0e0e0;
}

/* Swiper 버튼 위치 조정 */
.sz-popup2 .swiper-pagination-fraction {
  text-align: center;
}

.sz-popup2 .sz-popupx {
  float: right;
  display: inline-block;
  cursor: pointer;
  padding: 8px 12px;
  background: #c4c1c1;
  border: 1px soild #222222;
  color: #fff;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
}

.sz-popup2 .sz-popupx>i {
  color: #fff;
}

.sz-popup2 .sz-popup-todayx {
  float: left;
  display: inline-block;
  cursor: pointer;
  padding: 8px 12px;
  background: #ff8400;
  border: 1px soild #222222;
  color: #ffffff;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
}

.sz-deploy {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fa6a16;
  border-radius: 3rem 3rem 3rem 3rem;
  width: 14rem;
  height: 5.5rem;
  z-index: 100;
  /* opacity: 0.5; */
  align-items: center;
}

.sz-deploy:hover {
  opacity: 1.0 !important;
}

.sz-deploy a {
  display: flex;
  width: 100%;
  height: 100%;
  margin-left: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  /* justify-content: center; */
  align-items: center;
}

.sz-deploy .sz-deploy-icon {
  width: 20px;
  height: 20px;
  margin-left: 20px;
}
