@charset "UTF-8";
@media (max-width:699px){
  h1{
    margin: auto;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .logo{
   width:70px;
   height:70px;
  }
  .page-header{
    position: fixed;
    width: 100vw;
    background-color: #fff;
    z-index: 150;
    align-items: center;
    display: flex;
    height: auto;
    padding: 0 4%;
   }
   .header-wrapper{
    width: 100%;
    height: 110px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding-right: 30px;
   }
   .nav .fb{
     width: 25px;
     height: 25px;
   }

  .nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(255, 255, 255);
    display: flex;
    justify-content: flex-start;
    align-items: left;
    visibility: hidden;
    opacity: 0.95;
    transition: 0.5s ease-in-out;
    padding-left: 15px;
    overflow: auto;
  }
  .nav ul{
    list-style:none;
    flex-direction: column;
    text-align: left;
    vertical-align;
    padding-top: 60px;
    padding-bottom: 20px;
  }
  .nav li:not(:last-child) {
    padding-bottom:20px;
    margin-top: 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #333333;
  }
  .nav li:last-child {
    padding-bottom:5px;
    margin-top: 10px;
    font-size: 0.9rem;
  }
  .nav a{
    color: #000;
    word-break: keep-all;
  }
  .nav :hover{
    color: #c0c0c0;
  }
.menu{
  width: 21px;
  font-size:0.6rem;
  top: 44px;
  left: 16px;
  position: fixed;
  margin-bottom: 3px;
}
}
/* ナビゲーションボタン（開く） */
#navbtn{
  position: fixed;
  top: 15px;
  left: 15px;
  padding: 0;
  outline: none;
  border: none;
  background: none;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

#navbtn::before,
#navbtn::after{
  content : '';
  display: block;
  height: 1px;
  background-color: #333333;
  transform: translateY(10px);
  transition: 0.3s ease-in-out;
}

#navbtn::before{
  transform: translateY(-10px);
  box-shadow: 0 10px #333333;
}

/* ナビゲーションボタン（閉じる） */
.open #navbtn{
  z-index: 100;

}
.open #navbtn::before{
  transform: rotate(-45deg);
  box-shadow: none;
  background-color: #333333;
}
.open #navbtn::after{
  transform: rotate(45deg);
  box-shadow: none;
  background-color: #333333;
}
/* ナビゲーションメニュー 開いた時*/
.open .nav{
  visibility: visible;
  /*opacity: 1;*/
}
.open .menu{
 visibility: hidden;
}

@media(min-width: 700px){
  /* PCではボタン非表示 */
  .page-header{
    position: fixed;
    width: 100vw;
    height: auto;
    background-color: #fff;
    z-index: 100;
    display: flex;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    top:0;
   }
  .header-wrapper{
    max-width:1200px;
    width:100vw;
    height: auto;
    margin-right: 30px;
    display: flex;
    justify-content: space-between;
    margin: auto;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
  }

  /* ヘッダーは横並び*/
  .nav{
    display: flex;
    align-items: center;
    height:85px;
    margin-left: auto;
  }
  .nav ul{
    list-style:none;
  }
  .nav ul li{
    display: inline;
  }
  .nav ul li:not(:first-child){
    margin-left:20px;
  }
  .nav ul li a {
    color: #000000;
  }
  .nav ul li a:hover{
    color: #c0c0c0;
    border-bottom:1px dotted #808080;
  }
 .nav ul li img{
   width: 25px;
   height: 25px;
 }
  .menu{
    display: none;
  }
  #navbtn{
    display:none;
  }
  .logo{
    width: 90px;
    height: 90px;
    top:35px;
    left:3%;
  }
  #top-main{
    padding-top: 100px;
    margin: auto;
  }

}
