﻿

/*-----------------------------------------------------------
Author : YeJin, Son
Creative date :2022. 04. 07
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#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_wrap2 { margin-top: 1.9rem; }
.MC_wrap2 .container { padding-bottom: 4rem; }
.MC_wrap2 .container::before { position: absolute; bottom: 0; right: -18.05rem; width: 33.65rem; height: 15.15rem; background: url('/images/schl/template/T0034/main/0034_con_bg.png') no-repeat center / cover; content: ""; }
.MC_wrap3 { position: relative; background: #f6f6f6; padding: 3.9rem 0 4.2rem; }

.con_wrap { position: relative; width: 65%; float: left; }

.MC_box1 { position:relative; width:100%; height:27rem; overflow:hidden;} /* 메인비주얼 */
.MC_box2 { position: relative; width: 22.65rem; height: 22.65rem; float: left; border-radius: 50%; box-shadow: 0 0 18px rgba(0, 0, 0, 0.08); padding: 2.5rem; margin-top: -9.35rem; background: #fff; } /* 팝업존 */
.MC_box3 { position: relative; width: calc(100% - 25.2rem); height: 9.9rem; float: right; margin-top: 2.1rem; } /* 바로가기1 */
.MC_box4 { position: relative; width: 100%; height: 8.5rem; } /* 식단 */
.MC_box5 { position: relative; width: 100%; height: 14.5rem; margin-top: 2.2rem; } /* 갤러리 */
.MC_box6 { position: relative; width: 28%; height: 14.5rem; float: right; } /* 캘린더 */
.MC_box7 { position: relative; width: 48%; height: 16.9rem; float: left; } /* 게시판1 */
.MC_box8 { position: relative; width: 48%; height: 16.9rem; float: right; } /* 게시판2 */

@media (max-width:1440px){
    .MC_wrap2 .container::before { width: 29.65rem; height: 13.15rem; right: -12rem; }

    .MC_box1 { height: auto; } /* 메인비주얼 */
}

@media (max-width:1240px) {
    .MC_box2 { width: 20rem; height: 20rem; margin-top: -8rem; } /* 팝업존 */
    .MC_box3 { width: calc(100% - 22.55rem); } /* 바로가기1 */
}

@media (max-width:960px) {
    .MC_wrap1 { margin-top: 1rem; }
    .MC_wrap2 .container { padding-bottom: 1.5rem; }
    .MC_wrap3 { padding: 2rem 0; }

    .con_wrap { width: 100%; float: none; }

    .MC_box2 { width: 18rem; height: 18rem; padding: 2rem; margin-top: 0; } /* 팝업존 */
    .MC_box3 { width: calc(100% - 19rem); } /* 바로가기1 */
    .MC_box6 { width: 100%; height: auto; float: none; margin-top: 1.5rem; } /* 캘린더 */
}

@media (max-width: 768px) {
    .MC_box2 { width: 100%; height: auto; padding: 0; border-radius: 0; box-shadow: none; } /* 팝업존 */
    .MC_box3 { width: 100%; height: auto; margin-top: 1.5rem; } /* 바로가기1 */
    .MC_box7 { width: 100%; height: auto; float: none; } /* 게시판1 */
    .MC_box8 { width: 100%; height: auto; float: none; margin-top: 1.5rem; } /* 게시판2 */
}

@media (max-width: 680px) {
    .MC_wrap2 .container::before { width: 20.65rem; height: 9.15rem; right: -7rem; }
}

@media (max-width: 500px){
    .MC_wrap2 .container { padding-bottom: 6.5rem; }

    .MC_box5 { height: auto; } /* 갤러리 */
} 