@charset "UTF-8";

/* 어린이페이지 - mGnb */
#header .m-gnb-wrap .m-gnb-body {
    overflow: hidden;
}
#header .m-gnb-wrap .m-gnb-body::before {
    width: 100%;
}
#header .m-gnb-wrap .m-gnb-menu .menu-wrap .ul > li {
    border-bottom: 1px solid #043e3e;
}
#header .m-gnb-wrap .m-gnb-menu .menu-wrap {
    width: 100%;
}

@media screen and (min-width: 768px) and (max-width: 940px) {
    #header .m-gnb-wrap .m-gnb-top-etc .etc-ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    #header .m-gnb-wrap .m-gnb-top-etc .etc-ul > li:first-child {
        width: 100%;
        justify-content: center;
    }
    #header .m-gnb-wrap .m-gnb-top-etc .etc-ul > li:nth-child(2) {
        padding-left: 0;

        &::before {
            display: none;
        }
    }
}

/* 어린이페이지 - 챗봇 */
#chat-bot {display: none;}

.childrenPage {
    position: relative;
    width: 100%;
    height: 1080px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-image: url(../../images/sub/children/img_children_mainBg_pc.png);
}
.childrenPage img {
    max-width: 100%;
}
.childrenSubBg {
    width: 1154px;
    height: 650px;
    position: absolute;
    bottom: 0;
    right: -5%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    background-image: url(../../images/sub/children/children_subBg.png);
}
.childrenWrap {
    display: flex;
    justify-content: center;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    overflow: hidden;
}
.childrenCont {
    position: relative;
    min-width: 2560px;
    height: 100%;
    margin: 0 auto;
}
.childrenTitle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.childrenBtnDiv.mobile {
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
}
.childrenBtnList {}
.childrenBtnItem {}
.childrenBtnItem .subMenu {
    display: flex;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    position: absolute;
}
.childrenBtnItem .sub01 {
    width: 418px;
    height: 410px;
    background-image: url(../../images/sub/children/img_childrenBtn01.png);
    top: 222px;
    left: 285px;

    &:hover {
        background-image: url(../../images/sub/children/img_childrenBtn01_hover.png);
    }
}
.childrenBtnItem .sub02 {
    width: 415px;
    height: 365px;
    background-image: url(../../images/sub/children/img_childrenBtn02.png);
    bottom: 139px;
    left: 890px;

    &:hover {
        background-image: url(../../images/sub/children/img_childrenBtn02_hover.png);
    }
}
.childrenBtnItem .sub03 {
    width: 802px;
    height: 475px;
    background-image: url(../../images/sub/children/img_childrenBtn03.png);
    left: 123px;
    bottom: -52px;

    &:hover {
        background-image: url(../../images/sub/children/img_childrenBtn03_hover.png);
    }
}
.childrenBtnItem .sub04 {
    width: 501px;
    height: 361px;
    background-image: url(../../images/sub/children/img_childrenBtn04.png);
    top: 80px;
    right: 206px;

    &:hover {
        background-image: url(../../images/sub/children/img_childrenBtn04_hover.png);
    }
}

@media screen and (max-width: 1919px) {
    .childrenTitle {
        width: 500px;
        height: 259px;
    }
    .childrenCont {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 1280px;
    }
    .childrenBtnItem .sub01 {
        top: 0;
        left: 0;
        width: 324px;
        height: 318px;
    }
    .childrenBtnItem .sub02 {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 358px;
        height: 283px;
    }
    .childrenBtnItem .sub03 {
        left: 0;
        bottom: 0;
        width: 668px;
        height: 368px;
    }
    .childrenBtnItem .sub04 {
        top: 0;
        right: 0;
        width: 388px;
        height: 280px;
    }
    .childrenSubBg {
        right: -129px;
        bottom: -188px;
        background-position: top left;
        background-size: 100%;
        width: 800px;
        height: 564px;
    }
}

@media screen and (max-width: 1280px) {

}

/* tablet */
@media screen and (max-width: 1024px) {

    .childrenTitle {
        position: relative;
        top: initial;
        left: initial;
        transform: initial;
        width: 500px;
        height: 259px;
    }
    .childrenCont {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: initial;
    }
    .childrenBtnList {
        height: calc(100vh - 259px);
        margin-top: 269px;
    }
    .childrenBtnDiv {
        position: relative;
        display: flex;
        width: 100%;
        height: calc(100% - 259px);
    }
    .childrenBtnDiv .swiper-button-prev {
        display: flex;
        width: 32px;
        height: 32px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 8px;
        border: 2px solid #303030;
        background: #FFF;
        left: 16px;
        &:after {
            background-image: url(../../images/sub/children/ico_btnPrev.svg);
            background-size: 11px;
            background-repeat: no-repeat;
            background-position: center;
        }
    }
    .childrenBtnDiv .swiper-button-next {
        display: flex;
        width: 32px;
        height: 32px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 8px;
        border: 2px solid #303030;
        background: #FFF;
        right: 16px;
        &:after {
            background-image: url(../../images/sub/children/ico_btnNext.svg);
            background-size: 11px;
            background-repeat: no-repeat;
            background-position: center;
        }
    }
    .childrenBtnItem .sub01 {
        top: 0;
        left: 0;
        width: 340px;
        height: 230px;
    }
    .childrenBtnItem .sub02 {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 340px;
        height: 230px;
    }
    .childrenBtnItem .sub03 {
        left: 0;
        bottom: 0;
        width: 340px;
        height: 230px;
    }
    .childrenBtnItem .sub04 {
        top: 0;
        right: 0;
        width: 340px;
        height: 230px;
    }
    .childrenSubBg {
        right: -129px;
        bottom: -288px;
        width: 495px;
        height: 564px;
        background-position: top left;
        background-size: 100%;
    }
}

