*{
    margin: 0;
    padding: 0;
}
html, body{
    width: 100%;
    height: 100%;
}
.bo{
    border: 5px red solid;
}

/* 휠표시 */
#wheel{
    position: fixed;
    z-index: 99999999999;
    bottom: 50px;
    left: 50%;
    opacity: 0.4;
}
#wheel ul{
    border: 2px white solid;
    height: 40px;
    width: 23px;
    border-radius: 13px;
    background: rgba(255,255,255,0.3);
    position: absolute;
}
#wheel ul li{
    border: 2px white solid;
    height: 15px;
    width: 7px;
    position: absolute;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    left: 6px;
    top: 3px;
    list-style: none;
    animation: wheel 1.5s infinite linear;
}
#wheel::after{
    content:'drag';
    position: relative;
    color: white;
    top: 3px;
    left: 40px;
    font-family: canter, 'Times New Roman', Times, serif;
    font-size: 30px;
}

@keyframes wheel{
    0%{}
    100%{top: 12px;}
}

/*product 관련 코딩 시작*/
#wrapper{
    width: 100%;
    height: 600%;
    position: absolute;
    top: 0;
}

/*1번 이미지 main / 2~6번 이미지 sub*/
#wrapper>section.product_main, #wrapper>div.product_sub{
    width: 100%;
    height: 20%;
}

/*백그라운드 첫번째 이미지*/
#wrapper>section.product_main{
    height: 70%;
    position: relative;
    object-fit: cover;
    background: url(background/product/product_main3.jpg) center top/cover no-repeat fixed;
}
#wrapper>section .product_main_cha1{
    width: 35vw;
    height: 35vw;
    background: url(background/product/product_main_cha1.png) top/contain;
    position: fixed;
    top: 22%;
    left: 20%;
    transition: 1.5s;
}
/*jq 활용하여 스크롤시 움직이게 진행*/
#wrapper>section .product_main_cha1:hover{
    transform: translate(50px, -20px) rotate(4deg);
}
#wrapper>div.product_sub>section{
    height: 100%;
    width: 100%;
    position: relative;
}
/*메인페이지 텍스트_1 모달창*/
#wrapper>section .main_text_1{
    width: 35vw;
    /*height: 30vw;*/
/*	border: 1px red solid;*/
    position: absolute;
    left: 50%;
    margin-left: 5%;
    top: 7%;
    font-size: 2em;
    font-family: 'Nanum Gothic', sans-serif;
    text-align: center;
    color: white;
}
#wrapper>section .main_text_1>h2{
    margin-bottom: -15px;
}
#wrapper>section .main_text_1>span{
    font-size: 1.2vw;
}
#wrapper>section .main_modal_1{
    width: 150px;
    height: 50px;
    background: white;
    border-radius: 25px;
    position: absolute;
    top: 180px;
    left: 50%;
    margin-left: -75px;
    color: black;
    font-size:15px;
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 50px;
    cursor: pointer;
    z-index: 10;
}
#wrapper>section .main_modal_1:hover{
    animation: pulse 1s
}
@keyframes pulse {
    from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    }
    50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
    }

    to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    }
}
#wrapper>section .main_text_1>.main_modal_1after{
    /*border:1px red solid;*/
    position: absolute;
    width: 35vw;
    top:250px;
}
#wrapper>section .main_text_1>.main_modal_1after h4{
    margin-bottom: -20px;
}
#wrapper>section .main_text_1>.main_modal_1after p{
    font-size: 1vw;
    line-height: 28px;
    text-align: justify;
}

/*메인페이지 텍스트_2 캐러셀*/
#wrapper>section .main_text_2{
    width: 35vw;
    /*height: 30vw;*/
    /*border: 1px red solid;*/
    position: absolute;
    left: 50%;
    margin-left: 5%;
    top: 60%;
    font-size: 2em;
    font-family: 'Nanum Gothic', sans-serif;
    text-align: center;
    color: white;
}
#wrapper>section .main_text_2>h2{
    margin-bottom: -15px;
}
#wrapper>section .main_text_2>span{
    font-size: 1.2vw;
}

