* {
    margin: 0;
    padding: 0;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a img:hover {
    opacity: 0.7;
}

#LP {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}


/*漢堡選單  */

#hamburger {
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0 auto;
    z-index: 999;
}

header {
    width: 100%;
    height: 60px;
    line-height: 60px;
    z-index: 9;
    background-color: rgb(255, 255, 255);
}

header img {
    width: auto;
    height: 60px;
    margin: 0 10px;
    float: left;
    z-index: 1001;
    position: relative;
}

#nav-icon {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    float: right;
    top: 15px;
    right: 20px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #af0108;
    border-radius: 10px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(2) {
    top: 12px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(3) {
    top: 24px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0px;
    left: 6px;
}

#nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 28px;
    left: 6px;
}

.menu {
    z-index: 1000;
    font-size: 0.8em;
    width: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.93);
    position: absolute;
    text-align: center;
    bottom: 0;
    top: 0;
    height: 100vh;
    padding-top: 60px;
    z-index: 999;
}

.menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-image: none;
}

.menu li {
    color: #af0108;
    font-size: 1.5rem;
    display: block;
    padding: 15px 0 15px 0;
    transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    border-top: #af0108 1px dashed;
    font-weight: bold;
    text-decoration: none;
}

.menu li:hover {
    font-size: 1.8em;
    transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    color: #ffb330;
}

.menuOpen a li {
    animation: fadeInDown 1s ease-in-out;
}

.bg {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg1 {
    background-image: url('./imgs/bg/1.jpg');
}

.bg2 {
    background-image: url('./imgs/bg/2.jpg');
}

.bg3-title {
    width: 100%;
    background-image: url('./imgs/bg/3-title.png');
    -webkit-mask: url('./imgs/bg/3-title.png') no-repeat center center;
    -webkit-mask-size: cover;
    mask: url('./imgs/bg/3-title.png') no-repeat center center;
    mask-size: cover;
    background-color: #FFDDB7;
    /* position: absolute;
    left: 0%;
    top: 0%; */
    z-index: 9;
}

.bg3 {
    background-image: url('./imgs/bg/3.jpg');
    /* margin-top: -22%; */
}

.bg4 {
    background-image: url('./imgs/bg/4.jpg');
}

.bg4-2 {
    background-image: url('./imgs/bg/4-2.jpg');
}

.bg5 {
    background-image: url('./imgs/bg/5.jpg');
}

.bg6 {
    background-image: url('./imgs/bg/6.jpg');
}

.bg7 {
    background-image: url('./imgs/bg/7.jpg');
}

.bg8 {
    background-image: url('./imgs/bg/8.jpg');
}

.bg9 {
    background-image: url('./imgs/bg/9.jpg');
}

.bg10 {
    background-image: url('./imgs/bg/10.jpg');
}

.bg10 .content {
    overflow: visible;
}

.bg10-1 {
    background-image: url('./imgs/bg/10_1.jpg');
}

.bg11 {
    background-image: url('./imgs/bg/11.jpg');
}

.bg12 {
    background-image: url('./imgs/bg/QA/QA.jpg');
}

.bg13 {
    background-image: url('./imgs/bg/13.jpg');
}

.bg_offer1 {
    background-image: url('./imgs/bg/offer/offer1.jpg');
}

.bg_offer2 {
    background-image: url('./imgs/bg/offer/offer2.jpg');
}

.bg_offer3_4 {
    background-image: url('./imgs/bg/offer/offer3_4.jpg');
}
.bg_offerMore {
    background-image: url('./imgs/bg/offer/offerMore.jpg');
}

.bg_reason {
    background-image: url('./imgs/bg/reason.jpg');
    max-height: 0px;
    transition: all .2s;
    overflow: hidden;
}

.bg_info1 {
    background-image: url('./imgs/bg/info1.jpg');
}

.bg_info2 {
    background-image: url('./imgs/bg/info2.jpg');
}


/* .item3-title {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-mask: url('./imgs/intro.png') no-repeat center center;
    -webkit-mask-size: contain;
    mask: url('./imgs/intro.png') no-repeat center center;
    mask-size: contain;
} */

.item3-1 {
    width: 90%;
    position: absolute;
    top: 1%;
    left: 5%;
}

.video_box {
    width: 100%;
    position: absolute;
    bottom: 9%;
    left: 0%;
    border: 20px solid #FFA046;
}

.video_box video {
    width: 100%;
}

.item4-1 {
    width: 25%;
    position: absolute;
    top: 55%;
    left: 0%;
}

.item4-btn {
    width: 35%;
    position: absolute;
    top: 63%;
    right: 7%;
}

.item7-marquee {
    position: absolute;
    top: 21%;
    left: 6%;
    width: 88%;
    height: 49%;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    /* background: #00000058;*/
}

.item8-1 {
    width: 64%;
    position: absolute;
    bottom: 17%;
    left: -13%;
}

.item8-2 {
    width: 75%;
    position: absolute;
    bottom: 12%;
    left: 12%;
}

.item8-3 {
    width: 66%;
    position: absolute;
    bottom: 21%;
    right: -16%;
}

.item8-4 {
    width: 53%;
    position: absolute;
    bottom: 5%;
    right: 3.6%;
}

.item8-btn {
    width: 90%;
    position: absolute;
    bottom: 1.5%;
    left: 5%;
}

.item10-1 {
    width: 11%;
    position: absolute;
    bottom: 10%;
    left: -4%;
    z-index: 2;
}

.item10-2 {
    width: 9%;
    position: absolute;
    bottom: 3%;
    right: -1%;
    z-index: 2;
}

.acccordionBtn {
    cursor: pointer;
    position: relative;
}


/* .acccordionImg {
    position: relative;
} */

.acccordionOpen {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.item12-box {
    width: 100%;
    height: 80px;
}

.detailMark1 {
    width: 5vw;
    max-width: 40px;
    position: absolute;
    right: 10%;
    top: 44%;
    transition: all .2s;
}

.detailMark2 {
    width: 5vw;
    max-width: 40px;
    position: absolute;
    right: 10%;
    top: 63%;
    transition: all .2s;
}

.detailMark3 {
    width: 5vw;
    max-width: 40px;
    position: absolute;
    right: 10%;
    top: 63%;
    transition: all .2s;
}

.detailMark4 {
    width: 5vw;
    max-width: 40px;
    position: absolute;
    right: 10%;
    top: 63%;
    transition: all .2s;
}

.detailMark5 {
    width: 5vw;
    max-width: 40px;
    position: absolute;
    right: 10%;
    top: 63%;
    transition: all .2s;
}

.detailMark6 {
    width: 5vw;
    max-width: 40px;
    position: absolute;
    right: 10%;
    top: 65%;
    transition: all .2s;
}

.detailMark.rotate {
    transition: all .2s;
    rotate: 180deg;
}

.offer_btn1 {
    width: 80%;
    position: absolute;
    left: 14%;
    bottom: 13.5%;
}

.offer_btn2 {
    width: 80%;
    position: absolute;
    left: 14%;
    bottom: 6.5%;
}

.offer_btn3 {
    width: 37%;
    position: absolute;
    left: 10%;
    bottom: 7.5%;
}

.offer_btn4 {
    width: 37%;
    position: absolute;
    right: 4%;
    bottom: 9.5%;
}

.btn-more {
    width: 40%;
    position: absolute;
    bottom: 3%;
    left: 30%;
    cursor: pointer;    
}

.mail {
    width: 100%;
    height: 5%;
    position: absolute;
    top: 5%;
    left: 0%;
}

.phone {
    width: 100%;
    height: 5%;
    position: absolute;
    top: 12%;
    left: 0%;
}


/* 跑馬燈 */

.marquee1 {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    /* margin: 0 4%; */
    /* background: rgba(255, 0, 0, 0.364); */
}

.marquee2 {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    /* margin: 0 4%; */
    /* margin-left: 8%; */
    /* background: rgba(0, 0, 255, 0.198); */
}

.marquee1 img,
.marquee2 img {
    height: 90%;
    width: auto;
}

.run {
    animation: run 10s linear infinite;
}

@keyframes run {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* 亮光 */

.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.7) 100%);
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
    animation: light 3.5s infinite ease-in-out;
}

