自動スライダーのままtrial.css/* ----------------------------------
   全体レイアウト調整
---------------------------------- */
body {
    padding-top: 60px; 
    margin: 0;
    overflow-x: hidden;
}
/* ----------------------------------
   メインビジュアル
---------------------------------- */
h1 {
    text-align: center;
}
.main-hero {
    width: 100%;
    padding: 0; 
    margin: 0;
}
.main-hero img {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: block;
    padding: 60px 0 0 0;
}
.main-hero_title {
    margin-top: 20px;
    font-size: clamp(14px, 0.7vw + 10.9px, 18px);
    margin-bottom: -5px;
}


/* ----------------------------------
   セクション共通
---------------------------------- */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
}

section#free {
    margin-top: 20px;
}

.section-title {
    font-family: 'RocknRoll One', sans-serif;
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 60px);
    letter-spacing: 0.05em;
}

/* ----------------------------------
   無料体験レッスンの流れ
---------------------------------- */
img.info-logo {
    display: none;
}

.news-decoration {
    margin-top: 3rem;
}

.news-decoration img {
    width: 70%;
}

.free-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.free-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.free-step {
    position: relative;
    text-align: left;
}

.step-title {
    font-size: clamp(18px, 1.5vw + 11.5px, 27px);
    padding: 10px;
}

.arrow-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex-direction: row-reverse;
    margin-left: 6vw;
}

.step-icon {
    display: flex;
    align-items: center;
}

.step-icon img {
    width: 40px;              
    height: auto;
    display: block;           
}

.arrow-down {
    font-size: 24px;          
    font-weight: bold;
    color: #29313D;
    line-height: 1;           
}

.arrow-down_2 {
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    margin-left: 6vw;
}

.step-illust {
    position: absolute;
    right: -70px;
    top: 0vh;
    transform: translateY(-50%) rotate(10deg);
}

.step-illust img {
    width: 300px;
}

/* ----------------------------------
   留意事項
---------------------------------- */
.note-box {
    /* background-color: #FDFDED; */
    border-radius: 30px;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 50%;
    height: stretch;
    position: relative;
}

.note-title-container {
    position: relative;
    background-color: #fcffff;
    border: 5px dashed #71AA9F;
    border-radius: 60px;
    padding: 0;
    display: flex;
    gap: 30px;
    max-width: 60%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

h3.step-title {
    margin-bottom: 0;
}
.step-title span {
    font-weight: 600;
}

.note-title-container h2 {
    margin-bottom: 0;
    font-size: clamp(19px, 5vw, 38px);
}

.note-title {
    font-family: 'RocknRoll One', sans-serif;
    color: #71AA9F;
    font-size: clamp(19px, 5vw, 38px);
    padding-right: 2vw;
}

.light-icon {
    position: relative;
    left: 0;
    top: 0px;
}

.note-list {
    list-style: none;
    padding: 0;
    font-size: clamp(14px, 1.1vw + 10.3px, 20px);
    margin: 30px;
}



.note-list li {
    margin-top: 40px;
    font-size: clamp(14px, 1.2vw + 10px, 20px);
    line-height: 1.8;
    position: relative;
    padding-left: 2em;
}

.note-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background-color: #71AA9F;
    border-radius: 50%;
}

.highlight-pink {
    color: #F68185;
    font-weight: bold;
    border-bottom: 2px solid #F68185;
}




/* ==========================================
   レッスンの様子（スライダー）セクション
   ========================================== */

/* セクション全体 */
#scenes {
    background-color: #E2F1F0;
    padding: 40px 0;
    overflow: hidden; 
    width: 100%;
}

/* メイン見出し */
.scene-title-main {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'RocknRoll One', sans-serif;
    color: #29313D;
    font-size: clamp(24px, 4vw, 32px);
}

#scenes h1 {
    margin-bottom: 0px;
}

/* 各コースのグループ */
.scene-group-container {
    margin-top: 40px;
    height: 400px;
}

.course-header {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
    align-items: center;
    justify-content: center;
    background: #fcffff;
}

/* アイコン画像の設定 */
.scene-icon {
    display: block;
    width: 75px;
    flex-shrink: 0;  
    margin-top: 10px;  
}

.scene-icon img {
    width: 100%;
    height: auto;
    display: block;
    transform: rotate(-2deg);
    margin-bottom: 5px;
}

.scene-icon3 {
    display: block;
    width: 75px;
    flex-shrink: 0;  
    margin-top: 10px;  
}

.scene-icon3 img {
    width: 100%;
    height: auto;
    display: block;
    transform: rotate(-7deg);
}

/* コース名のテキスト */
.course-header h3 {
    font-size: clamp(19px, 5vw, 38px);
    height: fit-content;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    color: #4097B6;
}

