@charset "UTF-8";
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.two-td {
  background-color: #fff8f8 !important;
  vertical-align: middle !important;
}
.clearfix {
  display: inline-table;
}
.text-center {
  text-align: center;
  margin: 0 auto;
}
.grade-contact a :before {
  background: url(../images/ico_inq.png) no-repeat 0 0;
  content: "";
  display: inline-block;
  height: 20px;
  margin: 0 5px 0 0;
  position: relative;
  right: auto;
  vertical-align: middle;
  width: 20px;
}
.grade-description {
  background: #fff;
  border-collapse: separate;
  border-spacing: 10px;
  margin-bottom: 30px;
  font-size: 13px;
}
.grade-description tr th {
  border: none;
  background: #fafafa;
  border-top: 3px solid #d31e1e;
  padding: 15px;
  width: 460px;
  vertical-align: top;
}
.grade-description tr td {
  background: #fff;
  border: none;
  background: #fafafa;
  border-top: 3px solid #d31e1e;
  padding: 15px;
  vertical-align: top;
}
.grade-description tr td:last-child {
  width: 220px;
}
.grade-contact {
  margin-top: 15px;
}
.grade-contact a {
  background-color: #d31e1e;
  color: #fff;
  padding: 10px;
}
.grade-contact a:link, .grade-contact a:visited {
  color: #fff;
  text-decoration: none;
}
.grade-tab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 30px 0 70px;
}
.grade-tab a:link, .grade-tab a:visited {
  text-decoration: none;
}
.grade-tab li {
  text-align: center;
  flex-basis: 32%;
  font-size: 18px;
}
.grade-top li {
  border-bottom: 6px solid #eeeeee;
}
.grade-top li.grade-on {
  border-bottom: 6px solid #d31e1e;
  position: relative;
}
.grade-top .grade-on:after {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #d31e1e;
  bottom: -50px;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  height: 30px;
  width: 0px;
}
.grade-bottom .grade-on:after {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #d31e1e;
  top: -45px;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  height: 30px;
  width: 0px;
}
.grade-bottom li {
  border-top: 6px solid #eeeeee;
}
.grade-bottom li.grade-on {
  border-top: 6px solid #d31e1e;
  position: relative;
}
.grade-area {
  width: 930px;
  margin: 0 auto 100px;
}
.grade-title {
  margin: 7% auto 5%;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}
