@charset "utf-8";

:root {
    --main-color1: #302d90;
}

/*** main_banner **/
#main_content {
    word-break: keep-all;
    letter-spacing: -0.05em;

}

#main_content .visual {
    position: relative;
    height: 100%;
}

#main_content .visual .slider1 {
    width: 100%;
    height: 100%;
}

#main_content .visual .slider1 .slide_box {
    background-color: rgba(255, 255, 255, 0.2);
}

#main_content .visual .slider1 .slide_box img {
    height: 100vh;
    object-fit: cover;
    width: 100vw;
}

#main_content .visual .main_banner img {
    margin-top: 10%;
}

#main_content .visual .main_banner {
    position: absolute;
    bottom: 30%;
    left: 3%;
    /* transform: translate(-50%, -50%); */
}

#main_content .visual .main_banner .title {
    color: #ffffff;
    line-height: 62px;
    letter-spacing: -0.01em;
}


#main_content .visual .main_banner .content {
    color: rgba(224, 224, 224, 1);
    line-height: 28px;
    letter-spacing: -0.03em;
}


.main_banner {
    color: white;
}

/* main_banner2 */
#main_content .visual .main_banner2 {
    position: absolute;
    box-sizing: border-box;
    padding-top: 150px;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 30;
}

#main_content .visual .main_banner2 .box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(112, 112, 112, 1);
    background-color: rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding: 10% 10%;
    cursor: pointer;
}

#main_content .visual .main_banner2 .box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-pagination {
    position: absolute;
    bottom: 12.5%;
    left: 3%;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
}

.nav-item .num {
    color: #ffffff;
    opacity: 0.6;

}

.nav-item .line-container {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.nav-item .line {
    width: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin-left: 0;
    overflow: hidden;
    transition: width 0.5s ease, margin 0.5s ease;
}

.nav-item .fill {
    width: 0%;
    height: 100%;
    background: #fff;
}

.nav-item.active .num {
    opacity: 1;
    display: flex;
    align-items: flex-start;
    text-align: left;

}

.nav-item.active .line {
    width: 12.5vw;
    margin-left: 0;
    transform: translateY(15px);

}

.nav-item.active .fill {
    animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}


/* mobile */
@media screen and (max-width: 767px) {


    /* main_banner */
    #main_content .visual .slider1,
    .slide_box {
        height: 70vh;
        width: 100%;
    }

    /* 모바일 반응형 (768px 이하) */
    .doc-inner {
        flex-direction: column;
        /* 세로 배치로 변경 */
        text-align: center;
    }

    .doc-img,
    .doc-info {
        width: 100%;
    }

    .doc-img {
        margin-bottom: 30px;
    }

    .doc-info .history {
        text-align: left;
        /* 약력은 왼쪽 정렬 유지 */
        display: inline-block;
    }


    .visual .arrow {
        display: none;
    }


    /* main */

    #main_content {
        display: flex;
        flex-direction: column;
    }

    #main_content .visual .main_banner .content{
        color: #FFFFFF;
    }
    #main_content .main_banner .title {
        padding: 0 20px;
        font-size: 25px;
    }

    #main_content .visual .main_banner2 {
        padding-top: 60px;
        width: 125px;
    }

    .custom-pagination{
        padding: 0 20px;
    }



        /* main_sect1 */
    .section1 {}


    /* main_sect2 */
    .section2 {}

    /* main_sect3 */
    .section3 {}


}


/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {}