@charset "UTF-8";
/* CSS Document */
/*＝＝＝＝＝共通項目：ここから＝＝＝＝＝*/
#contents a{
  text-decoration: none;
}
#contents{
  width: 990px;
  margin: 0 auto;
  text-align: justify;
  letter-spacing: 0.1em;
}
@media only screen and (max-width: 750px){
  #contents{
    width:auto;
    margin:0 auto;
    text-align: justify;
    padding:0 5%;
  }
}
/*見出しタイトル*/
.title{
  border-bottom: 2px solid #00b0ff;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 45px;
}
.title .t_name{
  width: 48%;
  text-align: left;
  position: relative;
  height: 70px;
}
.title .t_name h3{
  position: absolute;
  top: 50%;
  -webkit-transform : translate(0%,-50%);
  transform : translate(0%,-50%);
}

.title .t_name h3{
  font-weight: bold;
  font-size: 22px;
  color: #000;
  position: relative;
  padding-left: 50px;
  display: inline-block;
}
.title .t_name h3:before{
  content: "";
  background: #fff url("../subtext/img/icon_book.png") no-repeat 100% center;
  background-size: contain;
  vertical-align: middle;
  width: 41px;
  height: 29px;
  position: absolute;
  top: 15%;
  left: 1px;
  display: inline-block;
}
@media only screen and (max-width: 750px){
  .title{
    display: block;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }
  .title .t_name{
    width: 100%;
    text-align: center;
    height: auto;
  }
  .title .t_name h3{
    font-size: 18px;
    -webkit-transform: translate(0%,0%);
    transform: translate(0%,0%);
    padding-left: 40px;
  }
  .title .t_name h3:before{
    width: 31px;
    height: 19px;
  }
}
/*タイトル横リンクボタン*/
.title .t_btn {
  width: 370px;
}
.title .t_btn a{
  font-size: 15px;
  letter-spacing: 0.01em;
  text-align: center;
  display: block;
  font-weight: bold;
  padding: 15px 0;
  background: #00b0ff url("../subtext/img/btn_arrow02.png") no-repeat 95% center;
  background-size: 7px auto;
  color: #FFF;
  border-radius: 50px;
  line-height: 1.2;
}
.title .t_btn a span {
  font-size: 12px;
}
@media only screen and (max-width: 750px){
.title .t_btn {
  width: auto;
  margin: 15px 0 0;
}
  .title .t_btn a{
  font-size: 12px;
  width: auto;
  margin: 0 auto;
  padding: 7px 0;
  background-size: 5px auto;
  }
}
/*flexコンテナ*/
.text_details .container{
  display: flex;
  flex-wrap: wrap;
}
.text_details .container .item{
  text-align: center;
  width: 150px;
  box-sizing: border-box;
  margin-right: 130px;
}
.text_details .container .item:nth-of-type(4n){
  margin-right: 0px;
}
.container .item img{
  border: 2px solid #fff;
  box-shadow: 8px 7px 9px 0 rgba(200, 200, 200, .5);
}
.container .item p{
  font-size: 12px;
  color: #000;
  font-weight: bold;
  text-align: center;
  margin-top: 24px;
  width: 175px;
  margin-left: -8px;
}
@media only screen and (max-width: 750px){
  .text_details .container .item{
    width: 50%;
    margin: 0 0 25px;
  }
  .container .item p{
    margin-top: 20px;
    width: auto;
    margin-left: 0;
  }
}
/*＝＝＝＝＝共通項目：ここまで＝＝＝＝＝*/

