/*
中学の学び用CSS
*/
.blue-catch-pc {
  
}
.area-junior-tokucho {
  background: url('../images/junior/bg_junior_tokucho.png') no-repeat top / 100% 100% ;
  padding: 80px 0;
}
.wrap-junior-ikkan {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 50px;
}
.item-junior-ikkan {
  position: relative;
  display: block;
  width: calc(100% / 3 - 25px);
  background: rgba(255,255,255,0.6);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
  padding: 30px 20px 25px;
}
.h3-ikkan {
  position: relative;
  display: block;
  margin: 0 0 10px;
  text-align: center;
  color: #00410C;
  font-size: 2rem;
  line-height: 1.4;
}
.item-junior-ikkan img {
  padding: 5px 0 15px;
}
.item-junior-ikkan .h3-ikkan::after {
  content: "01";
  position: absolute;
  display: block;
  top: -60px;
  right: -5px;
  font-size: 5rem;
  opacity: 0.15;
  color: #086719;
  font-family: 游明朝, "Yu Mincho", 游明朝体, YuMincho, HGS明朝E, HG明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif !important;
}
.item-junior-ikkan:nth-of-type(2) .h3-ikkan::after {
  content: "02";
}
.item-junior-ikkan:nth-of-type(3) .h3-ikkan::after {
  content: "03";
}
/*roadmap*/
.box-junior-roadmap-s,.box-junior-roadmap-last{
  position: relative;
  padding-top: 70px;
}
.box-junior-roadmap-s::before,.box-junior-roadmap-last::before {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 50px;
  background: url('../images/junior/arrow_shita.png') no-repeat center / contain;
  top: 15px;
  left: 0;
  right: 0;
  margin: auto;
}
.item-junior-roadmap {
  position: relative;
  display: block;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
  padding: 40px 20px;
}
.item-junior-roadmap::before {
  content: 'Road Map';
  position: absolute;
  top: -35px;
  right: 20px;
  font-size: 4.5rem;
  color: #086719;
  opacity: 0.15;
  font-family: 游明朝, "Yu Mincho", 游明朝体, YuMincho, HGS明朝E, HG明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif !important;
}
.h3-roadmap {
  position: relative;
  display: block;
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 2.2rem;
  color: #00410C;
}
.box-junior-roadmap-s .h3-roadmap {
  color: #2A1D75;
}
.box-junior-roadmap-last .h3-roadmap {
  color: #000;
}
.h3-roadmap span.txt-under-yellow {
  padding: 0 5px;
}
.gakunen-roadmap {
  position: relative;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #086719;
}
.item-gakunen-roadmap {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: calc(100% / 3);
  padding: 10px 0;
}
.item-gakunen-roadmap::before,
.item-gakunen-roadmap::after {
  content: "";
  position: absolute;
  top: calc(50% - 0px);
  right: -15px;
  width: 60px;
  height: 1px;
  border-radius: 9999px;
  background-color: #086719;
  transform-origin: calc(100% - 0px) 50%;
}
.item-gakunen-roadmap::before {
  transform: rotate(55deg);
}
.item-gakunen-roadmap::after {
  transform: rotate(-55deg);
}
.box-junior-roadmap-s .item-gakunen-roadmap::before,
.box-junior-roadmap-s .item-gakunen-roadmap::after {
  background-color: #2A1D75;
}
.item-gakunen-roadmap:last-of-type::before,
.item-gakunen-roadmap:last-of-type::after {
  content: none;
}
.txt-gakunen-rm {
  font-size: 2rem;
}
.txt-gakunen-rm span{
  position: relative;
  top: 2px;
  padding: 0 2px;
  font-size: 3.2rem;
}
.subtxt-gakunen-rm {
  font-size: 1.6rem;
}
.box-junior-roadmap-j .txt-gakunen-rm {
  color: #00410C;
}
.box-junior-roadmap-s .txt-gakunen-rm {
  color: #2A1D75;
}
.table-roadmap {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  padding-top: 10px;
}
.cell-roadmap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 90px;
  gap: 35px;
}
.name-cell-roadmap {
  position: relative;
  display: block;
  width: calc(100% / 3);
  padding: 0 15px 0 30px;
  font-size: 2rem;
}
.pink .name-cell-roadmap {
  color: #5D0000;
}
.green .name-cell-roadmap {
  color: #00380A;
}
.brown .name-cell-roadmap {
  color: #504B00;
}
.blue .name-cell-roadmap {
  color: #00444B;
}
.txt-cell-roadmap {
  position: relative;
  display: block;
  width: calc(100% / 3 * 2);
  padding: 0 20px;
}
.cell-roadmap .bg-rm {
  position: absolute;
  display: flex;
  justify-content: space-between;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.cell-roadmap .bg-rm .rm-w100 {
  width: 100%;
}
.cell-roadmap .bg-rm .rm-w33 {
  width: calc(100% / 3 - 15px);
}
.cell-roadmap .bg-rm .rm-w66 {
  width: calc(100% / 3 * 2 - 10px);
}
.cell-roadmap.pink .bg-rm span {
  background: #FFE2E2;
}
.cell-roadmap.green .bg-rm span {
  background: #CEE1D1;
}
.cell-roadmap.brown .bg-rm span {
  background: #E1DFCE;
}
.cell-roadmap.blue .bg-rm span {
  background: #CEDFE1;
}
.cell-roadmap .bg-rm span.rm-fl,
.fl-name-cell-roadmap {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  background: none;
}
.fl-name-cell-roadmap {
  padding: 5px 0;
  text-align: center;
}
.cell-roadmap.pink .fl-name-cell-roadmap {
  width: calc(100% / 3 - 15px);
  padding: 0;
}
.cell-roadmap.brown .fl-name-cell-roadmap,
.cell-roadmap.blue .fl-name-cell-roadmap {
  width: calc(100% / 3 * 2 - 10px);
  padding: 0;
}
.cell-roadmap .bg-rm span.rm-fl span {
  height: 50%;
}
.fl-name-cell-roadmap .name-cell-roadmap {
  width: 100%;
  padding: 10px 15px 6px;
  font-size: 1.6rem;
}
.notice-roadmap {
  padding-top: 5px;
  font-size: 1.4rem;
}
/*コース紹介*/
.sec-junior-cource {
  background: #ECF3EE;
  padding: 60px 0;
}
.h2-cource {
  position: relative;
  display: block;
  margin: 0;
  text-align: center;
  font-size: 3.4rem;
  color: #003C0B;
}
.subtxt-h2-cource {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
  padding-bottom: 30px;
  font-size: 2rem;
}
.wrap-co-gro {
  border-top: 1px solid #000;
}
.wrap-co {
  border-bottom: 1px solid #000;
  padding: 40px 0 50px;
}
.h3-cource {
  position: relative;
  margin: 0;
  font-size: 3rem;
  color: #5D0000;
}
.wrap-co-adv .h3-cource {
  color: #00380A;
}
.h3-cource span {
  padding-left: 10px;
  font-size: 2rem;
  letter-spacing: 1px;
}
.subtxt-h3-cource {
  position: relative;
  display: block;
  padding: 5px 0 10px 35px;
  font-size: 2rem;
  font-weight: bold;
}
.subtxt-h3-cource::before {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 1px;
  background: #000;
  left: 0;
  top: 20px;
  margin: auto;
}
.box-co-imgtxt {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 30px;
}
.box-co-imgtxt .txt-cmn-16 {
  width: 50%;
}
.box-co-imgtxt .txt-cmn-16 .txt-under-yellow {
  font-weight: bold;
}
.box-co-imgtxt img {
  width: calc(50% - 40px);
}
#global, #advanced-mastery {
  scroll-margin-top: 100px;
}
.wrap-notice-scroll {
  display: none;
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .wrap-junior-ikkan {
    row-gap: 50px;
  }
  .item-junior-ikkan {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .item-junior-ikkan img {
    display: block;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }
  .h3-roadmap {
    font-size: 2rem;
  }
  .h3-roadmap span.txt-under-yellow {
  }
  .item-gakunen-roadmap {
    padding: 5px 0;
  }
  .txt-gakunen-rm {
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .txt-gakunen-rm span {
    font-size: 2.4rem;
  }
  .subtxt-gakunen-rm {
    font-size: 1.4rem;
  }
  .item-gakunen-roadmap::before, .item-gakunen-roadmap::after {
    width: 43px;
  }
  .name-cell-roadmap {
    padding: 0 15px 0 20px;
    font-size: 1.8rem;
  }
  .txt-cell-roadmap {
    font-size: 1.4rem;
  }
  .cell-roadmap {
    gap: 25px;
    min-height: 80px;
  }
  .table-roadmap {
    row-gap: 15px;
  }
  .cell-roadmap .bg-rm .rm-w33 {
    width: calc(100% / 3 - 10px);
  }
  .cell-roadmap .bg-rm .rm-w66 {
    width: calc(100% / 3 * 2 - 5px);
  }
  .fl-name-cell-roadmap .name-cell-roadmap {
    padding: 6px 10px 4px; 
  }
  /*コース紹介*/
  .sec-junior-cource {
    padding: 50px 0;
  }
  .h2-cource {
    font-size: 2.8rem;
  }
  .subtxt-h2-cource {
    font-size: 1.7rem;
  }
  .wrap-co {
    padding: 35px 0 45px;
  }
  .h3-cource {
    font-size: 2.5rem;
  }
  .h3-cource span {
    font-size: 1.6rem;
  }
  .subtxt-h3-cource {
    padding: 0;
    font-size: 1.8rem;
  }
  .subtxt-h3-cource::before {
    content: none;
  }
  .subtxt-h3-cource+.h3-cource {
    padding-top: 10px;
  }
  #global, #advanced-mastery {
    scroll-margin-top: 10px;
  }
}
/*-------------------------------------------------
break point 800px SP
--------------------------------------------------*/
@media only screen and (max-width: 800px) {
  .area-junior-tokucho {
    padding-top: 60px;
    padding-bottom: 30px;
    background-size: 100% 60%;
  }
  .item-junior-roadmap {
    background: none;
    box-shadow: none;
    padding: 20px 0;
  }
  .item-junior-roadmap::before {
    content: none;
  }
  .inner-roadmap {
    width: 100%;
    overflow-x: auto;
  }
  .inner-roadmap-scroll {
    width: 100%;
    min-width: 600px;
  }
  .h3-roadmap {
    margin-bottom: 10px;
    text-align: left;
  }
  .h3-roadmap span.txt-under-yellow {
    background: none;
    padding: 0;
  }
  .box-junior-roadmap-last .h3-roadmap {
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
  }
  .box-junior-roadmap-last .h3-roadmap span.txt-under-yellow {
    background: linear-gradient(transparent 50%, #FCEA7B 50%);
    
  }
  .h3-roadmap-onlypc {
    display: none;
  }
  .txt-gakunen-rm {
    font-size: 1.5rem;
  }
  .subtxt-gakunen-rm {
    font-size: 1.2rem;
  }
  .item-gakunen-roadmap {
    padding: 0;
  }
  .item-gakunen-roadmap::before, .item-gakunen-roadmap::after {
    width: 33px;
  }
  .name-cell-roadmap {
    font-size: 1.6rem;
  }
  .fl-name-cell-roadmap .name-cell-roadmap {
    font-size: 1.4rem;
  }
  .inner-roadmap-s .cell-roadmap.pink .bg-rm + .name-cell-roadmap {
    width: calc(100% / 3 * 2 - 10px);
  }
  .txt-cell-roadmap br {
    display: none;
  }
  .box-junior-roadmap-s, .box-junior-roadmap-last {
    padding-top: 60px;
  }
  .box-junior-roadmap-s::before, .box-junior-roadmap-last::before {
    width: 40px;
    height: 40px;
  }
  .wrap-notice-scroll {
    position: relative;
    display: block;
    padding: 5px 0 8px;
    text-align: right;
  }
  .notice-scroll {
    position: relative;
    display: inline-block;
    padding: 3px 5px 1px;
    border: 1px solid #000;
    font-size: 1.3rem;
  }
  /*コース紹介*/
  .box-co-imgtxt {
    padding-top: 15px;
  }
  .box-co-imgtxt .txt-cmn-16,
  .box-co-imgtxt img {
    width: 100%;
  }
  .box-co-imgtxt .txt-cmn-16 {
    order: 2;
  }
  .box-co-imgtxt img {
    order: 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 20px;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .blue-catch-pc {
    display: none;
  }
  .area-junior-tokucho {
    padding-bottom: 40px;
    padding-bottom: 25px;
  }
  .item-junior-ikkan {
    padding: 30px 13px 25px;
  }
  .item-junior-ikkan .h3-ikkan::after {
    top: -50px;
    font-size: 4rem;
  }
  /*コース紹介*/
  .sec-junior-cource {
    padding: 40px 0;
  }
  .h2-cource {
    font-size: 2.4rem;
  }
  .subtxt-h2-cource {
    padding-bottom: 10px;
    font-size: 1.5rem;
  }
  .wrap-co {
    padding: 30px 0 40px;
  }
  .h3-cource {
    text-align: center;
    font-size: 2.3rem;
    line-height: 1.4;
  }
  .h3-cource span {
    display: block;
    padding: 0;
    font-size: 1.4rem;
  }
  .subtxt-h3-cource {
    padding-top: 10px;
    font-size: 1.7rem;
  }
  .subtxt-h3-cource+.h3-cource {
    padding-top: 15px;
  }
}