@charset "utf-8";

/* 스킵 내비게이션 */
.skip-link {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    display: block;
    box-sizing: border-box;
    padding: 8px 20px;
    transform: translateY(-100%);
    background: #032554;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: underline;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid #fff;
    outline-offset: -4px;
}

/* 
#main-content {
    scroll-margin-top: 126px;
} */

/* ========================================
   헤더 - 메인 구조
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 110px;
    border-radius: 0;
    background: var(--White);
    box-shadow: 0 4px 12px rgba(3, 37, 84, 0.06);
}
.sub-header {
    position: unset;
}
.header-inner {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    /* max-width: 1920px; */
    margin: 0 auto;
    padding: 0 clamp(40px, 6.25vw, 120px);
}

/* ========================================
   헤더 - 로고
======================================== */
.header-inner h1 {
    flex: 0 0 auto;
    width: 304px;
    margin: 0;
}

.header-inner h1 a {
    display: block;
    width: 100%;
}

.header-inner h1 a img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================
   GNB - 데스크톱 네비게이션
======================================== */

.gnb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    height: 100%;
    margin: 0;
    padding-right: clamp(150px, 10.42vw, 200px);
}
.gnb .header-gnb-btn {
    display: none;
}
.gnb > a {
    display: block;
    width: 28px;
}
.gnb > a img {
    width: 100%;
}

