@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Maru+Gothic:wght@500;700;900&display=swap');

/*-----------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------

目次　※各々レスポンシブ対応あり

01 共通部分設定＆リセットCSS
02 ヘッダーの設定
03 コンテンツの設定
04 フッターの設定
05 TOPに戻る設定

-------------------------------------------
-------------------------------------------
-----------------------------------------*/

/*-----------------------------------------
01 共通部分設定＆リセットCSS
-------------------------------------------*/
body {
  padding: 0;
  margin: 0;
}

div.body {
  margin: auto;
  min-width: 1080px;
}

@media screen and (max-width:768px) {
  div.body {
    min-width: auto;
  }
}

div.body * {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}


.center {
  width: calc(100% - 20px);
  max-width: 1300px;
  margin: auto;
  padding: 0;
  text-align: center;
}

.center2 {
  width: calc(100% - 20px);
  max-width: 1100px;
  margin: auto;
  padding: 0;
  text-align: center;
}

.center3 {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 0;
  text-align: center;
}

@media screen and (max-width:768px) {

  .center,
  .center2,
  .center3 {
    max-width: 500px;
  }
}


.body a {
  transition: all 0.3s ease 0s;
  text-decoration: none;
}

.body a:hover {
  opacity: 1;
}

.body img {
  width: 100%;
  /* height: 100%; */
  vertical-align: top;
}

.body ul,
.body li,
.body p,
.body a,
.body h1,
.body h2,
.body h3,
.body h4,
.body li,
.body span,
.body div {
  text-shadow: none;
  margin: auto;
  padding: 0;
  color: var(--gray01);
  background: none;
}

.body ul,
.body li,
.body p,
.body a,
.body h4,
.body li,
.body span,
.body div {
  font-family: 'Noto Sans JP', sans-serif !important;
}

.body h2,
.body h3,
.body button {
  font-family: "Zen Maru Gothic", serif !important;
  font-weight: 700;
}

.body ul {
  padding: 0;
}

