@charset "utf-8";


#mainContainer {
    position: relative;
    padding: 30px 20px;
    background: url("../images/main_topbg_m.png") no-repeat center top/100% auto;
}

@media screen and (min-width: 767px) {
    #mainContainer {
        background: url("../images/main_topbg.png") no-repeat center top/auto;
    }
}

@media screen and (min-width: 1239px) {
    #mainContainer {
        min-height: 1400px;
        padding: 30px 40px;
    }
}

@media screen and (min-width: 1639px) {
    #mainContainer {
        padding: 30px 90px;
    }
}


/* 메인 탑  */
.main-top {
    position: relative;
    color: var(--color-white);
    font-family: var(--font-point);
}

.main-top .logo-mark {
    width: 200px;
}

.main-top .slogan {
    margin-top: 20px;
    font-size: 1.6rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

@media screen and (min-width: 767px) {
    .main-top {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-top .logo-mark,
    .main-top .slogan {
        width: 350px;
        margin: 0 20px;
    }

    .main-top .logo-mark {
        text-align: right;
    }

    .main-top .logo-mark img {
        width: 245px;
    }

    .main-top .slogan {
        padding-top: 20px;
        margin-top: 0;
    }
}

@media screen and (min-width: 979px) {
}

@media screen and (min-width: 1239px) {
    .main-top .logo-mark:after {
        position: absolute;
        top: -10px;
        left: 10px;
        width: 286px;
        height: 237px;
        background: url("../images/main_topimg01.png") no-repeat center;
        content: '';
    }

    .main-top .slogan:after {
        position: absolute;
        top: -10px;
        right: 10px;
        width: 233px;
        height: 286px;
        background: url("../images/main_topimg02.png") no-repeat center;
        content: '';
    }
}

@media screen and (min-width: 1439px) {
    .main-top .logo-mark:after {
        left: 140px;
    }

    .main-top .slogan:after {
        right: 140px;
    }
}


/* 콘텐츠 컨트롤 */
.main-content {
    position: relative;
    margin-top: 30px;
}

@media screen and (min-width: 1239px) {
    .main-content {
        padding-right: 30%;
    }

    .main-content .main-side-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 28%;
    }
}

@media screen and (min-width: 1639px) {
    .main-content {
        padding-right: 400px;
    }

    .main-content .main-side-content {
        width: 340px;
    }
}


/* 월별 다락방 */
.main-month-question {
    position: relative;
}

.main-month-question .mmq-con {
    position: relative;
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    background-color: var(--color-gray);
    color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(var(--color-black-rgb),0.16);
}

.main-month-question .mmq-con h3 {
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-family: var(--font-point);
}

.main-month-question .mmq-con h3 em {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    margin-left: 10px;
    font-family: var(--font-point-bold);
    background-color: var(--color-white);
    color: var(--color-gray);
    border-radius: 15px;
}

.main-month-question .mmq-con .subject {
    font-size: 2rem;
    font-family: var(--font-point-bold);
}

.main-month-question .mmq-con dl {
    margin-top: 20px;
}

.main-month-question .mmq-con dl dt {
    margin-bottom: 10px;
    font-weight: 500;
    opacity: 0.7;
}

.main-month-question .mmq-con dl dd strong {
    font-size: 2rem;
    font-weight: 700;
}

.main-month-question .mmq-con a.participate-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    margin: 20px auto 0;
    background-color: var(--color-white);
    font-family: var(--font-point);
    border-radius: 20px;
}

.main-month-question .mmq-con a.participate-btn span.ico {
    margin-left: 7px;
    font-size: 2rem;
}

.main-month-question .mmq-con.ver-maths {
    background-color: var(--color-maths);
}

.main-month-question .mmq-con.ver-maths h3 em,
.main-month-question .mmq-con.ver-maths a.participate-btn {
    color: var(--color-maths);
}

.main-month-question .mmq-con.ver-science {
    background-color: var(--color-science);
}

