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

/* 텍스트 박스 */
.TXT5 .main_box .text_box {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.TXT5 .main_box .text_box .left_box {
    display: inline-flex;
    flex-direction: column;
    align-items: start;
    width: 38%;
}

.TXT5 .main_box .text_box .left_box .subtitle {
    display: inline-block;
    width: auto;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
    color: var(--main-box-font-point-color);
    word-break: keep-all;
}

.TXT5 .main_box .text_box .left_box .title {
    display: inline-block;
    width: auto;
    font-size: 58px;
    font-weight: 800;
    color: #000000;
    word-break: keep-all;
}

.TXT5 .main_box .text_box .right_box {
    width: 62%;
    display: flex;
    flex-direction: column;
    gap: 85px;
    padding-top: 3.5%;
}

.TXT5 .main_box .text_box .right_box .text {
    width: 100%;
    font-size: 20px;
    line-height: 30px;
    color: #5d5d5d;
}

/* 바디 */
.TXT5 .content_box {
    position: relative;
    z-index: 2;
}
.TXT5 .content_box .main_list { 
    display: flex; 
    flex-direction: column;
}
.TXT5 .content_box .main_list li { 
    border-bottom: 1px solid #e6e6e6; 
    transition: all .3s ease-in-out;
}
.TXT5 .content_box .main_list li:nth-child(n+2) a {
    padding-top: 60px;
}
.TXT5 .content_box .main_list a { 
    position: relative; 
    display: flex; 
    flex-direction: column;
    gap: 10px;
    padding: 60px 0; 
}
.TXT5 .content_box .main_list .listtitle { 
    font-size: 33px; 
    font-weight: 700; 
    color: #0c0c0c;
    transition: all .3s ease-in-out;
}
.TXT5 .content_box .main_list .listtext { 
    display: block; 
    color: #5d5d5d;
    font-weight: 500; 
    font-size: 20px; 
}

.TXT5 .content_box .main_list .img_box { 
    position: absolute; 
    max-width: 530px; 
    max-height: 320px;
    top: 57%; 
    right: -17%; 
    transition: all .5s ease-out; 
    opacity: 0; 
    transform: translateY(-50%); 
}

.TXT5 .content_box .main_list .img_box img {
    border-radius: 20px;
}

.TXT5 .content_box .main_list .img_box:before { 
    position: absolute; 
    display: inline-block;
    top: 50%; 
    left: -64px; 
    width: 128px; 
    height: 128px; 
    transform: translateY(-50%); 
    border-radius: 50%; 
    background:var(--main-btn-point-color) url('./img/arrow.png'); 
    background-repeat: no-repeat; 
    background-position: 50%; 
    content: ''; 
    z-index: 10; 
}
.TXT5 .content_box .main_list .img_box:after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    right: 0; 
    width: 100%; 
    height: 100%; 
    background: white; 
    transition: width 0.6s ease-out;
}

/* 호버 효과 */
.TXT5 .content_box .main_list li:hover  {
    border-bottom: 1px solid #0c0c0c;
}
.TXT5 .content_box .main_list li:hover .img_box{  
    opacity: 1;  
    z-index: 10;
}
.TXT5 .content_box .main_list li:hover .img_box:after  { 
    width: 0;
}

@media (max-width:991px){
    .TXT5 .main_box .text_box {
        flex-direction: column;
        gap: 29px;
    }

    .TXT5 .main_box .text_box .left_box {
        width: 100%;
        align-items: center;
    }

    .TXT5 .main_box .text_box .left_box .subtitle {
        margin-bottom: 17px;
        font-size: 14px;
        line-height: 20px;
    }

    .TXT5 .main_box .text_box .left_box .title {
        font-size: 31px;
    }

    .TXT5 .main_box .text_box .right_box .text {
        font-size: 15px;
        line-height: 23px;
        text-align: center;
    }

    .TXT5 .main_box .text_box .right_box {
        gap: 32px;
        width: 100%;
        padding: 0;
    }

    .TXT5 .content_box {
        padding: 0 7px;
    }

    .TXT5 .content_box .main_list a {  
        padding: 40px 0; 
    }

    .TXT5 .content_box .main_list li:nth-child(n+2) a {
        padding-top: 38px;
    }

    .TXT5 .content_box .main_list .listtitle {
        font-size: 25px;
    }

    .TXT5 .content_box .main_list .listtext {
        font-size: 15px;
    }

    .TXT5 .content_box .main_list li:hover  { 
        border-bottom: 1px solid #e6e6e6; 
    }
}