@charset "utf-8";

/**************************************************
*
*   layout.css
*
***************************************************/

/**************************************************
*
*   header(헤더)
*
***************************************************/
#hd {width: 100%; padding: 2.6% 3.6% 0; z-index: 250; color: #fff; display: flex; justify-content: space-between; align-items: center; position: fixed; top: -100px; left: 50%; transform: translateX(-50%); transition: opacity var(--com-duration-01) var(--com-timing-type-01), top var(--com-duration-01) var(--com-timing-type-01); opacity: 0; pointer-events: none;}
#hd.in_subPage {padding-top: 30px; padding-bottom: 30px; position: relative; top: unset; left: unset; transform: unset; background-color: #fff; opacity: 1; pointer-events: auto;}
#hd.in_subPage .logo_box .logo_colored {display: block; opacity: 1; position: static;}
#hd.in_subPage .logo_box .logo_white {display: none;}
#hd.in_subPage #gnb .dep1 {color: #000; font-weight: 500;}
#hd.in_subPage .btn_gnb_popup .line {background-color: #000;}
#hd > .rb {display: flex; justify-content: space-between; align-items: center;}
#hd .logo_box {position: relative;}
#hd .logo_box img {transition: opacity var(--com-duration-01) var(--com-timing-type-01);}
#hd .logo_box .logo_colored {opacity: 0; position: absolute; top: 0;}
#hd .btn_gnb_popup {flex-shrink: 0; width: 30px; height: 21px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;}
#hd .btn_gnb_popup .line {height: 3px; border-radius: 20px; background-color: #fff; transition: width 0.2s ease, background-color var(--com-duration-01) var(--com-timing-type-01);}
#hd .btn_gnb_popup .line:nth-of-type(1) {width: 80%;}
#hd .btn_gnb_popup .line:nth-of-type(2) {width: 100%;}
#hd .btn_gnb_popup .line:nth-of-type(3) {width: 50%;}
#hd .btn_gnb_popup:hover .line {width: 100%;}
#hd.ver_black .logo_box .logo_colored {opacity: 1; position: static;}
#hd.ver_black .logo_box .logo_white {opacity: 0; position: absolute; top: 0;}
#hd.ver_black #gnb .dep1 {color: #000;}
#hd.ver_black .btn_gnb_popup .line {background-color: #000;}
#hd.active {opacity: 1; pointer-events: auto; top: 0;}


#gnb {text-align: center;}
#gnb .dep1_list {display: flex; align-items: center; gap: 0 95px; padding-right: 95px;}
#gnb .dep1_list > li {position: relative;}
#gnb .dep1_list > li:hover .dep2_list {opacity: 1; pointer-events: auto;}
#hd.ver_black #gnb .dep1_list > li:not(.no_children):hover .dep1,
#hd.in_subPage #gnb .dep1_list > li:not(.no_children):hover .dep1 {color: #fff; font-weight: 500; transition: color 0.2s ease;}
#gnb .dep1 {display: block; width: fit-content; font-size: 24px; z-index: 100; position: relative; color: #fff; font-family: "GmarketSans", sans-serif; line-height: 1.2; letter-spacing: -1px; padding-top: 10px; transition: color var(--com-duration-01) var(--com-timing-type-01);}
#gnb .dep2_list {opacity: 0; pointer-events: none; width: 210px; padding: 75px 0 30px; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background-color: #1c1c1c; border-top: 1px solid #04ffe4; transition: opacity 0.2s ease;}
#gnb .dep2_list > li {padding: 0 10px;}
#gnb .dep2_list > li:not(:last-of-type) {margin-bottom: 15px;}
#gnb .dep2 {font-size: 19px; color: #888; font-weight: 500;}
#gnb .dep2:hover {color: #04ffe4;} 


