/* reset */
*{margin: 0;padding: 0;word-break: keep-all;}
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: inherit;
}
ul,ol{list-style: none;}
h1,h2,h3,h4,h5,h6{
    font-size: inherit;
    font-weight: inherit;
}
b,strong{font-weight: inherit;}
i,em,address{font-style: inherit;}
img{max-width: 100%;}


/* common */
html{
    /* scroll-behavior: smooth; */
    font-family: 'NanumSquareNeo',"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-weight: 400;
    font-size: 10px;
    background: #fff;
    color: #000;
    line-height: 1.5;
}
.container{
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
}
.container1520 {
    max-width: 1520px;
    width: 95%;
    margin: 0 auto;
}
.page{overflow: hidden;}
.page .container.innertop{padding-top: 14rem;}
.page .container.innerbottom{padding-bottom: 14rem;}
p{font-size: 2rem;}
/* header */
/* header.on */
header.on {
    background: #fff;
}
header.on .header_in_wrap{
    height: 80px;
}


header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    transition: all .5s ease-in-out;
    box-shadow: 0 19px 35px rgba(0,0,0,0.11);
}
.header_in_wrap{
    display: flex;
    justify-content: space-between;
    align-items:center ;
    height: 80px;
    transition: all .5s ease-in-out;
}
.header_in_wrap .logo{
    max-width: 300px;
}
.header_in_wrap nav{
    height: 100%;
    display: flex;
    align-items: center;
}
.header_in_wrap .gnb{
    display: flex;
    /* color: #0b318f; */
    height: 100%;
    font-size: 2rem;
    font-weight: 700;
    height: 100%;
}
.header_in_wrap .gnb li a {
    transition: all .5s ease ;
    overflow: hidden;
    position: relative;
}
.header_in_wrap .gnb li:hover a {color: #5d4842;}
.header_in_wrap .gnb li.active a {
    color: #5d4842;
    
}
.header_in_wrap .gnb li.active a::before {
    width: 120%;
}
.header_in_wrap .gnb li a::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-left: -10%;
    width: 0;
    height: 4px;
    background: #5d4842;
    /* transition: all .3s ease ; */
    transition-duration: 0.5s;
}

.header_in_wrap .gnb a {
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 8rem;
}
.header_in_wrap .header_link{
    display: flex;
    align-items: center;
    font-family: 'NEXON Lv2 Gothic';
    font-weight: bold;
    color: #000;
}
.link_img{margin-right: 1rem;}
.header_link p{
    font-size: 1.5rem;
}
.header_link span{
    font-size: 2.6rem;
}
/* 모바일메뉴 */
.menu-wrap{
    display: none;
    position: relative;
    width: 30px;
    height: 18px;
    cursor: pointer;
}
.menu-wrap .line{
position: absolute;
width: 100%;
height: 2.5px;
border-radius: 2px;
background: #222;
left: 0;
}
.menu-wrap .line:first-child{
top: 0;
transform-origin: 25% 50%;
transition: .3s;
}
.menu-wrap .line:nth-child(2){
top: calc(50% - 1px);
}
.menu-wrap .line:last-child{
bottom: 0;
transform-origin: 25% 50%;
transition: .3s;
}
.menu-wrap.open .line:first-child{
transform: rotate(45deg) translateX(10%);
}
.menu-wrap.open .line:nth-child(2){
opacity: 0;
}
.menu-wrap.open .line:last-child{
transform: rotate(-45deg) translateX(10%);
}
#top_btn{cursor: pointer;}
/* popup */
.popups{position: absolute;z-index: 9999999;}
#popup_10{z-index:101;}
#popup_9{z-index:102;}
#popup_8{z-index:103;}
#popup_7{z-index:104;}
#popup_6{z-index:105;}
#popup_5{z-index:106;}
#popup_4{z-index:107;}
#popup_3{z-index:108;}
#popup_2{z-index:109;}
#popup_1{z-index:110;}

