.content {
  position: relative;
  overflow: hidden;
}

.box-work {
  margin: 10px auto 0;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  height: calc(100vh - 80px);
  border-bottom: 1px solid #000;
}

.work {
  position: relative;
  width: 90%;
  margin: auto;
  height: calc(100vh - 80px);
}
.work img {
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
}

.top {
  margin-bottom: 30px;
  overflow: hidden;
  max-width: 900px;
}

.controlBar {
  position: absolute;
  width: 100%;
  height: 50px;
  bottom: 0px;
  border-top: 1px solid #ccc;
  z-index: 20;
}

.bnPrev,
.bnNext {
  position: absolute;
  width: 50px;
  height: 50px;
  bottom: 5px;
  cursor: pointer;
  z-index: 30;
}
.bnPrev img,
.bnNext img {
  width: 100%;
}

.bnPrev {
  left: 35%;
  opacity: 1;
  -moz-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -webkit-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
.bnPrev:hover {
  opacity: 0.8;
}

.bnNext {
  right: 35%;
  opacity: 1;
  -moz-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -webkit-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
.bnNext:hover {
  opacity: 0.8;
}

.bn {
  position: absolute;
  bottom: 70px;
  right: 100px;
  opacity: 1;
  -moz-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -webkit-transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: opacity 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
.bn:hover {
  opacity: 0.9;
}

.icon {
  position: absolute;
  bottom: -45px;
  padding: 5px;
}
.icon img {
  width: 100%;
}

.name {
  position: absolute;
  bottom: 20px;
  left: 50%;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.detail {
  font-size: 12px;
  position: absolute;
  bottom: 15px;
  left: 60px;
  cursor: pointer;
  border: 1px solid #666;
  padding: 1px 10px;
}
.detail:hover {
  color: #fff;
}

.level1 {
  position: relative;
}
.level1 .intro-bg {
  background: url(../images/portfolio/middle.jpg) no-repeat center center;
  height: 500px;
  background-attachment: fixed;
}
.level1 .bg-top {
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
}
.level1 .intro {
  width: 60%;
  position: relative;
  top: -180px;
  margin: 0 auto -100px;
  padding: 100px 100px 50px;
  background-color: #4a4a4a;
  line-height: 1.5em;
}
.level1 .intro h2 {
  margin-bottom: 20px;
}
.level1 .intro-text {
  margin-bottom: 30px;
  color: #bdbdbd;
}
.level1 .intro-line {
  background-color: #ccc;
  width: 30px;
  height: 1px;
  margin-bottom: 20px;
}

.move1 {
  opacity: 0;
  -moz-transform: translateY(80px);
  -ms-transform: translateY(80px);
  -webkit-transform: translateY(80px);
  transform: translateY(80px);
}

.move1 {
  -moz-transition: opacity 1s, -moz-transform 0.8s;
  -o-transition: opacity 1s, -o-transform 0.8s;
  -webkit-transition: opacity 1s, -webkit-transform 0.8s;
  transition: opacity 1s, transform 0.8s;
}
.move1.show {
  opacity: 1;
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

.move2 {
  opacity: 0;
}

.move2 {
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}
.move2.show {
  opacity: 1;
}

@media screen and (max-width: 1100px) {
  .box-work {
    margin: 100px auto 0px;
    height: unset;
    overflow: unset;
    padding-bottom: 30px;
  }

  .bn {
    position: fixed;
    bottom: unset;
    top: 0;
    right: 90px;
    z-index: 20;
  }
  .bn .icon {
    padding: 5px 5px;
    background: #666;
    left: 5px;
    bottom: -45px;
  }

  .work {
    position: relative;
    height: unset;
    right: 0;
    margin: auto;
  }
  .work li {
    opacity: 1;
  }
  .work img {
    max-width: 90%;
    margin: 0 auto 15px;
    position: relative;
    top: 0;
    left: 0;
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  .name {
    width: 100%;
    text-align: center;
    top: -80px;
    bottom: unset;
  }
  .name::after {
    content: "";
    padding-top: 1px;
    width: 100%;
    margin-top: 20px;
    display: block;
    background-color: #666;
  }

  .detail {
    bottom: unset;
    left: unset;
    top: -50px;
    right: 30px;
    padding: 2px 8px;
    z-index: 10;
    background: #999;
    border: 1px solid #666;
    color: #000;
  }
  .detail:hover {
    color: #000;
    background: #ccc;
  }

  .level1 {
    height: unset;
  }
  .level1 .intro-bg {
    height: 450px;
  }
  .level1 .intro {
    width: 70%;
  }
}
@media screen and (max-width: 900px) {
  .work img {
    max-width: 100%;
  }

  .detail {
    right: 10px;
  }

  .bn {
    right: 70px;
  }

  .level1 .intro {
    top: -250px;
    margin: 0 auto -200px;
    width: 80%;
    padding: 80px 50px 50px;
  }
}
@media screen and (max-width: 720px) {
  .work {
    width: 90%;
  }

  .detail {
    right: 0px;
  }

  .bn {
    right: 60px;
  }

  .level1 .intro-bg {
    height: 400px;
  }
  .level1 .intro {
    width: 70%;
    padding: 80px 40px 50px;
  }
}
@media screen and (max-width: 460px) {
  .work {
    width: 100%;
  }
  .work img {
    margin-bottom: 15px;
  }

  .level1 .intro-bg {
    height: 300px;
  }
  .level1 .intro {
    margin: 50px auto -200px;
  }
}
