html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}
body {
    height: 100%;
    background-color: #222;
    padding-top: 49px;
    margin-bottom: 40px;
    font-family: 'Raleway', 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

#replug-logo {
    position: relative;
    top: -4px;
    stroke: #fff;
    stroke-width: 0.1rem;
    fill: #fff;
    fill-opacity: 1;
    stroke-dasharray: 760px;
    stroke-dashoffset: 1521px;
    animation: replug-logo-animation 4s ease-in-out 2s alternate infinite;
    height: 20px;
}
@keyframes replug-logo-animation {
    0%{
        fill-opacity: 1;
        stroke-dashoffset: 0;
    }
    60%{
        fill-opacity: 1;
        stroke-dashoffset: 0;
    }
    80%{
        fill-opacity: 0;
        stroke-dashoffset: 0;
    }
    100%{
        fill-opacity: 0;
    }
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    z-index: 3;
}

.fixed-container {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100% - 50px - 31px);
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}
.fixed-container > div.contents-screen {
    position: absolute;
    margin: 0 auto;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.fixed-container > div.contents-screen > .scroll-area > .spell > svg {
    fill: #fff;
}
.fixed-container > div.mask-screen {
    position: fixed;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}
.fixed-container > div.mask-screen > .mask {
    width: 100%;
    height: 2000px;
    background-color: #222;
}
.fixed-container > div.mask-screen > .mask.mask-bottom {
    position: relative;
    top: -2px;
}
.fixed-container > div.mask-screen > svg {
    /* fill-opacity: 0;
    stroke-opacity: 1;
    stroke-dasharray: 1000px;
    stroke-dashoffset: 1000px; */
    position: relative;
    margin: auto;
    top: -1px;
    right: 0;
    left: 0;
    fill: #222;
}
.fixed-container > div.logo {
    position: fixed;
    margin: 0 auto;
    top: 60px;
    right: 0;
    left: 0;
}
.fixed-container > div.logo > svg {
    fill-opacity: 0;
    fill: #FEDD6B;
}
.fixed-container > div.logo > div {
    opacity: 0;
    color: #FEDD6B;
}
.scroll-area {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    overflow: hidden;
}
.scroll-area .spell {
    font-family: "Kokoro";
    position: absolute;
    margin: 0 auto;
    right: 0;
    left: 0;
    letter-spacing: -0.3em;
    color: #999;
    text-shadow: 0px 0px 3px #ccc;
    overflow: hidden;
}
.scroll-area:nth-child(4) .spell {
    line-height: .8em;
}
.scroll-area .scroll {
    position: absolute;
    width: 100%;
    bottom: 10px;
    color: #222;
    text-shadow: 0px 1px 1px #fff,1px 1px 1px #fff,1px 0px 1px #fff,1px -1px 1px #fff,0px -1px 1px #fff,-1px -1px 1px #fff,-1px 0px 1px #fff,-1px 1px 1px #fff;
    z-index: 1;
}

.notice {
    position: absolute;
    background-color: rgba(255,255,255,.2);
    width: 100%;
    padding: 10px;
    bottom: 0px;
    color: #fff;
    text-align: left;
    z-index: 2;
}

#btn-nowplaying {
    position: fixed;
    bottom: 3px;
    right: 10px;
    z-index: 97;
}

#btn-twinvite {
    position: fixed;
    bottom: 67px;
    right: 10px;
    z-index: 98;
}

.modal-container {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.9);
    z-index: 99;
    opacity: 0;
    transition: opacity 1s ease;
    visibility: hidden;
}

.modal-content {
    background-color: transparent;
    height: 100%;
    padding: 60px 1rem 1rem;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    color: #222;
    text-shadow: 0px 0px 5px #fff,1px 1px 1px #fff;
}
.modal-content a{
    text-decoration: underline;
}

.modal-close-btn {
    position: absolute;
    top: 60px;
    right: 1rem;
}

.chair-panel {
    position: relative;
    transform-style: preserve-3d;
}

.name-holder {
    position: absolute;
    height: 90%;
    left: 0;
    top: 10%;
    overflow: hidden;
    word-break: break-all;
    animation: name-holder 2s ease infinite;
    font-size: 19px;
}

@media (max-width: 768px) {
    .name-holder {
        font-size: 12px;
    }
}
@media (max-width: 992px) {
    .name-holder {
        font-size: 13px;
    }
}

@keyframes name-holder {
    0% {
        transform: rotateZ(30deg) translateX(2px);
    }
    50% {
        transform: rotateZ(20deg) translateX(-2px);
    }
    100% {
        transform: rotateZ(30deg) translateX(2px);
    }
}
