body {
    background: #000000;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../img/bg_01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

#demo-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.overlay {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: .7vw solid #FF7A00;
    z-index: 100;
    pointer-events: none;
}

#fullscreenBtn {
    margin: 1rem 0;
    font-size: 1.2rem;
}

img {
    width: 100%;
    height: auto;
}

a {
    display: block;
    margin-top: 1rem;
    font-size: 1.2rem;
}

#slide-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* スライド個別設定 */

.startpage {
    position: absolute;
    top: 50%;
    animation: startpageBlink 2s infinite ease;
}

.startpage img {
    width: 47vw;
    height: auto;
}

@keyframes startpageBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.nextpage {
    position: absolute;
    right: 4.6vw;
    bottom: 1vw;
}

.nextpage img {
    width: 32vw;
    height: auto;
}

.nextpage-wait {
    animation: nextpageWait 10s forwards;
}

@keyframes nextpageWait {
    0% {
        opacity: 0;
        pointer-events: none;
    }

    99% {
        opacity: 0;
        pointer-events: none;
    }

    100% {
        opacity: 1;
        pointer-events: auto;
    }
}

#slide1 {
    background-image: url('../img/bg_title.png');
    background-size: cover;
}

.slide1_parapara {
    position: absolute;
    height: auto;
    width: 42%;
    left: calc(100% - 18%);
    /* right: calc(100% - 747px); */
    bottom: 0px;
    transform: translateX(-50%);
}

.title_smartphone {
    position: absolute;
    top: 5.2vw;
    width: 70%;
    height: auto;
    animation: startpageBlink 2s infinite ease;
}