body {
  /* letter-spacing: 0.15rem; */
}

.a_img img {
  width: 100%;
  height: auto;
  min-width: 100%;
  box-shadow: 3px 3px 3px rgba(233, 233, 233, 0.507);
}

.indexNews-text {
  position: relative;
  width: 100%;
  padding: 0 15px;
  text-align: center;
  /* border-top: 3px solid gainsboro; */
  margin: 0px auto;
  padding: 8px 32px;
  margin-top: 16px;
  
  /* clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%); */
}

.indexNews-text::after{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgb(236, 236, 236);
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  transition: all .3s ease-in-out;
}

.indexNews-text:hover::after{
  background-color: var(--main-color);
}


.line-height-limit{
  position: relative;
  z-index: 10;
  color: #606060;
}

.indexNews-text:hover .line-height-limit{
  color: #fff;
}

.indexNews-text p {
  line-height: 1.8;
  margin-bottom: 0;
}
@media all and (min-width: 320px) {
  .indexNews-text p {
    font-size: 18px;
  }
}
@media all and (min-width: 576px) {
  .indexNews-text p {
    font-size: 22px;
  }
}

.news_in {
  background-image: none !important;
}

.news_mask,.index-product {
  background-image: none !important;
  background-color: whitesmoke !important;
}

.about {
  position: relative;
  padding: 100px 0;
  background-attachment: fixed;
  background-position: left top;
  background-size: cover;
  background-color: #f3f3f3;
}

.about .container{
  position: relative;
  z-index: 5;
}
.about .ab_text {
  padding:0px 32px;
}

.about .ab_text h2 {
  color: var(--main-color);
  font-weight: 600;
}
.about .ab_text a {
  display: inline-block;
  color: #fff;
  padding: 8px;
  margin-top: 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 5px;
  min-width: 150px;
  width: max-content;
  display: flex;
  justify-content: center;
  margin-left: auto;
}
.about .ab_text a:hover {
  background-color: #fff;
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.index-product {
  position: relative;
}

.index-product > .container {
  position: relative;
  z-index: 2;
}

.pf li {
  float: left;
  list-style-position: inside;
  color: white;
  border: 1px solid #6f6f6f;
  list-style-image: none;
  list-style-type: none;
  margin-top: 5px;
  margin-right: 10px;
  margin-left: 0px;
  margin-bottom: 5px;
  padding: 5px;
}

ul.pf {
  padding-left: 0px !important;
  margin-top: 25px;
  display: block;
}

section.slogan {
  position: relative;
  padding: 60px 0px;
  background-image: url(../images/slogan.webp) !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

section.slogan::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #413f3f94;
}

section.slogan .container{
  position: relative;
  z-index: 10;
}
section.slogan .slogan-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
section.slogan .slogan-box .slogan-img {
  width: 500px;
}
section.slogan .slogan-box .slogan-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  /* margin-top: 100px;
  margin-left: -50px; */
  padding: 30px;

}
section.slogan .slogan-box h2 {
  color: whitesmoke;
  border-left: 5px solid var(--main-color);
  font-weight: bolder;
  text-align: left;
  margin-bottom: 20px;
  line-height: 1;
  font-size: 32px;
  padding: 3px 0px;
  padding-left: 10px;
}
section.slogan .slogan-box h3 {
  color: whitesmoke;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.about {
  background-image: none !important;
}

@media (max-width: 991px) {
  section.slogan .slogan-box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-top: 50px;
  }
  section.slogan .slogan-box .slogan-img {
    width: 100%;
  }
  section.slogan .slogan-box .slogan-text {
    margin: 0;
  }
}

.index-slider {
  position: relative;
  /* height: 100vh; */
}

.index-slider img{
  /* height: 100vh; */
  object-fit: cover;
}
.index-slider .carousel-caption {
  padding-bottom: 60px;
  z-index: 3;
  font-family: Arial;
  height: 100%;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
          /* opacity: 0;
          z-index: -1; */
}
@media all and (min-width: 576px) {
  .index-slider .carousel-caption {
    max-width: 540px;
  }
}
@media all and (min-width: 768px) {
  .index-slider .carousel-caption {
    max-width: 720px;
  }
}
@media all and (min-width: 992px) {
  .index-slider .carousel-caption {
    max-width: 960px;
  }
}
@media all and (min-width: 1200px) {
  .index-slider .carousel-caption {
    max-width: 1200px;
    width: 100%;
    left: 50%;
    right: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
  }
}
.index-slider .carousel-caption h5 {
  font-size: 45px;
  text-align: left;
  /*padding: 0 5px;*/
}
.index-slider .carousel-caption p {
  font-size: 18px;
  text-align: left;
  text-shadow: 1px 1px 3px #333;
}
@media all and (min-width: 1750px) {
  .index-slider img {
    height: 100vh;
    /* height: max-content; */
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.index-slider::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
}

.ab_text p{
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8; 
  -webkit-box-orient: vertical;
  white-space: normal;
}

.about .ab_text h2{
  margin-bottom: 32px;
}

.about .ab_text a{
  border: 1px solid var(--main-color);
  background-color: #fff;
  color: var(--main-color);
  margin: 0px auto;
  margin-top: 32px;
}

.about .ab_text a:hover{
  background-color: var(--main-color);
  color: #fff;

}

main{
  display: flex;
  flex-direction: column;
}

.slogan {
  order: -1;
}

.news_in{
  order: -2;
}

.about{
  order: -3;
}

.index-product{
  order: -4;
}

.index-slider{
  order: -5;
}

.about img{
  height: auto !important;
}

.ind_date{
  display: none;
}

@media screen and (max-width:1750px) {
  .index-slider img{
    height: 55vw;
  }
}

@media screen and (max-width:768px) {
  .index-slider .carousel-caption{
    width: 100%;
    max-width:100%;
    position: relative;
    left: 0;
    right: 0;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .index-slider .carousel-caption h5{
    color: #333;
    font-size: 24px;
    text-align: center;
  }

  .index-slider .carousel-caption p{
    color: #333;
    font-size: 16px;
    text-align: center;
    text-shadow: none;
  }

  section.slogan .slogan-box h2{
    font-size: 24px;
  }

  .indexNews-text{
    margin-bottom: 24px;
  }
}