@charset "UTF-8";

/*--------------------------------------------------------------
# トップページ
--------------------------------------------------------------*/
.page-ttl {
  padding: 110px 10%;
  background: url(../menu/img/bg_ttl.png) no-repeat 50% 50% / cover;
}

h2.bunmen {
  margin: 40px;
  font-size: 120%;
  line-height: 1.7em;
  text-align: center;
  color: #0369d7;
}

/* 科目紹介 */
.menu-section {
  margin: 60px auto 35px auto;
}

.menu-cont {
  padding: 40px 0;
  border-top: 1px solid #cfcfcf;
  margin-bottom: 40px;
}

.menu-cont:last-child {
  border-bottom: 1px solid #cfcfcf;
}

.menu-detail {
  flex: 1;
}



.menu-detail h2 {
  font-size: 32px;
  margin: 0 0 30px;
  clear: both !important;
  flex: nowrap;
}

.menu-detail h2 span {
  color: #00b4ff;
  font-size: 15px;
}

.menu-detail p {
  font-size: 16px;
  line-height: 1.6em;
}


.pict {
  width: 40%;
  margin-left: 3%;
}

.pict img {
  width: 100%;
  height: auto;
}

.menu-cont:nth-child(even) {
  flex-direction: row-reverse;
}

.menu-cont:nth-child(even) .text {
  text-align: right;
}

.menu-cont:nth-child(even) .pict {
  margin-left: 0;
  margin-right: 3%;
}

.menu-img-l {
  flex: 0 0 auto;
  margin: 0 60px 0 0;
}

.menu-img2 {
  width: 77px;
  height: 60px;
  margin: 0 20px 0 0;
}

/*--------------------------------------------------------------
# ブレイクポイント
--------------------------------------------------------------*/
@media screen and (max-width: 1180px) {

  /* menu */
  .menu-img-l {
    flex: 0 0 28%;
    margin: 0 30px 0 0;
  }


  .menu-detail h2 {
    font-size: 28px;
  }

  .menu-detail p {
    font-size: 13px;
  }


}

/* max-width: 1180px */

@media screen and (max-width: 1024px) {

  /* menu */
  .menu-detail,
  .menu-img-l {
    flex: 0 0 100%;
  }

  .menu-detail p {
    font-size: 15px;
  }

  .menu-img-l {
    margin: 20px 0;
    text-align: center;
  }

}

/* max-width: 1024px */


@media screen and (max-width: 768px) {


  h2.bunmen {
    margin: 40px 0;
    font-size: 100%;
    line-height: 1.7em;
    text-align: center;
  }

  /* menu */
  .menu-detail-tit {
    display: block;
    text-align: center !important;
    margin: auto;
  }

  .menu-detail-tit h2 span {
    font-size: 17px;
  }

  .menu-detail-tit h2 {
    font-size: 30px;
    margin: 0 0 15px;
    line-height: 1.1em;
  }

  .menu-detail p {
    font-size: 16px;
  }

  .menu-cont {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-cont:nth-child(even) {
    flex-direction: row-reverse;
  }

  .pict {
    width: 100%;
    margin-left: 0;
    text-align: center;
    margin-top: 20px;
  }

  .menu-cont:nth-child(even) .pict {
    margin-left: 0;
    margin-right: 0%;
  }

  .pict img {
    width: 100%;
    height: auto;
  }
}