.main-month-question .mmq-con.ver-science h3 em,
.main-month-question .mmq-con.ver-science a.participate-btn {
    color: var(--color-science);
}

.main-month-question .mmq-con.ver-free {
    background-color: var(--color-free);
}

.main-month-question .mmq-con.ver-free h3 em,
.main-month-question .mmq-con.ver-free a.participate-btn {
    color: var(--color-free);
}

@media screen and (min-width: 767px) {
    .main-month-question .mmq-con {
        width: 45%;
        padding: 30px;
        border-radius: 20px;
    }
}

@media screen and (min-width: 979px) {
    .main-month-question .mmq-con {
        width: 31%;
        margin-bottom: 40px;
        transition: .3s;
    }

    .main-month-question .mmq-con:hover {
        box-shadow: 0 10px 20px rgba(var(--color-black-rgb),0.4);
        cursor: pointer;
    }
}


/* 주제별 질문 */
.main-topic-question {
    position: relative;
    margin-top: 40px;
}

.main-topic-question .select-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

.main-topic-question .select-area .basic-select {
    border-color: var(--color-blue);
    border-radius: 18px;
}

.main-topic-question .select-area .basic-select:not(:first-child) {
    margin-left: 5px;
}

@media screen and (min-width: 639px) {
    .main-topic-question .select-area {
        position: absolute;
        top: 0;
        right: 10px;
    }
}

@media screen and (min-width: 979px) {
    .main-topic-question {
        margin-top: 20px;
    }

    .main-topic-question .select-area {
        position: absolute;
        top: 2px;
        right: 20px;
    }

    .main-topic-question .select-area .basic-select:not(:first-child) {
        margin-left: 10px;
    }
}


/* 공지사항, 이달의 질문왕, 이달의 답변왕 */
.main-side-content {
    margin-top: 40px;
}

.main-side-content .msc-con h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-family: var(--font-point);
}

.main-side-content .msc-con h2 em b {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    background-color: var(--color-point);
    font-size: 1.6rem;
    color: #fff;
    border-radius: 15px;
    vertical-align: middle;
}

.main-side-content .msc-con h2 span.ico {
    width: 50px;
    font-size: 0;
}

.main-side-content .msc-con.ver-question h2 em b {
    background-color: var(--color-question);
}

.main-side-content .msc-con.ver-answer h2 em b {
    background-color: var(--color-answer);
}

.main-notice-latest {
    position: relative;
    overflow: hidden;
    padding: 20px;
    background-color: var(--color-background);
    border-radius: 10px;
}

.main-notice-latest ul li {
    border-top: 1px solid var(--border-line);
}

.main-notice-latest ul li:first-child {
    border-top: none;
}

.main-notice-latest ul li a {
    display: flex;
    flex-direction: column;
    padding: 18px 0;
}

.main-notice-latest ul li a .subject {
    font-size: 1.6rem;
}

.main-notice-latest ul li a .date {
    color: var(--color-deeplight);
}

.main-kingbox {
    position: relative;
    padding: 20px;
    background-color: #F8F8F8;
    border-radius: 10px;
}

.main-kingbox .msc-con:not(:first-child) {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-line);
}

@media screen and (min-width: 767px) {
    .main-notice-latest,
    .main-kingbox {
        border-radius: 20px;
    }
}

@media screen and (min-width: 1239px) {
    .main-side-content {
        margin-top: 0;
    }

    .main-side-content .msc-con h2 {
        font-size: 2.2rem;
    }

    .main-side-content .msc-con h2 em b {
        margin-top: -3px;
    }
}

@media screen and (min-width: 1439px) {
    .main-notice-latest,
    .main-kingbox {
        padding: 30px;
    }
}




/* -------------------------------- */
@media screen and (min-width: 639px) {
}

@media screen and (min-width: 767px) {
}

@media screen and (min-width: 979px) {
}