.MC_wrap2 { margin: 2rem 0 2.5rem; }
.MC_wrap4 { position: relative; padding: 1.5rem 0; margin-top: 2rem; }
.MC_wrap4::before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/images/template/40179/main/0024_ptrn.png'); content: ""; }

.MC_box1 { position: relative; width: 100%; height: 19.6rem; } /* 메인비주얼 */
.MC_box2 { position: relative; width: calc((100% - 21rem) / 2); height: 12.15rem; float: left; } /* 게시판 */
.MC_box3 { position: relative; width: calc((100% - 21rem) / 2); height: 12.15rem; float: left; margin-left: 2.5rem; } /* 게시판2 */
.MC_box4 { position: relative; width: 15rem; height: 12.15rem; float: right; } /* 바로가기1 */
.MC_box5 { position: relative; width: 17.5rem; height: 13.5rem; float: left; } /* 팝업존 */
.MC_box6 { position: relative; width: calc(100% - 38.5rem); height: 13.2rem; float: left; margin-left: 2.5rem; } /* 캘린더 */
.MC_box7 { position: relative; width: 15rem; height: 13.2rem; float: right;} /* 식단 */
.MC_box7::before { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); width: calc(100% + 2.4rem); height: 5.15rem; background: #d9e8f7; z-index: -1; content: ""; }
.MC_box8 { position: relative; width: 100%; height: 16.25rem; } /* 갤러리 */

@media (max-width:1340px){
    .MC_box1 { width: calc(100% + 2rem); height: auto; margin-left: -1rem; } /* 메인비주얼 */
}

@media (max-width:1240px){

    .MC_box2 { width: 48%; } /* 게시판 */
    .MC_box3 { width: 48%; float: right; margin-left: 0; } /* 게시판2 */
    .MC_box4 { width: 48%; height: 13.5rem; float: left; margin-top: 1.5rem; } /* 바로가기1 */
    .MC_box5 { position: absolute; top: -16rem; right: 0; width: 48%; } /* 팝업존 */
    .MC_box6 { width: calc(100% - 17.5rem); margin-left: 0; } /* 캘린더 */
}

@media (max-width:768px){
    .MC_wrap2 { margin: 2rem 0; }

    .MC_box2 { width: 100%; height: auto; } /* 게시판 */
    .MC_box3 { width: 100%; height: auto; margin-top: 1.5rem; } /* 게시판2 */
    .MC_box4 { width: 100%; height: auto; } /* 바로가기1 */
    .MC_box5 { position: relative; top: auto; right: auto; width: 100%; height: auto; } /* 팝업존 */
    .MC_box6 { width: 100%; height: auto; margin-top: 1.5rem; } /* 캘린더 */
    .MC_box7 { width: 100%; height: auto; margin-top: 1.5rem; } /* 식단 */
}

