/* ========================================
   モバイルメニュードロップダウンスタイル - iPhone 16最適化
======================================== */

/* モバイルメニューのドロップダウンスタイル */
@media screen and (max-width: 768px) {
    /* モバイルメニューコンテンツ */
    .mobile-menu-content {
        padding: 24px 20px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-nav {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-item {
        margin-bottom: 4px;
    }

    .mobile-menu-link {
        display: block;
        padding: 16px 20px;
        color: #ffffff;
        text-decoration: none;
        font-size: 17px;
        font-weight: 500;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: transparent;
        border: 1px solid transparent;
    }

    .mobile-menu-link:active {
        background: rgba(193, 255, 0, 0.1);
        border-color: rgba(193, 255, 0, 0.3);
        transform: scale(0.98);
    }

    .mobile-menu-item.has-dropdown {
        position: relative;
    }

    .mobile-menu-link.has-dropdown {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    .mobile-menu-link.has-dropdown .dropdown-icon {
        font-size: 22px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: var(--neon-green, #C1FF00);
    }

    .mobile-menu-item.has-dropdown.expanded .dropdown-icon {
        transform: rotate(180deg);
    }

    /* ドロップダウンメニュー */
    .mobile-menu-item.has-dropdown .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(31, 31, 31, 0.8);
        border-radius: 12px;
        margin-top: 8px;
        margin-left: 12px;
        border: 1px solid rgba(193, 255, 0, 0.15);
    }

    .mobile-menu-item.has-dropdown.expanded .dropdown-menu {
        max-height: 500px;
        padding: 12px;
    }

    .mobile-menu-item.has-dropdown .dropdown-item {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-size: 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 8px;
        margin-bottom: 6px;
        background: transparent;
    }

    .mobile-menu-item.has-dropdown .dropdown-item:last-child {
        margin-bottom: 0;
    }

    .mobile-menu-item.has-dropdown .dropdown-item:active {
        background: rgba(193, 255, 0, 0.15);
        color: var(--neon-green, #C1FF00);
        transform: scale(0.97);
    }

    .mobile-menu-item.has-dropdown .dropdown-item-icon {
        margin-right: 12px;
        width: 20px;
        font-size: 18px;
        display: inline-block;
        text-align: center;
        color: var(--neon-green, #C1FF00);
        flex-shrink: 0;
    }

    .mobile-menu-item.has-dropdown .dropdown-item-desc {
        display: none;
    }

    /* モバイルCTAボタン */
    .mobile-menu-cta {
        padding: 20px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 20px;
    }

    .mobile-cta-button {
        display: block;
        width: 100%;
        padding: 16px 24px;
        background: var(--neon-green, #C1FF00);
        color: var(--primary-black, #0A0A0A);
        text-align: center;
        text-decoration: none;
        border-radius: 12px;
        font-size: 17px;
        font-weight: 700;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(193, 255, 0, 0.3);
    }

    .mobile-cta-button:active {
        transform: scale(0.97);
        box-shadow: 0 2px 8px rgba(193, 255, 0, 0.4);
    }
}

/* アニメーション */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}