* {
    margin: 0;
    padding: 0;
}

.clear {
    clear: both;
}

img {
    width: 100%;
    vertical-align: bottom;
    height: auto;
}

a,
a:hover {
    text-decoration: none;
    cursor: pointer;
}

#wrapper {
    background-image: url('../images/BG2.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#LP {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
}


/**均等分割**/

.flex {
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-wrap: wrap;
}

.w {
    width: 50%;
    float: left;
}

.onethird {
    width: 33.33%;
    float: left;
}

.quarter {
    width: 25%;
    float: left;
}


/**MENU**/

#menu {
    float: left;
    max-width: 1000px;
    margin: 0 auto;
    top: 0px;
    position: fixed;
    z-index: 200;
    box-shadow: 0 5px 10px rgba(67, 65, 68, 0.324);
}


/**側邊按鈕**/

#side_btn {
    float: right;
    right: 20px;
    max-width: 250px;
    bottom: 20px;
    position: fixed;
    z-index: 200;
}


/**橫幅按鈕**/

#CTAbar_btn {
    float: left;
    max-width: 1000px;
    margin: 0 auto;
    bottom: 0px;
    position: fixed;
    z-index: 200;
}

.hidden {
    display: none;
}


/*影片容器大小設定*/

#video {
    position: relative;
    padding-bottom: 56.25%;
    /*畫面16:9*/
    overflow: hidden;
}

#video iframe {
    position: absolute;
    left: 0;
    margin: 0 auto;
    width: 95%;
    height: 95%;
    left: 5%;
}


/**/


/*相對位置 定位用relative absolute*/

.relate,
.midoffer,
.offer01,
.offer02,
.offer03,
.offer04 {
    position: relative;
}

.absolute,
.btn {
    position: absolute;
    z-index: 99;
    bottom: 0;
}


/*元件與按鈕定位*/

.sec01 .title01 {
    top: 7%;
    left: 5%;
    width: 90%;
}

.sec01 .title02 {
    top: 13%;
    left: 5%;
    width: 90%;
}

.sec08 .circle01 {
    top: 36%;
    left: 4%;
    width: 30%;
}

.sec08 .circle02 {
    top: 72%;
    left: 15%;
    width: 30%;
}

.sec08 .circle03 {
    top: 42%;
    left: 64%;
    width: 30%;
}

.sec10 .title {
    bottom: 44%;
    left: 40%;
    width: 55%;
}

.sec10 .EGFbottle {
    top: 32%;
    left: 10%;
    width: 20%;
}

.sec11 .test {
    top: 20%;
    left: 2%;
    width: 37%;
}

.sec11 .title {
    bottom: 75%;
    left: 38%;
    width: 60%;
}

.sec15 .EGF {
    top: 30%;
    left: 15%;
    width: 30%;
}

.sec15 .MG {
    top: 32%;
    left: 45%;
    width: 45%;
}

.sec15 .btn {
    top: 72%;
    left: 15%;
    width: 70%;
}

.offer01 .btn {
    top: 83%;
    left: 13%;
    width: 75%;
}

.offer02 .btn {
    top: 81%;
    left: 13%;
    width: 75%;
}

.offer03 .btn-MG {
    top: 39%;
    left: 48%;
    width: 40%;
}

.offer03 .btn {
    top: 85%;
    left: 13%;
    width: 75%;
}

.offer04 .btn {
    top: 80%;
    left: 13%;
    width: 75%;
}

.content_001 {
    position: relative;
    width: 100%;
}

.box_001 {
    position: absolute;
    top: 18%;
    width: 37%;
    left: 6%;
}

.box_001_1 {
    position: absolute;
    bottom: 3%;
    width: 105%;
    left: -2%;
    z-index: 99;
}

.box_002 {
    position: absolute;
    top: 44%;
    width: 41%;
    right: 8%;
}

.box_002 img {
    padding-top: 8%;
}

.box_003 {
    position: absolute;
    top: 1%;
    width: 77%;
    right: 10%;
    z-index: 99;
}

