﻿/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%; }

.MC_wrap1{position: relative; padding-top: 2rem; }
.MC_wrap1:before{position: absolute; content: ''; width: 100%; height: 16.5rem; top: 0; left: 0; background: url(/images/schl/template/T0094/main/0094_wrap1_bg.png) center top; border-radius: 0 0 9rem 9rem; z-index: -1;}
.MC_wrap2 { position: relative; padding: 2rem 0 1.5rem; margin-bottom: 3rem;}
.MC_wrap2 .container { position: relative;}
.MC_wrap2 .container::before { position: absolute; content: ""; background: url(/images/schl/template/T0094/main/wrap2_before.png) no-repeat center center; width: 7.1rem; height: 7.1rem; left: -15.3rem; top: -4rem; }
.MC_wrap2 .container::after { position: absolute; content: ""; background: url(/images/schl/template/T0094/main/wrap2_after.png) no-repeat center center; width: 8.75rem; height: 14.15rem; right: -13.6rem; bottom: -7.5rem; z-index: 1;}
.MC_wrap3 {position: relative;}
.MC_wrap3 .container {position: relative;}
.MC_wrap3 .container::before {position: absolute; content: ""; background: #eef8ff; width: calc(100% + 16.6rem); height: calc(100% + 5.6rem); top: -2.8rem; left: -8.3rem; border-radius: 5rem; }

[class^="MC_box"]:after { content:""; display:block; clear:both; }
.MC_box1 { position:relative; width:100%; height:24.25rem; } /* 메인비주얼 */
.MC_box2 { position:relative; width:100%; height: 17rem; margin-bottom: 2rem;} /* 게시판 */
.MC_box3 { position:relative; width:100%; height: 5rem; } /* 바로가기 */
.MC_box4 { position: relative; width: 100%; height: 15.75rem; margin-bottom: 4.5rem; } /* 갤러리 */
.MC_box5 { position: relative; width:17.5rem; height: 13.4rem; float: left; } /* 팝업존 */
.MC_box6 { position: relative; width:calc(100% - 20.4rem); height: 13.4rem; float: right; } /* 행사일정 */
.MC_box7 { position:relative; width:100%; height:4.5rem; margin: 4.5rem 0 1.7rem 0; } /* 식단 */

@media (max-width: 1240px) {
    .MC_wrap1 { padding-top: 0; }
    .MC_wrap1:before { display: none; }
    .MC_wrap2 { margin-bottom: 2.5rem; }
    .MC_wrap2 .container::before,
    .MC_wrap2 .container::after { display: none; }
    .MC_wrap3 .container::before { width: 100%; left: 0; border-radius: 3rem; top: -2.25rem; height: calc(100% + 4.95rem); }

    .MC_box6 { width: calc(100% - 19.5rem); }
}

@media (max-width: 1024px) {
    .MC_box1 { height: auto; }
}

@media (max-width: 900px) {
    .MC_box4 { margin-bottom: 3.5rem; }
    .MC_box5 { width: 100%; height: auto; }
    .MC_box6 { width: 100%; height: auto; margin-top: 3rem; }
}

@media (max-width: 768px) {
    .MC_wrap3 .container::before { border-radius: 1.5rem; }

    .MC_box3 { height: auto; }
}

@media (max-width: 680px) {
    .MC_box2 { height: auto; }
    .MC_box7 { height: auto; }
}

@media (max-width: 480px) {
    .MC_wrap2  {margin-bottom: 1.5rem; padding-top: 1.5rem; }
    .MC_wrap3 .container::before { top: -1.5rem; height: calc(100% + 4.5rem); border-radius: 0; }

    .MC_box1 { margin-top: 0.55rem; }
    .MC_box2  { margin-bottom: 1.5rem; }
    .MC_box4 { height: auto; margin-bottom: 1.5rem; }
    .MC_box6 { margin-top: 1.5rem; }
    .MC_box7 { margin: 1.5rem 0; }
}

@media (max-width: 380px) {
    .MC_wrap2 { margin-bottom: 1rem; padding: 1rem 0; }
}