﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    background-color: #000;
}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
    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 span{
    height: 100%;
    width: 100%;
    display: block;
    opacity: 0.8;
}
.index-banner{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.index-banner-slong,
.index-video-slong{
    width: 100%;
    text-align: center;
    font-size: 36px;
    color: #FFF;
    display: block;
    position: absolute;
    z-index: 9;
    top: 48%;
    text-shadow: rgba(0,0,0,0.6) 2px 2px 2px;
    cursor: context-menu;
}
.index-video-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    z-index: 5;
    pointer-events: none;
}
.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: 48%;
    left: 0;
    z-index: 5;
    pointer-events: none;
    text-align: center;
}
.index-video-open{
    display: none;
}
.not-banner{
    display: none;
}
.rwd-index-menu-box{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    font-size: 0;
    display: none;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
}
.rwd-index-menu{
    width: 100%;
    margin: 2vh 0;
    display: block;
}
.rwd-index-menu-name{
    display: inline-block;
    vertical-align: middle;
    font-family: 'Noto Sans TC';
    font-weight: 900;
    font-size: 40px;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.06em;
    width: 200px;
}
.rwd-index-menu-info-box{
    width: 300px;
    background-color: #6b1317;
    box-sizing: border-box;
    padding: 10px;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-direction: row;
    position: relative;
}
.rwd-index-menu-info-box::after{
    content: '';
    width: 0;
    height: 0;
    border-top: 70px solid #6b1317;
    border-right: 30px solid transparent;
    display: block;
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
}
.rwd-index-menu-logo{
    height: 50px;
    display: inline-block;
    vertical-align: middle;
}
.rwd-index-menu-logo>img{
    max-width: initial;
    max-height: 100%;
}

.rwd-index-menu:nth-child(even) .rwd-index-menu-info-box{
    flex-direction: row-reverse;
    margin-left: auto;
}
.rwd-index-menu:nth-child(even) .rwd-index-menu-info-box::after{
    border: none;
    border-top: 70px solid #6b1317;
    border-left: 30px solid transparent;
    left: initial;
    right: calc(100% - 1px);
}
.rwd-index-menu:nth-child(even) .rwd-index-menu-name{
    text-align: right;
}


@media only screen and (max-width: 768px){
    .index-banner-box, 
    .index-banner-list, 
    .index-video-box, 
    .index-video, 
    .index-video-bg{
        height: calc(100vh - 80px - 41px);
    }
    .index-banner-box {
        margin-top: 80px;
    }

    
    .rwd-index-menu-box{
        display:         flex;
        display: -webkit-flex;
    }

    .rwd-index-menu{
        
    }
    .rwd-index-menu.active{
        transform: translateX(-100%);
    }


}
@media only screen and (max-width: 550px){
    .index-banner-box, 
    .index-banner-list, 
    .index-video-box, 
    .index-video, 
    .index-video-bg{
        height: calc(100vh - 60px - 51px);
    }
    .index-banner-box {
        margin-top: 60px;
    }


    
    .rwd-index-menu-info-box{
        width: 200px;
    }
    .rwd-index-menu-name{
        font-size: 24px;
        width: 120px;
    }
    .rwd-index-menu-logo{
        height: 30px;
    }
    .rwd-index-menu-info-box::after{
        border-top: 50px solid #6b1317;
        border-right: 20px solid transparent;
    }
    .rwd-index-menu:nth-child(even) .rwd-index-menu-info-box::after{
        border-top: 50px solid #6b1317;
        border-left: 20px solid transparent;
    }
}
@media only screen and (max-height: 420px){
    .rwd-index-menu-box{
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        -webkit-align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
    }
    .rwd-index-menu{
        width: 40%;
        margin: 2vh 5%;
    }
    .rwd-index-menu-info-box::after{
        display: none;
    }
    .rwd-index-menu-info-box{
        width: 100%;
        text-align: center;
        display: block;
    }
    .rwd-index-menu-name{
        width: 100%;
        font-size: 20px;
        margin-bottom: 10px;
    }
    .rwd-index-menu:nth-child(even) .rwd-index-menu-name{
        text-align: center;
    }
    .rwd-index-menu-logo{
        height: 30px;
    }
}
@media only screen and (max-height: 300px){
    .rwd-index-menu-info-box{
        padding: 5px 10px;
    }
}