.carousel_box{
    /*border:1px white solid;*/
    top: 20px;
    position: relative;
    width: 100%;
    height: 500px;
    /*background: tomato;*/
}
.carousel{
    width: 100%;
    height: 100%;
    position: absolute;
    /*background: tomato;*/
}
.carousel .next{
    position: absolute;
    right: 0;
    width: 10%;
    height: 100%;
    cursor: pointer;
    transition: 1s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fa-angle-right{
    transition: 1s;
}
.carousel .next:hover{
    background: rgb(0,0,0,0.5);
}
.carousel .next:hover .fa-angle-right{
    transform: translate(10px);
}
.carousel .prev{
    position: absolute;
    width: 10%;
    height: 100%;
    left: 0;		
    cursor: pointer;
    transition: 1s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fa-angle-left{
    transition: 1s;
}
.carousel .prev:hover{
    background: rgb(0,0,0,0.5);
}
.carousel .prev:hover .fa-angle-left{
    transform: translate(-10px);
}
.carousel ul{
    width: 100%;
    height: 100%;
    position: absolute;
    /*border: 1px blue solid;*/
    overflow:hidden;
}
.carousel ul li{
    width: 100%;
    height: 100%;
/*	border:1px red solid;*/
    list-style: none;
    position: absolute;
    /*display: flex;
    align-items: center;
    justify-content: center;*/
    left: 100%;
}
.carousel ul li h3{
    position: relative;
    top: 15px;
    font-family: do hyeon;
    text-shadow: 1px 1px 1px black;
}
.carousel_detail{
    position: absolute;	
    bottom: 20px;
    font-size: 1vw;
    padding: 0 70px;
    line-height: 30px;
    font-family: nanumgothic;
    text-shadow: 1px 1px 1px black;
}

.carousel ul li:nth-child(1){
    left: 0;
    background: url(contents/product/hemp.jpg) center/cover no-repeat;
}
.carousel ul li:nth-child(2){
    background: url(contents/product/nylon.jpg) center/cover no-repeat;
}
.carousel ul li:nth-child(3){
    background: url(contents/product/mok.jpg) center/cover no-repeat;
}
.carousel ul li:nth-child(4){
    background: url(contents/product/poly.jpg) center/cover no-repeat;
}
.carousel ul li:nth-child(5){
    background: url(contents/product/wool.jpg) center/cover no-repeat;
}
.carousel ul li:nth-child(6){
    background: url(contents/product/cell.jpg) center/cover no-repeat;
}

/* 캐러셀 끝 */
/*메인페이지(1) 끝*/

/*서브페이지 시작*/
/*백그라운드 서브 이미지*/
#wrapper>div.product_sub>section.product1{
    background: url(background/product/product1.png) center/cover no-repeat fixed;
    object-fit: cover;
}
#wrapper>div.product_sub>section.product2{
    background: url(background/product/product2.png) center/cover no-repeat fixed;
    object-fit: cover;
}
#wrapper>div.product_sub>section.product3{
    background: url(background/product/product3.png) center/cover no-repeat fixed;
    object-fit: cover;
}
#wrapper>div.product_sub>section.product4{
    background: url(background/product/product4.png) center/cover no-repeat fixed;
    object-fit: cover;
}
#wrapper>div.product_sub>section.product5{
    background: url(background/product/product5.png) center/cover no-repeat fixed;
    object-fit: cover;
}


