#kaitori-list{

    & a {
        text-decoration: none;
    }

    /* ========================
    タブのデザイン
    ======================== */

    .custom-tab-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        list-style: none;
        padding: 0;
        margin: 0 0 20px 0;
    }

    .custom-tab-item {
        padding: 8px 16px;
        background-color: #f1f1f1;
        color: #333;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        font-size: 14px;
        text-align: center;
        border: 1px solid #ddd;
        transition: all 0.2s;

        &.active {
            background-color: #ff6600;
            color: #fff;
            border-color: #ff6600;
        }

        &:hover {
            background-color: #e65c00;
            color: #fff;
        }
    }

    /* ========================
    リストのデザイン（Flexbox）
    ======================== */
    .kaitori-list {
        list-style: none;
        padding: 0;
        margin: 0;

        .item-row {
            border-bottom: 1px solid #e5e5e5;

            &:last-child {
                border-bottom: none;
            }
        }

        .item-link {
            display: flex;
            align-items: flex-start;
            padding: 15px 0;
            color: inherit;
            transition: background-color 0.2s;

            &:hover {
                background-color: #fcfcfc;
            }
        }
    }

    /* ========================
    アイテムの各要素（サムネイル・テキスト）
    ======================== */
    .item-thumb {
        width: 150px;
        flex-shrink: 0;
        margin-right: 20px;

        img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 4px;
        }
    }

    .item-text {
        flex-grow: 1;

        .date {
            color: #ff6600; 
            font-size: 14px;
            margin: 0 0 5px 0;

            del {
                margin-right: 8px; 
            }

            .notice {
                display: inline-block;
            }
        }

        .title {
            font-weight: bold;
            margin: 0;
        }
    }

    /* ========================
    行要素（.item-row）の機能・タグ設定
    ======================== */
    .item-row {
        &.is-hidden {
            display: none !important;
        }

        .title::before {
            display: block;
            width: max-content;
            padding: 2px 8px;
            margin-right: 8px;
            margin-bottom: 2px;
            font-size: 11px;
            color: #fff;
            border-radius: 3px;
            font-weight: normal;
            vertical-align: middle;
            line-height: 1.4;
        }

        &[data-category="figure"] .title::before {
            content: "フィギュア・おもちゃ";
            background-color: #e91e63; 
        }

        &[data-category="plamo"] .title::before {
            content: "プラモデル";
            background-color: #2196f3;
        }

        &[data-category="apparel"] .title::before {
            content: "アパレル";
            background-color: #9c27b0;
        }

        &[data-category="home-appliance"] .title::before {
            content: "家電";
            background-color: #ff9800;
        }

        &[data-category="game"] .title::before {
            content: "ゲーム";
            background-color: #4caf50;
        }

        &[data-category="tcg"] .title::before {
            content: "トレカ";
            background-color: #00bcd4;
        }

        &[data-category="other"] .title::before {
            content: "その他";
            background-color: #607d8b;
        }
    }

    /* ========================
    スマホ閲覧時（768px以下）の調整
    ======================== */
    @media screen and (max-width: 768px) {
        body {
            padding: 10px;
        }
        .custom-tab-scroll{
            position: relative;
        }
        .custom-tab-scroll::after {
            content: "";
            position: absolute;
            background: linear-gradient(to left, rgba(255, 255, 255, 1), transparent);
            top: 0;
            right: 0;
            width: 125px;
            height: 100%;
        }
        
        .custom-tab-list {
            flex-wrap: nowrap;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 10px;
        }

        .custom-tab-item {
            white-space: nowrap;
        }

        .item-thumb {
            width: 100px;
            margin-right: 15px;
        }

        .item-text {
            .date {
                font-size: 12px;
            }

            .title {
                font-size: 14px;
            }
        }
    }
}