﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 88px;
}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: calc(100vh - 88px);
}
.index-banner-list-box{
    width: 100%;
    display: block;
    position: relative;
    
}
.index-banner-list{
    width: 100%;
    display: block;
     position: relative;
}

.index-banner{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}


.index-banner-list{
    width: 100%;
    position: relative;
    background-color: #000;
}
.index-video-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    z-index: 5;
}
.index-video-box{
    width: 100%;
    display: block;
    position: relative;
}
.index-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-banner-slong-box{
    width: 100%;
    display: block;
    position: absolute;
    top: calc(50% - 59px);
    left: 0;
    z-index: 5;
    text-align: center;
}
.index-banner-slong-list-info{
    width: 1800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    text-align: left;
}
.index-banner-slong2{
    font-size: 36px;
    letter-spacing: 1px;
    font-family: 'Anton','Noto Sans TC';
    color: #FFF;
    font-weight: 100;
    margin-top: 5px;
}
.index-banner-slong2 b{
    font-family: 'Anton','Noto Sans TC';
    font-size: 50px;
    letter-spacing: 5px;
}
.index-video-open{
    display: none;
}
.index-banner-slong{
    font-size: 30px;
    letter-spacing: 10px;
    font-family: 'Anton','Noto Sans TC';
    color: #FFF;
}
.index-baaner-scroll {
    position: absolute;
    bottom: 20px;
    font-size: 12px;
    color: #FFF;
    z-index: 9;
    left: calc(50% - 25px);
    width: 50px;
    max-width: 100%;
    text-align: center;
}
.index-baaner-scroll span {
    display: block;
    letter-spacing: 3px;
    padding-top: 10px;
    transition: all .3s linear;
}

.banner-bg{
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-box{
    width: 100%;
    height: 600px;
    margin-top: 82px;
    background-color: #000;
}
.banner-list-box{
    width: 100%;
    height: 100%;
    display: block;
}

.banner-slong-box{
    position: absolute;
    bottom: 10%;
    width: 100%;
}



.main-banner-box{
    margin-top: 88px;
    display: block;
    width: 100%;
    position: relative;
}
.main-banner-img{
    width: 100%;
    height: 400px;
    display: block;
    position: relative;
    overflow: hidden;
}

.main-banner-img span{
    width: 100%;
    height: 120%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all .3s linear;
}

.main-banner-slong{
    width: 100%;
    display: block;
    position: absolute;
    text-align: center;
    font-size: 40px;
    z-index: 1;
    top: calc(50% - 32px);
    font-weight: bold;
    letter-spacing: 2px;
}


/*-------------------hover---------------------------*/
.index-banner-scroll-box:hover p{
    letter-spacing: 5px;
    font-weight: bold;
}


/*-----------------------動畫----------------------------*/

.banner-slong-box{
  overflow: hidden;
}
.banner-slong-box .index-banner-slong{
 animation: fadeInLeft .5s ease 0s 1 both;
}
.banner-slong-box .index-banner-slong2{
 animation: fadeInRight .5s ease 0s 1 both;
}


/*過場動畫*/

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

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

.loading-logo-box{
    width: 300px;
    max-width: 100%;
    display: block;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
 
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 2s linear 0s 1 forwards;

}
.spinner {
    margin: 0 auto;
    margin-top: 50px;
    width: 70px;
    text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #FFF;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

/*fancy-box*/

.fancybox-table{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.fancybox-table.active{
    display: table;
}
.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;
}
.not-banner{
    height: 0;
    overflow: hidden;
    
}
@media only screen and (min-width: 1000px){
    .index-baaner-scroll:hover span{
        color: #FFF;
    }
    .index-baaner-scroll img{
        animation: fadeUpout-banner-arrow .8s linear 0s alternate infinite;
    }
}
@media only screen and (max-width: 1800px){
    .index-banner-slong-list-info{
        width: 95%;
    }
}

@media only screen and (max-width: 1366px){
    .main-banner-img{
        height: 300px;
    }
    .index-banner-slong-list-info{
        width: 1280px;
    }
    .main-banner-slong{
        font-size: 26px;
    }
}


@media only screen and (max-width: 1200px){
    .index-banner-slong-list-info{
        width: 1000px;
    }
    .banner-box{
        height: 400px;
    }
}



@media only screen and (max-width: 1000px){
    .index-banner-slong-list-info{
        width: 95%;
    }
    .index-banner-box,
    .main-banner-box{
        margin-top: 84px;
    }
    .index-banner-box, .index-banner-list, .index-video-box, .index-video, .index-video-bg{
        height: calc(100vh - 84px);
    }
  
    
}
@media only screen and (max-width: 750px){
    .index-banner-box,
    .banner-box{
        margin-top: 54px;
    }
    .main-banner-box{
        margin-top: 54px;
    }
    .main-banner-img{
        height: 200px;
    }
    .main-banner-slong{
        font-size: 20px;
    }
    .index-banner-box, .index-banner-list, .index-video-box, .index-video, .index-video-bg{
        height: calc(100vh - 54px);
    }

}

@media only screen and (max-width: 550px){
    .index-banner-slong2 b{
        font-size: 30px;
    }
    .index-banner-slong2{
        font-size: 24px;
    }
    .banner-box {
        height: 310px;
    }
    
}




