@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@200;300;400;500;600;700;800;900&display=swap');

body {width:100%; font-family: 'Gothic A1', sans-serif; font-weight: 400;}

.p-wrap {
    color: #000;
    position: relative;
    width: 100vw;
    height: 100vh;
}
.p-wrap .category {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 12.5vw;
    height: 100vh;
    padding: 13.33vw 0 0 3.38vw;
}
.p-wrap .category ul li {
    cursor: pointer;
    width: 7.1vw;
    height: 1.3vw;
    background: #f9f9f9;
    text-align: center;
    line-height: 1.3vw;
    font-size: 0.83vw;
    color: #ccc;
    margin-bottom: 0.78vw;
}
.p-wrap .category ul li:last-child {
    margin-bottom: 0;
}
.p-wrap .category ul li.active {
    color: #000;
    background: #e0e0e0;
    font-weight: 500;
}
.p-wrap .cont > div {
    width: 100vw;
    height: 100vh;
    background: #fff;
    position: absolute;
}
.p-wrap .cont .title {
    position: absolute;
    top: 5.2vw;
    left: 3.38vw;
    font-family: 'SBAggroB';
    font-size: 5.156vw;
    color: rgba(0,0,0,0.08);
    z-index: 11;
}
.p-wrap .cont .title.ss {
    font-size: 3.9vw;
}
.p-wrap .cont .swiper-slide {
    overflow: hidden;
    width: 100vw;
    background-color: #fff;
    position: relative;
    padding-left: 13.54vw;
}
.p-wrap .cont .swiper-slide article {
    float: left;
}
.p-wrap .cont .swiper-slide article:first-child {
    padding-top: 13.33vw;
    width: 33.33vw;
    height: 100vh;
}
.p-wrap .cont .swiper-slide ul li strong {
    font-weight: 700;
    font-size: 1.25vw;
    margin-right: 1.04vw;
    letter-spacing: 0.15rem;
}
.p-wrap .cont .swiper-slide ul li span {
    font-size: 0.729vw;
    font-weight: 500;
    color: #9f9f9f;
    letter-spacing: 0.8rem;
}
.p-wrap .cont .swiper-slide ul li p {
    font-size: 0.93vw;
    margin: 1.04vw 0 1.56vw;
    padding-left: 0.52vw;
    border-left: 1px solid rgba(0,0,0,0.22);
    height: 6vw;
    /* padding-bottom: 1.04vw; */
}
.p-wrap .cont .swiper-slide ul li:nth-child(2) p {
    height: 4vw;
}
.p-wrap .cont .swiper-slide ul li:nth-child(3) p {
    height: 5.11vw;
}
.p-wrap .cont .swiper-slide article:last-child {
    height: 100vh;
    background: #eeeeee;
    position: relative;
}
.p-wrap .cont .swiper-slide article:last-child img {
    width: auto;
    height: 100vh;
    position: relative;
}
.p-wrap .cont .swiper-slide article:last-child .link {
    position: absolute;
    top: 7.645vw;
    left: 1.04vw;
    display: inline-block;
    padding: 0.32vw 1.56vw;
    border-radius: 3vw;
    background-color: #e0e0e0;
    color: #858383;
    font-size: 0.93vw;
}
.p-wrap .cont .swiper-slide article:last-child .link:hover {
    background-color: #d4d3d3;
}
.p-wrap .cont .video article:last-child .link {
    background-color: rgba(167, 161, 154, 0.5);
    color: #6d6c6c;
}
.p-wrap .cont .video article:last-child .link:hover {
    background-color: rgba(167, 161, 154, 0.7);
}
.p-wrap .video .swiper-slide article:last-child {
    overflow: hidden;
}
.p-wrap .video .swiper-slide article:last-child img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.p-wrap .cont .swiper-slide article .mp4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}
.p-wrap .cont .swiper-slide article .mp4 .background {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}
.p-wrap .cont .swiper-slide article .mp4 video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    /* left: 50.5%;
    top: 23.55vw;
    width: 30.8vw; */
}
.p-wrap .swiper-button-prev, 
.p-wrap .swiper-button-next {
    width: 1.04vw;
    height: 1.56vw;
    margin-top: 17vw;
    background-size: 100% 100%;
    left: 14.58vw;
    right: 0;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23101010'%2F%3E%3C%2Fsvg%3E")
}
.p-wrap .swiper-button-next {
    left: 18.75vw;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23101010'%2F%3E%3C%2Fsvg%3E");
}
.swiper-button-next:after, .swiper-button-prev:after {
    opacity: 0;
}
#popup {
    display: none;
}


