.site-header {
  background-color: #81e18c;
  border-bottom: 2px solid #ffffff8f;
  height: 80px;
  display: flex;
  align-items: center;
  @media (max-width: 768px) {
    height: 60px;
  }
}

.header-logo {
  position: absolute;
  height: 79px;
  @media (max-width: 768px) {
    height: 59px;
  }
}

.header-logo img {
  height: 79px;
  mix-blend-mode: multiply;
  @media (max-width: 768px) {
    height: 59px;
  }
}

.header-inner {
  margin: 0 auto;
}

.header-inner nav {
  display: flex;
  justify-content: center;
}

.header-inner nav a {
  font-weight: bold;
  color: black;
  margin-right: 30px;
  transition: color 0.4s;
  text-decoration: none;
}

.header-inner nav a:hover {
  color: #ffffffd4;
}

/* ハンバーガー */
.hamburger {
  display: none;
  position: absolute;
  right: 20px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  height: 3px;
  background: rgba(0, 0, 0, 0.635);
  margin: 5px 0;
  transition: 0.3s;
}

/* スマホ */
@media (max-width: 768px) {

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .hamburger {
    display: block;
    z-index: 1001;
  }

  .header-inner {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #81e18c;
    margin: 0;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  
  /* 開いた状態 */
  .header-inner.active {
    transform: translateX(0);
    right: 0;
  }
  
  .header-inner nav {
    flex-direction: column;
    align-items: center; 
    gap: 50px;
  }

  .header-inner nav a {
    margin-right: 0; /* PC用のマージンを消す */
    font-size: 1.2rem;
  }

  /* バツアイコン */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}