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

/* 타이틀 */
.main_funeral .title_wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 68px;
    padding: 25px 0;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.03);
}

.main_funeral .title_wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 50px;
    background-color: #ebebeb;
}

.main_funeral .title_wrap .title_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% / 2);
}

.main_funeral .title_wrap .title_inner h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    color: #666666;
    text-align: center;
}

.main_funeral .title_wrap .title_inner img {
    display: block;
    width: auto;
    max-height: 70px;
    object-fit: contain;
}

/* 리스트 */
.main_funeral .list_wrap {
    display: flex;
    gap: 60px;
}

.main_funeral .list_wrap .list_inner {
    width: calc((100% - 60px) / 2);
}

.main_funeral .list_wrap .list_inner .list_item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    border-top: 1px solid #ebebeb;
}

.main_funeral .list_wrap .list_inner .list_item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: calc(100% - 54px);
    background-color: #ebebeb;
}

.main_funeral .list_wrap .list_inner .list_item:last-child {
    border-bottom: 1px solid #ebebeb;
}

.main_funeral .list_wrap .list_inner .list_item .item_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% / 2);
}

.main_funeral .list_wrap .list_inner .list_item .item_inner h4 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: #666666;
    text-align: center;
}

.main_funeral .list_wrap .list_inner .list_item .item_inner img {
    width: auto;
    max-height: 60px;
    object-fit: contain;
}

@media (max-width: 991px) {
    /* 타이틀 */
    .main_funeral .title_wrap {
        margin-bottom: 30px;
        padding: 15px 0;
        border-radius: 4px;
    }

    .main_funeral .title_wrap::before {
        height: calc(100% - 40px);
    }

    .main_funeral .title_wrap .title_inner h3 {
        font-size: 13px;
        line-height: 19px;
    }

    .main_funeral .title_wrap .title_inner img {
        width: 50%;
    }

    /* 리스트 */
    .main_funeral .list_wrap {
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #ebebeb
    }

    .main_funeral .list_wrap .list_inner {
        width: 100%;
    }

    .main_funeral .list_wrap .list_inner .list_item {
        padding: 13px 0;
    }

    .main_funeral .list_wrap .list_inner .list_item:last-child {
        border-bottom: 0;
    }

    .main_funeral .list_wrap .list_inner .list_item::before {
        height: calc(100% - 30px);
    }

    .main_funeral .list_wrap .list_inner .list_item .item_inner h4 {
        font-size: 13px;
        line-height: 19px;
    }

    .main_funeral .list_wrap .list_inner .list_item .item_inner img {
        width: 70%;
    }
}