::-webkit-scrollbar {
    /*隐藏滚轮*/
    display: none;
    }
img{
    width: 100%;
}
.header{
    width: 100%;
}
/* menu star */
.main-header{
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 1.95315%;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow:0px 5px 10px #ccc5;
}
.logo{
    width: 200px;
}
.menu-nav a{
    display: block;
    padding: 20px;
    text-align: center;
    font-size: 1.3rem;
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #888;
}

/* menu end */
.top-bn{
    width: 100%;
    position: relative;
    /* margin-top:40px; */
    background-image:url('../image/main-bg.jpg');
    background-size: cover;
    background-position: center;
}
.top-bn::before{
    content: "";
    background-image: url('../image/pic_01.webp');
    width: 85%;
    height: 31%;
    position: absolute;
    top: 0;
    background-position: center center;
    background-size: cover;
}
.top-bn::after{
    content: "";
    background-image: url('../image/pic_02.webp');
    width: 100%;
    height: 25%;
    position: absolute;
    bottom: 0;
    background-position: center center;
    background-size: cover;
}
.middle-char{
    display: none;
}
.game-logo{
    display: flex;
    justify-content: start;
}
.logo-pic{
    /* width: 60%; */
    position: relative;
    transform: translateY(30%);
    z-index: 99;
}

.top-bn-title{
    position: absolute;
    bottom: 80px;
    right: 0;
    left: 0;
}
.DL-group{
    position: relative;
    z-index: 20;
}

/* revision-news */
.revision-news, .years, .supply, .returngift, .flowergift, .doublegift{
    background-color: #000;
    padding: 3%;
    z-index: 10;
}
.years-title, .supply-title, .news-title, .returngift-title, .flowergift-title, .doublegift-title, .notic-title{
    display: flex;
    justify-content: center;
}
.supply-content, .returngift-content{
    position: relative;
    z-index: 10;
}
.title{
    max-width: 650px;
    padding-bottom: 50px;
}
.version{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.version .items{
    padding:0 10px;
}
.rule{
    display: flex;
    justify-content: center;
}
.txt-group{
    padding-bottom: 20px;
}
.txt-items{
    color:#fff;
    line-height: 1.5;
    padding-bottom: 10px;
}
.txt-items span{
    font-size: 20px;
    font-family: 'Noto Serif TC', serif;
    font-weight: 600;
}
.txt-items p{
    font-size: 16px;
}
.txt-group p{
    padding-left: 50px;
}
.point-red{
    color:red;
}
.note{
    padding: 10px 0;
    text-align: center;
}
.notic{
    background-color: #333;
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
    color:#fff;
    font-family: 'Noto Serif TC', serif;
}
.notic-group{
    padding:0 5% 1% 5%;
    justify-content: center;
}
.notic-title{
    max-width: 100px;
    margin: auto;
    padding-bottom: 10px;
}
.notic-group .word{
    line-height: 1.8;
}
.point{
    font-weight: 900;
    font-size: 16px;
}
.word p ~ p{
    text-indent: -1rem;
    padding-left: 20px;
    font-weight: 400;
    font-size: 14px;
}

.ci-logo{
    width: 100%;
    max-width: 200px;
}
.bega-logo{
    width: 100%;
    max-width: 100px;
}
.footer{
    background-color: #222;
}
.footer-content{
    padding: 15px;
}
.footer .items:nth-child(1) ~ .items:nth-child(n+1){
    padding-left: 2%;
}
.H-group{
    display: flex;
    align-items: center;
    color: #fff;
    font-size:0.4rem ;
    padding-top: 20px;
}
.H-logo{
    max-width: 50px;
}
.note-word{
    padding-left: 5px;
    line-height: 1.5;
}
.copyright{
    color: #fff;
    font-size: 0.4rem;
    border-top: 1px solid #fff;
    padding: 2% 0;
    text-align: center;
    line-height: 1.5;
    font-size:0.4rem;
}

@media screen and (max-width:767px){
    #menu-check{
            position: absolute;
            top: 0;
            z-index: -1;
        }
    .sideBtn{display: none;}
    .hb{
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        background-color: #000;
        border: 1px solid #aaa;
        border-radius: 12%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;.middle-char-m
    }
    .hb span{
        width: 80%;
        height: 2px;
        background-color: #fff;
    }
    .menu-nav{
        background-color:#000;
        width: 70%;
        height: calc(100vh - 60px);
        position: absolute;
        top: 100%;
        right: 0;
        transform: translateX(100%);
        transition: .3s;
    }
    #menu-check:checked ~ .header .menu-nav{
        transform: translateX(0%);
    }
    .top-bn .container-fulid{
        overflow: hidden;
    }
    .game-logo{
        justify-content: center;
    }
    .logo-pic {
        transform: translateY(60%);
    }
    .middle-char-m{
        transform: translateY(-8%) scale(1.2);
    }
    .top-bn-title{
        left: 15px;
    }
