﻿
/* 메인 컨테이너 */
#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; height: 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; margin-bottom: 3rem; }
.MC_wrap1::before{ content: ''; display: block; position: absolute; top: 15rem; bottom: 0; left: -5rem; right: -5rem; background: #f7f7ff; border-radius: 0 0 5rem 5rem;}
.MC_wrap2 { position: relative; }
.MC_wrap3 { position: relative; }
.MC_wrap4 { position: relative; padding-bottom:3rem;}
.MC_wrap4::after{content: ''; display: block; position: absolute; right: 2rem; top: -2rem; width: 10rem; height: 10rem; background: url(/images/template/T0027/main/0027_img_bg03.png) no-repeat center top / contain; z-index: -1;}
.MC_wrap4 .container{ position: relative;}
.MC_wrap4 .container::before{ content: ''; display: block; position: absolute;  left: -5rem; right:-5rem; bottom: -3rem; height: 10rem; background: url(/images/template/T0027/main/0027_img_bg04.png) repeat; border-radius: 5rem 5rem 0 0; z-index: -5;}


.container::after{content: ''; display: block; clear: both;}

.MC_box1 { position: relative; width: 100%; height:21.5rem; margin: 2rem 0; } /* 메인비주얼 */
.MC_box1::before{content: ''; display: block; position: absolute; left: -18rem; top: 4rem; width: 15rem; height: 15rem; background: url(/images/template/T0027/main/0027_img_bg01.png) no-repeat center top / contain;}
.MC_box1::after{content: ''; display: block; position: absolute; right: -18rem; top: -2rem; width: 15rem; height: 15rem; background: url(/images/template/T0027/main/0027_img_bg02.png) no-repeat center top / contain;}
.MC_box2 { position: relative; width: 100%; height: 7rem; margin-bottom: 2.5rem;} /* 캘린더 */
.MC_box3 { position: relative; width: calc(100% - 17.5rem); height:13.8rem; float: left;} /* 게시판 */
.MC_box4 { position: relative; width: 17.5rem; height:13.8rem; float: right; } /* 팝업존 */
.MC_box5 { position: relative; width: 100%; height: 13.75rem; padding: 3rem 0; } /* 바로가기1 */
.MC_box6 { position: relative; width: calc(100% - 17.5rem); height:15.75rem; float: left; } /* 갤러리 */
.MC_box7 { position: relative; width: 17.5rem; height: 15.75rem; float: right; } /* 식단 */


@media (max-width:1630px){
}

@media (max-width:1240px){
    .MC_wrap1{margin-bottom: 1.5rem;}
    .MC_wrap4{padding-bottom: 1.5rem;}
    .MC_wrap4::after{display: none;}
    .MC_wrap4 .container::before{bottom: -1.5rem;}

    .MC_box1{margin:1.5rem 0;}/*메인비주얼*/
    .MC_box1::before{display: none;}
    .MC_box1::after{display: none;}
    .MC_box2{margin-bottom: 1.5rem;}/*캘린더*/
    .MC_box5{height: auto; padding: 1.5rem 0;}/*바로가기*/
}


@media (max-width:1024px){
    .MC_wrap1::before{top: 9rem;}

    .MC_box1{width: 100%; height: auto; margin-bottom: 1rem;}/*메인비주얼*/

}


@media (max-width:960px){
    .MC_box1{margin: 1rem 0;}/*메인비주얼*/
    .MC_box2{margin-bottom: 1rem;}/*캘린더*/
}

@media (max-width:786px){
    .MC_box3{width: 100%; height: auto; float: none; margin-bottom: 1rem;}/*게시판*/
    .MC_box4{width: 100%; height: auto; float: none; }/*팝업존*/
    .MC_box6{width: 100%; height: auto; float: none; margin-bottom: 3rem;}/*갤러리*/
    .MC_box7{width: 100%; height: auto; float: none; }/*식단*/
}

@media (max-width:580px){
    .MC_wrap1{padding-bottom: 0.1rem; margin-bottom: 0.5rem;}

    .MC_box2{height:auto}/*캘린더*/

}
@media (max-width:480px){

}
