@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

* {
    font-family: 'Noto Sans JP', sans-serif;
}

.forest-bg {
    background: linear-gradient(135deg, #0f3460 0%, #16537e 50%, #4a707a 100%);
    min-height: 100vh;
}

.tree-animation {
    animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(2deg); }
}

.meditation-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.forest-element {
    transition: all 0.3s ease;
}

.forest-element:hover {
    transform: scale(1.1);
}

/* サイドバー用スタイル */
#sidebar {
    width: 12rem;
    display: none;
    background-color: #1f2937;
    z-index: 70; /* ヘッダーより前面に表示 */
}

#sidebar.open {
    display: block;
}

/* サイドバー外クリック用オーバーレイ */
#sidebarOverlay {
    display: none;
}

#sidebarOverlay.show {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 60;
}

@media (min-width: 769px) {
    #sidebarOverlay {
        display: none !important;
    }
}

#app {
    padding-top: 4rem;
}

@media (min-width: 769px) {
    #sidebar {
        display: none !important;
    }
    #app {
        margin-right: 0;
        padding-top: 4rem;
    }
}
