body {
    background-color: #111;
}
/* main-visual */
#main-visual .swiper-wrapper .swiper-slide {
    width: 100%;
    height: 100dvh;
    /* aspect-ratio: 96 / 49; */
}
#main-visual .swiper-wrapper .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#main-visual .swiper-wrapper .swiper-slide a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}
#main-visual .swiper-wrapper .swiper-slide a::after{
    content: '';
    position: absolute;
    inset: 0;
    background-color: #000;
    opacity: 0.3;
}
#main-visual .swiper-wrapper .swiper-slide a .title,
#main-visual.swiper .float-title {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    display: grid;
    place-items: center;
    row-gap: 64px;
    z-index: 2;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
#main-visual .swiper-wrapper .swiper-slide a .title img,
#main-visual.swiper .float-title img {
    width: 660px;
    max-width: 100%;
    height: 90px;
    object-fit: contain;
    object-position: center;
}
#main-visual .swiper-wrapper .swiper-slide a .title strong,
#main-visual.swiper .float-title strong {
    font-size: 44px;
    font-weight: 700;
}
#main-visual .swiper-wrapper .swiper-slide > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#main-visual.swiper {
    position: relative;
}
/* about */
#about {
    padding-top: 130px;
    background-image: url('../images/main/logo-bg-gradient.svg');
    background-size: 90% auto;
    background-position: center 25%;
    background-repeat: no-repeat;
}
#about .title {
    text-align: center;
}
#about .title h1 {
    font-weight: 700;
    font-size: 64px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 45px;
}
#about .title p {
    font-size: 32px;
    position: relative;
}
#about .title p::after {
    content: '';
    position: absolute;
    background-color: #818181;
    width: 1px;
    height: 50px;
    left: 50%;
    bottom: -72px;
    translate: -50% 0;
}
#about .content {
    display: grid;
    place-items: center;
    margin-top: 155px;
}
#about .content strong {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
}
#about .content p {
    word-break: keep-all;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
}
#about .content p em {
    font-size: 22px;
    font-weight: 700;
}
#about .swiper {
    position: relative;
    margin-top: 60px;
}
/* mask */
#about .swiper::before,
#about .swiper::after {
    content: '';
    width: 10vw;
    height: 100%;
    position: absolute;
    background: linear-gradient(to right, #111 0%, rgba(17, 17, 17, 0.00) 100%);
    z-index: 2;
    top: 0;
}
#about .swiper::before {
    left: 0;
}
#about .swiper::after {
    right: 0;
    rotate: 180deg;
}
#about .swiper .swiper-wrapper .swiper-slide {
    position: relative;
    transition: 0.3s opacity;
}
#about .swiper .swiper-wrapper .swiper-slide img{
    width: 100%;
    object-fit: cover;
    object-position: center;
}
#about .swiper .swiper-wrapper .swiper-slide::after {
    content: '';
    background: linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0.00) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 190px;
}
#about .swiper .swiper-wrapper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.2;
}
/* game */
:root {
    --image-gap: 54px;
    --skew-value: 27.57deg;
}
#game {
    margin-top: 135px;
    position: relative;
}
#game .title h1{
    font-size: 64px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
}
#game .content {
    margin-top: 60px;
    padding-top: var(--image-gap);
    display: grid;
    /* grid-template-columns: repeat(2, 1100px); */
    grid-template-columns: repeat(2, 100vw);
    column-gap: 10px;
    translate: -50% 0;
    position: absolute;
    left: 50%;
    max-height: 550px;
}
#game .content a {
    overflow: hidden;
    position: relative;
    backface-visibility: hidden;
    height: 550px;
}
#game .content a img.front {
    position: absolute;
    inset: 0;
}
/* aos 사용을 위해 선언 */
#game .content a:nth-child(1) {
    transform: skewX(calc(var(--skew-value) * -1)) translate3d(-100px,0,0);
}
#game .content a:nth-child(2) {
    transform: skewX(calc(var(--skew-value) * -1)) translate3d(100px,0,0);
}
#game .content a[data-aos^=fade][data-aos^=fade].aos-animate {
    opacity: 1;
    transform: skewX(calc(var(--skew-value) * -1)) translateZ(0);
}
#game .content a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 260px;
    background: linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0.00) 100%);
    z-index: 1;
    transition: 0.3s all;
    transform-origin: bottom center;
}
#game .content a img:not(.logo) {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: skewX(var(--skew-value));
}
#game .content a > img.bg {
    object-fit: cover;
}
#game .content a:nth-child(1) > img {
    translate: 13% 0;
    object-position: right;
}
#game .content a:nth-child(2) > img {
    translate: -13% 0;
    object-position: left;
}
#game .content a > img {
    object-fit: cover;
}
#game .content a:nth-child(1) {
    translate: 0 calc(-1 * var(--image-gap))
}
#game .content a .logo {
    position: absolute;
    bottom: 50px;
    right: 17vw;
    z-index: 2;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    transform: skewX(var(--skew-value));
    height: 100%;
}
#game .content a:nth-child(2) .logo {
    right: auto;
    left: 17vw;
}
#game .content a .logo > * {
    transform: skew(0deg) !important;
}
#game .content a .logo img {
    width: 356px;
    height: 88px;
    object-fit: contain;
    object-position: center;
}
#game .content a:nth-child(2) .logo img {
    height: 120px;
}
/* #game .content a:nth-child(2) .logo img {
    width: auto;
} */

