/* COMMON */
.friends .header-bts {
    background: #26161c;
    /* height: 71px; */
}

.friends .btn-gnb {
    background: url(./../../../../images/bts/discography/v/friends/ui/btn-gnb.png) no-repeat center;
}

.friends .lang_opt button {
    color: #ff9ec8;
}

.friends .album-detail {
    padding-top: 63px;
    padding-bottom: 0;
    background-color: #ff95bf;
}

.friends .album-detail > * {
    max-width: 100%;
}

.friends .album-detail img {
    display: block;
    max-width: 100%;
}

.friends .album-detail .section-title {
    margin-bottom: 2.1875vw;
}

.friends .album-detail .section-title img {
    margin: 0 auto;
}

/* PHOTO */
.friends .photo {
    padding-top: 13.80208vw;
    padding-bottom: 10.41667vw;
}

.friends .photo .section-title {
    margin-bottom: 2.1875vw;
}

.friends .photo .section-title img {
    width: 9.947917vw;
    margin: 0 auto;
}

.friends .photo .swiper-wrap {
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.friends .photo .swiper-wrap.on {
    height: auto;
    overflow: visible;
    visibility: visible;
}

.friends .photo .photo-swiper {
    position: relative;
    box-sizing: content-box;
    max-width: 50%;
    margin: 0 auto;
    padding: 0 125px;
}

.friends .photo .photo-swiper-text-box {
    max-width: 37.5vw;
    margin: 1.5625vw auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.friends .photo .photo-swiper-text-box .title {
    flex: 0 0 18.6979167vw;
    width: 18.6979167vw;
}

.friends .photo .photo-swiper-text-box .pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0 0.78125vw;
}

.friends .photo .photo-swiper-text-box .pagination .item {
    width: 1.8229167vw;
    flex: 0 0 1.8229167vw;
    cursor: pointer;
    opacity: 0.5;
}

.friends .photo .photo-swiper-text-box .pagination .item.on {
    opacity: 1;
}

.friends .photo .photo-swiper img {
    cursor: pointer;
}

.friends .photo .photo-swiper .btn-photo-prev,
.friends .photo .photo-swiper .btn-photo-next {
    display: block;
    width: max(30px, 2.1875vw);
    height: max(30px, 2.1875vw);
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.friends .photo .photo-swiper .btn-photo-prev {
    background: url(./../../../../images/bts/discography/v/friends/ui/arr_l.png) no-repeat center/100%;
    left: 0;
}

.friends .photo .photo-swiper .btn-photo-next {
    background: url(./../../../../images/bts/discography/v/friends/ui/arr_r.png) no-repeat center/100%;
    right: 0;
}

.friends .photo .photo-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(22, 22, 22, 0.95);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.friends .photo .photo-popup.on {
    display: flex;
}

.friends .photo .photo-popup .picture {
    display: none;
    width: 600px;
    max-width: 90%;
}

.friends .photo .photo-popup .picture.on {
    display: block;
}

.friends .photo .photo-popup .btn-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0 10px;
    margin-bottom: 16px;
}

.friends .photo .photo-popup .btn-download,
.friends .photo .photo-popup .btn-close-popup {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
}

.friends .photo .photo-popup .btn-download {
    background: url(./../../../../images/bts/discography/v/friends/ui/btn-download.png) center/100% no-repeat;
}

.friends .photo .photo-popup .btn-close-popup {
    background: url(./../../../../images/bts/discography/v/friends/ui/btn-close-popup.png) center/100% no-repeat;
}

/* FLASH */
.friends .flash {
    padding-bottom: 14.0625vw;
}

.friends .flash .section-title img {
    width: 18.75vw;
}

.friends .flash .container {
    box-sizing: content-box;
    max-width: 25%;
    margin: 0 auto;
}

.friends .flash .embed-video {
    position: relative;
}

.friends .flash .embed-video::after {
    content: "";
    display: block;
    padding-bottom: 177.77778%;
}

.friends .flash .embed-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.friends .flash .embed-video .btn-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.friends .flash .embed-video .btn-play::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.friends .flash .embed-video .btn-play::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 98px;
    height: 98px;
    margin-left: -49px;
    margin-top: -49px;
    border-radius: 50vh;
    border: 3px solid rgba(255, 255, 255, 0.33);
    background: url("./../../../../images/btn-play.png") no-repeat center;
    background-size: 100% auto;
    z-index: 2;
}

/* VIDEO */
.friends .video {
    padding-bottom: 15.625vw;
}

.friends .video .container {
    box-sizing: content-box;
    max-width: 50%;
    margin: 0 auto;
}

.friends .video .section-title img {
    width: 8.7760417vw;
}

.friends .video .yt-video-group {
    position: relative;
}

.friends .video .yt-video-group::after {
    content: "";
    display: block;
    padding-bottom: 56.25%;
}

.friends .video .yt-video-group .yt-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.friends .video .yt-video {
    position: relative;
}

.friends .video .yt-video::after {
    content: "";
    display: block;
    padding-bottom: 56.25%;
}

.friends .video .yt-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.friends .video .yt-video-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.71875vw;
    gap: 0 6.770833vw;
}

.friends .video .yt-video-pagination .item {
    width: 10.0260417vw;
    flex: 0 0 10.0260417vw;
}

