@import url(common.css);

.header {
  padding: 8px 16px;
  width: 100%;
}

.nav {
  margin: 0 auto;
  width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav .left {
  width: 220px;
}

.nav .left .logo {
  display: block;
  height: 40px;
}

.nav .right {
  display: flex;
  flex: 1;
}

.nav .right .menu {
  display: none;
  border: 0;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}

.nav .right .menu:hover {
  background: 0 0;
  opacity: 0.7;
}

.nav .right ul {
  display: flex;
  flex: 1;
  justify-content: space-around;
}

.nav .right ul li {
  line-height: 40px;
}

.nav .right a {
  display: block;
  padding: 8px 16px;
  font-size: 18px;
  font-weight: 500;
  color: #003a28;
  position: relative;
}

.nav .right a:hover:after {
  transform: scaleX(1);
}

.nav .right a:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #003a28;
  transform: scaleX(0);
  transition: transform 0.3s ease-out;
  transform-origin: center;
}

.mask {
  display: none;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: .5;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide .item {
  width: 100%;
  height: 600px;
}

.swiper-pagination-bullet-active {
  background: #fff
}

.brand {
  width: 1200px;
}

.brand h2 {
  font-size: 32px;
  text-align: center;
  padding: 32px;
  font-weight: 600;
  line-height: 2.2;
}

.brand .detail {
  display: flex;
}

.brand .content {
  display: flex;
  flex-direction: column;
}

.brand .content .title {
  font-family: 'jfyk';
  font-size: 32px;
  height: 60px;
  line-height: 60px;
}

.brand .content .subtitle {
  font-size: 20px;
  line-height: 2.2;
}

.brand .content p {
  margin-right: 32px;
  line-height: 2.2;
}

.brand .detail .img {
  height: 260px;
}

.product {
  width: 1200px;
  margin: 64px;
}

.product h2 {
  font-size: 32px;
  text-align: center;
  padding: 32px;
  font-weight: 600;
  line-height: 2.2;
}

.product .detail {
  display: flex;
}

.product .content {
  display: flex;
  flex-direction: column;
}

.product .content .title {
  font-family: 'jfyk';
  font-size: 32px;
  font-weight: 500;
  height: 60px;
  line-height: 60px;
}

.product .content p {
  margin-right: 32px;
  line-height: 2.2;
}

.product .content .p {
  margin-right: 0;
  margin-left: 32px;
  line-height: 2.2;
}


.product .detail .img {
  height: 260px;
}


.news {
  width: 1200px;
}

.news h2 {
  font-size: 32px;
  text-align: center;
  padding: 32px;
  font-weight: 600;
  line-height: 2.2;
}

.news .row {
  display: flex;
  margin-bottom: 24px;
}

.news .row .post {
  display: flex;
  flex-direction: column;
  margin: 8px;
  box-shadow: 0 0 45px rgba(0, 0, 0, .1);
  transition: .5s;
  -webkit-transition: .5s;
}

.news .row .post:hover {
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
}

.news .row .post .img {
  height: 400px;
}

.news .row .text {
  padding: 16px;
}

.news .row .dt {
  color: #666;
  font-size: 18px;
  line-height: 2;
}

.news .row .title {
  line-height: 2;
  font-size: 1.25em;
  font-weight: 600;
}

.news .row .content {
  line-height: 2;
}


footer {
  margin-top: 96px;
  padding: 64px;
  padding-bottom: 24px;
  width: 100%;
  color: #666;
  background-color: #eee;
}

footer .top {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
}

footer .top li {
  flex: 1;
}

footer .top li p {
  display: block;
  min-width: 250px;
  line-height: 2.2;
  font-weight: 500;
}


footer .top .title {
  height: 48px;
  line-height: 48px;
  font-weight: 600;
  vertical-align: bottom;
}

footer .top .img {
  width: 180px;
  height: 180px;
}

footer .bottom p {
  text-align: center;
  line-height: 1.8;
}


.show {
  width: 100%;
}

.company,
.dev,
.base,
.produce {
  width: 1200px;
  margin: 48px;
}

.company h2,
.dev h2,
.base h2,
.produce h2 {
  font-size: 32px;
  text-align: center;
  padding: 32px;
  font-weight: 600;
  line-height: 2;
}

.company .content,
.dev .content,
.base .content,
.produce .content {
  margin-right: 0;
  margin-left: 32px;
  line-height: 3;
}


.person,
.attract{
  width: 1200px;
  margin: 48px;
}

.person h2,
.attract h2 {
  font-size: 32px;
  text-align: center;
  padding: 32px;
  font-weight: 600;
  line-height: 2;
}

.person .detail{
  display: flex;
  flex-direction: row;
}

.person .detail .img{
  width:600px;
  margin:8px;
  flex: 1;
}

.attract .img {
  width: 1200px;
}


@media (max-width: 1024px) {
  .header {
    z-index: 9999;
    position: sticky;
    background-color: #fff;
    left: 0;
    top: 0;
  }

  .nav {
    width: 100%;
  }

  .nav .right {
    justify-content: flex-end;
  }

  .nav .right .menu {
    display: flex;
  }

  .nav .right ul {
    display: none;
  }

  .nav .right ul.dropdown {
    display: none;
    padding: 16px;
    position: absolute;
    right: 16px;
    top: 56px;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    width: 170px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    z-index: 99999;
  }

  .nav .right ul li {
    line-height: 30px;
  }

  .swiper-slide .item {
    height: auto;
    min-height: 200px;
  }

  .brand {
    width: 100%;
  }

  .brand .detail {
    margin: 0 16px;
    flex-direction: column;
  }

  .brand .detail .img {
    height: auto;
  }

  .product {
    width: 100%;
  }

  .product .detail {
    margin: 0 16px;
    flex-direction: column;
  }

  .product .detail .img {
    height: auto;
  }

  .news {
    width: 100%;
  }

  .news .row {
    flex-direction: column;
  }

  .news .row .post .img {
    height: auto;
    width: 100%;
  }

  .company,
  .dev,
  .base,
  .produce {
    width: 100%;
  }

  .person,
  .attract {
    width: 100%;
  }

  .person .detail{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .person .detail .img{
    height: auto;
    width: 100%;
  }

  footer .top {
    flex-wrap: wrap;
  }
}