/*--------------------------------------------------|
| main.css 
| Update : 2012-06-05
|--------------------------------------------------*/
@charset "utf-8";

.mainVisual {
    width: 100%;
    height: 750px;
    overflow: hidden;
    border-radius: 70px 70px 0 70px;
    position: relative;
    padding: 0;
}
.mainVisual video {
    width: 100%;
    transform: translateY(-100px);
}
.mainVisual .visualtxt {
    position: absolute;
    top: 50%;
    left: 150px;
    transform: translateY(-50%);
    font-size: 36px;
    font-family: 'GMarketSans';
    font-weight: 300;
    color: #ffffff;
    z-index: 10;
}
.mainVisual .visualtxt em {
    font-family: 'GMarketSans';
    font-weight: 700;
    font-size: 68px;
}
.mainVisual .blackcover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
    z-index: 1;
}
.mainVisual .companyinfo {
    position: absolute;
    bottom: -30px;
    right: -30px;
    display: flex;
    z-index: 10;
}
.mainVisual .companyinfo::after {
    position: absolute;
    content: '';
    width: 70px;
    height: 70px;
    background: no-repeat center;
    background-size: cover;
    background-image: url('../images/icon/cover_left.svg');
    bottom: 30px;
    left: -70px;
}
.mainVisual .companyinfo::before {
    position: absolute;
    content: '';
    width: 70px;
    height: 70px;
    background: no-repeat center;
    background-size: cover;
    background-image: url('../images/icon/cover_top.svg');
    top: -70px;
    right: 30px;
}
.mainVisual .companyinfo a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 400px;
    height: 160px;
    background: transparent;
    border-radius: 100px;
    padding: 0 0 0 50px;
    box-sizing: border-box;
    font-size: 20px;
    color: #fff;
    font-family:'aritadsb';
    border: 30px solid #ffffff;
}
.mainVisual .companyinfo a:hover {
    color: #F15825;;
}
.mainVisual .companyinfo a:nth-child(1) {
    margin-right: -30px;
}
.mainVisual .companyinfo a::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    border: 30px solid #ffffff;
    box-sizing: border-box;
}
.mainVisual .companyinfo a:nth-child(1)::before {
    border-radius: 70px 0 0 0;
}
.mainVisual .companyinfo a::after {
    content: '';
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 19px;
    background-image: url('../images/btn/btn_more.svg');
    background-position: center;
    background-size: contain;
}

.main h2 {
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 60px;
    position: relative;
    color: #000000;
    transform: none;
    left: 0;
}
.main h2 em {
    font-size: 50px;
    font-family: 'GMarketSans';
    font-weight: 700;
}

.maintxt {
    text-align: center;
    font-size: 32px;
}
.maintxt em {
    font-size: 64px;
    font-family: 'GMarketSans';
    font-weight: 700;
    margin: 0;
    background: linear-gradient(
        90deg,
        #f9a825,
        #f4511e,
        #e53935,
        #8e24aa
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: gradientMove 2s ease-in-out infinite alternate;
    display: block;
}
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}


/* 메인 3스텝 컨테이너 */
.mainstep {
    display: flex;
    justify-content: space-between;
    margin-top: 160px;
    position: relative;
}

/* 각 카드(dl) 공통 스타일 */
.mainstep dl {
    flex: 1;
    background: #ffffff;
    border-radius: 400px;
    padding: 50px 70px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
}

/* 가운데 카드 강조 */
.mainstep dl.center {
    transform: translateY(-60px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.10);
    z-index: 2;
}

/* 왼쪽/오른쪽 카드는 살짝 옅게 */
.mainstep dl:not(.center) {
    opacity: 0.9;
}

/* 번호(num) 스타일 */
.mainstep dl num {
    position: absolute;
    top: -40px;
    left: 70px;
    display: block;
    font-family: 'GMarketSans';
    font-size: 64px;
    font-weight: 700;
    color: #000000;
}

/* 제목(dt) 스타일 */
.mainstep dl dt {
    font-size: 26px;
    font-family: 'GMarketSans';
    font-weight: 500;
    margin-bottom: 10px;
    color: #F15825;
}

