@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  letter-spacing: 0.2rem;
  font-family: "BIZ UDPGothic", sans-serif;
}

main {
  display: flex;
  flex-direction: column;
}

.geobutton {
  line-height: 1.5;
  letter-spacing: 0.2rem;
  font-family: "BIZ UDPGothic", sans-serif;
  color: #123;
  font-size: var(--m-fsize);
  font-weight: bold;
  background: #fff;
  border: 2px solid var(--m-color);
  border-radius: 25px;
  padding: 0 var(--pad);
  min-height: 50px;
  margin: var(--padH) auto;
}

#kiru,
#kettei,
#risetto,
#modoru {
  display: none;
}

#tatepic {
  display: none;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  width: 92%;
  max-width: 30rem;
  margin: var(--pad);
}

.pic {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-color: var(--m-color);
  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: var(--m-color);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.onekekka,
.tatekekka {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.onekekka #text,
.onekekka #kekkatext {
  width: 90%;
  max-width: 40rem;
  margin: 0 auto;
}

.onekekka #kekkatext {
  text-align: center;
}

.onekekka p:nth-of-type(1) {
  margin: var(--pad) auto;
}

.tatekekka #kekkatext {
  width: 90%;
  max-width: 30rem;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-bottom: var(--pad);
}

.tatekekka #kekkatext p {
  width: 40%;
}

.tatekekka #kekkatext p:nth-of-type(odd) {
  text-align: right;
}

#text {
  display: none;
  width: 90%;
  max-width: 40rem;
  padding: var(--pad);
}

#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: var(--m-color);
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.main {
  padding: var(--pad) 0;
}
