@charset "utf-8";

html, body{
    font-family: 'Pretendard';
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #222222;
}

html, body a{
    font-family: 'Pretendard';
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #222222;
}

html, body button{
    font-family: 'Pretendard';
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #222222;
}

.wid{
    width: 96%;
    max-width: 1300px;
    margin: 0 auto;
} 

header{
    font-family: 'Pretendard';
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #222;
}

.header-wrap{
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1.logo{
    position: static;
    font-size: 0;
}

.header-wrap .mob-gnb{
    display: none;
}

.header-wrap .gnb{
    width: calc(100% - 400px);
    height: 100%;
    line-height: 1em;
}

.header-wrap .gnb>ul{
    width: 100%;
    height: 100%;
    display: flex;;
    justify-content: space-around;
    align-items: center;
}

.header-wrap .gnb>ul>li>a{
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.header-wrap .gnb>ul .depth01{
    height: 100%;
    position: relative;
}

.header-wrap .gnb>ul .depth01 > a{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.depth01 .depth02-list{
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: none;
}

.depth01 .depth02-list .depth02{
    min-height: auto;
    text-align: left;
    padding: 0;
}


.gnb .depth01 .depth02-list .depth02 a{  
    width: 100%;
    padding: 15px 0;
    padding-right: 20px;
    padding-left: 30px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1em;
    color: #fff;
    background-color: #29a075;
    position: relative;
    white-space: nowrap;
}

.gnb .depth01 .depth02-list .depth02 a:hover{
    background-color: #3fb458;
}

.depth01 .depth02-list .depth02 a::before{
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    left: 20px;
    top: 24px;
}

.login-wrap{
    display: flex;
    align-items: center;
    background-color: #ededed;
    border-radius: 18px;
}

.login-wrap li a{
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.03em;
    color: #222;
    padding: 8px 20px;
    background-color: #ededed;
    margin: 0;
}

.login-wrap li.login-btn a{
    border-radius: 18px 0 0 18px;
}

.login-wrap li.join-btn a{
    border-radius: 0 18px 18px 0;
}

.login-wrap li.logout-btn a{
    border-radius: 18px;
    background-color: #29a075;
    color: #fff;
}

.login-wrap li.mypage-btn a{
    border-radius: 0 18px 18px 0;
}

.login-wrap li.on a{
    background-color: #29a075;
    border-radius: 18px;
    color: #fff;
}

.mob-menu-btn{
    display: none;
}

/* 하단배너 */
.wid{
    max-width: 1440px;
}

.m-ft-bnn{
    background-color: #f5f5f5;
    border-bottom: 0;
}

.mft-bnn-bk{
    display: flex;
    align-items: center;
}

.mft-bnn-bk > h3{
    font-family: 'Hakgyo_Allimjang';
    font-weight: bold;
    width: auto;
}

.mft-bnn-bk .cntr{
    float: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100px;
    height: 34px;
    padding: 10px;
    border-radius: 17px;
    box-sizing: border-box;
    background-color: #fff;
}

.mft-bnn-bk .cntr > li{
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    vertical-align: middle;
}

.mft-bnn-bk .cntr li a{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 0;
}

.mft-bnn-bk .cntr li a.stop{
    background: url(/resources/morenCMS/site/www/images/bn_pause.png) center no-repeat #eeeeee;
}

.mft-bnn-bk .cntr li a.play{
    background: url(/resources/morenCMS/site/www/images/bn_play.png) center no-repeat #eeeeee;
}

.mft-bnn-bk .cntr li a.prev{
    background: url(/resources/morenCMS/site/www/images/bn_prev.png) center no-repeat;
}

.mft-bnn-bk .cntr li a.next{
    background: url(/resources/morenCMS/site/www/images/bn_next.png) center no-repeat;
}

.mft-bnn-bx{
    width: calc(100% - 230px);
    margin-top: 0;
}

.mft-bnn-area a{
    color: #222;
    font-family: 'Pretendard';
    line-height: 1.6em;
}

.mft-bnn-area .slick-slide:before{
    background-color: #9e9e9e;
}

.mft-bnn-area{
    max-width: 100%;
}

/* 푸터 */

.footer-tp{
    padding: 40px 0;
}

.ft-familySite > li > a{
    border-radius: 6px;
    border: 1px solid #d7d7d7;
    background: #fff;
    position: relative;
    font-size: 18px;
    color: #222;
    padding: 15px 25px;
    line-height: 1.6em;
    
}

.ft-familySite > li > a::after{
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(180deg);
    background: url(/resources/morenCMS/site/www/images/family_arrow.png) center no-repeat #eeeeee;
    border: none;
    margin-top: 0;
}

.ft-familySite > li.on > a:after{
    border: none;
    transform: translateY(-50%) rotate(0deg);
}


.foot-lk > li{
    margin-right: 10px;
}

.foot-lk > li > a{
    font-size: 18px;
    line-height: 1.6em;
    color: #222;
}

.foot-lk > li:after{
    background-color: #b6b6b6;
    margin-left: 15px;
}

.foot-lk > li > a > span{
    font-weight: 700;
    color: #e60045;
}

.foot-tx{
    font-size: 18px;
    color: #222;
    line-height: 1.6em;
}

@media all and (max-width:1440px){
    .header-wrap{
        padding: 0 20px;
    }

    h1.logo{
        width: 120px;
    }

    .header-wrap .gnb{
        width: calc(100% - 360px);
    }

    .header-wrap .gnb>ul>li>a{
        font-size: 20px;
    }
}

@media all and (max-width: 1280px){
    h1.logo{
        width: 120px;
    }
    
    h1.logo{
        width: 110px;
    }

    .header-wrap .gnb{
        width: calc(100% - 280px);
    }

    .header-wrap .gnb>ul>li>a{
        font-size: 18px;
        margin: 0 7.5px;        
    }

    .login-wrap li a,
    .login-wrap li.on a{
        font-size: 16px;
        padding: 6px 15px;
    }

    /* 푸터 */

    .wid{
        width: calc(100% - 40px);
    }

    .m-ft-bnn{
        padding: 20px 0;
    }

    .mft-bnn-bk > h3{
        font-size: 20px;
    }

    .mft-bnn-bk .cntr{
        margin-left: 15px;
    }

    .mft-bnn-bx{
        width: calc(100% - 210px);
        padding-left: 15px;
    }

    .mft-bnn-area a{
        font-size: 16px;
    }

    .footer-tp{
        padding: 25px 0;
    }

    .ft-familySite{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0;
    }

    .ft-familySite:after{
        display: none;
    }

    .ft-familySite > li{
        width: calc((100% - 60px) / 4);
        margin-left: 0;
        margin-right: 20px;
    }

    .ft-familySite > li:last-child{
        margin-right: 0;
    }

    .ft-familySite > li > a{
        padding: 10px 15px;
        font-size: 16px;
    }

    .ft-familySite > li > a::after{
        width: 25px;
        height: 25px;
        background-size: 10px;
    }

    .foot-logo{
        width: 65px;
        margin-top: 15px;
        margin-right: 2.5%;
    }

    .foot-lk{
        margin-bottom: 12px;
    }

    .foot-lk > li > a{
        font-size: 16px;
    }

    .foot-tx{
        font-size: 16px;
    }
}

@media all and (max-width: 1000px){
    .header-wrap{
        position: relative;
    }

    .header-wrap .gnb{
        display: none;
    }  

    .login-wrap{
        margin-right: 50px;
    }
    
    .mob-menu-btn{
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    
    .header-wrap .mob-gnb{
        width: 0%;
        overflow: hidden;
        height: 100vh;
        position: fixed;
        right: -40%;
        top: 0;
        background-color: #fff;
        z-index: 10;
        display: block;
        transition: all 0.5s;
    }
    
    .header-wrap .mob-gnb.on{  
        min-width: 300px;
        width: 40%;      
        right: 0%;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    }

    .header-wrap .mob-gnb p{
        width: 100%;
        height: 100px;
        background: url(/resources/morenCMS/site/www/images/menu_bn_bg.png) center no-repeat;
        background-size: cover;
        display: flex;
        align-items: center;
        padding-left: 20px;
    }

    .header-wrap .mob-gnb p a{
        width: 110px;
    }

    .header-wrap .mob-gnb .menu-close{
        width: 17px;
        height: 17px;
        background: url(/resources/morenCMS/site/www/images/menu_close.png) center no-repeat;
        position: absolute;
        right: 20px;
        top: 30px;
    }

    .header-wrap .mob-gnb .depth01 > a{
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #d7d7d7;
    }

    .header-wrap .mob-gnb .depth01 > a.h-depth{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .header-wrap .mob-gnb .depth01 > a.h-depth::after{
        content: "";
        display: inline-block;
        width: 17px;
        height: 17px;
        background: url(/resources/morenCMS/site/www/images/menu_plus_bk.png) center no-repeat;
        transition: all 0.5s;
    }

    .header-wrap .mob-gnb .depth01 > a.h-depth:hover::after{
        background: url(/resources/morenCMS/site/www/images/menu_plus_wh.png) center no-repeat;
        transform: rotate(180deg);
    }    

    .header-wrap .mob-gnb .depth01 > a:hover{
        background-color: #29a075;
        color: #fff;
    }    

    .header-wrap .mob-gnb .depth01 .depth02-list{
        position: static;
        transform: translate(0);
        display: none;
    }

    .header-wrap .mob-gnb .depth01 .depth02-list a{
        width: 100%;
        padding: 15px 20px;
        padding-left: 32px;
        background-color: #f4f9ef;
        border-bottom: 1px solid #d7d7d7;
        position: relative;
        font-size: 16px;
    }

    .header-wrap .mob-gnb .depth01 .depth02-list a::before{
        width: 3px;
        height: 3px;
        background-color: #444;
        top: 22px;
    }

    .header-wrap .mob-gnb .depth01 .depth02-list a:hover{
        background-color: #3fb458;
        color: #fff;
    }

    .header-wrap .mob-gnb .depth01 .depth02-list a:hover::before{
        background-color: #fff;
    }

    /* 푸터 */

    .ft-familySite{
        flex-wrap: wrap;
    }

    .ft-familySite > li{
        width: calc((100% - 30px) / 2);
        margin-right: 15px;
        margin-bottom: 10px;
    }

    .ft-familySite > li:nth-child(2){
        margin-right: 0;
    }

    .ft-familySite > li:nth-child(3),
    .ft-familySite > li:last-child{
        margin-bottom: 0;
    }
}

@media all and (max-width: 900px){

    .ft-familySite > li{
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .ft-familySite > li:first-child{
        margin-top: 0;
    }

    .mft-bnn-bk{
        flex-wrap: wrap;
    }

    .mft-bnn-bk > h3{
        margin-bottom: 10px;
    }

    .mft-bnn-bk .cntr{
        margin-bottom: 10px;
    }

    .mft-bnn-bx{
        width: 100%;
        padding-left: 0;
    }
}

@media all and (max-width: 640px){

    h1.logo{
        width: 95px;
    }

    .login-wrap{
        margin-right: 30px;
    }

    .login-wrap li a,
    .login-wrap li.on a{
        font-size: 14px;
    }

    .mob-menu-btn{
        width: 22px;
    }

    .header-wrap .mob-gnb .depth01 > a{
        font-size: 15px;
    }

    .header-wrap .mob-gnb .depth01 .depth02-list a{
        font-size: 14px;
    }
    

    /* 푸터 */

    .footer-tp{
        padding: 15px 0;
    }
    

    .ft-familySite > li{
        width: 100%;
        margin-right: 0;
    }

    .ft-familySite > li:nth-child(3){
        margin-bottom: 5px;
    }
}

@media all and (max-width: 540px){

    .m-ft-bnn{
        padding: 15px 0;
    }

    .mft-bnn-bk > h3{
        font: 18px;
    }

    .mft-bnn-bk .cntr{
        margin-left: 10px;
        margin-bottom: 8px;
    }

    .mft-bnn-bk .cntr{
        width: 82px;
        height: 28px;
    }

    .mft-bnn-bk .cntr > li{
        width: 20px;
        height: 20px;
    }

    .mft-bnn-area a{
        font-size: 15px;
        margin: 0 8px;
    }

    .footer-tp{
        padding: 12px 0;
    }

    .ft-familySite > li{
        margin-top: 3px;
        margin-bottom: 3px;
    }

    .ft-familySite > li > a{
        padding: 8px 12px;
        font-size: 14px;
    }

    .ft-familySite > li > a::after{
        width: 20px;
        height: 20px;
    }

    .foot-lk > li > a{
        font-size: 14px;
        line-height: 1.2em;
    }

    .foot-tx{
        font-size: 14px;
        line-height: 1.2em;
    }

    .header-wrap .mob-gnb.on{
        width: 100%;
    }
}