@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
}

:root,
:root[data-theme='light'] {
  --bg-100: #ffffff;
  --bg-200: #e0e0e0;
  --bg-300: #aaaaaa;
  --bg-form-color: #ffffff;
  --color-wb: #f3f3f3;
  --color-wb-1: #ebebeb;
  --color-wb-2: #ebebeb;
  --text-100: #101010;
  --text-200: #222222;
  --text-300: #333333;
  --text-400: #444444;
  --text-500: #555555;
  --text-800: #999999;
  --text-900: #f1f1f1;
  --bg-color: #f1f1f1;
  --bg-section: #ffffff;
  --bg-card: #f9f9f9;
  --text-color: #101010;
  --text-sub-color: #333333;
  --sub-text: #666666;
  --border-color: #eeeeee;
  --border-color-2: #d6d6d6;
  --border-100: #111;
  --border-200: #252525;
  --point-color-1: #9b934a;
}

[data-theme='dark'] {
  --bg-100: #111111;
  --bg-200: #222222;
  --bg-300: #333333;
  --bg-form-color: #3b3b3b;
  --color-wb: #1e1e1e;
  --color-wb-1: #ebebeb;
  --color-wb-2: #a9a9a9;
  --text-100: #ffffff;
  --text-200: #e0e0e0;
  --text-300: #b8b8b8;
  --text-400: #adadad;
  --text-500: #a7a7a7;
  --text-800: #999999;
  --text-900: #122222;
  --bg-color: #111111;
  --bg-section: #222222;
  --bg-card: #2b2b2b;
  --text-color: #ffffff;
  --text-sub-color: #e0e0e0;
  --sub-text: #aaaaaa;
  --border-color: #4c4c4c;
  --border-color-2: #5a5a5a;
  --border-100: #fefefe;
  --border-200: #ececec;
  --point-color-1: #ccc265;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "Pretendard Variable", Pretendard, 'Pretendard', -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "맑은 고딕", "Noto Sans KR", Dotum, "돋움",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-100);
  font-display: swap;
}

body {
  background: var(--bg-100);
}

main {
  background: var(--bg-color);
  padding-bottom: 15px;
}

h2 {
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul,
ol,
li {
  list-style: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

.sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-title-sub {
  position: relative;
  font-size: 20px;
  padding-left: 15px;
  display: inline-block;
  margin-top: 5px;
  line-height: 1;
  font-weight: 500;
}

/* 왼쪽 세로 선 가상요소 */
.section-title-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #a7efad 50%, #aeb5ab 50%);
}

@media(max-width: 991px) {
  .section-title-sub {
    font-size: 14px;
    padding-left: 10px;
  }

  .section-title-sub::before {
    width: 3px;
  }
}

/* ==========================================================================
   사이드 메뉴 및 레이아웃 제어
   ========================================================================== */

/* 사이드바 본체 */
.side-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 100vh;
  background-color: #222;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* [중요] 본문 영역 밀어내기 제어 */
/* 기본 상태(서브페이지 등): 여백 없음 */
.main-content-wrapper {
  margin-left: 0;
  transition: margin-left 0.3s ease;
}

/* 인덱스 페이지(사이드바가 존재할 때): 80px 여백 발생 */
.main-content-wrapper.has-sidebar {
  margin-left: 80px;
}

/* 메뉴 컨테이너 및 아이템 스타일 */
.side-menu-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.side-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 85px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  gap: 8px;
}

.side-item:hover,
.side-item.active {
  color: #ccc265;
  background-color: rgba(255, 255, 255, 0.02);
}

/* SVG 아이콘 스타일 */
.nav-icon {
  width: 22px;
  height: 22px;
  transition: all 0.3s ease;
}

/* 메뉴 텍스트 스타일 */
.nav-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: inherit;
}

.side-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 3px;
  background-color: #ccc265;
}

/* 하단 SVG TOP 버튼 스타일 */
.btn-top {
  position: absolute;
  bottom: 30px;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.3s ease;
}

.btn-top svg {
  width: 24px;
  height: 24px;
}

.btn-top:hover {
  color: #fff;
  transform: translateY(-5px);
}

/* 모바일 대응 */
@media (max-width: 991px) {
  .side-navigation {
    display: none;
  }

  .main-content-wrapper.has-sidebar {
    margin-left: 0;
    /* 모바일에서는 사이드바가 사라지므로 여백도 제거 */
  }
}

/* ==========================================================================
   헤더 최종 완성본 (Hover 제거 + 스크립트 기반 상태 제어)
   ========================================================================== */

