/*-------------------------------------------------------
  StudyGroupToplayout
-------------------------------------------------------*/
/* ===== SP ===== */
body {
  background-image: url(/image/common/bg_plus_top.svg), url(/image/common/bg_gradation.jpg);
  background-position: right 5% top 80px, right -50px top;
  background-size: 100px 80px, 100% auto;
  background-repeat: no-repeat;
}

.mainContents {
  width: 100%;
}

.mainContents__wrapper {
  padding: 0;
}

.mainContents__outer {
  position: relative;
  height: 800px;
}

.mainContents__title-outer {
  background-image: url(/image/study-group/study-group_img_mainvisual.png);
  background-repeat: no-repeat;
  background-position: top 100px left calc(50% + 120px);
  background-size: auto 160px;
  height: 260px;
}

.mainContents__title-wrapper {
  margin-bottom: 30px;
  padding: 0 20px;
}

.mainContents__text-wrapper {
  width: 300px;
  padding: 32px 32px 16px;
  background-color: rgba(255, 243, 241, 0.7);
  border-radius: 10px;
}

.mainContents__text {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.mainContents__text:last-child {
  margin-bottom: 0;
}

.mainContents__text-outer {
  position: absolute;
  top: 232px;
  left: 20px;
}

.mainContents__strong {
  font-weight: bold;
  color: #ff573d;
}

.studyGroup__wrapper {
  display: block;
  margin: 40px 0 64px;
  padding: 0 20px;
}

.studyGroup__list-item {
  margin-bottom: 24px;
}

.studyGroup__list-a {
  font-size: 16px;
  letter-spacing: 0.03em;
  padding-left: 30px;
  margin: 8px 0 0;
  line-height: 1.3;
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #000;
}

.studyGroup__list-a:hover {
  text-decoration: none;
  color: #000;
}

.studyGroup__list-a::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 100%;
  background-color: #ff573d;
  box-sizing: border-box;
  background-image: url(/image/common/icon_nav_arrow_white.svg);
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: 6px 9px;
  transform: rotate(-90deg);
  margin-left: -30px;
  top: -2px;
}









/* ===== tablet ===== */
@media screen and (min-width:768px) {
  body {
    background-image: url(/image/common/bg_gradation.jpg);
    background-position: right top;
    background-size: 830px 896px;
    background-repeat: no-repeat;
  }

  .breadCrumb {
    margin-bottom: 0;
  }

  .mainContents__wrapper {
    margin-top: 0;
  }

  .mainContents__outer {
    position: relative;
    height: 630px;
    padding-top: 30px;
  }

  .mainContents__outer::before {
    content: "";
    background-image: url(/image/common/bg_plus_top.svg);
    right: 5%;
    top: -7px;
    background-size: 100px 80px;
    width: 100px;
    height: 80px;
    background-repeat: no-repeat;
    position: absolute;
  }

  .mainContents__outer::after {
    content: "";
    background-image: url(/image/common/bg_plus_bottom.svg);
    left: 10%;
    bottom: -10px;
    background-size: 48px 48px;
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    position: absolute;
  }

  .mainContents__title-outer {
    background-image: url(/image/study-group/study-group_img_mainvisual.png);
    background-repeat: no-repeat;
    background-position: top left calc(50% + 320px);
    background-size: auto 260px;
    height: 260px;
  }

  .mainContents__text-outer {
    width: 768px;
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
  }

  .mainContents__title-wrapper {
    width: 768px;
    margin: 0 auto 56px;
    padding: 24px 0 0 5px;
  }

  .studyGroup__wrapper,
  .mainContents__text-outer {
    width: 768px;
    margin: 0 auto;
  }

  .mainContents__text-wrapper {
    width: 740px;
    padding: 40px;
    border-radius: 10px;
  }

  .mainContents__text {
    line-height: 2;
  }

  .studyGroup__wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
  }

  .studyGroup__list-item {
    padding-right: 24px;
  }

  .studyGroup__list-item:nth-of-type(3n) {
    padding-right: 0;
  }

  .studyGroup__list-item {
    width: calc(100% / 3);
  }
}



/* ===== PC ===== */
@media screen and (min-width:1024px) {

  .studyGroup__wrapper,
  .mainContents__title-wrapper {
    width: 1000px;
  }

  .mainContents__outer {
    position: relative;
    height: 590px;
    padding-top: 30px;
  }

  .mainContents__title-outer {
    background-image: url(/image/study-group/study-group_img_mainvisual.png);
    background-repeat: no-repeat;
    background-position: top left calc(50% + 390px);
    background-size: auto 320px;
    background-color: #fff;
    height: 320px;
  }

  .mainContents__outer::after {
    bottom: 30px;
  }


  .mainContents__text-outer {
    width: 1000px;
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
  }

  .mainContents__text-wrapper {
    width: 920px;
    padding: 40px;
    border-radius: 10px;
  }

  .mainContents__text {
    font-size: 17px;
  }

  .studyGroup__wrapper {
    margin: 0 auto;
  }
}