#popParent {
    display: none;
}
.pop-parent {
    z-index: 9999;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding-bottom: 40px;
    background-color: rgba(0, 0, 0, 0.35);
}
.pop-parent .pop {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
}
.pop-parent .m-ratioBox-wrap {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
.pop-parent .m-ratioBox-wrap .m-ratioBox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--sub_color01);
}
.pop-parent .m-ratioBox-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}
.pop-parent .m-ratioBox-wrap iframe {
    width: 105%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}
.pop-parent .pop .btn-toggle {
    width: 40px;
    height: 40px;
    position: relative;
    background-color: black;
    cursor: pointer;
}
.pop-parent .pop .btn-toggle img {
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    transition: all 0.3s;
}
.pop-parent .pop-btns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    background-color: #3c3c3c;
}
.pop-parent .pop-btns a {
    color: #fff;
    padding: 7px 14px;
}
.pop-parent .pop-btns #oneday_check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}
.pop-parent .pop-btns #oneday_check + label {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}
.pop-parent .pop-btns #oneday_check + label:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border: 1px solid #fff;
}
.pop-parent .pop .swiper-btn-control {
    width: 8px;
    height: 11px;
    margin-left: 16px;
    position: relative;
    top: 2px;
}
.pop-parent .popupSwiper {
    background-color: #fff;
}
.pop-parent .swiper-pagination {
    pointer-events: none;
    top: 21px;
    left: auto;
    right: 20px;
    width: fit-content;
}
.pop-parent .swiper-pagination-bullet {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 0;
    border: 1px solid white;
    opacity: 0.5;
    background-color: transparent;
}
.pop-parent .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}
.pop-parent .active {
    right: -400px;
}
.pop-parent .active .btn-toggle {
    transform: rotate(180deg);
}
.pop-parent .pop .btn-close {
    width: 40px;
    height: 40px;
    background-color: black;
}
.pop-parent .pop .btn-close > i {
    color: #fff;
}

.floating-btns-wrap {
    z-index: 99;
    position: fixed;
    bottom: 48px;
    right: 48px;
    opacity: 0;
    width: 48px;
    transition: 0.3s;
}

.floating-btns-wrap.active {
    opacity: 1;
}
.btn-scroll-top {
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 100%;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.btn-scroll-top i {
    font-size: 24px;
    color: #464646;
    z-index: 2;
}

.btn-scroll-top .progress_bar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

.btn-scroll-top .progress_bar::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background-color: #fff;
    border-radius: 100%;
}
.btn-menu {
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: var(--color-gray-2);
}
.btn-menu .icon-open {
    display: block;
}
.btn-menu.on .icon-open {
    display: none;
}
.btn-menu .icon-close {
    display: none;
}
.btn-menu.on .icon-close {
    display: block;
}
.menu-items-wrap {
    display: none;
}
.btn-menu.on + .menu-items-wrap {
    display: flex;
}

@media screen and (max-width: 1279px) {
    .pop-parent .pop {
        width: 310px;
    }
    .pop-parent.active {
        right: -310px;
    }
}

@media screen and (max-width: 1023px) {
    .floating-btns-wrap {
        bottom: 16px;
        right: 16px;
    }
}

@media screen and (max-width: 767px) {
    .pop-parent {
        top: 50%;
        right: unset;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .pop-parent .pop-btns {
        width: 100%;
        justify-content: space-between;
    }
    .pop-parent .pop .btn-toggle {
        display: none;
    }
    .pop-parent .pop .btn-close {
        display: block;
    }
}

@media screen and (max-width: 1280px) {
    .fp-section.fp-table,
    .fp-slide.fp-table,
    .fp-tableCell {
        height: auto !important;
    }
}

/* 가운데에서 흩어지는 애니메이션 */
.img-wrap img {
    opacity: 0;
    transition:
        transform 1.8s ease-out,
        opacity 1.5s ease-out;
}

/* 활성화 상태 */
.img-wrap.active img {
    opacity: 1;
}

/* 각 이미지별 시작 위치 (중앙에서 시작) */
.img-wrap img:nth-child(1) {
    transform: translate(50%, 30%);
}
.img-wrap img:nth-child(2) {
    transform: translate(-40%, 25%);
}
.img-wrap img:nth-child(3) {
    transform: translate(60%, -20%);
}
.img-wrap img:nth-child(4) {
    transform: translate(45%, -30%);
}
.img-wrap img:nth-child(5) {
    transform: translate(-50%, -25%);
}
.img-wrap img:nth-child(6) {
    transform: translate(-45%, -30%);
}

/* 활성화 시 최종 위치 */
.img-wrap.active img {
    transform: translate(0, 0);
}

/* 각 이미지별 딜레이 */
.img-wrap.active img:nth-child(1) {
    transition-delay: 0s;
}
.img-wrap.active img:nth-child(2) {
    transition-delay: 0.15s;
}
.img-wrap.active img:nth-child(3) {
    transition-delay: 0.3s;
}
.img-wrap.active img:nth-child(4) {
    transition-delay: 0.45s;
}
.img-wrap.active img:nth-child(5) {
    transition-delay: 0.6s;
}
.img-wrap.active img:nth-child(6) {
    transition-delay: 0.75s;
}

/* 로고 슬라이더 스타일 */
.logo-swiper-1 .swiper-wrapper,
.logo-swiper-2 .swiper-wrapper,
.logo-swiper-3 .swiper-wrapper,
.logo-swiper-forward-index .swiper-wrapper,
.logo-swiper-backward-index .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* 로고 슬라이더 양옆 그라데이션 */
.logo-swiper-1,
.logo-swiper-2,
.logo-swiper-3,
.logo-swiper-forward-index,
.logo-swiper-backward-index {
    position: relative;
}

/* 7개 이상일 때만 그라데이션 표시 */
.logo-swiper-1.has-gradient::before,
.logo-swiper-2.has-gradient::before,
.logo-swiper-3.has-gradient::before,
.logo-swiper-forward-index.has-gradient::before,
.logo-swiper-backward-index.has-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, white, transparent);
    z-index: 10;
    pointer-events: none;
}

.logo-swiper-1.has-gradient::after,
.logo-swiper-2.has-gradient::after,
.logo-swiper-3.has-gradient::after,
.logo-swiper-forward-index.has-gradient::after,
.logo-swiper-backward-index.has-gradient::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to left, white, transparent);
    z-index: 10;
    pointer-events: none;
}

/* fullpage 네비게이션 스타일 */
#fp-nav {
    right: 40px;
}

#fp-nav ul {
    display: flex;
    flex-flow: column;
    gap: 24px;
    align-items: center;
}

#fp-nav ul li {
    margin: 0;
    width: fit-content;
    height: fit-content;
}
#fp-nav ul li:last-child {
    display: none;
}

#fp-nav ul li a {
    display: block;
    width: fit-content;
    height: fit-content;
}

#fp-nav ul li a span {
    position: static;
    display: block;
    background: transparent;
    border: 1px solid #000;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    margin: 0 !important;
    transition: all 0.1s ease;
}

#fp-nav ul li a.active span {
    width: 12px;
    height: 12px;
    background: #000;
}

/* 첫 번째 섹션에서 흰색으로 변경 */
#fp-nav.white ul li a span {
    border-color: #fff;
}

#fp-nav.white ul li a.active span {
    background: #fff;
}