#popup_gnb {opacity: 0; visibility: hidden; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: url(/resources/user/infra/img/sub/bg_popup_gnb_.jpg) no-repeat top center; background-size: cover; z-index: 300; overflow-y: auto; padding-bottom: 40px;}
#popup_gnb .hd_box {padding: 2.6% 3.6% 0; display: flex; align-items: center; justify-content: space-between;}
#popup_gnb .btn_cls {color: #fff; font-size: 30px;}
#gnb_detail {margin-top: 150px;}
#gnb_detail a {display: inline-block;}
#gnb_detail a:hover {text-decoration: underline; text-underline-position: under;}
#gnb_detail .dep1_list {display: flex; gap: 0 6%; justify-content: center; padding: 0 20px;}
#gnb_detail .dep1_list > li {width: 240px; max-width: 25%;}
#gnb_detail .dep1 {display: block; text-align: center; font-size: 27px; color: #fff; font-weight: 600; padding: 0 10px;}
#gnb_detail .dep2_list {margin-top: 20px; padding: 40px 20px 0; position: relative; border-top: 2px solid #3e699e;}
#gnb_detail .dep2_list > li {position: relative;}
#gnb_detail .dep2_list > li::before {content: ""; width: 5px; height: 5px; border-radius: 50%; background-color: #1e4b8c; position: absolute; top: 10px; left: 0;}
#gnb_detail .dep2_list > li:not(:first-of-type) {margin-top: 18px;}
#gnb_detail .dep2 {font-size: 20px; color: #fff; font-weight: 500; padding-left: 20px;}
#gnb_detail .dep3_list {margin-top: 20px; padding-left: 20px;}
#gnb_detail .dep3_list > li:not(:first-of-type) {margin-top: 12px;}
#gnb_detail .dep3_list > li {position: relative; padding-left: 10px;}
#gnb_detail .dep3_list > li::before {content: ""; width: 3px; height: 3px; border-radius: 50%; background-color: #ccc; position: absolute; top: 9px; left: 0;}
#gnb_detail .dep2_list > li:not(:last-of-type) .dep3_list {margin-bottom: 40px;}
#gnb_detail .dep3 {font-size: 18px; color: #ccc;}
#gnb_detail .dep1_list > .grid_box {width: 680px;}
#gnb_detail .dep1_list > .grid_box .dep2_list {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 90px 20px;}

@media screen and (max-width: 1400px) {
    #hd, #hd.in_subPage {padding: 20px;}
    #hd .logo_box, #popup_gnb .logo_box {width: 250px;}

    #gnb .dep1_list {gap: 0 80px; padding-right: 80px;}
    #gnb .dep1 {font-size: 20px;}
    #gnb .dep2_list {width: 180px; top: -10px; padding: 60px 0 25px;}
    #gnb .dep2 {font-size: 17px;}

    #popup_gnb .hd_box {padding: 20px;}
    #popup_gnb .btn_cls {font-size: 26px;}

}

@media screen and (max-width: 1080px) {
    #hd {position: absolute;}
    #hd .btn_gnb_popup {margin-left: 15px;}
    #hd .logo_box, #popup_gnb .logo_box {width: 230px;}

    #gnb {display: none;}
    
    #gnb_detail {margin-top: 40px;}
    #gnb_detail .dep1_list {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 30px;}
    #gnb_detail .dep1_list > li {width: 100%; max-width: unset;}
    #gnb_detail .dep1_list > .grid_box {width: auto;}
    #gnb_detail .dep1_list > .grid_box .dep2_list {gap: 40px 20px;}
    #gnb_detail .dep1 {font-size: 23px;}
    #gnb_detail .dep2_list {margin-top: 10px; padding: 30px 20px 0;}
    #gnb_detail .dep2 {font-size: 18px; padding-left: 15px;}
    #gnb_detail .dep3 {font-size: 16px;}
    #gnb_detail .dep2_list > li:not(:last-of-type) .dep3_list {margin-bottom: 30px;}
    #gnb_detail .dep2_list > li::before {width: 4px; height: 4px; top: 8px;}
    #gnb_detail .dep3_list {margin-top: 15px;}
    
}

@media screen and (max-width: 768px) {
    #hd .logo_box, #popup_gnb .logo_box {width: 180px;}
}

@media screen and (max-width: 480px) {
    #hd {padding: 15px;}
    #hd .btn_gnb_popup {width: 23px; height: 18px; margin-left: 10px;}
    #hd .btn_gnb_popup .line {height: 2px;}
    #hd .logo_box, #popup_gnb .logo_box {width: 170px;}

    #gnb_detail {margin-top: 30px;}
    #gnb_detail .dep1_list {grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 45px 0;}
    #gnb_detail .dep1 {font-size: 21px;}
    #gnb_detail .dep2_list {display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 20px 20px 0;}
    #gnb_detail .dep2_list > li:not(:first-of-type) {margin-top: 0;}
    #gnb_detail .dep2 {font-size: 16px;}
    #gnb_detail .dep3_list, #gnb_detail .dep2_list > li:not(:last-of-type) .dep3_list {margin: 0; margin-top: 10px; padding-left: 15px;}
    #gnb_detail .dep3_list > li:not(:first-of-type) {margin-top: 8px;}
    #gnb_detail .dep3 {font-size: 14px;}

    #popup_gnb .hd_box {padding: 15px;}
    #popup_gnb .btn_cls {font-size: 20px;}
}



