body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f7f8f8;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

img {
  display: block;
}

/*全部*/
.all {
  width: 100%;
  overflow: hidden;
}

/*頁面1*/
.main1 {
  width: 100%;
  height: 32.5vw;
  position: relative;
  overflow: hidden;
  z-index: 0;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: top center;
}

/*頁面2*/
.main2 {
  width: 100%;
  height: auto;
  position: relative;
}

.main2-pic {
  width: 70%;
  height: auto;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.main2-pic-shadow {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.main2-pic-shadow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main2-pic-txt {
  position: absolute;
  right: 2%;
  bottom: 2%;
  color: #fff;
  font-size: 1.1vw;
  font-family: "Noto Serif TC", serif;
}

.main2-r {
  width: 30%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

.main2-txt {
  width: 43%;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.08vw;
}

.main2-txt h2 {
  margin: 0 0 2% 0;
  font-weight: 600;
  font-size: 1.8vw;
  text-align: center;
  color: #8a7363;
}

.main2-txt h4 {
  margin: 0;
  font-weight: 500;
  font-size: 1.1vw;
  line-height: 2vw;
  text-align: center;
  letter-spacing: 0.05vw;
  color: #003f57;
}

.main2-txt h5 {
  margin: 4% 0 0 0;
  font-weight: 500;
  font-size: 1.1vw;
  line-height: 2vw;
  letter-spacing: 0.05vw;
  color: #222222;
}

.main2-year {
  width: 18vw;
  position: absolute;
  left: -6.65vw;
  bottom: 8.1vw;
  font-size: 5.6vw;
  color: rgb(207, 189, 175);
  z-index: 5;
  transform: rotate(270deg);
  font-family: "Cinzel-Regular";
  text-align: left;
}

/*頁面3*/
.main3 {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 0;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/*頁面4*/
.main4 {
  width: 100%;
  height: auto;
  position: relative;
  /* margin-top: 0.35vw; */
}

.main4-txt-bg {
  width: 27vw;
  height: 100%;
  position: absolute;
  right: 10%;
  top: 0;
  background-color: rgba(0, 63, 87, 0.6);
}

.main4-txt {
  width: 80%;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.08vw;
}

.main4-txt h2 {
  margin: 0 0 2% 0;
  font-weight: 500;
  font-size: 1.4vw;
  text-align: center;
}

.main4-txt h4 {
  margin: 0;
  font-weight: 500;
  font-size: 1.1vw;
  line-height: 2vw;
  text-align: justify;
  text-justify: inter-ideograph;
  letter-spacing: 0.05vw;
}

.main4-pic-shadow {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.main4-pic-shadow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main4-pic-txt {
  position: absolute;
  right: 2%;
  bottom: 2%;
  color: #fff;
  font-size: 1.1vw;
  font-family: "Noto Serif TC", serif;
}

/*頁面5*/
.main5 {
  width: 100%;
  height: 100vh;
  position: relative;
}

.main5-banner {
  width: 62%;
  height: auto;
  position: absolute;
  right: 6.5%;
  top: 50%;
  transform: translateY(-50%);
}

.main5-pic-shadow {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.main5-banner-txt {
  position: absolute;
  right: 2.5%;
  bottom: 2%;
  color: #fff;
  font-size: 1.1vw;
  font-family: "Noto Serif TC", serif;
}

.main5-txt {
  width: 21%;
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Noto Serif TC", serif;
  color: #003f57;
  font-size: 1.1vw;
  z-index: 99;
  letter-spacing: 0.05vw;
}

.main5 .swiper-pagination {
  color: #003f57;
  font-family: "EBGaramond-VariableFont_wght";
  font-size: 1.4vw;
}

/*頁面6*/
.main6 {
  width: 100%;
  height: auto;
  position: relative;
}

.main6-banner {
  width: 72%;
  height: auto;
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translate(-50%, 0);
}

.main6-banner .swiper-slide{
  height: 40.6vw;
  overflow: hidden;
}

.main6-pic-shadow {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.main6-pic-shadow img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main6-banner-txt {
  position: absolute;
  right: 2.5%;
  bottom: 2%;
  color: #fff;
  font-size: 1.1vw;
  font-family: "Noto Serif TC", serif;
}

.main6 .swiper-pagination {
  position: relative;
  margin-top: 2%;
}

.main6 .swiper-pagination-bullet {
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  width: 4.2vw;
  height: 0.1vw;
  margin: 0 !important;
  opacity: 1;
  border: none;
  background-color: rgba(0, 63, 87, 0.5);
  border-radius: 0;
}

.main6 .swiper-pagination-bullet-active {
  background-color: #003f57;
  height: 0.2vw;
  margin: 0 0 -0.05vw 0 !important;
}

.back {
  width: 9vw;
  height: 0.7vw;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6%;
  display: block;
  background-image: url(../img/back.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all 0.5s;
  cursor: pointer;
}

.back:hover {
  background-image: url("../img/back2.png");
}
