/* ===== nav-mobile dropdown ===== */
.nav-mobile { display: none; }

.nav-mobile.is-open { display: block; }

.nav-mobile {
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  z-index: 2000;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  width: min(82vw, 320px);
  font-size: 14px;

  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
}

.nav-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform .18s ease, opacity .18s ease;
}

.nav__list { list-style: none; margin: 0; padding: 6px 0; }
.nav__list a {
  display: block;
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}
.nav__list li:last-child a { border-bottom: none; }

/* hamburger button */
.hdr__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  background: transparent; /* ←ここが目的 */
  cursor: pointer;
  position: relative;
}

/* 任意：ホバーでほんのり */
.hdr__toggle:hover{
  background: rgba(255,255,255,0.25);
}

.hdr__toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #333;
  transform: translateX(-50%);
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}
.hdr__toggle span:nth-child(1){ top: 9px; }
.hdr__toggle span:nth-child(2){ top: 15px; }
.hdr__toggle span:nth-child(3){ top: 21px; }

.hdr__toggle[aria-expanded="true"] span:nth-child(1){
  top: 15px;
  transform: translateX(-50%) rotate(45deg);
}
.hdr__toggle[aria-expanded="true"] span:nth-child(2){
  opacity: 0;
}
.hdr__toggle[aria-expanded="true"] span:nth-child(3){
  top: 15px;
  transform: translateX(-50%) rotate(-45deg);
}
