* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}
img {
    width: 100%;
    vertical-align: middle;
}
/* menu star */
#menu-check {
    position: absolute;
    top: -20px;
    z-index: -1;
}
.main-header{
    background-color: #a8d3ff;
    opacity: 0.8;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 2%;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow:0px 5px 10px #555;
}
.js_logo {
    width: 100%;
    max-width: 150px;
    margin-left: auto;
}

.menu-nav a{
    display: block;
    padding: 20px;
    text-align: center;
    font-size: 1.6rem;
    color: #0b3db2;
    font-family: 'Noto Serif TC', serif;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 0px 5px 10px #7e7a7ab3;
}
h5{
  padding: 5px 0 10px;
}
#qr{
  position: fixed;
  z-index: 999;
  right: 30px;
  bottom: 30px;  
  width: 80px;  
  padding: 5px 10px 10px;
  border-radius: 5px;  
  background-color: #ffffff;
  cursor:pointer ;
  text-align: center;
  display: block;
}

/* menu end */

/* .nav-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
}
.nav-container a {
    width: 160px;
    padding-bottom: 1%;
} 

.nav-bar {
    width: 100%;
    margin: auto;
    padding-bottom: 3px;
}
.nav-bar ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.nav-bar ul a {
    width: 18%;
    max-width: 100px;
    padding: 1%;
    transition: .3s;
}
.nav-bar a:hover {
    transform: scale(1.3, 1.3);
}
.nav-bar .back,
.nav-bar .download {
    width: 100%;
    max-width: 170px;
} */
.logo {
    position: absolute;
    z-index: 2;
    width: 100%;
    bottom: 24%;
    right: 0;
    left: 0;
    max-width: 650px;
    margin: auto;
}
.top-videobg {
    width: 100%;
    padding-bottom: 51.041667%;
    position: relative;
}

.top-videobg video {
    width: 100%;
    height: 100%;
    position: absolute;
}
/* 主視覺影片 */
/* main .video_wrapper::after{
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/main_mask.png') no-repeat center;
    opacity: 1;
} */
#top-bn .video_wrapper{
    position: relative;
    min-width: 100%;
    /* height: 100vh; */
    overflow: hidden;
    z-index: 0;
}
#top-bn .video_wrapper video{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.top-bn {
    width: 100%;
    /* height: 100vh; */
    position: relative;
    overflow: hidden;
}
.top-bn-container {
    width: 50%;
    max-width: 1480px;
    margin: auto;
    display: flex;
    position: absolute;
    bottom: 2%;
    right: 10%
}

/* .top-bn-word {
    width: 50%;
    position: relative;
} */

.btn-container {
    width: 100%;
    margin: auto;
    position: absolute;
    bottom: 8%;
}

.btn-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    z-index:99;
}
/* 按鈕邊框光線 */
.btn-bling{
    position: relative;
    transition: 0.5s;
    overflow: hidden;
}
.btn-bling:hover{
    background: #03e9f4;
    color: #050801;
    box-shadow: 0 0 5px #03e9f4,
                0 0 15px #03e9f4,
                0 0 25px #03e9f4,
                0 0 50px #03e9f4;
}
.btn-bling span{
    position: absolute;
    display: block;
}
.btn-bling span:nth-child(1){
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,transparent,#03e9f4);
    animation: animate1 1s linear infinite;
}
.reminder{
    color: #000000;
    text-align: center;
    margin: 0 auto;
    padding: 10px 15px; 
  }
  .reminder h4{
    font-size: 16px; 
    
    padding: 0 0 5px;
   }
   .reminder p{
    font-size: 14px; 
    line-height: 20px; 
    font-weight: lighter; 
   }
   .reminder strong{
    font-weight: bolder;  
   }
