@charset "UTF-8";
#piano ul {
  width: 100%;
  margin: 0 auto;
  padding: 0 0;
  position: relative;
  text-align: center;
}

#piano {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  text-align: center;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  height: 320px; /* 鍵盤の高さを固定して縦スクロールを防ぐ */
}

#piano li {
  display: inline-block;
  border: 1px solid black;
  height: 80px;
  font-size: 16px;
}
#piano li:active {
  transform: translate(0, 0.25rem);
  background-color: lightsalmon;
  transform: translate(0vw, 0.5rem);
}

.whitekey {
  background: white;
}
.whitekey:hover {
  background-color: #ddd;
}

.blackkey {
  background: black;
  position: absolute;
  z-index: 10;
  margin: 0px 0 0px -20px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
}
.blackkey:hover {
  background-color: #555;
}

.bgPink {
  background-color: lightsalmon;
  transform: translate(0, 0.25rem);
  transform: translate(0vw, 0.5rem);
}

/* 全体の装飾 */
h2,
h3 {
  margin-top: 10px;
  text-align: center;
}

main {
  width: 98%;
  height: auto;
  z-index: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

footer {
  position: fixed;
  bottom: 5px;
  right: 100px;
  height: 30px;
}

select {
  width: 150px;
  height: 50px;
  font-size: 20px;
  margin: 10px;
  cursor: pointer;
}

li {
  cursor: pointer;
}
li:hover {
  color: red;
}

#masu_type,
#color_val {
  width: 100px;
  height: 30px;
  font-size: 16px;
  margin: 10px;
}

img,
#myimg {
  width: 100px;
  height: 100px;
}

.title {
  text-align: center;
}

.btn {
  margin: 2px;
  border: #333 solid 1px;
  cursor: pointer;
}

button {
  display: flex;
  flex-direction: row;
}

.btn-eng {
  font-size: 16px;
  margin: 4px;
  border: #333 solid 1px;
  min-width: 240px;
}

.btn-words {
  font-size: 16px;
  margin: 4px;
  border: #333 solid 1px;
  min-width: 140px;
}

#kuku_hyou td {
  background-color: #fff;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
}
#kuku_hyou td div {
  width: 40px;
  height: 40px;
  background-color: #ff6c94;
  border-radius: 50px;
}

#array_shiki {
  display: flex;
  height: 80px;
  margin-left: 20px;
}
#array_shiki div {
  text-align: center;
  vertical-align: text-top;
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 50px;
}
#array_shiki #input1,
#array_shiki #input2,
#array_shiki #val {
  cursor: pointer;
  border: #333 1px solid;
}

/* 数図ブロック */
#UP td,
#DOWN td {
  width: 5vw;
  height: 5vw;
  border: 1px solid black;
  background-color: azure;
}

#UP div,
#DOWN div {
  border-radius: 50%;
  width: 4vw;
  height: 4vw;
  margin: auto;
  cursor: pointer;
}

/* けんばんハーモニカ・リコーダーの装飾 */
.field {
  position: relative;
  margin-left: 10px;
}

.Kenhamo {
  position: relative;
  top: 20px;
  margin-left: calc((100% - 960px) / 2);
}

.reco_Kenhamo {
  position: relative;
  top: 50px;
  margin-left: 20px;
}

