/* =========================================================
   point01
========================================================= */
.point01 {
  position: relative;
}

.point01::before,
.point01::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  z-index: 0;
}

.point01::before {
  background: url(../img/point01_bg_b.png) no-repeat top center/ 100%;
}

.point01::after {
  background: url(../img/point01_bg_a.png) no-repeat top center/ 100%;
  clip-path: inset(100% 0 0 0);
  opacity: 0; 
  visibility: hidden;  
}

.point01.is-anim::after {
  opacity: 1;
  visibility: visible;
}

.point01.is-anim::before {
  opacity: 0;
  transition: opacity 1.4s ease 2.4s;
}

.point01 .loop{
  top: min(calc(70/ 750 * 100vw), 70px);
  z-index: 2;
}

.point01 .loop > p {
  flex-shrink: 0;
  width: min(calc(1778/ 750 * 100vw), 1778px);
}

.p_seibun {
  position: absolute;
  top: 0;
}

.point01_a {
  position: absolute;
  bottom: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.point01_pic .point01_pic li {
  width: min(calc(580/ 750 * 100vw), 580px);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.point01_circle {
  display: flex;
  position: absolute;
  bottom: min(calc(80/ 750 * 100vw), 80px);
  left: 50%;
  transform: translateX(-50%);
}

.point01_circle li {
  width: min(calc(160/ 750 * 100vw), 160px);
  opacity: 0.3;
  transition: opacity .3s ease;
}

.point01_circle li:not(:last-child) {
  margin-right: min(calc(20/ 750 * 100vw), 20px);
}

/* =========================================================
   アニメーション
========================================================= */
.point_ttl img {
  display: block;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path, opacity, transform;
}

.point_num {
  position: relative;
  z-index: 3;
}

.point_num>p:first-child img {
  transform: translateX(40vw);
  opacity: 0;
}

@keyframes numSlideIn {
  0% {
    transform: translateX(40vw);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes ttlReveal {
  0% {
    clip-path: inset(0 0 100% 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes bgWipeUp {
  0% {
    clip-path: inset(100% 0 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes ttlHide {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes sectionIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes circleFlash {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

@keyframes circleFinal {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

.point01.is-anim .point_num>p:first-child img {
  animation: numSlideIn 0.8s cubic-bezier(.2, .8, .2, 1) 0s forwards;
}

.point01.is-anim .point_ttl img {
  animation:
    ttlReveal 0.8s cubic-bezier(.2, .8, .2, 1) 0.5s forwards,
    ttlHide 0.6s ease 3.0s forwards;
}

.point01.is-anim::after {
  animation: bgWipeUp 0.9s cubic-bezier(.2, .8, .2, 1) 1.5s forwards;
}

.point01.is-anim .point01_a {
  animation: sectionIn 0.7s ease 1.5s forwards;
  pointer-events: auto;
}

/* =========================================================
   pic & circle
========================================================= */

.point01 .point01_pic ul.point01_pic li {
  opacity: 0;
  transition: opacity .5s ease;
}

.point01 .point01_pic ul.point01_pic li.is-active {
  opacity: 1;
}

.point01 .point01_circle li.is-active {
  opacity: 1 !important;
}

/* 戻るアニメーション */
@keyframes p01-resetBg {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(100% 0 0 0); }
}

.point01.is-reset::after {
  opacity: 1;
  visibility: visible;
  animation: p01-resetBg 0.6s cubic-bezier(.4,.0,.2,1) forwards;
}

.point01.is-reset .point_num>p:first-child img {
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform: translateX(40vw);
  opacity: 0;
}

.point01.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);
}
