/**
 * 取り組みページのスタイル
 */

.initiatives-page {
    padding: 2rem 0;
}

.entry-header {
    text-align: center;
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.entry-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.entry-description {
    max-width: 800px;
    margin: 1rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.initiatives-featured-image {
    margin-bottom: 2rem;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featured-image {
    width: 100%;
    height: auto;
}

.initiatives-content {
    margin-bottom: 3rem;
    line-height: 1.7;
}

.initiatives-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.initiative-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.initiative-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.initiative-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.initiative-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.initiative-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.initiative-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.initiative-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-right: 20px;
}

.initiative-link:after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease;
}

.initiative-link:hover {
    color: var(--secondary-color);
}

.initiative-link:hover:after {
    right: -5px;
}

.environment-section .initiative-icon {
    background-color: rgba(134, 176, 73, 0.2);
}

.social-section .initiative-icon {
    background-color: rgba(227, 241, 212, 0.4);
}

.innovation-section .initiative-icon {
    background-color: rgba(44, 94, 26, 0.1);
}

.sdgs-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sdgs-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.sdgs-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.7;
}

.sdgs-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.sdg-icon {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.sdg-icon:hover {
    transform: scale(1.1);
}

.sdg-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievements-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.achievements-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.achievements-list {
    max-width: 800px;
    margin: 0 auto;
}

.achievement-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

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

.achievement-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.initiatives-cta {
    background-color: var(--accent-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.initiatives-cta h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.initiatives-cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .initiatives-page {
        padding: 1rem;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .entry-description {
        font-size: 1rem;
    }
    
    .initiatives-sections {
        grid-template-columns: 1fr;
    }
    
    .initiative-section {
        padding: 1.5rem;
    }
    
    .initiative-icon {
        width: 60px;
        height: 60px;
    }
    
    .initiative-icon .dashicons {
        font-size: 30px;
        width: 30px;
        height: 30px;
    }
    
    .initiative-title {
        font-size: 1.3rem;
    }
    
    .sdgs-title,
    .achievements-title,
    .initiatives-cta h2 {
        font-size: 1.5rem;
    }
    
    .sdg-icon {
        width: 60px;
        height: 60px;
    }
    
    .initiatives-cta {
        padding: 2rem 1rem;
    }
    
    .initiatives-cta p {
        font-size: 1rem;
    }
} 