@charset "UTF-8";

.inner_wrap{
    width: 1320px;
    margin:0 auto;
}
.inner_wrap.top{
    padding: 0 100px;
    display: flex;
}
.inner_wrap.main{
    padding-left: 110px;
    padding-right: 97px;
}
/* header */
header{
    height: 186px;
    background-color: #FFFFFF;
    position: sticky;
    top: 0;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.04);
    z-index: 99;
}
/* 탑메뉴 */
.top_nav{
    height: 59px;
    border-bottom: 1px solid #EBEBEB;
}
.top_nav_box{
    display: flex;
    align-items: center;
    height: 59px;
    font-weight: 400;
    font-size: 14px;
    color: #222222;
    margin-left: auto;
}
.top_nav_box li {
    margin-right: 13.5px;
}
.top_nav_box li :last-child{
    margin-right: 0;
}
.top_nav_box .login_ment{
    margin-right: 12.5px;
}
.top_nav_box .login_ment span{
    font-size: 14px;
    font-weight: 500;
    color: #E97F30;
}
.top_nav_box .login_ment span.hi{
    color: #000;
}
.top_nav_box .top_nav_menu{
    padding-right: 13.5px;
    position: relative;
}
.top_nav_box .top_nav_menu:last-child{
    padding-right: 0;
    margin-right: 0;
}
.top_nav_box .top_nav_menu:last-child::after{
    display: none;
}
.top_nav_box .top_nav_menu::after{
    content: "";
    position: absolute;
    width: 1px;
    height: 10px;
    right: 0;
    background-color: #969696;
    top: 50%;
    transform: translateY(-50%);
}

/* 메인메뉴 */
.nav_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 127px;
}
.nav_box .logo{
    width: 101px;
    height: 39px;
    margin-bottom: 21px
}
.nav_box .logo img{
    width: 100%;
    height: 100%;
}

