*{
  color: inherit;
}
p, a, td, li{
  color: inherit;
}



/*index.html----------------*/

.body_index{
  background-color: #FFF;
  background-image: linear-gradient( transparent 95%, rgba(0, 0, 0, .06) 50%, rgba(0, 0, 0, .06)), linear-gradient( 90deg, transparent 95%, rgba(0, 0, 0, .06) 50%, rgba(0, 0, 0, .06) );
  background-size: 16px 16px;
  background-repeat: repeat;
  margin: auto;
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.body_index::before,.body_index::after{
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

.gakunen{
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
}

.gakunen_btn{
  display: inline-block;
  width: 50%;
  height: 200px;
  position: relative;
  transition: all 0.5s ease 0s;
}
.gakunen_btn img{
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  margin: auto;
}

.gakunen_btn:hover{
  opacity: 0.7;
}

.gakunen-0{
  background-color: #f0f8ff;
  pointer-events:none;
}

.gakunen-1{
  background-color: #f18d5f;
}

.gakunen-2{
  background-color: #5ac1cb;
}

.gakunen-3{
  background-color: #fcce45;
}

.gakunen-4{
  background-color: #a3cc3e;
}

.gakunen-56{
  background-color: #ef8ba5;
}


/*学年別ページの共通部分-------------------------*/

.header_a{
  padding: 40px 0 20px 0;
  text-align: center;
}

.header_a img{
  width: 95%;
}

.title_new{/**/
  padding: 60px 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

}

.title_new div{
  float: left;
  padding:  0 20px;
}

.title_new img{
  padding: 20px 0;
  width: 98%;
  max-width: 900px;
}

.title_new p img{
  width: auto;
}


.title_img img{
  width: 100%;
  max-width: 300px;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 786px) {
  .pc { display: none !important; }
  .sp { display: block !important;
        text-align: center;}
}


.yohaku{
  padding: 20px 0px;
}

.anker2{
  background-color: #f0f8ff;
}

.idou_btn{
  display: flex;
  justify-content: space-between;
}

.idou_btn a{
  text-decoration: none;
  display: inline-block;
  padding: 15px;
  font-weight: bold;
}



.top_btn{
  color: #676767;
  flex-grow: 3;
}

.btn{
  color: #fff;
  flex-grow: 2;
  text-align: center;
}



/*ナビの設定その１*/


.header_nav{
  margin: 0 0 25px 0;
}

.header_nav ul{
  list-style: none;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-wrap: wrap;
  background: #fff;
  line-height: 1.5;
}

.header_nav ul a{
  float: left;
  border-radius: 5px;
  height: 64px;
  color: #fff;
  width : 20% ; /* IE8以下とAndroid4.3以下用フォールバック */
  width : -webkit-calc(20% - 5px) ;
  width : calc(20% - 5px) ;
  position: relative;
}

.header_nav ul li i{
  position: absolute;
  top: 25px;
  left: 15px;
}

.header_nav ul li p{
  font-size: 14px;
  font-weight: bold;
  width: 90%;
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
}

.header_nav span{
  display: block;
}


/*ナビの設定その２------scroll_nav*/


.scroll_nav{
  z-index: 999;
  border-bottom:0.5px solid #fff;
}


.header_nav2 div{
  float: left;
}

.sp_menu{
  display: none;
}


.header_nav2 ul{
  list-style: none;
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 20px 0;
}

.header_nav2 ul a{
  float: left;
  color: #fff !important;
  width: 100%;
  position: relative;
  display: inline-block;
  padding: 1rem;
  line-height: 1.5;
}

.header_nav2 img{
  width: 100%;
  max-width: 120px;
  padding: 10px 30px 10px 10px;
}

.header_nav2 ul li p{
  font-weight: bold;
  font-size: 14px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
}

.header_nav2 span{
  display: block;
}

.mr20{
  margin-right: 30px;
}

.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.dinone{
  display: none;
}

/*タイトル*/



/*list_btnの設定*/

.list_btn{
  padding: 20px 0 0 0;
}

.list_btn a{
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
  margin: 3px;
}

.list_btn p{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  width: 100%;
  line-height: 1.2;
  font-size: 15px;
}

.list_btn a span{
  display: block;
  font-size: 10px;
  padding-top: 2px;
}



.list_btn2 div{/*選択されている状態*/
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  position: relative;
  margin:0px 5px ;
  color: #fff;

}

.list_btn2 span{
  display: block;
  font-size: 12px;
  padding-top: 2px;
}

.list_btn h2{
  display: inline-block;
  width: 3px;
  height: 50px;
  margin: 20px 15px;
}

.list_btn2 div p{
  font-size: 18px;
}

/*商品一覧の設定*/

.category h2{
  display: inline-block;
  padding: 20px 0 0 0;
  font-size: 30px;
  background: linear-gradient(transparent 70%, #ffdc00 70%);
  border-bottom: 5px solid #ffdc00;
  font-weight: bold;
}

.ichiran_class{
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ichiran_class::before{
  content:"";
  display:block;
  width: 24%;
  height:0;
  order:1;
}

.ichiran_class::after{
  content:"";
  display: block;
  width:24%;
}

.ichiran_class div{
  width : 20% ; /* IE8以下とAndroid4.3以下用フォールバック */
  width : -webkit-calc(25% - 40px) ;
  width : calc(25% - 40px) ;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  text-align: center;
}

.ichiran_class div img{
  width: 100%;
}

.ichiran_class_2 div{
  width : 100%;
  padding: 15px;
  margin: 10px 10px 10px 0;
  border-radius: 5px;
  text-align: center;
}

.ichiran_class_2 div section{
  max-width: 50%;
  margin: 0 10px;
}

/*罫線イメージ*/
.mihon_class{
  background: #eee;
  border: 1px solid #eee;
}

.mihon_class h2{
  margin: 10px 0;
  font-size: 20px;
}

.mihon_class h5{
  margin-top: 20px;
  font-size: 15px;
}

.mihon_class_2{
  max-width: 25%;
}


/*商品詳細*/
.name_class{
  color: white;
  margin-bottom: 10px;
  padding: 3px;
  font-weight: bold;
  font-size: 14px;
}

.name_class span{
  display: block;
  font-weight: normal;
  font-size: 12px;
  padding-top: 5px;
}

.syouhin_class{
  background: white;
}

.syouhin_class h5{
  font-size: 12px;
  margin: 8px;
}
.syouhin_class h5 .span_1{
  display: block;
  font-size: 20px;
  line-height: 1.5;
}

.syouhin_class h5 .span_2{
  color: red;
  font-size: 20px;
}

.syouhin_class h5 .span_2 span{
  font-size: 11px;
}

.syouhin_class h5 .span_3{
  font-size: 11px;
}

.syouhin_class a{
  display: inline-block;
  text-decoration: none;
  color: #fff;
  padding: 5px;
  width: 90%;
  border-radius: 20px;
}

.syouhin_class a i{
  padding-right: 10px;
}


.top_btn i{
  position: fixed;
  bottom: 0px;
  right: 5px;
  color: #fff;
  padding: 10px 18px;
  font-size: 40px;
  border-radius: 5px 5px 0 0;
  background: #000;
  opacity: 0.8;
  z-index: 999;
}

.top_btn i:hover{
  background: #999;
}

.top_btn a:hover{
  opacity: 1;
}

/*小学1年生向けページ-------------------------*/

.bg-color_1{/*背景色-共通部分*/
  background-color:  #f18d5f !important;
}

#bg-color_1{/*背景色-共通部分*/
  background:  #f18d5f !important;
}

.bd-color_1_1px{/*線の色-共通部分*/
  border:1px solid #f18d5f !important;
}

.bd-color_1_2px{/*線の色-共通部分*/
  border:2px solid #f18d5f !important;
}


.font-color_1{/*文字の色-共通部分*/
  color:#f18d5f !important;
}

.hover_1 a:hover{
  opacity: 1;
  background-color: #f18d5f !important;
  color: #fff !important;
}

.kokugo_1{
  padding: 20px;
}

.siru{
  display: flex;
  width: 60%;
  align-items: center;
}

/*小学2年生向けページ-------------------------*/

.bg-color_2{/*背景色-共通部分*/
  background-color:  #5ac1cb !important;
}

#bg-color_2{/*背景色-共通部分*/
  background:  #5ac1cb !important;
}

.bd-color_2_1px{/*線の色-共通部分*/
  border:1px solid #5ac1cb !important;
}

.bd-color_2_2px{/*線の色-共通部分*/
  border:2px solid #5ac1cb !important;
}


.font-color_2{/*文字の色-共通部分*/
  color:#5ac1cb !important;
}

.hover_2 a:hover{
  opacity: 1;
  background-color: #5ac1cb !important;
  color: #fff !important;
}



/*小学3年生向けページ-------------------------*/

.bg-color_3{/*背景色-共通部分*/
  background-color:  #fcce45 !important;
}

#bg-color_3{/*背景色-共通部分*/
  background:  #fcce45 !important;
}

.bd-color_3_1px{/*線の色-共通部分*/
  border:1px solid #fcce45 !important;
}

.bd-color_3_2px{/*線の色-共通部分*/
  border:2px solid #fcce45 !important;
}


.font-color_3{/*文字の色-共通部分*/
  color:#fcce45 !important;
}

.hover_3 a:hover{
  opacity: 1;
  background-color: #fcce45 !important;
  color: #fff !important;
}

/*英習罫 We can!の説明*/
.setsu{
  margin: 25px 0 0 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-content:center;
  background: #fff;
  border-radius: 15px;
}
.setsu img{
  width: 170px;
  height: 170px;
}

.setsu_1{
  width: 35%;
  line-height: 1.5;
}
.setsu_1 h2{
  font-size: 18px;
}
.setsu_1 i{
  padding-right: 5px;
}
.setsu_1 p{
  font-size: 19px;
}

.setsu2{
  margin: 25px 0 0 0;
  padding: 20px;
  text-align: center;
  background: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.setsu2 img{
  width: 100%;
  max-width: 550px;
  margin: auto;
}
.setsu_2{
  text-align: center;
  width: 100%;
}

.setsu_2 h2{
  font-size: 18px;
  padding: 10px 0;
}
.setsu_2 i{
  padding-right: 5px;
}
.setsu_2 p{
  font-size: 19px;
}

/*小学4年生向けページ-------------------------*/

.bg-color_4{/*背景色-共通部分*/
  background-color:  #a3cc3e !important;
}

#bg-color_4{/*背景色-共通部分*/
  background:  #a3cc3e !important;
}

.bd-color_4_1px{/*線の色-共通部分*/
  border:1px solid #a3cc3e !important;
}

.bd-color_4_2px{/*線の色-共通部分*/
  border:2px solid #a3cc3e !important;
}


.font-color_4{/*文字の色-共通部分*/
  color:#a3cc3e !important;
}

.hover_4 a:hover{
  opacity: 1;
  background-color: #a3cc3e !important;
  color: #fff !important;
}



/*小学56年生向けページ-------------------------*/

.bg-color_56{/*背景色-共通部分*/
  background-color:  #ef8ba5 !important;
}

#bg-color_56{/*背景色-共通部分*/
  background:  #ef8ba5 !important;
}

.bd-color_56_1px{/*線の色-共通部分*/
  border:1px solid #ef8ba5 !important;
}

.bd-color_56_2px{/*線の色-共通部分*/
  border:2px solid #ef8ba5 !important;
}


.font-color_56{/*文字の色-共通部分*/
  color:#ef8ba5 !important;
}

.hover_56 a:hover{
  opacity: 1;
  background-color: #ef8ba5 !important;
  color: #fff !important;
}
/*フッター*/
.footer a img{
  width: 100%;
}

.footer{background-color: #fff;}





/*EC-CUBE用のリセット*/
#contentInner {
    width: auto;
    margin: 0 auto;
    position: relative;
    padding: 0px 0px 60px;
}

h2{
  color: #000;
  width: auto;
  text-shadow: none;
}
/*
i{
  color: #fff !important;
}
*/

a.btn, a.btn:link, a.btn:visited, a.btn:hover{
  background: inherit;
  text-shadow: none;
  border: none;
  padding: 15px 0;
  border-radius: 0px;
}

.idou_btn .now{
  border:1px solid #fff;
}
