/* 字體 */
@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: "Times New Roman";
  src: url(../fonts/times_1.ttf);
}

@font-face {
  font-family: "Noto Sans TC";
  src: url(../fonts/Noto/NotoSansTC-Regular.otf);
}

@font-face {
  font-family: "NotoSerifTC-Bold";
  src: url(../fonts/Noto/NotoSerifTC-Bold.otf);
}

@font-face {
  font-family: "NotoSerifTC-SemiBold";
  src: url(../fonts/Noto/NotoSerifTC-SemiBold.otf);
}

* {
  margin: 0;
  padding: 0;
}

body,
html {
  width: 100%;
  height: 100%;
  min-width: 1200px;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

.pointer {
  cursor: pointer;
}

/*主要頁面*/
.main {
  width: 100%;
  height: auto;
  min-height: 100vh;
  position: relative;
  background-image: url("../img/05/01/bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  z-index: 0;
}

.main::after {
  content: "";
  clear: both;
  display: block;
}

.pointer {
  cursor: pointer;
}

.bgFixed {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  background-image: url("../img/05/01/bgFixed.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 0;
  background-attachment: fixed;
}

.scrollDown {
  position: fixed;
  display: block;
  cursor: pointer;
  width: 81px;
  right: 1%;
  top: 80%;
  /* transform: translateX(-50%); */
  /* animation: 動畫名稱 播放時間 延遲執行時間 速度 次數 方向 填充模式 播放狀態; */
  animation: scroll-Down-move 0.5s infinite alternate;
  transition-timing-function: ease-out;
}

@keyframes scroll-Down-move {
  0% {
    top: 80%;
  }
  100% {
    top: 83%;
  }
}

.scrollTop {
  position: fixed;
  display: block;
  cursor: pointer;
  width: 46px;
  right: 1%;
  top: 80%;
  /* transform: translateX(-50%); */
  /* animation: 動畫名稱 播放時間 延遲執行時間 速度 次數 方向 填充模式 播放狀態; */
  animation: scroll-Up-move 0.5s infinite alternate;
  transition-timing-function: ease-out;
}

@keyframes scroll-Up-move {
  0% {
    top: 80%;
  }
  100% {
    top: 83%;
  }
}

/*主要內容*/
.main-content {
  width: 68%;
  height: auto;
  margin: 8% auto 0 auto;
}

.main-content::after {
  content: "";
  clear: both;
  display: block;
}

.main-title {
  width: 23%;
  margin: 0 auto 2% auto;
  color: #9f753b;
  font-weight: bold;
  display: block;
}

.main-title::after {
  content: "";
  display: block;
  clear: both;
}

.title-txt-l {
  height: 52px;
  font-family: "NotoSerifTC-Bold";
  font-size: 1.9vw;
  letter-spacing: 0.4vw;
  float: left;
  line-height: 52px;
}

.title-txt-m {
  width: 2px;
  height: 32px;
  margin: 13px 5% 0 4%;
  float: left;
  background-color: #9f753b;
}

.title-txt-r {
  font-family: "Times New Roman";
  font-weight: 900;
  font-size: 1.5vw;
  line-height: 54px;
  letter-spacing: 0.2vw;
  float: left;
}

.news-menu {
  width: 46%;
  height: auto;
  margin: 1% auto;
  font-size: 1vw;
}

.news-menu ul > li {
  width: 20%;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  display: inline-block;
  list-style-type: none;
  overflow: hidden;
  position: relative;
  text-align: center;
  margin: 0 -4px !important; /*inline-block 旁邊會多出來space*/
}

.news-menu ul > li a {
  font-weight: bolder;
  position: relative;
  display: inline-block;
  text-align: center;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
  font-family: "Noto Serif TC";
  font-weight: normal;
  color: #534740;
  transition: all 1s;
  cursor: pointer;
}

.news-menu ul > li a.news-menu-link:hover {
  margin-top: -40px;
  color: #ae9667;
}

.news-menu-li,
.active2 {
  display: block;
}

.active {
  margin-top: -40px;
  color: #ae9667 !important;
}

.active:hover {
  margin-top: 0 !important;
  color: #534740 !important;
}

.news {
  width: 100%;
  height: auto;
  margin-top: 4%;
}

.news::after {
  content: "";
  clear: both;
  display: block;
}

.news-li {
  width: 33.3%;
  height: auto;
  float: left;
}

.news-li-li {
  width: 88%;
  height: auto;
  margin: 5% auto;
  background-color: rgba(246, 246, 246, 0.86);
}

.news-li-li::after {
  content: "";
  clear: both;
  display: block;
}

.news-li-li:hover {
  opacity: 0.8;
  transition: all 1s ease-in-out;
}

.news-pic {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.news-pic img {
  width: 100%;
  padding: 0;
  margin: 0;
  display: block; /* Add this */
  border: 0;
}

.news-pic img:hover {
  transform: scale(1.05, 1.05);
  transition: all 1s ease-in-out;
}

.news-middle {
  width: 100%;
  height: auto;
  font-family: "Times New Roman";
  color: #534740;
  padding: 5%;
  box-sizing: border-box;
}

.news-middle::after {
  content: "";
  clear: both;
  display: block;
}

.news-date {
  font-size: 1vw;
  position: relative;
  line-height: 18px;
  height: auto;
  padding: 0 7px 0 0;
  float: left;
  box-sizing: border-box;
  font-weight: 800;
}

.news-date::after {
  width: 1px;
  height: 31px;
  content: "";
  top: 3.5px;
  right: 0;
  position: absolute;
  background-color: #534740;
}

.news-date2 {
  font-size: 1.6vw;
  font-weight: bold;
  float: left;
  padding: 0 7px;
  line-height: 36px;
  height: 30px;
  position: relative;
}

.news-font-r {
  float: right;
  font-size: 1vw;
  font-family: "Noto Serif TC";
  line-height: 30px;
  height: 30px;
  padding: 0 7px;
  position: relative;
}

.news-font-r::after {
  width: 1px;
  height: 25px;
  content: "";
  top: 2.5px;
  right: 0;
  position: absolute;
  background-color: #534740;
}

.news-title {
  font-family: "NotoSerifTC-SemiBold";
  font-size: 1.4vw;
  line-height: 2vw;
  letter-spacing: 2px;
  color: #9f753b;
  padding: 0 5%;
  position: relative;
}

.title-li {
  width: 1px;
  height: 20px;
  position: relative;
  box-sizing: border-box;
  background-color: #9f753b;
  display: inline-block;
}

.title1,
.title2 {
  display: inline;
}

.news-content {
  font-family: "Noto Sans TC";
  color: #534740;
  font-size: 1.1vw;
  line-height: 1.8vw;
  letter-spacing: 2px;
  padding: 4% 5%;
}

.news-more {
  width: 29px;
  height: 28px;
  margin: 2% 4% 5% 5%;
  float: right;
  display: block;
  background-image: url("../img/05/01/more.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all 0.5s;
}

.news-more:hover {
  background-image: url("../img/05/01/more2.png");
}

.PagerArea {
  width: 100%;
  height: auto;
  margin: 5% 0 20% 0;
  display: inline-block;
}

.PagerArea-li {
  width: fit-content;
  line-height: 30px;
  margin: 2% auto;
  font-family: "Times New Roman";
  color: #534740;
  font-size: 1vw;
  display: block;
}

.PageBtnPrev,
.PageBtnNext {
  width: 8px;
  width: 14px;
  float: left;
  display: block;
}

.PageBtnPrev {
  margin-right: 10px;
}

.PageBtnNext {
  margin-left: 10px;
}

.Page {
  float: left;
  display: block;
}

.pion {
  float: left;
  display: block;
  margin: 0 10px 0 10px;
}

.Page li {
  list-style: none;
  float: left;
  display: block;
  margin: 0 20px;
}

.npage:hover {
  color: #9f753b;
}

.now_p {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  background-color: #9f753b;
}
