/* hidden_gnb */
.hidden_bg{
    font-family: "PretendardVariable";
    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/h_bg.png') no-repeat 100% 65%  / 150px; */
    background-color: #fff;
    background-image: url('../img/h_bg.png');
    background-repeat: no-repeat;
    background-position: right 20px bottom 220px;
    background-size: 150px;
    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%);
}
.close_menu{
    display: flex;
    justify-content: flex-end;
    margin: 2rem 2rem 0 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;  
}
.hidden_gnb>li>a.on{
    font-weight: bold;
    color: #2F2F82;
}
.hidden_gnb .top_0{
    display: none;
    background: #F5F5F5;
    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; /* on 클래스가 있는 메뉴의 하위 메뉴만 보여집니다. */
}
.hidden_bottom{
    background: #2F2F82;
    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;
}
/* header */
.header_container{
    width: 100%;
    height: 0;
}
header{
    font-family: 'PretendardVariable';
    height: 110px;
    width: 100%;
    max-width: 100%;
    background: rgb(255, 255, 255, 0.9);
    font-size: 22px;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    /* padding: 2rem 0; */
    transition: all .5s ease ;
    z-index: 100;
    box-shadow: 0 5px 5px rgba(0,0,0,0.02);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.6); */
}
header.scrolled-top {
    width: 98%;
    height: 90px;
    margin: 0 auto;
    border-radius: 10px 10px 10px 10px;
    background: rgb(255, 255, 255, 1);
}
.h_logo{max-width: 300px;line-height: 0;}
header:hover .gnb>li>a,
header.scroll .gnb>li>a{
    /* color: #000; */
}
header .login_icon,

header:hover .login_icon,
header:hover .h_logo,
header.scroll .login_icon,
header.scroll .h_logo{
    /* filter: none */
}

header .h_left{
    height: 100%;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 5rem;
    font-family: 'Paperlogy';
}
header{
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
}
header .header_inner{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:0 auto;
    max-width: 1720px;
    width: 100%;
    padding: 0px 2%;
}
.header_menu{
    display: flex;
}
.header_menu .gnb{
    display: flex;
}
.header_menu .gnb>li>a{
    margin: 1.5rem 2rem;
    line-height: 2;
    display:inline-block;
    position: relative;
    perspective: 800px;
}

/* 텍스트 flip 영역: 크기 고정 */
.flip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    position: relative;
    /* height: 30px; */
}

/* 앞/뒷면은 겹쳐놓고 3D 회전만 다르게 */
.flip .front,
.flip .back {
    backface-visibility: hidden;
    transition: color 0.3s ease;
    display: inline-block;
}

/* 앞면은 그대로 */
.flip .front {
    transform: rotateY(0deg);
}

/* 뒷면은 회전되어 대기 */
.flip .back {
    transform: rotateX(180deg);
    color: #F2931F;
    position: absolute;
    top: 0;
    left: 0;
}

/* 호버 시 회전 */
.header_menu .gnb > li:hover .flip {
    transform: rotateX(180deg);
}

/* 1뎁스 hover 동그라미 텍스트 돌아가는 이벤트 */
.header_menu .gnb>li>a{
    height: 100%;
    display: inline-block;
    transition: transform .4s ease, color .3s ease;
    position: relative;
}

.header_menu .gnb>li>a::before{
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F2931F ;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}
.header_menu .gnb>li:hover>a::before{
    transform: translate(-50%, -50%) scale(1);
}
.header_menu .gnb>li:hover>a { 
    color: #F2931F;
}

