@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Noto+Serif+TC:wght@200..900&display=swap");
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #DEDBD4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
}
.preloader .loader {
  width: 48px;
  height: 48px;
  border: 3px solid #7A9283;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.font-deco {
  font-family: "Cormorant", "Noto Serif TC", serif;
  color: white;
  font-size: 13px;
  text-transform: uppercase;
}

body {
  background-color: #e1dcd6;
}

section.bannerArea {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 100px;
  pointer-events: none;
}
@media (max-width: 992px) {
  section.bannerArea {
    padding-top: 58px;
  }
}
section.bannerArea .wrap {
  width: 100%;
  max-width: 1440px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
section.bannerArea .bannerBox {
  position: relative;
  overflow: hidden;
}
section.bannerArea .titleBox {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Noto Serif TC", "Cormorant", serif;
  color: #2c4c47;
  gap: 20px;
  margin-top: 7.2vw;
  margin-bottom: 80px;
}
section.bannerArea .titleBox span {
  font-size: clamp(70px, 6vw, 100px);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
section.bannerArea .titleBox .inner {
  display: flex;
  align-items: center;
}
section.bannerArea .titleBox h1 {
  font-size: 40px;
  display: flex;
  flex-direction: column-reverse;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 5px;
}
section.bannerArea .titleBox .lineDot {
  display: flex;
  align-items: center;
  width: 105px;
  height: 1px;
  background-color: #2c4c47;
  position: relative;
}
section.bannerArea .titleBox .lineDot::after {
  content: "";
  display: block;
  position: absolute;
  right: -20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2c4c47;
}
@media (max-width: 768px) {
  section.bannerArea .titleBox {
    margin-top: 30px;
    margin-bottom: 65px;
  }
  section.bannerArea .titleBox span {
    font-size: 17px;
    order: 2;
  }
  section.bannerArea .titleBox .inner {
    order: 1;
  }
  section.bannerArea .titleBox h1 {
    margin-right: 10px;
  }
  section.bannerArea .titleBox .lineDot {
    width: 40px;
  }
  section.bannerArea .titleBox .lineDot::after {
    right: -10px;
    width: 4px;
    height: 4px;
  }
}
section.bannerArea .decoText {
  display: flex;
}
section.bannerArea .textBox {
  display: flex;
  flex-direction: column;
  font-family: "Noto Serif TC", "Cormorant", serif;
  text-transform: uppercase;
  font-weight: 700;
  color: #2c4c47;
  font-size: 24px;
  line-height: 36px;
}
section.bannerArea .textBox .char {
  display: inline-block;
}
section.bannerArea .textBox span:nth-child(2) {
  margin-top: 2px;
  font-size: 26px;
  font-family: "Cormorant", "Noto Serif TC", serif;
}

section.cardArea {
  margin-bottom: 100px;
  margin-top: 5.7vw;
  padding: 0 40px;
}
@media (max-width: 768px) {
  section.cardArea {
    padding: 0 20px;
    margin-bottom: 85px;
  }
}
section.cardArea .cardList {
  margin: 0 auto;
  max-width: 1360px;
  background-color: rgba(255, 255, 255, 0.6);
  padding-bottom: 65px;
  border-radius: 45px;
  position: relative;
}
@media (max-width: 768px) {
  section.cardArea .cardList {
    border-radius: 10px;
  }
}
section.cardArea .decoBox {
  position: absolute;
  top: -20px;
  right: 50%;
  transform: translateX(50%);
}
@media (max-width: 768px) {
  section.cardArea .decoBox {
    top: -10px;
  }
}
section.cardArea .cardBox {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.6vw;
  row-gap: 4vw;
  padding: 7.8vw 4.6vw;
}
@media (max-width: 1024px) {
  section.cardArea .cardBox {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  section.cardArea .cardBox {
    grid-template-columns: 1fr;
    padding: 7.8vw 20px;
    row-gap: 30px;
  }
}
section.cardArea .cardItem {
  cursor: pointer;
  position: relative;
  padding: 2.3vw 1.6vw 1.8vw 2.6vw;
  background-color: #e1dcd6;
}
@media (max-width: 1024px) {
  section.cardArea .cardItem {
    padding: 25px 15px 17.5px 30px;
  }
}
@media (max-width: 768px) {
  section.cardArea .cardItem {
    padding: 25px 15px 17.5px 30px;
  }
}
section.cardArea .cardItem:hover {
  background-color: rgba(225, 220, 214, 0.6);
  transition: background-color 0.3s;
}
section.cardArea .cardItem:hover .deco .dot {
  background-color: transparent;
}
section.cardArea .cardItem:hover .more {
  background-color: transparent;
}
section.cardArea .cardItem .noteBox {
  position: absolute;
  left: 16px;
}
section.cardArea .cardItem .noteBox .dot {
  width: 15px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin-bottom: 23px;
}
@media (max-width: 1280px) {
  section.cardArea .cardItem .noteBox {
    left: 10px;
  }
}
@media (max-width: 1024px) {
  section.cardArea .cardItem .noteBox {
    left: 8px;
  }
}
@media (max-width: 768px) {
  section.cardArea .cardItem .noteBox {
    top: 30px;
    left: 8px;
  }
  section.cardArea .cardItem .noteBox .dot {
    width: 10px;
    height: 10px;
    margin-bottom: 16px;
  }
}
section.cardArea .cardItem a {
  color: #2c4c47;
  font-family: "Noto Serif TC", "Cormorant", serif;
  font-size: 20px;
  font-weight: 600;
}
section.cardArea .cardItem .rank {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  section.cardArea .cardItem .rank {
    gap: 3px;
  }
  section.cardArea .cardItem .rank img {
    transform: scale(0.8);
  }
}
section.cardArea .cardItem .author {
  font-family: "Noto Serif TC", "Cormorant", serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: #2c4c47;
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  section.cardArea .cardItem .author {
    font-size: 16px;
    line-height: 20px;
  }
}
section.cardArea .cardItem .deco {
  display: flex;
  align-items: center;
  width: 100%;
  height: 2px;
  margin-bottom: 15px;
}
section.cardArea .cardItem .deco .line-1 {
  width: 85%;
  height: 1px;
  background-color: #2c4c47;
}
section.cardArea .cardItem .deco .dot {
  width: 20px;
  height: 20px;
  background-color: #e1dcd6;
  position: relative;
}
section.cardArea .cardItem .deco .dot::after {
  content: "";
  position: absolute;
  z-index: 1;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #2c4c47;
}
@media (max-width: 768px) {
  section.cardArea .cardItem .deco .dot {
    width: 10px;
    height: 10px;
  }
  section.cardArea .cardItem .deco .dot::after {
    width: 4px;
    height: 4px;
  }
}
section.cardArea .cardItem .deco .line-2 {
  width: 15%;
  height: 1px;
  background-color: #2c4c47;
}
section.cardArea .cardItem .comment {
  position: relative;
  font-family: "Noto Serif TC", "Cormorant", serif;
  font-size: 18px;
  line-height: 30px;
  color: #2c4c47;
  font-weight: 600;
  padding-right: 40px;
  margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
section.cardArea .cardItem .comment p {
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  section.cardArea .cardItem .comment {
    font-size: 16px;
    line-height: 24px;
    padding-right: 35px;
  }
}
section.cardArea .cardItem .more {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 18px;
  background-color: #e1dcd6;
  padding-left: 5px;
}
@media (max-width: 768px) {
  section.cardArea .cardItem .more {
    font-size: 16px;
  }
}

section.pageBox {
  display: flex;
  justify-content: center;
}
section.pageBox ul {
  display: flex;
  gap: 70px;
}
section.pageBox li {
  position: relative;
  transition: opacity 0.3s;
}
section.pageBox li:hover #page-effect {
  opacity: 1;
}
section.pageBox li:hover a {
  transform: scale(1.2);
}
section.pageBox #page-effect {
  position: absolute;
  transform: translate(-25%, -10%);
  opacity: 0;
}
section.pageBox a {
  display: inline-block;
  font-size: 22px;
  position: relative;
  color: #2c4c47;
  font-family: "Cormorant", "Noto Serif TC", serif;
  text-decoration: none;
  transition: transform 0.3s;
  will-change: transform;
}
@media (max-width: 768px) {
  section.pageBox {
    margin-top: 20px;
  }
  section.pageBox ul {
    gap: 30px;
  }
  section.pageBox #page-effect {
    transform: translate(-30%, -15%);
  }
  section.pageBox a {
    font-size: 18px;
  }
}