@charset "utf-8";
html:has(.header.open),body:has(.header.open) {overflow-y: hidden;}
.inner {width: calc(100% - 100px); margin-inline: auto; max-width: 1320px;}

/* 필요한 섹션(ex.스티키가 들어가는 섹션)에만 따로  overflow: unset; 추가하세요 */

section {width: 100%; overflow: hidden; background-color: var(--color-white);}
section.bg-color {background-color: var(--gray50); padding-block: 100px;}
section .inner{display: flex; flex-direction: column; row-gap: var(--fs-50);}
section .swiper-container {width: 100%;}

.logo {display: flex; align-items: center; justify-content: center;}
.logo.white img {-webkit-filter: brightness(0) invert(1); filter: brightness(0) invert(1);}

.footer .logo,
.header .logo {height: var(--fs-34);}
.footer .logo img,
.header .logo img {transition: filter 0.2s; height: 100%;}

.header {box-shadow: var(--box-shadow); z-index: 999; position: sticky; top: 0; left: 0; width: 100%; transition: background-color 0.2s; padding-block: var(--fs-20); background-color: var(--color-white);}
.header .inner {display: flex; align-items: center; justify-content: space-between;}
.header .gnb {display: none;}
.header .gnb > ul {display:flex; align-items:center; column-gap: var(--space-60);}
.header .gnb > ul > li {position:relative;}
.header .gnb > ul > li > a {position:relative; transition:color 0.2s; padding:8px 5px; font-size:var(--fs-15); font-weight:400; line-height:1.6; letter-spacing: -0.01em; color:var(--hans-navy);}
.header .gnb .gnb-submenu {visibility:hidden; opacity:0; z-index:10; position:absolute; top:100%; left:50%; display:flex; flex-direction:column; align-items:stretch; row-gap:4px; margin-top:8px; padding:10px; border:1px solid var(--gray200); border-radius: 8px; background-color:var(--color-white); box-shadow: var(--box-shadow); transform:translate(-50%, 8px); transition:visibility 0.2s, opacity 0.2s, transform 0.2s;}
.header .gnb .gnb-submenu::before {content:''; position:absolute; bottom:100%; left:0; width:100%; height:8px;}
.header .gnb .gnb-submenu li {width:100%;}
.header .gnb .gnb-submenu a {min-width: 160px; display:block; width:100%; padding:6px 10px; border-radius:6px; font-size:var(--fs-15); font-weight:400; line-height:1.6; letter-spacing: -0.01em; white-space:nowrap; color:var(--hans-navy); transition:color 0.2s, background-color 0.2s;}
.header .gnb .gnb-submenu li.active a,
.header .gnb .gnb-submenu a:hover {color:var(--hans-blue); background-color:var(--hans-softblue);}
.header .gnb > ul > li.has-submenu:hover .gnb-submenu,
.header .gnb > ul > li.has-submenu:focus-within .gnb-submenu {visibility:visible; opacity:1; transform:translate(-50%, 0);}
.header .gnb .gnb-depth3-submenu { display: none; margin-top: 4px; padding-left: 10px; }
.header .gnb .gnb-depth3-submenu li { margin-bottom: 2px; }
.header .gnb .gnb-depth3-submenu a { min-width: auto; padding: 4px 10px; font-size: 14px; background-color: transparent; }
.header .gnb .gnb-depth3-submenu li.active a, .header .gnb .gnb-depth3-submenu a:hover { color: var(--hans-blue); background-color: transparent; }
.header .gnb .has-depth3 > a { display: flex; justify-content: space-between; align-items: center; }
.header .gnb .has-depth3 > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1px solid var(--hans-navy); border-bottom: 1px solid var(--hans-navy); transform: rotate(45deg); transition: transform 0.2s; }
.header .gnb .has-depth3.open > a::after { transform: rotate(-135deg); }

.header .gnb > ul > li.active > a,
.header .gnb > ul > li > a:hover,
.header .gnb > ul > li:has(.gnb-submenu:hover) > a {color: var(--hans-blue);}

