.navtop {
    z-index: 1002;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 0 2px 0 #000;
    height: 60px;
    display: flex;
    align-items: center;
    font-weight: 900;
    a {
        text-decoration: none;
        color: #333;
    }
}
.infotop {
    display: none;/*標準はnone/表示時はblock*/
    position: sticky;
    top: 60px;
    background: rgb(190, 0, 0);
    box-sizing: border-box;
    box-shadow: 0 0 1px 0 #000;
    color: white;
    margin: none;
    font-size: 13px;
    gap: 10px;
    padding: 30px;
    z-index: 998;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    width: 70%;
    border-radius: 5px 0 5px 0;
    a {
        color: white;
        text-decoration: none;
        border: 1px solid white;
        padding: 2px 10px;
        border-radius: 5px;
        text-align: center;
        position: absolute;
        right: 10px;
        width: 100px;
    }
    p {
      position: absolute;
      left: 10px;
      right: 120px;
    }
    div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}
.infotop.scrolled {
    left: 0;
    right: 0;
    border-radius: 0 0 10px 10px;
    margin: 0;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}
.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    right: 20px;
    li {
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: #fff 1px solid;
        &:hover {
            border-bottom: 1px solid #333333;
        }
    }
    div {
        background: gray;
        height: 20px;
        width: 1px;
    }
}
.logo {
    width: auto;
    height: 30px;
    margin-left: 10px;
}
.logoa {
    display: flex;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
  padding: 0;
}
nav a {
  color: white;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 1100;
  transition: transform 0.3s ease;
  border-radius: 100px;
  &:hover {
    transform: scale(1.2);
  }
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
  margin-left: 1.5px;
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}
.menu-toggle.open {
  transform: rotate(-180deg);
  transition: all 0.3s ease;
  span {
    background: #fff;
  }

}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1005;
  display: none;
  backdrop-filter: blur(5px);
}
.overlay.active {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -75%;
  width: 75%;
  max-width: 320px;
  height: 100%;
  background: #333;
  padding: 2em 1em;
  transition: right 0.3s ease;
  z-index: 1006;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-y: auto;
  border-radius: 20px 0 0 20px;
  border-left: 1px solid #fff;
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  margin-top: 30px;
}
.mobile-nav li {
  transition: all 0.3s ease;
  border-radius: 5px;
  &:hover {
    transition: all 0.3s ease;
    background: #fff;
    a {
      transition: all 0.3s ease;
      color: #333;
    }
  }
  &:active {
    transform: scale(0.95);
    transition: all 0.3s ease;
  }
}
.mobile-nav a {
  color: white;
  text-decoration: none;
  display: flex;
  padding: 10px;
}


@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-list {
    display: none;
  }
  .infotop {
    width: 100%;
  }
}


/* フッター */
footer {
    position: absolute;

    left: 0;
    right: 0;
    width:100%;
    background:#333;
    color:white;
    text-align:center;
    padding: 10px;
    margin-top: 20px;
    .fme {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 20px;
      a {
        text-decoration: none;
        color: #fff;
        font-size: 13px;
      }
    }
}
.footermenu {
  display: flex;
  justify-content: center;
}