@charset "UTF-8";

/* お知らせ一覧 */
#pressnews {
    margin: 40px 0;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e0e0e0;
}

.news-item {
    border-bottom: 1px solid #e0e0e0;
}

.news-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
    padding: 16px 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.news-header:hover {
    background-color: #f7f7f7;
}

.news-header::after {
    content: "+";
    margin-left: auto;
    font-size: 18px;
    line-height: 1;
    color: #999;
    transition: transform 0.2s ease;
}

.news-item.is-open .news-header::after {
    transform: rotate(45deg);
}

.news-date {
    flex: 0 0 auto;
    width: 130px;
    font-size: 14px;
    font-weight: bold;
    color: maroon;
    letter-spacing: 0.05em;
}

.news-title {
    flex: 1 1 auto;
    min-width: 200px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.news-new {
    color: red;
    font-weight: bold;
    margin-right: 6px;
}

.news-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.news-item.is-open .news-body {
    max-height: 500px;
    padding: 0 8px 20px;
}

.news-body p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    white-space: pre-line;
}

.news-body p a {
    color: dodgerblue;
    text-decoration: underline;
}

.news-body p a:hover {
    text-decoration: none;
}

.news-more-btn {
    display: inline-block;
    font-size: 14px;
    color: dodgerblue;
    text-decoration: none;
}

.news-more-btn:hover {
    text-decoration: underline;
}

.news-loading,
.news-empty,
.news-error {
    padding: 24px 8px;
    color: #999;
    font-size: 14px;
    text-align: center;
    list-style: none;
}

.news-archive {
    margin-top: 24px;
    text-align: center;
}

.news-archive-btn {
    display: inline-block;
    padding: 10px 32px;
    border: 1px solid #999;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.news-archive-btn:hover {
    background-color: #333;
    color: #fff;
}

@media (max-width: 575px) {
    .news-date {
        width: auto;
        font-size: 13px;
    }

    .news-title {
        font-size: 15px;
    }
}
