/** FONT **/
@font-face {font-family: PT; src: url(../fonts/PretendardVariable.woff2); font-weight: 45 920; font-style: normal; font-display: swap;}
@font-face {font-family: AV; src: url(../fonts/Antro_Vectra.woff2); font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: AV; src: url(../fonts/Antro_Vectra_Bolder.woff2); font-weight: 700; font-style: normal; font-display: swap;}
@font-face {font-family: CC; src: url(../fonts/CarismaClassic-600DemiBold.woff2); font-weight: 600; font-style: normal; font-display: swap;}
@font-face {font-family: NS; src: url(../fonts/NanumSquareR.woff2); font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: NS; src: url(../fonts/NanumSquareB.woff2); font-weight: 700; font-style: normal; font-display: swap;}
@font-face {font-family: NM; src: url(../fonts/NanumMyeongjo-Regular.woff2); font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: NM; src: url(../fonts/NanumMyeongjo-Bold.woff2); font-weight: 700; font-style: normal; font-display: swap;}
@font-face {font-family: NM; src: url(../fonts/NanumMyeongjo-ExtraBold.woff2); font-weight: 800; font-style: normal; font-display: swap;}
@font-face {font-family: MM; src: url(../fonts/MinervaModernRegular.woff); font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: GG; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2410-3@1.0/Batang_Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: GG; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2410-3@1.0/Batang_Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap;}