/* [1. 공통 및 PC 기본 스타일] */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: transparent;
  z-index: 9999;
  transition: all 0.3s ease;
  box-sizing: border-box;
  /* 테두리가 안쪽으로 생기게 함 */
  border-bottom: 1px solid transparent;
  /* 미리 투명하게 자리를 잡아둠 */
}

/* ⭐ 스크롤 시 또는 마우스 진입 시(active) 배경색 부여 */
#header.scrolled,
#header.active {
  background-color: var(--bg-100);
  border-bottom: 1px solid var(--border-color);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px 0 95px;
}

.mobile-gnb-wrap {
  display: none;
}

h1.logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
}

.logo a img {
  height: 40px;
  max-width: 220px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* 로고 기본 상태 */
.logo .logo-white {
  display: block;
  opacity: 1;
}

.logo .logo-dark {
  display: none;
}

/* ⭐ 스크롤 시 또는 마우스 진입 시(active) 로고 교체 */
#header.scrolled .logo .logo-white,
#header.active .logo .logo-white {
  display: none;
}

#header.scrolled .logo .logo-dark,
#header.active .logo .logo-dark {
  display: block;
  opacity: 1;
}

/* 다크모드일 때 화이트 로고 노출 */
[data-theme='dark'] #header .logo .logo-white {
  display: block !important;
  opacity: 1 !important;
}

/* 다크모드일 때 다크 로고 숨김 */
[data-theme='dark'] #header .logo .logo-dark {
  display: none !important;
}

/* PC GNB */
.gnb {
  flex: 1;
  height: 100px;
}

.gnb-list {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  list-style: none;
}

.main-item {
  width: 110px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.main-link {
  position: relative;
  font-weight: 600;
  font-size: 17px;
  line-height: 100px;
  color: #fff;
  text-decoration: none;
  z-index: 10;
}

.main-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--text-color);
  transition: width 0.3s ease;
}

/* 마우스를 올렸을 때(hover) 넓어지는 효과 */
.main-item:hover .main-link::after {
  width: 100%;
}

/* PC 서브메뉴 */
.sub-list {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 10;
  list-style: none;
}

.sub-list li a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-sub-color);
  text-align: center;
  text-decoration: none;
}

/* ⭐ 마우스 올렸을 때 서브메뉴 및 배경 노출 (active 클래스 기준) */
#header.active .sub-bg-layer {
  height: 240px;
  visibility: visible;
}

#header.active .sub-list {
  opacity: 1;
  visibility: visible;
}

.sub-bg-layer {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--bg-100);
  transition: all 0.3s;
  z-index: 5;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  visibility: hidden;
}

/* 헤더 우측 */
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.open-txt {
  color: #fff;
  font-size: 14px;
  border: 1px solid #fff;
  padding: 3px 10px;
  border-radius: 25px;
}

.tel-link {
  display: flex;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.tel-icon-box {
  display: flex;
  align-items: center;
  width: 13px;
  margin-right: 3px;
  margin-top: 3px;
}

.menu-open-btn {
  display: flex;
  padding: 6px !important;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.menu-open-btn svg .icon-rect {
  fill: #ffffff;
  transition: fill 0.3s ease;
}

/* ⭐ [수정] 스크롤 또는 마우스 진입 시(active) 요소 색상 전환 */
#header.scrolled .menu-open-btn svg .icon-rect,
#header.active .menu-open-btn svg .icon-rect {
  fill: var(--text-color);
}

#header.scrolled .main-link,
#header.active .main-link,
#header.scrolled .tel-link,
#header.active .tel-link,
#header.scrolled .logo a,
#header.active .logo a,
#header.scrolled .open-txt,
#header.active .open-txt {
  color: var(--text-color);
}

#header.scrolled .open-txt,
#header.active .open-txt {
  border-color: var(--text-color);
}

#full-menu-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-section);
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  clip-path: circle(0% at 95% 5%);
  transition: clip-path 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.25s ease-out,
    visibility 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 활성화 상태: 원이 150%까지 커지며 화면을 다 덮음 */
#full-menu-layer.active {
  visibility: visible;
  opacity: 1;
  clip-path: circle(150% at 95% 5%);
}

.menu-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 50px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  transition: opacity 0.3s ease 0.4s;
}

.full-menu-container {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  height: 100%;
  width: 95%;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

.menu-column {
  flex: 1;
  min-width: 0;
  padding: 180px 10px 20px 10px;
  text-align: center;
  border-right: 1px solid var(--border-100);
  box-sizing: border-box;
}

.menu-column:last-child {
  border-right: none;
}

.column-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.column-list {
  list-style: none;
  padding: 0;
}

.column-list li {
  margin-bottom: 12px;
}

.column-list li a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--text-300);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.column-list li a:hover {
  color: var(--point-color-1);
}