.box_004 {
    position: absolute;
    top: 4%;
    width: 84%;
    right: 7.5%;
}

.box_005 {
    position: absolute;
    top: 0%;
    width: 100%;
    right: 0%;
}

.box_006 {
    position: absolute;
    top: 26.5%;
    right: 49%;
    width: 9%;
}


/*亮亮*/

.light {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    ;
    overflow: hidden;
    display: block;
    position: relative;
}

.light:after {
    content: '';
    display: block;
    position: absolute;
    left: -100%;
    top: 0;
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
    animation: btn 3.5s infinite ease-in-out;
}


/*亮亮動畫*/

@keyframes btn {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@-webkit-keyframes btn {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}


/**/


/*掃描*/

.light-2 {
    text-align: center;
    font-size: 2rem;
    ;
    overflow: hidden;
    display: block;
}

.light-2:after {
    content: '';
    display: block;
    position: absolute;
    top: -100;
    width: 100%;
    height: 100%;
    border-radius: 0% 0% 10% 10%;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    background: linear-gradient(to bottom, #4caf5000 0%, #455efa 140%);
    -webkit-transform: skewX(-80deg);
    transform: skewX(0deg);
    animation: btn-2 3.5s infinite ease-in-out;
}


/*亮亮動畫*/

@keyframes btn-2 {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

@-webkit-keyframes btn-2 {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}


/**/


/*彈出視窗popup content*/

.popup-content {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
    z-index: 999999999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.popup-content img {
    width: 70%;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.popup-content.show {
    opacity: 1;
    visibility: visible;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: scroll;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.popup-content.show img {
    margin-top: 700px;
    /*圖片下推*/
    width: 60%;
    /*尺寸改小*/
}


/*01*/

.popup-content01 {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
    z-index: 999999999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.popup-content01 img {
    width: 50%;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.popup-content01.show {
    margin: 0 auto;
    opacity: 1;
    visibility: visible;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: scroll;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.popup-content01.show img {
    margin-top: 100px;
    /*圖片下推*/
    width: 70%;
    /*尺寸改小*/
}


/**/

.bubble {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*z-index defult value=1*/
    z-index: 0;
    /*upgrade gpu rendering*/
    transform: translateZ(0);
}

.bubble li {
    position: absolute;
    list-style: none;
    display: block;
    background: rgba(255, 255, 255, 0.2);
    /*make bubble on page bottom*/
    bottom: -100px;
    animation: bubble-ani 15s linear infinite;
    border-radius: 100%;
}


/* glow of the bubbles*/

.bubble li:before {
    position: absolute;
    left: 20%;
    top: 21%;
    width: 25%;
    content: '';
    background: rgba(255, 255, 255, 0.2);
    display: block;
    height: 25%;
    border-radius: 100%;
}

.bubble li:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 80%;
}

.bubble li:nth-child(2) {
    width: 40px;
    height: 40px;
    left: 40%;
    animation-duration: 5s;
    animation-delay: 2s;
}

.bubble li:nth-child(3) {
    width: 25px;
    height: 25px;
    left: 30%;
    animation-duration: 8s;
    animation-delay: 3.5s;
}

.bubble li:nth-child(4) {
    width: 60px;
    height: 60px;
    left: 55%;
    animation-duration: 4s;
    animation-delay: 1.5s;
}

.bubble li:nth-child(5) {
    width: 20px;
    height: 20px;
    left: 35%;
    animation-duration: 6s;
    animation-delay: 2s;
}

.bubble li:nth-child(6) {
    width: 32px;
    height: 32px;
    left: 13%;
    animation-duration: 5s;
    animation-delay: 3.5s;
}

.bubble li:nth-child(7) {
    width: 22px;
    height: 22px;
    left: 60%;
    animation-duration: 4s;
    animation-delay: 1.5s;
}

.bubble li:nth-child(8) {
    width: 65px;
    height: 65px;
    left: 50%;
    animation-duration: 6s;
    animation-delay: 2s;
}

@keyframes bubble-ani {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-1080px);
        transform: translateY(-1080px);
    }
}


/*QA start*/

.QA {
    display: block;
}

.btn_close {
    display: none;
}

ol,
ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

p {
    margin: 0px;
}

#reasone-hide01,
#reasone-hide02,
#reasone-hide03,
#reasone-hide04,
#reasone-hide05,
#reasone-hide06 {
    display: none;
}


/*QA end*/


/*RWD*/

@media screen and (max-width: 1150px) {}

@media screen and (max-width: 1070px) {}

@media screen and (max-width: 1000px) {
    #counter {
        font-size: 3em;
        height: 1em;
        line-height: 1em;
        overflow: hidden;
        position: relative;
    }

    img {
        width: 100%;
    }

    #side_btn {
        right: 10px;
        max-width: 200px;
        bottom: 10px;
        position: fixed;
        z-index: 200;
    }

    .popup-content.show img {
        margin-top: 400px;
        /*圖片下推*/
        width: 80%;
        /*尺寸改小*/
    }

    .popup-content01.show img {
        margin-top: 100px;
        /*圖片下推*/
        width: 100%;
        /*尺寸改小*/
    }
}

@media screen and (max-width: 768px) {
    .popup-content.show img {
        margin-top: 200px;
        /*圖片下推*/
        width: 80%;
        /*尺寸改小*/
    }

    #counter {
        font-size: 2.5em;
        height: 1em;
        line-height: 1em;
        overflow: hidden;
        position: relative;
    }

    #side_btn {
        right: 10px;
        bottom: 10px;
        max-width: 200px;
    }
}

@media screen and (max-width: 540px) {
    #side_btn {
        right: 5px;
        bottom: 5px;
        max-width: 180px;
    }
}

