﻿/*--------------header-style1-----------------*/
.header-style1{
    position: fixed;
    z-index: 999;
    display: block;
    width: 100%;
    top: 0;
    background-color: #FFF;
    box-shadow: 0 0 3px rgba( 0,0,0,0.3)
}

.header-logo-img{
    position: relative;
    padding-top: 43%;
}

.header-logo-img > img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
    max-width: 116px;
}

.header-style1 .header-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.header-style1 .header-logo{
    width: 150px;
    max-width: 100%;
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    box-sizing: border-box;
    padding: 10px 0;
}
.header-style1 .header-menu-box{
    width: calc(100% - 150px);
    display: inline-block;
    vertical-align: bottom;
    font-size: 0;
    text-align: right;
}
.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
.header-style1 .header-menu> li:after{
    content: '';
    width: 0%;
    height: 2px;
    display: block;
    background-color: #a62a32;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .3s linear;
}
.header-link-box{
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}
.header-menu-list-box li{
    margin-bottom: 30px
}
.header-menu-title{
    font-size: 16px;
    position: relative;
    line-height: 54px;
    letter-spacing: 0.06em;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 15px;
    color: black;
    font-family: "Noto Sans TC";
    transition: all .3s linear;
}
div.header-menu-title{
    cursor: context-menu;
}