/**************************************************
*
*   footer(푸터)
*
***************************************************/
#ft {padding: 35px 20px; border-top: 1px solid #ddd;}
#ft > .com_inner1600 {display: flex; justify-content: space-between; align-items: center;}
#ft .txt_box {}
#ft .etc_link_box {display: flex; margin-bottom: 25px; gap: 0 25px;}
#ft .etc_link_box li {}
#ft .etc_link_box a, #ft address, #ft .txt_tel_fax {font-size: 18px; color: #000; font-weight: 500;}
#ft .etc_link_box a:hover {color: var(--com-sub-color-01);}
#ft .txt_copyright {font-size: 15px; color: #888; font-weight: 500;}
#ft address {margin-bottom: 7px;}
#ft .txt_tel_fax {margin-bottom: 15px;}

@media screen and (max-width: 1080px) {
    #ft {padding: 25px 20px;}
    #ft .etc_link_box a, #ft address, #ft .txt_tel_fax {font-size: 16px;}
    #ft .etc_link_box {margin-bottom: 15px; gap: 0 15px;}
    #ft address {margin-bottom: 3px;}
    #ft .txt_copyright {font-size: 13px;}
    #ft .logo_box {width: 230px;}
}

@media screen and (max-width: 768px) {
    #ft > .com_inner1600 {flex-wrap: wrap; justify-content: center;}
    #ft .etc_link_box {justify-content: center;}
    #ft .txt_box {width: 100%; text-align: center;}
    #ft .logo_box {margin-top: 30px;}
}

@media screen and (max-width: 480px) {
    #ft .etc_link_box a, #ft address, #ft .txt_tel_fax {font-size: 14px;}
    #ft .etc_link_box {margin-bottom: 10px; gap: 0 10px;}
    #ft .txt_tel_fax {margin-bottom: 10px;}
    #ft .logo_box {width: 200px; margin-top: 20px;}
    
}


/**************************************************
*
*   sub header(서브페이지 헤더)
*
***************************************************/
#sub_header {position: relative;}
#sub_header .intro_box {height: 300px; background-repeat: no-repeat; background-position: center center; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; animation: zoom-out 2.5s ease forwards;}
#sub_header .intro_box h2 {font-size: 46px; font-family: "GmarketSans", sans-serif; margin-bottom: 10px;}
#sub_header .intro_box a {color: #fff; transition: none; font-family: "SCDream", sans-serif;}
#sub_header .intro_box a:hover {text-decoration: underline; text-underline-position: under;}
#sub_header .intro_box a i {}
#sub_header .intro_box .icon_home {font-size: 19px; margin-top: 2px; margin-right: 7px;}
#sub_header .intro_box .icon_right {margin: 4px 10px 0;}
#sub_header .intro_box .road_list {display: flex; justify-content: center; align-items: center;}
#sub_header .intro_box .road_list a {letter-spacing: -1px;}
#sub_header .menu_list {width: 100%; text-align: center; font-size: 18px; background-color: #fff; border-bottom: 1px solid #ddd;}
#sub_header .menu_list ul {max-width: 1600px; display: flex; justify-content: center; margin: 0 auto;}
#sub_header .menu_list li {width: 25%;}
#sub_header .menu_list a {height: 80px; padding: 0 10px; color: #666; display: flex; justify-content: center; align-items: center; font-family: "SCDream", sans-serif; transition: background-color 0.3s ease;}
#sub_header .menu_list a:not(.active):hover {background-color: #f1f1f1;}
#sub_header .menu_list a.active {color: var(--com-sub-color-01); font-weight: 500; border-bottom: 2px solid var(--com-sub-color-01);}

/* 서브페이지 헤더 배경이미지 */
/* 충전인프라신기술 */
#sub_header .intro_box.type01 {background-image: url(/resources/user/infra/img/sub/sub_header_bg_01techIntro.jpg);}

