* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    overflow: hidden;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

#content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

#content h1 {
    font-family: 'Pacifico', cursive;
    font-size: 12vw;
    font-weight: 400;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
    margin: 0 1rem 0.5rem;
    text-align: center;
    max-width: 90%;
}

.subtitle {
    font-size: 1rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.2em;
    margin: 0 1rem;
    text-align: center;
    opacity: 0.9;
}

/* タブレット以上 */
@media (min-width: 768px) {
    #content h1 {
        font-size: 8vw;
    }

    .subtitle {
        font-size: 1.3rem;
    }
}

/* PC以上 */
@media (min-width: 1024px) {
    #content h1 {
        font-size: 6vw;
        max-font-size: 6rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }
}

#app-store-badge {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#app-store-badge a {
    display: block;
    transition: transform 0.2s ease;
}

#app-store-badge a:hover {
    transform: scale(1.05);
}

#app-store-badge img {
    height: 40px;
    width: auto;
    display: block;
}

/* タブレット以上 */
@media (min-width: 768px) {
    #app-store-badge img {
        height: 55px;
    }
}
