/* --- カラーパレット --- */
:root {
    --main-orange: #ff9800;
    --main-orange-dark: #e07a1b;
    --main-bg: #f6f6f6;
    --main-white: #fff;
    --main-black: #222;
    --main-gray: #888;
    --main-lightgray: #ececec;
}

/* --- カルーセル画像の見切れ防止・余白調整 --- */
.carousel-container {
    position: relative;
    padding: 0 !important;
    margin: 16px;
    aspect-ratio: 4/3 !important;
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.carousel-slide {
    width: 100vw !important;
    height: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    position: absolute !important;
    left: 0; top: 0;
    opacity: 0;
    transition: opacity 0.4s;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    padding: 0;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    position: absolute;
    animation: fadeIn 0.7s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.firstview-hero-img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0; top: 0;
    z-index: 1;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.catch-strong {
    color: #ff9800;
    font-weight: bold;
    background: linear-gradient(90deg,#ffe0b2 60%,#fff 100%);
    padding: 2px 8px;
    border-radius: 8px;
}

.carousel-indicators {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.carousel-indicators span {
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(255,152,0,0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-indicators span.active {
    background: #ff9800;
    border-color: #e07a1b;
}

/* --- カルーセルの矢印ボタン --- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.55);
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #e07a1b;
    cursor: pointer;
    z-index: 4;
    transition: background 0.2s, box-shadow 0.2s;
}
.carousel-arrow:hover {
    background: rgba(255,255,255,0.85);
    box-shadow: 0 4px 16px rgba(255,152,0,0.13);
}
.carousel-arrow.left { left: -8px; }
.carousel-arrow.right { right: -8px; }

/* カルーセルキャプションのベース */
.carousel-caption p {
    font-size: 1.35rem;
    font-weight: 600;
    color: #222;
    margin: 0;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(255,152,0,0.08);
    line-height: 1.5;
    background: rgba(255,255,255,0.72);
    border-radius: 12px;
    padding: 12px 18px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255,152,0,0.07);
}

/* 強調ワードの共通デザイン */
.carousel-highlight {
    font-weight: 900;
    font-size: 1.45rem;
    padding: 2px 12px;
    border-radius: 8px;
    margin: 0 2px;
    box-shadow: 0 2px 8px rgba(255,152,0,0.10);
    background: linear-gradient(90deg,#ffe0b2 60%,#fff 100%);
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
}

/* スライドごとの強調色 */
.carousel-slide:nth-child(2) .carousel-caption .carousel-highlight { /* carousel_1: 新体験 */
    color: #ff9800;
    background: linear-gradient(90deg,#fffde7 60%,#ffe0b2 100%);
    border: 2px solid #ff9800;
}
.carousel-slide:nth-child(3) .carousel-caption .carousel-highlight { /* carousel_2: レジャー */
    color: #1976d2;
    background: linear-gradient(90deg,#e3f2fd 60%,#fff 100%);
    border: 2px solid #1976d2;
}
.carousel-slide:nth-child(4) .carousel-caption .carousel-highlight { /* carousel_3: カフェ */
    color: #8d4bff;
    background: linear-gradient(90deg,#ede7f6 60%,#fff 100%);
    border: 2px solid #8d4bff;
}
.carousel-slide:nth-child(5) .carousel-caption .carousel-highlight { /* carousel_4: 挑戦 */
    color: #d32f2f;
    background: linear-gradient(90deg,#ffebee 60%,#fff 100%);
    border: 2px solid #d32f2f;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .carousel-caption p {
        font-size: 1.02rem;
        padding: 7px 8px;
    }
    .carousel-highlight {
        font-size: 1.08rem;
        padding: 2px 6px;
    }
}
