
/* hidden_gnb */
.hidden_bg{
    opacity: 0;
    pointer-events: none;
    background: rgba(0,0,0,0.8);
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999;
    transition: all .3s ease-in-out;
}
.hidden_bg.on{
    opacity: 1;
    pointer-events: auto;
}
.hidden_menu{
    position: fixed;
    top: 0;
    right: 0;
    min-width: 270px;
    max-width: 400px;
    width: 92%;
    background: #fff url(../img/main_sec1-bglogo.png) no-repeat right 65% / 100% ;
    height: 100vh;
    box-sizing: border-box;
    transform: translateX(100%); 
    transition: all .3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: scroll;
}
.hidden_bg.on .hidden_menu{
    transform: translateX(0%);
}

.hidden_gnb{
    font-size: 1.5rem;
}
.hidden_gnb>li:not(:last-child){
    border-bottom: 1px solid #f5f5f5;
}
.hidden_gnb>li{margin: 0 10px;}
.hidden_gnb>li>a{
    display: block;
    font-size: 1.7rem;
    padding: 10px 10px ;
    font-weight: 600;
    /* font-weight: normal; */  
}
.hidden_gnb .top_0{
    display: none;
    background: #f8f8f8;
    padding: 20px 36px;
}
.hidden_gnb .top_0>li>a{
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}
.hidden_gnb .top_0>li>ul{
    padding-left: 10px;
    padding-bottom: 10px;
    font-size: .9em;
}
.hidden_gnb .top_0>li>ul>li:not(:last-child){margin-bottom: .5rem;}
.hidden_gnb .top_0 li:last-of-type a{
    margin-bottom: 0px;
}
.hidden_gnb .on .top_0 {
    display: block;
}
.hidden_bottom{
    background: var(--Navy-Logo);
    color: #fff;
    height: 28vh;
    max-height: 200px;
    width: 100%;
    box-sizing: border-box;
    padding: 1.5rem 2rem;
}
.hidden_bottom>div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.hidden_bottom .call{
    width: 13px;
    margin-right: 5px;
} 
.hidden_bottom a{
    color: rgb(52, 62, 71);
    font-weight: bold;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}
