body {
  /* color: #707070; */
  font-size: 1.6rem;
}

header {
  /* max-width: 1280px; */
  height: 7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  background-color: #fff;
  z-index: 9999;
}

.logo {
  height: 6rem;
  margin: 0.5rem 1rem;
}

.h_menu {
  display: flex;
  align-items: center;
}

.h_ul {
  display: flex;
}

.h_li {
  font-size: 1.4rem;
  margin-right: 0.5rem;
  color: #4b4b4b;
}
.h_li:nth-child(n + 3):nth-child(-n + 4) {
  margin-right: 1.5rem;
}
.h_li:nth-child(n + 5):nth-child(-n + 6),
.h_li:nth-child(8) {
  margin-right: 2rem;
}
.h_li:nth-child(7) {
  margin-right: 1.6rem;
}

.h_square {
  background-color: #F2EFEA;
  padding: 0.2rem 1rem;
  display: inline-block;
}

.h_underline {
  display: inline-block;
  border-bottom: 1px solid #707070;
  padding-bottom: 0.3rem;
}

.h_triangle {
  color: var(--orange);
}

.h_triangle::before {
  content: "▶";
}

.h_sns {
  display: inline-block;
  background-color: var(--terracotta);
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 2.3rem 0.7rem;
  transition: all 0.2s;
}
.h_sns:hover {
  opacity: 1;
  background-color: var(--darkOrange);
}

@media screen and (max-width: 699.98px) {
  header {
    /* position: relative; */
    height: auto;
  }

  .logo {
    width: 48px;
    height: 56.35px;
    margin: 9px 10px;
  }

  .h_menu {
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    /* left: -120%; */
    background-color: #F3C13B;
    /* opacity: .8; */
    padding: 101px 66px;
    transition: all 0.5s;
    border-top: 1px solid #fff;
    align-items: center;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .h_menu.active{
    opacity: 1;
    pointer-events: initial;
  }

  .h_menu::before{
    content: '';
    position: absolute;
    background-image: url('../img/logo_shape.svg');
    width: 30rem;
    aspect-ratio: 1;
    background-size: contain;
    /* background-blend-mode: luminosity; */
    opacity: 0.5;
    right: -14rem;
    bottom: 0;
  }

  .h_ul {    
    display: block;
  }

  .h_li {
    /* margin-right: 0; */
    margin-bottom: 3rem;
  }
  .h_underline {
    margin-right: 0 !important;
  }
  .h_li:nth-child(5) {
    margin-right: 3.25rem !important;
  }

  .h_sns {
    text-align: center;
    display: inline-block;
    background-color: var(--terracotta);
    color: #FFFFFF;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 2.2rem 0.7rem;
    margin-left: auto;
    position: relative;
    width: 100%;
  }

  /* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
  .hamburger_btn {
    width: 4.8rem;
    height: 4.8rem;
    position: relative;
    border: 0;
    margin: 0.9rem 1rem;
    background-color: var(--terracotta);
    /* cursor: pointer; */
    z-index: 300;
    position: relative;
  }

  .hamburger{
    position: absolute;
    display: block;
    content: "";
    width: 2.87rem;
    height: 1px;
    right: 0;
    left: 0;
    background-color: #fff;
    transition: all 0.5s;
    margin: auto;
    opacity: 1;
  }

  .hamburger:nth-child(1) {
    /* top: -0.8rem; */
    transform: translateY(-0.8rem);
    opacity: 1;
  }

  .hamburger:nth-child(3) {
    /* bottom: -0.8rem; */
    opacity: 1;
    transform: translateY(0.8rem);
  }



  .hamburger_btn.active{
    .hamburger:nth-child(1) {
      transform: rotate(45deg);

    }

    .hamburger:nth-child(2) {
      opacity:0;

    }

    .hamburger:nth-child(3) {
      transform: rotate(-45deg);
    }
  }

  /* .hamburger.open {
    background-color: transparent;
  }

  .hamburger.open::before {
    top: 0;
    transform: rotate(45deg);
  }

  .hamburger.open::after {
    bottom: 0;
    transform: rotate(-45deg);
  } */
}