/* 固定メニューの下に隠れないように調整 */
.menu_fix {
  scroll-margin-top: 80px;
}
.menu-toggle {
  display: none; /* 初期状態で非表示 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: fixed; /* 画面の右上に固定 */
  top: 10px; /* 右下に配置するための変更 */
  right: 10px; /* 右側の余白 */
  background-color: #07315B;
  border-radius: 0px;
  z-index: 100;
}
.menu-toggle div {
  width: 20px;
  height: 1px;
  margin: 3px 2px 2px 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}
.main-navigation {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  list-style-type: none;
  margin: 60px 0 0 0;
  padding: 0 0 0 0;
  z-index: 10
}
.main-navigation li {
  display: flex;
}
.main-navigation a {
  font-size: 18px;
  line-height: 1.1em;
  padding: 0px 1.5em 0px 1.5em;
  margin-top: 8px;
  width: auto;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  color: #000;
  border-right: solid 1px #000000
}
.main-navigation a span {
  display: block;
  font-size: 0.5em;
  text-align: center
}
@media (max-width: 1100px) {
  .menu-toggle {
    display: flex; /* スマホサイズで表示 */
  }
  .main-navigation {
    display: none; /* 初期状態で非表示 */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0px;
    right: 0;
    background-color: #07315B;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 100vh;
    overflow: scroll;
    padding: 50px 0 50px 0;
    z-index: 90
  }
  .main-navigation a {
    font-size: 16px;
    line-height: 1.1em;
    padding: 20px 0px 15px 0px;
    white-space: nowrap;
    margin: 3px 0;
    width: 360px;
    color: #07315B;
    background-color: #fff;
    border-radius: 1px;
  }
  .main-navigation.open {
    display: flex; /* メニューが開かれた時に表示 */
  }
  .menu-toggle.open div:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
  }
  .menu-toggle.open div:nth-child(2) {
    opacity: 0 !important;
  }
  .menu-toggle.open div:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
  }
  /* メニューが開いた時にスクロールを無効にする */
  body.menu-open {
    overflow: hidden;
  }
}
/*非公開リンク*/
/*.main-navigation li:nth-child(6) a, .main-navigation li:nth-child(7) a, .main-navigation li:nth-child(8) a {
  pointer-events: none;
  opacity: 0.2}*/