/* Scss Document */
#kodomo-top {
  width: 690px;
  min-height: 430px;
  background: #fff url("img/bar.png") top center no-repeat;
  background-size: 100%;
  padding-top: 5px; }
  #kodomo-top h2 {
    background: none;
    border: none;
    text-align: center;
    margin-bottom: 0; }
    #kodomo-top h2::before, #kodomo-top h2::after {
      width: 0;
      background: none; }
  #kodomo-top .top-lead {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em; }

#top-menu-wrap {
  position: relative;
  width: 690px; }

#top-menu {
  width: 497px; }
  #top-menu ul {
    display: flex;
    justify-content: space-around; }
  #top-menu a:hover img {
    opacity: 0.8; }

#teacher {
  position: absolute;
  top: 0;
  left: 497px; }
  #teacher .sp-item {
    display: none; }

#kodomo {
  width: 690px;
  min-height: 430px;
  position: relative; }

#return-to-start {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 10px; }

#end-to-start {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0px; }

#return-to-start a {
  margin-top: 5px;
  display: flex;
  color: #202020;
  text-decoration: none; }

#end-to-start a {
  margin-top: 5px;
  display: flex;
  color: #202020;
  text-decoration: none;
  background-color: #e0e0e0;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 5px 20px 2px 0;
  box-shadow: 2px 2px 3px 0 #333;
  font-weight: bold; }

#return-to-start a span, #end-to-start a span {
  padding-left: 10px;
  align-self: center; }

.flip-horizontal {
  transform: scale(-1, 1); }

hr.kodomo-bar {
  height: 25px;
  background: #fff url("img/bar.png") top center no-repeat;
  background-size: 100%;
  border: none; }

#kodomo h2 {
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  height: 46px; }
  #kodomo h2::before, #kodomo h2::after {
    width: 0;
    background: none; }
#kodomo h3 {
  text-align: center;
  font-size: 1.6em;
  background-image: none;
  margin: 0;
  padding: 5px 0 0 0; }
#kodomo #quiz {
  padding: 10px 20px 5px;
  line-height: 1.8;
  width: 510px;
  min-height: 100px; }
#kodomo #quiz2 {
  padding: 10px 20px 5px;
  line-height: 1.8;
  width: auto; }
#kodomo .q-area, #kodomo .a-area {
  width: 640px;
  margin: 0 auto;
  position: relative; }
#kodomo .q-area figure {
  position: absolute;
  top: 0;
  right: 10px;
  padding-left: 20px; }
#kodomo .caution {
  color: #ff0000 !important;
  font-weight: bold;
  font-size: 1.0em;
  margin-bottom: 5px;
  padding: 0 20px; }

.a-area p {
  padding: 10px 20px;
  line-height: 1.8; }
.a-area ul {
  display: flex;
  flex-flow: column wrap; }
.a-area li {
  margin-bottom: 20px;
  min-height: 60px;
  display: flex;
  width: 100%; }
  .a-area li img {
    width: 40px; }
  .a-area li a, .a-area li.kotae {
    display: flex;
    width: 100%;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    box-shadow: 5px 5px 3px 0 #ddd;
    padding: 10px 20px 5px; }
  .a-area li a:hover {
    background-color: #eee; }
  .a-area li span {
    align-self: center; }
    .a-area li span:nth-child(2) {
      display: inline-flex;
      padding-left: 20px;
      color: #000000;
      font-size: 1.2em; }

#next-btn, #ch-btn {
  margin: 0 auto;
  width: 240px; }

#next-btn a {
  display: flex;
  justify-content: center;
  height: 40px;
  background: #0052c8 url("img/next.png") right 10px center no-repeat;
  background-size: 25px;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 5px 5px 3px 0 #ddd;
  padding-right: 36px;
  color: #fff;
  text-decoration: none;
  font-weight: bold; }

#ch-btn a {
  display: flex;
  justify-content: center;
  height: 40px;
  background: #0052c8 url("img/next.png") right 10px center no-repeat;
  background-size: 25px;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 5px 5px 3px 0 #ddd;
  padding-right: 36px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  background-color: #333333; }

