/*
 * Archive Pages Styles
 * 固定ページ化されたアーカイブページの共通スタイル
 */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #53834f 0%, #6b9f66 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.05)" width="50" height="50"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 48px;
    color: white;
    margin: 0 0 20px;
    letter-spacing: 3px;
}

.page-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
}

/* Introduction Section */
.intro-section {
    padding: 80px 20px;
    background-color: #fbf9f4;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 36px;
    color: #42210b;
    margin: 0 0 30px;
}

.intro-content p {
    font-size: 18px;
    color: #42210b;
    line-height: 1.8;
    margin: 0 0 20px;
}

.intro-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #e6ae25;
    color: white;
}

.primary-btn:hover {
    background-color: #d39e1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 174, 37, 0.3);
    color: white;
}

.secondary-btn {
    background-color: white;
    color: #42210b;
    border: 2px solid #e6ae25;
}

.secondary-btn:hover {
    background-color: #e6ae25;
    color: white;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Layouts */
.support-systems-grid,
.manufacturers-grid,
.technologies-grid,
.reports-grid,
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Styles */
.support-system-card,
.manufacturer-card,
.technology-card,
.report-card,
.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.support-system-card:hover,
.manufacturer-card:hover,
.technology-card:hover,
.report-card:hover,
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Card Images */
.manufacturer-image,
.tech-image,
.report-image,
.case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.manufacturer-image img,
.tech-image img,
.report-image img,
.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.manufacturer-card:hover .manufacturer-image img,
.technology-card:hover .tech-image img,
.report-card:hover .report-image img,
.case-card:hover .case-image img {
    transform: scale(1.05);
}

.event-date-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e6ae25;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 14px;
}

/* Card Content */
.card-body,
.manufacturer-content,
.tech-content,
.report-content,
.case-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    padding: 15px 25px 0;
}

.organization-badge {
    display: inline-block;
    background-color: #53834f;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.support-title,
.manufacturer-name,
.tech-title,
.report-title,
.case-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 15px;
    line-height: 1.4;
}

.support-title a,
.manufacturer-name a,
.tech-title a,
.report-title a,
.case-title a {
    color: #42210b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-title a:hover,
.manufacturer-name a:hover,
.tech-title a:hover,
.report-title a:hover,
.case-title a:hover {
    color: #53834f;
}

.manufacturer-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.location-icon {
    font-size: 16px;
}

.support-excerpt,
.manufacturer-excerpt,
.tech-excerpt,
.report-excerpt,
.case-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

/* Tags & Categories */
.tech-tags,
.report-categories,
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag,
.category-badge {
    background-color: #f0f0f0;
    color: #42210b;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
}

/* Meta Information */
.support-meta,
.tech-meta,
.report-meta,
.case-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.meta-item {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-label {
    font-weight: bold;
    color: #42210b;
}

.meta-value {
    color: #666;
}

.meta-icon {
    font-size: 16px;
}

/* Card Footer / Actions */
.card-footer,
.manufacturer-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 10px;
}

.read-more-btn,
.details-btn,
.website-btn {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.read-more-btn,
.details-btn {
    background-color: #53834f;
    color: white;
}

.read-more-btn:hover,
.details-btn:hover {
    background-color: #456f42;
    color: white;
}

.website-btn {
    background-color: white;
    color: #53834f;
    border: 2px solid #53834f;
}

.website-btn:hover {
    background-color: #53834f;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0 40px;
    padding: 0 20px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination a {
    background-color: white;
    color: #42210b;
    border: 2px solid #e0e0e0;
}

.pagination a:hover {
    background-color: #53834f;
    color: white;
    border-color: #53834f;
}

.pagination .current {
    background-color: #53834f;
    color: white;
    border: 2px solid #53834f;
}

/* No Results */
.no-results {
    text-align: center;
    font-size: 18px;
    color: #666;
    padding: 60px 20px;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background-color: #fbf9f4;
    margin-top: 60px;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-box h2 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: #42210b;
    margin: 0 0 20px;
}

.cta-button {
    display: inline-block;
    background-color: #e6ae25;
    color: white;
    padding: 16px 50px;
    border-radius: 8px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #d39e1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 174, 37, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 20px 60px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .intro-section {
        padding: 60px 20px;
    }
    
    .intro-content h2 {
        font-size: 28px;
    }
    
    .intro-content p {
        font-size: 16px;
    }
    
    .support-systems-grid,
    .manufacturers-grid,
    .technologies-grid,
    .reports-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-box {
        padding: 40px 25px;
    }
    
    .cta-box h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 26px;
    }
    
    .intro-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }
}