/** RESET **/
*, *::before, *::after{margin : 0;padding : 0; box-sizing: border-box;}
html{-webkit-text-size-adjust:100%; scroll-behavior: smooth;}
body{line-height:1; font-family: "Asta Sans", sans-serif; color:#000;}
ul, ol, li{list-style: none;}
a{text-decoration: none; color : inherit} 
img, picture, svg, video, canvas{display: block;max-width: 100%;}
button, input, textarea, select{font:inherit; color:inherit; border:none; background:none; outline:none;}
button{cursor:pointer;}
table{border-collapse:collapse; border-spacing:0;}
/** RESET END **/


/* 마우스오버 ANIMATION CSS */
.hover_ani{position:relative;/*width:500px;height:500px;*/}
.hover_ani>span.line{position:absolute;transition:width .5s,height .5s;background:#111;z-index: 10;}
.hover_ani>span.line:nth-child(1){width:0px;height:1px;left:0;top:0;}
.hover_ani>span.line:nth-child(2){width:1px;height:0px;right:0;top:0;}
.hover_ani>span.line:nth-child(3){width:0px;height:1px;right:0;bottom:0;}
.hover_ani>span.line:nth-child(4){width:1px;height:0px;left:0;bottom:0;}
.hover_ani:hover>span.line:nth-child(1),.hover_ani:hover>span.line:nth-child(3){width:100%;height:1px;}
.hover_ani:hover>span.line:nth-child(2),.hover_ani:hover>span.line:nth-child(4){width:1px;height:100%;}
/* 마우스오버 ANIMATION CSS END*/

/**/
.header{position : fixed; width : 100%; position :fixed; left : 0;top : 0; z-index: 10000;transition :transform 1s, background .5s, border-color .5s; border-bottom : 1px solid transparent; transform: translateY(-100%); height : 100px; padding : 0 80px;

    /* 2차 메뉴 배경 : 헤더 영역은 그대로, 헤더 아래 2차 메뉴 높이(--sub-h, common.js)만큼 흰 배경 (on) */
    &::after{position :absolute; content : ''; left : 0; top : 100%; z-index: -1; width : 100%; height : 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.08); opacity : 0; transition : height .5s cubic-bezier(.4,0,.3,1), opacity .4s;}

    &.dark{
        .header-nav > ul > li > a{color : #000}
        .main-logo{background: url(/assets/images/common/main-logo-dark.png)no-repeat center / contain;}
        .customer{color : #981933}
        .customer-icon{background: url(../images/common/customer-icon-dark.png)no-repeat center / contain;}
        .header-tel{color : #000;}
        .header-tel-icon{background: url(../images/common/header-tel-icon-dark.png)no-repeat center / contain;}
    } 

    &.on{/* background: #fff; border-color: #E5E5E5; */

        /* .header-nav > ul > li > a{color : #000}
        .main-logo{background: url(/assets/images/common/main-logo-dark.png)no-repeat center / contain;}
        .customer{color : #00285C}
        .customer-icon{background: url(../images/common/customer-icon-dark.png)no-repeat center / contain;}
        .header-tel{color : #00285C;}
        .header-tel-icon{background: url(../images/common/header-tel-icon-dark.png)no-repeat center / contain;} */

        /* 2차 메뉴 : nav 에 마우스를 올리면 header.on → 배경 + 모든 2차 메뉴 노출 */
        &::after{height : var(--sub-h, 0px); opacity : 1;}

        .header-nav > ul > li:hover > a{font-weight: 700;color : #8E0018 !important;}
        .header-nav > ul > li > ul{opacity : 1; visibility : visible; transform: translate(-50%, 0); transition : opacity .4s .15s, transform .5s .15s cubic-bezier(.4,0,.3,1), visibility .4s .15s;}
    }
    &.show{transform: translateY(0);}
    &.hide{transform: translateY(-100%);}

    &.sub{position : absolute;
        .header-nav > ul > li > a{color : #000}
        .main-logo{background: url(/assets/images/common/main-logo-dark.png)no-repeat center / contain;}
        .customer{color : #000}
        .customer-icon{background: url(../images/common/customer-icon-dark.png)no-repeat center / contain;}
        .header-tel{color : #000;}
        .header-tel-icon{background: url(../images/common/header-tel-icon-dark.png)no-repeat center / contain;}
    }
}

.header-inner{display: flex;justify-content: space-between; align-items: center; width : 100%; height : 100%; margin : 0 auto;}
.main-logo{width : 286px;height : 32px; background: url(/assets/images/common/main-logo.png)no-repeat center / contain; transition : background .5s;}
.main-logo > a{display: block;width : 100%;height : 100%; font-size: 0px; color : transparent;}

.header-right{display: flex; align-items: center; height : 100%;}

.header-nav{white-space: nowrap; height : 100%; font-family: PT; position : absolute; left : 50%; transform: translateX(-50%);}
.header-nav > ul{display: flex; height : 100%;}
.header-nav > ul > li{display: flex;justify-content: center;align-items: center; position : relative; height : 100%;}
.header-nav > ul > li:hover > a{font-weight: 700; color: #8E0018;}
.header-nav > ul > li > a{display: flex;align-items: center;justify-content: center; height : 100%; padding : 0 28px; font-size: 16px; position : relative; color : #fff; transition : color .5s; font-weight: 500;}

.header-nav > ul > li > a::before{clip-path : inset(0 50%);position : absolute;content : '';transform: translateY(-16px) scale(1) rotate(0deg); width : 30px; height : 1px; background : #8E0018;opacity : 0; transition : opacity .5s, transform .5s, background .5s, width .5s, height .5s, clip-path .5s;}
.header-nav > ul > li:hover > a::before{clip-path : inset(0); width : 5px;height : 5px; transform: translateY(-16px) scale(1) rotate(45deg); opacity : 1; transition : opacity .5s, transform .5s .5s, background .5s, width .3s .5s, height .3s .5s, clip-path .5s;}

/* 2차 메뉴 : 1차 메뉴 가운데 정렬 (on 일 때 노출) */
.header-nav > ul > li > ul{position : absolute; left : 50%; top : 100%; padding : 26px 0; text-align: center; font-family: PT; opacity : 0; visibility : hidden; transform: translate(-50%, -10px); transition : opacity .3s, transform .3s, visibility .3s;
    li > a{display: block; padding : 8px 10px; font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -0.03em; color : #777; transition : color .3s;
        &:hover{color : #8E0018; font-weight: 700;}
    }
}
.customer{display: flex;align-items: center; color : #8D7B68; font-family: Aster sans; font-size: 16px; line-height: 1.8; letter-spacing: -0.04em; font-weight: 500;gap : 5px; transition : .5s; margin-right: 30px;}
.customer-icon{width : 21px;height : 20px; background: url(../images/common/customer-icon.png)no-repeat center / contain; transition : .5s;}

.header-tel{display: flex; align-items: center; gap : 8px; color : #fff; font-size: 25px; font-family: ofelia-text; font-weight: 700; font-weight: 500; transition : .5s;}
.header-tel-icon{width : 21px;height : 20px; background: url(../images/common/header-tel-icon.png)no-repeat center / contain; transition : .5s;}

/**/

/**/

.footer{display: flex;flex-direction: column;align-items: center;justify-content: center; background: #000; padding : 70px 0;}
.footer-logo{margin-bottom: 30px}
.sigong{display: flex; font-size: 15px; font-weight: 700; color : #fff; margin-bottom: 40px; gap : 20px;}
.sigong > li {display: flex; align-items: center}
.sigong > li > span{font-size: 12px;}

.footer-ul{display: flex; color : #7B7B7B; gap : 32px; margin-bottom: 40px;}
.footer-ul > li{position : relative;
    &:not(:last-child)::after{position :absolute; content : ''; right : -15px; width : 1px; height : 10px; background: #7B7B7B; top : 50%; transform: translateY(-50%);}
}
.footer-ul b{color : #fff; font-weight: 700;}

.footer-info{font-size: 14px; letter-spacing: -0.04em; color : #7B7B7B; line-height: 1.5em; margin-bottom: 40px; text-align: center;}

.footer-copy{font-size: 14px; letter-spacing: -0.04em; color : #7B7B7B;}
/* 오리발 */
.page_info{display: flex;flex-direction: column;justify-content: center;background : #f7f7f7;max-width : 1408px;border : 1px solid #e5e5e5;padding : 25px 60px 25px 120px;min-height : 120px;font-size: 13px;letter-spacing: -0.04em;color : #777;position : relative;margin : 2em auto 0;}
.page_info::after{display: flex;align-items: center;justify-content: center;color : #fff;font-size: 36px;font-weight: 700;content : '!';position : absolute;width : 70px;height : 70px;border-radius: 50%;background : #ddd;left : 25px;top : 50%;transform: translateY(-50%);}
.page_info > li{position : relative;padding-left : 14px;}
.page_info > li + li{margin-top : 3px;}
.page_info > li::before{content : '※ ';position : absolute;left : 0;font-size: 11px;line-height: 18px;}

.page_info > li p{display : flex; font-size : 12px;gap : 5px;}
.page_info > li p:nth-of-type(1){margin-top: 5px;}
.page_info > li p + p{margin-top: 3px;}

.page_info > li > p b{white-space : nowrap;}


/* ======================================================================
 * 반응형 (모바일 · 탭 : 1200px 이하)
 * - 레이아웃은 /m 과 동일 (375 기준 vw → px 환산)
 * - 높이는 vh 대신 --app-h (common.js 에서 한 번 구해 적용)
 * ====================================================================== */
.hamburger{display: none;}
.hamburger-nav{display : none;}
.moView{display : none !important;}

@media(max-width : 1200px){
    body{word-break: keep-all; overflow-wrap: break-word;}
    .moView{display : block !important;}
    .pcView{display : none !important;}

    /* HEADER : 흰 배경 고정 / 햄버거 - 로고(가운데) - 관심고객, 전화 아이콘 */
    .header, .header.sub{position : fixed; height : 52px; padding : 0 18px 0 20px; background: #fff; border-bottom : 1px solid #ddd; transform: translateY(0) !important;}
    .header::after{display: none;}
    .header-inner{justify-content: space-between; padding : 0;}
    .header-nav{display: none;}
    .header .main-logo{position : absolute; left : 50%; top : 50%; width : 178px; height : 17px; transform: translate(-50%, -50%); background: url(/assets/images/common/main-logo-dark.png)no-repeat center / contain;}
    .header-right{gap : 12px; height : auto;}
    .customer{margin-right: 0; gap : 0;}
    .header-tel{gap : 0;}
    .header .customer-icon{width : 18px; height : 17px; background: url(../images/common/customer-icon-dark.png)no-repeat center / contain;}
    .header .header-tel-icon{width : 17px; height : 17px; background: url(../images/common/header-tel-icon-dark.png)no-repeat center / contain;}

    /* 햄버거 버튼 : 3줄 → 열리면 X */
    .hamburger{display: block; position : relative; width : 22px; height : 14px; flex-shrink: 0;}
    .hamburger > span{position : absolute; left : 0; width : 100%; height : 2px; background: #000; transition : transform .5s, opacity .3s;}
    .hamburger > span:nth-child(1){top : 0;}
    .hamburger > span:nth-child(2){top : 6px;}
    .hamburger > span:nth-child(3){top : 12px;}
    .header.active .hamburger > span:nth-child(1){transform: translateY(6px) rotate(-45deg);}
    .header.active .hamburger > span:nth-child(2){opacity: 0; transform: scale(0);}
    .header.active .hamburger > span:nth-child(3){transform: translateY(-6px) rotate(45deg);}

    /* 햄버거 메뉴 : 왼쪽에서 열림 (m 과 동일), 열린 동안 뒤 페이지 스크롤 잠금 */
    html.menu-open, html.menu-open body{overflow: hidden;}
    .hamburger-nav{display : flex; flex-direction: column; position : fixed; left : 0; top : 0; bottom : 0; z-index: 9999; width : 100%; padding-top : 52px; background: #fff; color : #111; transform: translateX(-100%); visibility : hidden; transition : transform .7s, visibility .7s;}
    .header.active + .hamburger-nav{transform: translateX(0); visibility : visible;}
    .hamburger-nav > ul{flex : 1; overflow-y: auto; border-top : 1px solid #ddd; -webkit-overflow-scrolling: touch;}
    .hamburger-nav > ul > li > a{display: flex; align-items: center; justify-content: space-between; padding : 16px; background: #fafafa; border-bottom: 1px solid #ddd; font-family: PT; font-size: 18px; font-weight: 500; letter-spacing: -0.03em;}
    /* 2차 메뉴가 있는 1차 메뉴 : 꺾쇠 (누르면 펼침, common.js) */
    .hamburger-nav > ul > li:has(> ul) > a::after{content : ''; width : 8px; height : 8px; margin-right: 4px; border : solid #8E0018; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition : transform .4s cubic-bezier(.4,0,.3,1);}
    .hamburger-nav > ul > li.open > a{color : #8E0018;}
    .hamburger-nav > ul > li.open > a::after{transform: translateY(2px) rotate(-135deg);}
    .hamburger-nav > ul > li > ul{display: none; background: #f0f0f0;}
    .hamburger-nav > ul > li > ul > li > a{display: block; padding : 12px 24px; border-bottom : 1px solid #ddd; font-family: PT; font-size: 15px; font-weight: 500; letter-spacing: -0.03em; color : #555;}
    .hamburger-nav > ul > li > ul > li > a:active{color : #8E0018;}
    .hamburger-nav br{display: none;}

    /* FOOTER */
    .footer{padding : 50px 25px 55px; text-align: center;}
    .footer-logo{width : auto; height : 20px; margin-bottom: 25px;}
    .sigong{flex-wrap: wrap; justify-content: center; gap : 10px 20px; margin-bottom: 25px; font-size: 12px;}
    .sigong > li{gap : 4px;}
    .sigong > li > span{font-size: 10px;}
    .sigong > li > img{width : auto; height : 16px;}
    .footer-ul{flex-direction: column; align-items: center; gap : 6px; margin-bottom: 25px; font-size: 12px; line-height: 1.5; letter-spacing: -0.04em;}
    .footer-ul > li:not(:last-child)::after{display: none;}
    .footer-info{margin-bottom: 25px; font-size: 11px; line-height: 1.6;}
    .footer-copy{font-size: 11px;}

    /* 오리발 */
    .page_info{width : calc(100% - 32px); padding : 15px 20px; min-height : 0; font-size: 11px;}
    .page_info::after{display : none;}
}

/* 작은 모바일 (374 이하) : 로고와 아이콘이 겹치지 않게 */
@media(max-width : 374px){
    .header .main-logo{width : 150px; height : 15px;}
}

/* 탭 : 푸터 정보 가로 배치 */
@media(min-width : 768px) and (max-width : 1200px){
    .footer-ul{flex-direction: row; flex-wrap: wrap; justify-content: center; gap : 6px 24px;}
}
