/* ▼ float-button settings ▼ */
.float-button {
  position: fixed;
  width: 200px;
  right: 0;
  left: min(60vw, 850px);
  margin: 0 auto;
  bottom: 0;
  z-index: 3000; /* ← ここを変更 */
  animation-name: anime;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.2s;
}
/* スマホ */
@media screen and (max-width: 600px) {
  .float-button {
    position: fixed;
    width: 100%;
    text-align: center;
    opacity: 1;   /* dispクラスがなくても消えないように1固定 */
    transition: opacity 0.5s;
    right: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: none;
    z-index: 3000;
  }
}


.disp {
  opacity: 1;
}

.float-button__img {
  width: 100%;
  margin: 0 auto;
}

.float-button a:hover {
  opacity: 0.7;
}

@keyframes anime {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
/* ▲ float-button settings ▲ */
