/* ----------------------------------------------
    frame
------------------------------------------------*/
nav {
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 10;
    width: 100%;
    height: 80px;
    background-color: rgba(250, 250, 250, 0.96);
    max-width: 1920px;
    margin: auto;
    right: 0;
}

nav .menu-top {
    margin: auto;
    /*! max-width: 1920px; */
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
}

nav:before {
    content: '';
    position: absolute;
    top: 55px;
    width: 93%;
    height: 1px;
    background: rgba(0, 0, 0, 0.25);
    right: 25px;
}

nav:after {
    content: '';
    position: absolute;
    top: 54px;
    width: 25px;
    height: 3px;
    background: rgb(0, 0, 0);
    right: 22px;
}

@media screen and (min-width:1921px) {
    nav:before {
        content: '';
        width: 93.5%;

    }
}

@media screen and (max-width:1800px) {

    nav:before {
        content: '';
        width: 92%;
    }
}

@media screen and (max-width:1600px) {
    nav {
        height: 70px;
    }

    nav:before {
        content: '';
        top: 47px;
        width: 91%;

    }

    nav:after {
        content: '';
        top: 46px;
        width: 25px;
    }

}

@media screen and (max-width:768px) {
        nav {
        height: 55px;
    }
    nav .menu-top {
        padding-right: 0rem;
        padding-left: 0rem;
        /*! height: 100vh; */
        flex-direction: column;
    }


    nav:before {
        content: '';
        top: 37px;
        width: 68%;

        right: 50px;
    }

    nav:after {
        content: '';
        top: 36px;
        width: 25px;
        opacity: 0;
    }

}


/*-----------------------------------------------
    icon
-----------------------------------------------*/

.menu-icon {
    position: relative;
    z-index: 2;

    width: 350px;
    padding: 15px 0 0 15px;
}

.menu-icon a {
    display: flex;
}

.game-name {
    font-size: 1.2rem;

    display: flex;
    flex-direction: column;
    margin: 14px 10px 0;
    letter-spacing: 0.05rem;
    width: 250px;
}

.game-name span {
    margin: 2px 0 0px 0;
    font-size: .8rem;
    color: #434242;
    letter-spacing: 0.1rem;
}

.menu-icon img {
    width: 90px;
    height: 90px;
}
@media screen and (max-width:1600px) {
    .menu-icon {
        transform: scale(0.8) translate(-12%, -8%);
    }
}

@media screen and (max-width: 768px) {

    .menu-icon {
        transform: scale(0.7) translate(-22%, -23%);
    }


}


/*-----------------------------------------------
    list
-----------------------------------------------*/
.menu-list {
    height: 24px;
    margin: 28px 55px 0 0;
}

.menu-list ul {
    display: flex;
}


.menu-list ul li {
    width: 100%;
    max-width: 165px;
    background: #000;
    margin: 0 2px;
    min-width: 110px;
    position: relative;
}

.menu-list ul li span{
    position: absolute;
    right: 10px;
    top: -13px;
    color: #ff3c00;
    font-size:0.6rem;


    letter-spacing: 0.1rem;
    font-weight: 500;
}


.menu-list ul li a {
    padding: 0 10px;
    height: 24px;
    line-height: 24px;
    color: #fff;
    font-size: 0.85rem;
    text-align: right;
    letter-spacing: .01rem;
    font-weight: 500;
}



@media screen and (max-width:1600px) {


    .menu-list {
        transform: scale(0.85) translate(8.5%, -30%);
    }
}