.popup_wrap {
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}
.popup_foot {
    padding: 10px;
    font-size: 1.5rem;
}
.popup_foot>div{
    display: flex;
    justify-content: space-between;
}
.popup_foot label span{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.popup_close{
    cursor: pointer;
}
.popup_wrap.introani{
    animation: introanimation .8s forwards ease;
}
/* quick */
#quick-placeholder{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 2vw;
    z-index: 100000;
    box-shadow: 0 4px 18px rgba(0,0,0,25%);
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}
#quick-placeholder ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap */
}
#quick-placeholder ul li .img_wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .5s ;
}
#quick-placeholder ul li:nth-of-type(-n+4){
    width: 100%;
    border-bottom: 1px solid #d5d5d5bd;
}
#quick-placeholder ul li:first-of-type a{padding: 2rem 1.5rem 1rem;}
#quick-placeholder ul li:last-of-type a{padding: 1rem 1.5rem 1rem;background: #b6aca9;gap: .5rem;}
#quick-placeholder ul li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .5s ;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    gap: 1rem;
    color: #000;
}
#quick-placeholder img{
    max-width: 30px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#quick-placeholder .quick  ul{
    /* padding: 1rem 0; */
    display: block;
}
#quick-placeholder .quick{
    display: block;
}
#quick-placeholder .quick_m{
    display: none;
    border-top: 1px solid #00000047;
}
footer{
    background: #3b2e2a;
    color: #fff;
}
.footer_top{
    padding: 2rem 0;
    border-bottom: .5px solid #fff;
    font-size: 1.8rem;
    font-weight: 800;
}
.f_logo{
    max-width: 20rem;
}
.footer_top ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.f_top>li::after{
    content: "|";
    display: inline-block;
    margin: 0 5rem;
}
.f_top>li:last-of-type:after{
    content: none;
}
.footer_inner.bot{
    text-align: center;
    padding: 5rem 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    max-width: 64rem;
}
.f_bot{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1.5rem;
    margin: 3rem 0 1rem;
}
.f_bot>li {
    margin: 0 1.5rem;
    margin-bottom: 1rem;
}
.f_bot>li span{
    font-weight: 700;
    margin-right: 0.5rem;
}
.f_bot+p{
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}
.header_container{
    width: 100%;
    height: 90px;
}


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

    /* header */
    header .header_in_wrap{
        height: 65px;
    }
    header.on .header_in_wrap{
        height: 65px;
    }
    .menu-wrap{
        display: block;
    }
    
    .link_img {
        width: 40px;
    }
    /* mobile menu */
    .header_in_wrap nav.menu_open {
        /* display: block; */
        height: auto;
    }
    .header_in_wrap .logo{
        max-width: 220px;
    }
    .header_in_wrap nav {
        display: block;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #fff;
        height: 0px;
        overflow: hidden;
        transition: all .5s ease;
    }
    .header_in_wrap .gnb {
        font-size: 1.6rem;
    }
    header.on .header_in_wrap nav {
        top: 65px;
    }
    header.on .header_in_wrap nav .gnb{
        font-size: 1.6rem;
        color: #000;
    }
    header .header_in_wrap nav .gnb{
        flex-direction: column;
    }
    header .header_in_wrap nav .gnb a{
        line-height: 4rem;
        border-bottom: 1px solid #79797982;
    }
    header .header_in_wrap nav .gnb a::before{
        display: none
    }
    header .header_in_wrap nav .gnb .active a{
        background: #ececec;
    }
}
@media (min-width:0px) and (max-width:900px){

    /* popup */
    .popup_wrap {
        top: 65px!important;
        left: 0!important;
    }
    /* quick */
    #quick-placeholder .quick{
        display: none;
    }
    #quick-placeholder .quick_m{
        display: block;
    }
    #quick-placeholder{
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
        background: #ffffff;
        border-radius: 0px;
        overflow:visible;
        width: 100%;
        transform: translate(0, 0);
    }
    #quick-placeholder .quick_m ul li a {padding: 1.5rem 0;}
    #quick-placeholder ul li:last-of-type a{background: none;}
    #quick-placeholder ul li:nth-of-type(-n+4){border-bottom: none;}
    #quick-placeholder #m_side{
        position: fixed;
        bottom: 10rem;
        right: 1rem;
        display: flex;
        flex-direction: column;align-items: center;
        gap: 1rem;
        font-weight: 700;
    }
    #quick-placeholder #m_side li a{
        display: flex;
        flex-direction: column;
        justify-content: center;align-items: center;
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 5px;
        border: none;
        background: #cee2fc;
        font-size: 1.1rem;
        gap: .2rem;
    }
    #quick-placeholder #m_side .top_btn .img_wrap{max-width: 2rem;}
    #quick-placeholder ul{
        /* display: flex; */
        flex-direction:row;
        /* align-items: center; */
        /* gap */
    }
    #quick-placeholder ul li .img_wrap{
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .5s ;
    }
    #quick-placeholder ul li{
        width: 100%;
        border-bottom: none;
    }
    #quick-placeholder ul li:last-of-type{
        border-bottom: none;
    }
    #quick-placeholder ul li a{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all .5s ;
        padding: 1.5rem;
        text-align: center;
        font-size: 1.2rem;
        /* font-weight: 500; */
    }
    #quick-placeholder ul li:hover a{
        background: inherit;
    }
    
    #quick-placeholder img{
        max-width: 30px;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    /* footer */
    .footer_inner.bot {
        padding: 5rem 0 15rem;
    }
    .f_top>li::after {
        margin: 0 2rem;
    }
    .f_logo{
        max-width: 20rem;
    }
    



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

    .h_logo{width: 150px;}
    .mobile{display: block;}
    

    /* common */
    .page .container.innertop{padding-top: 7rem;}
    .page .container.innerbottom{padding-bottom: 7rem;}
    
    /* popup */
    .popup_wrap {
        left: 0!important;
    }
    /* quick */
    #quick-placeholder ul li a {
        padding: 1.5rem;
    }
    #quick-placeholder img{
        max-width: 30px;
    }
     /* footer */
    .f_top{
        font-size: 1.3rem;
    }
    .f_bot{
        font-size: 1.2rem;
    }
    .f_bot+p {
        font-size: 1.1rem;
    }
}