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;
}

.main1-banner {
  width: 93.8%;
  height: 69.1vh;
  /* height: auto; */
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
}

.main1-banner1 {
  width: 62.25%;
  position: absolute;
  left: 0;
  top: 0;
}

.main1-banner2 {
  width: 37.32%;
  position: absolute;
  right: 0;
  top: 0;
}

.main1-banner3 {
  width: 37.32%;
  position: absolute;
  right: 0;
  top: 13.2vw;
}

.main1-txt-pic {
  width: 22%;
  height: auto;
  position: absolute;
  left: 6%;
  top: 26vw;
}

.main1-txt {
  width: 133%;
  position: absolute;
  left: 14%;
  top: 85%;
  font-family: "NotoSerifTC-SemiBold";
  color: #fff;
  font-size: 0.83vw;
  letter-spacing: 0.2vw;
}

.scrollDown {
  position: absolute;
  display: block;
  cursor: pointer;
  width: 2.7%;
  left: 50%;
  transform: translateX(-50%);
  top: 82%;
}

.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;
}

.scrollDown:hover+.scrollDown-arrow {
  animation: scroll-Down-move 0.3s infinite alternate;
}

@keyframes scroll-Down-move {
  0% {
    top: 91%;
  }

  100% {
    top: 92%;
  }
}

.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%;
  }
}

/*頁面2*/
.main2 {
  width: 100%;
  height: auto;
  position: relative;
}

.main-menu {
  height: auto;
  position: absolute;
  top: 7%;
  left: 4%;
  font-size: 0.8vw;
  letter-spacing: 0.1vw;
  font-family: "NotoSerifTC-SemiBold";
  z-index: 999;
}

.main-menu ul>li {
  height: 2vw;
  line-height: 2vw;
  vertical-align: middle;
  display: inline-block;
  list-style-type: none;
  position: relative;
  text-align: center;
  margin: 0 -4px !important;
  /*inline-block 旁邊會多出來space*/
}

.main-menu ul>li::before {
  width: 1px;
  height: 1vw;
  content: "";
  top: 32%;
  left: 0;
  position: absolute;
  background-color: #fff;
}

.main-menu ul>li:first-child::before {
  display: none;
}

.main-menu ul>li a {
  width: 4.3vw;
  position: relative;
  display: inline-block;
  text-align: center;
  height: 31px;
  line-height: 31px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: normal;
  color: #fff;
  transition: all 1s;
  cursor: pointer;
}

.main-menu ul>li a.main-menu-link {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80%;
}

.main-menu ul>li a.main-menu-link:hover {
  background-image: url("../img/02/menu-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80% 100%;
  color: #616161;
}

.active {
  background-image: url("../img/02/menu-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80% 100%;
  color: #616161 !important;
}

.main2-banner {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0%;
  top: 20%;
  /* overflow: auto; */
  cursor: grab;
}

.all-content {
  width: 100%;
  /* Swiper 容器必須是 100% */
  margin: 5% 0% 0 0%;
  /* 移除 display: flex 與 width: max-content */
  /* 移除 overflow-x: auto */
  overflow: visible;
}


.all-content .swiper-slide {
  width: auto;
  /* 強制不使用 Swiper 計算的固定寬度 */
  height: auto;
}

.all-content::after {
  content: "";
  display: block;
  clear: both;
}

.content-img-all {
  width: 14vw;
  height: auto;
  float: left;
  margin-right: 0.25vw;
  position: relative;
  /* cursor: pointer; */
  display: block;
  /* transform: translate3d(0px, 864.89px, 0px); */
  flex-shrink: 0;
  /* scroll-snap-align: start; */
}

.content-img {
  position: relative;
  width: 100%;
  height: 21vw;
  line-height: 21vw;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.dark-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.68);
  opacity: 1;
  transition: all 0.5s;
}

.content-img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.content-txt {
  width: 42.2%;
  min-width: 86px;
  color: #fff;
  font-family: "DFHeiStd-W3";
  position: absolute;
  left: 50%;
  top: 8vw;
  transform: translateX(-50%);
  text-align: center;
}

.content-title {
  font-size: 1.1vw;
  border-bottom: 2px solid #bffdff;
  line-height: 1.8vw;
  letter-spacing: 0.2vw;
}

.content-place {
  font-size: 0.8vw;
  line-height: 1.7vw;
  letter-spacing: 0.1vw;
  margin-top: 1%;
}

.year {
  width: 100%;
  text-align: center;
  font-size: 1.1vw;
  line-height: 1.8vw;
  letter-spacing: 0.1vw;
  font-family: "Futura-Std-Book";
  margin: 3% auto auto auto;
  color: #fff;
}

.content-img:hover .dark-cover {
  opacity: 0;
}

.content-img-all:hover .content-img {
  height: 23.5vw;
  line-height: 23.5vw;
  margin-top: -1.25vw;
  transition: all 0.5s ease-in;
}

.content-img-all:hover .content-place {
  display: none;
}

.content-img-all:hover .content-txt {
  top: -3.8vw;
  /* transition: all 0.5s ease-in; */
}

.main2-banner::-webkit-scrollbar-track {
  background-color: transparent;
}

.main2-banner::-webkit-scrollbar {
  background-color: transparent;
}

.content-click {
  width: 100%;
  height: 100%;
  cursor: pointer;
  /* display: none; */
  display: block;
}

.content-img-all:hover .content-click {
  display: block;
}

.tip {
  width: 11%;
  height: auto;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  animation: tip 0.6s 4 alternate;
  transition-timing-function: ease-out;
}

@keyframes tip {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}