/* カルーセル外枠 */
.carousel-wrapper {
	position: relative;
    width: 90%;
    margin: 50px auto;
    overflow: hidden;
}
.carousel-controller{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.carousel-container {
    display: flex;
    transition: transform 0.4s ease-in-out;
}
.carousel-container p {
    text-align: center;
}
.slide {
    min-width: 100%; /* 100% */
    box-sizing: border-box;
    padding: 10px; /* 必要に応じて隙間を調整 */
}
.slide img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* スワイプの邪魔をしない */
    user-select: none;
}
/* 操作ボタン */
.carousel-wrapper button {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: background 0.3s;
}
.carousel-wrapper button:hover {
    background: rgba(0, 0, 0, 0.7);
}
.prev {
    left: 15px;
}
.next {
    right: 15px;
}
.carousel-wrapper button .arrow {
    position: relative;
}
.carousel-wrapper button .arrow:before {
    position: absolute;
    top: 50%;
    content: "";
    display: inline-block;
    color: currentColor;
    line-height: 1;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-left: 0;
    border-bottom: 0;
}
.prev .arrow:before {
    left: calc(50% + 2px);
    transform: translate(-50%, -50%) rotate(225deg);
}
.next .arrow:before {
    left: calc(50% - 2px);
    transform: translate(-50%, -50%) rotate(45deg);
}
/* ドットナビゲーション */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.dot.active {
    background-color: #333;
}
/*PC*/
@media (min-width: 768px) {
    .pc3 .slide {
        min-width: calc(100% / 3);
    }
}
/*SP*/
@media (max-width: 767px) {
    .sp3 .slide {
        min-width: calc(100% / 3); 
    }
}