/* ========== KV FV Animation ========== */

/* 画像: ゆっくりズームイン */
.kv_image img {
    animation: kvZoom 12s ease-out forwards !important;
    transform-origin: center center;
}
@keyframes kvZoom {
    0%   { transform: scale(1.4); }
    100% { transform: scale(1.1); }
}

/* キャッチコピー全体: フェードアップ */
.kv_catch_wrap {
    z-index: 3 !important;
    animation: kvFadeUp 1.2s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}
@keyframes kvFadeUp {
    0%   { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* h1テキスト: 少し遅れてフェードアップ */
.kv_catch {
    animation: kvFadeUp 1.2s cubic-bezier(0.22,1,0.36,1) 0.4s both !important;
    opacity: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* ENキャッチ: さらに遅れて */
.kv_encatch {
    animation: kvFadeUp 1.2s cubic-bezier(0.22,1,0.36,1) 0.7s both !important;
    opacity: 0;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

    50%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
    100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

/* パーティクルキャンバス */
.kv_particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.kv_particles canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

/* スマホ対応 */
@media screen and (max-width: 640px) {
    
    
    
}

/* KV高さをヘッダー分補正してScrollボタンを画面内に収める */

/* ===== 建設業許可バナー レスポンシブ ===== */
/* PC: 現状の70%サイズをimgのインラインstyleで制御済み */
/* スマホ: acv_itemと同じ width:90% で表示 */
@media screen and (max-width: 640px) {
    .kensetsu_banner {
        margin-top: 20px !important;
    }
    .kensetsu_banner img {
        max-width: 90% !important;
        width: 90% !important;
        height: auto !important;
    }
}
