@charset "UTF-8";
.wrapper, .main {
  overflow: initial;
}

.top-image {
  background-position: 50% 25%;
}

.project-sort {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  justify-content: center;
  margin-bottom: 80px;
  padding: 10px 0;
  background: #eee;
  font-size: 0.95em;
  position: sticky;
  top: 87px;
  z-index: 101;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.project-sort.show {
  opacity: 1;
}
.project-sort a {
  display: block;
  box-sizing: border-box;
  font-family: "Inconsolata", "Arimo", serif, "STHeiti Light", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  margin-bottom: 40px;
  position: relative;
  margin: 0 15px;
}
.project-sort a:hover {
  color: #464721;
}
.project-sort a:nth-child(3):before, .project-sort a:last-child:before {
  display: none;
}
.project-sort .en {
  font-size: 0.95em;
  display: block;
}
.project-sort .active {
  color: #000;
}
.project-sort .active:hover {
  color: #000;
}
.project-sort-img {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 55px;
  display: none;
  opacity: 0.7;
  z-index: -1;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.project-sort-img img {
  width: 100%;
}
.project-sort-img .svg path {
  fill: #E4DED2;
}
.project-inner {
  padding: 0 80px;
  max-width: 1600px;
  margin: auto;
}
.project-list {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.project-item {
  width: 25%;
  box-sizing: border-box;
  padding: 0px 5px;
  margin: 10px 0px;
}
.project-item:nth-child(7n-2) {
  margin-left: 10%;
}
.project-item:nth-child(7n) {
  margin-right: 10%;
}
.project-item:hover {
  z-index: 100;
}
.project-item:hover:after {
  opacity: 0.7;
}
.project-item:hover .project-img {
  box-shadow: 0 0 5px #999;
  -webkit-filter: none;
  filter: none;
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.project-item:hover .project-content:before {
  height: 100%;
  -moz-transition: height 0.6s 0.4s;
  -o-transition: height 0.6s 0.4s;
  -webkit-transition: height 0.6s;
  -webkit-transition-delay: 0.4s;
  transition: height 0.6s 0.4s;
}
.project-item:after {
  content: "";
  width: 100vw;
  height: calc(100vh - 87px);
  margin-top: 87px;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: -1;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.project-item a {
  position: relative;
}
.project-img {
  position: relative;
  -webkit-filter: saturate(0.1);
  filter: saturate(0.1);
  -moz-transform-origin: bottom center;
  -ms-transform-origin: bottom center;
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
  -moz-transition: filter 0.6s, -moz-transform 0.6s, box-shadow 0.6s;
  -o-transition: filter 0.6s, -o-transform 0.6s, box-shadow 0.6s;
  -webkit-transition: filter 0.6s, -webkit-transform 0.6s, box-shadow 0.6s;
  transition: filter 0.6s, transform 0.6s, box-shadow 0.6s;
}
.project-img img {
  width: 100%;
  -moz-transition: transform(0.6s);
  -o-transition: transform(0.6s);
  -webkit-transition: transform(0.6s);
  transition: transform(0.6s);
}
.project-content {
  padding-top: 5px;
  position: relative;
}
.project-content:before {
  content: "";
  width: 3px;
  height: 0%;
  background: #E4DED2;
  position: absolute;
  top: 0;
  left: -6%;
  -moz-transition: height 0.6s;
  -o-transition: height 0.6s;
  -webkit-transition: height 0.6s;
  transition: height 0.6s;
}
.project-type {
  font-size: 0.875em;
  margin: 0px 0 5px;
  color: #464721;
}
.project-name {
  color: #000;
}

@media screen and (max-width: 1400px) {
  .project-item {
    width: 33.33333%;
  }
  .project-item:nth-child(7n-2) {
    margin-left: 0;
  }
  .project-item:nth-child(7n) {
    margin-right: 0;
  }
  .project-item:nth-child(5n-1) {
    margin-left: 15%;
  }
  .project-item:nth-child(5n) {
    margin-right: 15%;
  }
}
@media screen and (max-width: 1300px) {
  .top-capital {
    color: #111;
    text-shadow: 0 0 5px #ddd;
  }
}
@media screen and (max-width: 1100px) {
  .project-item {
    margin: 20px 0;
  }
  .project-item:nth-child(5n-1) {
    margin-left: 0;
  }
  .project-item:nth-child(5n) {
    margin-right: 0;
  }
  .project-item:hover .project-img {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  .project-item:hover .project-img img {
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  .project-img {
    overflow: hidden;
  }
  .project-img img {
    -moz-transition: -moz-transform 0.6s;
    -o-transition: -o-transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
  }
  .project-content {
    padding-top: unset;
  }
  .project-content:before {
    display: none;
  }
  .project-type {
    margin: 8px 0 3px;
  }
}
@media screen and (max-width: 900px) {
  .wrapper, .main {
    overflow: hidden;
  }

  .project {
    padding-top: 50px;
  }
  .project-sort {
    display: block;
    background: unset;
    padding: 0 80px;
    margin-bottom: 60px;
    position: relative;
    top: unset;
    z-index: unset;
  }
  .project-sort a {
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 1px dotted #E4DED2;
  }
  .project-item {
    width: 50%;
  }
}
@media screen and (max-width: 640px) {
  .project {
    padding-top: 100px;
  }
  .project-sort {
    padding: 0 40px;
    margin-bottom: 40px;
  }
  .project-sort a {
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-size: 0.95em;
  }
  .project-sort .en {
    font-size: 0.875em;
    margin-top: -2px;
  }
  .project-sort-img {
    top: -4px;
    width: 50px;
  }
  .project-inner {
    padding: 0 40px;
  }
  .project-item {
    width: 100%;
  }
  .project-img {
    -webkit-filter: saturate(1);
    filter: saturate(1);
  }
}
