body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}
:root {}
.container {
    width: 1240px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;

}
@media(max-width:1240px) {
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 auto;

    }
}
@media(max-width:991px) {
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 auto;

    }

}
header.header {
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    transition: 0.5s height, 0.2s background;
}
header.header.line {
    border-bottom: 1px #ddd solid;
}
header.header .header_flex {
    display: flex;
    background: #fff;
    height: 87px;
    align-items: center;
}
header.header .header_flex .logo {
    width: 20%;
    padding-left: 20px;
}
header.header .header_flex .nav {
    width: 60%;
}
header.header .header_flex .hamber {
    width: 20%;
    position: relative;
    text-align: right;
    font-size: 14px;
    padding-right: 15px;
}

header.header .header_flex .nav .gnb {
    display: flex;
    justify-content: center;
}
header.header .header_flex .nav .gnb li a {
    font-size: 22px;
    font-weight: 900;
    display: block;
    padding-left: 45px;
    padding-right: 45px;
    font-family: 'Paperlogy';
    font-weight: 600;
}

#main-visual {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0 !important;
    margin: 0;
    box-sizing: border-box;
}
#main-visual .wrap {
    padding-top: 87px;
    height: 100%;
    display: flex;
    width: 100%;
}
#main-visual .wrap .edu.edu01 {
    width: 50%;
    background: url("../../img/main/edu01.jpg");
    background-repeat: no-repeat;
    background-size: cover;

}
#main-visual .wrap .edu.edu02 {
    width: 50%;
    background: url("../../img/main/edu02.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
#main-visual .wrap .edu {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
#main-visual .wrap .edu .image {
    position: relative;
}

/* 이미지 영역 전용 박스: 오버레이는 여기만 덮음 */
#main-visual .wrap .image .media {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    /* 로딩 중 빈칸 방지 */
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;

}

/* 이미지 */
#main-visual .wrap .image .img img {
    display: block;
    width: 100%;
    transform: scale(1.08);
}

/* 검은 오버레이(이미지 영역만 덮음) */
#main-visual .wrap .image .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2;
    /* 이미지 위 */
    transform: translateX(0%);
    /* 처음엔 전체 덮기 */
}

#main-visual .wrap .edu p.img {
    /* transform: translateY(20%);
    transition: 1s;
    transition-delay: 0.2s; */
}
#main-visual .wrap .edu .caption {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, .8);
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;

}
#main-visual .wrap .edu .caption h2 {
    color: #000;
    font-weight: 700;
    font-size: 33px;
    line-height: 40px;
    font-family: 'Paperlogy';

}
#main-visual .wrap .edu .caption p {
    color: #424242;
    font-weight: 400;
    font-size: 20px;
    margin-top: 6px;
    font-family: 'Paperlogy';
    display:inline;

}
#main-visual .wrap .edu .caption p span {
    font-size: 19px;
    color: #424242;
    font-family: 'Paperlogy';
    font-weight: 500;

}
#main-visual .wrap .edu .caption  span.color {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #de0b0b;
}
#main-visual .wrap .edu .caption  span.color::before {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #de0b0b;
    content: '';
    margin-top: 25px;
}
#main-visual .wrap .edu.edu02 .caption  span.color {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #0464bd;
}
#main-visual .wrap .edu.edu02 .caption  span.color::before {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #0464bd;
    content: '';
    margin-top: 25px;
}

