.mask-anime,
.mask-anime::before,
.mask-anime .mask-animeItem {
  height: auto;
  -webkit-mask: url(../imgs/index/cloud.webp) center top / 400% 400% no-repeat;
  mask: url(../imgs/index/cloud.webp) center top / 400% 400% no-repeat;

  will-change: -webkit-mask-position, mask-position, -webkit-mask-size, mask-size;
  backface-visibility: hidden;
}

.mask-anime {
  position: relative;
  z-index: 1;
  -webkit-mask-image: url(../imgs/index/dolon.webp);
  mask-image: url(../imgs/index/dolon.webp);
  transition:
    -webkit-mask-position 8s ease 0s,
    mask-position 8s ease 0s,
    -webkit-mask-size 8s ease 0s,
    mask-size 8s ease 0s;
}

.mask-anime::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-size: 400% 400%;
  mask-size: 400% 400%;
  transition:
    -webkit-mask-position 10s ease 1s,
    mask-position 10s ease 1s,
    -webkit-mask-size 10s ease 1s,
    mask-size 9s ease 1s;
}

.mask-anime .mask-animeItem {
  mix-blend-mode: lighten;
  opacity: 0.8;
  pointer-events: none;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-size: 400% 400%;
  mask-size: 400% 400%;
  transition:
    -webkit-mask-position 8s ease 2s,
    mask-position 8s ease 2s,
    -webkit-mask-size 8s ease 2s,
    mask-size 8s ease 2s;
}

/* ▼ アクティブで「下へスライド + サイズ縮小」 */
.mask-anime.active,
.mask-anime.active::before,
.mask-anime.active .mask-animeItem {
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-size: 200% 200%;
  mask-size: 200% 200%;
  transition-timing-function: cubic-bezier(.3,1,.7,1);
  transition-duration: 15s;
}










/* .mask-anime,
.mask-anime::before,
.mask-anime .mask-animeItem {
  height: auto;
  -webkit-mask: url(../imgs/index/cloud.webp) center top / 200% 200% no-repeat;
  mask: url(../imgs/index/cloud.webp) center top / 200% 200% no-repeat;
  transition: -webkit-mask-position 5s ease, mask-position 5s ease;
  will-change: -webkit-mask-position, mask-position;
  backface-visibility: hidden;
}

.mask-anime {
  position: relative;
  z-index: 1;
  -webkit-mask-image: url(../imgs/index/dolon.webp);
  mask-image: url(../imgs/index/dolon.webp);
}

.mask-anime::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-size: 200% 200%;
  mask-size: 200% 200%;
}

.mask-anime .mask-animeItem {
  mix-blend-mode: lighten;
  opacity: 0.8;
  pointer-events: none;
  -webkit-mask-position: center top;
  mask-position: center top;
}

.mask-anime.active,
.mask-anime.active::before,
.mask-anime.active .mask-animeItem {
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  transition-timing-function: cubic-bezier(.3,1,.7,1);
transition-duration: 5s; 
} */
