@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Raleway");
@-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%;
  }
}
.mCS-h-theme.mCSB_scrollTools_horizontal {
  height: 5px;
}
.mCS-h-theme.mCSB_scrollTools {
  margin-left: 5vw;
}
.mCS-h-theme.mCSB_scrollTools .mCSB_dragger {
  width: 70px;
}
.mCS-h-theme.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  margin: 0 auto 0;
  width: 100%;
  height: 5px;
  border-radius: 0;
  background: #888;
}
.mCS-h-theme.mCSB_scrollTools .mCSB_draggerRail {
  height: 0px;
}

.bg:after {
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  position: absolute;
  top: 0;
  left: 0;
}

.content {
  padding: 45vh 0 0 0;
}

.subNav li {
  border: unset;
  width: 80px;
  text-align: left;
}
.subNav li:nth-child(1) {
  border-right: 1px solid #666;
  margin: 0 30px 20px 0;
}

.work-list {
  position: relative;
  margin-top: 10px;
  padding: 15px 0 0;
  overflow: hidden;
  background: linear-gradient(to right, rgba(102, 102, 102, 0.1), rgba(102, 102, 102, 0.3));
}
.work-list ul {
  margin-left: 5vw;
  white-space: nowrap;
}
.work-list li {
  display: inline-block;
  position: relative;
  margin-left: 10px;
  box-sizing: border-box;
  -webkit-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
.work-list li:first-child {
  margin-left: 0;
}
.work-list li:hover .work-photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.work-photo {
  position: relative;
}
.work-photo img {
  width: 195px;
  height: 140px;
}

.casename {
  color: #000;
  padding: 10px 0;
  font-weight: 300;
}

/*------------------------------------------
 *             tablet 、 Mobile
 *------------------------------------------*/
@media only screen and (max-width: 900px) {
  .content {
    margin-top: 0;
    padding: 12vw 0 12vw;
  }

  .work-list {
    height: auto;
  }
  .work-list ul {
    margin: 0 5vw;
    white-space: normal;
    overflow: hidden;
  }
  .work-list li {
    display: block;
    float: left;
    margin: 5px;
    margin-bottom: 20px;
    width: calc((100% - 40px) / 4);
  }
  .work-list li:first-child {
    margin: 5px 5px 20px 5px;
  }

  .work-photo img {
    width: 100%;
    height: auto;
  }
}
@media only screen and (max-width: 800px) {
  .work-list li {
    width: calc((100% - 30px) / 3);
  }
}
@media only screen and (max-width: 640px) {
  .work-list li {
    width: calc((100% - 20px) / 2);
  }
}
@media only screen and (max-width: 420px) {
  .work-list li {
    margin: 0 0 20px 0;
    width: 100%;
  }
  .work-list li:first-child {
    margin: 0 0 20px 0;
  }
}