/* 내용(dd) 스타일 */
.mainstep dl dd {
    font-size: 18px;
    color: #000000;
    line-height: 24px;
}

/* 강조 텍스트(em) – 오렌지 컬러 */
.mainstep dl dd em {
    font-family:'aritadsb';
}

/* 카드에 옅은 좌우 그라데이션 느낌(선택사항) */
.mainstep dl::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 85% 80%, rgba(255,90,18,0.07), transparent 50%);
    pointer-events: none;
}
.mainstep dl.center::before {
    background: radial-gradient(circle at 85% 0%, rgba(255,90,18,0.07), transparent 50%);
}

/* 반응형: 모바일에서는 세로로 정렬 */
@media (max-width: 768px) {
    .mainstep {
        flex-direction: column;
        gap: 16px;
    }

    .mainstep dl,
    .mainstep dl.center {
        transform: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
}

.study {
    display: flex;
    justify-content: space-between;
    background-color: #FFEBE2;
    position: relative;
}
.study::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 100%;
    background-image: url('../images/bg/bg_mainstudy_left.png');
    background-position: top left;
    background-size: contain;
}
.study::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1000px;
    height: 100%;
    background-image: url('../images/bg/bg_mainstudy_right.png');
    background-position: top right;
    background-size: cover;
}
.study .studylist {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    position: relative;
}
.study .studylist dl {
    padding: 80px 50px 80px 350px;
    background-color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    z-index: 1;
    background-position: top 80px left 50px;
    background-image: url('../images/bg/bg_mainstudy_obj_right.png');
    background-size: 250px;
    width: 100%;
}
.study .studylist dl:nth-child(1) {
    background-image: url('../images/bg/bg_mainstudy_obj_left.png');
}
.study .studylist dl dt {
    font-family: 'GMarketSans';
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 15px;
}
.study .studylist dl a {
    display: inline-block;
    padding: 0 80px 0 30px;
    margin-top: 35px;
    color: #ffffff;
    font-family:'aritadsb';
    line-height: 45px;
    border-radius: 100px;
    background-color: #A16950;
    background-image: url('../images/btn/btn_more.svg');
    background-position: center right 25px;
    background-size: 11px;
}
.study .studylist dl a:hover {
    background-color: #6d4633;
}

