/*ランダム背景*/

.battleback{
  max-width: 1000px;
  margin-top: 200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle01.jpg");
  background-size: cover;
}

.background1{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle01.jpg");
  background-size: cover;
} 

.background2{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle02.jpg");
  background-size: cover;
} 

.background3{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle03.jpg");
  background-size: cover;
} 

.background4{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle04.jpg");
  background-size: cover;
} 

.background5{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle05.jpg");
  background-size: cover;
} 

.background6{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle01.jpg");
  background-size: cover;
}

.background7{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle06.jpg");
  background-size: cover;
}

.background8{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle07.jpg");
  background-size: cover;
}

.background9{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle08.jpg");
  background-size: cover;
}

.background10{
  margin-top: 200px;
  padding-top: 2vw;
  padding-bottom: 2vw;
  background-image:url("battleimg/battle09.jpg");
  background-size: cover;
}

/*ランダム背景ここまで*/

.battle{
  border: ridge 4px #fff;
  border-radius: 10px;
  background-color: black;
  width: 55%;
  margin: 0 auto;
}

.battlehp{
  margin-left: 1vw;
  width: 10vw;
  max-width: 105px;
  padding-left: 1rem;
}

.battlehp p{
  font-size: 2.3vw;
  line-height: 1.3;
}

.battlemember{
  display: flex;
  justify-content: center;
}

.battlemember img{
  margin-left: 1vw;
  width: 10vw;
  max-width: 105px;
  border-radius: 10px;
  margin-top: 1vw;
}

.battlehparea{
  display: flex;
  justify-content: center;
  color: white;
}

.battleimg{
  width: 30vw;
  text-align: center;
  margin: 0 auto;
}

.battleimg img{
  width: 30vw;
  max-width: 300px;
}

.battlemessage{
  color: white;
  border: ridge 4px #fff;
  border-radius: 10px;
  background-color: black;
  width: 55%;
  height: 10vw;
  max-height: 150px;
  min-height: 100px;
  margin: 0 auto;
  padding-left: 2vw;
}

/*点滅カーソル用*/

@keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}
.blinking{
  animation:blink 0.5s ease-in-out infinite alternate;
}

/*点滅カーソル用ここまで*/

/*コピペはここより下に*/



/*キラっと光る用CSS*/

/* ボタン自体のstyle */
.fixed-div{
    color: #fff;
    background: #c9171e;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
  }
  /* 光らせるための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;
    }
  }

/*キラっと光る用CSSここまで*/


.membercontents{
    overflow: hidden;
    border-radius: 10px;
    width: 110px;
    height: 110px;
    position:relative;
}

.fixed-div{
    position: absolute;
    bottom: 0;
    right: 0;
  }

.membercontents img{
    transition-duration: .3s;
    border-radius: 10px;
}

.membercontents img:hover{
    transition-duration: .3s;
    transform: scale(1.2);
}

.membertitle2{
    background-color: rgb(255, 187, 0);
    width: 70vw;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 5px;
}

.memberarea{
    width: 60%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.memberbox{
    padding-bottom: 50px;
    width: 140px;
}

.name{
    padding-left: 10px;
    color: blue;
}

.namearea{
    width:auto;
    display: flex;
}

.number{
    color: white;
    background-color: red;
    width: 22px;
    text-align: center;
}

.btn-border {
  background-color: black;
  display: inline-block;
  max-width: 300px;
  text-align: left;
  border: 2px solid #9ec34b;
  font-size: 16px;
  color: #9ec34b;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  transition: .4s;
}

.btn-border:hover {
  background-color: #9ec34b;
  border-color: #cbe585;
  color: #FFF;
}

.graduate{
  width: 70vw;
  margin: 0 auto;
  margin-bottom: 15px;
}

.container{
  margin-left: 8rem;
}

.graduateimg{
  margin-top: 200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1vw;
  padding-left: 2vw;
  border-radius: 10px;
  width: 40%;
  height: 30vw;
  background-image: url(../member/graduate.jpg);
  background-size: cover;
}

.graduateimg p{
  font-size: 20px;
  font-weight: bold;
  color: rgb(214, 25, 25);
}