/* CSSスタイル */
.carousel_content {
    max-width: 800px;
    margin: 20px auto;
    padding-top: 30px;    /* 上の余白 */
    padding-bottom: 30px;  /* 下の余白 */
    padding-right: 50px;  /* 右の余白 */
    padding-left: 50px;    /* 左の余白 */
    background-color:rgb(232, 232, 240);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   
}

.carousel__heading {
    text-align: center;
    margin-bottom: 20px;
}

.carousel {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    height: px; /* 高さを指定（必要に応じて調整） */
}

.carousel__slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel__slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.carousel__slideImg {
    max-width: 70%; /* 画像の最大幅を100%に設定 */
    height: auto; /* 高さを自動調整 */
    display: block; /* 画像をブロック要素にする */
    margin: 0 auto; /* 画像を中央に配置 */
}

.carousel__listText {
    margin-top: 20px;
    font-size: 18px;
    color: #000000;
}

.carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.555);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    font-size: 25px;
}

.carousel__button--prev {
    left: 10px;
}

.carousel__button--next {
    right: 10px;
}