.friends .video .album-video .slide-wrap {
    margin-top: 0;
}

.friends .video .album-video .slide-wrap > ul > li .contents-obj {
    height: auto;
}

.friends .video .album-video .slide-wrap > ul > li .contents-obj::after {
    content: "";
    display: block;
    padding-bottom: 56.25%;
}

.friends .video .album-video .slide-wrap > ul > li .btn-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.friends .video .bottom.rows {
    margin-top: 1.71875vw;
}

.friends .video .bottom.rows ul {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 6.770833vw;
}

.friends .video .bottom.rows ul::after {
    display: none;
}

.friends .video .bottom.rows ul li {
    width: 10.0260417vw;
    flex: 0 0 10.0260417vw;
}

.friends .video .bottom.rows ul li.taller {
    padding: 0;
}

.friends .video .bottom ul li button {
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
}

.friends .video .bottom ul li.active button {
    opacity: 1;
}

/* END */
.friends .end {
    padding-bottom: 3.33333vw;
}

.friends .end img {
    width: 9.0625vw;
    margin: 0 auto;
}

/* Laptop */
@media screen and (max-width: 1440px) {
    .friends .teaser {
        position: relative;
        min-height: calc(100dvh - 71px - 60px);
    }

    .friends .teaser img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .friends .video .album-video .slide-wrap > ul {
        width: 100%;
    }

    .friends .video .bottom {
        width: 100%;
    }
}

/* Tablet */
@media screen and (max-width: 768px) {
    .friends .header-bts {
        height: 12.80193vw;
    }

    .friends .album-detail {
        padding-top: 12.80193vw;
    }

    .friends .btn-gnb {
        background: url(./../../../../images/bts/discography/v/friends/ui/btn-gnb-m.png) no-repeat center;
    }

    .friends .flash {
        padding-bottom: 20.5314vw;
    }

    .friends .flash .container {
        max-width: 80%;
    }

    .friends .flash .section-title {
        margin-bottom: 12.07729vw;
    }

    .friends .flash .section-title img {
        width: 47.5vw;
    }

    .friends .flash .embed-video .btn-play::after {
        width: 13.61vw;
        height: 13.61vw;
        margin-left: -6.81vw;
        margin-top: -6.81vw;
        border: 0.42vw solid rgba(255, 255, 255, 0.33);
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    /* TEASER */
    .friends .teaser {
        min-height: calc(100dvh - 12.80193vw - 45.6231884057971vw);
    }

    /* PHOTO */
    .friends .photo {
        padding-top: 27.77778vw;
        padding-bottom: 20.5314vw;
    }

    .friends .photo .section-title {
        margin-bottom: 12.07729vw;
    }

    .friends .photo .section-title img {
        width: 25.12077vw;
    }

    .friends .photo .photo-swiper {
        max-width: 100%;
        padding: 0;
    }

    .friends .photo .photo-swiper .btn-photo-prev,
    .friends .photo .photo-swiper .btn-photo-next {
        width: 3.62319vw;
        height: 3.62319vw;
        z-index: 2;
    }

    .friends .photo .photo-swiper .btn-photo-prev {
        background: url(./../../../../images/bts/discography/v/friends/ui/arr_l_mobile.png) no-repeat center/100%;
        left: 20px;
    }

    .friends .photo .photo-swiper .btn-photo-next {
        background: url(./../../../../images/bts/discography/v/friends/ui/arr_r_mobile.png) no-repeat center/100%;
        right: 20px;
    }

    .friends .photo .photo-swiper-text-box {
        max-width: 74.87923%;
        margin: 3.381643vw auto 0;
    }

    .friends .photo .photo-swiper-text-box .title {
        width: 41.0628vw;
        flex: 0 0 41.0628vw;
    }

    .friends .photo .photo-swiper-text-box .pagination {
        gap: 0 5.79710vw;
    }

    .friends .photo .photo-swiper-text-box .pagination .item {
        width: 4.106280vw;
        flex: 0 0 4.106280vw;
    }

    /* VIDEO */
    .friends .video {
        padding-bottom: 19.806763vw;
    }

    .friends .video .container {
        max-width: 100%;
    }

    .friends .video .section-title {
        margin-bottom: 12.07729vw;
    }

    .friends .video .section-title img {
        width: 22.463768vw;
    }

    .friends .video .yt-video-group::after {
        display: none;
    }

    .friends .video .yt-video-group .yt-video {
        position: relative;
    }

    .friends .video .yt-video-pagination {
        margin-top: 2.89855vw;
    }

    .friends .video .yt-video-pagination .item {
        width: 31.88406vw;
        flex: 0 0 31.88406vw;
    }

    .friends .video .album-video {
        margin-top: 0;
        padding: 0;
    }

    .friends .video .album-video .slide-wrap > ul > li {
        margin-bottom: 14.49275vw;
    }

    .friends .video .album-video .slide-wrap > ul > li:last-child {
        margin-bottom: 0;
    }

    .friends .video .album-video .slide-wrap > ul > li .contents-sub {
        padding: 0;
        margin: 2.89855vw auto 0;
        width: 31.88406vw;
    }

    /* END */
    .friends .end {
        padding-bottom: 5.7971vw;
    }

    .friends .end img {
        width: 16.90821vw;
    }
}