/* Header, Footer, Layout 관련 CSS 작성 */

/* Header { */
:root {
  --header-height: calc(var(--header-top) + var(--gnb-height));
  /* --header-top: 40px; */
  /* --gnb-height: 90px; */
  --header-top: 30px;
  --gnb-height: 80px;
  --ui-duration: 0.3s;
  --ui-duration-panel: 0.35s;
  --ui-easing: ease;
}
.header {position: fixed; top: 0; left: 0; right: 0; z-index: 200; background-color: var(--white-color); transform: translateY(0); transition: transform var(--ui-duration) var(--ui-easing), box-shadow var(--ui-duration) var(--ui-easing);}
.header.is-compact {transform: translateY(calc(var(--header-top) * -1));}
.header.is-scrolled {box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);}
.header-top {}
.header-inner {display: flex; align-items: center; justify-content: start; gap: 70px; height: var(--header-top);}
.header-subutils {display: flex; align-items: center; justify-content: center; gap: 15px; margin-left: auto;}
.header-subutil-item {position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--gray-color); font-size: var(--text-14); font-weight: 500; line-height: 1;}
.header-subutil-btn {flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 20px; aspect-ratio: 1 / 1; border-radius: 100px; background: var(--surface-color); border: none; color: var(--text-color); font-size: 12px; line-height: 1; transition: opacity var(--ui-duration) var(--ui-easing);}
.header-subutil-btn:disabled {opacity: 0.4; cursor: not-allowed;}
.header-subutil-btn#viewportZoomReset {display: none;}
.header-subutil-btn#viewportZoomReset.is-visible {display: flex;}
.header-subutil-item a:hover {text-decoration: underline;}

.header-contents {}
.header-contents .header-inner {height: var(--gnb-height);}
.header-logo {flex-shrink: 0; align-self: start; margin-right: auto; padding-top: 10px;}
.header-logo a {display: block; font-size: 0;}
.header-logo img {display: block; width: 344px;}
.header-nav {margin-left: auto;}
.gnb {display: flex; align-items: center; justify-content: center; gap: 15px;}
.gnb-li {flex: 1; position: relative; text-align: center;}
.gnb-a {display: flex; align-items: center; justify-content: center; width: 160px; height: var(--gnb-height); color: var(--text-color); font-size: var(--text-22); font-weight: 600; line-height: 1.18; white-space: nowrap; transition: color var(--ui-duration) var(--ui-easing);}
.gnb-a:hover,
.gnb-li.is-open > .gnb-a {color: var(--main-color);}
.gnb-dep2 {position: absolute; top: calc(100% - 20px); left: 50%; transform: translateX(-50%); z-index: 1; width: 200px; min-width: 100%; padding: 0 16px; border-radius: 10px; background-color: var(--white-color); border: 1px solid transparent; box-shadow: none; overflow: hidden; max-height: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: max-height var(--ui-duration) var(--ui-easing), opacity var(--ui-duration) var(--ui-easing), padding var(--ui-duration) var(--ui-easing), visibility var(--ui-duration) var(--ui-easing), border-color var(--ui-duration) var(--ui-easing), box-shadow var(--ui-duration) var(--ui-easing);}
.gnb-li.is-open .gnb-dep2 {max-height: 480px; padding: 14px 16px; border-color: var(--main-color); box-shadow: 0 0 20px var(--shadow-light-color); opacity: 1; visibility: visible; pointer-events: auto;}
.gnb-dep2-li {opacity: 0; transform: translateY(-6px); transition: opacity var(--ui-duration) var(--ui-easing), transform var(--ui-duration) var(--ui-easing);}
.gnb-li.is-open .gnb-dep2-li {opacity: 1; transform: none; transition-delay: var(--stagger-delay, 0s);}
.gnb-dep2-li ~ .gnb-dep2-li {margin-top: 5px;}
.gnb-dep2-a {display: block; padding: 2px; border-radius: 4px; color: var(--text-color); font-size: 1rem; font-weight: 400; line-height: 1.5; background-color: transparent; background-image: var(--main-gradient); background-repeat: no-repeat; background-position: left center; background-size: 0% 100%; transition: background-size var(--ui-duration) var(--ui-easing), color var(--ui-duration) var(--ui-easing), font-weight var(--ui-duration) var(--ui-easing);}
.gnb-dep2-a:hover {background-size: 100% 100%; color: var(--white-color); font-weight: 500;}
.gnb-dep2-a[target="_blank"]::after {content: '\ECAF'; font-family: 'remixicon' !important; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin-left: 5px; font-size: 1em;}

