@font-face {
    font-family: 'MaruBuri-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10-21@1.0/MaruBuri-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'S-CoreDream-3Light';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'EliceDigitalBaeum_Bold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/EliceDigitalBaeum_Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



/* sub-선생님1 */
ul.t_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

ul.t_list>li {
    background: #f6f6f6 url(../img/wing.png) no-repeat;
    background-position: 93% 90%;
    border: 1px solid #ddd;
    padding: 2rem;
}

ul.t_list h2 {
    font-size: 40px;
    color: #09be3f;
    padding-bottom: 10px;
    border-bottom: 1px solid #09be3f;
    margin-bottom: 1rem;
}

ul.t_list h4 {
    font-size: 20px;
    font-weight: normal;
    padding: 1rem;
    background: #e3e3e3;
}

ul.t_list .sublist {
    padding-top: 1rem;
    padding-left: 1.4rem;
}

ul.t_list .sublist li {
    list-style: circle;
    font-size: 18px;
    opacity: 0.85;
}






.gallery_modal2 {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    display: none;
}

.gallery_modal2.on {
    display: block;
}

.gallery_modal2 i {
    font-size: 50px;
    color: #fff;
    position: absolute;
    right: 20px;
    top: 50px;
    cursor: pointer;
    z-index: 1;
}

.gallery_modal2 ul {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.gallery_modal2 ul li {
    width: 90%;
    height: 80%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.gallery_modal2 ul li.on {
    display: block;
}

.gallery_modal2 ul li .img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
}

.gallery_modal2 ul li .img img {
    height: 100%;
    display: block;
    margin: 0 auto;
}

.gallery_modal2 ul li p {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-top: 20px;
}

.gallery_modal {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    display: none;
}

.gallery_modal.on {
    display: block;
}

.gallery_modal i {
    font-size: 50px;
    color: #fff;
    position: absolute;
    right: 20px;
    top: 50px;
    cursor: pointer;
    z-index: 1;
}

.gallery_modal ul.con {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.gallery_modal ul.con>li {
    width: 90%;
    height: 80%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gallery_modal ul.con>li>ul {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery_modal ul.con>li>ul>li {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

.gallery_modal ul.con>li>ul>li.on {
    display: block;
}

.gallery_modal ul.con>li>ul>li>.img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery_modal ul.con>li>ul>li>.img>img {
    height: 100%;
    display: block;
    margin: 0 auto;
}

.gallery_modal ul.con>li>ul>li p {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-top: 20px;
}



/* ================ 메인이미지 영역 ============= */


.main_banner {
    width: 100%;
    height: 900px;
    position: relative;
}

.main_banner_txt {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    padding: 250px 80px;
    box-sizing: border-box;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.main_banner_txt h3 {
    width: 100%;
    margin-bottom: 40px;
}

.main_banner_txt h3 img {
    margin: 0 auto;
}

.main_banner_txt p {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.main_banner_txt p span {
    font-weight: 300;
}

.main_banner_txt .wrap>span {
    display: block;
    width: 40px;
    height: 4px;
    margin: 0 auto;
    background: #fff;
    margin-bottom: 50px;
}

.main_banner_txt ul {
    width: 80%;
    margin: 0 auto;
}

.main_banner_txt ul li {
    width: 30%;
    float: left;
    margin-right: 2%;
}

.main_banner_txt ul li a {
    display: inline-block;
}

.main_banner_txt ul li a img {
    width: 100%;
}


.main_banner_video {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}

.main_banner_video video {
    width: 120%;
}

/* ================== main_company ======================== */


.main_company img {
    width: 100%;
}

.main_company .img_mo {
    display: none;
}

.title_txt {
    text-align: center;
    margin-top: 30px;
    font-size: 1.5em;
    font-family: 'NanumSquare';
    font-weight: 300;
}

.title_txt span {
    font-family: 'GmarketSansMedium';
    font-size: 1.5em;
}

h5.line {
    width: 50px;
    height: 3px;
    background: #f3a109;
    margin: 0 auto;
}

p.s_title {
    color: #333;
    font-size: 1.5em;
    text-align: center;
    margin: 10px 0;
    font-family: 'NanumSquare';
}

p.s_title span {
    color: #fba714;
    font-weight: 700;
}

.more {
    color: #333;
    border: 1px solid #333;
    text-align: center;
    width: 100px;
    margin: 0 auto;
    padding: 3px 10px;
    font-size: 1em;
    margin-bottom: 20px;
}

.more:hover {
    color: #fff;
    font-weight: bold;
    background: #f3a109;
    border: 1px solid #f3a109;
}




.all {
    text-align: center;
    padding-top: 40px;
    box-sizing: border-box;

}



/* =============== info =============== */

.info ul {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.info ul li {
    width: 33%;
    height: 6px;
    float: left;
    background: #f3cb17;
    margin-right: 0.5%;
}

.info ul li:nth-child(2) {
    background: #fba714;
}

.info ul li:last-child {
    margin-right: 0;
}

.info>span {
    font-size: 18px;
}



/* ============ 프로그램 ========================= */
ul.cate {
    width: 100%;
    margin: 0 auto;
}

ul.cate li {
    width: 25%;
    float: left;
    border: 1px solid #fff;
    box-sizing: border-box;
    position: relative;
}

ul.cate li .img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

ul.cate li .img img {
    width: 100%;
    height: 100%;
    transition: all 0.3s;
}

ul.cate li .txt {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 30px;
}

ul.cate li .txt h3 {
    font-size: 1.5em;
    color: #fff;
}

ul.cate li:hover img {
    transform: scale(1.2);
}


/* ================ 메인 갤러리 ============================== */



.swiper-slide {
    width: 23%;
    height: 250px;
}

.swiper-slide img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* ================= customer ======================= */

.customer {
    width: 1200px;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 100px;
    color: #fff;
    background: url(../img/customer.jpg) no-repeat;
    text-align: center;
    font-family: 'GmarketSansLight';
}

.customer .title_txt {
    margin-top: 60px;
}

.customer p.tel {
    font-size: 2em;
    margin-top: 20px;

}

.customer p.tel span {
    background: #f3a109;
    padding: 5px 10px 0 10px;
    font-family: 'GmarketSansBold';
    color: #000;
}

.customer p.text {
    font-size: 1.5em;
}






/* ============================================== */
section.sub {
    text-align: center;
    padding: 40px 0px;
    box-sizing: border-box;
}

.sub_top {
    width: 100%;
    height: 300px;
    position: relative;
    margin-top: 100px;
    background-image: url(../img/sub_banner.png);

}

.sub_top .sub_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.5em;
    text-align: center;
}



/* ========= 서브페이지/ 소개 ================ */

.contents {
    width: 100%;
    margin: 0 auto;
}

.sub_company .about {
    margin-top: 30px;
}

.sub_company .mo {
    display: none;
}



/* ========= 서브페이지/ 프로그램 ================ */

.sub_program .contents li {
    float: left;
    margin: 10px;
    width: 48%;
    box-sizing: border-box;
    overflow: hidden;
    background: #fbfcee;
    height: 760px;
}

.sub_program .contents li p {
    padding: 20px;
    font-size: 1.2em;
}

.sub_program .contents li .box {
    background: #eee;
    margin: 10px;
    padding: 20px;
    font-size: 1.1em;
}

.sub_program .title {
    text-align: center;
    background: #fd9711;
    color: #fff;
    padding: 5px 0;
    margin-top: 20px;
}

.sub_program .title h1 {
    font-size: 2.5em;
}

.sub_program .title p {
    font-size: 1.2em;
}



/* ========= 서브페이지/ 갤러리 ================ */

.sub_gallery ul.cate {
    width: 98%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.sub_gallery ul.cate li {
    width: 20%;
    float: left;
    margin: 0;
    background: #f1f1f1;
    height: 40px;
    line-height: 37px;
    font-size: 18px;
    cursor: pointer;
}

.sub_gallery ul.cate li.on {
    background: #6285d7;
    color: #fff;
}

.sub_gallery ul.con {
    width: 98%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.sub_gallery ul.con>li {
    width: 100%;
    display: none;
}

.sub_gallery ul.con>li.on {
    display: block;
}

.sub_gallery ul.con>li>ul {
    width: 100%;
}

.sub_gallery ul.con>li>ul>li {
    width: 23%;
    float: left;
    margin-right: 2%;
    margin-bottom: 2%;
    cursor: pointer;
}

.sub_gallery ul.con>li>ul>li:nth-child(4n) {
    margin-right: 0;
}

.sub_gallery ul.con>li>ul>li>a {
    width: 100%;
}

.sub_gallery ul.con>li>ul>li>a>img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.sub_gallery ul.con>li>ul>li p {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    padding: 10px 0 0 20px;
}

.sub_gallery2 ul {
    width: 98%;
    margin: 0 auto;
    margin-top: 30px;
}

.sub_gallery2 ul li {
    width: 24%;
    float: left;
    margin-bottom: 30px;
    margin-right: 0.5%;
    cursor: pointer;
    background: #eee;
}

.sub_gallery2 ul li:nth-child(4n) {
    margin-right: 0;
}

.sub_gallery2 ul li img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sub_gallery2 ul li embed {
    width: 100%;
    height: 100%;
}

.sub_gallery2 ul li p {
    font-size: 1.2em;
    text-align: left;
}




/* ================ 서브페이지 -오시는길 ===================
 */
.contect_con {
    width: 96%;
    margin: 0 auto;
}

.contect_con .s_title {
    font-size: 1.5em;
    font-family: 'GmarketSansMedium';
    color: #fff;
    background: #399404;
    ;
    padding: 5px 0;
}

.contect_con .contect_con1 {
    width: 100%;
    margin-top: 5px;
}

.contect_con_txt {
    width: 100%;
    background: #f8f8f8;
    padding: 30px 20px;
    box-sizing: border-box;
}

.contect_con_txt .contect_con_txt_l {
    float: left;
}

.contect_con_txt .contect_con_txt_l i {
    font-size: 54px;
}

.contect_con_txt .contect_con_txt_r {
    float: left;
    margin-left: 10px;
    text-align: left;
}

.contect_con_txt .contect_con_txt_r h4 {
    font-size: 20px;
}

.contect_con_txt .contect_con_txt_r p {
    font-size: 16px;
}

.sub_movie ul {
    width: 98%;
    margin: 0 auto;
    margin-top: 40px;
}

.sub_movie ul li {
    width: 49.5%;
    float: left;
    margin-right: 0.5%;
}

.sub_movie ul li:nth-child(2n) {
    margin-right: 0;
}


.company_img {
    width: 100%;
}

.company_img img {
    width: 100%;
}














@media screen and (min-width: 1240px) {
    nav {
        display: block;
    }

    header i.fa {
        display: none;
    }


















}

@media screen and (min-width: 960px) and (max-width: 1239px) {
    .wrap {
        width: 98%;
    }

    header h1 {
        width: 24%;
    }

    header i.fa {
        display: none;
    }

    nav {
        width: 50%;
        display: block;
        margin-right: 0px;
    }

    .main_banner {
        height: 540px;
    }

    .main_banner_txt {
        padding: 140px 80px;
        box-sizing: border-box;
    }

    .main_banner_txt h3 {
        margin-bottom: 40px;
    }

    .main_banner_txt h3 img {
        width: 370px;
    }

    .main_banner_txt p {
        font-size: 20px
    }

    .main_banner_txt .wrap>span {
        margin-bottom: 30px;
    }

    .main_banner_video {
        width: 100%;
    }

    .customer {
        width: 94%;
    }


    .sub_company .txt h3 {
        font-size: 24px;
    }

    .sub_company .contents img {
        width: 100%;
    }

    .sub_gallery ul.con {
        height: 2500px;
    }


    .sub_program .contents li {
        width: 47%;
        margin-right: 1%;
    }

    .sub_program .contents li img {
        width: 100%;
    }

    .sub_gallery ul.con>li>ul>li>.img {
        height: 160px;
    }

    .gallery_modal ul.con>li,
    .gallery_modal2 ul li {
        height: 70%;
    }
















}

@media screen and (min-width: 786px) and (max-width: 959px) {
    .wrap {
        width: 98%;
    }

    nav {
        display: none;
        float: inherit;
    }

    header h1 {
        width: inherit;
    }

    header i.fa {
        display: inline-block;
    }

    .main_banner {
        height: 442px;
    }

    .main_banner_txt {
        padding: 140px 80px;
        box-sizing: border-box;
    }

    .main_banner_txt h3 {
        margin-bottom: 30px;
    }

    .main_banner_txt h3 img {
        width: 350px;
    }

    .main_banner_txt p {
        font-size: 16px
    }

    .main_banner_txt .wrap>span {
        margin-bottom: 20px;
    }


    .info h2,
    .sub_company>.wrap>p {
        font-size: 20px;
    }

    .info h2 span,
    .sub_company>.wrap>p>span {
        font-size: 24px;
    }

    .info>span {
        font-size: 14px;
    }

    ul.cate li {
        width: 49.5%;
        margin-right: 1%;
        margin-bottom: 10px;
    }

    ul.cate li:nth-child(2n) {
        margin-right: 0;
    }

    ul.cate li .img {
        height: 220px;
    }


    .swiper-slide {
        height: 160px;
    }

    .customer {
        margin-top: 20px;
        width: 94%;
    }

    .sub_company .txt h3 {
        font-size: 24px;
    }

    .sub_company .contents img {
        width: 100%;
    }



    .sub_program .contents li {
        width: 100%;
        height: auto;
    }

    .sub_program .contents li img {
        width: 100%;
    }


    .sub_gallery ul.con {}

    .sub_gallery ul.con>li>ul>li>.img {
        height: 100px;
    }

    .gallery_modal ul.con>li,
    .gallery_modal2 ul li {
        height: 50%;
    }














}

@media screen and (min-width: 501px) and (max-width: 785px) {
    .wrap {
        max-width: 785px;
    }

    header h1 {
        width: inherit;
    }

    header i.fa {
        display: inline-block;
    }

    nav {
        display: none;
        float: inherit;
    }

    .main_banner {
        height: 442px;
    }

    .main_banner_txt {
        padding: 140px 60px;
        box-sizing: border-box;
    }

    .main_banner_txt ul {
        width: 100%;
    }

    .main_banner_txt h3 {
        margin-bottom: 30px;
    }

    .main_banner_txt h3 img {
        width: 330px;
    }

    .main_banner_video video {
        width: 200%;
    }

    .main_banner_txt p {
        font-size: 16px
    }

    .main_banner_txt .wrap>span {
        margin-bottom: 20px;
    }

    .info h2,
    .sub_company>.wrap>p {
        font-size: 14px;
    }

    .info h2 span,
    .sub_company>.wrap>p>span {
        font-size: 20px;
    }

    .info>span {
        font-size: 14px;
    }




    .title_txt {
        font-size: 1.2em;
    }

    p.s_title {
        font-size: 1.2em;
    }


    .swiper-slide {
        height: 100px;
    }


    ul.cate li {
        width: 49.5%;
        margin-right: 1%;
        margin-bottom: 10px;
    }

    ul.cate li:nth-child(2n) {
        margin-right: 0;
    }

    ul.cate li .txt p {
        font-size: 16px;
    }

    ul.cate li .txt h3 {
        font-size: 20px;
    }

    ul.cate li .txt span {
        font-size: 14px
    }



    .customer {
        margin-top: 20px;
        height: 250px;
        width: 94%;
    }

    .customer .h4 h4 {
        font-size: 20px;
    }

    .customer ul li span {
        font-size: 14px;
    }

    .customer ul li p {
        font-size: 20px;
    }

    .customer>p {
        font-size: 18px;
    }

    .customer>span {
        font-size: 16px;
    }

    footer h3 {
        font-size: 24px;
    }


    .sub_top {
        height: 200px;
    }

    .sub_top .sub_title {
        font-size: 2em;
    }

    .sub_company .contents img {
        width: 100%;
    }


    .sub_program .contents li {
        width: 100%;
        height: auto;
    }

    .sub_program .contents li img {
        width: 100%;
    }

    .sub_gallery ul.cate li {
        font-size: 16px;
        height: 36px;
    }

    .sub_gallery ul.con {
        height: 4100px;
    }

    .sub_gallery ul.con>li>ul>li {
        width: 48%;
    }

    .sub_gallery ul.con>li>ul>li:nth-child(2n) {
        margin-right: 0;
    }

    .gallery_modal ul.con>li,
    .gallery_modal2 ul li {
        height: 40%;
    }

    .sub_gallery2 ul li {
        width: 49.5%;
    }



}

@media screen and (max-width: 500px) {
    
    /* sub-선생님1 */
    ul.t_list {
        grid-template-columns: 1fr;

    }
    ul.t_list h2 {
        font-size: 28px;
    }
    ul.t_list h4 {
        font-size: 18px;
    }
    ul.t_list .sublist li {
        font-size: 16px;
    }



    .wrap {
        width: 100%;
        padding: 0;
    }

    header h1 {
        width: inherit;
        margin-top: 26px;
    }

    header h1 a img {
        width: 80%;
    }

    header i.fa {
        display: inline-block;
    }

    nav {
        display: none;
        float: inherit;
    }

    .main_banner_video video {
        width: 200%;
    }

    .main_banner {
        height: 440px;
    }

    .main_banner_txt {
        padding: 170px 0 0 0;
        box-sizing: border-box;
    }

    .main_banner_txt h3 {
        margin-bottom: 0;
    }

    .main_banner_txt h3 img {
        width: 240px;
    }

    .main_banner_txt p {
        font-size: 16px
    }

    .main_banner_txt .wrap>span {
        margin-bottom: 20px;
    }

    .main_banner_txt ul {
        width: 100%;
        margin-left: 3%;
    }


    .main_company img {
        width: 100%;
    }

    .main_company .img_mo {
        display: block;
        background: #fbfcee;
    }
    .main_company .img_mo p {
        text-align: center;
        font-size: 1.1em;
        padding: 10px;
    }

    .main_company .img {
        display: none;
    }


    .title_txt {
        font-size: 1em;
    }

    p.s_title {
        font-size: 0.9em;
    }

    .all {
        padding-top: 0px;
    }



    .info h2,
    .sub_company>.wrap>p {
        font-size: 14px;
    }

    .info h2 span,
    .sub_company>.wrap>p>span {
        font-size: 20px;
    }

    .info>span {
        font-size: 14px;
    }

    ul.cate li {
        width: 49.5%;
        margin-right: 1%;
        margin-bottom: 10px;
    }

    ul.cate li:nth-child(2n) {
        margin-right: 0;
    }

    ul.cate li .img {
        height: 140px;
    }

    ul.cate li .txt p {
        font-size: 16px;
    }

    ul.cate li .txt h3 {
        font-size: 10px;
    }

    ul.cate li .txt span {
        font-size: 14px
    }

    ul.cate li .txt a {
        width: 80px;
        height: 30px;
        line-height: 22px;
        font-size: 14px;
    }

    .swiper-slide {
        height: 60px;
    }

    .customer {
        margin-top: 10px;
        width: 100%;
        height: 200px;
    }

    .customer .title_txt {
        margin-top: 35px;
    }

    .customer p.tel span {}

    .customer p.text {
        font-size: 1.1em;
    }

    .customer>span {
        font-size: 14px;
    }



    .sub_top {
        height: 170px;
    }

    .sub_top .sub_title {
        font-size: 1.5em;
    }

    .h2_txt {
        margin-top: 30px;
    }

    .sub_company .mo {
        display: block;
        width: 100%;
    }

    .sub_company .mo img {
        width: 100%;
    }

    .sub_company .contents {
        display: none;
    }

    .sub_program .contents li {
        width: 100%;
        height: auto;
    }

    .sub_program .contents li img {
        width: 100%;
    }

    .sub_program .title h1 {
        font-size: 2em;
    }


    .sub_gallery ul.cate li {
        font-size: 16px;
        height: 36px;
    }

    .sub_gallery ul.con {
        height: 4100px;
    }

    .sub_gallery ul.con>li>ul>li {
        width: 48%;
    }

    .sub_gallery ul.con>li>ul>li:nth-child(2n) {
        margin-right: 0;
    }

    .sub_gallery ul.con>li>ul>li>.img {
        height: 120px;
    }

    .gallery_modal ul.con>li,
    .gallery_modal2 ul li {
        height: 26%;
    }

    .sub_gallery2 ul li {
        width: 49.5%;
        margin-right: 1%;
    }

    
    .sub_gallery2 ul li img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }



    .sub_gallery2 ul li:nth-child(2n) {
        margin-right: 0;
    }

    .sub_movie ul li {
        width: 100%;
        margin-right: 0;
    }



    footer h3 img {
        width: 70%;
    }

}

@media screen and (max-width: 380px) {
    .wrap {
        width: 100%;
        padding: 0;
    }

    header h1 {
        width: inherit;
        margin-top: 30px;
    }
}