.header .mobile-menu-btn {width: 44px; height: 44px; margin: -7px; position:relative;}
.header .mobile-menu-btn span,
.header .mobile-menu-btn span:before,
.header .mobile-menu-btn span:after {display:block; position:absolute; left:50%; width: 26px; height:3px; background-color: var(--hans-navy); transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease;}
.header .mobile-menu-btn span {left: 50%; top:50%; transform:translate(-50%,-50%);}
.header .mobile-menu-btn span:before,
.header .mobile-menu-btn span:after {content:''; transform:translate(-50%,-50%);}
.header .mobile-menu-btn span:before {top:-7px;}
.header .mobile-menu-btn span:after {top:10px;}
.header .mobile-menu-btn.open span {background:transparent !important;}
.header .mobile-menu-btn.open span:before {top:0; transform:translate(-50%,-50%) rotate(45deg);}
.header .mobile-menu-btn.open span:after {top:0; transform:translate(-50%,-50%) rotate(-45deg);}

.header .mobile-menu {z-index: 998; position: fixed; top: var(--header-height); left: 100%; width: 100%; max-width: 500px; height: calc(100dvh - var(--header-height)); display: flex; flex-direction: column; overflow: hidden; background-color: var(--color-white); transition: transform 0.3s ease;}
.header .mobile-menu-bg { display: none; position: fixed; top: var(--header-height); left: 0; width: 100%; height: calc(100dvh - var(--header-height)); background-color: rgb(var(--rgb-black) / 40%); z-index: 997; }
.header.open .mobile-menu {transform: translateX(-100%);}
.header.open .mobile-menu + .mobile-menu-bg {display: block;}
.header .mobile-menu-scroll {flex: 1; overflow-y: auto; overscroll-behavior: contain; display: block;}
.header .mobile-menu-list {display: flex; flex-direction: column; row-gap: 10px;}
.header .mobile-menu-list > li {border-bottom: 1px solid var(--gray100);}
.header .mobile-menu-item {width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; background-color: transparent; text-align: left; cursor: pointer;}
.header .mobile-menu-link {font-size: 15px; flex: 1; min-width: 0; padding-block: 10px; color: var(--hans-navy); transition: color 0.2s;}
.header .mobile-menu-item:hover .mobile-menu-link,
.header .mobile-menu-list > li.active > .mobile-menu-item .mobile-menu-link,
.header .mobile-menu-list > li.open > .mobile-menu-item .mobile-menu-link {color: var(--hans-blue);}
.header .mobile-menu .contact-btn {display: none; width: 100%; margin-top: 10px;}
.header .mobile-submenu { display: none; background-color: var(--gray50); }
.header .mobile-submenu > li { margin-bottom: 10px; }
.header .mobile-submenu li {border: 0;}
.header .mobile-submenu a {display: block; padding: 6px 10px; font-size: 15px;color: var(--hans-navy); transition: color 0.2s, background-color 0.2s;}
.header .mobile-submenu li.active a,
.header .mobile-submenu a:hover {color: var(--hans-blue); background-color: var(--hans-softblue);}
.header .mobile-submenu .mobile-submenu { background-color: transparent; padding-left: 15px; margin-left: 10px; margin-bottom: 5px; border-left: 1px solid var(--gray200); }
.header .mobile-submenu .mobile-submenu a { font-size: 14px; padding: 6px 10px; }
.footer {padding-block: var(--space-60); background-color: var(--hans-navy)}


@media screen and (min-width:769px) {
    .header .gnb {display: block;}
    .header .mobile-menu-btn,
    .header.open .mobile-menu {display: none;}
}

@media screen and (min-width: 501px) {
    .header .mobile-menu {box-shadow: var(--box-shadow);}
}

@media screen and (max-width:1440px) {
    .inner {width: calc(100% - 80px);}
    .floating-menu {right: 40px;}
}

@media screen and (max-width:1280px) {
    .header .gnb > ul {column-gap: 30px;}
}

@media screen and (max-width:1024px) {
    .inner {width: calc(100% - 64px);}
    .floating-menu {right: 32px;}
    
    .header .gnb > ul > li:has(.sns-link) {display: none;}
}

@media screen and (max-width:768px) {
    .inner {width: calc(100% - 48px);}
    .header {position: fixed;}
}

@media screen and (max-width: 480px) {
    .inner {width: calc(100% - 32px);}
}

@media screen and (max-width:375px) {
    .inner {width: calc(100% - 24px);}

    .header .btn-list .contact-btn {display: none;}
    .header .mobile-menu .contact-btn {display: flex;}
}