@charset "utf-8";

body {
  background-color: #fff;
  box-sizing: border-box;
  width: 95%;
  margin-left: 2.5%;
}

html {
  font-size: 62.5%;
}

.flex {
  display: flex;
}

h1 {
  font-size: 50px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

.center {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

p {
  font-size: 18px;
}

label {
  font-size: 18px;
  margin-bottom: 15px;
}

.jankenb {
  width: 20%;
  border:#fff;
  background-color: #fff;
}

.janken {
  width: 80%;
  height: auto;
}

.w20 {
  width: 20%;
}

.jankenr {
  padding: .9em 2em;
  margin: 10px 0;
  border-radius: 25px;
  font-size: 20px;
  border: 1px solid #2589d0;
  background-color: #fff;
  color: #2589d0;
}

.jankenr:hover{
  background-color: #2589d0;
  color: #fff;
}


/* レスポンシブ */
/*------ max-width:768px ------*/
@media screen and (max-width: 768px) {
  h1 {
    font-size: 30px;
    margin-top: 8px;
    margin-bottom: 15px;
  }

  .center {
    font-size: 13px;
    margin-bottom: 17px;
  }
  
  p {
    font-size: 13px;
  }
  
  label {
    font-size: 13px;
    margin-bottom: 15px;
  }
  
  .janken {
    width: 100%;
  }

  .c768 {
    display: contents;
  }
  
  

}
/*------ max-width:480px ------*/
@media screen and (max-width: 480px) {

  h1 {
    font-size: 20px;
    margin-top: 8px;
    margin-bottom: 15px;
  }

  .center {
    font-size: 9px;
    margin-bottom: 12px;
  }
  
  p {
    font-size: 9px;
  }
  
  label {
    font-size: 9px;
    margin-bottom: 10px;
  }
  
  .jankenb {
    width: 20%;
  }
  
  .janken {
    width: 100%;
  }
  
  .w20 {
    width: 20%;
  }
  

  .c768 {
    display: contents;
  }
  

}

