/* ===== カルーセル全体 ===== */
.carousel {
    position: relative;
    width: 100%;
    padding: 48px 96px 24px 96px;
    color: #282420;
    overflow-x: hidden;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

/* スライドの横並び */
.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

/* 各スライド */
.carousel-slide {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 12px;
}

.carousel-slide__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.carousel-slide__body {
    padding: 12px 0;
}

.carousel-slide__date {
    font-size: 18px;
}

.carousel-slide__title {
    font-size: 20px;
    margin: 4px 0;
}

.carousel-slide__description {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* ===== 矢印 ===== */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 36px;
    height: 36px;
    border-radius: 50%;

    background: #282420;
    color: #fff;

    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    line-height: 1;
}

.carousel-arrow span {
    display: block;
    transform: translateY(-3px);
}

.carousel-arrow.prev {
    left: 24px;
}

.carousel-arrow.next {
    right: 24px;
}

/* hover */
.carousel-arrow:hover {
    opacity: 0.8;
}

/* ===== ドット ===== */
.carousel-dots {
    position: relative;
    margin: 32px 0px;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c8c8c8;
    cursor: pointer;
}

.carousel-dot.is-active {
    background: #e50a11;
}

.c-carousel__placeholder {
    padding: 24px;
    background: #f5f5f5;
    border: 1px dashed #ccc;
    text-align: center;
    font-size: 14px;
}

@media screen and (max-width: 1095px) {
    .carousel {
        padding: 0;
    }

    .carousel-viewport {
        overflow: visible;
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-slide {
        flex: 0 0 100%;
        box-sizing: border-box;
        padding: 0 12px;
    }
}