/* home_banner */
/* ............................................ */
.home_banner {
  height: 600px;
}
.home_banner .text {
  width: 31%;
  position: absolute;
  left: 55px;
  top: 73px;
  z-index: 1;
}
.home_banner .photoWrap {
  background-color: #ebebeb;
  width: 660px;
  height: 440px;
  position: absolute;
  right: 40px;
  top: 50px;
  z-index: 1;
}
.home_banner .photoWrap li {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
  z-index: -1;
}
.home_banner .photoWrap li.active {
  opacity: 1;
  z-index: 1;
}
.home_banner .photoWrap li:hover {
  filter: brightness(1.1);
}
.home_banner .content {
  position: absolute;
  top: 345px;
  z-index: 1;
  font-size: 20px;
  width: 40%;
}
.home_banner .content li {
  display: none;
}
.home_banner .content li.active {
  display: block;
}
.home_banner .content_dots {
  position: absolute;
  top: 400px;
  z-index: 1;
  font-size: 20px;
  width: 40%;
}
.home_banner .content_dots li {
  width: 13px;
  height: 13px;
  background-color: #7a7a7a;
  display: inline-block;
  transform: rotate(45deg);
  margin: 6px;
  cursor: pointer;
}
.home_banner .content_dots li.active {
  background-color: #d82b2b;
}
.home_banner .gradient-bg {
  background: linear-gradient(to bottom, #e8aeb0 0%, #ffffff 100%);
  width: 100%;
  height: 50%;
  position: absolute;
  bottom: 0;
  z-index: 0;
  opacity: 0.5;
  z-index: -2;
}

/* service */
/* ............................................ */
.home_service .in {
  display: flex;
  text-align: left;
  padding: 60px;
  padding-top: 0;
  padding-bottom: 0;
  flex-direction: row-reverse;
}
.home_service .in .left {
  flex: 0 0 46%;
}
.home_service .in .left .photo {
  background-color: #e9e9e9;
  width: 85%;
  padding-bottom: 128%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 5px;
}
.home_service .in .right {
  flex: 1;
}
.home_service .in .right h3 {
  font-size: 50px;
  font-family: serif;
}
.home_service .in .right h2 {
  margin-bottom: 30px;
}
.home_service .in .right .each {
  background-color: #f9f9f9;
  padding: 25px;
  margin-bottom: 25px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.home_service .in .right .each:hover {
  transform: translateX(20px);
}
.home_service .in .right .each .icon {
  background-color: #d1a3a3;
  width: 130px;
  height: 130px;
  background-size: cover;
  display: inline-block;
  vertical-align: top;
  margin-right: 27px;
}
.home_service .in .right .each .content {
  display: inline-block;
  vertical-align: top;
}
.home_service .in .right .each .content .thetitle {
  font-size: 26px;
  margin-bottom: 10px;
}
.home_service .in .right .each .content .thetext {
  line-height: 1.7;
  font-size: 15px;
  color: #555;
}

/* news */
/* ............................................ */
.home_news .in {
  display: flex;
  text-align: left;
  padding: 60px;
  padding-top: 30px;
}
.home_news .in .left {
  flex: 0 0 200px;
}
.home_news .in .left h3 {
  font-size: 50px;
  font-family: serif;
}
.home_news .in .right {
  flex: 1;
}
.home_news .btn {
  background-color: #5d5d5d;
  color: #FFF;
  text-align: center;
  width: 300px;
  margin: auto;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  margin-top: 30px;
}
.home_news .class_wrap {
  text-align: right;
  color: #5a5a5a;
  margin-bottom: 14px;
}
.home_news .class_wrap li {
  display: inline-block;
  border: 1px solid transparent;
  padding-left: 15px;
  padding-right: 15px;
  height: 33px;
  line-height: 33px;
  margin-right: 5px;
}
.home_news .class_wrap li.thebtn {
  display: inline-block;
  border: 1px solid #aeaeae;
  padding-left: 15px;
  padding-right: 15px;
  height: 33px;
  line-height: 33px;
  cursor: pointer;
}
.home_news .class_wrap li.thebtn:hover {
  background-color: #616161;
  color: #FFF;
}
.home_news .class_wrap li.thebtn.active {
  background-color: #000;
  border-color: #000;
  color: #FFF;
}

/* links */
/* ............................................ */
.home_links {
  padding: 50px 0 90px;
  background-color: #f9f9f9;
}
.home_links .title_wrap {
  text-align: center;
  margin-bottom: 55px;
}
.home_links .title_wrap h4 {
  color: #000;
  font-size: 44px;
  font-family: serif;
  font-weight: normal;
  margin-bottom: 10px;
}
.home_links .title_wrap h3 {
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.home_links .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 24px;
}
.home_links .list > a {
  width: calc(25% - 18px);
  min-width: 180px;
  text-align: center;
}
.home_links .list .each {
  padding: 12px 10px;
}
.home_links .list .photo {
  width: 150px;
  height: 110px;
  margin: 0 auto 18px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.home_links .list .name {
  color: #111;
  font-size: 16px;
  line-height: 1.6;
}
.home_links .list > a:hover .photo {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}
.home_links .list > a:hover .name {
  color: #c64040;
}

@media (max-width: 900px) {
  .home_links .list > a {
    width: calc(50% - 18px);
  }

  .home_links .title_wrap h3 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .home_links {
    padding: 40px 0 60px;
  }

  .home_links .title_wrap {
    margin-bottom: 34px;
  }

  .home_links .title_wrap h4 {
    font-size: 30px;
    margin-bottom: 6px;
  }

  .home_links .title_wrap h3 {
    font-size: 20px;
    letter-spacing: 0;
    margin-bottom: 0;
  }

  .home_links .list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 10px;
    padding: 30px;
  }

  .home_links .list > a {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .home_links .list .photo {
    width: 110px;
    height: 86px;
  }

  .home_links .list .name {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* animates */
/* -----------------------------------*/
.gradient-bg {
  animation: gradientbg 1s ease-out;
  -webkit-animation: gradientbg 1s ease-out;
}

@keyframes gradientbg {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}
/* animates01 */
.animates01 {
  opacity: 0;
}
.animates01.active {
  opacity: 1;
  animation: animates01 0.6s ease-out;
  -webkit-animation: animates01 0.6s ease-out;
}

@keyframes animates01 {
  0% {
    opacity: 0;
    transform: translate(0px, 50px);
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}
/* animates02 */
.animates02 {
  opacity: 0;
}
.animates02.active {
  opacity: 1;
  animation: animates02 0.6s ease-out;
  -webkit-animation: animates02 0.6s ease-out;
}

@keyframes animates02 {
  0% {
    opacity: 0;
    transform: translate(0px, 50px);
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}
/* animates03 */
.animates03 {
  opacity: 0;
}
.animates03.active {
  opacity: 1;
  animation: animates03 0.6s ease-out;
  -webkit-animation: animates03 0.6s ease-out;
}

@keyframes animates03 {
  0% {
    opacity: 0;
    transform: translate(0px, 50px);
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}
/*  rwd  */
/* -----------------------------------*/
@media screen and (max-width: 1080px) {
  .home_banner {
    height: auto;
  }
  .home_banner .text {
    width: 42%;
    position: relative;
    left: 0px;
    top: 0px;
    z-index: 1;
    display: block;
    margin-left: 35px;
  }
  .home_banner .photoWrap {
    background-color: #ebebeb;
    width: 90%;
    height: 53vw;
    position: relative;
    right: 0px;
    top: 0;
    z-index: 1;
    left: 10%;
    margin-top: 10px;
  }
  .home_banner .gradient-bg {
    top: 46vw;
  }
  .home_banner .content_dots {
    position: relative;
    top: 0px;
    z-index: 1;
    font-size: 20px;
    width: 40%;
    margin: auto;
    margin-top: 16px;
  }
  .home_banner .content {
    position: relative;
    top: -11px;
    z-index: 1;
    font-size: 15px;
    width: 80%;
    margin: auto;
    margin-top: 20px;
    letter-spacing: 1px;
    text-align: left;
  }
  .home_banner .text {
    width: 55%;
    position: relative;
    left: 0px;
    top: auto;
    z-index: 1;
    display: block;
    margin-left: 36px;
    margin-top: 80px;
    margin-bottom: 22px;
  }
  /* home_news */
  .home_news .in {
    display: block;
    text-align: center;
    padding: 30px;
    padding-top: 0;
  }
  .home_news .in .left h3 {
    font-size: 30px;
  }
  .home_news .in .left h4 {
    font-size: 20px;
  }
  /* home_service */
  .home_service .in .right h3, .home_service .in .right h2 {
    text-align: center;
    margin-right: 40px;
  }
  .home_service .in .right h3 {
    font-size: 30px;
  }
  .home_service .in .right h4 {
    font-size: 20px;
  }
  .home_service .in {
    display: block;
    padding: 30px;
    padding-right: 0px;
    padding-top: 10px;
  }
  .home_service .in .left .photo {
    width: calc(100% - 40px);
    padding-bottom: 107%;
  }
  .home_service .in .right .each {
    padding: 18px;
    padding-bottom: 30px;
  }
  .home_service .in .right .each .icon {
    width: 70px;
    height: 70px;
    margin-right: 10px;
  }
  .home_service .in .right .each .content {
    width: calc(100% - 100px);
  }
  .home_service .in .right .each .content .thetext {
    font-size: 14px;
  }
  .home_service .in .right .each .content .thetitle {
    font-size: 18px;
    margin-bottom: 10px;
    margin-left: 12px;
  }
  .home_news .class_wrap {
    text-align: center;
    font-size: 14px;
  }
  .home_news .class_wrap li.thebtn {
    display: inline-block;
    border: 1px solid #aeaeae;
    padding-left: 10px;
    padding-right: 10px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    margin-right: 0px;
  }
  .home_news .class_wrap {
    margin-bottom: 7px;
  }
  .home_news .class_wrap li {
    display: none;
  }
  .home_news .in .right {
    margin-top: 20px;
  }
}
