@charset "utf-8";

/* 메인 section */
#fullpage {
    visibility: hidden;
}

.section {
    width: 100%;
    height: 100%;
    position: relative;
}

/* section1 */
.sec-video {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    inset: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-content {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    animation: slide-in-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.video-content h3 {
    font-size: var(--f40);
    color: #fff;
    padding-bottom: 16px;
}

.video-content h1 img {
    width: 500px;
    filter: brightness(0) invert(1);
}

.slide-in-bottom {
    animation: slide-in-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* section2 */
.sec-course {
    display: flex;
    flex-direction: row;
}

.crs-item {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.crs-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.crs-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(80, 23, 127, 0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.crs-item:hover::after {
    opacity: 1;
}

.crs-con {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ccc;
    gap: 16px;
    padding: 40px 20px;
    opacity: 0;
}

.crs-item.active .crs-con{
    animation: slide-in-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.crs-item:nth-child(1).active .crs-con { animation-delay: 0.2s; }
.crs-item:nth-child(2).active .crs-con { animation-delay: 0.5s; }
.crs-item:nth-child(3).active .crs-con { animation-delay: 0.8s; }

.crs-con span {
    font-size: var(--f18);
    font-weight: 600;
    color: #ddd;
}

.crs-con strong {
    font-size: var(--f40);
    font-weight: 700;
    font-family: var(--font-type2);
    color: #ddd;
    margin-top: 10px;
}

.crs-con p {
    line-height: 1.8em;
    margin-top: 40px;
}

.crs-con a {
    margin-top: 40px;
    display: inline-block;
    padding: 0 40px;
    line-height: 46px;
    border-radius: 600px;
    border: 1px solid #ccc;
    font-size: var(--f18);
    font-weight: 600;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.crs-item:hover .crs-con a {
    background: #fff;
    border-color: #fff;
    color: var(--sub-color);
    font-weight: 700;
}

/* section3 */
.sec-news {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(60px, 8.85vw, 170px);
}

/* 헤더 */
.news-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
}

.news-head h2 {
    font-size: var(--f40);
    font-weight: 500;
    line-height: 1.2em;
}

.news-head a {
    color: #221E1F;
    font-weight: 500;
}

.news-head a::after {
    content: '+';
    display: inline-block;
    transition: transform 0.4s ease;
    margin-left: 3px;
}

.news-head a:hover::after {
    transform: rotate(180deg);
}

.news-slide {
    position: relative;
}

.news-slide .slide-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 14px;
}

.news-slide .slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-slide .swiper-slide:hover .slide-img img {
    transform: scale(1.04);
}

.news-slide .swiper-slide a {
    display: block;
}

.news-slide .swiper-slide p {
    font-size: var(--f20);
    font-weight: 600;
    margin-bottom: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-slide .swiper-slide span {
    color: #666;
}

.news-slide .swiper-scrollbar {
    position: relative;
    height: 1px;
    background: #eee;
    margin-top: 56px;
}

.news-slide .swiper-scrollbar-drag {
    background: #222;
}

/* section4 */
.sec-facil {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: row;
    background-color: #F9F9F9;
}

.facil-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(60px, 8.85vw, 170px);
}

.facil-head {
    position: relative;
    max-width: 648px;
    margin-bottom: 94px;
}

.facil-head h2 {
    font-size: var(--f40);
    font-weight: 600;
    line-height: 1.2em;
    color: #222;
    word-break: keep-all;
}

.facil-head a {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #221E1F;
    font-weight: 500;
}

.facil-head a::after {
    content: '+';
    display: inline-block;
    transition: transform 0.4s ease;
    margin-left: 3px;
}

.facil-head a:hover::after {
    transform: rotate(180deg);
}

.facil-tab {
    display: flex;
    flex-direction: column;
    max-width: 414px;
}

.facil-tab li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    transition: all 0.2s ease;
}

.facil-tab li:last-child {
    border-bottom: 0;
}

.facil-tab li strong {
    display: block;
    font-size: var(--f20);
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.facil-tab li p {
    color: #666;
}

.facil-tab li.on strong,
.facil-tab li.on p,
.facil-tab li:hover strong,
.facil-tab li:hover p {
    color: var(--black);
}

.facil-tab li a {
    display: inline-block;
    background: url('/images/ic_list_arw.svg') center center no-repeat;
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.facil-tab li.on a {
    background: url('/images/ic_list_arw_on.svg') center center no-repeat;
    width: 16px;
    height: 16px;
}

.facil-tab li:hover a {
    transform: translateX(2px);
    background: url('/images/ic_list_arw_on.svg') center center no-repeat;
}

.facil-right {
    width: 50%;
    position: relative;
}

.facil-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.facil-panel.on {
    opacity: 1;
    visibility: visible;
}

.facil-swiper {
    width: 100%;
    height: 100%;
}

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

.sw-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    z-index: 1;
}

.gal-prev, .gal-next {
    width: 80px;
    height: 80px;
}

.gal-prev img, .gal-next img {
    width: 80px;
}

/* section4 */
.sec-map {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: row;
    background-color: #fff;
}

.map-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.map-right {
    width: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(3.75rem, -7.7083rem + 15.2778vw, 10.625rem);
}

.map-head {
    position: relative;
    max-width: 648px;
    margin-bottom: 32px;
}

.map-head h2 {
    font-size: var(--f40);
    font-weight: 600;
    line-height: 1.2em;
    color: #222;
    word-break: keep-all;
}

.map-head a {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #221E1F;
    font-weight: 500;
}

.map-head a::after {
    content: '+';
    display: inline-block;
    transition: transform 0.4s ease;
    margin-left: 3px;
}

.map-head a:hover::after {
    transform: rotate(180deg);
}

.m-map-info p {
    font-size: var(--f24);
    font-weight: 500;
    padding-bottom: 24px;
}

.m-map-info h3 {
    color: var(--main-color);
    font-size: var(--f32);
    font-weight: 600;
}

.quick-link-wrap {
    margin-top: 110px;
    border-block: 1px solid #ccc;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 16px;
}

.quick-link-wrap .quick-link {
    flex: 0 0 calc(50% - 8px);
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
}

.quick-info h3 {
    font-weight: 600;
    transition: 0.2s all ease-in-out;
}

.quick-info p {
    margin-top: 10px;
    font-size: var(--f14);
}

.quick-link-wrap .quick-link:hover h3{
    color: var(--sub-color)
}

/* 타이틀 모션 */
.news-head, .facil-head, .map-head {
    opacity: 0;
}

.news-head.active, .facil-head.active, .map-head.active {
    animation: slide-in-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s both;
}


.aside {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    width: 96px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.aside ul {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 0;
    align-items: center;
    background-color: #F9F9F9;
    border-radius: 600px;
}

.aside ul li {
    position: relative;
    text-align: center;
}

.aside ul li::after {
    content: '';
    width: 32px;
    height: 1px;
    background-color: #ccc;
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
}

.aside ul li:last-child::after {
    display: none;
}

.aside ul li a p {
    margin-top: 6px;
}

.aside-m {
    display: none;
}

/* 메인 팝업 */
.main-pop-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.main-pop {
    position: relative;
    width: 100%;
    max-width: 1144px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.pop-swiper {
    position: relative;
    width: 100%;
}

.pop-swiper .swiper-slide {
    position: relative;
}

.pop-swiper .swiper-slide img {
    width: 100%;
}

.main-pop .swiper-btn-prev,
.main-pop .swiper-btn-next {
    cursor: pointer;
}

.btn-pop-close {
    width: 100%;
    max-width: 1144px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.btn-pop-close button {
    cursor: pointer;
    background-color: #222;
    line-height: 35px;
    border-radius: 60px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: var(--f16);
}

@media (max-width: 1280px) {
    #fullpage {
        visibility: visible;
    }

    .aside {
        display: none;
    }

    .aside-m {
        display: block;
        position: absolute;
        z-index: 10;
        bottom: 20%;
        left: 0;
        width: 100%;
    }

    .aside-m ul {
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .aside-m ul li {
        background-color: #fff;
        border-radius: 50%;
        width: 88px;
        height: 88px;
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.08);
        opacity: 0;
        animation: fade 1s ease-in-out forwards;
    }

    .aside-m ul li:nth-child(1) {
        animation-delay: 0.6s;
    }

    .aside-m ul li:nth-child(2) {
        animation-delay: 0.9s;
    }

    .aside-m ul li:nth-child(3) {
        animation-delay: 1.2s;
    }

    .aside-m ul li a {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

    .sec-video {
        height: 100vh;
        min-height: 522px;
        /*max-height: 812px;*/
    }

    .video-content {
        position: absolute;
        inset: 0;
        z-index: 1;
        margin-top: -80px;
    }

    .sec-news {
        padding-left: 32px;
        padding-right: 32px;
    }

    .facil-head {
        margin: 30px 0 64px;
    }

    .facil-head a {
        bottom: -22px;
    }

    .map-head h2 {
        margin-top: 30px;
    }

    .quick-link-wrap {
        margin-top: 60px;
    }

    .quick-link-wrap .quick-link {
        gap: 0;
    }

    .news-head.active, .facil-head.active, .map-head.active {
        animation: slide-in-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }
}

@media (max-width: 1080px) {
    .crs-con span {
        font-size: var(--f16);
    }

    .crs-con strong {
        font-size: var(--f36);
    }

    .crs-con p {
        font-size: var(--f14);
        margin-top: 24px;
    }

    .crs-con a {
        font-size: var(--f16);
        line-height: 40px;
        margin-top: 24px;
        padding: 0 24px;
    }

    .sec-news {
        padding: 80px 0 80px 16px;
    }

    .sec-facil {
        flex-direction: column;
    }

    .news-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }

    .news-head h2,
    .facil-head h2 {
        font-size: var(--f24);
    }

    .news-head a,
    .facil-head a {
        font-size: var(--f14);
    }

    .news-slide .swiper-slide p {
        font-size: var(--f16);
    }

    .news-slide .swiper-slide span {
        font-size: var(--f14);
    }

    .news-slide .swiper-scrollbar {
        margin-top: 40px;
    }

    .facil-left {
        width: 100%;
        padding: 80px 16px 40px;
        align-items: flex-start;
        gap: 12px;
    }

    .facil-head {
        align-items: flex-start;
        margin-top: 0;
    }

    .facil-head a {
        left: 0;
        bottom: -34px;
    }

    .facil-left .facil-tab .facil-info p {
        display: none;
    }

    .facil-tab {
        max-width: none;
        width: 224px;
    }

    .facil-tab li {
        padding: 16px 0;
    }

    .facil-tab li strong {
        margin-bottom: 0;
        font-size: var(--f16);
    }

    .facil-right {
        width: 100%;
        aspect-ratio: 1 / 1.1;
        min-height: 388px;
    }

    .gal-prev,
    .gal-next {
        width: 54px;
        height: 54px;
    }

    .gal-prev img,
    .gal-next img {
        width: 54px;
        height: 54px;
    }

    .video-content h3 {
        font-size: var(--f20);
    }

    .video-content h1 img {
        width: 280px;
    }

    .sec-course {
        flex-direction: column;
        height: auto !important;
    }

    .crs-item {
        width: 100%;
        height: 400px;
    }

    .sec-map {
        flex-direction: column;
    }

    .map-left {
        width: 100%;
        height: 388px;
    }

    .map-right {
        width: 100%;
        padding: 80px 16px 40px;
        /*gap: 24px;*/
    }

    .map-head h2 {
        margin-top: 0;
        font-size: var(--f24);
    }

    .map-head a {
        font-size: var(--f14);
        left: 0;
        bottom: -34px;
    }

    .m-map-info {
        margin-top: 40px;
    }

    .m-map-info p {
        font-size: var(--f16);
        padding-bottom: 16px;
    }

    .m-map-info h3 {
        font-size: var(--f20);
    }

    .quick-link-wrap {
        margin-top: 40px;
        gap: 8px;
        padding: 24px 0;
    }

    .quick-link-wrap .quick-link {
        flex: 0 0 100%;
    }

    .quick-info h3 {
        font-size: var(--f14);
    }

    .quick-info p {
        font-size: var(--f12);
    }
}

@media (max-width: 600px) {
    .btn-pop-close {
        justify-content: center;
    }
}
