/* -------------------- メニューボタン -------------------- */
.menu-button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;

  width: 80px;
  padding: 0;

  border: none;
  background-color: transparent;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-button img {
  display: block;
  width: 100%;
  height: auto;
}

.menu-button:hover {
  transform: scale(1.08) rotate(-5deg);
}

/* メニューが開いている間、魚を隠す */
.menu-button.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* -------------------- 開いたメニュー -------------------- */
.main-menu {
  position: fixed;
  top: 36px;
  right: 20px;
  z-index: 40;

  width: 240px;
  max-width: calc(100vw - 40px);
  padding: 30px 24px 24px;

  border-radius: 60px;
  background-color: #ffe77a;

  transform: translateX(calc(100% + 40px));
  transition: transform 0.35s ease;
}

/* JavaScriptでis-openが付くと画面内へ移動 */
.main-menu.is-open {
  transform: translateX(0);
}

.main-menu a {
  display: block;
  padding: 14px 8px;

  border-bottom: 4px dashed #c58a2b;

  color: #754821;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.main-menu a:last-child {
  border-bottom: none;
}

.main-menu a:hover {
  color: #ffffff;
}

/* -------------------- 閉じるボタン -------------------- */
.menu-close {
  position: absolute;
  top: -20px;
  right: 2px;
  z-index: 1;

  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;

  border: 3px solid #754821;
  border-radius: 50%;
  background-color: #ffffff;

  color: #754821;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;

  transition: transform 0.2s ease;
}

.menu-close:hover {
  transform: scale(1.15);
}

/* -------------------- 固定ロゴ -------------------- */
.logo {
  display: block;
  width: 150px;
  max-width: 40vw;
  height: auto;
}

header .logo-link {
  position: fixed;
  top: 18px;
  left: 24px;
  z-index: 999;
}

/* -------------------- ページ上部へ戻るボタン -------------------- */
html {
  scroll-behavior: smooth;
}

.food-top-area {
  padding: 60px 24px;
  text-align: center;
}

.food-top-button {
  position: relative;
  display: inline-block;

  width: 150px;
  max-width: 35vw;

  color: #ffffff;
  text-decoration: none;

  transition: transform 0.25s ease;
}

.food-top-image {
  display: block;
  width: 80%;
  height: auto;
}

.food-top-text {
  position: absolute;
  top: 65%;
  left: 40%;

  transform: translate(-50%, -50%);

  font-size: 20px;
  font-weight: bold;
}

.food-top-button:hover {
  transform: translateY(-8px) scale(1.05);
}

/* クリックできる場所の肉球カーソル */
a,
button,
[role="button"],
.member-cat,
.back,
.next {
  cursor: url("../images/paw24.png") 12 12, pointer;
}