@charset "UTF-8";
.right-box {
  position: fixed;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 0;
  width: 250px;
  height: 475px;
  background: rgba(41, 39, 46, 0.9);
  border-radius: 12px 0 0 8px;
  z-index: 99;
  padding: 20px 0 0 22px;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}
.right-box.active {
  right: -250px;
}

.maintenance_time {
  width: 204px;
  height: 108px;
  background: url(../images/maintenance-time.png) no-repeat center top;
}

.fb-widget {
  position: absolute;
  top: 147px;
  left: 24px;
  width: 204px;
  height: 300px;
  border: 2px solid #b69c72;
}

.right-box-btn {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: -28px;
  width: 28px;
  height: 147px;
  cursor: pointer;
  background: url(../images/close-right-box.png) no-repeat center top;
}
.right-box-btn.active {
  background: url(../images/open-right-box.png) no-repeat center top;
}

.top-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1280px;
  height: 135px;
  z-index: 600;
  background: url(../images/menu-bg.png) no-repeat center top;
}

.logo {
  position: absolute;
  display: block;
  width: 168px;
  height: 74px;
  top: 20px;
  left: 20px;
  z-index: 10;
}

#menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-left: 325px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.menu-btn {
  width: 124px;
  display: block;
  height: 70px;
  text-decoration: none;
  margin-right: 20px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}
.menu-btn:hover {
  background-position: center bottom;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.menu-btn:hover::before {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}
.menu-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background: #b69c72;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
}

.menu-btn1 {
  background: url(../images/menu-btn1.png) no-repeat center top;
}

.menu-btn2 {
  background: url(../images/menu-btn2.png) no-repeat center top;
}

.menu-btn3 {
  background: url(../images/menu-btn3.png) no-repeat center top;
}

.menu-btn4 {
  background: url(../images/menu-btn4.png) no-repeat center top;
}

.menu-btn5 {
  background: url(../images/menu-btn5.png) no-repeat center top;
}

.menu-btn6 {
  background: url(../images/menu-btn6.png) no-repeat center top;
}

.submenu {
  position: absolute;
  top: 99%;
  left: 0;
  display: none;
  background: #222222;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  width: 124px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.submenu a {
  display: block;
  padding: 10px 16px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}

.submenu a:hover {
  background: #555;
}

.menu-group:hover .submenu {
  display: block;
}

.social-btns {
  width: 150px;
  position: absolute;
  right: 0;
  top: 15px;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.social-btns a {
  display: block;
  width: 40px;
  height: 40px;
  margin-right: 5px;
  border: 1px solid #fff;
  border-radius: 5px;
  opacity: 0.8;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.social-btns a img {
  top: -1px;
  left: -1px;
}
.social-btns a:hover {
  background: #b69c72;
  border: 1px solid #b69c72;
  opacity: 1;
}

.m-social-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.m-social-btns a {
  display: block;
  width: 40px;
  height: 40px;
  margin-right: 5px;
  border: 1px solid #fff;
  border-radius: 5px;
}
.m-social-btns a img {
  top: -1px;
  left: -1px;
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  z-index: 1000;
  border: 1px solid #fff;
  border-radius: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  top: 18px;
  left: 6px;
}

.hamburger div::before,
.hamburger div::after {
  content: "";
  width: 25px;
  height: 3px;
  background: white;
  position: absolute;
  left: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.hamburger div::before {
  top: -8px;
}

.hamburger div::after {
  top: 8px;
}

/* 漢堡選單開啟時變叉叉 */
.hamburger.active div {
  background: transparent;
}

.hamburger.active div::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  top: 0;
}

.hamburger.active div::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  top: 0;
}

/* 手機選單 */
.mobile-menu {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding-top: 80px;
  z-index: 500;
  display: none;
}
.mobile-menu .maintenance_time {
  margin: 20px auto 0 auto;
}

.scroll-btn {
  width: 100%;
  display: block;
  height: 50px;
  text-align: center;
  line-height: 50px;
  color: #b69c72;
  -webkit-text-decoration: u;
          text-decoration: u;
}

.menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px;
  font-size: 18px;
  border-bottom: 1px solid #555;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

.m-submenu {
  top: -10px;
}
.m-submenu a {
  display: block;
  width: 125px;
  height: 30px;
  line-height: 30px;
  color: #e0e0e0;
  margin: 0 auto;
  font-size: 14px;
}

@media (min-width: 1921px) {
  .top-menu {
    height: 95px;
    background: #161616;
  }
  .top-menu .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .logo {
    top: 10px;
  }
  #menu a {
    -webkit-transition: 0s;
    transition: 0s;
  }
  #menu a:hover {
    -webkit-transition: 0s;
    transition: 0s;
  }
  .social-btns {
    top: 27px;
  }
}
@media (max-width: 767px) {
  .right-box {
    display: none;
  }
  .top-menu {
    background: #161616;
    height: 60px;
    min-width: 0;
  }
  .logo {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: auto;
    top: 8px;
    left: 0;
  }
  .logo img {
    max-width: 100%;
  }
  .hamburger {
    display: block;
    opacity: 1;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #menu {
    display: none;
  }
  .social-btns {
    display: none;
  }
}/*# sourceMappingURL=header-menu.css.map */