
.articles {
    padding: 80px 0;
    background: #fff;
}

.articles-header {
    text-align: center;
    margin-bottom: 40px;
}

.articles-subtitle {
    font-size: 16px;
    color: #0099B0;
    margin-bottom: 10px;
    font-weight: 500;
}

.articles-title {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin: 0;
}

.blog-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-post-item {
    background: #f7f5f4;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-post-item:hover {
    transform: translateY(-5px);
}

.post-thumbnail {
    position: relative;
    padding-top: 66.67%; /* 3:2のアスペクト比 */
    overflow: hidden;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-content h2 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content a {
    text-decoration: none;
    color: inherit;
}

.post-date {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.members-more {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 15px 50px;
    background: #0099B0;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.members-more:hover {
    background: #007a8c;
}

@media (max-width: 768px) {
    .articles {
        padding: 50px 0;
    }

    .articles-title {
        font-size: 24px;
    }

    .blog-posts {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }

    .post-content h2 {
        font-size: 16px;
    }

    .members-more {
        padding: 12px 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .articles {
        padding: 40px 0;
    }

    .articles-subtitle {
        font-size: 14px;
    }

    .articles-title {
        font-size: 20px;
    }

    .blog-posts {
        grid-template-columns: 1fr;
    }
} 