/* ignore bootstrap */
body {
    font-family: 'Noto Sans CJK KR', dotum, sans-serif;
    line-height: 1.0;
    font-size: 0.75em;
}

/* 플로팅창 띄우는 CSS */
#overlay {
    position: fixed;
    inset: 0;                         /* top/left/right/bottom:0 */
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .3s ease, visibility .3s ease;
}

#overlay.hidden {
    visibility: hidden;
    opacity: 0;
}

/* floating-container (데스크탑) */
#floating-container {
    position: relative;
    width: 40%;
    padding: 50px;
}

#floating-container img {
    display: block;
    width: 100%;
    height: auto;
}

/* floating-container2 (모바일) */
#floating-container2 {
    display: none;
}

#floating-container2 {
    width: 90%;          /* 화면 너비의 90% */
    max-width: 415px;    /* 원한다면 최대 크기 제한 */
    margin: 0 auto;      /* 자동 좌우 여백으로 중앙 정렬 */
    padding: 30px 0;     /* 상하 패딩만 남겨두고, 좌우 패딩은 제거 */
    box-sizing: border-box;
}

#floating-container2 img {
    display: block;
    width: 100%;
    height: auto;
}

/* background-image 공통 */
.background-image {
    position: static;    /* 또는 position: relative; */
    transform: none;
    width: 100%;         /* 또는 적절한 max-width */
    height: auto;
}

  /* 이미지가 컨테이너 가로폭에 맞춰 늘어나도록 */
#floating-container2 .background-image {
    position: static;    /* 절대위치 해제 */
    transform: none;     /* 이동 해제 */
    width: 100%;
    height: auto;
}

/* 데스크탑 + 모바일 팝업 공통 */
#floating-container,
#floating-container2 {
    max-height: 100vh;
    overflow-y: auto;      /* 내용이 max-height를 넘을 때만 스크롤 */
}

/* area 태그에 포인터 커서 추가 */
map area {
    cursor: pointer;
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
    #floating-container {
        width: 768px;
        padding: 40px;
    }
    #floating-container img {
        width: 100%;
    }

    #img-container_desk {
        width: 100%;
    }

    #img-container_desk button {
        width: 80%; 
    }

    #apply_close-button_desk {
        right: 10%;
    }

    #img-container_desk button img {
        width: 100%; 
    }

    #close-button {
        right: 15% !important;
    }
}

@media screen and (max-width: 767.98px) {
    #floating-container {
        display: none; /* 모바일에서는 숨김 */
    }

    /* 모바일 컨테이너 보이기 */
    #floating-container2 {
        display: block;    /* ← 여기에만 block */
        width: 90%;
        max-width: 415px;
        margin: 0 auto;
        padding: 30px 0;
        box-sizing: border-box;
    }

    /* 모바일용 이미지 */
    #floating-container2 .background-image {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
    }
    #img-container_mob img {
        margin-top: 30px;
    }

    #img-container_mob button img {
        margin-top: 0px;
    }
}

.swipe_container {
    position: relative;
    z-index: 2;
    padding: 5px;
    margin-top: 95px;
}

#close-button {
    position: absolute;
    top: 10px;
    right: 5%;
    cursor: pointer;
}

#close-button_mo {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

#close-button img {
    width: 28px; /* X 버튼 이미지 크기 조절 */
    height: 28px;
}

#apply_close-button_desk {
    position: absolute;
    top: 55px;
    right: 33.5%;
    cursor: pointer;
}

#apply_close-button_mo {
    position: absolute;
    top: 35px;
    right: 10%;
    cursor: pointer;
}

@media screen and (max-width: 475px) {
    #floating-container2 img {
        width: 355px; 
    }

    #web_banner-swiper-wrapper img {
        width: 300px; 
    }

    #close-button_mo {
        right: 40px;
    }
}

/* ------------------------------ */
a:hover {
    color: white;
    text-decoration: none;
}
p {
    margin-bottom: 0;
}
/* common - desktop */
#gnb_all {
    z-index: 9999;
}
.scontainer {
    width: 1200px;
    position: relative;
    margin: 0 auto;
}
.scontainer.full {
    width: 100%;
}
.right-arrow-blue {
    background: url(../index_new/right-arrow-blue.png) no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
}
.right-arrow-white {
    background: url(../index_new/right-arrow-white.png) no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
}
.modal-bg {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: auto;
}
.modal-bg.active {
    display: flex;
    animation-duration: 0.3s;
    animation-name: modal-open;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}
