﻿#goTop {
    position: absolute;
    top: 0;
    left: 0;
}
/*--------------header-style1-----------------*/
.header-style1{
    position: fixed;
    z-index: 999;
    display: block;
    width: 100%;
    top: 0;
    background-color: #e98d87;
    box-sizing: border-box;
    padding: 10px 0;
    transition: all .3s linear;
}
.header-style1 .header-box{
    width: 1360px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.header-style1 .header-logo{
    width: 130px;
    max-width: 100%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.header-logo a>p{
    font-size: 24px;
    font-family: 'Noto Sans TC';
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 30px;
    margin-top: 5px;
}
.header-logo-t>img{
    width: 31%;
}
.header-logo-t>span{
    font-size: 24px;
    font-family: 'Noto Sans TC';
    color: #fff;
    letter-spacing: 0.06em;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 10px;
}
.header-style1 .header-menu-box{
    width: calc(100% - 130px);
    display: inline-block;
    vertical-align: bottom;
    font-size: 0;
    text-align: right;
    position: relative;
}
.header-style1 .header-menu{
    width: calc(100% - 220px);
    display: inline-block;
    vertical-align: middle;
}
.header-style1 .header-menu> li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-sizing: border-box;
    padding: 0 10px;
    transition: all .3s linear;
}
.header-style1 .header-menu> li{
    margin-left: 20px;
}
.header-style1 .header-menu> li:first-child{
    margin-left: 0;
}
.header-menu-title{
    font-size: 20px;
    position: relative;
    font-family: 'Noto Sans TC';
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 30px;
    transition: all .3s linear;
}
.header-one .header-menu-title{
    color: #ea6290;
}
.header-two .header-menu-title{
    color: #f8b62b;
}
.header-thr .header-menu-title{
    color: #8ec31f;
}
.header-for .header-menu-title{
    color: #0ba29a;
}
.header-fiv .header-menu-title{
    color: #f08200;
}
.header-six .header-menu-title{
    color: #c8a063;
}
.header-identity-select-tour-box{
    position: absolute;
    text-align: right;
    width: 280px;
    top: 80px;
    right: 16%;
    display: none;
}
.header-identity-select-tour-box.openMask{
    display: block;
}
.header-identity-select-tour-box::after{
    content: '';
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}
.header-identity-select-tour-box.openMask::after{
    display: block;
}
.header-identity-select-tour-text{
    position: relative;
    z-index: 1000;
}
.header-identity-select-tour-text i{
    font-size: 70px;
    color: #fff;
    transform: rotateZ(-45deg);
    margin-bottom: 20px;
}
.header-identity-select-tour-text p{
    font-size: 26px;
    color: #fff;
    text-align: left;
}

.header-identity-select-box{
    width: 180px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    margin-left: 40px;
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    padding-left: 8px;
    position: relative;
    transition: all .3s linear;
}
.header-identity-select-box.openMask{
    z-index: 999;
}
.header-identity-icon{
    width: 30px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}
.header-identity-select{
    width: calc(100% - 30px);
    height: 32px;
    box-sizing: border-box;
    background-color: transparent;
    border: none;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 0.06em;
    padding-left: 8px;
    padding-right: 20px;
    font-size: 16px;
    color: #000;
    position: relative;
    -webkit-appearance: none; /*Chrome*/
    -moz-appearance: none; /*FF*/
    appearance: none;/*CSS3*/
    font-family: 'Noto Sans TC';
    font-weight: 700;
    cursor: pointer;
}
.header-identity-select-box:before{
    content: '\f107';
    font-family: 'Font Awesome 5 free';
    font-size: 14px;
    line-height: 32px;
    font-weight: bold;
    display: block;
    position: absolute;
    right: 15px;
    top: 0;
    z-index: 1;
}
.rwd-menu{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    z-index: 998;
    display: inline-block;
    vertical-align: middle;
    background-color: rgba(255, 255, 255, 0.6);
    box-sizing: border-box;
    padding: 13px 9px;
    margin-left: 34px;
    cursor: pointer;
    display: none;
    position: relative;
}
.rwd-menu span{
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: all .3s linear;
}
.rwd-menu>span:nth-child(2){
    margin: 4px 0;
}
.rwd-menu-close{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 5px;
    padding-top: 5px;
}
.rwd-menu-close span{
    transform: scale(0);
}
.rwd-menu-close span:nth-child(1){
    width: 99%;
    transform: rotateZ(45deg) translateX(5px) scale(0);
    transform-origin: left;
}
.rwd-menu-close span:nth-child(2){
    width: 99%;
    transform: rotateZ(-45deg) translateX(-5px) scale(0);
    transform-origin: right;
}
.rwd-menu.active>span{
    transform: scale(0);
    opacity: 0;
}
.rwd-menu.active>span:nth-child(1){
    transform: scale(0);
    transform-origin: left;
}
.rwd-menu.active>span:nth-child(3){
    transform: scale(0);
    transform-origin: right;
}
.rwd-menu.active .rwd-menu-close span:nth-child(1){
    transform: rotateZ(45deg) translateX(5px) scale(1);
}
.rwd-menu.active .rwd-menu-close span:nth-child(2){
    transform: rotateZ(-45deg) translateX(-5px) scale(1);
}

.header2{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}



@media only screen and (max-width: 1360px){
    .header-style1 .header-box{
        width: 1200px;
    }
    .header-style1 .header-menu> li {
        margin-left: 10px;
    }
    .header-identity-select-box{
        margin-left: 20px;
    }
    .header-style1 .header-menu {
        width: calc(100% - 200px);
    }
}
@media only screen and (max-width: 1200px){
    .header-style1 .header-box{
        width: 1000px;
    }
    .header-menu-title{
        font-size: 16px;
    }
    .header-identity-select{
        font-size: 14px;
    }
    .header-identity-select-box {
        width: 160px;
    }
    .header-identity-select-box:before{
        right: 10px;
        line-height: 36px;
    }
    .header-style1 .header-menu {
        width: calc(100% - 180px);
    }
}

@media only screen and (max-width: 1000px){
    .header-style1 .header-box{
        width: 95%;
    }
    .header-style1 .header-logo {
        width: 270px;
        vertical-align: middle;
    }
    .header-logo-t ,
    .header-logo a>p{ 
        width: 50%;
        display: inline-block;
        vertical-align: middle;
    }
    .header-logo-t>img {
        width: 40%;
    }
    .header-logo-t>span{
        font-size: 20px;
        vertical-align: middle;
    }
    .header-logo a>p{
        font-size: 20px;
        margin-top: 0;
    }
    .header-style1 .header-menu-box {
        width: calc(100% - 270px);
        vertical-align: middle;
    }
    .rwd-menu{
        display: inline-block;
    }

    .rwd-header-menu-sytle1 .header-menu{
        width: 100px;
        height: inherit;
        position: fixed;
        top: 66px;
        right: 0;
        z-index: 3;
        box-sizing: border-box;
        padding-bottom: 20px;
        background-color: rgba(233, 141, 135, 0.8);
        transition: none;
        text-align: center;
        display: none;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    }
    .header-identity-select-box{
        margin-left: 0;
    }
    .header-style1 .header-menu> li{
        margin-left: 0;
        margin-top: 20px;
    }

    .header-identity-select-tour-box{
        right: 200px;
        top: 55px;
        width: 240px;
    }
    .header-identity-select-tour-text i{
        font-size: 60px;
    }
    .header-identity-select-tour-text p{
        font-size: 24px;
    }
    
}
@media only screen and (max-width: 550px){
    .header-style1{
        padding: 5px 0;
    }
    .header-logo-t>span,
    .header-logo a>p{
        font-size: 16px;
    }
    .header-logo-t>span{
        margin-left: 5px;
    }
    .header-style1 .header-logo {
        width: 90px;
    }
    .header-logo-t, 
    .header-logo a>p{
        width: 100%;
        display: block;
    }
    .header-logo-t>span{
        vertical-align: bottom;
        line-height: 1.4;
    }
    .header-logo a>p{
        line-height: 1;
        margin-top: 5px;
    }
    .header-style1 .header-menu-box {
        width: calc(100% - 90px);
        margin-top: 3px;
    }
    .header-logo-t>img {
        width: 30px;
    }
    .header-identity-icon {
        width: 20px;
        height: 28px;
    
    }
    .header-identity-select-box {
        width: 130px;
    }
    .header-identity-select {
        width: calc(100% - 20px);
        padding-right: 15px;
        font-size: 12px;
        height: 28px;    
    }
    .header-identity-select-box:before {
        right: 7px;
        line-height: 30px;
    }
    .rwd-menu{
        margin-left: 10px;
        width: 28px;
        height: 28px;
        padding: 9px 5px;
    }
    .rwd-header-menu-sytle1 .header-menu{
        top: 46px;
    }
    
    .header-identity-select-tour-box{
        right: 15px;
        top: 55px;
        width: 200px;
        text-align: center;
    }
    .header-identity-select-tour-text i{
        font-size: 40px;
        transform: rotateZ(-90deg);
    }
    .header-identity-select-tour-text p{
        font-size: 20px;
    }
}


@media only screen and (min-width: 1001px){
    .header2 .header-logo-t{
        display: inline-block;
        vertical-align: middle;
        width: 50%;
    }
    .header2 .header-logo a>p{
        display: inline-block;
        vertical-align: middle;
        width: 50%;
        margin-top: 0;
        position: relative;
        box-sizing: border-box;
        padding-left: 5px;
    }
    .header2 .header-logo a>p::before{
        content: '';
        width: 2px;
        height: 30px;
        background-color: #fff;
        position: absolute;
        left: -2px;
        top: 1px;
    }
    .header-style1.header2  .header-logo{
        width: 270px;
        vertical-align: middle;
    }
    .header-style1.header2  .header-menu-box{
        width: calc(100% - 270px);
        vertical-align: middle;
    }
}
@media only screen and (max-width: 1200px){
    @media only screen and (min-width: 1001px){
        .header2 .header-logo-t>span{
            font-size: 20px;
            vertical-align: middle;
        }
        .header2 .header-logo a>p{
            font-size: 20px;
        }
        .header-style1.header2 .header-logo {
            width: 230px;
        }
        .header-style1.header2 .header-menu-box {
            width: calc(100% - 230px);
        }
        .header2 .header-logo a>p::before {
            content: '';
            width: 2px;
            height: 26px;
            background-color: #fff;
            position: absolute;
            left: -1px;
            top: 4px;
        }
    }
}

.header-style1 .header-menu> li.header-one:hover,
.header-style1 .header-menu> li.header-one.active{
    background-color: #ea6290;
}
.header-style1 .header-menu> li.header-two:hover,
.header-style1 .header-menu> li.header-two.active{
    background-color: #f8b62b;
}
.header-style1 .header-menu> li.header-thr:hover,
.header-style1 .header-menu> li.header-thr.active{
    background-color: #8ec31f;
}
.header-style1 .header-menu> li.header-for:hover,
.header-style1 .header-menu> li.header-for.active{
    background-color: #0ba29a;
}
.header-style1 .header-menu> li.header-fiv:hover,
.header-style1 .header-menu> li.header-fiv.active{
    background-color: #f08200;
}
.header-style1 .header-menu> li.header-six:hover,
.header-style1 .header-menu> li.header-six.active{
    background-color: #c8a063;
}
.header-style1 .header-menu> li:hover .header-menu-title,
.header-style1 .header-menu> li.active .header-menu-title{
    color: #fff;
}
.header-identity-select-box:hover{
    background-color: #fff;
}