/* [테마 토글 버튼 기본 스타일] */
.theme-toggle-area {
  display: flex;
  align-items: center;
}

.theme-toggle-btn {
  position: relative;
  width: 54px;
  height: 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  /* 아이콘들이 양옆에 배치되도록 함 */
  transition: all 0.3s ease;
}

/* 움직이는 동그란 볼 */
.theme-ball {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  /* 볼이 아이콘 위에 오도록 함 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ⭐ SVG 아이콘 공통 설정 (i 태그 스타일 대체) */
.theme-toggle-btn svg {
  width: 14px;
  height: 14px;
  z-index: 1;
  /* 볼 아래에 위치 */
  transition: all 0.3s ease;
}

/* 기본 상태 (화이트모드) 아이콘 색상 */
.icon-sun {
  color: #ff9800;
  opacity: 1;
}

.icon-moon {
  color: #f1c40f;
}

/* ⭐ 스크롤 시 버튼 테두리 변경 */
#header.scrolled .theme-toggle-btn,
#header.active .theme-toggle-btn {
  border-color: rgba(0, 0, 0, 0.2);
}

/* ---------------------------------------------------------
   [다크모드 활성화 시 스타일 변화]
   --------------------------------------------------------- */
[data-theme='dark'] .theme-ball {
  left: 29px;
}

[data-theme='dark'] .icon-sun {
  opacity: 0.5;
  color: #fff;
}

[data-theme='dark'] .icon-moon {
  opacity: 1;
  color: #f1c40f;
}

[data-theme='dark'] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

@media(max-width: 1600px) {
  .logo a img {
    max-width: 180px;
  }

  .main-item {
    width: 90px;
  }

  .main-link {
    font-size: 16px;
  }

  .open-txt {
    display: none;
  }
}

@media (max-width: 991px) {
  #header {
    height: auto;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 0 0;
    top: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    border-radius: 15px;
    overflow: hidden;
  }

  #header .container {
    padding: 0 15px;
  }

  #header.scrolled {
    border-bottom: 1px solid var(--border-color);
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
  }

  .logo a img {
    max-height: 24px;
    max-width: 150px;
  }

  .gnb,
  .sub-bg-layer,
  .sub-list,
  .open-txt,
  .tel-link {
    display: none;
  }

  .header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
  }

  /* 가로 스크롤 메뉴바 감싸는 영역 */
  .mobile-gnb-wrap {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-gnb-wrap::-webkit-scrollbar {
    display: none;
  }

  .mobile-only-gnb {
    display: block;
    width: 100%;
    height: 48px;
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    transition: all 0.3s;
  }

  .mobile-gnb-list {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    align-items: center;
    padding: 0 10px;
    list-style: none;
    margin: 0;
  }

  .mobile-gnb-list li {
    flex: 0 0 auto;
  }

  .mobile-gnb-list li a {
    font-size: 15px;
    font-weight: 500;
    padding: 0 8px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    line-height: 48px;
    white-space: nowrap;
  }

  #header.scrolled .mobile-gnb-list li a {
    color: var(--text-color);
  }

  /* 모바일 풀페이지 메뉴 */
  #full-menu-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-section);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .full-menu-container {
    display: block;
    width: 100%;
    margin: 80px auto 60px;
    text-align: left;
  }

  .menu-close-btn {
    top: 15px;
    right: 25px;
    font-size: 38px;
  }

  .menu-column {
    width: 100%;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-100);
  }

  .column-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    margin: 0;
  }

  .column-title::after {
    content: '+';
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s;
    position: static;
    background: none;
  }

  .menu-column.active .column-title::after {
    transform: rotate(45deg);
  }

  .column-list {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease,
      padding 0.4s ease;
    list-style: none;
    margin: 0;
  }

  .menu-column.active .column-list {
    display: block;
    border-top: 1px solid var(--border-100);
    max-height: 500px;
    opacity: 1;
    padding: 20px 0;
  }

  .column-list li {
    margin-bottom: 0;
  }

  .column-list li a {
    font-size: 16px;
    text-align: left;
    padding: 8px 30px;
  }
}

/* ==========================================================================
   푸터
   ========================================================================== */

/* Footer Styles */
#footer {
  background-color: var(--bg-color);
  color: var(--font-sub);
  border-top: 1px solid var(--line-color);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
  margin-top: -15px;
}

.footer-container {
  padding: 15px;
  background: var(--bg-section);
  margin: 0 auto;
}

.footer-wrapper {
  max-width: 1440px;
  padding: 40px 0;
  margin: 0 auto;
}

