
.main_banner {
    width:100%;
    height:600px;
    position: relative;
    overflow: hidden;
}

.main_bn_img {
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
}

.main_bn {
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:100%;
}
.main_bn1 {
    background: url(../img/main/main_bn_1.jpg) no-repeat center / cover;
}
.main_bn2 {
    background: url(../img/main/main_bn_2.jpg) no-repeat center / cover;
} 
.main_bn3 {
    background: url(../img/main/main_bn_3.jpg) no-repeat center / cover;
} 
.main_bn4 {
    background: url(../img/main/main_bn_4.jpg) no-repeat center / cover;
} 

.main_btn {
    width:5vw;
    height:100%;
    position: absolute;
    top:0;
    cursor: pointer;
    text-align: center;
}

#main_btn_L {
    left: 0;
}
#main_btn_R {
    right:0;
}

.main_btn img {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}


.main_indi {
    width: 100%;
    position: absolute;
    bottom: 10px;
    text-align: center;
}

.main_cc {
    display: inline-block;
    width:30px;
    height:6px;
    margin: 0 5px;
    padding: 5px 2px;
    cursor: pointer;
    position: relative;
    opacity: 0.7;
}
.main_cc_active {
    width:80px;
}
.cc_color {
    width:100%;
    height:6px;
    border-radius: 5px 0 5px 0;
    background: #222;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}


/* 아이템섹션 > category.css */

/* ////////////////////////////////////////////////////////////////////////made_by_yme 시작 */
.made_by_yme {
    width:100%;
    height:32.7vw;
    background: #eee;
    font-family: 'Indie Flower', cursive;

    margin: 200px 0 250px;
    position: relative;
}

.made_by_img_box {
    width:100%;
    max-width: 1400px;
    height:37.8vw;
    /* background: brown; */
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    
    overflow: hidden;
}
.made_img_L {
    height: 30.4vw;
    width: 46.8vw;
    position: absolute;
    bottom:0;
    left:0;
}

.made_img_L_hide {
    opacity: 0;
    transform: translateY(-90%);
    transition: transform 1s 0.4s, opacity 1s 0.4s;
}
.made_img_L_active {
    opacity: 1;
    transform: translateY(0);
    transition: transform 1s 0.4s, opacity 1s 0.4s;
}

.made_img_R_hide {
    opacity: 0;
    transform: translateY(100%);
    transition: transform 1.3s, opacity 1.3s;
}
.made_img_R_active {
    opacity: 1;
    transform: translateY(0);
    transition: transform 1.3s, opacity 1.3s;
}

.made_img_R {
    position: absolute;
    top:0;
    right:0;
    width: 35.1vw;
    height: 28vw;
    z-index: 99;
    box-sizing: border-box;
}

.made_img img {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    cursor: pointer;
    display: none;
}



.made_by_title {
    position: absolute;
    bottom:5px;
    right:0;
    font-size: 45px;
    line-height: 1.1;
    text-align: right;
    padding: 20px;
    box-sizing: border-box; 
    color: #fff;
    cursor: pointer;
}


/* 인스타 시작 */
.sec_insta{
    width:100%;
    padding: 80px 0;
    margin-top: 120px;
    box-sizing: border-box;
    background: #eee;
}

.insta_box {
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.insta_id {
    width:100%;
    height:30px;
    position: relative;
    box-sizing: border-box;
}
.insta_id span:nth-child(1) {
    float: left;
    font-size: 13px;
    color:#444;
}
.insta_id div {
    position: absolute;
    left:50%;
    transform: translateX(-50%);
}
.insta_img_box {
    margin-top: 20px;
    overflow: hidden;
    font-size: 0;
}
.insta_img_box img {
    width:calc((100% - (8px * 9)) / 10);
    margin: 0 8px 8px 0;
    float: left;
    background: #ccc;
}
.insta_img_box img:nth-child(10n) {
    margin-right: 0;
}

@media screen and (max-width: 1500px) {
    .made_by_img_box {
        width: 90%;
    }
}

@media screen and (max-width: 1100px) {
    .main_btn img {
        width: 60%;
    }
}

@media screen and (max-width: 980px) {
    .made_by_yme {
        margin: 80px 0 110px;
    }
    .made_by_title {
        font-size: 4vw;
        padding: 10px;
    }
}



@media screen and (max-width: 860px) {
    .main_btn img {
        display: none;
    }
    .sec {
        margin: 70px auto 0;
        /* background: rgb(248, 222, 222); */
    }
    .sec_title {
        padding: 40px 0;
    }
    .item_sec {
        width:calc((100% - (12px * 2)) / 3);
        margin-right: 12px;
        margin-bottom: 80px;
    }
    
    .item_sec:nth-child(4n) {
        margin-right: 12px;
    }
    .item_sec:nth-child(3n) {
        margin-right: 0;
    }

    .item_title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .made_by_yme {
        margin: 80px 0 110px;
    }
    
    .made_by_img_box {
        width: 90%;
    }

    .sec_insta{
        padding: 80px 0;
        margin-top: 60px;
    }

    .insta_id span:nth-child(1) {
        font-size: 2vw;
    }
    .insta_id div {
        font-size: 2.5vw;
    }

    .insta_img_box img {
        width:calc((100% - (8px * 7)) / 8);
    }
    .insta_img_box img:nth-child(10n) {
        margin-right: 8px;
    }
    .insta_img_box img:nth-child(8n) {
        margin-right: 0;
    }
    .insta_img_box img:nth-child(25n),
    .insta_img_box img:nth-child(26n),
    .insta_img_box img:nth-child(27n),
    .insta_img_box img:nth-child(28n),
    .insta_img_box img:nth-child(29n),
    .insta_img_box img:nth-child(30n) {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .made_img_L_hide {
        transform: translateY(-50%);
        transition: transform 0.7s 0.4s, opacity 0.7s 0.4s;
    }
    
    .made_img_R_hide {
        transform: translateY(60%);
        transition: transform 1s, opacity 1s;
    }

    .made_img_L_active {
        transition: transform 0.7s 0.4s, opacity 0.7s 0.4s;
    }

    .made_img_R_active {
        transition: transform 1s, opacity 1s;
    }
}

@media screen and (max-width: 640px) {
    .main_btn img {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .main_btn img {
        display: none;
    }

    .sec {
        margin: 50px auto 0;
    }
    .fixed_menu {
        right: 8px !important;
    }
    .sec_title {
        padding: 40px 0;
    }
    .item_sec {
        width:calc((100% - 8px) / 2);
        margin-right: 8px;
        margin-bottom: 60px;
    }
    .item_sec:nth-child(3n) {
        margin-right: 8px;
    }
    .item_sec:nth-child(4n) {
        margin-right: 0;
    }
    .item_sec:nth-child(2n) {
        margin-right: 0;
    }
    
    .item_title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .made_by_yme {
        height:40vw;
    }
    
    .made_by_img_box {
        height:50vw;
    }
    .made_img_L {
        height: 37.2vw;
        width: 56.2vw;
    }
    
    .made_img_R {
        width: 42.3vw;
        height: 33.6vw;
    }


    .sec_insta{
        padding: 50px 0;
        margin-top: 40px;
    }
    
    .insta_img_box img {
        width:calc((100% - (8px * 5)) / 6);
    }
    .insta_img_box img:nth-child(8n) {
        margin-right: 8px;
    }
    .insta_img_box img:nth-child(10n) {
        margin-right: 8px;
    }
    .insta_img_box img:nth-child(6n) {
        margin-right: 0;
    }
    
    .insta_img_box img:nth-child(19n),
    .insta_img_box img:nth-child(20n),
    .insta_img_box img:nth-child(21n),
    .insta_img_box img:nth-child(22n),
    .insta_img_box img:nth-child(23n),
    .insta_img_box img:nth-child(24n),
    .insta_img_box img:nth-child(25n),
    .insta_img_box img:nth-child(26n),
    .insta_img_box img:nth-child(27n),
    .insta_img_box img:nth-child(28n),
    .insta_img_box img:nth-child(29n),
    .insta_img_box img:nth-child(30n) {
        display: none;
    }

    
    .main_indi {
        width: 100%;
        position: absolute;
        bottom: 10px;
        text-align: center;
    }

    .main_cc {
        display: inline-block;
        width:20px;
    }
    .main_cc_active {
        width:60px;
    }
}

