        body { font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif; color: #1e293b; line-height: 1.6; margin: 0; padding: 0; background-color: #f8fafc; }
        .container { max-width: 1040px; margin: 0 auto; padding: 30px 20px; }
        
        h1 { text-align: center; color: #0f172a; font-size: 1.8em; margin-bottom: 10px; font-weight: 700; letter-spacing: -0.5px; }
        h2 { font-size: 1.25em; color: #0f172a; margin-top: 0; font-weight: 700; }
        .intro { text-align: center; margin-bottom: 30px; color: #64748b; font-size: 0.95em; }

        /* テーマ絞り込みボタン */
        .filter-buttons { text-align: center; margin-bottom: 35px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
        .filter-btn { padding: 7px 16px; border: 1.5px solid #0097e0; background-color: #fff; color: #0097e0; border-radius: 30px; cursor: pointer; transition: all 0.25s ease; font-size: 0.85em; font-weight: 600; }
        .filter-btn:hover, .filter-btn.active { background-color: #0097e0; color: #fff; box-shadow: 0 4px 12px rgba(0, 151, 224, 0.25); }

        /* 年度セクション＆カルーセル */
        .year-section { margin-bottom: 45px; position: relative; }
        .year-title { border-bottom: 2px solid #e2e8f0; padding-bottom: 8px; margin-bottom: 18px; font-size: 1.25em; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 8px; }
        .year-title::before { content: ''; display: inline-block; width: 4px; height: 18px; background: #0097e0; border-radius: 2px; }

        .carousel-wrapper { position: relative; display: flex; align-items: center; }
        .carousel-container { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 12px 5px; scrollbar-width: none; }
        .carousel-container::-webkit-scrollbar { display: none; }

        /* 左右矢印 */
        .arrow-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: #ffffff; color: #0097e0; border: 1px solid #e2e8f0; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transition: all 0.25s ease; }
        .arrow-btn:hover { background: #0097e0; color: #ffffff; border-color: #0097e0; transform: translateY(-50%) scale(1.05); }
        .prev-btn { left: -16px; }
        .next-btn { right: -16px; }

        /* カードデザイン */
        .card { 
            flex: 0 0 calc(33.333% - 14px); 
            min-width: 270px; 
            max-width: 320px;
            background: #fff; 
            border-radius: 12px; 
            box-shadow: 0 4px 15px rgba(0, 75, 120, 0.05); 
            overflow: hidden; 
            text-decoration: none; 
            color: inherit; 
            display: flex;
            flex-direction: column;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
            border: 1px solid #f1f5f9;
        }
        .card:hover { 
            transform: translateY(-6px); 
            box-shadow: 0 15px 30px rgba(0, 151, 224, 0.15); 
            border-color: #e2e8f0;
        }
        
        .card-img-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; background-color: #e2e8f0; overflow: hidden; }
        .card-img { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}
        .card-date-badge { position: absolute; top: 10px; left: 10px; background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(4px); color: #fff; font-size: 0.7em; font-weight: 600; padding: 3px 8px; border-radius: 6px; z-index: 2; }

        .card-content { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
        .card-company { font-size: 0.8em; font-weight: 700; color: #0097e0; margin-bottom: 4px; }
        .card-title { font-size: 0.95em; font-weight: 700; margin: 0 0 12px 0; line-height: 1.45; color: #0f172a; }

        .card-tags { margin-top: auto; }
        .card-tag { display: inline-block; font-size: 0.7em; font-weight: 600; background: #f1f5f9; color: #475569; padding: 3px 8px; border-radius: 4px; margin-right: 4px; margin-bottom: 4px; }

        /* サブセクション */
        .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 15px; }
        .sub-section { background: #fff; padding: 28px; margin-top: 40px; border-radius: 16px; box-shadow: 0 4px 15px rgba(0, 75, 120, 0.04); border: 1px solid #f1f5f9; }
        .sub-section h2 { border-left: 4px solid #0097e0; padding-left: 12px; }

        /* 追従ポップアップ */
        .sticky-popup {
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: #ffffff;
            border-top: 4px solid #0097e0;
            border-radius: 12px;
            padding: 16px 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            z-index: 999;
            max-width: 280px;
            animation: fadeInUp 0.5s ease-out;
        }
        .sticky-popup-close { position: absolute; top: -10px; right: -10px; background: #64748b; color: #fff; border: none; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 12px; line-height: 24px; text-align: center; padding: 0; }
        .sticky-popup-close:hover { background: #334155; }
        .sticky-popup-text { font-size: 0.85em; font-weight: 700; color: #0f172a; margin-bottom: 10px; line-height: 1.4; }
        .sticky-popup-btn { display: block; background: #ff6b35; color: #fff; text-align: center; padding: 9px 12px; border-radius: 20px; text-decoration: none; font-size: 0.85em; font-weight: 700; transition: background-color 0.2s; box-shadow: 0 3px 8px rgba(255, 107, 53, 0.3); }
        .sticky-popup-btn:hover { background: #e05523; }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }


/* ==========================================
   次回予告バナー（インデックス型：文字に被らない）
========================================== */
.next-event-container {
    max-width: 680px;
    margin: 0 auto 40px auto;
    text-align: left; /* タグを左寄せる */
}

/* 上にくっつくオレンジ見出し */
.next-event-badge {
    display: inline-block;
    background: #ff6b35;
    color: #ffffff;
    font-size: 0.85em;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 10px 10px 0 0; /* 上の角だけ丸くする */
    letter-spacing: 0.5px;
    vertical-align: bottom;
}

/* バナー本体 */
.next-event-image-banner {
    border-radius: 0 16px 16px 16px; /* タグがある左上以外の角を丸くする */
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: -1px; /* タグと画像を隙間なく吸着 */
}

.next-event-image-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.25);
}

.next-event-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   カルーセル設定
========================================== */
/* カルーセル本体に追記 */
.carousel-container {
    /* 既存のプロパティはそのまま残してください */
    scroll-snap-type: x mandatory; /* ピタッと吸着させる設定 */
    scroll-behavior: smooth;
}

/* カード自体に追記 */
.carousel-container .card {
    /* 既存のプロパティはそのまま残してください */
    scroll-snap-align: start; /* スライド後にカードの左端に合わせる */
}