/* online */
.online .beginning .list_3line p {
  text-align: center;
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
  font-size: 125.75%;
  font-weight: bold;
  color: rgba(53, 53, 53, 1);
  letter-spacing: 1px;
  line-height: 180%;
}

.online .beginning .list_3line p:first-child {
  margin-bottom: 20px;
}

.online .beginning .list_3line p:first-child {
  margin-bottom: 20px;
}

.online .beginning .rsrs {
  width: 304px;
}

.online .beginning .rsrs p {
  line-height: 145%;
}

.online .beginning .rsrs img {
  max-width: 100%;
}

.online .beginning .endtext {
  margin: 3.2em auto;
  font-size: 175%;
  font-weight: bold;
  text-align: center;
  line-height: 200%;
  letter-spacing: 5px;
}

.online .example {
  padding: 80px 0;
  background-color: #ffc130;
  margin-bottom: 120px;
}

.online .example .block {
  margin-bottom: 0;
}

.online .example .flex_container .list_2line {
  flex-shrink: 1;
  margin-left: 60px;
}

.online .example li {
  flex-shrink: 1;
  margin-bottom: 30px;
}

.online .example li:nth-child(2n) {
  margin-left: 30px;
}

.online .example .list_2line li p {
  font-weight: bold;
  line-height: 150%;
  letter-spacing: 5px;
}

.online .example .list_2line li p {
  font-weight: bold;
  line-height: 150%;
  letter-spacing: 5px;
}

.online .teacher_gallery {
  margin-bottom: 120px;
}

.online .teacher_gallery_list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-right: 70px;
  text-align: center;
  height: auto;
  padding: 0;
}

.online .teacher_gallery_list p:nth-child(1) {
  margin-top: 70px;
  margin-left: 125px;
  margin-right: 125px;
}

.online .teacher_gallery_list p:nth-child(2) {
  font-size: 175%;
  margin-top: 2em;
  margin-bottom: 1em;
  letter-spacing: 3px;
  font-weight: bold;
}

.online .teacher_gallery_list p:nth-child(3) {
  margin-bottom: 4em;
  font-weight: bold;
  line-height: 150%;
}

.online .slick-track {
  display: flex;
}

.online .l_orange {
  background-color: #ffefcb;
  padding: 50px 100px;
  margin-bottom: 0;
}

.online .l_orange h3 {
  font-size: 225%;
  font-weight: bold;
  border-bottom: solid 7px #ffc130;
  display: inline-block;
  line-height: 200%;
}

.online .l_orange h3::before,
.online .l_orange h3::after {
  display: none;
}

.online .l_orange h4 {
  color: #fff;
  background-color: #f99b2c;
  border-bottom: none;
  text-align: center;
  display: block;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
}

.online .l_orange .border_orange {
  border: solid 4px #f99b2c;
  border-top: none;
  padding-top: 24px;
}

.online .l_orange .border_orange p {
  color: #f99b2c;
  font-size: 175%;
  font-weight: bold;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.online .l_orange .border_orange p {
  color: #f99b2c;
  font-size: 175%;
  font-weight: bold;
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-align: center;
}

.online .l_orange .border_orange .list_3line {
  justify-content: space-between;
  margin: 0 25px;
}

.online .l_orange .border_orange li {
  width: 225px;
  font-size: 87.5%;
  font-weight: bold;
  background-color: #fff;
  padding: 25px 0;
  margin-bottom: 25px;
  line-height: 170%;
  letter-spacing: 2px;
}

.online .appli li h3::before,
.online .appli li h3::after {
  display: none;
}

.online .appli .list_2line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
}

.online .appli .list_2line li {
  width: calc(50% - 28px);
  background-color: #f99b2c;
  position: relative;
  margin-right: 50px;
  margin-bottom: 85px;
}

.online .appli .list_2line li:nth-child(2),
.online .appli .list_2line li:nth-child(3) {
  margin-right: 0;
}

.online .appli .list_2line li:nth-child(3),
.online .appli .list_2line li:nth-child(4) {
}

.online .appli .list_2line li.rsrs {
  border-radius: 80px 0 80px 0;
}

.online .appli li:nth-child(1)::after,
.online .appli li:nth-child(2)::after,
.online .appli li:nth-child(3)::after,
.online .appli li:nth-child(4)::after {
  content: '';
  width: 29px;
  height: 37px;
  position: absolute;
}

.online .appli li:nth-child(1)::after {
  background-image: url(../img/function/img_story_arrow.png);
  right: -40px;
}

.online .appli li:nth-child(2)::after {
  background-image: url(../img/function/img_story_arrow.png);
  transform: rotate(90deg);
  left: calc(50% - 37px);
  bottom: -63px;
}

.online .appli li:nth-child(3)::after {
  background-image: url(../img/function/img_story_arrow.png);
  transform: rotate(180deg);
  left: -40px;
}

