@charset "UTF-8";

/* .wrap 基本スタイル */
.wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

/* 基本 縦アニメーション（事業紹介エリアなど） */
.wrap::before {
  content: '';
  background: #00324D;
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(0);
  transition: transform 0.3s linear;
  transition-delay: var(--delay);
}
/* flow 横アニメーション */
.flow .wrap::before {
  content: '';
  background: #fff;
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateX(0);
  transition: transform 0.3s linear;
  transition-delay: var(--delay);
}
/* facilities-about 横アニメーション */
.facilities-about .wrap::before {
  content: '';
  background: #fff;
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateX(0);
  transition: transform 0.3s linear;
  transition-delay: var(--delay);
}
/* special-style-002 横アニメーション */
.special-style-002 .wrap::before {
  content: '';
  background: #1A3E76;
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateX(0);
  transition: transform 0.3s linear;
  transition-delay: var(--delay);
}
/* case-listのみ 下→上アニメーション */
.case-list .wrap::before {
  content: '';
  background: #fff;
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(0);
  transition: transform 0.3s linear;
  transition-delay: var(--delay);
}
/* case-listのみ 下→上アニメーション */
.original .wrap::before {
  content: '';
  background: #fff;
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(0);
  transition: transform 0.3s linear;
  transition-delay: var(--delay);
}

/* 入ってくる方向 */
.wrap.active::before {
  transform: translateY(-100%);
}
.special-style-002 .wrap.active::before {
  transform: translateX(100%);
}
.case-list .wrap.active::before {
  transform: translateY(-100%);
}
.flow .wrap.active::before {
  transform: translateX(100%);
}
.original .active::before  {
  transform: translateX(100%);
}

/* 左から右 テキストアニメーション共通 */
.text-item-001, .text-item-002 {
  width: fit-content;
  overflow: hidden;
  transform: translateX(-100%);
}
.text-item-001 > span, .text-item-002 > span {
  display: block;
  transform: translateX(100%);
}

/* アクティブ時の動き */
.is-active .text-item-001,
.is-active .text-item-002 {
  transform: translateX(0);
  transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
}
.is-active .text-item-001 > span,
.is-active .text-item-002 > span {
  transform: translateX(0);
  transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
}

/* 順番ディレイ */
.is-active .text-item-001:nth-child(1),
.is-active .text-item-001:nth-child(1) > span {
  transition-delay: 0s;
}
.is-active .text-item-001:nth-child(2),
.is-active .text-item-001:nth-child(2) > span {
  transition-delay: 0.13s;
}
.is-active .text-item-002:nth-child(1),
.is-active .text-item-002:nth-child(1) > span {
  transition-delay: 0.2s;
}
.is-active .text-item-002:nth-child(2),
.is-active .text-item-002:nth-child(2) > span {
  transition-delay: 0.33s;
}

/* fadeUp アニメーション */
.fadeUp {
  opacity: 0;
}
.fadeUp.active {
  animation: fadeUpAnime 0.7s forwards;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* index事業紹介 */
.service-style-002-01 li:nth-child(1) {
  animation-delay: 0s;
}
.service-style-002-01 li:nth-child(2) {
  animation-delay: 0.2s;
}
.service-style-002-01 li:nth-child(3) {
  animation-delay: 0.4s;
}
/* 制作スケジュール */
.flow li:nth-child(1) figure.fadeUp {
  animation-delay: 0s;
}
.flow li:nth-child(3) figure.fadeUp {
  animation-delay: 0.2s;
}
.flow li:nth-child(5) figure.fadeUp {
  animation-delay: 0.4s;
}
.flow li:nth-child(7) figure.fadeUp {
  animation-delay: 0.6s;
}
/* index制作事例 */
/* 遅延指定 */
.service-style-004-list.fadeUp:nth-child(1) {
  animation-delay: 0s;
}
.service-style-004-list.fadeUp:nth-child(2) {
  animation-delay: 0.2s;
}
.service-style-004-list.fadeUp:nth-child(3) {
  animation-delay: 0.4s;
}
.service-style-004-list.fadeUp:nth-child(4) {
  animation-delay: 0.6s;
}
.service-style-004-list.fadeUp:nth-child(5) {
  animation-delay: 0.8s;
}

@media screen and (max-width: 768px) {
  .service-style-004-list-img .wrap {
    --delay: 0s !important;
  }
}

/* ear-pad.html *//* ear-pad.html *//* ear-pad.html */
/* ear-pad.html *//* ear-pad.html *//* ear-pad.html */
.ear-pad-top-vew-sub-001.fadeUp {
  animation-delay: 0.2s;
}
.ear-pad-top-vew-sub-002.fadeUp {
  animation-delay: 0.4s;
}
.ear-pad-top-vew-img img.fadeUp {
  animation-delay: 0.6s;
}

.ear-pad-abou-list001 li:nth-child(1) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0s;
}
.ear-pad-abou-list001 li:nth-child(2) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0.2s;
}
.ear-pad-abou-list002 li:nth-child(1) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0.4s;
}
.ear-pad-abou-list002 li:nth-child(2) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0.6s;
}
.ear-pad-abou-list002 li:nth-child(3) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0.8s;
}

.ear-pad-list li:nth-child(1).fadeUp {
  animation-delay: 0s;
}
.ear-pad-list li:nth-child(2).fadeUp {
  animation-delay: 0.2s;
}
.ear-pad-list li:nth-child(3).fadeUp {
  animation-delay: 0.4s;
}
.ear-pad-list li:nth-child(4).fadeUp {
  animation-delay: 0.6s;
}

@media screen and (max-width: 768px) {
.ear-pad-top-vew-sub-001.fadeUp {
  animation-delay: 0s;
}
.ear-pad-top-vew-sub-002.fadeUp {
  animation-delay: 0s;
}
.ear-pad-top-vew-img img.fadeUp {
  animation-delay: 0s;
}

.ear-pad-abou-list001 li:nth-child(1) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0s;
}
.ear-pad-abou-list001 li:nth-child(2) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0s;
}
.ear-pad-abou-list002 li:nth-child(1) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0s;
}
.ear-pad-abou-list002 li:nth-child(2) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0s;
}
.ear-pad-abou-list002 li:nth-child(3) .ear-pad-abou-list-img.fadeUp {
  animation-delay: 0s;
}

.ear-pad-list li:nth-child(1).fadeUp {
  animation-delay: 0s;
}
.ear-pad-list li:nth-child(2).fadeUp {
  animation-delay: 0s;
}
.ear-pad-list li:nth-child(3).fadeUp {
  animation-delay: 0s;
}
.ear-pad-list li:nth-child(4).fadeUp {
  animation-delay: 0s;
}

}