html.fixed, body.fixed{
    overflow: hidden;
}
img{
    width: 100%;
}
body{
    background-image:url(../images/bg.jpg);
    background-size: contain;
    background-repeat: repeat-y;
}
.header{
    width: 100%;
}
/* menu star */
.main-header{
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 1.95315%;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow:0px 5px 10px #ccc5;
}
.logo{
    width: 180px;
    margin-bottom: 0;
}
.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;
    padding: 40px 0 20px 0;
    background-image:url('../images/main-bg.jpg');
    background-size: cover;
    background-position: center;
    
}
.top-bn::before{
    content: "";
    background-image: url('../images/pic_01.png');
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 24%;
    position: absolute;
    bottom: -5%;
    z-index: 9;
}
.effects{
    margin: 0 auto;
    width: 100%;
    max-width: 1920px;
    height: 540px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}
.fog{
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    animation: cloud 120s linear 0s infinite;
}
.fog li img{
    width: auto;
    height: 540px;
}

@keyframes cloud{
    0%{
        left:-4600px;
    }
    25%{
        left:-3300px;
    }
    50%{
        left:-2350px;
    }
    75%{
        left:-1600px;
    }
    100%{
        left:0px;
    }
}
.middle-char{
    display: none;
}
.game-logo{
    display: flex;
    justify-content: start;
}
.logo-pic{
    /* width: 60%; */
    position: relative;
    transform: translateY(26%) scale(0.8);
    z-index: 99;
}

.top-bn-title{
    width: 100%;
    max-width: 240px;
    position: absolute;
    right: 5%;
}
.char-box{
    width: 100%;
}
.DL-group{
    position: relative;
    z-index: 20;
}

.down-btn{
    display: block;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 50px;
    position: absolute;
    z-index: 11;
    bottom: 10%;
    animation: baloon 1.5s infinite;
}
@keyframes baloon {
    0%{
        transform: translateY(-5px);
    }
    50%{
        transform: translateY(5px);
    }
    100%{
        transform: translateY(-5px);
    }
    }

.btnclose:hover {
    filter:contrast(2);

}
/* .overlay{
    display: none;
} */
/* revision-news */
.revision-news, .years, .supply, .returngift, .flowergift{
    /* background-color: #000; */
    padding: 3% 0;
    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;
}
.gift-bn{
    transform: translate(-5%, -17%) scale(1.4);
}
.ci-logo{
    width: 100%;
    max-width: 200px;
}
.bega-logo{
    width: 100%;
    max-width: 100px;
}
.doublegift{
    overflow: hidden;
}
.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: 0.5% 0;
    text-align: center;
    line-height: 1.5;
    font-size:0.4rem;
}
section.contents > .pop {
    display: none;
}
section.contents > .btnclose {
    display: none;
}

.popArea::-webkit-scrollbar{
    display: none;
}
@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;
        padding-bottom: 25px;
    }
    .game-logo{
        justify-content: center;
    }
    .logo-pic {
        /* transform: translateY(60%); */
    }
    .middle-char-m{
        width: 100%;        
        transform: translate(-3%,20%) scale(1.7);
    }
    .top-bn-title{
        max-width: 200px;
        top: 25%;
    }
    .bn-content{
        width: 100%;        
        /* padding-bottom: 17%; */
        margin: auto;
        
    }
    .down-btn{
        bottom: -3%;
    }
/* revision-news */
    .title{
        padding: 10% 0 10% 0;
    }
    .version .items{
        padding:0 10px;
    }
    .DL-group{
        padding-top: 20px;
        position: relative;
        transform: translateY(30px);
        display: flex;
        justify-content: center;
    }
}

@media screen and (min-width:768px){
    /* 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('../images/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('../images/sidebtn-on.png')no-repeat;
        background-position: center;
    }
    .nav>li>a:focus,
    .nav>li>a:hover,
    .sideBtn ul>li>a {
        display: block;
        width: 290px;
        background:url('../images/sidebtn-off.png') no-repeat;
        background-position: center;
        padding: 0.1rem 1rem;
    }
    .nav>li>a:hover,
    .sideBtn ul>li>a:hover{
        background: transparent url('../images/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::after{
        content: "";
        background-image: url('../images/content-R-pic01.png');
        width: 20%;
        height: 100%;
        position: absolute;
        bottom: -300px;
        right: 0;
        z-index: 10;
    }
    .game-logo .logo-pic{
        width: 100%;
        max-width: 280px;
        position: absolute;
        top: 5%;
        left: 12%;
        z-index: 11;
    }
    .char-box{
        display: flex;
    }
    .middle-char{
        display: inline-block;
        width: 100%;
        margin: auto;
        padding: 0 0 1% 7%;
    }
    .middle-char-m{
        display: none;
    }
    .bn-content{
        justify-content: center;
        overflow: hidden;
        width: 100%;
        max-width: 1440px;
        margin: auto;
    }
    .top-bn-title{
        width: 100%;
        max-width: 350px;
        right: 27%;
        top: 12%;
        margin: auto;
        z-index: 20;
    }
    .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);
    }
    /* 浮動雲 */
    /* #effects { 
        overflow: hidden;
        position: absolute; 
        width: 100%; 
        min-width:1920px; 
        background:url('../images/bg.jpg') no-repeat top center; 
        height: 600px;
        bottom: 0;
    }
    #effects .fog {
        position: absolute;	
        left: -1920px;	
        width: 1920px; 
        height: 600px;	
        z-index: 10;
    }
    #content{
        background:url('../images/main.png') no-repeat top center; 
        position: relative;
        top:-50px;
    }

    .main{
        width: 1000px;
        height: 2000px;
        margin: 0 auto;
    }

    .section_1 { 
        position: relative; 	
        top: 0; 
        left: 0; 
    } */
    /* END */

    .contents{
        position: relative;
    }
    .contents::before{
        content: "";
        background-image: url('../images/char01.png');
        width: 460px;
        height: 15%;
        position: absolute;
        top: 9%;
        background-position: center center;
        background-size: cover;
    }
    .contents::after{
        content: "";
        background-image: url('../images/char02.png');
        background-position: center center;
        width: 354px;
        height: 14%;
        position: absolute;
        background-size: cover;
        bottom: 33%;
        right: 0;
    }
    .btnclose button{
        width: 40px;
        height: 40px;
    }

    .revision-news, .doublegift{
        position: relative;
    }
    .revision-news::after{
        content: "";
        background-image: url('../images/content-R-pic01.webp');
        background-position: center center;
        width: 18%;
        height: 178%;
        position: absolute;
        background-size: cover;
        bottom: 10%;
        right: 0px;
    }
    .gift-pic{
        max-width: 960px;
    }
    .gift-bn{
        transform: translateY(-17%) scale(1.1);
        margin-bottom: -80px;
    }
    .logo-group{
        flex-wrap:nowrap;
        align-items: center;
    }
    .H-group{
        padding-top: 0;
    }
}

