@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700,800&display=swap&subset=korean');

/* reset, common */
*{margin: 0; padding: 0;}
a{text-decoration: none; color: #000;}
li{list-style: none;}
button{border:none; background: none; cursor: pointer; outline: none;}
.blind{font-size: 0; position: absolute; left: 9999px; text-indent: 9999px;}
body{font-family: 'Nanum Gothic', sans-serif;}
input{outline: none;}


/* sprite */
.sp{background: url(../img/sprite_m.png) no-repeat; display: inline-block; background-size: 500px 500px;}
.sp-menu{background-position: 0px 0px; width: 30px; height: 30px; top: 10px; left: 16px;}
.sp-search{background-position: -150px 0px; width: 30px; height: 30px; right: 45px; top: 10px;}
.sp-cart{background-position: -190px 0px; width: 30px; height: 30px; right: 16px; top: 10px;}
.sp-bigLogo{background-position: -35px 0px; width: 100px; height: 20px;}
.sp-stop{background-position: -100px -80px; width: 20px; height: 20px;}
.sp-play{background-position: -130px -80px; width: 20px; height: 20px;}
.sp-pdcart{background-position: -175px -50px; width: 25px; height: 25px;}
.sp-pdwish{background-position: -200px -50px; width: 25px; height: 25px;}
.sp-delivery{background-position: 0 -100px; width: 62px; height: 62px;}
.sp-together{background-position: -75px -100px; width: 62px; height: 62px;}
.sp-store{background-position: -150px -100px; width: 62px; height: 62px;}
.sp-plus{background-position: -300px -50px; width: 14px; height: 14px;}
.sp-passport{background-position: 0px -300px; width: 105px; height: 40px;}
.sp-mail{background-position: -150px -300px; width: 130px; height: 40px;}
.sp-bsdown{background-position: -350px -100px; width: 16px; height: 16px;}
.sp-bsup{background-position: -400px -150px; width: 16px; height: 16px;}
.sp-facebook{background-position: -250px -100px; width: 35px; height: 35px;}
.sp-twitter{background-position: -300px -100px; width: 35px; height: 35px;}
.sp-top{background-position: -400px -100px; width: 30px; height: 30px;}
.sp-close{background-position: -300px -75px; width: 24px; height: 24px;}
.sp-black1{background-position: 0px -200px; width: 50px; height: 50px;}
.sp-black2{background-position: -60px -200px; width: 50px; height: 50px;}
.sp-black3{background-position: -120px -200px; width: 50px; height: 50px;}
.sp-black4{background-position: -180px -200px; width: 50px; height: 50px;}
.sp-down{background-position: -250px -200px; width: 18px; height: 18px;}
.sp-up{background-position: -300px -218px; width: 18px; height: 18px;}
.sp-right{background-position: -250px -230px; width: 20px; height: 20px;}
.sp-close{background-position: -300px -75px; width: 24px; height: 24px;}
.sp-rdsearch{background-position: -320px -200px; width: 30px; height: 30px;}
.sp-checkbox{background-position: -400px -50px; width: 16px; height: 16px;}
.sp-bigcart{background-position: -400px -200px; width: 70px; height: 70px;}
.sp-smclose{background-position: -325px -50px; width: 13px; height: 13px;}



/* header */
header .head{
    height: 50px; 
    background: #7f0019; 
    position: relative;
}
header .head h1{
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%,-50%);
}
header .head button{
    position: absolute;
}
header .gnb{
    height: 40px; 
    background: #f5eedd; 
    overflow: hidden;
}
header .gnb li{
    float: left; 
    font-size: 15px; 
    font-weight: bold;
    width: 25%; 
    height: 20px; 
    text-align: center; 
    position: relative; 
    top: 10px;
    border-right: 1px solid #000;
    box-sizing: border-box;
}
header .gnb li:last-child{
    border: 0;
}
header .gnb a:last-child{
    border-right: none;
}