/* tablet */
@media screen and (max-width: 767px) {
    .childrenPage {
        height: 640px;
    }
    .childrenTitle {
        position: relative;
        top: initial;
        left: initial;
        transform: initial;
        width: 330px;
        height: 171px;
    }
    .childrenSwiper {
        width: 100%;
        margin-top: 10px;
    }
    .childrenSwiper .childrenBtnItem .subMenu {
        position: relative;
        top: initial;
        left: initial;
        bottom: initial;
        right: initial;
        transform: initial;
    }
    .childrenBtnDiv.web {display: none;}
    .childrenBtnDiv.mobile {
        visibility: initial;
        position: relative;
        width: 100%;
        height: 100%;
        padding-top: 45px;
    }
    .childrenBtnDiv.mobile .swiper {
        display: flex;
        height: 200px;
        align-items: center;
    }
    .childrenBtnList {
        margin-top: 0;
        height: auto;
    }
    .childrenBtnItem  {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .childrenBtnItem .subMenu {
        position: relative;
        top: initial;
        left: initial;
        right: initial;
        bottom: initial;
        transform: initial;
        width: 294px;
        height: 200px;
        max-width: 100%;
    }
    .childrenBtnItem .sub01 {
        background-image: url(../../images/sub/children/img_childrenBtn01_m.png);
        &:hover {
            background-image: url(../../images/sub/children/img_childrenBtn01_m_hover.png);
        }
    }
    .childrenBtnItem .sub02 {
        background-image: url(../../images/sub/children/img_childrenBtn02_m.png);
        &:hover {
            background-image: url(../../images/sub/children/img_childrenBtn02_m_hover.png);
        }
    }
    .childrenBtnItem .sub03 {
        background-image: url(../../images/sub/children/img_childrenBtn03_m.png);

        &:hover {
            background-image: url(../../images/sub/children/img_childrenBtn03_m_hover.png);
        }
    }
    .childrenBtnItem .sub04 {
        background-image: url(../../images/sub/children/img_childrenBtn04_m.png);
        &:hover {
            background-image: url(../../images/sub/children/img_childrenBtn04_m_hover.png);
        }
    }
    .childrenSubBg {
        width: 100%;
        height: 150px;
        bottom: 0;
        background-image: url(../../images/sub/children/children_subBg_mobile.svg);
        background-position: top center;
        background-size: cover;
        right: 50%;
        transform: translateX(50%);
    }
}


.webToonPage {
    background-image: url(../../images/sub/children/img_children_mainBg_m.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
.webToonPageWrap {
    display: flex;
    width: 1760px;
    justify-content: space-between;
    margin: 0 auto;
    position: relative;
    padding: 80px 40px;
    max-width: 100%;
}
.webToon {
    max-width: calc(100% - 753px);
    padding: 24px;
    border-radius: 16px;
    border: 3px solid #221715;
    background: #FFF;
}
.webToon img.web {}
.webToon img.mobile {}
.webToonCont {
    position: sticky;
    top: 135px;
    width: 713px;
    height: 1050px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
.webToonPageWrap .home_m,
.webToonPageWrap .home {
    display: flex;
    width: 100%;
    max-width: 164px;
    height: 64px;
    min-height: 64px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 3px solid #303030;
    background: #FFF;
    box-shadow: 4px 4px 0px 0px #000;
    margin: 0 auto;
}
.webToonPageWrap .home_m {
    display: none;
}
.webToonPageWrap .home_m span,
.webToonPageWrap .home span {
    display: inline-block;
    width: 100%;
    text-indent: -9999px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../../images/sub/children/ico_hometext_black.svg);
}
.webToonPageWrap .home_m:hover,
.webToonPageWrap .home:hover {
    background-color: #0059A1;
}
.webToonPageWrap .home_m:hover span,
.webToonPageWrap .home:hover span {
    background-image: url(../../images/sub/children/ico_homeText_white.svg);
}
.webToonCont .img {
    max-width: 100%;
}
.webToonCont .subBg {
    min-width: 1153px;
    max-height: 100vh;
    object-fit: cover;
    object-position: top;
}

@media screen and (min-width: 1441px) {
    .webToon img.mobile {
        display: none;
    }

}
@media screen and (max-width: 1440px) {
    .webToon img.web {
        display: none;
    }
    .webToon img.mobile {
        display: block;
    }
    .webToonPageWrap {
        width: 100%;
        flex-direction: column;
        padding: 40px 40px 32px;
    }
    .webToonPageWrap .home {
        display: none;
    }
    .webToonPageWrap .home_m {
        display: flex;
        order: 3;
        margin-top: 32px;
    }
    .webToonCont {
        order: 1;
        position: relative;
        height: auto;
        display: flex;
        align-items: center;
        width: 100%;
        top: 0;
    }
    .webToonCont .subBg {
        display: none;
    }
    .webToon {
        order: 2;
        text-align: center;
        max-width: 704px;
        margin: 0 auto;
    }


}
@media screen and (max-width: 767px) {
    .webToonPageWrap {
        padding: 32px 16px;
    }
    .webToonPageWrap .home_m,
    .webToonPageWrap .home {
        box-shadow: none;
    }

}
@media screen and (max-width: 425px) {
    .webToonCont {
        gap: 16px;
    }
    .webToonPageWrap .home_m,
    .webToonPageWrap .home{
        max-width: 107px;
        height: 36px;
        min-height: 36px;
        border-radius: 8px;
    }
    .webToonPageWrap .home_m span,
    .webToonPageWrap .home span {
        background-size: 90%;
    }
}
