@media screen and (max-width: 1000px) {
  #maptop {
    display: none;
  }
  .top-left-container {
    display: none;
  }

  #maptop-sp {
    background-color: rgba(255, 255, 255, 0.9);
    display: block;
    height: 40px;
    position: fixed;
    z-index: 10000;
    width: 100%;
    /* background-color: transparent; */
  }

  .logo-container img {
    max-height: 30px;
    margin: 5px 20px;
  }

  /* ハンバーガーメニューのスタイル */
  .hamburger-menu {
    font-size: 30px;
    color: black;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 20px;
    font-weight: bold;
  }

  .menu-content {
    display: none;
  }

  .menu-content.show {
    display: flex;
    right: 0;
  }

  #navigation {
    flex-direction: column;
  }

  /* ロゴ以外はメニューに格納 */
  .logo-container {
    flex: 1;
  }

  /* メニュー全体のレイアウト */
  .menu-content {
    position: fixed;
    top: 0;
    right: -120%;
    width: calc(100% - 46px);
    height: calc(100% - 46px);
    background-color: rgba(255, 255, 255);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* gap: 5px; */
    padding: 20px;
    transition: right 0.5s ease-in-out;
    z-index: 99999;
    border: solid 3px rgb(4, 4, 71);
    align-items: stretch;
  }
  .menu-content > * {
    flex: 1 1 100%;
    max-width: 45%;
    display: flex;
    justify-content: start;
    align-items: center;
  }

  /* ボタンのスタイル */
  .menu-item {
    /* width: 80%; */
    text-align: center;
  }

  /* button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  } */

  button:hover {
    background-color: #0056b3;
  }

  /* フラグアイコンのスタイル */
  .flags-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }

  .flags-container li {
    list-style: none;
  }

  .flags-container img {
    width: 40px;
    height: 40px;
  }

  /* MyToolボタンのスタイル */
  .mypage-link-btn img {
    width: 50px;
    height: 50px;
    cursor: pointer;
  }

  /* 閉じるボタンのスタイル */
  .close-menu-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 30px;
    color: black;
    cursor: pointer;
    transition: color 0.3s;
  }

  .close-menu-btn:hover {
    color: #ff0000; /* ホバー時に色を変更 */
  }
}