/* revision-news */
    .title{
        padding-bottom: 20px;
    }
    .version .items{
        padding:0 10px;
    }
    .DL-group{
    position: relative;
    transform:translateY(-70px);
    display: flex;
    justify-content: center;
    }
    .doublegift .gift-pic{
    transform: scale(1.15);
    }
}

@media screen and (min-width:768px){
    /* leaf animations */
        #leaves {position:relative;top:-50px;width:90%;text-align: left;z-index: 999;}

        #leaves i {
            display: inline-block;
            width: 200px;
            height: 150px;
            background: linear-gradient(to bottom right, #ccc, #666);
            transform: skew(20deg);
            border-radius: 5% 40% 70%;
            box-shadow: inset 0px 0px 1px #222;
            border: 1px solid #333;
            z-index: 1;
            -webkit-animation: falling 5s 0s infinite;
        }

        #leaves i:nth-of-type(2n) { -webkit-animation: falling2 5s 0s infinite; }
        #leaves i:nth-of-type(3n) { -webkit-animation: falling3 5s 0s infinite; }

        #leaves i:before {
        position: absolute;
        content: '';
        top: 117px;
        right: 9px;
        height: 27px;
        width: 32px;
        transform: rotate(49deg);
        border-radius: 0% 15% 15% 0%;
        border-top: 1px solid #222;
        border-bottom: 1px solid #222;
        border-left: 0px solid #222;
        border-right: 1px solid #222;
        background: linear-gradient(to right, rgb(200, 200, 200), #666);
        z-index: 1;
        }

        #leaves i:after {
        content: '';
        height: 125px;
        width: 10px;
        background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,0));
        display: block;
        transform: rotate(125deg);
        position: absolute;
        left: 85px;
        border-radius:50%;
        }


        #leaves i:nth-of-type(n)    { height:23px; width:30px; }
        #leaves i:nth-of-type(n):before { width:7px; height:5px; top:17px; right:1px; }
        #leaves i:nth-of-type(n):after { width:2px; height:17px; left: 12px; top:0px; }

        #leaves i:nth-of-type(2n+1)    { height:11px; width:16px; }
        #leaves i:nth-of-type(2n+1):before { width:4px; height:3px; top:7px; right:0px; }
        #leaves i:nth-of-type(2n+1):after { width:2px; height:6px; left: 5px; top:1px; }

        #leaves i:nth-of-type(3n+2)  { height:17px; width:23px; }
        #leaves i:nth-of-type(3n+2):before  { height:4px; width:4px; top:12px; right:1px; }
        #leaves i:nth-of-type(3n+2):after  { height:10px; width:2px; top:1px; left:8px; }

        #leaves i:nth-of-type(n)   { -webkit-animation-delay: 1.9s;}
        #leaves i:nth-of-type(2n)  { -webkit-animation-delay: 3.9s;}
        #leaves i:nth-of-type(3n)  { -webkit-animation-delay: 2.3s;}
        #leaves i:nth-of-type(4n)  { -webkit-animation-delay: 4.4s;}
        #leaves i:nth-of-type(5n)  { -webkit-animation-delay: 5s;  }
        #leaves i:nth-of-type(6n)  { -webkit-animation-delay: 3.5s;}
        #leaves i:nth-of-type(7n)  { -webkit-animation-delay: 2.8s;}
        #leaves i:nth-of-type(8n)  { -webkit-animation-delay: 1.5s;}
        #leaves i:nth-of-type(9n)  { -webkit-animation-delay: 3.3s;}
        #leaves i:nth-of-type(10n) { -webkit-animation-delay: 2.5s;}
        #leaves i:nth-of-type(11n) { -webkit-animation-delay: 1.2s;}
        #leaves i:nth-of-type(12n) { -webkit-animation-delay: 4.1s;}
        #leaves i:nth-of-type(13n) { -webkit-animation-delay: 1s;  }
        #leaves i:nth-of-type(14n) { -webkit-animation-delay: 4.7s;}
        #leaves i:nth-of-type(15n) { -webkit-animation-delay: 3s;  }

        #leaves i:nth-of-type(n)    { background: linear-gradient(to bottom right, #f3cc8f, #9d5e07); }
        #leaves i:nth-of-type(2n+2)  { background: linear-gradient(to bottom right, #990300, #561e00); }
        #leaves i:nth-of-type(4n+1)  { background: linear-gradient(to bottom right, #990, #564500); }

        #leaves i:nth-of-type(n)    { opacity: .7;}
        #leaves i:nth-of-type(3n+1)  { opacity: .5;}
        #leaves i:nth-of-type(3n+2)  { opacity: .3;}

        #leaves i:nth-of-type(n)    {transform: rotate(180deg);}


        #leaves i:nth-of-type(n) { -webkit-animation-timing-function:ease-in-out;}

        @-webkit-keyframes falling {
            
            0% {
                -webkit-transform:
                    translate3d(-300,0,0)
                    rotate(0deg);
            }
            
            100% {
                -webkit-transform:
                    translate3d(1750px,700px,0)
                    rotate(90deg);
                opacity: 0;
            }
        }

        @-webkit-keyframes falling3 {
            0% {
                -webkit-transform:
                    translate3d(400,0,0)
                    rotate(-20deg);
            }
            
            100% {
                -webkit-transform:
                    translate3d(1030px,640px,0)
                    rotate(-70deg);
                opacity: 0;
            }
        }

        @-webkit-keyframes falling2 {
            0% {
                -webkit-transform:
                    translate3d(100,0,0)
                    rotate(90deg);
            }
            
            100% {
                -webkit-transform:
                    translate3d(400px,680px,0)
                    rotate(0deg);
                opacity: 0;
            }
        }
    /* menu star */
    .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:#f9f2aa;
        transform: scale(0.9);
        transition: .3s;
    }
    /* menu end */ 
    /* sidebar */
    #s1,
    #s2,
    #s3,
    #s4,
    #s5 {
        width: 100%;
    }
    #picModal .modal-body {
        transform: translateY(50%);
    }
    .sideBtn {
        position: fixed;
        left: 1%;
        top: 42%;
        z-index: 100;
    }
    .sideBtn ul {
        width: 200px;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .nav-item{
        background: url('../image/sidebtn-off.png')no-repeat;
        background-position: center;
    }
    .nav-item img{vertical-align: bottom;}
    .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
        color:unset;
        background: url('../image/sidebtn-on.png')no-repeat;
        background-position: center;
    }
    .nav>li>a:focus,
    .nav>li>a:hover,
    .sideBtn ul>li>a {
        display: block;
        width: 200px;
        /* height: 43px; */
        background:url('../image/sidebtn-off.png') no-repeat;
        background-position: center;
    }
    .nav>li>a:hover,
    .sideBtn ul>li>a:hover{
        background: transparent url('../image/sidebtn-on.png') no-repeat;
        background-position: center;
    }
    .modal-dialog {
        top: 50%;
    }
    #picModal .modal-body {
        padding: 0;
        text-align: center;
    }
    .modal.in .modal-dialog,
    .modal.fade .modal-dialog {
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        -o-transform: translate(0, -50%);
        transform: translate(0, -50%);
    }
    /* modal */
    .container{
        max-width: 960px;
    }
    .title{
        margin-top: 70px;
    }
    .top-bn::before{
        content: "";
        background-image: url('../image/pic_01.webp');
        width: 40%;
        height: 29%;
        position: absolute;
        top: 0;
        background-position: center center;
        background-size: cover;
    }
    .top-bn::after{
        content: "";
        background-image: url('../image/pic_02.webp');
        width: 100%;
        height: 85%;
        position: absolute;
        bottom: 0;
        background-position: center center;
        background-size: cover;
    }
    .game-logo .logo-pic{
        /* width: 30%; */
        max-width: 340px;
        position: absolute;
        top:0;
        left: 10%;
        z-index: 11;
    }
    .char-box{
        display: flex;
    }
    .middle-char{
        display: inline-block;
        width: 57%;
        margin: auto;
        transform: translateY(-10%);
    }
    .middle-char-m{
        display: none;
    }
    .bn-content{
        justify-content: center;
        overflow: hidden;
        width: 100%;
        max-width: 1440px;
        margin: auto;
    }
    .top-bn-title{
        width: 70%;
        max-width: 870px;
        z-index: 1;
        margin: auto;
    }
    .DL-group {
        display: flex;
        flex-direction: column;
        /* max-width: 130px; */
        position: absolute;
        top: 20%;
        right: 20px;
    }
    .DL-group .btn{
        transition:0.5s;
        -webkit-filter: brightness(.5);
    }
    .DL-group .btn:hover{
        transform: scale(1.1);
        transition:0.5s;
        -webkit-filter: brightness(1);
    }
    .contents{
        position: relative;
    }
    .contents::before{
        content: "";
        background-image: url('../image/char05.webp');
        width: 340px;
        height: 23%;
        position: absolute;
        top: 20%;
        background-position: center center;
        background-size: cover;
    }
    .contents::after{
        content: "";
        background-image: url('../image/char01.webp');
        background-position: center center;
        width: 360px;
        height: 20%;
        position: absolute;
        background-size: cover;
        bottom: 40%;
        right: 0;
    }
    .revision-news, .doublegift{
        position: relative;
    }
    .revision-news::after{
        content: "";
        background-image: url('../image/content-R-pic01.webp');
        background-position: center center;
        width: 18%;
        height: 178%;
        position: absolute;
        background-size: cover;
        bottom: 10%;
        right: 0px;
    }
    .doublegift::before{
        content: "";
        background-image: url('../image/content-L-pic01.webp');
        background-position: center center;
        width: 23%;
        height: 62%;
        position: absolute;
        background-size: cover;
        top: -40%;
        left: 0;
    }
    .doublegift::after{
        content: "";
        background-image: url('../image/content-R-pic02.webp');
        background-position: center center;
        width: 30%;
        height: 84%;
        position: absolute;
        background-size: cover;
        bottom: 0;
        right: 0;
    }
    .gift-pic{
        max-width: 960px;
    }
    .logo-group{
        flex-wrap:nowrap;
        align-items: center;
    }
    .H-group{
        padding-top: 0;
    }
}
