/* Pop View/Note */
#popnote {
    position: fixed;
    width: calc(50vw - 30px);
    /*max-height: 600px;*/
    height: calc(100vh - 245px);
    left: calc(50vw + 15px);
    top: 115px;
    background-color: #eee;
    border: solid #666 2px;
    font-size: 14pt;
    font-weight: normal;
    opacity: 1.0;
    display: none;
    color: #333;
    /*background-color: transparent;*/
    z-index: 19000;
    /*overflow: hidden;*/
}

.popnote_base {
    margin: 50px auto 6px auto;
    width: 100%;
    min-height: 250px;
    height: calc(100% - 50px);
    background-color: #333;
    overflow-y: auto;
}

.popnote_header {
    position: absolute;
    top: 1px;
    left: 1px;
    height: 50px;
    width: 100%;
    background-color: #ccc;
    cursor: move;
    padding: 4px;
    font-size: 1rem;
}

.popnote_close {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 30px;
    cursor: pointer;
    z-index: 19001;
}

#floatnote {
    margin: 0 auto;
    /*padding: 5px 15px;*/
    min-height: 90px;
    overflow: auto;
    line-height: 1.25em;
    font-size: 0.8rem;
    text-align: justify;
}
#floatnote {
    position: absolute;
    /*display: none;*/
    width: 100%;
    height: calc(100% - 50px);
    padding: 0px 0px;
}

#popnotecornerleft {
    position: absolute;
    left: -40px;
    bottom: -40px;
    width: 60px;
    height: 60px;
    cursor: sw-resize;
    background-color: transparent;
    border: solid #999 0px;
    z-index: 19001;
}

#popnotecornerright {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 60px;
    height: 60px;
    cursor: se-resize;
    background-color: transparent;
    border: solid #999 0px;
    z-index: 19002;
}

/* Note */
/* 縦書き */
.nn-fn-dir1 {
    position: absolute;
    direction: rtl;
    width: 100%;
    height: 100%;
    overflow: auto;
}
.nn-fn-dir2 {
    position: absolute;
    direction: ltr;
    writing-mode: tb-rl;
    width: auto;
    color: #ccc;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: none;
    /*touch-action: none;*/
}
.nn-fn-section {
    padding: 15px;
    background-color: rgba(32, 32, 32, 1);
    color: #bbb;
    word-break: break-all;
}
.nn-fn-section h3 {
    font-family: sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.7em;
    text-align: left;
    color: #999;
    word-break: break-all;
}
.nn-fn-section p {
    margin: 0em 0;
    font-family: serif;
    font-size: 1.0rem;
    font-weight: normal;
    line-height: 2em;
    /*text-align: justify;*/
    text-align: left;
    text-indent: 0em;
    /*1em;*/
    word-break: break-all;
    color: #ccc;
}

.nn-fn-dir1::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 24px;
}

.nn-fn-dir1::-webkit-scrollbar-thumb {
    border-radius: 2px;
    border: 2px solid rgba(32, 32, 32, 0.8);
    background-color: rgba(127, 127, 127, 0.7);
    cursor: move !important;
}

.nn-fn-dir1::-webkit-scrollbar-track {
    background-color: rgba(64, 64, 64, 0.8);
    border-radius: 2px;
}


#popnote div.s14_hotaru {
    display: none;
}
#popnote div.s14loc {
    visibility: hidden;
}