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

.main_b3_1.container_fix {
    max-width: 1510px !important;
}

/* 타이틀 */
.main_b3_1 .main_cont_title {
    margin-bottom: 60px;
    text-align: center;
}

.main_b3_1 .main_cont_title h2,
.main_b3_1 .main_cont_title h2 p {
    font-size: 52px;
    font-weight: 700;
    color: #0c0c0c;
}

.main_b3_1 .main_cont_title h3 {
    margin: 50px 0 40px;
}

.main_b3_1 .main_cont_title h3,
.main_b3_1 .main_cont_title h3 p {
    font-size: 20px;
    font-weight: 500;
    color: #5d5d5d;
    line-height: 30px;
}

.main_b3_1 .main_cont_title a {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    padding: 20px 33px;
    border: 1px solid #0c0c0c;
    border-radius: 28px;
}

.main_b3_1 .main_cont_title a span {
    color: #0c0c0c;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

/* 메인 배너 */
.main_b3_1 .main_b3_1_banner.swiper {
    border-radius: 20px;
    overflow: hidden;
    /* widget-wrap before보다 위로 올라오게 결정 */
    z-index: 2;
}

.main_b3_1 .main_b3_1_banner .swiper-wrapper {
    height: auto;
}

.main_b3_1 .main_b3_1_banner .swiper-slide {
    position: relative;
    overflow: hidden;
}

.main_b3_1 .main_b3_1_banner .swiper-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_b3_1 .main_b3_1_banner .txt_container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 40px;
    overflow: hidden;
}

.main_b3_1 .main_b3_1_banner .txt_container_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 40px 33px;
    background: #fff;
    border-radius: 52px;
    transition: transform 0.5s ease;
    position: relative;
}

/* visible_txt */
.main_b3_1 .main_b3_1_banner .visible_txt h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0c0c0c;
}


/* 모달창 */
.b3_1_modal {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.b3_1_modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.b3_1_modal .modal_inner {
    width: 100%;
    max-width: 1000px;
    height: 100%;
    max-height: 585px;
    padding: 35px 10px 70px 60px;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
}

.b3_1_modal .modal_inner .modal_close {
    display: block;
    margin-left: auto;
    margin-bottom: 30px;
    padding-right: 25px;
}

.b3_1_modal .modal_inner .modal_content {
    display: flex;
    align-items: flex-start;
    gap: 85px;
    height: 100%;
    overflow: hidden;
}

.b3_1_modal .modal_inner .modal_content .img_box {
    max-width: 260px;
    max-height: 260px;
    width: 100%;
    height: 100%;
}

.b3_1_modal .modal_inner .modal_content .img_box img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.b3_1_modal .modal_inner .modal_content .txt_box {
    flex: 1;
	height: 100%;
}

.b3_1_modal .modal_inner .modal_content .txt_box .title_box {
    display: flex;
    align-items: flex-end;
    width: calc(100% - 50px);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #0c0c0c;
}

.b3_1_modal .modal_inner .modal_content .txt_box .title_box .name {
    margin-right: 27px;
    font-size: 38px;
    font-weight: 700;
    color: #0c0c0c;
    line-height: 1;
}

.b3_1_modal .modal_inner .modal_content .txt_box .title_box span {
    display: inline-block;
    font-size: 17px;
    font-weight: 400;
    color: #5d5d5d;
    line-height: 1;
}

.b3_1_modal .modal_inner .modal_content .txt_box .title_box span.grade::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 10px;
    background: #c3c3c3;
}

.b3_1_modal .modal_inner .modal_content .txt_box .review_box {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    height: calc(100% - 149px);
}

.b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_title {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0c0c0c;
    line-height: 1;
}

.b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content {
    height: 100%;
    padding-right: 30px;
    font-size: 16px;
    font-weight: 400;
    color: #5d5d5d;
    line-height: 30px;
    overflow-y: auto;
    word-break: keep-all;
}

.b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content::-webkit-scrollbar {
    width: 6px;
}

.b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 3px;
}

.b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content::-webkit-scrollbar-thumb {
    background: #dfdfdf;
    border-radius: 3px;
}

.b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content::-webkit-scrollbar-button {
    display: none;
}