.B_Kenban {
  position: absolute;
  display: flex;
  left: 28px;
  z-index: 3;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.reco_B_Kenban {
  position: absolute;
  display: flex;
  left: 22px;
  z-index: 3;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.W_Kenban {
  position: absolute;
  display: flex;
  z-index: 2;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.black {
  width: 58px;
  height: 220px;
  margin-top: 22px;
  padding-top: 30px;
  margin-right: 2px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  border: 1px black solid;
  background-color: black;
  color: white;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.white {
  width: 58px;
  height: 420px;
  margin-top: 22px;
  margin-right: 2px;
  padding-top: 240px;
  padding-left: 0;
  padding-right: 0;
  font-size: 20px;
  text-align: center;
  color: black;
  border: 1px black solid;
  background-color: white;
  z-index: 2;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.hamo1 {
  width: 80px;
}

.mokkin_black {
  width: 58px;
  height: 220px;
  padding-top: 30px;
  margin-right: 2px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  border: 1px black solid;
  background-color: #691c0d;
  color: white;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.reco_black {
  width: 49px;
  background-color: black;
  color: white;
}

.reco_white {
  width: 48px;
}

.mokkin_white {
  width: 58px;
  height: 220px;
  margin-top: 222px;
  margin-right: 2px;
  padding-top: 20px;
  font-size: 30px;
  text-align: center;
  color: white;
  border: 1px black solid;
  background-color: #691c0d;
  z-index: 2;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.btn:hover,
.black:hover,
.moji:hover {
  transform: translate(0, 0.25rem);
  background-color: lightsalmon;
}

.btn:active,
.black:active,
.moji:active {
  transform: translate(0vw, 0.5rem);
}

.none {
  width: 50px;
  height: 150px;
  font-size: 20px;
  margin: 0 5px 0 5px;
  opacity: 0;
}

.reco_none {
  width: 39px;
  margin: 0 5px 0 5px;
  opacity: 0;
}

td div {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin: auto;
  border: #333 solid 2px;
  background-color: white;
}

td,
.h1 {
  width: 50px;
  height: 50px;
  border: black 1px solid;
  border-collapse: collapse;
  background-color: burlywood;
}

.hole {
  width: 50px;
  height: 40px;
  display: flex;
  background-color: burlywood;
  border: none;
}

.h0 {
  background-color: #f6f0cc;
  opacity: 0;
  border: none;
}

.h2 {
  background-color: navajowhite;
}

/* 九九のれんしゅうの装飾 */
#yomi {
  width: 300px;
  height: 40px;
  font-size: 16px;
  text-align: center;
  align-items: center;
  background-color: navajowhite;
  letter-spacing: 0.5rem;
}

#yomi_kotae {
  width: 200px;
  height: 40px;
  font-size: 16px;
  text-align: center;
  align-items: center;
  background-color: navajowhite;
  letter-spacing: 0.2rem;
}

#shiki {
  width: 300px;
  height: 90px;
  font-size: 80px;
  line-height: 80px;
  text-align: center;
  background-color: navajowhite;
  letter-spacing: 0.5rem;
}

#shiki_kotae {
  width: 200px;
  height: 90px;
  font-size: 80px;
  line-height: 80px;
  text-align: center;
  background-color: navajowhite;
  letter-spacing: 0.5rem;
}

/* 九九のれんしゅうの装飾 */
.YOMI,
.SHIKI {
  display: flex;
}

.next {
  margin-left: 500px;
}

/* 都道府県の装飾 */
aside {
  margin-left: 3vw;
  z-index: 5;
}

.answer {
  position: relative;
}

/* 日本地図 */
section img {
  z-index: 1;
  width: 60vw;
  height: 60vw;
}

#kyotoshi {
  width: 50vw;
  height: 50vw;
}

.answer p {
  position: absolute;
  color: darkgray;
  font-size: 3vw;
}

#text {
  position: fixed;
  width: 90vw;
  height: 50vw;
  line-height: 20vw;
  flex-wrap: wrap;
  font-size: 20vw;
  color: orangered;
}

aside .droppable-elem,
.draggable-elem {
  width: 7.8vw;
  height: 2.8vw;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
  line-height: 12px;
  font-size: 1vw;
  flex-wrap: wrap;
  color: black;
  border: solid black;
  border-radius: 0;
  background-color: antiquewhite;
}

.draggable-elem {
  z-index: 10;
  cursor: pointer;
}

article section {
  position: absolute;
  width: 8vw;
  height: 3vw;
  border: solid black;
  line-height: 0;
  color: white;
  font-size: 1.2vw;
  flex-wrap: wrap;
}

.droppable-elem {
  width: 8vw;
  height: 3vw;
}

#text {
  position: fixed;
  width: 90vw;
  height: 50vw;
  line-height: 20vw;
  flex-wrap: wrap;
  font-size: 20vw;
  color: orangered;
}

.ken-drag {
  z-index: 4;
}

.maru {
  position: absolute;
  color: darkgray;
  font-size: 3vw;
  z-index: 10;
}

