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

.main2-line1 {
  width: 1px;
  height: 0;
  position: absolute;
  background-color: #fff;
  top: 0;
  right: 6.5%;
}

.main2-line2 {
  width: 0;
  height: 1px;
  position: absolute;
  background-color: #fff;
  top: 66.3%;
  left: 0;
}

.main2-txt {
  width: 33%;
  position: absolute;
  left: 9.5%;
  top: 68%;
  color: #fff;
  line-height: 2vw;
}

.main2-txt h2 {
  margin: 0;
  letter-spacing: 0.1vw;
  font-size: 1.4vw;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  text-shadow: 0.1em 0.1em 0.1em #333;
  line-height: 2.5vw;
}

.main2-txt h4 {
  width: 100%;
  margin: 0;
  letter-spacing: 0.04vw;
  font-size: 1.1vw;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  text-shadow: 0.1em 0.1em 0.1em #333;
  text-align: justify;
  text-justify: inter-ideograph;
}

.read-more {
  width: 15vw;
  height: 1vw;
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  background-image: url("../img/index/read-more.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all 0.5s;
  cursor: pointer;
}

.read-more:hover {
  background-image: url("../img/index/read-more2.png");
}

.main2-JUNYI {
  width: 7.2%;
  height: auto;
  position: absolute;
  right: 6.4%;
  top: 35.1%;
}

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

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

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

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

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

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

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

.main3-content {
  width: 58%;
  height: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.main3-txt {
  width: 84%;
  height: auto;
  position: relative;
  font-family: "Noto Serif TC", serif;
  color: #fff;
  letter-spacing: 0.02vw;
  margin-bottom: 3.5%;
}

.main3-txt h2 {
  font-size: 1.45vw;
  margin: 0 0 1% 0;
  font-weight: 500;
  text-align: center;
}

.main3-txt h4 {
  width: 100%;
  font-size: 1.1vw;
  margin: 0;
  font-weight: 400;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8vw;
}

.main3-banner {
  width: 121%;
  height: auto;
  position: relative;
}

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

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

.main3-banner .swiper-slide {
  border: 2px solid #fff;
}

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

.main4-content {
  width: 82%;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.main4-txt {
  width: 100%;
  height: auto;
  position: relative;
  font-family: "Noto Serif TC", serif;
  color: #003f57;
  letter-spacing: 0.02vw;
  margin-bottom: 3%;
  text-align: center;
}

.main4-txt h2 {
  font-size: 1.45vw;
  margin: 0 0 1% 0;
  font-weight: 600;
}

.main4-txt h4 {
  width: 100%;
  font-size: 1.1vw;
  margin: 0;
  font-weight: 500;
}


.main4-pic-all {
  width: 100%;
  height: auto;
}

.main4-pic-all::after {
  content: "";
  clear: both;
  display: block;
}

.main4-pic-li {
  width: 24.8%;
  float: left;
  margin: 0 0.1%;
  position: relative;
  cursor: pointer;
}

.main4-pic-txt{
  width: 20%;
  position: absolute;
  right: 4%;
  top: 2%;
  color: #e0cfc2;
}

.main4-pic-txt h2{
  font-family: "Noto Serif TC", serif;
  margin: 0;
  font-size: 1.55vw;
  letter-spacing: 0.08vw;
  text-align: right;
}

.main4-pic-txt h4{
  font-family: "EBGaramond-VariableFont_wght";
  font-size: 4vw;
  margin: 0;
  font-weight: 500;
  -ms-writing-mode: tb-lr !important;
  -webkit-writing-mode: vertical-lr !important;
  -moz-writing-mode: vertical-lr !important;
  -ms-writing-mode: vertical-lr !important;
  writing-mode: vertical-lr !important;
}

.main4-mask{
  width: 100%;
  height: 0;
  background-color: rgba(0, 63, 87, 0.7);
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.08vw;
  overflow: hidden;
  transition: all 0.6s ease-in-out;
}

.main4-mask h2{
  margin: 45% 0 3% 0;
  font-size: 1.45vw;
  text-align: center;
  color: #cfbdaf;
}

.main4-mask h4{
  width: 85%;
  font-size: 1.1vw;
  font-weight: 400;
  color: #fff;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8vw;
  letter-spacing: 0.02vw;
}

.main4-pic-li:hover .main4-mask{
  height: 100%;
}