@import url(../../common/css/style.css);

.topics {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
} 
.topic {
    margin-bottom: 1em;
    color: #f00;
    font-size: clamp(1rem,4vw,1.2rem);
    font-weight: bold;
}

.category_container.sticky {
    position: fixed; /* stickyからfixedに変更 */
    top: 0;
    left: 0;
    margin-top: 0 !important;
    width: 100%; /* 画面幅全体に広げる */
    background-color: #fff;
    z-index: 100;
    padding: 1em 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    .category_item {
        .category,.button {
            min-height: 3em;
            font-size: clamp(0.85rem, 3.5vw, 1rem) !important;
        } 
    }
}

/* スティッキー時に画像を非表示にする */
.category_container.sticky .category_img {
    display: none;
}

.button_design {
    font-size: 1.5em;
    font-weight: bold;
}