/*백그라운드 모델 이미지 및 서브텍스트*/
.index{
    z-index: 10;
}
#wrapper>div.product_sub>.product1>.product1_model{
    width: calc(2/3*499px);
    height: calc(2/3*802px);
    position: sticky;	
    left: 50%;
    top: 520px;
    cursor: pointer;
    background: url(background/product/product1_model2.png) center/contain no-repeat;
    transform-origin: bottom;
    transition: 1s;
}
#wrapper>div.product_sub>.product2>.product2_model{
    width: calc(1/2*650px);
    height: calc(1/2*1352px);
    position: sticky;	
    left: 70%;
    top: 500px;
    cursor: pointer;
    background: url(background/product/product2_model.png) center/contain no-repeat;
    transform-origin: bottom;
    transition: 1s;
}
#wrapper>div.product_sub>.product3>.product3_model{
    width: calc(3/4*428px);
    height: calc(3/4*901px);
    position: sticky;	
    left: 10%;
    top: 300px;
    cursor: pointer;
    background: url(background/product/product3_model.png) center/contain no-repeat;
    transform-origin: bottom;
    transition: 1s;
}
#wrapper>div.product_sub>.product4>.product4_model{
    width: calc(2/3*519px);
    height: calc(2/3*901px);
    position: sticky;	
    left: 50%;
    top: 530px;
    cursor: pointer;
    background: url(background/product/product4_model.png) center/contain no-repeat;
    transform-origin: bottom;
    transition: 1s;
}
#wrapper>div.product_sub>.product5>.product5_model{
    width: calc(2/3*599px);
    height: calc(2/3*890px);
    position: sticky;	
    left: 60%;
    top: 330px;
    cursor: pointer;
    background: url(background/product/product5_model.png) center/contain no-repeat;
    transform-origin: center;
    transition: 1s;
}
/*모델 옆 클릭 아이콘*/
.product1_model_click{
    width: 30px;
    height: 30px;
    /*border:1px red solid;*/
    position: absolute;
    left: 85px;
    top: 15px;
    border : 10px white solid;
    animation: click 1s infinite;
    transition: 0.5s;
}
.product2_model_click{
    width: 30px;
    height: 30px;
    /*border:1px red solid;*/
    position: absolute;
    left: 65px;
    top: -15px;
    border : 10px white solid;
    animation: click 1s infinite;
    transition: 0.5s;
}
.product3_model_click{
    width: 30px;
    height: 30px;
    /*border:1px red solid;*/
    position: absolute;
    left: 75px;
    top: -15px;
    border : 10px white solid;
    animation: click 1s infinite;
    transition: 0.5s;
}
.product4_model_click{
    width: 30px;
    height: 30px;
    /*border:1px red solid;*/
    position: absolute;
    left: 35px;
    top: 55px;
    border : 10px white solid;
    animation: click 1s infinite;
    transition: 0.5s;
}
.product5_model_click{
    width: 30px;
    height: 30px;
    /*border:1px red solid;*/
    position: absolute;
    left: 35px;
    top: 95px;
    border : 10px white solid;
    animation: click 1s infinite;
    transition: 0.5s;
}
@keyframes click{
    0%{
        border-top: 10px #0d4389 solid;
        -webkit-transform: scale3d(1, 1, 1);
          transform: scale3d(1, 1, 1);
    }
    25%{
        border-left : 10px #362764 solid;
    }
    50%{
        border-bottom : 10px #913041 solid;
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }
    65%{
        border-right : 10px #dd3b26 solid;
    }
    90%{
        border: 10px white solid;
    }
    100%{
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

/*서브페이지 모델 강조*/
#wrapper>div.product_sub>.product1>.product1_model:hover{
    transform: scale(1.1);
}
#wrapper>div.product_sub>.product2>.product2_model:hover{
    transform: scale(1.1);
}
#wrapper>div.product_sub>.product3>.product3_model:hover{
    transform: scale(1.1);
}
#wrapper>div.product_sub>.product4>.product4_model:hover{
    transform: scale(1.1);
}
#wrapper>div.product_sub>.product5>.product5_model:hover{
    transform: scale(1.1);
}