.body li {
  list-style: none;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

.sp2 {
  display: none !important;
}

@media screen and (max-width:768px) {
  .sp {
    display: block !important;
  }

  .pc {
    display: none !important;
  }
}

@media screen and (max-width:500px) {
  .sp2 {
    display: block !important;
  }
}

:root {

  --red01:#ec4242;
  --red02:#f7cccc;
  --pink01:#df6caf;
  --pink02:#f8d8eb;
  --orange01:#ee8936;
  --orange02:#f1e1d4;
  --blue01:#2c5abd;
  --blue02:#d1e0fa;
  --green01:#0ea834;
  --green02:#d3f3da;
  --yellow01:#d6c528;
  --yellow02:#eff0cb;
  --purple01:#981ea3;
  --purple02:#e0d0e9;
  --sky01:#40b4d8;
  --sky02:#d6ebf5;
  --yw-green01:#93ca2b;
  --yw-green02:#deeed4;
  --yamabuki01:#eebe1e;
  --yamabuki02:#eee0cd;
  --kon01:#1e1781;
  --kon02:#d9d1ec;
  --emerald01:#139469;
  --emerald02:#d6f1e2;
  --beige01:#926428;
  --beige02:#f3e8dd;


  --main-color01: #ffbabd;
  --main-color02: #e7555c;
  --sub-color01: #f7dede;
}


/*-----------------------------------------
01 共通部分設定＆リセットCSS　ここまで
-------------------------------------------*/


/*-----------------------------------------
02 ヘッダーの設定
-------------------------------------------*/
.headGrp {
  padding: 0;
  position: relative;
}

.headGrp.headGrp_top {
  background: url(https://d3t0ae4e2cnggp.cloudfront.net/resource/20260122/header_bg.png) no-repeat center 35% / 1972px, url(https://d3t0ae4e2cnggp.cloudfront.net/resource/20250204/math.png)repeat, var(--main-color01);
  border-bottom: 3px solid var(--main-color02);
}

@media screen and (max-width:768px) {
  .headGrp.headGrp_top{
    background: url(https://d3t0ae4e2cnggp.cloudfront.net/resource/20250204/math.png) repeat,var(--main-color01)!important;
  }
}
/*白の半円背景*/
.headGrp::before {
  content: "";
  display: block;
  width: 95%;
  min-width: 1700px;
  height: 100%;
  clip-path: circle(55% at 50% 165%);
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.headGrp .wrap01 {
  position: relative;
  z-index: 10;
  padding-top: 40px;
  padding-bottom: 40px;
}

@media screen and (max-width:768px) {
  .headGrp div.wrap01 div.center {
    width: 100%;
  }

  /* .headGrp::before {
    clip-path: circle(75% at 50% 155%);
  } */
}

/*タイトル周り*/
div.header_title {
  max-width: 700px;
  margin: auto 0;
}

div.header_title_left,
div.header_title_right {
  max-width: 380px;
  margin-bottom: 0;
  filter: drop-shadow(6px 6px 8px rgba(90, 47, 47, 0.3));
}


div.header_title_right {
  transform: rotate(7deg);
}

.headGrp .wrap01 div.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header_title h2 {
  display: inline-block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 10px;
  padding: 0.35em 1em;
  border-radius: 100px;
  line-height: 1.35;
  color: #fff;
  font-size: 24px;
}

.header_title.header_title h2 {
  background: var(--main-color02);
}




div.comeGrp {
  text-align: center;
}

ul.come {
  display: inline-block;
}

ul.come li {
  font-size: 14px;
  color: var(--black01);
  text-align: left;
  padding-left: 1em;
  text-indent: -1em;
}

ul.come li::before {
  content: "※";
}


@media screen and (max-width:1200px) {
  .header_title h2 {
    font-size: 20px;
  }
}

@media screen and (min-width:769px) {}

@media screen and (max-width:768px) {
  .header_title h2 {
    font-size: 18px;
    padding: 0.35em 1.5em;
    width: calc(100% - 40px);
  }

  div.comeGrp {
    width: calc(100% - 40px);
    max-width: 500px;
  }
}

@media screen and (max-width:400px) {
  .header_title h2 {
    font-size: 4.5vw;
  }
}

/*科目で選ぶ*/
div.kamoku-category {
  padding: 60px 0;
}

div.kamoku-category h3 {
  display: block;
  padding: 0.25em;
  font-size: 30px;
  color: #fff;
  background: var(--main-color02);
  border-radius: 20px 20px 0 0;
  margin-bottom: 20px;
}

div.kamoku-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

div.kamoku-item {
  display: flex;
  width: 100%;
  margin: 0;
}



div.kamoku-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 15px;
  padding: 20px 10px;
  filter: drop-shadow(3px 3px 2px rgba(100, 100, 100, 0.2));
}

div.kamoku-item a:hover {
  /* background: var(--sub-color01); */
  transform: scale(0.98);
  filter: drop-shadow(0px 0px 2px rgba(100, 100, 100, 0.2));
}

div.kamoku-item a p {
  font-size: 26px;
  font-family: "Zen Maru Gothic", serif !important;
  font-weight: 700;
  /* color: var(--main-color02); */
}


@media screen and (max-width:768px) {
  div.kamoku-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
div.kamoku-item a p{
  font-size: 18px;
}
div.kamoku-category h3{
  font-size: 24px;
}
}

/*学年切り替えボタン*/
.headGrp div.wrap02 {
  padding-top: 20px;
  border-bottom: 2px solid var(--black01);
  position: relative;
  z-index: 11;
}

ul.gakunen_btn {
  display: grid;
}

ul.gakunen_btn li {
  display: block;
  width: 100%;
  padding: 5px;
  margin: auto auto 0;
  border: 2px solid var(--black01);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
}

ul.gakunen_btn a {
  display: block;
  padding: 0.35em;
  font-size: 24px;
  font-family: "Zen Maru Gothic", serif !important;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--black01);
  position: relative;
  border-radius: 9px 9px 0 0;
}

ul.gakunen_btn li.gakunen_1.select a {
  background: var(--orange02);
}

ul.gakunen_btn li.gakunen_2.select a {
  background: var(--blue02);
}

ul.gakunen_btn li.gakunen_3.select a {
  background: var(--green02);
}

ul.gakunen_btn li.gakunen_4.select a {
  background: var(--pink02);
}

ul.gakunen_btn li.gakunen_56.select a {
  background: var(--purple02);
}


@media screen and (min-width:769px) {
  ul.gakunen_btn {
    grid-template-columns: repeat(5, 1fr);
    gap: 0 10px;
  }

  ul.gakunen_btn li.select a {
    padding-bottom: 0.75em;
    padding-top: 0.75em;
  }

  ul.gakunen_btn li.select a::after {
    content: "";
    display: block;
    width: calc(100% + 10px);
    height: 5px;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
  }
}

@media screen and (max-width:768px) {
  .headGrp div.wrap02 {
    border-bottom: none;
  }

  ul.gakunen_btn {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  ul.gakunen_btn li {
    border: 2px solid var(--black01);
    border-radius: 10px;
  }

  ul.gakunen_btn a {
    border-radius: 5px;
  }
}



/*色違い*/
/* ul.gakunen_btn li.select.gakunen_1 a,
ul.gakunen_btn li.gakunen_1 a:hover {
  background: var(--orange02);
}

ul.gakunen_btn li.select.gakunen_2 a,
ul.gakunen_btn li.gakunen_2 a:hover {
  background: var(--blue02);
}

ul.gakunen_btn li.select.gakunen_3 a,
ul.gakunen_btn li.gakunen_3 a:hover {
  background: var(--green02);
}

ul.gakunen_btn li.select.gakunen_4 a,
ul.gakunen_btn li.gakunen_4 a:hover {
  background: var(--pink02);
}

ul.gakunen_btn li.select.gakunen_56 a,
ul.gakunen_btn li.gakunen_56 a:hover {
  background: var(--purple02);
} */


/*追従メニュー*/


div.menu_Button {
  position: fixed;
  top: -150px;
  left: 0;
  z-index: 99;
  background: #fff;
  width: 100%;
  max-width: 100%;
  transition: all 0.3s ease 0s;
  padding: 15px 10px 10px;
}

div.menu_Button.fixed_menu_Button {
  top: 0;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.1));
}

ul.menu_ul {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  justify-content: center;
  max-width: 1200px;
}

li.menu_li {
  width: 100%;
  height: -webkit-fill-available;
}

li.menu_li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-family: "Zen Maru Gothic", serif !important;
  font-weight: 500;
  color: var(--black01);
  width: 100%;
  height: 48px;
  padding: 0.1em 0.5em;
  font-size: 18px;
  border-radius: 3px;
}

