/* ドロップダウン初期状態（headbar右端ボタンの“左下”に出す） */
.drawer {
  position: absolute;   /* ← fixed から変更 */
  top: 100%;            /* ヘッダーバー下端から */
  right: 0;             /* 右端に揃える */
  min-width: 200px;
  max-width: 90vw;

  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.5rem 0;

  display: flex;
  flex-direction: column;
  gap: 0;

  /* 非表示状態（クリックまで見せない） */
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 20;
}
.drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.drawer a {
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1rem;
  white-space: nowrap;
}
.drawer a:hover {
  background: #222;
}

/* 閉じるボタン（必要なら上部右寄せ） */
.drawer-close {
  align-self: flex-end;
  margin: 4px 8px 0 0;
  font-size: 1.1rem;
  border: 0;
  background: none;
  color: #aaa;
  cursor: pointer;
}
.drawer-close:hover { color: #fff; }

.menu-button {
  font-size: 3rem;   /* ←アイコンサイズを大きくする */
  padding: 0.5rem 1rem; /* ボタンのクリック範囲を広げる */
  line-height: 1;
}
@media (max-width:768px){

.menu-button{
  padding :0;
}
}
