/* home page */

.textani{ position:absolute; bottom:0%; width: 100%;  height: 45px; overflow: hidden; background-color: #3f4e85; }
.ani{ font-size:24px; font-weight: normal; line-height: 45px; color:#FFF; animation: flowing 30s linear infinite; }

  @keyframes flowing {
    100% { transform: translateX(100%); }
  }

  .comname { font-size: 22px; color: #ffffff; padding-bottom: 10px;}
  h2.scrt { width: fit-content; margin:50px auto;  padding-bottom: 1em;
  border-bottom: solid 6px rgba(255, 255, 255, 0.125); }


  /* 画像スコール 

.sp_scoll__item { margin-top: 150px; margin-bottom: 0px; }

@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
    to {
    transform: translateX(0%);
  }
  }
  */
  .sp_scoll__wrap { display: flex; overflow: hidden; }
  .sp_scoll__list { display: flex; list-style: none; padding: 0 }
  .sp_scoll__list--right { animation: infinity-scroll-right 80s infinite linear 0.8s both; }
  .sp_scoll__item { width: calc(100vw / 4); }
  .sp_scoll__item>img { width: 90%; }

  .sp_scoll { background-color: #2e3141; padding-top: 30px;}

/* 画像スコール */
/*.scroll-infinity__item {   }*/

@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
    to {
    transform: translateX(0%);
  }
  }
  .scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
  }
  .scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
  }
  .scroll-infinity__list--right {
    animation: infinity-scroll-right 80s infinite linear 0.8s both;
  }
  .scroll-infinity__item {
    width: calc(100vw / 4);
  }
  .scroll-infinity__item>video {
    width: 90%;
  }


/* SLIDER */
*{box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;

}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 5px;
  width: 5px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 4s;
}


/* Greeting */

.content p { text-align: justify; font-size: 14px; font-weight: normal;}
.features p { font-size: 14px; font-weight: normal; }

.sign { color: #f2eeee; font-size: 20px; width: fit-content; padding-top: 1em;
  border-top: solid 4px rgba(255, 255, 255, 0.755); margin-bottom: 50px; }

.mdphoto { width:fit-content; height: 200px; float: right; margin-left: 15px;  }
.mdphoto img {border-radius: 15px;}


/* training pge*/
.flowch img { width:100%; height: auto; margin:  30px auto; }


/*mon edit */

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

@media screen and (max-width: 980px) {
  .textani{ height: 35px; }
  .ani{ font-size:18px; line-height: 35px; }

  .wrapper.style3 {
   padding-bottom: 50px;
  }

}

@media screen and (max-width: 736px) {

  .mdphoto { float:none; align-self: center; margin: 15px auto;}
  .sign { font-size: 18px;}

  .comname { font-size: 18px; }


  .textani{ height: 22px;}
  .ani{ font-size:10px; line-height: 22px; }

  .content p { font-size: 12px; }

}