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;
}

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

.main1-title {
  position: absolute;
  left: 9.7%;
  top: 48%;
  color: #fff;
  text-shadow: 0.15em 0.15em 0.1em #333;
  letter-spacing: 0.1vw;
}

.main1-title h2 {
  font-family: "EBGaramond-VariableFont_wght";
  font-size: 2.1vw;
  font-weight: 500;
  margin: 0;
}

.main1-title h4 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.1vw;
  font-weight: 500;
  letter-spacing: 0.1vw;
  margin: 0;
}

.main1-txt {
  position: absolute;
  right: 9.7%;
  top: 48%;
  color: #fff;
  text-shadow: 0.15em 0.15em 0.1em #333;
  letter-spacing: 0.1vw;
  text-align: right;
}

.main1-txt h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.1vw;
  font-weight: 500;
  margin: 0;
}

.main1-txt h4 {
  font-family: "EBGaramond-VariableFont_wght";
  font-size: 1vw;
  font-weight: 500;
  letter-spacing: 0.1vw;
  margin: 4.5% 0 0 0;
}

/*頁面2*/
.main2 {
  width: 100%;
  height: auto;
  position: relative;
  background-image: url("../img/02-1-2/bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.main2-bg2 {
  width: 80%;
  height: auto;
  position: relative;
  background-color: #f7f8f8;
  margin: 0 auto;
  padding: 6% 4%;
  box-sizing: border-box;
}

.main2-category {
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  letter-spacing: 0.1vw;
  font-size: 1.1vw;
  color: #8a7363;
  padding-left: 1%;
  position: relative;
  margin-left: 5%;
}

.main2-category::before {
  content: "";
  width: 1px;
  height: 0.8vw;
  position: absolute;
  background-color: #8a7363;
  left: 0;
  top: 0.35vw;
}

.main2-title {
  width: 90%;
  margin: 2% auto 0 auto;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  letter-spacing: 0.08vw;
  font-size: 1.4vw;
  color: #003f57;
}

.main2-date {
  font-family: "EBGaramond-VariableFont_wght";
  float: right;
  font-size: 0.9vw;
  padding-right: 1%;
  position: relative;
}

.main2-date::before {
  content: "";
  width: 1px;
  height: 0.7vw;
  position: absolute;
  background-color: #003f57;
  right: 0;
  top: 0.3vw;
}

.main2-line {
  width: 100%;
  margin: 2% auto 0 auto;
}

.main2-content {
  width: 90%;
  margin: 2% auto 0 auto;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  letter-spacing: 0.08vw;
  font-size: 1.1vw;
  line-height: 2vw;
  color: #222222;
  text-align: justify;
  text-justify: inter-ideograph;
  word-break: break-all;
}

.main2-pic1 {
  width: 73%;
  height: auto;
  margin: 3% auto 3% auto;
  position: relative;
}

.main2-pic2 {
  width: 52%;
  height: auto;
  margin: 3% auto 3% auto;
  position: relative;
}

.main2-banner {
  width: 73%;
  height: auto;
  margin: 3% auto 3% auto;
  position: relative;
}

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

.main2-banner-txt {
  position: absolute;
  right: 2.5%;
  bottom: 2%;
  color: #fff;
  font-size: 1.1vw;
}

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

.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;
}

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

.back {
  width: 9vw;
  height: 0.7vw;
  position: relative;
  margin: 6% auto 0 auto;
  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");
}
