@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro");
@import url("https://fonts.googleapis.com/css?family=Work+Sans:200&display=swap");
.top-page {
  z-index: 31;
}

.box-work {
  height: calc(100vh - 100px);
  overflow: hidden;
  position: relative;
  margin-top: 50px;
}

.work {
  height: 100%;
  margin: auto;
  position: relative;
  width: 100vw;
}
.work img {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.bn-top {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 0;
  background: #fff;
  z-index: 5;
}
.bn-top .name {
  text-align: center;
  font-size: 16px;
}
.bn-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 13px 0;
  font-size: 16px;
  color: #000;
  opacity: 1;
  background-color: #fff;
  z-index: 10;
}
.bn-bottom i {
  margin-right: 10px;
}
.bn-back {
  text-align: center;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.bn-back:hover {
  opacity: 0.5;
}
.bn-back a {
  display: block;
}
.bn-buttom {
  position: fixed;
  top: 50%;
  right: 0;
  width: 60px;
  background-color: #fff;
  z-index: 31;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.bnprev,
.bnnext {
  height: 40px;
  cursor: pointer;
  -moz-transition: -moz-transform 0.3s;
  -o-transition: -o-transform 0.3s;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}
.bnprev img,
.bnnext img {
  height: 40px;
  margin: auto;
  padding: 0 5px;
}

.bnprev:hover {
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.bnnext:hover {
  -moz-transform: translateY(5px);
  -ms-transform: translateY(5px);
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
}

.page {
  margin: 10px 0;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .box-work {
    height: unset;
    overflow: unset;
    margin-bottom: 50px;
  }

  .work {
    height: unset;
    width: calc(100% - 100px);
  }
  .work li {
    margin-bottom: 20px;
  }
  .work img {
    max-width: unset;
    max-height: unset;
    margin: auto;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  .bn-buttom {
    display: none;
  }
  .bn-back {
    right: unset;
    left: 0;
  }
}
@media screen and (max-width: 460px) {
  .work {
    width: 100%;
    margin-top: 10px;
  }
  .work li {
    margin-bottom: 10px;
  }
}