.header-utils {flex-shrink: 0; display: flex; align-items: center; justify-content: end; gap: 15px;}
.header-util-item {font-size: 0;}
.header-btn {position: relative; overflow: hidden; width: 38px; aspect-ratio: 1 / 1; border-radius: 4px; background-color: transparent; border: none; font-size: 2.375rem; line-height: 1;}
.header-btn::after {content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 0; aspect-ratio: 1 / 1; border-radius: 100px; background-color: #FFF6F0; opacity: 0; transition: width 0.3s, opacity 0.6s;}
.header-btn:hover::after {width: 100%; opacity: 1;}
.header-btn i {position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform var(--ui-duration) var(--ui-easing);}
.header-btn i:nth-of-type(1) {transform: translateY(0);}
.header-btn i:nth-of-type(2) {transform: translateY(100%);}
.header-btn.is-active i:nth-of-type(1) {transform: translateY(-100%);}
.header-btn.is-active i:nth-of-type(2) {transform: translateY(0);}
.header-btn.fullmenu-trigger i {background-image: var(--main-gradient-vertical); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;}

.header-search-wrap {position: absolute; top: 100%; left: 0; right: 0; z-index: 3; overflow: hidden; padding: 0; background-color: var(--bg-color); border-top: 1px solid transparent; box-shadow: none; max-height: 0; opacity: 0; visibility: hidden; pointer-events: none; font-size: var(--text-base); color: var(--text-color); transition: max-height var(--ui-duration-panel) var(--ui-easing), opacity var(--ui-duration-panel) var(--ui-easing), padding var(--ui-duration-panel) var(--ui-easing), visibility var(--ui-duration-panel) var(--ui-easing), border-color var(--ui-duration-panel) var(--ui-easing), box-shadow var(--ui-duration-panel) var(--ui-easing);}
.header-search-wrap.is-open {max-height: 600px; padding: 70px 0 80px; border-top-color: var(--text-color); box-shadow: 0 5px 10px var(--shadow-light-color); opacity: 1; visibility: visible; pointer-events: auto;}
.header-search-wrap form {width: 100%;}
.header-search-inner {display: flex; align-items: center; justify-content: center; flex-direction: column;}
.header-search-inner .title {margin-bottom: 9px; color: #141414; font-size: var(--text-50); font-weight: 700; line-height: 1.2; text-align: center;}
.header-search-item {overflow: hidden; position: relative; width: 100%; max-width: 440px; border-radius: 3px; border: 1px solid var(--border-color);}
.header-search-input {width: 100%; height: 50px; padding: 0 70px 0 20px; border: none; color: #141414; font-size: 1rem; font-weight: 400;}
.header-search-input::placeholder {color: var(--gray-color);}
.header-search-input:focus-visible {outline-offset: -4px;}
.header-search-submit {position: absolute; top: 50%; right: 0; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; height: 100%; aspect-ratio: 1 / 1; background: var(--main-gradient); border: none; color: var(--white-color); font-size: 1.375em; line-height: 1;}
.header-search-submit:focus-visible {outline-offset: -4px;}

.header-fullmenu-wrap {position: absolute; top: 100%; left: 0; right: 0; z-index: 3; overflow: hidden; padding: 0; background-color: var(--bg-color); border-top: 1px solid transparent; box-shadow: none; max-height: 0; opacity: 0; visibility: hidden; pointer-events: none; font-size: var(--text-base); color: var(--text-color); transition: max-height var(--ui-duration-panel) var(--ui-easing), opacity var(--ui-duration-panel) var(--ui-easing), padding var(--ui-duration-panel) var(--ui-easing), visibility var(--ui-duration-panel) var(--ui-easing), border-color var(--ui-duration-panel) var(--ui-easing), box-shadow var(--ui-duration-panel) var(--ui-easing);}
.header-fullmenu-wrap.is-open {max-height: 90vh; padding: 20px 0 160px; border-top-color: var(--text-color); box-shadow: 0 5px 10px var(--shadow-light-color); opacity: 1; visibility: visible; pointer-events: auto;}
.fullmenu {display: flex; align-items: start; justify-content: end; gap: 15px; margin-left: 344px; margin-right: 161px;}
.fullmenu-li {width: 160px;}
.fullmenu-tit {display: none;}
.fullmenu-dep2 {}
.fullmenu-dep2-li {text-align: center;}
.fullmenu-dep2-li ~ .fullmenu-dep2-li {margin-top: 16px;}
.fullmenu-dep2-a {color: var(--gray-color); font-size: var(--text-15); font-weight: 400; line-height: 1.5; padding-bottom: 5px; background-image: var(--main-gradient); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: color var(--ui-duration) var(--ui-easing), background-size var(--ui-duration) var(--ui-easing);}
.fullmenu-dep2-a:hover {color: var(--main-color); background-size: 100% 1px;}
.fullmenu-dep2-a[target="_blank"]::after {content: '\ECAF'; font-family: 'remixicon' !important; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin-left: 5px; font-size: 1em;}

/* Zoom In (140%~150%) */
body:where(.zoom-140, .zoom-150) .gnb-a {width: 110px;}
body:where(.zoom-140, .zoom-150) .fullmenu-li .sound_only {all: unset; display: block !important; margin-bottom: 10px !important; color: var(--main-color); text-align: center; font-weight: 600;}

/* [지역센터] 헤더 (2026-09-11 디자인팀 요청으로 중앙센터에도 추가) */
.header-logo {align-self: center; margin-top: calc(var(--gnb-height) * -1 / 3); padding-top: 0; transition: margin-top 0.3s;}
.header.is-compact .header-logo {margin-top: 0;}
.header-logo img {/* width: 311px; */ max-height: calc(var(--gnb-height) - 10px); object-fit: contain;}
/* } Header */

/* Fixed Buttons { */
@keyframes icon-bounce-down {
  0%, 100% {transform: translateY(0);}
  50% {transform: translateY(3px);}
}
@keyframes icon-bounce-up {
  0%, 100% {transform: translateY(0);}
  50% {transform: translateY(-3px);}
}
.fixed-btns {position: fixed; right: max(1rem, calc((100vw - 1772px) / 2)); bottom: 50px; z-index: 180; font-size: 0;}
.fixed-btns:focus-within {outline: var(--focus-visible);}
.top-btn-wrap {overflow: hidden; position: relative; display: block; width: 56px; aspect-ratio: 1 / 1; border-radius: 3px; border: 1px solid transparent; background: linear-gradient(transparent, transparent) padding-box, var(--main-gradient-vertical) border-box; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);}
.top-btn {position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 100%; aspect-ratio: 1 / 1; border: none; text-align: center; transition: transform var(--ui-duration) var(--ui-easing); font-size: 0.8125rem;}
.top-btn.go-top {background: var(--main-gradient-vertical); color: var(--white-color); transform: translateY(100%); pointer-events: none;}
.top-btn.go-down {background-color: var(--white-color); color: var(--main-color); transform: translateY(0); pointer-events: auto;}
.top-btn-wrap.is-active .top-btn.go-top {transform: translateY(0); pointer-events: auto;}
.top-btn-wrap.is-active .top-btn.go-down {transform: translateY(-100%); pointer-events: none;}
.top-btn.go-down i {display: inline-block; background-image: var(--main-gradient-vertical); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;}
.top-btn.go-down:hover i {animation: icon-bounce-down 0.6s ease infinite;}
.top-btn.go-top:hover i {animation: icon-bounce-up 0.6s ease infinite;}
.top-btn i {font-size: 1.8462em; font-weight: 500; line-height: 1;}
.top-btn span {font-weight: 500; line-height: 1.23;}
/* } Fixed Buttons */

/* Footer { */
.footer {background-color: var(--gray-dark-color); color: var(--white-color);}
.footer :focus-visible {outline-color: skyblue;}
.footer-top {}
.footer-top .wrapper {padding: 35px 0; border-bottom: 1px solid var(--gray-color);}
.footer-inner {display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap;}
.footer-nav {}
.footer-nav-ul {display: flex; align-items: center; justify-content: start; gap: 6px 32px;}
.footer-nav-li {position: relative; font-size: var(--text-18); font-weight: 400; line-height: 1.17;}
.footer-nav-li ~ .footer-nav-li::before {content: ''; position: absolute; top: 50%; left: -16px; transform: translateY(-50%); display: block; width: 3px; aspect-ratio: 1 / 1; border-radius: 100px; background-color: var(--white-color);}
.footer-nav-a:hover {text-decoration: underline; text-underline-offset: 3px;}
.footer-nav-a strong {font-weight: 700;}
.footer-dropdown {flex-shrink: 0; position: relative;}
.footer-dropdown.is-open::after {content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px;}
.footer-dropdown-btn {display: flex; align-items: center; justify-content: space-between; width: 230px; height: 50px; padding: 0 16px; border-radius: 4px; background-color: var(--white-color); border: none; color: var(--text-color); font-size: 1rem; font-weight: 400; line-height: 1;}
.footer-dropdown-btn i {color: var(--gray-color); font-size: 1.5em; transition: transform var(--ui-duration) var(--ui-easing); will-change: transform;}
.footer-dropdown-btn.is-active i {transform: rotate(180deg);}
.footer-dropdown-ul {position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); z-index: 10; width: fit-content; min-width: 100%; margin-bottom: 10px; padding: 0 16px; border-radius: 5px; background-color: var(--white-color); box-shadow: none; color: var(--text-color); overflow: hidden; max-height: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: max-height var(--ui-duration) var(--ui-easing), opacity var(--ui-duration) var(--ui-easing), padding var(--ui-duration) var(--ui-easing), visibility var(--ui-duration) var(--ui-easing), box-shadow var(--ui-duration) var(--ui-easing);}
.footer-dropdown-ul :focus-visible {outline: var(--focus-visible);}
.footer-dropdown.is-open .footer-dropdown-ul {max-height: unset; padding: 12px 16px; box-shadow: 0 0 8px 2px var(--shadow-color); opacity: 1; visibility: visible; pointer-events: auto;}
.footer-dropdown-li {opacity: 0; transform: translateY(-6px); transition: opacity var(--ui-duration) var(--ui-easing), transform var(--ui-duration) var(--ui-easing);}
.footer-dropdown.is-open .footer-dropdown-li {opacity: 1; transform: none; transition-delay: var(--stagger-delay, 0s);}
.footer-dropdown-a {display: inline-block; font-size: var(--text-14); font-weight: 400; line-height: 1.9; --dot-position: calc(1.9em / 2);}
.footer-dropdown-a:hover {color: var(--main-color); text-decoration: underline; text-underline-offset: 2px;}
.footer-bottom {padding: 35px 0 72px;}
.footer-logo {flex-shrink: 0; display: block; font-size: 0;}
.footer-logo img {width: 344px;}
.footer-box {flex: 1;}
.footer-address {display: flex; align-items: center; justify-content: start; flex-wrap: wrap; gap: 15px 50px; font-style: normal;}
.footer-address .item {font-size: var(--text-18); line-height: 1.16;}
.footer-address .item :where(dt, strong) {display: inline; margin-right: 5px; font-weight: 600;}
.footer-address .item dd {display: inline;}
.footer-copy {margin-top: 15px; color: #A29898; font-size: var(--text-15); font-weight: 400;}
.footer-copy strong {font-weight: 600;}
/* } Footer */

/* Main Layout { */
#contents_body {padding-top: var(--header-height);}
.main {padding-bottom: 110px;}
/* } Main Layout */

/* Sub Layout { */
.sub {}
.sub-menu {position: relative; z-index: 5; padding: 15px 0; border-bottom-right-radius: 60px; background-color: var(--sub-color);}
.sub-menu-ul {display: flex; justify-content: start; align-items: center;}
.sub-menu-li {position: relative;}
.sub-menu-li.home ~ .sub-menu-li {padding: 0 20px; border-right: 1px solid var(--border-color);}
.sub-menu-btn {display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 180px; height: 30px; background-color: transparent; border: none; color: var(--text-color); font-size: var(--text-18); font-weight: 500; line-height: 1.2; text-align: left;}
.sub-menu-btn i {color: var(--gray-color); transition: transform var(--ui-duration) var(--ui-easing); will-change: transform;}
.sub-menu-btn.is-active i {transform: rotate(180deg);}
.sub-menu-li.home .sub-menu-btn {display: flex; align-items: center; justify-content: center; width: 46px; min-width: unset; height: auto; aspect-ratio: 1 / 1; border-radius: 100px; background-color: var(--white-color); font-size: 1.25em; line-height: 1; font-weight: 500;}
.sub-menu-li.home .sub-menu-btn i {background-image: var(--main-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;}
.sub-menu-li.is-open::after {content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px;}
.sub-menu-dep2-ul {position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 10; width: fit-content; min-width: 100%; margin-top: 10px; padding: 0 16px; border-radius: 5px; background-color: var(--white-color); box-shadow: none; color: var(--text-color); overflow: hidden; max-height: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: max-height var(--ui-duration) var(--ui-easing), opacity var(--ui-duration) var(--ui-easing), padding var(--ui-duration) var(--ui-easing), visibility var(--ui-duration) var(--ui-easing), box-shadow var(--ui-duration) var(--ui-easing);}
.sub-menu-li.is-open .sub-menu-dep2-ul {max-height: unset; padding: 12px 16px; box-shadow: 0 0 8px 2px var(--shadow-color); opacity: 1; visibility: visible; pointer-events: auto;}
.sub-menu-dep2-li {opacity: 0; transform: translateY(-6px); transition: opacity var(--ui-duration) var(--ui-easing), transform var(--ui-duration) var(--ui-easing);}
.sub-menu-li.is-open .sub-menu-dep2-li {opacity: 1; transform: none; transition-delay: var(--stagger-delay, 0s);}
.sub-menu-dep2-a {display: inline-block; font-size: var(--text-base); font-weight: 400; line-height: 1.9;}
.sub-menu-dep2-a:hover {color: var(--main-color); text-decoration: underline; text-underline-offset: 2px;}
.sub-menu-dep2-a:where(.is-active, [aria-current="page"]) {color: var(--main-color); font-weight: 600;}

.sub-top {margin-bottom: 50px; text-align: center;}
.sub-page-title {color: var(--text-color); font-size: var(--text-48); font-weight: 700; line-height: 1.19; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance;}
.sub-title-desc {margin-top: 10px; color: var(--gray-color); font-size: var(--text-18); font-weight: 500; line-height: 1.28; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance;}
.sub-title-desc {margin-top: 14px; font-size: var(--text-20);} /* 2026-09-18 크기 확대 요청 */

/* Sub Tab */
.sub-tab {position: sticky; top: calc(var(--header-height) + 30px); z-index: 4; margin-bottom: 50px; background-color: transparent; transform: translateY(0); transition: transform var(--ui-duration) var(--ui-easing), box-shadow var(--ui-duration) var(--ui-easing);}
.sub-tab-sentinel {height: 0; overflow: hidden; pointer-events: none; visibility: hidden;}
.sub-tab.is-sticky {z-index: 150;}
.sub-tab.is-sticky.is-compact {transform: translateY(calc(var(--header-top) * -1));}
/* sticky 옵트아웃: position/transform만 해제. 반응형 칩·드롭다운 규칙은 유지 */
.sub-tab.is-non-sticky {position: static; top: auto; transform: none;}
.sub-tab-ul {display: grid; grid-template-columns: repeat(8, 1fr);}
.sub-tab-li {background-color: var(--white-color);}
.sub-tab-a {display: flex; align-items: center; justify-content: center; width: 100%; height: 58px; padding: 5px; background-color: var(--white-color); border: 1px solid var(--border-color); color: var(--text-color); font-size: var(--text-20); font-weight: 500; line-height: 1.2; text-align: center; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; transition: background-color 0.3s; -webkit-user-drag: none; user-select: none;}
.sub-tab-a:focus-visible {outline-offset: -3px;}
.sub-tab-a:hover {background-color: var(--sub-color);}
.sub-tab-li ~ .sub-tab-li .sub-tab-a {border-left: none;}
.sub-tab-li:nth-child(8n) + .sub-tab-li .sub-tab-a {border-left: 1px solid var(--border-color);}
.sub-tab-li:nth-child(8) ~ .sub-tab-li .sub-tab-a {border-top: none;}
.sub-tab-a:where(.is-active, [aria-current="page"], [aria-current="true"]) {background: var(--main-gradient); color: var(--white-color);}
.sub-tab-a:where(.is-active, [aria-current="page"], [aria-current="true"]):hover {background: var(--main-gradient); color: var(--white-color);}

/* 토글형 드롭다운 UI: JS 주입 요소. 기본은 숨김, 1024px 이하에서만 사용 */
.sub-tab-toggle,
.sub-tab-current {display: none;}

/* 토글형 탭: 활성 패널만 표시하고 전환 시 페이드인 */
.sub-content:has(.sub-tab[data-tab-mode="toggle"]) .sub-tab-content {display: none;}
.sub-content:has(.sub-tab[data-tab-mode="toggle"]) .sub-tab-content.is-active {display: block;}
.sub-tab-content[hidden] {display: none !important;}
.sub-tab-content.is-fade-in {animation: sub-tab-fade-in 0.35s ease;}
@keyframes sub-tab-fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}

.sub-contents {padding-top: 72px;}
.sub-content {padding-bottom: 100px;}
.sub-section ~ .sub-section {margin-top: 64px;}
.sub-section[tabindex="-1"]:focus {outline: none;}

.sub-content.aos-init.aos-animate.aos-finished {transform: none; transition: none;}
/* } Sub Layout */

/* Sub Table { */
.table-title {margin-bottom: 10px; font-size: var(--text-18); font-weight: 600; line-height: 1.35;}
.scroll-container::before {content: '← 좌우로 스크롤하여 내용을 확인하세요. →'; display: block; margin-bottom: 6px; color: var(--gray-color); font-size: 1rem; font-weight: 500; text-align: center; display: none;}
.table-wrap {}
.sub-table {width: 100%; border-top: 1px solid var(--black-color);}
.sub-table tr {border-bottom: 1px solid var(--border-color);}
.sub-table thead {color: var(--black-color);}
.sub-table th:not(.bg-white) {background-color: var(--surface-color); color: var(--black-color); font-size: var(--text-18); font-weight: 600; line-height: 1.7;}
.sub-table :where(td, th.bg-white) {font-weight: 400; line-height: 1.75; text-align: center; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty;}
.sub-table td.text-left {text-align: left;}
.sub-table tbody:has(th) td {text-align: left;}
.sub-table :where(th, td) {height: 60px; padding: 14px 20px; border-right: 1px solid var(--border-color);}
.sub-table :where(th, td):last-child {border-right: none;}
.sub-table .add-desc {display: block; color: var(--gray-color);}
.sub-table .add-desc.t-color {color: var(--main-color);}
/* } Sub Table */

@media (prefers-reduced-motion: reduce) {
  .header,
  .gnb-a,
  .gnb-dep2,
  .gnb-dep2-li,
  .gnb-dep2-a,
  .header-btn i,
  .header-search-wrap,
  .header-fullmenu-wrap,
  .fullmenu-dep2-a,
  .header-subutil-btn,
  .footer-dropdown-btn i,
  .footer-dropdown-ul,
  .footer-dropdown-li,
  .sub-menu-btn i,
  .sub-menu-dep2-ul,
  .sub-menu-dep2-li,
  .sub-tab,
  .sub-tab .wrapper::before,
  .sub-tab .wrapper::after,
  .sub-tab-toggle,
  .sub-tab-toggle i,
  .sub-tab-content.is-fade-in,
  .top-btn,
  .top-btn.go-down:hover i {transition: none !important; animation: none !important;}
}

/* ====================  반응형 ==================== */
@media screen and (max-width:1600px) {
  /* Header { */
  .header-inner {gap: 40px;}
  .header-fullmenu-wrap.is-open {padding-bottom: 80px;}
  .fullmenu {margin-right: 131px;}
  /* } Header */
}
@media screen and (max-width:1440px) {
  /* Header { */
  .header-logo {align-self: center; padding-top: 0;}
  .header-logo img {width: 280px;}
  .gnb-a, .fullmenu-li {width: 130px;}
  .fullmenu {margin-left: 280px;}
  /* } Header */
}
@media screen and (max-width:1280px) {
  /* Header { */
  :root {
    --header-top: 30px;
    --gnb-height: 76px;
  }
  .header-logo img {width: 250px;}
  .header-inner {gap: 20px;}
  .gnb-a, .fullmenu-li {width: 100px;}
  .fullmenu {margin-left: 270px; margin-right: 111px;}
  /* } Header */
  /* Footer { */
  .footer-logo img {width: 280px;}
  /* } Footer */
  /* Sub Layout { */
  .sub-menu {padding: 12px 0; border-bottom-right-radius: 40px;}
  .sub-contents {padding-top: 65px;}
  /* } Sub Layout */
}
@media screen and (max-width:1024px) {
  /* Header { */
  .header-nav {display: none;}
  .header-fullmenu-wrap.is-open {overflow-y: auto; max-height: unset; padding: 0; background-color: #FFECDF; border-top-color: var(--border-color);}
  .header-fullmenu-wrap .container {padding: 0;}
  .fullmenu {position: relative; display: block; width: 100%; height: calc(100vh - var(--gnb-height)); margin: 0;}
  .fullmenu-li {width: auto;}
  .fullmenu-tit-txt {display: none !important;}
  .fullmenu-tit {display: block; cursor: pointer; width: 130px; min-height: 62px; padding-left: 24px; padding-right: 6px; background-color: transparent; border: none; border-bottom: 1px solid var(--border-color); color: var(--black-color); font-size: var(--text-20); text-align: left;}
  .fullmenu-li.is-open .fullmenu-tit {background: var(--main-gradient); color: var(--white-color); border-bottom: none;}
  .fullmenu-dep2 {position: absolute; top: 0; right: 0; left: 130px; bottom: 0; display: none; padding: 16px 28px; background-color: var(--white-color);}
  .fullmenu-li.is-open .fullmenu-dep2 {display: block;}
  .fullmenu-dep2-li {text-align: left;}
  .fullmenu-dep2-li ~ .fullmenu-dep2-li {padding-top: 16px; border-top: 1px solid var(--border-color);}
  .fullmenu-dep2-a {padding-bottom: 0; background: transparent; font-size: var(--text-18);}
  /* } Header */
  /* Fixed Buttons { */
  .fixed-btns {bottom: 30px;}
  .top-btn-wrap {width: 48px;}
  .top-btn span {display: inline-block; position: absolute; top: 0; left: 0; width: 0; height: 0; font-size: 0; line-height: 0; overflow: hidden;}
  /* } Fixed Buttons */
  /* Footer { */
  .footer-top .wrapper {padding: 25px 0;}
  .footer-dropdown-btn {width: 200px; height: 45px;}
  .footer-logo {align-self: start;}
  .footer-logo img {width: 250px;}
  /* } Footer */
  /* Sub Layout { */
  .sub-menu-btn {min-width: 120px;}
  .sub-menu-li.home .sub-menu-btn {width: 40px;}
  /* Sub Tab */
  .sub-tab {margin-bottom: 40px;}
  .sub-tab .wrapper {position: relative; width: fit-content; max-width: min(100%, 1200px); padding: 10px; border-radius: 100px; background-color: var(--white-color); box-shadow: 0 0 8px 2px var(--shadow-light-color);}
  .sub-tab .wrapper::before,
  .sub-tab .wrapper::after {content: ''; position: absolute; top: 0; bottom: 0; width: 50px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.2s ease;}
  .sub-tab .wrapper::before {left: 0; border-radius: 100px 0 0 100px; background: linear-gradient(90deg, var(--white-color) 20%, #ffffff00 100%);}
  .sub-tab .wrapper::after {right: 0; border-radius: 0 100px 100px 0; background: linear-gradient(90deg, #ffffff00 0%, var(--white-color) 80%);}
  .sub-tab.is-overflow-start .wrapper::before {opacity: 1;}
  .sub-tab.is-overflow-end .wrapper::after {opacity: 1;}
  .sub-tab .sub-tab-ul {display: flex; flex-wrap: nowrap; gap: 8px; border-radius: 100px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x; cursor: grab; -ms-overflow-style: none; scrollbar-width: none; scroll-snap-type: x mandatory;}
  .sub-tab .sub-tab-ul::-webkit-scrollbar {display: none;}
  .sub-tab .sub-tab-li {flex: 0 0 auto; scroll-snap-align: start;}
  .sub-tab .sub-tab-a {width: auto; min-width: max-content; height: 45px; border-radius: 100px; padding: 0 20px; border: none !important; font-size: var(--text-18); white-space: nowrap;}
  .sub-tab .sub-tab-a[target="_blank"]::after {content: '\ECAF'; font-family: 'remixicon' !important; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin-bottom: 5px; margin-left: 5px; color: var(--gray-color); font-weight: 500; font-size: 12px;}
  .sub-tab.is-dragging .sub-tab-ul {cursor: grabbing; user-select: none;}
  /* 토글형: 닫힘=현행 칩+옆 열기 버튼 / 열림=현재 라벨+세로 목록 */
  .sub-tab[data-tab-mode="toggle"] .wrapper {display: flex; align-items: center; gap: 8px; max-width: 100%;}
  .sub-tab[data-tab-mode="toggle"] .sub-tab-ul {order: 1; flex: 1 1 auto; min-width: 0;}
  .sub-tab[data-tab-mode="toggle"] .sub-tab-toggle {display: inline-flex; order: 2; flex: 0 0 auto; align-items: center; justify-content: center; width: 45px; height: 45px; border: none; border-radius: 100px; background-color: var(--surface-color); color: var(--gray-color); font-size: 1.5em; line-height: 1; cursor: pointer; z-index: 2; transition: background-color var(--ui-duration) var(--ui-easing), color var(--ui-duration) var(--ui-easing);}
  .sub-tab[data-tab-mode="toggle"] .sub-tab-toggle:hover {background-color: var(--sub-color); color: var(--main-color);}
  .sub-tab[data-tab-mode="toggle"] .sub-tab-toggle:focus-visible {outline-offset: -3px;}
  .sub-tab[data-tab-mode="toggle"] .sub-tab-toggle i {display: block; transition: transform var(--ui-duration) var(--ui-easing); will-change: transform;}
  .sub-tab[data-tab-mode="toggle"] .wrapper::after {right: 53px; border-radius: 0;}
  .sub-tab[data-tab-mode="toggle"].is-open .wrapper {display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "current toggle"; align-items: center; gap: 8px; width: 100%; max-width: 100%;}
  .sub-tab[data-tab-mode="toggle"].is-open .wrapper::before,
  .sub-tab[data-tab-mode="toggle"].is-open .wrapper::after {display: none;}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-current {grid-area: current; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 45px; padding: 0 20px; border-radius: 100px; background: var(--main-gradient); color: var(--white-color); font-size: var(--text-18); font-weight: 500; line-height: 1.2; text-align: center; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty;}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-toggle {grid-area: toggle; order: unset; background: var(--main-gradient); color: var(--white-color);}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-toggle:hover {background: var(--main-gradient); color: var(--white-color);}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-toggle i {transform: rotate(180deg);}
  /* 목록 */
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-ul {position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 3; order: unset; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 4px; max-height: min(60vh, 420px); padding: 8px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; cursor: default; border-radius: 10px; background-color: var(--white-color); box-shadow: 0 0 8px 2px var(--shadow-light-color); -ms-overflow-style: auto; scrollbar-width: thin;}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-li {flex: 0 0 auto; width: 100%;}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-a {width: 100%; min-width: 0; justify-content: center; border-radius: 8px;}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-a:where(.is-active, [aria-current="true"]) {background-color: var(--white-color); background-image: none; color: var(--main-color); font-weight: 600;}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-a:where(.is-active, [aria-current="true"]):hover {background-color: var(--sub-color); background-image: none; color: var(--main-color);}
  .sub-section ~ .sub-section {margin-top: 55px;}
  /* } Sub Layout */
  /* Sub Table { */
  .sub-table :where(th, td) {height: 54px; padding: 12px 10px;}
  /* } Sub Table */
}
@media screen and (max-width:768px) {
  /* Header { */
  :root {
    --header-top: 28px;
    --gnb-height: 60px;
  }
  .header.is-scrolled {box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);}
  .header-inner {gap: 0;}
  .header-logo img {width: 200px;}
  .sub-tab .sub-tab-a {padding: 0 16px;}
  /* .header-subutil-item:first-child {display: none;} */
  .header-utils {gap: 10px;}
  .header-btn {width: 30px; font-size: 26px;}
  .header-search-wrap.is-open {padding: 40px 0 50px;}
  .header-search-input {height: 45px; padding: 0 61px 0 16px;}
  .fullmenu-tit {min-height: 54px; padding-left: 1rem;}
  .fullmenu-dep2 {padding: 16px 1rem;}
  .fullmenu-dep2-li ~ .fullmenu-dep2-li {margin-top: 12px; padding-top: 12px;}
  /* } Header */
  /* Fixed Buttons { */
  .top-btn-wrap {width: 40px;}
  /* } Fixed Buttons */
  /* Footer { */
  .footer-top .footer-inner {gap: 24px;}
  .footer-dropdown {flex: 1 1 100%;}
  .footer-dropdown-btn {width: 100%;}
  .footer-dropdown.is-open .footer-dropdown-ul {overflow-y: auto; max-height: 200px;}
  .footer-bottom {padding: 25px 0 60px;}
  .footer-bottom .footer-inner {display: block;}
  .footer-logo {margin-bottom: 16px;}
  .footer-address {gap: 15px 30px;}
  /* } Footer */
  /* Main Layout { */
  .main {padding-bottom: 80px;}
  /* } Main Layout */
  /* Sub Layout { */
  .sub-menu {padding: 8px 0; border-bottom-right-radius: 30px;}
  .sub-menu-li.home ~ .sub-menu-li {padding: 0 10px;}
  .sub-menu-btn {min-width: unset;}
  /* Sub Tab */
  .sub-tab {top: calc(var(--header-height) + 16px); margin-bottom: 30px;}
  .sub-tab .wrapper {padding: 6px;}
  .sub-tab .sub-tab-ul {gap: 0;}
  .sub-tab .sub-tab-a {height: 38px; padding: 0 14px;}
  .sub-tab[data-tab-mode="toggle"] .sub-tab-toggle {width: 38px; height: 38px; font-size: 1.35em;}
  .sub-tab[data-tab-mode="toggle"] .wrapper::after {right: 46px;}
  .sub-tab[data-tab-mode="toggle"].is-open .sub-tab-current {min-height: 38px; padding: 0 14px;}
  .sub-contents {padding-top: 50px;}
  .sub-top {margin-bottom: 40px;}
  .sub-content {padding-bottom: 80px;}
  .sub-section ~ .sub-section {margin-top: 50px;}
  /* } Sub Layout */
  /* Sub Table { */
  .sub-table :where(th, td) {height: 50px; padding: 10px 6px;}
  /* } Sub Table */
}
@media screen and (max-width:425px) {
  /* Header { */
  .fullmenu-tit {width: 110px; min-height: 50px; font-size: var(--text-18);}
  .fullmenu-dep2 {left: 110px; padding: 1rem;}
  .fullmenu-dep2-a {font-size: var(--text-base);}
  /* } Header */
  /* Fixed Buttons { */
  .fixed-btns {bottom: 20px;}
  /* } Fixed Buttons */
  /* Footer { */
  .footer-nav-ul {gap: 6px 16px;}
  .footer-nav-li ~ .footer-nav-li::before {left: -8px;}
  .footer-address {display: block;}
  .footer-address .item ~ .item {margin-top: 12px;}
  /* } Footer */
  /* Sub Layout { */
  .sub-contents {padding-top: 40px;}
  .sub-top {margin-bottom: 30px;}
  .sub-menu {border-bottom-right-radius: 0;}
  .sub-menu-li {display: none; width: 100%;}
  .sub-menu-li:has(#subMenuDep2List) {display: block;}
  .sub-menu-li.home ~ .sub-menu-li {padding: 0; border-right: none;}
  .sub-menu-btn {width: 100%;}
  .sub-menu-dep2-ul {width: 100vw; border-radius: 0px 0px 10px 10px;}
  .sub-menu-li.is-open .sub-menu-dep2-ul {box-shadow: 0 8px 8px 2px var(--shadow-color);}
  .sub-menu-dep2-li ~ .sub-menu-dep2-li {margin-top: 0.5em;}
  .sub-section ~ .sub-section {margin-top: 40px;}
  /* } Sub Layout */
}