.part1{
    position: relative;
    width: 100%;
    height: calc(100vh - 100px);
    overflow: hidden;
    z-index: -100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
}

.part1 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 비디오가 부모 요소에 가득 차도록 설정 */
}

.part1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.part1_textarea {
    position: relative;
    z-index: 1; /* 비디오 위에 오도록 설정 */
    color: white; /* 텍스트 색상을 원하는 대로 설정 */
    text-align: center;
    padding: 20px;
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 15%;
}

.part1_t_title{
    width: 100%;
    text-align: left;
    color: #FFF;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 5rem;
    letter-spacing: -1px;
}

.part1_t_text{
    width: 100%;
    text-align: left;
    color: #FFF;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.5rem; /* 150% */
    letter-spacing: -1px;
}

.m_b_br{
    display: none;
}

.part2 {
    position: relative;
    z-index: 0;
}

.slider-container {
    overflow: hidden;
    width: 100%;
    height: 300px;
    position: relative;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; /* 텍스트 색상 */
    background-color: rgba(0, 0, 0, 0.5); /* 배경 색상과 투명도 */
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 0;
}

.part2_t_title{
    width: 100%;
    text-align: center;
    color: #FFF;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3rem;
    letter-spacing: -1px;
}

.part2_t_text{
    width: 100%;
    text-align: center;
    color: #FFF;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem; /* 150% */
    letter-spacing: -1px;
}

.pagination {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 30px; /* 슬라이드 높이에 맞게 조정 */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    z-index: 1000; /* 텍스트 오버레이보다 위에 위치하도록 조정 */
    bottom: 10px; /* 배너 위에서부터 10px 아래로 위치하도록 조정 */
}

.dot {
    display: inline-block;
    width: 30px;
    height: 10px;
    background-color: #fff;
    border-radius: 10px;
    margin: 0 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* 그림자 효과 설정 */
    cursor: pointer;
}

.dot.active {
    background-color: #4C34E0;
}


.part3{
    width: 100%;
    /**display: flex; 리뉴얼시 사용**/
    display: none;
    flex-direction: row;
    align-items: flex-start;
    padding: 150px 170px;
}

.part3_title{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
}

.p3_title_text{
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.p3_title_btn{
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
}

.part3_list{
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.post{
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-bottom: 1px solid #222;
    padding: 30px 20px;
    cursor: pointer;
}

.post_none{
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #222;
    padding: 100px;
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post_none:first-child{
    border-top: 2px solid #222;
}


.post:first-child{
    border-top: 2px solid #222;
}

.post:last-child{
    border-bottom: 2px solid #222;
}



.post-title{
    width: 100%;
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-date{
    width: 100%;
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.part4{
    width: 100%;
    /**display: flex; 리뉴얼시 사용**/
    display: none;
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url(/img/index/main_part4.jpg) lightgray 50% / cover no-repeat;
    justify-content: center;
    padding: 150px 10%;

}

.p4_btn{
    width: 25%;
    height: 282px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0px 0px 10px 0px rgba(29, 60, 120, 0.25);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.p4_icon{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.p4_icon img{
    width: auto;
    height: 55px;
}

.p4_title{
    display: flex;
    padding-top: 85px;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: row;
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2rem;
}

.p4_more{
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem; 
}


.part5{
    width: 100%;
    /**display: flex; 리뉴얼시 사용**/
    display: none;
    flex-direction: row;
    align-items: flex-start;
    padding: 150px 170px;
}

.part5_title{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
}

.p5_title_text{
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.p5_title_btn{
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
}

.part5_list{
    width: 70%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
}

.gallery_post{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
    cursor: pointer;
}

.gallery_post_none{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
}

.gallery_post-thumbnail {
    width: 100%;
    height: 250px;
    background: url(/img/index/gallery_post.png) center/cover no-repeat;
    margin-bottom: 10px;
}

.gallery_post_text{
    width: 100%;
}



.gallery_post-title{
    width: 100%;
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery_post-date{
    width: 100%;
    color: #222;
   font-family: 'NanumBarunGothic', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m_br{
    display: none;
}


@media all and (max-width: 1650px) {

    .part1{
        margin-top: 80px;
    }

    .part3{
        flex-direction: column;
        gap: 50px;
        padding: 150px 10%;
    }
    
    .part3_title{
        width: 100%;
    }

    .part3_list{
        width: 100%;
    }



    .part5{
        flex-direction: column;
        gap: 50px;
        padding: 150px 10%;
    }

    .part5_title{
        width: 100%;
    }

    .part5_list{
        width: 100%;
    }

}

@media all and (max-width: 1250px) {

    .part1_t_title{
        font-size: 3rem;
        line-height: 4rem;
    }

    .part1_t_text{
        font-size: 1.5rem;
        line-height: 2.5rem;
    }

    .part4{
        flex-wrap: wrap;
        gap: 30px;
    }

    .p4_btn{
        width: 300px;
        padding: 30px;
    }

}

@media all and (max-width: 815px) {

    .m_b_br{
        display: block;
    }

    .part1_t_title{
        font-size: 2rem;
        line-height: 3rem;
    }

    .part1_t_text{
        font-size: 1.1rem;
        line-height: 2rem;
    }

    .part2_t_title{
        font-size: 2rem;
        line-height: 3rem;
    }

    .part2_t_text{
        font-size: 1.1rem;
        line-height: 2rem;
    }

    .p4_btn{
        width: 250px;
        height: 250px;
    }

    .part5_list{
        flex-direction: column;
        gap: 40px;
    }

    .gallery_post{
        width: 100%;
    }

    .p3_title_text{
        font-size: 2rem;
        line-height: 3rem;
    }

    .p5_title_text{
        font-size: 2rem;
        line-height: 3rem;
    }

    .p5_title_btn{
        font-size: 1.1rem;
        line-height: 2rem;
    }

    .post{
        padding: 20px 10px;
    }


}

@media all and (max-width: 690px) {

    .part4{
        justify-content: space-between
    }

    .p4_btn{
        width: 45%;
        height: 250px;
    }

    .p4_title{
        padding-top: 50px;
        font-size: 1.1rem;
        line-height: 2rem;
    }

    .m_br{
        display: block;
    }

    .part1_t_title{
        font-size: 1.5rem;
        line-height: 2.5rem;
    }

    .part1_t_text{
        font-size: 1rem;
        line-height: 2rem;
    }

    .part2_t_title{
        font-size: 1.5rem;
        line-height: 2.5rem;
    }

    .part2_t_text{
        font-size: 1rem;
        line-height: 2rem;
    }

    .post-title{
        font-size: 1.1rem;
        line-height: 2rem;
    }

    .post-date{
        font-size: 1rem;
        line-height: 2rem;
    }

    .gallery_post-title{
        font-size: 1.1rem;
        line-height: 2rem;
    }

    .gallery_post-date{
        font-size: 1rem;
        line-height: 2rem;
    }
}

@media all and (max-width: 500px) {

    .part4{
        gap: 15px;
    }

    .p4_btn{
        height: 150px;
        gap: 30px;
        padding: 30px 15px;
    }

    .p4_icon{
        width: 100%;
        justify-content: center;
    }

    .p4_title{
        justify-content: center;
        padding-top: 0px;
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .p4_icon img{
        width: 30%;
        height: auto;
    }

    .p4_more{
        display: none;
    }

    .post-date{
        font-size: 1rem;
        line-height: 2rem;
    }

    .gallery_post-date{
        font-size: 1rem;
        line-height: 2rem;
    }
}