#game .content a:hover::before {
    background: rgba(0, 0, 0, 0.80);
    height: 100%;
}
#game .content a:hover .logo::after {
    content: '';
    position: absolute;
    right: -48px;
    bottom: 44px;
    translate: 0 50%;
    width: 16px;
    height: 16px;
    background-image: url('../images/common/icon-right-chevron.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    /* transform: skewX(var(--skew-value)); */
    animation: fadeIn 0.3s forwards;
}
/* #game .content a:nth-child(1):hover .logo::after {
    margin-left: 80px;
} */
/* #game .content a:nth-child(2):hover .logo {
    translate: calc(-50% + 8px) 0;
} */
/* #game .content a:nth-child(2):hover .logo::after {
    margin-left: 40px;
} */
#game .content a .desc {
    position: absolute;
    display: none;
    width: max-content;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    transform: skewX(var(--skew-value));
    z-index: 2;
    line-height: 1.25;
}
#game .content a:hover .desc {
    display: block;
    animation: fadeIn 0.3s forwards;
}
/* news */
#news {
    margin-top: 610px;
    padding-top: 130px;
    padding-bottom: 130px;
}
#news .title {
    text-align: center;
}
#news .title h1 {
    font-size: 64px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 16px;
    font-weight: 700;
}
#news .title p {
    font-size: 18px;
    line-height: 2.5;
    font-weight: 700;
    margin-bottom: 43px;
}
#news .container {
    position: relative;
}
#news .container .swiper .swiper-slide a .img_box {
    width: 100%;
    height: 255px;
}
#news .container .swiper .swiper-slide a .img_box img {
    width: 100%;
    height: 100%;
    aspect-ratio: 450/255;
    object-fit: cover;
    object-position: center;
}
#news .container .swiper .swiper-slide a .txt_box {
    height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0 14px;
    background-color: #222;
}
#news .container .swiper .swiper-slide a .txt_box .news_tit {
    font-size: 18px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-height: 1.2;
}
#news .container .swiper .swiper-slide a .txt_box .date {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
}
#news .container .swiper-button-prev {
    left: 0;
    translate: -50% 0;
}
#news .container .swiper-button-next {
    right: 0;
    translate: 50% 0;
}