.footer-title {
  color: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-info {
  margin-bottom: 20px;
}

.footer-info b {
  color: var(--font-main);
}

.footer-notice {
  border-top: 1px solid var(--line-color);
  padding-top: 20px;
  opacity: 0.8;
}

.footer-copy {
  margin-top: 15px;
  font-size: 13px;
}

.notice-txt {
  font-size: 13px;
}

/* 모바일 하단 네비게이션 바 */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  border-radius: 15px 15px 0 0;
  background: var(--bg-100);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10001;
  padding-bottom: env(safe-area-inset-bottom);
}

/* 개별 아이템 스타일 */
.nav-item {
  flex: 1;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-300);
  transition: all 0.2s ease;
}

/* SVG 아이콘 크기 */
.nav-item svg {
  width: 24px;
  height: 24px;
  padding: 4px 16px;
  border-radius: 15px;
  background-color: transparent;
  transition: all 0.2s ease;
  margin-bottom: 4px;
  box-sizing: content-box;
}

/* 메뉴 텍스트 크기 */
.nav-item span {
  font-size: 12px;
  font-weight: 500;
}

/* PC에서는 숨기기 (모바일 전용일 경우) */
@media (min-width: 992px) {
  .mobile-nav {
    display: none;
  }
}

@media(max-width: 991px) {
  .footer-container {
    padding: 15px 15px 80px 15px;
  }

  .footer-wrapper {
    padding: 20px 0;
  }

  .footer-info {
    font-size: 14px;
  }
}

/* ==========================================================================
   메인 비쥬얼
   ========================================================================== */
.main-visual {
  width: 100%;
  height: 100svh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.main-swiper,
.swiper-slide {
  width: 100%;
  height: 100%;
  background: #000;
}

/* ⭐ CSS로 옮겨온 그라데이션 레이어 */
.main-visual-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* 1. 슬라이드 기본 설정 (중복 제거 및 정리) */
.main-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1;
}

/* 2. 어두운 배경 레이어 (::before) */
.main-swiper .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
  z-index: 2;
  pointer-events: none;
}

.main-visual-item {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px 0 60px;
}

.text-group {
  text-align: left;
  color: #fff;
  opacity: 0;
}

/* 활성 슬라이드의 텍스트만 등장 */
.swiper-slide-active .text-group {
  opacity: 1;
  transform: translateY(-30%);
}

.text-group .sub-title {
  display: block;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
}

.text-group .main-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 35px;
}

.text-group .main-title b {
  color: var(--accent-color);
}

.text-group .desc {
  font-size: 20px;
  font-weight: 300;
  opacity: 0.9;
}

/* Swiper 점(페이지네이션) 커스텀 */
.main-visual .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.main-visual .swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
  opacity: 1;
}

/* 썸네일 위치 및 스타일 */
.main-visual .thumbs-swiper {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  margin-left: 60px !important;
  z-index: 20;
}

.main-visual .thumbs-swiper .swiper-wrapper {
  display: flex;
}

.main-visual .thumbs-swiper .swiper-slide {
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  margin-right: 10px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
  background-size: cover;
  background-position: center;
}

/* 활성화 상태 */
.main-visual .thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border: 3px solid #fff;
}

@media (max-width: 991px) {
  .main-visual {
    width: 100%;
    height: 500px;
  }

  .hero-container {
    padding: 0 20px 0;
  }

  .main-visual .thumbs-swiper {
    bottom: 80px;
    margin-left: 15px !important;
  }

  .main-visual .thumbs-swiper .swiper-slide {
    width: 90px;
    height: 60px;
  }

  .swiper-slide-active .text-group {
    transform: translateY(-20%);
  }

  .text-group .main-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .text-group .sub-title {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .text-group .desc {
    font-size: 15px;
  }

  .btn-primary {
    padding: 15px 35px;
    font-size: 1rem;
  }
}


/* ==========================================================================
   사업개요 섹션
   ========================================================================== */
/* [SECTION] 사업개요 풀와이드 디자인 */

.summary-section.full-wide {
  width: calc(100% - 30px);
  height: 100%;
  background-color: var(--bg-section);
  margin: 15px auto;
  border-radius: 15px;
  overflow: hidden;
}


.summary-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

/* 좌측 텍스트 영역 */
.summary-content {
  flex: 1;
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 세로 중앙 정렬 */
}

#summary .section-title {
  font-size: 70px;
  text-align: left;
  margin-bottom: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  color: var(--text-color);
}

.summary-header .section-title-sub {
  margin-bottom: 40px;
}

.summary-header .title-desc {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 35px;
}

.summary-header .title-desc strong {
  color: #a98738;
}

/* ⭐ PC 그리드: 가로 3칸 고정 */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
  padding-top: 50px;
  border-top: 1px solid var(--border-color);
}