li.menu_li.small a {
  font-size: 13px;
}

li.menu_li a:hover {
  background: var(--sub-color01);
}




@media screen and (max-width:768px) {
  ul.menu_ul {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 10px;
    padding: 30px 0 0;
    width: calc(100% - 20px);
    max-width: 500px;
  }

  li.menu_li {
    border: none !important;
    padding: 0;
  }

  li.menu_li a {
    border-radius: 100px;
    position: relative;
    padding: 0.75em 1.5em 0.75em 1em;
  }

  li.menu_li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%)rotate(45deg);
    display: block;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid var(--black01);
    border-right: 2px solid var(--black01);
  }
}

/*-----------------------------------------
02 ヘッダーの設定　ここまで
-------------------------------------------*/

/*-----------------------------------------
03 コンテンツの設定
-------------------------------------------*/
.mainGrp {}

.mainGrp .wrap01 {}

.mainGrp .wrap02 {}


@media screen and (max-width:1080px) {}

@media screen and (max-width:768px) {}

/*-----------------------------------------
03 コンテンツの設定ここまで
-------------------------------------------*/

/*-----------------------------------------
04 フッターの設定
-------------------------------------------*/
.footGrp {}

.footGrp .wrap01 {}

.footGrp .wrap02 {}




@media screen and (max-width:1080px) {}

@media screen and (max-width:768px) {}


