html,
body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans SC", Helvetica, arial, sans-serif;
    background: #fff;
    font-size: 16px; overflow:hidden;
}



a,
a:link,
a:checked {
    text-decoration: none;
}

ul {
    padding: 0;
    margin: 0;
    font-size: 0;
    line-height: 0;
}

img {
    font-size: 0;
    line-height: 0;
    margin: 0;
}

.w500 {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #000;
    text-align: center;
    position: relative;
    background: url("../img/bg.jpg") top center/contain no-repeat fixed; background-size: 500px contain; 
}

header {
    position: fixed;
    top: 0;
    z-index: 5;
}

header img {
    width: 100%;
    max-width: 750px;
    display: block;
}

.section01 {
    width: 90%;
    margin: 0 auto;
}

/* 主視覺 */
.main {
    width: 100%;
    margin: 0;
    position: relative;
    display: flex; 
}

.main img {
    width: 100%;
    max-width: 750px; height: auto; 
}

.mainswiper {
    position: absolute;
    bottom: 28%;
}

.slogan_sp { display: flex; justify-content: center; width: 100%; max-width: 100vw; margin: 6vh auto 1vh auto; height: 20vh;}
    
.slogan_img { width: 100%; height: 100%; background: url(../img/slogan.png) no-repeat center center; background-size: contain; }  



.man_sp { display: flex; justify-content: center; width: 100%; max-width: 100vw; margin: 6vh auto 0vh auto; height: 65vh;}
    
.man_img { width: 100%; height: 100%; background: url(../img/man.png) no-repeat center center; background-size: contain; }


.jackpot { display: inline-block; position: absolute;  right: 3%; top: 78.5%; }

.jackpot img { width: 100%; }

.swiper {
    width: 100%;
    transition: .2s;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide img {
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, .5);
    opacity: .7;
    transition: .2s;
}

.swiper-button-next {
    right: 3vw;
}

