@charset "UTF-8";
:focus {
  outline: solid thin rgba(0, 0, 255, 0.8);
  border-radius: 6px;
}

body {
  width: 100vw;
  height: 100%;
  height: 100vh;
  display: flex;
  margin: 0;
  padding: 0;
  flex-flow: column nowrap;
  overflow: hidden;
}
body > * {
  border-bottom: 1px solid rgb(0, 0, 0);
}
body > :last-child {
  border-bottom: none;
}
body > *:empty, body > input, body > main > input {
  display: none;
}
body.small {
  user-select: none;
}

header, footer {
  font-size: 9pt;
  background: rgba(128, 128, 144, 0.5);
  flex: 0 0 1em;
  padding: 2px 0.5em;
}

footer ~ div {
  display: none;
}

header {
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 220);
}
header > a {
  color: rgb(0, 0, 128);
}

nav, main {
  overflow: auto;
}

nav {
  user-select: none;
  flex: 0 0 auto;
  min-height: 1.5em;
  padding: 0.25em;
  color: rgb(0, 0, 0);
  background: rgb(176, 194, 219);
  font-size: 90%;
}

main {
  flex: 1 1 auto;
  user-select: none;
}

footer {
  text-align: right;
}

h1, h2, h3, p {
  margin: 0.25em 0.5em;
  font-size: 100%;
}

font {
  color: inherit;
}

strong {
  color: rgb(255, 0, 0);
}
input#darktheme:checked ~ main * strong {
  color: rgb(255, 40, 40);
}

details > summary {
  cursor: pointer;
}
nav details * {
  text-align: left;
}
nav details summary {
  padding-right: 0.5em;
  text-align: right;
}

.ri .bi, .bi .ri {
  display: none;
}

section {
  margin: 0.5em;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 6px;
  padding: 6px;
  background: rgba(128, 128, 128, 0.35);
}
section article {
  margin-bottom: 1em;
}
section article div.mon {
  line-height: 1.75em;
  border-radius: 6px;
  padding: 0.25em;
}
section article div.mon img {
  display: block;
  max-width: 95%;
}
section article div.mon > div {
  line-height: 1.75em;
}
section article div.mon > div:first-of-type {
  padding: 2px 0 2px 3.5em;
  text-indent: -3.5em;
}
section article div.mon > div.exp {
  margin: 0.5em;
}
section article div.mon > div.exp > div {
  padding-left: 2em;
  text-indent: -2em;
}
section article div.mon > div.sel {
  padding: 2px 0 2px 2.5em;
  text-indent: -2.5em;
}
section article div.mon > div.nowrap {
  max-width: 95%;
  overflow: auto;
  white-space: nowrap;
}
section article div.mon input[type=radio] {
  display: none;
}
section article div.mon input[type=radio] + label {
  cursor: pointer;
  border-bottom: none 3px;
}
section article div.mon input[type=radio]:checked + label {
  border-bottom: double 3px rgb(102, 0, 170);
  background: rgba(255, 255, 80, 0.2);
}
input#darktheme:checked ~ main section article div.mon input[type=radio]:checked + label {
  border-bottom: double 3px rgb(155, 0, 200);
  background: rgba(255, 220, 80, 0.2);
}

fieldset.normal {
  display: block;
}
.small fieldset.normal {
  display: none;
}
.small input#forcesmall:checked ~ nav fieldset.normal {
  display: block;
}

fieldset.small {
  display: none;
}
.small fieldset.small {
  display: block;
}

label.btn[for], span.btn {
  display: inline-block;
  user-select: none;
  cursor: pointer;
  margin: 2px;
  border: 3px solid rgb(102, 102, 102);
  border-radius: 6px;
  padding: 0 0.5em;
  color: rgb(0, 0, 0);
  background: rgb(200, 200, 200);
}
.small label.btn[for], .small span.btn {
  padding: 0.5em;
}

span.btn {
  border: 1px outset;
}

