/* 字體 */

@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");
@import url(https://db.onlinewebfonts.com/c/ca45a126c02bc8bb9ed3a722b24d7cee?family=Core+Sans+D+55+Bold+W01+Regular);
@font-face {
    font-family: "Futura-Std-Book";
    src: url(../fonts/Futura-Std-Book.otf);
}

@font-face {
    font-family: "Futura-Std-Light";
    src: url(../fonts/Futura-Std-Book.otf);
}

@font-face {
    font-family: "Futura-Std-Heavy";
    src: url(../fonts/Futura-Std-Heavy.otf);
}

@font-face {
    font-family: "GARNET-CAPITALS-BOLD";
    src: url(../fonts/GARNET-CAPITALS-BOLD.TTF);
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

.pointer {
    cursor: pointer;
}

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


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

.logo {
    width: 8%;
    position: fixed;
    display: block;
    top: 2%;
    left: 3%;
    z-index: 998;
}

.bar {
    position: fixed;
    display: block;
    width: 1.3%;
    height: auto;
    top: 3.5%;
    right: 3%;
    z-index: 999;
}

.header-area {
    position: fixed;
    display: block;
    width: 100%;
    height: 4vw;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #ffffff;
    border-bottom: 0.5px solid #48533d;
}

.header-txt {
    position: absolute;
    left: 13vw;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Sans JP', sans-serif;
    color: #0b5c93;
    font-size: 0.93vw;
    letter-spacing: 0.15vw;
}

#header {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 4vw;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

nav {
    width: 39%;
    height: auto;
    position: absolute;
    top: 24%;
    right: 5%;
    transition: all 0.3s ease;
}

nav.search-open {
    right: 20vw;
}

nav ul {
    height: 2.5vw;
    padding: 0;
    margin: 0;
}

nav li {
    width: 20%;
    height: 2.5vw;
    display: block;
    list-style-type: none;
    position: relative;
    text-align: center;
    float: left;
}

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

.menu-chi {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    transition: all 0.5s;
}

.menu-en {
    width: 100%;
    font-family: "Futura-Std-Book";
    font-size: 0.6vw;
    letter-spacing: 0.1vw;
    line-height: 1vw;
    text-align: center;
    position: absolute;
    top: 1.3vw;
    transition: all 0.2s linear;
}

nav li>a:hover .menu-chi {
    top: 0.8vw;
}

nav li>a:hover .menu-en {
    top: 0.1vw;
}

.menu-active .menu-chi {
    top: 0.8vw;
}

.menu-active .menu-en {
    top: 0.1vw;
}

.menu-line {
    width: 0.7vw;
    height: auto;
    position: absolute;
    right: -0.1%;
    top: 39%;
}

.sub {
    width: 6vw;
    height: auto;
    line-height: 2.5vw;
    display: block;
    position: absolute;
    text-align: center;
    top: 4.2vw;
    right: 37vw;
}

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

.sub2 {
    right: 29.25vw;
}

.sub2- {
    right: 44.25vw;
}

.sub a {
    width: 100%;
    color: #fff;
    height: 100%;
    display: block;
    font-size: 0.93vw;
    letter-spacing: 0.1vw;
    position: relative;
    transition: all 0.5s;
    background-color: #a0a0a0;
    margin: 0 0 0.2vw 0;
    box-shadow: 0 0.3vw 0.4vw rgba(0, 0, 0, 0.3);
}

.search {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.search img {
    height: 100%;
}

.search-input {
    width: 15vw;
    height: 3vw;
    position: absolute;
    right: 4vw;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.input-icon {
    width: 1.2vw;
    position: absolute;
    right: 0.5vw;
    top: 50%;
    transform: translateY(-50%);
}

.search-input input[type="text"] {
    background-color: #e2e2e2;
    border: none;
    width: 100%;
    height: 3vw;
    line-height: 3vw;
    font-size: 1vw;
    letter-spacing: 0.05vw;
    outline: none;
    padding: 0 2vw 0 1vw;
    border: 1px solid #717171;
    box-sizing: border-box;
    color: #353535;
}

.search input::placeholder {
    color: #353535 !important;
}