.swiper-button-prev {
    left: 3vw;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.btn01 {
    margin: 0 auto;
    text-align: center;
    max-width: 379px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}

.btn01 img {
    display: block;
    text-align: center;
    margin: 0 auto;
    animation: btn01 .5s ease infinite;
}

@keyframes btn01 {
    0% {
        transform: scale(.95);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(.95);
    }
}

/* 網址 */
.webBox {
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}

.web {
    display: grid;
    grid-template-columns: 20% auto 25%;
    grid-column-gap: 10px;
    text-align: center;
    margin: 10px 0;
}

.webCheck {
    display: inline-block;
}

.web span,
.web a {
    font-size: 1.6rem;
    padding: .6rem 1rem;
    border: 1px solid #3689ff;
    display: inline-block;
    border-radius: 5px;
}

.web a {
    border: none;
    background: linear-gradient(#0ea1ff, #005dfe);
    color: #fff;
}

.web a:hover {
    background: #005dfe;
}

/* 跑馬燈 */
.gameBox,
.gameBox02 {
    margin: 0 0 30px;
}

.gameBox .swiper-slide, .gameBox02 .swiper-slide{
    margin: 0 15px;
}

.game {
    display: inline-block;

}

.game p {
    margin: 0;
    font-size: 1.4rem;
    color: 000;
}

.gameBox>.swiper-wrapper,
.gameBox02>.swiper-wrapper {
    -webkit-transition-timing-function: linear;
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
}

.eventBox {
    width: 90%;
    margin: 0 auto;
}

.eventBox_flex {
    display: flex;
    justify-content: space-around;
}

.title {
    display: block;
    text-align: center;
    margin: 30px auto;
    max-width: 370px;
    position: relative;
}

.title::before {
    content: "";
    right: 102%;
    top: 50%;
    width: 20%;
    height: 1px;
    position: absolute;
    background: #5e99ed;
}

.title::after {
    content: "";
    left: 102%;
    top: 50%;
    width: 20%;
    height: 1px;
    position: absolute;
    background: #5e99ed;
}

.event {
    display: inline-block;
    width: 30%;
    transition: .2s;
    margin: 0 0 15px 0;
}

.event img {
    max-width: 217px;
    width: 100%;
}

.event:hover {
    transform: translateY(-5px);
}

/* banner輪播 */
.cateBox {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    margin: 0 0 30px;
}

.cateBox img {
    max-width: calc(100% / 6);
}

.banner {
    width: 100%;
    position: relative;
    margin: 0 auto 40px;
}

.mySwiper02.swiper {
    box-sizing: border-box;
}

.mySwiper02 .swiper-slide {
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

.mySwiper02 .swiper-slide img {
    display: block;
    width: 100%;
}

.phoneBanner {
    width: 100%;
    margin: 0 0 30px 0;
}

.chat {
    max-width: 750px;
    width: 100%;
    padding: 0 0 150px;
    margin: 0 auto;
    display: block;
}

/* 底部下載 */
.download {
    width: 100%;
    padding: 18px 0;
    z-index: 9;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    bottom: 0; 
}

.download a {
    color: #fff;
    padding: 12px 18px;
    margin: 0 15px;
    width: 40%;
    display: inline-block;
    font-size: 0.3rem;
    border-radius: 10px;
    position: relative;
}

.download a:nth-of-type(1) {
    background: #138af9;
}

.download a:nth-of-type(2) {
    background: #ffaa09;
}

.cg-footer-bubble{
  position: absolute;
  bottom: 1.013333rem;
  right: 0;
  padding: .16rem .253333rem;
  background-color: #ea4e3d;
  border-radius: .213333rem;
  font-size: .293333rem;
  max-width: calc(100% - .253333rem);
  white-space: normal;
  word-break: break-all
}
.cg-footer-bubble:before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border: .32rem solid transparent;
  border-left: .32rem solid #ea4e3d;
  left: 0;
  bottom: -.186667rem
}



.note { 
    position: absolute; 
    top: -58px; 
    left: 35%; 
    width: 100%;
}

.note-btn img{
    width: 85%;
}

.closebtnx { cursor: pointer;}
.popup1 { display: none;}
.popup2 { display: none;}




@keyframes move {
    0%,65% {-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    70% {-webkit-transform:rotate(6deg);transform:rotate(6deg);}
    75% {-webkit-transform:rotate(-6deg);transform:rotate(-6deg);}
    80% {-webkit-transform:rotate(6deg);transform:rotate(6deg);}
    85% {-webkit-transform:rotate(-6deg);transform:rotate(-6deg);}
    90% {-webkit-transform:rotate(6deg);transform:rotate(6deg);}
    95% {-webkit-transform:rotate(-6deg);transform:rotate(-6deg);}
    100% {-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}

.customer {
    display: inline-block;
    /*position: absolute;*/ 
    position: fixed;
    z-index: 10;
    right: 50%;
    /* margin-right: -370px; */
    top: 12%;
    width: 7vh;

    margin-right: -245px;
}

.customer img {
    width: 100%;
}

@media screen and (max-width: 820px){
    /* .w750,header img,.main img,.download{
        max-width: 820px;
    } */
    /* html, body{
        background: #fff;
    } */
    .customer{
        width: 11%;
    }
}

@media screen and (max-width: 750px) {

    html,
    body {
        font-size: 14px;
    }

    .main {
        margin-top: 0vw;
    }

    .btn01 img {
        width: 50vw;
    }

    .game img {
        width: 25vw;
    }

    .event {
        margin: 1vw;
    }
    .customer {
        width: 15vw; right: 0%; margin-right: 0px;
    }
    .jackpot { width: 92vw; }
}

@media screen and (max-width: 500px) {

    html,
    body {
        font-size: 12px;
    }

    .main {
        margin: 0 0 0vw;
        margin-top: 0vw;
    }


    .section01 {
        width: 95%;
    }

    .web {
        margin: 1vw;
        grid-column-gap: 1vw;
    }

    .web span {
        padding: 0.6rem 0.1vw;
        font-size: 1.5rem;
    }

    .web a {
        font-size: 1.3rem;
        padding: 0.6rem 0;
        line-height: 2.2rem;
    }

    .title {
        max-width: 58vw;
        margin: 5vw auto;
    }

    .title img {
        width: 58vw;
    }

    .eventBox {
        width: 100%;
    }

    .event {
        margin: .8vw;
    }

    .gameBox,
    .gameBox02 {
        margin: 0 0 3vw;
    }

    .gameBox .swiper-slide, .gameBox02 .swiper-slide{
        margin: 0 3vw;
    }

    .game img {
        width: 22vw;
    }

    .game p {
        font-size: 1.2rem;
    }

    .banner {
        margin: 0 0 8vw;
    }


    .chat{
        padding: 0 0 26vw;
    }

    .customer {
        width: 18vw;
        margin-right: 2%;
    }

    .note {
        width: 30vw;
        left: 30%;
        top: -10vw;
    }

    .download {
        padding: 4vw 0;
    }

    .download a {
        width: 42%;
        margin: 0 1vw;
        padding: 2vw 5vw;
    }
}

@media screen and (max-width: 320px) {
    html,
    body {
        font-size: 11px;
    }
    .web {
        zoom: 77%;
    }
  
}