@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url("https://fonts.googleapis.com/css?family=Source+Serif+Pro");
body {
  background: #a07e3e;
}

.box-work {
  height: 60vh;
  overflow: hidden;
  position: relative;
}

.work {
  height: 100%;
  margin: auto;
  position: relative;
  width: 100%;
}
.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 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  box-sizing: border-box;
  z-index: 10;
}
.bn-back {
  width: 30px;
  position: absolute;
  right: 20px;
  top: 15px;
}
.bn-back img {
  width: 100%;
  opacity: 1;
}
.bn-back:hover img {
  opacity: 1;
}

.bnprev,
.bnnext {
  cursor: pointer;
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #a07e3e;
  border-radius: 50%;
  border: 1px solid #decd9c;
  opacity: 0.8;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  z-index: 50;
}
.bnprev:hover,
.bnnext:hover {
  opacity: 1;
}

.page {
  width: 60px;
  text-align: center;
}
.page span {
  display: inline-block;
}

.news-title {
  font-size: 20px;
  font-weight: 600;
}
.news-date {
  padding: 10px 0;
}
.news-top {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  padding: 80px 0 30px;
}
.news-text {
  width: 90%;
  max-width: 830px;
  margin: auto;
  line-height: 1.8em;
  padding: 30px 0 50px;
}
.news-close {
  margin-left: calc(50% - 52px);
  margin-bottom: 80px;
}
.news-close a {
  padding: 10px 20px;
  display: block;
}

.tm {
  opacity: 0;
  -moz-transform: translateY(-30px);
  -ms-transform: translateY(-30px);
  -webkit-transform: translateY(-30px);
  transform: translateY(-30px);
  -moz-transition: opacity 0.8s, -moz-transform 0.5s;
  -o-transition: opacity 0.8s, -o-transform 0.5s;
  -webkit-transition: opacity 0.8s, -webkit-transform 0.5s;
  transition: opacity 0.8s, transform 0.5s;
}
.tm.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media screen and (max-width: 1100px) {
  .news-text {
    padding: 30px 0;
  }
}
@media screen and (max-width: 800px) {
  .box-work {
    height: 50vh;
  }
}
@media screen and (max-width: 640px) {
  .box-work {
    height: 40vh;
  }

  .news-close {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 500px) {
  .box-work {
    height: 35vh;
  }
}
@media screen and (max-height: 500px) {
  .box-work {
    height: 100vh;
  }
}
