@media screen and (min-width: 768px) {
    /* スライダーコンテナ */
    .carousel-slider {
        position: relative;
        width: 100%;
        aspect-ratio: 3000/1688;
        overflow: hidden;
        margin-top: 0; /* ヘッダーとの競合を解消 */
        padding-top: 0;
    }

    /* スライド */
    .carousel-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        will-change: opacity, visibility;
    }

    .carousel-slide.active {
        opacity: 1;
        visibility: visible;
    }

    .slide-bg {
        width: 100%;
        height: 100%;
        background-size: cover !important;
        background-position: center center;
        background-repeat: no-repeat;
    }

    /* コンテンツ */
    .carousel-content {
        position: absolute;
        top: 40%;
        left: 45%;
        transform: translate(-50%, -50%);
        text-align: left;
        z-index: 3;
        width: 95%;
        margin: 0 5%;
        max-width: 800px;
    }

    .catchcopy {
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .subtitle {
        padding-bottom: 80px;
    }

    .cta-button {
        display: inline-block;
        transition: all 0.3s ease;
    }

    .cta-button:hover {
        transform: scale(1.05);
    }

    /* 矢印ナビゲーション */
    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
        transition: transform 0.3s ease;
        padding: 0;
        outline: none;
    }

    .arrow:hover {
        transform: translateY(-50%) scale(1.1);
    }

    .arrow-prev {
        left: 40px;
    }

    .arrow-next {
        right: 40px;
    }

    .arrow-circle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border: 3px solid rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        font-weight: bold;
        background-color: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
    }

    .arrow:hover .arrow-circle {
        background-color: rgba(255, 255, 255, 0.9);
        color: #333;
        border-color: #fff;
    }

    /* ドットナビゲーション */
    .dots {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 15px;
        z-index: 10;
    }

    .dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.8);
        background-color: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        outline: none;
    }

    .dot:hover {
        background-color: rgba(255, 255, 255, 0.6);
        transform: scale(1.2);
    }

    .dot.active {
        background-color: rgba(255, 255, 255, 0.9);
        transform: scale(1.3);
    }

    /* 背景画像 */
    .carousel_img01 { 
        background: url("../img/index01_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img02 { 
        background: url("../img/index02_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img03 { 
        background: url("../img/index03_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img04 { 
        background: url("../img/index04_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img05 { 
        background: url("../img/index05_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img06 { 
        background: url("../img/index112_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img07 { 
        background: url("../img/index113_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img08 { 
        background: url("../img/index115_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img09 { 
        background: url("../img/index116_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img10 { 
        background: url("../img/index117_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img11 { 
        background: url("../img/index118_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img12 { 
        background: url("../img/index119_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img13 { 
        background: url("../img/index120_LL.jpg"); 
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }



}

/* スマートフォン用 */
@media screen and (max-width: 767px) {
    .carousel-slider {
        position: relative;
        width: 100%;
        aspect-ratio: 900/1600;
        overflow: hidden;
        margin-top: 0;
        padding-top: 0;
    }

    /* スライド */
    .carousel-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        will-change: opacity, visibility;
    }

    .carousel-slide.active {
        opacity: 1;
        visibility: visible;
    }

    .slide-bg {
        width: 100%;
        height: 100%;
        background-size: cover !important;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .carousel-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 3;
        width: 90%;
        padding: 0 5%;
    }

    .catchcopy {
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .subtitle {
        padding-bottom: 80px;
        opacity: 1;
        visibility: visible;
    }

    .cta-button {
        display: inline-block;
        padding: 14px 35px;
        transition: all 0.3s ease;
    }

    /* 矢印ナビゲーション */
    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
        transition: transform 0.3s ease;
        padding: 0;
        outline: none;
    }

    .arrow:active {
        transform: translateY(-50%) scale(0.95);
    }

    .arrow-prev {
        left: 15px;
    }

    .arrow-next {
        right: 15px;
    }

    .arrow-circle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border: 2px solid rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        color: #fff;
        font-size: 20px;
        font-weight: bold;
        background-color: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
    }

    .arrow:active .arrow-circle {
        background-color: rgba(255, 255, 255, 0.9);
        color: #333;
        border-color: #fff;
    }

    /* ドットナビゲーション */
    .dots {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.8);
        background-color: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        outline: none;
    }

    .dot:active {
        background-color: rgba(255, 255, 255, 0.6);
        transform: scale(1.2);
    }

    .dot.active {
        background-color: rgba(255, 255, 255, 0.9);
        transform: scale(1.3);
    }

    /* 背景画像（モバイル） */
    .carousel_img01 { 
        background: url("../img/index01_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img02 { 
        background: url("../img/index02_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img03 { 
        background: url("../img/index03_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img04 { 
        background: url("../img/index04_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img05 { 
        background: url("../img/index05_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img06 { 
        background: url("../img/index112_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img07 { 
        background: url("../img/index113_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img08 { 
        background: url("../img/index115_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img09 { 
        background: url("../img/index116_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img10 { 
        background: url("../img/index117_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img11 { 
        background: url("../img/index118_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }

    .carousel_img12 { 
        background: url("../img/index119_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }
    .carousel_img13 { 
        background: url("../img/index120_MS.jpg");
        background-size: cover !important;
        background-color: rgba(0,0,0,0.3);
        background-blend-mode: overlay;
    }


}