/* ==========================================================
   公園詳細 固定メニュー（モック）
   PC：右端・縦中央に縦並び / SP：画面下部に全幅で横並び
   ========================================================== */
.c-fixNav {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 776; /* .c-pageTop(777) / ヘッダー類より下 */
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .95);
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.c-fixNav__list {
  display: grid;
  grid-template-columns: 60px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-fixNav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 64px;
  color: #0f6a12;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s;
}

.c-fixNav__link:hover {
  background: #e8f5e3;
}

.c-fixNav__icon {
  display: block;
  width: 22px;
  height: 22px;
}

@media screen and (max-width: 767px) {
  .c-fixNav {
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .1);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .c-fixNav__list {
    grid-template-columns: repeat(5, 1fr);
  }

  .c-fixNav__link {
    height: 52px;
  }

  .c-fixNav__link:hover {
    background: none;
  }

  /* メニューの裏にフッター末尾が隠れないよう余白を確保 */
  body {
    padding-bottom: calc(52px + env(safe-area-inset-bottom));
  }

  /* 上に戻るボタンをメニューの上へ移動 */
  .c-pageTop {
    bottom: calc(52px + 12px + env(safe-area-inset-bottom));
  }
}
