/*
(주)파이브센스_FIVESENSES.Corp.
파이브프로_FIVEPro_웹솔루션.
본 라이브러리(소스코드 및 디자인 포함)는 (주)파이브센스의 자산이며, 저작권법 및 부정경쟁방지법에 의해 보호됩니다.
무단 사용, 외부 유출, 복제, 배포, 변형을 금지합니다.
위반 시 민·형사상 법적 책임 및 손해배상 청구 대상이 됩니다.
작성일: 2025-03-18 | 저작권자: (주)파이브센스(520-86-01244) | All Rights Reserved.
*/


.TXT13 .main_wrap {
    position: relative;
    z-index: 2;
}


.TXT13 .title_box {
    width: 100%;
    display: inline-flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}
.TXT13 .title_box .category {
    display: inline-block;
    width: auto;
    font-size: 24px;
    font-weight: bold;
    color: var(--main-point-btn-line-color-hover);
}
.TXT13 .title_box .title {
    display: inline-block;
    width: auto;
    font-size: 65px;
    font-weight: bold;
    line-height: 1.31;
    color: black;
    margin-top: 31px;
    margin-bottom: 85px;
}

.TXT13 .main_box {
    width: 100%;
}
.TXT13 .main_box .sliderWrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    position: absolute;
    left: 0;
    margin: 0;
    padding: 0;
}

.TXT13 .main_box .sliderWrap .imgSlide {
    display: flex !important;
    flex-shrink: 0 !important; /* 중요: 부모가 좁아져도 절대 줄어들지 않음 */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    white-space: nowrap;
    font-size: 0;
    animation: rolling1 30s linear infinite;
}

.TXT13 .main_box .sliderWrap .imgSlide.clone {
    animation: rolling2 30s linear infinite;
}

.TXT13 .main_box .sliderWrap .imgSlide .li_slide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 27px 0;
    aspect-ratio: 1/1;
    width: 370px;
    flex: 0 0 370px;
    margin-left: 40px;
    padding: 50px 40px 50px 48px;
    box-sizing: border-box;
    border-radius: 15px;
    background-color: #fff;
}
.TXT13 .main_box .sliderWrap .imgSlide .li_slide .subtitle {
    font-size: 38px;
    line-height: 1.32;
    font-weight: 700;
    word-break: keep-all;
}
.TXT13 .main_box .sliderWrap .imgSlide .li_slide .subtext {
    font-size: 18px;
    font-weight: 400;
    color: #5d5d5d;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    white-space: normal;
}
.TXT13 .main_box .sliderWrap .imgSlide .li_slide:hover {
    background-color: var(--main-point-btn-line-color-hover);
    color: white;
}
.TXT13 .main_box .sliderWrap .imgSlide .li_slide:hover .subtext {
    color: white;
}

@keyframes rolling1 {
    0% { transform: translateX(0); }
    50% { transform: translateX(-100%); }      /* 왼쪽으로 완전히 사라짐 */
    50.001% { transform: translateX(100%); }   /* 오른쪽 끝으로 순간이동 */
    100% { transform: translateX(0); }         /* 다시 제자리로 돌아오며 무한반복 */
}

@keyframes rolling2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200%); }     /* 1번을 따라 왼쪽으로 2배 거리만큼 이동 */
}



@media (max-width:1560px) {
    .TXT13 .title_box .category {
        font-size: 20px;
    }
    .TXT13 .title_box .title {
        font-size: 45px;
        margin-top: 2.5%;
        margin-bottom: 6%;
    }

    .TXT13 .main_box .sliderWrap .imgSlide .li_slide {
        gap: 24px 0;
        width: 350px;
        flex: 0 0 350px;
        padding: 35px;
        margin-left: 30px;
    }
    .TXT13 .main_box .sliderWrap .imgSlide .li_slide .subtitle {
        font-size: 32px;
    }
}


@media (max-width:991px) {
    .TXT13 .title_box {
        align-items: center;
    }
    .TXT13 .title_box .category {
        font-size: 20px;
        text-align: center;
    }
    .TXT13 .title_box .title {
        margin-top: 18px;
        margin-bottom: 41px;
        font-size: 32px;
        line-height: 1.25;
        text-align: center;
    }

    .TXT13 .main_box .sliderWrap .imgSlide .li_slide {
        gap: 20px;
        width: 275px;
        height: 100%;
        padding: 38px 33px 33px;
        flex: 0 0 275px;
        border-radius: 12px;
        margin-left: 17px;
    }
    .TXT13 .main_box .sliderWrap .imgSlide .li_slide .subtitle {
        font-size: 25px;
		line-height:1.2;
    }
    .TXT13 .main_box .sliderWrap .imgSlide .li_slide .subtext {
        font-size: 15px;
		line-height:1.53;
		font-weight:500;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }
}
