/* ブログページ専用スタイル */

/* ページヘッダー */
.page-header {
    margin-top: 80px;
    background: linear-gradient(135deg, #1a5fa8 0%, #2c8fa3 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: 4px;
}

.page-header-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    letter-spacing: 6px;
    font-weight: 500;
}

.page-header-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
}

/* ブログセクション */
.blog-section {
    padding: 80px 0 100px;
    background-color: var(--light-gray);
    min-height: 50vh;
    position: relative;
}

/* 空状態 */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--white);
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.blog-empty i {
    font-size: 56px;
    color: var(--primary-blue);
    margin-bottom: 24px;
}

.blog-empty h2 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-weight: 700;
}

.blog-empty p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 32px;
}

.blog-empty strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.blog-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-back-btn:hover {
    background-color: #154a85;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 95, 168, 0.3);
}

/* ブログ記事一覧 */
.blog-articles {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* 記事カード */
.blog-article {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
}

.blog-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), var(--header-teal));
}

.blog-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 95, 168, 0.12);
}

/* 記事ヘッダー */
.blog-article-header {
    padding: 50px 60px 30px;
    border-bottom: 1px solid var(--border-gray);
    background: linear-gradient(180deg, rgba(245, 247, 250, 0.5) 0%, transparent 100%);
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.blog-article-date {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.blog-article-date i {
    color: var(--primary-blue);
    font-size: 15px;
}

.blog-article-category {
    background: linear-gradient(135deg, var(--primary-blue), var(--header-teal));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(26, 95, 168, 0.2);
}

.blog-article-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.5;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 20px;
}

.blog-article-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-blue), var(--header-teal));
    border-radius: 3px;
}

/* 記事本文 */
.blog-article-body {
    padding: 40px 60px 60px;
}

.blog-article-body p {
    font-size: 16px;
    color: #2c3e50;
    line-height: 2.1;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.blog-article-body p:last-child {
    margin-bottom: 0;
}

/* 最初の段落を強調 */
.blog-article-body p:first-child {
    font-size: 17px;
    color: var(--text-dark);
    font-weight: 500;
}

/* 記事フッター（区切り装飾） */
.blog-article::after {
    content: '';
    display: block;
    margin: 0 60px 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-gray), transparent);
}

/* レスポンシブ - タブレット */
@media (max-width: 968px) {
    .page-header {
        padding: 80px 0 60px;
    }

    .page-header-title {
        font-size: 48px;
    }

    .blog-article-header {
        padding: 40px 40px 24px;
    }

    .blog-article-body {
        padding: 32px 40px 50px;
    }

    .blog-article::after {
        margin: 0 40px 32px;
    }

    .blog-article-title {
        font-size: 26px;
    }
}

/* レスポンシブ - モバイル */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 50px;
    }

    .page-header-title {
        font-size: 40px;
        letter-spacing: 2px;
    }

    .page-header-subtitle {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .page-header-description {
        font-size: 14px;
    }

    .blog-section {
        padding: 50px 0 70px;
    }

    .blog-articles {
        gap: 32px;
    }

    .blog-article {
        border-radius: 12px;
    }

    .blog-article::before {
        height: 4px;
    }

    .blog-article-header {
        padding: 32px 24px 20px;
    }

    .blog-article-body {
        padding: 24px 24px 36px;
    }

    .blog-article::after {
        margin: 0 24px 24px;
    }

    .blog-article-meta {
        gap: 10px;
        margin-bottom: 18px;
    }

    .blog-article-date {
        font-size: 13px;
    }

    .blog-article-category {
        font-size: 11px;
        padding: 5px 12px;
    }

    .blog-article-title {
        font-size: 22px;
        padding-left: 16px;
        line-height: 1.5;
    }

    .blog-article-title::before {
        width: 4px;
        top: 6px;
        bottom: 6px;
    }

    .blog-article-body p {
        font-size: 15px;
        line-height: 1.95;
        margin-bottom: 18px;
    }

    .blog-article-body p:first-child {
        font-size: 16px;
    }

    .blog-empty {
        padding: 50px 20px;
    }

    .blog-empty h2 {
        font-size: 22px;
    }

    .blog-empty p {
        font-size: 14px;
    }
}
