.display {
  display: none;
}

@media (max-width: 700px) {
  .display {
    display: block;
  }
  .bg-m {
    width: 30px;
    height: 30px;
    opacity: 0.5;
    position: fixed;
    right: 9px;
    top: 7px;
    z-index: 10;
    border-radius: 3px;
    padding: 5%;
  }
  #toggle {
    display: block;
    position: fixed;
    width: 28px;
    height: 43px;
    top: 17px;
    right: 10px;
    margin-top: 0px;
    z-index: 1001;
    transform: scale(0.8, 0.8);
  }
  .box0 > a {
    display: none;
  }
  #toggle span:after,
  #toggle span:before {
    content: "";
    position: absolute;
    left: 0;
    top: -9px;
  }
  #toggle span:after {
    top: 9px;
  }
  #toggle span {
    position: relative;
    display: block;
  }
  #toggle span,
  #toggle span:after,
  #toggle span:before {
    z-index: 100;
    width: 100%;
    height: 2px;
    background-color: gray;
    transition: all 0.3s;
    border-radius: 2px;
  }
  /* on activation */
  #toggle.on span {
    background-color: transparent;
    margin-left: 2px;
    margin-top: 2px;
  }
  #toggle.on span:before {
    transform: rotate(45deg) translate(5px, 6px);
    background-color: black;
  }
  #toggle.on span:after {
    transform: rotate(-45deg) translate(7px, -8px);
    background-color: black;
  }
  #toggle.on + #menu {
    opacity: 1;
    visibility: visible;
    animation: menu-anim 0.3s ease-out forwards;
  }
  @keyframes menu-anim {
    0% {
      transform: translate(0%, -100%) scale(1);
    }
    100% {
      transform: translate(0%, 0) scale(1);
    }
  }
  /* menu appearance*/
  #menu {
    overflow: hidden;
    z-index: 11;
    position: fixed;
    background-image: url("../../src/home/bg1-0.webp");
    background-size: cover;
    background-position: center center;
    color: black;
    width: 100%;
    height: 100vh;
    right: 0%;
    top: 0;
    margin: auto;
    text-align: center;
    box-shadow: 0 0.5px 10px rgba(0, 0, 0, 0.746);
    /* just for this demo */
    opacity: 0;
    visibility: hidden;
    padding-top: 50px;
    padding-bottom: 20px;
    font-weight: 200;
    z-index: 100;
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 15px;
    letter-spacing: 0.05em;
    overscroll-behavior-y: contain;
    overflow-y: auto;
  }
  #menu a {
    color: black;
    text-decoration: none;
  }
  .h-box2 {
    padding: 10%;
    padding-bottom: 0;
  }
  .head-b2 {
    width: 40%;
    padding-bottom: 5%;
    margin: 2%;
  }
  .head-b2:hover {
    transform: scale(1.1, 1.1);
  }
  .head-b5 {
    width: 20%;
  }
  .a-lo2 {
    display: block;
    width: 100%;
  }
  .h-bar2 {
    display: block;
    width: 120%;
    margin-left: -10%;
  }
  .flex-box2 {
    display: flex;
    margin: 5%;
    margin-top: 10%;
  }
  .sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 50px;
    z-index: 500;
    background-color: white;
    align-items: center;
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.547);
  }
  .head1 img {
    height: 40px;
    width: auto;
    margin-top: 5px;
    margin-left: 5px;
  }
  .menu-box {
    position: relative;
  }
  .h-menu {
    display: block;
    justify-content: center;
    margin: 0 auto;
    margin-top: 2.5px;
    text-align: center;
    margin-bottom: 7%;
    margin-top: 7%;
    width: 75%;
    font-weight: 400;
  }
  .h-menu a {
    color: black !important;
    padding-top: 1%;
    padding-bottom: 1%;
  }
  .n1-top {
    margin-top: 10%;
  }
  .h-menu-box {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .h-menu-box .h-menu1 {
    writing-mode: vertical-rl;
    font-size: 15px;
    margin-right: 2%;
    /*
    span {
        background-color: black;
        padding-left: 6px;
        padding-right: 6px;
        padding-top: 3px;
        padding-bottom: 3px;
    }
    */
  }
  .h-menu-box .h-menu2 {
    font-size: 13px;
    text-align: left;
  }
  .h-menu-box .h-menu2 ul {
    padding-left: 0;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .h-menu-box .h-menu2 li {
    list-style: none;
  }
  .h-menu-box .h-menu2 li a {
    color: white !important;
  }
  .h-menu-box .h-menu2 li a span {
    background-color: black;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
  }
  #menu::-webkit-scrollbar {
    display: none;
  }
  .logo-sp-bg {
    position: fixed;
    background-color: white;
    z-index: 1;
    top: 0.5%;
    left: 1%;
    padding: 1%;
    border-radius: 50%;
    opacity: 0.3;
    box-shadow: 3px 5px 7px -3px white, -3px -2px 7px 3px white;
  }
  .logo-sp {
    position: static !important;
    z-index: 1001 !important;
    opacity: 0;
  }
  .logo-bg {
    position: fixed !important;
    opacity: 1;
    top: 0.5%;
    left: 1%;
    padding: 1%;
    z-index: 1001;
  }
  .logo-sp {
    width: auto;
    height: 35px;
    opacity: 1;
    margin-top: 2%;
    margin-left: 2%;
  }
  .white {
    content: " ";
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1002;
    opacity: 0.7;
  }
  .sns-3 {
    display: flex;
    width: 60%;
    margin: 10% auto;
    align-items: center;
    justify-content: center;
  }
  .sns-3 a {
    flex: 30%;
  }
  .sns-3 a img {
    width: 50px;
    margin: 0 auto;
  }
}/*# sourceMappingURL=menu.css.map */