.grid-item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.grid-item dt {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 15px;
}

.grid-item dd {
  font-size: 16px;
  color: var(--text-300);
  line-height: 1.6;
}

/* ⭐ 우측 이미지 영역: 세로로 꽉 차게 */
.summary-image {
  flex: 0 0 45%;
  /* 이미지 영역 비중 조절 (45%) */
  position: relative;
  overflow: hidden;
}

.summary-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 이미지가 찌그러지지 않고 영역을 꽉 채움 */
}

@media (max-width: 991px) {
  .summary-section.full-wide {
    height: auto;
    position: relative;
    z-index: 10;
    width: calc(100% - 30px);
    margin: -50px auto 0;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .summary-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .summary-image {
    flex: none;
    width: 100%;
    aspect-ratio: 10 / 7;
    position: relative;
    overflow: hidden;
  }

  .summary-content {
    padding: 20px 0 20px 15px;
  }

  #summary .section-title {
    font-size: 28px;
  }

  .summary-header .section-title-sub {
    margin-bottom: 15px;
  }

  .summary-header .title-desc {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .summary-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 20px 0 10px;
    align-items: stretch;
  }

  /* 스크롤바 숨기기 (디자인 깔끔하게) */
  .summary-grid::-webkit-scrollbar {
    display: none;
  }

  /* 각 항목 박스 설정 */
  .grid-item {
    flex: 0 0 auto !important;
    width: 140px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 15px;
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
  }

  .grid-item dt {
    font-size: 15px;
    margin-bottom: 8px;
    white-space: nowrap;
  }

  .grid-item dd {
    font-size: 13px;
    line-height: 1.5;
    white-space: normal !important;
    word-break: keep-all;
    margin-left: 0;
  }
}

/* ==========================================================================
   프리미엄 섹션
   ========================================================================== */
section#premium {
  margin: 15px auto;
  width: calc(100% - 30px);
  background: var(--bg-section);
  border-radius: 15px;
}

.premium-section .swiper-wrapper {
  padding: 100px 0 0;
}

/* 새로 추가: 클래스로 위치 고정 */
.premium-slider .swiper-slide.is-up .premium-card {
  position: relative;
  top: -100px;
}

.premium-wrapper {
  padding: 100px 80px;
}

/* 헤더 및 컨트롤 레이아웃 */
.premium-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

#premium .section-title {
  color: var(--text-color);
  text-align: left;
  font-size: 70px;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  margin-bottom: 0;
}

.premium-controls {
  display: flex;
  gap: 10px;
  position: relative;
  margin-right: 15px;
}

/* 동그란 화살표 버튼 커스텀 */
#premium .premium-prev,
#premium .premium-next {
  position: static;
  width: 42px;
  height: 42px;
  margin: 0;
  background: var(--bg-color);
  border-radius: 50%;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* 화살표 아이콘 크기 조절 */
#premium .premium-next::after,
#premium .premium-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.premium-slider .swiper-slide {
  background: none;
}

/* [CSS 부분은 기존과 동일하므로 생략하지만, 반드시 포함되어야 합니다] */
.premium-slider {
  width: 100%;
  overflow: hidden;
}

.premium-card {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 0 25px 25px 25px;
  margin: 0 auto;
}

.premium-img-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 25px 25px 25px;
  overflow: hidden;
  z-index: 0;
}

.premium-deco {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 140px;
  height: 46px;
  background-color: var(--bg-section);
  border-radius: 0 0 25px 0;
}

.premium-deco:after {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 20px 20px 0 0 var(--bg-section);
  transform: rotate(180deg);
}

.premium-deco:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -80px;
  width: 80px;
  height: 80px;
  border-radius: 50% 0;
  box-shadow: 20px 20px 0 0 var(--bg-section);
  transform: rotate(180deg);
}

.premium-badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 130px;
  text-align: center;
}

.premium-badge span {
  display: inline-block;
  width: 100%;
  padding: 6px 12px;
  color: #f1f1f1;
  background-color: #c93737;
  letter-spacing: 1px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
}

.premium-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px 0 0 0;
}

/* [새로 추가된 하단 정보 스타일] */
.premium-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  box-sizing: border-box;
}

.premium-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;
}

.premium-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;
  max-height: 4.2em;
}

/* 하단 페이지네이션 컨테이너 */
.premium-pagination {
  position: relative !important;
  bottom: 0 !important;
  margin-top: 40px;
  height: 40px;
  z-index: 10 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* 기본 점 스타일 */
.premium-pagination .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: var(--text-color);
  opacity: 0.2 !important;
  margin: 0 !important;
  position: relative;
  transition: all .3s;
}

