@charset "UTF-8";
.section {
  padding-top: 50px;
}

.project-inner {
  padding: 0 80px;
  max-width: 1100px;
  margin: auto;
}
.project-name {
  color: #000;
  text-align: center;
}
.project-type {
  font-size: 0.95em;
  font-family: "Inconsolata", "Arimo", serif, "STHeiti Light", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  text-align: center;
  padding-top: 10px;
  text-transform: uppercase;
}
.project-photo {
  margin: 80px 0 0;
  border-bottom: unset;
  position: relative;
  background: #f6f6f6;
}
.project-img {
  width: 100%;
}
.project-img img {
  width: 100%;
}
.project-video {
  position: relative;
  padding-bottom: 56.25%;
  /* Hide the full-screen button */
}
.project-video video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.project-video video::-webkit-media-controls-fullscreen-button {
  display: none;
}
.project-arrow {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  width: calc(100% + 60px);
  position: absolute;
  top: 50%;
  left: -30px;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.project-prev, .project-next {
  cursor: pointer;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #9EA86C;
  border-right: 2px solid #9EA86C;
  position: relative;
  -moz-transition: background 0.3s, color 0.3s;
  -o-transition: background 0.3s, color 0.3s;
  -webkit-transition: background 0.3s, color 0.3s;
  transition: background 0.3s, color 0.3s;
}
.project-prev {
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.project-next {
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.project-control {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  margin-top: 15px;
  border-top: 1px solid #E4DED2;
  border-bottom: 1px solid #E4DED2;
  font-size: 0.875em;
  position: relative;
}
.project-num {
  padding: 7px 0;
}
.project-line {
  width: 20px;
  height: 1px;
  background: #666;
  display: inline-block;
  margin: 0 5px 3px;
}
.project-autoplay {
  width: 55px;
  text-align: center;
  position: absolute;
  left: calc(50% + 75px);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.project-play {
  cursor: pointer;
  color: #888;
}
.project-play.autoPlay {
  cursor: pointer;
}
.project-content {
  padding-top: 100px;
  padding-bottom: 50px;
}
.project-subtitle {
  padding-bottom: 50px;
  text-align: center;
}
.project-subtitle.show:after {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.project-subtitle:after {
  content: "";
  width: 50px;
  height: 1px;
  background: #9EA86C;
  display: block;
  margin: 25px auto 0;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.6s 0.4s;
  -o-transition: clip-path 0.6s 0.4s;
  -webkit-transition: clip-path 0.6s;
  -webkit-transition-delay: 0.4s;
  transition: clip-path 0.6s 0.4s;
}
.project-subtitle span {
  display: block;
}
.project-subtitle .en {
  color: #000;
  font-family: "Inconsolata", "Arimo", serif;
  font-size: 1.3rem;
}
.project-back {
  padding-top: 30px;
  text-align: right;
}
.project-back a:hover {
  color: #000;
}
.project-back a:hover span {
  letter-spacing: 0.1rem;
}
.project-back span {
  font-size: 0.875em;
  -moz-transition: letter-spacing 0.3s;
  -o-transition: letter-spacing 0.3s;
  -webkit-transition: letter-spacing 0.3s;
  transition: letter-spacing 0.3s;
}
.project-back span:before {
  content: "";
  width: 30px;
  height: 1px;
  background: #9EA86C;
  display: inline-block;
  margin: 0 13px 4px 0;
}

@media screen and (max-width: 1100px) {
  .project-photo {
    border-bottom: 1px solid #9EA86C;
    margin: 50px 0 0;
    background: unset;
    opacity: 0;
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -moz-transition: all 0.6s;
    -o-transition: all 0.6s;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
  }
  .project-photo.show {
    opacity: 1;
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .project-photo.show:before {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  .project-photo:before {
    content: "";
    width: 1px;
    height: 50px;
    background: #9EA86C;
    display: block;
    margin: 0px auto 50px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    -moz-transition: clip-path 0.6s 0.4s;
    -o-transition: clip-path 0.6s 0.4s;
    -webkit-transition: clip-path 0.6s;
    -webkit-transition-delay: 0.4s;
    transition: clip-path 0.6s 0.4s;
  }
  .project-img img {
    margin-top: 10px;
    opacity: 0;
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -moz-transition: all 0.6s;
    -o-transition: all 0.6s;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
  }
  .project-img img.show {
    opacity: 1;
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .project-video video {
    margin-top: 10px;
    opacity: 0;
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -moz-transition: all 0.6s;
    -o-transition: all 0.6s;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
  }
  .project-video video.show {
    opacity: 1;
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .project-arrow {
    display: none;
  }
  .project-control {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  .project-inner {
    padding: 0 40px;
  }
  .project-photo {
    border: unset;
    padding: unset;
    margin: 40px 0 0;
  }
  .project-photo:before {
    height: 30px;
    margin: 0 auto 40px;
  }
}