/* 표준 */
#sub_header .intro_box.type02 {background-image: url(/resources/user/infra/img/sub/sub_header_bg_02standard.jpg);}

/* 시험/인증 */
#sub_header .intro_box.type03 {background-image: url(/resources/user/infra/img/sub/sub_header_bg_03certification.jpg);}

/* 고객센터 */
#sub_header .intro_box.type04 {background-image: url(/resources/user/infra/img/sub/sub_header_bg_04customerService.jpg);}

/* 단체표준인증 */
#sub_header .intro_box.type05 {background-image: url(/resources/user/infra/img/sub/sub_header_bg_05groupStandard.jpg);}




/* 서브헤더 배경 애니메이션 효과 */
@keyframes zoom-out {
         0%   {background-size: auto 130%;}
    100% {background-size: auto 110%;}
}

/* splitting 커스텀 */
#sub_header .intro_box .char {
    animation: slide-in .6s cubic-bezier(.3, 0, .7, 1) both;
    animation-delay: calc(50ms * var(--char-index));
}
@keyframes slide-in {
from {
    transform: scale(0.4) translateY(80%);
    opacity: 0;
}
}



@media screen and (max-width: 1400px) {
    #sub_header .intro_box {height: 240px;}
    #sub_header .intro_box h2 {font-size: 40px; margin-bottom: 5px;}
    #sub_header .intro_box .road_list {font-size: 15px;}
    #sub_header .intro_box .icon_home {font-size: 17px; margin-top: 3px;}
    #sub_header .intro_box .icon_right {margin: 4px 4px 0;}
    #sub_header .menu_list {font-size: 16px;}
    #sub_header .menu_list a {height: 60px;}
  
        /* 서브헤더 배경 애니메이션 효과 */
      @keyframes zoom-out {
        0%   { background-size: cover; }
        100% { background-size: cover; }
    }
  
    
}

@media screen and (max-width: 768px) {
    #sub_header .intro_box {height: 200px;}
    #sub_header .intro_box h2 {font-size: 30px;}
    #sub_header .intro_box .road_list {font-size: 13px;}
    #sub_header .intro_box .icon_home {font-size: 15px; margin-top: 2px; margin-right: 4px;}
    #sub_header .menu_list {font-size: 14px;}
    #sub_header .menu_list ul {flex-wrap: wrap; justify-content: flex-start;}
    #sub_header .menu_list li {width: 50%;}
    #sub_header .menu_list a {height: 50px;}
    #sub_header .menu_list.one_child li {width: 100%;}

}

@media screen and (max-width: 480px) {
    #sub_header .intro_box {height: 160px;}
    #sub_header .intro_box h2 {font-size: 27px;}
    #sub_header .intro_box .road_list {font-size: 12px;}
    #sub_header .intro_box .icon_home {font-size: 14px; margin-top: 1px;}
    #sub_header .intro_box .icon_right {margin: 4px 2px 0;}
    #sub_header .menu_list {font-size: 13px;}
    #sub_header .menu_list a {height: 45px;}
  
     
}

/**************************************************
*
*   sub content(서브페이지 내용)
*
***************************************************/
#sub_content {padding: 45px 20px 80px;}
#sub_content .anchor_list {margin-top: -50px; margin-bottom: 70px; gap: 7px 25px; padding: 15px 0; font-size: 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; position: sticky; top: 0; left: 0; background-color: #fff; z-index: 100;}
#sub_content .anchor_list li {}
#sub_content .anchor_list a {transition: none; color: #888;}
#sub_content .anchor_list a:not(.active):hover {text-decoration: underline; text-underline-position: under;}
#sub_content .anchor_list a.active {color: #000; font-weight: 600;}

@media screen and (max-width: 1400px) {
    #sub_content {padding: 35px 20px 60px;}
    #sub_content .anchor_list {font-size: 18px; margin-bottom: 60px;}
}

@media screen and (max-width: 768px) {
    #sub_content {padding: 20px 20px 40px;}
    #sub_content .anchor_list {margin-top: -30px; font-size: 16px; margin-bottom: 40px; gap: 7px 20px;}

}

@media screen and (max-width: 480px) {
    #sub_content .anchor_list {font-size: 14px; gap: 7px 15px; margin-bottom: 40px;}
}



