@media (max-width: 640px) { /* 640px以下に適用 */
  /* CSS Document */
  /*========= 上部固定させるためのCSS ===============*/
  #header_sp {
    height: 70px; /*高さ指定*/
    width: 100%; /*横幅指定*/
    /*以下はレイアウトのためのCSS*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 0;
  }
  /*JSを使いfixedクラスが付与された際の設定*/
  #header_sp.fixed {
    position: fixed; /*fixedを設定して固定*/
    z-index: 999; /*最前面へ*/
    top: 0; /*位置指定*/
    left: 0; /*位置指定*/
  }
  /*ハンバーガーメニュー スクロール できない
position: fixedのコンテンツでスクロールさせる方法
https://qumeru.com/magazine/338
*/
  .menu-content ul {
    height: 94%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 50px;
  }
  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #ffffff;
  }
  .menu-btn span, .menu-btn span:before, .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #385071;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0); /*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #menu-btn-check {
    display: none;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #ffffff;
  }
  .menu-content ul {
    padding-top: 40px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 40px;
  }
  .menu-content ul li {
    border-bottom: 1px dotted #333;
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 17px;
    box-sizing: border-box;
    color: #212121;
    text-decoration: none;
    padding: 10px 15px 10px 20px;
    position: relative;
  }
  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #333;
    border-right: solid 2px #333;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 17px;
  }
  .menu-content ul .li-ttl {
    list-style: none;
    color: #385071;
    font-weight: bold;
    border-bottom: 3px solid #385071;
    padding-top: 20px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 10px;
    font-size: 17px;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #ffffff;
    transition: all 0.5s; /*アニメーション設定*/
    text-align: left;
  }
  #menu-btn-check:checked ~ .menu-content {
    left: 0; /*メニューを画面内へ*/
  }
}