.online .appli li:nth-child(4)::after {
  background-image: none;
}

.online .appli .list_2line li:nth-child(2n) {
  background-color: #ffc130;
}

.online .appli .list_2line li:nth-child(1) {
  order: 1;
}

.online .appli .list_2line li:nth-child(2) {
  order: 2;
}

.online .appli .list_2line li:nth-child(3) {
  order: 4;
}

.online .appli .list_2line li:nth-child(4) {
  order: 3;
}

.online .appli .list_2line li h3 {
  display: inline-block;
  margin-left: 35px;
  margin-bottom: 0;
  padding: 36px 0 36px 112px;
  text-align: left;
  font-size: 116%;
  font-weight: bold;
  line-height: 1.5;
  background-repeat: no-repeat;
  background-position: left 5px;
  letter-spacing: 2px;
}

.online .appli .list_2line li:nth-child(1) h3 {
  background-image: url('../img/online/img_step1.png');
}

.online .appli .list_2line li:nth-child(2) h3 {
  background-image: url('../img/online/img_step2.png');
}

.online .appli .list_2line li:nth-child(3) h3 {
  background-image: url('../img/online/img_step3.png');
}

.online .appli .list_2line li:nth-child(4) h3 {
  background-image: url('../img/online/img_step4.png');
  padding-top: 20px;
}

/* online-end */
.beginning .beginning_list img {
  height: 100%;
}

.beginning .beginning_list li {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 28px;
  margin-top: -5px;
  text-align: center;
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
  font-size: 36px;
  font-weight: bold;
  color: rgba(53, 53, 53, 1);
  letter-spacing: 1px;
}

.beginning .beginning_list li p {
  text-align: center;
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
  font-size: 36px;
  font-weight: bold;
  color: #fb9d2c;
}

.beginning .beginning_list li p span {
  font-size: 18px;
  font-weight: bold;
  color: #353535;
  vertical-align: baseline;
}

.beginning .beginning_list li img {
  margin-bottom: 30px;
}

.beginning .phone {
  display: block;
  margin: 30px auto;
}

.beginning .detail_list {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0;
  justify-content: center;
}

.beginning .detail_list li {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 28px;
  margin: 30px 0 70px;
  text-align: center;
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  color: rgba(53, 53, 53, 1);
  letter-spacing: 1px;
}

.beginning .detail_list li img {
  margin: 0 28px 16px;
}

.beginning .foryou_list {
  margin: 50px 0 80px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0 30px;
  /* 余白 */
}

.beginning .foryou_list li {
  background: url(../img/online/bk_foryou.png);
  background-repeat: no-repeat;
  /* height:457px; */
  width: 306px;
  height: 375px;
  background-position: center;
}

.beginning .foryou_list li img {
  margin: 40px 0;
}

.beginning .foryou_list li p {
  font-size: 18px;
  line-height: 28px;
}

.example {
  margin: 0 auto;
  width: 100%;
}