.desktop {
    display: block;
}
.mobile {
    display: none;
}
/* common - mobile */
@media (max-width: 767.98px) {
    .scontainer {
	width: auto;
	position: relative;
	margin: 0 auto;
	padding: 0 24px;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
}

/* section1 - desktop */
#section1 {
    position: relative;
}
#section1 .scontainer {
    height: 810px;
}
#section1 .scontainer > .carousel,
#section1 .scontainer > .carousel > .carousel-inner,
#section1 .scontainer > .carousel > .carousel-inner .carousel-item {
    width: 100%;
    height: 100%;
}
#section1 .vslide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}
#section1 .text-container {
    position: absolute;
    left: calc((100vw - 1200px) / 2);
    bottom: 56px; 
    z-index: 10;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
#section1 .carousel-nav {
    display: none;
}
#section1 .carousel-control-next-icon, 
#section1 .carousel-control-prev-icon {
    width: 14px;
    height: 14px;
}
/* section1 - mobile */
@media (max-width: 767.98px) {
    #section1 .scontainer {
        height: 480px;
        margin-top: 0px;
	padding: 0;
    }
    #section1 .text-container {
        position: absolute;
        left: 24px;
        bottom: 32px;
        z-index: 10;
    }
    #section1 .carousel-control-next-icon, 
    #section1 .carousel-control-prev-icon {
        width: 12px;
        height: 12px;
    }
}

/* section2 - desktop */
#section2 {
    position: relative;
}
#section2 .desktop .scontainer {
    padding-top: 347px;
    padding-bottom: 393px;
}
#section2 .desktop .video-container {
    position: absolute;
    width: calc(100vw - ((100vw - 1200px) / 2 + 529px));
    min-width: 671px;
    height: 454px;
    left: calc((100vw - 1200px) / 2 + 529px);
    top: 300px;
    z-index: 10;
}
#section2 .video-contents {
    width: 100%;
    height: 454px;
    object-fit: cover;
}
#section2 .video-desc {
    margin-top: -1px;
    width: 100%;
    height: 41px;
    background-color: #3366FF;
}

/* section2 - mobile */
@media (max-width: 767.98px) {
    #section2 .mobile {
        padding-top: 100px;
        padding-bottom: 140px;
    }
    #section2 .video-container {
        width: 100%;
        height: 192px;
    }
    #section2 .video-contents {
        width: 100%;
        height: 192px;
        object-fit: cover;
    }
    #section2 .video-desc {
        margin-top: -1px;
        width: 100%;
        height: 44px;
        background-color: #3366FF;
    }
}

/* section3 - desktop */
@media (min-width: 1200px) {
    #section3 .desktop .go-to-roblox {
        left: calc((100vw - 1200px) / 2 + 876px);
    }
}

@media (max-width: 1199.98px) {
    #section3 .desktop .go-to-roblox {
        left: 867px;
    }
}
#section3 .desktop {
    margin-bottom: 360px;
}
#section3 .img-container {
    width: 100%;
    height: 320px;
    background: url(../index_new/contents-2nd.jpg);
    background-size: cover;
    background-position: center;
}
#section3 .desktop .video-container {
    width: 100%;
    height: 320px;
    z-index: 32;
    position: relative;
}
#section3  .video-contents {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
#section3 .desktop .go-to-roblox {
    width: 244px;
    height: 66px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../index_new/go-to-roblox.png);
    transition: 0.2s;
    cursor: pointer;
    position: absolute;
    bottom: -96px;
  }
  #section3 .desktop .go-to-roblox:hover, #section3 .desktop .go-to-roblox.hover{
    background-image: url(../index_new/go-to-roblox-hover.png);
    transform: translateY(-0.3em);
    transition: 0.2s;
  }
/* section3 - mobile */
@media (max-width: 767.98px) {
    #section3 .mobile {
        margin-bottom: 140px;
    }
    #section3 .img-container {
        width: 100%;
        height: 189px;
        background: url(../index_new/contents-2nd.jpg);
        background-size: cover;
        background-position: center;
    }
    #section3 .mobile .video-container {
        width: 100%;
        height: 247px;
	position: relative;
    }
    #section3 .mobile .video-contents {
        width: 100%;
        height: 189px;
	object-fit: cover;
    }
    #section3 .mobile .roblox-container {
        width: 100%;
        position: absolute;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: center;
    }
    #section3 .mobile .go-to-roblox {
        width: 196px;
        height: 50px;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url(../index_new/go-to-roblox-mob.png);
    }
}