/* 메인 슬라이드 */
.main-slide{
    margin-bottom: 50px;
}
.main-slide .slide{
    position: relative;
    overflow: hidden;
    width: 100%;
}
.main-slide .slide img{
    width: 100%;
}
.main-slide .swiper-pagination{
    position: absolute;
    bottom: 15px; 
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}
.main-slide .swiper-pagination .swiper-pagination-bullet{
    display: inline-block;
    width: 13px; 
    height: 13px;
    border-radius: 50%; 
    background: #5f5f5e;
    float: left;
    box-shadow: 2px 2px 3px #000;
    margin-top: 5px; 
    margin-right: 8px;
    opacity: 1;
}
.main-slide .swiper-pagination .swiper-pagination-bullet-active{
    background: #f5eedd;
}
#playStop{
    position: absolute;
    left:50%; 
    transform: translateX(-50%);
    bottom: 8px;
    z-index: 1;
    margin-left: 60px;
}



/* 추천상품 */
.product{
    position: relative; 
    margin-bottom: 100px;
}
.product h2{
    font-size: 16px; 
    text-align: center; 
    margin-bottom: 30px;
}
.product .wrap img{
    width: 100%;
}
.product ul{
    overflow: hidden;
}
.product ul li{
    float: left; 
    width: 50%; 
    display: none;
}
.product .wrap dt {
    font-size: 11px;
    line-height: 25px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.product .wrap dd{
    font-size: 12px; 
    font-weight: bold;
    margin-bottom: 5px;
}
.product .wrap del{
    font-size: 11px; 
    font-weight: normal;
}
.product .wrap{
    text-align: center; 
    margin: 20px 20px;
}
.product>button{
    width: 50px; 
    height: 20px; 
    border-radius: 5px;
    background: #a5a3a0; 
    color: #fff;
    font-size: 10px; 
    line-height: 22px;
    position: absolute;
    left: 50%; 
    transform: translateX(-50%); 
    bottom: -30px;
}
.product li:nth-child(2n) .wrap{
    margin-left: 10px;
}
.product li:nth-child(2n-1) .wrap{
    margin-right: 10px;
}



/* 특집 */
.special h2{
    padding-left: 20px;
    font-size: 16px;
}
.special h2:nth-of-type(2){
    margin-top: 60px;
}
.special ul li a{
    padding: 20px; 
    display: block;
}
.special ul li img{
    width: 100%;
}
.special .text-box{
    height: 70px;
    border: 1px solid #000;
    box-sizing: border-box;
    padding: 7px;
    position: relative;
    top: -5px;
}
.special .text-box strong{
    font-size: 12px;
}
.special .text-box p{
    font-size: 11px; 
    padding-top: 3px; 
    line-height: 17px;
}



/* 서비스 */
.service{
    margin-top: 60px;
    background: #7f0019;
}
.service .slide{
    position: relative;
    overflow: hidden;
    height: 280px;
}
.service .slide .swiper-container{
    height: 100%;
}
.service .slide .swiper-slide .wrap{
    position: relative; 
    margin-top: 60px;
}
.service .slide .box{
    width: 125px; 
    height: 150px; 
    background: #fff;
    position: relative;
    left: 40%; 
    transform: translateX(-60%);
}
.service .slide .box span{
    font-size: 13px; 
    color: #fff;
    position: absolute;
    right: -130px;
    top: 60%; 
    transform: translateY(-40%)
}
.service .slide a{
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%,-50%);
}
.service .swiper-pagination{
    position: absolute;
    bottom: 13px; 
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}
.service .swiper-pagination .swiper-pagination-bullet{
    display: inline-block;
    width: 13px; 
    height: 13px;
    border-radius: 50%; 
    background: #5f5f5e;
    float: left;
    box-shadow: 2px 2px 3px #000;
    margin-top: 5px; 
    margin-right: 6px;
    opacity: 1;
}
.service .swiper-pagination .swiper-pagination-bullet-active{
    background: #f5eedd;
    width: 38px; 
    border-radius: 8px;
}



/* 공지1 */
.notice1{
    width: 100%; 
    height: 50px; 
    border-bottom: 1px solid #000; 
    box-sizing: border-box;
    position: relative;
}
.notice1 h2{
    font-size: 13px; 
    position: absolute; 
    left: 20px;
    top: 50%; 
    transform: translateY(-50%);
}
.notice1 ul {
    overflow: hidden;
    height: 50px;
    margin: 0 40px 0 81px;
}
.notice1 ul li{
    line-height: 48px;
}
.notice1 ul li a{
    font-size: 12px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}