@keyframes animate1{
    0%{
        left: -100%;
    }
    50%,100%{
        left: 100%;
    }
}
.btn-bling span:nth-child(2){
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,transparent,#03e9f4);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}
@keyframes animate2{
    0%{
        top: -100%;
    }
    50%,100%{
        top: 100%;
    }
}
.btn-bling span:nth-child(3){
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg,transparent,#03e9f4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}
@keyframes animate3{
    0%{
        right: -100%;
    }
    50%,100%{
        right: 100%;
    }
}
.btn-bling span:nth-child(4){
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg,transparent,#03e9f4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}
@keyframes animate4{
    0%{
        bottom: -100%;
    }
    50%,100%{
        bottom: 100%;
    }
}
/* 按鈕邊框光線 END*/
.btn-group a {
    padding: 5px;
}

/* .tipbox {
    width: 60%;
} */
.videoarea {
    width: 100%;
    margin: auto;
    padding: 5%;
    background: url("https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/video_bg.jpg") no-repeat top; 
    background-size: 100% 100%;
    position: relative;
    overflow: hidden;
}

.video-container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    position: relative;
    top: 20%;
    right: 0;
    left: 0;
    z-index: 1;
}

.video-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.video-title {
    width: 30%;
    position: relative;
    top: 8%;
    left: 0;
    right: 0;
    margin: auto;
    padding-bottom: 6%;
    z-index: 1;
}
.chart_group{
    display: flex;
}
.videoarea::before{
    content:"";
    background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/video_chart1.png')no-repeat top;
    background-size: cover;
    width: 900px;
    height: 1050px;
    position: absolute;
    top: 70px;
    left: -1%;
    animation: v_chart 2s;
    transition: animation 2.5s;
}
.videoarea::after{
    content:"";
    background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/video_chart2.png')no-repeat top;
    background-size: cover;
    width: 895px;
    height: 970px;
    position: absolute;
    top: 60px;
    right: -5%;
    z-index: 0;
    animation: v_chart 2s;
    transition: animation 2.5s;
}
@keyframes v_chart {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
/* .video-bg{
    width: 100%;
} */
.video-box {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video-box video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

/* 遊戲介紹 */
.game-carousel {
    width: 100%;
    background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/introduce_bg.jpg')repeat-y;
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding-bottom: 5%;
}
.game-carousel::after{
    content:"";
    background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/cloud.png')no-repeat;
    width: 100%;
    height: 300px;
    position: absolute;
    bottom: -150px;
}
.story-area::before{
    content:"";
    background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/cloud.png')no-repeat;
    width: 100%;
    height: 300px;
    position: absolute;
    top: -150px;
}
.carousel-chart, 
.carousel-contant {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 5% 0;
    position: relative;
}

.carousel-title {
    width: 50%;
    max-width: 450px;
    margin: auto;
    padding: 4% 0 10% 0;
}

.swiper-theme {
    max-width: 1000px;
    margin: auto;
    padding-bottom: 4%;
}
.carousel-chart .swiper-theme {
    max-width: 360px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;    
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.swiper-slide {
    filter: brightness(.5);
    transform: scale(.9);
}
.swiper-slide-active {
    transform: scale(1.1);
    transition: 0.2s;
    filter: brightness(1);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-slide {
    width: 100%;
}
.swiper-slide:nth-child(2n) {
    width: 100%;
}
.swiper-slide:nth-child(3n) {
    width: 100%;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0; 
}

.story-area {
    width: 100%;
    margin: auto;
    padding: 5% 50px 15% 50px;
    background: url("https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/story_bg.png") no-repeat top; 
    background-size: 100% 100%;
    position: relative;
    height: 100%;
    max-height: 870px;
    overflow: hidden;
}
.story-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    left: 0;
    right: 0;
}

.story-title {
    width: 40%;
    margin: auto;
    padding: 30px 0 10px 0;
    position: relative;
    z-index: 2;
}

.story-txtgroup {
    width: 45%;
    max-width: 560px;
    position: relative;
    padding-top: 2%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
}


.story-girlgroup {
    width: 121%;
    display: flex;
    justify-content: space-around;
    transform: translate(-5%, 40px);
    padding-bottom: 6%;
    position: absolute;
    top: 0;
}
.woman1{
    position: relative;
    /* transform: translateX(-20%); */
    z-index: 1;
}
.woman2 {
    /* height: 300px; */
    position: relative;
    transform: translateX(-16%);
}

/* .footer-area {
    width: 100%;
    background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/footer-bg-s.jpg')repeat-x;
}

.footer-txt {
    width: 100%;
    text-align: center;
    font-size: 100%;
    padding: 20px;
    color: #fff;
} */


@media screen and (min-width:751px) {
    .hb{
        display: none;
    }
    .menu-nav{
        background-color:transparent;
        width: auto;
        height: auto;
        position: relative;
        top: 0%;
        transform: translateX(0);
        transition:none;
    }
    .menu-nav ul{
        line-height: 1;
    }
    .menu-nav a{
        display: inline-block;
        padding: 0 10px;
        border-bottom: none;
        transition: .3s;
    }
    .menu-nav a:hover{
        color:#f5ff00;
        transform: scale(0.9);
        transition: .3s;
    }
    #topbn_mob, .txt_item_mob {
        display: none;
    }
}
@media screen and (max-width:1400px){
    .videoarea::before{
        content:"";
        width: 460px;
        height: 830px;
    }
    .videoarea::after{
        content:"";
        width: 590px;
        height: 800px;
    }
    .video-container{
        max-width: 930px;
    }
    .woman1{
        transform: translateX(-16%);
    }
    .woman2 {
        transform: translateX(-3%);
    }
}
@media screen and (max-width:1000px){
    .video-title {
        padding-bottom: 20%;
    }
    .logo{
        width: 45%;
        bottom: 26%;
    }
    .btn-group a {
        width: 26%;
    }
    .videoarea::before {
        content: "";
        width: 460px;
        height: 630px;
    }
    .videoarea::after {
        content: "";
        width: 519px;
        height: 540px;
    }
    /* .video-box{
        margin: auto;
        width: 80%;
        padding-bottom: 46.25%;
    } */
}
@media screen and (max-width:750px){
    #qr{
  
  display: none;
}
    .logo{
        width: 95%;
        bottom: 28%;
    }
    .video-title {
        width: 50%;
    }
    #topbn_pc, .txt_item_pc{
        display: none;
    }
    #top-bn .video_wrapper video {
        width: 100vw;
        transform: translate(-50%,-50%);
    }
    .main-header {
        padding: 16px;
        justify-content: space-between;
    }
    .hb{
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        /* background-color: #000; */
        border-radius: 12%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
    .hb span{
        width: 80%;
        height: 4px;
        background-color: #09288b;
        border-radius: 10%;
    }
    .menu-nav{
        background-color:#fff;
        width: 70%;
        height: calc(100vh - 60px);
        position: absolute;
        top: 100%;
        right: 0;
        transform: translateX(100%);
        transition: .3s;
    }
    #menu-check:checked ~ .main-header .menu-nav{
        transform: translateX(0%);
    }
    .btn-container {
        width: 100%;
        margin: auto;
        position: absolute;
        bottom: 12%;
        z-index: 99;
    }
    .btn-group a {
        width: 50%;
    }
    .video-title {
        padding-bottom: 40%;
    }
    .videoarea::before{
        content:"";
        width: 500px;
        height: 500px;
        top: 0;
    }
    .videoarea::after{
        content:"";
        width: 360px;
        height: 460px;
    }
    .carousel-contant {
        padding: 5% 0 8% 0;
    }
    .carousel-chart .swiper-theme {
        max-width: 250px;
    }
    .carousel-title {
        width: 50%;
        margin: auto;
        padding: 7% 0 10% 0;
    }
    .game-carousel{
        padding-bottom: 8%;
    }
    .game-carousel::after {
        content: "";
        bottom: -180px;
    }
    .story-title {
        width: 50%;
    }
    .story-area{
        padding:5% 0;
    }
    .story-txtgroup{
        width: 75%;
    }
    .story-girlgroup{
        display: none;
    }

}

@media screen and (max-width:490px) {
    .main-header {
        opacity: 1;
    }
    .video_wrapper::after{
        content:"";
        background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/cloud.png')no-repeat;
        width: 100%;
        height: 300px;
        position: absolute;
        bottom: -130px;
    }
    .carousel-contant {
        padding: 5% 0 14% 0;
    }
    .story-area::before{
        content: "";
        top: -190px;
        left: 0;
        z-index: 1;
    }
}
@media screen and (max-width:484px) {
    .video-title {
        padding-bottom: 60%;
    }

    .videoarea::before{
        content:"";
        width: 390px;
        height: 450px;
        top: 54px;
        left: -7%;
    }
    .videoarea::after{
        content:"";
        width: 330px;
        height: 370px;
        top: 97px;
        right: -1%;
    }
    .story-txtgroup {
        width: 95%;
    }
}
@media screen and (max-width:420px) {
    #top-bn .video_wrapper video {
        transform: translate(-50%,-50%) scale(1.3);
    }
    .video_wrapper::after{
        content:"";
        background: url('https://xn4.xn--xhqu8sl91bp1l.xn--fiqs8s/igwg/images/cloud.png')no-repeat;
        width: 100%;
        height: 300px;
        position: absolute;
        bottom: -120px;
    }

}