@charset "utf-8";
/* aesthetic */
#features .con {
  display: flex;
  justify-content: space-between;
  margin: 60px auto 0;
  width: 70%;
  min-width: 920px;
}
#features .con .li {
  width: 23%;
}
#features .con .li .img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
#features .con .li .img img {
  display: block;
  width: 100%;
  min-height: 320px;
  background: no-repeat center;
  background-size: cover;
}
#features .con .li .img .txt {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 100%;
  background: #0009;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
#features .con .li .img .txt .box {
  width: 90%;
  line-height: 1.5em;
  text-align: justify;
  color: #fff;
}
#features .con .li .img .txt .box .close {
  display: none;
}
#features .con .li .name {
  margin: auto;
  padding: 20px 0;
  font-size: 18px;
  font-weight: bold;
}
#features .con .li.hover .img .txt {
  top: 0;
}
#courses .con {
  display: flex;
  justify-content: space-between;
  margin: 60px auto 0;
  width: 70%;
  min-width: 920px;
}
#courses .con .li {
  width: 23%;
  padding: 20px 0;
  min-height: 300px;
  border-radius: 20px;
  background: #e61f41;
  color: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
#courses .con .li .box {
  width: 80%;
}
#courses .con .li .name {
  padding: 10px 0;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.3s;
}
#courses .con .li .info {
  display: none;
  padding: 0 0 10px;
  text-align: justify;
  line-height: 1.5em;
}
#courses .con .li:nth-child(4n+0) {
  background: #fc6d6d;
}
#courses .con .li:nth-child(4n+1) {
  background: #f5d67c;
}
#courses .con .li:nth-child(4n+2) {
  background: #8ad0b8;
}
#courses .con .li:nth-child(4n+3) {
  background: #f6cfb1;
}
#courses .con .li.hover .name {
  font-size: 18px;
}
#class_type .con {
  display: flex;
  justify-content: space-between;
  margin: 60px auto 0;
  width: 70%;
  min-width: 920px;
}
#class_type .con .li {
  position: relative;
  width: 20%;
}
#class_type .con .li .img img {
  display: block;
  margin: auto;
  width: 120px;
}
#class_type .con .li .name {
  padding: 20px 0;
  font-size: 16px;
  font-weight: bold;
}
#class_type .con .li .info {
  text-align: justify;
  color: #999;
}
#class_type .con .li::before {
  content: '';
  border-left: 1px solid #ddd;
  position: absolute;
  left: -20%;
  top: 10%;
  height: 80%;
}
#class_type .con .li:first-child::before {
  display: none;
}
#class_type .con .li a:hover .img img {
  animation: shake 0.5s;
}
#teacher .con {
  position: relative;
  margin: auto;
  padding: 30px 120px 0;
  width: 75%;
  min-width: 920px;
}
#teacher .con .swiper-slide a {
  margin: 30px auto;
  display: block;
  width: 90%;
}
#teacher .con .swiper-slide a .box1 {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #333;
}
#teacher .con .swiper-slide a .box1 .img {
  transition: all 0.3s;
}
#teacher .con .swiper-slide a .box1 .img img {
  display: block;
  width: 100%;
  background-position: center;
  background-size: cover;
}
#teacher .con .swiper-slide a .box2 {
  padding: 20px 10px;
}
#teacher .con .swiper-slide a .box2 p {
  margin: 0;
}
#teacher .con .swiper-slide a .box2 p.name {
  font-size: 16px;
  font-weight: bold;
}
#teacher .con .swiper-slide a .box2 p.info {
  padding: 10px 0 0;
  color: #999;
}
#teacher .con .swiper-slide a:hover .box1 .img {
  transform: scale(1.1);
}
#teacher .more {
  margin-top: 20px;
}
#works .con {
  position: relative;
  margin: auto;
  padding: 30px 120px 0;
  width: 75%;
  min-width: 920px;
}
#works .con .list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}
#works .con .list a {
  display: block;
  width: 23%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
#works .con .list a img {
  display: block;
  width: 100%;
  background: no-repeat center;
  background-size: cover;
}
#works .con .list a:hover {
  box-shadow: 5px 5px 5px #0002;
}
/*手机版*/
@media screen and (max-width: 800px) {
  #features .con {
    flex-wrap: wrap;
    margin: 60px auto 0;
    width: 85%;
    min-width: auto;
  }
  #features .con .li {
    width: 48%;
  }
  #features .con .li .img {
    position: relative;
    border-radius: 10px;
    overflow: visible;
  }
  #features .con .li .img img {
    height: 30vw;
    min-height: auto;
    border-radius: 10px;
  }
  #features .con .li .img .txt {
    display: none;
    position: fixed;
    z-index: 500;
    left: 0;
    top: 0;
    background: #0009;
    transition: all 0s;
  }
  #features .con .li .img .txt .box {
    position: relative;
    width: 80%;
    padding: 30px 5%;
    border-radius: 10px;
    background: #fff;
    color: #666;
  }
  #features .con .li .img .txt .box .close {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    background: #e61f41 url(../images/ico_close.png) no-repeat center;
    background-size: 16px;
  }
  #features .con .li .name {
    padding: 10px 0 20px;
    font-size: 16px;
  }
  #features .con .li.hover .img .txt {
    display: flex;
  }
  #courses .con {
    display: block;
    margin: 30px auto 0;
    width: 85%;
    min-width: auto;
  }
  #courses .con .li {
    margin: 10px 0;
    width: 100%;
    padding: 20px 0;
    min-height: auto;
    border-radius: 10px;
    overflow: visible;
  }
  #courses .con .li .box {
    width: 100%;
  }
  #courses .con .li .name {
    font-size: 20px;
  }
  #courses .con .li .info {
    padding: 0 20px 10px;
    text-align: justify;
    line-height: 1.5em;
  }
  #courses .con .li.hover .name {
    font-size: 18px;
  }
  #class_type .con {
    display: block;
    margin: 60px auto 0;
    width: 85%;
    min-width: auto;
  }
  #class_type .con .li {
    padding-bottom: 10px;
    width: 100%;
  }
  #class_type .con .li .img {
    float: left;
  }
  #class_type .con .li .img img {
    width: 60px;
  }
  #class_type .con .li .name {
    margin-left: 70px;
    padding: 10px 0;
    text-align: left;
    color: #e61f41;
  }
  #class_type .con .li .info {
    margin-left: 70px;
  }
  #teacher .con {
    padding: 30px 0 0;
    width: 100%;
    min-width: auto;
  }
  #teacher .con .swiper-slide a {
    margin: auto;
    width: 85%;
  }
  #teacher .con .swiper-arrow {
    display: none;
  }
  #teacher .more {
    margin: 0 auto 20px;
  }
  #works .con {
    padding: 0 0 20px;
    width: 85%;
    min-width: auto;
  }
  #works .con .list a {
    width: 48%;
  }
  #works .con .list a:nth-child(3),
  #works .con .list a:nth-child(4) {
    display: none;
  }
}
