/* Mobile-only cue for the horizontally scrollable weekly schedule. */
.miki-week-board-stage {
  position: relative;
}

.miki-week-scroll-hint {
  display: none;
}

@media (max-width: 767px) {
  .miki-week-scroll-hint {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0;
    border-radius: 12px;
    padding: 1rem;
    background: rgba(71, 85, 105, 0.3);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.3;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transition: opacity 220ms ease;
  }

  .miki-week-scroll-hint span {
    border-radius: 999px;
    padding: 0.36rem 0.75rem;
    background: rgba(15, 23, 42, 0.52);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.16);
  }

  .miki-week-scroll-hint b {
    color: rgba(255, 255, 255, 0.95);
    font-family: Arial, sans-serif;
    font-size: clamp(4rem, 19vw, 5.4rem);
    font-weight: 400;
    letter-spacing: -0.18em;
    line-height: 0.55;
    text-shadow: 0 7px 18px rgba(15, 23, 42, 0.28);
  }

  .miki-week-board-stage.is-scroll-hint-visible .miki-week-scroll-hint {
    opacity: 1;
  }

  .miki-week-board-stage.is-scroll-hint-visible .miki-week-scroll-hint b {
    animation: miki-week-scroll-hint-pulse 1.2s ease-in-out 3;
  }
}

@keyframes miki-week-scroll-hint-pulse {
  0%, 100% {
    opacity: 0.68;
    transform: translateX(-0.12em);
  }

  50% {
    opacity: 1;
    transform: translateX(0.16em);
  }
}

@media (prefers-reduced-motion: reduce) {
  .miki-week-board-stage.is-scroll-hint-visible .miki-week-scroll-hint b {
    animation: none;
  }
}

/* Keep the welfare CTA aligned with the right edge of its three-card row. */
@media (min-width: 768px) {
  .ibenefit_area__body > .btn_wrap.center {
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
  }
}