.gnb-list {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
    width: auto;
}
.gnb-list > li {
    flex: 0 0 auto;
    position: relative;
    min-width: clamp(100px, 9.375vw, 180px);
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.gnb-list > li::after {
    content: "";
    width: calc(100% - 48px);
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.2s ease;
    opacity: 0;
}
.gnb-list > li:hover::after {
    opacity: 1;
}

.gnb-list > li.active::after {
    opacity: 1;
}

.gnb-lnk {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 clamp(12px, 1.25vw, 24px);
    color: var(--Black-900);
    font-size: 20px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.gnb-list > li:hover .gnb-lnk {
    /* color: var(--Blue-700); */
}

.gnb-list > li.active .gnb-lnk {
    color: var(--color-primary);
}

/* ========================================
   GNB - 2단계 메뉴 (전체 너비 드롭다운)
======================================== */
/* 전체 드롭다운 배경 */
.gnb-list::before {
    content: "";
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    border-radius: 0 0 40px 40px;
    background: var(--White);
    opacity: 0;
    visibility: hidden;
    transition:
        height 0.2s ease,
        opacity 0.2s ease,
        visibility 0.2s ease;
    z-index: 998;
    box-shadow: 0px 8px 16px 0px #00000014;
    pointer-events: none;
}

.gnb-list:hover::before {
    opacity: 1;
    visibility: visible;
    height: 325px;
}

.sub-header .gnb-list::before {
    position: absolute;
}

.gnb-2depth {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 198px;
    min-height: 325px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
    z-index: 999;
    background-color: transparent;
    text-align: center;
}

/* 데스크톱: 한번에 모든 서브메뉴 표시 */
.gnb-list:hover > li .gnb-2depth {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gnb-2depth-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: flex-start;
}

.gnb-2depth-list > li {
    text-align: center;
}

.gnb-2depth-list > li > a {
    display: block;
    color: var(--Black-800);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.4px;
    padding: 6px 0;
    transition: color 0.2s ease;
}
.gnb-2depth-list > li:hover > .gnb-2depth-lnk {
    color: var(--color-primary);
}

.gnb-2depth-list > li.active > .gnb-2depth-lnk {
    color: var(--color-primary);
}

.gnb-2depth-list > li > .gnb-2depth-lnk.active {
    color: var(--color-primary);
}
.gnb-2depth-list > li > a::after {
    display: none;
}

/* 3뎁스 메뉴 */
.gnb-3depth-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4px;
}

.gnb-3depth-list > li {
    font-size: 15px;
    text-align: center;
}

.gnb-3depth-list > li > a {
    display: block;
    color: var(--Black-700);
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.375px;
    line-height: 1.4;
    padding: 4px 0;
}

.gnb-3depth-list > li > a:hover {
    color: var(--Black-900);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gnb-3depth-list > li > a:focus-visible {
    color: var(--Black-900);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gnb-3depth-list > li.active > .gnb-3depth-lnk {
    color: var(--Black-900);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gnb-3depth-list > li > .gnb-3depth-lnk.active {
    color: var(--Black-900);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ========================================
   GNB - 데스크톱 선택형 2·3뎁스 메뉴
======================================== */
@media (min-width: 1025px) {
    .gnb-list > .gnb-item .gnb-2depth {
        position: fixed;
        top: 110px;
        left: 0;
        width: 100%;
        min-height: var(--gnb-dropdown-height, 325px);
        padding: 46px max(24px, calc((100vw - 1124px) / 2));
        transform: none;
        transition: none;
    }

    .sub-header .gnb-list > .gnb-item .gnb-2depth {
        position: absolute;
        top: 100%;
    }

    .gnb-list:hover::before {
        height: 0;
        opacity: 0;
        visibility: hidden;
    }

    .gnb-list.desktop-menu-open::before {
        height: var(--gnb-dropdown-height, 325px);
        border-radius: 0;
        opacity: 1;
        visibility: visible;
    }

    .gnb-list:hover > li .gnb-2depth {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-2depth {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .gnb-list > .gnb-item.desktop-open > .gnb-lnk {
        color: var(--color-primary);
    }

    .gnb-list > .gnb-item.desktop-open::after {
        opacity: 1;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-2depth-list {
        display: flex;
        flex-flow: row wrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
        width: min(1124px, 100%);
        height: auto;
        margin: 0 auto;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-2depth-item {
        flex: 0 0 auto;
        width: max-content;
        min-width: 260px;
        max-width: 100%;
        text-align: left;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-2depth-lnk {
        position: relative;
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 42px 12px 20px;
        border: 1px solid #d6dce4;
        border-radius: 8px;
        background: var(--White);
        color: var(--Black-800);
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        text-align: left;
        white-space: nowrap;
        transition:
            box-shadow .2s ease,
            color .2s ease;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-2depth-lnk::after {
        position: absolute;
        top: 50%;
        right: 20px;
        display: block;
        width: 8px;
        height: 8px;
        border-top: 1px solid currentColor;
        border-right: 1px solid currentColor;
        content: "";
        transform: translateY(-50%) rotate(45deg);
    }

    .gnb-list > .gnb-item.desktop-open .gnb-2depth-item:hover > .gnb-2depth-lnk,
    .gnb-list > .gnb-item.desktop-open .gnb-2depth-item:focus-within > .gnb-2depth-lnk,
    .gnb-list > .gnb-item.desktop-open .gnb-2depth-item.active > .gnb-2depth-lnk {
        border-color: var(--color-primary);
        color: var(--color-primary);
        box-shadow: 0px 2px 8px 0px #00000014;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list {
        display: flex;
        margin: 14px 0 0;
        padding: 0 12px;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li {
        position: relative;
        padding-left: 12px;
        text-align: left;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #d2d7de;
        content: "";
        transform: translateY(-50%);
        transition: background-color .2s ease;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li > a {
        padding: 5px 0;
        color: #68717c;
        font-size: 15px;
        text-align: left;
        transition: color .2s ease;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li:hover::before,
    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li.active::before {
        background: var(--color-primary);
    }

    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li:has(> a:focus-visible)::before {
        background: var(--color-primary);
    }

    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li > a:focus-visible {
        color: var(--color-primary);
        text-decoration: none;
    }

    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li > a:hover,
    .gnb-list > .gnb-item.desktop-open .gnb-3depth-list > li > a.active {
        color: var(--color-primary);
        text-decoration: none;
    }
}

.header-login {
    position: absolute;
    top: 50%;
    right: clamp(40px, 6.25vw, 120px);
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
    width: auto;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    transform: translateY(-50%);
}

.header-login a {
    color: var(--Blue-800);
}

.header.is-scroll-closing .gnb-list::before {
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: none;
}

.header.is-scroll-closing .gnb-2depth {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

.header.is-scroll-closing .gnb-list > li::after {
    opacity: 0;
    transition: none;
}

.header.is-scroll-closing .gnb-lnk {
    color: var(--color-text-main);
    transition: none;
}

/* ========================================
   3depth메뉴
======================================== */
.depth3-wrap {
    width: 100%;
    max-width: 1440px;
    margin: 20px auto;
    padding: 10px 20px;
    border-bottom: 1px solid #e9e9e9;
}
.depth3-wrap .depth3-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 40px;
}
.depth3-wrap .depth3-list .depth3-link {
    position: relative;
    font-size: 1.2em;
}
.depth3-wrap .depth3-list .depth3-link.active {
    font-weight: 600;
    color: var(--color-primary);
}
.depth3-wrap .depth3-list .depth3-link.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

/* ========================================
   햄버거 버튼 (모바일)
======================================== */
.header-gnb-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.header-gnb-btn::before,
.header-gnb-btn::after {
    position: absolute;
    left: 3px;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-text-main);
    content: "";
    transition:
        transform 0.2s ease,
        top 0.2s ease;
}

.header-gnb-btn::before {
    top: 8px;
    box-shadow: 0 6px 0 var(--color-text-main);
}

.header-gnb-btn::after {
    top: 20px;
}

.header.menu-open .header-gnb-btn::before {
    top: 14px;
    box-shadow: none;
    transform: rotate(45deg);
}

.header.menu-open .header-gnb-btn::after {
    top: 14px;
    transform: rotate(-45deg);
}
.header-gnb-btn img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.header-gnb-btn i {
    display: none;
}
.header-gnb-btn:hover i {
    color: var(--color-primary);
}

/* ========================================
   전체 GNB - 모바일 & PC 전체 메뉴
======================================== */
.all-gnb-wrap {
    position: fixed;
    top: 112px;
    right: 0;
    width: 100%;
    height: calc(100vh - 112px);
    background-color: #ffffff;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition:
        visibility 0s 0.3s,
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: none;
}

.all-gnb-wrap.active,
.all-gnb-wrap.show,
.header.active .all-gnb-wrap {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition:
        visibility 0s,
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.all-gnb {
    padding: 60px 20px 40px;
}

.all-gnb-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 60px;
}

.all-gnb-list > li {
    display: flex;
    flex-direction: column;
}

.all-gnb-lnk {
    display: block;
    padding-bottom: 16px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    border-bottom: 3px solid var(--color-primary);
    transition: color 0.3s ease;
}

/* 전체 GNB - 2단계 */
.all-gnb-2depth {
    display: block;
    background-color: #f8f9fa;
}

.all-gnb-2depth-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
}

.all-gnb-2depth-list > li {
    font-size: 16px;
}

.all-gnb-2depth-lnk {
    display: block;
    color: #333;
    transition: all 0.2s ease;
    padding: 12px 20px;
    line-height: 1.6;
    font-weight: 400;
    font-size: 15px;
}

.all-gnb-2depth-list > li:hover .all-gnb-2depth-lnk,
.header.active .all-gnb-2depth-list > li:hover .all-gnb-2depth-lnk {
    color: var(--color-primary);
    background-color: rgba(16, 72, 140, 0.05);
}

/* 3뎁스가 있는 2뎁스 항목 */
.all-gnb-2depth-list > li .js-all-gnb-2depth-btn {
    position: relative;
    padding-right: 40px;
}

.all-gnb-2depth-list > li .js-all-gnb-2depth-btn::after {
    content: "▼";
    position: absolute;
    right: 20px;
    font-size: 10px;
    transition: transform 0.3s ease;
    color: #999;
}

/* 전체 GNB - 3단계 */
.all-gnb-3depth-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    padding-left: 0;
}

.all-gnb-3depth-list > li {
    font-size: 15px;
}

.all-gnb-3depth-lnk {
    display: block;
    color: #666;
    transition: all 0.2s ease;
    padding: 10px 40px;
    line-height: 1.6;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.mobile-info-container {
    display: none;
}
.mobile-buttons-container {
    display: none;
}

.util-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}
.util-menu a i {
    font-size: 1.4em;
    color: #666;
}
.util-menu a:hover i {
    color: var(--color-primary);
}

/* ========================================
   반응형 - 1600px 이하 (PC)
======================================== */
@media (max-width: 1600px) {
    .header-inner {
        padding: 0 40px;
    }

    .header-inner h1 {
        width: 270px;
    }

    .gnb-list {
        gap: 0;
    }

    .gnb-lnk {
        padding: 0 28px;
        font-size: 18px;
    }

    .header-login {
        right: 40px;
        gap: 12px;
        font-size: 16px;
    }
}

/* ========================================
   반응형 - 1200px 이하 (태블릿)
======================================== */
@media (max-width: 1200px) {
    .header-inner {
        padding: 0 20px;
    }

    .header-inner h1 {
        width: 240px;
    }

    .gnb {
        margin: 0;
    }

    .gnb-list {
        gap: 0;
    }

    .gnb-lnk {
        padding: 0 23px;
        font-size: 16px;
    }

    .header-login {
        right: 20px;
        gap: 8px;
        font-size: 14px;
    }
}

/* ========================================
   반응형 - 1024px 이하 (모바일)
======================================== */
@media (max-width: 1024px) {
    /* 헤더 높이 조정 */
    .header {
        height: 70px;
    }

    .header-inner h1 {
        width: 260px;
    }

    .gnb {
        flex: 0 0 auto;
        gap: 10px;
        margin-left: auto;
        padding-right: 0;
    }

    .gnb-list > li {
        min-width: 0;
    }

    .header-login {
        display: none;
    }

    /* 햄버거 버튼 표시 */
    .gnb .header-gnb-btn {
        display: flex;
        position: relative;
    }

    /* 모바일 메뉴 열렸을 때 헤더 고정 */
    .header.menu-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        background: #fff;
    }

    /* 모바일 메뉴 열렸을 때 햄버거 버튼 고정 */
    .header.menu-open .header-gnb-btn {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 100;
    }

    .header.menu-open .util-menu {
        position: absolute;
        left: 0;
        top: 0;
        border-top: 1px solid #ddd;
        padding: 15px 30px 0 30px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    /* 모바일 메뉴 열렸을 때 GNB 전체 화면 */

    .gnb.menu-open .mobile-info-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 22px;
        padding: 12px 34px;
        border-top: 1px solid #e1e1e1;
    }
    .gnb.menu-open .mobile-info-container a {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .gnb.menu-open {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        overflow-y: auto;
        z-index: 100;
        display: block;
    }

    /* 기본 상태에서 데스크톱 GNB 리스트만 숨김 */
    .gnb-list {
        display: none;
    }
    .gnb-list:hover::before {
        display: none;
    }
    .gnb-list > li::after {
        display: none;
    }

    /* 모바일 메뉴 열렸을 때만 GNB 리스트 표시 */
    .gnb.menu-open .gnb-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        height: auto;
        margin-top: 0;
    }

    /* 모바일에서 마이페이지 아이콘 숨김 */
    .gnb > a {
        display: none;
    }

    /* 모바일 GNB 리스트 아이템 */
    .gnb.menu-open .gnb-list > li {
        width: 100%;
        min-width: 100%;
        height: auto;
        border-bottom: 1px solid #e5e5e5;
    }

    .gnb.menu-open .gnb-list > li:first-child {
        border-top: 1px solid #e5e5e5;
    }

    /* 모바일 1뎁스 링크 */
    .gnb.menu-open .gnb-lnk {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 70px;
        padding: 0 30px;
        font-size: 20px;
        color: var(--color-text-main);
        background: var(--White);
        cursor: pointer;
    }
    .gnb.menu-open .gnb-lnk.active {
        color: var(--color-primary);
    }

    /* 모바일 1뎁스 + 아이콘 */
    .gnb.menu-open .gnb-lnk::after {
        content: "";
        width: 18px;
        height: 18px;
        background: url(../img/add.png) no-repeat center center / contain;
        transition: transform 0.3s ease;
    }

    .gnb.menu-open .gnb-list > li.active .gnb-lnk::after {
        content: "";
        width: 18px;
        height: 18px;
        background: url(../img/close.png) no-repeat center center / contain;
        transition: transform 0.3s ease;
    }

    /* 모바일 2뎁스 메뉴 */
    .gnb.menu-open .gnb-2depth {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        min-height: 0;
        width: 100%;
        transform: unset;
        overflow: hidden;
        padding: 0;
        background: #fff;
        transition:
            max-height 0.3s ease,
            opacity 0.2s ease,
            padding 0.3s ease,
            visibility 0.2s ease;
    }

    .gnb.menu-open .gnb-list > li.active .gnb-2depth {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
        padding: 30px 0;
    }

    .gnb.menu-open .gnb-2depth-list {
        gap: 0;
    }

    .gnb.menu-open .gnb-2depth-list > li {
        text-align: left;
    }

    .gnb.menu-open .gnb-2depth-list > li > a {
        display: block;
        padding: 10px 32px;
        font-weight: 600;
        text-align: left;
        color: var(--Black-800);
        transition: background-color 0.2s ease;
    }
    .gnb.menu-open .gnb-2depth-list > li > a.active {
        color: var(--color-primary);
        text-decoration: none;
    }

    /* 3뎁스 메뉴 */
    .gnb.menu-open .gnb-3depth-list {
        display: block;
        overflow: hidden;
        max-height: 0;
        margin-top: 0;
        background: var(--Black-0);
        opacity: 0;
        transition:
            max-height 0.3s ease,
            opacity 0.2s ease;
    }

    .gnb.menu-open .gnb-2depth-item.active .gnb-3depth-list {
        max-height: 400px;
        opacity: 1;
    }

    .gnb.menu-open .gnb-2depth-item.has-3depth > .gnb-2depth-lnk {
        position: relative;
        padding-right: 56px;
    }

    .gnb.menu-open .gnb-2depth-item.has-3depth > .gnb-2depth-lnk::after {
        position: absolute;
        top: 50%;
        right: 32px;
        display: block;
        width: 18px;
        height: 18px;
        margin: -9px 0 0;
        border: 0;
        background: url(../img/add.png) no-repeat center / contain;
        content: "";
        opacity: 1;
        transform: none;
    }

    .gnb.menu-open .gnb-2depth-item.active > .gnb-2depth-lnk::after {
        margin-top: -9px;
        background-image: url(../img/close.png);
        transform: none;
    }

    .gnb.menu-open .gnb-3depth-list > li {
        text-align: left;
    }

    .gnb.menu-open .gnb-3depth-list > li > a {
        text-align: left;
        padding: 10px 48px;
        color: var(--Black-700);
        font-size: 15px;
    }

    .gnb.menu-open .gnb-3depth-list > li > a:hover {
        color: var(--Black-900);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .gnb.menu-open .gnb-3depth-list > li > a:focus-visible {
        color: var(--Black-900);
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

/*
	** 레이아웃
*/

/* ## Sub layout ## */
@media (max-width: 460px) {
    .header-inner h1 {
        width: 220px;
    }
}

.sub-top-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 320px;
    margin-top: 110px;
    overflow: hidden;
}

.sub-top-wrap:not(:has(> img)) {
    display: none;
}

.sub-top-wrap::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: color-mix(in srgb, var(--Blue-900) 38%, transparent);
    content: "";
}

.sub-top-wrap > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-title-container {
    position: relative;
    z-index: 2;
    width: min(1540px, calc(100% - 48px));
    color: var(--White);
    text-align: center;
}

.sub-title-container .sub-title {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -1px;
    color: var(--White);
}

.sub-title-container .sub-description {
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.45px;
}

/* 일반 서브페이지: LNB + 본문 */
.sub_content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    width: min(1540px, calc(100% - 48px));
    margin: 80px auto 0;
}

.sub_content .lnb {
    flex: 0 0 240px;
    width: 240px;
}

.sub_content .lnb_title {
    display: block;
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.75px;
}

.sub_content .lnb_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 50px;
}

.sub_content .lnb_list .lnk {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 15px 18px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--White);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.sub_content .lnb_list .lnk:hover {
    border-color: var(--color-primary);
}

.sub_content .lnb_list .lnk:focus-visible {
    border-color: var(--color-primary);
    outline: 3px solid var(--Blue-800);
    outline-offset: 2px;
}

.sub_content .lnb_list .lnk.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--White);
}

.sub_content .lnb_list .lnb_item.has_depth {
    overflow: visible;
}

.sub_content .lnb_list .lnb_item.has_depth > .lnk {
    position: relative;
    padding-right: 48px;
}

.sub_content .lnb_list .lnb_item.has_depth > .lnk::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.sub_content .lnb_list .lnb_item.active > .lnk::after {
    margin-top: -2px;
    transform: rotate(225deg);
}

.sub_content .lnb_depth_list {
    overflow: hidden;
    max-height: 0;
    padding: 0;
    background: var(--White);
    opacity: 0;
    visibility: hidden;
    transition:
        max-height 0.3s ease,
        opacity 0.2s ease,
        padding 0.3s ease,
        visibility 0.2s ease;
}

.sub_content .lnb_list .lnb_item.active > .lnb_depth_list {
    max-height: 240px;
    padding: 14px 0 4px;
    opacity: 1;
    visibility: visible;
}

.sub_content .lnb_depth_link {
    position: relative;
    display: block;
    padding: 9px 18px 9px 34px;
    color: var(--color-text-sub);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.sub_content .lnb_depth_link:focus-visible {
    color: var(--color-primary);
    font-weight: 600;
    border-radius: 4px;
    outline: 3px solid var(--Blue-800);
    outline-offset: -3px;
}

.sub_content .lnb_depth_link::before {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-disabled);
    content: "";
    transform: translateY(-50%);
}

.sub_content .lnb_depth_link:focus-visible::before {
    background: var(--color-primary);
}

.sub_content .lnb_depth_link:hover,
.sub_content .lnb_depth_link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.sub_content .lnb_depth_link:hover::before,
.sub_content .lnb_depth_link.active::before {
    background: var(--color-primary);
}

.sub_content .sub_content_main {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

.sub_content .breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 62px;
    color: var(--color-text-sub);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

.sub_content .breadcrumb a:focus-visible {
    color: var(--color-primary);
    border-radius: 4px;
    outline: 3px solid var(--Blue-800);
    outline-offset: 3px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sub_content .breadcrumb .breadcrumb_home {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.sub_content .breadcrumb .home_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.sub_content .breadcrumb .breadcrumb_separator {
    position: relative;
    flex: 0 0 10px;
    width: 10px;
    height: 20px;
}

.sub_content .breadcrumb .breadcrumb_separator::before {
    position: absolute;
    top: 50%;
    left: 1px;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--Black-400);
    border-right: 1.5px solid var(--Black-400);
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.sub_content .breadcrumb .breadcrumb_item {
    color: var(--Black-700);
}

.sub_content .breadcrumb .home_link img {
    display: block;
    width: 20px;
    height: 20px;
}

/* 기본 서브페이지 공통 메뉴명 */
.sub_content .sub_page_title {
    margin: 0 0 40px;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -1.2px;
}

/* 사업안내 계열: 전폭 페이지 콘텐츠 */
.biz_content {
    width: 100%;
    min-width: 0;
}

@media all and (max-width: 1280px) {
    .sub-top-wrap {
        height: clamp(320px, 31.25vw, 400px);
    }

    .sub-title-container {
        width: calc(100% - clamp(40px, 5vw, 64px));
    }

    .sub-title-container .sub-title {
        font-size: clamp(34px, 3.13vw, 40px);
    }

    .sub-title-container .sub-description {
        font-size: clamp(16px, 1.41vw, 18px);
    }

    .sub_content {
        gap: clamp(30px, 4vw, 50px);
        width: calc(100% - clamp(48px, 6.25vw, 80px));
    }

    .sub_content .lnb {
        flex-basis: 210px;
        width: 210px;
    }
}

@media all and (max-width: 1024px) {
    .sub-top-wrap {
        margin-top: 70px;
    }

    .sub_content {
        flex-direction: column;
        gap: 40px;
        width: calc(100% - 64px);
        margin-top: 48px;
    }

    .sub_content .lnb {
        flex: 0 0 auto;
        width: 100%;
        max-width: 90vw;
    }

    .sub_content .lnb_title {
        /* margin-bottom: 20px;
        font-size: 26px; */
        display: none;
    }

    .sub_content .lnb_list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .sub_content .lnb_list > li {
        flex: 0 0 auto;
    }

    .sub_content .lnb_list .lnk {
        min-height: 48px;
        padding: 11px 18px;
        white-space: nowrap;
    }
}

@media all and (max-width: 768px) {
    .sub-top-wrap {
        height: clamp(260px, 42vw, 320px);
    }

    .sub-title-container .sub-title {
        font-size: clamp(30px, 4.43vw, 34px);
    }

    .sub-title-container .sub-description {
        margin-top: 16px;
    }

    .sub_content {
        width: calc(100% - 40px);
    }

    .sub_content .breadcrumb {
        margin-bottom: 40px;
        font-size: 16px;
    }

    .sub_content .sub_page_title {
        margin-bottom: clamp(28px, 5vw, 40px);
        font-size: clamp(38px, 6.25vw, 42px);
    }
}

@media all and (max-width: 640px) {
    .sub-title-container .sub-title {
        font-size: clamp(28px, 7.5vw, 32px);
    }

    .sub-title-container .sub-description {
        font-size: 15px;
    }
}

@media all and (max-width: 480px) {
    .sub-top-wrap {
        height: 240px;
    }

    .sub-title-container .sub-description {
        display: none;
    }

    .sub_content {
        gap: 32px;
        margin-top: 36px;
    }
}

/* ## Footer ## */
.site_footer {
    position: relative;
    height: 497px;
    padding: 0;
    background: var(--color-footer-bg);
}

.site_footer .footer_inner {
    position: relative;
    width: min(1540px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
}

.site_footer .footer_identity {
    position: absolute;
    top: 79px;
    left: 0;
}

.site_footer .footer_logo {
    display: block;
    width: 333.78px;
    height: 46px;
}

.site_footer .footer_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site_footer .footer_identity > strong,
.site_footer .footer_identity > p,
.site_footer .contact_list {
    display: block;
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.45px;
}

.site_footer .footer_identity > strong {
    margin-top: 41px;
    font-weight: 600;
}

.site_footer .footer_identity > p {
    margin-top: 16px;
    font-weight: 400;
}

.site_footer .contact_list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}

.site_footer .contact_list i {
    width: 1px;
    height: 17px;
    background: var(--Black-300);
}

.site_footer .footer_links {
    position: absolute;
    top: 166px;
    left: 817px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.45px;
}

.site_footer .footer_links strong {
    font-weight: 600;
}

.site_footer .footer_family {
    position: absolute;
    top: 166px;
    left: 1194px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 346px;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.45px;
}

.site_footer .footer_family label {
    font-weight: 600;
}

.site_footer .footer_family select {
    width: 100%;
    height: 46px;
    margin-top: 8px;
    padding: 12px 48px 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--White) url(../img/contents/select-icon.svg) no-repeat calc(100% - 18px) center / 14px 16px;
    color: var(--color-text-main);
    font: inherit;
    font-size: 16px;
    letter-spacing: -0.4px;
}

.site_footer .footer_sns {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.site_footer .youtube_link {
    display: block;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
}

.site_footer .youtube_link img {
    width: 100%;
    height: 100%;
}

.site_footer .copyright {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: max-content;
    margin: 0;
    color: var(--color-text-disabled);
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    transform: translateX(-50%);
}

/* 풀페이지 스와이퍼 페이지네이션 커스텀 */
.fullpage-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.fullpage-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
    opacity: 1;
}

@media all and (max-width: 1280px) {
    .site_footer {
        height: auto;
        min-height: 497px;
        padding: 70px 0 90px;
    }

    .site_footer .footer_inner {
        display: grid;
        grid-template-columns: 1.8fr 0.8fr 1fr;
        gap: clamp(40px, 5vw, 64px);
        width: calc(100% - clamp(40px, 5vw, 64px));
        height: auto;
    }

    .site_footer .footer_identity,
    .site_footer .footer_links,
    .site_footer .footer_family {
        position: static;
    }

    .site_footer .footer_logo {
        width: clamp(250px, 26vw, 333.78px);
        height: auto;
        aspect-ratio: 333.78 / 46;
    }

    .site_footer .footer_identity > strong,
    .site_footer .footer_identity > p,
    .site_footer .contact_list,
    .site_footer .footer_links,
    .site_footer .footer_family {
        font-size: clamp(15px, 1.4vw, 18px);
    }
}

@media all and (max-width: 768px) {
    .site_footer .footer_inner {
        grid-template-columns: 1fr;
        gap: 34px;
        width: min(100% - 32px, 1200px);
    }

    .site_footer .footer_identity > strong {
        margin-top: 28px;
    }

    .site_footer .footer_family {
        width: 100%;
        max-width: 346px;
    }

    .site_footer .footer_sns {
        margin-top: 20px;
    }

    .site_footer .copyright {
        width: calc(100% - 32px);
    }
}

@media all and (max-width: 640px) {
    .site_footer .footer_inner {
        width: calc(100% - 32px);
    }
}
