.life-hints__swap{display:block;position:relative;width:100%;height:100%;}
.life-hints__swap img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  opacity:0;z-index:0;
}
.life-hints__swap img:first-child{opacity:1;z-index:1;}
.life-hints__swap.is-ready img{opacity:0;z-index:0;}
.life-hints__swap.is-ready img.is-cur{opacity:1;z-index:1;}
.life-hints__ph[role="button"]{cursor:pointer;-webkit-tap-highlight-color:transparent;}
.life-hints__ph[role="button"]:focus{outline:none;}
.life-hints__ph[role="button"]:focus-visible{outline:2px solid #1a1a1a;outline-offset:4px;}
.life-hints__ghost{
  position:absolute;overflow:hidden;pointer-events:none;
  transform-origin:50% 50%;will-change:transform,filter,opacity;
}
.life-hints__ghost-in{position:absolute;inset:0;}
.life-hints__ghost img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.life-hints__ph.is-swapping .life-hints__swap{visibility:hidden;}
@media(max-width:767px){ .life-hints__fig{position:relative;} }
.life-hints__ghost--leave{z-index:4;}
.life-hints__ghost--leave.is-run{animation:lhGhostLeave 1.2s cubic-bezier(.25,.46,.45,.94) forwards;   }
@keyframes lhGhostLeave{
  0%  {opacity:1;transform:scale(1);   filter:blur(0);}
  100%{opacity:0;transform:scale(1.12);filter:blur(16px);}
}
.life-hints__ghost--enter{z-index:3;opacity:0;filter:blur(20px);transform:translate3d(0,16px,0);}
.life-hints__ghost--enter.is-run{animation:lhGhostEnter 1.5s cubic-bezier(.33,1,.68,1) .2s both;   }
@keyframes lhGhostEnter{
  0%  {opacity:0;filter:blur(20px);transform:translate3d(0,16px,0);}
  100%{opacity:1;filter:blur(0);   transform:translate3d(0,0,0);}
}
@media(max-width:767px){
  .life-hints__ghost--enter{transform:translate3d(0,10px,0);}
  @keyframes lhGhostEnter{
    0%  {opacity:0;filter:blur(20px);transform:translate3d(0,10px,0);}
    100%{opacity:1;filter:blur(0);   transform:translate3d(0,0,0);}
  }
}
@media (prefers-reduced-motion: reduce){
  .life-hints__ghost--leave.is-run{animation:lhSwapFadeOut .4s ease forwards;}
  .life-hints__ghost--enter{filter:none;transform:none;}
  .life-hints__ghost--enter.is-run{animation:lhSwapFadeIn .4s ease both;}
  @keyframes lhSwapFadeOut{from{opacity:1;}to{opacity:0;}}
  @keyframes lhSwapFadeIn{from{opacity:0;}to{opacity:1;}}
}