@media (max-width: 991px) {
    /* 타이틀 */
    .main_b3_1 .main_cont_title {
        margin-bottom: 88px;
    }
    
    .main_b3_1 .main_cont_title h2,
    .main_b3_1 .main_cont_title h2 p {
        font-size: 30px;
        line-height: 40px;
    }
    
    .main_b3_1 .main_cont_title h3 {
        margin: 23px 0 25px;
    }
    
    .main_b3_1 .main_cont_title h3,
    .main_b3_1 .main_cont_title h3 p {
        font-size: 15px;
        line-height: 21px;
    }
    
    .main_b3_1 .main_cont_title a {
        gap: 14px;
        padding: 14px 20px;
        border-radius: 23px;
    }
    
    .main_b3_1 .main_cont_title a span {
        font-size: 15px;
    }
    
    /* 메인 배너 */  
    .main_b3_1 .main_b3_1_banner .txt_container {
        padding: 25px 15px;
    }
    
    .main_b3_1 .main_b3_1_banner .txt_container_inner {
        padding: 25px;
        border-radius: 33px;
    }
    
    /* visible_txt */
    .main_b3_1 .main_b3_1_banner .visible_txt h2 {
        font-size: 17px;
    }


    /* 모달창 */
    .b3_1_modal .modal_inner {
        max-width: calc(100% - 20px);
        max-height: 545px;
        padding: 13px 7px 13px 20px;
        border-radius: 23px;
    }
    
    .b3_1_modal .modal_inner .modal_close {
        margin: 0 auto;
        margin-bottom: 35px;
    }

    .b3_1_modal .modal_inner .modal_close .modal_bar {
        display: inline-block;
        width: 46px;
        height: 4px;
        background: #e1e1e1;
        border-radius: 4px;
    }
    
    .b3_1_modal .modal_inner .modal_content {
        flex-direction: column;
        gap: 0;
    }
    
    .b3_1_modal .modal_inner .modal_content .img_box {
        position: relative;
        display: flex;
        align-items: center;
        gap: 28px;
        max-width: none;
        max-height: none;
        width: 100%;
        height: 100%;
        margin-bottom: 23px;
        padding-bottom: 30px;
    }

    .b3_1_modal .modal_inner .modal_content .img_box::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        display: block;
        width: calc(100% - 13px);
        height: 1px;
        background: #0c0c0c;
    }
    
    .b3_1_modal .modal_inner .modal_content .img_box img {
        width: calc((100% - 28px) / 2);
        border-radius: 10px;
    }

    .b3_1_modal .modal_inner .modal_content .img_box .title_box {
        width: calc((100% - 28px) / 2);
    }
    
    .b3_1_modal .modal_inner .modal_content .img_box .title_box .name {
        margin-bottom: 15px;
        font-size: 18px;
        font-weight: 700;
        color: #0c0c0c;
        line-height: 1;
    }
    
    .b3_1_modal .modal_inner .modal_content .img_box .title_box span {
        display: inline-block;
        font-size: 13px;
        font-weight: 400;
        color: #5d5d5d;
        line-height: 1;
    }
    
    .b3_1_modal .modal_inner .modal_content .img_box .title_box span.grade::before {
        content: '';
        display: inline-block;
        width: 1px;
        height: 9px;
        margin: 0 8px;
        background: #c3c3c3;
    }

    .b3_1_modal .modal_inner .modal_content .txt_box {
        height: 100%;
    }
    
    .b3_1_modal .modal_inner .modal_content .txt_box .review_box {
        gap: 25px;
        height: calc(100% - 275px);
    }
    
    .b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_title {
        display: inline-block;
        padding-left: 20px;
        font-size: 13px;
    }
    
    .b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content {
        padding-right: 5px;
        font-size: 13px;
        line-height: 24px;
        letter-spacing: -0.02em;
    }
    
    .b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content::-webkit-scrollbar {
        width: 3px;
    }
    
    .b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content::-webkit-scrollbar-track {
        border-radius: 2px;
    }
    
    .b3_1_modal .modal_inner .modal_content .txt_box .review_box .review_content::-webkit-scrollbar-thumb {
        border-radius: 2px;
    }
}