/* 메인 컨테이너 */
#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: 82rem; margin: 0 auto; padding: 0 1rem; }

.MC_wrap1 { position:relative; }

.MC_wrap1::before { position:absolute; content: ""; background: url('/common/images/template/M2/main/Wrapbg.png')no-repeat; left: 0; top: 0; width: 80.6rem; height: 38.15rem; }

.MC_wrap2 { position: relative; margin: 4.75rem 0 2.75rem; }  
.MC_wrap2 .container { display: flex; justify-content: space-between; flex-wrap: wrap; }
.MC_wrap3 { position: relative; overflow: hidden; }

.MC_wrap3::before { position: absolute; content: ""; background: url(/common/images/template/M2/main/gallBg03.png)no-repeat; width: 23.95rem; height: 16.5rem; right: 0; top: 0; } 

.MC_wrap3 .container { position: relative; padding: 3rem 1rem 4rem; }
.MC_wrap3 .container .botTxt { display: block; position: absolute; bottom: -0.5rem; right: 1.5rem; font-size: 4rem; font-weight: bold; color: #ffffff; line-height: 1; opacity: 0.5; }
.MC_wrap3 .container::before { position: absolute; content: ""; width: 200vw;  height: 100%; left: -8rem; top: 0; background: #e7eef5  url('/common/images/template/M2/main/gallBg01.png')no-repeat left top; border-radius: 4rem 0 0 0; z-index: -2; }
.MC_wrap3 .container::after { position: absolute; content: ""; background: url('/common/images/template/M2/main/gallBg02.png')no-repeat; width: 62.35rem; height: 17.3rem; bottom: 0; right: -9.5rem; z-index: -1; }

.MC_box1 { position: relative; width: 104rem; height: 37rem; } /* 메인비주얼 */
.MC_box2 { position: relative; width: 40rem; height: 8rem; margin-top: -9.75rem; } /* 바로가기 */
.MC_box3 { position: relative; width: 42.55rem; height: 24rem; } /* 공지사항01 */
.MC_box4 { position: relative; width: calc(100% - 42.55rem); height: 24rem; padding-left: 3.75rem; } /* 공지사항02 */
.MC_box5 { position: relative; width: 100%; height: 20.5rem; } /* 포토갤러리 */

/* 반응형 */

@media screen and (max-width: 1640px) {
    .MC_wrap3::before { display: none; }
    .MC_wrap3 .container .botTxt { font-size: 3rem; }

    .MC_box1 { height: auto; }
    .MC_box3 { width: 49.25%; }
    .MC_box4 { padding-left: 1.5%; width: 49.25%; }   
}

@media screen and (max-width: 1440px) {
    #container { padding-top: 0; }

    .MC_box3 { width: 100%; height: auto; }
    .MC_box4 { width: 100%; padding: 0; margin-top: 2rem; height: auto; }
}

@media screen and (max-width: 1240px) {
    .MC_wrap1::before { height: 25rem; left: -33rem; top: -6rem; }
    .MC_wrap2 { margin: 1.5rem 0 0.5rem; }
    .MC_wrap3 .container { padding: 2rem 1rem 3rem; }
    .MC_wrap3 .container::after { right: -42.25rem; }
    .MC_wrap3 .container .botTxt { font-size: 2.5rem; bottom: -0.25rem; }

    .MC_box1 { width: calc(100% + 1rem); }
    .MC_box2 { width: 100%; margin-top: 2rem; }
    .MC_box5 { height: auto; }
}

@media screen and (max-width: 1024px) {
    .MC_wrap3 .container { padding: 1.75rem 1rem 2rem; }
}

@media screen and (max-width: 968px) {
    .MC_wrap1::before { top: -10rem; left: -29rem; }
    .MC_wrap3 .container .botTxt { right: -15rem; }
}

@media screen and (max-width: 768px) {
    .MC_wrap3 .container { padding: 1.75rem 1rem 2.5rem; }
    .MC_wrap3 .container::before { background: #e7eef5  url('/common/images/template/M2/main/gallBg01.png')no-repeat left -5rem top; }
    .MC_wrap3 .container::after { display: none; }

    .MC_box1 { width: calc(100% + 2rem); margin-left: -1rem; }
    .MC_box2 { margin-top: 4rem; height: auto; }
}

@media screen and (max-width: 560px) {
    .MC_wrap1::before { top: -13rem; left: -42rem; height: 57rem; }
    .MC_wrap2 { margin: 1rem 0 0.5rem; }

    .MC_box4 { margin-top: 1.5rem; }
}

@media screen and (max-width: 480px) {
    .MC_wrap3 .container { padding: 1.25rem 1rem 2.5rem; }
    .MC_wrap3 .container::before { background: #e7eef5  url('/common/images/template/M2/main/gallBg01.png')no-repeat left -10rem top; }
    .MC_wrap3 .container .botTxt { right: -28rem; }
}

@media screen and (max-width: 380px) {
    .container { padding: 0 0.75rem; }
    .MC_wrap3 .container { padding: 1.25rem 0.75rem 2.5rem; }

    .MC_box1 { max-width: calc(100% + 1.5rem); margin-left: -0.75rem; }
    .MC_box2 { margin-top: 3rem; }
    .MC_box4 { margin-top: 1rem; }
}