@charset "UTF-8";
/* ==========================================================
   フロートボタン（画面右下に固定。「そのほかの資格」と同じ投票URL）
   デザイン：179×163px。SPは縮小して表示
   ========================================================== */
.float-vote {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 179px;
  height: 163px;
  padding: 17px 10px 10px 28px;
  overflow: clip;
  border-radius: 24px;
  background: var(--c-pink);
  box-shadow: 3px 4px 0 #b5004f;
  color: #fff;
  transform-origin: right bottom;
  transition: opacity .25s, visibility .25s, transform .15s, box-shadow .15s, background-color .15s;
}
/* ホバー・タップ時は影の分だけ沈み込む＋少し明るく＋矢印が動く（他のボタンと共通の演出） */
@media (hover: hover) {
  .float-vote:hover {
    background-color: #ff4b93;
    box-shadow: 0 0 0 #b5004f;
    transform: translate(3px, 4px);
  }
  .float-vote:hover .float-vote__label img { translate: 4px 0; }
}
.float-vote:active {
  background-color: #ff4b93;
  box-shadow: 0 0 0 #b5004f;
  transform: translate(3px, 4px);
}
.float-vote__label img { transition: translate .2s; }
.float-vote__label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  line-height: 1.4;
  white-space: nowrap;
}
.float-vote__label img { flex-shrink: 0; width: 30px; }
/* 本の束：デザインの切り抜き枠（141×92）に合わせてトリミング */
.float-vote__books {
  position: absolute;
  top: 13.4px;
  left: 0;
  width: 174px;
  max-width: none;
  height: 152.5px;
  clip-path: inset(39.6px 12px 20.9px 21px);
  filter: drop-shadow(0 4px 4px #b5004f);
}
.float-vote__hand {
  position: absolute;
  top: 84px;
  left: 117px;
  width: 51px;
}

@media (max-width: 767.98px) {
  .float-vote {
    right: 12px;
    bottom: 12px;
    scale: .6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-vote { transition: none; }
}
