@charset "UTF-8";
/* CSS Document */
/* ------------------------------------
	Navigation
------------------------------------ */
#LinkProduct, #LinkIntro, #LinkStory, #LinkChart, #LinkCast {
    padding-top: 80px;
    margin-top: -80px;
}
#global-nav {
/*    position: absolute;*/
z-index: 999;
    margin-bottom: 40px;
    font-family: "Noto Serif JP", serif;
}
#navWrap {
width: 100%;
max-height: 80px;
position: absolute;
z-index: 999;
    font-weight: 900;
    background-color: #010000;
    background-image: url(../img/navi-bg.png);
    background-position: center top;
    background-repeat: no-repeatno;
}
.nav-menu{
  list-style: none;
  margin: 0 auto;
color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(16px, 1.875vw, 24px);
    line-height: 0em;
font-weight: 800;
  width: 100%;
    padding: 0.5em;
}
.nav-menu li {
    margin:0 0.5em;
    letter-spacing: 0.1em;
}
.nav-menu a, .nav-menu a:hover{
  color: #fff;
}
.nav-menu li img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
    .nav-menu li:first-child, .nav-menu li:last-child {
    width: 4.5%;
        max-width: 45px;
    }


.toggle-btn {
  background: transparent;
  border: none;
  padding: 0;
  position: fixed;
  top: 1em;
  right: 1em;
  display: none;
  z-index: 999;
}


@media (min-width: 769px){
      .nav-menu{
    display: flex;
          align-items: center;
          justify-content: center;
  }
}
  
@media (max-width: 768px){
    button {
        width: 100%;
        background: #fff;
    }
#global-nav {
/*    position: absolute;*/
z-index: 999;
    margin-bottom: 0em;
}
    #global-nav li {
        border-bottom: 1px dotted #fff;
    }
#navWrap {
width: 100%;
position: absolute;
z-index: 999;
}
.nav-menu{
display: none;
    background: rgba(46,2,0,0.9);
  list-style: none;
  margin: 0;
  padding: 2.5em;
    font-size: 20px;
    line-height: 2.5em;
  width: 100%;
    max-width: 100%;
    height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
    text-align: center;
    border: none;
}

#global-menu.open{
  display: block;
}
.toggle-btn {
top:5px;
right: 5px;
    background: rgba(46,2,0,0.9);
  padding: 0 ;
/*  position: fixed;*/
    height: 36px;
    width: 36px;
  display: none;
  z-index: 999;
    margin: 0;
    border: 1px solid rgba(255,255,255,0.8);
}
.toggle-btn:hover{
  cursor: pointer;
}
.toggle-btn span{
  display: inline-block;
  background: #fff;
  height: 3px;
  width: 20px;
    top: -3px;
  position: relative;
    
}
.toggle-btn span:before{
  content: "";
  display: inline-block;
  background: #fff;
  height: 3px;
  width: 20px;
  position: absolute;
  top: 8px;
  left: 0;
}
.toggle-btn span:after{
  content: "";
  display: inline-block;
  background: #fff;
  height: 3px;
  width: 20px;
  position: absolute;
  top: -8px;
  left: 0;
}
#open-btn.active span{
  background: transparent;

}
#open-btn.active span:before{
  transform: rotate(45deg);
  top: 0;
  background: #fff;
}
#open-btn.active span:after{
  transform: rotate(-45deg);
  top: 0;
      background: #fff;
}
.nav-menu a, .nav-menu a:hover{
  color: #fff;
}
  .nav-menu{
    display: none;
  }
  .toggle-btn {
    display: block;
  }
    .nav-menu li:first-child, .nav-menu li:last-child {
        display: none;
    }

}
