/* ===== リセット ===== */
html, body {
  margin: 0;
  padding: 0;
}

/* ===== メニュー全体 ===== */
.menu-wrapper {
  position: relative;
  width: 100%;
  height: 50px; /* iframeの高さと必ず合わせる */
}

/* ===== ボタンエリア（下端ピッタリ） ===== */
.menu-buttons {
  position: absolute;
  right: 0px;
  bottom: 0;             /* ← iframeの下にピッタリ */
  display: flex;
  gap: 0;
}

/* ===== ボタン本体 ===== */
.btn-slide {
  display: inline-block;
  position: relative;

  padding: 15px 30px;
  text-decoration: none;
  color: #333;
  background: transparent;

  overflow: hidden;
  transition: color 0.4s;
}


/* ===== hoverアニメーション ===== */
.btn-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #333;
  z-index: -1;
  transition: width 0.4s;
}

.btn-slide:hover {
  color: #fff;
}

.btn-slide:hover::before {
  width: 100%;
}

/* ===== ボタンをピッタリくっつける ===== */
.btn-slide:first-child {
  border-radius: 0;
}

.btn-slide:last-child {
  border-radius: 0;
}