/* section4 - desktop */
#section4 .desktop {
    position: relative;
    margin-bottom: 300px;
}
#section4 .desktop .video-container {
    position: absolute;
    width: calc((100vw - 1200px) / 2 + 658px);
    min-width: 658px;
    height: 438px;
    left: 0;
    top: 0px;
    z-index: 10;
}
#section4 .video-contents {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* section4 - mobile */
@media (max-width: 767.98px) {
    #section4 .mobile {
        margin-bottom: 120px;
    }
    #section4 .video-container {
        width: 100%;
        height: 189px;
    }
    #section4 .video-contents {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* section4_2 - desktop */
#section4_2 .desktop {
    position: relative;
    margin-bottom: 392px;
}
#section4_2 .desktop .video-container {
    position: absolute;
    width: calc(100vw - ((100vw - 1200px) / 2 + 529px));
    min-width: 671px;
    height: 438px;
    left: calc((100vw - 1200px) / 2 + 529px);
    top: 0px;
    z-index: 10;
}
#section4_2 .video-contents {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* section4_2 - mobile */
@media (max-width: 767.98px) {
    #section4_2 .mobile {
        margin-bottom: 120px;
    }
    #section4_2 .video-container {
        width: 100%;
        height: 189px;
    }
    #section4_2 .video-contents {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* section5 - desktop */
#section5 {
    position: relative;
    z-index: 998;
}
#section5 .desktop {
    margin-bottom: 280px;
    background-color: #FFFAE7;
}
#section5 .desktop .slide1 {
    background-color: #EBF1FB;
}
#section5 .desktop .slide2 {
    background-color: #F0EFEF;
}
#section5 .desktop .slide3 {
    background-color: #FFFAE7;
}
#section5 .desktop .scontainer {
    display: flex;
    justify-content: center;
}
#section5 .desktop .column {
    width: 600px;
}
#section5 .contents-img {
    width: 486px;
    height: 337px;
}
#section5 .slide1 .contents-img {
    width: 362px;
    height: 424px;
    filter: drop-shadow(0px 0px 24px rgba(0, 0, 0, 0.12));
}
#section5 .slide2 .contents-img {
    width: 362px;
    height: 424px;
    filter: drop-shadow(0px 0px 24px rgba(0, 0, 0, 0.12));	
}
#section5 .slide3 .contents-img {
    width: 378px;
    height: 266px;
    margin-top: 79px;
}
#section5 .btn-img {
    width: 100px;
    height: 80px;
    position: absolute;
    left: 223px;
    bottom: 157px;
}
#section5 .slide1 .btn-img {
    left: 140px;
    bottom: 172px;
}
#section5 .slide2 .btn-img {
    left: 140px;
    bottom: 172px;
}
#section5 .slide3 .btn-img {    
	left: 140px;
    bottom: 120px;
}
.modal-video-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}
.modal-video-container.active {
    display: flex;
    animation-duration: 0.3s;
    animation-name: modal-open;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}
.modal-video-iframe {
    width: 750px;
    height: 424px;
}
.desktop .swiper-pagination {
    top: 68px;
    width: 100px;
    height: 20px;
    text-align: left !important;
}
@media (max-width: 1199.98px) {
    .desktop .swiper-pagination {
        left: 204px !important;
    }
}
@media (min-width: 1200px) {
    .desktop .swiper-pagination {
        left: calc((100vw - 1200px) / 2 + 204px) !important;
    }
}
.swiper-pagination .swiper-pagination-bullet-active {
    background: #666666 !important;
}
.swiper-pagination .swiper-pagination-bullet {
    background: #D1D1D1;
}