/*-----------------------------------------
04 フッターの設定ここまで
-------------------------------------------*/



      /*ハンバーガーメニュー-----------------------------*/
      #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: 0;
        right: -120%;
        width: 25%;
        height: 100vh;
        /*ナビの高さ*/
        background:var(--red02);
        /*動き*/
        transition: all 0.6s;
      }

      /*アクティブクラスがついたら位置を0に*/
      #g-nav.panelactive {
        right: 0;
      }

      /*ナビゲーションの縦スクロール*/
      #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 25%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
      }

      /*ナビゲーション*/
      #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 10%;
        left: 50%;
        transform: translate(-50%, 0%);
        width: 80%;
        padding-left: 0;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
        padding-bottom: 30%;
      }

      /*リストのレイアウト設定*/
      #g-nav li {
        display: block;
        width: 100%;
        height: 100%;
        list-style: none;
        text-align: center;
        padding: 0;
      }
      #g-nav li:nth-of-type(13){
grid-column: 1/3;
      }

      #g-nav li a {
        color: var(--red01);
        font-weight: 600;
        text-decoration: none;
        padding: 1em 0.75em;
        display: block;
        width: 100%;
        height: 100%;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        font-size:15px;
        background: #fff;
  
        border-radius: 5px;
      }

      /*========= ボタンのためのCSS ===============*/
      .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        bottom: 60px;
        right: -4px;
        cursor: pointer;
        width: 70px;
        height: 70px;
        background: var(--red01)!important;
        border: 3px solid #fff;
        border-radius: 3px 0 0 3px;
      }

      /*×に変化*/
      .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 17px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 45%;
      }

      .openbtn span:nth-of-type(1) {
        top: 17px;
      }

      .openbtn span:nth-of-type(2) {
        top: 30px;
      }

      .openbtn span:nth-of-type(3) {
        top: 43px;
      }

      .openbtn.active span:nth-of-type(1) {
        top: 26px;
        left: 22px;
        transform: translateY(6px) rotate(-45deg);
        width: 40%;
      }

      .openbtn.active span:nth-of-type(2) {
        opacity: 0;
      }

      .openbtn.active span:nth-of-type(3) {
        top: 38px;
        left: 22px;
        transform: translateY(-6px) rotate(45deg);
        width: 40%;
      }
      @media (max-width: 768px) {

        .openbtn {
          width: 60px;
          height: 55px;
          bottom: 80px;
        }
        .openbtn span{
          left: 15px;
        }
        .openbtn span:nth-of-type(1){
          top: 15px;
        }
        .openbtn span:nth-of-type(2){
          top: 25px;
        }
        .openbtn span:nth-of-type(3){
          top: 35px;
        }
        .openbtn.active span:nth-of-type(1){
          top: 18px;
          left: 17px;
        }
        .openbtn.active span:nth-of-type(3){
          top: 30px;
          left: 17px;
        }
        #g-nav {
          width: 100%;
        }
        /*ナビゲーションの縦スクロール*/
        #g-nav.panelactive #g-nav-list {
          /*ナビの数が増えた場合縦スクロール*/
          width: 100%;
        }

      }
      /*ハンバーガーメニューここまで---------------*/





section.mainGrp div.wrap {
  padding: 130px 0 0px;
  background: url(https://d3t0ae4e2cnggp.cloudfront.net/resource/20260122/math-gray.png)repeat;
  background-attachment: fixed;
}

section.mainGrp div.wrap:last-of-type {
  padding-bottom: 140px;
}

h3.title {
  font-size: 40px;
  letter-spacing: 0.1em;
  margin-bottom: 1em;
  /* color: var(--main-color02); */
}

@media screen and (max-width:768px) {
  section.mainGrp div.wrap {
    padding: 50px 0 0;
  }

  section.mainGrp div.wrap:last-of-type {
    padding-bottom: 40px;
  }

  div.tabGrp {
    border-radius: 25px;
  }

  h3.title {
    font-size: 36px;
    margin-bottom: 0.75em;
  }
}

@media screen and (max-width:500px) {
  h3.title {
    font-size: 30px;
  }
}

/*カテゴリーボタン*/
div.categoryGrp {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: none;
  max-width: 1200px;
  gap: 15px;
  margin-bottom: 10px;
}

button.categoryBtn {
  cursor: pointer;
  display: block;
  width: 100%;
  margin: auto 5px 0;
  font-weight: 500;
  background: #E6E6E6;
  border: 1px solid #b1b1b1;
  font-size: 18px;
  font-weight: 400;
  padding: 1em;
  border-radius: 10px;
  transition: all 0.3s ease 0s;
}

button.categoryBtn.active {
  cursor: default;
  /* background: var(--main-color02);
  border: 1px solid var(--main-color02); */
  font-weight: 700;
  color: #fff;
  position: relative;
}

button.categoryBtn:hover {
  /* background: var(--main-color02);
  border: 1px solid var(--main-color02); */
  color: #fff;
}

@media screen and (max-width:768px) {
  div.categoryGrp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px 20px 0;
  }

  button.categoryBtn {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 100px;
  }
}

