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


.main_mb21 .main_cont_container {
    position: relative;
    flex: 1;
    overflow: hidden;
    padding: 0;
}


.main_mb21 .main_container_inner {
    display: flex;
    align-items: center;
    gap: 0px;
    width: 100%;
    height: 100%;
}

/* 텍스트 정보 */
.main_mb21 .txt_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40%;
    height: 100%;
}

/*  텍스트 요소이미지 */
.main_mb21 .main_container_inner .itemSubImg {
    width: auto;
    margin: 0 auto 30px auto;
}

/* 타이틀 */
.main_mb21 .inner_title {
    margin-bottom: 32px;
}

.main_mb21 .inner_title h2 {
    font-size: 65px;
    line-height: 1.23;
    font-weight: 700;
    color: #0c0c0c;
    display: inline-block;
    width: auto;
}

/* 서브타이틀 */
.main_mb21 .inner_subtitle {
    margin-bottom: 45px;
}

.main_mb21 .inner_subtitle h3 {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    color: #666666;
    display: inline-block;
    width: auto;
}

/* 더보기 */
.main_mb21 .btn_container {
    display: flex;
    gap: 10px;
}

.main_mb21 .btn_container a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    padding: 0 29px;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    border-radius: 4px;
    transition: .3s;
}

.main_mb21 .btn_container a {
    color: #fff;
    background-color: #583d2c;
}
.main_mb21 .btn_container a:hover {
    background-color: #684c3b;
    transition: .3s;
}

/* 이미지 정보 */
.main_mb21 .img_container {
    width: 55%;
    max-width: 1041px;
    height: 100%;
	border-radius:20px 0 0 20px;
    overflow: hidden;
}

.main_mb21 .img_container a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
}

.main_mb21 .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius:20px 0 0 20px;
	overflow:hidden;
}


/* 메인 동영상 */
.main_mb21 .iframe_container {
    position: relative;
    height: 100%;
}

.main_mb21 .iframe_container .iframe_container_inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
    border-radius:20px 0 0 20px;
    overflow: hidden;
}

.main_mb21 .iframe_container iframe {
    position: absolute;
    left: 0;
    top: -60px;
    width: 100%;
    height: calc(100% + 120px);
    object-fit: cover;
}

/* 메인스와이프 동영상 요소이미지 */
.main_mb21 .iframe_container .itemSubVideoImg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_mb21 .iframe_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    cursor: grab; /* 메인스와이프 UI 힌트를 제공 */
}


@media (min-width:1921px) {
    .main_mb21 .main_cont_container  {
        max-width: 1950px;
        width: 100%;
        padding: 0 15px;
        margin: 0 auto;
    }

    .main_mb21 .img_container {
        border-radius:20px;
    }
}

@media (max-width:1800px) {
    .main_mb21 .txt_container {
        transform: none;
    }
    .main_mb21 .txt_container_inner {
        padding: 0;
    }

    .main_mb21 .img_container {
        padding: 6% 0;
    }
}

@media (max-width:1480px) {
    .main_mb21 .inner_title h2 {
        font-size: 55px;
    }

    .main_mb21 .inner_subtitle h3 {
        font-size: 18px;
    }

    .main_mb21 .img_container {
        width: 50%;
    }
}

@media (max-width:1280px) {
    .main_mb21 .inner_title h2 {
        font-size: 48px;
    }

    .main_mb21 .inner_subtitle h3 {
        font-size: 15px;
    }
}