@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;}
.line {border: 0.8px solid #eee; margin: 30px 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;}
    
}





/*footer 영역*/
footer {background-color: #333; color: #fff;
    position: relative; bottom: 0px;}
footer .container {padding: 40px 20px;}
.footA {width: 150%;}
.footA h2 img{margin: auto; margin-top: 30px; width: 200px;}
.footA p{display: none;}
.footD {margin: 0px;}
.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: 0px;}
    footer .container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1000px;
        margin: auto;}
    
    .footA h2 img{float: none; margin-left: 40px; width: 200px; margin: 0 50px 0 30px;}
    .footA p {width: 250px; margin: auto; font-size: 14px; padding-top: 30px; text-align: center; display: block;}
    
    .footA{flex: 0 0 30%;}
    .footB{flex: 0 0 59%}
    .footC{flex: 0 0 100%}
    .footD {margin: 0 0 0 30px;}
    
    .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;}


/* 회원가입 창 끝*/




/* 서브 공통 */

.sub_page {width: 1024px; margin: auto; margin-top: 120px;
    position: relative;
}
.hero1 {width: 1024px; height: 110px; position: relative;
    background-image: url(../img/hero.png);
    background-repeat: no-repeat;
    font-family: 'Noto Sans KR'
}

.hero1 p {position: absolute; top: 30%; left: 50%;
    font-size: 20px; color: #fff;
    animation-name: aniH;
    animation-duration: 2s;
}

