/* 字體 */

@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");
@font-face {
  font-family: "Century Gothic";
  src: url(../fonts/GOTHIC_2.TTF);
}

@font-face {
  font-family: "DFHeiStd-W3";
  src: url(../fonts/DFHeiStd-W3.otf);
}

@font-face {
  font-family: "DFHeiStd-W5";
  src: url(../fonts/DFHeiStd-W5.otf);
}

@font-face {
  font-family: "DFHeiStd-W7";
  src: url(../fonts/DFHeiStd-W7.otf);
}

@font-face {
  font-family: "Cinzel";
  src: url(../fonts/Cinzel.ttf);
}

@font-face {
  font-family: "jf-jinxuan-medium";
  src: url(../fonts/jf-jinxuan-medium.otf);
}

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

@font-face {
  font-family: "TrajanPro-Regular";
  src: url(../fonts/TrajanPro-Regular.otf);
}

.Century-Gothic {
  font-family: "Century Gothic";
}

body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

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

img {
  display: block;
}

/* 隱藏滾動調但可以滾動 */
html {
  overflow: -moz-hidden-unscrollable;
  height: 100%;
}

/* 隱藏滾動調但可以滾動 */ /* Chrome Safari */
body::-webkit-scrollbar {
  display: none;
}

/* 隱藏滾動調但可以滾動 */
body {
  -ms-overflow-style: none;
  height: 100%;
  overflow: auto;
}

.menu-bg {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 999;
}

.menu-btn {
  width: 11vw;
  position: absolute;
  left: 1vw;
  bottom: -0.3vw;
  z-index: 999;
  cursor: pointer;
}

.menu-top {
  color: #fff;
  font-size: 0.9vw;
  letter-spacing: 0.1vw;
  position: fixed;
  right: 0;
  top: 1.3vw;
  z-index: 9999;
  font-family: "jf-jinxuan-medium";
  background-color: #bc1e28;
  padding: 0.2vw 0.8vw 0.2vw 1.5vw;
  box-sizing: border-box;
}

.menu-top::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 1vw;
  left: 0.8vw;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
}

#header {
  position: fixed;
  display: block;
  bottom: 0;
  left: 0px;
  z-index: 99;
  width: 100%;
  height: 10vw;
  box-sizing: border-box;
  font-size: 1.1vw;
  letter-spacing: 0.5vw;
  background-image: url("../img/header/bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.header-area {
  position: fixed;
  display: block;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 9999;
  font-family: "jf-jinxuan-medium";
}

.logo {
  height: 100%;
  position: absolute;
  display: block;
  bottom: 0;
  left: 1.5vw;
  cursor: pointer;
}

.home {
  width: 2.5%;
  position: absolute;
  top: 67%;
  right: 2%;
  cursor: pointer;
  z-index: 999;
}

.esc {
  width: 1.5%;
  position: absolute;
  top: 78%;
  right: 2%;
  cursor: pointer;
  z-index: 999;
}

nav {
  width: 100%;
  height: 10vw;
  position: absolute;
  left: 16%;
  top: 50%;
  transform: translate(0, -50%);
}

nav ul {
  height: 100%;
  padding: 0;
  margin: 0;
}

nav li {
  display: block;
  list-style-type: none;
  position: relative;
  text-align: center;
  float: left;
}

nav li::after {
  content: "";
  width: 2px;
  height: 7.5vw;
  position: absolute;
  top: 1.5vw;
  right: 0;
  background-image: url(../img/header/line.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

nav li:first-child::before {
  content: "";
  width: 2px;
  height: 7.5vw;
  position: absolute;
  top: 1.5vw;
  left: 0;
  background-image: url(../img/header/line.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

nav li > a {
  min-width: 4vw;
  line-height: 4vw;
  height: 10vw;
  position: absolute;
  display: block;
  position: relative;
  float: left;
  -ms-writing-mode: tb-lr;
  -webkit-writing-mode: vertical-lr;
  -moz-writing-mode: vertical-lr;
  -ms-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
  cursor: pointer;
  color: #3c4449;
}

.active {
  color: #840b14 !important;
}

.sub {
  height: 10vw;
  display: block;
  position: relative;
  float: left;
  margin: 0 7% 0 -7%;
}

.sub-li {
  height: 100%;
  display: block;
}

#nav-li1 {
  margin: 0 auto;
}

#nav-li4 {
  margin: 0 auto;
}

.sub a {
  width: 2vw;
  line-height: 2vw;
  height: 6vw;
  margin-top: 26%;
  font-size: 0.89vw;
  letter-spacing: 0.3vw;
  display: block;
  float: left;
  -ms-writing-mode: tb-lr;
  -webkit-writing-mode: vertical-lr;
  -moz-writing-mode: vertical-lr;
  -ms-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
  cursor: pointer;
  color: #3c4449;
}

.sub a:hover {
  color: #840b14 !important;
}

.side-btn-all {
  position: absolute;
  right: 10.5%;
  top: 2%;
  z-index: 998;
}

.side-btn-li {
  /* width: 6vw;
  cursor: pointer;
  position: relative;
  float: left;
  color: #3e3a39; */
  cursor: pointer;
  position: relative;
  float: left;
  color: #3e3a39;
  padding: 0 0.6vw;
  box-sizing: border-box;
}

.side-btn-li-txt {
  width: 100%;
  font-size: 1vw;
  font-family: "DFHeiStd-W5";
  text-align: center;
  line-height: 2vw;
  letter-spacing: 0.2vw;
}

.side-btn-active {
  color: #ad8868;
}

.side-btn-active::after {
  content: "";
  position: absolute;
  left: 0.7vw;
  bottom: 0.1vw;
  width: 4.5vw;
  height: 1px;
  background-color: #ad8868;
}

.side-btn-dash {
  position: absolute;
  right: -1%;
  top: 21%;
  font-size: 1.1vw;
  color: #3e3a39;
  font-weight: bold;
}

.side-btn-all::before {
  content: "/";
  position: absolute;
  left: -1.6vw;
  top: 21%;
  font-size: 1.1vw;
  color: #3e3a39;
  font-weight: bold;
}

.side-btn-all::after {
  content: "/";
  position: absolute;
  right: -1.6vw;
  top: 21%;
  font-size: 1.1vw;
  color: #3e3a39;
  font-weight: bold;
}
