

/* ↓ 独自の記述 */

/* =======

↓ 初級編

======= */

/* =======

↓ 背景色が動く

======= */
.move .animation-bg {
  background: #ffffff;
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 50vh;
  top: 0;
  left: 0;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
.move .animation-bg.bbt {
	top: 50%;
}
.move .animation-bg.bbt2 {
	background:#cc0000;
	top: 50%;
	animation-delay: 0.3s;
	z-index: 998;
}
.move .animation-bg.bbt3 {
	background:#cc00cc;
	top: 50%;
	animation-delay: 0.6s;
	z-index: 997;
}
.move .animation-bg.ttb2 {
	background:#75bec2;
	animation-delay: 0.3s;
	z-index: 998;
}
.move .animation-bg.ttb3 {
	background:#cccc00;
	animation-delay: 0.6s;
	z-index: 997;
}
/* 上から下へ */
.ttb .animation-bg {
  animation-name: PageAnime-ttb;
}
.ttb .animation-bg.bbt,
.ttb .animation-bg.bbt2,
.ttb .animation-bg.bbt3 {
  animation-name: PageAnime-btt;
}
/* 下から上へ */
.btt .animation-bg {
  animation-name: PageAnime-btt;
}
/* 左から右へ */
.ltr .animation-bg {
  animation-name: PageAnime-ltr;
}
/* 右から左へ */
.rtl .animation-bg {
  animation-name: PageAnime-rtl;
}
/* 左上から右下へ */
.top.ltr .animation-bg {
  animation-name: PageAnime-top-ltr;
  animation-duration: 1.5s;
}
/* 右下から左上へ */
.bottom.rtl .animation-bg {
  animation-name: PageAnime-bottom-rtl;
  animation-duration: 1.5s;
}
/* 右上から左下へ */
.top.rtl .animation-bg {
  animation-name: PageAnime-top-rtl;
  animation-duration: 1.5s;
}
/* 左下から右上へ */
.bottom.ltr .animation-bg {
  animation-name: PageAnime-bottom-ltr;
  animation-duration: 1.5s;
}

/* 上から下へ キーフレーム */
@keyframes PageAnime-ttb{
  0% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  50% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: top;
  }
  100% {
    transform-origin: top;
    transform: scaleY(0);
  }
}
/* 下から上へ キーフレーム */
@keyframes PageAnime-btt{
  0% {
    transform-origin: top;
    transform: scaleY(1);
  }
  50% {
    transform-origin: top;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: bottom;
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}
/* 左から右へ キーフレーム */
@keyframes PageAnime-ltr{
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/* 右から左へ キーフレーム */
@keyframes PageAnime-rtl{
  0% {
    transform-origin: right;
    transform: scaleX(0);
  }
  50% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
/* 左上から右下へ キーフレーム */
@keyframes PageAnime-top-ltr{
  0% {
    transform-origin: top left;
		transform: scale(2,2) translateX(-300%) skewX(-45deg);
  }
  50% {
    transform-origin: top left;
		transform: scale(2,2) translateX(-17%) skewX(-45deg);
  }
  50.001% {
    transform-origin: bottom left;
		transform: scale(2,2) translateX(-17%) skewX(-45deg);
  }
  100% {
    transform-origin: bottom left;
		transform: scale(2,2) translateX(500%) skewX(-45deg);
  }
}
/* 右下から左上へ キーフレーム */
@keyframes PageAnime-bottom-rtl{
  0% {
    transform-origin: center right;
		transform: scale(2,2) translateX(300%) skewX(-45deg);
  }
  50% {
    transform-origin: center right;
		transform: scale(2,2) translateX(17%) skewX(-45deg);
  }
  50.001% {
    transform-origin: center right;
		transform: scale(2,2) translateX(17%) skewX(-45deg);
  }
  100% {
    transform-origin: center right;
		transform: scale(2,2) translateX(-500%) skewX(-45deg);
  }
}
/* 右上から左下へ キーフレーム */
@keyframes PageAnime-top-rtl{
  0% {
    transform-origin: center right;
		transform: scale(2,2) translateX(300%) skewX(45deg);
  }
  50% {
    transform-origin: center right;
		transform: scale(2,2) translateX(17%) skewX(45deg);
  }
  50.001% {
    transform-origin: center right;
		transform: scale(2,2) translateX(17%) skewX(45deg);
  }
  100% {
    transform-origin: center right;
		transform: scale(2,2) translateX(-500%) skewX(45deg);
  }
}
/* 左下から右上へ キーフレーム */
@keyframes PageAnime-bottom-ltr{
  0% {
    transform-origin: center left;
		transform: scale(2,2) translateX(-300%) skewX(45deg);
  }
  50% {
    transform-origin: center left;
		transform: scale(2,2) translateX(-17%) skewX(45deg);
  }
  50.001% {
    transform-origin: center left;
		transform: scale(2,2) translateX(-17%) skewX(45deg);
  }
  100% {
    transform-origin: center left;
		transform: scale(2,2) translateX(500%) skewX(45deg);
  }
}
@media screen and (max-width:761px) {
  /* 左上から右下へ キーフレーム */
  @keyframes PageAnime-top-ltr{
    0% {
      transform-origin: center left;
      transform: scale(5,5) translateX(-300%) skewX(-45deg);
    }
    50% {
      transform-origin: center left;
      transform: scale(5,5) translateX(-17%) skewX(-45deg);
    }
    50.001% {
      transform-origin: center left;
      transform: scale(5,5) translateX(-17%) skewX(-45deg);
    }
    100% {
      transform-origin: center left;
      transform: scale(5,5) translateX(500%) skewX(-45deg);
    }
  }
  /* 左上から右下へ キーフレーム */
  @keyframes PageAnime-bottom-rtl{
    0% {
      transform-origin: center right;
      transform: scale(5,5) translateX(300%) skewX(-45deg);
    }
    50% {
      transform-origin: center right;
      transform: scale(5,5) translateX(17%) skewX(-45deg);
    }
    50.001% {
      transform-origin: center right;
      transform: scale(5,5) translateX(17%) skewX(-45deg);
    }
    100% {
      transform-origin: center right;
      transform: scale(5,5) translateX(-500%) skewX(-45deg);
    }
  }
  /* 右上から左下へ キーフレーム */
  @keyframes PageAnime-top-rtl{
    0% {
      transform-origin: center right;
      transform: scale(5,5) translateX(300%) skewX(45deg);
    }
    50% {
      transform-origin: center right;
      transform: scale(5,5) translateX(17%) skewX(45deg);
    }
    50.001% {
      transform-origin: center right;
      transform: scale(5,5) translateX(17%) skewX(45deg);
    }
    100% {
      transform-origin: center right;
      transform: scale(5,5) translateX(-500%) skewX(45deg);
    }
  }
  /* 左下から右上へ キーフレーム */
  @keyframes PageAnime-bottom-ltr{
    0% {
      transform-origin: center left;
      transform: scale(5,5) translateX(-300%) skewX(45deg);
    }
    50% {
      transform-origin: center left;
      transform: scale(5,5) translateX(-17%) skewX(45deg);
    }
    50.001% {
      transform-origin: center left;
      transform: scale(5,5) translateX(-17%) skewX(45deg);
    }
    100% {
      transform-origin: center left;
      transform: scale(5,5) translateX(500%) skewX(45deg);
    }
  }
}


/* =======

↓ 背景色が拡大縮小

======= */
/* 中央に向かって背景色が円形で縮小 */
.circle .animation-bg {
  background: #75bec2;
  display: none;
	content: "";
	position: fixed;
	transform: scale(100);
	z-index: 999;
  top: calc(50% - 1rem);
  left: calc(50% - 1rem);
	width: 2rem;
	height: 2rem;
  display: block;
  border-radius: 50%;
  animation-name: PageAnime-circle;
  animation-duration: 0.8s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

/* 中央に向かって背景色が円形で縮小 */
@keyframes PageAnime-circle {
	0% {
		transform: scale(100);

	}
	100% {
		transform: scale(0);

	}
}

/* ひし形で背景色を抜き、拡大 */
.rhombus {
  background-color: #75bec2;
  --size: 12vh;
  clip-path: polygon(50% calc(50% - var(--size)), calc(50% + var(--size)) 50%, 50% calc(50% + var(--size)), calc(50% - var(--size)) 50%);
  min-height: 100vh;
}
.rhombus::before {
  background: #fff;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.rhombus.is-hidden {
  --size: 1000vh;
  transition: clip-path 2s .5s ease-in-out, background-color 1s .5s;
}

/* =======

↓ グラデーションがかかる

======= */
.gradation .animation-bg {
  --color01: 255,255,255;
  background: linear-gradient(180deg, rgba(var(--color01),1) 0%, rgba(var(--color01),0) 100%);
  background-size: 200% 200%;
	content: "";
	position: fixed;
	z-index: 999;
  top: 0;
  left: 0;
	width: 100%;
	height: 100vh;
  animation-name: PageAnime-gradation;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  pointer-events: none;
}

@keyframes PageAnime-gradation {
	0% {
    background-position: 100% 0;
	}
	100% {
    background-position: 100% 100%;
	}
}


/* =======

↓ フェードイン・フェードアウト

======= */
.fade .animation-bg {
  background: #75bec2;
	content: "";
	position: fixed;
	z-index: 999;
  top: 0;
  left: 0;
	width: 100%;
	height: 100vh;
  animation-name: PageAnime-fade;
  animation-duration: 0.3s;
  animation-delay: 0.8s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  pointer-events: none;
}

@keyframes PageAnime-fade {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
    display: none;
	}
}


/* =======

↓ 中級編

======= */


/* =======

↓ カーテンのような

======= */
.curtain .animation-bg, .curtain .animation-bg02 {
  display: none;
}
body.appear.curtain .animation-bg, body.appear.curtain .animation-bg02 {
  display: block;
}
.curtain .animation-bg, .curtain .animation-bg02 {
  background:  #ff97bd;
	content: "";
  position: fixed;
	z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  transform: scaleX(1);
	animation-duration: 1.2s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}
.curtain .animation-bg {
  left: 50%;
  animation-name: PageAnime-curtain01;
}
.curtain .animation-bg02 {
	right: 50%;
  animation-name: PageAnime-curtain02;
}

/* カーテン左 キーフレーム */
@keyframes PageAnime-curtain01{
	0% {
		transform-origin: left;
		transform: scaleX(1);
	}
	50% {
		transform-origin: right;
	}
	100% {
		transform-origin: right;
		transform: scaleX(0);
	}
}
/* カーテン右 キーフレーム */
@keyframes PageAnime-curtain02{
	0% {
		transform-origin: right;
		transform: scaleX(1);
	}

	50% {
		transform-origin: left;
	}
	100% {
		transform-origin: left;
		transform: scaleX(0);
	}
}


/* =======

↓ 順番に閉じる

======= */
.move-order .animation-bg .animation-bg-element {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(100% / 10);
  z-index: 999;
  animation-name: PageAnime-move-order;
	animation-duration: 0.5s;
  animation-delay: 0.1s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;

}
.move-order .animation-bg .animation-bg-element:nth-child(2) {
  left: 10%;
  animation-delay: 0.2s;
}
.move-order .animation-bg .animation-bg-element:nth-child(3) {
  left: 20%;
  animation-delay: 0.3s;
}
.move-order .animation-bg .animation-bg-element:nth-child(4) {
  left: 30%;
  animation-delay: 0.4s;
}
.move-order .animation-bg .animation-bg-element:nth-child(5) {
  left: 40%;
  animation-delay: 0.5s;
}
.move-order .animation-bg .animation-bg-element:nth-child(6) {
  left: 50%;
  animation-delay: 0.6s;
}
.move-order .animation-bg .animation-bg-element:nth-child(7) {
  left: 60%;
  animation-delay: 0.7s;
}
.move-order .animation-bg .animation-bg-element:nth-child(8) {
  left: 70%;
  animation-delay: 0.8s;
}
.move-order .animation-bg .animation-bg-element:nth-child(9) {
  left: 80%;
  animation-delay: 0.9s;
}
.move-order .animation-bg .animation-bg-element:nth-child(10) {
  left: 90%;
  animation-delay: 1s;
}
.move-order .animation-bg .animation-bg-element::before {
  background: #ff97bd;
  box-shadow: 0 0 0 1px #ff97bd;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 順番に閉じる キーフレーム */
@keyframes PageAnime-move-order {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(100%);
	}
}


/* =======

↓ 四隅から色を表示する

======= */

.four-color .animation-bg .animation-bg-element {
  position: fixed;
  top: 0;
  left: 0;
  height: calc(100% / 2);
  width: calc(100% / 2);
  z-index: 999;
  animation-name: PageAnime-four-color-ttb;
	animation-duration: 0.6s;
  animation-delay: 1s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}
.four-color .animation-bg .animation-bg-element:nth-child(2) {
  left: inherit;
  right: 0;
  animation-name: PageAnime-four-color-rtl;
}
.four-color .animation-bg .animation-bg-element:nth-child(3) {
  top: inherit;
  bottom: 0;
  animation-name: PageAnime-four-color-ltr;
}
.four-color .animation-bg .animation-bg-element:nth-child(4) {
  top: inherit;
  left: inherit;
  right: 0;
  bottom: 0;
  animation-name: PageAnime-four-color-btt
}
.four-color .animation-bg .animation-bg-element::before {
  background: #ff97bd;
  box-shadow: 0 0 0 1px #ff97bd;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 四隅から色を表示する-上から下 キーフレーム */
@keyframes PageAnime-four-color-ttb {
	0% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}
/* 四隅から色を表示する-左から右 キーフレーム */
@keyframes PageAnime-four-color-ltr {
	0% {
    transform-origin: right;
    transform: scaleX(1);
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/* 四隅から色を表示する-下から上 キーフレーム */
@keyframes PageAnime-four-color-btt {
	0% {
    transform-origin: top;
    transform: scaleY(1);
  }
  100% {
    transform-origin: top;
    transform: scaleY(0);
  }
}
/* 四隅から色を表示する-右から左 キーフレーム */
@keyframes PageAnime-four-color-rtl {
	0% {
    transform-origin: left;
    transform: scaleX(1);
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}

/* =======

↓ サイト特有のモチーフ

======= */

.motif .animation-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  z-index: 2;
}
.motif .animation-bg svg {
  width: 100vw;
  height: 100%;
}

/* =======

↓ Lottieを使って特殊型

======= */
.special .animation-bg {
  background: #77ebda;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
#special svg {
  overflow: hidden;
}


/* =======

↓ ページ遷移前

======= */
.before.is-active .animation-bg {
  background: #75bec2;
  display: none;
	content: "";
	position: fixed;
	transform: scale(100);
	z-index: 999;
  top: calc(50% - 1rem);
  left: calc(50% - 1rem);
	width: 2rem;
	height: 2rem;
  display: block;
  border-radius: 50%;
  animation-name: PageAnime-before;
  animation-duration: 0.8s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes PageAnime-before {
	0% {
		transform: scale(0);

	}
	100% {
		transform: scale(100);
    display: block;
	}
}

.c-page-intro__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    overflow: hidden;
    padding: 0 44px;
    width: 100%;
    display: flex;
    justify-content: center;
	background: #000;
}

.c-page-intro__animate {
    animation-play-state: paused,paused;
    animation-fill-mode: forwards,forwards;
}
.c-page-intro__content {
    animation: .25s linear 1.875s 1 normal forwards paused pageIntroFadeOut;
	display: none;
}
@keyframes pageIntroFadeOut {
	0% {opacity: 1;}
	100%{opacity: 0; display: none;}
}