/* .header{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
} */
.header_inner {
  position: relative;
  padding: 15px;
}
.logo{
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 15px
}
.title{
  font-size: 2rem;
  font-weight: 600;
}
.nav_list li{
    display: inline-block;
    position: relative;
  }
/* header固定のため余白をつける。メニューのCSSには関係ない */
/* .main{  
  margin-top: 60px;
} */



@media only screen and (min-width: 835px) {
  .hamburger,
  .black_bg {
    display: none;
  }
}

@media only screen and (max-width: 834px) {
  .nav {
    position: fixed;
    right: -320px; /* 右から出てくる */
    top: 0;
    width: 305px; /* スマホに収まるサイズ */
    height: 100vh;
    padding-top: 8em;
    background-color: #F0F7FC;
    transition: all .6s;
    z-index: 200;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
  }
  .hamburger {
    position: absolute;
    right: 15px;
    top: 22px;
    width: 40px; /* クリックしやすい幅 */
    height: 40px; /* クリックしやすい高さ */
    cursor: pointer;
    z-index: 300;
  }
  .nav_list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav_item {
    text-align: center;
    padding: 0 14px;
	width: 100%;
  }
  .nav_item a {
    display: block;
    padding: 15px 30px;
    text-decoration: none;
    color: #333;
  }
	.nav_item a:last-child{
		border-bottom: none;
	}
  /* .nav_item a:hover {
    background-color: #afc9af;
  } */
  .hamburger_border {
    position: absolute;
    left: 5px;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all .6s;
  }
  .hamburger_border_top {
    top: 16px;
  }
  .hamburger_border_center {
    top: 23px;
  }
  .hamburger_border_bottom {
    top: 30px;
  }
  .black_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
  }

  /* 表示された時用のCSS */
  .nav-open .nav {
    right: 0;
  }
  .nav-open .black_bg {
    opacity: .8;
    visibility: visible;
  }
  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 20px;
  }
  .nav-open .hamburger_border_center {
    width: 0;
    left: 50%;
  }
  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 20px;
  }
}

/* sp */

@media only screen and (min-width: 769px) {
  .header_inner{
    /* max-width: 980px; */
    width: 100%;
    padding: 15px 30px;
    margin-left: auto;
    margin-right: auto;
  }
  .logo{
    padding: 12px 30px
  }
  .nav_list{
    text-align: right;
	  position: relative;
  }
  /* .nav_list li a{
    color: #fff;
    font-weight: 600;
  } */
   .nav_list1{
    text-align: right;
	  position: relative;
  }
  .nav_list1 li{
    display: inline-block;
    padding: 6px;
  }
}

@media only screen and (max-width: 834px) {
  .nav_list li{
    display: block;
    margin: 0 auto;
  }
}

