/* 制作実績ページ CSS */

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 76px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 2rem;
    font-family: cursive;
    opacity: 0.9;
    margin: 0;
}

/* フィルターセクション */
.filter-section {
    padding: 60px 0;
    background: var(--light-bg);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-group {
    margin-bottom: 40px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(33, 53, 85, 0.05);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 制作実績一覧 */
.works-list-section {
    padding: 80px 0;
    background: var(--white);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.work-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.work-item.hidden {
    display: none;
}

.work-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.work-link:hover {
    text-decoration: none;
    color: inherit;
}

.work-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--light-bg);
    margin-bottom: 20px;
    position: relative;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-link:hover .work-image img {
    transform: scale(1.05);
}

.work-content {
    padding: 0 5px;
}

.work-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.4;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--light-bg);
    color: var(--text-light);
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 500;
}

.works-note {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-results-message p {
    font-size: 1.2rem;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.5rem;
    }

    .filter-section {
        padding: 40px 0;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .work-image {
        height: 200px;
    }
}

