﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: 100vh;
}
.index-banner-list-box{
    width: 100%;
    display: block;
    position: relative;
    
}
.index-banner-list{
    width: 100%;
    display: block;
     position: relative;
}
.index-banner-list span{
    height: 100%;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-banner{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}


.index-video-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.4;
    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-block{
    width: 1200px;
    max-width: 100%;
    height: 100%;
    display:         flex;
    display: -webkit-flex;
          align-items: center;
    -webkit-align-items: center;
 
    position: absolute;
    top: 0;
    left: calc(50% - 600px);
    z-index: 5;
    pointer-events: none;
}
.index-video-open{
    display: none;
}
.index-banner-slong-box{
    width: 570px;
    max-width: 100%;
    position: relative;
    padding: 30px 40px;
    box-sizing: border-box;
}
.index-banner-border-box{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.index-banner-border-top1{
    width: 10%;
    display: block;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
}
.index-banner-border-top2{
    width: 10%;
    display: block;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    top: 0;
    right: 0;
}
.index-banner-border-left{
    height: 100%;
    width: 1px; 
    display: block;
    background-color: #FFF;
    position: absolute;
    left: 0;
    top: 0;
}
.index-banner-border-right{
    height: 100%;
    width: 1px; 
    display: block;
    background-color: #FFF;
    position: absolute;
    right: 0;
    top: 0;
}
.index-banner-border-bottom1{
    width: 10%;
    display: block;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    bottom: 0;
    left: 0;
}
.index-banner-border-bottom2{
    width: 10%;
    display: block;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    bottom: 0;
    right: 0;
}
.index-banner-info-title{
    font-size: 22px;
    color: #FFF;
    letter-spacing: 1px;
    font-weight: bold;
    padding-bottom: 20px;
    transform: skewX(-10deg);
}
.index-banner-info-article{
    font-size: 14px;
    color: #FFF;
    line-height: 2;
}
.banner-scroll-box {
    width: 50px;
    max-width: 100%;
    display: block;
    position: absolute;
    bottom: 5%;
    left: calc(50% - 25px);
    text-align: center;
    font-size: 14px;
    color: #FFF;
    letter-spacing: 1px;
    z-index: 9;
}
.banner-scroll-box span {
    display: block;
    margin-top: 10px;
    transition: all .5s ease;
}



/*--------------banner-page-----------------*/
.pages-banner-box{
    width: 100%;
    height: 155px;
    position: relative;
    text-align: center;
    box-sizing: border-box;
    padding: 38px 0;
}
.pages-banner-img-box{
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
}
.pages-banner-slong-box{
    position: relative;
    padding: 4px 35px;
    display: inline-block;
    z-index: 3;
}
.pages-banner-slong{
    font-size: 38px;
    color: #FFF;
    letter-spacing: 10px;
    transform: skewX(-10deg);
    font-weight: bold;
}

.pages-banner-img-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    z-index: 1;
}

.pages-banner-slong-border-box{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}
.pages-banner-slong-border-top1{
    width: 8%;
    display: block;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;

}
.pages-banner-slong-border-top2{
    width: 8%;
    display: block;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    top: 0;
    right: 0;
}
.pages-banner-slong-border-left{
    width: 1px;
    display: block;
    height: 100%;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
}
.pages-banner-slong-border-right{
    width: 1px;
    display: block;
    height: 100%;
    background-color: #FFF;
    position: absolute;
    top: 0;
    right: 0;
}

.pages-banner-slong-border-bottom1{
    width:8%;
    display: block;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    bottom: 0;
    left: 0;

}
.pages-banner-slong-border-bottom2{
    width: 8%;
    display: block;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    bottom: 0;
    right: 0;
}


/*--------------動畫----------------*/
.banner-scroll-box:hover span{
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
}

.banner-scroll-box img{
    animation:fadeUpout-banner-arrow .8s linear 0s infinite alternate;
}

.index-banner-border-top1,
.pages-banner-slong-border-top1{
    transform-origin: right;
    animation: line .3s  linear 0s 1 both;
}
.index-banner-border-top2,
.pages-banner-slong-border-top2{
    transform-origin: left;
    animation: line .3s  linear 0s 1 both;
}
.index-banner-border-left,
.index-banner-border-right,
.pages-banner-slong-border-left,
.pages-banner-slong-border-right{
    transform-origin: top;
    animation: line2 .5s linear .3s 1 both; 
}
.index-banner-border-bottom1,
.pages-banner-slong-border-bottom1{
    transform-origin: left;
    animation: line .3s  linear .8s 1 both;
}
.index-banner-border-bottom2,
.pages-banner-slong-border-bottom2{
    transform-origin: right;
    animation: line .3s  linear .8s 1 both;
}
.pages-banner-slong{
    animation: fade .5s ease 0s 1 forwards;
}
@media only screen and (max-width: 1200px){
    .index-banner-slong-block{
        width: 1000px;
        left: calc(50% - 500px);
    }
}
@media only screen and (max-width: 1000px){
    .index-banner-slong-block{
        width: 95%;
        left: 2.5%;
    }

}
@media only screen and (max-width: 750px){
    .pages-banner-img-box{
        height: 130px;
    }
    .pages-banner-slong{
        font-size: 32px;
    }
}
@media only screen and (max-width: 550px){
    .index-banner-slong-box{
        padding: 20px;
    }
    .pages-banner-slong{
        font-size: 22px;
    }
    .pages-banner-box{
        height: 120px;
    }
}
@media only screen and (max-width: 500px){
    .pages-banner-img-box{
        height: 100px;
    }
    .pages-banner-slong{
        font-size: 28px;
    }
    .pages-banner-box{
        padding: 24px 0;
    }
}