/* 배너부분 */
.banner{
    width: 100%;
    height: 540px;
    overflow: hidden;
    position: relative;
}
.banner_img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 100%;
}
.banner_img a{
    width: 100%;
    height: 100%;
    display: block;
}
.banner_img:nth-child(1){
    background: url(../main_img/banner/banner1.jpg);
}
.banner_img:nth-child(2){
    background: url(../main_img/banner/banner2.jpg);
}
.banner_img:nth-child(3){
    background: url(../main_img/banner/banner3.jpg);
}
.banner_img:nth-child(4){
    background: url(../main_img/banner/banner4.jpg);
}
.banner_img:nth-child(5){
    background: url(../main_img/banner/banner5.jpg);
}
.banner_img:nth-child(6){
    background: url(../main_img/banner/banner6.jpg);
}
.banner_img:nth-child(7){
    background: url(../main_img/banner/banner7.jpg);
}
.banner_img:nth-child(8){
    background: url(../main_img/banner/banner8.jpg);
}
.banner_img:nth-child(9){
    background: url(../main_img/banner/banner9.jpg);
}
.banner_btn{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.banner_btn_L{
    left: 70px;
    background: url(../main_img/icon/bt_left01_off.png) no-repeat center;
}
.banner_btn_R{
    right: 70px;
    background: url(../main_img/icon/bt_right01_off.png) no-repeat center;
}
.banner_indi{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.banner_indicator{
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    margin: 0 8px;
}
.indi_color{
    background: #fff;
}

/* simple부분 */
.simple{
    margin: 100px 0px;
}
.simple_txt{
    height: 80px;
    margin-bottom: 50px;
    background: url(../main_img/main/simple.jpg) no-repeat center / contain;
}
.simple_img{
    width: 80%;
    height: 500px;
    margin: auto;
    cursor: pointer;
    overflow: hidden;
}
.simple_img a{
    width: 100%;
    height: 100%;
    display: block;
}
.simple_img img{
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: all 0.5s;
}
.simple_img img:hover{
    transform: scale(1.2);
}
/* birth부분 */
.birth{
    margin-bottom: 100px;
}
.birth_txt{
    height: 50px;
    margin-bottom: 50px;
    background: url(../main_img/main/birth.jpg) no-repeat center / contain;
}
.birth_img{
    width: 80%;
    height: 800px;
    margin: auto;
    cursor: pointer;
}
.birth_img a{
    width: 100%;
    height: 100%;
    display: block;
}
.birth_img img{
    width: 100%;
    height: 100%;
}
/* moon부분 */
.moon{
    overflow: hidden;
    margin-bottom: 100px;
}
.moon_txt{
    height: 70px;
    margin-bottom: 50px;
    background: url(../main_img/main/moon.jpg) no-repeat center / contain;
}
.moon_img{
    width: 60%;
    margin: auto;
}
.moon_img_inner{
    width: calc((100% - (20px * 1)) / 2);
    height: 300px;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left;
    cursor: pointer;
    position: relative;

}
.moon_img_inner a{
    width: 100%;
    height: 100%;
    display: block;
}
.moon_img_inner:nth-child(2n){
    margin-right: 0;
}
.moon_img_inner img{
    width: 100%;
    height: 100%;
}
.moon_pan{
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
}
.moon_img_inner:hover .moon_pan{
    display: none;
}
/* 베스트부분 */
.best_txt{
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}
.best_img{
    width: 100%;
    margin: auto;
    position: relative;
}
.best_mid{
    width: calc(100% - 60px);
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.best_slide{
    width: 100%;
    position: absolute;
    top: 0;
}
.best_slide1{
    left: 0;
}
.best_slide2{
    left: 100%;
}
.best_img_inner{
    width: calc(100% / 5);
    height: 100%;
    cursor: pointer;
    float: left;
}
.best_img_inner a{
    width: 100%;
    height: 100%;
    display: block;
}
.best_img_inner img{
    width: 100%;
    height: 100%;
    font-size: 0;
}
.best_btn{
    width: 30px;
    height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.best_btn_R{
    right: 0;
    background: url(../main_img/icon/rightn.gif) no-repeat center;
}
.best_btn_L{
    left: 0;
    background: url(../main_img/icon/leftn.gif) no-repeat center;
}

@media screen and (max-width: 768px) {
    .banner{
        height: 126vw;
    }
    .banner_img:nth-child(1){
        background: url(../mo_main_img/m_banner1.jpg) no-repeat top / contain;    
    }
    .banner_img:nth-child(2){
        background: url(../mo_main_img/m_banner2.jpg) no-repeat top / contain;
    }
    .banner_img:nth-child(3){
        background: url(../mo_main_img/m_banner3.jpg) no-repeat top / contain;
    }
    .banner_img:nth-child(4){
        background: url(../mo_main_img/m_banner4.jpg) no-repeat top / contain;
    }
    .banner_img:nth-child(5){
        background: url(../mo_main_img/m_banner5.jpg) no-repeat top / contain;
    }
    .banner_img:nth-child(6){
        background: url(../mo_main_img/m_banner6.jpg) no-repeat top / contain;
    }
    .banner_img:nth-child(7){
        background: url(../mo_main_img/m_banner7.jpg) no-repeat top / contain;
    }
    .banner_img:nth-child(8){
        background: url(../mo_main_img/m_banner8.jpg) no-repeat top / contain;
    }
    .banner_img:nth-child(9){
        background: url(../mo_main_img/m_banner9.jpg) no-repeat top / contain;
    }
    .banner_indicator{
        margin: 0 4px;
    }
    .banner_btn_L{
        left: 20px;
    }
    .banner_btn_R{
        right: 20px;
    }
    .indi_color{
        background:  #f7a38e;
    }
    .simple_img{
        width: 90%;
        height: 400px;
    }
    .birth_img{
        width: 90%;
        height: 550px;
    }
    .moon_img{
        width: 95%;
        margin: auto;
    }
    .moon_img_inner{
        width: calc((100% - (10px * 1))/ 2 - 0.01px);
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .moon_pan{
        background: inherit;
    }
    .best_btn{
        display: none;
    }
    .best_mid{
        width: 100%;
    }
    .best_img_inner{
        width: calc(100% / 4 - 0.01px);
    }
    .best_img_inner:last-child{
        display: none;
    }
}
@media screen and (max-width: 480px) {
    .banner_indicator{
        width: 9px;
        height: 9px;
        margin: 0 3px;
    }
    .banner_btn{
        width: 20px;
        height: 20px;
    }
    .banner_btn_L{
        left: 10px;
    }
    .banner_btn_R{
        right: 10px;
    }
    .simple_img{
        width: 100%;
    }
    .birth_img{
        width: 100%;
        height: 500px;
    }
    .moon_img{
        width: 95%;
        margin: auto;
    }
    .moon_img_inner{
        height: 250px;
    }
    .best_img_inner{
        width: calc(100% / 3 - 0.01px);
    }
    .best_img_inner:nth-child(4){
        display: none;
    }
   
}
