.home-banner .carousel-item {
  padding-top: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.btn-more {
  padding: .5rem 1rem;
  color: #999;
  border: 1px solid #999;
  border-radius: 3px;
}
.btn-more:hover {
  color: #666;
  border-color: #666;
}

h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
  color: #224750;
}
h2 .h2-text span {
  font-weight: 200;
  color: #346c7a;
}
h2 .btn {
  position: relative;
}

.home-about {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.home-about p {
  margin-top: -4rem;
  margin-bottom: 0;
  padding: 2rem 2em;
  font-weight: 300;
  font-size: 1.125rem;
  text-align: justify;
  text-indent: 2em;
  color: #fff;
  background-color: #346c7a; 
  border-radius: 2em;
}
.home-about img {
  width: 100%;
}
.home-about .number-text {
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}
.home-about .number-text span {
  font-size: 4rem;
  color: #346c7a;
}

.home-product {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.home-product ul {
  margin-left: -7.5px;
  margin-right: -7.5px;
  padding: 0;
  list-style: none;
}
.home-product ul li {
  margin-bottom: 15px;
  padding-left: 7.5px;
  padding-right: 7.5px;
}
.home-product ul li a {
  position: relative;
  display: block;
  overflow: hidden;
}
.home-product ul li a .image {
  display: block;
  padding-top: 160%;
  height: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: transform .3s ease-in-out;
}
.home-product ul li a:hover .image {
  transform: scale(1.05);
}
.home-product ul li a .text-wrapper {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5rem;
  text-align: center;
  background-image: -webkit-linear-gradient(top,rgba(0,0,0,.8) 0,rgba(0,0,0,.0001) 100%);
  background-image: -moz-linear-gradient(top,rgba(0,0,0,.8) 0%,rgba(0,0,0,.0001) 100%);
  background-image: -o-linear-gradient(top,rgba(0,0,0,.8) 0,rgba(0,0,0,.0001) 100%);
  background-image: linear-gradient(to top,rgba(0,0,0,.8) 0,rgba(0,0,0,.0001) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=0);
}
.home-product ul li a .text-wrapper .text { 
  position: absolute;
  left: 0;
  bottom: 1rem;
  width: 100%;
  font-size: .875rem;
  color: #fff;
}
.home-product ul li a .text-wrapper .btn {
  display: none;
}

.home-case {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.home-case .row {
  margin-left: 0;
  margin-right: -0;
}
.home-case .row > div {
  padding-left: 0;
  padding-right: 0;
}
.home-case .case-item {
  position: relative;
  display: block;
  padding-top: 150%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}
.home-case .case-item .text {
  position: absolute;
  left: 0;
  bottom: 0;
  padding-top: 2em;
  padding-bottom: 1em;
  width: 100%;
  font-size: .875rem;
  line-height: 1;
  text-align: center;
  color: #fff;
  background-image: -webkit-linear-gradient(top,rgba(0,0,0,.8) 0,rgba(0,0,0,.0001) 100%);
  background-image: -moz-linear-gradient(top,rgba(0,0,0,.8) 0%,rgba(0,0,0,.0001) 100%);
  background-image: -o-linear-gradient(top,rgba(0,0,0,.8) 0,rgba(0,0,0,.0001) 100%);
  background-image: linear-gradient(to top,rgba(0,0,0,.8) 0,rgba(0,0,0,.0001) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=0);
}

.home-news {
  padding-bottom: 2rem;
}
.home-news ul {
  padding: 0;
  list-style: none;
}
.home-news ul li {
  margin-bottom: 30px;
}
.home-news li a {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  height: 100%;
  text-decoration: none;
  background-color: #fff;
}
.home-news li a .image {
  width: 100%;
  overflow: hidden;
}
.home-news li a .image span {
  display: block;
  padding-top: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: transform .3s;
}
.home-news li a:hover .image span {
  transform: scale(1.05);
}
.home-news li a h4 {
  margin: 0;
  padding: 15px;
  width: 100%;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #252525;
}
.home-news li a p {
  font-size: .875rem;
  width: 100%;
  padding: 0 15px;
  color: #999;
}
.home-news li a .extra {
  padding-right: 15px;
  padding-left: 15px;
  align-self: flex-end;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.home-news li a .extra .date {
  color: #999;
}
.home-news li a .extra .more {
  position: relative;
  margin-right: 10px;
  padding-right: 1.5em;
  color: #666;
  opacity: 0;
  transition: margin-right .3s, opacity .3s;
}
.home-news li a:hover .extra .more {
  margin-right: 0;
  opacity: 1;
}
.home-news li a .extra .more::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1em;
  height: 1px;
  background-color: #999;
  transition: right .3s;
}
.home-news li a .extra .more::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 3.5px);
  width: 7px;
  height: 7px;
  border: 1px solid transparent;
  border-top-color: #999;
  border-right-color: #999;
  transform: rotate(45deg);
  transition: right .3s;
}

@media (min-width: 768px) {    
  .home-banner .carousel-item {
    padding-top: 640px;
  }
  .home-banner .go-down {
    display: none;
  }
  h2 {
    padding-top: 5rem;
    padding-bottom: 5rem;
    font-size: 2rem;
    text-align: left;
  }
  h2 .btn {
    padding-right: 1.5rem;
    border-color: transparent;
    transition: color .3s;
  }
  h2 .btn::before {
    content: "";
    position: absolute;
    right: 5px;
    top: 50%;
    width: 1em;
    height: 1px;
    background-color: #999;
    transition: right .3s;
  }
  h2 .btn::after {
    content: "";
    position: absolute;
    right: 5px;
    top: calc(50% - 3.5px);
    width: 7px;
    height: 7px;
    border: 1px solid transparent;
    border-top-color: #999;
    border-right-color: #999;
    transform: rotate(45deg);
    transition: right .3s;
  }
  h2 .btn:hover {
    border-color: transparent;
  }
  h2 .btn:hover::before {
    right: 0;
    background-color: #666;
  }
  h2 .btn:hover::after {
    right: 0;
    border-top-color: #666;
    border-right-color: #666;
  }


  .home-about {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .home-about p {
    margin-top: -4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    font-weight: 400;
    line-height: 2;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .home-about p .more {
    color: rgba(255,255,255,.5);
  }
  .home-about p .more a {
    color: inherit;
  }

  .home-product {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .home-product ul li a .text-wrapper {
    height: 8rem;
  } 
  .home-product ul li a .text-wrapper .text {
    bottom: 2rem;
    font-size: 1rem;
    transition: bottom .3s ease-in-out;
  }
  .home-product ul li a:hover .text-wrapper .text {
    bottom: 3rem;
  }
  .home-product ul li a .text-wrapper .btn {
    display: none;
    margin-top: 4rem;
    padding: .5rem 1.5rem;
    font-size: .875rem;
    background-color: rgba(255,255,255.8);
    border-radius: 1px;
    opacity: 0;
    transition: opacity .3s ease-in-out;
  }
  .home-product ul li a:hover .text-wrapper .btn {
    opacity: 1;
    vertical-align: middle;
  }
  .home-product ul li a .text-wrapper .btn img {
    margin-top: -3px;
    margin-left: .5rem;
    vertical-align: middle;
  }
  
  .home-case {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }  
  .home-case .case-item .text {
    bottom: -4rem;
    font-size: 1rem;
    opacity: 0;
    transition: all .3s ease-in-out;
  }
  .home-case .case-item:hover .text {  
    bottom: 0; 
    opacity: 1;
  } 

  .home-news {    
    padding-bottom: 4rem;
  }
}
@media (min-width: 992px) {  
  .home-product ul li a .text-wrapper .text {
    font-size: 1.125rem;
  }

  .home-case .btn-more {
    margin-top: 3rem;
  }

  .home-news ul li:nth-child(n+4) {
    display: none;
  }
}
@media (min-width: 1200px) {
  .home-product ul li a .text-wrapper .text {
    font-size: 1.25rem;
  }
}
@media (min-width: 1530px) {
}
@media (min-width: 1560px) {    
  .home-product ul {    
    margin-left: -15px;
    margin-right: -15px;
  }
  .home-product ul li {
    padding-left: 15px;
    padding-right: 15px;
  } 
}