/* ===== ヘッダー ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}


/* ハンバーガー */
.site-header__hamburger {
  font-size: 72px;
  cursor: pointer;
  color: #fff;
  margin: 36px 12px 12px 12px;
  z-index: 1501;
  text-shadow:
    -1px -1px 2px #000,
     1px -1px 2px #000,
    -1px  1px 2px #000,
     1px  1px 2px #000;
  background: transparent;
  border: none;
  transition: color 0.3s ease;
}

/* === overlay === */
.site-header__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 1400;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* === ナビゲーション === */
.site-header__nav {
  position: absolute;
  top: 0;
  right: -80%;
  width: auto; 
  min-width: 240px; 
  max-width: 70%;
  height: 100%;
  background: #fff;
  padding: 40px 20px;
  box-sizing: border-box;
  transition: right 0.3s ease;
overflow-y: auto;
}

.site-header__nav.open {
  right: 0;
}

.site-header__nav-list {
  list-style: none;
  padding: 80px 0 0;
  margin: 0;
}

.site-header__nav-list li {
  margin: 24px 0;
}

.site-header__nav-list li a {
  text-decoration: none;
  color: #333;
  font-size: 24px;
  white-space: nowrap; 
display: block;
}


@media screen and (max-width: 768px) {
  .site-header__hamburger {
    font-size: 30px;
    margin: 16px 10px;
  }

  .site-header__nav {
    right: -70%;
    max-width: 60%;
    min-width: 180px;
  }

  .site-header__nav.open {
    right: 0;
  }

  .site-header__nav-list li a {
    font-size: 16px;
  }
}