/* mobile 모바일 */
/* container 크기보다 작으면 모바일 화면 */
@media screen and (max-width: 1409px) {
    #main-visual .swiper-wrapper .swiper-slide {
        height: 100dvh;
    }
    #main-visual .swiper-wrapper .swiper-slide a .title,
    #main-visual.swiper .float-title {
        row-gap: 8px;
    }
    #main-visual .swiper-wrapper .swiper-slide a .title strong,
    #main-visual.swiper .float-title strong {
        font-size: 20px;
        width: max-content;
    }

    #about .title h1 {
        font-size: 34px;
        margin-bottom: 32px;
    }
    #about .title p {
        font-size: 22px;
    }
    #about .title p::after {
        height: 28px;
        bottom: -1.5em;
    }
    #about .content {
        margin-top: 60px;
    }
    #about .content strong {
        font-size: 18px;
        word-break: keep-all;
        line-height: 1.5;
    }
    #about .content p {
        font-size: 16px;
    }
    #about .content p em {
        font-size: 16px;
    }
    #about .swiper .swiper-wrapper .swiper-slide::after {
        height: 30%;
    }
    #game .title h1 {
        font-size: 40px;
    }
    #game .content {
        width: 100%;
        grid-template-columns: 1fr;
        column-gap: 0;
        position: relative;
    }
    #game .content a[data-aos^=fade][data-aos^=fade].aos-animate {
        opacity: 1;
        transform: skewX(calc(var(--skew-value) * -1)) translateX(0);
    }
    #game .content a {
        max-width: 70dvw;
        min-width: 360px;
        opacity: 0;
        transition: 0.3s opacity;
        height: 30lvh;
        min-width: 120vw;
    }
    /* #game .content a > img.front {
        object-fit: cover;
    } */
    #game .content a:hover .desc {
        display: none;
    }
    #game .content a:nth-child(1) {
        translate: -10% 0;
    }
    #game .content a:nth-child(2) {
        position: absolute;
        right: 0;
        top: 100%;
        translate: 10% 0;
        margin-top: 30px;
    }
    #game .content a .logo img {
        width: 20dvw;
        min-width: 150px;
    }
    #game .content a:nth-child(1) .logo {
        right: 25vw;
        bottom: 5%;
    }
    #game .content a:nth-child(2) .logo {
        left: 20vw;
        bottom: 5%;
    }
    #game .content a:hover::before {
        /* 모바일 일때는 호버효과 없애기 (기존효과 유지) */
        height: 260px;
        background: linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0.00) 100%);
    }
    #game .content a:hover .logo::after {
        display: none;
    }
    #news {
        margin-top: 30vh;
        padding-top: 10dvh;
    }
    #news .title h1 {
        font-size: 34px;
    }
    #news .title p {
        font-size: 16px;
    }
    #news .container .swiper-button-prev,
    #news .container .swiper-button-next {
        display: none;
    }
    #game .content a:hover .desc {
        /* display: none; */
        font-size: 14px;
    }
    #news .container .swiper .swiper-wrapper {
        flex-direction: column;
        row-gap: 24px;
    }
    #news .container .swiper .swiper-wrapper .swiper-slide {
        display: none;
    }
    #news .container .swiper .swiper-wrapper .swiper-slide:nth-of-type(1),
    #news .container .swiper .swiper-wrapper .swiper-slide:nth-of-type(2),
    #news .container .swiper .swiper-wrapper .swiper-slide:nth-of-type(3) {
        display: block;
        width: 100% !important;
    }
    #news .container .swiper .swiper-slide a .img_box,
    #news .container .swiper .swiper-slide a .img_box img {
        height: auto;
    }
    #news .container .swiper .swiper-slide a .txt_box .news_tit {
        font-size: 16px;
        line-height: 1.25;
    }
    #news .container .swiper .swiper-slide a .txt_box {
        height: auto;
        padding-block: 16px;
    }
    #news .container .swiper .swiper-slide a .txt_box .date {
        margin-top: 12px;
        font-size: 14px;
    }
}