*:not([class*="leading-"]) {
    line-height: 1.5;
}

#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;
}

@media (max-width: 1440px) {
    .exhi-wrap {
        max-width: 1150px;
        width: calc(100% - 24px);
    }

    .professorSwiper .info-box {
        width: clamp(214px, 24.3vw, 314px);
    }

    .professorSwiper .cont-box {
        width: clamp(344px, 100vw, 600px);
    }

    .exhi-deco {
        width: 40% !important;
        transform: translateX(clamp(0px, 50vw, 180px)) !important;
    }

    .swiperSection {
        margin-left: 86px;
    }
}

/* 디자이너 개별 상세 */
/*.profile-img {*/
/*  background-image: url("/images/members/member_01.png");*/
/*  background-size: cover;   */
/*  background-position: top 20% center; */
/*  scale: 1.2;*/
/*  background-repeat: no-repeat;*/
/*}*/

.naribook-pagination .swiper-pagination-bullet {
    border: #000;
}

.naribook-pagination .swiper-pagination-bullet-active {
    background-color: #000 !important;
    border: #000;
}

.naribook-pagination .swiper-pagination-bullet-active::after {
    display: none;
}

.connected-bubbles {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 공통 풍선 */
.bubble {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 42px;
    padding: 36px 40px;
    background: #fff;
}

/* 닉네임 */
.nickname {
    font-weight: 700;
    min-width: 83px;
}

/* 왼쪽 열린 */
.bubble-left {
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    border-left: none;
    border-radius: 0 40px 40px 0;
    margin-left: 35px; /* 곡선 여백 */
}

.bubble-left::before {
    content: "";
    position: absolute;
    left: -60px; /* margin-left 만큼 보정 */
    top: -2px;
    width: 60px;
    height: 100%;
}

/* 오른쪽 열린 */
.bubble-right {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    border-right: none;
    border-radius: 40px 0 0 40px;
    margin-right: 35px;
    padding-left: 70px;
}

.bubble-right::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -2px;
    width: 60px;
    height: 100%;
    /* background: url('/images/curve-right.svg') no-repeat center/contain; */
}

/* 마지막 풍선의 밑줄만 유지 */
.bubble:last-child {
    border-bottom: 2px solid #000;
}

.bubble + .bubble {
    margin-top: 0; /* 겹치지 않게 */
    border-top: none; /* 이전 풍선의 하단선과 공유 */
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeUp {
    animation: fadeUp 0.8s ease-out forwards;
}

/* 디자이너 명단 */
.index-partner-slide {
    height: 75px;
    position: relative;
}

.index-partner-slide .swiper-wrapper {
    transition-timing-function: linear;
}

.index-partner-slide-btm {
    transform: scaleX(-1);
}

.index-partner-slide-btm .swiper-slide {
    transform: scaleX(-1);
}

.story-img {
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.story-img:hover {
    transform: scale(1.05);
}

/* 무한 스크롤 애니메이션 */
@keyframes scrollX {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.animate-scrollX {
    display: flex;
    width: max-content;
    animation: scrollX 60s linear infinite;
}

/* 모바일에서는 정지 + 한 줄 */
@media (max-width: 768px) {
    .animate-scrollX {
        animation: none;
        flex-direction: column;
        align-items: center;
    }
    .translate-y-\[40px\],
    .translate-y-\[10px\],
    .translate-y-\[20px\],
    .translate-y-\[50px\],
    .translate-y-\[60px\],
    .translate-y-\[70px\],
    .translate-y-\[90px\] {
        transform: none !important;
    }
}

/* 메인페이지 슬라이드 */
.index-slide {
    padding-top: 40px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 8.5svh;
}
.index-slide .swiper-wrapper {
    align-items: center;
    padding-left: 520px;
}
.index-slide .swiper-slide {
    width: 300px;
}
.index-slide .swiper-slide .txt-wrap {
    display: none;
}
.index-slide .swiper-slide.swiper-slide-active {
    width: 420px;
}
.index-slide .swiper-slide.swiper-slide-active::after {
    content: "";
    display: block;
    position: absolute;
    height: 40px;
    width: 100vw;
    border-right: 2px solid #00aeef;
    border-top: 2px solid #00aeef;
    left: 2px;
    top: -40px;
    transform: translateX(-100%);
    z-index: -1;
}
.index-slide .swiper-slide.swiper-slide-active::before {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100vw;
    background: #fff;
    border-right: 2px solid #00aeef;
    right: 0;
    bottom: 100px;
    transform: translateY(100%);
    z-index: -1;
}
.index-slide .swiper-slide.swiper-slide-active .txt-wrap {
    display: block;
}



/* 비쥬얼 */
.poster-bg {
  background-image: url('/images/bg-poster_A.png');
  background-size: contain;
  aspect-ratio: 1920/1080;
}

.poster-box {
  padding: 4% 0;
}

@media (max-width: 768px) {
  .poster-bg {
    background-image: url('/images/bg-poster_A-t.png');
    aspect-ratio: 768/551;
  }

  .poster-box {
    padding: 5% 0;
  }
}


@media (max-width: 375px) {
  .poster-bg {
    background-image: url('/images/bg-poster_A-m.png');
    aspect-ratio: 375/555;
  }

  .poster-box {
    padding: 4% 0;
    max-width: calc(100% - 40px);
  }

}
/* 플립북 */
#my-book canvas {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated; /* 작은 이미지일 경우 제거 */
    image-rendering: high-quality;
    -ms-interpolation-mode: nearest-neighbor;
}
