/*=====================
lesson
=====================*/
.side ul li:first-child a {
  background-color: #F77237;
  color: #fff;
}

.under_title {
  background-image: url(../../img/lesson_main.jpg);
  background-position: center center;
}

.row {
  padding-top: 40px;
  padding-bottom: 40px;
}

main>div:last-child {
  padding-bottom: 0;
}

main .lesson_box {
  display: flex;
  flex-direction: column-reverse;

}

main .lesson_box div {
  margin-bottom: 30px;
}

table {
  width: 100%;
  margin-bottom: 30px;
}

table th,
table td {
  display: block;
  text-indent: 1rem;
  line-height: 3;
}

table th {
  font-weight: normal;
  background-color: #F77237;
  color: #fff;
  text-align: left;
}

table td {
  margin-bottom: 10px;
}

@media screen and (min-width:769px) {
  main .lesson_box {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  main .lesson_box>p {
    width: 46.875%;
  }

  main .lesson_box div {
    width: 49.21875%;
  }

  main .lesson_box div h2 {
    text-align: left;
  }

  main .lesson_box:nth-child(even)>p {
    order: 2;
  }

  table {
    margin-bottom: 30px;
  }

  table th,
  table td {
    display: table-cell;
    border: 1px solid #ccc;
  }

}

/*===min-width:769px===*/