.banner {
  height: 600px;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: myfirst 20s linear infinite;
}
@keyframes myfirst {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@-moz-keyframes myfirst {
  /* Firefox */
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes myfirst {
  /* Safari and Chrome */
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@-o-keyframes myfirst {
  /* Opera */
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.tit {
  display: flex;
  justify-content: center;
  position: relative;
}
.tit::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
}
.tit a p {
  margin: 0 2rem;
  font-size: 1rem;
  margin-top: 3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  cursor: pointer;
}
.tit a p p:hover {
  border-bottom: 2px solid #5dc9df;
}
.tit a:last-of-type p {
  border-bottom: 2px solid #5dc9df;
}
.main-1 .tab .oneul {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 4rem;
}
.main-1 .tab .oneul .oneli {
  margin: 0 1rem;
  position: relative;
}
.main-1 .tab .oneul .oneli a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid #fff;
  background: #fff;
  position: relative;
  border: 1px solid #5dc9df;
  cursor: pointer;
}
.main-1 .tab .oneul .oneli .towul {
  display: none;
  position: absolute;
  margin-left: 50%;
  transform: translateX(-50%);
}
.main-1 .tab .oneul .oneli .towul .towli {
  margin: 0.5rem;
  cursor: pointer;
}
.main-1 .tab .oneul .oneli .towul .towli p {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  white-space: nowrap;
  border: 1px solid #5dc9df;
  transition: all 0.4s ease;
}
.main-1 .tab .oneul .oneli .towul .towli p:hover {
  background: linear-gradient(90deg, #66c4a4 0%, #5dc9df 100%), linear-gradient(#5dc9dd, #5dc9dd);
  color: #fff;
}
.main-1 .tab .oneul .oneli .towul .towli.on p {
  background: linear-gradient(90deg, #66c4a4 0%, #5dc9df 100%), linear-gradient(#5dc9dd, #5dc9dd);
  color: #fff;
}
.main-1 .tab .oneul .oneli.active a {
  background: linear-gradient(90deg, #66c4a4 0%, #5dc9df 100%), linear-gradient(#5dc9dd, #5dc9dd);
  color: #fff;
}
.main-1 .tab .oneul .oneli.active a::before {
  transform: rotate(135deg);
  background-color: #fff;
}
.main-1 .tab .oneul .oneli.active a::after {
  transform: rotate(225deg);
  background-color: #fff;
}
.main-1 .tab .oneul .oneli:hover h1 {
  background: linear-gradient(90deg, #66c4a4 0%, #5dc9df 100%), linear-gradient(#5dc9dd, #5dc9dd);
  color: #fff;
}
.main-1 .tab .oneul .oneli:hover h1::before {
  transform: rotate(135deg);
}
.main-1 .tab .oneul .oneli:hover h1::after {
  transform: rotate(225deg);
}
.main-1 .tab .oneul .oneli:hover .towul {
  display: flex;
}
.main-1 .tabcontent {
  margin-bottom: 5rem;
}
.main-1 .tabcontent .con {
  display: none;
  flex-wrap: wrap;
}
.main-1 .tabcontent .con .item {
  display: block;
  width: calc(88% / 4);
  margin-right: 4%;
  overflow: hidden;
  margin-top: 3rem;
}
.main-1 .tabcontent .con .item img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  background-color: #999;
  transition: all 0.4s ease;
}
.main-1 .tabcontent .con .item:nth-of-type(4n) {
  margin-right: 0;
}
.main-1 .tabcontent .con .item:hover img {
  transform: scale(1.1);
}
.main-1 .tabcontent .con.on {
  display: flex;
}
@media screen and (max-width: 768px) {
  .banner {
    height: 12rem;
    margin-top: 50px;
  }
  .tit {
    margin-top: 2rem;
  }
  .tit a p {
    margin: 0 0.5rem;
  }
  .main-1 .tab .oneul {
    width: 100%;
    overflow: scroll;
    justify-content: unset;
    padding-bottom: 3rem;
  }
  .main-1 .tab .oneul .oneli {
    margin: 0;
    width: 35%;
    flex-shrink: 0;
    margin: 0 0.5rem;
  }
  .main-1 .tab .oneul .oneli h1::before {
    display: none;
  }
  .main-1 .tab .oneul .oneli h1::after {
    display: none;
  }
  .main-1 .tabcontent .con.on {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .main-1 .tabcontent .con.on .item {
    width: 49%;
    margin-right: 0;
    margin-top: 1rem;
  }
  .main-1 .tabcontent .con.on .item img {
    height: 16rem;
  }
}
