@charset "UTF-8";
/* CSS Document */

#dot{
  width: 9em;
  height: 8em;
  margin: 100px auto 0;
}
#dot span{
  position: absolute;
  display: block;
  width: 1.5em;
  border-radius: 50%;
  animation: fuwafuwa 2s infinite ease-in-out .3s alternate;
  
}
#dot span::after{
  content: "";
  display: block;
  padding-top: 100%;
}

#dot span.c01{
  background: #f18c1b;
  animation: fuwafuwa 3s infinite ease-in-out .5s alternate;
  top: 0;
  left: 40%;
}
#dot span.c02{
  background: #51c1dd;
  bottom: 0;
  right: 15%;
  animation: fuwafuwa 2s infinite ease-in-out .3s alternate;
}
#dot span.c03{
  background: #e53667;
  left: 30%;
  bottom: 5px;
  width: 1.25em;
  animation: fuwafuwa 2s infinite ease-in-out .6s alternate;
}
#dot span.c04{
  background: #58469a;
  top: 60%;
  left: 10%;
  width: 1.15em;
  animation: fuwafuwa 3s infinite ease-in-out .8s alternate;
}
#dot span.c05{
  background: #3e489c;
  right: 0;
  top: 30%;
  width: 1.25em;
  animation: fuwafuwa 3s infinite ease-in-out .5s alternate;
}
#dot span.c06{
  background: #e83a39;
  left: 68%;
  top: 55%;
  width: 1.15em;
  animation: fuwafuwa 2s infinite ease-in-out .2s alternate;
}
#dot span.c07{
  background: #c5569b;
  top: 45%;
  left: 40%;
  width: 1.15em;
  animation: fuwafuwa 2s infinite ease-in-out .5s alternate;
}
#dot span.c08{
  background: #f4c81f;
  left: 0;
  top: 30%;
  width: 1.15em;
  animation: fuwafuwa 2s infinite ease-in-out .3s alternate;
}
#dot span.c09{
  background: #87c23c;
  top: 20%;
  left: 60%;
  width: 1.15em;
  animation: fuwafuwa 2s infinite ease-in-out .4s alternate;
}
#dot span.c10{
  background: #4579bd;
  top: 18%;
  left: 18%;
  width: 1em;
  animation: fuwafuwa 2s infinite ease-in-out .8s alternate;
}
 
@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}
/*==========================================================================
 effect
==========================================================================*/

[data-scroll='in'] .splitting .char{
  opacity: 1;
  color: inherit;
  transform: translateX(10px);
}

[data-scroll='out'] .char {
  opacity: 0;
  transform: translateX(0);
}

.splitting {
  --word-center: calc((var(--word-total) - 1) / 2);
  --char-center: calc((var(--char-total) - 1) / 2);
  --line-center: calc((var(--line-total) - 1) / 2);
}
.splitting .word {
  --word-percent: calc(var(--word-index) / var(--word-total));
  --line-percent: calc(var(--line-index) / var(--line-total));
}
.splitting .char {
  color: transparent;
  --char-percent: calc(var(--char-index) / var(--char-total));
  --char-offset: calc(var(--char-index) - var(--char-center));
  --distance: calc( (var(--char-offset) * var(--char-offset)) / var(--char-center) );
  --distance-sine: calc(var(--char-offset) / var(--char-center));
  --distance-percent: calc((var(--distance) / var(--char-center)));
}
.char {
  display: inline-block;
  -webkit-animation-delay: calc(.5s + var(--char-index) * .1s);
  animation-delay: calc(.5s + var(--char-index) * .1s);
  -webkit-transition: all .5s calc(.05s + var(--char-index) * .1s);
  transition: all .5s calc(.05s + var(--char-index) * .1s);
}
[data-scroll='in'] .splitting.delay .char{
  display: inline-block;
  -webkit-animation-delay: calc(.6s + var(--char-index) * .1s);
  animation-delay: calc(.6s + var(--char-index) * .1s);
  -webkit-transition: all .5s calc(.6s + var(--char-index) * .1s);
  transition: all .5s calc(.6s + var(--char-index) * .1s);
}
.splitting::after{
  content: "";
  visibility: visible;
  color: inherit;
  opacity: 0;
  transform: translateX(30%);
  transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-delay: calc(.15s + (.1s var(--char-index)))
}
.splitting .char::before, .splitting .char::after {
    content: attr(data-char);
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    transition: inherit;
    user-select: none;
}

.js-fadein{
  opacity: 0;
  transform: translateX(100px);
  -webkit-transition: all 2s cubic-bezier(.48,.01,.23,1);
  -o-transition: all 2s cubic-bezier(.48,.01,.23,1);
  transition: all 2s cubic-bezier(.48,.01,.23,1);
}
.js-fadein.js-fst{
    -webkit-transition-duration: 1.3s;
    -o-transition-duration: 1.3s;
    transition-duration: 1.3s;
}
.js-fadein.is__active{
  transform: translateX(0);
  opacity: 1;
}
.js-fadeup{
  opacity: 0;
  transform: translateY(100px);
  -webkit-transition: all 2s cubic-bezier(.48,.01,.23,1);
  -o-transition: all 2s cubic-bezier(.48,.01,.23,1);
  transition: all 2s cubic-bezier(.48,.01,.23,1);
}
@media screen and (max-width: 768px) {
  .js-fadeup{
    -webkit-transition: all 1s cubic-bezier(.48,.01,.23,1);
  -o-transition: all 1s cubic-bezier(.48,.01,.23,1);
  transition: all 1s cubic-bezier(.48,.01,.23,1);
  }
}
.js-fadeup.is__active{
  transform: translateY(0);
  opacity: 1;
}

.delay-2{
  transition-delay : .3s;
}
.delay-3{
  transition-delay : .5s;
}
@keyframes boxMove {
	0% {
		top: 0;
	}
	40% {
		top: 33px;
	}
	60% {
		top: 33px;
	}
	80% {
		top: 0;
	}
	100% {
		top: 0;
	}
}

.service-cat[data-scroll='out'] .thumb::before{
  top: 0;
  left: 0;
}
.service-cat[data-scroll='in'] .thumb::before{
  top: 8%;
  left: 8%;
}



