/* スワイパーで使うクラス */
.swiper-wrapper {
width: 100%;
height: 300px;
}
.swiper-slide {
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 20px;
font-weight: 700;
}
.swiper-slide:nth-child(1) {
background-color: #fb4949;
}
.swiper-slide:nth-child(2) {
background-color: #34dc1a;
}
.swiper-slide:nth-child(3) {
background-color: #4FC3F7;
}
.swiper-slide:nth-child(4) {
background-color: #FFC107;
}
.swiper .swiper-button-next,
.swiper .swiper-button-prev {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #fff;
}
.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
display: none;
}
.swiper .swiper-button-next i,
.swiper .swiper-button-prev i {
font-size: 20px;
color: #5CC0EF;
}
const Swiper_03 = new Swiper('#swiper-03', {
/* 追加コード */
mousewheel: {
forceToAxis: false,
invert: false
},
keyboard: true
/* 追加コード */
});