.menu {
    display: flex;
    position: fixed;
    top: 0%;
    font-family: Orbitron;
    z-index: 100;
    list-style-type: none;
    padding: 0;
    /* background-color: #333; */
    background: url(../img/bg_btn\ \(Copy\).png);
    /* background-image: url(./IMG/bg_btn.png) ; */
    background-size: cover;
    margin: 20px;
}
.menu > li {
    position: relative;
}
.menu > li > a {
    display: block;
    padding: 16px 30px;
    color: rgb(255, 255, 255);
    text-decoration: none;
}
.menu > li:hover > a {
    color: #000000;
    background: url(../img/bg_btnwhitea.png);
    background-size: cover;
}
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.dropdown > li > a {
    background: url(../img/bg_btn\ \(Copy\).png);
    background-size: cover;
    padding: 16px;
    width: 400px;
    color: white;
    text-decoration: none;
    display: block;
}
.dropdown > li > a:hover {
    background: url(../img/bg_btn.png);
    background-size: cover;
}
.menu > li:hover .dropdown {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.side-menu{
    display: none;
}
@media screen and (max-width: 980px) {
    .phone-block {
        display: none;
    }
    body {
        margin: 0%;
    }
    
      /* ローディング画像のスタイルを設定 */
      .loading-image {
        display: none;
       }
       /* ローディング画像を非表示にするクラス */
       .hidden {
        display: none;
       }
    
    /* 動画を背景全体に表示 */
    #background-video {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* アスペクト比を保ちながら画面全体をカバー */
        z-index: -1; /* コンテンツの後ろに表示 */
    }
    
    .logo {
        /* margin-top: 17%;
        margin-bottom: 17%; */
        Pointer-events: none;
        height: 50vh;
    }
    .logo img {
        /* margin-top: 17%;
        margin-bottom: 17%; */
        Pointer-events: none;
        margin-top: 20vh;
        width: 90%;
    }
    
    .main {
        background-color: white;
        padding: 40px;
        font-family: Orbitron;
        color: #0044ff;
        font-size: 110%;
    }
    .main img {
        float: left;
        width: 100%;
        padding-right: 20px;
        Pointer-events: none;
    }
    .main video {
        /* display: none; */
    }
    
    .bar {
            display: none;
    }
    .main1 {
        padding: 20px 20px 50px 20px;
        font-family: Orbitron;
        color: #ffffff;
        font-size: 110%;
    }
    .main1 img {
        float: right;
        width: 100%;
        padding-right: 20px;
        Pointer-events: none;
    }
    
    .learning {
        color: #ffffff;
        width: 90%;
        font-size: 110%;
    }
    
    .block-index {
        margin: 20px;
        overflow: hidden;
        background-color: #ffffff;
        border-radius: 10px;
        border: solid 1px black;
        color: #073763;
        padding: 10px;
        width: 550px;
        text-align: left;
        display: inline-block;
    }
    
    .bottom {
        padding-top: 50px;
        background-color: #073763;
        border-top: 100px solid #073763;
        border-bottom: 30px solid #073763;
        padding-left: 30px;
        color: #ffffff;
    }
    .bottom img {
        Pointer-events: none;
    }
    
    .ftaa {
        background-color: #0071ba;
        color: #ffffff;
        padding: 30px;
    }
    .ftaa img {
        Pointer-events: none;
        width: 100%;
    }
    .side-menu{
        display: block;
    }
}