@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  line-height: 1.5;
  letter-spacing: 0.2rem;
  font-family: "BIZ UDPGothic", sans-serif;
}

body {
  position: fixed;
  color: #fff;
  font-weight: bold;
  background: #000;
  width: 100%;
  height: 100%;
  text-size-adjust: 100%;
  overflow: hidden;
}

h1 {
  font-size: 1.5rem;
  margin: 1rem auto;
}

button {
  line-height: 1.5;
  letter-spacing: 0.2rem;
  font-family: "BIZ UDPGothic", sans-serif;
  color: #123;
  font-size: 16px;
  font-weight: bold;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 25px;
  padding: 0 1rem;
  height: 50px;
  margin: 0.5rem auto;
}

#risetto,#modoru {
  display: none;
}

main {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

#gamen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(#012, indigo);
  background-repeat: no-repeat;
}

#tatepic {
display: none;
flex-direction: row-reverse;
flex-wrap: wrap;
width: 92%;
max-width: 30rem;
margin-bottom: 1.5rem;
}

.pic {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-color: #fff;
border-style: solid;
border-width: 3px 3px 0 0;
  box-sizing: border-box;
  width: 12.5%;
  height: 60px;
}

.pic:nth-of-type(1){
  border-radius: 0 8px 0 0;
}

.pic:nth-of-type(8){
  border-width: 3px 3px 0 3px;
  border-radius: 8px 0 0 0;
}

.pic:nth-of-type(12),.pic:nth-of-type(14){
  border-width: 3px 3px 0 3px;
}

.pic:nth-of-type(n+9){
  width: 25%;
}

.pic:nth-of-type(n+13){
  width: 50%;
}

.pic:nth-of-type(15){
  width: 100%;
  border-width: 3px 3px 3px 3px;
  border-radius: 0 0 5rem 5rem;
}


.ko{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  width: 32px;
  height: 12px;
}

.tatestone1, .tatestone2 {
background: #fff;
width: 8px;
height: 8px;
border-radius: 50%;
}


.onekekka p{
  text-align: center;
  width: 90%;
  max-width: 40rem;
  margin: 0 auto;
}

.onekekka p:nth-of-type(1){
margin: 0.5rem auto;
}

.tatekekka {
  display: flex;
  justify-content: center;
}

.tatekekka #kekkatext{
  width: 90%;
  max-width: 30rem;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.tatekekka #kekkatext p{
  width: 40%;
}

.tatekekka #kekkatext p:nth-of-type(odd){
  text-align: right;
}

#text {
  display: none;
  width: 90%;
  max-width: 40rem;
  padding: 1rem;
}

#kekkatext {
  display: none;
}

.stone{
  display: none;
  margin: 0 auto;
}

.stonemoyou {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.circles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: translate(-50%,-50%);
transform-origin: 50%;
}

.tyles{
display: flex;
flex-direction: column;
}

.kekkastones{
  display: flex;
  flex-direction :row;
  justify-content: space-around;
  align-items: center;
  width: 64px;
  height: 32px;
}

.rect1, .rect2 {
background: #fff;
width: 16px;
height: 16px;
border-radius: 50%;
}

#ridatu {
  padding-top: 1rem;
  text-align: center;
}

.link {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed rgba(255,255,255,0.85);
  text-shadow: 0 0 10px 10px rgba(255,255,255,0.85);
}