﻿/* 메인 컨테이너 */
#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 { position:relative; background: #f2f8ff url('/images/template/T0034/main/m_visual_bg.png') no-repeat center bottom; padding: 2.5rem 0; }
.MC_wrap1 .container:before {position:absolute; top:0; right:0; height:100%; width:50%; background:#008b8b; border-radius:0 2.25rem 2.25rem 0; content:''; }
.MC_wrap2 { position:relative; margin-top:3rem; }
.MC_wrap3 { position:relative; margin-top:3rem; padding-bottom: 4.25rem;}
.MC_wrap3:before {content:""; display:block; background: url('/images/template/T0034/main/0034_con_bg01.png') repeat; width:100%; max-width: 86rem; height: 10rem; border-radius: 5rem 5rem 0 0; position:absolute; bottom:0; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); z-index: -1;}

.MC_box1 { position:relative; width: 62.25%; height: 24.5rem; overflow: hidden; float: left; border-radius: 2.25rem 2.25rem 0 2.25rem; isolation: isolate; box-shadow: 0 0 20px rgb(17 69 157 / 10%);} /* 비주얼 */
.MC_box2 {width: 26.7%; height:19rem; float: right; margin: 2.5rem 3.5rem 0 0;} /* 바로가기 */
.MC_box3 { position:relative; width: 48%; height: 16rem;  float:left; } /* 게시판1 */
.MC_box4 { position:relative; width: 48%; height: 16rem;  float: right; } /* 게시판2 */
.MC_box5 { position:relative; width:17rem;  float:left; height: 28rem; } /* 캘린더 */
.con_wrap {width: 40.5rem; float: right;}
.MC_box6 { position:relative; width:100%;  float: left;} /* 갤러리 */
.MC_box7 { position:relative; width: 46.3%; height: 13.25rem; margin-top: 1rem; float: left; } /* 식단 */
.MC_box8 { position:relative; width: 50%; height: 13.25rem; margin-top: 1rem; float:right;} /* 팝업존 */

@media (max-width:1500px) {
	.MC_wrap1:before {display:none;}
}

@media (max-width:1240px) {
	.MC_wrap1 .container:before {right:1rem;}

	.con_wrap {width: 65%; }
	.MC_box5 { width:32%; }  /* 캘린더 */
}

@media (max-width:1200px) {
	#container:before {display:none;}
	#container:after {display:none;}

	.MC_wrap1:after { display:none;}
	.MC_wrap3 { padding-bottom: 2.75rem;}
	.MC_wrap3:before {height: 10rem; border-radius: 0;}
}

@media (max-width:1150px) {
	.MC_box1 { width: 65%; } /* 비주얼 */
	.MC_box2 { width: 31%; margin-right:1rem; } /* 바로가기 */
}
@media (max-width:1080px) {
	.MC_box1 { width: 67%; } /* 비주얼 */
	.MC_box2 { width: 29%; } /* 바로가기 */
}

@media (max-width:1024px) {
	#container { padding-top:3rem; }
}

@media (max-width:980px) {
	.MC_wrap1 { padding: 1.5rem 0; }
	.MC_wrap1 .container {padding: 0 1rem;}
	.MC_wrap1 .container:before { top:auto; bottom:0; left:1rem; right:1rem; width:auto; height:80%; border-radius: 0 0 0 3rem; }
	.MC_wrap2 { margin-top:1.5rem;}
	.MC_wrap3 { margin-top:1.5rem; padding-bottom: 2rem;}
    .MC_box1 { width: 100%; height: 20rem; float:none; margin: 0 auto; background: #eee;}  /* 비주얼 */
	.MC_box2 { width:100%; margin: 0; height: auto; padding: 1rem 0; margin-top: 1.5rem; position:relative; top:auto; border-radius: 1rem; overflow: hidden; padding: 0 1.5rem 2rem;}  /* 바로가기 */
    .MC_box5 { width: 100%; height: auto; float: left;}  /* 캘린더 */
    .con_wrap {width: 100%; height:auto; margin-top:1.5rem;}

}
@media (max-width:900px) {
	.MC_wrap1 { height:auto;  }

}
@media (max-width:830px) {
	.MC_box3 { width:100%; height: auto; padding-right:0; float:none;} /* 게시판1 */
	.MC_box4 { width:100%; height: auto; padding-left:0; float:none; margin-top: 2rem;} /* 게시판2 */
}

@media (max-width:680px) {
	.MC_wrap3 { margin-top:1.7rem;}
	.MC_wrap3:before {display: none;}
	.MC_box5 { height: auto; }  /* 캘린더 */
	.MC_box6 { float: none;} /* 갤러리 */
	.MC_box7 { width: 100%; height: auto; float: none; margin-top: 0.5rem;} /* 식단 */
	.MC_box8 { width: 100%; height: auto; max-height:15rem; float:none; margin-top:1rem;} /* 팝업존 */
}

@media (max-width:545px){
	.MC_box1 { width:auto; height:auto;}  /* 비주얼 */
	.MC_box5 { width:100%; height: auto;}  /* 캘린더 */
}

@media (max-width:480px){
	.MC_box1 { border-radius: 2rem 2rem 0 2rem; } /* 비주얼 */
	.MC_box2 { margin-top: 1rem; padding: 0 1rem 1.5rem;}  /* 바로가기 */
	.MC_box4 { margin-top: 1.5rem;} /* 게시판2 */
}
