.containerBG {
  background-image: url("../img/project/project-bg.webp");
}

section {
  position: relative;
  z-index: 30;
}

.s1 {
  position: relative;
}

.mainTitle {
  left: 5vw;
  right: auto;
}

.projectCardTitle {
  font-size: 1.6vw;
}

.arrow {
  fill: none;
  stroke: #987646;
  stroke-miterlimit: 10;
  stroke-width: 0.5px;
}

.allProjectDiv {
  padding-top: 10vh;
  padding-bottom: 20vh;
}

.projectCard {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border: 1px solid #b48d5355;
  margin-left: 7vw;
  margin-right: 2vw;
  margin-bottom: 20vh;
}

.projectCard:nth-last-of-type(1) {
  margin-bottom: 0px;
}

.projectCard .infoDiv {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding-top: 5vh;
  padding-bottom: 5vh;
  padding-right: 5vw;
}

.projectCard .imgDiv {
  min-width: 45vw;
  display: block;
  position: relative;
  left: -5vw;
  top: -5vh;
}

.projectCard .title {
  align-self: flex-end;
}

.projectCard .sectitle {
  margin-left: 0px;
}

.cardLine {
  opacity: 0;
  content: " ";
  width: 10%;
  height: 1px;
  background-color: #b48d5355;
  animation: cardLineAni forwards 1s ease;
}

@keyframes cardLineAni {
  0% {
    opacity: 1;
    width: 0%;
  }

  100% {
    opacity: 1;
    width: 10%;
  }
}

.more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  border: 1px solid #b48d5355;
  padding-left: 2em;
  padding-right: 2em;
  transition: all 0.5s;
}

.more:hover {
  background-color: #b78a51;
}

.more:hover p,
.more:hover .arrow {
  color: #fff;
  stroke: #fff;
}

.more p {
  line-height: 2;
  margin-right: 1em;
  margin-bottom: 0px;
  color: #b78a51;
}

.more .arrow {
  width: 2vw;
}

.s2 .infoDiv {
  padding-left: 0px;
  flex: 1 1 30%;
}

/* 內頁開始 */
.project-inner-page .containerBG {
  background-image: url("../img/project/project-innerPage-BG.webp");
}

.project-inner-page .s2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: auto;
}