.expert {
    display: flex;
    justify-content: left;
    gap: 80px;
}
.expert .video {
    width: 981px;
    height: 552px;
    background-image: url('../images/main_video.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}
.expert .video .mejs-video, .expert video, .mejs-overlay-play, .mejs-poster {
    width: 100% !important;
    height: 100% !important;
}
.expert .video .mejs-video {
    border-radius: 50px;
}
.expert .teacher {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.expert .teacher .teacherName span {
    font-size: 24px;
    font-family: 'GMarketSans';
}
.expert .teacher .teacherName span em {
    font-size: 38px;
    font-weight: 500;
}
.expert .teacher .teacherHistory {
    display: flex;
    justify-content: left;
    gap: 40px;
}
.expert .teacher .teacherHistory dl {
    font-size: 16px;
}
.expert .teacher .teacherHistory dl dt {
    margin-bottom: 5px;
    padding-left: 20px;
    font-family:'aritadsb';
    font-size: 20px;
    position: relative;
}
.expert .teacher .teacherHistory dl dt::after {
    content: 'l';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #F15825;
    font-family: 'GMarketSans';
    font-weight: 700;
}
.expert .teacher .teacherHistory dl dd {
    padding-left: 20px;
    position: relative;
}
.expert .teacher .teacherHistory dl dd::after {
    content: '·';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'GMarketSans';
    font-weight: 700;
}

.data {
    background-color: #FFF6E4;
    background-image: url('../images/bg/bg_data.png');
    background-position: right bottom;
}
.data .dataInfo {
    display: flex;
    justify-content: left;
    gap: 150px;
}
.data .dataInfo dl:nth-child(1) {
    width: 300px;
}
.data .dataInfo dl:nth-child(2) {
    width: 255px;
}
.data .dataInfo dl:nth-child(3) {
    width: 165px;
}
.data .dataInfo dl dt {
    color: #877641;
    padding-left: 35px;
    line-height: 35px;
    font-size: 26px;
    font-family:'aritadsb';
    background-position: left center;
    background-size: 25px;
}
.data .dataInfo dl:nth-child(1) dt {
    background-image: url('../images/icon/icon_data01.svg');
}
.data .dataInfo dl:nth-child(2) dt {
    background-image: url('../images/icon/icon_data02.svg');
}
.data .dataInfo dl:nth-child(3) dt {
    background-image: url('../images/icon/icon_data03.svg');
}
.data .dataInfo dl dd {
    font-size: 72px;
    font-family:'GMarketSans';
    font-weight: 700;
    color: #F15825;
    letter-spacing: -2px;
}
.data p {
    padding-top: 20px;
    font-size: 16px;
}

.reviewlist {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 360px; /* 원하는 카드 최소 높이 */
    box-sizing: border-box;
    padding: 40px;
    border-radius: 20px;
}
.reviewlist .reviewLabel {
    color: #ffffff;
    font-size: 14px;
    font-family:'GMarketSans';
    font-weight: 500;
    line-height: 14px;
    padding: 9px 0 5px 0;
    width: 100px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 25px;
}
.reviewlist.pass {
    background-color: #FFF4EF;
}
.reviewlist.pass .reviewLabel {
    background-color: #F15825;
}
.reviewlist.class {
    background-color: #F4EDFF;
}
.reviewlist.class .reviewLabel {
    background-color: #4F2587;
}
.reviewlist dl {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 내용 영역이 남는 공간 차지 */
}
/* .reviewlist dl dt {
    font-family:'aritadsb';
    font-size: 20px;
    margin-bottom: 16px;
} */
.reviewlist dl dt {
    font-family: 'aritadsb';
    font-size: 20px;
    margin-bottom: 16px;

    /* --- 2줄 제한 및 말줄임표(...) 추가 --- */
    display: -webkit-box;
    -webkit-line-clamp: 2;         /* 최대 줄 수 지정 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;              /* 줄간격 지정 (필수) */
    max-height: calc(1.4em * 2);   /* line-height * 줄 수 */
    word-break: break-all;         /* 긴 단어/영문이 잘리지 않고 예쁘게 떨어지도록 처리 */
}
.reviewlist dl dd {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.5em * 4);
  flex-grow: 1;
}
.reviewlist .reviewName {
    margin-top: auto;
    font-size: 16px;
}
.swiper-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.swiper-container {
    width: 100%;
    height: 100%;
    padding-bottom: 60px;
}
.swiper-slide {
    _aspect-ratio: 1 / 1; /* 👈 정사각형 유지 */
    
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    /* -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; */
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  bottom: 0;
  _transform: translateY(-50%);
  z-index: 10;
  color: #fff;
}
.swiper-button-prev {
  left: 0px !important; /* 컨테이너 밖으로 */
}
.swiper-button-next {
  right: 0px !important; /* 컨테이너 밖으로 */
}

.maintxt,
.study .studylist,
.mainteacherwrap,
.datacontents,
.reviewwrap {
    max-width: 1920px;
    margin: 0 auto !important;
}
.mainstep {
    max-width: 1920px;
    margin: 160px auto 0 auto;
}






.autoSlide {margin-top:30px; height:400px;}

.main_contents {padding-top:30px;}
.main_contents:after {content:''; display:block; clear:both;}

/* 공지사항1줄 */
.noticeOne {margin-top:10px; width:350px; border:1px solid #ccc; padding:5px;}
.noticeOne:after {content:''; display:block; clear:both;}
.noticeOne {*zoom:1; }
.noticeOne h2 {float:left; font-weight:bold; color:#000;}
.noticeOne ul {width:280px; float:right; position: relative; height:20px; } 
.noticeOne ul li a {float:left; width:210px;}
.noticeOne ul span.date {float:right; font:11px Tahoma; color:#888;}


/* 게시판 */
.board {float:left; width:300px; margin-right:40px;}
.board .tabmenu {position:relative; width:100%; height:26px; background:url("../images/main/tabmenu_line.gif") repeat-x; margin-bottom:10px;}
.board .tabmenu li {float:left; margin-left:-1px;}

.board .list {clear:both;}
.board .list li a {float:left; width:230px; background:url("../images/main/bullet.gif") no-repeat 0 9px; padding-left:7px;}
.board .list li .date {float:right; font:11px Tahoma; color:#888; line-height:1.6;}

.board .abstract {margin-bottom:0;}
.board .img {float:left; margin:0 10px 0 0;}
.board a strong {display:block;}

/* 갤러리 */
.main_gallery {float:left; width:350px;}
.main_gallery:after {content:''; display:block; clear:both;}
.main_gallery .title {width:100%; height:25px; border-bottom:1px solid #cfcfcf; margin-bottom:10px;}
.main_gallery .title .txt {float:left;}
.main_gallery .title .more {float:right; padding-top:5px;}

/*
.main_gallery .list {}
.main_gallery .list li {float:left; margin-left:10px; display: table-cell; *display: inline-block; width:108px; height:78px; line-height:78px; border:1px solid #fff; text-align:center;}
.main_gallery .list li.first-child {margin-left:0;}
.main_gallery .list li:hover {border:1px solid #ff6c00;}
.main_gallery .list .img img {vertical-align:middle;}
*/

.main_gallery .list {margin-left:10px;}
.main_gallery .list li {margin-left:10px; display:table-cell; *display: inline-block; line-height:78px;  border:1px solid #ffffff;  width:108px; height:78px; vertical-align:middle; text-align:center; }
.main_gallery .list li.first-child {margin-left:0;}
.main_gallery .list li:hover {border:1px solid #ff6c00;}
.main_gallery .list li.img img{  vertical-align:middle;  }

/* 이벤트 */
.event {float:right; position:relative; width:250px;}
.event .btn {position:absolute; bottom:8px; right:10px; z-index:10;}
.event .btn li {float:left; padding-left:7px; line-height:0;}
.event .img {display:block; border:1px solid #cbcbcb;}


/* 배너 */
.banner {clear:both; position:relative; margin-top:20px; height:48px; }
.banner:after {content:''; display:block; clear:both;}
.banner .btn_prev {position:absolute; top:9px; left:15px; z-index:10;}
.banner .btn_next {position:absolute; top:9px; right:15px; z-index:10;}
.banner .form {width:925px; margin:0 auto; padding-top:9px;}
.banner .form:after {content:''; display:block; clear:both;}
.banner .form li {float:left; margin:0 10px;}
.banner .form li a {display:block; border:1px solid #e8e8e8;}
.banner .form li a:hover {display:block; border:1px solid #ff6c00;}

/*---------------------------------
 *  News slider > Minimal
 *---------------------------------*/
.newslider-minimal{width:500px;height:16px; border:1px solid #ccc;}

/* Navbar */
.newslider-minimal .sliderkit-panels{float:left;position:relative;width:400px;  }
.newslider-minimal .sliderkit-panel{height:16px;}
.newslider-minimal .sliderkit-panel a{display:block; width:400px;}
.newslider-minimal .sliderkit-panel a:hover{text-decoration:none;}
.newslider-minimal .sliderkit-panel a span.date { font:11px Tahoma; color:#888; position:absolute; right:1px;  }

/* Buttons > Disable */
.newslider-minimal .sliderkit-legend{float:left;margin-right:10px;background:yellow; width:80px;}


@media screen and (max-width: 1024px) {

    .main section {
        padding: 80px 20px;
    }
    .main section:first-child, .sub section:nth-child(1) {
        padding: 0 20px;
    }

    /* 메인 비주얼 */
    .mainVisual {
        width: 100%;
        height: 400px;
        overflow: hidden;
        border-radius: 0;
        position: relative;
        padding: 0;
    }

    /* 동영상 */
    .mainVisual video {
        display: block;
        width: 100%;
        height: 320px;
        transform: none;
        object-fit: cover;
        object-position: center center;
        border-radius: 20px;
    }

    /* 영상 위 텍스트 */
    .mainVisual .visualtxt {
        position: absolute;
        top: 50%;
        left: 0px;
        transform: translateY(-100%);
        font-size: 22px;
        line-height: 1.4;
        z-index: 10;
        width: 100%;
        text-align: center;
    }

    .mainVisual .visualtxt em {
        display: block;
        font-size: 35px;
        line-height: 1.2;
    }

    /* 영상 오버레이 */
    .mainVisual .blackcover {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* 버튼 영역 */
    .mainVisual .companyinfo {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        width: 100%;
        height: 60px;
        box-sizing: border-box;
        z-index: 10;
    }

    /* 장식 */
    .mainVisual .companyinfo::before,
    .mainVisual .companyinfo::after {
        display: none;
    }

    /* 버튼 */
    .mainVisual .companyinfo a {
        width: 50%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        box-sizing: border-box;
        background: rgba(100, 100, 100, 0.8);
        border: 0;
        border-radius: 50px;
        font-size: 17px;
        color: #fff;
    }

    .mainVisual .companyinfo a:nth-child(1) {
        margin-right: 10px;
    }

    /* 기존 PC용 테두리 제거 */
    .mainVisual .companyinfo a::before {
        display: none;
    }

    /* 화살표 */
    .mainVisual .companyinfo a::after {
        position: relative;
        right: auto;
        top: auto;

        transform: none;

        width: 8px;
        height: 12px;

        flex-shrink: 0;
    }

    .maintxt {
        font-size: 20px;
    }
    .maintxt em {
        font-size: 44px;
        line-height: 51px;
        padding-top: 15px;
    }
    .mainstep {
        margin-top: 30px;
        gap: 20px;
    }
    .mainstep dl {
        padding: 20px 30px;
        border-radius: 30px;
    }
    .mainstep dl::before {
        background: radial-gradient(circle at 85% 80%, rgba(255, 90, 18, 0.07), transparent 100%);
    }
    .mainstep dl num {
        display: none;
    }
    .mainstep dl.center {
        transform: translateY(-0px);
    }
    .mainstep dl dt {
        font-size: 22px;
    }
    .study::after {
        width: 100%;
    }
    .study .studylist {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }
    .study .studylist dl {
        border-radius: 30px;
        padding: 170px 20px 30px 20px;
        background-position: top 30px center;
        background-size: 150px;
        text-align: center;
    }
    .study .studylist dl dt {
        font-size: 30px;
        margin-bottom: 5px;
    }
    .study .studylist dl dd {
        line-height: 24px;
    }
    .study .studylist dl a {
        margin-top: 15px;
    }

    .main h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .main h2 span {
        display: block;
    }
    .main h2 em {
        font-size: 36px;
    }

    .expert {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* 영상 */
    .expert .video {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 */
        margin: 0;
        overflow: hidden;
    }

    .expert .video iframe,
    .expert .video video,
    .expert .video .mejs-video,
    .expert .video .vp-center {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .expert .video video {
        display: block;
    }
    .vp-center {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: stretch !important;
    }

    .vp-center > * {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 교수 정보 */
    .expert .teacher {
        width: 100%;
        gap: 25px;
    }

    .expert .teacher .teacherName {
        display: none;
    }
    .expert .teacher .teacherName span {
        font-size: 20px;
    }

    .expert .teacher .teacherName span em {
        font-size: 32px;
    }

    .expert .teacher .teacherHistory {
        gap: 30px;
    }

    .data {
        background-size: 50%;
    }
    .data .dataInfo {
        gap: 30px;
    }
    .data .dataInfo dl:nth-child(1),
    .data .dataInfo dl:nth-child(2),
    .data .dataInfo dl:nth-child(3) {
        width: 100%;
    }
    .data .dataInfo dl dt {
        font-size: 16px;
        padding-left: 25px;
        background-size: 16px;
        line-height: 30px;
    }
    .data .dataInfo dl dd {
        font-size: 30px;
    }
    .data p {
        font-size: 12px;
    }

    .kakaotalk a {
        width: 49px;
        bottom: 20px;
        padding: 45px 10px 10px 10px;
        font-size: 0;
        z-index: 2;
    }
    .kakaotalk a::after {
        width: 36px;
        height: 36px;
    }

}