.hero1 p b {color: #333; font-size: 1.2em;}

@keyframes aniH {
    0% {opacity: 0; top: 0;}
    100% {opacity: 100%; top: 30%;}    
}



.nav {position: absolute; right: 0;
    width: 400px; height: 20px;
    text-align: right;
    font-size: 0.8em;
    margin-top: 10px;
}
.nav a:nth-child(2) {color: #c80b4d; font-weight: bold;}

.nav2 {position: absolute; right: 0;
    width: 400px; height: 20px;
    text-align: right;
    font-size: 0.8em;
    margin-top: 10px;
}
.nav2 a:nth-child(3) {color: #c80b4d; font-weight: bold;}



@media (max-width:768px){
    .sub_page {width: 100%; height: 100%;}
    .hero1 {width: 100%; background-position: center;}
    .hero1 p {transform: translate(-50%, 0); font-size: 18px;}
}




/* 회사소개 페이지 */
.intro, .map, .contact {font-family: 'Noto Sans KR'}
.intro {
    width: 700px; height: 800px;
    margin: 40px 0 0 324px;
}
#welcome {
    text-align: right;
    margin: 50px 30px 70px 0;
}
#welcome span {vertical-align: top; font-size: 1.5em; font-weight: bold;
    color: #c80b4d;
}

.intro p {width: 520px; margin-left: 50px; font-size: 0.9em; color: #aaa;}
.intro_h {text-align: right; padding: 20px 100px 10px 0;
    font-size: 1.4em; font-weight: bold; color: #c80b4d;
}


.map {
    width: 700px; height: 300px;
    margin: 20px 0 0 324px;
}
.map p {text-align: center; font-size: 0.8em; margin: 5px 0; color: #aaa;}
.map p b {color: #c80b4d;}
#map_pic {margin-left: 70px;}



.contact {
    width: 700px; height: 200px;
    margin: 30px 0 20px 324px;
}
.contact dl {width: 400px; margin: 30px 0 0 240px; font-size: 0.9em;}
.contact dt {width: 180px; float: left; color: #c80b4d; font-weight: bold;}
.contact dd {width: 190px; float: left; text-align: right; color: #aaa;}
.contact dd a:hover {color: #333;}

.namebar {width: 700px; height: 30px;
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    padding: 3px 0;
    border-bottom: 2px solid #c80b4d;
}

@media (max-width:768px){
    .intro, .map, .contact {margin: 50px 0 0 0; height: auto; width: 100%;}
    .intro p {width: 80%;}
    .namebar {width: 100%;}
    .contact dl {width: 330px; height: 150px; margin: 10px auto;}
    .contact dt {width: 120px;}
    .contact dd {width: 190px;}
    .map p {width: 290px; margin: auto}
    #map_pic {width: 80%; margin: auto; overflow: hidden;}
}





/* 제품소개 페이지 */

.product {font-family: 'Noto Sans KR'; width: 1024px; height: 500px; margin-top: 40px; overflow: hidden;}
.product .namebar {margin-left: 324px;}
.pre_buy {float: left;}
.pre_buy img {width: 500px; padding: 40px;}

@media (max-width:768px){
    .product {width: 100%; height: 100%;}
    .product .namebar {margin: 0;}
    
    .pre_buy img {width: 85%; margin: auto;}
    
}

.pre_buy_menu {width: 400px; height: 400px; float: left;
    margin-top: 30px;
}
.pre_buy_menu p {font-size: 18px; text-align: center;
    margin-top: 10px; padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}
.pre_buy_menu p span {color: #c80b4d}
.pre_buy_menu p b {margin-left: 50px; font-size: 1.2em; color: #c80b4d}

.pre_buy_menu dl {width: 300px; margin: 30px 0 20px 45px; font-size: 0.8em;}
.pre_buy_menu dt {width: 150px; float: left; color: #999; font-weight: bold;}
.pre_buy_menu dd {width: 150px; float: left; color: #bbb;}

.pre_buy_menu form {width: 300px; margin: 100px 0 0 50px;}
.pre_buy_menu h3 {width: 100px; height: 30px; float: left;
    color: #999; margin: 5px 0; font-size: 1em;}
.pre_buy_menu select {width: 200px; height: 30px; float: left; margin: 5px 0; padding-bottom: 10px;}

.heart {width: 100px; margin-left: 265px; color: #aaa;
    background-color: transparent; border: none; outline: none;
    font-family: 'Noto Sans KR'; font-size: 16px;
    transition: .4s ease;
}
.heart span {background-color: #ccc; padding: 3px 6px;
    border-radius: 50%; color: #fff; transition: .4s ease; cursor: pointer}
.heart:hover {color: #c80b4d;}
.heart:hover span {background-color: #c80b4d;}

.buy_btn {width: 150px; height: 70px; margin: 20px 0 0 45px;
    border: 0; outline: 0; background-color: #c80b4d;
    color: #fff; font-family: 'Noto Sans KR'; cursor: pointer}
.cart_btn {width: 150px; height: 70px;
    border: 0; outline: 0; background-color: #ccc;
    color: #fff; font-family: 'Noto Sans KR'; cursor: pointer}

.buy_btn:hover, .cart_btn:hover {opacity: 0.7;}

@media (max-width:768px){
    .pre_buy_menu {
        margin: auto;
        width: 100%; height: auto;
    }
    .pre_buy_menu p {width: 400px; margin: auto}
    .pre_buy_menu dl, .pre_buy_menu form {margin: 10px auto;}
    .pre_buy_menu form {height: 100px;}
    .heart {margin: 10px 0 20px 0; width: 100%; text-align: right;
        padding-right: 20px;
    }
    .buy_btn, .cart_btn {width: 100%; margin: 0;}
    .cart_btn {margin-bottom: 20px;}
}


.img_pro {margin-left: 133px;}

@media (max-width:768px){
    .img_pro {margin: 0; width: 100%;}
    .img_pro img {width: 100%}
}


.review_qna {width: 700px; height: 700px;
    margin: 30px 0 20px 324px; font-family: 'Noto Sans KR';}

.slide_box {position: relative; margin: auto; width: 700px; height: 250px;}
.slide_box h3 {font-size: 1.1em; margin: 17px 10px;}
.slide_box h3 span {color: #c80b4d;}

.mySlides dt, .date {margin-bottom: 1px; padding: 17px 0 0 10px; box-sizing: border-box;}
.mySlides dt {background-color: #eee; width: 150px; height: 60px; float: left;
    font-size: 0.9em; margin-left: 20px; 
}
.mySlides dt span {color: #c80b4d; margin-left: 10px; font-size: 1em;}
.mySlides dd {width: 430px; height: 60px; float: left;
    box-sizing: border-box; padding: 10px; font-size: 0.8em; color: #aaa;
}
.mySlides .date {width: 100px; font-size: 0.7em; padding-top: 23px;}
.mySlides .master {background-color: #fff; padding: 45px 0 0 70px;}
.mySlides .master_answ {background-color: #eee; height: 120px; padding-top: 40px;}

@media (max-width:768px){
    .review_qna {margin: 0; width: 100%; height: 100%}
    .slide_box {width: 90%; height: 600px;}
    .mySlides {background-color: aqua;}
    .mySlides dl{width: 80%; margin: auto;}
    .mySlides dt{width: 100%;}
    .mySlides dd{width: 100%; margin-left: 20px;}
    .mySlides .date {padding: 0; margin: 0px; width: 100%; text-align: right;}
    #box_two {height: 450px;}
    .mySlides .master {padding: 0; padding-left: 30px;}
}



.prev, .next {
            bottom: -20px; left: 35%; cursor: pointer;
            font-size: 10pt; color: #bbb; font-weight: bold; 
            position: absolute; transition: .4s ease;
        }
.next {margin-left: 200px;}
.prev:hover, .next:hover{color: #666;}
.dot {cursor: pointer; padding: 2px; width: 14px; margin: 0 5px;
    display: inline-block;
    transition: background .4s ease; font-size: 0.7em;}
.dot:hover, .active {background-color: #666; color: #fff;}

.write_btn {border: 0; outline: 0; background-color: #ccc;
    width: 70px; height: 40px; position: absolute; right: 25px; bottom: -25px;
    color: #fff; transition: all 0.4s;
}
.write_btn:hover {background-color: #c80b4d;}

@media (max-width:768px){
    .prev {left: 10%;}
    .next {left: 60%;}
    .dot {margin-bottom: 20px;}
    .write_btn {bottom: 0; right: 0;}
}





/* 문의 창 시작*/

.box3 {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;}


.box3_open {display: block;} /* addclass 사용 */
.box3_cont {
        max-width: 700px;
        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; }
        
#fname, #lname, #inquire, #subject{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: none; /*크롬에서 textarea 조정*/
}

.row label {
    background-color: #eee;
    width: 110px; border-radius: 20px;
    padding: 12px;
    display: inline-block;
	font-weight:bold;
}

#qust_up, #cancel3 {
    background-color: #c80b4d;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

#cancel3 {background-color: #aaa; margin-right: 10px;}


input[type=submit]:hover {opacity: 0.5;}

.qust {
    border-radius: 5px;
    padding: 20px;
}

.col-25 {
    float: left;
    width: 25%;
}

.col-75 {
    float: left;
    width: 75%;
}
.row { margin-top:10px;}
.row:after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 600px) {
    #fname, #lname, #inquire, #subject {width: 100%; margin-top: 0;}
    .col-25, .col-75 {
        width: 100%; margin-top: 0;}
    .row label {width: 95%; margin-bottom: 10px;}
}

/* 문의 창 끝 */
































