/* ヘッダーメニュー */
#headerMenu nav{
  display: none;
  align-items: center;
  justify-content: center;
  padding: 80px 25px;
  width: 100vw;
  height: 100vh;
  background-color: rgba(150, 0, 40, 0.95);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
}

#headerMenu nav ul{
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
  border-top: 1px solid #fff;
}

#headerMenu nav li{
  padding: 10px 0;
  border-bottom: 1px solid #fff;
}

#headerMenu nav a{
  display: block;
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  text-align: center;
}
@media screen and (min-width: 768px){
  .pageWrap{
    padding-top: 30px;
  }
  #headerMenu nav{
    display: flex !important;
    justify-content: center;
    padding: 0;
    width: 100%;
    height: auto;
    background: none;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
  }

  #headerMenu nav ul{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 -8px;
    max-width: 1000px;
    border: 0;
  }

  #headerMenu nav li{
    padding: 0 8px;
    border: 0;
  }

  #headerMenu nav a{
    padding: 0 5px;
    color: #BE144B;
    font-size: 16px;
    text-decoration: none;
    text-underline-offset: 5px;
  }

  #headerMenu nav a:hover{
    color: #fff;
    background-color: #BE144B;
  }
}








/* ハンバーガーメニュー */
#hamburger_button {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 44px;
	height: 38px;
	font-size: 10px;
	text-align: center;
	background-color: #FE96A0;
	position: relative;
	cursor: pointer;
}

#hamburger_button span {
  display: block;
  width: 17px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: 13px;
  top: 38%;
  transform: translateY(-50%);
}

#hamburger_button span::before, #hamburger_button span::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: 0;
}

#hamburger_button span::before {
  top: -6px;
}

#hamburger_button span::after {
  top: 6px;
}

.menu-open #hamburger_button span {
  background-color: transparent;
}

.menu-open #hamburger_button span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open #hamburger_button span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media screen and (min-width: 768px) {
  #hamburger_button {
    display: none;
  }
}



/* Menu Open */
#headerMenu.menu-open nav{
  display: flex;
}

#headerMenu.menu-open #hamburger_button{
  background: none;
  left: auto;
  right: 0;
  top: 0;
}

body.fixed{
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}
