
/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ページネーション用スタイル */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.pagination-item {
    display: flex;
    align-items: center;
}

.pagination a,
.pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(142, 238, 231, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: #5fd4cd;
}

.pagination .current {
    background: linear-gradient(135deg, #8eeee7 0%, #5fd4cd 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(142, 238, 231, 0.3);
    font-weight: 600;
}

.pagination a:hover {
    background: rgba(142, 238, 231, 0.15);
    border-color: #8eeee7;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(142, 238, 231, 0.2);
    color: #5fd4cd;
}

.pagination .nav-arrow {
    font-size: 1.1rem;
    margin: 0 3px;
}

.pagination .nav-text {
    font-size: 0.85rem;
    white-space: nowrap;
}

.pagination .dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    color: #90a4ae;
    font-weight: 500;
    cursor: default;
}

/* CSS Variables for 2025 Design System */
:root {
    --primary-gradient-start: #8eeee7;
    --primary-gradient-end: #5fd4cd;
    --secondary-gradient-start: #7877c6;
    --secondary-gradient-end: #ff77c6;
    
    --bg-primary: rgba(255, 255, 255, 0.95);
    --bg-secondary: rgba(248, 255, 254, 0.9);
    --bg-tertiary: rgba(240, 255, 254, 0.85);
    
    --text-primary: #2c3e50;
    --text-secondary: #546e7a;
    --text-tertiary: #90a4ae;
    
    --shadow-neumorphic-light: rgba(255, 255, 255, 0.9);
    --shadow-neumorphic-dark: rgba(142, 238, 231, 0.15);
    --shadow-ambient: rgba(31, 38, 135, 0.08);
    
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    
    --transition-smooth: cubic-bezier(0.23, 1, 0.320, 1);
}

/* 2025 Vibrant Gradient Base Styles */
.works-archive-container {
    padding: 60px 0;
    /* 背景はグローバルデザインシステムから継承 */
    min-height: 80vh;
    font-family: 'Helvetica Neue', 'Noto Sans JP', Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Colorful dots pattern */
.works-archive-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(142, 238, 231, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 40% 60%, rgba(102, 126, 234, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 60% 40%, rgba(245, 87, 108, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(254, 202, 87, 0.1) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: floatingDots 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatingDots {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes floatingGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    animation: fadeInDown 0.8s ease-out;
}

.page-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #8eeee7 0%, #5fd4cd 100%);
    margin: 25px auto 0;
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 120px; }
}

/* 2025 Clean Filter Buttons */
.works-filter {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.filter-btn {
    background: #ffffff;
    border: 2px solid rgba(142, 238, 231, 0.3);
    padding: 10px 24px;
    margin: 0 6px 8px 6px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    color: #546e7a;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 238, 231, 0.2);
    border-color: #8eeee7;
}

.filter-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8eeee7 0%, #5fd4cd 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(142, 238, 231, 0.25);
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2025 Bento Grid Layout - Subtle Modern */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Clean Modern Card */
.work-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0, 1);
    animation: cardFadeIn 0.6s ease-out both;
    animation-delay: calc(var(--card-index, 0) * 0.05s);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(142, 238, 231, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.work-card:hover::before {
    opacity: 1;
}

.work-card:hover {
    transform: translateY(-8px);
    z-index: 10;
    box-shadow: 
        0 20px 40px rgba(142, 238, 231, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.05);
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.work-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Clean image container */
.work-card-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0, 1);
    filter: brightness(1) contrast(1);
}

/* Subtle hover effect */
.work-card:hover .work-card-image img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05);
}

