/* =========================
   お知らせ帯
========================= */
#box_modal_cus .click_to_open_modal {
    box-sizing: border-box;
    width: 100%;
    padding: 16px 20px;
    background: #000;
    color: #fff;
    line-height: 1.6;
    text-align: center;
    cursor: pointer;
}

/* =========================
   Modal
========================= */
#box_modal_cus .custom_notice_modal {
    display: none;
    position: absolute;
    z-index: 10000;
    width: 700px;
}

#box_modal_cus .custom_notice_modal.is_open {
    display: block;
}

/* 背景 */
#box_modal_cus .custom_notice_overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
}

/* モーダル本体 */
#box_modal_cus .custom_notice_content {
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 45px 40px 30px;
    background: #fff;
}

/* × */
#box_modal_cus .custom_notice_close_top {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    padding: 0;
    border: 0;
    background: none;
    color: #333;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

/* 本文 */
#box_modal_cus .custom_notice_body {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    white-space: normal;
    word-break: break-word;
}

/* 閉じる */
#box_modal_cus .custom_notice_close_bottom {
    display: block;
    margin: 30px auto 0;
    padding: 0;
    border: 0;
    background: none;
    color: #333;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

/* SP */
@media screen and (max-width: 800px) {
    #box_modal_cus .custom_notice_modal {
        width: calc(100% - 30px);
    }

    #box_modal_cus .custom_notice_content {
        padding: 40px 20px 25px;
    }

    #box_modal_cus .custom_notice_body {
        font-size: 13px;
        line-height: 1.7;
    }
}