@import url("https://fonts.googleapis.com/css?family=Noto+Serif+TC");

* {
  position: relative;
  box-sizing: border-box;
}

.desktop_show {
  display: block;
}

.mb_show {
  display: none !important;
}

a:hover {
  text-decoration: none;
}

img {
  width: 100%;
  pointer-events: none;
}

@media (max-width: 768px) {
  .desktop_show {
    display: none;
  }

  .mb_show {
    display: block !important;
  }

  /* img {
        margin-top: -4px;
    } */
}

body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100vw;
  background-color: #e4eacf;
  color: #231815;
  letter-spacing: 0.1rem;
  font-size: 1rem;
  font-family: "microsoft jhenghei";
  /* font-family: "Noto Serif TC", sans-serif; */
  scroll-behavior: smooth;

  background-image: url(../images/body_bg.jpg);
  background-size: cover;
  background-position: top;
  background-repeat: repeat;
  background-attachment: fixed;
}

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 99;
  display: block;
  overflow-y: visible;
  width: 100vw;
  background-color: rgba(33, 33, 33, 0);
  pointer-events: none;
}

/* nav */
nav {
  width: 100%;
  height: 60px;
  position: fixed;
  line-height: 60px;
  text-align: center;
  z-index: 100;
  display: block;
  background-color: transparent;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  display: none;
  border-bottom: 3px solid #d4aa80;
}

nav .container {
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

nav div.logo {
  display: flex;
  align-items: center;
}

nav div.logo img {
  height: 50px;
}

nav div.logo a {
  text-decoration: none;
  color: #fff;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.affix {
  display: flex;
  padding: 0;
  background-color: #4c352c;
}

nav .nav_btn {
  display: flex;
}

.nav_btn a {
  margin-right: 25px;
  font-size: 1rem;
  /* font-weight: bold; */
  color: #fff;
  transition: 0.5s;
}

.nav_btn a i {
  margin-right: 5px;
}

.nav_btn a:hover {
  color: #ffdbdb;
  text-decoration: none;
}

@media (max-width: 768px) {
  nav .container {
    justify-content: center;
  }

  nav div.logo {
    text-align: center;
  }

  nav .nav_btn {
    display: none;
  }
}

/* nav end */

/*共用區塊樣式*/
.btn {
  padding: 3px;
  border-radius: 0;
}

/*fancybox*/

/*文字區域*/

/* 置底選單 */
.m_contactBox {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  z-index: 999;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  width: 100vw;
  background-color: #4c352c;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
}

.m_contactBox a {
  display: inline-block;
  padding: 10px 0;
  width: calc(100% / 2);
  color: #fff;
  text-align: center;
  font-size: 14px;
}

.m_contactBox a + a {
  border-left: 1px solid #eeeeee;
}

.copyright {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  padding: 10px;
  width: 100%;
  background-color: #4c352c;
  color: #eee;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.copyright br {
  display: none;
}

.copyright span:first-child {
  margin-right: 10px;
}

.copyright a {
  /* font-size: 1rem; */
  color: #e4eacf;
  /* font-weight: bold; */
}

@media (max-width: 768px) {
  .copyright {
    flex-direction: column;
  }
}

@media (max-width: 1000px) and (min-width: 768px) {
  .copyright {
    display: none;
  }
}
