@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*スクロールスパイで利用*/
a.p-toc__link.active, a.p-toc__link:hover {
color:white;
background-color:black;
font-weight:bold;
}

/* MOVE FADE */
.slideview {
  opacity: 0;
}

.slideview.on {
  opacity: 1;
}

.LL-MOVE.on {
  animation: slideInL forwards 2s;
}
.RR-MOVE.on {
  animation: slideInR forwards 2s;
}

.UU-MOVE.on {
  animation: slideInU forwards 2s;
}

.DD-MOVE.on {
  animation: slideInD forwards 2s;
}

.MFADE.on {
  animation: fade forwards 4s;
}

.ofade {
  animation: fade forwards 1s;
}



.FLAT-MOVE {
transform-origin: center bottom;
transform: rotateX(-90deg);
}

.FLAT-MOVE.on {
transition: all 1s ease-in-out;
transform: rotateX(0deg);
}

.FLAT-TOP-MOVE {
 transform-origin: center top;
 transform: rotateX(-90deg);
}

.FLAT-TOP-MOVE.on {
  transition: all 3s ease-in-out;
  transform: rotateX(0deg);
}

.FF-MOVE.on {
  transition: all 1s ease-in-out;
  transform: rotate(360deg);
}


@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.tsL {
  animation: slideInL forwards 0.5s;
}

@keyframes slideInL {
  0% {
    opacity: 0;
    transform: translateX(-140px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.tsR {
  animation: slideInR forwards 0.5s;
}

.tsRR {
  animation: slideInR forwards 2s;
}

@keyframes slideInR {
  0% {
    opacity: 0;
    transform: translateX(140px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.tsU {
  animation: slideInU forwards 0.5s;
}

@keyframes slideInU {
  0% {
    opacity: 0;
    transform: translateY(-140px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.tsD {
  animation: slideInD forwards 0.5s;
}

@keyframes slideInD {
  0% {
    opacity: 0;
    transform: translateY(140px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.INBK {
  display: inline-block;
}

.border {
  position: relative;
}

.borderl {
  position: relative;
}

.borderl.on {
  /* 追加のスタイルプロパティ */
}

.borderl.on:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  border-bottom: solid 2px #0f6aaa;
  animation: border_anim 2s linear forwards;
}

.border.on:before {
  opacity: 1;
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  border-bottom: solid 2px #0f6aaa;
  transform: translateX(-50%);
  animation: border_anim 2s linear forwards;
}

@keyframes border_anim {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