.hidden_bottom .time_table{
    font-size: 16px;
    font-weight: 600;
    color: #fff;;
    line-height: 1.4;
}
.hidden_bottom .time_table li{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.hidden_bottom .time_table b{
    width: 80px;
    display: flex;
    justify-content: space-between;
}
.time_table p{
    margin-top: 15px;
    font-size: 1.4rem;
}
.time_table p:last-child{
    margin-top: 0px;
}

/* header */
.header_container{
    width: 100%;
    height: 0;
}
header{
    font-family: "Paperlogy";
    height: 142px;
    width: 100%;
    font-size: 22px;
    font-weight: 600;
    position: fixed;
    transition: all .5s ease ;
    z-index: 100;
    background: #fff;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.03));
}
.header-inner-wrap{
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.03));
}
.header-inner-top{
    background: var(--Navy-Logo, #083781);
    height: 50px;
}
.header-inner-top .top-inner{
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.header-inner-top .top-inner img{
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.header-inner-top .top-inner span:nth-of-type(2){
    font-weight: 800;
}
.h_left{
    flex-direction: column;
}
.h_logo{max-width: 230px;line-height: 0;}

.h_logo span{
    height: 92px;
}
.h_logo span a{
    display: flex;
    align-items: center;
}
.logo-left{
    opacity: 1;
    pointer-events: none;
    position: absolute;
    top: 92px;
    left: 0;
    width: 100%;
    z-index: 9999;
    color: #ADADAD;
    font-size: 16px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease, border-radius 0.25s ease;
    padding: 20px 0px;
}



header .gnb>li>a{
    color: var(--main-black);
}


header .h_left{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    font-family: 'Paperlogy';
}

header .header_inner{
    max-width: 1400px;
    height: 92px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 95%;
}


.header_menu{
    display: flex;
    height: 100%;
}
.header_menu .gnb{
    display: flex;
}

.header_menu .gnb > li {
    position: relative;
    transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-radius 0.25s ease;
}

.header_menu .gnb > li:hover {
    background-color: var(--Navy-Logo);
    border-radius: 15px;
}

.header_menu .gnb > li:hover .depth2{
    background: var(--Navy-Logo);
    border-radius: 15px;
    color: var(--White);
}
.header_menu .gnb > li:hover > a {
    color: var(--White);
}
.header_menu .gnb > li:hover > a span{
    font-weight: 700;
}


.header_menu .gnb>li>a{
    line-height: 1;
    display:inline-flex;
    position: relative;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header_menu .gnb > li > a > span,
.depth2 > li > a > span {
    position: relative;
    display: inline-block;
}

.depth2 > li > a > span::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.header_menu .gnb > li:hover > a > span::after,
.depth2 > li > a:hover > span::after {
    width: 100%;
}

.header_menu .gnb > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--White);
}

.header_menu .gnb > li > a > span::before{
    content: "";
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--Navy-Logo);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 99999;
}

/* active일 때만 표시 */
.header_menu .gnb > li.active > a > span::before{
    opacity: 1;
}

.menu_left_deco{
    aspect-ratio: 3/2;
    width: 100%;
    max-width: 100%;
    position: absolute;
    top: 100px;
    left: 0;
}

/*  */
.header_menu .gnb>li{
    width: 185px;
    height: 100%;
    position: relative;
}

.header_menu .gnb:hover .depth2 {
    opacity: 1;
    pointer-events: auto;
}
.header_inner:has(.header_menu .gnb:hover) .h_left-box,
.header_inner:has(.header_menu .gnb:hover) .bg_depth2 {
    opacity: 1;
    pointer-events: auto;
}
.header_menu:hover .depth2 li{
    border: none;
}

/* 헤더 왼쪽 정보 */
.h_left-box{
    opacity: 0;
    width: 100%;
    padding-top: 40px;
    position: relative;
}
.h_left-box::before{
    content: "";
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 346px;
    height: 257px;
    background: url(../img/header-bglogo.png) no-repeat center / cover;
    z-index: 0;
}
.h_left-box .header_txt_ul{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #6B6B6B;
}
.h_left-box .header_txt_ul li{
    display: flex;
    align-items: center;
    gap: 30px;
}
.h_left-box .header_txt_ul li strong{
    width: 115px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.header_txt_ul .header-small{
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    color: #ADADAD;
}
.h_left-box .header_txt_ul li b{
    font-weight: 800;
}
.header-phone-bot{
    max-width: 225px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--White);
    background: var(--Navy-Logo);
    font-weight: 800;
    font-size: 22px;
    border-radius: 10px;
    padding: 10px 20px;
}
.header-phone-bot img{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}
.depth2{
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 92px;
    left: 0;
    width: 100%;
    z-index: 9999;
    color: #ADADAD;
    font-size: 16px;
    text-align: center;
    font-weight: 600;
    transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-radius 0.25s ease;
    padding: 20px 0px;
}
.depth2 li a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.depth2.right li{
    border-right: 2px solid var(--Grey-01, #F5F5F5);
}
.depth2 li{
    transition: color .3s;
    width: 185px;
    height: 56px;
    border-left: 2px solid var(--Grey-01, #F5F5F5);
}
.depth2.left li,
.depth2.right li{
    border: none;
}
.bg_depth2{
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 322px;
    left: 0;
    top: 90px;
    background: #fff;
    z-index: -1;
    transition: all .3s ease-in-out;
}


.h_right{
    display: none;
}
header .h_q_icon{
    display: flex;
    gap: 1rem;
    align-items: center;
    line-height: 0;
}
header .h_q_icon img{
    max-width: 50px;
}
header .h_q_icon .h_call{
    display: flex;
    align-items: center;
    gap: 1rem;
}
header .h_q_icon .h_call_txt{
    line-height: 1;
}
header .h_q_icon .h_call_txt i{
    font-size: 1.6rem;
    display: block;
    margin-bottom: .5rem;
}
header .h_q_icon .h_call_txt b{
    font-size: 2.4rem;
    display: block;
    color: #003686;
}

header .open_menu{
    display: none;
    /* padding-left: 50px; */
    cursor: pointer;
    align-items: center;
}

.ham {
    cursor: pointer;
    transition: transform 400ms;
}

.hamRotate.active {
    transform: rotate(45deg);
}

.ham .line {
    fill:none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke:#000;
    stroke-width:5.5;
    stroke-linecap:round;
}

.ham8 .top {
    stroke-dasharray: 40 160;
}

.ham8 .middle {
    stroke-dasharray: 40 142;
    transform-origin: 50%;
    transition: transform 400ms;
}

.ham8 .bottom {
    stroke-dasharray: 40 85;
    transform-origin: 50%;
    transition: transform 400ms, stroke-dashoffset 400ms;
}

.ham8.active .top {
    stroke-dashoffset: -64px;
}

.ham8.active .middle {
    transform: rotate(90deg);
}

.ham8.active .bottom {
    stroke-dashoffset: -64px;
}

.hidden_gnb > li > a{
    position: relative;
    display: inline-block;
}


/* span 기준으로 점 */
.gnb > li > a > span{
    position: relative;
    display: inline-block;
}


@media (min-width:0px) and (max-width:1400px){
    
    .h_left-box .header_txt_ul li{
        gap: 2vw;
    }
    .h_left-box .header_txt_ul li strong{
        width: 5vw;
    }
    .h_left-box .header_txt_ul{
        font-size: 14px;
    }
    .h_left-box::before{
        width: 20vw;
        height: 15vw;
    }
    
}   

@media (min-width:0px) and (max-width:1280px){
    header .header_inner{
        justify-content: space-between;
    }
    header {
        height: 140px;
    }
    header.scrolled-top{
        height: 70px;
    }
    .header_inner .header_menu .gnb{
        display: none;
    }
    .header_menu .gnb > li.menu-active .depth2 {
        pointer-events: none;
    }
    .header_menu .menu-active ~ .bg_depth2 {
        pointer-events: none;
    }
    .header_menu .bg_depth2 {
        pointer-events: none;
    }
    header .h_q_icon img {
        max-width: 40px;
    }
    header .open_menu{
        display: flex;
    }
    .h_right{
        display: flex;
    }
    header{
        background: #fff;
    }
    header .gnb>li>a{
        color: #000;
    }
    
    header .login_icon,
    header .h_logo{
        filter: none;
        max-width: 250px;
    }
    
    header.scroll,
    header:hover{
        background: #ffffff;
    }
    
    .close_menu{
        display: flex;
        height: 20px;
        padding: 20px;
        justify-content: flex-end;
        cursor: pointer;
    }
    .close_menu img{
        width: 20px;
        height: 20px;
    }
    .hidden_gnb >li>a:hover,
    .hidden_gnb .top_0>li>a:hover{
        color: var(--Navy-Logo);
    }
}

@media (min-width:0px) and (max-width:900px){
    .h_call_txt{display: none;}
}
@media (min-width:0px) and (max-width:600px){
    .h_logo{width: 170px;}
    .h_right{
        margin-right: 1rem;
        gap: 1.5rem;
    }
    header{
        width: 100% !important;
        top: 0 !important;
        border-radius: 0px !important;
        height: 90px;
    }
    .header-inner-top{
        height: 30px;
        font-size: 14px;
    }
    .header-inner-top .top-inner img{
        width: 14px;
        height: 14px;
    }
    header .header-inner-wrap,
    header .header_inner,
    .h_logo span{
        height: 60px;
    }
}
@media (min-width:0px) and (max-width:350px){
    header .h_q_icon{display: none;}
}