/*
ヘッダー要素
*/

header {
  background-color: #f4a360;
  color: #ffffff;
}

.header_wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.head_title {
  font-weight: bold;
  font-size: 40px;

}

header nav {
  align-content: center;
}

.nav_wrap {
  display: flex;
}

.nav_wrap li {
  color: #fff;
  display: block;
  margin-right: 30px;
  font-size: 16px;
}

.nav_wrap li:last-child {
  margin-right: unset;
}

.navi_a:hover {
  transform: translate(0, -5px);
  display: block;
}

@media screen and (min-width: 768px) {
  .hamburger-menu {
    display: none;
  }
}

/* ここからSP表示 */

@media screen and (max-width: 767px) {
  .head_title {
    font-weight: bold;
    font-size: 60px;
  }

  header nav {
    display: none;
  }

  nav.menu_content {
    display: unset;
  }

  .menu_btn {
    position: fixed;
    top: 10px;
    right: 20px;
    display: flex;
    height: 80px;
    width: 80px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    border-radius: 25px 0px;
    border: 2px solid;
    background-color: #f4a360;
  }

  .menu_btn span,
  .menu_btn span:before,
  .menu_btn span:after {
    content: '';
    display: block;
    height: 5px;
    width: 40px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
    transition: all, 0.5s;
  }

  .menu_btn span:before {
    bottom: 16px;
    transition: all, 0.5s;
  }

  .menu_btn span:after {
    top: 16px;
    transition: all, 0.5s;
  }

  #menu_btn_check:checked~.menu_btn span {
    background-color: rgba(255, 255, 255, 0);
    transition: all, 0.5s;
  }

  #menu_btn_check:checked~.menu_btn span::before {
    bottom: 0;
    transform: rotate(45deg);
    transition: all, 0.5s;
  }

  #menu_btn_check:checked~.menu_btn span::after {
    top: 0;
    transform: rotate(-45deg);
    transition: all, 0.5s;
  }

  #menu_btn_check {
    display: none;
  }

  .menu_content {
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 100%;
    left: 0;
    z-index: 80;
    background-color: #ffb384e3;
    /* opacity: 90%; */
    transition: all 0.5s;
    /*アニメーション設定*/
  }

  .menu_content ul {
    padding: 125px 10px 0;
  }

  .menu_content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
    padding: 20px 10px;
  }

  .menu_content ul li a {
    display: block;
    width: 100%;
    font-size: 40px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }

  .menu_content ul li a::before {
    content: "";
    width: 23px;
    height: 23px;
    border-top: solid 3px #ffffff;
    border-right: solid 3px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 27px;
  }

  #menu_btn_check:checked~.menu_content {
    bottom: 0;
    /*メニューを画面内へ*/
  }
}
