@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%;
  }
}
.header-bg {
  display: block;
}

.header-logo-mask, #nav, #menu {
  -moz-transform: translateY(-30px);
  -ms-transform: translateY(-30px);
  -webkit-transform: translateY(-30px);
  transform: translateY(-30px);
}

#main {
  padding-top: 90px;
  min-height: 0;
}

.content {
  max-width: none;
  padding: 0 0 10%;
}

.inner-content {
  margin: 0 auto;
  width: calc(100% - 140px);
  max-width: 1300px;
}

.wrap-heading {
  width: 320px;
  margin-right: 10%;
  text-align: left;
}
.wrap-heading .sub-heading {
  margin-bottom: 2rem;
}
.wrap-heading .sub-heading span {
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}
.wrap-heading .heading {
  line-height: 1.5;
}
.wrap-heading .heading span {
  -moz-transition: opacity 0.8s ease-in-out 0.5s;
  -o-transition: opacity 0.8s ease-in-out 0.5s;
  -webkit-transition: opacity 0.8s ease-in-out;
  -webkit-transition-delay: 0.5s;
  transition: opacity 0.8s ease-in-out 0.5s;
}

.text {
  margin: 0;
  width: calc(90% - 320px);
  max-width: none;
}

.viewport {
  position: relative;
  margin-bottom: 5%;
  height: 485px;
  overflow: hidden;
}
.viewport ul {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100% - 60px);
}
.viewport li {
  margin: 0 15px;
  height: 100%;
}
.viewport li:first-child {
  margin-left: 0;
}
.viewport li:last-child {
  margin-right: 0;
}
.viewport img {
  height: 100%;
}

.bnPrev, .bnNext {
  position: absolute;
  width: 30px;
  height: 30px;
  bottom: 0;
  background-image: url("../images/works/arrow.png");
  background-repeat: no-repeat;
  background-color: #fff;
  background-size: 100% auto;
  cursor: pointer;
}
.bnPrev:hover, .bnNext:hover {
  opacity: 0.6;
}

.bnPrev {
  right: 150px;
  background-position: center 0;
}

.bnNext {
  right: 70px;
  background-position: center -30px;
}

.share > * {
  margin: 0 15px;
  font-size: 16px;
  opacity: 0.5;
  cursor: pointer;
}
.share > *:first-child {
  margin-left: 0;
}
.share > *:hover {
  opacity: 1;
}

.back {
  position: absolute;
  bottom: 0;
  padding: 6px 20px;
  border: 1px solid #ccc;
  cursor: pointer;
  -moz-transition: border 0.6s;
  -o-transition: border 0.6s;
  -webkit-transition: border 0.6s;
  transition: border 0.6s;
}
.back:hover {
  border: 1px solid #000;
}
.back a {
  display: block;
  height: 20px;
  line-height: 20px;
}
.back img {
  height: 20px;
  margin-right: 2px;
  vertical-align: middle;
  display: inline-block;
}

/*------------------------------------------
 *             tablet 、 Mobile
 *------------------------------------------*/
@media only screen and (max-width: 1100px), (max-height: 560px) {
  #main {
    padding-top: 70px;
  }

  .inner-content {
    width: 90%;
    display: block;
    padding-bottom: 80px;
  }

  .wrap-heading {
    width: 100%;
    margin-right: 0;
    margin-bottom: 50px;
  }
  .wrap-heading .heading {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .text {
    width: 100%;
  }

  .bnPrev {
    right: calc(5% + 80px);
  }

  .bnNext {
    right: 5%;
  }
}
@media only screen and (max-width: 680px) {
  .viewport {
    height: 70vw;
  }
  .viewport ul {
    height: calc(100% - 40px);
  }
  .viewport li {
    margin: 0 5px;
  }
}
@media only screen and (max-width: 680px) and (orientation: landscape) {
  .viewport {
    height: calc(100vh - 70px - 25px);
  }
}
