/* ===== コラム一覧ページ専用CSS ===== */

/* KVビジュアル */
.kv-visual {
    margin-top: 93px;
    height: 45vh;
    min-height: 350px;
    background: linear-gradient(135deg, rgba(15, 26, 61, 0.95) 0%, rgba(30, 58, 138, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.kv-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/column-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.kv-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.kv-content h1 {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.kv-content p {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

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

/* パンくずリスト */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 3rem;
    border-bottom: 1px solid #e8e8e8;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    padding: 0;
}

.breadcrumb-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #1e3a8a;
}

/* メインコンテンツ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 3rem 100px;
}

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

.filter-btn {
    padding: 0.8rem 1.8rem;
    background: white;
    border: 1px solid #ddd;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.filter-btn:hover {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.filter-btn.active {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

/* コラムグリッド */
.column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* コラムカード */
.column-card {
    background: white;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.column-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.column-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.column-card.visible:hover {
    transform: translateY(-5px);
}

.column-card a {
    text-decoration: none;
    display: block;
}

.column-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.column-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.column-card:hover .column-thumbnail img {
    transform: scale(1.05);
}

.column-thumbnail .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    color: #999;
    font-size: 0.9rem;
}

.column-content {
    padding: 1.5rem;
}

.column-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.column-date {
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    color: #888;
}

.column-category {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 500;
    background: #e8f0fe;
    color: #1e3a8a;
}

/* カテゴリー別の色 */
.column-category.keiji {
    background: #fef3c7;
    color: #92400e;
}

.column-category.jiko {
    background: #dbeafe;
    color: #1e40af;
}

.column-category.rikon {
    background: #fce7f3;
    color: #9d174d;
}

.column-category.souzoku {
    background: #d1fae5;
    color: #065f46;
}

.column-category.syakkin {
    background: #e0e7ff;
    color: #3730a3;
}

.column-category.higai {
    background: #fee2e2;
    color: #991b1b;
}

.column-category.advise {
    background: #f0fdf4;
    color: #166534;
}

.column-category.voice {
    background: #fef9c3;
    color: #854d0e;
}

.column-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-more {
    font-size: 0.85rem;
    color: #1e3a8a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.column-card:hover .column-more {
    color: #1e40af;
}

/* 投稿なし */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1rem;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.pagination .current {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kv-visual {
        margin-top: 70px;
        height: 35vh;
        min-height: 280px;
    }

    .kv-content h1 {
        font-size: 2rem;
        letter-spacing: 0.15em;
    }

    .kv-content p {
        font-size: 0.95rem;
    }

    .breadcrumb {
        padding: 0.8rem 1.5rem;
    }

    .main-content {
        padding: 40px 1.5rem 60px;
    }

    .category-filter {
        gap: 0.5rem;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .column-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .column-thumbnail {
        height: 180px;
    }

    .column-content {
        padding: 1.2rem;
    }

    .column-title {
        font-size: 1rem;
    }

    .column-excerpt {
        font-size: 0.8rem;
    }
}