.grade-title span {
  border-bottom: 7px solid #d31e1e;
}
.pg_hs .grade-title span {
  border-bottom: 7px solid #172F6B;
}
.pg_school .grade-title span {
  border-bottom: 7px solid #005bab;
}
.pg_ps .grade-title span {
  border-bottom: 7px solid #664790;
}
.grade-title i {
  padding-right: 1%;
}
.grade-point h3 {
  background-color: #d31e1e;
  color: #fff;
  float: left;
  padding: 17px 25px;
  font-size: 13px;
  font-weight: normal;
  vertical-align: top;
  text-align: center;
}
.grade-point {
  margin-bottom: 35px;
}
.grade-point ul {
  vertical-align: top;
  margin: 0 0 0 20px;
  float: left;
}
.grade-area .grade-point ul li {
  margin-bottom: 5px;
  font-size: 13px;
  padding-left: 1.8em;
  text-indent: -1.8em;
}
.grade-area .grade-point ul li span {
  background-color: #d31e1e;
  padding: 1px 5px;
  color: #fff;
  margin-right: 5px;
}
.grade-triangle {
  text-align: center;
  padding-top: 10px;
}
.grade-triangle span {
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #d31e1e;
}
.grade-test {
  margin-bottom: 80px;
  border: 2px solid #d31e1e;
  padding: 13px 10px 20px 10px;
}
.grade-test h3 {
  font-size: 14px;
  line-height: 230%;
}
.grade-test h3 strong {
  font-size: 17px;
  font-weight: bold;
  color: #d31e1e;
  margin: 0 5px;
}
.grade-testseminar {
  border: 2px solid #d31e1e;
  padding: 13px 10px;
  margin-bottom: 30px;
}
.grade-testseminar h3 {
  font-size: 14px;
  line-height: 230%;
}
.grade-testseminar h3 strong {
  font-size: 17px;
  font-weight: bold;
  color: #d31e1e;
  margin: 0 5px;
}
.special-class {
  color: #d31e1e;
  border: 2px solid #d31e1e;
  padding: 5px 10px;
  margin-right: 10px;
}
.japanese, .math, .society, .science {
  padding: 5px 5px;
  margin-right: 10px;
  font-weight: normal;
}
.japanese {
  border: 2px solid #55af1b;
  color: #55af1b;
}
.math {
  border: 2px solid #a01818;
  color: #a01818;
}
.society {
  border: 2px solid #a09318;
  color: #a09318;
}
.science {
  border: 2px solid #1aa86b;
  color: #1aa86b;
}
.red-text {
  color: #d31e1e;
}
.sixth-test {
  margin-bottom: 80px;
}
.sixth-test ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.sixth-test ul li {
  flex-basis: 49%;
  margin-bottom: 10px;
  padding: 15px 15px;
  border: 2px solid #005BAB;
  text-align: center;
}
.grade-schedule {
  margin-bottom: 80px;
}
.grade-schedule tr th {
  background-color: #fffef0;
  border: 1px solid #eae6c7;
  width: 20%;
}
.grade-schedule tr td {
  border: 1px solid #eae6c7;
}
.grade-guidelines {
  margin-bottom: 80px;
}
.grade-guidelines tr th {
  background-color: #fffef0;
  border: 1px solid #eae6c7;
  width: 20%;
}
.grade-guidelines tr td {
  border: 1px solid #eae6c7;
}
.grade-price {
  margin-bottom: 80px;
}
.grade-price tr th {
  background-color: #fffef0;
  border: 1px solid #eae6c7;
  width: 20%;
}
.grade-price tr td {
  border: 1px solid #eae6c7;
  text-align: center;
}
.grade-school {
  margin-bottom: 80px;
}
.grade-school ul {
  margin-bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  font-size: 0.8rem;
  line-height: 1.5;
}
.grade-school ul li {
  padding: 15px 10px;
  border-top: 2px solid #f7b0b0;
  border-left: 2px solid #f7b0b0;
  border-right: 2px solid #f7b0b0;
  flex-basis: 25%;
  text-align: center;
  margin-right: 2%;
  cursor: pointer;
  background-color: #fff;
}
.pg_ps .grade-school ul li {
  border-top: 2px solid #bba5e5;
  border-left: 2px solid #bba5e5;
  border-right: 2px solid #bba5e5;
}
.pg_hs .grade-school ul li {
  border-top: 2px solid #AFBFE2;
  border-left: 2px solid #AFBFE2;
  border-right: 2px solid #AFBFE2;
}
.pg_school .grade-school ul li {
  border-top: 2px solid #005bab;
  border-left: 2px solid #005bab;
  border-right: 2px solid #005bab;
}
.grade-school ul li.current {
  background-color: #d31e1e;
  color: #fff;
  border-top: 2px solid #d31e1e;
  border-left: 2px solid #d31e1e;
  border-right: 2px solid #d31e1e;
}
.pg_hs .grade-school ul li.current {
  background-color: #172F6B;
  border-top: 2px solid #172F6B;
  border-left: 2px solid #172F6B;
  border-right: 2px solid #172F6B;
}
.pg_school .grade-school ul li.current {
  background-color: #005bab;
  border-top: 2px solid #005bab;
  border-left: 2px solid #005bab;
  border-right: 2px solid #005bab;
}
.pg_ps .grade-school ul li.current {
  background-color: #664790;
  color: #fff;
  border-top: 2px solid #664790;
  border-left: 2px solid #664790;
  border-right: 2px solid #664790;
}
.grade-abroad {
  margin-bottom: 30px;
}
.grade-abroad > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-bottom: 0;
}
.grade-abroad > ul > li {
  padding: 15px 10px;
  border-top: 1px solid #512131;
  border-left: 1px solid #512131;
  border-right: 1px solid #512131;
  flex-basis: 25%;
  text-align: center;
  margin-right: 2%;
  cursor: pointer;
  background-color: #fcf3e3;
}
.grade-abroad > ul > li.current {
  background-color: #512131;
  color: #fff;
  border-top: 1px solid #512131;
  border-left: 1px solid #512131;
  border-right: 1px solid #512131;
}
.school-box {
  width: 920px;
  padding: 20px 0px 0 20px;
  border: 1px solid #d31e1e;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.school-box p {
  flex-basis: 15%;
  margin-bottom: 1%;
  margin-right: 1.5%;
  background-color: #fff;
}
.school-box p a::before {
  content: "\f054";
  font-family: FontAwesome;
  padding-right: 4%;
  color: #f7b0b0;
}
.pg_ps .school-box p a::before {
  color: #bba5e5;
}
.pg_hs .school-box p a::before {
  color: #AFBFE2;
}
.pg_school .school-box p a::before {
  color: #dddddd;
}
.school-box p a {
  padding: 15px 10px;
  display: block;
  text-align: center;
  line-height: 1;
  width: 100%;
  border: 1px solid #d31e1e;
}
.pg_hs .school-box p a {
  border: 1px solid #172F6B;
}
.pg_school .school-box p a {
  border: 1px solid #005bab;
}
.pg_ps .school-box p a {
  border: 1px solid #461587;
}
.school-box p a:hover {
  background-color: #d31e1e;
  color: #fff;
  opacity: 1;
}
.pg_hs .school-box p a:hover {
  background-color: #172F6B;
}
.pg_ps .school-box p a:hover {
  background-color: #461587;
}
.pg_school .school-box p a:hover {
  background-color: #005bab;
}
.school-box p a:link, .school-box p a:visited {
  text-decoration: none;
}
/*タブ*/
.js-tab-contents {
  display: none;
}
.js-tab-contents.current {
  width: 100%;
  max-width: 1080px;
  padding: 20px 0px 10px 20px;
  border: 1px solid #d31e1e;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  font-size: 0.8rem;
  background-color: rgba(199, 33, 32, 0.1);
}
.pg_ps .js-tab-contents.current {
	border: 1px solid #461587;
	background-color: rgba(70, 21, 135, 0.1);
}
.pg_hs .js-tab-contents.current {
  border: 1px solid #172F6B;
  background-color: rgba(23, 47, 107, 0.1);
}
.pg_school .js-tab-contents.current {
  border: 1px solid #005bab;
  background-color: #f2f2f2;
}
.abroad-tab-contents {
  display: none;
}
.abroad-tab-contents.current {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 10px 20px 20px;
  border: 1px solid #512131;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.abroad-tab-contents.current img {
  width: 100% !important;
  height: auto !important;
}
.js-tab-contents-blue {
  display: none;
}
.js-tab-contents-blue.current {
  width: 100%;
  max-width: 1080px;
  padding: 20px 0px 10px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  font-size: 0.8rem;
  border: 1px solid #172F6B;
  background-color: rgba(23, 47, 107, 0.1);
}
.grade-school-blue ul li {
  border-top: 2px solid #AFBFE2;
  border-left: 2px solid #AFBFE2;
  border-right: 2px solid #AFBFE2;
  padding: 15px 10px;
  flex-basis: 40%;
  text-align: center;
  margin-right: 2%;
  cursor: pointer;
  background-color: #fff;
}
.grade-school-blue ul li.current {
  background-color: #172F6B;
  border-top: 2px solid #172F6B;
  border-left: 2px solid #172F6B;
  border-right: 2px solid #172F6B;
  color: #fff;
}
/* school-boxの一部を変更 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;600&display=swap');
.normal-wrapper {
  font-family: 'Noto Sans JP';
  font-weight: 600;
  color: #515151;
}
.js-tab-wrap .normal-box {
  border: 1px solid #FFFFFF !important;
  background-color: rgba(150, 150, 150, 0.3) !important;
}
.js-tab-wrap .normal-box p a {
  border: none;
  color: #515151;
}
.js-tab-wrap .normal-box p a:hover {
  border: none;
  color: #FFFFFF;
}
/* school-boxの一部を変更　ここまで */
/* 授業内容 */
.curriculum-area {
  width: 780px;
  margin: 0 auto 80px;
  padding-bottom: 80px;
  border-bottom: 2px solid #eeeeee;
}
.curriculum-area h3 {
  text-align: center;
}
.curriculum-area dl {
  margin-bottom: 80px;
  display: none;
  /* テキスト未入力のため、非表示 */
}
.curriculum-area dl dt span {
  color: #fff;
  background-color: #d31e1e;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  margin-right: 10px;
}
.curriculum-left {
  float: left;
}
.curriculum-right {
  float: right;
}
.curriculum-table-area {
  width: 100%;
}
.curriculum-table {
  margin-bottom: 80px;
  width: 375px;
}
.curriculum-table tr th {
  background-color: #fffef0;
  border: 1px solid #eae6c7;
  width: 20%;
}
.curriculum-table tr:first-child th {
  border-bottom: 1px solid #eae6c7;
  border-left: 1px solid #eae6c7;
  border-right: 1px solid #eae6c7;
}
.curriculum-table tr td {
  border: 1px solid #eae6c7;
}
.curriculum-table tr:first-child td {
  border-bottom: 1px solid #eae6c7;
  border-left: 1px solid #eae6c7;
  border-right: 1px solid #eae6c7;
}
.curriculum-area h4 {
  border-left: 6px solid #d31e1e;
  padding-left: 10px;
  margin-bottom: 30px;
}
.curriculum-link-bg {
  width: 930px;
  background-color: #eee;
  padding: 10px;
  margin-bottom: 60px;
}
.curriculum-link {
  margin: 0;
  background-color: #fff;
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.curriculum-link img {
  vertical-align: middle;
  padding-right: 10px;
}
/* アコーディオン */
.cp_actab {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  color: #ffffff;
}
.cp_actab input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.cp_actab label {
  font-weight: bold;
  line-height: 3;
  position: relative;
  display: block;
  padding: 0 0 0 1em;
  cursor: pointer;
  background-color: #fffef0;
  border: 1px solid #eae6c7;
  text-align: center;
  color: #323333;
}
.cp_actab .cp_actab-content {
  overflow: hidden;
  max-height: 0;
  -webkit-transition: max-height 0.35s;
  transition: max-height 0.35s;
  color: #333333;
}
.cp_actab .cp_actab-content p {
  margin: 1em;
}
/* :checked */
.cp_actab input:checked ~ .cp_actab-content {
  max-height: 200em;
}
/* Icon */
.cp_actab label::after {
  line-height: 3;
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 3em;
  height: 3em;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  text-align: center;
  color: #555555;
}
.cp_actab input[type=checkbox] + label::after {
  content: '+';
}
.cp_actab input[type=checkbox]:checked + label::after {
  transform: rotate(315deg);
}
/* 幅1024px以下から
------------------------------------------------------------*/
@media only screen and (min-width: 769px) {
  .fourth-mv {
    width: 1030px;
    height: 300px;
    background: url(../images/jhs/fourth-mv.jpg) no-repeat;
  }
  .sixth-mv {
    width: 1030px;
    height: 300px;
    background: url(../images/jhs/fifth-mv.jpg) no-repeat;
  }
  .fifth-mv {
    width: 1030px;
    height: 300px;
    background: url(../images/jhs/sixth-mv.jpg) no-repeat;
  }
  .mv-description {
    position: absolute;
    top: 27%;
    left: 20px;
  }
  .mv-area {
    position: relative;
  }
}
/* 幅1000px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 1000px) {
  /* ===== RENSEI STYLES ===== */
}
/* 幅900px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 900px) {}
/* 幅768px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  /* スマホ */
  .abroad-tab-contents.current img {
    width: 100% !important;
    height: auto !important;
  }
  .js-tab-wrap {
    margin: 0 auto;
    /* width: 90%; */
  }
  .fourth-mv {
    height: 180px;
    background: url(../images/jhs/fourth-mv.jpg) no-repeat;
    background-size: cover;
    background-position: center;
  }
  .sixth-mv {
    background: url(../images/jhs/fifth-mv.jpg) no-repeat;
    height: 180px;
    background-size: cover;
    background-position: center;
  }
  .fifth-mv {
    height: 180px;
    background: url(../images/jhs/sixth-mv.jpg) no-repeat;
    background-size: cover;
    background-position: center;
  }
  .mv-description {
    position: static;
    display: none;
  }
  .mv-area {
    position: relative;
  }
  .grade-contact a :before {
    background: url(../images/ico_inq.png) no-repeat 0 0;
    content: "";
    display: inline-block;
    height: 20px;
    margin: 0 5px 0 0;
    position: relative;
    right: auto;
    vertical-align: middle;
    width: 20px;
  }
  .grade-description {
    background: #fff;
    border-collapse: separate;
    border-spacing: 0px;
    margin-bottom: 3%;
    font-size: 16px;
  }
  .grade-description tr th {
    border: none;
    background: #fafafa;
    border-top: 3px solid #d31e1e;
    /* padding: 1.5%; */
    width: 100%;
    vertical-align: top;
    margin-bottom: 2%;
  }
  .grade-description tr td {
    background: #fff;
    border: none;
    background: #fafafa;
    border-top: 3px solid #d31e1e;
    /*padding: 1.5%;*/
    vertical-align: top;
    margin-bottom: 2%;
  }
  .grade-description tr td:last-child {
    width: 97%;
  }
  .grade-contact {
    margin-top: 15px;
  }
  .grade-contact a {
    background-color: #d31e1e;
    color: #fff;
    padding: 10px;
  }
  .grade-contact a:link, .grade-contact a:visited {
    color: #fff;
    text-decoration: none;
  }
  .grade-tab {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 20px 0 50px;
  }
  .grade-tab a:link, .grade-tab a:visited {
    text-decoration: none;
  }
  .grade-tab li {
    text-align: center;
    flex-basis: 32%;
    font-size: 18px;
  }
  .grade-top li {
    border-bottom: 6px solid #eeeeee;
  }
  .grade-top li.grade-on {
    border-bottom: 6px solid #d31e1e;
    position: relative;
  }
  .grade-top .grade-on:after {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #d31e1e;
    bottom: -50px;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    height: 30px;
    width: 0px;
  }
  .grade-bottom .grade-on:after {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #d31e1e;
    top: -45px;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    height: 30px;
    width: 0px;
  }
  .grade-bottom li {
    border-top: 6px solid #eeeeee;
  }
  .grade-bottom li.grade-on {
    border-top: 6px solid #d31e1e;
    position: relative;
  }
  .grade-area {
    width: 100%;
    margin: 0 auto 10%;
  }
  .grade-title {
    padding-left: 10px;
    margin-bottom: 30px;
    font-size: 22px;
  }
  .grade-point h3 {
    background-color: #d31e1e;
    color: #fff;
    float: none;
    padding: 1.7% 2.5%;
    font-weight: normal;
    vertical-align: top;
    text-align: center;
    margin-bottom: 2%;
  }
  .grade-point {
    margin-bottom: 3.5%;
  }
  .grade-point ul {
    vertical-align: top;
    margin: 0 0 0 0;
    float: none;
  }
  .grade-area .grade-point ul li {
    margin-bottom: 5px;
    font-size: 13px;
    padding-left: 1.8em;
    text-indent: -1.8em;
  }
  .grade-area .grade-point ul li span {
    background-color: #d31e1e;
    padding: 1px 5px;
    color: #fff;
    margin-right: 5px;
  }
  .grade-triangle {
    text-align: center;
    padding-top: 10px;
  }
  .grade-triangle span {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #d31e1e;
  }
  .grade-test {
    margin-bottom: 80px;
    border: 2px solid #d31e1e;
    padding: 13px 10px 20px 10px;
  }
  .grade-test h3 {
    font-size: 14px;
    line-height: 230%;
  }
  .grade-test h3 strong {
    font-size: 17px;
    font-weight: bold;
    color: #d31e1e;
    margin: 0 5px;
  }
  .grade-testseminar {
    border: 2px solid #d31e1e;
    padding: 13px 10px;
    margin-bottom: 30px;
  }
  .grade-testseminar h3 {
    font-size: 14px;
    line-height: 230%;
  }
  .grade-testseminar h3 strong {
    font-size: 17px;
    font-weight: bold;
    color: #d31e1e;
    margin: 0 5px;
  }
  .special-class {
    color: #d31e1e;
    border: 2px solid #d31e1e;
    padding: 5px 10px;
    margin-right: 10px;
    display: block;
    margin-bottom: 2%;
  }
  .japanese, .math, .society, .science {
    padding: 5px 5px;
    margin-right: 10px;
    font-weight: normal;
  }
  .japanese {
    border: 2px solid #55af1b;
    color: #55af1b;
  }
  .math {
    border: 2px solid #a01818;
    color: #a01818;
  }
  .society {
    border: 2px solid #a09318;
    color: #a09318;
  }
  .science {
    border: 2px solid #1aa86b;
    color: #1aa86b;
  }
  .red-text {
    color: #d31e1e;
  }
  .sixth-test {
    margin-bottom: 80px;
  }
  .sixth-test ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 0 20px;
  }
  .sixth-test ul li {
    flex-basis: 49%;
    margin-bottom: 10px;
    padding: 15px 15px;
    border: 2px solid #005BAB;
    text-align: center;
  }
  .grade-schedule {
    margin-bottom: 8%;
    width: 100%;
  }
  .grade-schedule tr th {
    background-color: #fffef0;
    border: 1px solid #eae6c7;
  }
  .grade-schedule tr td {
    border: 1px solid #eae6c7;
  }
  .grade-guidelines {
    margin-bottom: 8%;
  }
  .grade-guidelines tr th {
    background-color: #fffef0;
    border: 1px solid #eae6c7;
    width: 100%;
    display: block;
  }
  .grade-guidelines tr td {
    border: 1px solid #eae6c7;
    width: 100%;
    display: block;
  }
  .grade-price {
    margin-bottom: 8%;
  }
  .grade-price tr th {
    background-color: #fffef0;
    border: 1px solid #eae6c7;
  }
  .grade-price tr td {
    border: 1px solid #eae6c7;
  }
  .grade-school {
    margin-bottom: 8%;
  }
  .grade-school ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 0;
  }
  .grade-school ul li {
    padding: 1.5% 1%;
    border-top: 2px solid #f7b0b0;
    border-left: 2px solid #f7b0b0;
    border-right: 2px solid #f7b0b0;
    flex-basis: 32%;
    text-align: center;
    margin-right: 2%;
    cursor: pointer;
    /** 以下中央揃え**/
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .grade-school ul li.current {
    background-color: #d31e1e;
    color: #fff;
    border-top: 2px solid #d31e1e;
    border-left: 2px solid #d31e1e;
    border-right: 2px solid #d31e1e;
  }
  .grade-abroad {
    margin-bottom: 3%;
  }
  .grade-abroad ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 0;
  }
  .grade-abroad ul li {
    padding: 1.5% 1%;
    border-top: 1px solid #512131;
    border-left: 1px solid #512131;
    border-right: 1px solid #512131;
    background-color: #fcf3e3;
    flex-basis: 25%;
    text-align: center;
    margin-right: 2%;
    cursor: pointer;
    font-size: 80%;
  }
  .grade-abroad ul li.current {
    background-color: #512131;
    color: #fff;
    border-top: 1px solid #512131;
    border-left: 1px solid #512131;
    border-right: 1px solid #512131;
  }
  .school-box p {
    flex-basis: 30%;
    margin-bottom: 3%;
    margin-right: 3%;
    text-align: center;
  }
  .school-box p:nth-child(3) {
    margin-right: 0%;
  }
  .school-box p::before {
    /*content: ">";
	padding-right: 5px;*/
  }
  .school-box p a:link, .school-box p a:visited {
    text-decoration: none;
  }
  .grade-school-blue ul li.current {
    background-color: #194cb2;
    color: #fff;
    border-top: 2px solid #194cb2;
    border-left: 2px solid #194cb2;
    border-right: 2px solid #194cb2;
  }
  /*タブ*/
  .js-tab-contents.current {
    padding: 20px 4% 15px 7%;
    font-size: 0.7rem;
  }
  .abroad-tab-contents {
    display: none;
  }
  .abroad-tab-contents.current {
    width: 100%;
    box-sizing: border-box;
    padding: 4% 4% 2% 4%;
    border: 1px solid #512131;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .abroad-tab-contents.current img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
  }
  /* 授業内容 */
  .curriculum-area {
    width: 90%;
    margin: 0 auto 8%;
    padding-bottom: 8%;
    border-bottom: 2px solid #eeeeee;
  }
  .curriculum-area h3 {
    text-align: center;
  }
  .curriculum-area dl {
    margin-bottom: 8%;
  }
  .curriculum-area dl dt span {
    color: #fff;
    background-color: #d31e1e;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 10px;
  }
  .curriculum-left {
    float: none;
    margin-bottom: 2%;
  }
  .curriculum-right {
    float: none;
  }
  .curriculum-table-area {
    width: 100%;
  }
  .curriculum-table {
    margin-bottom: 8%;
    width: 100%;
  }
  .curriculum-table tr th {
    background-color: #fffef0;
    border: 1px solid #eae6c7;
    width: 100%;
    display: block;
  }
  .curriculum-table tr:first-child th {
    border-bottom: 1px solid #eae6c7;
    border-left: 1px solid #eae6c7;
    border-right: 1px solid #eae6c7;
  }
  .curriculum-table tr td {
    border: 1px solid #eae6c7;
    width: 100%;
    display: block;
  }
  .curriculum-table tr:first-child td {
    border-bottom: 1px solid #eae6c7;
    border-left: 1px solid #eae6c7;
    border-right: 1px solid #eae6c7;
  }
  .curriculum-area h4 {
    border-left: 6px solid #d31e1e;
    padding-left: 10px;
    margin-bottom: 30px;
  }
  .curriculum-link-bg {
    width: 100%;
    background-color: #eee;
    padding: 1%;
    margin-bottom: 6%;
  }
  .grade-slider {
    margin-bottom: 25%;
  }
}
/* 幅375px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 375px) {}