﻿
/*-----------------------------------------------------------
Author : yejin, Son
Creative date :2022. 05. 17
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#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_wrap2 { position: relative; margin-top: 3.2rem; }
.MC_wrap2 .container { padding-bottom: 3.15rem; }
.MC_wrap2 .container::before { position: absolute; width: 200vw; height: calc(100% - 5.6rem); left: -4.25rem; bottom: 0; background: url('/images/schl/template/T0074/main/0074_ptrn01.png'); border-radius: 2rem 0 0 2rem; z-index: -1; content: ""; }
.MC_wrap3 { position: relative; margin-top: 1.85rem; }
.MC_wrap3::before { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); background: #fef8eb; border-radius: 3rem 3rem 0 0; width: 68.5rem; height: 14.05rem; content: ""; } 
.MC_wrap3 .container { padding-bottom: 3.7rem; }
.MC_wrap3 .container::before { position: absolute; width: 12.35rem; height: 10.8rem; left: -18rem; bottom: 0; background: url('/images/schl/template/T0074/main/0074_con_bg01.png'); z-index: -1; content: ""; }

.MC_box1 { position: absolute; top: 0; left: -18.5rem; width: 59.45rem; height:28.6rem; } /* 메인비주얼 */
.MC_box2 { position:relative; width: calc(100% - 44rem); height: 26.6rem; float:right; margin-top: 2.15rem; } /* 바로가기 */
.MC_box3 { position: relative; width: 48%; height: 16.6rem; float: left; } /* 게시판1 */
.MC_box4 { position: relative; width: 48%; height: 16.6rem; float: right; } /* 게시판2 */
.MC_box5 { position: relative; width: 32%; height: 13.85rem; float: left; } /* 식단 */
.MC_box6 { position: relative; width: 34%; height: 13.85rem; margin-left: 3%; float: left; } /* 캘린더 */
.MC_box7 { position: relative; width: 29%; height: 13.85rem; float: right; } /* 팝업존 */
.MC_box8 { position: relative; width: 100%; height: 15.2rem; float: left; margin-top: 1.85rem; } /* 갤러리 */

@media (max-width:1240px){
    .MC_wrap1 .container { padding: 0; }

    .MC_wrap2 { margin-top: 2rem; }

    .MC_box1 { position: relative; width: 100%; height: auto; left: auto; } /* 메인비주얼 */
    .MC_box2 { width: 100%; height: auto; padding: 0 1rem; } /* 바로가기 */
}

@media (max-width:1100px){
    .MC_wrap3 .container { padding-bottom: 2rem; }

    .MC_box5 { width: 48%; } /* 식단 */
    .MC_box6 { width: 48%; float: right; margin-left: 0; } /* 캘린더 */
    .MC_box7 { width: 35%; float: left; margin-top: 1.85rem; } /* 팝업존 */
    .MC_box8 { width: 60%; float: right; } /* 갤러리 */

}

@media (max-width:940px){
    .MC_box3 { width: 100%; height: auto; } /* 게시판1 */
    .MC_box4 { width: 100%; height: auto; margin-top: 1.85rem; } /* 게시판2 */
}

@media (max-width:700px){
    .MC_wrap2 .container { padding-bottom: 2rem; }

    .MC_box5 { width: 100%; height: auto; } /* 식단 */
    .MC_box6 { width: 100%; height: auto; margin-top: 1.85rem; } /* 캘린더 */
    .MC_box7 { width: 100%; height: auto; } /* 팝업존 */
    .MC_box8 { width: 100%; height: auto; } /* 갤러리 */
}

@media (max-width:480px){
    .MC_wrap2 { margin-top: 1.2rem; }
    .MC_wrap2 .container { padding-bottom: 1.2rem; }
    .MC_wrap3 { margin-top: 1.2rem; }
    .MC_wrap3::before { height: 10rem; }
    .MC_wrap3 .container { padding-bottom: 1.5rem; }

    .MC_box2 { margin-top: 1.2rem; padding: 0 0.5rem; } /* 바로가기 */
    .MC_box4 { margin-top: 1.2em; } /* 게시판2 */
    .MC_box6 { margin-top: 1.5em; } /* 캘린더 */

}