@keyframes light {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@-webkit-keyframes light {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


/* popup */

.popBtn {
    cursor: pointer;
}

.popUp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.popUp .innerBox {
    width: 90%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popUp img {
    width: 100%;
    position: relative;
}

.popUp.active {
    opacity: 1;
    visibility: visible;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.popUp .closeBtn {
    position: absolute;
    top: -9%;
    right: 1%;
    z-index: 99;
    font-size: 40px;
    cursor: pointer;
    color: #FCE9E2;
}

@media screen and (max-width: 576px) {
    .popUp .closeBtn {
        font-size: 35px;
        top: -11%;
    }
}


/* swiper */

.swiperBox {
    position: absolute;
    bottom: 7%;
    left: 3%;
    width: 96%;
}

.swiperDot {
    bottom: 3% !important;
}

.swiperDot span {
    width: .8vw;
    height: .8vw;
    min-width: 12px;
    min-height: 12px;
    margin: 0 8px !important;
}

@media screen and (max-width:1000px) {
    /* .bg3 {
        margin-top: -42%;
    } */
    .bg10 .content {
        overflow: hidden;
    }
    .item12-box {
        height: 70px;
    }
}

@media screen and (max-width:576px) {
    .video_box {
        border: 10px solid #FFA046;
    }
    .swiperDot {
        bottom: 1.5% !important;
    }
    .swiperDot span {
        margin: 0 4px !important;
    }
    .item12-box {
        height: 30px;
    }
}