/* ============================================
   blog-style.css
   経営ノウハウ・コラムページ専用スタイル
============================================ */

/* ヒーローセクション */
.blog-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

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

.blog-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
    white-space: nowrap; /* 改行を防ぐ */
}

.blog-hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* カテゴリフィルター */
.blog-filter-section {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.filter-btn i {
    font-size: 1.05rem;
}

.filter-btn:hover {
    background: #f0f0f0;
    border-color: #1e3a5f;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #1e3a5f;
    color: #fff;
    border-color: #1e3a5f;
}

/* 記事一覧セクション */
.articles-section {
    padding: 60px 0;
    background: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* 記事カード */
.article-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #1e3a5f;
}

.article-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.article-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.article-card-image i {
    position: relative;
    z-index: 1;
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.article-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f39c12;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.article-card-date {
    font-size: 0.95rem;
    color: #999;
}

.article-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 12px;
    line-height: 1.5;
    flex: 1;
}

.article-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.article-card-tag {
    padding: 4px 10px;
    background: #f0f0f0;
    color: #666;
    font-size: 0.85rem;
    border-radius: 12px;
}

/* 注目記事バッジ */
.article-card.featured {
    border: 2px solid #f39c12;
    position: relative;
}

.article-card.featured::before {
    content: '注目';
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f39c12;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

/* 記事が見つからない場合 */
.no-articles {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.no-articles i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-articles p {
    font-size: 1.25rem;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-buttons .btn-primary {
    background: #f39c12;
    color: #fff;
}

.cta-buttons .btn-primary:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.3);
}

.cta-buttons .btn-secondary {
    background: #fff;
    color: #1e3a5f;
}

.cta-buttons .btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.cta-contact-info {
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0.9;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0 40px;
    }

    .blog-hero-title {
        font-size: 1.8rem;
    }

    .blog-hero-description {
        font-size: 1rem;
    }

    .blog-filter {
        gap: 8px;
        padding: 0 10px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 4px;
    }

    .filter-btn i {
        font-size: 0.85rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-card-title {
        font-size: 1.05rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* アニメーション */
.article-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

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