/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%; }
#container .container::after{content: none;}
/* #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_wrap2{display: flex; margin-bottom: 3rem; flex-wrap: wrap;} 
.MC_wrap3{display: flex; padding: 2rem 0 1rem; flex-wrap: wrap;}
.MC_wrap3::before{content: ""; width: 100vw; height: 18.75rem; position: absolute; top: 0; left: 50%; transform: translateX(-50%); background-color: #111; z-index: -1; background: url('/images/web/kbsesc/main/bg_MC_wrap3_01.png');}
#container .MC_wrap3::after{content: ""; width: 120%; height: 15rem; position: absolute; bottom: 0; left: -50%; margin-left: -6rem; background:  url('/images/web/kbsesc/main/bg_MC_wrap3_02.png') no-repeat top 1rem right 37rem, linear-gradient(to right, #bacce7, #d7e4f7 );   z-index: -1; border-radius: 0 10rem 0 0;}

.MC_box1{position: relative; height: 24rem; }
.MC_box2{position: relative; height: 21.5rem; padding-bottom: 2.25rem;}
.MC_box2::before {content: ""; width:100vw; position: absolute; top: 0; height: 100% ; background-color: #f8f9fd; left: calc(50% - 50vw); z-index: -1;}
.MC_box2::after {content: ""; width:100vw; position: absolute; top: 0; height: 100% ; background-color: #e5ecf6; right: 43rem; z-index: -1;}
.MC_box3 { position: relative; margin: 2.75rem auto 2.5rem;}
.MC_box4 { position: relative; width: 19rem; margin-right: auto; height: 21.5rem;} /* 팝업존 */
.MC_box5 { position: relative; width: 19rem; margin-right: auto; height: 21.5rem;}
.MC_box6 { position: relative; width: calc(100% - 43rem); height: 21.5rem;}
.MC_box7 { position: relative; width: 34.5rem; margin-right: auto; height: 27.5rem;}
.MC_box8 { position: relative; width: calc(100% - 36.5rem); }


@media (max-width: 1440px) {
    .MC_wrap3{ padding: 2rem 1rem 1rem;}
}

@media (max-width: 1340px) {
    .MC_box2::after { width: 50%; right: auto; left: -1rem; }
    #container .MC_wrap3::after { width: 80%; left: 0; margin-left: 0;}

    .MC_box5 { width: 18rem; }
    .MC_box6 { position: relative; width: calc(100% - 40rem); height: 21.5rem;}
}

@media (max-width: 1280px) {
    .MC_box1{ position: relative; height: 19rem; }
    .MC_box5 { width: calc(100% - 21rem); margin-right: 0;}
    .MC_box6 { width: 100%; height: 15rem; margin-top: 2rem;}

}

@media (max-width: 1140px) {
    .MC_box7 { width: calc(100% - 18.5rem);}
    .MC_box8 { width: 17rem;}
}

@media (max-width: 1024px) {
    #container .MC_wrap3::after{background:  url('/images/web/kbsesc/main/bg_MC_wrap3_02.png') no-repeat top 1rem right 26rem, linear-gradient(to right, #bacce7, #d7e4f7 );}

    .MC_box1{ height: 14.75rem; }
    .MC_box7 { width: calc(100% - 16.75rem); height: auto;}
    .MC_box8 { width: 15rem;}
}

@media (max-width: 940px) {
    .MC_box1{height: auto; margin-bottom: 2rem;}

    .MC_box2 { height: auto; padding: 2rem 1rem 2rem 0; }
    .MC_box2::before { content: none; }
    .MC_box2::after { width: calc(100% + 1rem); right: auto; left: -1rem;  border-radius: 0 3rem 0 0;}

}
@media (max-width: 820px) {
    .MC_box4 {width: 100%;} /* 팝업존 */
    .MC_box5 {width: 100%;}
    .MC_box6 { height: auto; }
}

@media (max-width: 768px) {
    
    .MC_wrap3::before{content: ""; width: 100vw; height: 100%;}

    .MC_box3 { margin: 1.5rem auto 1.5rem;}
    .MC_box4 {width: 100%; height: auto;} /* 팝업존 */
    .MC_box5 { height: auto; margin-top: 1.5rem;}
    .MC_box7 { width: 100%; height: 23rem; margin-bottom: 2.5rem;}
    .MC_box8 { width: 100%;}
}

@media (max-width: 540px) {
    .MC_wrap3 { padding: 1.5rem 1rem; }

    .MC_box3 { margin: 1rem auto 1.5rem;}
    .MC_box7 { margin-bottom: 1rem; }
}

@media (max-width: 420px) {
    .MC_box4 {height: auto; margin-bottom: 1.5rem;} 
}