/* section6 - mobile */
@media (max-width: 767.98px) {
    #section6 .mobile {
        margin-bottom: 128px;
    }
    #section6 .contents-img {
        width: 166px;
        height: 109px;
    }
    #section6 .btn-img {
        width: 34px;
        height: 27px;
        position: absolute;
        left: 48%;
        bottom: 53px;
    }
    .modal-video-iframe {
        width: 375px;
        height: 219px;
    }
    .mobile_section6_swiper .slide1 .scontainer {
        padding: 0;
        background-color: #F0EFEF;
    } 
    .mobile_section6_swiper .slide2 .scontainer {
        padding: 0;
        background-color: #FCFAEB;
    }
    .mobile_section6_swiper .content_wrap {
        width: 320px;
        height: 368px;
        margin: auto;
        position: relative;
    }
    .mobile_section6_swiper .slide1 .img_wrap{
        width: 139px !important;
        height: 126px !important;
        position: absolute;
        bottom: 0;
        left: 90px;
    } 
    .mobile_section6_swiper .slide2 .img_wrap{
        width: 253px !important;
        height: 103px !important;
        position: absolute;
        left: 33.5px;
        bottom: 0;
    } 
    .mobile_section6_swiper .img_wrap .contents-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
	margin-top: 0 !important;
    }
    .mobile_section6_swiper .slide1 .img_wrap .btn-img {
        left: 42% !important;
        bottom: 53px !important;
    }
    .mobile_section6_swiper .slide2 .img_wrap .btn-img {
        left: 44% !important;
        bottom: 38px !important;
    }
    .mobile .swiper-pagination{
        top: 24px;
	height: 25px;
    }

}

/* section6 - desktop */
#section6 .desktop {
    margin-bottom: 70px;
}
#section6 .coach-img {
    width: 788px;
    height: 229px;
}

/* section6 - mobile */
@media (max-width: 767.98px) {
    #section6 .mobile {
        margin-bottom: 32px;
    }
    #section6 .coach-img {
        width: 272px;
        height: 203px;
    }
}


/* section7 - desktop */
#section7 .desktop {
    margin-top: 200px;
    text-align: center;
}

#section7 table {
    width: 48%;
    border-collapse: collapse;
}

#section7 .scontainer {
    display: flex;
    justify-content: space-between; /* 테이블 사이의 간격을 균등하게 배치 */
    width: 80%;
}

#section7 table tr {
    height: calc(25vw / (600  / 278)); /* 비율에 맞춘 높이 */
}

#section7 table.second-table tr {
    height: calc(25vw / (600  / 278)); /* 비율에 맞춘 높이 */
}

#section7 table.first-table tr:first-child {
    border-bottom: 10px solid white;
}

#section7 table.second-table tr:nth-child(-n+2) {
    border-bottom: 10px solid white;
}


#section7 table td {
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
    background-size: cover; /* 배경 이미지를 td 영역에 맞추기 */
    background-position: bottom; /* 배경 이미지를 중앙에 위치시키기 */
}

#section7 table.first-table {
    width: 80%;
}

#section7 table.second-table {
    width: 20%;
}

/* 1행 첫 번째 열 */
#section7 table .t23 {
    background: url(../img/section7_main_nab/wms_story.webp?v=20250116);
    width: 40%;
    background-size: cover;    
    background-position: bottom;
    border-right: 10px solid white;
}

/* 1행 두 번째 열 */
#section7 table .t24 {
    background: url(../img/section7_main_nab/achievement.webp?v=20250116);
    width: 35%;
    background-size: cover;
    background-position: bottom;
    border-right: 10px solid white;
}

/* 2행 첫 번째 열 */
#section7 table .t25 {
    background: url(../img/section7_main_nab/notice.webp?v=20250116);
    width: 25%;
    background-size: cover;
    background-position: bottom;
    border-right: 10px solid white;
}

/* 2행 두 번째 열 */
#section7 table .t26 {
    background: url(../img/section7_main_nab/aplly.webp?v=20250116);
    width: 60%;
    background-size: cover;
    background-position: bottom;
    border-right: 10px solid white;
}

/* 3행 첫 번째 열 */
#section7 table .t27 {
    background: url(../img/section7_main_nab/blog.webp?v=20250116);
    /* width: 20%; */
    background-size: cover;
    background-position: bottom;
    border-right: 10px solid white;
}

/* 3행 두 번째 열 */
#section7 table .t28 {
    background: url(../img/section7_main_nab/youtube.webp?v=20250116);
    /* width: 20%; */
    background-size: cover;
    background-position: bottom;
    border-right: 10px solid white;
}