/*<!--学校採用図書-->*/
.second_text{
	margin-bottom: 80px;
}
/*大見出し*/
.second_text h2{
  margin-top: 20px;
  margin-bottom: 35px;
  font-weight: bold;
  font-size: 32px;
  color: #000;
  position: relative;
  padding-left: 40px;
  display: inline-block;
}
.second_text h2:before {
  display: inline-block;
  position: absolute;
  content: '';
  left: 0;
  top: 50%;
  width: 21px;
  height: 2.5px;
  background-color: #0055aa;
}
@media only screen and (max-width: 750px){
  .second_text{
    margin-bottom: 40px;/*変更*/
  }
  .second_text h2{
    margin-top: 12px;
    margin-bottom: 20px;/*変更*/
    font-weight: bold;
    font-size: 22px;/*変更*/
    color: #000;
    position: relative;
    padding-left: 30px;/*変更*/
    display: inline-block;
  }
}
.second_text .menu{
  background-color: #edfbff;
  border-radius: 10px;
  padding: 50px 0px;
  text-align: center;
  margin: 0 0 80px;
}
.second_text .menu .container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 75%;
  margin: 0 auto;
}
.second_text .menu .container .item{
  background-color: #00b0ff;
  border-radius: 50px;
  width: 330px;
  text-align: center;
  padding: 20px 0px;
}
/*
.container .item p{
  font-size: 12px;
  color: #000;
  font-weight: bold;
  text-align: center;
  margin-top: 24px;
  width: 175px;
  margin-left: -8px;
}
*/
.second_text .menu .container .item p{
  font-size: 14px;
  color: #fff;
  margin-top: 0px;
  width: 100%;
  margin-left: 0px;
/*↑共通打ち消してます*/
}
@media only screen and (max-width: 750px){
.second_text .menu{
  padding: 25px 0px;
  margin: 0;
}
  .second_text .menu .container{
    display: block;/*変更*/
    width: auto;
    margin: 0 5%;
  }
  .second_text .menu .container .item{
    background-color: #00b0ff;
    border-radius: 40px;/*変更*/
    text-align: center;
    padding: 10px 20px;
    margin: 10px auto;
    width: auto;
  }
  .second_text .menu .container .item p{
    font-size: 12px;/*変更*/
    color: #fff;
    margin-top: 0px;
    width: 100%;
    margin-left: 0px;
  /*↑共通打ち消してます*/
  }
}
.second_text .menu .pd_btn{
  text-align: center;
  width: 75%;
  margin: 30px auto 0px;
  color: #000;
  background-color: #fff;
  position: relative;
}
.second_text .menu .pd_btn label {
  font-size: 16px;
  border: 2px solid #00b0ff;
  padding: 20px 0px;
  display: block;
    background: url("../subtext/img/btn_arrow01.png") no-repeat 95% center;
}


@media only screen and (max-width: 750px){
  .second_text .menu .pd_btn{
    text-align: center;
    width: auto;
    margin: 30px 5% 0px;
  }
  .second_text .menu .pd_btn {
  }
.second_text .menu .pd_btn label {
  padding: 15px 0px;
    background: url("../subtext/img/btn_arrow01.png") no-repeat 95% center;
    background-size: 12px auto;
  font-size: 14px;
}
}
.second_text .menu .pd_btn p:after{
  content: "";
  background: #fff url("../subtext/img/btn_arrow01.png") no-repeat 100% center;
  margin-right: 20px;
  height: 10px;
  width: 16px;
  position: absolute;
  top: 45%;
  right: 0;
}
/*<!--学校採用図書：ここまで-->*/

/*--各階層のdiv--*/
.details {
  margin-bottom: 120px;
}
@media only screen and (max-width: 750px){
  .details{
    margin-bottom: 80px;
  }
}



/*<!--傍用問題集-->*/

#bouyou .koumoku{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
}
#bouyou .koumoku .k_contents1,
#bouyou .koumoku .k_contents2,
#bouyou .koumoku .k_contents3,
#bouyou .koumoku .k_contents4{
  text-align: center;
  width: 46%;
  margin-bottom: 55px;
}
/*背景の高さを揃える*/
@media only screen and (max-width: 750px){
  #bouyou{	
    margin-bottom: 80px;
  }
  #bouyou .koumoku{
    display: block;
  }
  #bouyou .koumoku .k_contents1,
  #bouyou .koumoku .k_contents2,
  #bouyou .koumoku .k_contents3,
  #bouyou .koumoku .k_contents4{
    width: 100%;
    margin-bottom: 40px;/*変更*/
  }
 }