.notice1 button{
    position: absolute; right: 20px;
    top: 50%; transform: translateY(-50%);
}



/* 공지2 */
.notice2{
    height: 100px;
    background: #f5eedd;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
}
.notice2 a{
    float: left; 
    width: 50%; 
    text-align: center; 
    padding-top: 12px;
    position: relative;
}
.notice2 p{
    font-size: 10px; 
    font-weight: bold;
    width: 130px; 
    text-align: justify;
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%);
}



/* footer */
footer{
    position: relative;
    width: 100%; 
    height: 375px; 
    padding-top: 35px; 
    box-sizing: border-box;
    text-align: center;
}
footer dl{
    position: relative; 
    width: 230px; 
    margin: auto;
}
footer dl dt{
    font-size: 14px; 
    font-weight: 800;
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
}
footer dl .tel{
    font-size: 26px; 
    font-weight: 900; 
    color: #7f0019; 
    margin-left: 35px;
}
footer dl dd{
    font-size: 10px; 
    font-weight: bold;
}
footer dl dd:last-child{
    text-align: right;
}
footer button{
    font-size: 10px; 
    outline: none;
}
footer .info{
    width: 230px; 
    height: 130px;
    border: 1px solid #565452;
    border-radius: 5px;
    box-sizing: border-box;
    background: #fff;
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    padding: 10px; 
    display: none;
}
footer .info p{
    font-size: 10px; 
    font-weight: bold; 
    padding: 0 10px; 
    line-height: 14px;
}
footer .info2{
    font-size: 10px; 
    color: #565452; 
    padding: 20px;
}
footer .info2 small{
    color: #000; 
    font-weight: bold;
}
footer .info2 p:first-child{
    padding-bottom: 15px; 
    font-weight: bold;
}
footer .info2 p:nth-child(2){
    padding-bottom: 15px; 
    line-height: 14px; 
    font-weight: bold;
}
footer .info2 p:last-child{
    padding-top: 15px; 
    font-weight: bold;
}
footer .sns{
    position: absolute; 
    bottom: 40px;
    left: 50%; 
    transform: translateX(-50%);
}
footer .sns a:first-child{
    margin-right: 5px;
}
footer .sns a:last-child{
    margin-left: 5px;
}
.fnb{
    height: 30px;
    border-top: 1px solid #000; 
    border-bottom: 1px solid #000;
}
.fnb ul{
    overflow: hidden;
}
.fnb ul li{
    float: left; 
    font-size: 10px; 
    width: 25%; 
    text-align: center;
    line-height: 30px;
}
footer button{
    width: 230px; 
    height: 25px;
    border: 1px solid #000; 
    border-radius: 5px;
    margin-top: 20px;
    line-height: 25px;
    position: relative;
    font-size: 10px; 
    font-weight: bold;
}
footer button span{
    position: absolute;
    right: 10px;
    top: 50%; 
    transform: translateY(-50%);
    transition: 0.3s;
}
footer button span.active{
    transform: translateY(-50%) rotateX(180deg);
}



/* 위로가기 버튼 */
#goTop{
    position: fixed;
    bottom: 20px; 
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 1s;
    z-index: 111;
}
#goTop.on{
    opacity: 1;
    visibility: visible;
}



