@charset "utf-8";
/* ----------------------------------------------------
  順に出てくる文字
---------------------------------------------------- */
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}	

/* ----------------------------------------------------
  帯からのテキスト出現
---------------------------------------------------- */
/* 1
--------------------------- */
.animated__colorBox {
  position: relative;
  white-space: nowrap;
  width: fit-content;
  clip-path: inset(0 100% 0 0);
  color: #fff;
  background-image: linear-gradient(90deg, #22d3ee, #8b5cf6);
  font-size: 30px;
  padding:15px 30px 19px 30px;
  letter-spacing: 5px;
  text-align: center;
  margin:0 auto;
}

.animated__colorBox::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff000;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.animated__colorBox.js-show {
  animation: 0.8s forwards ease-in-out textView;
}

.animated__colorBox.js-show::after {
  animation: 0.8s forwards ease-in-out colorBox;
}

/* 2
--------------------------- */
.animated__colorBox__02 {
  position: relative;
  white-space: nowrap;
  width: fit-content;
  clip-path: inset(0 100% 0 0);
  color: #fff;
  background-color: #0846c5;
  font-size: 14px;
  padding:7px 10px;
  text-align: center;
  margin:0 auto;
}

@media print, screen and (min-width: 768px) {
.animated__colorBox__02 {
  font-size: 20px;
  padding:11px 20px 12px 20px;
  letter-spacing: 2px;  
  }
}

.animated__colorBox__02::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0846c5;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.animated__colorBox__02.js-show {
  animation: 0.8s forwards ease-in-out textView;
}

.animated__colorBox__02.js-show::after {
  animation: 0.8s forwards ease-in-out colorBox;
}

/* 3
--------------------------- */
.animated__colorBox__03 {
  position: relative;
  white-space: nowrap;
  width: fit-content;
  clip-path: inset(0 100% 0 0);
  color: #fff;
  background-image: linear-gradient(90deg, #22d3ee, #8b5cf6);
  font-size: 17px;
  line-height: 28px;
  padding:5px 20px 7px 20px;
  text-align: center;
  margin:0 auto;
}

@media print, screen and (min-width: 768px) {
.animated__colorBox__03 {
  font-size: 20px;
  padding:11px 20px 12px 20px;
  letter-spacing: 2px;  
  }
}

@media print, screen and (min-width: 992px) {
.animated__colorBox__03 {
  font-size: 24px;
  padding:11px 20px 12px 20px;
  letter-spacing: 2px;  
  }
}

.animated__colorBox__03::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff000;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.animated__colorBox__03.js-show {
  animation: 0.8s forwards ease-in-out textView;
}

.animated__colorBox__03.js-show::after {
  animation: 0.8s forwards ease-in-out colorBox;
}

/* keyframes
--------------------------- */
@keyframes textView {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes colorBox {
  0%, 50% {
    transform-origin: 0 50%;
  }
  60%, 100% {
    transform-origin: 100% 50%;
  }
  60% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}