#header {
  width: 100%;
  height: 12rem;
  color: #ffffff;
  background-color: var(--green-800);
  top: 0;
  left: 0;
  z-index: 100;
  position: relative;
}

#header h1 {
  position: absolute;
  left: 0;
  bottom: -8rem;
  font-size: 3.2rem;
  font-weight: 700;
}

#headerMenu {
  position: absolute;
  right: -2rem;
  bottom: -8rem;
  font-size: 1.8rem;
  line-height: 2.2rem;
  text-align: right;
  margin: 0;
}

#headerMenu li {
  display: inline-block;
}

#headerMenu li  a {
  display: inline-block;
  color: #ffffff;
  margin: 0 1.6rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 1.0rem;
  transition: text-decoration-color 0.3s ease;
}

@media (hover: hover) {

#headerMenu li  a:hover {
  opacity: 1.0;
  text-decoration-color: var(--yellow-200);
}

}

@media screen and (max-width: 1300px) { /* ブラウザ幅1300px以下はハンバーガーメニュー */

#header {
  width: 100%;
  height: 8.4rem;
  position: fixed;
}

#header h1 {
  position: absolute;
  left: 2.4rem;
  bottom: -6.6rem;
  font-size: 2.0rem;
}

#globalNavContainer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: auto;
  margin: 0;
  z-index: 10;
  background-color: var(--main-color-bg);
}

#headerLogo {
  width: 20rem;
  height: 6rem;
  display: flex;
  align-items: center;
}

#headerInnerContainer {
  display: none;
  position: absolute;
  top: 8.4rem;
  left: 0;
  right: 0;
  flex-direction: column;
  background-color: var(--green-800);
  box-shadow: 0 0.6rem 0.5rem rgba(0,0,0,0.20);
  z-index: 10;
}

#headerMenu {
  flex-direction: column;
  width: 100%;
  padding: 0 2.5rem 3rem;
  font-size: 1.8rem;
  line-height: 2.7rem;
  position: relative;
  bottom: auto;
  right: auto;
}

#headerMenu li {
  width: 100%;
}
  
#headerMenu li a {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 2.1rem 1rem 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.50);
  position: relative;
}
    
#headerMenu li a::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.4rem);
  right: 1.3rem;
  transform: rotate(90deg);
  background: rgba(255,255,255,1.00);;
  height: calc(1.1rem / 2 * tan(60deg));
  width: 1.1rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

#headerMenu .currentDirectory a {
  color: #B5B5B5;
}
    
#headerMenu .currentDirectory a::after {
  background: #B5B5B5;
}

#headerBtnGreenMarket {
  padding: 1.1rem 3.0rem 1.3rem 8.0rem;
  border-radius: 1.0rem;
  background: url("/common/images/pict_cart.png") left calc(50% - 8rem) center no-repeat var(--sub-color-orange);
  width: calc(100% - 5rem);
  margin: 3rem 2.5rem;
  text-align: center;
}

#headerLogoSquare {
  display: block;
  padding: 0 0 3rem;
}

#headerMenuBtn {
  position: absolute;
  top: 1.6rem;
  right: 2.4rem;
  height: 5.2rem;
  width: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  background-color: #ffffff;
  border-radius: 0.6rem;
}

#headerMenuBtn div.headerMenuBtnPict, #headerMenuBtn div.headerMenuBtnPict span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}

#headerMenuBtn div.headerMenuBtnPict {
  position: absolute;
  top: 2.1rem;
  left: calc(50% - 0.9rem);
  width: 1.8rem;
  height: 1.2rem;
}

#headerMenuBtn div.headerMenuBtnPict span {
  position: absolute;
  left: 0;
  width: 1.8rem;
  height: 2px;
  background-color: var(--green-800);
}

#headerMenuBtn div.headerMenuBtnPict span:nth-of-type(1) { top: 0; }
#headerMenuBtn div.headerMenuBtnPict span:nth-of-type(2) { top: 0.5rem; }
#headerMenuBtn div.headerMenuBtnPict span:nth-of-type(3) { bottom: 0; }

#headerMenuBtn.headerMenuClose div.headerMenuBtnPict {
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
}

#headerMenuBtn.headerMenuClose div.headerMenuBtnPict span:nth-of-type(1) {
  -webkit-transform: translateY(5px) rotate(-45deg) scaleY(1.0);
  -moz-transform: translateY(5px) rotate(-45deg) scaleY(1.0);
  background-color: var(--green-800);
}

#headerMenuBtn.headerMenuClose div.headerMenuBtnPict span:nth-of-type(3) {
  -webkit-transform: translateY(-5px) rotate(45deg) scaleY(1.0);
  -moz-transform: translateY(-5px) rotate(45deg) scaleY(1.0);
  background-color: var(--green-800);
}

#headerMenuBtn.headerMenuClose div.headerMenuBtnPict span:nth-of-type(2) {
  opacity: 0;
}

}