@media screen and (max-width:500px) {
  div.categoryGrp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px 10px 0;
  }
}

/*商品一覧*/
div.productGrp_bg {
  border-radius: 20px;
  padding: 20px 20px;
  border-width: 3px;
  border-style: solid;
  /* background: var(--sub-color01);
  border: 3px solid var(--main-color02); */
}

div.productGrp {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px 10px;
  padding: 20px 0;
  max-width: 1200px;
  transition: all 0.3s ease 0s;
}

div.productGrp.active {
  display: grid !important;
  transition: all 0.3s ease 0s;
}

div.productGrp li.back99.sample {
  background: none;
  margin: auto;
  padding: 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

div.productGrp li.back99 {
  margin: 0;
  height: 100%;
}

div.productGrp li.back99 a {
  display: block;
  height: 100%;
  background: #fff;
  padding: 10px 10px 50px;
  border-radius: 10px;
  position: relative;
}

div.productGrp li.back99 a::after {
  content: "商品を見る";
  display: block;
  width: calc(100% - 30px);
  border-radius: 3px;
  padding: 5px;
  color: #fff;
  font-size: 14px;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  /* background: var(--main-color02); */
}

div.productGrp li.back99 a:hover {
  transform: scale(0.98);
}

div.productGrp li.back99 a p {
  text-align: center;
  font-size: 13px;
  color: var(--black01);
}

figure.c-items5Col__figure {
  margin: 10px;
  height: auto;
  border: none;
}

.c-items5Col__figure img {
  max-width: 100%;
  max-height: 100%;
  border: none;
}

div.c-items5Col__priceTax {
  font-size: 14px;
  color: var(--orange01);
}

div.c-items5Col__name {
  font-size: 13px;
  line-height: 1.35;
  margin: 0.5em auto;
  font-weight: bold;
  color: var(--black01);
}

li.sample p {
  display: block;
  margin: auto;
  text-align: center;
  font-size: 15px;
  color: var(--black01);
}

li.sample p.label {
  display: block;
  width: 100%;
  background: #818181;
  border-radius: 100px;
  line-height: 1;
  margin: 0 auto 10px;
  padding: 5px;
  color: #fff;
  text-align: center;
}

li.sample img {
  margin: auto;
}

@media screen and (max-width:768px) {
  div.productGrp_bg {
    padding-top: 0;
    border-radius: 20px;
  }

  div.productGrp {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 0;
    gap: 10px;

  }

}

@media screen and (max-width:500px) {
  div.productGrp_bg {
    padding: 0 10px 10px;
    border-radius: 25px;
  }

  div.productGrp {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 0;
    padding-top: 15px;
    border-radius: 20px;
  }

  div.productGrp li.back99 a {
    border-radius: 20px;
  }

  div.productGrp li.back99 a::after {
    border-radius: 100px;
  }

}

/*プライスダウン*/
/* li.pricedown {
  position: relative;
}

li.pricedown:after {
  content: "";
  display: block;
  width: 33px;
  height: 33px;
  background: url(https://www.smartschool.jp/contents/packages/defauhttps://d3t0ae4e2cnggp.cloudfront.net/resource/20250204/icon/icon_42.png)no-repeat;
  position: absolute;
  top: 10px;
  right: 10px;

} */





/*色別-----------*/

/*国語*/
div.kamoku-item:nth-of-type(1) a p,
#language h3.title{
color: var(--red01);
}
#language button.categoryBtn.active,
#language button.categoryBtn:hover{
  background: var(--red01);
  border: 1px solid var(--red01);
}
div.kamoku-item:nth-of-type(1) a:hover,
#language div.productGrp_bg{
background: var(--red02);
}