/* 전체메뉴 팝업 */
.menu {
    background: #fff;
    position: fixed;
    top: 0;
    transition: 0.5s;
    width: 100%;
    right: 100%;
    z-index: 111;
}
.menu.open{
    right: 0;
}
.menu .menuTop{
    height: 40px; 
    position: relative;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
}
.menu .menuTop h2{
    font-size: 16px; 
    line-height: 40px; 
    text-align: center;
}
.menu .menuTop button{
    position: absolute; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%);
}
.menu .login{
    height: 50px; 
    border-bottom: 1px solid #000; 
    text-align: center; 
    box-sizing: border-box;
}
.menu .login a{
    width: 85px; 
    height: 30px; 
    display: inline-block;
    background: #7f0019; 
    color: #fff;
    text-align: center; 
    line-height: 30px;
    border-radius: 5px; 
    box-sizing: border-box;
    border: 1px solid #f5eedd;
    font-size: 12px; 
    font-weight: bold;
    margin: 10px;
}
.menu .row{
    height: 80px; 
    border-bottom: 1px solid #000; 
    box-sizing: border-box;
}
.menu .row ul{
    overflow: hidden;
}
.menu .row ul li{
    float: left; 
    width: 25%; 
    margin-top: 5px;
}
.menu .row span{
    display: block;
    font-size: 11px; 
    font-weight: bold;
}
.menu .row a{
    display: block; 
    text-align: center;
}
.menu .category{
    overflow: auto;
    height: calc(100vh - 170px);
}
.category .wrap{
    height: 40px; 
    box-sizing: border-box;
}
.category .wrap h2{
    line-height: 40px; 
    font-size: 16px; 
    color: #7f0019;
    margin-left: 22px; 
    font-weight: 900;
}
.category-nav li ul:first-of-type{
    padding-top: 15px; 
    border-top: 1px solid;
}
/* 1depth */
.category-nav>li>a{
    height: 40px; 
    line-height: 40px; 
    padding-left: 22px;
    font-size: 14px; 
    font-weight: bold; 
    width: 100%;
    box-sizing: border-box; 
    display: inline-block;
    position: relative; 
    border-top: 1px solid #000;
}
.category-nav>li>a.active{
    background: #f5eedd;
}
.category-nav>li>a>i{
    position: absolute;
    top: 50%; 
    transform: translateY(-50%); 
    right: 22px;
    transition: 0.3s;
}
.category-nav>li>a.active i{
    transform: translateY(-50%) rotateX(180deg) ;
}
/* 2depth */
.category-nav li ul{
    font-size: 13px;
    padding: 0 0 15px 22px;
    display: none;
}
.category-nav li ul li{
    line-height: 30px;
}
.category-nav li ul.active{
    display: block;
}



.etc-nav{
    overflow: hidden; 
    border-top: 1px solid #000;
}
.etc-nav li:nth-of-type(2n) a{
    border-right: 0;
}
.etc-nav li{
    float: left; 
    width: 50%; 
    position: relative;
}
.etc-nav a{
    height: 45px; 
    line-height: 45px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    display: block;
    box-sizing: border-box;
    padding-left: 20px; 
    font-weight: bold;
}
.etc-nav i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}



/* 검색창 팝업 */
.pop-search.open{
    left: 0;
}
.pop-search{
    background: #fff;
    position: fixed;
    top: 0;
    transition: 0.5s;
    width: 100%; 
    height: 100%;
    left: 100%;
    z-index: 111;
}
.pop-search .menuTop{
    height: 40px; 
    border-bottom: 1px solid #000;
    position: relative;
}
.pop-search h2{
    font-size: 16px; 
    line-height: 40px; 
    text-align: center;
}
.pop-search .menuTop button{
    position: absolute; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%);
}
.pop-search input{
    border: 0; 
    border-bottom: 1px solid #000; 
    width: 180px; 
    height: 30px;
    padding: 5px;
    box-sizing: border-box;
}
.pop-search form{
    text-align: center; 
    position: relative; 
    height: 190px;
    padding: 80px;
    box-sizing: border-box;
}
.pop-search form button{
    position: absolute; 
    margin-left: 5px;
}
.pop-search .tab .tab-nav{
    height: 50px;
}
.pop-search .tab .tab-nav li{
    float: left; 
    width: 50%; 
    text-align: center;
    font-size: 17px;
}
.pop-search .tab .tab-nav li:first-child a{
    margin-left: 75px;
}
.pop-search .tab .tab-nav li:last-child a{
    margin-right: 75px;
}
.pop-search .tab .tab-nav li.active{
    font-weight: 900;
}
.pop-search .tab .contents>div{
    display: none;
}
#now ul li{
    font-weight: bold; 
    line-height: 50px; 
    text-align: center;
}
#now span{
    color: #7f0019; 
    margin-right: 6px; 
    font-weight: 900;
}
#recent ul li{
    font-weight: bold; 
    line-height: 50px; 
    text-align: center;
}
#recent ul li button{
    margin-left: 10px;
}
#recent p{
    text-align: center;
    margin-top: 50px;
    font-size: 15px;
}
