body {
  text-align: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #ccc;
}


@media screen and (min-width:1025px) {
  .field {
    display: flex;
    /* justify-content: space-evenly; */
    justify-content: center;
  }
  #cont_area {
    padding: 26px 15px 0px 65px;
    font-size: 14px;
  }
  .containar {
    width: 500px;
  }
  .btn {
    width: 85px;
  }
  .btn.invalid {
    width: 85px;
  }
}
@media screen and (min-width:769px) and (min-width:1024px){
  .field {
    display: flex;
    /* justify-content: space-evenly; */
    justify-content: center;
  }
  #cont_area {
    padding: 26px 15px 0px 65px;
    font-size: 14px;
  }
  .containar {
    width: 500px;
  }
  .btn {
    width: 76px;
  }
  .btn.invalid {
    width: 76px;
  }
}

@media screen and (min-width:321px) and (max-width:768px) {
  .btn {
    width: 64px;
  }
  .btn.invalid {
    width: 64px;
  }
}

@media screen and (max-width:320px) {
  .btn {
    width: 52px;
  }
  .btn.invalid {
    width: 52px;
  }
  .zawa2 {
    display: none;
  }
  .zawa5 {
    display: none;
  }
}

#cont_area {
  padding-bottom: 15px;
}

.cont {
  border: 1px solid black;
  border-radius: 4px;
  width: 210px;
  margin: auto;
}

.probability {
  border: 1px solid black;
  border-radius: 4px;
  width: 210px;
  margin: 10px auto;
}

.cont_text {
  margin: 0 auto;
  color: red;
}

.content {
  margin: 0 auto;
  border: 1px solid black;
  border-radius: 4px;
  width: 210px;
}

.fade_in {
  /* じわっと画像が表示される */
  animation: fadeIn 1.5s ease 0s 1 normal;
  -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
}

.zawa {
  -webkit-animation:blink 1s ease-in-out infinite alternate;
  -moz-animation:blink 1s ease-in-out infinite alternate;
  animation:blink 1s ease-in-out infinite alternate;
  padding-bottom: 100px;
}
.zawa2 {
  -webkit-animation:blink 0.7s ease-in-out infinite alternate;
  -moz-animation:blink 0.7s ease-in-out infinite alternate;
  animation:blink 0.7s ease-in-out infinite alternate;
}
.zawa3 {
  -webkit-animation:blink 1.2s ease-in-out infinite alternate;
  -moz-animation:blink 1.2s ease-in-out infinite alternate;
  animation:blink 1.2s ease-in-out infinite alternate;
  padding-right: 10px;
  padding-bottom: 50px;
}
.zawa4 {
  -webkit-animation:blink 0.6s ease-in-out infinite alternate;
  -moz-animation:blink 0.6s ease-in-out infinite alternate;
  animation:blink 0.6s ease-in-out infinite alternate;
  padding-bottom: 50px;
  padding-left: 10px;
}
.zawa5 {
  -webkit-animation:blink 0.9s ease-in-out infinite alternate;
  -moz-animation:blink 0.9s ease-in-out infinite alternate;
  animation:blink 0.9s ease-in-out infinite alternate;
  padding-bottom: 100px;
}
.zawa6 {
  -webkit-animation:blink 1.1s ease-in-out infinite alternate;
  -moz-animation:blink 1.1s ease-in-out infinite alternate;
  animation:blink 1.1s ease-in-out infinite alternate;
}
.result_win {
  -webkit-animation:blink 0.8s ease-in-out infinite alternate;
  -moz-animation:blink 0.8s ease-in-out infinite alternate;
  animation:blink 0.8s ease-in-out infinite alternate;
  color: red;
}
.result_lose {
  -webkit-animation:blink 0.8s ease-in-out infinite alternate;
  -moz-animation:blink 0.8s ease-in-out infinite alternate;
  animation:blink 0.8s ease-in-out infinite alternate;
  color: blue;
}
.result_draw {
  -webkit-animation:blink 0.8s ease-in-out infinite alternate;
  -moz-animation:blink 0.8s ease-in-out infinite alternate;
  animation:blink 0.8s ease-in-out infinite alternate;
}

@-webkit-keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}
@-moz-keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}
@keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}

#cp {
  max-width: 450px;
  height: 130px;
  background-color: white;
  border-radius: 4px;
  margin: 0 auto;
}

#user{
  max-width: 450px;
  height: 130px;
  background-color: white;
  border-radius: 4px;
  margin: 0 auto;
  margin-bottom: 20px;
}

#split_user{
  max-width: 450px;
  height: 130px;
  background-color: white;
  border-radius: 4px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.box {
  padding: 0 5px 30px 5px;
  margin: 0 5px;
  border-radius: 4px;
  border: 1px solid black;
  /* じわっと画像が表示される */
  animation: fadeIn 1.5s ease 0s 1 normal;
  -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
}

/* じわっと画像が表示される */
@keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
  0% {opacity: 0} /* 始め */
  100% {opacity: 1} /* 終わり */
}

/*古いブラウザ用*/
@-webkit-keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}

#box_none {
  padding: 0 17px 30px 17px;
  margin: 0 5px;
  border-radius: 4px;
  border: 1px solid black;
  background-color: black;
}

.btn {
  height: 45px;
  border-radius: 4px;
  background-color:  skyblue;
  border:1px solid skyblue;
  cursor: pointer;
  outline:none;
  user-select: none;
  box-shadow: 0 2px 0 rgb(12, 137, 195);
}

.btn:active {
  box-shadow: none;
  position: relative;
  top: 2px;
}

.reset {
  width: 90px;
  height: 30px;
  border-radius: 4px;
  background-color:  skyblue;
  border:1px solid skyblue;
  cursor: pointer;
  outline:none;
  user-select: none;
  box-shadow: 0 2px 0 rgb(12, 137, 195);
}

.reset:active {
  box-shadow: none;
  position: relative;
  top: 2px;
}

.switch {
  width: 80px;
  height: 30px;
  border-radius: 4px;
  background-color:  skyblue;
  border:1px solid skyblue;
  cursor: pointer;
  outline:none;
  user-select: none;
  box-shadow: 0 2px 0 rgb(12, 137, 195);
  margin: 10px 0;
}

.switch:active {
  box-shadow: none;
  position: relative;
  top: 2px;
}

.btn.invalid {
  height: 45px;
  border-radius: 4px;
  background-color:gray;
  border:1px solid gray;
  cursor: pointer;
  outline:none;
  user-select: none;
  box-shadow: 0 2px 0 gray;
}

.bust {
  color: #ccc;
}

.bust_position {
  margin-top: 35px;
  /* じわっと画像が表示される */
  animation: fadeIn 1.5s ease 0s 1 normal;
  -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
}

#bet_box {
  margin-top: 20px;
}

#strategy_area {
  padding: 0 15px;
}
.strategy {
  margin-top: 25px;
  width: 263px;
  height: 440px;
  border-radius: 4px;
  border: 1px solid black;
}

.split_none {
  display: none;
}