*{
}

html{

}

body{
    font-family: "Arial", "メイリオ";
    margin:0;
}

h1{
    color: #FFF;
    font-size:20px;
}

main{
    width:100%;
    text-align: center;
    margin: 32px auto 0 auto;
}

#reversi_start{
    display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 80%;
    max-width: 260px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border-radius: 100vh;
	border-bottom: 7px solid #0686b2;
	background: #27acd9;
	color: #fff;
}


#reversi_start:hover{
    margin-top: 6px;
	border-bottom: 1px solid #0686b2;
	color: #fff;
}

#reversi_canvas{
    display: block;
    text-align: center;
    margin: 16px auto 16px auto;
}

main #reversi_textarea{
    width:80%;
    max-width: 640px;
}

#reversi_textarea{
  display: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #f4f4f4;
  margin: 10% auto;
  width: 80%;
  max-width:500px;
  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}

@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}

.modal-header h1 {
  margin: 1rem 0;
}

.modal-body img{
    width:80%;
}

.modal-header {
  background: #53BF49;
  padding: 3px 15px;
  display: flex;
  justify-content: space-between;
}

.modalClose {
  font-size: 2rem;
  margin-top: 1rem;
  color:#FFF;
}

.modalClose:hover {
  cursor: pointer;
}

.modal-body {
  padding: 10px 20px;
  color: black;
}