/* ============================================
   助成・支援制度 Archive Page Styles
   ============================================ */

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

/* ============================================
   Hero Section
   ============================================ */
.support-archive-hero-section {
    background: #53834F;
    padding: 20px 20px 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.support-archive-hero-section::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 width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

/* Breadcrumb */
.support-breadcrumb {
    font-size: 14px;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    text-align: left;
}

.support-breadcrumb .breadcrumb-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.support-breadcrumb .breadcrumb-link:hover {
    opacity: 0.8;
}

.support-breadcrumb .breadcrumb-separator {
    margin: 0 10px;
    color: white;
}

.support-breadcrumb .breadcrumb-current {
    color: white;
}

.support-archive-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1em;
}

.support-archive-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.support-dot {
    width: 8px;
    height: 8px;
    background-color: #e6ae25;
    border-radius: 50%;
}

.support-archive-description {
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 20px auto 0;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

/* ============================================
   Search/Filter Section
   ============================================ */
.support-archive-search-section {
    background-color: #FAF8F3;
    padding: 50px 20px;
    border-bottom: 1px solid #e0d5c7;
}

.support-search-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.support-filter-checkboxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.support-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
}

.support-checkbox-label:hover {
    background-color: #f8f8f8;
}

.support-checkbox-label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #6B8E6F;
}

.checkbox-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.support-search-button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.support-search-button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    outline: none !important;
    box-shadow: none !important;
}

.support-search-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.support-search-button:active {
    background: transparent !important;
    transform: translateY(0);
}

