/* Works Gallery スタイル */
.works-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* フィルターボタン */
.filter-buttons {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background: #f8f8f8;
    border: 2px solid #ddd;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #a5ede3;
    color: #333;
    border-color: #a5ede3;
}

/* ギャラリーグリッド */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* MixItUpとの競合を避けるため、transform系のtransitionは削除 */
}

.gallery-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.item-content h3 {
    padding: 15px;
    margin: 0;
    font-size: 16px;
}

.item-content h3 a {
    text-decoration: none;
    color: #333;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}