/** styles for index page **/

.banner {
  width: 100%;
  height: 37.5rem;
  margin: 7.5rem 0 4rem;
  color: #fff;
  background-image: linear-gradient(to left, #6b7bd0, #334abf);
}

.ban-bj {
  background: url(../img/Inside-banner.jpg) no-repeat center;
  width: 100%;
   height: 100%;
}

.ban-text {
  font-size: 2.7rem;
  text-transform: uppercase;
  float: left;
  padding: 9.5rem 0 0 10%;
}

.ban-text h1 {
  font-size: 4.8rem;
}

.ban-text p {
  padding-top: 2rem;
  position: relative;
}

.ban-text p::before {
  content: '';
  background: #fdaf4c;
  width: 13.13rem;
  height: 1rem;
  position: absolute;
  bottom: -4rem;
  left: 0;
}

.ban-img {
  float: right;
  padding: 2rem 6% 0 0;
}

.company-box {
  padding-bottom: 4rem;
}

.company-box ul li {
  width: 100%;
  display: flex;
  box-shadow: 0 0 10px rgba(153, 153, 153, 0.3);
  height: 15rem;
  box-sizing: border-box;
  padding: 2.5rem;
  margin-bottom: 3.12rem;
}

.company-date {
  width: 12.5rem;
  height: 10rem;
  background: #4f638f;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  font-size: 1.62rem;
  float: left;
}

.company-date p:first-child {
  font-size: 2.87rem;
  background: url(../img/company-02.jpg) no-repeat center bottom;
  padding: 1rem 0;
  margin-bottom: 0.8rem;
}

.company-text {
  padding: 0 3rem;
  float: left;
  font-size: 1.25rem;
  flex: 1;
  box-sizing: border-box;
  line-height: 2.25rem;
}

.company-text p a {
  width: 100%;
  display: inline-block;
}

.company-text p:first-child a {
  color: #333;
  font-size: 2.2rem;
  padding-bottom: 1rem;
}

.company-text p:last-child a {
  color: #999;
}

.company-text p:first-child:hover a {
  color: #4f638f;
}

@media screen and (max-width: 1680px) {

}

@media screen and (max-width: 1440px) { 
  .banner {
    height: 30rem;
  }

  .ban-text {
    font-size: 2rem;
    text-transform: uppercase;
    float: left;
    padding: 7.5rem 0 0 10%;
  }
  
  .ban-text h1 {
    font-size: 4rem;
  }

  .ban-text p::before {
    content: '';
    background: #fdaf4c;
    width: 13.13rem;
    height: 0.7rem;
    position: absolute;
    bottom: -3rem;
    left: 0;
  }

  .ban-img img {
    width: 36rem;
  }

  .company-box ul li {
    margin-bottom: 2rem;
    padding: 2rem;
    height: 14rem;
  }

  .company-date {
    width: 12rem;
  }

  .company-date p:first-child {
    font-size: 2.6rem;
  }

  .company-text p:first-child a {
    font-size: 1.6rem;
  }

  .company-text {
    font-size: 1rem;
    padding: 0 2rem;
  }
}


@media screen and (max-width: 1080px) {
  
}


@media screen and (max-width: 750px) {
  .banner {
    margin-bottom: 2rem;
  }

  .ban-text {
    font-size: 1rem;
    padding: 3rem 0 0 10%;
  }
  
  .ban-text h1 {
    font-size: 2rem;
  }

  .ban-text p::before {
    height: 0.7rem;
    bottom: -3rem;
  }

  .ban-img {
    text-align: center;
    padding: 3rem 0 0 0;
  }

  .ban-img img {
    width: 80%;
  }

  .ban-text p {
    padding-top: 1rem;
  }

  .ban-text p::before {
    width: 10rem;
    height: 0.5rem;
    bottom: -1.5rem;
  }

  .company-box ul li {
    display: inline-block;
    height: auto;
    margin-bottom: 2rem;
  }

  .company-date {
    width: 100%;
    height: 9rem;
  }
  
  .company-date p:first-child {
    background-size: 90% 2px;
    font-size: 2.2rem;
  }

  .company-text {
    width: 100%;
    padding: 2rem 0 0 0;
    font-size: 1rem;
    line-height: 2rem;
  }

  .company-text p:first-child a {
    font-size: 1.6rem;
  }

  .company-box {
    padding-bottom: 2rem;
  }
}
