/**
 * News Page Styles - Takamatsu Mekki Kogyo
 * ニュース・お知らせページ専用スタイル
 * Worksアーカイブページデザインを完全継承
 */

@layer pages-news {

/* ========================================
   Design System - Works Page Color Palette
======================================== */
:root {
    /* Works ページと統一カラーパレット */
    /* Primary Colors */
    --news-primary: var(--primary-color, #059669);
    --news-accent: var(--accent-color, #ea580c);
    --news-primary-dark: var(--primary-dark, #047857);
    
    /* Neutral Colors */
    --news-text-primary: var(--text-primary, #1f2937);
    --news-text-secondary: var(--text-secondary, #6b7280);
    --news-bg-primary: var(--bg-primary, #ffffff);
    --news-bg-secondary: var(--bg-secondary, #f9fafb);
    
    /* Spacing System (Works page compatible) */
    --news-section-padding: clamp(4rem, 8vw, 8rem);
    --news-container-padding: clamp(2rem, 4vw, 4rem);
    --about-container-padding: clamp(2rem, 4vw, 4rem);
    --news-grid-gap: clamp(2rem, 4vw, 6rem);
    
    /* Shadows - Simplified */
    --news-subtle-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --news-hover-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ========================================
   Hero Section - Worksページスタイル継承
======================================== */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--news-text-primary);
    color: var(--white);
    padding-top: 8rem; /* Fixed header offset */
}

/* シンプルな背景オーバーレイ */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.9) 0%, rgba(4, 120, 87, 0.85) 100%);
    z-index: 1;
}

/* Hero Content */
.about-hero__content {
    position: relative;
    z-index: 10;
    max-width: min(120rem, 90vw);
    margin: 0 auto;
    padding: 0 var(--about-container-padding);
    text-align: left;
    width: 100%;
}

.about-hero__title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: var(--news-grid-gap);
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
    text-stroke: 2px #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.about-hero__subtitle {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--news-grid-gap);
    line-height: 1.5;
    max-width: 80rem;
}

/* ========================================
   Works Showcase Section
======================================== */
.works-showcase {
    padding: var(--news-section-padding) 0;
    background: var(--news-bg-primary);
}

.showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--news-container-padding);
    text-align: center;
}

section.works-showcase .showcase-container .showcase-intro {
    text-align: center !important;
    margin-bottom: var(--news-grid-gap);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.works-showcase .showcase-container .showcase-intro h2 {
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 700;
    color: var(--news-text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center !important;
    width: 100%;
    display: block;
}

section.works-showcase .showcase-container .showcase-intro p {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: var(--news-text-secondary);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-align: center !important;
    width: 100%;
    display: block;
}

/* ========================================
   Works List & Grid
======================================== */
.works-list {
    margin-top: 4rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

/* ========================================
   Works Card - Modern Clean Design
======================================== */
.works-card {
    background: var(--news-bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--news-subtle-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.works-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--news-hover-shadow);
}

.works-card__image {
    position: relative;
    width: 100%;
    height: auto; /* 自動高さ調整 */
    min-height: 280px; /* 最小高さ保持 */
    overflow: hidden;
    background: var(--news-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.works-card__image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ロゴプレースホルダーのスタイル */
.works-card__logo-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
}

.works-card__logo {
    width: 140px;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: contrast(1.1) brightness(0.95);
}

.works-card:hover .works-card__logo {
    opacity: 1;
    transform: scale(1.05);
    filter: contrast(1.2) brightness(1);
}

.works-card:hover .works-card__image img {
    transform: scale(1.05);
}

.works-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.9) 0%, rgba(4, 120, 87, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.works-card:hover .works-card__overlay {
    opacity: 1;
}

.works-card__view-btn {
    color: var(--news-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    padding: 1rem 2rem;
    border: 2px solid var(--news-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-transform: none;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.works-card__view-btn:hover {
    background: var(--news-primary);
    color: #ffffff !important; /* 強制的に白文字 */
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(5, 150, 105, 0.3);
}

/* Card Content */
.works-card__content {
    padding: 2.4rem;
    text-align: left; /* 全て左寄せ */
}

/* 日付スタイル - 一番上に配置 */
.works-card__date {
    margin-bottom: 1rem;
}

.works-card__date time {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--news-text-secondary);
    background: var(--news-bg-secondary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.works-card__header {
    margin-bottom: 1.5rem;
}

.works-card__category {
    display: inline-block;
    background: var(--news-primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.works-card__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--news-text-primary);
    line-height: 1.3;
    text-align: left; /* 明示的に左寄せ */
    /* 文字数制限（約10文字で省略） */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 20rem; /* 約10文字分の幅 */
}

.works-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.works-card__title a:hover {
    color: var(--news-primary);
}

.works-card__description {
    color: var(--news-text-secondary);
    line-height: 1.6;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* ========================================
   Filter & Sort Controls - フィルター機能
======================================== */

/* フィルターコンテナ */
.works-filters {
    background: var(--news-bg-secondary);
    border-radius: 12px;
    padding: var(--news-container-padding);
    margin: 3rem 0;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

/* フィルターフォーム */
.filter-form {
    width: 100%;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

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

/* フィルターグループ */
.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 160px;
    flex: 1;
}

.filter-group label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--news-text-primary);
    margin-bottom: 0.5rem;
}

.filter-group select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: var(--white);
    color: var(--news-text-primary);
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
    min-width: 0;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--news-primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* フィルターアクション */
.filter-actions {
    display: flex;
    gap: 1rem;
    align-items: end;
    margin-left: auto;
}

.filter-submit {
    background: var(--news-primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-submit:hover {
    background: var(--news-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--news-subtle-shadow);
}

.filter-reset {
    color: var(--news-text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.filter-reset:hover {
    color: var(--news-accent);
}

/* 現在のフィルター表示 */
.current-filters {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(5, 150, 105, 0.1);
}

.current-filters h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--news-text-primary);
    margin-bottom: 1rem;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    background: var(--news-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 500;
}

/* 検索結果情報 */
.results-info {
    margin-bottom: 2rem;
}

.results-count {
    font-size: var(--font-size-sm);
    color: var(--news-text-secondary);
    margin: 0;
}

/* カード内の仕様表示 */
.works-card__meta {
    margin-bottom: 1rem;
    text-align: left; /* 左寄せ */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左寄せ */
    gap: 0.5rem;
}

.works-card__category {
    background: var(--news-accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.works-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start; /* 左寄せ */
    justify-content: flex-start; /* 左寄せ */
}

.works-card__spec {
    background: rgba(5, 150, 105, 0.1);
    color: var(--news-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

/* ========================================
   Pagination
======================================== */
.archive-pagination {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.archive-pagination .page-numbers {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--news-text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: var(--news-primary);
    color: white;
    border-color: var(--news-primary);
}

.archive-pagination .prev,
.archive-pagination .next {
    font-weight: 600;
}

/* ========================================
   No Content State
======================================== */
.archive-empty {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--news-bg-secondary);
    border-radius: 16px;
    margin-top: 3rem;
}

.archive-empty p {
    font-size: 1.8rem;
    color: var(--news-text-secondary);
    margin: 0;
}

/* ========================================
   重要なお知らせセクション
======================================== */
.important-news {
    background: var(--news-bg-secondary);
    padding: var(--news-section-padding) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.important-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--news-container-padding);
}

.important-header {
    text-align: center;
    margin-bottom: 4rem;
}

.important-header h2 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--news-text-primary);
    margin-bottom: 1rem;
}

.important-header p {
    font-size: 1.6rem;
    color: var(--news-text-secondary);
}

.important-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.important-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--news-bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.important-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--news-subtle-shadow);
}

.important-item__badge {
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
}

.important-item__content {
    flex: 1;
}

.important-item__date {
    font-size: 1.3rem;
    color: var(--news-text-secondary);
    margin-bottom: 0.5rem;
}

.important-item__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
}

.important-item__title a {
    color: var(--news-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.important-item__title a:hover {
    color: var(--news-primary);
}

/* ========================================
   アーカイブセクション
======================================== */
.news-archives {
    padding: var(--news-section-padding) 0;
    background: var(--news-bg-primary);
}

.archives-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--news-container-padding);
}

.archives-header {
    text-align: center;
    margin-bottom: 4rem;
}

.archives-header h2 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--news-text-primary);
    margin-bottom: 1rem;
}

.archives-header p {
    font-size: 1.6rem;
    color: var(--news-text-secondary);
}

.archives-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.archive-year {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--news-bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--news-subtle-shadow);
}

.archive-year:hover {
    transform: translateY(-4px);
    box-shadow: var(--news-hover-shadow);
    border-color: rgba(5, 150, 105, 0.2);
}

.archive-year__label {
    font-size: 2rem;
    font-weight: 700;
    color: var(--news-text-primary);
    margin-bottom: 0.5rem;
}

.archive-year__count {
    font-size: 1.4rem;
    color: var(--news-text-secondary);
    background: var(--news-bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* ========================================
   メール配信登録セクション
======================================== */
.news-subscribe {
    background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-dark) 100%);
    padding: var(--news-section-padding) 0;
    color: white;
}

.subscribe-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--news-container-padding);
}

.subscribe-content {
    text-align: center;
}

.subscribe-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.subscribe-content h2 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.subscribe-content p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.subscribe-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: var(--news-primary);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.subscribe-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: var(--news-primary);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2.5rem;
    }
    
    .works-card__content {
        padding: 2rem;
    }
    
    .archives-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* モバイル横余白統一 - 1remで統一 */
    .l-container,
    .news-content,
    .news-grid__container,
    .news-filter__container,
    .archive-navigation__container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* セクションの横余白調整 */
    .about-hero,
    .important-news,
    .news-section,
    .archive-navigation {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* ヒーローセクション調整 */
    .about-hero {
        min-height: 50vh;
        padding-top: 6rem;
    }
    
    .about-hero__title {
        font-size: clamp(2.8rem, 8vw, 4rem);
        line-height: 1.2;
        -webkit-text-stroke: 1.5px #ffffff;
        text-stroke: 1.5px #ffffff;
    }
    
    .about-hero__subtitle {
        font-size: clamp(1.6rem, 3vw, 2rem);
        line-height: 1.4;
    }
    
    /* セクションタイトル調整 */
    h1, h2 {
        font-size: clamp(2.4rem, 5vw, 3.2rem);
        line-height: 1.3;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: clamp(2rem, 4vw, 2.6rem);
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    h4 {
        font-size: clamp(1.6rem, 3vw, 2rem);
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    /* 本文テキスト調整 */
    p, li, 
    .description-text,
    .intro-text {
        font-size: clamp(1.5rem, 2.5vw, 1.7rem);
        line-height: 1.7;
    }
    
    /* コンテナ調整 */
    .l-container,
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    /* ニュースグリッド調整 */
    .works-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .works-card__image {
        min-height: 200px;
    }
    
    .works-card__logo-placeholder {
        height: 200px;
        padding: 1.5rem;
    }
    
    .works-card__logo {
        max-width: 120px;
        max-height: 70px;
    }
    
    .works-card__content {
        padding: 2rem;
    }
    
    .works-card__title {
        font-size: clamp(1.6rem, 2.5vw, 1.8rem);
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .works-card__description {
        font-size: 1.5rem;
        line-height: 1.6;
    }
    
    .works-card__meta {
        font-size: 1.3rem;
    }
    
    /* セクション紹介 */
    .showcase-intro h2 {
        font-size: clamp(2.4rem, 5vw, 3rem);
        margin-bottom: 1.5rem;
    }
    
    .showcase-intro p {
        font-size: 1.6rem;
        line-height: 1.7;
    }
    
    /* ページネーション調整 */
    .archive-pagination {
        margin: 3rem 0;
    }
    
    .archive-pagination .page-numbers {
        padding: 1rem 1.5rem;
        font-size: 1.5rem;
        min-height: 44px;
    }
    
    .archive-pagination .prev,
    .archive-pagination .next {
        padding: 1rem 2rem;
    }
    
    /* 重要アイテム調整 */
    .important-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .important-item__badge {
        align-self: flex-start;
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }
    
    .important-item__title {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .important-item__excerpt {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    
    /* アーカイブリスト調整 */
    .archives-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }
    
    .archive-year {
        padding: 2rem 1.5rem;
    }
    
    .archive-year h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .archive-year .count {
        font-size: 1.4rem;
    }
    
    /* フィルターモバイル対応 */
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 2rem;
    }

    .filter-group {
        min-width: unset;
    }
    
    .filter-group label {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .filter-group select {
        padding: 1rem;
        font-size: 1.5rem;
        min-height: 44px;
    }

    .filter-actions {
        flex-direction: column;
        margin-left: 0;
        gap: 1rem;
    }

    .filter-submit,
    .filter-reset {
        text-align: center;
        display: block;
        padding: 1rem 2rem;
        font-size: 1.5rem;
        min-height: 44px;
    }
    
    /* ニュースリスト調整 */
    .news-list .news-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .news-item__title {
        font-size: clamp(1.6rem, 2.5vw, 1.8rem);
        line-height: 1.4;
    }
    
    .news-item__date {
        font-size: 1.3rem;
    }
    
    .news-item__excerpt {
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .filter-tags {
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    :root {
        --news-container-padding: 1.5rem;
        --news-section-padding: 3rem;
    }
    
    .about-hero {
        min-height: 60vh;
    }
    
    .works-card__image {
        min-height: 200px;
    }
    
    .works-card__logo-placeholder {
        height: 200px;
        padding: 1.5rem;
    }
    
    .works-card__logo {
        max-width: 120px;
        max-height: 70px;
    }
    
    .works-card__view-btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
    
    .works-card__content {
        padding: 1.5rem;
    }
    
    .works-card__title {
        font-size: 1.8rem;
        max-width: 18rem; /* モバイル版でも10文字程度 */
    }
    
    .works-card__description {
        font-size: 1.4rem;
    }
    
    .important-list {
        gap: 1rem;
    }
    
    .important-item {
        padding: 1rem;
    }
    
    .archives-list {
        grid-template-columns: 1fr 1fr;
    }
    
    .archive-year__label {
        font-size: 1.8rem;
    }
}

/* ========================================
   Performance Optimizations
======================================== */
.works-card__image img {
    will-change: transform;
}

.works-card {
    will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .works-card,
    .works-card__image img,
    .works-card__view-btn {
        transition: none;
    }
    
    .works-card:hover {
        transform: none;
    }
    
    .works-card:hover .works-card__image img {
        transform: none;
    }
}

} /* End @layer pages-news */