.header-style2{
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 999;
    background-color: #ee858c;
    padding: 11.5px 0;
    box-sizing: border-box;
}
.header-box{
    width: 1366px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.header-style2 .header-nhrilogo{
    width: 40px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    text-align: center;
}
.header-style2 .header-logo{
    width: 300px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}
.header-style2 .rwd-menu{
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    margin-right: 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .3s linear;
    position: relative;
    z-index: 1;
}
.header-style2 .header-menu-box{
    width: 100%;
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: all .4s linear;
    opacity: 0;
    background-color: #ee858c;
    overflow: auto;
}
.header-style2 .header-menu-box.active{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.header-style2 .header-menu{
    width: 1000px;
    margin: 0 auto;
    height: 100vh;
    display:         flex;
    display: -webkit-flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    overflow: auto;
}
.header-style2 .header-menu li{
    width: 100%;
    border-bottom: 1px solid #fff;
}
.header-style2 .rwd-menu span{
    width: 100%;
    height: 3px;
    display: block;
    background-color: #fff;
    border-radius: 2px;
}

.header-style2 .header-menu-title{
    display: block;
    font-size: 40px;
    font-weight: 600;
    font-family: 'Open Sans', 'Noto Sans TC';
    color: #FFF;
    letter-spacing: 5px;
    line-height: 2;
}
.header-style2 .rwd-menu.active{
    background-color: transparent;
}
.header-img-box{
    display: none;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    transition: all .3s linear;
    position: relative;
    border-radius: 50%;
    left: 2px;
    top: 2px;
}
.header-img-box span{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
    background-color: #fff;
    position: relative;
    border-radius: 50%;
    left: -1px;
    top: -1px;
}
.header-btn-box{
    text-align: right;
    width: calc(100% - 350px);
    display: inline-block;
    vertical-align: middle;
}
.header-btn{
    width: 170px;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    background-color: #8ec31e;
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 4px;
    font-family: 'Open Sans', 'Noto Sans TC';
    transition: all .3s linear;
}
.header-btn:last-child{
    margin-left: 20px;
}
/* -------------------------------------------------------------- */
.header-menu-list-box li{
    margin-bottom: 30px
}

.header-menu-title{
    font-size: 18px;
    position: relative;
}
div.header-menu-title{
    cursor: context-menu;
}


.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 span{
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 2px;
    background-color: #fff;
    position: relative;
}




/*漢堡樣式1*/
.rwd-menu-style1> span:nth-child(even){
    margin: 5px 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);
  }
}

.header-style2 .header-menu li:hover{
    background-color: #e84560;
}

@media only screen and (max-width: 1366px){
    .header-box{
        width: 95%;
    }
}
@media only screen and (max-width: 1000px){
    .header-box{
        width: 750px;
    }
    .header-style2 .header-menu{
        width: 750px;
    }
    .header-style2 .header-menu-title{
        font-size: 36px;
    }
}
@media only screen and (max-width: 750px){
    .header-box,
    .header-style2 .header-menu{
        width: 95%;
    }
    .header-style2 .header-menu-title{
        font-size: 30px;
    }
    .header-btn-box{
        display: none;
    }
    .header-style2 .header-logo{    
        width: calc(100% - 140px);
        text-align: center;
        vertical-align: middle;
        box-sizing: border-box;
        padding-right: 40px;
    }
    .header-style2 .header-logo a{
        width: 200px;
        display: inline-block;
    }
    .header-img-box{
        display: inline-block;
    }
}
@media only screen and (max-width: 550px){
    .header-style2 .rwd-menu{
        width: 25px;
        margin-right: 0;
    }
    .header-style2 .header-nhrilogo{
        margin-left: 10px;
        margin-right: 0;
        width: 36px;
        height: 36px;
    }
    .header-style2 .header-logo{    
        width: calc(100% - 110px);
        padding-right: 0;
    }
    .header-style2 .header-logo a{
        width: 180px;
    }
    .header-img-box{
        width: 32px;
        height: 32px;
    }
    .header-style2 .header-menu-title{
        font-size: 20px;
        font-weight: 500;
    }
}
@media only screen and (max-height: 450px){
    .header-style2 .header-menu{
        display: block;
        margin-top: 60px;
        height: calc(100vh - 60px);
    }
}



/*hover*/
.header-btn:hover{
    color: #fff;
    background-color: #e84560;
}