/* 3행 세 번째 열 */
#section7 table .t29 {
    background: url(../img/section7_main_nab/insta.webp?v=20250116);
    /* width: 20%; */
    background-size: cover;
    background-position: bottom;
    border-right: 10px solid white;
}

/* Hover 효과 */
@media (min-width: 767px) {
    #section7 table .t23.t-item:hover {
        background: url(../img/section7_main_nab/wms_story_hover.webp?v=20250116);
        background-size: cover;    
        background-position: bottom;
    }

    #section7 table .t24.t-item:hover {
        background: url(../img/section7_main_nab/achievement_hover.webp?v=20250116);
        background-size: cover;    
        background-position: bottom;
    }

    #section7 table .t25.t-item:hover {
        background: url(../img/section7_main_nab/notice_hover.webp?v=20250116);
        background-size: cover;    
        background-position: bottom;
    }

    #section7 table .t26.t-item:hover {
        background: url(../img/section7_main_nab/aplly_hover.webp?v=20250116);
        background-size: cover;    
        background-position: bottom;
    }

    #section7 table .t27.t-item:hover {
        background: url(../img/section7_main_nab/blog_hover.webp?v=20250116);
        background-size: cover;    
        background-position: bottom;
    }

    #section7 table .t28.t-item:hover {
        background: url(../img/section7_main_nab/youtube_hover.webp?v=20250116);
        background-size: cover;    
        background-position: bottom;
    }
    
    #section7 table .t29.t-item:hover {
        background: url(../img/section7_main_nab/insta_hover.webp?v=20250116);
        background-size: cover;    
        background-position: bottom;
    }
}

/* section7 - mobile */
@media (max-width: 767.98px) {
    #section7 .mobile {
        margin-top: 80px;
    }
    #section7 .scontainer {
        display: flex;
        justify-content: space-between; /* 테이블 사이의 간격을 균등하게 배치 */
        width: 100%;
    }

    #section7 table {
        width: 100%;
    }

    #section7 table .t23 {
        border-right: none;
        border-bottom: 6px solid white;
        background: url(../img/section7_main_nab/wms_story_mo_hover.webp?v=20250116);
        background-size: cover;    
        background-position: center;
    }
    #section7 table .t24 {
        border-right: none;
        border-bottom: 6px solid white;
        background: url(../img/section7_main_nab/achievement_mo_hover.webp?v=20250116);
        background-size: cover;    
        background-position: center;
    }
    #section7 table .t25 {
        border-right: none;
        border-bottom: 6px solid white;
        background: url(../img/section7_main_nab/notice_mo_hover.webp?v=20250116);
        background-size: cover;    
        background-position: center;
    }
    #section7 table .t26 {
        border-right: none;
        border-bottom: 6px solid white;
        background: url(../img/section7_main_nab/aplly_mo_hover.webp?v=20250116);
        background-size: cover;    
        background-position: center;
    }
    #section7 table .t27 {
        border-right: 6px solid white;
        background: url(../img/section7_main_nab/blog_mo_hover.webp?v=20250116);
        background-size: contain;
        /* background-position: center; */
        background-repeat: no-repeat;
        width: 13%;
    }

    #section7 table .t28 {
        border-right: 6px solid white;
        background: url(../img/section7_main_nab/youtube_mo_hover.webp?v=20250116);
        background-size: contain;
        /* background-position: center; */
        background-repeat: no-repeat;
        width: 13%;
    }

    #section7 table .t29 {
        border-right: none;
        background: url(../img/section7_main_nab/insta_mo_hover.webp?v=20250116);
        background-size: contain;
        /* background-position: center; */
        background-repeat: no-repeat;
        width: 13%;
    }


    #section7 table tr {
        /* height: calc(33.33vw / (356 / 278)); */
        height: calc(33.33vw / (215 / 278)); 
        border-bottom: 6px solid white;
    }
}

/* section8 - desktop */
#section8 .img-container {
    height: 160px;
    background: url(../index_new/contents-final.png);
    background-size: cover;
    background-position: 50% 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* section8 - mobile */
@media (max-width: 767.98px) {
    #section8 .img-container {
        height: 114px;
    }
}

