body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #656565;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

img {
  display: block;
}

/*全部*/
.all {
  width: 100%;
  overflow: hidden;
  background-color: #656565;
}

/*頁面1*/
.main1 {
  width: 100%;
  height: 100vh;
  position: relative;
  background-color: #656565;
}

.top-color {
  width: 100%;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #656565;
  animation: colorT 4s alternate;
  animation-delay: 1.5s;
  transition-timing-function: ease-out;
  animation-fill-mode: forwards;
  z-index: 999;
}

.left-color {
  width: 0;
  height: 100vh;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #656565;
  animation: colorL 4s alternate;
  animation-delay: 1.5s;
  transition-timing-function: ease-out;
  animation-fill-mode: forwards;
  z-index: 999;
}

.right-color {
  width: 0;
  height: 100vh;
  position: absolute;
  right: 0;
  top: 0;
  background-color: #656565;
  animation: colorR 4s alternate;
  animation-delay: 1.5s;
  transition-timing-function: ease-out;
  animation-fill-mode: forwards;
  z-index: 999;
}

.bottom-color {
  width: 100%;
  height: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: #656565;
  animation: colorB 4s alternate;
  animation-delay: 1.5s;
  transition-timing-function: ease-out;
  animation-fill-mode: forwards;
  z-index: 999;
}

@keyframes colorT {
  0% {
    height: 0;
  }
  100% {
    height: 4.5vw;
  }
}

@keyframes colorL {
  0% {
    width: 0;
  }
  100% {
    width: 3.1%;
  }
}

@keyframes colorR {
  0% {
    width: 0;
  }
  100% {
    width: 3.1%;
  }
}

@keyframes colorB {
  0% {
    height: 0;
  }
  100% {
    height: 19vh;
  }
}

.video {
  width: 100%;
  height: 100vh;
  position: relative;
  margin: 4.5vw auto auto auto;
  z-index: 98;
  margin-top: 0;

  animation: video-move 1s alternate;
  animation-delay: 5s;
  transition-timing-function: ease-out;
  animation-fill-mode: forwards;
  -webkit-backface-visibility: hidden;
}

@keyframes video-move {
  0% {
    width: 100%;
    height: 100vh;
    margin-top: 0;
    /* transform: scale(1); */
    -webkit-backface-visibility: hidden;
  }

  100% {
    width: 93.8%;
    height: 76.5vh;
    margin-top: 4.5%;
    /* transform: scale(0.93,0.8); */
    -webkit-backface-visibility: hidden;
  }
}

video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.scrollDown {
  position: absolute;
  display: block;
  cursor: pointer;
  width: 2.7%;
  left: 50%;
  transform: translateX(-50%);
  top: 77%;
  z-index: 9999;
}

#bm,
#bm2 {
  width: 100%;
}

.scrollDown-arrow {
  position: absolute;
  display: block;
  width: 0.56%;
  left: 50%;
  transform: translateX(-50%);
  /* animation: 動畫名稱 播放時間 延遲執行時間 速度 次數 方向 填充模式 播放狀態; */
  animation: scroll-Down-move 0.5s infinite alternate;
  transition-timing-function: ease-out;
  z-index: 9999;
}

.scrollDown:hover + .scrollDown-arrow {
  animation: scroll-Down-move 0.3s infinite alternate;
}

@keyframes scroll-Down-move {
  0% {
    top: 86%;
  }
  100% {
    top: 87%;
  }
}

/*頁面2*/
.main2 {
  width: 100%;
  height: auto;
  position: relative;
}

.main2-txt {
  width: 36%;
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
}

.main2-txt h1 {
  font-size: 4vw;
  font-family: "NotoSerifTC-Bold";
  color: #fff;
  letter-spacing: 0.5vw;
  line-height: 4.5vw;
  margin: 0;
  float: left;
}

.main2-txt h2 {
  font-size: 2.4vw;
  font-family: "Futura-Std-Book";
  color: #bffdff;
  letter-spacing: 0.1vw;
  line-height: 2.7vw;
  text-transform: uppercase;
  font-weight: 200;
  float: left;
  box-sizing: border-box;
  margin: 0;
  padding: 0.5% 0 0 2%;
}

.main2-txt-white {
  font-family: "DFHeiStd-W5";
  color: #fff;
  font-size: 1.37vw;
  letter-spacing: 0.3vw;
  line-height: 1.7vw;
}

