/* Columns ページ専用スタイル */

/* Hero Section */
.hero-section {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../images/top_columns.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 20px;
    color: #e5e7eb;
}

/* Articles Section */
.articles-section {
    background-color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.article-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #3b82f6;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.article-content {
    padding: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7280;
}

.article-meta i {
    color: #3b82f6;
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.article-tag {
    background-color: #f3f4f6;
    color: #6b7280;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.read-more {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2563eb;
}

.read-more i {
    font-size: 14px;
}

/* Featured Article */
.featured-article {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-category {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    width: fit-content;
}

.featured-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-excerpt {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.featured-read-more {
    background-color: white;
    color: #3b82f6;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    transition: all 0.3s ease;
}

.featured-read-more:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Categories Section */
.categories-section {
    background-color: #f9fafb;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.category-card {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 64px;
    height: 64px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #3b82f6;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.category-count {
    color: #6b7280;
    font-size: 14px;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #3b82f6;
    color: white;
    text-align: center;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}

.newsletter-description {
    font-size: 18px;
    color: #bfdbfe;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    background-color: white;
    color: #3b82f6;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
    }
    
    .featured-content {
        padding: 24px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .featured-excerpt {
        font-size: 16px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .newsletter-description {
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .newsletter-btn {
        padding: 12px 16px;
    }
}