#language div.productGrp li.back99 a::after {
  background: var(--red01);
}
#language div.productGrp_bg{
  border-color: var(--red01);
}
/*漢字*/
div.kamoku-item:nth-of-type(2) a p,
#kanji h3.title{
color: var(--pink01);
}
#kanji button.categoryBtn.active,
#kanji button.categoryBtn:hover{
  background: var(--pink01);
  border: 1px solid var(--pink01);
}
div.kamoku-item:nth-of-type(2) a:hover,
#kanji div.productGrp_bg{
background: var(--pink02);
}

#kanji div.productGrp li.back99 a::after {
  background: var(--pink01);
}
#kanji div.productGrp_bg{
  border-color: var(--pink01);
}
/* 作文 */
div.kamoku-item:nth-of-type(3) a p,
#composition h3.title{
color: var(--orange01);
}
#composition button.categoryBtn.active,
#composition button.categoryBtn:hover{
  background: var(--orange01);
  border: 1px solid var(--orange01);
}
div.kamoku-item:nth-of-type(3) a:hover,
#composition div.productGrp_bg{
background: var(--orange02);
}

#composition div.productGrp li.back99 a::after {
  background: var(--orange01);
}
#composition div.productGrp_bg{
  border-color: var(--orange01);
}
/* 算数 */
div.kamoku-item:nth-of-type(4) a p,
#arithmetic h3.title{
color: var(--blue01);
}
#arithmetic button.categoryBtn.active,
#arithmetic button.categoryBtn:hover{
  background: var(--blue01);
  border: 1px solid var(--blue01);
}
div.kamoku-item:nth-of-type(4) a:hover,
#arithmetic div.productGrp_bg{
background: var(--blue02);
}

#arithmetic div.productGrp li.back99 a::after {
  background: var(--blue01);
}
#arithmetic div.productGrp_bg{
  border-color: var(--blue01);
}
/* 理科 */
div.kamoku-item:nth-of-type(5) a p,
#science h3.title{
color: var(--green01);
}
#science button.categoryBtn.active,
#science button.categoryBtn:hover{
  background: var(--green01);
  border: 1px solid var(--green01);
}
div.kamoku-item:nth-of-type(5) a:hover,
#science div.productGrp_bg{
background: var(--green02);
}

#science div.productGrp li.back99 a::after {
  background: var(--green01);
}
#science div.productGrp_bg{
  border-color: var(--green01);
}
/* 社会 */
div.kamoku-item:nth-of-type(6) a p,
#society h3.title{
color: var(--yellow01);
}
#society button.categoryBtn.active,
#society button.categoryBtn:hover{
  background: var(--yellow01);
  border: 1px solid var(--yellow01);
}
div.kamoku-item:nth-of-type(6) a:hover,
#society div.productGrp_bg{
background: var(--yellow02);
}

#society div.productGrp li.back99 a::after {
  background: var(--yellow01);
}
#society div.productGrp_bg{
  border-color: var(--yellow01);
}
/* 英語 */
div.kamoku-item:nth-of-type(7) a p,
#english h3.title{
color: var(--purple01);
}
#english button.categoryBtn.active,
#english button.categoryBtn:hover{
  background: var(--purple01);
  border: 1px solid var(--purple01);
}
div.kamoku-item:nth-of-type(7) a:hover,
#english div.productGrp_bg{
background: var(--purple02);
}

#english div.productGrp li.back99 a::after {
  background: var(--purple01);
}
#english div.productGrp_bg{
  border-color: var(--purple01);
}
/* 5mm方眼 */
div.kamoku-item:nth-of-type(8) a p,
#grid-5mm h3.title{
color: var(--sky01);
}
#grid-5mm button.categoryBtn.active,
#grid-5mm button.categoryBtn:hover{
  background: var(--sky01);
  border: 1px solid var(--sky01);
}
div.kamoku-item:nth-of-type(8) a:hover,
#grid-5mm div.productGrp_bg{
background: var(--sky02);
}