@media screen and (max-width:768px) {

    .menu-list {
        position: absolute;
        top: 0%;
        left: 0%;
        z-index: 2;
        width: 100%;
        height: 100vh;
        /*! background: rgba(250, 250, 250, 0.9); */

        display: none;
        transform: scale(1) translate(0%, 0%);
        /*! margin: auto; */
    }

    .menu-list ul {
        z-index: 1;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

.menu-list ul li {
    width: 100%;
    max-width: 76%;
    background: transparent;
    margin: 0 2px;
    min-width: 100px;
    position: relative;
}

    .menu-list ul li a {
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        color: #000;
        height: 14vw;
    }


    .menu-list ul li a:hover {
        width: 100%;
        /*! color: #dc3545; */

        /*! text-align: center; */
    }

    /*! open & close */
    .menu-list-open {
        /*top: 0;*/
        height: 100vh;

        transition: all .3s ease;
    }

    .menu-list-close {
        /*top: -100vh;*/
        height: 55px;

        transition: all .5s ease;
    }


}



/*-----------------------------------------------
    menu-btn - m
-----------------------------------------------*/
.menu-btn {
    display: none;
}

@media screen and (max-width:768px) {
    .menu-btn {
        display: flex;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 99;
        width: 40px;
        height: 40px;
        cursor: pointer;
        border: 0;
        transition: all .5s ease-in-out;
        background: transparent;
        align-items: center;
        justify-content: center;
    }

    .menu-btn_burger {
        position: relative;
        width: 22px;
        height: 3px;
        border-radius: 5px;
        transition: all .5s ease-in-out;
        background: #000;
        box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
    }

    .menu-btn_burger::before,
    .menu-btn_burger::after {
        position: absolute;
        left: 0;
        width: 22px;
        height: 3px;
        border-radius: 5px;
        content: '';
        transition: all .5s ease-in-out;
        background: #000;
        box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
    }

    .menu-btn_burger::before {
        transform: translateY(-7px);
    }

    .menu-btn_burger::after {
        transform: translateY(7px);
    }

    /* ANIMATION */
    .menu-btn.open .menu-btn_burger {
        transform: translateX(-20px);
        background: transparent;
        box-shadow: none;
    }

    .menu-btn.open .menu-btn_burger::before {
        transform: rotate(45deg) translate(15px, -15px);
    }

    .menu-btn.open .menu-btn_burger::after {
        transform: rotate(-45deg) translate(15px, 15px);
    }
}



/* ----------------------------------------------
    old-frame
------------------------------------------------*/
/*.nav-btn {
    position: fixed;
    width: 20%;
    max-width: 120px;
    height: 27px;
    background: rgb(0, 0, 0);
    color: #fff;
    text-align: center;
    line-height: 27px;
    z-index: 90;
    top: 3%;
    left: 2%;
    letter-spacing: 0.1rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.nav-btn-show-m,
.nav-btn-hide-m {
    display: none;
}

@media screen and (max-width:1600px) {
    .nav-btn {
        width: 17%;
        max-width: 120px;
        height: 22px;
        line-height: 22px;
        top: 3%;
        left: 2%;
        font-size: 0.85rem;
    }
}

@media screen and (max-width:768px) {
    .nav-btn {
        width: 18%;
        max-width: 120px;
        height: 16px;
        line-height: 16px;
        top: 3%;
        left: 2%;
        font-size: 0.65rem;
    }

    .nav-btn-show-m,
    .nav-btn-hide-m {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 10;
    }

    .nav-btn-show-m {
        display: block;
    }

}
*/

/*-----------------------------------------------
   nav-btn-effect
-----------------------------------------------*/



/*
.nav-btn::before {
    pointer-events: none;
    content: 'MENU';
    color: #000;
    text-align: center;
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 250, 250, 1);
    top: 0;
    left: 0;

    -webkit-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: scaleX(0);
    transform: scaleX(0) -webkit-animation: 10s maskIn cubic-bezier(.87, 0, .13, 1) 3s 100 forwards;
    animation: 10s maskIn cubic-bezier(.87, 0, .13, 1) 3s 100 forwards;
    font-size: 1rem;
}




@keyframes maskIn {
    0% {
        -webkit-transform-origin: left center;
        transform-origin: left center;
        -webkit-transform: scaleX(0);
        transform: scaleX(0)
    }

    10% {
        -webkit-transform-origin: left center;
        transform-origin: left center;
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }

    11% {
        -webkit-transform-origin: right center;
        transform-origin: right center;
        -webkit-transform: scaleX(1);
        transform: scaleX(1)
    }

    20%,
    100% {
        -webkit-transform-origin: right center;
        transform-origin: right center;
        -webkit-transform: scaleX(0);
        transform: scaleX(0)
    }
}

@media screen and (max-width:1440px) {

    .nav-btn::before {

        font-size: 0.85rem;
    }
}

@media screen and (max-width:768px) {

    .nav-btn::before {

        font-size: 0.65rem;
    }
}
*/

/*-----------------------------------------------
    轉動選單
-----------------------------------------------*/
.swiper-slide {
    transform: scale(0.8);
}



img.img-active {
    position: absolute;
    width: 100%;
    /*! height: 100%; */
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: all .3s ease;

}


.swiper-slide-next img {
    opacity: 0;
}

.swiper-slide>.none {
    opacity: 1;
    cursor: default;
}

.swiper-slide-next img.img-active {
    opacity: 1;
    transition: all .3s ease;
}

.swiper-slide>div {
    /*.go-top,.go-world,.go-hero,.go-gallery{*/
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 2;
    /**/


}

.swiper-slide {
    cursor: move;
}

.swiper-slide-next {
    cursor: pointer;

    transition: all .3s ease;
    margin: 0px 0 0 -7%;

    cursor: default;
}



/* ----------------------------------------------
    frame
------------------------------------------------*/


.nav-show {
    animation: navShow 1.2s cubic-bezier(.250, .460, .450, .940) 0s 1 both;
    pointer-events: auto;
}

.nav-hide {
    animation: navHide 0.8s cubic-bezier(.250, .460, .450, .940) 0s 1 both;
    pointer-events: none;
}

.nav-opening {
    opacity: 0;
    z-index: -1;
    width: 0;
    height: 0;
}


@keyframes navShow {

    0%,
    30% {
        opacity: 0;
        filter: blur(3px);
    }

    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes navHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.hero-nav,
.gallery-nav {
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 10;
    width: 260px;
    height: 930px;
    z-index: 50;
}


.nav-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/nav-bg.png) 50% / 100% no-repeat;
    animation: navShow 1s cubic-bezier(.250, .460, .450, .940) 0s 1 both;
}

