@charset "UTF-8";

body {
    color: #2c2c2c;
    background-color: #ffffff;
    font-size:15px;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .wrap{
    display: block;
    max-width: 800px;
    margin:0px auto;
    padding:5px;
    background-color: #fff;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 20%);
  }


  h1 {
    font-size: 36px;
    line-height: 60px;
    background: #ffffff;
    box-shadow: 0px 0px 0px 5px #ff00c8;
    border: solid 2px white;
    padding: 0.2em 0.5em;
    text-align: center;
    margin:0;
  }


  p{    
    margin: 10px auto;
    width: 90%;
    letter-spacing: 0.04em;
    font-size: 17px;
    line-height: 38px;
  }

  
  img {
    width: 75%;
    padding: 5px;
  }

  .max{
    width: 100%;
  }

  .sub {
    width: 50%;
  }

  
  .center {
    text-align: center;
    margin: 15px auto;
  }

  .right {
    text-align: right;
  }

  .small{
    font-size: 14px;
  }


  .line {
    text-decoration: underline;
    color: rgb(17, 21, 255);
  }
  

  .big {
    font-size: 22px;
    font-weight: bold;
    color: #0099ff;
  }


  .big2 {
    font-size: 21px;
    font-weight: bold;
    color: #ff1261;
  }

  .big3 {
  font-size: 17px;
  font-weight: bold;
  color: #ff0000;
  }

  .big4 {
    font-size: 48px;
    font-weight: bold;
    color: #ff00ea;
    }



  .bg{
    background-color: #ffee00;
    font-weight: bold;
    color: red;
    font-size: 33px;
}


ul{
  margin: 20px 50px;
  
  }
  
  ul, ol {
    background: #ffffff;/*灰色に*/
    border-radius :8px;
    box-shadow :0px 0px 5px rgb(139, 139, 139);
    padding: 0.5em 0.5em 0.em 2em;
    margin: 20px　0px;
  }
  ul li, ol li {
    line-height: 1.5;
    padding: 0.5em 0;
    text-align: left;
  }

  
  .ribbon8 {
    position: relative;
    padding: 0px 20px;
    font-size: 2rem;/*フォントサイズ*/
    color: #FFF;/*フォントカラー*/
    background: #ff0000;/*背景色*/
  }

  .videobox{width:80%;
    margin: 0 auto;
    display: block;}



 /* スマホ */
@media screen and ( max-width:799px ){

  p{    
      margin: 10px auto;
      width: 98%;
      letter-spacing: 0.04em;
      font-size: 15px;
      line-height: 38px;
    }

    h1 {
      font-size: 5vw;
      line-height: 50px;
      background: #ffffff;
      box-shadow: 0px 0px 0px 5px #ff00ea;
      border: solid 2px white;
      padding: 0.2em 0.5em;
      text-align: center;
      margin:0;
    }

    .bg{
      background-color: #ffee00;
      font-weight: bold;
      color: red;
      font-size: 30px;
  }


  ul{
    margin: 5px;
    
    }
    
    ul, ol {
      background: #ffffff;/*灰色に*/
      border-radius :8px;
      box-shadow :0px 0px 5px rgb(148, 148, 148);
      padding: 0.5em 0.5em 0.em 2em;
      margin: 20px　0px;
    }
    ul li, ol li {
      line-height: 1.5;
      padding: 0.5em 0;
      text-align: left;
    }

    .ribbon8 {
      position: relative;
      padding: 10px 20px;
      font-size: 1.5rem;/*フォントサイズ*/
      color: #FFF;/*フォントカラー*/
      background: #ff0000;/*背景色*/
    }


}



 /* PC */
  @media screen and ( min-width:799px ){

    .sp {
      display: none;
      }
  

  }


  /* アニメーション前のスタイル */
.js-marker {
  display: inline;
  position: relative;
  background-image: linear-gradient(90deg, #ffff00, #ffff3e); /* 単色の場合は同じ色、グラデーションさせる場合は別々の色 */
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 0 40%; /* '30%'の部分にマーカーの太さを記入 */
  transition: all 1s ease-in-out; /* マーカーを引く速度を調整 */
  font-weight: bold; /* ついでに太字にしたい場合 */
}

/* アニメーション発火時 */
.js-marker.inview {
  background-size: 100% 40%; /* '30%'の部分は上で設定した太さに合わせる */
}

/* 震える */
.buruburu {
  display: inline-block;
  animation: hurueru .3s  infinite;
}

@keyframes hurueru {
  0% {transform: translate(0px, 0px) rotateZ(0deg)}
  25% {transform: translate(2px, 2px) rotateZ(1deg)}
  50% {transform: translate(0px, 2px) rotateZ(0deg)}
  75% {transform: translate(2px, 0px) rotateZ(-1deg)}
  100% {transform: translate(0px, 0px) rotateZ(0deg)}
}


/* 光らせるためのstyle */
.shine{
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
/* 光の疑似要素 */
.shine::before{
  content: "";
  animation: shine 3s cubic-bezier(0.25, 0, 0.25, 1) infinite;
  background-color: #fff;
  width: 140%;
  height: 100%;
  transform: skewX(-45deg);
  top: 0;
  left: -160%;
  opacity: 0.5;
  position: absolute;
}
/* 光の動き */
@keyframes shine{
  0% {
    left: -160%;
    opacity: 0;
  }
  70% {
    left: -160%;
    opacity: 0.5;
  }
  71% {
    left: -160%;
    opacity: 1;
  }
  100% {
    left: -20%;
    opacity: 0;
  }
}
