@charset "UTF-8";

/* darkmode */
html.book-dark-mode {
    background: #000;
}

html.book-dark-mode #bibi-main-book {
    background: #fff;
    -webkit-filter: grayscale(1) invert(1) brightness(0.9);
    filter: grayscale(1) invert(1) brightness(0.9);
}

.bibi-subpanel .bibi-button.active .bibi-icon.bibi-icon-dark-mode {
    color: #fff;
}


/* jasrac nocopy noprint */
/* iframe.item {
    pointer-events: none;
} */
@media print {
    body:before {
        content: "このページの印刷・複製は禁止されています。";
        font-size: 2em;
        font-weight: bolder;
        color: #fff;
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        width: 50%;
        transform: translate(-50%,-50%);
        z-index: 9999999999999999;
        background: #000;
        padding: 1em;
    }
    
    div#bibi-main-book {
        opacity: 0;
    }
    
}