/***********************
 front-page
***********************/
/********************
 front-main
********************/
#front-main .bg {
  width: 100%;
  height: 100vh;
  background: url("../../images/top/rebuild.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  z-index: 81;
}
#front-main .bg:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.4);
  background-image: radial-gradient(black 20%, transparent 20%),
    radial-gradient(black 20%, transparent 20%);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
  z-index: 80;
}
#front-main .bg .catch-wrap {
  position: absolute;
  bottom: 100px;
  left: 100px;
  z-index: 81;
}
#front-main .bg .catch-wrap .main-catch {
  font-size: 42px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 50px;
}
#front-main .bg .catch-wrap .sub-catch {
  font-size: 16px;
  color: #aaa;
  width: 200px;
  display: inline-block;
}
#front-main .bg .scroll-bar-wrap {
  position: absolute;
  right: 150px;
  bottom: 150px;
  z-index: 81;
}
#front-main .bg .scroll-bar {
  position: relative;
  z-index: 81;
  text-align: center;
}
#front-main .bg .scroll-bar:before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 1px;
  height: 0px;
  background: #fff;
  z-index: 82;
  left: 21px;
  top: 30px;
  animation: 2s scroll infinite;
}
@keyframes scroll {
  0% {
    height: 0;
  }
  100% {
    height: 100px;
  }
}
#front-main .bg .scroll-bar:after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 1px;
  height: 100px;
  background: #333;
  z-index: 81;
  left: 21px;
  top: 30px;
}
#front-main .bg .scroll-bar a {
  text-decoration: none;
}
#front-main .bg .scroll-bar span {
  color: #fff;
  display: block;
  text-align: center;
  writing-mode: vertical-lr;
  transform: translate(26px, 33px);
}
@media (max-width: 540px) {
  #front-main .bg .catch-wrap {
    position: absolute;
    bottom: 30px;
    left: 30px;
  }
  #front-main .bg .catch-wrap .main-catch {
    font-size: 26px;
    margin-bottom: 30px;
  }
  #front-main .bg .scroll-bar-wrap {
    right: 50px;
    bottom: 150px;
  }
  #front-main .bg .catch-wrap .sub-catch {
    font-size: 14px;
  }
}
/******************************
 front-service
******************************/
#front-service {
  background: #000;
  padding-left: 30px;
  padding-right: 30px;
  transition: 1s all;
}
#front-service .bg {
  background: #fff;
  border-radius: 20px;
  transition: 0s all 0.5s;
  padding-top: 80px;
  padding-bottom: 80px;
}
#front-service.inview {
  padding: 0;
  transition: 0.5s all 0.2s;
}
#front-service.inview .bg {
  border-radius: 0;
  transition: 0.5s all 0.2s;
}
#front-service .thumb {
  max-width: 600px;
  height: 600px;
  background: url("../../images/top/rebuild.jpg");
  background-size: cover;
  background-position: center;
}
#front-service.inview .thumb {
  border-radius: 20px;
  transition: 1s all 0.5s;
}
#front-service h2 {
  text-align: right;
  margin-bottom: 80px;
}
#front-service h2 span {
  display: block;
}
#front-service h2 span:nth-of-type(1) {
  font-size: 42px;
}
#front-service h2 span:nth-of-type(2) {
  font-size: 18px;
  font-weight: normal;
}
#front-service .box {
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 30px;
  padding-bottom: 30px;
}
#front-service .main-catch {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
}
#front-service .catch {
  line-height: 2em;
  margin-bottom: 50px;
}
#front-service .link a {
  color: #000;
  text-decoration: none;
}
#front-service .link a:before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: orange;
  margin-right: 15px;
  vertical-align: 4px;
}
@media (max-width: 991px) {
  #front-service .thumb {
    height: 300px;
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  #front-service .main-catch {
    font-size: 24px;
  }
  #front-service .box {
    padding-left: 15px;
    padding-right: 15px;
  }
  #front-service h2 {
    margin-bottom: 30px;
  }
}
/**************************
 front-usage
**************************/
#front-usage {
  padding-top: 80px;
  padding-bottom: 80px;
  transition: 1s all;
}
#front-usage.inview {
  background: #000;
  transition: 1s all 1s;
}
#front-usage h2 {
  text-align: left;
  margin-bottom: 80px;
}
#front-usage h2 span {
  display: block;
}
#front-usage h2 span:nth-of-type(1) {
  font-size: 42px;
}
#front-usage h2 span:nth-of-type(2) {
  font-size: 18px;
  font-weight: normal;
}
#front-usage.inview h2 {
  color: #fff;
  transition: 1s all 1s;
}
#front-usage .thumb {
  width: 100%;
  height: 300px;
}
#front-usage #thumb-usage-1 {
  background: url("../../images/top/rebuild.jpg");
  background-position: center;
  background-size: cover;
}
#front-usage #thumb-usage-2 {
  background: url("../../images/top/rebuild.jpg");
  background-position: center;
  background-size: cover;
}
#front-usage #thumb-usage-3 {
  background: url("../../images/top/rebuild.jpg");
  background-position: center;
  background-size: cover;
}
#front-usage .title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 30px;
}
#front-usage .catch p {
  margin-bottom: 0;
}
#front-usage .catch {
  line-height: 2em;
}
#front-usage .box {
  background: #fff;
  padding: 30px;
}
#front-usage.inview #thumb-usage-2 {
  margin-top: 50px;
  transition: 1s all 1s;
}
#front-usage.inview #thumb-usage-3 {
  margin-top: 100px;
  transition: 1s all 1s;
}
@media (max-width: 991px) {
  #front-usage #thumb-usage-2 {
    margin-top: 0;
    transform: translate(-50%, 0);
    transition: 1s all 1s;
  }
  #front-usage #thumb-usage-3 {
    margin-top: 0;
    transform: translate(-100%, 0);
    transition: 1s all 1s;
  }
  #front-usage.inview #thumb-usage-2 {
    margin-top: 0;
    transform: translate(0, 0);
    transition: 1s all 2s;
  }
  #front-usage.inview #thumb-usage-3 {
    margin-top: 0;
    transform: translate(0, 0);
    transition: 1s all 4s;
  }
}
/***********************
 front-news
************************/
#front-news {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #000;
  transition: 1s all;
}
#front-news.inview {
  background: #fff;
  transition: 1s all 1s;
}
#front-news h2 {
  text-align: center;
  margin-bottom: 80px;
  color: #fff;
  transition: 1s all;
}
#front-news.inview h2 {
  color: #000;
  transition: 1s all 1s;
}
#front-news h2 span {
  display: block;
}
#front-news h2 span:nth-of-type(1) {
  font-size: 42px;
}
#front-news h2 span:nth-of-type(2) {
  font-size: 18px;
  font-weight: normal;
}
#front-news .news-wrap {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
#front-news ul {
  margin: 0 auto 50px;
  padding: 0;
}
#front-news ul li:first-child {
  border-top: 1px solid #fff;
}
#front-news.inview ul li:first-child {
  border-top: 1px solid #eee;
}
#front-news ul li {
  display: flex;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #fff;
  align-items: center;
}
#front-news.inview ul li {
  border-bottom: 1px solid #eee;
}
#front-news ul li .time {
  font-size: 14px;
  width: 100px;
  color: #fff;
  transition: 1s all;
}
#front-news.inview ul li .time {
  color: #000;
  transition: 1s all 1s;
}
#front-news ul li .title {
  display: inline-block;
  width: calc(100% - 100px);
  width: -webkit-calc(100% - 100px);
}
#front-news.inview ul li .title a {
  color: #000;
  text-decoration: none;
  transition: 1s all 1s;
}
#front-news ul li .title a {
  color: #fff;
  text-decoration: none;
  transition: 1s all;
}
