/* アニメーション全体のラッパー */
.it-animation-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* メインコンテナ */
.it-animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Animation & Section Styles */

#z_hero_section {
    position: relative !important;
    height: 100vh !important;
    width: 100% !important;
    background-color: #0F1C2E !important;
    /* Force Navy Background */
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#z_hero_anim_layer {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}

#z_hero_overlay {
    position: absolute !important;
    inset: 0 !important;
    background-color: rgba(15, 28, 46, 0.65) !important;
    z-index: 2 !important;
}

#z_hero_content {
    position: relative !important;
    z-index: 10 !important;
    text-align: center !important;
    padding: 0 1.5rem !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.z_hero_h1 {
    font-size: clamp(1.8rem, 5vw, 4rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
}

.z_hero_sub {
    font-family: 'Cinzel', serif !important;
    color: #D6B25E !important;
    font-size: clamp(1rem, 2vw, 1.75rem) !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    margin-bottom: 3rem !important;
}

.z_hero_btn_group {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1.5rem !important;
}

.z_btn_gold {
    background: #D6B25E !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 1.1rem 2.5rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.2s !important;
}

.z_btn_gold:hover {
    transform: translateY(-2px) !important;
}

.z_btn_outline {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 1.1rem 2.5rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

/* Original Animation Core */
.it-sky-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.it-sky-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: sky-slide 60s linear infinite;
    filter: sepia(0.5) hue-rotate(-15deg) saturate(1.8) contrast(1.1) brightness(0.9);
}

.it-sky-part {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.it-mirrored {
    transform: scaleX(-1);
}

@keyframes sky-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 固定された窓枠 */
.it-window-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* コンテナ全体を覆うように */
    z-index: 2;
    pointer-events: none;
}