/*
教科ガイド用CSS
*/
.area-page-contents-subj {
  padding-top: 70px;
  row-gap: 70px;
}
.wrap-sbj-imgtxt {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0 0;
}
.txt-sbj {
  width: calc(60% - 20px);
}
.img-sbj {
  width: calc(40% - 40px);
}
.txt-sbj  .txt-cmn-16 + .h3-cmn {
  padding-top: 25px;
}
.box-subj-color {
  position: relative;
  display: block;
  background: #FAECEF;
  padding: 23px 30px;
  margin-top: 30px;
}
.box-subj-color ul li {
  position: relative;
  list-style: disc;
  margin-left: 25px;
  padding-bottom: 4px;
}
.item-eng .h2-line-en .white-area,
.item-eng .h2-line-en .white-area .txt-en {
  color: #872F30;
}
.item-japanese .h2-line-en .white-area,
.item-japanese .h2-line-en .white-area .txt-en {
  color: #7A4C24;
}
.item-japanese .box-subj-color {
  background: #F8EEE3;
}
.item-math .h2-line-en .white-area,
.item-math .h2-line-en .white-area .txt-en {
  color: #244F7A;
}
.item-math .box-subj-color {
  background: #EEF0F8;
}
.item-ss .h2-line-en .white-area,
.item-ss .h2-line-en .white-area .txt-en {
  color: #7A6524;
}
.item-ss .box-subj-color {
  background: #F4F4DD;
}
.item-science .h2-line-en .white-area,
.item-science .h2-line-en .white-area .txt-en {
  color: #347A24;
}
.item-science .box-subj-color {
  background: #E9F5EC;
}
.item-eco .box-subj-color {
  background: #F2F2F2;
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .area-page-contents-subj {
    padding-top: 55px;
    row-gap: 55px;
  }
  .txt-sbj {
    width: calc(60% - 20px);
  }
  .img-sbj {
    width: calc(40% - 20px);
  }
  .box-subj-color {
    padding: 23px 25px;
  }
  .box-subj-color ul li {
    font-size: 1.5rem;
  }
}
/*-------------------------------------------------
break point 800px SP
--------------------------------------------------*/
@media only screen and (max-width: 800px) {
  .img-sbj {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 30px;
    order: 1;
  }
  .txt-sbj {
    width: 100%;
    order: 2;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .area-page-contents-subj {
    padding-top: 40px;
    row-gap: 45px;
  }
  .wrap-sbj-imgtxt {
    padding-top: 0;
  }
  .img-sbj {
    padding-bottom: 20px;
  }
  .box-subj-color {
    padding: 20px 13px;
    margin-top: 20px;
  }
  .wrap-sbj-imgtxt .h3-cmn {
    padding-bottom: 8px;
    line-height: 1.5;
  }
}
/*-------------------------------------------------
break point 480px SP
--------------------------------------------------*/
@media only screen and (max-width: 480px) {
  
}