@charset "utf-8";
/* CSS Document */
/*--top----------------------------------------------------------*/
.top .main {
  display: flex;
  max-height: 500px;
  background: url("../image/abacus/abacus_top.jpg") no-repeat 0 -50px;
  background-size: cover;
  padding: 10% 0;
}
.main h1 {
  display: flex;
  flex-wrap: wrap;
  color: #fff;
  line-height: 1.5;
  font-size: 3rem;
  font-weight: bold;
  margin-left: 10%;
}
.main h1 span {
  font-size: 1.6rem;
}
.description_area {
  background-image: url("../image/abacus/deco2.gif"),
    url("../image/abacus/deco3.gif"), url("../image/abacus/deco4.gif");
  background-repeat: no-repeat;
  background-size: 7% auto;
  background-position: top 40% right 20%, bottom 12% left 30%, top 0 left 15%;
}
.description_area .inner {
  margin-top: 100px;
}
.discription {
  display: block;
  line-height: 2;
  font-size: 1.6rem;
  width: 85%;
  margin: 0 auto;
  text-align: left;
}
@media screen and (max-width: 926px) {
  .description_area {
    background-size: 10% auto;
    background-position: top 40% right 10%, bottom 15% left 30%, top 5% left 10%;
  }
}
@media screen and (max-width: 749px) {
  .discription {
    font-size: 1.4rem;
  }
  .br-sp3 {
    display: block;
  }
}
@media screen and (max-width: 480px) {
  .top .main {
    height: 400px;
    background: url("../image/abacus/abacus_mobile.jpg") no-repeat 0 0;
    background-size: cover;
  }
  .description_area {
    background-size: 15% auto;
    background-position: top 40% right 10%, bottom 15% left 30%, top 5% left 10%;
  }
  .top .main {
    height: 400px;
  }
  .main h1 {
    font-size: 2.4rem;
    line-height: 260px;
  }
}
/*--study--------------------------------------------------------*/
.list-1,
.list-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 80px 10%;
}
.descreption-img {
  width: 50%;
}
.list-2 {
  flex-flow: row-reverse;
}
.list-1 img {
  box-shadow: 100px 30px 0 #fff59f;
}
.list-2 img {
  box-shadow: -100px 30px 0 #fff59f;
}
.descreption-text-1,
.descreption-text-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  height: 300px;
  padding: 30px 5%;
  z-index: 2;
}
.study h3 {
  display: inline-block;
  font-weight: bold;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
  font-size: 2rem;
  line-height: 2;
  text-align: left;
}
.descreption-text-1 p,
.descreption-text-2 p {
  width: 100%;
  text-align: left;
  line-height: 2;
  margin: 0 auto;
}
.descreption-text-2 a {
  color: #0d9203;
  text-decoration: none;
  text-align: right;
  margin-top: 10px;
}
.descreption-text-2 a:hover {
  opacity: 0.5;
}
@media screen and (max-width: 1200px) {
  .study h3 {
    font-size: 1.8rem;
  }
  .descreption-text-2 a {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 926px) {
  .section-descreption h2 {
    font-size: 3rem;
  }
  .descreption-text-1 p,
  .descreption-text-2 p {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 640px) {
  .list-2,
  .list-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .descreption-text-1,
  .descreption-text-2 {
    width: 100%;
  }
  .descreption-img {
    width: 100vw;
  }
  .descreption-text {
    margin: 40px 0 50px;
  }
  .descreption-text p {
    margin-top: 30px;
    text-align: center;
  }
}
@media screen and (max-width: 480px) {
  .descreption-img {
    margin-bottom: 50px;
  }
  .br-sp4 {
    display: block;
  }
}
/*--topix-----------------------------------------------------------*/
.topix {
  background-color: #fef9e3;
  margin-top: 80px;
}
.topix .inner {
  padding: 80px 24px;
}
.topix ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  margin-top: 50px;
}
.topix ul li {
  width: 300px;
  background-color: #fff;
  border-radius: 10px;
  height: 430px;
  margin: 0 auto;
  margin-bottom: 30px;
}
.topix ul li img {
  margin-bottom: 20px;
  width: 300px;
}
.topix ul li h3 {
  margin-bottom: 30px;
  font-size: 2.2rem;
  line-height: 1.7;
  border-bottom-style: none;
}
.topix ul li p {
  line-height: 1.6;
  text-align: left;
  margin: 0 20px 100px;
}
@media screen and (max-width: 926px) {
  .topix ul li h3 {
    font-size: 2rem;
  }
  .topix ul li {
    height: 400px;
  }
  .topix ul li p {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 768px) {
  .course h2 {
    font-size: 2.4rem;
  }
  .course ul {
    justify-content: space-around;
  }
  .course ul li h3 {
    font-size: 2rem;
  }
}
/*--lesson time prise-------------------------------------------------------*/
.lesson-time_price {
  margin-top: 80px;
}
.lesson-time_price .inner {
  width: 92%;
}
.abacus_lessonstyle {
  background: #8cc11e;
  text-align: left;
  padding: 5px 30px;
  margin-top: 30px;
  color: #fff;
}
.abacus_lesson_detail {
  padding-top: 10px;
}
.class-name {
  margin: 20px 0 5px;
  font-weight: bold;
  font-size: 1.6rem !important;
}
.tbl-r03 {
  margin-bottom: 10px;
  width: 100%;
  table-layout: fixed;
  word-wrap: break-all;
}
th {
  background: #8cc11e;
  border: solid 1px #ccc;
  color: #fff;
  padding: 1% 0;
}
td {
  border: solid 1px #ccc;
  padding: 1% 0;
  vertical-align: middle;
}
.lesson_time p {
  text-align: left;
  font-size: 1.4rem;
}
.price {
  background-color: #f5f5f5;
  padding: 50px;
  margin: 50px 0;
}
.price span {
  font-size: 1.4rem;
  text-align: left;
  display: block;
}
.first_price,
.month_price {
  display: flex;
  border-bottom: 1px solid #9e9e9e;
  font-size: 2rem;
  margin: 20px 0;
  padding-left: 10px;
  justify-content: space-between;
}
.first_price div:first-child,
.month_price div:first-child {
  text-align: left;
}
.pp {
  display: flex;
}
@media screen and (max-width: 640px) {
  .scroll {
    overflow-x: auto;
  }
  .fill span {
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    vertical-align: middle;
    min-height: 4em;
    line-height: 1.1;
    word-break: keep-all;
    white-space: nowrap;
  }
  .abacus_lessonstyle {
    padding: 5px 10px;
  }
}
@media screen and (max-width: 480px) {
  .td_time {
    font-size: 1.4rem;
  }
  .first_price,
  .month_price {
    font-size: 1.6rem;
  }
  .lesson_time p,
  .price span {
    font-size: 1.2rem;
  }
  .price {
    padding: 20px;
  }
  .first_price div:last-child::after {
    width: 4em;
  }
}
@media screen and (max-width: 420px) {
  td {
    font-size: 1.4rem;
  }
  .td_time {
    font-size: 1.2rem;
  }
  .br-sp3 {
    display: block;
  }
}
/*--schedule--------------------------------------------------------------*/
.schedule {
  background-image: url("../image/about/bird3.png"),
    url("../image/abacus/bird4.png");
  background-repeat: no-repeat;
  background-size: 30% auto;
  background-position: top 7% right 0, bottom 0 left 0;
}
.schedule .inner {
  padding: 80px 0;
  margin-top: 30px;
}
.schedule ol li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 10px;
  position: relative;
  text-align: left;
}
.schedule ol li div {
  width: 23%;
}
.schedule ol li p {
  width: 52%;
}
.schedule ol li p:last-child {
  width: 25%;
}
.item-list {
  position: relative;
  list-style: none;
  margin-top: 100px;
  margin: 0 10%;
}
.item-list::before {
  position: absolute;
  top: 7px;
  left: 100px;
  display: block;
  content: "";
  width: 2px;
  height: calc(100% - 16%);
  background-color: #8cc11e;
}
.schedule ol li:after {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 6em;
  width: 10px;
  height: 10px;
  background-color: #8cc11e;
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .schedule {
    background-size: 200px auto;
    background-position: top 15% right 0, bottom 2% left 0;
  }
  .schedule h2 span {
    font-size: 1.4rem;
  }
  .schedule ol li h3 {
    font-size: 1.6rem;
  }
  .schedule ol li p:last-child {
    display: none;
  }
  .item-list::before {
    left: 148px;
  }
  .schedule ol li:after {
    left: 9em;
  }
  .schedule ol li div {
    width: 25%;
  }
  .schedule ol li p {
    width: 75%;
  }
  .item-list::before {
    left: 79px;
    height: calc(100% - 17%);
  }
  .schedule ol li:after {
    left: 4.7em;
  }
}
@media screen and (max-width: 559px) {
  .schedule ol li div {
    font-size: 1.4rem;
  }
  .schedule ol li p {
    font-size: 1.4rem;
  }
  .item-list::before {
    left: 60px;
  }
  .schedule ol li:after {
    left: 3.5em;
  }
}
@media screen and (max-width: 457px) {
  .schedule {
    background-size: 150px auto, 200px auto;
    background-position: top 15% right -30px, bottom 2% left 0;
  }
  .schedule ol li div {
    font-size: 1.2rem;
  }
  .schedule ol li p {
    font-size: 1.2rem;
  }
  .item-list::before {
    left: 50px;
  }
  .schedule ol li:after {
    left: 2.9em;
    width: 8px;
    height: 8px;
  }
  .item-list {
    margin: 0 5%;
  }
}
@media screen and (max-width: 350px) {
  .item-list::before {
    height: calc(100% - 16%);
  }
}
/*--voice-----------------------------------------------------------*/
.voice {
  background-image: url("../image/top/flag_illust.png");
  background-repeat: no-repeat;
  background-size: 15% auto;
  background-position: top 0 right 50%;
}
.voice {
  margin: 60px 5%;
  padding-top: 60px;
}
.voice.inner {
  display: inline-block;
  padding: 50px 0;
  width: 80%;
  margin: 0 auto;
}
.voice ul {
  list-style: none;
  margin-top: 50px;
}
.voice ul li {
  padding: 20px;
  margin-bottom: 30px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #5f5f5f;
}
.voice h3 {
  margin: 20px;
  text-align: left;
  line-height: 2;
  width: 100%;
}
.voice p {
  text-align: left;
  font-size: 1.2rem;
  margin-top: 10px;
}
.img_sub {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}
.container3 {
  display: flex;
}
@media screen and (max-width: 768px) {
  .voice {
    background-size: 200px auto;
    background-position: top 0 right 50%;
  }
}
@media screen and (max-width: 663px) {
  .voice ul li {
    margin-left: 0;
  }
}
@media screen and (max-width: 481px) {
  .container3 {
    display: block;
    margin: 10px auto;
  }
  .voice h3 {
    font-size: 1.4rem;
    margin: 10px 0;
  }
}
