.MC_wrap1 { position: relative; padding-top: 3.5rem;}
.MC_wrap1::before { position: absolute; top: 0; left: 0; width: 100%; height: 22.4rem; background: #e3f3ff; border-radius: 0 0 5rem 5rem; content: ""; }

.con_wrap { position: relative; width: 100%; height: 13.7rem; float: left; margin-top: 2.8rem; }
.con_wrap2 { position: absolute; top: 0; right: 0; width: calc(100% - 26.4rem); height: 27.25rem; }

.MC_box1 { position: relative; width: 23.4rem; height: 27.25rem; float: left; } /* 메인비주얼 */
.MC_box2 { position: relative; width: 48%; height: 13.7rem; float: left; } /* 게시판 */
.MC_box3 { position: relative; width: 48%; height: 13.7rem; float: right; } /* 게시판2 */
.MC_box4 { position: relative; width: 17.5rem; height: 16rem; float: left; } /* 바로가기 */
.MC_box5 { position: relative; width: calc(100% - 17.5rem); height: 16rem; float: right; } /* 갤러리 */
.MC_box6 { position: relative; width: 17.5rem; height: 11.3rem; float: left; } /* 팝업존 */
.MC_box7 { position: relative; width: calc(100% - 17.5rem); height: 11.3rem; float: right; } /* 캘린더 */
.MC_box8 {position: relative;width: 100%;/* height: 3.9rem; */margin: 3rem 0;} /* 식단 */ /* 230518 */

@media (max-width:1400px){
    .con_wrap2 { width: calc(100% - 24.4rem); }

    .MC_box4 { width: 15.5rem; } /* 바로가기 */
    .MC_box5 { width: calc(100% - 15.5rem); } /* 갤러리 */
    .MC_box6 { width: 15.5rem; } /* 팝업존 */
    .MC_box7 { width: calc(100% - 15.5rem); } /* 캘린더 */
}


@media (max-width:1100px){
    .con_wrap2 { width: calc(100% - 21.4rem); }

    .MC_box1 { width: 20.4rem; margin-top: 2rem; } /* 메인비주얼 */
    .MC_box4 { width: 13rem; } /* 바로가기 */
    .MC_box5 { width: calc(100% - 13rem); } /* 갤러리 */
    .MC_box6 { width: 13rem; } /* 팝업존 */
    .MC_box7 { width: calc(100% - 13rem); } /* 캘린더 */
}

@media (max-width:940px){

    .MC_wrap1 { padding-top: 0; }
    .MC_wrap1::before { display: none; }

    .con_wrap { margin-top: 1.5rem; margin-bottom: 1.5rem; }
    .con_wrap2 { position: relative; top: auto; right: auto; width: 100%; height: auto; }

    .MC_box1 { width: 100%; height: auto; margin-top: 0; padding: 1rem 0;} /* 메인비주얼 */
    .MC_box1::before { position: absolute; top: 0; left: -1rem; width: calc(100% + 2rem); height: 100%; background: #e3f3ff; content: ""; }
    .MC_box4 { width: 17.5rem; } /* 바로가기 */
    .MC_box5 { width: calc(100% - 17.5rem); } /* 갤러리 */
    .MC_box6 { width: 17.5rem; } /* 팝업존 */
    .MC_box7 { width: calc(100% - 17.5rem); } /* 캘린더 */
    .MC_box8 { margin: 1.5rem 0; } /* 식단 */
}

@media (max-width:768px){
    .con_wrap { height: auto; }

    .MC_box2 { width: 100%; height: auto; } /* 게시판 */
    .MC_box3 { width: 100%; height: auto; margin-top: 1.5rem; } /* 게시판2 */
    .MC_box8 { height: auto; } /* 식단 */
}

@media (max-width:600px){
    .MC_box4 { width: 100%; height: auto; } /* 바로가기 */
    .MC_box5 { width: 100%; height: auto; margin-top: 1.5rem; } /* 갤러리 */
    .MC_box6 { width: 100%; height: auto; margin-top: 1.5rem; } /* 팝업존 */
    .MC_box7 { width: 100%; height: auto; margin-top: 1.5rem; } /* 캘린더 */
}