.example .title {
  margin: 0 auto;
  height: 100px;
  width: 300px;
  background-image: url('../img/function/img_brackets_before_v2.png'),
    url('../img/function/img_brackets_after_v2.png');
  background-size: auto, auto;
  background-position: top left, bottom right;
  background-repeat: no-repeat;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

.example .example_div {
  display: flex;
  justify-content: center;
}

.example .example_list {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0;
  justify-content: center;
  gap: 0 35px;
}

.example .example_list li {
  background: url(../img/online/bk_example_type1.png);
  background-repeat: no-repeat;
  width: 343px;
  height: 152px;
}

.example .example_list li:nth-child(2) {
  background: url(../img/online/bk_example_type2.png);
}

.example .example_list li:nth-child(3) {
  background: url(../img/online/bk_example_type2.png);
}

.example .example_list li:nth-child(6) {
  background: url(../img/online/bk_example_type2.png);
}

.example .example_list li p {
  text-align: center;
  padding-top: 55px;
  font-size: 24px;
  font-weight: bold;
}

.teacher {
  background-color: white;
}

.teacher .title {
  margin: 0 auto;
  height: 100px;
  width: 500px;
  background-image: url('../img/function/img_brackets_before.png'),
    url('../img/function/img_brackets_after.png');
  background-size: auto, auto;
  background-position: top left, bottom right;
  background-repeat: no-repeat;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

.teacher .teacher_shinsa {
  margin: 30px 0;
}

.teacher .teacher_gallery .slick-slide {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0.5;
}

.teacher .slick-slide.slick-center {
  opacity: 1;
  /*透過なし*/
}

.teacher .teacher_gallery_list {
  position: relative;
}

.teacher .teacher_gallery_list img {
  /* width: 90%;
  max-height:500px; */
  margin: 0 30px;
}

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  width: 106px;
  height: 106px;
  background-repeat: no-repeat;
  background-size: 100%;
  top: calc(50% - 53px);
  z-index: 1;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  background-image: url('../img/top/img_arrow_before.png');
  left: 15%;
}

.slick-next {
  /*次へ矢印の位置と形状*/
  background-image: url('../img/top/img_arrow_after.png');
  right: 15%;
}

.pankuzu {
  color: #000000;
  background-color: #f5f5f5;
  word-break: keep-all;
  white-space: nowrap;
}

.pankuzu .pankuzu_wrap {
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.pankuzu span {
  display: inline-block;
  padding: 20px 0;
  font-size: 0.75rem;
  /* background: url(/images/bg_pankuzu01.png) no-repeat center right; */
  text-decoration: none;
}

.pankuzu span:last-child {
  background: none;
  padding-right: 10px;
}
/**************************************************************************/
/********************************Tab****************************************/
/**************************************************************************/
@media screen and (min-width: 769px) and (max-width: 959px) {
  .online .beginning .rsrs {
    width: 260px;
  }
  .online .beginning .m60 p {
    font-size: 76.75%;
  }
  .example .block .flex_container {
    flex-direction: column;
    align-items: center;
  }
  .example .block .flex_container img {
    margin-bottom: 20px;
  }
  .online .example .flex_container .list_2line {
    margin-left: 0px;
    padding: 10px;
  }
}

/**************************************************************************/
/********************************SP****************************************/
/**************************************************************************/
@media screen and (max-width: 768px) {
  .list_2line li,
  .online .appli .list_2line li,
  .online .beginning .rsrs {
    width: 100%;
  }

  .online .beginning .list_3line p {
    font-size: 194%;
  }

  .online .example .flex_container .list_2line,
  .online .example li:nth-child(2n) {
    margin-left: 0;
  }

  .example .flex_container > p {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
  }

  .online .example li {
    background-color: #fff;
  }

  .online .example li:nth-child(2n) {
    background-color: #ffe539;
  }

  .online .example li:last-child {
    margin-bottom: 0;
  }

  .online .appli li:nth-child(1)::after,
  .online .appli li:nth-child(2)::after,
  .online .appli li:nth-child(3)::after,
  .online .appli li:nth-child(4)::after {
    background-image: url(../img/function/img_story_arrow.png);
    transform: rotate(90deg);
    left: calc(50% - 15px);
    bottom: -57px;
  }

  .online .appli li:nth-child(4)::after {
    display: none;
  }

  .online .appli .list_2line li:nth-child(3) {
    order: 3;
  }

  .online .appli .list_2line li:nth-child(4) {
    order: 4;
  }

  .online .l_orange {
    padding-left: 20px;
    padding-right: 20px;
  }

  .slick-prev,
  .slick-next {
    position: absolute;
    width: 19%;
    height: 19%;
    z-index: 1;
    top: calc(50% - 13%);
  }

  .slick-prev {
    left: 0%;
  }

  .slick-next {
    right: 0%;
  }

  .online .teacher_gallery_list p:nth-child(1) {
    margin-top: 2.5em;
    margin-left: 1.5em;
    margin-right: 1.5em;
  }

  .online .l_orange h3 {
    font-size: 175%;
    line-height: 150%;
    padding-bottom: 1em;
  }

  .online .l_orange .border_orange {
    padding-top: 2em;
  }

  .online .l_orange .border_orange p {
    font-size: 140%;
    letter-spacing: 0;
    margin-bottom: 1em;
    line-height: 150%;
  }

  .online .l_orange h4 {
    font-size: 175%;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .online .l_orange .border_orange li {
    width: 100%;
    font-size: 130%;
    letter-spacing: 0;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .online .appli .list_2line {
    padding-left: 0;
    padding-right: 0;
  }

  .online .appli .list_2line li h3 {
    background-position: top center;
    padding: 120px 0 1em 0;
    margin-left: 0;
    text-align: center;
  }

  .online .appli .list_2line li:nth-child(4) h3 {
    padding-top: 120px;
  }

  .online .appli .list_2line li.rsrs {
    border-radius: 20px 0 20px 0;
  }

  .online .teacher_gallery_list p:nth-child(3) {
    font-size: 125%;
    margin-left: 2em;
    margin-right: 2em;
  }

  .online .example {
    margin-bottom: 3.33em;
  }

  .online .example li {
    margin-bottom: 2em;
    font-size: 130%;
  }

  .online .beginning .endtext {
    margin: 2.5em auto;
  }

  .online .teacher_gallery {
    margin-bottom: 4em;
  }
}
/*** structure ***/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
@media screen and (max-width: 959px) {
  .pc {
    display: none !important;
    /* display: block; */
  }

  .sp {
    display: block !important;
  }
}