@media screen and (max-width: 450px) {}

@media screen and (max-width: 414px) {
    .popup-content.show img {
        margin-top: 0px;
        /*圖片下推*/
        width: 85%;
        /*尺寸改小*/
    }

    #side_btn {
        right: 5px;
        max-width: 100px;
        bottom: 5px;
        position: fixed;
        z-index: 200;
    }
}

@media screen and (max-width: 375px) {
    .popup-content.show img {
        margin-top: 50px;
        /*圖片下推*/
        width: 80%;
        /*尺寸改小*/
    }

    #side_btn {
        right: 5px;
        bottom: 5px;
        max-width: 150px;
    }
}

@media screen and (max-width: 320px) {
    #side_btn {
        right: 5px;
        bottom: 5px;
        max-width: 120px;
    }
}

.sec10Bubble {
    width: 30%;
    left: 5%;
    top: 15%;
}

.sliderPeople {
    width: 90%;
    left: 5%;
    top: 29%;
}

.shake {
    width: 37.6%;
    left: 10%;
    top: 5%;
}

.finger {
    width: 9%;
    height: 9%;
    right: 3%;
    bottom: 38%;
    animation: scale 2s infinite linear;
}

@keyframes scale {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.1, 1.1);
    }

    100% {
        transform: scale(1, 1);
    }
}

.circle04-1 {
    width: 18.8%;
    left: 10%;
    top: 41.5%;
}

.circle04-2 {
    width: 21.3%;
    left: 6%;
    top: 58%;
}

.circle04-3 {
    width: 24.1%;
    left: 16%;
    bottom: 11%;
}

.circle04-4 {
    width: 28.3%;
    left: 42%;
    bottom: 0.5%;
}

.bottle {
    width: 9%;
    left: 46.5%;
    bottom: 11.5%;
    animation: scale 2s infinite linear;
}

.fourBTN {
    width: 90%;
    left: 5%;
    bottom: 15%;
    animation: scale 2s infinite linear;
}

.number {
    top: 32.5%;
    right: 43%;
    width: 6%;
}

.swiperControl {
    width: 80%;
    left: 10%;
    bottom: 21%;
}