/*  */
.header_menu .gnb>li{
    /* position: relative; */
    padding: 1.5rem 0;
}
.header_menu .gnb>li:hover .gnb_2depth_wrap{
    opacity: 1;
    pointer-events: auto;
}
.header_menu .gnb>li>.gnb_2depth_wrap{
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 110px;
    background: #F8F8F8 url('../img/h_bg.png') no-repeat 100% 100% / contain;
    width: 100%;
    min-height: 370px;
    left: 0;
    display: flex;
    border-radius: 10px 0px 0px 10px;
}
.header_menu .gnb>li>.gnb_2depth_wrap.scrolled-top{
    position: absolute;
    top: 90px;
    left: 0;
    border-radius: 10px 10px 10px 10px;
}
.depth_2_left{
    width: 50%;
}
.depth_2_left{
    background:#2F2F82;
    color: #fff;
}
.depth_2_left.scrolled-top{
    border-radius: 10px 0px 0px 10px;
}
.depth_2_left_cover{
    max-width:700px ;
    margin-left: auto;
    margin-right: 75px;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
}
.depth_2_left_cover > div{width: 100%;} 
.depth_2_left_l{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 240px;
    gap: 90px;
}
.h_telnum{
    border-radius: 31px;
    background: #F2931F;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-size: 26px;
    font-weight: 700;
    padding: 10px 20px;
}
.h_telnum img{width: 1.2em;}
.depth_2_tit{
    color: #F2931F;
    font-size: 5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.depth_2_tit img{max-width: 1em;}
.gnb_2depth_wrap ol li{
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 3rem;
    font-size: 22px;
    font-weight: 200;
    margin-bottom: .7rem;
}
.gnb_2depth_wrap ol li em{
    font-weight: 100;
}
.gnb_2depth_wrap ol li span{
    font-weight: 800;
    width: 113px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    
}
/* .gnb_2depth_wrap ol li em b{color: #fff;} */
.gnb_2depth_wrap ol+div{
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.6;
}

/*  */
.header_menu .gnb_2depth_wrap .depth_2_right{
    padding: 75px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.header_menu .gnb_2depth_wrap ul li:not(:last-of-type){
    margin-bottom: 2rem;
}
.header_menu .gnb_2depth_wrap ul li{font-weight: 600;color:rgba(62, 58, 57, 0.7 );}
.header_menu .gnb_2depth_wrap ul li:hover{color: #2F2F82    ;font-weight: 700;}
/* depth_3 */
.depth_3_wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-height: 400px;
}
.depth_3_wrap li{min-width: 200px;}

.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;
}

@media (min-width:0px) and (max-width:1700px){
    
    
}

@media (min-width:0px) and (max-width:1520px){
    
    .hover{max-width: 270px;}
    .header_menu .gnb_2depth_wrap .depth_2_right {
        padding: 60px;
        padding-bottom: 0;
    }
    .depth_2_left_l {
        max-width: 240px;
    }
    .h_telnum {
        font-size: 22px;
    }
    .depth_2_left_cover {
        gap: 40px;
        width: 90%;
        margin-left: 5%;
    }
}

@media (min-width:0px) and (max-width:1280px){
    .header_container{height: 65px;}
    header {
        height: 75px;
    }
    header.scrolled-top{
        height: 70px;
    }
    .header_inner .header_menu .gnb{
        display: none;
    }
    header .h_q_icon img {
        max-width: 40px;
    }
    header .open_menu{
        display: flex;
    }
    .h_right{
        display: flex;
    }
    header{
        background: #fff;
        /* background: rgba(0,0,0,0.1); */
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.6); */
    }
    header .gnb>li>a{
        color: #000;
    }
    
    header .login_icon,
    header .h_logo{
        filter: none;
        max-width: 250px;
    }
    
    header.scroll,
    header:hover{
        background: #ffffff;
    }
    .open_menu img{
        max-width: 25px;
    }
    .close_menu img{
        max-width: 20px;
        margin-top: 15px;
    }
    
}

@media (min-width:0px) and (max-width:900px){
    .h_call_txt{display: none;}
    
}
@media (min-width:0px) and (max-width:500px){
    .h_logo{width: 200px;}
    .h_right{
        margin-right: 1rem;
        gap: 1.5rem;
    }
}
@media (min-width:0px) and (max-width:350px){
    header .h_q_icon{display: none;}
}