@charset "UTF-8";
/* CSS Document */
/* ------------------------------------
	Navigation
------------------------------------ */
#LinkChapter1, #LinkChapter2, #LinkChapter3, #LinkChapter4, #LinkChapter5{
    padding-top: 120px;
    margin-top: -120px;
}
#global-nav {
z-index: 9999;
/*    border: 1px solid #fff;*/
   height: 4.5em;
}
#navWrap {
width: 100%;
position: absolute;
z-index: 9999;
/*border: 1px solid #fff;*/
}
.nav-menu{
  list-style: none;
  margin: 0 auto;
width: 100%;
    display: flex;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.8);
}

.nav-menu li {
    margin-right: 0.6%;
    width: 19.5%;
 /*   height: 3.25em;*/
    min-height: 100%;
    background-color: #d0111b;
    color: rgba(255,255,255,0.5);
    font-weight: 800;
    font-size: clamp(14px, 1.5625vw, 20px);
    line-height: 1.25em;
    padding: 0.25em 0.125em;
}
.nav-menu li:last-child {
    margin-right: 0;
}
.naviBtn {
    width: 100%;
}
.chapterName {
    width: 100% !important;
/*    border: 1px solid #fff;*/
    margin-bottom: 0.1em;
   text-align: center;
}
.chapterName i {
    color: #000;
}
.subName{
    background: #000;
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: clamp(11px, 1.09375vw, 14px);
    font-weight: 500;
    padding: 0 0.15em;
    letter-spacing: -0.05em;
}
.subName span {
    display: inline-block;
}
.nav-menu a, .nav-menu a:hover{
  color: #fff;
}

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


@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: 9999;
    margin-bottom: 0em;
    height: auto;
}
 
    #global-nav li {
        border-bottom: 1px dotted #fff;
        display: block;
        width: 100%;
        height: auto;
        background: none;
        height: 5em;
        padding: 1em;
    }
#navWrap {
width: 100%;
position: absolute;
z-index: 9999;
}
.nav-menu{
display: none;
    background: rgba(0,0,0,0.9);
  list-style: none;
  margin: 0;
  padding: 2.5em;
    font-size: 20px;
    line-height: 2.5em;
  width: 100%;
    max-width: 100%;
  position: fixed;
  top: 0;
  left: 0;
    text-align: center;
    border: none;
}
.subName{
    background: none;
    }
    
#global-menu.open{
  display: block;
}
.toggle-btn {
top:5px;
right: 5px;
/*    background: rgba(0,0,0,0.9);*/
  padding: 0 ;
/*  position: fixed;*/
    height: 36px;
    width: 36px;
  display: none;
  z-index: 9999;
    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 a, .nav-menu a:hover{
  color: #c00;
}
    .naviBtn {
        vertical-align: middle;
    }
}