#next-btn a span, #ch-btn a span {
  align-self: center;
  text-align: center; }

#ox {
  width: 380px;
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap; }
  #ox strong {
    align-self: center;
    color: #ff0000;
    font-size: 1.5em; }
  #ox img, #ox span {
    align-self: center; }

#r-area {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  width: 640px;
  margin: 20px auto; }

#results {
  display: flex;
  align-self: center;
  flex-basis: 400px;
  padding: 20px;
  background: transparent url("img/blackboard_pc.png") 0 0 no-repeat;
  background-size: contain; }
  #results li {
    color: #ffffff;
    padding: 5px 50px 5px 20px;
    display: flex;
    align-items: center; }
    #results li span {
      align-self: center; }
      #results li span img {
        padding: 5px 0 0 5px; }

#r-stamp {
  text-align: center;
  flex-basis: 180px; }

#score {
  display: flex;
  flex-flow: row nowrap;
  align-self: center; }

@media screen and (max-width: 999px) {
  #kodomo-top {
    width: 100%;
    min-height: 430px;
    background-size: 100%;
    padding-top: 5px; }
    #kodomo-top h2 {
      text-align: center; }
    #kodomo-top .top-lead {
      font-size: 2.5vw; }

  #top-menu-wrap {
    position: relative;
    width: 100%; }

  #top-menu {
    width: 100%; }

  #teacher {
    display: block;
    position: relative;
    top: 0;
    left: 0; }
    #teacher .pc-item {
      display: none; }
    #teacher .sp-item {
      display: block;
      margin: 0 auto 20px; }
    #teacher img.sp-item {
      width: 100%;
      max-width: 682px; } }
@media screen and (max-width: 737px) {
  #kodomo-top h2 img {
    width: 100%; }
  #kodomo-top .top-lead {
    font-size: 3.5vw; }

  #top-menu img {
    width: 100%; }

  #kodomo {
    width: 100%;
    min-height: 430px;
    position: relative; }

  #return-to-start {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0; }
    #return-to-start a {
      font-size: 0em;
      width: 36px;
      height: 36px;
      background-color: #e0e0e0;
      border: 1px solid #eee;
      border-radius: 10px;
      padding: 5px;
      box-shadow: 0 0 0; }

  #end-to-start a {
    font-size: 0em;
    width: 36px;
    height: 36px;
    background-color: #e0e0e0;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 0 0; }

  .flip-horizontal {
    transform: scale(1, 1); }

  #return-to-start a span, #end-to-start a span {
    padding: 10px 0 0 0;
    align-self: center; }

  #kodomo #quiz {
    padding: 10px 20px 5px;
    width: auto;
    min-height: 0; }
  #kodomo .q-area, #kodomo .a-area {
    width: 100%;
    margin: 0 auto; }
  #kodomo h2 img {
    width: 75%;
    height: auto; }
  #kodomo .q-area figure {
    position: relative;
    text-align: center;
    padding-left: 0; }
    #kodomo .q-area figure img {
      width: 25%; }

  #ox {
    width: 100%;
    margin: 20px auto;
    display: flex;
    justify-content: space-around;
    flex-flow: row nowrap; }
    #ox strong {
      font-size: 1.2em; }
    #ox img {
      width: 80px; }
    #ox span {
      font-size: 0.8em; }

  #r-area {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    width: 100%;
    margin: 20px auto; }

  #results {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
    align-self: auto;
    flex-basis: 60%;
    padding: 2%;
    background: transparent url("img/blackboard_mb.png") 0 0 no-repeat;
    background-size: contain; }
    #results li {
      font-size: 0.9em;
      color: #ffffff;
      padding: 0;
      display: flex;
      justify-content: center; }
      #results li span {
        align-self: center; }
        #results li span img {
          padding: 5px 0 0 5px; }

  #r-stamp {
    text-align: center;
    flex-basis: 40%; }
    #r-stamp img {
      width: 100%; }

  #score {
    text-align: center; }
    #score img {
      width: 75%; } }
