body {
    margin: 0;
    padding: 0;
    font-family: "微軟正黑體", Helvetica, Arial, sans-serif;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
}

.clearfix:before,
.clearfix:after,
.thumbnailBox:before,
.thumbnailBox:after {
    content: "";
    display: table;
}

.clearfix:after,
.thumbnailBox:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
    /*For IE 6&7 only*/
}

.hidden {
    display: none !important;
}

#fullpage {
    overflow: hidden;
}

#particles-js {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 937px;
}

.wrapper {
    overflow: hidden;
}

.brandlogo {
    position: fixed;
    width: 360px;
    margin: 0;
    left: 15px;
    top: 15px;
    z-index: 95;
}

.fixed-social {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 95;
    text-align: center;
}

.fixed-social .social_media {
    margin: 0 0 15px;
}

.fixed-social .social_media a,
.fixed-social .link_btn ul li a {
    -moz-transition: all 0.15s ease-in-out;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}

.fixed-social .social_media a {
    height: 50px;
    width: 50px;
    background: transparent url(../images/social_icon.png) no-repeat 0 0;
    display: inline-block;
    text-indent: -9999px;
    background-size: 100% auto;
}

.fixed-social .social_media a:last-child {
    background-position-y: -57px;
    margin: 0 0 0 5px;
}

.fixed-social .link_btn {}

.fixed-social .link_btn ul li {
    display: block;
    margin: 0 0 5px;
}

.fixed-social .link_btn ul li a {
    display: block;
    height: 61px;
    width: 178px;
    text-indent: -9999px;
    overflow: hidden;
    background: url(../images/button.png) no-repeat;
    background-size: 100% auto;
}

.fixed-social .link_btn ul li a:hover {
    background: url(../images/button_hover.png) no-repeat;
    background-size: 100% auto;
}

.fixed-social .link_btn ul li:nth-child(1) a {
    background-position: 0 2px;
}

.fixed-social .link_btn ul li:nth-child(2) a {
    background-position-y: -61px;
}

.fixed-social .link_btn ul li:nth-child(3) a {
    background-position-y: -122px;
}

.fixed-social .social_media a:hover {
    -webkit-filter: brightness(.8);
    filter: brightness(.8);
}

.brand_logo {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 321px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
}

.fp-viewing-page1 .brand_logo_box {
    animation: fadeInDown .5s ease-in-out .2s 1 both;
}

.brand_logo h1 {
    display: block;
    margin: -30px 0 0;
}

.fp-viewing-page1 .brand_logo h1 {
    animation: fadeInUp .5s ease-in-out .5s 1 both;
}

.s0-1,
.s0-2 {
    display: block;
    width: 50%;
    float: left;
    height: 100%;
    position: relative;
    text-align: center;
}

.s0-1 {
    background: url(../images/index_01.jpg) no-repeat 0 0;
    background-size: cover;
}

.s0-2 {
    background: url(../images/index_02.jpg) no-repeat 0 0;
    background-size: cover;
}

/* a:hover.s0-1 h2, a:hover.s0-2 h2 {
    animation: rubberBand .5s ease-in-out infinite;
} */

.s0-1 h2,
.s0-2 h2 {
    display: block;
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.s0-1 h2 {
    width: 539px;
}

.fp-viewing-page1 .s0-1 h2 {
    animation: rubberBand .5s ease-in-out 1s 1 both;
}

.fp-viewing-page1 .s0-2 h2 {
    animation: rubberBand .5s ease-in-out 1.4s 1 both;
}

.s0-2 h2 {
    width: 636px;
}

.s0-1 h2:before,
.s0-2 h2:before {
    content: '';
    position: absolute;
    width: 83px;
    height: 57px;
    background: transparent url(../images/tit-sign.png) no-repeat 0 0;
    right: -55px;
    top: -60px;
    background-size: 100% auto;
}

.s0-2 h2:before {
    background-position-y: -58px;
}

.s1_bg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background: url(../images/1_bg.jpg) no-repeat 50% 0;
    z-index: 2;
    background-size: cover;
}

.s1_tit,
.s2_tit {
    position: absolute;
    bottom: 30px;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
}

.fp-viewing-page2 .s1_tit {
    animation: rubberBand 1s ease-in-out .4s 1 both;
}

.fp-viewing-page3 .s2_tit {
    animation: fadeInDown .5s ease-in-out .4s 1 both;
}

.s2_bg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background: url(../images/2_bg.jpg) no-repeat 50% 0;
    z-index: 2;
    background-size: cover;
}

#section3 {
    position: relative;
    background: url(../images/3_bg.jpg) no-repeat 50% 0;
    z-index: 2;
    background-size: cover !important;
}

#section3>.fp-tableCell>img {
    padding: 250px 0 0;
    position: relative;
    z-index: 8;
}

.thumbnailBox {
    position: absolute;
    bottom: 10px;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 9;
    margin: 0 auto;
}

.popup {
    display: inline-block;
    width: 25%;
    float: left;
}

.fp-viewing-page4 .popup-1 {
    animation: fadeInLeft .5s ease-in-out .2s 1 both;
}

