/* ScrollHint の見た目（本体のまま）。2026-11-05：指・矢印の SVG を base64 から utf8（クォート付き）の書き方に変更。
   base64 だと A-BiSU が取り込みで /import/… のファイルに置き換え、text/plain で返すため画像が出なかった（common.css の utf8 の SVG は置き換えられていない） */
@keyframes scroll-hint-appear {
  0% {
    transform: translateX(40px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50%,
  100% {
    transform: translateX(-40px);
    opacity: 0;
  }
}

.scroll-hint-icon {
  position: absolute;
  top: calc(50% - 25px);
  left: calc(50% - 60px);
  box-sizing: border-box;
  width: 120px;
  height: auto;
  border-radius: 5px;
  transition: opacity .3s;
  opacity: 0;
  background: rgba(0, 0, 0, .7);
  text-align: center;
  padding: 20px 10px 10px 10px;
}

.scroll-hint-icon-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  pointer-events: none;
}

.scroll-hint-text {
  font-size: 10px;
  color: #FFF;
  margin-top: 5px;
}

.scroll-hint-icon-wrap.is-active .scroll-hint-icon {
  opacity: .8;
}

.scroll-hint-icon:before {
  display: inline-block;
  width: 40px;
  height: 40px;
  color: #FFF;
  vertical-align: middle;
  text-align: center;
  content: "";
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25.77" height="30.52" viewBox="0 0 25.77 30.52"><g><g><path d="M21.33,30.52H7.85A1.55,1.55,0,0,1,6.3,29a12.46,12.46,0,0,0-.63-4.42,25.16,25.16,0,0,0-4.25-5l-.06-.06A5,5,0,0,1,0,15.86a3.64,3.64,0,0,1,1.17-2.62,3.63,3.63,0,0,1,5.14.07V3.77a3.77,3.77,0,1,1,7.54,0V8.33a3.35,3.35,0,0,1,1.26,0,3,3,0,0,1,2,1.22,3.5,3.5,0,0,1,2-.06,3.21,3.21,0,0,1,2,1.54,3.74,3.74,0,0,1,3,.47A4.21,4.21,0,0,1,25.74,15c0,.11,0,.27,0,.46a19.26,19.26,0,0,1-.84,7c-.14.38-.36.81-.56,1.22l-.11.22c0,.07-.09.14-.14.21a7.13,7.13,0,0,0-1.17,2.17c-.06.56-.06,2.15-.05,2.71A1.55,1.55,0,0,1,21.33,30.52ZM8.61,28.21h12c0-.71,0-1.71.07-2.23a8.74,8.74,0,0,1,1.59-3.25l.06-.12a10,10,0,0,0,.46-1,16.8,16.8,0,0,0,.7-6.12c0-.23,0-.41,0-.54h0a2,2,0,0,0-.64-1.52,1.33,1.33,0,0,0-1.55.08,1.13,1.13,0,0,1-1.18.28,1.15,1.15,0,0,1-.78-.94,1.26,1.26,0,0,0-.75-1.11,1,1,0,0,0-1.11.28l-.1.1a1.15,1.15,0,0,1-1.19.29,1.16,1.16,0,0,1-.78-.95c-.09-.68-.21-.77-.7-.87a.82.82,0,0,0-1,.48,1.16,1.16,0,0,1-2.16-.58V3.77a1.46,1.46,0,1,0-2.92,0v7.85l0,4.33a1.17,1.17,0,0,1-.83,1.11,1.15,1.15,0,0,1-1.2-.35l-1-.91c-.47-.42-.73-.66-.84-.77a1.35,1.35,0,0,0-2-.12L2.7,15a1.32,1.32,0,0,0-.39,1A2.57,2.57,0,0,0,3,17.85l0,0a27.24,27.24,0,0,1,4.7,5.62A12.63,12.63,0,0,1,8.61,28.21ZM23.2,23.35ZM6.51,16.59Z" fill="%23fff"/></g></g></svg>');
}

.scroll-hint-icon:after {
  content: "";
  width: 34px;
  height: 14px;
  display: block;
  position: absolute;
  top: 10px;
  left: 50%;
  margin-left: -20px;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="33.29" height="12.02" viewBox="0 0 33.29 12.02"><g><g><line x1="1.85" y1="6.01" x2="10.4" y2="6.01" fill="%23fff"/><path d="M10.4,7.17H1.85a1.16,1.16,0,1,1,0-2.31H10.4a1.16,1.16,0,1,1,0,2.31Z" fill="%23fff"/><path d="M7.4,12a1.15,1.15,0,0,1-.72-.25l-6.25-5A1.2,1.2,0,0,1,0,5.87,1.14,1.14,0,0,1,.46,5L6.7.23A1.16,1.16,0,0,1,8.1,2.08L3,5.91,8.12,10A1.16,1.16,0,0,1,7.4,12Z" fill="%23fff"/><line x1="31.45" y1="6.01" x2="22.89" y2="6.01" fill="%23fff"/><path d="M31.45,7.17H22.89a1.16,1.16,0,1,1,0-2.31h8.56a1.16,1.16,0,0,1,0,2.31Z" fill="%23fff"/><path d="M25.9,12a1.18,1.18,0,0,1-.91-.43A1.17,1.17,0,0,1,25.17,10l5.09-4.05L25.2,2.08A1.16,1.16,0,0,1,26.59.23L32.84,5a1.16,1.16,0,0,1,.45.91,1.14,1.14,0,0,1-.43.92l-6.24,5A1.17,1.17,0,0,1,25.9,12Z" fill="%23fff"/></g></g></svg>');
  opacity: 0;
  transition-delay: 2.4s;
}

.scroll-hint-icon-wrap.is-active .scroll-hint-icon:after {
  opacity: 1;
}

.scroll-hint-icon-wrap.is-active .scroll-hint-icon:before {
  animation: scroll-hint-appear 1.2s linear;
  animation-iteration-count: 2;
}

.scroll-hint-icon-white {
  background-color: #FFF;
  box-shadow: 0 4px 5px rgba(0, 0, 0, .4);
}

.scroll-hint-icon-white:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25.77" height="30.52" viewBox="0 0 25.77 30.52"><g><g><path d="M21.33,30.52H7.85A1.55,1.55,0,0,1,6.3,29a12.46,12.46,0,0,0-.63-4.42,25.16,25.16,0,0,0-4.25-5l-.06-.06A5,5,0,0,1,0,15.86a3.64,3.64,0,0,1,1.17-2.62,3.63,3.63,0,0,1,5.14.07V3.77a3.77,3.77,0,1,1,7.54,0V8.33a3.35,3.35,0,0,1,1.26,0,3,3,0,0,1,2,1.22,3.5,3.5,0,0,1,2-.06,3.21,3.21,0,0,1,2,1.54,3.74,3.74,0,0,1,3,.47A4.21,4.21,0,0,1,25.74,15c0,.11,0,.27,0,.46a19.26,19.26,0,0,1-.84,7c-.14.38-.36.81-.56,1.22l-.11.22c0,.07-.09.14-.14.21a7.13,7.13,0,0,0-1.17,2.17c-.06.56-.06,2.15-.05,2.71A1.55,1.55,0,0,1,21.33,30.52ZM8.61,28.21h12c0-.71,0-1.71.07-2.23a8.74,8.74,0,0,1,1.59-3.25l.06-.12a10,10,0,0,0,.46-1,16.8,16.8,0,0,0,.7-6.12c0-.23,0-.41,0-.54h0a2,2,0,0,0-.64-1.52,1.33,1.33,0,0,0-1.55.08,1.13,1.13,0,0,1-1.18.28,1.15,1.15,0,0,1-.78-.94,1.26,1.26,0,0,0-.75-1.11,1,1,0,0,0-1.11.28l-.1.1a1.15,1.15,0,0,1-1.19.29,1.16,1.16,0,0,1-.78-.95c-.09-.68-.21-.77-.7-.87a.82.82,0,0,0-1,.48,1.16,1.16,0,0,1-2.16-.58V3.77a1.46,1.46,0,1,0-2.92,0v7.85l0,4.33a1.17,1.17,0,0,1-.83,1.11,1.15,1.15,0,0,1-1.2-.35l-1-.91c-.47-.42-.73-.66-.84-.77a1.35,1.35,0,0,0-2-.12L2.7,15a1.32,1.32,0,0,0-.39,1A2.57,2.57,0,0,0,3,17.85l0,0a27.24,27.24,0,0,1,4.7,5.62A12.63,12.63,0,0,1,8.61,28.21ZM23.2,23.35ZM6.51,16.59Z"/></g></g></svg>');
}

