#nav {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

#nav a {
  color: rgb(0, 0, 0);
  font-size: 18px;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 6px;
  transition: .3s;
  text-decoration: none;
}
.container .toggle{

}

header {
  position: relative;
  max-width: 100%;
  height: 90px;
  z-index: 10;
}
.container {
  position: fixed;
  width: 100%;
  align-items: center;
  height: 30px;
  top: 0%;
  left: 0%;
}
header > .container {
  height: 100px;
  display: flex;
  max-width: none;
  
}
.list_nav {
  margin-left: auto;
  padding-right: 30px;
}
/* ロゴ */
.toggle a img{
  width: 90px;
  margin-left: 10%;
}

.completed {
  width: 100%;
  opacity: 0;
  visibility: hidden;
}

/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: white; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    transition: all 0.3s; 
    z-index: 9999;
  }
  
  /* Loading画像中央配置　*/
  #splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Loading アイコンの大きさ設定　*/
  #splash_logo img {
    width:100%;
    background-size: contain;
    
  }

@media screen and (min-width: 481px){
    /* #nav li + li {
  margin-left: 40px;
} */
#nav a:hover{
  background: #A6A6A6;
}
}
/* mobile */
@media screen and (max-width: 480px) {
  #nav li {
    width: 100%;
  }
  header > .container {
  height: 30px;
  display: flex;
  max-width: none;
  z-index: 60;
}
.logo_img{
  width: 30%;
  left: 10px;
  top: 10px;
}
.toggle{
  margin-top: 60px;
  margin-left: 1%;
    
}
.main_title{
  font-size: 8px;
  align-items: center;
}

  .logo_area{
    text-align: center;
    margin-top: 10%;
    margin-left: 10px;
  }
  /* toggle のボタンアニメーション */
  .list_nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 9;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh; /*ナビの高さ*/
    background:rgba(255,255,255,0.8);
    /*動き*/
    transition: all 0.6s;
  }

  /*アクティブクラスがついたら位置を0に*/
  .list_nav.panelactive {
    right: 0;
  }

  /*ナビゲーション*/
  #nav {
    /*ナビゲーション天地中央揃え*/
    display: inline-block;
    position: absolute;
    z-index: 999;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /*リストのレイアウト設定*/

  .list_nav #nav li {
    list-style: none;
    text-align: center;
    border-bottom: solid black;
    margin-bottom: 5px;
    margin-right: 20px;
    width: 200px;
  }
  #nav a{
    color: #000;
    
  }
  .list_nav li a {
    color: black;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn1 {
    position: fixed;
    z-index: 99; /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  /*×に変化*/
  .openbtn1 span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
    z-index: 100;
  }

  .openbtn1 span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn1 span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn1 span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn1.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}