/* カタカナの練習 */
#text_box {
  width: 800px;
  height: 60px;
  line-height: 60px;
  margin-bottom: 10px;
  font-size: 30px;
  text-align: center;
  background-color: navajowhite;
}

.masu {
  width: 60px;
  height: 60px;
}

.moji {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 40px;
  text-align: center;
  border-radius: 10%;
  cursor: pointer;
}

/* 九九の表の装飾 */
.hyou {
  font-size: 30px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border: 2px solid black;
  background-color: white;
  font-weight: 600;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.fusi {
  width: 50px;
  height: 100px;
  border: none;
  background-color: white;
}

.onpu {
  width: 50px;
  height: 100px;
}

.o2buo {
  width: 200px;
  height: 100px;
}

.o4buo,
.o4kyu {
  width: 100px;
  height: 100px;
}

.of4bo {
  width: 150px;
  height: 100px;
}

.o8buo {
  width: 50px;
  height: 100px;
}

/* 数え棒 */
#pallet {
  display: flex;
}

#pallet div {
  height: 170px;
  padding: 5px;
  border: #333 1px solid;
}

#pallet0,
#palletHyaku {
  width: 410px;
  background-color: pink;
}

#pallet1,
#palletJuu {
  width: 310px;
  background-color: lightyellow;
}

#pallet2,
#palletIchi {
  width: 210px;
  background-color: lightblue;
}

#palletHyaku,
#palletJuu,
#palletIchi {
  width: 30vw;
}
#palletHyaku div,
#palletJuu div,
#palletIchi div {
  display: flex;
  flex-wrap: wrap;
}

#box {
  width: 140px;
  height: 85px;
  background-color: lightgreen;
  border: #333 1px solid;
}

#okaneBox {
  width: 320px;
  height: 85px;
  background-color: lightgreen;
  border: #333 1px solid;
}

#box .draggable-elem,
#okaneBox .draggable-elem,
#pallet .draggable-elem {
  border: none;
  background-color: transparent;
}

/* たし算の筆算 */
#field {
  z-index: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

#num_pallet {
  display: flex;
  width: 505px;
  height: 51px;
  background-color: aliceblue;
  border: solid 1px #333;
}

#num_pallet div {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: white;
  font-size: 30px;
  text-align: center;
  border-radius: 10%;
  border: 1px solid #333;
}

.keisan_shiki {
  width: 120px;
  height: 50px;
  text-align: center;
  font-size: 30px;
}

.kigo {
  width: 50px;
  margin-top: -50px;
  line-height: 50px;
  text-align: center;
  font-size: 30px;
}

.naname1 {
  position: relative;
}

.naname1::before {
  position: absolute;
  content: "";
  display: block;
  transform: rotate(45deg);
  background-color: red;
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.seki_kuriagari div,
.seki_kuriagari td,
.seki_kuriagari1 div,
.seki_kuriagari1 td,
.seki_kuriagari2 div,
.seki_kuriagari2 td,
.seki_kuriagari3 div,
.seki_kuriagari3 td {
  max-height: 20px;
  width: 30px;
  color: red;
  font-size: 12px;
  background-color: white;
  border-radius: 10%;
  border: 1px solid #333;
}

.seki_kuriagari1 div,
.seki_kuriagari1 td,
.seki_kuriagari2 div,
.seki_kuriagari2 td {
  color: gray;
}

.seki_kuriagari1 div,
.seki_kuriagari2 div,
.seki_kuriagari3 div,
.seki_kuriagari div {
  margin: 0 0 0 auto;
}

.seki_kuriagari3 div {
  margin: auto;
}

#num_pallet div,
.seki_tochu div,
.seki_kotae div {
  width: 60px;
  height: 60px;
  line-height: 50px;
  background-color: white;
  font-size: 30px;
  text-align: center;
  border-radius: 10%;
  border: 1px solid #333;
}

#kei_sen {
  display: flex;
}

#clock {
  background-color: white;
}

.input-box:before {
  top: 8px;
  right: 20px;
  color: #eceff1;
  font-size: 20px;
  content: "▲";
  pointer-events: none;
}