.shiken main section > article.always, .result main section > article.always {
  padding-bottom: 0.75em;
  border-bottom: 3px double rgb(128, 128, 128);
}

main {
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 255);
}
main a {
  color: rgb(0, 0, 255);
}
input#darktheme:checked ~ main {
  color: rgb(255, 255, 255);
  background: rgb(80, 80, 80);
}
input#darktheme:checked ~ main a {
  color: rgb(153, 255, 255);
}
input#darktheme:checked ~ main dialog a {
  color: rgb(0, 0, 255);
}
.small.shiken main, .small.result main {
  overflow: hidden;
  display: flex;
  flex-flow: column nowrap;
}
.small.shiken main section, .small.result main section {
  flex: 1 1 auto;
  display: flex;
  flex-flow: column nowrap;
  max-height: 90%;
  overflow: auto;
}
.small.shiken main section > *, .small.result main section > * {
  flex: 0 0 auto;
}
.small.shiken main section > article, .small.result main section > article {
  display: none;
  overflow: auto;
  flex: 1 1 auto;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 4px;
  padding: 0.25em 0.5em;
}
.small.shiken main section > article.active, .small.result main section > article.active, .small.shiken main section > article.always, .small.result main section > article.always {
  display: block;
  padding: 0;
}
.small.shiken main section > article.active > div, .small.result main section > article.active > div, .small.shiken main section > article.always > div, .small.result main section > article.always > div {
  margin: 0.25em auto;
}
.small.shiken main section > article.active, .small.result main section > article.active {
  width: calc(100% - 1em);
  margin-bottom: 0.25em;
  padding: 0.25em;
}
.small.shiken main section > article.always, .small.result main section > article.always {
  flex: 1 1 60%;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgb(0, 0, 0);
}
.small.shiken main section > article.always ~ article.active, .small.result main section > article.always ~ article.active {
  flex: 1 1 20%;
}
.small.shiken main section > article:last-of-type + div.btn, .small.result main section > article:last-of-type + div.btn {
  display: none;
}
.small.shiken main section > article div.mon > div.sel > div, .small.result main section > article div.mon > div.sel > div {
  margin: 0.5em 0;
}
.small.shiken main section > h1, .small.result main section > h1 {
  order: -2;
}

.annai section article h1, .annai section article h2 {
  padding: 0 0.5em;
  border-bottom: 1px solid;
}

.annai section article p {
  margin: 0.5em 1em;
}
.annai section article p:last-of-type {
  margin-bottom: 0.25em;
}
.timeout p .openonly {
  display: none;
}

.annai section article details {
  margin: 0 1.5em 0;
  margin-bottom: 0.5em;
}
.annai section article details summary {
  border-bottom: 1px dotted;
}
.annai main details summary {
  color: rgb(0, 0, 200);
}
.annai input#darktheme:checked ~ main details summary {
  color: rgb(0, 255, 255);
}
.annai input#darktheme:checked ~ main dialog details summary {
  color: rgb(0, 0, 128);
}

.annai span.fornormal {
  display: inline;
}
.annai span.forsmall {
  display: none;
}
.annai.small span.fornormal {
  display: none;
}
.annai.small span.forsmall {
  display: inline;
}

.payment {
  display: none;
}
.annai section article.waiting .payment {
  display: block;
}

button.expand {
  display: none;
}
.result.small button.expand {
  position: absolute;
  right: calc(1em + 4px);
  display: inline;
}
.result.small button.expand ~ div.anlyze {
  margin-top: 1.75em;
}

