
/*ウインドウ*/
window-group{
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
}
window-background{
    display: block;
    position: absolute;
    
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    
    pointer-events: none;
    
    background-color: #000000c0;
    
    opacity: 0;
    transition: opacity .3s linear;
}
window-group[opened] window-background{
    opacity: 1;
    pointer-events: auto;
}
window-positioner{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 100%;
    transition: bottom .5s ease-in;
}
window-group[opened] window-positioner[opened]{
    bottom: 0%;
    transition-timing-function: ease-out;
}
window{
    border-radius: 10px;
    box-shadow: 5px 5px #00000040;
    padding: 10px;
    pointer-events: auto;
    background: var(--window-background);
    color: var(--window-text-color);
    
    display: flex;
    flex-direction: column;
    position: absolute;
    margin: auto;
    
    width: 500px;
    max-width: 100%;
    max-height: calc(100% - 30px);
    overflow: hidden;
}
window > window-content{
    overflow: auto;
    display: block;
    border: 1px solid;
    padding: 5px;
    margin-bottom: 10px;
}