@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


#article-filter {
            margin-bottom: 40px;
        }

        .filter-controls {
            margin-bottom: 20px;
        }

        #keyword {
            width: 100%;
            max-width: 300px;
            padding: 8px;
            margin-bottom: 10px;
        }

        #tag-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tag-btn {
            background: #eee;
            border: none;
            padding: 6px 12px;
            border-radius: 20px;
            cursor: pointer;
            transition: 0.3s;
        }

        .tag-btn.active {
            background: #4CAF50;
            color: #fff;
        }

        #filter-count {
            color: #333;
        }

        /* 一覧デザイン統一 */
        .favorite-tag-list {
            display: grid;
            grid-template-columns: 100%;
            gap: 20px;
        }

        @media screen and (min-width: 768px) {
            .favorite-tag-list {
                grid-template-columns: 48% 48%;
                justify-content: space-between;
            }
        }

        @media screen and (min-width: 960px) {
            .favorite-tag-list {
                grid-template-columns: 32% 32% 32%;
                gap: 2%;
            }
        }

        .favorite-item {
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: visible;
            background: #fff;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .favorite-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .favorite-item img {
            display: block;
            width: 100%;
            height: auto;
        }

        .favorite-item a {
            text-decoration: none;
            color: inherit;
        }

        .favorite-item a:hover {
            color: #4CAF50;
        }

        .favorite-item p {
            margin: 0;
        }
.post-term {
    display: inline-block;
    background: #f1f1f1;
    color: #333;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    margin: 3px 4px 0 0;
}
.post-term.people { background: #FFD700; }    /* 人数 */
.post-term.time   { background: #4CAF50; color:#fff; }  /* 時間 */
.post-term.level  { background: #FF6347; color:#fff; }  /* 難易度 */
.post-term.genre  { background: #1E90FF; color:#fff; }  /* ジャンル */
.post-term.post_tag { background: #ddd; }    /* 通常タグ */