#index-wrap {
    padding-top: 120px;
}
#index-wrap section.section01 .flex {
    display: flex;
}
#index-wrap section.section01 .flex .text {
    width: 35%;
    margin-top: 50px;
}
#index-wrap section.section01 .flex .slider {
    width: 65%;
    transform: translateY(20%);
    opacity: 0;
    transition: 1.3s;
    transition-delay: 0.2s;
}
#index-wrap section.section01 .flex .text .box p,
#index-wrap section.section01 .flex .text .box span {
    font-size: 23px;
    line-height: 30px;
    font-weight: 700;

}
#index-wrap section.section01 .flex .text .box p span {
    position: relative;
    display: inline-block;
}
#index-wrap section.section01 .flex .text .box p span::before {
    position: absolute;
    width: 100%;
    height: 30px;
    background: #daff8c;
    content: '';
    margin-top: 0;
    z-index: -1;
}
#index-wrap section.section01 .flex .text .box dl dt {
    padding-top: 15px;
    font-size: 50px;
    font-weight: 900;
    line-height: 62px;
    transform: translateY(-20%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.4s;
}
#index-wrap section.section01 .flex .text .box dl dd {
    font-size: 22px;
    color: #585858;
    padding-top: 12px;
    transform: translateY(-20%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.6s;
}
#index-wrap section.section01 .arrow-wrap {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    transform: translateX(20%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.2s;
}
#index-wrap section.section01 .arrow-wrap i {
    width: 60px;
    height: 60px;
    background: #f2f2f2;
    border: 2px #e6e6e6 solid;
    background: #fff;
    color: #adadad;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s;
}
#index-wrap section.section01 .arrow-wrap i:focus,
#index-wrap section.section01 .arrow-wrap i:hover {
    background: #f2f2f2;
    border: 2px #f2f2f2 solid;
    color: #000;

}
#index-wrap section.section02 {
    margin-top: 120px;
}

#index-wrap section.section02 .flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}
#index-wrap section.section02 .flex a .box {
    text-align: center;
    border-bottom: 1px #000 solid;
    padding-bottom: 60px;
    transform: translateY(-30%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.2s;
}
#index-wrap section.section02 .flex a .box.box02 {
    transform: translateY(-30%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.4s;
}
#index-wrap section.section02 .flex a .box h3 {
    font-size: 34px;
    font-weight: 800;
}
#index-wrap section.section02 .flex a .box p {
    font-size: 22px;
    font-weight: 600;
    margin-top: 16px;
    border: 1px #a7e0ff solid;
    display: inline-block;
    border-radius: 3em;
    padding-right: 32px;
    color: #097bba;
    padding-top: 6px;
    padding-bottom: 6px;
    background: #f6fcff;
}
#index-wrap section.section02 .flex a .box p span {
    position: relative;
    display: inline-block;
    background: #10a5f5;
    /* border: 1px #a7e0ff solid; */
    padding: 3px 22px;
    border-radius: 3em;
    color: #fff;
    margin-right: 12px;
    margin-left: 6px;
    font-weight: 700;
}
#svisual {
    height: 717px;
    position: relative;
    padding-top: 50px;
    background: url("../../img/main/svisual.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#svisual .text h3 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    position: relative;
}
#svisual .text h2 {
    font-size: 42px;
    line-height: 56px;
    font-weight: 900;
    position: relative;
}
#svisual .text .h2-wrap {
    margin-top: 20px;
}
#svisual .text h3:nth-child(1) {
    transform: translateX(10%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.2s;
}
#svisual .text h3:nth-child(2) {
    transform: translateX(10%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.4s;
}
#svisual .text h3:nth-child(3) {
    transform: translateX(10%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.6s;
}
#svisual .text h3:nth-child(4) {
    transform: translateX(10%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.8s;
}
#svisual .text h2:nth-child(1) {
     transform: translateX(10%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.2s;
}
#svisual .text h2:nth-child(2) {
     transform: translateX(10%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.4s;
}
#svisual .text h2 span {
    position: relative;
    display: inline-block;
    z-index: 1;
}
#svisual .text h2 span::before {
    position: absolute;
    width: 100%;
    height: 10px;
    background: #ffd928;
    content: '';
    margin-top: 36px;
    z-index: -1;
}
#svisual .text h2:nth-child(2) span::before {
    position: absolute;
    width: 100%;
    height: 10px;
    background: #68d6ff;
    content: '';
    margin-top: 36px;
    z-index: -1;
}
#svisual .text h2:nth-child(3) span::before {
    position: absolute;
    width: 100%;
    height: 14px;
    background: #c1ff54;
    content: '';
    margin-top: 52px;
    z-index: -1;
}
#svisual .text h2:nth-child(4) span::before {
    position: absolute;
    width: 100%;
    height: 14px;
    background: #ff9e84;
    content: '';
    margin-top: 52px;
    z-index: -1;
}

