/*
 Theme Name: Lightning Child
 Template: lightning
*/

/* ボタンのデフォルト画像を無効化 */
/* ==========================================================================
   Hamburger Menu Customization
   ========================================================================== */

/* PCサイズでは非表示 (Lightningブレークポイント: 992px以上) */
@media (min-width: 992px) {
    #vk-mobile-nav-menu-btn {
        display: none !important;
    }
}

/* スマホ・タブレットのみ表示 */
@media (max-width: 991px) {
    #vk-mobile-nav-menu-btn {
        background: none !important;
        /* 背景透明 */
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        width: 80px;
        /* タップエリア確保 */
        height: 80px;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* 位置固定で強制表示 */
        position: fixed !important;
        top: 15px;
        right: 15px;
        z-index: 99999 !important;
        padding: 0 !important;
    }

    /* 3本ラインのラッパー */
    .custom-menu-icon {
        width: 46px;
        /* 元の幅に戻す */
        height: 30px;
        /* 元の高さに戻す */
        position: relative;
        transition: 0.3s;
    }

    /* ライン共通 */
    .custom-menu-icon span {
        position: absolute;
        display: block;
        width: 100%;
        height: 6px;
        /* 太さを戻す */
        border-radius: 3px;
        transition: 0.3s ease;
    }

    /* 色 (水色, 黄色, ブラウン) */
    .custom-menu-icon span:nth-child(1) {
        background: #6eb8c3;
        top: 0;
    }

    .custom-menu-icon span:nth-child(2) {
        background: #e8c575;
        top: 12px;
    }

    .custom-menu-icon span:nth-child(3) {
        background: #3e2b26;
        top: 24px;
    }

    /* MENU テキスト */
    .custom-menu-text {
        color: #3e2b26 !important;
        /* ベースのブラウンに合わせる */
        font-size: 8px;
        /* 10pxから縮小 */
        line-height: 1;
        font-weight: normal;
        /* boldからnormalへ（細く） */
        letter-spacing: 0.05em;
        margin-top: 2px;
        /* 少し詰め */
        text-align: center;
        /* 強制表示 */
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 999999 !important;
        position: relative;
    }

    /* --- MENU（閉じた時）少し崩すデザイン --- */
    #vk-mobile-nav-menu-btn:not(.vk-mobile-nav-open) .custom-menu-icon span:nth-child(1) {
        transform: rotate(-8deg);
    }

    #vk-mobile-nav-menu-btn:not(.vk-mobile-nav-open) .custom-menu-icon span:nth-child(2) {
        transform: rotate(5deg);
    }

    #vk-mobile-nav-menu-btn:not(.vk-mobile-nav-open) .custom-menu-icon span:nth-child(3) {
        transform: rotate(-4deg);
    }

    /* hover時に揃える */
    #vk-mobile-nav-menu-btn:hover .custom-menu-icon span {
        transform: rotate(0deg);
    }

    /* --- OPEN時のスタイル (×印) --- */
    body.vk-mobile-nav-open .custom-menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 12px;
        background: #3e2b26;
        /* OPEN時は焦げ茶に統一 */
    }

    body.vk-mobile-nav-open .custom-menu-icon span:nth-child(2) {
        opacity: 0;
    }

    body.vk-mobile-nav-open .custom-menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 12px;
        background: #3e2b26;
        /* OPEN時は焦げ茶に統一 */
    }
}


/* reCAPTCHA バッジを非表示 */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ==============================================
   動画モーダル起動ボタン (.trigger-video-modal)
   ============================================== */
.trigger-video-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin: 30px auto;
    background-color: #3e2b26;
    color: #fff !important;
    border: 2px solid #3e2b26;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none !important;
    line-height: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(62, 43, 38, 0.3);
}

.trigger-video-modal:hover {
    background-color: #fff;
    color: #3e2b26 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(62, 43, 38, 0.4);
}

@media (max-width: 767px) {
    .trigger-video-modal {
        font-size: 1rem;
        padding: 12px 30px;
        width: 80%;
        max-width: 300px;
    }
}