﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}
.index-banner-box,
.index-banner-list{
    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: top;
    opacity: 0.5;
}
.index-banner{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.index-video-mask{
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #601986;
}
.index-banner-logo-box{
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    z-index: 99;
}
.index-banner-logo-box>span{
    position: relative;
}
.index-banner-logo-box>span p{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-svg{
    position: absolute;
    top: 0;
    left: 0;
    width: 99%;
    height: 100%;
}
.index-banner-bg-box{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}
.index-banner-bg-l1{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.index-banner-bg-l2{
    position: absolute;
    top: 0;
    left: 0;
}
.index-banner-bg-r1{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.index-banner-bg-r2{
    position: absolute;
    bottom: -140px;
    right: 0;
}
.index-banner-bg-r-b{
    position: absolute;
    top: 100px;
    right: 280px;
    z-index: 1;
}




.not-banner{
    display: none;
}



@media only screen and (max-width: 1680px){
    .index-banner-bg-l1{
        width: 1000px;
    }
    .index-banner-bg-l2{
        width: 450px;
    }
    .index-banner-bg-r1{
        width: 260px;
    }
    .index-banner-bg-r2{
        width: 380px;
    }
    .index-banner-bg-r-b{
        width: 200px;
    }
}
@media only screen and (max-width: 1480px){
    .index-banner-bg-l1{
        width: 600px;
    }
    .index-banner-bg-l2{
        width: 300px;
    }
    .index-banner-bg-r1{
        width: 210px;
    }
    .index-banner-bg-r2{
        width: 330px;
        bottom: -50px;
    }
    .index-banner-bg-r-b{
        width: 200px;
        right: 200px;
    }
}
@media only screen and (max-width: 1200px){
    .index-banner-logo-box>span{
        width: 800px;
    }
    .banner-svg>svg{
        width: 792px;
        height: 255px;
    }
}
@media only screen and (max-width: 1000px){
    .index-banner-logo-box>span{
        width: 550px;
    }
    .banner-svg>svg{
        width: 544px;
        height: 176px;
    }
    .index-banner-bg-l1{
        width: 400px;
    }
    .index-banner-bg-r1{
        width: 200px;
    }
    .index-banner-bg-r2{
        width: 230px;
    }
    .index-banner-bg-r-b{
        width: 150px;
        right: 150px;
    }
}
@media only screen and (max-width: 750px){
    .index-banner-box, 
    .index-banner-list{
        height: 500px;
    }
    .index-banner-bg-l1{
        width: 300px;
    }
    .index-banner-bg-l2{
        width: 200px;
    }
    .index-banner-bg-r1{
        width: 150px;
    }
    .index-banner-bg-r2{
        width: 180px;
    }
    .index-banner-bg-r-b{
        width: 150px;
        top: 10px;
        right: 150px;
    }
}
@media only screen and (max-width: 550px){
    .index-banner-logo-box>span{
        width: 300px;
    }
    .banner-svg>svg{
        width: 297px;
        height: 95px;
    }
    .index-banner-box, 
    .index-banner-list{
        height: 300px;
    }
    .index-banner-bg-l1{
        width: 150px;
    }
    .index-banner-bg-l2{
        width: 100px;
        top: -40px;
    }
    .index-banner-bg-r1{
        width: 50px;
    }
    .index-banner-bg-r2{
        width: 80px;
        bottom: 10px;
    }
    .index-banner-bg-r-b{
        width: 50px;
        right: 50px;
    }
}






/*animation*/
/*<-------------動畫------------->*/
@keyframes fadeOut_ani {
    0%{
        opacity: 1;
    }
    50%{
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes fadeIn_ani {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeInUp_ani {
    0%{
        opacity: 0;
        transform: none;
    }
    50%{
        opacity: 0;
        transform: translate3d(0, 5%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.banner-svg{
    animation: fadeOut_ani 2s linear 0s 1 both;
}
.index-banner-logo-box>span>img{
    animation: fadeIn_ani 2.2s linear 0s 1 both;
}
.index-banner-logo-box>span p>img{
    animation: fadeInUp_ani 1.8s linear 0s 1 both;
}
@media only screen and (min-width: 1001px){
    .index-banner-bg-l1{
        animation: fadeInDown 1s ease .3s 1 both;
    }
    .index-banner-bg-l2{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .index-banner-bg-r1{
        animation: fadeInRightDown 1s ease .5s 1 both;
    }
    .index-banner-bg-r2{
        animation: fadeInRightUp 1s ease .5s 1 both;
    }
    .index-banner-bg-r-b{
        animation: fadeInRightUp 1s ease .8s 1 both;
    }
}
