@charset "utf-8";
@import url(http://fonts.googleapis.com/css?family=Raleway);
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);

*{margin: 0; padding: 0;}
ol, ul {list-style: none;}
a {outline: 0; text-decoration: none; color: #bbb;}
img {border: 0;}
 

/*header 영역*/
header {
    position: fixed;
    top:0; left: 0; z-index: 999; width: 100%;
    background-color: #c80b4d;
}

header .container-small {
    display: flex; justify-content: space-between;
}

.headA {
    display: inline-block;
    line-height: 70px;
    padding-top: 20px;
    text-decoration: none; font-size: 25px;
    font-family: 'Montserrat Alternates', sans-serif;
}
.headA img {width: 150px;}


.headB {display: none;}
.headB ul {margin: 0; padding: 0; list-style: none;}
.headB a {
        width: 400px;
        display: block;
        padding: 20px;
        color: #fff;
        font-size: 14px;
        margin: auto;
        text-align: center;
        text-decoration: none;
        transition: background .7s ease;
        
}
.headB a:hover {background-color: rgba(0,0,0,0.3);}

.align {display: flex;}
.login {
    width: 70px;
    margin: auto;
    text-align: center;
    background-color: #333;
    border-radius: 20px;
    padding: 10px;
    transition: .3s ease;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: flex-end;
    }
.login a{color: #fff;}
.login:hover{background-color: #fff;}
.login:hover a {color: #c80b4d;}
.login2 {display: none;}

.headC {font-size: 28px; border: none; outline: none; background: none; cursor: pointer; margin: 30px;}
.headC:hover {opacity: 0.5;}



@media (min-width:768px){
    .align {display: none;}
    header {position: absolute;}
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1000px;
        margin: auto;}
    .headB ul{display: flex; width: 400px;}
    .headB a {width: auto;}
    .headB {display: block !important; margin-left: 300px;}
    
    .login2 {
        display: block;
        width: 70px;
        margin: 0;
        text-align: center;
        background-color: #333;
        border-radius: 20px;
        padding: 10px;
        transition: .3s ease;
    }
    .login2 a{color: #fff;}
    .login2:hover{background-color: #fff;}
    .login2:hover a {color: #c80b4d;}
    
}





/* 배경이미지 설정 */
.wrap {
    position: fixed; width: 100%; height: 100%;
    min-width: 1024px; min-height: 768px;
    background: url(../img/584e0ef135c99.jpg) no-repeat center;
    background-size: cover;
}


/* 좌측 콘텐츠 */
#m_side {width: 500px; height: 100%; position: fixed;
    bottom: 0; left: -400px; z-index: 999;
    background-color: #111; opacity: 1; transition: 0.5s;}
#m_side:hover {left: -220px; opacity: 1;}

#m_side .con {width: 400px; height: 100%; position: absolute;
    bottom: 0; left: -100px; padding: 10px;
    box-sizing: border-box;
    background-color: #000; transition: 1s;}

#m_side:hover .con{left: 50px;}

/* 섬네일 이미지 */

#m_side .con p {width: 300px; position: absolute; left: 50%}
#m_side .con p img {width: 230px; opacity: 0.5; transition: all 0.5s;
    padding-left: 50px;
}
#m_side .con p img:hover {opacity: 0.9;}
#m_side .con p b {display: block;
    font-family: 'Raleway'; color: #fff;
}
#m_side .con p:nth-child(1){top: 8%; transition: all 0.4s;}
#m_side .con p:nth-child(2){top: 37%; transition: all 0.8s;}
#m_side .con p:nth-child(3){top: 67%; transition: all 1.2s;}



/* 롤링버튼 */
#m_side .btnCon {
    position: absolute; top: 50%; right: -200px; width: 200px; height: 50px; color: #333;}

#m_side:hover .btnCon{right: 500px;}

.btnCon i {font-size: 60px; position: absolute; bottom: 0; right: 0; opacity: 0;}
.btnCon i:nth-child(1) {animation: ani linear 1.5s 0s infinite;}
.btnCon i:nth-child(2) {animation: ani linear 1.5s 0.5s infinite;}
.btnCon i:nth-child(3) {animation: ani linear 1.5s 1s infinite;}


@keyframes ani {
    0% {left: 0; transform: scale(1); opacity: 1;}
    100% {left: 100px; transform: scale(1.5); opacity: 0;}
}




/* 로고 영역 */

h1 {position: fixed; top: 12%; left: 30px; width: 370px;}
h1 img {width: 200px; height: auto; padding-top: 10px;}
h1>span {font-size: 15px; color: #444; letter-spacing: 1px;
    padding-left: 75px; position: absolute; top: 75px;}

.min {display: none;}

/* 웹 아이콘 버튼 모음 */
.sns {position: fixed; top: 30px; right: 50px; z-index: 100;}
.sns li {float: left; margin-left: 30px;}
.sns li a {color: #555; font-size: 22px;}


/* 섹션 영역 레이아웃 */
section {position: fixed; width: 100%; height: 100%;}
section>article {position: relative; float: right;
    width: 13%; height: 100%;
    border-left: 1px solid #999; overflow: hidden;}

/* 아티클 제목 */

article h2{
    position: absolute; top: 30%; left: 20px; z-index: 3;
    padding-left: 15px; border-left: 3px solid #aaa;
    font: bold 20px Raleway; color: #fff;
    transition: all 0.5s;}

article div {position: absolute; top: 30%; left: 0; z-index: 2;
    width: 100%; height: 0%; background: #000;
    opacity: 0.5; transition: all 0.5s;
}

/* 아티클 제목 호버 효과 */
article:hover h2 {color: #fff; border-left: 3px solid #c80b4d;}
article:hover div {top: 27%; height: 70px;}


/* 아티클 동영상 */
article video {
    position: absolute; z-index: 1; width: auto; height: 100%;
    margin-top: 0px; margin-left: -100px; opacity: 0;
}

article h3 {
    position: absolute; bottom: 210px; right: -1000%; z-index: 4;
    font: 40px Raleway; color: #777; text-align: right;
    opacity: 1; 
}
article p {
    position: absolute; bottom: 50px; right: -1000%; z-index: 5;
    width: #fff; height: 150px; font: 12px/1.5 arial;
    color: #999; text-align: right; opacity: 0.8;
}

@media (max-width:768px){
    .wrap .main_pro {display: none;}
    .wrap>section>article {display: none;}
    h1 {display: none;}
    #m_side {display: none;}
    .min {
        max-width: 768px; width: 100%; height: 1000px;
        position: relative;
        display: block; background-color: rgba(0,0,0,0.5);
    }
    .min_vid {
        margin-top: 107px;
        position: relative;
        background-color: rgba(0,0,0,0.5);
        max-width: 768px; width: 100%; height: 300px;
    }
    
    .min_event {max-width: 600px; width: 80%; height: auto;
        margin: 30px auto;
    }
    .min_event img {width: 100%;}
    
    .min_product {
        margin-top: 12px;
        height: 300px;}
    .min_product a {float: left; width: 25%;
        background-color: rgba(0,0,0,0.2);
        transition: 0.5s ease; position: relative; bottom: 0;
    }
    .min_product a span{
        position: absolute;
        top: 50%; left: 50%; transform: translate(-50%, 0)
    }
    .min_product a img {opacity: 0;}
    .min_product a:hover {color: #fff;}
    .min_product a:hover img {opacity: 1;}
    .min_product a img {width: 100%; height: 300px;}

    
}



/*footer 영역*/
footer {background-color: #333; color: #fff;
    position: relative; bottom: 0px;}
footer .container {padding: 40px 20px;}
.footA {width: 150%;}
.footA h2 img{width: 200px; float: left; margin: 0 50px 0 30px;}
.footA p{font-size: 14px; padding-top: 30px; text-align: center; width: 60%; }
.footD {margin-left: 40px;}
.footD ul{list-style: none; display: flex;}
.footD ul li span{display: block;
    padding: 10px; margin: 5px; width: 1em; line-height: 1em;
    text-align: center;}

.footB div {margin: 5px;}
.footB h3 {font-size: 14px; border-bottom: 1px solid #fff; line-height: 1.8;}
.footB ul {margin: 0; padding: 5px; list-style: none;}
.footB a {text-decoration: none; color: inherit; font-size: 12px; padding: 5px; display: block;}
.footB a:hover {background-color: rgba(0,0,0,0.3);}

.footC {text-align: center; font-size: 12px;}



@media (min-width:768px) {
    footer {bottom: -900px;}
    footer .container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1000px;
        margin: auto;}
    
    .footA h2 img{float: none; margin-left: 40px;}
    .footA p {width: 250px; margin: auto;}
    
    .footA{flex: 0 0 30%;}
    .footB{flex: 0 0 61%}
    .footC{flex: 0 0 100%}
    
    .footB{display: flex;}
    .footB div {flex: 1;}
    .footB div:first-child {margin-left: 10px;}
    .footB div:not(:first-child) {margin-left: 40px;}
}


/* 라벨 박스 시작 */
.label_box {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    padding-top: 3px;
    margin-top: 5px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    width: 190px;
}

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

.label_box:hover input ~ .checkmark {
    background-color: #ccc;
}

.label_box input:checked ~ .checkmark {
    background-color: #c80b4d;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.label_box input:checked ~ .checkmark:after {
    display: block;
}

.checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* 라벨 박스 끝 */



/* 로그인 창 시작*/

.box1 {display: none;/* 초기값 none */
        position: fixed;
        width: 100%; height: 100%;
        top: 0; left: 0;
        z-index: 998;
        overflow: auto;
        background-color: rgba(0,0,0,0.5);
        padding-top: 60px;}


.box1_open {display: block;} /* addclass 사용 */
.box1_cont {
        max-width: 500px;
        min-width: 390px;
        background-color: #fff;
        margin: 15% auto;
        border: 1px solid #eee;}
.img_cont{
        text-align: center;
        position: relative;
        margin: 20px 0 12px 0; }
        
img.member {}
/* 이미지 태그 중 클래스가 member인 것을 선택*/
        
.cont {padding: 15px;}
input[type="text"], input[type="password"] {
        margin: 8px 0;
        width: 100%; padding: 12px 20px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        display: inline-block;}
#loginbtn {
        width: 100%; background-color: #c80b4d;
        outline: none; border: none;
        margin: 8px 0;
        padding: 14px 20px;
        cursor: pointer;
        color: #fff;}
#loginbtn:hover {opacity: 0.8;}
.cancel {width: auto; padding: 10px 15px;
    background-color: #999; border: none; color: #fff;}
.sign_up {width: auto; padding: 10px 15px; cursor: pointer;
    background-color: #c80b4d; border: none; color: #fff;}
.sign_up:hover {opacity: 0.5;}
.psw {float: right; padding: 16px; line-height: 3px;}
.psw a {text-decoration: none; font-weight: bold; color: #c80b4d}
        
.ani {animation: aniM 0.5s;}
@keyframes aniM{
        from {transform: scale(0)}
        to {transform: scale(1)}
        }

/* 로그인 창 끝 */




/* 회원가입 창 시작 */

.box2 {display: none;/* 초기값 none */
        position: fixed;
        width: 100%; height: 100%;
        top: 0; left: 0;
        z-index: 999;
        overflow: auto;
        padding-top: 60px;}


.box2_open {display: block;} /* addclass 사용 */
.box2_cont {
        max-width: 550px;
        min-width: 390px;
        background-color: #fff;
        margin: 10% auto;
        border: 1px solid #eee;}
.img_cont{
        text-align: center;
        position: relative;
        margin: 20px 0 12px 0; }
        
.cont {padding: 15px;}
.tos {font-size: 12px;
    background-color: #eee; margin: 10px 0;
    height: 120px;
    overflow: scroll; overflow-x: hidden;}
.tos_chk {width: 100%; margin-bottom: 20px;}

#id_reqire, #pwd_reqire, #pwd_check {
        margin: 0;
        width: 100%; padding: 12px 20px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        display: inline-block;}
#pwd_check {margin-bottom: 20px;}
#signbtn {
        width: 100%; background-color: #c80b4d;
        outline: none; border: none;
        margin: 8px 0;
        padding: 14px 20px;
        cursor: pointer;
        color: #fff;}
#signbtn:hover {opacity: 0.8;}
.cancel2 {width: auto; padding: 10px 15px;
    background-color: #999; border: none; color: #fff;}


/* 회원가입 창 끝*/







