@charset "UTF-8";
/* CSS Document */

/* 基本設定 */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #f7f7f7;
}


/* ニュースタイトル */
.cs-news-heading {
    margin: 0;
    padding: 8px 40px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #4d4d4d;
    border-bottom: 1px solid #c8c9cc;
    box-sizing: border-box;
}
.cs-news-heading span{
    color: #f15a24;
}

/* ニュース一覧 */
.cs-news-wrapper {
    width: 100%;
    height: calc(100% - 55px);
    box-sizing: border-box;
    padding: 4px 40px;
    overflow-y: auto;
}

.cs-news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-news-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 0px;
    text-decoration: none;
    cursor: pointer;
}

.cs-news-date {
    flex-shrink: 0;
    font-size: 12px;
}

.cs-news-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}

.cs-news-link:hover {
    opacity: 0.7;
}


/* ポップアップ */

.cs-news-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: #f7f7f7;
    align-items: flex-start;
    justify-content: flex-start;
}

/* 表示されたとき */
.cs-news-modal.is-open {
    display: flex;
}

/* ポップアップ本体 */
.cs-news-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 35px 30px 25px;
    box-sizing: border-box;
    overflow-y: auto;
    background: #f7f7f7;
}
/* 右上の× */
.cs-news-close {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 0;
    border: none;
    background: none;
    color: #333;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

/* 日付 */
.cs-news-modal-date {
    display: block;
    margin-bottom: 10px;
    color: #777;
    font-size: 13px;
}

/* 記事タイトル */
.cs-news-modal-title {
    margin: 0 0 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #c8c9cc;
    font-size: 14px;
    line-height: 1.6;
}

/* 記事本文 */
.cs-news-modal-body {
    font-size: 12px;
    line-height: 1.8;
}

.cs-news-modal-body p {
    margin: 0 0 12px;
}

/* 記事画像 */
.cs-news-modal-body img {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 15px auto;
}

/* 下部の閉じるボタン */
.cs-news-close-btn {
    display: block;
    min-width: 100px;
    margin: 25px auto 0;
    padding: 10px 25px;
    border: none;
    background: none;
    font-size: 12px;
    cursor: pointer;
}
