@charset "UTF-8";
.video-container {
    position: relative;
    width: 100%; /* 전체 너비 */
    height: calc(100vh - -153px); /* GNB 아래 남은 화면 높이 */
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: auto; /* 가로 비율 맞춤 */
    min-width: 100%; /* 가로가 빈공간 없이 꽉 차도록 */
    transform: translateX(-50%); /* 중앙 정렬 */
    border: none;
}

.index-body>.index-body-container{
    position: relative;
    width: 100%;
    height: 100vh; /* 화면 전체 높이를 사용 */
    font-weight: bold;
}
.index-body>.index-body-container.index-text-wapper{

}
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100%;
    -webkit-user-drag: none; /* Chrome, Safari */
    -khtml-user-drag: none; /* Konqueror HTML */
    -moz-user-drag: none; /* Firefox */
    user-drag: none; /* Non-prefixed version, currently supported by Opera */
    pointer-events: none; /* 포인터 이벤트를 차단 */
}
.carousel .video-text{
    width: 100%;
    height: 356px;
    position: absolute;
    color: white;
    top: 15%;
    left: -10%;
    text-align: right;
}

.carousel .video-text img{
    width: 420px;
    right: -4%;
    position: relative;
}
.carousel .video-text h1{
    font-size: 150px;
    margin-bottom: 50px;
}
.carousel .video-text p{
    font-size: 38px;
}
.carousel .carousel-inner.index-mobile {
    display: none;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
}
.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}
.carousel-item img {
    width: 100%;
    filter: brightness(50%);
}
.carousel-item::before {
    content: "";
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
}
.carousel>button {
    position: absolute;
    top: 43%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;z-index: 10;
    width: 50px;
    height: 100px;
}
.prev {
    left: 0;
}

.next {
    right: 0;
}
.carousel>.index-text-rapper{
    position: absolute;
    top: 42%;
    left:50%;
    transform: translate(-50%,-50%);
    color: white;
    z-index: 10;
    text-align: center;
}
.carousel>img{
    position: absolute;
    top: 41%;
    left:50%;
    transform: translate(-50%,-50%);
    color: white;
    z-index: 0;
    text-align: center;
}
.carousel>.index-text-rapper>p:nth-of-type(1){
    color: yellow;
    font-size: 30px;
}
.carousel>.index-text-rapper>p:nth-of-type(2){
    color: white;
    font-size: 35px;
}
.carousel>.index-text-rapper>p.font_23:nth-of-type(2){
    font-size: 23px;
}
.carousel>.index-count{
    display: flex;
    position: absolute;
    top: 80%;
    left:50%;
    transform: translate(-50%,-50%);
    color: white;
    z-index: 10;
    text-align: center;
}
.carousel>.index-count>p{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color : white;
    margin: 0 30px;
}
.carousel>.index-count>p.on{
    background-color : yellow;
}

@media screen and (max-width:960px) {
    .quick-menu-layout > .quick-menu > .quick-menu-list {
        display: flex; /* 플렉스 박스를 사용해 항목을 정렬 */
        justify-content: center; /* 메뉴 항목을 가운데 정렬 */
        padding: 0; /* 여백 제거 */
        margin: 0; /* 여백 제거 */
        list-style: none; /* 불필요한 리스트 스타일 제거 */
        font-size: 16px;
    }

    .quick-menu-layout > .quick-menu > .quick-menu-list > li {
        position: relative;
        flex: 1; /* 항목을 같은 크기로 나누기 */
        text-align: center; /* 텍스트를 가운데 정렬 */
        padding: 10px 0px; /* 적당한 좌우 여백 */
    }

    /* li 요소에 왼쪽 선을 추가하고 가운데 정렬 유지 */
    .quick-menu-layout > .quick-menu > .quick-menu-list > li::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0; /* 선을 왼쪽에 고정 */
        transform: translateY(-50%);
        width: 1px;
        height: 100%; /* 선의 높이를 100%로 설정 */
        background-color: black; /* 선 색상 */
    }

    /* 첫 번째 li의 왼쪽 선 제거 */
    .quick-menu-layout > .quick-menu > .quick-menu-list > li:first-child::before {
        display: none;
    }


}

@media screen and (max-width:960px) {
    .carousel .carousel-inner.index-pc {
        display: none;
    }
    .carousel .carousel-inner.index-mobile {
        display: flex;
    }
    .carousel>.index-text-rapper>p:nth-of-type(1){
        color: yellow;
        font-size: 22px;
    }
    .carousel>.index-text-rapper>p:nth-of-type(2){
        color: white;
        font-size: 18px;
    }
    .carousel>.index-text-rapper>p.font_23:nth-of-type(2){
        font-size: 18px;
    }
    .carousel>img {
        width: 350px;
    }
    .carousel>.index-count {
        top: 66%;
    }

    .carousel>.index-count>p {
        width: 10px;
        height: 10px;
        margin: 0 15px;
    }
}
@media screen and (max-width:480px) {
    .carousel .video-text h1{
        font-size: 70px;
        margin-bottom: 10px;
    }
    .carousel .video-text p{
        font-size: 23px;
        text-align: left;
        left: 0;
        margin: 20px;
    }
    .carousel .video-text img {
        width: 200px;
        position: relative;
        right: 11px;
    }
    .carousel .video-text{
        width: 100%;
        height: 356px;
        position: absolute;
        color: white;
        top: 15%;
        left: 0;
        text-align: right;
    }
}