/* -----------------------
  point05
----------------------- */

.point05 {
  position: relative;
  overflow: hidden;
}

.point05 .loop{
  top: min(calc(70/ 750 * 100vw), 70px);
  z-index: 2;
}

.point05 .loop > p {
  flex-shrink: 0;
  width: min(calc(1273/ 750 * 100vw), 1273px);
}

.point05::before,
.point05::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
}

.point05::before {
  background: url(../img/point05_bg_b.png) no-repeat top center/ 100%;
}

.point05.is-anim::before {
  opacity: 0;
  transition: opacity 1.4s ease 2.4s;
}

.point05::after {
  background: url(../img/point05_bg_a.png) no-repeat top center/ 100%;
  clip-path: inset(100% 0 0 0);
  opacity: 0; 
  visibility: hidden;  
}

.point05.is-anim::after {
  opacity: 1;
  visibility: visible;
}


.point05_a {
  position: absolute;
  bottom: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.point05_pic .point05_pic li {
  width: min(calc(580/ 750 * 100vw), 580px);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: -1;
}

.point05_bubble {
  position: absolute;
  width: min(calc(280/ 750 * 100vw), 280px);
  top: min(calc(35/ 750 * 100vw), 35px);
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.point05_circle li {
  width: min(calc(180/ 750 * 100vw), 180px);
}

.point05_circle li:nth-child(1) {
  position: absolute;
  top: min(calc(3/ 750 * 100vw), 3px);
  right: min(calc(40/ 750 * 100vw), 40px);
}

.point05_circle li:nth-child(2) {
  position: absolute;
  bottom: min(calc(129/ 750 * 100vw), 129px);
  right: min(calc(40/ 750 * 100vw), 40px);
}

.point05_circle li:nth-child(3) {
  position: absolute;
  top: min(calc(3/ 750 * 100vw), 3px);
  left: min(calc(40/ 750 * 100vw), 40px);
}

.point05_circle li:nth-child(4) {
  position: absolute;
  bottom: min(calc(129/ 750 * 100vw), 129px);
  left: min(calc(40/ 750 * 100vw), 40px);
}

.point05 .point_ttl img {
  display: block;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path, opacity, transform;
}

.point05 .point_num>p:first-child img {
  transform: translateX(40vw);
  opacity: 0;
}

.point05 .point05_circle li {
  opacity: 0;
}

@keyframes p05-bgWipeUp {
  0% {
    clip-path: inset(100% 0 0 0)
  }

  100% {
    clip-path: inset(0 0 0 0)
  }
}

@keyframes p05-sectionIn {
  0% {
    opacity: 0;
    transform: translateY(12px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes p05-numSlideIn {
  0% {
    transform: translateX(40vw);
    opacity: 0
  }

  100% {
    transform: translateX(0);
    opacity: 1
  }
}

@keyframes p05-ttlReveal {
  0% {
    clip-path: inset(0 0 100% 0)
  }

  100% {
    clip-path: inset(0 0 0 0)
  }
}

@keyframes p05-ttlHide {
  0% {
    opacity: 1;
    transform: translateY(0)
  }

  100% {
    opacity: 0;
    transform: translateY(-8px)
  }
}

@keyframes p05-circleIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@keyframes p05-bubbleFloat {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
  }
}

.point05.is-anim::after {
  animation: p05-bgWipeUp 0.9s cubic-bezier(.2, .8, .2, 1) 1.5s forwards;
}

.point05.is-anim .point05_a {
  animation: p05-sectionIn 0.7s ease 1.5s forwards;
  pointer-events: auto;
}

.point05.is-anim .point_num>p:first-child img {
  animation: p05-numSlideIn .8s cubic-bezier(.2, .8, .2, 1) 0s forwards;
}

.point05.is-anim .point_ttl img {
  animation: p05-ttlReveal 0.8s cubic-bezier(.2, .8, .2, 1) 0.5s forwards,
    p05-ttlHide 0.6s ease 3s forwards;
}

.point05.is-anim .point05_circle li:nth-child(1) {
  animation: p05-circleIn .5s ease 2.5s forwards;
}

.point05.is-anim .point05_circle li:nth-child(2) {
  animation: p05-circleIn .5s ease 3.1s forwards;
}

.point05.is-anim .point05_circle li:nth-child(4) {
  animation: p05-circleIn .5s ease 3.5s forwards;
}

.point05.is-anim .point05_circle li:nth-child(3) {
  animation: p05-circleIn .5s ease 4.1s forwards;
}

.point05.is-anim .point05_bubble {
  animation: p05-bubbleFloat 3.2s ease-in-out 0s infinite;
}


/* 戻るアニメーション */
@keyframes p05-resetBg {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(100% 0 0 0); }
}

.point05.is-reset::after {
  opacity: 1;
  visibility: visible;
  animation: p05-resetBg 0.6s cubic-bezier(.4,.0,.2,1) forwards;
}

.point05.is-reset .point_num>p:first-child img {
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform: translateX(40vw);
  opacity: 0;
}

.point05.is-reset .point_ttl img {
  transition: clip-path 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(12px);
}