@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://use.fontawesome.com/releases/v5.3.1/css/all.css');
@import 'input.css';

* {
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 400;
  margin: 0;
  user-select: none;
}

html {
  width: 100%;
  height: 100%;
  touch-action: none;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0px;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

h1 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  text-align: left;
  margin-top: 12px;
  font-weight: 700;
}

.width_adjust {
  max-width: 600px;
  margin: auto;
}

.selection_box {
  display: inline-block;
  vertical-align: top;
  width: 173px;
  padding: 8px 0;
  line-height: 24px;
  background-color: #eb6100;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  font-size: 20px;
  margin: 8px 12px;
}

.selection_box:hover {
  background-color: #fb6b00;
}

.selection_box.card {
  line-height: 0;
}

.selection_box .title {
  display: block;
  line-height: 24px;
}

.selection_box .body {
  display: block;
  line-height: 16px;
  font-size: 12px;
  margin: 0;
}

.selection_box.animation {
  background-color: aliceblue;
  color: black;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px -1px #ddd, 0px 1px #ddd;
}

.selection_box.animation:hover {
  background-color: white;
}

.selection_box.practice {
  background-color: #ffffe0;
  color: black;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px -1px #ddd, 0px 1px #ddd;
}

.selection_box.practice:hover {
  background-color: white;
}

.selection_box.animation_practice {
  background: linear-gradient(45deg, aliceblue 0%, aliceblue 50%, #ffffe0 50%, #ffffe0 100%);
  color: black;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px -1px #ddd, 0px 1px #ddd;
}

.selection_box.animation_practice:hover {
  background: white;
}

.selection_box.large {
  background-color: rgb(255, 240, 240);
  color: black;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px -1px #ddd, 0px 1px #ddd;
}

.selection_box.large:hover {
  background-color: white;
}

.title_bar {
  display: block;
  width: 100%;
  background-color: white;
  text-align: center;
  line-height: 48px;
  border-bottom: 1px solid gray;
  margin-bottom: 16px;
}

.btn_page_back {
  position: absolute;
  display: block;
  width: 48px;
  height: 48px;
  text-decoration: none;
  background-color: #404040;
  cursor: pointer;
}

.btn_page_back::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f104';
  font-size: 32px;
  color: #fff;
  position: absolute;
  line-height: 48px;
  width: 48px;
  height: 48px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

.container {
  display: block;
  line-height: 0;
  text-align: center;
  height: calc(100% - 65px);
  white-space: nowrap;
}

.col1 {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 32px);
  height: 100%;
  padding: 0 16px;
}

/* PC */
@media (orientation: landscape) {
  .col2 {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 34px);
    height: 100%;
    padding: 0 16px;
  }
}

/* Tablet */
@media (orientation: portrait) {
  .col2 {
    display: block;
    width: 100%;
    height: 50%;
    padding: 0 16px;
  }
}

.col8_12 {
  display: inline-block;
  vertical-align: top;
  width: calc(67% - 34px);
  height: 100%;
  padding: 0 16px;
}

.col4_12 {
  display: inline-block;
  vertical-align: top;
  width: calc(33% - 34px);
  height: 100%;
  padding: 0 16px;
}

.fitting_box {
  display: inline-block;
  height: 1080px;
  max-height: 100%;
  margin: auto;
}

canvas {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd;
}

canvas#animation_canvas {
  max-height: calc(100% - 92px - 88px);
}

canvas#practice_canvas {
  max-height: calc(100% - 92px - 88px);
}

canvas#view_animation_canvas {
  display: block;
  max-height: calc(50% - 32px);
}

canvas#view_practice_canvas {
  display: block;
  max-height: calc(50% - 32px);
}

canvas#view_practice_canvas.pair_work {
  display: block;
  max-height: calc(100% - 64px);
}

canvas#analytics_view_canvas {
  display: block;
  max-height: calc(100% - 92px);
}

.top_round {
  border-radius: 1vh 1vh 0 0;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px -1px #ddd;
}

.control {
  line-height: 32px;
  margin: 0;
  max-width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 8px 0;
  margin-bottom: 12px;
}

.control.basic {
  background-color: rgb(250, 250, 250);
  border-radius: 1vh 1vh 1vh 1vh;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px -1px #ddd, 0px 1px #ddd;
}

.control.animation {
  background-color: aliceblue;
  border-radius: 0 0 1vh 1vh;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px 1px #ddd;
}

.control.practice {
  background-color: #ffffe0;
  border-radius: 0 0 1vh 1vh;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px 1px #ddd;
}

.control.view {
  background-color: #e0ffe0;
  border-radius: 0 0 1vh 1vh;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px 1px #ddd;
}

.control.analytics {
  background-color: rgb(250, 250, 250);
  border-radius: 0 0 1vh 1vh;
  box-shadow: -1px 0px #ddd, 1px 0px #ddd, 0px 1px #ddd;
}

.bg_pattern {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.4;
  z-index: -1;
}

.Polka {
  background-image: radial-gradient(#999 1px, #f8f8f8 1px);
  background-size: 24px 24px;
}

#timeout {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
}

#timeout div {
  height: calc(100vh - 32px - 30vh);
  width: calc(100vw - 32px);
  background: rgba(255, 255, 150, 0.8);
  margin: 16px;
  text-align: center;
  padding-top: 30vh;
  font-size: 6vh;
  line-height: 10vh;
}
