/* 메인 컨테이너 */
#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; }

.container { position: relative; max-width: 80rem; margin: 0 auto; }
.container::after { display: block; clear: both; content: ""; }

.MC_wrap1 { position: relative; }
.MC_wrap1 .container { padding-bottom: 4rem; }
.MC_wrap1 .container::before { position: absolute; top: 0; right: 0; width: 100vw; height: 100%; background: linear-gradient(#fff, #fff, #e1f1ff); border-radius: 0 0 10rem 0; content: ""; z-index: -1; }
.MC_wrap2 { margin: 3.5rem 0; }
.MC_wrap2 .container { padding-bottom: 4rem; }
.MC_wrap2 .container::before { position: absolute; bottom: 0; right: 0; width: 100vw; height: calc(100% - 6.5rem); background: #f5f5f5; opacity: 0.8; border-radius: 0 0 10rem 0; content: ""; z-index: -2; }
.MC_wrap4 { position: relative; padding: 3.5rem 0 5.5rem; overflow: hidden; }
.MC_wrap4::before { position: absolute; bottom: -1.35rem; left: 50%; transform: translateX(-50%); width: 98.35rem; height: 6.45rem; background: url('/common/images/template/A8/main/wrap4_deco.png') no-repeat center / contain; content: ""; }

.MC_box1 { position: relative; width: 104rem; height: 37.2rem; } /* 메인비주얼 */
.MC_box2 { position: absolute; bottom: 2.6rem; left: 0; } /* 퀵링크 */
.MC_box3 { position: relative; width: 60%; float: left; } /* 공지사항 */
.MC_box4 { position: relative; width: 35.5%; float: right; } /* 식단 */
.MC_box5 { position: relative; padding: 1.9rem 2rem 3.5rem; } /* 생활관 */
.MC_box5::before { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: calc(100% + 3rem); height: 100%; border-radius: 2.5rem; background: url('/common/images/template/A8/main/lvngHall_bg.png') no-repeat top right, url('/common/images/template/A8/main/lvngHall_ptrn.png'); z-index: -3; content: ""; }
.MC_box6 { position: relative; width: 55%; float: left; } /* 바로가기 */
.MC_box7 { position: relative; width: 42%; float: right; } /* 연락처 */

@media (max-width:1700px){

    .MC_box5::before { width: 100%; }
}

@media (max-width:1640px){
    .container { padding: 0 1rem; max-width: 100%; }

    .MC_wrap1 .container { padding-bottom: 2rem; }
    .MC_wrap1 .container::before { border-radius: 0; }
    .MC_wrap2 .container::before { border-radius: 0; }

    .MC_box1 { width: calc(100% + 1rem); height: auto; } /* 메인비주얼 */
    .MC_box2 { position: relative; bottom: auto; left: auto; margin-top: -6.5rem; } /* 퀵링크 */
}

@media (max-width:1480px){

    .MC_box3 { width: 54%; } /* 공지사항 */
    .MC_box4 { width: 44%; } /* 식단 */
    .MC_box6 { width: 42%; } /* 바로가기 */
    .MC_box7 { width: 56%; } /* 연락처 */
}

@media (max-width:1280px){

    .MC_box6 { width: 30%; } /* 바로가기 */
    .MC_box7 { width: 68%; } /* 연락처 */

}

@media (max-width:1040px){

    .MC_wrap1 .container { padding-bottom: 0.8rem; }
    .MC_wrap2 { margin: 1.5rem 0; }
    .MC_wrap2 .container { padding-bottom: 1.5rem; }
    .MC_wrap4 { padding: 1.5rem 0; }
    .MC_wrap4::before { display: none; }

    .MC_box2 { margin-top: -2.5rem; } /* 퀵링크 */
    .MC_box5 { padding: 1.5rem; } /* 생활관 */
    .MC_box5::before { border-radius: 1.5rem; }
    .MC_box6 { width: 40%; } /* 바로가기 */
    .MC_box7 { width: 58%; } /* 연락처 */

}

@media (max-width:980px){

    .MC_box3 { width: 100%; } /* 공지사항 */
    .MC_box4 { width: 100%; margin-top: 1.5rem; } /* 식단 */
}

@media (max-width:768px){
    .MC_box2 { margin-top: 2.5rem; } /* 퀵링크 */
    .MC_box6 { width: 100%; } /* 바로가기 */
    .MC_box7 { width: 100%; margin-top: 1.5rem; } /* 연락처 */
}

@media (max-width:640px){

    .MC_box2 { margin-top: 1.5rem; } /* 퀵링크 */
}