/*メニュー*/
#menuUI {
    transform: translate(-50%, -50%);
    top: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: skyblue;
    position: fixed;
    cursor: grab;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1000;
}

#menuUI.animate {
    transition: all 0.3s ease;
}

.menu1 {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: -80px 0; 
    cursor: grab;
    user-select: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1000;
}

.menu1 img{
    width: 100%;
    height: 100%;
}

.bar {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
    gap: 6px;
}

.open .line-top {
    transform: translateY(10px) rotate(45deg);
}

.open .line-middle {
    opacity: 0;
    transform: scale(0);
}

.open .line-bottom {
    transform: translateY(-10px) rotate(-45deg);
}

.sub-menu{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 500;
}
@media (min-width: 480px){
    .menu2{
        width: 190px;
        height: 25px;
        background-color: darkgray;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: white;
        pointer-events: auto;
        z-index: 1000;
        text-decoration: none;
    }
}

@media (max-width: 480px){
    .menu2{
        width: 120px;
        height: 15px;
        background-color: darkgray;
        border-radius: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: white;
        pointer-events: auto;
        z-index: 1000;
        text-decoration: none;
    }
}




#Top ~ .sub-menu{
    .top,
    .info,
    .project,
    .intro,
    .toVisi,
    .sponsor{
        background-color:#ff0000;
    }
}

#Info ~ .sub-menu{
    .tmp21,
    .tmp22,
    .tmp23,
    .tmp24,
    .tmp25 {
        background-color: #008000;
    }
}

#Event ~ .sub-menu{
    .tmp31,
    .tmp32,
    .tmp33,
    .tmp34,
    .tmp35 {
        background-color: #f8b500;
    }
}

#Proj ~ .sub-menu{
    .tmp41,
    .tmp42,
    .tmp43,
    .tmp44,
    .tmp45 {
        background-color: #0000ff
    }
}

#Guide ~ .sub-menu{
    .tmp51,
    .tmp52,
    .tmp53,
    .tmp54,
    .tmp55 {
        background-color: #ED4D9A;
    }
}

#menu-blur-overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

#menu-blur-overlay.active{
    opacity: 1;
    pointer-events: auto;
}