/* [핵심] 활성화된 점 디자인: 중앙 동그라미 + 외곽선 */
.premium-pagination .swiper-pagination-bullet-active {
  width: 12px !important;
  background: #ccc265 !important;
  opacity: 1 !important;
  overflow: visible !important;
}

/* 활성화된 점 바깥의 둥근 선(링) */
.premium-pagination .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  /* 바깥 선의 크기 */
  height: 20px;
  border: 1px solid #ccc265;
  /* 바깥 선 색상 */
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
  /* 미세하게 움직이는 효과(선택사항) */
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.4;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
}

@media(max-width: 991px) {
  section#premium {
    padding-left: 15px;
  }

  .premium-wrapper {
    padding: 20px 0;
  }

  .premium-section .swiper-wrapper {
    padding: 0;
  }

  .premium-slider .swiper-slide.is-up .premium-card {
    top: 0;
  }

  .premium-header {
    margin-bottom: 20px;
  }

  #premium .section-title {
    font-size: 28px;
  }


  .premium-pagination {
    margin-top: 20px;
  }

  #premium .premium-prev,
  #premium .premium-next {
    width: 32px;
    height: 32px;
  }

  #premium .premium-next::after,
  #premium .premium-prev::after {
    font-size: 14px;
  }
}

/* ==========================================================================
   입지환경
   ========================================================================== */
#location {
  margin: 15px auto;
  width: calc(100% - 30px);
  background: var(--bg-section);
  border-radius: 15px;
}

.location-wrapper {
  padding: 100px 80px;
  margin: 0 auto;
}

.location-header {
  margin-bottom: 60px;
}

#location .section-title {
  color: var(--text-color);
  text-align: left;
  font-size: 70px;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  margin-bottom: 0;
}

#location .section-title-sub {
  font-size: 20px;
}

.location-content {
  display: flex;
  gap: 40px;
  /* 지도와 설명 사이 간격 */
  margin-top: 50px;
  align-items: flex-start;
}

/* 왼쪽 지도 영역 */
.map-area {
  flex: 1.2;
  /* 지도를 약간 더 넓게 설정 */
}

.map-area img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  /* 시안처럼 둥근 모서리 */
  display: block;
}

/* 오른쪽 설명 영역 */
.info-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  min-height: 100%;
}

.info-text-group {
  margin: auto 0;
  padding: 20px 0;
}

.info-title-area {
  margin-bottom: 25px;
  /* 설명과의 간격 */
}

.location-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
  color: #5a739f;
  margin-bottom: 0;
}

.location-desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-300);
  margin-bottom: 30px;
}

/* 썸네일 그룹 (항상 하단에 위치하게 됨) */
.thumb-group {
  display: flex;
  gap: 15px;
}

.thumb-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

/* 썸네일 이미지 (비율 유지) */
.thumb-item img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  display: block;
}

/* [추가] 썸네일 우측 하단 '이미지컷' 문구 */
.thumb-item::after {
  content: '이미지컷';
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 991px) {
  .location-wrapper {
    padding: 20px 15px;
  }

  .location-header {
    margin-bottom: 20px;
  }

  #location .section-title {
    font-size: 28px;
  }

  #location .section-title-sub {
    font-size: 14px;
  }

  .location-content {
    flex-direction: column;
    /* 세로 정렬 */
    gap: 20px;
    margin-top: 30px;
  }

  .map-area,
  .info-area {
    width: 100%;
  }

  .location-title {
    font-size: 18px;
  }

  .location-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .thumb-group {
    gap: 10px;
  }

  .thumb-item::after {
    font-size: 9px;
    right: 5px;
    bottom: 5px;
    padding: 1px 4px;
  }
}

/* ==========================================================================
   오시는길 (통합 버전)
   ========================================================================== */
#contact {
  margin: 15px auto;
  width: calc(100% - 30px);
  background: var(--bg-section);
  border-radius: 15px;
}

.contact-wrapper {
  padding: 100px 80px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 50px;
}

#contact .section-title {
  color: var(--text-color);
  text-align: left;
  font-size: 70px;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  margin-bottom: 0;
}

/* 레이아웃 구조: 왼쪽(정보) + 오른쪽(지도) */
.contact-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

/* 왼쪽 정보 영역 */
.contact-info-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.info-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-200);
}

.info-item h3 svg {
  background: var(--bg-color);
  color: var(--text-200);
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  stroke-width: 1.5;
}

.info-item p {
  font-size: 16px;
  color: var(--text-300);
  line-height: 1.6;
}

.info-item .tel {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-100);
  display: block;
  margin-top: 5px;
}

/* 지도 영역 부모 */
.contact-map-side {
  position: relative;
  flex: 1.4;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #eee;
}

