@charset "utf-8";

/* html */
html {
    position: relative;
    user-select: none;
}

/* フェードアウト用 */
#fadeFilter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    pointer-events: none;
    z-index: 9999999;
}
.fadeFilterFadeout {
    display: block;
    animation: fadeFilterFadeout_key 0.2s linear 1 forwards;
}
@keyframes fadeFilterFadeout_key {
    0% { opacity: 0; } 
    100% { opacity: 1; }
}

/* ボタン操作 */
a:hover,
button:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* 非表示 */
.hidden {
    display: none;
}


/* フォントの指定 */
.reg {
    font-family: "Reggae One", system-ui;
    font-weight: bold;
    font-style: normal;
}
.dot {
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.roc {
    font-family: "RocknRoll One", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.san {
    font-family: sans-serif;
    font-weight: 400;
    font-style: normal;
}

.small {
    font-size: calc(1em * 2 / 3);
}

/* 音量スライダー */
#volume {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    z-index: 1000;
}
#volumeMute {
    height: 20px;
    margin-right: 5px;
}

#volume > div {
    position: relative;
    width: 100px;
    height: 10px;
    display: flex;
    align-items: center;
}
#volume > div > div {
    position: absolute;
    width: 100px;
    height: 20px;
    border-left: 100px solid transparent;
    border-bottom: 20px solid #dddddd;
    display: flex;
}

.drag {
    cursor: grab;
}
.dragging {
    cursor: grabbing;
}
#slider[type="range"] {
    position: absolute;
    -webkit-appearance: none;
    width: 100px;
    height: 8px;
    border-radius: 4px;
}

/* Chrome, Safari, Edge */
#slider[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 8px;
    height: 26px;
    background: #dddddd;
    border: 1px solid black;
    border-radius: 10px;
}

/* Firefox */
#slider[type="range"]::-moz-range-thumb {
    width: 10px;
    height: 32px;
    background: #dddddd;
    border: 1px solid black;
    border-radius: 10px;
    /* border: none; */
}

