/* Remove padding from main on front page */
.home .site-main {
    padding: 0;
}

/* Key Visual Styles */
.key-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.key-visual-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.key-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.key-visual-content {
    position: absolute;
    bottom: 12%;
    left: 8%;
    z-index: 3;
    text-align: left;
    color: #fff;
    width: auto;
    max-width: 100%;
}

.kv-title-en {
    font-size: 2.8rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.kv-subtitle-jp {
    font-size: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.kv-description-jp {
    font-size: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Character animation */
.kv-title-en span,
.kv-subtitle-jp span,
.kv-description-jp span {
    display: inline-block;
    opacity: 0;
    animation: fadeInChar 0.3s ease forwards;
}

@keyframes fadeInChar {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Styles */
@media screen and (max-width: 1080px) {
    .key-visual {
        margin-top: 64px;
        height: 60vh;
    }

    .key-visual-content {
        bottom: 10%;
        left: 5%;
        max-width: 85%;
    }

    .kv-title-en {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .kv-subtitle-jp {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .kv-description-jp {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 768px) {
    .key-visual {
        height: 50vh;
    }

    .key-visual-content {
        bottom: 8%;
        left: 4%;
        max-width: 90%;
    }

    .kv-title-en {
        font-size: 1.5rem;
    }

    .kv-subtitle-jp {
        font-size: 1rem;
    }

    .kv-description-jp {
        font-size: 1rem;
    }
}
