        /* スライダーコンテナ */
        .slider-container {
            position: relative;
            width: 100%;
            height: 100%;
            z-index: 2;
        }

        /* スライダーラッパー */
        .slider-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        /* スライドトラック - 横並び配置 */
        .slider-track {
            display: flex;
            width: 300%; /* 3枚分 */
            height: 100%;
            transition: transform 0.6s ease-in-out;
            transform: translateX(0%);
        }

        /* 各スライド */
        .slide {
            width: 33.333%; /* 1/3の幅 */
            height: 100%;
            position: relative;
            flex-shrink: 0;
            display: flex;
            align-items: center;
        }

        /* 背景オーバーレイ */
        .slide-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.3);
            z-index: 1;
        }

        /* カラーオーバーレイ */
.slide-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    z-index: 2;
    /* clip-pathを削除 */
}
        /* スライド1: PNG画像 */
.slide:nth-child(1) .slide-overlay {
    background-image: url('../img/layer01.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
}
        /* スライド2: PNG画像 */
        .slide:nth-child(2) .slide-overlay {
            background-image: url('../img/layer02.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
        }

        /* スライド3: PNG画像 */
        .slide:nth-child(3) .slide-overlay {
            background-image: url('../img/layer03.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
        }

        /* スライドコンテンツ */
        .slide-content {
            position: relative;
            z-index: 3;
            color: white;
            width: 100%;
            height: 100%;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .slide-title {
            font-size: clamp(24px, 4vw, 48px);
            font-weight: 500;
            line-height: 1.2;
            align-self: flex-start;
            text-shadow: #222 1px 0 10px;
        }

        .slide-subtitle {
            font-size: clamp(32px, 6vw, 70px);
            font-weight: 500;
            line-height: 1.4;
            align-self: flex-end;
            text-align: right;
            text-shadow: #222 1px 0 10px;
        }

        /* ナビゲーションアロー */
        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            width: 60px;
            height: 60px;
            cursor: pointer;
            z-index: 100;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            transition: all 0.3s ease;
        }

        .slider-nav:hover {
            transform: translateY(-50%) scale(1.1);
        }

        .slider-nav.prev {
            left: 0; /* 左端にくっつける */
            background-image: url('../img/arrow_l.png');
        }

        .slider-nav.next {
            right: 0; /* 右端にくっつける */
            background-image: url('../img/arrow_r.png');
        }

        /* レスポンシブ対応 */
        @media screen and (max-width: 768px) {
    .slide-overlay {
        width: 100%;
        height: 100%;
        top: auto;
        bottom: 0;
    }
    
    .slide:nth-child(1) .slide-overlay,
    .slide:nth-child(2) .slide-overlay,
    .slide:nth-child(3) .slide-overlay {
        background-size: auto 100%; /* 高さを70%エリアの100%に */
        background-position: left bottom; /* 左下基準で配置 */
    }
               .slide-overlay {
                width: 80%;
                clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
            }

            .slide-content {
                padding: 30px;
            }

            .slider-nav {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .slider-nav.prev {
                left: 0;
            }

            .slider-nav.next {
                right: 0;
            }

        .slide-title {
            font-size: 24px;
            font-weight: 500;
            line-height: 1.5;
            align-self: flex-start;
            text-shadow: #222 1px 0 10px;
        }

        .slide-subtitle {
            font-size: 24px;
            font-weight: 500;
            line-height: 1.5;
            align-self: flex-end;
            text-align: right;
            text-shadow: #222 1px 0 10px;
        }


        }