/* ================================================= *
 *        	common
 * ================================================= */
/* ------------------------------------
 *        	layout
------------------------------------ */
.onlySp {
  display: none;
}

@media only screen and (max-width: 768px) {
  .onlyPc {
    display: none;
  }
  .onlySp {
    display: block;
  }
}
@media only screen and (max-width: 480px) {
  .BReak:before {
    display: inline;
    content: "\a";
    white-space: pre;
  }
}
.contact {
  display: none;
}

/* ------------------------------------
 *        	style
------------------------------------ */
.section-btn {
  width: min(100%, 350px);
  margin: 15px auto;
  text-align: center;
}
@media only screen and (max-width: 480px) {
  .section-btn {
    margin: 20px auto;
    font-size: 1rem;
  }
}
.section-btn__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 68px;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.4;
}
.section-btn__link::before {
  padding-right: 14px;
  font-family: "Font Awesome 5 Free";
  font-size: 4.2rem;
  font-weight: 900;
}
@media only screen and (max-width: 480px) {
  .section-btn__link::before {
    padding-right: 10px;
    font-size: 3rem;
  }
}
.section-btn__link:hover {
  background-color: #fff;
  border: thin solid;
}
.section-btn__link:active {
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transform: translateY(0.2em);
          transform: translateY(0.2em);
}
.abacus .section-btn__link {
  background-color: #3EA24A;
  -webkit-box-shadow: 0 3px #428F6B;
          box-shadow: 0 3px #428F6B;
}
@media only screen and (max-width: 480px) {
  .abacus .section-btn__link {
    font-size: 4.1666666667vw;
  }
}
.abacus .section-btn__link::before {
  content: "\f19d";
}
.abacus .section-btn__link:hover {
  color: #3EA24A;
}
.calligraphy .section-btn__link {
  background-color: #0075C2;
  -webkit-box-shadow: 0 3px #0b63a4;
          box-shadow: 0 3px #0b63a4;
}
@media only screen and (max-width: 480px) {
  .calligraphy .section-btn__link {
    font-size: 4.1666666667vw;
  }
}
.calligraphy .section-btn__link::before {
  content: "\f1fc";
}
.calligraphy .section-btn__link:hover {
  color: #0075C2;
}
.experience .section-btn__link {
  background-color: #EA545D;
  -webkit-box-shadow: 0 3px #C44850;
          box-shadow: 0 3px #C44850;
}
.experience .section-btn__link::before {
  content: "\f5da";
}
.experience .section-btn__link:hover {
  color: #EA545D;
}

/* ================================================= *
 *        	main-visual
 * ================================================= */
.main-visual {
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.main-visual img {
  width: 100%;
}

/* ================================================= *
 *        	merit
 * ================================================= */
.merit {
  background: url(../img/lesson/merit_bg@3x.png) no-repeat center/cover;
}
@media only screen and (max-width: 480px) {
  .merit .container {
    padding: 15px;
  }
}
.merit__title {
  width: min(100%, 524px);
  margin-inline: auto;
}
.merit__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2%;
  margin-top: 30px;
}
@media only screen and (max-width: 480px) {
  .merit__list {
    margin-top: 15px;
  }
}
.merit__item {
  width: min(33.3333333333%, 240px);
}

/* ================================================= *
 *        	reason
 * ================================================= */
.reason {
  padding-top: 45px;
}
@media only screen and (max-width: 480px) {
  .reason {
    padding-top: 15px;
  }
}
@media only screen and (max-width: 480px) {
  .reason .container {
    padding: 0 15px;
  }
}
.reason__title {
  width: min(92%, 1256px);
  margin-inline: auto;
}
.reason__title img {
  width: 100%;
}
.reason__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 30px;
  margin-top: 15px;
}
@media only screen and (max-width: 768px) {
  .reason__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.reason__item {
  width: 50%;
}
@media only screen and (max-width: 768px) {
  .reason__item {
    width: 92%;
    margin-inline: auto;
  }
}

/* ------------------------------------
*        	flow
------------------------------------ */
.flow {
  background: url(../img/lesson/flow_bg@3x.png) no-repeat center/cover;
}
.flow__title {
  width: min(100%, 445px);
  margin: auto;
}
@media only screen and (max-width: 480px) {
  .flow__title {
    width: 80%;
    text-indent: 1em;
  }
}
.flow__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-top: 60px;
  padding: 30px;
  background-color: #fff;
}
@media only screen and (max-width: 768px) {
  .flow__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    margin-top: 30px;
  }
}
@media only screen and (max-width: 480px) {
  .flow__item {
    padding: 15px;
  }
}
.flow__img {
  width: 40.54%;
}
@media only screen and (max-width: 768px) {
  .flow__img {
    display: none;
  }
}

.flow-read {
  width: 54.96%;
  margin-right: 4.5%;
  text-align: left;
}
@media only screen and (max-width: 768px) {
  .flow-read {
    width: 100%;
  }
}
.flow-read__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 3px 5px;
  border-radius: 25px;
  background-color: #f7931e;
  color: #fff;
  font-size: 2.4rem;
}
@media only screen and (max-width: 768px) {
  .flow-read__title {
    margin-bottom: 15px;
    font-size: 2.1rem;
  }
}
@media only screen and (max-width: 480px) {
  .flow-read__title {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 1.6rem;
  }
}
.flow-read__number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: #fff;
  color: #f7931e;
}
.flow-read__text {
  margin-top: 30px;
  color: #000;
  font-size: 2rem;
  line-height: 1.8;
}
@media only screen and (max-width: 768px) {
  .flow-read__text {
    margin-top: 15px;
  }
}
@media only screen and (max-width: 480px) {
  .flow-read__text {
    font-size: 1rem;
    text-align: center;
  }
}
@media only screen and (max-width: 480px) {
  .flow-read img.onlySp {
    width: 80%;
    margin: auto;
  }
}

.flow-contact {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 100%;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  .flow-contact {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.flow-contact__btn {
  width: min(100%, 292px);
  margin: 15px auto;
}
.flow-contact__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 68px;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.4;
}
.flow-contact__link::before {
  font-family: "Font Awesome 5 Free";
  font-size: 4.2rem;
  font-weight: 900;
}
.inquiry .flow-contact__link {
  background-color: #0075C2;
  -webkit-box-shadow: 0 3px #0b63a4;
          box-shadow: 0 3px #0b63a4;
}
.inquiry .flow-contact__link::before {
  content: "\f0e0";
  font-weight: 100;
  padding-right: 14px;
}
.inquiry .flow-contact__link:hover {
  color: #0075C2;
}
.telephone .flow-contact__link {
  background-color: #f7b228;
  -webkit-box-shadow: 0 3px #e88c2e;
          box-shadow: 0 3px #e88c2e;
}
.telephone .flow-contact__link::before {
  content: "\f2a0";
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
  padding-right: 10px;
}
.telephone .flow-contact__link:hover {
  color: #f7b228;
}
.flow-contact__link:hover {
  background-color: #fff;
  border: thin solid;
}
.flow-contact__link:active {
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transform: translateY(0.2em);
          transform: translateY(0.2em);
}
.flow-contact__text {
  display: block;
  margin-top: 5px;
}
.flow-contact__note {
  margin-bottom: 0;
}