.result article {
  display: flex;
  flex-flow: row wrap;
}
.result article > p {
  flex: 1 0 100%;
}
.result article div.mon {
  flex: 1;
}
.result div.smallonly {
  display: none;
}
.result.small div.smallonly {
  display: block;
}
.result div.kaitou {
  display: none;
}
.result div.anlyze {
  max-width: 40em;
  margin: 0.5em;
}
.result div.anlyze div {
  margin: 0.25em 0.5em;
  padding: 0.25em 0.5em;
  border-radius: 6px;
  color: rgb(0, 0, 0);
  background: rgba(255, 255, 255, 0.5);
}
.result div.anlyze div span {
  display: inline-block;
  padding-right: 4px;
}
.result div.anlyze div.all {
  font-size: 150%;
}
.result div.anlyze div.sub {
  margin-left: 1em;
  margin-right: 1em;
}
.result div.anlyze div.alert {
  color: rgb(255, 0, 0);
  background: rgba(255, 255, 160, 0.8);
}
.result div.anlyze div.out {
  color: rgb(255, 255, 255);
  background: rgba(255, 80, 80, 0.8);
  font-weight: bold;
}
.result div.anlyze div.safe {
  color: rgb(0, 0, 0);
  background: rgba(160, 200, 255, 0.8);
}
.result.small div.anlyze div span:first-of-type {
  display: block;
}
.result div.chart {
  flex: 1 1 auto;
  margin: 0.5em 0.5em;
}
.result.small div.chart {
  margin: 0.5em auto;
  text-align: center;
}
.result div.mon div.expmes {
  margin: 0.75em 1em;
  padding: 0.5em;
  border: 1px solid rgb(80, 80, 128);
  border-radius: 6px;
  background: rgba(80, 200, 80, 0.25);
  font-size: 90%;
}
.result div.mon div.lap {
  margin: 0.25em 1em;
  font-size: 90%;
  text-align: right;
}
div.mon div.preselect:after {
  display: inline;
  content: "[※前回正解・今回不正解]";
  font-size: 85%;
  font-weight: bold;
}
div.mon div.preselect.selected:after {
  content: "[※前回・今回正解]";
  font-weight: normal;
}
div.mon div.preselect.mistake:after {
  content: "[※前回選択不正解]";
  font-weight: normal;
}
div.mon div.preselect.mistake.selected:after {
  content: "[※前回・今回ともに不正解]";
  font-weight: bold;
  color: rgb(168, 0, 0);
  background: rgba(255, 255, 80, 0.7);
}
.result div.mon.mistake {
  background: rgba(255, 128, 128, 0.2);
}
.result div.mon.mistake input.answer + label[for] {
  background: rgba(255, 128, 128, 0.8);
  border-radius: 4px;
  padding-right: 4px;
}

svg {
  user-select: none;
}
.result svg {
  width: 90%;
  height: auto;
  max-width: 400px;
  margin: 0.5em 0.75em;
  border-radius: 6px;
  background: rgba(128, 136, 128, 0.5);
}
.result svg g.base circle.guide, .result svg line, .result svg path {
  stroke: rgb(0, 0, 0);
  stroke-width: 1px;
  fill: none;
}
.result svg circle {
  stroke: rgb(0, 0, 0);
  fill: rgba(128, 255, 255, 0.75);
}
.result svg circle.point {
  stroke: rgb(80, 80, 80);
  fill: rgb(0, 255, 80);
}
.result svg circle.yellow {
  fill: rgb(255, 255, 80);
}
.result svg circle.orange {
  fill: rgb(255, 156, 0);
}
.result svg circle.red {
  fill: rgb(255, 0, 0);
}
.result svg text {
  font-family: monospace;
  font-size: 16px;
  font-weight: bold;
}
.result svg g.base {
  opacity: 0.3;
}
.result svg g.base line {
  stroke-dasharray: 8px 12px;
}
.result svg g.base circle.guide {
  stroke-dasharray: 1.5%;
  fill: rgba(128, 0, 0, 0.25);
}
.result.small svg path {
  stroke-width: 2px;
}
.result.small svg a {
  cursor: pointer;
}

.movebtn {
  display: none;
}
#btntop:checked ~ main .movebtn {
  order: -1;
}

