/* 字體 */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap");
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

.pointer {
    cursor: pointer;
}

img {
    width: 100%;
    display: block;
}


/*============nav===============*/

.logo {
    width: 10.5vw;
    position: absolute;
    display: block;
    top: 3.6vw;
    left: 6.5vw;
    z-index: 998;
    transition: all 0.3s ease;
}

.header-fixed .logo {
    top: 0.9vw;
}

.header-area {
    display: block;
    width: 100%;
    position: relative;
    margin: 0;
    height: 9vw;
    z-index: 9999;
    background-color: #ffffff;
    box-shadow: 0 0.4vw 1vw rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-fixed {
    height: 4vw;
    position: sticky;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.header-fixed2 {
    position: fixed;
}

#header {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 5vw;
    box-sizing: border-box;
    font-family: 'Noto Serif TC', serif;
    transition: all 0.3s ease;
}

nav {
    width: 37%;
    height: auto;
    position: absolute;
    top: 0;
    right: 15vw;
    transition: all 0.3s ease;
}

nav ul {
    height: 9vw;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.header-fixed nav ul {
    height: 4vw;
}

nav li {
    width: 16.666666666666667%;
    height: 9vw;
    display: block;
    list-style-type: none;
    position: relative;
    text-align: center;
    float: left;
    transition: all 0.3s ease;
}

.header-fixed nav li {
    height: 4vw;
}

nav li>a {
    width: 100%;
    color: #313131!important;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    line-height: 9vw;
    transition: all 0.3s ease;
    font-size: 0.9vw;
    letter-spacing: 0.15vw;
    cursor: pointer;
    text-align: center;
}

.header-fixed nav li>a {
    line-height: 4vw;
}

.menu-line {
    width: 0;
    position: absolute;
    left: 11%;
    top: -0.2vw;
    height: 1.5px;
    background-color: #f5b145;
}

.menu-line-ani {
    animation: menu-line 0.6s ease;
    animation-fill-mode: forwards;
}

@keyframes menu-line {
    0% {
        width: 0;
    }
    100% {
        width: 75%;
    }
}

.sub {
    width: 5.25vw;
    height: auto;
    line-height: 2.2vw;
    display: block;
    position: absolute;
    text-align: center;
    top: 5.8vw;
    right: 46.3vw;
    background-color: #fff;
    padding: 0 0 0 0;
}

.header-fixed .sub {
    top: 3.6vw;
}

.sub-li {
    width: 100%;
    height: auto;
    position: relative;
    margin: 0 auto;
}

.sub2 {
    right: 40.15vw;
}

.sub4 {
    right: 27.78vw;
}

.sub5 {
    right: 21.6vw;
}

.sub a {
    width: 100%;
    color: #000000;
    height: 100%;
    display: block;
    font-size: 0.9vw;
    letter-spacing: 0.15vw;
    position: relative;
    transition: all 0.3s ease;
}

.sub a::after {
    content: "";
    width: 1vw;
    height: 1px;
    background-color: #f5b145;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sub a:last-child::after {
    background-color: transparent;
}

.sub a:hover {
    color: #f5b145;
}

.icon {
    width: 8vw;
    position: absolute;
    right: 6vw;
    top: 3.9vw;
    transition: all 0.3s ease;
}

.icon::after {
    content: "";
    clear: both;
    display: block;
}

.icon-li {
    width: 25%;
    float: left;
    box-sizing: border-box;
    padding: 0 5.6%;
    display: block;
}

.people {
    padding: 0 2.9%;
    margin: -3% 0 0 0;
}

.header-fixed .icon {
    top: 1.4vw;
}