/* ==========================================
   スライダー本体の構造
   ========================================== */
        .slider-container {
            overflow: hidden;      
            position: relative;
            padding: 30px 0;
            cursor: grab; /* 掴めることを示すカーソル */
            user-select: none; /* テキスト選択を防止 */
        }

        .slider-container:active {
            cursor: grabbing;
        }

        .slider-track {
            display: flex;        
            width: max-content;   
            /* 修正ポイント：animationを削除しました。JSで動かします */
            will-change: transform;
        }

        /* 各スライド（画像枠） */
        .slide {
            position: relative !important; 
            top: auto !important;
            left: auto !important;
            opacity: 1 !important;

            width: 250px;  
            height: 250px; 
            margin-right: 20px;
            flex-shrink: 0;
            z-index: 10;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
            box-shadow: 0 4px 7px #bcdbd9;
            display: block;
            pointer-events: none; /* 画像のドラッグによる誤作動を防止 */
        }

/*  フッター装飾 --------------------------------------------- */

.cta-btn {
    background: #FFCDCD;
    font-size: clamp(16px, 2vw, 20px);
    box-shadow: 0 4px 0 #e5b5b5;
    transition: all 0.2s;
}

.cta-insta {
    display: flex;
    align-items: center;     
    justify-content: center;   
    gap: 8px;                 
    margin-top: 20px;         
    text-align: center;
}

.cta-insta img {
    width: 24px;              
    height: auto;
    display: block;           
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.kochira {
    margin-left: 1.4vw;
}

/*  レスポンシブ対応 ----------------------------------------- */
@media (max-width: 1178px) {
    body {
        padding-top: 0px;
    }
    .main-hero img {
        padding: 0;
    }
    img.info-logo {
        display: block;
        margin-top: 20px;
        width: 350px;
    }
}


@media screen and (max-width: 1024px) {
    .free-wrap {
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }
    
    .free-container, .note-box {
        max-width: 100%;
        gap: 0px;
    }

    .free-container{
        margin-left: 5vw;
    }

    .line-content {
        flex-direction: row;
        gap: 15px;
    }

    .strip-frame {
        padding: 25px;
        width: 80%;
    }

    .step-illust {
        right: -60px;
        top: 0vh;
    }

    section#free {
    padding: 0;
    }
.note-box {
    border-radius: 0;
    padding: 50px 40px 80px;

    }
}

@media (max-width: 769px) {
    .step-illust img {
        width: 35vw;
        }

    .strip-frame {
        padding: 15px;
        margin: 0 auto;
        border-radius: 20px;
    }
    .free-container {
        margin-left: 0;
        width: auto;
    }
    .scene-group-container {
        height: 310px;
    }

    .slide {
        width: 170px;
        height: 170px;
        margin-right: 12px;
    }

 }

@media (max-width: 480px) {
    .main-top {
        height: 100px !important;
        width: 100%;
        overflow: hidden;
    }

    .main-top img {
        width: 100%;
        height: 100%;
        object-fit: cover;           
        object-position: center;     
    }

    img.info-logo {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    #scenes {
        padding: 20px 0;
    }

    .scene-title-main {
        margin-bottom: 25px;
    }

    .course-header {
        gap: 8px;
    }

    .scene-icon {
        width: 45px;
    }

    .scene-group-container {
        height: 220px;
        margin-top: 20px;
    }
    .scene-icon3 {
    width: 45px;
    }

    .note-list li::before {
    left: 6px;
    top: 6px;
    width: 13px;
    height: 13px;

    }

    .slide {
        width: 120px;
        height: 120px;
        margin-right: 12px;
    }

    .slider-track {
        animation-duration: 60s; 
        display: flex;
    }  

    .philosophy-p {
        padding: 0 15px 0;
    }

    .free-wrap {
        gap: 60px;
    }

    .free-container {
    margin-left: 2vw;
    }

    .strip-frame {
        width: 95%;
    }

    .strip-frame .inner {
        padding: 5px;
    }

    .light-icon img {
        width: 40px;
    }
    .step-title {
    min-width: 100%;
    font-size: 1rem;
    padding: 10px 20px;
    }

    .step-illust {
        right: 10px;
    }

    .note-title-container {
        width: 80%; 
        height: 60px; 
        margin: 0 auto;
        gap: 6px;
    }        

    .note-box {
        border-radius: 20px;
        padding: 30px 0 40px;
        margin-bottom: 20px;
    }

    .note-list li {
    margin-top: 30px;
    }

    .note-list li:first-child {
        margin-top: 0;
    }

    ul.note-list {
    margin: 30px 20px 0 20px;
    }   

    .note-title {
        padding-right: 4vw;
    }

    .news-decoration {
        display: block;
    }

    .news-decoration img {
        width: 80%;
        margin: 0 auto;
    }

}
@media (max-width: 430px) {
    .main-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}