.nav-bg2 {
    background: url(../images/nav-bg2.png) 50% / 100% no-repeat;
}

.nav-line,
.hero-nav:before,
.gallery-nav:before {
    pointer-events: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url(../images/nav-bg-line.png) 0 50% / 100% no-repeat;
    animation: navShow2 1.5s cubic-bezier(.250, .460, .450, .940) 0.2s 1 both;
}




@keyframes navShow2 {
    0% {
        opacity: 0;
        clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
        filter: blur(0px);
        transform: skew(0deg, -5deg) rotateY(-55deg);
    }

    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        filter: blur(0px);
        transform: skew(0deg, 0deg) rotate(0deg);
    }
}




@media screen and (min-width:1921px) {}

@media screen and (max-width:1800px) {

    .hero-nav,
    .gallery-nav {
        transform: scale(0.9) translate3d(-6%, -1%, 0);
    }
}

@media screen and (max-width:1600px) {

    .hero-nav,
    .gallery-nav {
        transform: scale(0.8) translate3d(-13%, -10%, 0);
    }

}

@media screen and (max-width:1440px) {

    .hero-nav,
    .gallery-nav {
        transform: scale(0.7) translate3d(-22%, 0%, 0);
    }

    .hero-nav,
    .gallery-nav {
        top: -8%;

    }
}

@media screen and (max-width:1280px) {

    .hero-nav,
    .gallery-nav {
        transform: scale(0.6) translate3d(-34%, -25%, 0);
    }

    .hero-nav,
    .gallery-nav {
        top: -5%;

    }
}

@media screen and (max-width:960px) {

    .hero-nav,
    .gallery-nav {
        transform: scale(0.6) translate3d(-34%, -25%, 0);
    }

    .hero-nav,
    .gallery-nav {
        top: -18%;

    }
}


/*-----------------------------------------------
    hero-nav
-----------------------------------------------*/
.hero-nav,
.gallery-nav {
    /*display: none;*/
    position: absolute;

}


/*-----------------------------------------------
    df-cover
-----------------------------------------------*/
.df-cover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*background: rgba(0, 0, 0, .5);*/
    background: rgba(24, 24, 24, 0.7);

}

.hint {
    pointer-events: none;
    position: fixed;
    top: 42%;
    left: 10%;
    z-index: 1;
    /*    width: 100%;
    height: 100%;*/
    width: 25px;
    height: 88px;
    background: url(../images/hint.png) center top / 100% no-repeat;
    animation: 1.2s hint cubic-bezier(.87, 0, .13, 1) 0s infinite;


}

.hint2,
.hint3 {
    pointer-events: none;
    display: none;
    position: fixed;
    top: 42%;
    left: 80%;
    z-index: 3;
    width: 100px;
    height: 75px;
    background: url(../images/hint2.png) center top / 100% no-repeat;
    animation: 1.2s hint2 cubic-bezier(.87, 0, .13, 1) 0s infinite;
}

.hint-hide {
    opacity: 0;
}

.hint3 {
    top: 42%;
    left: 20%;
    background: url(../images/hint3.png) center top / 100% no-repeat;
    animation: 1.2s hint3 cubic-bezier(.87, 0, .13, 1) 0s infinite;
}

@keyframes hint {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }


    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

@keyframes hint2 {
    0% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }


    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

}

@keyframes hint3 {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }


    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}



@media screen and (max-width:768px) {




    .hint {
        left: 27%;

    }

}


/*-----------------------------------------------
    social-link
-----------------------------------------------*/

.social-link {
    position: absolute;
    z-index: 50;
    /*max-width: 230px;*/
    max-width: 130px;
    width: 130px;
    height: 25px;
    top: 1vw;
    left: 15vw;
}