.scroll-hint-icon-white:after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="33.29" height="12.02" viewBox="0 0 33.29 12.02"><g><g><line x1="1.85" y1="6.01" x2="10.4" y2="6.01"/><path d="M10.4,7.17H1.85a1.16,1.16,0,1,1,0-2.31H10.4a1.16,1.16,0,1,1,0,2.31Z"/><path d="M7.4,12a1.15,1.15,0,0,1-.72-.25l-6.25-5A1.2,1.2,0,0,1,0,5.87,1.14,1.14,0,0,1,.46,5L6.7.23A1.16,1.16,0,0,1,8.1,2.08L3,5.91,8.12,10A1.16,1.16,0,0,1,7.4,12Z"/><line x1="31.45" y1="6.01" x2="22.89" y2="6.01"/><path d="M31.45,7.17H22.89a1.16,1.16,0,1,1,0-2.31h8.56a1.16,1.16,0,0,1,0,2.31Z"/><path d="M25.9,12a1.18,1.18,0,0,1-.91-.43A1.17,1.17,0,0,1,25.17,10l5.09-4.05L25.2,2.08A1.16,1.16,0,0,1,26.59.23L32.84,5a1.16,1.16,0,0,1,.45.91,1.14,1.14,0,0,1-.43.92l-6.24,5A1.17,1.17,0,0,1,25.9,12Z"/></g></g></svg>');
}

.scroll-hint-icon-white .scroll-hint-text {
  color: #000;
}



.scroll-hint-shadow-wrap {
  position: relative;
}

.scroll-hint-shadow-wrap::after {
  content: "";
  width: 20px;
  height: 100%;
  background: linear-gradient(270deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0));
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.scroll-hint-shadow-wrap::before {
  content: "";
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0));
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.scroll-hint-shadow-wrap:has(.scroll-hint.is-right-scrollable)::after,
.scroll-hint-shadow-wrap.is-right-scrollable::after
 {
  opacity: 1;
  visibility: visible;
}

.scroll-hint-shadow-wrap:has(.scroll-hint.is-left-scrollable)::before,
.scroll-hint-shadow-wrap.is-left-scrollable::before
 {
  opacity: 1;
  visibility: visible;
}