.nav_box .nav_sub_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav_sub_box .nav{
    display: flex;
    font-size: 18px;
    color: #222222;
    font-weight: 400;
}
.nav_sub_box .nav li{
    margin-right: 40px;
}
.nav_sub_box .nav li:last-child{
    margin-right: 0px;
}
.alliance_box .alliance{
    display: flex;
    font-weight: 400;
    font-size: 15px;
    color: #969696;
    margin-left: 40px;;
}
.alliance_box .alliance li:first-child{
    margin-right: 12px;
}
.alliance_box .alliance .alliance_menu:first-child{
    padding-right: 12px;
    position: relative;
}
.alliance_box .alliance .alliance_menu:first-child::after{
    content: "";
    position: absolute;
    width: 1px;
    height: 15px;
    background-color: #DDDDDD;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

.nav_sub_box .search_box{
    margin-left: 28px;
    position: relative;
    width: 262px;
    height: 42px;
}
.nav_sub_box .search{
    width: 100%;
    height: 100%;
    border-radius: 4px;
    border: 1px solid #A3A3A3;
    display: flex;
    align-items: center;
    padding-left:22px;
    padding-right: 40px;
    background-position: right 22px top 50%;
}
.search_box .search_button{
    background: url(../../img/main/search.svg) no-repeat center / 100%;
    position: absolute;
    width: 15px;
    height: 18px;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}
.search::placeholder{
    font-size: 15px;
    font-weight: 500;
    color: #ACACAC;
}

/* 검색창 박스 */
.search_history{
    position: absolute;
    width: 100%;
    height: 165px;
    overflow-y: auto;
    background-color: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #A3A3A3;
    padding-left: 22px;
    padding-top: 10px;
    margin-top: 2px;
}
.search_history .history{
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #ACACAC;
}
.search_history .history:nth-child(1){
    margin-top:0;
}
.search_history .history.active{
    color: #E97F30;
}


/* footer */
footer{
    height: 250px;
    background-color: #F0F0F0;
    display: flex;
    align-items: center;
}

.inner_wrap.foot{
    padding-left: 108px;
    padding-right: 113px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.foot_nav_box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.foot_nav{
    display: flex;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
}
.foot_nav_menu{
    margin-right: 50px;
}
.foot_nav_menu:last-child{
    margin-right: 0;
}
.family_site{
    width: 184px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid #BFBFBF;
    background: url(../../img/main/fm_btn.svg) no-repeat #FFF;
    background-position: right 13.5px top 50%;
    padding-left:21px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #888888;
}

.foot_info_box{
    margin-top: 17px;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
}
.foot_info_box .info_top{
    display: flex;
}
.foot_info_box .info_top .name{
    margin-left: 32px;
}

.foot_tel_info{
    display: flex;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    margin-top: 17px;
}
.foot_tel_info .sub_wrap{
    display: flex;
    width: 100%;
}
.foot_tel_info .tel{
    margin-right: 40px;
}
.foot_tel_info .fax{
    margin-right: 40px;
}
.foot_tel_info .ment .email{
    color: #DA302B;
}
.copy_right{
    margin-top: 17px;
    font-size: 13px;
    font-weight: 400;
    color: #000000;
}

/*========================= 태블릿 ==========================*/
@media screen and (max-width: 1400px){
    .inner_wrap{
        width: calc(100vw*(1320/1400));
    }
    .inner_wrap.top{
        padding: 0 calc(100vw*(100/1400));
    }
    .inner_wrap.main{
        padding-left: calc(100vw*(110/1400));
        padding-right: calc(100vw*(97/1400));
    }
    /* header */
    header{
        height: calc(100vw*(186/1400));
    }
    /* 탑메뉴 */
    .top_nav{
        height: calc(100vw*(59/1400));
        border-bottom: 1px solid #EBEBEB;
    }
    .top_nav_box{
        height: calc(100vw*(59/1400));
        font-size: calc(100vw*(14/1400));
    }
    .top_nav_box li {
        margin-right: calc(100vw*(13.5/1400));
    }
    .top_nav_box .login_ment{
        margin-right: calc(100vw*(12.5/1400));
    }
    .top_nav_box .login_ment span{
        font-size: calc(100vw*(14/1400));
    }
    .top_nav_box .top_nav_menu{
        padding-right: calc(100vw*(13.5/1400));
    }
    .top_nav_box .top_nav_menu::after{
        width: calc(100vw*(1/1400));
        height: calc(100vw*(10/1400));
    }
    
    /* 메인메뉴 */
    .nav_box{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: calc(100vw*(127/1400));
    }
    .nav_box .logo{
        width: calc(100vw*(101/1400));
        height: calc(100vw*(39/1400));
        margin-bottom: calc(100vw*(21/1400))
    }
    .nav_sub_box .nav{
        font-size: calc(100vw*(18/1400));
    }
    .nav_sub_box .nav li{
        margin-right: calc(100vw*(40/1400));
    }
    .alliance_box .alliance{
        font-size: calc(100vw*(15/1400));
        margin-left: calc(100vw*(40/1400));;
    }
    .alliance_box .alliance li:first-child{
        margin-right: calc(100vw*(12/1400));
    }
    .alliance_box .alliance .alliance_menu:first-child{
        padding-right: calc(100vw*(12/1400));
    }
    .alliance_box .alliance .alliance_menu:first-child::after{
        width: calc(100vw*(1/1400));
        height: calc(100vw*(15/1400));
        background-color: #DDDDDD;
    }
    
    .nav_sub_box .search_box{
        margin-left: calc(100vw*(28/1400));
        width: calc(100vw*(262/1400));
        height: calc(100vw*(42/1400));
    }
    .nav_sub_box .search{
        width: 100%;
        height: 100%;
        border-radius: 4px;
        border: 1px solid #A3A3A3;
        display: flex;
        align-items: center;
        padding-left: calc(100vw*(22/1400));
        padding-right: calc(100vw*(40/1400));
        background-position: right calc(100vw*(22/1400)) top 50%;
    }
    .search_box .search_button{
        width: calc(100vw*(15/1400));
        height: calc(100vw*(18/1400));
        right: calc(100vw*(22/1400));
    }
    .search::placeholder{
        font-size: calc(100vw*(15/1400));
    }
    
    /* 검색창 박스 */
    .search_history{
        height: calc(100vw*(165/1400));
        padding-left: calc(100vw*(22/1400));
        padding-top: calc(100vw*(10/1400));
        margin-top: calc(100vw*(2/1400));
    }
    .search_history .history{
        margin-top: calc(100vw*(20/1400));
        font-size: calc(100vw*(15/1400));
    }

    /* footer */
    footer{
        height: calc(100vw*(250/1400));
    }
    
    .inner_wrap.foot{
        padding-left: calc(100vw*(108/1400));
        padding-right: calc(100vw*(113/1400));
    }
    
    .foot_nav{
        font-size: calc(100vw*(14/1400));
    }
    .foot_nav_menu{
        margin-right: calc(100vw*(50/1400));
    }
    .family_site{
        width: calc(100vw*(184/1400));
        height: calc(100vw*(36/1400));
        background-position: right calc(100vw*(13.5/1400)) top 50%;
        padding-left:calc(100vw*(21/1400));
        font-size: calc(100vw*(14/1400));
    }
    
    .foot_info_box{
        margin-top:calc(100vw*(17/1400));
        font-size: calc(100vw*(14/1400));
    }
    .foot_info_box .info_top .name{
        margin-left: calc(100vw*(32/1400));
    }
    
    .foot_tel_info{
        font-size: calc(100vw*(14/1400));
        margin-top: calc(100vw*(17/1400));
    }
    .foot_tel_info .tel{
        margin-right: calc(100vw*(40/1400));
    }
    .foot_tel_info .fax{
        margin-right: calc(100vw*(40/1400));
    }
    .copy_right{
        margin-top: calc(100vw*(17/1400));
        font-size: calc(100vw*(13/1400));
    }


}    



/* 모바일 */
@media all and (max-width: 900px) {
    /* 헤더 */
    header{
        height: calc(100vw * (50/428));
        width: 100%;
    }
    .nav_box .nav_sub_box{
        display:none;
    }
    .inner_wrap.main{
        padding: 0 calc(100vw * (20/428));
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }
    .nav_box{
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .nav_box .logo{
        width: calc(100vw * 80/428);
        height: calc(100vw * 36/428);
        margin-bottom: 0;
    }
    .nav_box .logo img{
        width: 100%;
        height: 100%;
    }

    .nav_box .back {
        width: calc(100vw * (10/428));
        height: calc(100vw * (14/428));
    }
    .nav_box .back img {
        height: 100%;
        filter: invert(5%) sepia(3%) saturate(146%) hue-rotate(314deg) brightness(0%) contrast(83%);
    }
    
    .mobile_menu_box{
        display: flex;
        align-items: center;
    }
    .mobile_menu_box .mb_search{
        width: calc(100vw * (14/428));
        height: calc(100vw * (15/428));
        background: url(../../img/main/mb_search.svg)no-repeat;
        background-size: contain;
        margin-right: calc(100vw * (20/428));
    }
    .mobile_menu_box .mobile_open{
        cursor: pointer;
        width: calc(100vw * (20/428));
        height: calc(100vw * (20/428));
        background: url(../../img/main/mb_menu.svg) no-repeat;
        background-size: contain;
    }

    /* 모바일 햄버거메뉴 */
    .mb_nav_wrap{
        width: 100%;
        height: 100%;
        position: fixed;
        background-color: rgba(0,0,0,0.35);
        z-index: 1000;
        display: none;
    }
    .mb_nav_wrap.on{
        display: block;
    }
    .mb_wrapper{
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .mb_nav_box{
        padding-top:calc(100vw *(20/428));
        width: calc(100vw * (336/428));
        height: 100vh;
        background-color: #FFFFFF;
        position: fixed;
        z-index: 1001;
        right: -100%;
        overflow: auto;
        transition: all 0.5s;
        min-height: calc(100vw * (568/866));
    }
    .mb_nav_box.on{
        right:0;
    }
    .mb_nav_top{
        width: 100%;
        position: relative;
    }
    .mb_wrapper .login_box::after{
        display: none;
    }
    .mb_nav_top .mb_nav_hide{
        background: url(../../img/main/mb_nav_hide.svg)no-repeat;
        background-size: contain;
        width: calc(100vw * (17/428));
        height: calc(100vw * (10/428));
        position: absolute;
        right: calc(100vw * (28/428));
    }
    .mb_nav_box .login_box{
        margin-top: calc(100vw * (36/428));
        display: flex;
        flex-direction: column;
        padding: 0 calc(100vw * (28/428));
    }
    .mb_nav_box .login_box .logo_box{
        width: calc(100vw * (104/428));
        height: calc(100vw * (49/428));
        background: url(../../img/main/mb_logo.svg)no-repeat;
        background-size: contain;
        margin-bottom: calc(100vw * (27/428));
    }
    .mb_nav_box .login_box .login_ment{
        font-size: calc(100vw * (20/428));
        font-weight: 500;
        color: #BFBFBF;
        margin-bottom: calc(100vw * (35/428));
        display: flex;
        align-items: center;
    }
    /* 로그인 되었을 떄 */
    .mb_nav_box .login_box .login_ment .log_ment{
        color: #000000;
        text-decoration: none;
    }
    .mb_nav_box .login_box .login_ment .mypage_link{
        text-decoration: underline;
        font-size: calc(100vw * (14/428));
        color: #E97F30;
        font-weight: 500;
        margin-left: calc(100vw * (10/428));
    }
    .mb_nav_box .login_box .login_ment .logout{
        width: calc(100vw * (48/428));
        height: calc(100vw * (48/428));
        border-radius: 50%;
        background: url(../../img/main/mb_logout.svg)no-repeat;
        background-size: contain;
        margin-left: auto;
    }

    /* 로그인이 안되었을 때 */
    .mb_nav_box .login_box .login_ment .color{
        color: #E97F30;
        text-decoration: underline;
    }
    .mb_nav_box .content_wrap{
        padding-top: calc(100vw * (16/428));
        padding-bottom: calc(100vw * (86/428));
        position: relative;
    }
    .mb_nav_box .content_wrap::after{
        position: absolute;
        content: '';
        background-color: #E4E4E4;
        width: 100%;
        height: calc(100vw * (3/428));
        top:0;
    }
    .mb_nav_box .content_wrap .content_top{
        padding: 0 calc(100vw * (28/428));
        padding-bottom: calc(100vw * (37/428));
        position: relative;
    }
    .mb_nav_box .content_wrap .content_top::after{
        position: absolute;
        content: '';
        width: 100%;
        height: 1px;
        background-color: #E4E4E4;
        bottom: 0;
        left: 0;
    }
    .mb_nav_box .content_wrap .content_top .content{
        margin-bottom: calc(100vw * (34/428));
        font-size: calc(100vw * (18/428));
        color: #222222;
        font-weight: 400;
    }
    .mb_nav_box .content_wrap .content:last-child{
        margin-bottom: 0;
    }
    .mb_nav_box .content_wrap .content_btm{
        margin-top: calc(100vw * (34/428));
    }
    .mb_nav_box .content_wrap .content_btm .content{
        padding: 0 calc(100vw * (28/428));
        font-size: calc(100vw * (15/428));
        color:#888888;
        font-weight: 400;
        margin-bottom: calc(100vw * (26/428));
    }
    .mb_nav_box .btm_menu{
        display: flex;
        padding-bottom: calc(100vw * (55/428));
        justify-content: center;
        margin-top: auto;
    }
    .mb_nav_box .btm_menu ul{
        display: flex;
    }
    .mb_nav_box .btm_menu .content{
        position: relative;
        font-size: calc(100vw * (14/428));
        font-weight: 400;
        color: #222222;
    }
    .mb_nav_box .btm_menu .content.padding{
        padding-right: calc(100vw * (14.5/428));
        margin-right: calc(100vw * (14.5/428));
    }
    .mb_nav_box .btm_menu .content.padding::after{
        content: '';
        width: 1px;
        height: calc(100vw * (14/428));
        background-color: #DBDBDB;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
    }


    /* footer */
    footer{
        width: 100%;
        height: calc(100vw * (359/428));
    }
    .inner_wrap.foot{
        padding: 0 calc(100vw *(20/428));
    }
    .foot_nav_box{
        flex-direction: column-reverse;
        padding-bottom: calc(100vw * (21/428));
        border-bottom: 1px solid #DBDBDB;
    }
    .family_site_box{
        width: 100%;
    }
    .family_site{
        width: 100%;
        height: calc(100vw * (36/428));
        padding: 0;
        font-size: calc(100vw * (14/428));
        /* text-align-last: center;
        text-align: center;        
        -ms-text-align-last: center;
        -moz-text-align-last: center;
        text-align: -webkit-center; */
        margin-bottom: calc(100vw * (21/428));
        background-position: right calc(100vw *(20/428)) top 50%;
        text-indent: 40%;
    }
    .foot_nav{
        font-size: calc(100vw * (14/428));
        font-weight: 400;
    }
    .foot_nav_menu{
        margin-right: calc(100vw* (30/428));
    }
    .foot_info_box{
        margin-top: calc(100vw * (21/428));
        font-size: calc(100vw * (14/428));
        color: #888888;
    }
    .foot_tel_info{
        font-size: calc(100vw * (14/428));
        margin-top: calc(100vw * (16/428));
        flex-direction: column-reverse;
    }
    .foot_tel_info .tel{
        margin-right: calc(100vw *(25/428));
        width: auto;
    }
    .foot_tel_info .fax{
        margin-right: 0;
    }
    .foot_tel_info .ment{
        margin-bottom: calc(100vw * (8/428));
    }
    .copy_right{
        margin-top: calc(100vw * (35/428));
        font-size: calc(100vw * (13/428));
    }



}   