/* ブログセクション - 安全版 */

/* 他の要素に影響しないように厳密にスコープを限定 */
section.blog {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10rem;
    width: 100%;
    clear: both;
}

section.blog .blog__container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
}

section.blog .blog__title {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 4rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    text-align: right;
    opacity: 0;
    transform: translateY(30px);
}

section.blog .blog__content {
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    align-self: center;
}

section.blog .blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

section.blog .blog__item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
}

section.blog .blog__item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

section.blog .blog__item-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

section.blog .blog__item:hover {
    transform: translateY(-5px);
}

section.blog .blog__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

section.blog .blog__date {
    color: #ccc;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

section.blog .blog__category {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

section.blog .blog__item-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: normal;
    color: #fff;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

section.blog .blog__excerpt {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

section.blog .blog__more {
    text-align: center;
    margin-top: 3rem;
}

section.blog .blog__more-btn {
    position: relative;
    display: inline-block;
    padding: 1rem 3rem;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.2em;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    transition: all 0.3s ease;
}

section.blog .blog__more-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: #fff;
}

/* アニメーション - ブログセクションのみに適用 */
section.blog .fadeInUp-animation {
    animation: blogFadeInUp 1s ease-out forwards;
}

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

/* レスポンシブ対応 */
@media (max-width: 1000px) {
    section.blog {
        margin-bottom: 5rem;
    }

    section.blog .blog__container {
        width: 80%;
        align-items: center;
    }

    section.blog .blog__title {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    section.blog .blog__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    section.blog .blog__item-title {
        font-size: 1.1rem;
    }

    section.blog .blog__excerpt {
        font-size: 0.9rem;
    }

    section.blog .blog__more-btn {
        padding: 0.8rem 2rem;
        font-size: 14px;
    }
}