﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 50px;
}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: calc(100vh - 50px);
}
.index-banner-list-box{
    width: 100%;
    display: block;
    position: relative;
    
}
.index-banner-list{
    width: 100%;
    display: block;
     position: relative;
}
.index-banner-list-wall-bc{
    height: 100%;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 0%;
    background-image: url(../img/front/index-banner-wall-bc.jpg);
}
.index-banner-list-light-bc-box{
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    z-index: 3;
    margin: 0 auto;
}
.index-banner-list-light-bc{
    width: 100%;
    position: relative;
    display: block;
    z-index: 3;
    margin: 0 auto;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/front/index-banner-light-bc.png);
}
.index-banner,
.index-banner-list-bc{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.index-banner-slong,
.index-video-slong{
    width: 100%;
    text-align: center;
    font-size: 28px;
    color: #FFF;
    display: block;
    position: absolute;
    z-index: 9;
    top: 48%;
    cursor: context-menu;
    font-family: "Noto Sans TC";
    letter-spacing: 3px;
    font-weight: bold;
}
.index-video-mask{}
.index-banner-slong-box{
    width: 100%;
    display: block;
    position: absolute;
    top: 48%;
    left: 0;
    z-index: 5;
    pointer-events: none;
    text-align: center;
}
.index-video,
.index-about-n2-video{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
    display: block;
}

.index-video-bg{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.index-video-open{
    display: none;
}
.index-banner-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    background-color: #000;
    z-index: 2;
}
.index-banner-mask2{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
    background-color: #000;
    z-index: 3;
}
.index-banner-scroll{
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 9;
    
}
.index-banner-scroll-box{
    width: 28px;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}/*
.index-banner-scroll-box img{
    box-shadow: 2px 2px 5px 5px #000;
}*/
.index-banner-scroll-box span{
    position: relative;
    bottom: -30px;
    color: #fff;
    font-size: 14px;
    font-weight: lighter;
    letter-spacing: 1px;
    cursor: pointer;
}
.index-banner-small-light-box{
    display: block;
    position: absolute;
    right: 9%;
    top: 45%;
    z-index: 8;
    -webkit-filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.7));
    filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.7))
}
.index-banner-small-light{
    margin-bottom: 16px;
    width: 28px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/front/index-banner-small-light-notopen.png);
    cursor: pointer;
}
.index-banner-list-play{
    width: 26px;
    position: absolute;
    bottom: 58%;
    right: 9%;
}
.index-banner-list-play a{
    display: block;
    -webkit-filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.7));
    filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.7));
}
.index-banner-triangle1,
.index-banner-triangle2,
.index-banner-triangle3{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    overflow: hidden;
    display: block;
    opacity: 0.6;
    pointer-events: none;
}
.index-banner-triangle-1{
    position: absolute;
    left: -175.5%;
    top: 0;
    width: 200%;
    height: 100%;
    z-index: 8;
    background: rgba(207,255,114,0.65);
    -webkit-transition: all 1s cubic-bezier(.19,1,.22,1);
    transition: all 1s cubic-bezier(.19,1,.22,1);
    -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
    transition-timing-function: cubic-bezier(.19,1,.22,1);
    -webkit-transform: skew(-45deg);
    transform: skew(-45deg);
    display: block;
}
.index-banner-triangle-2{
    position: absolute;
    left: -201%;
    top: 0;
    width: 200%;
    height: 100%;
    z-index: 8;
    background: rgba(207,255,114,0.9);
    -webkit-transition: all 1s cubic-bezier(.19,1,.22,1);
    transition: all 1s cubic-bezier(.19,1,.22,1);
    -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
    transition-timing-function: cubic-bezier(.19,1,.22,1);
    -webkit-transform: skew(45deg);
    transform: skew(45deg);
    display: block;
}
.index-banner-triangle2 .index-banner-triangle-1{
    position: absolute;
    left: 80.5%;
    top: 0;
    width: 200%;
    height: 100%;
    z-index: 8;
    background: rgba(207,255,114,0.65);
    -webkit-transition: all 1s cubic-bezier(.19,1,.22,1);
    transition: all 1s cubic-bezier(.19,1,.22,1);
    -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
    transition-timing-function: cubic-bezier(.19,1,.22,1);
    -webkit-transform: skew(64deg);
    transform: skew(64deg);
    display: block;
}
.index-banner-triangle2 .index-banner-triangle-2{
    left: 80%;
    position: absolute;
    top: 0;
    width: 200%;
    height: 100%;
    z-index: 8;
    background: rgba(207,255,114,0.9);
    -webkit-transition: all 1s cubic-bezier(.19,1,.22,1);
    transition: all 1s cubic-bezier(.19,1,.22,1);
    -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
    transition-timing-function: cubic-bezier(.19,1,.22,1);
    -webkit-transform: skew(45deg);
    transform: skew(45deg);
    display: block;
}
.index-banner-triangle3 .index-banner-triangle-1{
    position: absolute;
    left: 80.5%;
    top: 0;
    width: 200%;
    height: 100%;
    z-index: 8;
    background: rgba(207,255,114,0.65);
    -webkit-transition: all 1s cubic-bezier(.19,1,.22,1);
    transition: all 1s cubic-bezier(.19,1,.22,1);
    -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
    transition-timing-function: cubic-bezier(.19,1,.22,1);
    -webkit-transform: skew(-20deg);
    transform: skew(-20deg);
    display: block;
}
.index-banner-triangle3 .index-banner-triangle-2{
    left: 84%;
    position: absolute;
    top: 0;
    width: 200%;
    height: 100%;
    z-index: 8;
    background: rgba(207,255,114,0.9);
    -webkit-transition: all 1s cubic-bezier(.19,1,.22,1);
    transition: all 1s cubic-bezier(.19,1,.22,1);
    -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
    transition-timing-function: cubic-bezier(.19,1,.22,1);
    -webkit-transform: skew(-66deg);
    transform: skew(-66deg);
    display: block;
}