/*小見出し1*/
#bouyou .koumoku .k_contents1 h4{
  margin-bottom: 20px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
  position: relative;
  padding-left: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #7c00f0;
  display: inline-block;
}
#bouyou .koumoku .k_contents1 h4:after {
  position: absolute;
  top: 8px;
  left: 0px;
  z-index: 1;
  content: '';
  width: 7px;
  height: 7px;
  background-color: #7c00f0;
  border-radius: 50%;
}
#bouyou .koumoku .k_contents1 .container{
  background-color: #f8f2fe;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 15px 25px;
}
/*小見出し2*/
#bouyou .koumoku .k_contents2 h4{
  margin-bottom: 20px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
  position: relative;
  padding-left: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #00dcf0;
  display: inline-block;
}
#bouyou .koumoku .k_contents2 h4:after {
  position: absolute;
  top: 8px;
  left: 0px;
  z-index: 1;
  content: '';
  width: 7px;
  height: 7px;
  background-color: #00dcf0;
  border-radius: 50%;
}
#bouyou .koumoku .k_contents2 .container{
  background-color: #ebfcfe;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 15px 25px;
}
/*小見出し3*/
#bouyou .koumoku .k_contents3 h4{
  margin-bottom: 20px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
  position: relative;
  padding-left: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #7dc64c;
  display: inline-block;
}
#bouyou .koumoku .k_contents3 h4:after {
  position: absolute;
  top: 8px;
  left: 0px;
  z-index: 1;
  content: '';
  width: 7px;
  height: 7px;
  background-color: #7dc64c;
  border-radius: 50%;
}
#bouyou .koumoku .k_contents3 .container{
  background-color: #f2f9ed;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 15px 25px;
}
/*小見出し4*/
#bouyou .koumoku .k_contents4 h4{
  margin-bottom: 20px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
  position: relative;
  padding-left: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #ffd953;
  display: inline-block;
}
#bouyou .koumoku .k_contents4 h4:after {
  position: absolute;
  top: 8px;
  left: 0px;
  z-index: 1;
  content: '';
  width: 7px;
  height: 7px;
  background-color: #ffd953;
  border-radius: 50%;
}
#bouyou .koumoku .k_contents4 .container{
  background-color: #fffaea;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 15px 25px;
}
#bouyou .koumoku .k_contents1 .container .item,
#bouyou .koumoku .k_contents2 .container .item,
#bouyou .koumoku .k_contents3 .container .item,
#bouyou .koumoku .k_contents4 .container .item{
  width: 150px;
  margin: 20px 0px;
}
#bouyou .koumoku .container .item p{
  font-size: 12px;
  color: #000;
  font-weight: bold;
  text-align: center;
  margin-top: 24px;
}
@media only screen and (max-width: 750px){
/*小見出し1*/
#bouyou .koumoku .k_contents1 h4{
  font-size: 14px;
  padding-left: 15px;
  padding-bottom: 8px;
}
#bouyou .koumoku .k_contents1 h4:after {
  width: 8px;
  height: 8px;
}
#bouyou .koumoku .k_contents1 .container{
  padding: 30px 0;
}
/*小見出し2*/
#bouyou .koumoku .k_contents2 h4{
  margin-bottom: 20px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
  position: relative;
  padding-left: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #00dcf0;
  display: inline-block;
}
#bouyou .koumoku .k_contents2 h4:after {
  width: 8px;
  height: 8px;
}
#bouyou .koumoku .k_contents2 .container{
  padding: 30px 0;
}
/*小見出し3*/
#bouyou .koumoku .k_contents3 h4{
  font-size: 14px;
  padding-left: 15px;
  padding-bottom: 8px;
}
#bouyou .koumoku .k_contents3 h4:after {
  width: 8px;
  height: 8px;
}
#bouyou .koumoku .k_contents3 .container{
  padding: 30px 0;
}
/*小見出し4*/
#bouyou .koumoku .k_contents4 h4{
  font-size: 14px;
  padding-left: 15px;
  padding-bottom: 8px;
}
#bouyou .koumoku .k_contents4 h4:after {
  width: 8px;
  height: 8px;
}
#bouyou .koumoku .k_contents4 .container{
  padding: 30px 0;
}
#bouyou .koumoku .k_contents1 .container .item,
#bouyou .koumoku .k_contents2 .container .item,
#bouyou .koumoku .k_contents3 .container .item,
#bouyou .koumoku .k_contents4 .container .item{
  margin: 0;
}
#bouyou .koumoku .container .item p{
  margin-top: 10px;
}
}
/*<!--傍用問題集：ここまで-->*/

/*<!--入試対策問題集-->*/
.nyushi{	
  margin-bottom: 120px;
}
/*<!--入試対策問題集：ここまで-->*/

