.projects-cover {
  margin: 5vw 0;
}
.projects-cover img {
  width: 100%;
}
.projects-title {
  margin: 10vw 0;
  white-space: nowrap;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.projects-title h2 {
  font-weight: normal;
  margin-right: 60px;
}
.projects-title .sort {
  font-size: 1.05rem;
}
.projects-title .tw {
  font-size: 1.5rem;
  color: #000;
}
.projects-title .tw:after {
  content: "";
  width: 1px;
  height: 20px;
  background: #000;
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
}
.projects-subtitle {
  color: #000;
  font-weight: normal;
  font-size: 0.875rem;
  margin: 10vw 0 40px;
}
.projects-photos img {
  width: 100%;
}
.projects-photos li {
  margin-bottom: 40px;
}
.projects-photos .col2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.projects-back {
  margin: 10vw 0;
  text-align: center;
}
.projects-back a {
  position: relative;
  font-size: 0.875rem;
  border: #ccc solid 1px;
  display: inline-block;
  padding: 0px 20px;
}
.projects-back a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #f2f2f2;
  z-index: -1;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.projects-back a .tw {
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0;
}
.projects-back a .en, .projects-back a .tw {
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.projects-back a:hover {
  color: #000;
}
.projects-back a:hover:before {
  width: 100%;
}
.projects-back a:hover .en {
  opacity: 0;
}
.projects-back a:hover .tw {
  opacity: 1;
}

@media screen and (max-width: 900px) {
  .projects-cover {
    margin: 40px 0;
  }
  .projects-title {
    margin: 80px 0;
  }
  .projects-title h2 {
    margin-right: 20px;
  }
  .projects-title .sort {
    font-size: 0.875rem;
  }
  .projects-title .tw {
    font-size: 1.25rem;
  }
  .projects-subtitle {
    margin: 80px 0 30px;
  }
  .projects-photos li {
    margin-bottom: 20px;
  }
  .projects-photos .col2 {
    gap: 20px;
  }
}
@media screen and (max-width: 640px) {
  .title-line {
    display: none;
  }

  .projects-title h2 {
    margin-right: 0;
  }
  .projects-photos .col2 {
    display: block;
  }
  .projects-photos .col2 img:nth-child(1) {
    margin-bottom: 20px;
  }
}