/* 지도 전체를 덮어 스크롤을 막는 투명 레이어 */
.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  /* 완전 투명하게 하여 지도 가독성 유지 */
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  /* 자식 요소를 바닥으로 정렬 */
}

/* 하단 가로 100% 활성화 바 */
.map-unlock-bar {
  width: 100%;
  background: rgba(51, 51, 51, 0.9);
  color: #f3f3f3;
  text-align: center;
  padding: 15px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(4px);
  transition: background 0.3s;
}

.map-overlay:hover .map-unlock-bar {
  background: #000;
  /* 호버 시 더 진하게 */
}

/* 안내 문구 영역 스타일 */
.info-notice {
  margin-top: 10px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 10px;
}

.notice-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-300);
  margin-bottom: 12px;
}

.notice-text strong {
  color: var(--text-200);
  font-weight: 700;
}

/* 방문예약 버튼 스타일 */
.visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--text-300);
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--text-300);
  padding: 8px 15px;
}

.visit-btn:hover {
  color: #e6a543;
}

/* 카카오 약도 커스텀 스타일 */
.root_daum_roughmap {
  width: 100% !important;
}

.root_daum_roughmap .wrap_map {
  height: 600px !important;
  /* PC 기준 높이 */
}

/* 하단 정보창 숨기기 */
.root_daum_roughmap .cont,
.root_daum_roughmap .wrap_controllers {
  display: none !important;
}

@media (max-width: 991px) {
  .contact-wrapper {
    padding: 20px 15px;
  }

  .contact-header {
    margin-bottom: 30px;
  }

  #contact .section-title {
    font-size: 32px;
  }

  .contact-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .contact-info-side {
    order: 2;
    width: 100%;
    gap: 25px;
  }

  .contact-map-side {
    order: 1;
    width: 100%;
  }

  .map-unlock-bar {
    padding: 10px 0;
    font-size: 14px;
  }

  .root_daum_roughmap .wrap_map {
    height: 300px !important;
  }

  .info-item h3 {
    font-size: 17px;
  }

  .info-item h3 svg {
    width: 28px;
    height: 28px;
    padding: 6px;
  }

  .info-item p {
    font-size: 15px;
  }

  .info-item .tel {
    font-size: 18px;
  }

  .info-notice {
    width: 100%;
  }

  .visit-btn {
    font-size: 13px;
  }
}

@media(max-width: 576px) {
  .root_daum_roughmap .wrap_map {
    height: 260px !important;
  }
}

/* ==========================================================================
   자주 묻는 질문 (FAQ) - Semantic & Animated
   ========================================================================== */

/* 섹션 기본 레이아웃 */
#faq {
  margin: 15px auto;
  width: calc(100% - 30px);
  background: var(--bg-section);
  border-radius: 15px;
}

.faq-wrapper {
  padding: 100px 80px;
  margin: 0 auto;
}

.faq-header {
  margin-bottom: 30px;
}

#faq .section-title {
  color: var(--text-color);
  text-align: left;
  font-size: 70px;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  margin-bottom: 0;
}

/* FAQ 리스트 컨테이너 */
.faq-list {
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

/* 개별 아이템 (details) */
.faq-item {
  border-bottom: 1px solid var(--border-color);
}

/* 질문 구역 (summary) */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  cursor: pointer;
  list-style: none;
  outline: none;
}

/* 브라우저 기본 화살표 숨기기 */
.faq-question::-webkit-details-marker {
  display: none;
}

/* 질문 내부 h3 구조화 */
.faq-question h3 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 18px;
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}

.faq-question .q-mark {
  color: #d92a7b;
  font-weight: 800;
  margin-right: 12px;
  font-size: 20px;
}

/* + / - 아이콘 박스 */
.faq-icon-box {
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: 15px;
  flex-shrink: 0;
}

/* 가로 선 (기본 마이너스 형태) */
.faq-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 2px;
  background-color: var(--text-sub-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 세로 선 (플러스 형태를 만듦) */
.faq-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-sub-color);
  transform: rotate(90deg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* [열림 상태 스타일] */
.faq-item[open] {
  background-color: var(--text-100);
}

.faq-item[open] .faq-question {
  background-color: var(--bg-card);
}

.faq-item[open] .q-text {
  color: var(--text-100);
}

/* [열림 상태 아이콘 애니메이션] */
.faq-item[open] .faq-icon {
  transform: translate(-50%, -50%) rotate(180deg);
  /* 전체 회전 효과 */
}

.faq-item[open] .faq-icon::before {
  transform: rotate(0deg);
}

/* 답변 구역 (div) */
.faq-answer {
  overflow: hidden;
  background-color: var(--bg-card);
}

.faq-answer article {
  padding: 30px 40px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sub-text);
  border-top: 1px solid #f0f0f0;
}

