/* 공통 */
.scroll-content {
    height: 700vh;
    position: relative;
    left: 0;
    top: 0;
}

/* 세션1 */
.scroll-content .sec1 {
    width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
}
.scroll-content .sec1 h2 {
    color: #000;
    text-align: center;
    font-family: "Minguk-Bold", sans-serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: -3.5px;
    width: 100%;
    position: absolute;
    top: 25%;
    left: 0;
    z-index: 3;
    transition: font-size 0.3s;
}
.scroll-content .sec1 img {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: circle(10% at 50% 50%);
    transition: clip-path 0.2s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.scroll-content .sec1 .after-text {
    font-size: 50px;
    top: auto;
    left: 0;
    bottom: 15%;
    z-index: 3;
    opacity: 0;
    transition: bottom 0.2s, opacity 0.2s;
}

/* 세션2 */
.scroll-content .sec2 {
    background-color: #000;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 4;
}   
.scroll-content .sec2 .content-box {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}
.scroll-content .sec2 .content-box .bgi {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    filter: opacity(0.5);
}
.scroll-content .space-150vh { width: 100%; height: 150vh; }
.scroll-content .sec2 .content {
    height: 100%;
    width: 100%;
    padding: 10rem 0 4.25rem 7.4%;
    position: relative;
    z-index: 7;
    overflow: hidden;
}
.scroll-content .sec2 .link-btn {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.9px;
    line-height: 1;
    width: max-content;
    padding: .5rem .875rem;
    border: 1px solid #fff;
    border-radius: 50px;
    display: block;
    transition: all 0.3s ease;
}
.scroll-content .sec2 .link-btn:hover { color: #333; background-color: #fff; }
.scroll-content .sec2 .content h2 {
    color: #fff;
    font-family: "Minguk-Regular", sans-serif;
    font-size: 3.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 145%;
    letter-spacing: -3px;
}

.scroll-content .sec2 .content .title-box { height: 27%; }
.scroll-content .sec2 .content .last-title {
    font-size: 3.125rem;
    font-weight: 700;
    letter-spacing: -2.5px;
    display: none;
}
.scroll-content .sec2 .content .img-card-box { 
    height: 73%;
    max-height: 577px;
    width: auto;
    overflow: hidden;
    transform: translateX(100%);
}
.scroll-content .sec2 .content .img-card-box > * { flex-shrink: 0; }
.scroll-content .sec2 .content .img-card {
    background: rgba(102, 102, 102, 0.40);
    width: 1110px;
    height: 100%;
    border: 1px solid #999;
    border-radius: 30px;
    margin-right: 3.125rem;
    position: relative;
    overflow: hidden;
    transition: width 0.1s, margin-right 0.3s;
}
.scroll-content .sec2 .content .open-book {
    width: 1110px;
    padding: 2.875rem;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    transition: transform 0.3s;
    backdrop-filter: blur(7.5px);
}
.scroll-content .sec2 .content .img-card-text {
    height: 100%;
}
.scroll-content .sec2 .content .img-card * {
    color: #fff;
}
.scroll-content .sec2 .content .img-card h5 {
    font-family: "Minguk-Bold", sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: .5rem;
}
.scroll-content .sec2 .content .img-card h3 {
    font-family: "Minguk-Bold", sans-serif;
    font-size: 3.75rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}
.scroll-content .sec2 .content .img-card p {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 190%;
    letter-spacing: -0.6px;
}
.scroll-content .sec2 .content .img-card img {
    width: auto;
    height: 100%;
    max-height: 486px;
    border-radius: 30px;
}
.scroll-content .sec2 .img-card-box .book {
    background-color: #fff;
    width: 100%;
    height: 100%;
    padding: 4.75rem 0 2rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow: hidden;
}
.scroll-content .sec2 .img-card-box .book h4,
.scroll-content .sec2 .img-card-box .book p {
    text-align: start;
    width: 8rem;
    transform: rotate(90deg);
    
}
.scroll-content .sec2 .img-card-box .book h4 {
    color: #000;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -1.4px;
}
.scroll-content .sec2 .img-card-box .book p {
    color: #999;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -1.2px;
}
.scroll-content .sec2 .last-content {
    position: absolute;
    top: 50%;
    right: 7.4%;
    transform: translateY(0%);
    opacity: 0;
    transition: transform .5s, opacity .5s;
}
.scroll-content .sec2 .last-content p {
    color: #fff;
    text-align: right;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 200%;
    letter-spacing: -0.66px;
    margin-bottom: 2.125rem;
}
.scroll-content .sec2 .last-content > div { gap: 1rem; }

@media screen and (max-width: 1200px) {
    /* 세션1 */
    .scroll-content .sec1 h2 { font-size: 64px; }
    .scroll-content .sec1 .after-text { font-size: 44px; }

    /* 세션2 */
    .scroll-content .sec2 .content { padding: 9rem 0 4rem 7.4%; }
    .scroll-content .sec2 .content .img-card-box { max-height: 400px; }
    .scroll-content .sec2 .content h2, .scroll-content .sec2 .content .last-title { font-size: 2.875rem; }
    .scroll-content .sec2 .content .img-card,
    .scroll-content .sec2 .content .open-book { width: 650px; padding: 1.875rem; }
    .scroll-content .sec2 .content .open-book { padding: 2rem; }
    .scroll-content .sec2 .content .img-card img { max-height: 300px; }
    .scroll-content .sec2 .content .img-card h5 { font-size: 1.5rem; margin-bottom: .25rem; }
    .scroll-content .sec2 .content .img-card h3 { font-size: 3rem; margin-bottom: 1rem; }
    .scroll-content .sec2 .content .img-card p { font-size: 1rem; }
    .scroll-content .sec2 .img-card-box .book { padding: 4.75rem 0 1rem; }
    .scroll-content .sec2 .img-card-box .book h4 { font-size: 1.375rem; }
    .scroll-content .sec2 .img-card-box .book p { font-size: 1.25rem; }
    .scroll-content .sec2 .last-content p { font-size: 1.125rem; }
}

@media screen and (max-width: 768px) {
    /* 세션1 */
    .scroll-content .sec1 h2 { font-size: 52px; top: 15%; }
    .scroll-content .sec1 .after-text { font-size: 36px; bottom: 10%; }
    .scroll-content .sec1 img { clip-path: circle(25% at 50% 50%); }

    /* 세션2 */
    .scroll-content .sec2 .content { padding: 6rem 30px; }
    .scroll-content .sec2 .content-box .bgi {
        width: 100%;
        object-fit: cover;
        object-position: bottom;
    }
    .scroll-content .sec2 .content .title-box { height: 116px; margin-bottom: 1rem; }
    .scroll-content .sec2 .content h2, .scroll-content .sec2 .content .last-title { font-size: 2.5rem; }
    .scroll-content .sec2 .content .img-card-box {
        height: 350px;
        max-height: none;
        flex-direction: column;
        transform: translateY(100%);
        overflow: unset;
    }
    .scroll-content .sec2 .content .img-card,
    .scroll-content .sec2 .content .open-book {
        width: 100%;
        margin-right: 0;
    }
    .scroll-content .sec2 .content .img-card {
        margin-bottom: 1.5rem;
        border-radius: 1rem;
    }
    .scroll-content .sec2 .content .open-book {
        padding: 1.375rem;
    }
    .scroll-content .sec2 .content .img-card img {
        width: 176px;
        max-height: none;
        height: auto;
        aspect-ratio: 4/3;
        border-radius: 10px;
        margin: 0 10px 8px 0;
        object-fit: cover;
        object-position: center;
    }
    .scroll-content .sec2 .content .img-card h5 { font-size: 1.25rem; }
    .scroll-content .sec2 .content .img-card h3 { font-size: 2.5rem; }
    .scroll-content .sec2 .content .img-card p { word-break: keep-all; }
    .scroll-content .sec2 .link-btn { font-size: 16px ;}
    .scroll-content .sec2 .img-card-box .book {
        padding: 0 1.25rem;
        flex-direction: row !important;
        transform: translateY(100%);
    }
    .scroll-content .sec2 .img-card-box .book h4,
    .scroll-content .sec2 .img-card-box .book p {
        width: max-content;
        transform: rotate(0deg);
    }
    .scroll-content .sec2 .last-content { position: unset; }
    .scroll-content .sec2 .last-content p { text-align: center; line-height: 1.3; margin-bottom: 2rem; }
    .scroll-content .sec2 .last-content > div { justify-content: center; }
}

@media screen and (max-width: 480px) {
    /* 세션1 */
    .scroll-content .sec1 h2 { font-size: 40px; top: 20%; }
    .scroll-content .sec1 .after-text { font-size: 30px; bottom: 10%; }
    .scroll-content .sec1 img { clip-path: circle(15% at 50% 50%); }

    /* 세션2 */
    .scroll-content .sec2 .content { padding: 5rem 20px; }
    .scroll-content .sec2 .content .title-box { height: 82px; }
    .scroll-content .sec2 .content .open-book { padding: 0.75rem; }
    .scroll-content .sec2 .content h2,
    .scroll-content .sec2 .content .last-title { font-size: 1.75rem; }
    .scroll-content .sec2 .content .img-card { height: 320px; }
    .scroll-content .sec2 .content .img-card img { width: 127px; height: 92px; }
    .scroll-content .sec2 .content .img-card h5 { font-size: 1rem; }
    .scroll-content .sec2 .content .img-card h3 { font-size: 1.75rem; }
    .scroll-content .sec2 .last-content p { font-size: 1rem; }
}