.social-link ul {
    display: flex;
    max-width: 100%;
    margin-left: 0;
}

.social-link ul li {
    /*! flex: 1; */
    height: 27px;
    margin: 0 2%;
    text-indent: -300%;
    transition: all .3s ease;
    width: 25px;
}

.social-link ul li a {
    display: block;
    height: 100%;
    text-align: center;
    line-height: 80px;
    transition: all .3s ease both;
    /*! transform: scale(1) translate(0, 0%); */
}

.social-link ul li a:hover {
    transform: scale(1.1) translate(0, 5%);
    transition: all .3s ease both;
}

.btn-fb {
    background: url(../images/social-link.png) 50% -1px /25px no-repeat;
}

.btn-x {
    background: url(../images/social-link.png) 50% -36px /25px no-repeat;
}

.btn-yt {
    background: url(../images/social-link.png) 50% -71px /25px no-repeat;
}

.btn-ig {
    background: url(../images/social-link.png) 50% -107px /25px no-repeat;
}

.btn-baha {
    background: url(../images/social-link.png) 50% 74% /100% no-repeat;
}

.btn-qoo {
    background: url(../images/social-link.png) 50% 93% /100% no-repeat;
}


@media screen and (min-width:1921px) {
.social-link {
    top: 0.95vw;
    left: 11vw;
}
}



@media screen and (max-width:1440px)
{
.social-link {
    transform: scale(0.8) translate(34%,10%);
    max-width: 120px;
}
}





@media screen and (max-width:768px) {
    .social-link {
        position: absolute;
        z-index: 50;
        /*max-width: 230px;*/
        /*! max-width: 150px; */
        /*! width: 23%; */
        height: 25px;
        top: 10px;
        right: 5px;
        transform: scale(0.75);
        left: initial;
    }


}


/*-----------------------------------------------
    download
-----------------------------------------------*/

.download {
    position: absolute;
    z-index: 50;
    height: 55px;
    top: 80%;
    margin: auto;
    left: 0;
    right: 0;

    /*----3個-----*/
    /*    width: 35%;
    */ max-width: 342px; /*
    right: 2%;
    */
    /*------------*/
    /*-----2個----*/
    width: 38%;
 

    max-height: 55px;
    min-height: 45px;
    /*-----------*/
}

.download:before{
    content: '';
    position: absolute;
    width: 130px;
    height: 100%;
    left: -42%;
    top: 50%;
    background: url(../images/icon-left.png) center top / 100% no-repeat ;
}

.download:after{
    content: '';
    position: absolute;
    width: 130px;
    height: 100%;
    right: -42%;
    top: 50%;
    background: url(../images/icon-right.png) center top / 100% no-repeat ;
}


.download>ul {
    display: flex;
}

.download>ul>li {
    flex: 1;
    /*----3個-----*/
    /*height: 45px;*/
    /*-----2個----*/
    height: 100%;
    border-radius: 6px;
    margin: 0.5%;
    border: 1px solid #ffffff52;
    transform: scale(1);
    transition: all .3s ease;
}

.download>ul>li:hover {
    transform: scale(1.08);
}

.download>ul>li>a {
    display: block;

    height: 100%;
    text-align: center;
    line-height: 80px;
    transition: all .3s ease;
    border-radius: 5px;
}


.and a {
     image-rendering: -webkit-optimize-contrast;
    background: #000 url(../images/download.jpg) no-repeat -3% center /350%;
}

.ios a {
     image-rendering: -webkit-optimize-contrast;
    background: #000 url(../images/download.jpg) no-repeat 33% center /350%;
}

.apk a {
     image-rendering: -webkit-optimize-contrast;
    background: #000 url(../images/download.jpg) no-repeat 99% center /380%;
}

.pc_ a {
     image-rendering: -webkit-optimize-contrast;
    background: #000 url(../images/download.jpg) no-repeat 67% center /380%;
}


@media screen and (max-width:1600px)
{
.download:before{
    content: '';
    left: -43%;
}

.download:after{
    content: '';
    right: -41%;
}
}

@media screen and (max-width:1440px)
{
.download {
    transform: scale(0.8) translate(0%,40%);
    /* transform: scale(1) translate(0%,40%);
    width: 45%;
    height: 36px; */
}
.download:before{
    content: '';
    left: -42%;
}

.download:after{
    content: '';
    right: -42%;
}

}


@media screen and (max-width:1280px)
{
.download:before{
    content: '';
    width: 33%;

    left: -35%;
    opacity: 0;
}

.download:after{
    content: '';
    width: 33%;
    right: -35%;
    opacity: 0;
}
}