.project-inner-page .s2 .infoDiv .titleDiv {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.project-inner-page .s2 .infoDiv .titleDiv .title-en {
  margin-right: 0.5em;
}

.project-inner-page .s2 .infoDiv p {
  color: #fff;
}

.project-inner-page .s3 {
  min-height: auto;
}

.allIconDiv {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 40%;
}

.iconDiv {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-left: 1.5em;
  padding-right: 1.5em;
  position: relative;
}

.iconDiv,
.iconDiv .imgDiv,
.iconDiv p {
  transition: all 0.5s;
}

.iconDiv:hover .imgDiv {
  transform: scale(1.3);
}

.iconDiv::after {
  position: absolute;
  content: " ";
  width: 1px;
  top: 1em;
  bottom: 1em;
  background-color: #b48d53;
  right: 0px;
  opacity: 0.5;
}

.iconDiv:nth-last-of-type(1)::after {
  opacity: 0;
}

.iconDiv p {
  color: #b48d53;
  font-family: "jinxuan-500", serif;
  margin-bottom: 0px;
  line-height: 2.5;
}

.iconDiv .imgDiv {
  margin-top: 1em;
  margin-bottom: 0.5em;
  width: 1.5vw;
}

.swiper-slide .projectCard {
  margin-top: 5vw;
  margin-left: 2vw;
}

.swiper-slide .projectCard .imgDiv {
  left: 0vw;
  margin-left: -2vw;
  top: -5vh;
}

.swiper-slide .projectCard .infoDiv {
  flex-direction: row;
  align-items: stretch;
  padding-bottom: 10vh;
}

.swiper-slide .projectCard .infoDiv .main-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.swiper-slide .projectCard .newsPaper {
  color: #b48d53;
  font-family: "jinxuan-500", serif;
  writing-mode: vertical-rl;
  margin-right: 2vw;
  margin-left: 2vw;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.swiper-slide .projectCard .newsPaper::after {
  position: relative;
  content: " ";
  background-color: #b48d5355;
  width: 1px;
  flex-grow: 1;
  margin-top: 0.5em;
}

.content-wrapper {
  padding-bottom: 10vh;

  position: relative;
}

.swiperBtnDiv {
  position: absolute;
  bottom: 2vh;
  right: 4vw;
  z-index: 99;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.swiperBtnDiv::after {
  content: " ";
  background-color: #b48d53;
  position: absolute;
  top: 20%;
  bottom: 20%;
  width: 1px;
  left: 50%;
}

.swiperBtnDiv .button-prev,
.swiperBtnDiv .button-next {
  padding-left: 1em;
  padding-right: 1em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.swiperBtnDiv .button-prev:hover img,
.swiperBtnDiv .button-next:hover img {
  transform: translateX(-0.5vw);
}

.swiperBtnDiv .button-prev p,
.swiperBtnDiv .button-next p {
  color: #9d7946;
  margin-bottom: 0px;
  padding-left: 1em;
  padding-right: 1em;
}

.swiperBtnDiv .button-prev .imgDiv img,
.swiperBtnDiv .button-next .imgDiv img {
  transition: all 0.5s;
  width: 0.5vw;
}

.swiperBtnDiv .button-next .imgDiv {
  transform: scaleX(-1);
}

.describeSection {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.describeSection .title {
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.describeSection .ca_txt {
  width: 80%;
  color: #fff;
  margin-bottom: 5vh;
}

/* 輪播2號原始CSS */
.slideSection {
  position: relative;
  margin-left: 2vw;
  margin-top: 10vh;
  margin-bottom: 10vh;
  border: 1px solid #b48d5355;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slideSection .swiper-container-wrapper {
  display: flex;
  align-items: flex-end;
  width: 60%;
  position: relative;
  left: -2vw;
  top: -3vh;
}

.slideSection .gallery-top {
  width: 100%;
  margin-right: 1vw;
  overflow: hidden;
  height: auto;
}

.slideSection .gallery-thumbs {
  position: relative;
  width: 20%;
  height: 40vh;
  overflow: hidden;
  display: flex;
}

.slideSection .gallery-top .swiper-slide {
  width: 100%;
  height: 100%;
  background-color: rgb(134, 228, 139);
}

.slideSection .gallery-thumbs .swiper-slide {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.slideSection .infoDiv {
  position: relative;
  right: 3vw;
  margin-bottom: 5vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-left: 5vw;
}

.slideSection .infoDiv .title {
  margin-bottom: 3vh;
  line-height: 2;
}

.slideSection .infoDiv p {
  margin-bottom: 0px;
}

.videoDiv {
  margin: auto;
  width: 80%;
  height: 75vh;
}

iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 1023px) {
  .mainTitle {
    bottom: 20%;
  }
  .allProjectDiv {
    padding-bottom: 10vh;
  }
  .projectCard {
    flex-direction: column;
    margin-bottom: 10vh;
  }

  .projectCardTitle {
    font-size: 18px;
    margin-bottom: 3vh;
  }

  .s2 .infoDiv {
    padding-top: 0px;
    padding-left: 5vw;
  }

  .projectCard .cardLine {
    margin-top: 2vh;
    margin-bottom: 2vh;
  }

  .more {
    margin-top: 3vh;
  }

  /* 內頁 */
  .project-inner-page .s2 {
    flex-direction: column;
  }

  .project-inner-page .s2 .infoDiv {
    padding-left: 0px;
    margin-bottom: 5vh;
  }

  .allIconDiv {
    margin-bottom: 7vh;
  }

  .allIconDiv .iconDiv .imgDiv {
    width: 4vw;
  }

  .swiper-slide .projectCard .infoDiv {
    padding-top: 0px;
  }

  .swiper-slide .projectCard .newsPaper {
    margin-right: 4vw;
    margin-left: 4vw;
  }

  .swiper-slide .projectCard {
    padding-left: 2vw;
    padding-right: 2vw;
    margin-left: 3vw;
    margin-right: 3vw;
  }

  .swiper-slide .projectCard .imgDiv {
    margin-left: 0px;
  }

  .videoDiv {
    margin: auto;
    width: 84vw;
    height: 47.25vw;
  }

  .describeSection .ca_txt {
    width: 100%;
  }

  .slideSection {
    flex-direction: column;
  }

  .swiper-container-wrapper {
    flex-direction: column;
  }
  .slideSection .swiper-container-wrapper {
    width: 100%;
    left: 0px;
    padding-left: 2vw;
    padding-right: 2vw;
    margin-left: 3vw;
    margin-right: 3vw;
  }

  .slideSection {
    margin-left: 0px;
  }

  .slideSection .gallery-thumbs {
    width: 100%;
    height: auto;
    margin-top: 10px;
  }

  .slideSection .swiperBtnDiv {
    position: relative;
    bottom: 0px;
    right: 0px;
    top: -1vh;
    align-self: flex-end;
  }
  .swiperBtnDiv .button-prev .imgDiv img,
  .swiperBtnDiv .button-next .imgDiv img {
    margin-top: 0.2vh;
    width: 1vw;
  }
  .more .arrow {
    width: 5vw;
  }
}

@media (max-width: 500px) {
  .mainTitle {
    left: -10%;
  }

  .projectCardTitle {
    font-size: 14px;
  }

  .allIconDiv {
    flex-wrap: wrap;
  }

  .iconDiv {
    padding-left: 1em;
    padding-right: 1em;
  }

  .iconDiv:nth-last-of-type(3)::after {
    display: none;
  }

  .swiper-slide .projectCard .infoDiv {
    padding-right: 0px;
  }

  .swiper-slide .projectCard .newsPaper {
    margin-left: 1vw;
    margin-right: 1vw;
  }
  .swiper-slide .projectCard .infoDiv .main-info {
    padding-left: 2vw;
  }

  .describeSection {
    align-items: flex-start;
  }

  .videoDiv {
    width: 90vw;
    height: 55vw;
  }

  .slideSection {
    margin-top: 5vh;
    margin-bottom: 5vh;
  }

  .slideSection .infoDiv .title {
    margin-top: 1vh;
    font-size: 20px;
    line-height: 1.5;
  }
}
