.front-page .rec-floating {
  position: fixed;
  right: 40px;
  bottom: 50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.14));
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
@media (max-width: 834px) {
  .front-page .rec-floating {
    width: 110px;
    height: 110px;
    bottom: 30px;
    right: 20px;
  }
}
@media (hover: hover) {
  .front-page .rec-floating:hover {
    transform: translateY(-10%);
  }
  .front-page .rec-floating:hover .deco {
    background-color: #333;
  }
}
.front-page .rec-floating a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #a52869;
  transition: background 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  padding-top: 10px;
}
@media (max-width: 834px) {
  .front-page .rec-floating a {
    padding-top: 5px;
  }
}
.front-page .rec-floating a::before {
  content: "";
  display: block;
  aspect-ratio: 118/54;
  width: 100px;
  height: auto;
  mask-image: url(../img/index/top_rec_logo.png);
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: #c73e85;
  transition: background 0.3s ease;
  padding-top: 10px;
}
@media (max-width: 834px) {
  .front-page .rec-floating a::before {
    width: 87px;
  }
}
@media (hover: hover) {
  .front-page .rec-floating a:hover {
    opacity: 1;
    background-color: #f2f2f2;
    color: #333;
  }
  .front-page .rec-floating a:hover::after {
    border-color: #333;
  }
  .front-page .rec-floating a:hover::before {
    background-color: #dedede;
  }
  .front-page .rec-floating a:hover .text {
    color: #333;
  }
  .front-page .rec-floating a:hover .text-click {
    color: #333;
  }
  .front-page .rec-floating a:hover .text-click::before {
    background-color: #dedede;
  }
}
.front-page .rec-floating a::after {
  content: "";
  aspect-ratio: 1/1;
  width: 95%;
  height: auto;
  border: solid 1px #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: border 0.3s ease;
  z-index: 1;
}
.front-page .rec-floating a .text {
  position: relative;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: bold;
  color: #fff;
  transition: color 0.3s ease;
  z-index: 1;
  margin: 5px 0;
}
@media (max-width: 834px) {
  .front-page .rec-floating a .text {
    font-size: 1.5rem;
    margin: 0;
  }
}
.front-page .rec-floating a .text-click {
  position: relative;
  font-family: "Oswald";
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  transition: color 0.3s ease;
  z-index: 1;
  padding-top: 5px;
}
@media (max-width: 834px) {
  .front-page .rec-floating a .text-click {
    font-size: 1.2rem;
  }
}
.front-page .rec-floating a .text-click::before {
  content: "";
  width: 300%;
  height: 300%;
  background-color: #c73e85;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -2;
  transform: translateX(-50%);
  transition: background 0.3s ease;
}
.front-page .rec-floating .deco {
  display: block;
  aspect-ratio: 1/1;
  width: 164px;
  height: auto;
  mask-image: url(../img/index/top_rec_deco.png);
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: #a52869;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
  animation: decoRotate infinite 15s linear;
  pointer-events: none;
}
@media (max-width: 834px) {
  .front-page .rec-floating .deco {
    width: 129px;
  }
}
.is-show .rec-floating {
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
}
@keyframes decoRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