.support-search-button:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Search Button Image */
.support-search-button-img {
    display: block;
    width: 300px;
    height: auto;
    max-width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.search-icon {
    font-size: 18px;
}

.support-clear-filter-container {
    text-align: center;
    margin-top: 20px;
}

.support-clear-filter-link {
    color: #D4A574;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

.support-clear-filter-link:hover {
    color: #C89968;
}

/* ============================================
   Active Filters Display
   ============================================ */
.support-active-filters {
    background-color: #FFF9F0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #D4A574;
}

.active-filters-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.active-filter-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #D4A574;
    border-radius: 20px;
    font-size: 14px;
    color: #8B6914;
    font-weight: 500;
}

/* ============================================
   Results Section
   ============================================ */
.support-archive-results-section {
    padding: 60px 20px;
    background-color: #FAF8F3;
}

.support-results-info {
    margin-bottom: 30px;
    text-align: center;
}

.results-count {
    font-size: 18px;
    color: #555;
    font-weight: 500;
}

/* ============================================
   Support System List
   ============================================ */
.support-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.support-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.support-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.support-year-label {
    flex: 0 0 auto;
    background-color: #42210B;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.support-title-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    line-height: 1.6;
}

/* 古いスタイル - 削除済み */

/* ============================================
   No Results
   ============================================ */
.support-no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-results-message {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.no-results-suggestion {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.back-to-all-link {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #D4A574 0%, #C89968 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-all-link:hover {
    background: linear-gradient(135deg, #C89968 0%, #B8895E 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* ============================================
   Pagination
   ============================================ */
.support-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.support-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.support-pagination .page-numbers li {
    margin: 0;
}

.support-pagination a,
.support-pagination .current {
    display: inline-block;
    padding: 12px 18px;
    background-color: white;
    color: #D4A574;
    text-decoration: none;
    border: 2px solid #D4A574;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-pagination a:hover {
    background-color: #D4A574;
    color: white;
}

.support-pagination .current {
    background-color: #D4A574;
    color: white;
}

/* ============================================
   CTA Section
   ============================================ */
.support-archive-cta-section {
    background: linear-gradient(135deg, #FAF8F3 0%, #F5F0E8 100%);
    padding: 80px 20px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-button {
    background: linear-gradient(135deg, #D4A574 0%, #C89968 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.secondary-button {
    background: white;
    color: #D4A574;
    border: 2px solid #D4A574;
}

.secondary-button:hover {
    background: #D4A574;
    color: white;
}

/* ============================================
   Single Support System Page Styles
   ============================================ */
.single-support-main {
    background-color: #FAF8F3;
}

.single-support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.support-breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.support-breadcrumbs a {
    color: #D4A574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-breadcrumbs a:hover {
    color: #C89968;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
}

/* Hero Section */
.single-support-hero {
    background: linear-gradient(135deg, #D4A574 0%, #C89968 100%);
    padding: 60px 20px;
    color: white;
}

.support-hero-content {
    text-align: center;
}

.hero-year-badge {
    margin-bottom: 20px;
}

.year-badge-large {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.support-hero-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.support-taxonomy-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.taxonomy-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    font-size: 14px;
    color: white;
    font-weight: 500;
}

/* Content Grid */
.single-support-content-section {
    padding: 60px 20px;
}

.support-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.support-main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Info Cards */
.support-info-card,
.support-description-card,
.support-contact-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.support-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #D4A574;
}

.support-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #555;
}

.info-icon {
    font-size: 18px;
}

.info-value {
    color: #333;
    line-height: 1.6;
}

.info-value .external-link {
    color: #D4A574;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-value .external-link:hover {
    color: #C89968;
    text-decoration: underline;
}

.external-link-icon {
    margin-left: 5px;
    font-size: 14px;
}

/* Description */
.support-excerpt {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    padding: 20px;
    background-color: #FFF9F0;
    border-left: 4px solid #D4A574;
    border-radius: 4px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.support-content {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

/* Contact Card */
.contact-info-box {
    display: flex;
    gap: 15px;
    padding: 25px;
    background-color: #FAF8F3;
    border-radius: 8px;
    border: 1px solid #E8DCC8;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text {
    line-height: 1.7;
    color: #333;
}

/* Application CTA */
.support-application-cta {
    background: linear-gradient(135deg, #D4A574 0%, #C89968 100%);
    color: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
}

.application-cta-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.application-cta-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
}

.application-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.external-button,
.inquiry-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: white;
    color: #D4A574;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.external-button:hover,
.inquiry-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.button-icon {
    font-size: 18px;
}

/* Share Section */
.support-share-section {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.share-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.twitter-share {
    background-color: #1DA1F2;
    color: white;
}

.twitter-share:hover {
    background-color: #0d8bd9;
    transform: translateY(-2px);
}

.facebook-share {
    background-color: #4267B2;
    color: white;
}

.facebook-share:hover {
    background-color: #365899;
    transform: translateY(-2px);
}

.line-share {
    background-color: #00B900;
    color: white;
}

.line-share:hover {
    background-color: #009900;
    transform: translateY(-2px);
}

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

/* Sidebar */
.support-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #D4A574;
}

/* Notice Widget */
.notice-widget {
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF5E6 100%);
    border: 2px solid #D4A574;
}

.notice-content p {
    color: #5D4E37;
    line-height: 1.6;
    font-weight: 500;
}

/* Related Support Systems */
.related-support-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.related-support-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.related-support-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-year-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #3D2817;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 8px;
}

.related-support-title {
    font-size: 15px;
    margin-bottom: 8px;
}

.related-support-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-support-title a:hover {
    color: #D4A574;
}

.related-org {
    display: inline-block;
    padding: 4px 10px;
    background-color: #E8DCC8;
    color: #5D4E37;
    font-size: 12px;
    border-radius: 4px;
}

.view-all-link {
    display: inline-block;
    color: #D4A574;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #C89968;
    text-decoration: underline;
}

/* Back to Archive */
.back-to-archive .back-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #D4A574 0%, #C89968 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.back-to-archive .back-link:hover {
    background: linear-gradient(135deg, #C89968 0%, #B8895E 100%);
    transform: translateY(-2px);
}

/* Consultation Widget */
.consultation-widget {
    background: linear-gradient(135deg, #FAF8F3 0%, #F5F0E8 100%);
    text-align: center;
}

.widget-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.widget-cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #D4A574 0%, #C89968 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.widget-cta-button:hover {
    background: linear-gradient(135deg, #C89968 0%, #B8895E 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* Post Navigation */
.support-navigation-section {
    padding: 40px 20px;
    background-color: white;
    border-top: 1px solid #e0d5c7;
}

.post-navigation {
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 48%;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #FAF8F3;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: #F5F0E8;
    transform: translateY(-2px);
    border-color: #D4A574;
}

.nav-arrow {
    font-size: 24px;
    color: #D4A574;
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-label {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.nav-next .nav-link {
    justify-content: flex-end;
    text-align: right;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .support-content-grid {
        grid-template-columns: 1fr;
    }
    
    .support-sidebar {
        order: -1;
    }
    
    .info-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .support-archive-title {
        font-size: 32px;
    }
    
    .support-filter-checkboxes {
        gap: 20px;
    }
    
    .support-search-form {
        padding: 25px;
    }
    
    .checkbox-text {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    
    .application-cta-buttons {
        flex-direction: column;
    }
    
    .external-button,
    .inquiry-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .support-archive-hero-section {
        padding: 50px 20px;
    }
    
    .support-archive-title {
        font-size: 26px;
    }
    
    .support-archive-description {
        font-size: 14px;
    }
    
    .support-filter-checkboxes {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .support-search-button {
        width: 100%;
        padding: 0 !important;
        background: transparent !important;
    }

    .support-search-button-img {
        width: 100%;
        max-width: 280px;
    }
    
    .support-item-link {
        padding: 20px;
    }
    
    .support-item-title {
        font-size: 18px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-button {
        width: 100%;
        justify-content: center;
    }
}

