.slider {
    background:#908eef;
    height: 105pt;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    cursor: default;
    user-select: none;
    touch-action: none;
}

.slider:before {
    left: 0;
    top: 0;
}
.slider:after,
.slider:before {
    
    content: "";
    height: 105pt;
    position: absolute;
    width: 300px;
    z-index: 2;
}
.slider:after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.slider:after,
.slider:before {
   
    content: "";
    height: 105pt;
    position: absolute;
    width: 300px;
    z-index: 2;
}

.slider .slide-track-1 {
    animation: scroll-l 30s linear infinite;
    display: flex;
    width: 4000px;
}
.slider .slide-track-2 {
    animation: scroll-r 30s linear infinite;
    display: flex;
    width: 4000px;
}

.slider .slide {
    height: 105pt;
    width: 300px;
    display: flex;
    align-items: center;
    text-align: center;
}
.slider .slide img {
    width: 180px;
    padding: 1pc;
    vertical-align: middle;
    margin: 0 auto;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/*-------------------------------------------------------------------------------------------------------------*/


.slider2 {
    background:#ffffff;
   width: 667px;
    margin: 0 auto;
  
    position: relative;
    cursor: default;
    user-select: none;
    touch-action: none;
    width: min-content;
}

.slider2:before {
    left: 0;
    top: 0;
}
.slider2:after,
.slider2:before {
    
    content: "";
   
    position: absolute;
  
    z-index: 2;
}
.slider2:after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.slider2:after,
.slider2:before {
   
    content: "";
    
    position: absolute;
 
    z-index: 2;
}

.slider2 .slide-track-1 {
    animation: scroll-l 75s linear infinite;
    display: flex;
    width: 4000px;
}
.slider2 .slide-track-2 {
    animation: scroll-r 30s linear infinite;
    display: flex;
    width: 4000px;
}

.slider2 .slide {
  
   
    display: flex;
    align-items: center;
    text-align: center;
}
.slider2 .slide img {
  width: 720px;
    padding: 1pc;
    vertical-align: middle;
    margin: 0 auto;
    display: inline-block;
    
    
}




@keyframes scroll-l {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 8));
    }
}
@keyframes scroll-r {
    100% {
        transform: translateX(0);
    }
    0% {
        transform: translateX(calc(-300px * 8));
    }
}