/* common - font */
.fs-11 { font-size: 11px; }
.fs-14 { font-size: 14px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-21 { font-size: 21px; }
.fs-24 { font-size: 24px; }
.fs-32 { font-size: 32px; }
.fs-40 { font-size: 40px; }
.fs-48 { font-size: 48px; }
.fw-3 { font-weight: 300; }
.fw-7 { font-weight: 700; }
.lh-16 { line-height: 16px; }
.lh-25 { line-height: 25px; }
.lh-27 { line-height: 27px; }
.lh-29_4 { line-height: 29.4px; }
.lh-36 { line-height: 36px; }
.lh-41 { line-height: 41px; }
.lh-48 { line-height: 48px; }
.text-white { color: white; }
.text-252525 { color: #252525 }
.text-3366FF { color: #3366FF }
.text-6088FF { color: #6088FF }

/* common - layout */
.mt-53 {margin-top: 53px;}
.mb-4 { margin-bottom: 4px !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-36 { margin-bottom: 36px; }
.mb-38 { margin-bottom: 38px; }
.mb-39 { margin-bottom: 39px; }
.mb-45 { margin-bottom: 45px; }
.mb-56 { margin-bottom: 56px; }
.mr-8 { margin-right: 8px; }
.mr-36 { margin-right: 36px; }
.mr-48 { margin-right: 48px; }
.pl-16 { padding-left: 16px; }
.pl-24 { padding-left: 24px; }
.pl-204 { padding-left: 204px; }
.pl-714 { padding-left: 714px; }
.pr-17 { padding-right: 17px; }
.pr-24 { padding-right: 24px; }
.pt-19 { padding-top: 19px; }
.pt-53 { padding-top: 53px; }
.pt-85 { padding-top: 85px; }
.pt-87 { padding-top: 87px; }
.pt-103 { padding-top: 103px; }
.pt-122 { padding-top: 122px; }
.pt-160 { padding-top: 160px; }
.cursor-pointer { cursor: pointer; }
.w-260 { width: 260px; }
.w-526 { width: 526px; }
.w-600 { width: 600px; }
.w-674 { width: 674px; }

/* common - animation */
.content-fade-in-effect {
    opacity: 0;
    transition: 0.8s all ease-in-out;
    transform: translateY(5em);
}
.content-fade-in-effect.active{
    opacity: 1;
    transform: translate(0);
}
.wp-block-cover-image {
    background-attachment: fixed;
    background-position: 50% 0;
}
@keyframes tanim {
    from {
	background-size: 100% 100%;
	/*transform: scale(1);*/
	background-position: 50% 50%;
    }
    to {
	background-size: 120% 120%;
	/*transform: scale(1.02);*/
	background-position: 50% 50%;
    }
}
@keyframes modal-open {
    from {
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
  
      opacity: 0;
    }
    to {
      -webkit-transform: none;
      transform: none;
  
      opacity: 1;
  
      -webkit-filter: blur(0);
      filter: blur(0);
    }
}

#ft_wrap {
    margin-top: 0;
}


/* 유튜브 영상 CSS */

/* 오버레이 */
.yt-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center; justify-content: center;
  z-index: 11000;
}
.yt-overlay.active { display: flex; }

/* 모달 박스 */
.yt-modal {
  position: relative;
  width: min(1080px, 92vw);
  background:#000; border-radius:14px; overflow:hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

/* 16:9 박스 기본은 썸네일만 보이게 */
.yt-aspect iframe { display: none; }
.yt-aspect.playing iframe { display: block; }
.yt-aspect.playing .yt-thumb { display: none; }
.yt-aspect { position: relative; width:100%; padding-top:56.25%; }
.yt-aspect iframe, .yt-aspect .yt-thumb {
  position: absolute; inset:0; width:100%; height:100%;
  border:0;
}

/* 썸네일 + 플레이 아이콘 */
.yt-thumb { cursor:pointer; background:#000; display:block; padding:0; border:0; }
.yt-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.yt-play-icon{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  font-size:64px; line-height:1; background:rgba(0,0,0,.35);
  padding:.2em .4em; border-radius:12px; color:#fff;
}

/* 닫기 버튼 */
.yt-close{
  position:absolute; right:8px; top:6px;
  width:42px; height:42px; border:0; border-radius:50%;
  background:rgba(255,255,255,.16); color:#fff; font-size:28px; line-height:42px;
  cursor:pointer; z-index:2;
}
.yt-close:hover{ background:rgba(255,255,255,.24); }
