/*롤링 이미지*/
.main_img_wrap {
    position: relative;
    width: 100%;
    height: auto;

    z-index: -1;
}

.rollimgs li{
    position: absolute;
    width: 100%;
    right: 0;
}

.rollimgs li img{
    width: 100%;
    height: 100%;
    min-width: 800px;
    min-height: 290px;
}

.rollimgs li.currentroll{
    left: 0;
    transition: left .5s ease-in-out, right .5s ease-in-out;
}

.rollimgs li.prevroll{
    left: -100%;
    transition: left .5s ease-in-out, right .5s ease-in-out;
}

.rollimgs.reverse li.prevroll{
    transition: none;
}

.rollimgs li.nextroll{
    /*left: 600px;*/
    left: 100%;
    display: block;
    transition: none;
}

.rollimgs.reverse li.nextroll{
    transition: left .5s ease-in-out, right .5s ease-in-out;
}

#rolling_box {
    position: relative;
    width: 100%;
    height: auto;
    z-index: -100;
}

#rolling_box img {
    width: 100%;
    height: 100%;
    min-width: 800px;
    min-height: 290px;
    opacity: 0;
}



/* 롤링 이미지 미디어쿼리 */
@media (min-width: 320px) and (max-width: 539px) {
    
    .rollimgs li img{
        min-width: 320px;
        min-height: 116px;
    }

    #rolling_box img {
        min-width: 320px;
        min-height: 116px;
    }



}





.main_contents_wrap {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    padding: 50px 0;
}


/* 컨텐츠 박스 공통 */
#main_box_2,
#main_box_3,
#main_box_4,
#main_box_5 {
    width: 100%;
    height: 100%;
    padding: 20px 0 30px;
}

.main_contents_wrap .box_title_wrap {
    width: 560px;
    margin-bottom: 15px;
}

.main_contents_wrap .more {
    font-size: 11px;
    letter-spacing: 0;
    background-color: var(--main--color);

    padding: 0 8px;
    border-radius: 10px;
}

.main_contents_wrap .more a {
    display: block;
    color: #fff;
}

.main_contents_wrap .more a:hover {
    color: #000;
}

#main_body_wrap .main_contents_wrap .box_contents_wrap {
    width: 100%;
    height: 100%;

    align-items: flex-start;
}

.box_contents_wrap .box_img_wrap {
    width: 560px;
    height: auto;
    margin-bottom: 20px;
}

.box_contents_wrap .box_img_wrap iframe,
.box_contents_wrap .box_img_wrap img {
    width: 100%;
    height: 100%;
}

.box_contents_wrap .box_img_wrap iframe {
    min-height: 315px;
}

.box_contents_wrap .box_txt_wrap {
    width: 600px;
    margin-bottom: 20px;
}

.main_contents_wrap h4 {
    font-size: 18px;
    letter-spacing: -1px;

    margin-bottom: 35px;
    padding-bottom: 10px;
    border-bottom: solid 1px var(--main--color);
}

.main_contents_wrap h3 {
    font-size: 21px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.main_contents_wrap p,
.main_contents_wrap span {
    font-size: 15px;
    line-height: 27px;
    letter-spacing: -1px;
}





#main_box_2 {
    background-color: #4dd0e2;
}

#main_box_3 {
    background-color: #4cb6ac;
}

#main_box_3 .main_contents_wrap .box_title_wrap {

}

#main_box_4 {
    background-color: #80c783;
}

#main_box_5{
    background-color: #aed582;
}





/* 컨텐츠 박스 미디어쿼리 */
@media (max-width: 800px) {

    .main_contents_wrap .box_title_wrap {
        width: 100%;
    }

    .main_contents_wrap h4 {
        margin-bottom: 15px;
    }
    
    .box_contents_wrap .box_img_wrap iframe {
        min-height: 200px;
    }

}








/*후원하기*/

#main_box_6 {
    width: 100%;
    height: 100%;
    background-color: #dde776;
    text-align: center;

    /*padding-top: 55px;*/
    padding: 60px 0;
}


#main_box_6 span {
    display: block;
    margin-bottom: 50px;
}


#main_box_6 .btn_support {
    display: block;
    width: 400px;
    height: 100%;
    background-color: #37404c;

    font-size: 16px;
    font-weight: 400;
    color: #fff;
    border-radius: 25px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 12%);

    padding: 15px 0 20px;
    margin: 0 auto;
}

#main_box_6 .btn_support:hover {
    color: var(--main--color);
}


/* 후원하기 미디어쿼리 */
@media (min-width: 320px) and (max-width: 539px) {

    #main_box_6 .btn_support {
        width: 70%;
    }




}

