/* 湖西ドローンスクール イントロCSS */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@900&family=Rajdhani:wght@700&display=swap');

#kosai-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

#kosai-sky,
#kosai-drone-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#kosai-drone-canvas {
    z-index: 4;
}

#kosai-text-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#kosai-title-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 5vw, 52px);
    color: #fff;
    opacity: 0;
    transform: scale(1.6);
    text-shadow: 0 0 60px rgba(255,255,255,0.4);
    white-space: nowrap;
    transition: opacity 350ms ease-out, transform 350ms ease-out;
    text-align: center;
}

#kosai-title-en {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(10px, 1.5vw, 14px);
    letter-spacing: 0.45em;
    color: #7dd3fc;
    opacity: 0;
    transform: translateY(12px);
    margin-top: 10px;
    transition: opacity 280ms ease-out, transform 280ms ease-out;
}

#kosai-sub-ds {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 2.2vw, 20px);
    letter-spacing: 0.3em;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    margin-top: 8px;
    transition: opacity 280ms ease-out, transform 280ms ease-out;
}

#kosai-red-line {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scaleX(0);
    width: min(320px, 60vw);
    height: 5px;
    background: #e50914;
    box-shadow: 0 0 24px rgba(229,9,20,0.8);
    z-index: 8;
    transform-origin: center;
    transition: transform 200ms ease-out;
}

#kosai-flash {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    z-index: 20;
    pointer-events: none;
}

#kosai-prog {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #e50914;
    width: 0;
    z-index: 25;
    transition: none;
}

#kosai-skip {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 30;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-family: sans-serif;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 4px;
    background: rgba(0,0,0,0.4);
    transition: color 0.2s, border-color 0.2s;
}

#kosai-skip:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

/* フェードアウトアニメーション */
#kosai-intro-overlay.kosai-fade-out {
    opacity: 0;
    transition: opacity 0.6s ease-out;
    pointer-events: none;
}