.input-box:after {
  bottom: 8px;
  right: 20px;
  color: #eceff1;
  font-size: 20px;
  content: "▼";
  pointer-events: none;
}

.input-box {
  box-sizing: border-box;
  margin: 0 auto 40px;
  border: none;
  border-radius: 10px;
  width: 100%;
  height: 60px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5) inset;
  -webkit-appearance: none;
  height: 50px;
  width: 70px;
  font-size: 30px;
  text-align: center;
}

#score {
  font-family: "BIZ UDGothic";
}

#tokei_range {
  width: 720px;
}

.gaku_kigo {
  background-color: white;
  border-radius: 10%;
  box-shadow: 4px 4px 0 gray;
  margin: 2px;
  padding: 3px;
}

.gaku_kigo:hover {
  transform: translate(0, 0.25rem);
  background-color: lightsalmon;
}

.gaku_kigo:active {
  transform: translate(0vw, 0.5rem);
}

@media only screen and (max-width: 480px) {
  .h3 {
    font-size: 12px;
  }
  .h4 {
    font-size: 14px;
  }
  .btn-eng {
    font-size: 12px;
    margin: 4px;
    border: #333 solid 1px;
    min-width: 240px;
  }
  .Kenhamo {
    position: relative;
    top: 20px;
    margin: 5px;
  }
  .B_Kenban {
    left: 14px;
  }
  .black {
    width: 25px;
    height: 75px;
    margin: 0 2px 0 2px;
    padding-top: 30px;
    font-size: 9px;
    line-height: 12px;
  }
  .white {
    width: 29px;
    height: 150px;
    padding-top: 90px;
    font-size: 15px;
  }
  .none {
    width: 25px;
    height: 75px;
    margin: 0 2px 0 2px;
  }
  .next {
    margin-left: 200px;
  }
  .yomi {
    width: 200px;
    height: 30px;
    font-size: 16px;
    letter-spacing: 0rem;
  }
  .yomi_kotae {
    width: 150px;
    height: 30px;
    font-size: 16px;
    letter-spacing: 0rem;
  }
  .shiki {
    width: 200px;
    height: 70px;
    font-size: 50px;
  }
  .shiki_kotae {
    width: 150px;
    height: 70px;
    font-size: 50px;
  }
  #tokei_range {
    width: 360px;
  }
  .hole div {
    position: fixed;
    width: 100px;
    height: 100px;
    text-align: center;
    background-color: lightgray;
    margin: auto;
    opacity: 1;
    border-radius: 50%;
  }
  #h10,
  #h9,
  #h8,
  #h7 {
    width: 50px;
    height: 75px;
  }
  #h9 {
    top: 130px;
    left: 740px;
  }
  #h10 {
    top: 100px;
    left: 690px;
  }
  #h7 {
    top: 180px;
    left: 660px;
  }
  #h8 {
    top: 150px;
    left: 610px;
  }
  #h6 {
    top: 225px;
    left: 510px;
  }
  #h5 {
    top: 350px;
    left: 450px;
  }
  #h4 {
    top: 100px;
    left: 25px;
  }
  #h3 {
    top: 160px;
    left: 130px;
  }
  #h2 {
    top: 250px;
    left: 225px;
  }
  #h1 {
    width: 100px;
    height: 150px;
    border-radius: 0 50% 50% 0;
    top: 430px;
    left: 300px;
  }
  #h0 {
    width: 100px;
    height: 150px;
    border-radius: 50% 0 0 50%;
    top: 430px;
    left: 200px;
  }
  #piano {
    padding: 10px;
    width: 100%;
    display: block;
    margin: 0 auto;
    overflow-x: auto;
  }
  .w_key {
    background: #fff;
    border: 1px solid #333;
    width: 100px;
    text-align: center;
    cursor: pointer;
  }
  .w_key:hover {
    background: #ff6c94;
    /*ボタン色*/
  }
  .w_key:active {
    /*ボタンを押したとき*/
    transform: translateY(4px);
    /*下に動く*/
    border-bottom: none;
    /*線を消す*/
  }
}/*# sourceMappingURL=style.css.map */