/*
 * ホームページ用セクションスタイル
 * - Pickup Section
 * - Article Feature Section
 */

/* --- セクション共通スタイル --- */
.home-section {
    padding: 60px 0;
    background: #ffffff;
}

@media (max-width: 768px) {
    .home-section {
        padding: 20px 0;
    }
}

/* --- Pickup Section --- */
.pickup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 0 8px;
}

.pickup-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pickup-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pickup-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.pickup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pickup-item:hover .pickup-image img {
    transform: scale(1.05);
}

.pickup-content {
    padding: 10px;
}

.pickup-category {
    font-size: 13px;
    color: #c20c24;
    font-weight: 600;
    margin-bottom: 8px;
}

.pickup-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.pickup-description {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    min-height: 70px; /* 高さを揃える */
}

.pickup-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: right;
}

/* --- Article Feature Section --- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 10px;
}

.article-preview-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.article-preview-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-preview-content {
    padding: 15px;
}

.article-preview-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.article-preview-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more-link {
    display: inline-block;
    margin-top: auto;
    font-weight: 600;
    color: #c20c24;
}

/* --- すべての記事を見るボタン --- */
.view-all-articles-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-articles-btn {
    display: inline-block;
    padding: 12px 40px;
    background: white;
    border: 2px solid #c20c24;
    color: #c20c24;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.view-all-articles-btn:hover {
    background: #c20c24;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(194, 12, 36, 0.2);
}