/*서브 페이지별 텍스트*/
.text_fonts{
    color: black;
    font-family: do hyeon;
    font-weight: bold;
    font-size: 15vw;
    background: linear-gradient(to right, #09458c , #3b2460, #e53c23);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    text-align: right;
}
.text_location{
    position: absolute;
    top: 20%;
    right: 0%;		
}


/*서브페이지 모달 삽입*/
.modal_box{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 100;
}
.modal{
    opacity: 0.3;
    width: 100%;
    height: 100%;
    opacity: 0.5;		
    position: absolute;
/*	border: 1px red solid;*/
    background: #34B1A6;
}
.modal_contents{
    width: 80%;
    height: 60%;
    position: absolute;
    top: 20%;
    left: 10%;
    border: 5px #34B1A6 solid;
    background: white;
    border-radius: 40px;
    box-sizing: border-box;
    z-index: 10000;
}
.modal_contents>div{
    width: 98%;
    height: 95%;
    position: absolute;
    top: 2.5%;
    left: 1%;
    background: white;
    border-radius: 25px;
    z-index: 10000;
    border: 10px #34B1A6 solid;
    box-sizing: border-box;
}
.modal_contents>div>ul{
    width: 100%;
    height: 100%;
    /* border:1px red solid; */
}
.modal_contents>div>ul>li{
    /* border:1px red solid; */
    box-sizing: border-box;
    height: 100%;
    float: left;
    list-style: none;
    box-sizing: border-box;
}
.modal_contents>div>ul>li:nth-child(1){
    width: 20%;
}
.modal_contents>div>ul>li:nth-child(2){
    width: 80%;
    
}
.modal_contents>div>ul>li:nth-child(1) ul{
    width: 100%;
    height: 100%;
    /*background: tomato;*/
}
.modal_contents>div>ul>li:nth-child(1) ul>li:hover{
    background: #34B1A6;
    color: white;
    font-size: 3vw;
}
.active{
    background: #34B1A6;
    color: white;
    font-size: 3vw;	
}
.modal_contents>div>ul>li:nth-child(1) ul>li{
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 1px black solid;*/
    box-sizing: border-box;
    list-style: none;
    height: 16%;
    font-family: Canter;
    font-size: 2vw;
}
.modal_contents>div>ul>li:nth-child(1) ul>li~li{
    cursor: pointer;
}
.modal_contents>div>ul>li:nth-child(1) ul>li:nth-child(1){
    font-family: vision;
    height: 20%;
    font-size: 2vw;
    background: #34B1A6;
    color: white;
}
.modal_contents>div>ul>li:nth-child(2) ul{
    width: 100%;
    height: 100%;
    /*background: tomato;*/
}
.modal_contents>div>ul>li:nth-child(2) ul li{
    width: 100%;
    /*border:1px black solid;*/
    box-sizing: border-box;
    list-style: none;
}
.modal_contents>div>ul>li:nth-child(2) ul li a{
    text-decoration: none;
}
a[href]{
    text-decoration: none;
    color: inherit;
    /*display: flex;*/
    width: 100%;
    height: 100%;		
    display: flex;
    align-items: center;
    justify-content: center;
    /*border:1px red solid;*/
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(1){
    height: 60%;
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(1) ul{
    width: 100%;
    height: 100%;
    /*background: tomato;*/
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(1) ul li{
    /*border:1px blue solid;*/
    border-right: 3px #34B1A6 solid;
    border-left: 3px #34B1A6 solid;
    box-sizing: border-box;
    height: 100%;
    width: calc(100%/3);

    display: flex;
    float: left;
    align-items: center;
    justify-content: center;
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(2){
    height: 10%;
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(2) ul{
    width: 100%;
    height: 100%;
    /*background: tomato;*/
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(2) ul li{
    height: 100%;
    width: calc(100%/3);
    float: left;
    border-right: 3px #34B1A6 solid;
    border-left: 3px #34B1A6 solid;
    display: flex;
    float: left;
    align-items: center;
    justify-content: center;
    font-family: nanumgothic;
    font-weight: bold;
    font-size: 1.1vw;
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(3){
    height: 30%;
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(3) ul{
    width: 100%;
    height: 100%;
}
.modal_contents>div>ul>li:nth-child(2) ul li:nth-child(3) ul li{
    height: 100%;
    width: calc(100%/3);
    float: left;
    border-right: 3px #34B1A6 solid;
    border-left: 3px #34B1A6 solid;
    /*border: 1px red solid;*/	
    font-family: nanumgothic;
    font-size: 0.85vw;
    text-align: center;
    padding: 0 10px;
}
.close{
    position: absolute;
    color: #34B1A6;
    border:5px #34B1A6 solid;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: white;
    font-size: 25px;
    top: -52px;
    right: 10px;
    cursor: pointer;
    transition: 0.5s;
}
.close:hover{
    transform: rotate(180deg);
}

.memo{
    width: 20px;
    height: 20px;
    border-bottom: 5px rgb(52,177,166) solid;
    border-right: 5px rgb(52,177,166) solid;
    border-left: 1px gray solid;
    border-top: 1px gray solid;
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
    left: 22%;
    box-shadow: 3px 3px 3px gray;
    transition: 0.5s;
    cursor: pointer;
}

.memo:hover{
    transform: rotate(360deg);
}

.memo_detail{
    width: 45%;
    height: 7%;
    background-color: rgb(52,177,166,0.7);
    z-index: 9999999999999;
    position: absolute;
    top: 46px;
    left: 24%;
    transition: 1s;
    font-size: 20px;

    
}

.memo_detail span{
    width: 100%;
    height: 100%;
    font-family:'Nanum Gothic', sans-serif;
    color: white;
    font-size: 1vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*서브페이지 모달창 끝*/
/*서브페이지 종료*/