/* 
* Blog Pages General Style
*/

/* お役立ち情報一覧ページ (useful_info.php) */
.useful-info-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.article-list {
    display: grid;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.article-card {
    display: block;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-card .article-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.article-card .article-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* 記事詳細ページ (subsidy_info.php, hp_purpose.php) */
.article-section {
    padding: 80px 0;
    background-color: #fff;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-gray);
}

.article-content .article-title {
    font-size: 32px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    line-height: 1.5;
}

.article-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.article-content .article-lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.article-content .article-heading {
    font-size: 24px;
    margin-top: 60px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-content ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-content ul li {
    font-size: 16px;
    line-height: 1.8;
    padding-left: 1.2em;
    position: relative;
}

.article-content ul li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.article-content ul li strong {
    color: var(--primary-color);
}

.article-back-button {
    text-align: center;
    margin-top: 60px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* お役立ち情報一覧ページ */
    .useful-info-section {
        padding: 60px 20px;
    }

    .article-list {
        gap: 20px;
    }

    .article-card {
        padding: 20px;
    }

    .article-card .article-title {
        font-size: 18px;
    }

    .article-card .article-excerpt {
        font-size: 15px;
    }

    /* 記事詳細ページ */
    .article-section {
        padding: 60px 20px;
    }

    .article-content .article-title {
        font-size: 28px;
        line-height: 1.4;
    }

    .article-content .article-lead {
        font-size: 16px;
    }

    .article-content .article-heading {
        font-size: 20px;
        margin-top: 40px;
    }

    .article-content p,
    .article-content ul li {
        font-size: 15px;
        line-height: 1.7;
    }
}