.fp-viewing-page4 .popup-2 {
    animation: fadeInLeft .5s ease-in-out .4s 1 both;
}

.fp-viewing-page4 .popup-3 {
    animation: fadeInLeft .5s ease-in-out .6s 1 both;
}

.fp-viewing-page4 .popup-4 {
    animation: fadeInLeft .5s ease-in-out .8s 1 both;
}

.s3_wm {
    position: absolute;
    left: 50px;
    bottom: -140px;
}

.s3_tit {
    position: absolute;
    left: 0;
    right: 0;
    top: 200px;
    width: 550px;
    margin: 0 auto;
}

.s3_photos {
    position: absolute;
    right: 95px;
    bottom: 0;
}

.s4_tit {
    position: absolute;
    top: 156px;
    left: 50px;
    width: 550px;
}

.s4_sub {
    position: absolute;
    top: 289px;
    left: 324px;
    width: 500px;
}

#section4 {
    background: #060608;
    z-index: 5;
}

.zx {
    position: relative;
    z-index: 10;
}

.s1_men {
    position: absolute;
    z-index: 2;
    left: 188px;
    bottom: -35px;
}

.s1_con {
    right: 215px;
    top: 250px;
    position: absolute;
    z-index: 1;
}

.lantern-lf {
    position: absolute;
    left: 0;
    top: 0;
    width: 260px;
    display: block;
    animation: swing ease-in-out 3s infinite alternate;
    transform-origin: center -20px;
}

.lantern-rt {
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    display: block;
    animation: swing ease-in-out 6s infinite alternate;
    transform-origin: center -20px;
}

.cake-1 {
    position: absolute;
    bottom: 20px;
    left: 0;
    display: block;
    z-index: 3;
}

.cake-2 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: block;
    z-index: 4;
}

.cake-3 {
    position: absolute;
    bottom: 300px;
    right: 295px;
    display: block;
    z-index: 5;
}

.copyright {
    text-align: center;
    overflow: hidden;
}

/* fullpage custom */

#fp-nav.right {
    right: 15px;
    top: 55%;
}

#fp-nav ul li {
    width: 34px;
    height: 34px;
}

#fp-nav ul li a span {
    width: 34px;
    height: 34px;
    background: transparent url(../images/dots.png) no-repeat 0 0;
    border-radius: 0;
    margin: -20px 0 0 -20px;
    animation: rotation 5s ease-in-out infinite;
}

#fp-nav ul li:last-child a span {
    display: none;
}

#fp-nav ul li:nth-child(odd) a span {
    animation: rotation 8s ease-in-out infinite;
}

#fp-nav ul li:hover a span {
    width: inherit;
    height: inherit;
    margin: -20px 0 0 -20px;
    filter: brightness(150%);
}

#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span {
    width: inherit;
    height: inherit;
    margin: -20px 0 0 -20px;
    filter: brightness(150%);
    animation: 0;
}

#fp-nav ul li .fp-tooltip {
    font-family: "微軟正黑體", Helvetica, Arial, sans-serif;
}

#fp-nav ul li .fp-tooltip.right {
    right: 40px;
}

#fp-nav ul li .fp-tooltip {
    top: 7px;
    height: 100%;
    color: #fff;
}

/* fullpage custom */

@media (max-width: 768px) {
    #mangot5 {
        display: none;
    }

    .brand_logo {
        width: 30%;
    }

    .s0-1 h2,
    .s0-2 h2 {
        width: 100%;

    }

    .s0-1 h2 {
        padding: 0 35px;
    }

    .s1_tit,
    .s2_tit,
    .s0-2 h2 {
        padding: 0 10px;
    }
    .s0-1, .s0-2 {
        width: 100%;
        height: 50%;
    }
    .s0-1 h2,
    .s0-2 h2 {
        top: 50%;
        bottom: auto;
        -webkit-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .s0-1 h2 {
        margin: -48px 0 0;
    }
    .s0-1 h2:before, .s0-2 h2:before {
        width: 50px;
        height: 34px;
        right: 6px;
        top: -34px;
    }
    .s0-2 h2:before {
        background-position-y: -35px;
    }
    #section3 {
        background: url(../images/3_bg_mobile.jpg) no-repeat 50% 0;
    }

    .popup {
        width: 50%;
    }

    .thumbnailBox {
        width: 80%;
    }

    /* .s0-1 {
        background-position: 73% 0;
    } */
}

@media (max-width: 480px) {
    
    .brand_logo h1 {
        margin: -15px 0 0;
    }
    .fixed-social {
        right: 10px;
        bottom: 4px;
    }

    .fixed-social .link_btn ul li a {
        height: 41px;
        width: 120px;
    }

    .fixed-social .link_btn ul li:nth-child(2) a {
        background-position-y: -41px;
    }

    .fixed-social .link_btn ul li:nth-child(3) a {
        background-position-y: -82px;
    }

    .fixed-social .social_media {
        margin: 0 0 5px;
    }

    .brandlogo {
        width: 210px;
    }
    .s1_bg {
        background-position: 66% 0;
    }
    .s2_bg {
        background-position: 78% 0;
    }
}