/* .booking-thanks-box */
.booking-thanks-box {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    display: none;
}
.booking-thanks-box.active {
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
}
.booking-thanks {
    max-width: 100%;
    min-width: initial;
    width: 800px;
    padding: 40px 30px;
    padding-bottom: 25px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.booking-thanks-title {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    transform: scaleY(1.05);
    letter-spacing: 1px;
    line-height: 2;
}
.booking-thanks-edit {
    font-size: 16px;
    color: #333;
    /* transform: scaleY(1.05); */
    letter-spacing: 1px;
    line-height: 2;
    max-height: 80vh;
    min-height: 50vh;
    overflow-y: auto;
}
.booking-out {
    width: 21px;
    height: 21px;
    max-width: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.booking-out span {
    width: 15px;
    height: 1px;
    background-color: #888;
    display: block;
    margin: 0 auto;
    position: relative;
}
.booking-out span:nth-child(1) {
    top: 10px;
    left: 0px;
    transform: rotate(45deg);
}
.booking-out span:nth-child(2) {
    top: 9px;
    left: 0px;
    transform: rotate(-45deg);
}
.booking-thanks-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.index-fixed-box{
    position: fixed;
    bottom: 5vh;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    overflow: hidden;
    z-index: 9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: all .3s linear;
}
.index-fixed-img{
    text-align: center;
    line-height: 80px;
    font-size: 50px;
    color: #000;
    background-color: #fff;
    opacity: 1;
    transition: all .3s linear;
    animation: index_fixed_c 1s linear 0s infinite alternate;
}
.index-fixed-box:hover{
    width: 200px;
    border-radius: 20px;
}
.index-fixed-p{
    font-size: 20px;
    line-height: 30px;
    box-sizing: border-box;
    padding: 10px 0;
    text-align: center;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    opacity: 0;
    transition: all .3s linear;
}
.index-fixed-box:hover .index-fixed-img{
    opacity: 0;
}
.index-fixed-box:hover .index-fixed-p{
    opacity: 1;
}
.index-fixed-contact-box{
    position: fixed;
    bottom: 20px;
    left: 20px;
    overflow: hidden;
    z-index: 9;
    width: 300px;
    transition: all .3s linear;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.index-fixed-contact-box.fixedTop{
    opacity: 1;
    pointer-events: all;
}
@keyframes index_fixed_c {
    0%{
        color: #000;
    }
    to {
        color: #efe93a;
    }
}



/*過場動畫*/

.dt-loading-2 {
    width: 100%;
    height: 100vh;
    display: table;
    position: fixed;
    top: 0;
    z-index: 99999;
    transition: all .4s linear;
    background-color: #FFF;
}

.laying-2 {
   display: table-cell;
   vertical-align: middle;
}

.loading-logo-box{
    width: 220px;
    display: block;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
    text-align: center;
}
.loading-log span{
    font-size: 36px;
    display: inline-block;
    vertical-align: middle;
    color: #555;
    animation:  loading_fadeInUp 1s ease 0s 1 both;
}
.loading-logo-img{
    width: 100%;
    display: block;
    vertical-align: middle;
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 1s ease 0s 1 forwards;
}
.loading-logo-box>span{
    width: 90%;
    margin: 0 5%;
    height: 10px;
    display: block;
    background: #8bb639;
    animation:  loading_Line 1.5s linear 0s 1 forwards;
}

@keyframes loading_fadeInUp {
    0%{
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}
@keyframes loading_Line {
    0%{
        width: 0;
    }
    20% {
        width: 20%;
    }
    60% {
        width: 20%;
    }
    to {
        width: 100%;
    }
}
/*fancy-box*/

.fancybox-table{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.fancybox-table.active{
    display: table;
}
.fancybox-table-mid{
    display: table-cell;
    vertical-align: middle;
}
.fancybox-box{
    width: 800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.fancybox-img-box{
    width: 100%;
    height: 600px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}
.fancybox-article{
    max-height: calc(100vh - 700px);
    overflow: auto;
}
.fancybox-article-title{
    font-size: 20px;
    color: #FFF;
    letter-spacing: 2px;
}
.fancybox-article-p{
    font-size: 16px;
    display: block;
    color: #FFF;
}

.fancybox-mask-box{
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    left: 0;
}
.fancybox-close{
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ddd;
    cursor: pointer;
    z-index: 3;
}
.body-close{
    overflow: hidden;

}
.body-close::-webkit-scrollbar{
    display:none;
}

.fancybox-link{
    position: fixed;
    text-align: center;
    top: calc(50% - 31px);
}
.news-prev{
    right: calc(50% + 427px);
}
.news-next{
    left: calc(50% + 427px);
}
.fancybox-link i{
    font-size: 24px;
    color: #FFF;
    display: block;
    margin-bottom: 10px;
}
.fancybox-link p{
    font-size: 18px;
    color: #FFF;
}
.fancybox-block{
    width: 100%;
    max-height: 100vh;
    overflow: auto;

}
.fancybox-block::-webkit-scrollbar{
    display:none;
}


/*----------------------------*/

.rwd-menu-class-list{
    width: 100%;
    height: 46px;
    border: 1px solid #ccc;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: center;
    display: none;
    line-height: 46px;
    position: relative;
    box-sizing: border-box;
}
.rwd-menu-class-list:after {
    content: '';
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 10px solid transparent;
    border-top: 10px solid #888;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    bottom: calc(50% - 5px);
    right: 5%;
    box-sizing: border-box;
}


/*-------------hover---------------*/

.index-banner-small-light:hover,
.index-banner-small-light.active{
    background-image: url(../img/front/index-banner-small-light-open.png);
}
.header-menu li:hover .header-about-menu-box{
    display: block;
}
@media only screen and (max-width: 1366px){
    .index-banner-list-light-bc,
    .index-banner-box, 
    .index-banner-list, 
    .index-video-box, 
    .index-video, 
    .index-video-bg{
        height: calc(100vw * 0.49);
    }
    
}
@media only screen and (max-width: 1000px){
    .index-banner-small-light-box,
    .index-banner-scroll{
        display: none;
    }
    .index-banner-list-light-bc,
    .index-banner-box, 
    .index-banner-list, 
    .index-video-box, 
    .index-video, 
    .index-video-bg{
        height: calc(100vw * 0.49);
    }
    .index-banner-list-play{
        display: none;
    }
    .index-banner-box {
        padding-top: 48px;
    }

    
    .index-fixed-contact-box{
        width: 200px;
    }
}
@media only screen and (max-width: 800px){
    .index-banner-scroll-box{
        width: 95%;
    }
    .booking-thanks{
        width: 95vw;
    }
    .booking-thanks-edit {
        max-height: calc(60vh - 60px);
    }
    
}
@media only screen and (max-width: 600px){
    .index-banner-box {
        padding-top: 42px;
    }
    .index-fixed-contact-box{
        width: 200px;
        bottom: 10px;
        left: 10px;
    }
}
@media only screen and (max-width: 500px){
    .index-banner-slong{
        font-size: 18px;
    }
    .booking-thanks {
        padding: 30px 20px;
    }
    .booking-thanks-title {
        font-size: 20px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
}




/*<-------------動畫------------->*/

@keyframes index_news_fedfromtop {
    0%{
        transform: translateY(-200px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes index_film_fedfromleft {
    0%{
        transform: translateX(-200px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes index_film_fedfromright {
    0%{
        transform: translateX(200px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes index_about_fed {
    0%{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes index_about_fedfrombottom {
    0%{
        transform: translateY(200px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes index_banner-scroll {
    0%{
        transform: translateY(-10px);
    }
    50%{
        transform: translateY(0px);
    }
    to {
        transform: translateY(-10px);
    }
}
@media only screen and (min-width: 1001px){
    .index-news{
        opacity: 0;
    }
    .index-news.active{
        animation: index_news_fedfromtop 1.5s ease both;
    }
    .index-film-one-box,
    .index-film-two-box,
    .index-film-thr-box{
        opacity: 0;
    }
    .index-film-one-box.active,
    .index-film-thr-box.active{
        animation: index_film_fedfromleft 1.5s ease both;
    }
    .index-film-two-box.active{
        animation: index_film_fedfromright 1.5s ease both;
    }
    .index-about-img,
    .index-about-text-box{
        opacity: 0;
    }
    .index-about-text-box.active{
        animation: index_about_fed 1.5s ease both;
    }
    .index-about-img.active{
        animation: index_about_fedfrombottom 1.5s ease .5s both;
    }
    
    .index-banner-scroll-box{
        animation: index_banner-scroll 1.5s ease infinite;
    }
}
