/* --- 共通ページヘッダーのスタイル (about.cssなどから流用) --- */
.page-header {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(237, 141, 48, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 3rem;
    color: #c05f1a;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    position: relative;
    z-index: 2;
}

/* --- お知らせ一覧のスタイル（news-archive） --- */

.news-archive {
    padding: 60px 0;
    background-color: #ffffff;
}

.news-list {
    max-width: 800px; 
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.news-item:hover {
    background-color: #fafafa;
}

.news-date {
    flex-shrink: 0; 
    width: 100px;
    font-size: 0.9rem;
    color: #666;
    padding-right: 20px;
}

.news-tag {
    flex-shrink: 0; 
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 20px;
    color: white;
}

.news-tag.new {
    background-color: #c05f1a; 
}

.news-title {
    flex-grow: 1;
    font-size: 1rem;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

/* --- single.php (記事単体ページ) のスタイル --- */

.page-header .category-info {
    font-size: 0.9rem;
    color: #e67e22; 
    margin-bottom: 0.5rem;
}

.page-header .post-date {
    font-size: 1rem;
    color: #999;
}

.article-content {
    max-width: 800px; 
    padding: 60px 20px;
}

.entry-content {
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 40px;
}

.entry-content h2 {
    font-size: 1.5rem;
    color: #c05f1a;
    border-left: 5px solid #e67e22;
    padding-left: 15px;
    margin: 30px 0 20px;
}
.entry-content h3 {
    font-size: 1.2rem;
    color: #e67e22;
    border-bottom: 1px solid #ffe8d0;
    padding-bottom: 5px;
    margin: 25px 0 15px;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.entry-footer .back-link a {
    display: inline-block;
    color: #c05f1a;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #c05f1a;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.entry-footer .back-link a:hover {
    background-color: #ffe8d0;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    /* 共通ページヘッダーのレスポンシブ調整 */
    .page-header {
        padding: 120px 0 50px;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .page-header p {
        font-size: 1.0rem;
    }

    /* お知らせリストのレスポンシブ調整 */
    .news-item {
        flex-wrap: wrap; 
        padding: 10px 0;
    }

    .news-date {
        width: auto;
        padding-right: 10px;
        margin-bottom: 5px;
    }
    
    .news-tag {
        margin-right: 10px;
        margin-bottom: 5px;
    }
    
    .news-title {
        width: 100%; 
        order: 3; 
    }
}