﻿/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%; }

.container {max-width: 60rem;}

.MC_wrap1 {position: relative;}
.MC_wrap2 {margin-top: -3.5rem;}
.MC_wrap2::after {clear: both; display: block; content: "";}
.MC_wrap3 {position: relative;}
.MC_wrap3 .container {position: relative; padding-top: 1.5rem; padding-bottom:2rem;}
.MC_wrap3 .container::before {position: absolute; top: 0; left: -5rem; right:-5rem; width: auto; height: 100%; background: #e6eff8; border-radius: 5rem 5rem 0 0; content: ''; z-index: -2;}

.MC_box1 {position: relative; width: 100%; height: 26.25rem;} /* 메인비주얼 */
.MC_box2 {position: relative; float: left; margin-bottom: 2rem; width: 37rem; height: 16.5rem;} /* 게시판 */
.MC_box3 {position: relative; float: right; margin-bottom: 2rem; width: 20.5rem; height: 16.5rem;} /* 오늘의식단 */
.MC_box4 {position: relative; float: left; margin-bottom: 2rem; width: 37rem; height: 17rem;} /* 바로가기 */
.MC_box5 {position: relative; float: right; margin-bottom: 2rem; width: 20.5rem; height: 17rem;} /* 팝업존 */
.MC_box6 {position: relative; width: 100%; height: 16.65rem;} /* 갤러리 */
.MC_box7 {position: relative; margin-top: 2rem; width: 100%; height: 11.25rem;} /* 캘린더 */

@media (max-width: 1680px) {
	.MC_wrap3::before {right: 1rem; margin-right: 0;}
}

@media (max-width: 1240px) {

	.MC_box1 {height: auto;} /* 메인비주얼 */
	.MC_box2 {width: calc(100% - 22rem);} /* 게시판 */
	.MC_box4 {width: calc(100% - 22rem);} /* 바로가기 */
}

@media (max-width: 1024px) {
	.MC_box2 {width: calc(100% - 19.75rem);} /* 게시판 */
	.MC_box3 {width: 18.25rem;} /* 오늘의식단 */
	.MC_box4 {width: calc(100% - 19.75rem); height: 15.25rem;} /* 바로가기 */
	.MC_box5 {width: 18.25rem; height: 15.25rem;} /* 팝업존 */  
}

@media (max-width: 850px) {
	.MC_wrap2 {margin-top: 1rem;}
	.MC_wrap3 .container {padding-top:1rem; padding-bottom:1.5rem;}
	.MC_wrap3::before {border-radius: 2.5rem 2.5rem 0 0;}

	.MC_box2 {margin-bottom: 1rem; width: 100%; height: auto;} /* 게시판 */
	.MC_box3 {margin-bottom: 1rem; width: 100%; height: auto;} /* 오늘의식단 */
	.MC_box4 {margin-bottom: 0; width: 100%; height: auto;} /* 바로가기 */
	.MC_box5 {margin-bottom: 1rem; width: 100%; height: auto;} /* 팝업존 */
	.MC_box7 {margin-top: 1rem; height: auto;} /* 캘린더 */
}

@media (max-width: 480px) {
	.MC_box4 {margin-bottom: 1rem;} /* 바로가기 */
	.MC_box6 {height: auto;} /* 갤러리 */
}

@media (max-width: 360px) {
	.MC_box4 {margin-bottom: 0;} /* 바로가기 */
}