/* 一覧ナビゲーション */
.index-nav {
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
}

.index-nav.custom-nav-09-01 {
  display: flex;
  gap: 1rem;
}

.index-nav.custom-nav-09-01 .large-group-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0.25rem 0.25rem 0.5rem #0002;
  font-family: inherit;
  font-size: 2rem;
  line-height: 1;
  color: white;
  transition: filter 75ms ease-out;
  cursor: pointer;
}
.index-nav.custom-nav-09-01 .large-group-button:hover,
.index-nav.custom-nav-09-01 .large-group-button:focus-visible {
  filter: brightness(1.1);
}
.index-nav.custom-nav-09-01 .large-group-button span {
  transform: translateY(-0.025em);
}
.index-nav.custom-nav-09-01 .large-group-button::before {
  --translate: translate(-50%, -50%);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: var(--translate);
  transform-origin: center;
  width: 70%;
  height: 70%;
  border: solid 1px currentColor;
}
.index-nav.custom-nav-09-01 .large-group-button[data-scroll-to="kobun"]::before {
  transform: var(--translate) rotate(45deg) scale(90%);
}
.index-nav.custom-nav-09-01 .large-group-button[data-scroll-to="kanbun"]::before {
  opacity: 0.75;
}
.index-nav.custom-nav-09-01 .large-group-button[data-scroll-to="kobun"] {
  background-color: var(--main-color-09-orange);
}
.index-nav.custom-nav-09-01 .large-group-button[data-scroll-to="kanbun"] {
  background-color: var(--main-color-09-purple);
}

@media (max-width: 920px), (max-height: 800px) {
  .index-nav {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
  }
  
  .index-nav.custom-nav-09-01 {
    gap: 0.75rem;
  }
  .index-nav.custom-nav-09-01 .large-group-button {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.65rem;
    box-shadow: 0.15rem 0.15rem 0.25rem #0004;
  }
}