@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: "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;
  -ms-user-select: none;
  user-select: none;
}

canvas {
  pointer-events: none;
}

#container {
  padding: 10px;
}

a, input, label {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -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;
  transform: rotate(.1deg);
  -o-transform: rotate(.1deg);
  -ms-transform: rotate(.1deg);
  -moz-transform: rotate(.1deg);
  -webkit-transform: rotate(.1deg);
}

.btn.spiner {
  display: inline-block;
  min-width: 44px;
  height: 44px;
  border-radius: 22px;
  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;
  transform: rotate(.1deg);
  -o-transform: rotate(.1deg);
  -ms-transform: rotate(.1deg);
  -moz-transform: rotate(.1deg);
  -webkit-transform: rotate(.1deg);
}

.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;
  transform: rotate(.1deg);
  -o-transform: rotate(.1deg);
  -ms-transform: rotate(.1deg);
  -moz-transform: rotate(.1deg);
  -webkit-transform: rotate(.1deg);
}

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

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

.radio {
  height: 28px;
  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"] {
  display: none;
}

.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;
  transform: rotate(.1deg);
  -o-transform: rotate(.1deg);
  -ms-transform: rotate(.1deg);
  -moz-transform: rotate(.1deg);
  -webkit-transform: rotate(.1deg);
}

.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);
}

/**-----------------------------------------------------------------------------
 * Checkbox
 *----------------------------------------------------------------------------*/

.checkbox {
  display: inline-block;
  text-align: left;
  font-size: 20px;
  line-height: 35px;
}

.checkbox input[type="checkbox"] {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  vertical-align: top;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #999;
  display: none;
}

.checkbox input[type="checkbox"] + label {
  display: block;
  position: relative;
  height: 30px;
  line-height: 30px;
  padding: 10px 10px 10px 50px;
  cursor: pointer;
  font-family: RoundedMPlus;
  font-size: 19px;
}

.checkbox input[type="checkbox"] + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  left: 10px;
  width: 22px;
  height: 22px;
  border: solid 3px #0B89DD;
  border-radius: 5px;
  background-color: #fff;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.checkbox input[type="checkbox"] + label span {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 26px;
  box-sizing: border-box;
  transform: rotate(.1deg);
  -o-transform: rotate(.1deg);
  -ms-transform: rotate(.1deg);
  -moz-transform: rotate(.1deg);
  -webkit-transform: rotate(.1deg);
}

.checkbox input[type="checkbox"]:checked + label::before {
  background-repeat: no-repeat;
  background-image: url(../img/check.png);
  background-size: 19px;
  background-position: center center;
}

.checkbox input[type="checkbox"].disabled,
.checkbox input[type="checkbox"][disabled="disabled"] {
  pointer-events: none;
}

.checkbox input[type="checkbox"].disabled + label,
.checkbox input[type="checkbox"][disabled="disabled"] + label {
  cursor: default;
}

.checkbox input[type="checkbox"].disabled + label::before,
.checkbox input[type="checkbox"][disabled="disabled"] + label::before {
  border-color: #B3B3B3;
  pointer-events: none;
}

.checkbox input[type="checkbox"]:checked.disabled + label::before,
.checkbox input[type="checkbox"]:checked[disabled="disabled"] + label::before {
  background-image: url(../img/check_disabled.png);
}

/**-----------------------------------------------------------------------------
 * Canvas Stage
 *----------------------------------------------------------------------------*/

#canvas-stage {
  position: absolute;
  top: -50%;
  left: -50%;
  overflow: hidden;
  width: 200%;
  height: 200%;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
}
#canvas-stage.nonscale {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transform: scale(1);
  transform: scale(1);
}
#canvas-stage canvas {
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
}
