@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css);

@import url('https://fonts.googleapis.com/css?family=Black+Han+Sans:400');
@import url('https://fonts.googleapis.com/css?family=Black+Han+Sans&display=swap&subset=korean');

@font-face {
    font-family: '양진체';
    src: url('https://cdn.jsdelivr.net/gh/supernovice-lab/font@0.9/yangjin.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UhBeeQUEENJ';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_five@.2.0/UhBeeQUEENJ.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: '행복고흥B';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.0/행복고흥B.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


body {
    margin: 0;
    font-family: 'NanumSquare', sans-serif;
}
ul, a, input{list-style: none; text-decoration: none; color:inherit}

h1, ul {padding: 0; margin: 0;}

.wrap {
    width: 100%;
    overflow: hidden;
}

/* 탑배너 시작 */
.top_banner {
    height:60px;
    background: url(../img/top_bn_back.jpg) no-repeat center / cover;
    color: white;
    text-align: center;
    position: relative;
}
.top_txt_box {
    width: 100%;
    overflow: hidden;
    position: absolute;
    top:50%;
    left:0;
    transform: translateY(-50%);
    text-align: center;
}

.top_banner div:nth-child(1) {
    font-size: 22px;
    font-weight: 900;
    margin-right: 5px;
    display: inline-block;
}
.top_banner div:nth-child(2) {
    font-size: 17px;
    font-weight: 400;
    margin-right: 5px;
    display: inline-block;
}

.x_box {
    width:10px;
    height:10px;
    border-radius: 2px;
    background: #fff;
    position: absolute;
    right:10px;
    top:10px;
    background: url(../img/icon/x_box_2.png) no-repeat;
    cursor: pointer;
    
}
/* 탑배너 끝 */

/* width 묶기 */
.width_1200 {
    width: 100%;
    max-width:1200px;
    height: 100%;
    margin: 0 auto;
}

/* 헤더 시작 */

.header {
    width: 100%;
    border-bottom: 1px solid #ddd;   
    box-sizing: border-box;
    position: relative;
    z-index: 99999;
    top: 0;
    left: 0;
    background: #fff;
}
.hd_login {
    width: 100%;
    height: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top:0;
    border-bottom: 1px solid #ddd;   
}

.login_box {
    float: right;
    font-size: 0;
    height: 100%;
    margin-right: 20px;
}

.login_box div {
    font-size: 12px;
    display: inline-block;
    line-height: 30px;
    border-radius: 0 0 5px 5px;
    margin-right: 15px;
    cursor: pointer;
    font-weight: 200;
}
.login_box div:last-child {
    margin-right: 0;
}

.header_mid {display: none;}

.hd_gnb {
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    width:90px;
    height:100%;
    background: url(../img/logo.gif) no-repeat left center/ contain;
    position: absolute;
    top:0;
    left:20px;
}
.logo a {
    display: block;
    width:100%;
    height:100%;
    text-indent: -9999px;
}

.gnb {
    width: calc(100% - (90px + 220px + 40px));
    position: absolute;
    top:50%;
    left: 110px;
    transform: translateY(-50%);
    color:#555;
    text-align: center;
    height: 100%;
    line-height: 78px;
    font-size: 0;
}

.gnb li {
    display: inline-block;
    padding: 0 20px;
    box-sizing: border-box;
    height: 100%;
    font-size: 18px;
    cursor: pointer;
}

.gnb > .big_gnb_li:hover {
    color: #a758a5;
}

/* 서치 시작 */
.search {
    width: 220px;
    height: 45px;
    line-height: 40px;
    position: absolute;
    top:50%;
    right:20px;
    transform: translateY(-50%);
    z-index: 9999;
}
.search_sm, .sm_search_box  {
    display: none;
}

.search_box {
    width: 85%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    padding: 0 25px;
    box-sizing: border-box;
    z-index: 999;
}

.search_ul {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.search_ul li {
    font-size: 17px;
    padding: 0 15px;
}

.search_top li {
    padding-top: 0;
} 

.search_ul li a {
    display: block;
    width: 80%;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search_ul li a span {
    font-size: 16px;
    font-weight: 900;
    color: #a758a5;
}

.sc_input {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
    float: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
}

.search_top {
    overflow: hidden;
}
.search_top > li {
    width: calc(100% - 30px);
    height: 100%;
    position: absolute;
    top:100%;
    left:0;
    background: #fff;
}

.search_ul li:first-child a {
    float: left;
}

.search_arrow {
    margin-top: 17.5px;
    float: right;
}

.search_box:hover  .search_bot{
    display: block;
}

.search_bot {
    line-height: 40px;
    height: auto;
    border: 1px solid #a758a5;
    box-sizing: border-box;
    background: #fff;
    display: none;
}

.search_bot li:hover {
    color: #70216e;
    font-weight: 900;
}

.search_btn {
    width: 22px;
    height: 100%;
    float: right;
    background: url(../img/icon/search.png) no-repeat right center / contain;
    cursor: pointer;
}


/* 헤더 판 시작 */
.header_pan {
    width: 100%;
    height: 0;
    position: absolute;
    top:100%;
    
    /* background: url(../img/top_bn_back.jpg) no-repeat center / cover; */
    /* background: url(../img/main/playstation-pattern.png) repeat; */
    background: #977dac;
    color: #fff;
    overflow: hidden;
    transition: all 0.3s;
}

.pan_out_ul {
    height: 100%;
    position: relative;
}

.pan_out_li {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    display: none;
}
 
.pan_cate_ul {
    width: calc(60% - (50px + 50px));
    padding: 20px 0;
    box-sizing: border-box;
    text-align: center;
    position: absolute;
    left: 50px;
    top:50%;
    transform: translateY(-50%)
}

.pan_cate_ul li {
    margin: 30px 0;
    font-size: 18px;
}

.pan_cate_ul a:hover {
    color: #fff493
}

.pan_cate_ul li a {
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;
    height: 100%;
}


/* 카테고리가 6개 있는 ul, li */
/* DM_cate_ul 추가 카테고리 */
.pan_has_in_cate_ul {
    left: 0;
}

.in_cate_li_out {
    display: inline-block;
    transform: translateX(-30px);
}

.in_cate_li_out:last-child {
    padding-right: 10px;
}

.in_cate_li_out ul {
    margin-right: 30px;
}

.has_in_cate_li {
    position: relative;
}

.has_in_cate_li a {
    display: inline;
}

.in_cate_ul {
    display: inline-block;
    width: 200px;
    position: absolute;
    left: 100%;
    top: 0;
    padding: 20px 0;
    box-sizing: border-box;
    display: none;
}
.in_cate_ul li {
    margin: 10px;
}

.in_cate_ul li:first-child {
    margin-top: 0;
}
.in_cate_ul li:last-child {
    margin-bottom: 0;
}

.has_in_cate_li:hover, .has_in_cate_li:hover .in_cate_ul  {
    background: #723f70;
    border-radius: 5px;
    z-index: 9999;
}

.has_in_cate_li:hover {
    border-radius: 5px 0 0 5px;
}
.has_in_cate_li:hover .in_cate_ul {
    display: block;
    border-radius: 0 5px 5px 5px;
}

.pan_img {
    width: 40%;
    position: absolute;
    right:30px;
    top:50%;
    transform: translateY(-50%);
}

.pan_img_txt {
    position: absolute;
    left: 0;
    top:50%;
    transform: translateY(-50%);
    text-align: center;
}

.pan_img_title {
    display: inline-block;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    color: #a758a5;
    font-weight: 900;
    font-size: 21px;
    margin-bottom: 30px;
}

.pan_img_desc {
    font-size: 20px;
    line-height: 1.5;
}

.pan_img_desc > div:nth-child(2) {
    font-size: 16px;
}
.pan_img img {
    float: right;
    width: 40%;
    /* border: 2px solid #fff; */
    box-shadow: 9px 9px 11px 3px rgba(0,0,0,0.4);
    margin: 0 20px 20px 0;
}
.book_sd {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
}




/* header fixed용 height, margin */
.main_active {
    margin-top: 80px;
}

.hd_height {
    height: 110px;
}

.hd_height_fix {
    top:0;
    height: 80px;
    position: fixed;
}

.hd_login_none {
    display: none;
}



/* 푸터 */
.footer {
    margin-top: 50px;
    overflow: hidden;
    border-top: 1px solid #ddd;
    padding: 50px 0;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
}

.footer_big {display: block;}
.footer_sm {display: none;}

.ft_logo_big {display: block;}
.ft_logo_sm {display: none;}

.ft_box {
    width: 95%;
    max-width: 1200px;
    overflow: hidden;
}

.ft_logo {
    float: left;
    width: 15%;
    margin-right: 20px;
}
.ft_left {
    float: left;
}

.ft_name {
    font-size: 18px;
}

.ft_left div, .ft_right div {
    width: 100%;
}

.ft_right {
    float: right;
}

.ft_right span {
    font-size: 24px;
    margin-left: 5px;
    font-weight: 900;
}

@media screen and (max-width: 1150px) {
    .pan_img_title {
        font-size: 18px;
    }
    
    .pan_img_desc {
        font-size: 16px;
    }
}

@media screen and (max-width: 1000px) {
    .in_cate_li_out {
        display: inline-block;
        margin-right: 20px;
        transform: translateX(-40px);
    }

    .in_cate_ul {
        width: 190px;
    }
    .in_cate_ul li a {
        padding: 10px 10px;
    }
}

@media screen and (max-width: 950px) {
    .gnb {
        width: calc(100% - (90px + 22px + 40px));
        font-size: 17px;
    }
    
    .gnb li {
        display: inline-block;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .search_big {
        display: none;
    }
    .search_sm {
        display: block;
    }
    
    .search {
        width: auto;
        height: 100%;
    }
    .sm_search_box {
        display: block;
        width: 20%;
        height: 45px;
        line-height: 40px;
        position: absolute;
        top: 100%;
        right: 20px;
        left: auto;
        padding: 0;
    }

    .search_ul {
        height: 100%;
        border: 1px solid #ddd;
        border-radius: 0 0 5px 5px;
        border-top: 0;
        background: #fff;
        display: none;
    }

    .search_ul li {
        font-size: 17px;
        padding: 0 15px;
    }

    .search_top li {
        padding-top: 0;
    } 

    .search_ul li a {
        display: block;
        width: 100%;
        height: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search_ul li a span {
        font-size: 16px;
        font-weight: 500;
    }

    .search_top {
        overflow: hidden;
    }
    .search_top > li {
        width: calc(100% - 30px);
        height: 100%;
        position: absolute;
        top:0;
        left:0;
        background: inherit;
    }

    .search_ul li:first-child a {
        float: left;
    }

    .search_arrow {
        margin-top: 17.5px;
        float: right;
    }

    .search_box:hover  .search_bot{
        display: block;
    }

    .search_bot {
        line-height: 40px;
        height: auto;
        border: 1px solid #a758a5;
        box-sizing: border-box;
        background: #fff;
        display: none;
    }

    .search_bot li:hover {
        color: #70216e;
        font-weight: 900;
    }

    .search_btn {
        width: 22px;
        height: 100%;
        float: right;
        background: url(../img/icon/search.png) no-repeat right center / contain;
        cursor: pointer;
    }
}

@media screen and (max-width: 900px) {
    .pan_cate_ul {
        left: 0;
    }
    .pan_cate_ul {
        width: 72%;
    }
    .pan_img_txt {
        display: none;
    }
    .pan_img img {
        width: 55%;
    }
    .in_cate_li_out {
        transform: translateX(-55%);
    }
}

@media screen and (max-width: 850px) {
    .in_cate_ul li a {
        padding: 10px 0;
    }


    /* 푸터 */
    .ft_logo_big {display: none;}
    .ft_logo_sm {display: block;}
    .footer {
        margin-top: 50px;
        overflow: hidden;
        border-top: 1px solid #ddd;
        padding: 50px 0;
        font-size: 13px;
        line-height: 1.7;
        color: #333;
    }
    
    .ft_box {
        width: 95%;
        max-width: 1200px;
        overflow: hidden;
    }
    
    .ft_logo {
        float: left;
        width: 15%;
        margin-right: 20px;
    }
    .ft_left {
        float: left;
        margin-right: 40px;
    }
    
    .ft_name {
        font-size: 18px;
    }
    
    .ft_left div, .ft_right div {
        width: 100%;
    }
    
    .ft_right {
        margin-top: 10px;
        float: right;
    }
    
    .ft_right span {
        font-size: 24px;
        margin-left: 5px;
        font-weight: 900;
    }
}

@media screen and (max-width: 800px) {
    .top_banner {
        height:60px;
    }
    .top_banner div:nth-child(1) {
        font-size: 20px;
    }
    .top_banner div:nth-child(2) {
        font-size: 15px;
    }
    
    .in_cate_li_out ul {
        margin-right:15px;
    }


}


@media screen and (max-width: 765px) {
    .in_cate_ul {
        width: 160px;
    }

    .gnb li {
        display: inline-block;
        padding: 0 10px;
        box-sizing: border-box;
        font-size: 17px;
    }
}

@media screen and (max-width: 650px) {
    .header_big {display: none;}
    .header_mid {display: block;}
    .burger {
        width: 30px;
        height: 30px;
        position: absolute;
        left:20px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }
    .burger div {
        height: 5px;
        border-radius: 3px;
        background: #a758a5;
    }
    .burger div:nth-child(1) {
        width: 100%;
    }
    .burger div:nth-child(2) {
        width: 80%;
        margin: 7px 0;
    }
    .burger div:nth-child(3) {
        width: 90%;
    }

    .header_mid {
        height: 80px;
    }

    .hd_top {
        width:100%; height: 100%;
        position: relative;
    }

    .logo {
        width: 188px;
        background: url(../img/logo_sm.png) no-repeat left center / contain;
        left:50%;
        transform: translateX(-50%);
    }
    .hd_bot {
        display: none;
        width:100%; height: 100vh;
        position: absolute;
        top:0;
        left:0;
        background: rgba(0,0,0,0.8);
        z-index: 9999;
    }
    .gnb_x {
        width: 25%;
        height: 100%;
        position: absolute;
        right:0;
        top:0;
    }
    .gnb {
        width: 75%;
        height: 100%;
        position: absolute;
        left:0;
        top:0;
        transform: translateY(0);
        background: #fff;
        font-size: 18px;
        font-weight: 400;
        padding: 20px 0;
    }
    .gnb li {
        display: block;
        height: auto;
        text-align: left;
        padding: 0;
        box-sizing: border-box;
        cursor: auto;
    }
    .gnb_parent {
        width: 100%;
        overflow: hidden;
    }

    .gnb_fst_li {
        width: 100%;
        overflow: hidden;
        border-bottom: 1px solid #ddd;
    }

    .gnb li a {
        width: calc(100% - 37px);
        display: block;
        padding: 0;
        box-sizing: border-box;
        height: auto;
        cursor: pointer;
        height: 45px;
        line-height: 45px;
        padding-left: 20px;
        float: left;
    }

    .gnb > li > a {
        color: #a758a5;
        font-weight: 600;
    }

    .gnb_parent img {
        width: 17px;
        float: right;
        padding: 15.5px 20px 0 0;
        box-sizing: content-box;
        cursor: pointer;
    }
    .gnb_cate_ul {
        
        display: none;
    }
    .gnb_cate_ul li {
        padding-left: 35px;
        overflow: hidden;
        border-bottom: 1px solid #ddd;
        color: #555;
    }
    
    .gnb_cate_ul li a {
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 0 15px;
    }

    .login_li {
        width: 100%;
        margin-bottom: 20px;
        font-size: 15px;
        overflow: hidden;
        
    }
    .login_ul_in {
        float: right;
        overflow: hidden;
        margin-right: 20px;
    }

    .gnb .login_li .login_ul_in a {
        width: 100%;
        padding: 0 10px;
        height: 35px;
        line-height: 35px;
        
    }

    .login_ul_in li {
        float: left;
        background: #a758a5;
        border-radius: 3px;
        text-align: center;
        color: #fff;
    }

    .login {
        margin-right: 10px;
    }

    .gnb_x_box {
        width: 25px;
        height: 25px;
        position: absolute;
        right:20px;
        top:20px;
        cursor: pointer;
    }

    .gnb_x_box div {
        width: 30px;
        height: 4px;
        border-radius: 5px;
        background: #fff;

        position: absolute;
        top:50%;
        left:50%;
        transform-origin: top left;
    }

    .gnb_x_box div:first-child {
        transform: rotateZ(45deg) translate(-50%, -50%);
    }
    .gnb_x_box div:last-child {
        transform: rotateZ(-45deg) translate(-50%, -50%);
    }

    .main_active {
        margin-top: 80px;
    }
    
    .hd_height_fix {
        top:0;
        height: 80px;
        position: fixed;
    }
    
    .hd_login_none {
        display: none;
    }

    .gnb_cate_ul li:hover {
        color: #000;
    }

    .gnb_parent > .gnb_fst_li:hover {
        color: #a758a5;
        font-weight: 900;
    }
    .gnb_cate_ul > li:hover {
        background: #a758a5;
        color:#fff;
    }
}



@media screen and (max-width: 600px) {
    .ft_left {
        margin-right: 0;
    }
}   


@media screen and (max-width: 550px) {
    .burger {
        width: 25px;
        height: 25px;
    }
    .burger div {
        height: 4px;
        border-radius: 2px;
    }
    .burger div:nth-child(2) {
        margin: 6px 0;
    }

    .logo {
        width:150px;
        height:100%;
    }
    .top_banner {
        height:80px;
    }
    .top_banner div:nth-child(1) {
        font-size: 20px;
        display: block;
    }
    .top_banner div:nth-child(2) {
        font-size: 12px;
        display: block;
    }

    .hd_height {
        height: 60px;
    }
    .hd_height_fix {
        height: 60px;
    }
    .main_active {
        margin-top: 60px;
    }

   
}

@media screen and (max-width: 520px) {
    .footer_big {display: none;}
    .footer_sm {display: block;}

    .ft_logo_big {display: none;}
    .ft_logo_sm {display: inline-block;}
    
    .footer {
        font-size: 3.5vw;
        line-height: 1.9;
    }

    .ft_logo_box {
        text-align: center;
    }
    .ft_logo {
        float: none;
        width: 100px;
        margin-right: 0;
        margin: 0 auto;
    }

    .ft_box {
        text-align: center;
    }
    
    .ft_name {
        font-size: 5vw;
        margin-bottom: 10px;
    }

    .ft_left {
        padding: 20px;
        box-sizing: border-box;
    }
    
    .ft_left .ft_name {
        width: 100%;
        display: block;
        margin: 0;
    }
    .ft_left, .ft_right {
        text-align: center;
        float: none;
    }
    .ft_left div, .ft_right div {
        display: inline-block;
        width: 100%;
        float: none;
        text-align: center;
    }

    .ft_left span {
        font-size: 24px;
        margin-left: 0;
        font-weight: 900;
    }
}   