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

.index-banner-slong-box{
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(50%);
    right: 50%;
    z-index: 6;
    pointer-events: none;
    box-sizing: border-box;
    padding: 0 20px;
}
.index-banner-slong{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.index-banner-slong h2{
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    font-size: 32px;
    color: #323c53;
    background-color: #fff;
    display: block;
    z-index: 9;
    letter-spacing: 0.1em;
    line-height: 50px;
    cursor: context-menu;
    font-family: 'Noto Sans TC';
}
.index-banner-slong h3{
    font-family: 'Noto Sans TC';
    font-weight: 700;
    color: #fff;
    font-size: 56px;
    letter-spacing: 0.2em;
    margin-top: 80px;
}
.index-banner-slong h4{
    font-family: 'Noto Sans TC';
    color: #fff;
    font-size: 30px;
    letter-spacing: 0.2em;
}
.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: 70%;
    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-video-open{
    display: none;
}
.not-banner{
    display: none;
}


.index-slong-box{
    width: 100%;
    box-sizing: border-box;
    padding: 40px 0;
    text-align: center;
}
.index-slong-all-box{
    width: 600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px 0;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}
.index-slong-all-box p{
    font-size: 28px;
    color: #323c53;
    font-weight: 700;
    letter-spacing: 0.06em;
}




@media only screen and (max-width: 1200px){
    .index-banner-slong h2{
        font-size: 24px;
        line-height: 1.6;
    }
    .index-banner-slong h3{
        font-size: 40px;
        margin-top: 40px;
    }
    .index-banner-slong h4{
        font-size: 28px;
    }
}
@media only screen and (max-width: 1000px){
    .index-banner-box{
        margin-top: 55px;
    }
    .index-banner-box, 
    .index-banner-list{
        height: calc((960 / 1920) * 100vw);
    }
    .index-banner-slong h2{
        font-size: 20px;
        max-width: 500px;
    }
    .index-banner-slong h3{
        font-size: 32px;
        margin-top: 20px;
    }
    .index-banner-slong h4{
        font-size: 22px;
    }
    .index-slong-all-box{
        width: 500px;
    }
    .index-slong-all-box p{
        font-size: 22px;
    }
}
@media only screen and (max-width: 550px){
    .index-banner-box{
        margin-top: 46px;
    }
    .index-banner-box, 
    .index-banner-list{
        height: calc((1080 / 1920) * 100vw);
    }
    .index-banner-slong h2{
        font-size: 16px;
        max-width: 260px;
        letter-spacing: 0.06em;
    }
    .index-banner-slong h3{
        font-size: 24px;
        margin-top: 10px;
        letter-spacing: 0.06em;
    }
    .index-banner-slong h4{
        font-size: 18px;
        letter-spacing: 0.06em;
    }
    .index-slong-all-box{
        width: 300px;
        padding: 10px 0;
    }
    .index-slong-all-box p{
        font-size: 18px;
    }
}
@media only screen and (max-width: 400px){
    .index-slong-all-box{
        width: 240px;
    }
    .index-slong-all-box p{
        font-size: 16px;
        letter-spacing: 0em;
    }
}



/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .index-slong-all-box{
        opacity: 0;
    }
    .index-slong-all-box.anima{
        animation: fade 1s linear 0s 1 both;
    }
}