@charset "UTF-8";
.main {
  margin-top: 80px;
}

.project-inner {
  padding: 0 70px;
  max-width: 1500px;
  margin: 0 auto;
}
.project-name {
  color: #000;
  text-align: center;
}
.project-name .tw {
  font-size: 1.25rem;
  letter-spacing: 0.2rem;
  font-family: "EB Garamond", Arial, Helvetica, "STHeiti Light", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
}
.project-name .en {
  letter-spacing: 0.15rem;
  margin-top: 5px;
}
.project-top {
  max-width: 1200px;
  margin: 0 auto;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  -webkit-justify-content: center;
  justify-content: center;
  padding-top: 50px;
}
.project-top-img {
  width: calc(100% - 25px - 25px);
  margin-left: 25px;
  position: relative;
}
.project-top-img.show:before {
  width: 0;
}
.project-top-img.show:after {
  height: 100%;
}
.project-top-img:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #dbdcdc;
  position: absolute;
  top: 0;
  right: 0;
  -moz-transition: width 0.8s;
  -o-transition: width 0.8s;
  -webkit-transition: width 0.8s;
  transition: width 0.8s;
}
.project-top-img:after {
  content: "";
  width: 1px;
  height: 0%;
  background: #d9b766;
  position: absolute;
  top: 0;
  left: -36px;
  z-index: -1;
  -moz-transition: height 0.8s;
  -o-transition: height 0.8s;
  -webkit-transition: height 0.8s;
  transition: height 0.8s;
}
.project-top-img img {
  width: 100%;
}
.project-type {
  font-size: 0.875rem;
  color: #999;
  -webkit-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
  background: #FFF;
  padding-top: 10px;
  letter-spacing: 0.15rem;
}
.project-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 80px;
}
.project-image {
  padding-top: 50px;
}
.project-img {
  margin-top: 30px;
  position: relative;
}
.project-img.show:before, .project-img.show:after {
  width: 0;
}
.project-img:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #dbdcdc;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  -moz-transition: width 0.8s 0.6s;
  -o-transition: width 0.8s 0.6s;
  -webkit-transition: width 0.8s;
  -webkit-transition-delay: 0.6s;
  transition: width 0.8s 0.6s;
}
.project-img:after {
  content: "";
  width: 100%;
  height: 100%;
  background: #f9f9f9;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  -moz-transition: width 0.8s;
  -o-transition: width 0.8s;
  -webkit-transition: width 0.8s;
  transition: width 0.8s;
}
.project-img img {
  width: 100%;
}
.project-wrap {
  display: -ms-flexbox;
  display: flex;
  margin-top: 30px;
}
.project-wrap-img {
  position: relative;
}
.project-wrap-img.show:before, .project-wrap-img.show:after {
  width: 0;
}
.project-wrap-img:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #dbdcdc;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  -moz-transition: width 0.8s 0.6s;
  -o-transition: width 0.8s 0.6s;
  -webkit-transition: width 0.8s;
  -webkit-transition-delay: 0.6s;
  transition: width 0.8s 0.6s;
}
.project-wrap-img:after {
  content: "";
  width: 100%;
  height: 100%;
  background: #f9f9f9;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  -moz-transition: width 0.8s;
  -o-transition: width 0.8s;
  -webkit-transition: width 0.8s;
  transition: width 0.8s;
}
.project-wrap-img:nth-child(1) {
  margin-right: 20px;
}
.project-wrap-img img {
  width: 100%;
}
.project-btn {
  margin: 80px auto 0;
}

@media screen and (max-width: 1100px) {
  .project-inner {
    padding: 0 50px;
  }
  .project-image {
    width: calc(100% + 50px * 2);
    margin-left: -50px;
  }
}
@media screen and (max-width: 640px) {
  .project-inner {
    padding: 0 30px;
  }
  .project-name .tw {
    font-size: 1rem;
    letter-spacing: 0.18rem;
  }
  .project-name .en {
    font-size: 0.875rem;
    margin-top: 3px;
  }
  .project-top {
    padding-top: 35px;
  }
  .project-top-img {
    width: calc(100% - 20px - 20px);
    margin-left: 20px;
  }
  .project-top-img:after {
    left: -30px;
  }
  .project-type {
    font-size: 0.75rem;
  }
  .project-content {
    padding-top: 50px;
  }
  .project-image {
    padding-top: 20px;
    width: calc(100% + 30px * 2);
    margin-left: -30px;
  }
  .project-btn {
    margin: 50px auto 0;
  }
}
