﻿#home-swiper .banner-animate{width: 100%;top: 50%;left: 50%;transform: translate(-50%, -50%);position: absolute;color: #fff;max-width: 1600px;padding: 0 70px;text-align: center;opacity: 0;}
#home-swiper .banner-animate .p1{font-size: var(--fontsize36,36px);font-weight: bold;}
#home-swiper .banner-animate .p2{font-size: var(--fontsize24,24px);max-width: 1000px;margin: auto;}
@media (max-width:1024px) {
#home-swiper .banner-animate .p1{font-size: 20px;}
#home-swiper .banner-animate .p2{font-size: 16px;}
}
@media (max-width:768px) {
#home-swiper .banner-animate .p2{display: none;}
#home-swiper .banner-animate .p1{font-size: 16px;}
}

.swiper-slide-active .banner-animate{animation: wkbanner .5s forwards;animation-delay: .7s;}
@keyframes wkbanner{
0%   {margin-top: 50px;opacity: 0;}
100%  {margin-top: 0;opacity: 1;}}
@-webkit-keyframes wkbanner {
0%   {margin-top: 50px;opacity: 0;}
100%  {margin-top: 0;opacity: 1;}}

