/* 메인 컨테이너 */
#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; padding: 2rem 0 2.5rem;}
.MC_wrap1::before {content: ''; position: absolute; left: 0; top: 6.35rem; width: 100%; height: 12.75rem; background: url(/images/web/gbemc/main/wrap1_bg1.png) no-repeat top center / cover; z-index: -1;}
.MC_wrap1::after {content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: calc(100% - 18.25rem); background: #F5F7F8; z-index: -1;}
.MC_wrap2 { position:relative;  padding: 2.5rem 0 4rem;}
.MC_wrap3 { position:relative;}

.MC_wrap2 .container {display: flex; justify-content: space-between;}
.MC_wrap2 .container::after {display: none;}
.MC_wrap3 .container {padding-top: 2.5rem; padding-bottom: 3rem;}
.MC_wrap3 .container::before {content: ''; position: absolute; top: 0; left: -5rem; right: -5rem; width: auto; height: 100%; border-radius: 2.5rem 2.5rem 0 0; background: #FFD052 url(/images/web/gbemc/main/wrap3_bg1.png) no-repeat top center / cover;}

.MC_box1 { position:relative; width:100%; height:25rem; } /* 메인비주얼 */
.MC_box2 { position:relative; width: 100%; margin-top: 3rem; } /* 바로가기1 */
.MC_box3 { position:relative; width: 45%; } /* 게시판 */
.MC_box4 { position:relative; width: 51.5%; } /* 보도/홍보자료 */
.MC_box5 { position:relative; width: 100%;} /*  갤러리 */

@media (max-width: 1640px) {
    
}

@media (max-width: 1540px) {
}

@media (max-width: 1240px) {
    .MC_wrap1 { padding-bottom: 2rem;}
    .MC_wrap1::before {top: 7.25rem; height: 6.5rem;}
    .MC_wrap1::after {height: calc(100% - 13rem);}
    .MC_wrap2 { padding: 2rem 0 2.5rem;}
    
    .MC_box1 { height: auto; } /* 메인비주얼 */
    .MC_box2 { margin-top: 2rem; } /* 바로가기1 */    
}

@media (max-width: 1024px) {

    #container{ padding-top: 3.8rem;}
    .openPop #container {padding-top: 13.5rem !important;}

    .MC_wrap1 { padding: 1rem 0 1.5rem;}
    .MC_wrap1::before {top: 5.25rem; height: 6rem;}
    .MC_wrap1::after {height: calc(100% - 11rem);}
    .MC_wrap2 { padding: 2rem 0;}

    .MC_wrap3 .container {padding-top: 2rem; padding-bottom: 2rem;}

    .MC_box2 { margin-top: 1.5rem; } /* 바로가기1 */
    .MC_box3 { position:relative; width: 45.5%; } /* 게시판 */
    .MC_box4 { position:relative; width: 52%; } /* 보도/홍보자료 */
}

@media (max-width: 950px) {
    .MC_wrap3 { padding: 0;}

    .MC_wrap2 .container {flex-direction: column;}

    .MC_box1 { width:100%; height:auto; } /* 메인비주얼 */  
    .MC_box3 { width:100%; } /* 게시판 */
    .MC_box4 { width: 100%; margin-top: 2rem; } /* 보도/홍보자료 */
}

@media (max-width: 850px) {
    .MC_wrap2 .container {flex-direction: column;}
    .MC_wrap4 { padding-bottom: 1.5rem; margin-top: 2rem;}

    .MC_box4 { width:100%; } /* 소식 */
}

@media (max-width: 768px) {
    #container{ padding-top: 2rem;}
    .openPop #container {padding-top: 10rem !important;}
}

@media (max-width: 680px) {
    .MC_wrap1::before {top: 4rem; height: 5rem;}
    .MC_wrap1::after {height: calc(100% - 8.75rem);}

    .MC_box2 { margin-top: 1rem; } /* 바로가기1 */
}

@media (max-width: 580px) { 
    .MC_wrap1::before {top: 3rem; height: 4rem;}
    .MC_wrap1::after {height: calc(100% - 6.75rem);}
    .MC_wrap2 { padding: 1.5rem 0 1.5rem;}

    .MC_wrap3 .container {padding-top: 1.5rem; padding-bottom: 1.5rem;}

    .MC_box4 {margin-top: 1.5rem;}
}

@media (max-width: 480px) {
    .openPop #container {padding-top: 8.5rem !important;}
}

@media (max-width: 440px) {
    
    
}

@media (max-width: 380px) {
    .MC_wrap1::before {top: 2rem; height: 3rem;}
    .MC_wrap1::after {height: calc(100% - 4.75rem);}
}

@media (max-width: 340px) {
    .openPop #container {padding-top: 10rem !important;}    
}