/* Base Style Settings */
@import url("https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c");
body {
  background-image: url("../img/bgimg01.gif");
  background-color: #FFFFFF;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: black;
  letter-spacing: 1.6px;
  margin: 0 auto;
  padding: 0;
}
@media screen and (max-width: 959px) {
  body {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 14.4px;
    line-height: 24px;
    color: black;
  }
}
@media screen and (max-width: 480px) {
  body {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 12.8px;
    line-height: 24px;
    color: black;
  }
}
/* Header Style Settings */
header {
  margin: 0 auto;
  padding: 8px;
  width: 95%;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: black;
}

/* Main Style Settings */
main {
  width: 95%;
  margin: 0 auto;
  padding: 8px;
}
main p {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: normal;
  color: black;
  text-indent: 16px;
  line-height: 24px;
  margin: 0 16px;
}
@media screen and (max-width: 959px) {
  main p {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 14.4px;
    line-height: normal;
    color: black;
  }
}
@media screen and (max-width: 480px) {
  main p {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 12.8px;
    line-height: normal;
    color: black;
  }
}
main code {
  margin-top: 32px;
  margin-right: 8px;
  margin-bottom: 32px;
  margin-left: 8px;
  padding: 16px;
  font-family: sans-serif;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: normal;
  color: black;
}
@media screen and (max-width: 959px) {
  main code {
    font-family: sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 14.4px;
    line-height: normal;
    color: black;
  }
}
@media screen and (max-width: 480px) {
  main code {
    font-family: sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 12.8px;
    line-height: normal;
    color: black;
  }
}
main div#beforeInfo {
  text-align: right;
}
main div#beforeInfo a {
  color: #0000FF;
  font-weight: 700;
}
main table {
  width: 90%;
  margin-left: 16px;
}
main table th, main table td {
  background-color: #FFFFFF;
  vertical-align: top;
  border: solid #808080 1px;
  border-radius: 5px;
  padding: 8px 16px;
}
main table th {
  width: 160px;
}
main table td ul {
  margin: 0;
}
main #ListArea {
  background-color: #FFFFFF;
  width: 90%;
  margin: 16px auto;
  border-width: 1px 5px 5px 1px;
  border-style: solid inset inset solid;
  border-color: gray;
}
main #ListArea #renewList {
  margin: 16px 0;
}
main #ListArea #renewList li time {
  font-size: 17.6px;
  font-weight: 800;
}
main #results, main #StudyMode {
  padding: 16px;
}
main #choiceList {
  margin-left: 16px;
}

/* Section Style Settings */
section {
  background-color: #FFFAFA;
  margin: 0 auto;
  padding: 8px;
  width: 95%;
}

/* Footer Style Settings */
footer {
  margin: 0 auto;
  padding: 8px;
  width: 95%;
  border-top-style: solid;
  border-top-color: black;
  border-top-width: 1.6px;
}
footer div#copyrights {
  text-align: center;
  vertical-align: bottom;
  margin: 8px auto;
}

/* Header Elements */
h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 36px;
  margin: 0 auto;
}
h1.headline {
  border-style: solid;
  border-width: 0 0 0 6px;
  border-color: #0000FF;
  border-radius: 0;
}

h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 33px;
  margin: 0 auto;
}
h2.headline {
  border-style: solid;
  border-width: 0 0 0 5px;
  border-color: #0000FF;
  border-radius: 0;
}

h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 32px;
  margin: 0 auto;
}
h3.headline {
  border-style: solid;
  border-width: 0 0 0 5px;
  border-color: #0000FF;
  border-radius: 0;
}

h4 {
  font-size: 19px;
  font-weight: 800;
  line-height: 29px;
  margin: 0 auto;
}
h4.headline {
  border-style: solid;
  border-width: 0 0 0 4px;
  border-color: #0000FF;
  border-radius: 0;
}

h5 {
  font-size: 18px;
  font-weight: 800;
  line-height: 27px;
  margin: 0 auto;
}
h5.headline {
  border-style: solid;
  border-width: 0 0 0 4px;
  border-color: #0000FF;
  border-radius: 0;
}

h6 {
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  margin: 0 auto;
}
h6.headline {
  border-style: solid;
  border-width: 0 0 0 4px;
  border-color: #0000FF;
  border-radius: 0;
}

/* Box Elements */
.box, .box-ridge, .box-dotted, .box-solid {
  background-color: #FFFFFF;
  margin: 8px;
  padding: 8px;
}
.box-solid {
  border-style: solid;
  border-width: 3px;
  border-color: #222;
  border-radius: 10px;
}
.box-dotted {
  border-style: dotted;
  border-width: 3px;
  border-color: #222;
  border-radius: 10px;
}
.box-ridge {
  border-style: solid outset outset solid;
  border-width: 1px 5px 5px 1px;
  border-color: #222;
}
.box p, .box-solid p, .box-dotted p, .box-ridge p {
  margin-top: 8px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 16px;
}

div.textbox {
  border-color: black;
  border-style: solid;
  border-width: 2px;
  border-radius: 4px;
  padding: 16px;
  margin: 24px;
  background-color: #FFFFFF;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: normal;
  color: black;
}
@media screen and (max-width: 959px) {
  div.textbox {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 14.4px;
    line-height: normal;
    color: black;
  }
}
@media screen and (max-width: 480px) {
  div.textbox {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 12.8px;
    line-height: normal;
    color: black;
  }
}

div.linkbox {
  background-color: #4866c9;
  border-style: solid;
  border-width: 1px;
  border-color: #b79936;
  border-radius: 5px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  color: #b79936;
  text-align: center;
  padding: 8px;
  margin: 8px;
  width: 160px;
  display: inline;
}
@media screen and (max-width: 959px) {
  div.linkbox {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: 700;
    font-size: 14.4px;
    line-height: normal;
    color: #b79936;
  }
}
@media screen and (max-width: 480px) {
  div.linkbox {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: 700;
    font-size: 12.8px;
    line-height: normal;
    color: #b79936;
  }
}
div.linkbox:hover {
  background-color: #334fab;
  border-style: solid;
  border-width: 1px;
  border-color: #ccb054;
  border-radius: 5px;
  color: #ccb054;
}

/* Anker Elements */
a:link,
a:visited,
a:active,
a:hover {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: normal;
  color: black;
  text-decoration: none;
}
@media screen and (max-width: 959px) {
  a:link,
a:visited,
a:active,
a:hover {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 14.4px;
    line-height: normal;
    color: black;
  }
}
@media screen and (max-width: 480px) {
  a:link,
a:visited,
a:active,
a:hover {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-style: normal;
    font-stretch: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 12.8px;
    line-height: normal;
    color: black;
  }
}

ruby rt {
  font-size: 12px;
}

/* Quiz Base Set */
#main {
  background-color: #FFFFFF;
}

li.choices {
  cursor: pointer;
}

button {
  border-radius: 10px;
  border-width: 2px;
  border-style: solid;
  border-color: #00A;
  background-color: #00F;
  font-size: 16px;
  color: #FFFFFF;
  font-weight: normal;
}

/* Java Script Control Parts */
.able {
  display: block;
}

.disable {
  display: none;
}

.btn_able {
  display: inline;
}

.btn_disable {
  display: none;
}