/*
 * Art・Value ブログスタイル
 * ブログ一覧・記事ページで使用
 */

/* ブログ一覧用 */
.main-content {
    padding: 80px 20px;
    background: var(--bg-light);
}

.page-header {
    background: var(--bg-gradient);
    color: white;
    padding: 150px 20px 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3.5em;
    font-weight: 900;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.3em;
    opacity: 0.95;
}

/* カテゴリーフィルター */
.category-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.category-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    font-size: 1em;
}

.category-btn:hover,
.category-btn.active {
    background: var(--bg-gradient);
    color: white;
    border-color: transparent;
}

/* ブログカードグリッド */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    position: relative;
    overflow: hidden;
}

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

.blog-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-category {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
}

.blog-category.news {
    background: #e3f2fd;
    color: #1976d2;
}

.blog-category.tech {
    background: #f3e5f5;
    color: #7b1fa2;
}

.blog-category.case {
    background: #e8f5e9;
    color: #388e3c;
}

.blog-card h3 {
    font-size: 1.6em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.blog-read-more:hover {
    gap: 12px;
}

/* ブログ記事用 */
body.blog-article {
    background: var(--bg-light);
    line-height: 1.9;
}

header.blog-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-dark);
}

/* 記事ヘッダー */
.article-header {
    background: white;
    padding: 80px 20px 60px;
    text-align: center;
}

.article-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-date {
    color: var(--text-light);
    font-size: 0.95em;
}

.article-category {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
}

.article-title {
    font-size: 3em;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.3em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 記事コンテンツ */
.article-content {
    background: white;
    max-width: 850px;
    margin: 40px auto;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.article-content h2 {
    font-size: 2.2em;
    color: var(--text-dark);
    margin: 60px 0 30px;
    font-weight: 800;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.article-content h3 {
    font-size: 1.7em;
    color: var(--text-dark);
    margin: 40px 0 20px;
    font-weight: 700;
}

.article-content p {
    font-size: 1.15em;
    line-height: 2;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-content li {
    font-size: 1.15em;
    line-height: 2;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.article-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 5px solid var(--primary-color);
}

.highlight-box h4 {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    box-shadow: var(--shadow-sm);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--bg-gradient);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1.1em;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1em;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* CTA */
.article-cta {
    background: var(--bg-gradient);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
}

.article-cta h3 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 900;
}

.article-cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-header h1,
    .article-title {
        font-size: 2em;
    }

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

    .article-content {
        padding: 30px 20px;
    }

    .article-content h2 {
        font-size: 1.7em;
    }

    .comparison-table {
        font-size: 0.9em;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }
}