@media screen and (max-width:768px) {
    .download {

        width: 63%;
        height: 5vh;

        transform: scale(1) translate(0%,55%);
    }
.download>ul>li {

    margin: 1%;

}

}
/*@media screen and (max-width:480px) {
    .download {

        width: 95%;
        height: 7vh;

    }

}
*/
/* run - 跑光效果*/

@keyframes run {
    0% {
        right: -200%;
        filter: brightness(1);
    }

    50% {
        right: 300%;
        filter: brightness(1.5);
    }

    100% {
        right: -200%;
        filter: brightness(1);
    }
}

.run {
    animation: btn-open 1s ease-out 0s 1 both;
}


/*usage: add "run-effect" to class in Html */
.run-effect1,
.run-effect2,
.run-effect3 {
    position: relative;
    overflow: hidden;
}

.run-effect1:after,
.run-effect2:after,
.run-effect3:after {
    position: absolute;
    top: -10%;
    right: -200%;
    z-index: 0;
    opacity: .2;
    width: 50%;
    height: 120%;
    color: #fff;
    content: '';
    transition: all 300ms;
    transform: skewX(40deg);
    animation: run 3.5s ease 0s infinite both;
    background: #fff;
    filter: brightness(.5);
}

.run-effect2:after {
    animation: run 3.5s ease 0.2s infinite both;
}

.run-effect3:after {
    animation: run 3.5s ease 0.4s infinite both;
}



/*-----------------------------------------------
    menu-bottom
-----------------------------------------------*/

.menu-bottom {
    position: absolute;
    right: 45px;
    bottom: 15%;
    width: 25%;
    /*! height: 25px; */
    /*! background: rgba(228, 228, 228, 0.4); */

    width: 15%;
    /*! margin: 10px auto 0; */
    z-index: 10;
    border-radius: 5px;
    /*! text-align: right; */
}

.menu-bottom ul li:after {
    content: '';
    /*! background: rgba(159, 159, 159, 0.6); */
    width: 1px;
    height: 50%;
    position: absolute;
    top: 25%;
    left: 0;
}

.menu-bottom ul li:nth-child(1):after {

    width: 0px;

}

.menu-bottom ul {
    display: flex;
    width: 98%;
    padding: 0;
    margin: auto;
    flex-direction: column;
    /*! background: rgba(228, 228, 228, 0.4); */
    height: 100%;
}

.menu-bottom ul li {
    padding: 0;
    list-style: none;
    flex: 1;
}

.menu-bottom a {
    font-size: 0.7rem;
    width: 100%;
    height: 100%;
    text-align: right;
    color: #555;
    line-height: 25px;
    font-weight: 500;
    letter-spacing: 0.02rem;
    transition: all .3s ease;
}

.menu-bottom a:hover {
    color: rgba(0, 139, 193, 0.6);
    transition: all .3s ease;

    /*! background: rgba(228, 228, 228, 0.4); */
}

.menu-bottom a:before {
    content: '';
    width: 0%;
    height: 1px;
    background: rgba(0, 139, 193, 0.3);
    position: absolute;
    /*! left: 0; */
    bottom: 0;
    transition: all .5s ease;
    margin: auto;


    /*! left: 0; */
    right: 0;
}


.menu-bottom a:hover:before {
    width: 45%;

    transition: all .5s ease;



    right: 0;
    bottom: 0;
}

@media screen and (max-width:1600px)
{
.menu-bottom {
    transform: scale(0.75) translate(7%,0%);
    right: 0%;

    width: 25%;
}
}
@media screen and (max-width:1400px)
{
.menu-bottom {
    transform: scale(0.8) translate(7%,13%);

}
}

@media screen and (max-width:960px)
{
.menu-bottom {
    transform: scale(0.7) translate(7%,27%);

}
}


@media screen and (max-width:768px)
{
.menu-bottom {
    transform: scale(0.9) translate(0%,0%);
    /*! right: initial; */

    /*! left: -8%; */
    top: 2%;
    right: 0;
    left: 0;
    margin: auto;
    width: 75%;
    bottom: inherit;
}
.menu-bottom a {

    text-align: center;

    padding: 1px 0;
}
.menu-bottom a:hover:before {
    content: '';
    width: 50%;
    left: 0;
    right: 0;
    margin: auto;
}
.menu-bottom a:before {
    content: '';


    left: 0;
    right: 0;
}

}

@media screen and (max-width:376px)
{
.menu-bottom {
    transform: scale(0.8) translate(0%,0%);

}
}