/* portfolio mobile */
@media screen and (max-width:1080px) {
    .p-wrap {
        height: 320.59vw;
    }
    .p-wrap .cont > div {
        height: 100%;
    }
    .p-wrap .category {
        top: auto;
        bottom: 0;
        width: 100vw;
        height: 57.4vw;
        padding: 12vw 6vw 0;
    }
    .p-wrap .category ul li {
        float: left;
        width: 26.8vw;
        height: 4.6vw;
        font-size: 3.3vw;
        line-height: 4.9vw;
        margin-right: 3.8vw;
        margin-bottom: 2.7vw;
    }
    .p-wrap .category ul li:nth-child(3n) {
        margin-right: 0;
    }
    .p-wrap .category ul li:last-child {
        margin-left: 30.6vw;
    }
    .p-wrap .swiper-button-prev, 
    .p-wrap .swiper-button-next {
        width: 5vw;
        height: 9vw;
        margin-top: 0vw;
        left: 35.46vw;
    }
    .p-wrap .swiper-button-next {
        left: 59.81vw;
    }
    .p-wrap .cont .swiper-slide {
        padding-left: 0;
    }
    .p-wrap .cont .title {
        top: 12.96vw;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12vw;
        white-space: nowrap;
    }
    .p-wrap .cont .title.s {
        font-size: 11.11vw;
    }
    .p-wrap .cont .title.ss {
        font-size: 8.3vw;
    }
    .p-wrap .cont .title.sss {
        font-size: 7.3vw;
    }
    .p-wrap .cont .swiper-slide article:first-child {
        padding: 176vw 0 0 6.48vw;
        width: 100vw;
        height: fit-content;
    }
    .p-wrap .cont .swiper-slide article:last-child {
        width: 100vw;
        height: 123.14vw;
        position: absolute;
        left: 0;
        top: 31.48vw;
    }
    .p-wrap .cont .swiper-slide ul li strong {
        font-size: 3.79vw;
        letter-spacing: 0.2rem;
        margin-right: 2.7vw;
    }
    .p-wrap .cont .swiper-slide ul li span {
        font-size: 2.22vw;
        letter-spacing: 1.2rem;
    }
    .p-wrap .cont .swiper-slide ul li p {
        font-size: 3vw;
        margin: 4.16vw 0 5.55vw;
        padding-left: 1.85vw;
        height: 21vw;
    }
    .p-wrap .cont .swiper-slide ul li:nth-child(2) p {
        height: 5.6vw;
    }
    .p-wrap .cont .swiper-slide ul li:nth-child(3) p {
        height: 19.11vw;
    }
    .p-wrap .cont .swiper-slide article:last-child img {
        width: 100%;
        height: auto;
    }
    .p-wrap .cont .swiper-slide article:last-child .link {
        top: 113vw;
        right: 4vw;
        left: auto;
        padding: 0.9vw 4.85vw;
        border-radius: 4vw;
        font-size: 3.54vw;
    }

    
#popup {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,0.7);
}
#popup .swipe {
    position: absolute;
    top: 40%;
    left: 50%;
    transform-origin: center center;
    transform: scale(1.1) translate(-50%,-50%);
    width: 15.74vw;
    z-index: 100;
    opacity: 0;
    transition: all 0.5s;
    animation: swipe 2s ease-in-out 2 forwards;
}
@keyframes swipe {
    30%{opacity: 1;transform: scale(1) translate(-50%,-50%);}
    50%{opacity: 1;transform: scale(1) translate(-50%,-50%);}
    100%{opacity: 0;transform: scale(1) translate(-130%,-50%);}
}
}
@media screen and (max-width:768px) {
    .p-wrap .cont .swiper-slide ul li span {
        letter-spacing: 0.6rem;
    }
}