@charset "Shift_JIS";
#cover{
    width: 100%;
    height: 100%;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    cursor: pointer;
}
#modal_overlay{
    width: 100%;
    height: 100%;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    cursor: pointer;
}
#modal{
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 150;
    box-sizing: border-box;
    width: 90%;
    max-width: 840px;
    padding: 1.5em;
    background: #FFF;
    transform: translate(-50%, -50%);
}
#modal #loading{
    text-align: center;
}
#modal figure{
    overflow: hidden;
}
#modal figure img{
    max-width: 100%;
    height: auto;
}
#modal figure figcaption{
    float: left;
    color: #666;
    font-weight: bold;
}
#modal #close{
    float: right;
    border: none;
    background-color: #FFF;
    margin: 0.25em;
    padding: 0 0.25em;
}
#modal #close img{
    vertical-align: middle;
}