@charset "UTF-8";
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  display: inline-table;
  width: 100%;
}
.text-center {
  text-align: center;
  margin: 0 auto;
}
.no-class a {
  cursor: none;
}
.bg_grid {
  width: 100%;
  background-image: linear-gradient(#eee 1px, transparent 0), linear-gradient(90deg, #eee 1px, transparent 0);
  background-size: 40px 40px;
}
.grid-contents {
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  max-width: 1080px;
}
.grid-title-m {
  padding: 15px 0 15px;
  font-size: 26px;
  border: 1px solid #d31e1e;
  background-color: #fff;
  color: #d31e1e;
  text-align: center;
  width: 600px;
  margin: 0 auto 50px;
}
.grid-title {
  padding: 15px 0 15px;
  font-size: 26px;
  border: 1px solid #d31e1e;
  background-color: #fff;
  color: #d31e1e;
  text-align: center;
  margin-bottom: 30px;
}
.flex-contents {
  margin-bottom: 70px;
  width: 1040px;
}
.sapix-table {
  background-color: #fff;
}
.sapix-table tr th {
  text-align: center;
  width: 20%;
}
.sapix-table tr th:first-child {
  background-color: #d31e1e;
  color: #fff;
}
.sapix-table tr th:nth-child(2) {
  background-color: #063c90;
  color: #fff;
}
.sapix-table tr td {
  text-align: center;
  vertical-align: middle;
  font-size: 13px;
}
.flex-contents div:first-child {
  width: 560px;
  float: left;
}
.flex-contents div:last-child {
  width: 460px;
  float: right;
}
.marker-title {
  margin-bottom: 10px;
}
.marker-title strong {
  background: linear-gradient(transparent 60%, #e5db23 60%);
}
.flex-img-left h3, .flex-img-right h3 {
  color: #d31e1e;
  position: relative;
  font-size: 20px;
  margin-bottom: 20px;
}
.flex-img-left h3:before, .flex-img-right h3:before {
  content: url('../images/jhs/method/method-triangle.png');
}
.flex-img-left {
  width: 1040px;
  margin-bottom: 50px;
}
.flex-img-right {
  width: 1040px;
  margin-bottom: 50px;
}
.flex-img-left section:first-child {
  width: 500px;
  float: right;
}
.flex-img-left section:last-child {
  width: 500px;
  float: left;
}
.flex-img-right section:first-child {
  width: 500px;
  float: left;
}
.flex-img-right section:last-child {
  width: 500px;
  float: right;
}
.padding-contents {
  padding: 0 20px;
  width: 1020px;
}
.padding-contents div:first-child {
  float: left;
  width: 440px;
}
.padding-contents div:last-child {
  float: right;
}
.padding-contents2 {
  padding: 0 20px;
  width: 1020px;
}
.padding-contents2 div:first-child {
  float: left;
}
.padding-contents2 div:last-child {
  float: right;
  width: 440px;
}
.briefing-bg {
  background-color: #ecf4e6;
  padding: 20px 20px 40px;
  margin-bottom: 50px;
}
.briefing-bg h3 {
  font-weight: bold;
}
.briefing-bg h3::before {
  padding-right: 10px;
  content: "";
  border-left: 5px solid #55ad1c;
}
.briefing-bg h4 {
  color: #55ad1c;
  font-size: 22px;
}
.briefing-title {
  background-color: #55ad1c;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}
.brifing-bt {
  margin: 0 auto;
  background-color: #d31e1e;
  color: #fff;
  padding: 10px;
  text-align: center;
}
.briefing-bg div div:first-child {
  float: left;
  width: 600px;
}
.briefing-bg div div:last-child {
  float: right;
  width: 300px;
  text-align: center;
}
.sp-table tr td {
  background-color: #fff;
}
/*********************************************************************
   私立中学受験コース　ここから
*********************************************************************/
.grade-course-wrapper {
  margin: 50px auto;
  width: 96%;
  max-width: 1080px;
}
.grade-top {
  padding: 30px 0 10px;
}
.grade-select {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.jhs-top .grade-select {
  flex-wrap: wrap;
}
.jhs-top .grade-select div {
  flex-basis: 32%;
}
.jhs-top .grade-select > div:nth-child(1), .jhs-top .grade-select > div:nth-child(2), .jhs-top .grade-select > div:nth-child(3) {
  margin-bottom: 25px;
}
.jhs-top .grade-select div div p+p {
  margin-top: 16px;
}
.grade-select div {
  flex-basis: 15%;
}
.grade-select div h4 {
  padding: 10px;
  text-align: center;
  color: #232323;
  background: #f3f3f3;
}
.grade-select div div {
  padding: 16px;
  border-bottom: 3px solid #eeeeee;
  border-right: 3px solid #eeeeee;
  border-left: 3px solid #eeeeee;
}
.jhs-top .grade-select div div {
  padding: 24px 28px;
  background: #ffffff;
}
.grade-select div div.oneclass {
  padding: 10px 10px 18px 10px;
}
.grade-select div div p {
  text-align: center;
}
.grade-select div div p a {
  text-decoration: none;
  display: block;
  padding: 8px 0;
  line-height: 1;
}
/* ピグマクラス */
.grade-pigma {
  color: #cece2e;
  border: 1px solid #cece2e;
}
.grade-pigma:link, .grade-pigma:visited {
  color: #6b6b6b;
  background: #dddd95
}
.grade-pigma:hover {
  opacity: 1;
  color: #fff;
  background: #cece2e;
  border: 1px solid #cece2e;
}
/* αクラス */
.grade-sclass {
  color: #333333;
  border: 1px solid #c3a1a1;
}
.grade-sclass:link, .grade-sclass:visited {
  color: #7f5050;
  background: #f1becb;
}
.grade-sclass:hover {
  opacity: 1;
  color: #ffffff;
  background: #333333;
  border: 1px solid #333333;
}
/* Jクラス */
.grade-jclass {
  color: #00567a;
  border: 1px solid #97bccb;
}
.grade-jclass:link, .grade-jclass:visited {
  color: #47636f;
  background: #c3d8df;
}
.grade-jclass:hover {
  opacity: 1;
  color: #FFFFFF;
  background: #00567a;
  border: 1px solid #00567a;
}
/* Dクラス */
.grade-dclass {
  color: #7F74AA;
  border: 1px solid #7F74AA;
}
.grade-dclass:link, .grade-dclass:visited {
  color: #7F74AA;
  background: #EAE8F0;
}
.grade-dclass:hover {
  opacity: 1;
  color: #FFFFFF;
  border: 1px solid #7F74AA;
  background: #7F74AA;
}
/* 愛教大附属中学クラス */
.grade-aikyoclass {
  margin-top: 16px;
  color: #1da9ef;
  border: 1px solid #1da9ef;
}
.grade-aikyoclass:link, .grade-aikyoclass:visited {
  color: #1da9ef;
}
.grade-aikyoclass:hover {
  color: #fff;
  background-color: #1da9ef;
}
/* 公立中高一貫校受検コース */
.grade-ps {
  color: #9f79cf;
  border: 1px solid #9f79cf;
}
.grade-ps:link, .grade-ps:visited {
  color: #9f79cf;
}
.grade-ps:hover {
  color: #fff;
  background-color: #9f79cf;
}
/* 表　ここから */
.jhs-course-table-box {
  margin: 20px auto 30px;
  padding: 0;
}
.jhs-course-table-box h4 {
  margin-bottom: 5px;
  font-size: 120%;
  font-weight: bold;
}
table.jhs-course-table {
  table-layout: fixed;
  font-size: 80%;
  border-collapse: separate;
  border-spacing: 0px 10px;
  border-left: solid 1px #515151;
  border-right: solid 1px #515151;
  background: #FFFFFF; /* この背景色を、「table.jhs-course-table thead td」のborder-leftとborder-right、各矢印のborder-colorにも適用する */
}
table.jhs-course-table th, table.jhs-course-table td {
  vertical-align: middle;
  border: none;
}
table.jhs-course-table thead th {
  padding: 5px 0;
  text-align: center;
  line-height: 1;
  background: transparent;
}
table.jhs-course-table thead th:not(:first-child) {
  border-left: solid 1px #515151;
}
table.jhs-course-table thead td {
  padding: 5px;
  color: #FFFFFF;
  background: #515151;
  text-align: center;
  line-height: 1.3;
  border-left: solid 5px #FFFFFF;
  border-right: solid 5px #FFFFFF;
}
table.jhs-course-table tbody td {
  padding: 15px 15px 15px 25px;
  text-align: left;
  line-height: 1.3;
}
.emp {
  empty-cells: hide;
} /* 空のセルを非表示にする */
.jct_a a, .jct_p a, .jct_d a, .jct_j a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} /* リンク全体に広げる */
.jct_a {
  position: relative;
  background: #E6B6B6 !important;
} /* αクラス */
.jct_p {
  position: relative;
  background: #EBEBC5 !important;
} /* ピグマクラス */
.jct_j {
  position: relative;
  background: #DDE7EE !important;
} /* Jクラス */
.jct_d {
  position: relative;
  background: #EAE8F0 !important;
} /* Dクラス */
.jct_a:hover {
  box-shadow: inset 0 0 20px #A60043;
} /* ホバー影　αクラス */
.jct_p:hover {
  box-shadow: inset 0 0 20px #CECE2E;
} /* ホバー影　ピグマクラス */
.jct_j:hover {
  box-shadow: inset 0 0 20px #00567A;
} /* ホバー影　Jクラス */
.jct_d:hover {
  box-shadow: inset 0 0 20px #7F74AA;
} /* ホバー影　Dクラス */
/* 矢印　αクラス・Jクラス・Dクラス */
.jct_a:before, .jct_d:before, .jct_j:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent #FFFFFF transparent transparent;
  border-width: 0 15px 40px 0;
}
.jct_a:after, .jct_j:after, .jct_d:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent #FFFFFF transparent;
  border-width: 0 0 40px 15px;
}
/* 矢印　ピグマクラス */
.jct_p:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent #FFFFFF transparent transparent;
  border-width: 0 15px 60px 0;
}
.jct_p:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent #FFFFFF transparent;
  border-width: 0 0 60px 15px;
}
@media only screen and (max-width: 768px) {
  .jhs-course-table-box {
    margin: 20px auto;
  }
  table.jhs-course-table {
    font-size: 70%;
  }
  table.jhs-course-table tbody td {
    padding: 10px;
  }
  .jct_a:before, .jct_d:before, .jct_j:before {
    border-width: 0 15px 50px 0;
  }
  .jct_a:after, .jct_j:after, .jct_d:after {
    border-width: 0 0 50px 15px;
  }
  .jct_p:before {
    border-width: 0 15px 90px 0;
  }
  .jct_p:after {
    border-width: 0 0 90px 15px;
  }
}
/* 表　ここまで */
/*********************************************************************
   私立中学受験コース　ここまで
*********************************************************************/
.recruitment-course {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.recruitment-course div {
  flex-basis: 49%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 2%;
}
.recruitment-course div dl {
  margin: 0;
  flex-basis: 100%;
}
.border-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
}
.border-title span {
  padding: 0 20px;
  background-color: #ffffff;
  display: inline-block;
  position: relative;
}
.border-title:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-border-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
}
.top-border-title span {
  padding: 0 20px;
  background-color: #fafafa;
  display: inline-block;
  position: relative;
}
.top-border-title:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.recruitment-course div div {
  text-align: center;
  flex-basis: 30%;
}
.recruitment-course div div a:link, .recruitment-course div div a:visited {
  color: #005bab;
  text-decoration: none;
  width: 90px;
  height: 90px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  border: 3px solid #eeeeee;
  font-weight: bold;
}
.recruitment-course div dl dt {
  font-size: 16px;
  border-bottom: 1px solid #005bab;
  font-size: 16px;
  border-bottom: 2px solid #005bab;
  font-weight: bold;
}
.recruitment-course div dl dd {
  font-size: 13px;
}
.recruitment-course div dl dt a, .recruitment-course div dl dt a:link, .recruitment-course div dl dt a:visited {
  color: #005bab;
  text-decoration: none;
}
.recruitment-course div dl dt a i {
  margin-right: 5px;
}
.grade-topmenu-bg {
  background-color: #fafafa;
}
.grade-topmenu {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
/* 幅1024px以下から
------------------------------------------------------------*/
@media only screen and (min-width: 769px) {
  .mv {
    width: 1080px;
    margin: 0 auto;
  }
  .pigma-mv {
    width: 1080px;
    margin: 0 auto;
  }
}
/* 幅1000px以下から
------------------------------------------------------------*/
@media only screen and (min-width: 901px) {
  /* ===== RENSEI STYLES ===== */
  #grade-button {
    display: none;
  }
  #grade-menu-sp {
    display: none;
  }
}
/* 幅900px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 900px) {
  #grade-button {
    display: block;
    cursor: pointer;
    padding: 2%;
    background-color: #d4151e;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 120%;
    position: relative;
  }
  .jhs-top .grade-select div div {
    padding: 12px 8px;
    font-size: 12px;
  }
  .jhs-top .grade-select > div:nth-child(6) p:nth-child(2), .jhs-top .grade-select > div:nth-child(5) p:nth-child(2), .jhs-top .grade-select > div:nth-child(4) p:nth-child(2) {
    /* margin-bottom: 5%; */
  }
  .grade-aikyoclass {
    margin-top: 5%;
  }
  #grade-button i {}
  #grade-menu-sp {
    display: none;
  }
  .grade-top {
    padding: 3% 0 1%;
  }
  .grade-select {}
  .grade-select div h4 {
    padding: 1% 0;
  }
  .grade-select div {
    flex-basis: 32%;
    height: 100%;
  }
  .jhs-top .grade-select > div:nth-child(1), .jhs-top .grade-select > div:nth-child(2), .jhs-top .grade-select > div:nth-child(3) {
    margin-bottom: 10px;
  }
  .grade-select div div {
    border-bottom: 3px solid #eeeeee;
    border-right: 3px solid #eeeeee;
    border-left: 3px solid #eeeeee;
    height: 100%;
    width: 100%;
    font-size: 14px;
  }
  .grade-select div div.oneclass {
    padding: 5%;
  }
  .grade-select div div p:first-child {
    /* margin-bottom: 5%; */
  }
  .jhs-top .grade-select div div p+p {
    margin-top: 8px;
  }
  .grade-select div div p {
    text-align: center;
  }
  .grade-select div div p a {
    padding: 5px 0;
    line-height: 1.4;
    font-feature-settings: "palt";
  }
  .grade-pigma {
    border: 1px solid #cece2e;
    color: #cece2e;
  }
  .grade-pigma:link, .grade-pigma:visited {
    color: #6b6b6b;
  }
  .grade-pigma:hover {
    border: 1px solid #cece2e;
    color: #fff;
    background-color: #cece2e;
  }
  .grade-sclass {
    border: 1px solid #c3a1a1;
    color: #333333;
  }
  .grade-sclass:link, .grade-sclass:visited {
    color: #7f5050;
  }
  .grade-sclass:hover {
    border: 1px solid #333333;
    color: #ffffff;
    background-color: #333333;
  }
  .grade-jclass {
    border: 1px solid #97bccb;
    color: #00567a;
  }
  .grade-jclass:link, .grade-jclass:visited {
    color: #00567a;
  }
  .grade-jclass:hover {
    border: 1px solid #00567a;
    background-color: #00567a;
    color: #fff;
  }
  .no-class {
    padding: 8px 0;
  }
  .recruitment-course {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .recruitment-course div {
    flex-basis: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 2%;
  }
  .recruitment-course div dl {
    margin: 0;
    flex-basis: 96%;
    margin-left: 3%;
  }
  .border-title {
    text-align: center;
    margin-bottom: 2%;
    font-size: 120%;
    position: relative;
  }
  .border-title span {
    padding: 0 2%;
    background-color: #ffffff;
    display: inline-block;
    position: relative;
  }
  .border-title:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  .top-border-title {
    text-align: center;
    margin-bottom: 2%;
    position: relative;
  }
  .top-border-title span {
    padding: 0 2%;
    background-color: #fafafa;
    display: inline-block;
    position: relative;
  }
  .top-border-title:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  .recruitment-course div div {
    text-align: center;
    flex-basis: 16%;
  }
  .recruitment-course div div a:link, .recruitment-course div div a:visited {
    color: #005bab;
    text-decoration: none;
    width: 90px;
    height: 90px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    text-align: center;
    font-size: 85%;
    line-height: 1.4;
    border: 3px solid #eeeeee;
    font-weight: bold;
  }
  .recruitment-course div dl dt {
    font-size: 16px;
    border-bottom: 1px solid #005bab;
    font-size: 16px;
    border-bottom: 2px solid #005bab;
    font-weight: bold;
  }
  .recruitment-course div dl dd {
    font-size: 13px;
  }
  .recruitment-course div dl dt a, .recruitment-course div dl dt a:link, .recruitment-course div dl dt a:visited {
    color: #005bab;
    text-decoration: none;
  }
  .recruitment-course div dl dt a i {
    margin-right: 5px;
  }
  .grade-topmenu-bg {
    background-color: #fafafa;
  }
  .grade-topmenu {
    width: 96%;
    margin: 0 auto;
  }
}
/* 幅768px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  /* スマホ */
  .grid-contents {
    width: 100%;
    margin: 0 auto;
    padding: 2%;
  }
  .grid-title-m {
    padding: 2%;
    font-size: 26px;
    width: 80%;
    margin: 0 auto 5%;
    font-size: 120%;
  }
  .grid-title {
    padding: 2%;
    margin-bottom: 3%;
    font-size: 120%;
  }
  .flex-contents {
    margin-bottom: 7%;
    width: 100%;
  }
  .flex-contents div:first-child {
    width: 100%;
    float: none;
  }
  .flex-contents div:last-child {
    width: 100%;
    float: none;
  }
  .flex-img-left {
    width: 100%;
  }
  .flex-img-right {
    width: 100%;
  }
  .flex-img-left section:first-child {
    width: 100%;
    float: none;
  }
  .flex-img-left section:last-child {
    width: 80%;
    float: none;
    margin: 2% auto 5%;
  }
  .flex-img-right section:first-child {
    width: 100%;
    float: none;
  }
  .flex-img-right section:last-child {
    width: 80%;
    float: none;
    margin: 2% auto 5%;
  }
  .padding-contents {
    padding: 0 2%;
    width: 100%;
  }
  .padding-contents div:first-child {
    float: none;
    width: 100%;
  }
  .padding-contents div:last-child {
    float: none;
    text-align: center;
  }
  .padding-contents2 {
    padding: 0 2%;
    width: 100%;
  }
  .padding-contents2 div:first-child {
    float: none;
  }
  .padding-contents2 div:last-child {
    float: none;
    width: 100%;
  }
  .briefing-bg {
    background-color: #ecf4e6;
    padding: 2% 2% 4%;
    margin-bottom: 5%;
  }
  .briefing-bg div div:first-child {
    float: none;
    width: 100%;
  }
  .briefing-bg div div:last-child {
    float: none;
    width: 100%;
    text-align: left;
  }
  header .container {
    padding: 0;
  }
  header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 12vw;
    background: rgba(255, 255, 255, 1);
    z-index: 100;
  }
  .menuBtn {
    cursor: pointer;
    font-size: 10px;
    height: 40px;
    position: fixed;
    right: 20px;
    text-align: center;
    top: 14px;
    width: 40px;
    z-index: 101;
  }
  .gnav {
    position: fixed;
    top: 75px;
    z-index: 102;
    width: 100%;
  }
  .content {
    padding-top: 6vw;
  }
  .pg_pb0 .content {
    /*padding-top: 0px!important;*/
  }
  .pg_jhsabout .content {
    padding-top: 0px;
  }
  .tbl:not(.sp-tbl) .td:last-child, .tbl:not(.sp-tbl) .td.sp-mb0 {
    margin: 0 auto;
    margin-left: 0px;
  }
  .jhs-mv {
    /*padding-top: 80px!important;	*/
  }
  .mv {
    width: 100%;
    padding-top: 0px;
  }
  .pigma-mv {
    width: 100%;
    padding-top: 0px;
  }
  .tbl:not(.sp-tbl), .tbl:not(.sp-tbl) .td {
    /*display: none;
    width: auto;*/
  }
  .pg_studyabroad .tbl:not(.sp-tbl), .pg_studyabroad .tbl:not(.sp-tbl) .td {
    display: block;
    width: auto;
  }
  .pg_others .tbl:not(.sp-tbl), .pg_others .tbl:not(.sp-tbl) .td {
    display: block;
    width: auto;
  }
  .pg_others .logoFrame ul {
    padding-left: 23% !important;
  }
  .pg_studyabroad .logoFrame ul {
    padding-left: 25% !important;
  }
}
@media only screen and (max-width: 768px) and (max-width: 400px) {}
/* 幅375px以下から
------------------------------------------------------------*/
@media only screen and (max-width: 375px) {}