@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Open+Sans");
@import url("https://fonts.googleapis.com/css?family=Crimson+Text");
@-webkit-keyframes loading {
  0% {
    left: -30px;
  }
  70% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@-moz-keyframes loading {
  0% {
    left: -30px;
  }
  70% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@-o-keyframes loading {
  0% {
    left: -30px;
  }
  70% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes loading {
  0% {
    left: -30px;
  }
  70% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
#main {
  min-height: 0;
}

.works.content {
  min-height: 100vh;
}

.select {
  margin-bottom: 50px;
}
.select a {
  font-size: 16px;
  margin: 0 20px;
  color: #000;
}
.select a span {
  position: relative;
  display: inline-block;
}
.select a span:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  background: #999;
  -moz-transition: opacity 0.6s, bottom 0.6s;
  -o-transition: opacity 0.6s, bottom 0.6s;
  -webkit-transition: opacity 0.6s, bottom 0.6s;
  transition: opacity 0.6s, bottom 0.6s;
}
.select a:hover, .select a.active {
  color: #666;
}
.select a:hover span:after, .select a.active span:after {
  opacity: 1;
  bottom: -2px;
}

.filtr-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.work {
  float: left;
  position: relative;
  width: 20%;
  padding: 0 25px;
  margin-bottom: 40px;
  box-sizing: border-box;
  cursor: pointer;
  -moz-transition: box-shadow 0.6s;
  -o-transition: box-shadow 0.6s;
  -webkit-transition: box-shadow 0.6s;
  transition: box-shadow 0.6s;
}
.work:hover {
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
}
.work:hover img {
  margin-top: -10px;
}
.work a {
  display: block;
}
.work-photo {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 94.7%;
  margin-bottom: 20px;
  overflow: hidden;
}
.work-photo img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 110%;
  max-height: 110%;
  min-width: 100%;
  min-height: 100%;
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}
.work-name {
  margin-bottom: 10px;
  font-size: 18px;
  color: #000;
  font-weight: bold;
}
.work-location {
  margin-bottom: 5px;
  color: #b3b3b3;
}
.work-footage {
  margin-bottom: 25px;
  color: #b3b3b3;
}

.list {
  padding: 10% 70px;
  text-align: center;
}
.list-item {
  position: relative;
  width: 25%;
  padding: 10px;
  box-sizing: border-box;
}
.list-item:hover .list-img {
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
  border: #FFF solid 15px;
}
.list-img {
  box-sizing: border-box;
  border: rgba(255, 255, 255, 0) solid 15px;
  -moz-transition: border 0.6s, box-shadow 0.6s;
  -o-transition: border 0.6s, box-shadow 0.6s;
  -webkit-transition: border 0.6s, box-shadow 0.6s;
  transition: border 0.6s, box-shadow 0.6s;
}
.list-img img {
  width: 100%;
}
.list-title {
  position: absolute;
  top: 50%;
  left: 25px;
  right: 25px;
  line-height: 60px;
  margin-top: -30px;
  font-size: 18px;
  letter-spacing: 5px;
  padding-left: 5px;
  color: #FFF;
  background: rgba(0, 0, 0, 0.65);
}

/*------------------------------------------
 *             tablet 、 Mobile
 *------------------------------------------*/
@media only screen and (max-width: 1300px) {
  .list {
    padding: 10% 25px;
  }
}
@media only screen and (max-width: 1100px) {
  .work {
    width: 25%;
  }

  .list-item {
    width: 50%;
  }
}
@media only screen and (max-width: 900px) {
  .work {
    width: 33.33%;
  }
}
@media only screen and (max-width: 780px) {
  .soon {
    display: none;
  }

  .work {
    width: 50%;
  }

  .list {
    padding: 10% 0;
  }
}
@media only screen and (max-width: 560px) {
  .work {
    float: none;
    width: 100%;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
  .work:last-child {
    margin-bottom: 0;
  }

  .list-item {
    width: 100%;
    padding: 10px 0;
  }

  .list-title {
    left: 15px;
    right: 15px;
  }

  .select a {
    display: block;
    margin: 20px 0;
  }
}