/* Clean status badges */
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.status-badge.new {
    background: rgba(255, 107, 107, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-badge.sold-out {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Clean content section */
.work-card-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.work-title {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    color: #2c3e50;
    line-height: 1.3;
    transition: all 0.3s ease;
    position: relative;
}

.work-card:hover .work-title {
    color: #8eeee7;
}

.work-date {
    color: #90a4ae;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.work-price {
    color: #8eeee7;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.work-type-badge {
    display: inline-block;
    background: rgba(142, 238, 231, 0.1);
    border: 1px solid rgba(142, 238, 231, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5fd4cd;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.work-card:hover .work-type-badge {
    background: rgba(142, 238, 231, 0.2);
    border-color: #8eeee7;
}

.no-works {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 60px 20px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Glow pulse animation */
@keyframes glowPulse {
    0%, 100% { 
        box-shadow: 
            15px 15px 40px rgba(142, 238, 231, 0.12),
            -15px -15px 40px rgba(255, 255, 255, 0.85),
            inset 1px 1px 2px rgba(255, 255, 255, 0.6);
    }
    50% { 
        box-shadow: 
            15px 15px 40px rgba(142, 238, 231, 0.18),
            -15px -15px 40px rgba(255, 255, 255, 0.9),
            inset 1px 1px 3px rgba(255, 255, 255, 0.7);
    }
}

/* Responsive Design 2025 */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .works-archive-container {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
    
    .page-title::after {
        width: 80px;
    }
    
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 5px 3px;
    }
    
    .work-card {
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .works-archive-container {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .page-title::after {
        width: 60px;
        height: 2px;
    }
    
    .works-filter {
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        margin: 3px;
        border-radius: 30px;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .work-card {
        border-radius: 16px;
    }
    
    .work-card-image {
        height: 280px;
    }
    
    .work-card-content {
        padding: 20px;
    }
    
    .work-title {
        font-size: 1.2rem;
    }
    
    .work-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .page-title {
        font-size: 1.6rem;
    }
    
    .work-card-image {
        height: 250px;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .works-archive-container {
        background: linear-gradient(135deg, #0a0e27 0%, #151b3d 100%);
    }
    
    .page-title {
        color: #B0E0E6;
    }
    
    .page-title::after {
        background: linear-gradient(90deg, #2a6b75 0%, #1a4a52 100%);
    }
    
    .works-filter {
        background: rgba(20, 30, 50, 0.95);
        border: 1px solid rgba(176, 224, 230, 0.2);
    }
    
    .filter-btn {
        background: rgba(0, 0, 0, 0.3);
        color: #B0E0E6;
        border-color: rgba(176, 224, 230, 0.2);
    }
    
    .filter-btn:hover {
        background: rgba(72, 202, 228, 0.1);
        color: #E0FFFF;
        border-color: #48CAE4;
    }
    
    .filter-btn.active {
        background: linear-gradient(135deg, #2a6b75 0%, #1a4a52 100%);
        color: #E0FFFF;
        border-color: #48CAE4;
    }
    
    .work-card {
        background: rgba(20, 30, 50, 0.95);
        border: 1px solid rgba(176, 224, 230, 0.2);
    }
    
    .work-card:hover {
        border-color: #48CAE4;
        box-shadow: 0 10px 30px rgba(72, 202, 228, 0.15);
    }
    
    .work-card-content {
        background: rgba(20, 30, 50, 0.95);
        color: #e0e0e0;
    }
    
    .work-title {
        color: #B0E0E6;
    }
    
    .work-meta {
        color: #c0c0c0;
    }
    
    .meta-item {
        color: #8dd4e0;
    }
    
    .meta-icon {
        color: #48CAE4;
    }
    
    .work-type-badge {
        background: linear-gradient(135deg, #2a6b75 0%, #1a4a52 100%);
        color: #E0FFFF;
        border: 1px solid rgba(176, 224, 230, 0.3);
    }
    
    .sold-out-badge {
        background: rgba(228, 72, 72, 0.9);
        color: #fff;
    }
    
    .no-results {
        background: rgba(20, 30, 50, 0.95);
        border: 1px solid rgba(176, 224, 230, 0.2);
    }
    
    .no-results-icon {
        background: rgba(72, 202, 228, 0.1);
        color: #48CAE4;
    }
    
    .no-results h2 {
        color: #B0E0E6;
    }
    
    .no-results p {
        color: #c0c0c0;
    }
}

