﻿/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%; }
#container *{ scrollbar-arrow-color: #ddd; scrollbar-Track-Color: #ddd; scrollbar-base-color: #aaa; scrollbar-Face-Color: #aaa; scrollbar-3dLight-Color: #aaa; scrollbar-DarkShadow-Color: #aaa; scrollbar-Highlight-Color: #aaa; scrollbar-Shadow-Color: #aaa;}
#container ::-webkit-scrollbar { width: 5px; }
#container ::-webkit-scrollbar-thumb { background-color: #aaa; border-radius:10px; }
#container ::-webkit-scrollbar-track { background-color: #ddd; border-radius:10px; }

.MC_wrap1 .container { padding: 2.55rem 0; }
.MC_wrap1::before { position: absolute; top: 12.3rem; left:calc( 50% - 46.3rem ); width:284px; height: 279px; background: url('/images/template/T0021/main/visual_bg.png') no-repeat 0 0; content: "";}
.MC_wrap1 .container::before { position: absolute; top: 0; left: 27.5rem; width:150%; height: 71%; background: #d1f1f1; content: ""; border-radius: 0 0 0 2.5rem;}
.MC_wrap2 { position:relative; margin-top: .2rem;}
.MC_wrap2:after { content:''; position:absolute; right:calc( 50% - 43.3rem ); top:10.7rem; width:214px; height: 206px; background: url('/images/template/T0021/main/MC_wrap2_bg.png') no-repeat 0 0; }
.MC_wrap3 .container { padding-bottom: 3.1rem; }
.MC_wrap3 .container::before { position: absolute; width: 200vw; height: 8.5rem; bottom: 0; right: 0; left: -50rem; background: url('/images/template/T0021/main/MC_wrap3_bg.png') repeat 0 0;; border-radius: 4rem 0 0 0;  content: ""; }

[class^="MC_box"]:after { content:""; display:block; clear:both; }
.MC_box1 { position:relative; width: 100%; height:26.5rem; } /* 메인비주얼 */
.MC_box2 { position: relative; width: 71.4%; height: 15rem; float: left; } /* 게시판 */
.MC_box3 { position: relative; width: 26%; height: 15rem; float: right; } /* 캘린더 */
.MC_box4 { position: relative; width: 100%; height: 7.7rem; margin: 2.5rem 0 1.4rem; } /* 바로가기 */
.MC_box5 { position: relative; width: 100%; height: 5rem; margin-bottom: 3rem; } /* 식단 */
.MC_box6 { position: relative; width: 68%; height: 13.5rem; float: left; } /* 갤러리 */
.MC_box7 { position: relative; width: 29%; height: 13.3rem; float: right; } /* 팝업 */

/* responsive */

@media (max-width:1240px){
	.MC_wrap1 .container { padding: 1.5rem 1rem 2.55rem; }

	.MC_box1 { height: auto; } /* 메인비주얼 */
	.MC_box2 { width: 57%; } /* 게시판 */
	.MC_box3 { width: 40%; } /* 캘린더 */
}

@media (max-width:1024px){
	.MC_wrap3 .container { padding-bottom: 2.5rem; }
	.MC_wrap3 .container::before { height: 7.9rem; left:-10rem; }
	
	.MC_box2 { width: 64.5%; } /* 게시판 */
	.MC_box3 { width: 32%; } /* 캘린더 */
	.MC_box4 { width:61%; float:left; margin:2.5rem 0 2.3rem; height:12.4rem; } /* 바로가기 */
	.MC_box5 { width: 36.2%; height:12.4rem; float:right; margin-top:2.3rem; margin-bottom:2rem; } /* 식단 */
	.MC_box6 { width: 61%; } /* 갤러리 */
	.MC_box7 { width: 36.2%; } /* 팝업 */
}

@media (max-width:960px){
	.MC_wrap1 .container { padding:1.5rem 1rem .5rem; }
	.MC_wrap2 { margin-top: 1.5rem; }

	.MC_box4 { height: auto; margin: 1.5rem 0 1rem; } /* 바로가기 */
	.MC_box5 { margin-bottom:1.5rem; } /* 식단 */
	.MC_box6 { width: 60%; } /* 갤러리 */
	.MC_box7 { width: 37%; } /* 팝업 */
	
}

@media (max-width:860px){
	.MC_wrap1 .container { padding:1rem; }
	.MC_wrap1 .container::before {left: auto; right: 0; width: calc(100% - 15rem); }
	
	.MC_box4 { height: auto; margin: 1.5rem 0 1rem; } /* 바로가기 */
	.MC_box5 { height: auto; margin-bottom: 1.5rem; margin-top:2rem; } /* 식단 */
}

@media (max-width:800px){
	.MC_wrap3 .container { padding-bottom: 2.5rem; }

	.MC_box2 { width: 100%; height: auto; } /* 게시판 */
	.MC_box3 { width: 100%; float: left; margin-top: 1rem; } /* 캘린더 */	
	.MC_box4 { margin: 2rem 0 1rem; } /* 바로가기 */
	.MC_box5 { margin-top:2rem; } /* 식단 */
	.MC_box6 { width: 48%; height: auto; margin-top:.3rem; } /* 갤러리 */
	.MC_box7 { width: 48%; } /* 팝업 */
}

@media (max-width:640px){
	.MC_wrap2 { margin-top: 1rem; }
	
	.MC_box3 { width: 100%; height: auto; } /* 캘린더 */
	.MC_box4 { width:100%; margin: 1rem 0 1rem; } /* 바로가기 */
	.MC_box5 { width:100%; margin-top:0; } /* 식단 */
	.MC_box6 { width: 100%; } /* 갤러리 */
	.MC_box7 { position: relative; top: auto; right: auto; width: 100%; height:auto; margin-top: 1.5rem; } /* 팝업 */
}

@media (max-width:500px){
	.MC_wrap1 .container::before { width: calc(100% - 8rem); }
}

@media (max-width:430px){
	.MC_box4 { margin: 1.2rem 0 0; } /* 바로가기 */
	.MC_box5 { margin-bottom:1.2rem; } /* 식단 */
}