.main2-view-more- {
  width: 12%;
  height: auto;
  float: left;
  margin: 5% 0 0 -20%;
  cursor: pointer;
}

.main2-view-more {
  width: 10%;
  height: auto;
  float: left;
  margin: 11.5% 0 0 -12%;
  cursor: pointer;
  display: block;
}

.main2-pic {
  width: 56%;
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
}

.main2-pic ul li {
  width: 50%;
  display: inline-block;
  padding: 4.5%;
  box-sizing: border-box;
  margin: 0 -4px;
  cursor: pointer;
  position: relative;
}

.main2-pic-li {
  position: relative;
}

.main2-pic-li img {
  display: block;
}

.mask {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  opacity: 0;
  transition: 0.5s linear;
}

.view-pic {
  width: 26%;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.main2-pic-li:hover .mask {
  visibility: visible;
  opacity: 1;
}

/*頁面3*/
.main3 {
  width: 100%;
  height: auto;
  position: relative;
}

.main3-txt {
  width: 58%;
  position: absolute;
  right: 16%;
  top: 50%;
  transform: translateY(-50%);
}

.main3-txt h1 {
  font-size: 4vw;
  font-family: "NotoSerifTC-Bold";
  color: #fff;
  letter-spacing: 0.5vw;
  line-height: 4.5vw;
  margin: 0;
  float: right;
}

.main3-txt h2 {
  font-size: 2.4vw;
  font-family: "Futura-Std-Book";
  color: #bffdff;
  letter-spacing: 0.1vw;
  line-height: 2.7vw;
  text-transform: uppercase;
  font-weight: 200;
  float: right;
  box-sizing: border-box;
  margin: 0;
  padding: 1% 2% 0 2%;
  text-align: right;
}

.main3-txt-white {
  font-family: "DFHeiStd-W5";
  color: #fff;
  font-size: 1.37vw;
  letter-spacing: 0.3vw;
  line-height: 1.7vw;
}

.main3-txt h3 {
  width: 100%;
  font-size: 2vw;
  font-family: "DFHeiStd-W3";
  color: #fff;
  font-size: 1vw;
  letter-spacing: 0.055vw;
  line-height: 1.7vw;
  font-weight: 200;
  text-transform: uppercase;
  float: right;
  box-sizing: border-box;
  margin: 0;
  padding: 2% 2% 0 2%;
  text-align: right;
}

.main3-pic {
  width: 30%;
  height: auto;
  position: absolute;
  left: 0;
  bottom: 0;
}

.main3-view-more- {
  width: 6%;
  height: auto;
  float: right;
  margin: 11.5% -33% 0 0;
}

.main3-view-more {
  width: 15%;
  height: auto;
  cursor: pointer;
  display: inline-block;
  margin-left: -4px;
}

/*頁面4*/
.main4 {
  width: 100%;
  height: auto;
  position: relative;
}

.main4-txt {
  width: 36%;
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
}

.main4-txt h1 {
  font-size: 4vw;
  font-family: "NotoSerifTC-Bold";
  color: #fff;
  letter-spacing: 0.5vw;
  line-height: 4.5vw;
  margin: 0;
  float: left;
}

.main4-txt h2 {
  font-size: 2.4vw;
  font-family: "Futura-Std-Book";
  color: #bffdff;
  letter-spacing: 0.1vw;
  line-height: 2.7vw;
  text-transform: uppercase;
  font-weight: 200;
  float: left;
  box-sizing: border-box;
  margin: 0;
  padding: 0.5% 0 0 2%;
}

.main4-txt h3 {
  width: 100%;
  font-family: "DFHeiStd-W5";
  color: #fff;
  font-size: 1.37vw;
  letter-spacing: 0.3vw;
  line-height: 1.7vw;
  font-weight: 200;
  float: left;
  margin: 9% auto auto auto;
}

.main4-txt h4 {
  width: 100%;
  font-size: 2vw;
  font-family: "DFHeiStd-W3";
  color: #fff;
  font-size: 1vw;
  letter-spacing: 0.055vw;
  line-height: 1.7vw;
  font-weight: 200;
  float: left;
  margin: 3% 0 0 0;
}

.main4-view-more- {
  width: 12%;
  height: auto;
  float: left;
  margin: 17% 0 0 -21%;
  cursor: pointer;
}

.main4-view-more {
  width: 10%;
  height: auto;
  float: left;
  margin: 23.5% 0 0 -12%;
  cursor: pointer;
  display: block;
}

.main4-pic {
  width: 60%;
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
}

.main4-pic-li {
  width: 33%;
  display: inline-block;
  padding: 2%;
  box-sizing: border-box;
  margin: 0 -4px;
  cursor: pointer;
  position: relative;
}

.main4-pic-titie {
  width: 100%;
  line-height: 1.6vw;
  margin-bottom: 4%;
}

.main4-pic-bottom {
  width: 100%;
  margin-top: 8%;
}

.main4-pic-titie::after,
.main4-pic-bottom::after {
  content: "";
  display: block;
  clear: both;
}

.year {
  width: 20%;
  font-family: "Futura-Std-Book";
  color: #fff;
  font-size: 1.3vw;
  border-bottom: 2px solid #bffdff;
  float: left;
}

.name {
  font-family: "DFHeiStd-W5";
  color: #fff;
  font-size: 1.1vw;
  float: right;
  margin-top: 1.5%;
}

.bottom-title {
  font-family: "DFHeiStd-W5";
  color: #bffdff;
  font-size: 1.3vw;
  float: left;
}

.more {
  width: 22%;
  float: right;
  margin-top: 1%;
}

.main4-pic-img {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.main4-pic-img img {
  transform: scale(1);
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main4-pic-img:hover .mask {
  visibility: visible;
  opacity: 1;
}

.main4-pic-img:hover img {
  transform: scale(1.05);
  transition: 0.2s linear;
}

.PagerArea {
  width: 100%;
  float: left;
  display: block;
}

.PagerArea-li {
  width: fit-content;
  line-height: 32px;
  margin: 2% auto;
  font-family: "Futura-Std-Book";
  color: #fff;
  font-size: 0.8vw;
  display: block;
}

.PageBtnPrev,
.PageBtnNext {
  width: 14px;
  margin-top: 8px;
  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: #7a7a7a; */
}

.now_p {
  width: 26px;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  background-image: url("../img/index/page-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #7a7a7a;
}

/*頁面5*/
.main5 {
  width: 100%;
  height: auto;
  position: relative;
}

.main5-txt {
  width: 63%;
  position: absolute;
  right: 16%;
  top: 17%;
}

.main5-txt h1 {
  font-size: 4vw;
  font-family: "NotoSerifTC-Bold";
  color: #fff;
  letter-spacing: 0.5vw;
  line-height: 4.5vw;
  margin: 0;
  float: right;
}

.main5-txt h2 {
  font-size: 2.4vw;
  font-family: "Futura-Std-Book";
  color: #bffdff;
  letter-spacing: 0.1vw;
  line-height: 2.7vw;
  text-transform: uppercase;
  font-weight: 200;
  float: right;
  box-sizing: border-box;
  margin: 0;
  padding: 1% 2% 0 2%;
  text-align: right;
}

.main5-txt-white {
  font-family: "DFHeiStd-W5";
  color: #fff;
  font-size: 1.37vw;
  letter-spacing: 0.3vw;
  line-height: 1.7vw;
}

.main5-txt h3 {
  width: 100%;
  font-family: "DFHeiStd-W3";
  color: #fff;
  font-size: 1vw;
  letter-spacing: 0.055vw;
  line-height: 1.7vw;
  font-weight: 200;
  text-transform: uppercase;
  float: right;
  box-sizing: border-box;
  margin: 0;
  padding: 2% 1% 0 2%;
  text-align: right;
  position: relative;
}

.main5-view-more- {
  width: 5%;
  height: auto;
  float: right;
  margin: 8.5% -26% 0 0;
}

.main5-view-more {
  width: 13%;
  height: auto;
  cursor: pointer;
  display: inline-block;
  float: right;
  margin-top: 0.8%;
}

.scrollTop {
  position: fixed;
  display: block;
  cursor: pointer;
  width: 14px;
  right: 1%;
  top: 80%;
  /* animation: 動畫名稱 播放時間 延遲執行時間 速度 次數 方向 填充模式 播放狀態; */
  animation: scroll-Up-move 0.5s infinite alternate;
  transition-timing-function: ease-out;
}

@keyframes scroll-Up-move {
  0% {
    top: 80%;
  }
  100% {
    top: 83%;
  }
}
