/*
 * ACF floating banner
 * Layout reference: https://hinokiya-kansai.com/
 */
.l_fbagjs--custom {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99998;
  margin: 15px 20px;
}

.l_fbagjs--custom .l_qspkvy {
  display: block !important;
  position: relative;
  width: 300px;
  border-radius: 25px;
  background: #f8f8f8;
  box-shadow: 0 0 7px rgb(0 0 0 / 40%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.l_fbagjs--custom .l_qspkvy.is-show {
  opacity: 1;
  visibility: visible;
}

.l_fbagjs--custom .l_qspkvy > a {
  display: block;
  text-decoration: none;
}

.l_fbagjs--custom .l_qspkvy:hover > a {
  opacity: initial;
}

.l_fbagjs--custom .l_qspkvy > a:hover {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.l_fbagjs--custom .l_qspkvy img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.l_fbagjs--custom .l_kxvwqo {
  position: absolute;
  top: -30px;
  right: 0;
  z-index: 99999;
  padding: 4px 6px 6px;
  border: 0;
  border-radius: 25px;
  background-color: #f8f8f8;
  box-shadow: 0 0 7px rgb(0 0 0 / 40%);
  color: #000;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

.l_fbagjs--custom .l_yeelew::before {
  content: "×";
}

@media screen and (max-width: 750px) {
  .l_fbagjs--custom {
    bottom: 60px;
    left: 10px;
    width: 60%;
    margin: 0;
  }

  .l_fbagjs--custom .l_qspkvy {
    width: 100%;
    border-radius: 0;
  }
}