/*<!--入門-->*/
.nyumon{	
  margin-bottom: 120px;
}
/*<!-- 入門：ここまで-->*/

/*<!--中高一貫教材-->*/
.ikkan{	
  margin-bottom: 120px;
}
/*<!--中高一貫教材：ここまで-->*/

/*<!--デジタル教材-->*/
.digital{	
  margin-bottom: 120px;
}
.digital .title .t_name h3{
  font-weight: bold;
  font-size: 22px;
  color: #000;
  position: relative;
  padding-left: 35px;/*変更*/
  display: inline-block;
}
.digital .title .t_name h3:before{
  content: "";
  background: #fff url("../subtext/img/icon_sp.png") no-repeat 100% center;/*変更*/
  width: 21px;
  height: 32px;
  position: absolute;
  top: 15%;
  left: 1px;
  display: inline-block;
}
.digital .container{
  justify-content: flex-start;
}
.item_b{
  border: 2px solid #00b0ff;
  text-align: center;
  padding: 35px 0px;
  width: 200px;
  height: auto;/*変更*/
  margin-right: calc((100% - 616px) / 6);
}
/*空白を指定：偶数かつ最後*/
.item_b:nth-of-type(2n):last-of-type{
  border: none;
  text-align: center;
  padding: 35px 0px;
  width: 204px;
  height: 50px;
}
.item_b .t_sml{
  font-size: 12px;
}
.item_b .t_big{
  font-size: 18px;
}
@media only screen and (max-width: 750px){
/*<!--入試対策問題集-->*/
.nyushi{	
  margin-bottom: 60px;
}
/*<!--入試対策問題集：ここまで-->*/

/*<!--入門-->*/
.nyumon{	
  margin-bottom: 60px;
}
/*<!-- 入門：ここまで-->*/

/*<!--中高一貫教材-->*/
.ikkan{	
  margin-bottom: 60px;
}
/*<!--中高一貫教材：ここまで-->*/

/*<!--デジタル教材-->*/
.digital{	
  margin-bottom: 60px;
}
  .digital .container{
  justify-content: flex-start;
  }
  .item_b{
    padding: 15px 0px;
    width: 100%;
    margin: 0 0 10px;
  }
/*空白を指定：偶数かつ最後*/
  .item_b:nth-of-type(2n):last-of-type{
    border: none;
    text-align: center;
    padding: 35px 0px;
    width: 204px;
    height: 50px;
    margin: 3px auto;
  }
  .item_b .t_sml{
    font-size: 12px;
  }
  .item_b .t_big{
    font-size: 18px;
  }
}
/*<!--デジタル教材：ここまで-->*/


/*アコーディオン*/
label {
    display: block;
    line-height: 1;
    cursor :pointer;
}
input {
    display: none;
}
.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu li {
    width: 50%;
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.menu li a {
  color:#000;
    font-size: 14px;
}

#type1:checked ~ #links1 li {
  line-height: 45px;
  height: 45px;
  border-bottom: #ccc 1px dotted;
  box-sizing:border-box;
}
#type1:checked ~ #links1 li:nth-child(odd) {
    border-right: #ccc 1px dotted;
    border-left: #ccc 1px solid;
}
#type1:checked ~ #links1 li:nth-child(even) {
    border-right: #ccc 1px solid;
}
#type1:checked ~ #links1 li:nth-child(5) , 
#type1:checked ~ #links1 li:nth-child(6) {
    border-bottom: #ccc 1px solid;
}
#type1:checked ~ #links1 li a {
  color:#000;
}
@media only screen and (max-width: 750px){
label {
    display: block;
    line-height: 1;
    cursor :pointer;
}
input {
    display: none;
}
.menu ul {
    display: block;
}

.menu li {
    width: auto;
}
.menu li a {}

#type1:checked ~ #links1 li {
  line-height: 35px;
  height: 35px;
}
#type1:checked ~ #links1 li:nth-child(odd) {
    border-right: #ccc 1px solid;
}
#type1:checked ~ #links1 li:nth-child(even) {border-left: #ccc 1px solid;}
#type1:checked ~ #links1 li:nth-child(5) {border-bottom: #ccc 1px dotted;}
#type1:checked ~ #links1 li:nth-child(6) {
    border-bottom: #ccc 1px solid;
}
#type1:checked ~ #links1 li a {}
}