.header-menu-title span{
    font-size: 16px;
    font-family: "Roboto";
    font-weight: 500;
}
.rwd-header-menu-mask{
    display: none;
}
.rwd-menu-list-back{
    display: none;
}
.mask{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.mask.active{
    display: block;
}

.rwd-menu{
    width: 30px;
    max-width: 100%;
    position: absolute;
    right: 20px;
    z-index: 99999;
    display: none;
    top: calc(50% - 7px);
}
.rwd-menu span{
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 2px;
    background-color: #000;
    position: relative;
}
.rwd-menu-style1> span:nth-child(even){
    margin: 4px auto;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(1){
    transform: scale(1);
    transform-origin: left;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(3){
    transform: scale(1);
    transform-origin: right;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(4){
    top: -19px;
    transform:  scale(0,1) rotate(-45deg);
}
.rwd-menu-style1> span:nth-child(4){
    display: none;
}
.rwd-menu-style1 .rwd-menu-bth-line{
    transform: rotate(-45deg);
}
.rwd-menu-style1 .rwd-menu-bth-line2{
    transform: rotate(45deg);
}
.rwd-menu-style1 .rwd-menu-bth-line,
.rwd-menu-style1 .rwd-menu-bth-line2{
    position: absolute;
    top: 6px;
    left:0;
    width: 100%;
}
.rwd-menu-style1 .rwd-menu-bth-line span,
.rwd-menu-style1 .rwd-menu-bth-line2 span{
    transform:  scale(0,1);
    transition: all .5s ease;
    position: relative;
}
.rwd-menu-style1.active .rwd-menu-bth-line span,
.rwd-menu-style1.active .rwd-menu-bth-line2 span{
    transform:  scale(1,1);
    transition-delay: .1s;
}
.rwd-menu-style1.active> span:nth-child(1),
.rwd-menu-style1.active> span:nth-child(2),
.rwd-menu-style1.active> span:nth-child(3){
    transform: scale(0,1);
}
.rwd-menu-style1.active> span:nth-child(odd){
    transform: scale(0);
    transition: all .4s linear;
    transition-delay: 0s;
}

@keyframes smallbig{
  0%, 100%{
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }

  50%{
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
  }
}

.rwd-header-brands-back{
    display: none;
}


.header-brands-box{
    display: block;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    left: 0;
    top: 100px;
    width: 100%;
    background-color: #f5f5f5;
    text-align: left;
    box-shadow: 0 1px 3px rgba( 0,0,0,0.1) inset, 0 2px 3px rgba( 0,0,0,0.1);
}
.header-brands-info-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding: 20px 0;
}
.header-brands-info-box:before{
    content: '';
    display: block;
    width: calc((100vw - 1290px) / 2);
    height: calc(100% - 3px);
    position: absolute;
    right: calc(100% + 5px);
    top: 3px;
    background-color: #f5f5f5;
    z-index: 2;
}
.header-brands-info-box:after{
    content: '';
    display: block;
    width: calc((100vw - 1290px) / 2);
    height: calc(100% - 3px);
    position: absolute;
    left: calc(100% + 5px);
    top: 3px;
    background-color: #f5f5f5;
    z-index: 2;

}
.header-brands-info-box .slick-list{
    overflow: initial;
}
.header-brands-info{
    display: inline-block;
    width: 240px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
    background-color: #fff;
    margin: 5px 0;
    margin-right: 20px;
    position: relative;
    transition: all .3s linear;
}
.header-brands-info-img{
    width: 100%;
    height: 100px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    outline: none;
}
.header-brands-info span{
    font-size: 20px;
    color: #000;
    letter-spacing: 0.06em;
    text-align: center;
    display: block;
    width: 100%;
    position: absolute;
    bottom: -35px;
    left: 0;
}
.header-preorder .header-brands-info-box{
    padding-bottom: 40px;
}
.header-brands-info-box .slick-prev, 
.header-brands-info-box .slick-next{
    z-index: 3;
    color: #000;
}
.header-brands-info-box .slick-prev{
    left: -30px;
    width: initial;
    height: initial;
}
.header-brands-info-box .slick-next{
    right: -30px;
    width: initial;
    height: initial;
}
.header-brands-info-box .slick-prev:before{
    content: '\f0d9';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    opacity: 1;
    font-size: 20px;
    color: #000;
}
.header-brands-info-box .slick-next:before{
    content: '\f0da';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    opacity: 1;
    font-size: 20px;
    color: #000;
}
.header-brands-info-box .slick-prev.slick-disabled:before, 
.header-brands-info-box .slick-next.slick-disabled:before{
    font-size: 0;
}




/*--------------------hover----------------------*/
.header-menu> li.active,
.header-menu> li:hover{
    background-color: #a62a32;
}
.header-menu> li.active .header-menu-title,
.header-menu> li:hover .header-menu-title{
    color: #fff;
}
/* .header-style1 .header-menu> li.active:after,
.header-style1 .header-menu> li:hover:after{
    width: 100%;
} */
#brands .header-brands .header-brands-box,
.header-brands:hover .header-brands-box{
    opacity: 1;
    pointer-events: inherit;
}
.header-brands-info:hover{
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.header-preorder:hover .header-brands-box{
    opacity: 1;
    pointer-events: inherit;
}

/*------------------------------------------*/

@media only screen and (max-width: 1380px){
    .header-brands-info-box{
        width: 1000px;
    }
    .header-brands-info-box:after,
    .header-brands-info-box:before{
        width: calc((100vw - 1010px) / 2);
    }
    .header-brands-info{
        margin-right: 14px;
    }
}
@media only screen and (max-width: 1280px){
    .header-style1 .header-box{
        width: 95%;
        margin: 0 auto;
    }
    .header-style2 .header-menu ul{
        width: 100%;
    }
    .header-menu-title{
        font-size: 16px;
        padding: 0 5px;
    }
    .header-menu-title span{
        font-size: 14px;
    }
    .header-style1 .header-logo{
        width: 200px;
    }
    .header-style1 .header-menu-box{
        width: calc(100% - 200px);
    }
}

@media only screen and (max-width: 1080px){
    .header-brands-info-box{
        width: 900px;
    }
    .header-brands-info-box:after,
    .header-brands-info-box:before{
        width: calc((100vw - 910px) / 2);
    }

    .header-brands-info{
        width: 215px;
    }
    .header-brands-info-img{
        height: 90px;
    }
}
@media only screen and (max-width: 1000px){
    .header-menu-title{
        color: white;
    }
    .rwd-menu{
        display: block;
    }
    .header-style1 .rwd-menu{
        display: block;
    }
    .rwd-header-menu-sytle1 .header-menu-box.active{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
    }
    .rwd-header-menu-sytle1 .header-menu{
        width: 250px;
        max-width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -255px;
        z-index: 3;
        display:         flex;
        display: -webkit-flex;
        align-items: flex-start;
        -webkit-align-items: flex-start;
        justify-content: center;
        -webkit-justify-content: center;
        flex-direction:column;
        background-color:#a62a32;
        transition: all .5s linear;
        box-shadow: 0 0 5px rgba(0,0,0,0.3);
        opacity: 0;
        color: white;
    }
    .rwd-header-menu-sytle1 .header-menu-box.active .header-menu{
        right: 0;
        opacity: 1;
    }
    .rwd-header-menu-sytle1 .header-menu> li{
        width: 100%;
        display: block;
        margin: 0;
        margin-bottom: 0;
        top: 30px;
        opacity: 0;
    }
    .rwd-header-menu-sytle1 .header-menu-box.active .header-menu> li{
        opacity: 1;
        top: 0;
        text-align: center;
        transition: all .5s linear .3s;
        
    }
    .rwd-header-menu-sytle1 .header-menu-box .rwd-header-menu-mask{
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 2;
        background-color: rgba(0,0,0,0.3);
        opacity: 0;
        transition: all .3s linear;
    }
    .rwd-header-menu-sytle1 .header-menu-box.active .rwd-header-menu-mask{
        opacity: 1;
        display: block;
    }
    .rwd-header-menu-sytle1 .header-menu> li:last-child{
        margin-bottom: 0;
    }
    .header-style1 .header-logo{
        padding: 7px 0;
    }
    body.h_open{
        overflow: hidden;
    }
    .header-brands-box{
        width: 250px;
        display: block;
        position: fixed;
        top: 0;
        right: -250px;
        opacity: 0;
        left: initial;
        box-sizing: border-box;
        padding: 0 10px;
        z-index: 4;
        transition: all .3s linear;
    }
    .header-brands-info-box{
        margin-top: 80px;
        overflow-y: auto;
        height: calc(100vh - 80px);
    }
    .header-brands-info-box:after,
    .header-brands-info-box:before{
        display: none;
    }
    .header-brands-info{
        width: 100%;
        margin: 10px 0;
        box-shadow: none;
        box-sizing: border-box;
        border: 1px solid #d1d1d1;
    }
    .header-brands-info-img{
        height: 100px;
    }
    .header-menu-title.active~.header-brands-box{
        opacity: 1;
        pointer-events: inherit;
        right: 0;
    }
    #brands .header-brands.active .header-brands-box{
        opacity: 0;
        pointer-events: none;
        right: -250px;
    }
    #brands .header-brands .header-menu-title.active~.header-brands-box{
        opacity: 1;
        pointer-events: inherit;
        right: 0;
    }
    .header-brands-info:hover{
        box-shadow: none;
    }
    .rwd-header-brands-back{
        width: initial;
        height: initial;
        position: absolute;
        right: 24px;
        top: 20px;
        display: block;
        font-size: 26px;
    }
    .rwd-menu.rwd-menu-style1.open{
        display: none;
    }
    .header-menu> li.open .header-menu-title{
        display: none;
    }
    .header-menu-title{
        line-height: 40px;
    }
    .header-preorder .header-brands-info-box{
        padding-bottom: 20px;
    }
    .header-preorder .header-brands-info{
        margin-bottom: 30px;
    }
    .header-style1 .header-menu> li.active:after, 
    .header-style1 .header-menu> li:hover:after{
        display: none;
    }
}
@media only screen and (max-width: 550px){
    .header-style1 .header-logo{
        padding: 5px 0;
        width: 120px;
    }
    .header-brands-info span{
        font-size: 14px;
        bottom: -25px;
    }
    .header-preorder .header-brands-info{
        margin-bottom: 25px;
    }
}