.small .movebtn {
  display: block;
  margin: 0.25em auto;
  padding: 4px;
  border: 3px double rgb(102, 102, 102);
  border-radius: 8px;
  background: rgba(80, 120, 80, 0.3);
  text-align: center;
}
.small .movebtn > button {
  display: inline-block;
  margin: 0 0.75em;
  padding: 4px;
}
.small .movebtn > p {
  font-size: 9pt;
}
.small .movebtn span.scrollMes {
  display: none;
}
.small .movebtn.scrollMes span.scrollMes {
  display: inline-block;
  text-align: left;
}

.movebtn p.shiken {
  display: none;
}
.shiken .movebtn p.shiken {
  display: block;
}

input#keepcookie:checked ~ * label[for=keepcookie], input#forcesmall:checked ~ * label[for=forcesmall], input#btnbtm:checked ~ * label[for=btnbtm], input#btntop:checked ~ * label[for=btntop], input#lighttheme:checked ~ * label[for=lighttheme], input#darktheme:checked ~ * label[for=darktheme] {
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 204);
}

dialog {
  user-select: none;
  border: 3px double rgb(128, 128, 128);
  border-radius: 6px;
  max-width: 80%;
  max-height: 80%;
}
dialog#usage {
  width: 80%;
  height: 80%;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}
dialog button.close {
  position: fixed;
  right: 2em;
  top: 1em;
}
dialog form {
  display: none;
}
dialog form p {
  text-align: center;
  line-height: 2em;
}
dialog form button {
  display: inline-block;
  margin: 0 0.5em;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.25em;
}
dialog.shiken form.shiken, dialog.shikensend form.send, dialog.request form, dialog.selerr form.selerr {
  display: block;
}

dialog.request {
  padding: 0.25em;
}
dialog.request p {
  text-align: left;
}
dialog.request::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
dialog.request input[type=email]:invalid {
  color: rgb(255, 0, 0);
}
dialog.request div.error {
  display: none;
  padding: 4px;
  color: rgb(255, 80, 0);
}
dialog.request.err div.error {
  display: block;
}

div#tooltip {
  display: none;
}
div#tooltip {
  display: block;
  position: fixed;
  max-width: 70%;
  border: 2px solid rgb(102, 102, 102);
  border-radius: 6px;
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 204);
  padding: 2px;
  font-size: 1rem;
}
div#tooltip.fade {
  animation-name: fadeout;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

.small div#tooltip {
  left: unset;
  right: 2em;
  top: 5em;
  bottom: unset;
}

.small.result div#tooltip {
  left: 2em;
  top: 3em;
  bottom: unset;
}

@keyframes fadeout {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#shikenTimer {
  position: absolute;
  right: 3em;
  bottom: 3em;
  border: 2px solid rgb(80, 80, 80);
  border-radius: 6px;
  padding: 2px 4px;
  color: rgb(0, 0, 0);
  background: rgba(128, 200, 200, 0.8);
}
#shikenTimer:empty {
  display: none;
}
.small #shikenTimer {
  right: 1em;
  bottom: 2em;
}

#login {
  min-width: 200px;
  max-width: 20em;
  padding: 8px;
}
#login form {
  display: block;
  text-align: right;
  margin-bottom: 4px;
}
#login h1 {
  margin: 0.25em 0 0.5em;
  border-bottom: 3px double;
  font-size: 110%;
}
#login ul {
  max-width: 15em;
  list-style: none;
  margin: 0;
  padding: 0;
}
#login ul li {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 0.75em;
}
#login ul li[hidden] {
  display: none;
}
#login ul li > label {
  flex: 1;
}
#login ul li > label + input {
  flex: 0;
}
#login ul li > button {
  flex: 1;
}
p.caution, p.outofdate {
  display: none;
}
#login.error p.caution {
  display: block;
  color: rgb(255, 0, 0);
}
#login.outofdate p.outofdate {
  display: block;
  color: rgb(0, 0, 255);
}

.small span.long {
  display: none !important;
}

.debug {
  max-height: 5em;
  overflow: auto;
}

.nodebug .debug {
  display: none !important;
}

/*# sourceMappingURL=style.css.map */