#page-map {
    padding-top: 130px;
    position: relative;

}
#page-map .wiz_animation {
    transform: translateY(20%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.2s;
}
#svisual #page-map {
    position: absolute;
    top: 130px;
    padding-top: 0;

}
#svisual #page-map span {
    color: #000;
}
#page-map i {
    font-size: 14px;
    margin-right: 12px;

}
#page-map span {
    font-size: 14px;
    display: inline-block;
    font-weight: 500;
    color: #8a8a8a;
}
#page-map span::after {
    content: "\F285";
    font-family: "bootstrap-icons";
    margin-left: 12px;
    margin-right: 12px;
    font-size: 12px;
}
#page-map span:last-child:after {
    display: none;
}
#page-map span:last-child {
    color: #000;
}
h1#sub_title {
    font-size: 49px;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 70px;
    transform: translateY(-20%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.4s;
}

/* footer  */
#foot-info {
    margin-top: 120px;
    padding-bottom: 60px;
}
#foot-info .flex {
    display: flex;
}
#foot-info .flex .title {
    width: 32%;
    transform: translateY(-30%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.2s;
    margin-left: auto;
    /* text-align: right;  */
    text-align: center;
    padding-left: 150px;
    font-size:20px;

}
#foot-info .flex .tel {
    width: 68%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 30px;

}
@media(min-width:992px) {
    #foot-info .flex .title {

        padding-left: 100px;

    }
    #foot-info .flex .tel {
        padding-left: 30px;
    }
    #foot-info .flex .tel .box {
        /* width: 80%; */
    }

}
#foot-info .flex .title h3 {
    font-size: 36px;
    font-weight: 800;
}
#foot-info .flex .tel .box {
    transform: translateY(-30%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.2s;
    text-align: center;
    
}
#foot-info .flex .tel .box.box02 {
    transform: translateY(-30%);
    opacity: 0;
    transition: 1s;
    transition-delay: 0.4s;
}
#foot-info .flex .tel .box h4 a {
    font-family: 'Poppins', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 30px;
}
#foot-info .flex .tel .box:first-child {
    border-right: 1px #ddd solid;
}
#foot-info .flex .tel .box span {
    color: #888;
    font-size: 20px;

}
footer {
    padding: 30px 0;
    background: #111111;
    font-family: 'Poppins', 'NotoSans', sans-serif;
    color: #484848;
    position: relative;
}
footer.sub {
    /* margin-top: 80px; */
}
footer ul.nav2 {
    display: flex;
}

footer ul.nav2 li a {
    display: block;
    padding: 12px 29px;
    font-size: 16px;
    font-weight: 600;
    color: #bababa;
    font-family: 'Poppins', 'NotoSans', sans-serif;
}

footer ul.nav2 li:first-child a {
    padding-left: 0;
}

footer ul.nav2 li a:hover {
    text-decoration: none;
}

footer ul.nav2 li::before {
    position: absolute;
    width: 1px;
    height: 12px;
    background: #292929;
    content: '';
    margin-top: 18px;
}

ul.footer ul.nav2 li:first-child:before {
    display: none;
}

footer address {
    margin-top: 40px;
    color: #484848;
    font-size: 16px;
    font-family: 'Poppins', 'NotoSans', sans-serif;
    font-style: normal;
    font-weight: 500;
}

footer address ul.info {
    display: flex;
    margin-bottom: 20px;
}

footer address ul.info li:first-child {
    padding-left: 0;
}

footer address ul.info li {
    display: block;
    padding: 0 12px;
    font-size: 16px;
    color: #bababa;
    font-family: 'Poppins', 'NotoSans', sans-serif;
    color: #484848;
    font-weight: 500;
}
/* footer end */

/* 메인 slick slider 유튜브 */
/* 팝업 기본 */
.yt-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 10000;
}
.yt-modal.open {
    display: block;
}
.yt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}
.yt-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: min(90vw, 1000px);
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
    padding: 0;
    overflow: hidden;
}
.yt-close {
    position: absolute;
    right: 8px;
    top: 6px;
    width: 38px;
    height: 38px;
    font-size: 24px;
    line-height: 36px;
    background: transparent;
    color: #fff;
    border: 0;
    cursor: pointer;
    z-index: 2;
}
/* 16:9 비율 박스 */
.yt-iframe-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.yt-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* 바디 스크롤 잠금 */
body.modal-open {
    overflow: hidden;
}
