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

/* 타이틀 */
.main_cases .title_wrap {
    margin-bottom: 40px;
}

.main_cases .title_wrap .title_container {
    margin-bottom: 50px;
}

.main_cases .title_wrap .title_container .title {
    margin-bottom: 20px;
    font-size: 45px;
    font-weight: 700;
    line-height: 1.3;
    color: #222222;
}

.main_cases .title_wrap .title_container .subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #5d5d5d;
}

/* 탭 */
.main_cases .title_wrap .tab_container .tab_inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main_cases .title_wrap .tab_container .tab_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 13px 23px;
    color: #5d5d5d;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
}

.main_cases .title_wrap .tab_container .tab_menu.active {
    font-weight: 700;
    color: #fff;
    background-color: #4eb449;
}

/* 컨텐츠 */
.main_cases .content_wrap .content_list {
    display: none;
    flex-wrap: wrap;
    gap: 30px;
}
.main_cases .content_wrap .content_list.active {
    display: flex;
}

.main_cases .content_wrap .content_list .content_item {
    width: calc((100% - 60px) / 3);
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.main_cases .content_wrap .content_list .content_item .img_box {
    position: relative;
    width: 100%;
    min-height: 230px;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    background-color: #2e7d32;
    border-radius: 13px;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker.sticker1 {
    background-color: #2e7d32;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker.sticker2 {
    background-color: #1565c0;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker.sticker3 {
    background-color: #00838f;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker.sticker4 {
    background-color: #e65100;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker.sticker5 {
    background-color: #6a1b9a;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker.sticker6 {
    background-color: #ad1457;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker.sticker7 {
    background-color: #f57f17;
}

.main_cases .content_wrap .content_list .content_item .img_box .sticker.sticker8 {
    background-color: #4527a0;
}

.main_cases .content_wrap .content_list .content_item .img_box .item_img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_cases .content_wrap .content_list .content_item .text_box {
    width: 100%;
    min-height: 220px;
    padding: 25px 30px;
}

.main_cases .content_wrap .content_list .content_item .text_box .item_tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #4eb449;
}

.main_cases .content_wrap .content_list .content_item .text_box .item_title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #0c0c0c;
}

.main_cases .content_wrap .content_list .content_item .text_box .item_text {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 400;
    line-height: 29px;
    color: #5d5d5d;
}

.main_cases .content_wrap .content_list .content_item .text_box .sub_box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main_cases .content_wrap .content_list .content_item .text_box .sub_box .item_sub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #999999;
}

.main_cases .content_wrap .content_list .content_item .text_box .sub_box .item_sub::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    background-color: #4eb449;
}

@media (max-width: 991px) {
    /* 타이틀 */
    .main_cases .title_wrap {
        margin-bottom: 30px;
    }

    .main_cases .title_wrap .title_container {
        margin-bottom: 40px;
    }

    .main_cases .title_wrap .title_container .title {
        margin-bottom: 18px;
        font-size: 29px;
    }

    .main_cases .title_wrap .title_container .subtitle {
        font-size: 15px;
        line-height: 18px;
    }

    /* 탭 */
    .main_cases .title_wrap .tab_container {
        overflow: visible;
    }

    .main_cases .title_wrap .tab_container .tab_inner {
        gap: 0;
    }

    .main_cases .title_wrap .tab_container .tab_menu {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 16px;
    }

    /* 컨텐츠 */
    .main_cases .content_wrap .content_list {
        flex-direction: column;
        gap: 15px;
    }

    .main_cases .content_wrap .content_list .content_item {
        width: 100%;
        border-radius: 10px;
    }

    .main_cases .content_wrap .content_list .content_item .img_box {
        min-height: 170px;
    }

    .main_cases .content_wrap .content_list .content_item .img_box .sticker {
        top: 12px;
        left: 12px;
        padding: 5px 9px;
        font-size: 12px;
        border-radius: 12px;
    }

    .main_cases .content_wrap .content_list .content_item .text_box {
        min-height: 160px;
        padding: 23px;
    }

    .main_cases .content_wrap .content_list .content_item .text_box .item_tag {
        font-size: 14px;
    }

    .main_cases .content_wrap .content_list .content_item .text_box .item_title {
        margin-bottom: 16px;
        font-size: 17px;
    }

    .main_cases .content_wrap .content_list .content_item .text_box .item_text {
        font-size: 14px;
        line-height: 20px;
    }

    .main_cases .content_wrap .content_list .content_item .text_box .sub_box {
        gap: 15px;
    }

    .main_cases .content_wrap .content_list .content_item .text_box .sub_box .item_sub {
        gap: 4px;
        font-size: 13px;
    }
    
    /* 더보기 */
    .main_cases .content_wrap .more_container {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        min-width: 143px;
        margin-top: 48px;
        padding: 15px 18px;
        background-color: #fff;
        border-radius: 21px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .main_cases .content_wrap .more_container:hover {
        background-color: #4eb449;
    }

    .main_cases .content_wrap .more_container .more_text {
        font-size: 15px;
        font-weight: 500;
        line-height: 1;
        color: #5d5d5d;
    }

    .main_cases .content_wrap .more_container:hover .more_text {
        color: #fff;
    }

    .main_cases .content_wrap .more_container .more_icon {
        position: relative;
    }

    .main_cases .content_wrap .more_container .more_icon::before,
    .main_cases .content_wrap .more_container .more_icon::after {
        content: '';
        display: block;
        width: 10px;
        height: 1px;
        background-color: #999;
    }

    .main_cases .content_wrap .more_container .more_icon::after {
        position: relative;
        top: -1px;
        transform: rotate(90deg);
    }
    .main_cases .content_wrap .more_container.is-expanded .more_icon::after {
        display: none;
    }

    .main_cases .content_wrap .more_container:hover .more_icon::before,
    .main_cases .content_wrap .more_container:hover .more_icon::after {
        background-color: #fff;
    }
}
