@charset "UTF-8";
/**-----------------------------------------------------------------------------
 * Reset Style Sheet
 *----------------------------------------------------------------------------*/
abbr, address, article, aside, audio, b, blockquote, body, canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, p, pre, q, samp, section, small, span, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:after, blockquote:before, q:after, q:before {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: 700;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

/**-----------------------------------------------------------------------------
 * Font
 *----------------------------------------------------------------------------*/
@font-face {
  font-family: "Suken";
  src: url("../font/A-SOTCenturyStd-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "SukenMath";
  src: url("../font/A-SOTJMathCenturyStd-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "SukenGirisha";
  src: url("../font/A-SOTGirishaStd-Italic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "SukenJMathCenturyStdR";
  src: url("../font/A-SOTJMathCenturyStd-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "SukenJMathCenturyStdB";
  src: url("../font/A-SOTJMathCenturyStd-Bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "RoundedMPlus";
  src: url("../font/rounded-mplus-1p-medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/**-----------------------------------------------------------------------------
 * CSS3 Keyframe Animation
 *----------------------------------------------------------------------------*/
@-webkit-keyframes handle {
  0% {
    opacity: .2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: .2;
  }
}
@keyframes handle {
  0% {
    opacity: .2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: .2;
  }
}
/**-----------------------------------------------------------------------------
 * Common Style
 *----------------------------------------------------------------------------*/
html {
  width: 100%;
  height: 100%;
  touch-action: manipulation;
  -ms-touch-action: manipulation;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background-color: #fff;
  touch-action: manipulation;
  -ms-touch-action: manipulation;
}

article {
  width: 1024px;
  height: 648px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background-color: #fff;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -512px;
  margin-top: -324px;
}

img {
  -khtml-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

canvas {
  pointer-events: none;
}

#container {
  padding: 10px;
}

a, input, label {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

a {
  text-decoration: none;
}

a:link {
  color: #000;
}

/**-----------------------------------------------------------------------------
 * User Interface Style
 *----------------------------------------------------------------------------*/

.btn {
  display: inline-block;
  min-width: 146px;
  height: 44px;
  padding: 0 10px;
  margin: 10px;
  border-radius: 14px;
  border: solid 3px #0B89DD;
  color: #0B89DD;
  background-color: #fafafa;
  box-shadow: 0 4px #ccc;
  font-size: 18px;
  line-height: 39px;
  font-family: RoundedMPlus, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: nowrap;
  text-transform: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  background-repeat: no-repeat;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
}

.btn.w200 {
  width: 200px;
}

.btn.down {
  background-color: #0B89DD;
  color: #fff;
  -webkit-transform: translate3d(0, 4px, 0);
  transform: translate3d(0, 4px, 0);
  box-shadow: none;
}

.btn.disabled,
.btn[disabled="disabled"] {
  border-color: #B3B3B3;
  background-color: #F2F2F2;
  color: #B3B3B3;
  cursor: default;
  pointer-events: none;
}

/**-----------------------------------------------------------------------------
 * Radio Button
 *----------------------------------------------------------------------------*/

.radio {
  height: 40px;
  margin-bottom: 10px;
}

.radio label {
  font-family: RoundedMPlus;
  font-size: 19px;
  display: inline-block;
  width: auto;
  height: 27px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.radio input[type="radio"] {
  position: absolute;
  z-index: 2;
  width: 27px;
  height: 27px;
  padding: 0;
  margin: 0;
  opacity: 0;
}

.radio label span {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 26px;
  padding-left: 40px;
  background-repeat: no-repeat;
  background-position: left top;
  background-image: url(../img/radio_button.png);
  background-size: 27px 54px;
  box-sizing: border-box;
}

.radio input[type="radio"]:checked + span,
.radio input[checked="checked"] + span {
  background-position: 0 -27px;
}

.radio input[type="radio"]:disabled + span,
.radio input[disabled="disabled"] + span {
  background-image: url(../img/radio_button_disabled.png);
}
/**-----------------------------------------------------------------------------
 * Canvas Stage
 *----------------------------------------------------------------------------*/
#canvas-stage {
  position: absolute;
  top: -50%;
  left: -50%;
  overflow: hidden;
  width: 200%;
  height: 200%;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
}

#canvas-stage.nonscale {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

#canvas-stage canvas {
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
}