#grid-5mm div.productGrp li.back99 a::after {
  background: var(--sky01);
}
#grid-5mm div.productGrp_bg{
  border-color: var(--sky01);
}
/* その他方眼 */
div.kamoku-item:nth-of-type(9) a p,
#other-grid h3.title{
color: var(--yw-green01);
}
#other-grid button.categoryBtn.active,
#other-grid button.categoryBtn:hover{
  background: var(--yw-green01);
  border: 1px solid var(--yw-green01);
}
div.kamoku-item:nth-of-type(9) a:hover,
#other-grid div.productGrp_bg{
background: var(--yw-green02);
}

#other-grid div.productGrp li.back99 a::after {
  background: var(--yw-green01);
}
#other-grid div.productGrp_bg{
  border-color: var(--yw-green01);
}
/* タテ罫・ヨコ罫 */
div.kamoku-item:nth-of-type(10) a p,
#lines h3.title{
color: var(--yamabuki01);
}
#lines button.categoryBtn.active,
#lines button.categoryBtn:hover{
  background: var(--yamabuki01);
  border: 1px solid var(--yamabuki01);
}
div.kamoku-item:nth-of-type(10) a:hover,
#lines div.productGrp_bg{
background: var(--yamabuki02);
}

#lines div.productGrp li.back99 a::after {
  background: var(--yamabuki01);
}
#lines div.productGrp_bg{
  border-color: var(--yamabuki01);
}
/* ハーフ */
div.kamoku-item:nth-of-type(11) a p,
#herf h3.title{
color: var(--kon01);
}
#herf button.categoryBtn.active,
#herf button.categoryBtn:hover{
  background: var(--kon01);
  border: 1px solid var(--kon01);
}
div.kamoku-item:nth-of-type(11) a:hover,
#herf div.productGrp_bg{
background: var(--kon02);
}

#herf div.productGrp li.back99 a::after {
  background: var(--kon01);
}
#herf div.productGrp_bg{
  border-color: var(--kon01);
}
/* 連絡帳 */
div.kamoku-item:nth-of-type(12) a p,
#contact-book h3.title{
color: var(--emerald01);
}
#contact-book button.categoryBtn.active,
#contact-book button.categoryBtn:hover{
  background: var(--emerald01);
  border: 1px solid var(--emerald01);
}
div.kamoku-item:nth-of-type(12) a:hover,
#contact-book div.productGrp_bg{
background: var(--emerald02);
}

#contact-book div.productGrp li.back99 a::after {
  background: var(--emerald01);
}
#contact-book div.productGrp_bg{
  border-color: var(--emerald01);
}
/* 自主学習～ */
div.kamoku-item:nth-of-type(13) a p,
#free-book h3.title{
color: var(--beige01);
}
#free-book button.categoryBtn.active,
#free-book button.categoryBtn:hover{
  background: var(--beige01);
  border: 1px solid var(--beige01);
}
div.kamoku-item:nth-of-type(13) a:hover,
#free-book div.productGrp_bg{
background: var(--beige02);
}

#free-book div.productGrp li.back99 a::after {
  background: var(--beige01);
}
#free-book div.productGrp_bg{
  border-color: var(--beige01);
}




/*SS________EC-CUBE対策リセット*/
#fil {
  margin: 0 auto;
}

main.l-container {
  width: 100%;
}

.c-main {
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

#contentInner {
  width: auto;
  padding-bottom: 0;
}

#wide_main_contents {
  width: 100%;
}

.c-breadcrumb {
  width: 1200px;
  margin: auto;
}

@media (max-width: 1230px) {
  main.l-container {
    width: 123rem;
  }
}

@media (max-width: 768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block;
  }

  .l-container {
    width: 120rem;
  }

  #contentInner {
    width: 1200px;
    padding-bottom: 0;
  }

  #wide_main_contents {
    width: 1200px
  }
}