/* オーバーレイ全体の枠（初期状態は非表示） */
.news-modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

/* 黒の半透明背景（rgbaを使わず確実に半透明にする） */
.news-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.65;
    filter: alpha(opacity=65); /* 古いIE・互換モード用 */
}

/* ポップアップ本体 */
.news-modal-box {
    position: relative;
    z-index: 2;
    margin: 80px auto 0 auto; /* 互換モードでも崩れない中央配置 */
    background-color: #ffffff;
    width: 90%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    padding: 25px 30px;
    border: 1px solid #cccccc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
}

/* 閉じるボタン */
.news-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #666666;
    cursor: pointer;
}

.news-modal-date {
    font-size: 12px;
    color: #888888;
    margin: 0 0 5px 0;
}

.news-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    border-bottom: 1px solid #dddddd;
    padding-bottom: 10px;
    margin: 0 0 15px 0;
}

.news-modal-body {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}