/*
トップページ用CSS
*/
/*全体*/
.wrapper-top {
  padding-top: 0;
}
.h2-top {
  position: relative;
  display: block;
  padding-left: 20px;
  font-size: 3.6rem;
}
.h2-top::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 18px;
  height: 17px;
  background: url('../images/common/deco_three_squares.png') no-repeat center / contain;
}
.h2-top>span {
  display: block;
  font-size: 1.8rem;
  color: #2A1D75;
}
.h3-top {
  display: block;
  margin: 0;
  font-size: 3.2rem;
  color: #2A1D75;
}
.h3-top span {
  display: block;
  font-size: 2.1rem;
  color: #000;
}
.h3-top::after {
  content: "";
  position: relative;
  display: block;
  width: 90px;
  height: 2px;
  background: rgba(42,29,117,0.6);
  margin-top: 15px;
}
/*news*/
.wrap-top-news {
  position: relative;
  display: block;
  background: #DFE4EB;
  padding: 60px 0;
}
.box-top-news {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
}
.en-top-tate {
  position: absolute;
  display: block;
  left: 0px;
  top: 30px;
  margin: 0;
  font-size: 1.7rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.en-top-tate::after {
  content: "";
  position: absolute;
  height: 300px;
  width: 1px;
  background: #000;
  left: 10px;
  top: 55px;
}
.news-list {
  display: none;
}
.news-list.news-list-select {
  display: flex;
}
/*features*/
.sec-top {
  padding: 60px 0;
}
.sec-top-features {
  position: relative;
  display: block;
  background: url('../images/common/bg_rainbow.png') no-repeat center / cover;
  padding-bottom: 80px;
  padding-top: 90px;
}
.sec-top-features::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 250px;
  bottom: 0;
  margin: auto;
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
.sec-top-features .en-top-tate {
  top: -10px;
}
.sec-top-features .en-top-tate::after {
  top: 80px;
}
.wrap-top-features {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}
.box-top-features {
  padding-top: 10px;
}
.wrap-top-features .h2-top {
  max-width: 1200px;
  margin: 0 auto 30px;
}
.item-top-features-imgtxt {
  position: relative;
  display: block;
  padding: 10px 0;
  margin-bottom: 120px;
}
.img-top-features {
  position: relative;
  display: block;
  width: 100%;
  padding-right: 20%;
  height: auto;
}
.txt-top-features {
  position: absolute;
  display: block;
  background: #fff;
  bottom: -60px;
  right: 0;
  padding: 40px 45px 20px;
  max-width: 630px;
  width: 50%;
}
.txt-top-features p.txt-cmn-16 {
  margin: 15px 0 5px;
}
.item-top-features-imgtxt.item-top-features-imgtxt-rev .img-top-features {
  padding-left: 20%;
  padding-right: 0;
}
.item-top-features-imgtxt.item-top-features-imgtxt-rev .txt-top-features {
  right: auto;
  left: 0px;
}
.item-top-features-renkei {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.item-top-features-renkei .txt-top-features {
  position: relative;
  display: block;
  width: 100%;
  max-width: 900px;
  bottom: 0;
  right: 0;
  padding: 30px 45px 20px;
}
.box-top-features-renkei {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 40px;
}
.box-top-features-renkei .h3-top {
  width: 150px;
}
.box-top-features-renkei p.txt-cmn-16 {
  width: calc(100% - 180px);
  margin-top: 5px;
  padding-right: 40px;
}

/*event*/
.sec-top-event {
  padding: 60px 0 0;
  background: #fff;
}
.wrap-top-event {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
}
.sec-top-event .en-top-tate {
  top: -10px;
}
.sec-top-event .en-top-tate::after {
  top: 110px;
}
.box-top-event {
  position: relative;
  display: block;
  background: #DFE4EB;
  padding: 35px 40px 45px;
}
.box-top-event .h3-top {
  padding: 0 0 25px;
  text-align: center;
  font-size: 3.2rem;
  color: #000;
}
.box-top-event .h3-top::after {
  content: none;
}
.j-box-top-event, .s-box-top-event {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}
.j-box-top-event+.wrap-btn-single {
  padding-bottom: 40px;
}
.s-box-top-event {
  border-top: #000000 1px solid;
  padding-top: 40px;
}
.box-top-event .wrap-btn-single {
  padding-top: 30px;
}
.top-event-list {
  position: relative;
  width: calc(100% / 3 - 15px);
  background: #fff;
  border: 1px solid #086719;
  border-left-width: 8px;
  font-weight: bold;
}
.top-event-list-dummy {
  width: calc(100% / 3 - 15px);
  height: 1px;
}
.s-box-top-event .top-event-list {
  border-color: #2A1D75;
}
.top-event-list::before {
  position: absolute;
  right: 7px;
  top: 7px;
  padding: 4px 10px 3px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}
.j-box-top-event .top-event-list::before {
  content: "中学";
  background: #086719;
}
.s-box-top-event .top-event-list::before {
  content: "高校";
  background: #2A1D75;
}
.inner-top-event-list, .top-event-list a {
  position: relative;
  display: block;
  padding: 13px;
  color: #000;
}
.date-top-event-list {
  font-size: 2.2rem;
}
.date-top-event-list span {
  font-size: 1.6rem;
}
.time-top-event-list {
  height: 26px;
  font-size: 1.6rem;
}
.ttl-top-event-list {
  padding: 5px 0 0 0;
  color: #086719;
  font-size: 2.2rem;
  line-height: 1.2;
}
.s-box-top-event .ttl-top-event-list {
  color: #2A1D75;
}
.top-event-list a::before {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 6px;
  background: url('../images/common/btn_arrow_black_circle.png') no-repeat center / contain;
  bottom: 18px;
  right: 22px;
  margin: auto;
  transition: 0.3s all;
}
.top-event-list a::after {
  content: "";
  position: absolute;
  display: block;
  width: 23px;
  height: 23px;
  background: rgba(42,29,117,0.5);
  bottom: 10px;
  right: 14px;
  margin: auto;
  border-radius: 100px;
  transition: 0.3s all;
}
.top-event-list a:hover::before {
  right: 18px;
}
.top-event-list a:hover::after {
  width: 32px;
  height: 32px;
  background: rgba(42,29,117,0.2);
  right: 5px;
  bottom: 5px;
}
.j-box-top-event .top-event-list a::after {
  background: rgba(8,103,25,0.5);
}
.j-box-top-event .top-event-list a:hover::after {
  background: rgba(8,103,25,0.2);
}
.top-event-list-nolist {
  position: relative;
  display: block;
  width: 100%;
  font-size: 1.5rem;
  text-align: center;
}
/*pamph*/
.wrap-top-pamph,.wrap-top-imgbnr,.wrap-top-otherbnr {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 50px 0;
}
.wrap-top-imgbnr {
  padding: 0 0 50px;
}
.wrap-top-otherbnr {
  row-gap: 20px;
  padding: 0;
}
.item-top-pamph {
  position: relative;
  display: block;
  width: calc(50% - 40px);
  height: 200px;
}
.item-top-imgbnr {
  position: relative;
  display: block;
  width: calc(20% - 20px);
  height: 150px;
}
.dummy-top-imgbnr {
  width: calc(20% - 20px);
  height: 1px;
}
.item-top-pamph .img-top-pamph,
.item-top-imgbnr .img-top-imgbnr {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-top-pamph .txt-top-pamph,
.item-top-imgbnr .txt-top-imgbnr {
  position: absolute;
  display: block;
  width: 100%;
  height: auto;
  bottom: 0;
  padding: 10px 8px 8px;;
  background: rgba(0,0,0,0.4);
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.8rem;
  transition: 0.3s all;
}
.item-top-imgbnr .txt-top-imgbnr {
  min-height: 60px;
  font-size: 1.6rem;
  text-align: left;
  line-height: 1.3;
}
.item-top-pamph:hover .txt-top-pamph,
.item-top-imgbnr:hover .txt-top-imgbnr {
  background: rgba(0,0,0,0.8);
}
.item-top-otherbnr,.item-top-otherbnr-dummy {
  position: relative;
  display: block;
  width: calc(25% - 20px);
}
/*-------------------------------------------------
break point 1200px 
--------------------------------------------------*/
@media only screen and (max-width: 1200px) {
  .item-top-imgbnr {
    width: calc(20% - 15px);
  }
}
/*-------------------------------------------------
break point 1100px 
--------------------------------------------------*/
@media only screen and (max-width: 1100px) {
  .h2-top {
    font-size: 3.2rem;
  }
  .h2-top span {
    font-size: 1.7rem;
  }
  .sec-top{
    padding: 40px 0 80px;
  }
  .sec-top-event {
    padding-bottom: 0;
  }
  /*features*/
  .sec-top.sec-top-features {
    padding: 60px 0;
  }
  .txt-top-features {
    width: 80%;
    bottom: -140px;
    top: auto;
    max-width: 700px;
    padding: 40px 35px 20px;
  }
  .item-top-features-imgtxt {
    margin-bottom: 200px;
  }
  .item-top-features-imgtxt:nth-of-type(4){
    margin-bottom: 210px;
  }
  .item-top-features-renkei .txt-top-features {
    top: 0;
  }
  /*event*/
  .box-top-event {
    padding: 30px 60px 40px ;
  }
  .box-top-event .h3-top {
    padding-bottom: 15px;
    font-size: 2.8rem;
  }
  .top-event-list {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }
  .top-event-list-dummy {
    display: none;
  }
  .j-box-top-event, .s-box-top-event {
    row-gap: 20px;
  }
  /*bnr*/
  .item-top-pamph {
    width: calc(50% - 20px);
  }
  .wrap-top-imgbnr {
    padding-bottom: 10px;
  }
  .item-top-imgbnr {
    margin-bottom: 25px;
  }
  .item-top-imgbnr, .dummy-top-imgbnr {
    width: calc(100% / 3 - 20px);
  }
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .news-cat {
    scrollbar-color: #fff #DFE4EB;
  }
  .en-top-tate {
    display: none;
  }
  .box-top-news,
  .wrap-top-features,
  .box-passachieve,
  .wrap-top-event {
    padding: 0 20px;
  }
  /*news*/
  .wrap-top-news {
    padding: 40px 0;
  }
  .wrap-top-news .en-top-tate {
    position: relative;
    display: block;
    top: 0;
    writing-mode: initial;
    font-size: 2.8rem;
  }
  .wrap-top-news .en-top-tate::after {
    content: none;
  }
  /*features*/
  .sec-top.sec-top-features {
    padding: 50px 0;
  }
  .item-top-features-imgtxt,
  .item-top-features-imgtxt:nth-of-type(4)  {
    margin-bottom: 50px;
    padding: 0;
  }
  .img-top-features,
  .item-top-features-imgtxt.item-top-features-imgtxt-rev .img-top-features{
    width: 93%;
    margin: 0 auto;
    padding: 0;
  }
  .txt-top-features {
    position: relative;
    width: 80%;
    max-width: none;
    margin: -70px auto 0;
    top: 0;
    padding: 25px 40px 20px;
  }
  .item-top-features-renkei .txt-top-features {
    margin: 0 auto;
    width: 90%;
    padding: 25px 40px 20px;
  }
  .txt-top-features .h3-top {
    text-align: center;
    font-size: 2.8rem;
  }
  .txt-top-features .h3-top span {
    font-size: 1.8rem;
  }
  .sec-top-features::before {
    height: 100px;
  }
  .h3-top::after {
    margin: 15px auto 0;
  }
  .item-top-otherbnr, .item-top-otherbnr-dummy {
    width: calc(25% - 10px);
  }
}
/*-------------------------------------------------
break point 800px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 800px) {
  .wrap-top-pamph {
    padding: 40px 0 30px;
    row-gap: 30px;
  }
  .item-top-pamph {
    width: 100%;
  }
  .item-top-imgbnr, .dummy-top-imgbnr {
    width: calc(100% / 3 - 15px);
  }
  .item-top-imgbnr .txt-top-imgbnr {
    min-height: 55px;
    padding: 8px 8px 6px;
    font-size: 1.5rem;
  }
  .wrap-top-otherbnr {
    padding-top: 0;
  }
}
/*-------------------------------------------------
break point 700px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 700px) {
  .sec-top {
    padding: 30px 0 50px;
  }
  .sec-top-event {
    padding-bottom: 0;
  }
  .h2-top {
    padding-left: 15px;
    font-size: 2.6rem;
  }
  .h2-top span {
    font-size: 1.6rem;
  }
  .h2-top::before {
    width: 15px;
    height: 15px;
  }
  /*features*/
  .item-top-features-imgtxt, .item-top-features-imgtxt:nth-of-type(4) {
    margin-bottom: 40px;
  }
  .txt-top-features .h3-top {
    font-size: 2.6rem;
    line-height: 1.4;
  }
  .txt-top-features .h3-top span {
    font-size: 1.7rem;
  }
  .img-top-features, .item-top-features-imgtxt.item-top-features-imgtxt-rev .img-top-features {
    width: 100%;
  }
  .box-top-features-renkei {
    display: block;
  }
  .box-top-features-renkei .h3-top,.box-top-features-renkei p.txt-cmn-16 {
    width: 100%;
  }
  .box-top-features-renkei p.txt-cmn-16 {
    padding: 10px 0 0 0;
  }
  .txt-top-features,.item-top-features-renkei .txt-top-features {
    width: calc(100% - 50px);
  }
  .item-top-features-renkei .txt-top-features {
    padding: 25px 40px 20px;
  }
  /*event*/
  .box-top-event {
    margin-top: 50px;
    padding: 40px 30px 40px;
  }
  .box-top-event .h3-top {
    position: absolute;
    top: -20px;
    right: 0;
    left: 0;
    margin: auto;
    padding: 0;
    font-size: 2.4rem;
  }
  .j-box-top-event, .s-box-top-event {
    row-gap: 15px;
  }
  .date-top-event-list {
    font-size: 2rem;
  }
  .time-top-event-list {
    font-size: 1.5rem;
  }
  .ttl-top-event-list {
    padding: 0;
    font-size: 2rem;
  }
  /*bnr*/
  .item-top-pamph {
    height: 180px;
  }
  .item-top-imgbnr {
    width: calc(50% - 15px);
  }
  .item-top-otherbnr {
    width: calc(50% - 15px);
  }
  .item-top-otherbnr-dummy, .dummy-top-imgbnr {
    display: none;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .h2-top {
    font-size: 2.4rem;
  }
  .h2-top span {
    font-size: 1.4rem;
  }
  /*news*/
  .box-top-news, .wrap-top-features, .box-passachieve, .wrap-top-event {
    padding: 0 15px;
  }
  .wrap-top-news .en-top-tate {
    font-size: 2.4rem;
  }
  /*features*/
  .sec-top.sec-top-features {
    padding: 40px 0;
  }
  .sec-top-features::before {
    height: 30px;
  }
  .wrap-top-features {
    overflow: hidden;
    padding-bottom: 15px;
  }
  .txt-top-features {
    margin-top: -25px;
    width: 100%;
  }
  .txt-top-features,.item-top-features-renkei .txt-top-features {
    padding: 25px 20px 15px;
    width: 100%;
  }
  .txt-top-features .h3-top {
    font-size: 2.4rem;
  }
  .txt-top-features .h3-top span {
    padding-top: 3px;
    font-size: 1.6rem;
  }
  .img-top-features, .item-top-features-imgtxt.item-top-features-imgtxt-rev .img-top-features {
    width: 100vw;
    height: 200px;
    object-fit: cover;
    margin: 0 calc(50% - 50vw);
  }
  /*event*/
  .wrap-top-event {
    overflow: hidden;
  }
  .box-top-event .h3-top {
    font-size: 2.2rem;
  }
  .box-top-event {
    width: 100vw;
    margin: 40px calc(50% - 50vw) 0;
    padding: 40px 20px 15px;
  }
  .box-top-event .wrap-btn-single {
    padding: 25px 0;
  }
  .s-box-top-event {
    padding-top: 30px;
  }
  /*bnr*/
  .item-top-pamph {
    height: 130px;
  }
  .item-top-pamph .txt-top-pamph {
    font-size: 1.5rem;
  }
  .item-top-imgbnr {
    height: 120px;
  }
  .item-top-imgbnr, .dummy-top-imgbnr {
    position: relative;
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
  .item-top-imgbnr .txt-top-imgbnr {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 1.5;
  }
  .wrap-top-otherbnr {
    row-gap: 15px;
    padding-top: 25px;
  }
  .item-top-otherbnr {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}