/* ********** ********** ********** */
/*         o_components CSS         */
/* ********** ********** ********** */

/* toTop_btn */
.toTop-btn {
  position: fixed;
  bottom: 5%;
  right: 0;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transition: 1s;
  transform: translateX(100%);
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.toTop-btn .img-box {
  width: 80%;
}
.toTop-btn .img-box img {
  width: 100%;
}

.toTop-btn.active {
  right: 1%;
  opacity: 1;
  transform: translateX(0);
}

@media all and (max-width: 600px) {
  .toTop-btn {
    bottom: 16vmin;
    width: 10vmin;
    height: 10vmin;
  }
}

/* floating_btn */
.o_floating-btn {
  position: fixed;
  z-index: 10;
  opacity: 1;
  transition: all 1s;
  line-height: 0;
}
.o_floating-btn a {
  display: inline-block;
  width: 100%;
}
.o_floating-btn img {
  width: 100%;
  line-height: 0;
}

.o_floating-btn._pc {
  display: block;
  top: 11%;
  right: 1%;
  max-width: 13rem;
  width: 15%;
  transform: translate(0, 0);
}

/* .o_floating-btn.active {
  opacity: 1;
  transform: translate(0, 0);
} */

.o_floating-btn._mo {
  display: none;
}

@media all and (max-width: 600px) {
  .o_floating-btn._pc {
    display: none;
  }

  .o_floating-btn._mo {
    display: block;
    bottom: 0;
    right: 0;
    width: 100%;
    transform: translate(0, 0);
  }
  /* .o_floating-btn.active {
    opacity: 1;
    transform: translate(0, 0);
  } */

  .o_floating-btn a {
    display: block;
    background-color: #eb612a;
    text-align: center;
    padding: 1.6rem 0;
  }
  .o_floating-btn a span {
    font-size: 1.2rem;
    padding-right: 1.5em;
    position: relative;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
  }
  .o_floating-btn a span::after {
    content: "";
    background-image: url("../image/icon/icon_arrow_r.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 1.1rem;
    height: 1.1rem;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate3d(0, -55%, 0);
  }
}

/* o_highlight */
.o_hl {
  position: relative;
  z-index: 1;
}
.o_hl::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.7em;
  opacity: 1;
  z-index: -1;
  transition: all 1s;
  width: 0;
  background-color: rgba(255, 255, 255, 0.2);
}
.o_hl.active::before {
  width: 100%;
}
