        /* テキストコンテンツ */
        .slide-content {
              position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦方向中央 */
    align-items: center;     /* 横方向中央 */
    text-align: center;
    padding: 0 20px; /* モバイル時の余白対策 */
    color: #fff;
        }
        .hero-slide {
            position: relative;
            width: 100%;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;

        }
        .slide-overlay {
            position: absolute;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 7;
        }

        @keyframes fadeInSlide {
            from {
                opacity: 0;
                transform: translate(-50%, -40%);
            }
            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }

.swiper-slide {
  width: 100% !important; /* ← これでズレが防げることが多い */
  position: relative ;
}
        .slide-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
            letter-spacing: 0.02em;
        }

        .slide-subtitle {
            font-size: 1.4rem;
            font-weight: 300;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
            letter-spacing: 0.05em;
             transition-delay: 0.5s;
        }
        @media (max-width: 600px) {
            .slide-title {
                font-size: 2.4rem;
                margin-bottom: 0.7rem;
                line-height: 1.2;
                padding: 0 5px;
            }
        }

/* ズームアウトアニメーション */
@keyframes zoomOut {
    from {
        transform: scale(1.2);
    }
    to {
        transform: scale(1);
    }
}

.slide-bg.zoom-out {
    animation: zoomOut 8s ease-out forwards;
}


        /* CTAボタン */
        .cta-button {
            position: absolute;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            background: linear-gradient(135deg, #ff6b6b, #ff5722);
            color: white;
            padding: 18px 36px;
            border: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            animation: pulse 2s infinite;
            white-space: nowrap;
            letter-spacing: 0.05em;
        }

        .cta-button:hover {
            transform: translateX(-50%) translateY(-5px);
            box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6);
            background: linear-gradient(135deg, #ff5722, #e53935);
        }

        @keyframes pulse {
            0%, 100% {
                box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
            }
            50% {
                box-shadow: 0 8px 25px rgba(255, 107, 107, 0.7);
            }
        }