/* [핵심] 리스트와 이미지를 가로로 가로로 배치 */
.faq-content-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

/* [왼쪽] 리스트 영역 너비 설정 */
.faq-list-area {
  flex: 1;
  min-width: 0;
  max-width: 1000px;
}

.faq-image-area {
  width: 300px;
  height: 400px;
  align-self: flex-end;
  flex-shrink: 0;
  margin-bottom: 5px;
}

.faq-side-image-wrapper {
  position: relative;
  width: auto;
  height: 100%;
  overflow: hidden;
}

.faq-side-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* 이미지에 마우스 올렸을 때 살짝 확대되는 감성 효과 */
.faq-side-image-wrapper:hover .faq-side-img {
  transform: scale(1.05);
}

/* 모바일 대응 */
@media (max-width: 991px) {
  .faq-wrapper {
    padding: 20px 15px;
  }

  .faq-header {
    margin-bottom: 20px;
  }

  .faq-question {
    padding: 15px 10px;
  }

  #faq .section-title {
    font-size: 28px;
  }

  .faq-question h3 {
    font-size: 15px;
  }

  .faq-answer article {
    padding: 20px;
  }

  .faq-question .q-mark {
    font-size: 18px;
  }

  .faq-icon {
    width: 11px;
  }

  .faq-list-area {
    max-width: 100%;
  }

  .faq-image-area {
    display: none;
  }
}

/* ==========================================================================
   서브페이지
   ========================================================================== */

/* 서브페이지 헤더 섹션 */
.sub-page-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

/* 어두운 오버레이 (글자 가독성 확보) */
.sub-page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.sub-page-header .container {
  position: relative;
  z-index: 2;
  margin-top: 160px;
  margin-bottom: 60px;
}

.sub-page-header h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 브레드크럼 (HOME > 대메뉴 > 소메뉴) */
.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #fff;
}

.separator-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 8px;
  opacity: 0.6;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.breadcrumb strong {
  color: #fff;
  font-weight: 600;
}

.sub-nav-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0;
}

.sub-nav-item {
  position: relative;
  /* 아래 두 줄이 핵심입니다 */
  display: flex;
  align-items: center;
}

.sub-nav-item::after {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  background-color: #ccc;
  opacity: 0.6;
}

/* 마지막 항목 세로선 제거 */
.sub-nav-item:last-child::after {
  display: none;
}

.sub-nav-item a {
  display: block;
  padding: 20px 40px;
  font-size: 17px;
  text-decoration: none;
  color: #dfdfdf;
  transition: 0.3s;
}

.sub-nav-item a:hover,
.sub-nav-item.active a {
  color: #fff;
  font-weight: 700;
}

/* 활성화된 메뉴 하단 라인 (nav-line) */
.sub-nav-item.active .nav-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ccc265;
}

.sub-page-content-wrapper {
  background: var(--bg-section);
  margin: 15px;
  border-radius: 15px;
}

.sub-page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 991px) {
  .sub-page-header .container {
    margin-top: 140px;
    margin-bottom: 40px;
  }

  .sub-page-header h2 {
    font-size: 32px;
  }

  .sub-nav-list {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .sub-nav-list::-webkit-scrollbar {
    display: none;
  }

  .sub-nav-item {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
  }

  /* 세로선 정렬 수정 */
  .sub-nav-item::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 1px;
    height: 10px;
    background-color: #ccc;
    opacity: 0.6;
    margin-top: -2px;
  }

  .sub-nav-item a {
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    padding: 15px 15px;
  }

  /* 모바일에서 하단 라인 위치 미세조정 */
  .sub-nav-item.active .nav-line {
    bottom: 0;
    left: 0;
    right: 0;
  }


  .sub-page-content-wrapper {
    background: var(--bg-section);
    margin: 15px 0;
    border-radius: 0;
  }

  .sub-page-content {
    padding: 30px 15px;
  }
}


@media (min-width: 992px) and (max-width: 1399px) {

  .main-visual {
    min-height: 600px;
  }

  .text-group .main-title {
    font-size: 58px;
  }

  .text-group .sub-title {
    font-size: 24px;
  }

  .summary-content,
  .premium-wrapper,
  .location-wrapper,
  .faq-wrapper,
  .contact-wrapper {
    padding: 40px;
  }

  #summary .section-title,
  #premium .section-title,
  #location .section-title,
  #faq .section-title,
  #contact .section-title {
    font-size: 52px;
  }

  .summary-header .title-desc {
    font-size: 20px;
  }

  .grid-item dt {
    font-size: 18px;
  }
}