.top-img {
  background-position: 5% 40%;
  -webkit-filter: saturate(0.9) brightness(1.05);
  filter: saturate(0.9) brightness(1.05);
}

.project-inner {
  padding: 0 50px;
}
.project-sort {
  width: fit-content;
  margin: 0 auto 20px;
}
.project-sort a {
  font-size: 0.875rem;
  letter-spacing: 0.2rem;
  margin: 0 0 0 15px;
  padding-left: 15px;
  display: inline-block;
  position: relative;
  opacity: 0;
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
  -moz-transition: font-weight 0.3s, color 0.3s, opacity 0.8s, -moz-transform 0.8s;
  -o-transition: font-weight 0.3s, color 0.3s, opacity 0.8s, -o-transform 0.8s;
  -webkit-transition: font-weight 0.3s, color 0.3s, opacity 0.8s, -webkit-transform 0.8s;
  transition: font-weight 0.3s, color 0.3s, opacity 0.8s, transform 0.8s;
}
.project-sort a.show {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.project-sort a:nth-child(1) {
  margin-left: 0;
}
.project-sort a:nth-child(2) {
  -moz-transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.1s, -moz-transform 0.8s 0.1s;
  -o-transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.1s, -o-transform 0.8s 0.1s;
  -webkit-transition: font-weight 0.3s, color 0.3s, opacity 0.8s, -webkit-transform 0.8s;
  -webkit-transition-delay: 0s, 0s, 0.1s, 0.1s;
  transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.1s, transform 0.8s 0.1s;
}
.project-sort a:nth-child(3) {
  -moz-transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.2s, -moz-transform 0.8s 0.2s;
  -o-transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.2s, -o-transform 0.8s 0.2s;
  -webkit-transition: font-weight 0.3s, color 0.3s, opacity 0.8s, -webkit-transform 0.8s;
  -webkit-transition-delay: 0s, 0s, 0.2s, 0.2s;
  transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.2s, transform 0.8s 0.2s;
}
.project-sort a:nth-child(4) {
  -moz-transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.3s, -moz-transform 0.8s 0.3s;
  -o-transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.3s, -o-transform 0.8s 0.3s;
  -webkit-transition: font-weight 0.3s, color 0.3s, opacity 0.8s, -webkit-transform 0.8s;
  -webkit-transition-delay: 0s, 0s, 0.3s, 0.3s;
  transition: font-weight 0.3s, color 0.3s, opacity 0.8s 0.3s, transform 0.8s 0.3s;
}
.project-sort a:before {
  content: "";
  width: 3px;
  height: 3px;
  background: #999;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.project-sort a:after {
  content: "";
  width: 3px;
  height: 3px;
  background: #FFF;
  border: 2px solid #666;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: -2px;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.project-sort a.active {
  font-weight: 600;
  color: #000;
}
.project-sort a.active:before {
  opacity: 0;
}
.project-sort a.active:after {
  opacity: 1;
}
.project-sort a:hover {
  color: #000;
}
.project-list {
  overflow: hidden;
}
.project-item {
  width: 31.3333%;
  box-sizing: border-box;
  margin: 60px 1% 0;
}
.project-item a:hover .project-img img {
  -webkit-filter: saturate(1);
  filter: saturate(1);
}
.project-item a:hover .project-type:before {
  -moz-animation: typeLine 1.2s ease-in-out;
  -webkit-animation: typeLine 1.2s ease-in-out;
  animation: typeLine 1.2s ease-in-out;
}
.project-img {
  overflow: hidden;
}
.project-img img {
  width: 100%;
  -webkit-filter: saturate(0.5);
  filter: saturate(0.5);
  -moz-transition: -moz-transform 0.8s, filter 0.8s;
  -o-transition: -o-transform 0.8s, filter 0.8s;
  -webkit-transition: -webkit-transform 0.8s, filter 0.8s;
  transition: transform 0.8s, filter 0.8s;
}
.project-text {
  padding-top: 10px;
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: opacity 0.8s, -moz-transform 0.8s;
  -o-transition: opacity 0.8s, -o-transform 0.8s;
  -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
  transition: opacity 0.8s, transform 0.8s;
}
.project-text.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.project-text.show .project-type:after {
  width: 100%;
}
.project-name {
  font-size: 0.875rem;
  color: #000;
  letter-spacing: 0.2rem;
}
.project-type {
  color: #999;
  font-family: "PT Serif", Arial, Helvetica;
  font-size: 0.75rem;
  font-style: italic;
  letter-spacing: 0.1rem;
  margin-top: 1px;
  position: relative;
}
.project-type span {
  padding-right: 13px;
  background: #FFF;
}
.project-type:before {
  content: "";
  width: 0%;
  height: 1px;
  background: #666;
  position: absolute;
  top: 11px;
  left: 0;
  z-index: -1;
}
.project-type:after {
  content: "";
  width: 0%;
  height: 1px;
  background: #ccc;
  position: absolute;
  top: 11px;
  left: 0;
  z-index: -2;
  -moz-transition: width 0.8s 0.3s;
  -o-transition: width 0.8s 0.3s;
  -webkit-transition: width 0.8s;
  -webkit-transition-delay: 0.3s;
  transition: width 0.8s 0.3s;
}

@-moz-keyframes typeLine {
  0% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@-webkit-keyframes typeLine {
  0% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes typeLine {
  0% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@media screen and (max-width: 1100px) {
  .project-item {
    width: 46%;
    margin: 50px 2% 0;
  }
}
@media screen and (max-width: 800px) {
  .project-sort {
    margin: 0 auto 20px;
  }
  .project-sort a:nth-child(1) {
    margin-left: 0;
  }
  .project-list {
    width: 85%;
    margin: 0 auto;
  }
  .project-item {
    width: auto;
    margin: 50px 0 0;
  }
}
@media screen and (max-width: 640px) {
  .project-inner {
    padding: 0 30px;
  }
  .project-sort {
    margin: 0 0 10px 2px;
  }
  .project-sort a {
    display: block;
    margin: 0 0 3px 0;
  }
  .project-list {
    width: auto;
  }
  .project-item {
    margin: 35px 0 0;
  }
}
