@charset "utf-8";
/* CSS Document */
body {
  font-size: 14px;
  line-height: 170%;
  color: #333;
  font-family: "YakuHanJP", "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "Helvetica Neue", "Helvetica", sans-serif;
}
/* 表示時のアニメーション */
.loading-bg {
  background-color: #fff;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 9999 !important;
  -webkit-animation: loadingImage .0s ease-out;
  animation: loadingImage .0s ease-out;
}
.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-animation: loadingImage .5s ease-out;
  animation: loadingImage .5s ease-out;
  z-index: 999;
}
.isLoaded .mainContent {
  opacity: 1;
  height: auto;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}
.top-bannerlr {
  margin: 30px auto 30px;
  text-align: center;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 1080px;
}
.top-bannerlr img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  vertical-align: bottom;
  flex-basis: 530px;
  height: 162px;
}
.figure-img {
  margin: auto;
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.figure-img:before {
  content: "";
  background-color: rgba(255, 255, 255, 0.4);
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: -160%;
  transform: skewX(-45deg) translateX(0);
}
.figure-img:hover:before {
  transform: skewX(-45deg) translateX(320%);
  transition: all 0.4s ease-in-out;
}
@media only screen and (max-width: 980px) {
  .loading img {
    width: 52vw;
    height: auto;
  }
}
@media only screen and (max-width: 896px) {
  .loading img {
    width: 64vw;
    height: auto;
  }
  .top-bannerlr {
    width: 80%;
    margin: 0 auto;
    display: block;
  }
  .top-bannerlr img {
    flex-basis: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 2%;
  }
}
@-webkit-keyframes loadingImage {
  0% {
    /*top: calc(50% - 10px);*/
    opacity: 0;
  }
  100% {
    top: 50%;
    opacity: 1;
  }
}
@keyframes loadingImage {
  0% {
    /*top: calc(50% - 10px);*/
    opacity: 0;
  }
  100% {
    top: 50%;
    opacity: 1;
  }
}
@media only screen and (min-width: 1025px) {
  /* フェードイン */
  .nav-fade {
    animation-name: nav-fade;
    animation-duration: .5s;
    /* 前の数字がアニメーションの時間、後ろがスタート時点 */
    -moz-animation: nav-fade .5s ease-in 1s backwards;
    /* Firefox */
    -webkit-animation: nav-fade.5s ease-in 1s backwards;
    /* Safari and Chrome */
    -o-animation: nav-fade .5s ease-in 1s backwards;
    /* Opera */
    animation: nav-fade .5s ease-in 1s backwards;
  }
  @keyframes nav-fade {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@-webkit-keyframes top-fade1 {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.top-fade1 {
  animation-name: top-fade1;
  animation-duration: .5s;
  /* 前の数字がアニメーションの時間、後ろがスタート時点 */
  -moz-animation: top-fade1 .5s ease-in 1.5s backwards;
  /* Firefox */
  -webkit-animation: top-fade1 .5s ease-in 1.5s backwards;
  /* Safari and Chrome */
  -o-animation: top-fade1 .5s ease-in 1.5s backwards;
  /* Opera */
  animation: top-fade1 .5s ease-in 1.5s backwards;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
@keyframes top-fade1 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes top-fade1 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.top-fade2 {
  /* 前の数字がアニメーションの時間、後ろがスタート時点 */
  -moz-animation: top-fade1 .5s ease-in 1.75s backwards;
  /* Firefox */
  -webkit-animation: top-fade1 .5s ease-in 1.75s backwards;
  /* Safari and Chrome */
  -o-animation: top-fade1 .5s ease-in 1.75s backwards;
  /* Opera */
  animation: top-fade1 .5s ease-in 1.75s backwards;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
@keyframes top-fade2 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes top-fade2 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.top-fade3 {
  /* 前の数字がアニメーションの時間、後ろがスタート時点 */
  -moz-animation: top-fade1 .5s ease-in 2s backwards;
  /* Firefox */
  -webkit-animation: top-fade1 .5s ease-in 2s backwards;
  /* Safari and Chrome */
  -o-animation: top-fade1 .5s ease-in 2s backwards;
  /* Opera */
  animation: top-fade1 .5s ease-in 2s backwards;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
.top-fade4 {
  /* 前の数字がアニメーションの時間、後ろがスタート時点 */
  -moz-animation: top-fade1 .5s ease-in 2.15s backwards;
  /* Firefox */
  -webkit-animation: top-fade1 .5s ease-in 2.15s backwards;
  /* Safari and Chrome */
  -o-animation: top-fade1 .5s ease-in 2.15s backwards;
  /* Opera */
  animation: top-fade1 .5s ease-in 2.15s backwards;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
.top-fade5 {
  /* 前の数字がアニメーションの時間、後ろがスタート時点 */
  -moz-animation: top-fade2 .5s ease-in 2.3s backwards;
  /* Firefox */
  -webkit-animation: top-fade2 .5s ease-in 2.3s backwards;
  /* Safari and Chrome */
  -o-animation: top-fade2 .5s ease-in 2.3s backwards;
  /* Opera */
  animation: top-fade2 .5s ease-in 2.3s backwards;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
.top-fade6 {
  /* 前の数字がアニメーションの時間、後ろがスタート時点 */
  -moz-animation: top-fade2 .5s ease-in 2.45s backwards;
  /* Firefox */
  -webkit-animation: top-fade2 .5s ease-in 2.45s backwards;
  /* Safari and Chrome */
  -o-animation: top-fade2 .5s ease-in 2.45s backwards;
  /* Opera */
  animation: top-fade2 .5s ease-in 2.45s backwards;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
.top-fade7 {
  /* 前の数字がアニメーションの時間、後ろがスタート時点 */
  -moz-animation: top-fade2 .5s ease-in 2.6s backwards;
  /* Firefox */
  -webkit-animation: top-fade2 .5s ease-in 2.6s backwards;
  /* Safari and Chrome */
  -o-animation: top-fade2 .5s ease-in 2.6s backwards;
  /* Opera */
  animation: top-fade2 .5s ease-in 2.6s backwards;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}
/* フェードイン　ここまで */
/* 画面外にいる状態 */
.fadein {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 700ms;
}
/* 2つ目の要素に200msのdelayをかける */
.fadein2 {
  opacity: 0.1;
  transform: translate(0, 20px);
  transition: all 700ms;
  -moz-transition-delay: 200ms;
  -webkit-transition-delay: 200ms;
  -o-transition-delay: 200ms;
  -ms-transition-delay: 200ms;
}
/* 3つ目の要素に400msのdelayをかける */
.fadein3 {
  opacity: 0.1;
  transform: translate(0, 20px);
  transition: all 700ms;
  -moz-transition-delay: 400ms;
  -webkit-transition-delay: 400ms;
  -o-transition-delay: 400ms;
  -ms-transition-delay: 400ms;
}
/* 4つ目の要素に400msのdelayをかける */
.fadein4 {
  opacity: 0.1;
  transform: translate(0, 20px);
  transition: all 700ms;
  -moz-transition-delay: 600ms;
  -webkit-transition-delay: 600ms;
  -o-transition-delay: 600ms;
  -ms-transition-delay: 600ms;
}
.fadein-left {
  opacity: 0;
  transform: translate(-20px, 0);
  transition: all 700ms;
}
.fadein-right {
  opacity: 0;
  transform: translate(20px, 0);
  transition: all 700ms;
}
/* 画像表示 */
.img-wrap {
  opacity: 0;
}
.img-wrap-2s {
  opacity: 0;
}
.img-animation {
  animation: img-opacity 1s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
  position: relative;
}
.img-animation:before {
  animation: img-animation 1s cubic-bezier(.4, 0, .2, 1) forwards;
  background: #072435;
  bottom: 0;
  content: '';
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
.img-animation-2s {
  animation: img-opacity 1.5s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
  position: relative;
}
.img-animation-2s:before {
  animation: img-animation 1.5s cubic-bezier(.4, 0, .2, 1) forwards;
  background: #16364f;
  bottom: 0;
  content: '';
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
@keyframes img-opacity {
  0% {
    opacity: 0;
  }
}
@keyframes img-animation {
  100% {
    transform: translateX(100%);
  }
}
/* 画面内に入った状態 */
.fadein.scrollin, .fadein2.scrollin, .fadein3.scrollin, .fadein4.scrollin, .fadein-left.scrollin, .fadein-right.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}
/* 画面内に入った状態 */
.top-slider a, .top-slider a:link, .top-slider a:visited {
  color: #fff;
}
.tel-num a, .tel-num a:link, .tel-num a:visited {
  color: #fff;
}
/* 緊急時の連絡 */
.emergency-wrap {
  background-color: #fff;
  padding: 10px 0;
}
.emergency-contents ul {
  background-color: #fff;
  margin: 0;
}
.emergency-contents {
  width: 80%;
  margin: 0 auto;
  border: 1px solid #d4151e;
}
.emergency-contents ul {
  padding: 15px 10px 0 10px;
}
.emergency-contents ul li {
  margin-bottom: 20px;
}
.emergency-contents ul li span {
  padding: 5px;
}
.jhs-emergency {
  background-color: #d4151e;
  color: #fff;
}
.hs-emergency {
  background-color: #172f6b;
  color: #fff;
}
.annex-emergency {
  background-color: #15aa00;
  color: #fff;
}
.all-emergency {
  background-color: #005bab;
  color: #fff;
}
.emergency-contents h3 {
  color: #fff;
  background-color: #d4151e;
  text-align: center;
  padding: 10px;
  font-size: 15px;
}
.emergency-contents img {
  vertical-align: middle;
}
.emergency-contents img:first-child {
  padding-right: 5px;
}
.emergency-contents img:last-child {
  padding-left: 5px;
}
.emergency-contents span {
  /*vertical-align: middle;*/
}
/* 緊急時の連絡 */
.news-text span {
  margin-right: 2%;
}
.wrapper {
  padding-right: 220px;
  position: relative;
}
.slider img {
  height: auto;
  width: 100%;
}
.index-menu {
  background: linear-gradient(336deg, #344d6b, #0c4b81);
  padding: 2% 2% 1%;
  box-sizing: border-box;
  width: 100%;
}
.index-menu-sp {
  background: linear-gradient(215deg, #9bb5c3, #00548f);
  padding: 2% 2% 1%;
  box-sizing: border-box;
  width: 100%;
}
.index-menu1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 2%;
  width: 100%;
}
.index-menu1 img {
  width: 100%;
  height: auto;
}
.index-menu1 > div:first-child {
  flex-basis: 49%;
  margin-right: 2%;
  text-align: center;
  max-width: 49%;
}
.index-menu1 > div:nth-child(2), .index-menu1 > div:nth-child(3) {
  flex-basis: 23.5%;
  background-color: #fff;
  border: 10px solid #fff;
  position: relative;
  box-shadow: 0px 5px 5px -5px rgba(0, 0, 0, 0.5);
}
.index-menu1 > div:nth-child(2) span, .index-menu1 > div:nth-child(3) span {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 10px;
  background-color: #fff;
  width: 70%;
}
.index-menu1 > div:nth-child(2) span h2 {
  color: #e50012;
  padding-left: 3.5%;
  margin-bottom: 2%;
  border-left: 3px solid #e50012;
  font-size: 1.1rem;
  line-height: 1.1em;
  transition-duration: 1s;
  font-family: "Sawarabi Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", 游明朝, YuMincho, HG明朝E, "MS P明朝", "MS 明朝", serif;
}
.index-menu1 > div:nth-child(3) span h2 {
  color: #091b48;
  padding-left: 3.5%;
  margin-bottom: 2%;
  border-left: 3px solid #091b48;
  font-size: 1.1rem;
  line-height: 1.1em;
  font-family: "Sawarabi Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", 游明朝, YuMincho, HG明朝E, "MS P明朝", "MS 明朝", serif;
}
.index-menu1 > div:nth-child(2) {
  margin-right: 2%;
  margin-bottom: auto;
}
.index-menu1 > div:nth-child(3) {
  margin-bottom: auto;
}
.index-menu1 div img, .index-menu2 div img {
  vertical-align: bottom;
  margin: 0 !important;
  padding: 0 !important;
}
.index-menu2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 1%;
  width: 100%;
}
.index-menu2 img {
  width: 100%;
  height: auto;
}
.index-menu2 div {
  flex-basis: 23.5%;
  background-color: #fff;
  position: relative;
  border: 10px solid #fff;
  box-shadow: 0px 5px 5px -5px rgba(0, 0, 0, 0.5);
}
.index-menu2 div span {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 10px;
  background-color: #fff;
  width: 70%;
}
.index-menu2 div span h2 {
  padding-left: 3.5%;
  font-size: 1.1rem;
  margin-bottom: 2%;
  line-height: 1.1em;
  font-family: "Sawarabi Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", 游明朝, YuMincho, HG明朝E, "MS P明朝", "MS 明朝", serif;
}
.index-menu2 div:nth-child(1) span h2 {
  color: #9ad823;
  border-left: 3px solid #9ad823;
}
.index-menu2 div:nth-child(2) span h2 {
  color: #35c4b2;
  border-left: 3px solid #35c4b2;
}
.index-menu2 div:nth-child(3) span h2 {
  color: #62d318;
  border-left: 3px solid #62d318;
}
.index-menu2 div:nth-child(4) span h2 {
  color: #1da9ef;
  border-left: 3px solid #1da9ef;
}
.index-menu2 div:not(:last-child) {
  margin-right: 2%;
}
h1 {
  color: #fff;
}
.top-slider div {
  text-align: center;
}
.top-feature {
  background-image: url("../img/index-2020/feature-bg.webp");
  background-size: cover;
  padding: 30px 0 50px;
  color: #fff;
}
.top-feature > div {
  width: 80%;
  margin: 0 auto;
}
.top-feature > div > div {
  margin: 0 auto;
  text-align: center;
}
.top-feature h3 {
  margin-bottom: 30px;
}
.top-feature h3 span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.4rem;
  color: #fff;
  border-bottom: 1px solid #fff;
  line-height: 170%;
}
.top-feature h3 span::after {
  content: "\A";
  white-space: pre;
}
.feature-title {
  margin: 30px 0 20px;
}
.feature-title strong {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "游ゴシック", YuGothic, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: bold;
  font-size: 2.8rem;
}
.feature-title strong span {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
  font-size: 3.2rem;
}
.top-contact {
  background-color: #072435;
  padding: 3% 0;
  width: 100%;
  color: #fff;
}
.top-contact > div {
  width: 744px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.top-contact div h3 span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.4rem;
  color: #fff;
  border-bottom: 1px solid #fff;
  line-height: 170%;
}
.top-contact h3 span::after {
  content: "\A";
  white-space: pre;
}
.tel-num {
  margin-top: 10px;
}
.tel-num span {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold !important;
  font-size: 2.6rem !important;
}
.tel-num rt {
  font-size: 0.7rem;
  font-weight: normal;
}
.top-mail-bt {
  margin-top: 20px;
}
.top-mail-bt a {
  background-color: #fff;
  font-size: 1.05rem;
  padding: 15px 15px;
}
.top-mail-bt a i {
  margin-right: 10px;
  font-size: 1.4rem;
}
.other-links {
  margin: 0 auto;
  padding: 3% 0;
  width: 900px;
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.other-links div {}
.other-links a {
  display: inline-block;
}
.other-links div img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  vertical-align: bottom;
}
footer, footer.indexfooter {
  width: 100%;
  background-color: #eeeeee;
  padding: 30px 0 10px;
}
.footer-top {
  border-bottom: 1px solid #cccccc;
  width: 900px;
  margin: 0 auto 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  padding-bottom: 15px;
}
.footer-top div:first-child {
  flex-basis: 270px;
}
.footer-top div:first-child i {
  font-size: 1.4rem;
  margin-right: 1%;
  vertical-align: bottom;
}
.footer-top div:first-child img {
  margin-right: 1%;
  vertical-align: bottom;
}
.footer-top div:last-child ul li {
  margin-right: 15px;
}
.footer-top div ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.footer-bottom {
  width: 900px;
  margin: 0 auto 10px;
  color: #777777;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
	padding-bottom: 20px;
}
.footer-bottom li {
  margin-right: 15px;
}
.footer-top h3 {
  color: #072435;
  font-weight: bold;
}
.footer-top ul {
	margin: 0px 0px;
}
.copyright {
  color: #fff;
  background-color: #000;
  padding: 15px;
  font-size: 0.9rem;
  text-align: right;
}
.top-information > div {
  width: 900px;
  margin: 0 auto;
}
.top-information {
  background-color: #f5f5f5;
  padding: 30px 0 20px;
}
.top-information > div > div {
  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;
}
.top-information div dl {
  flex-basis: 30%;
  margin-bottom: 4%;
}
.top-information div dl div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.top-information div h3 {
  color: #4f1717;
  margin-bottom: 30px;
}
.top-information div h3 span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.4rem;
  border-bottom: 1px solid #4f1717;
  line-height: 170%;
}
.top-information h3 span::after {
  content: "\A";
  white-space: pre;
}
.top-information div dl dt {
  background-color: #fff;
  border: 1px solid #4f1717;
  color: #4f1717;
  padding: 20px 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  box-sizing: border-box;
}
.top-information div dl dt i {
  margin-right: 5px;
  vertical-align: bottom;
}
.top-information div dl dd {
  margin-bottom: 5px;
  flex-basis: 50%;
	font-size: 13px;
}
.top-information .fas {
  font-size: 22px;
}
.top-information dl dd::before {
  content: "\f105";
  font-family: FontAwesome;
  margin-right: 5px;
}
.top-school {
  width: 80%;
  margin: 40px auto 80px;
}
.top-school h3 {
  color: #072435;
  margin-bottom: 30px;
}
.top-school h3 span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.4rem;
  border-bottom: 1px solid #072435;
  line-height: 170%;
}
.top-school h3 span::after {
  content: "\A";
  white-space: pre;
}
.school-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.school-area div:first-child {
  margin-right: 6%;
}
.school-area div:first-child img {
  width: 100%;
  height: auto;
}
.school-area div:first-child p {
  margin-bottom: 20px;
}
/*校舎タブ*/
.grade-school {
  margin-bottom: 0px;
}
.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: 15px 10px;
  border-top: 1px solid #072435;
  border-left: 1px solid #072435;
  border-right: 1px solid #072435;
  flex-basis: 22%;
  text-align: center;
  margin-right: 2%;
  cursor: pointer;
  background-color: #fff;
}
.grade-school ul li.current {
  background-color: #072435;
  color: #fff;
  border-top: 2px solid #072435;
  border-left: 2px solid #072435;
  border-right: 2px solid #072435;
  transition: 1s ease;
}
.school-box p {
  flex-basis: 19%;
  margin-bottom: 3%;
  margin-right: 6%;
}
.school-box p:nth-of-type(4n) {
  margin-right: 0%;
}
.school-box p a::before {
  content: "\f105";
  font-family: FontAwesome;
  margin-right: 5px;
}
.school-box p a {
  border: 1px solid #072435;
  padding: 10px;
  display: block;
  width: 100%;
}
.js-tab-contents {
  display: none;
}
.js-tab-contents.current {
  max-width: 540px;
  min-width: 530px;
  padding: 20px 10px 0 20px;
  border: 1px solid #072435;
  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;
}
/*校舎タブ*/
/*newsタブ*/
.news-tab ul li a {
  cursor: pointer;
  width: 8em;
}
.news-tab ul li:first-child, .news-tab ul li:last-child, .news-tab ul li:nth-child(2) {
  color: #072435;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: 1s ease;
  border-radius: 32px;
  padding: 12px;
}
.news-tab ul li:nth-child(3), .news-tab ul li:nth-child(4), .news-tab ul li:nth-child(5) {
  color: #072435;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: 1s ease;
  border-radius: 30px;
  padding: 12px;
}
.news-tab-btn.current1 {
  background-color: #072435 !important;
  color: #fff !important;
  border-top: 2px solid #072435 !important;
  border-left: 2px solid #072435 !important;
  border-right: 2px solid #072435 !important;
  transition: 1s ease;
  padding: 12px !important;
  font-size: 13px;
}
.news-text {
  display: none;
}
.news-text.current1 {
  display: block;
  margin-bottom: 7%;
}
/*タブ*/
.top-news {
  width: 900px;
  margin: 6% auto 6%;
}
.top-news h3 {
  flex-basis: 130px;
}
.top-news h3 span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.4rem;
  color: #173551;
  border-bottom: 1px solid #173551;
  line-height: 170%;
}
.top-news h3 span::after {
  content: "\A";
  white-space: pre;
}
.top-news-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 5%;
}
.top-news-area ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 780px;
}
.top-news-area ul li {
  cursor: pointer;
}
.news-text li {
  margin-bottom: 3%;
  padding-bottom: 3%;
  border-bottom: 1px dotted #cccccc;
  position: relative;
}
.news-text li::after {
  content: "\f105";
  font-family: FontAwesome;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  font-size: 1.2rem;
}
.news-bt {
  text-align: center;
}
.news-bt a {
  display: inline-block;
  width: 250px;
  height: 70px;
  line-height: 70px;
  color: #FFF;
  text-decoration: none;
  text-align: center;
  background-color: #004f13; /*ボタン色*/
  border-bottom: solid 6px #00330b; /*下線色*/
  border-radius: 36px; /*角丸*/
}
.news-bt a:hover {
  background-color: #004f13; /*ボタン色*/
  border-bottom: solid 6px #00330b; /*下線色*/
}
.news-bt a:active {
  margin-top: 6px;
  border-bottom: none;
  -webkit-transform: translateY(6px); /*下移動*/
  transform: translateY(6px);
}
.index-menu1 p, .index-menu2 p {
  font-size: 0.75rem;
}
.menu-jhs a, .menu-hs a, .index-menu2 > div a, .menu-expert a {
  display: flex;
  height: 100%;
  position: relative;
}
.menu-jhs a figure, .menu-hs a figure, .index-menu2 > div a figure {
  overflow: hidden;
  background-color: #fff;
}
/*
.menu-jhs a figure {
	background-color: #000;
}

.menu-hs a figure {
	background-color: #000;
}

.index-menu2 div:first-child a figure {
	background-color: #9ad823;
}

.index-menu2 div:nth-child(2) a figure {
	background-color: #35c4b2;
}

.index-menu2 div:nth-child(3) a figure {
	background-color: #62d318;
}

.index-menu2 div:nth-child(4) a figure {
	background-color: #1da9ef;
}
*/
.menu-jhs a img, .menu-hs a img, .index-menu2 > div a img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}
.menu-jhs a:hover img, .menu-hs a:hover img, .index-menu2 > div a:hover img {
  -webkit-transform: scale(1.1) !important;
  transform: scale(1.1) !important;
  opacity: 0.7;
}
.menu-jhs a::before, .menu-hs a::before, .index-menu2 > div a::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}
.menu-jhs a::after, .menu-hs a::after, .index-menu2 > div a::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}
@media only screen and (min-width: 1025px) {
  /* ボーダーアニメーション 上と右  */
  .menu-jhs a:hover::before, .menu-hs a:hover::before, .index-menu2 > div a:hover::before {
    width: 100%;
    height: 100%;
    transition: width .20s ease-out, height .20s ease-out .20s;
  }
  .menu-jhs a:hover::before {
    border-top-color: #e50012;
    border-right-color: #e50012;
  }
  .menu-hs a:hover::before {
    border-top-color: #091b48;
    border-right-color: #091b48;
  }
  .menu-annex a:hover::before {
    border-top-color: #9ad823;
    border-right-color: #9ad823;
  }
  .menu-rainbow a:hover::before {
    border-top-color: #35c4b2;
    border-right-color: #35c4b2;
  }
  .menu-personal a:hover::before {
    border-top-color: #62d318;
    border-right-color: #62d318;
  }
  .menu-expert a:hover::before {
    border-top-color: #1da9ef;
    border-right-color: #1da9ef;
  }
  /* ボーダーアニメーション 下と左  */
  .menu-jhs a:hover::after, .menu-hs a:hover::after, .index-menu2 > div a:hover::after {
    width: 100%;
    height: 100%;
    transition: width .20s ease-out, height .20s ease-out .20s;
  }
  .menu-jhs a:hover::after {
    border-bottom-color: #e50012;
    border-left-color: #e50012;
  }
  .menu-hs a:hover::after {
    border-bottom-color: #091b48;
    border-left-color: #091b48;
  }
  .menu-annex a:hover::after {
    border-bottom-color: #9ad823;
    border-left-color: #9ad823;
  }
  .menu-rainbow a:hover::after {
    border-bottom-color: #35c4b2;
    border-left-color: #35c4b2;
  }
  .menu-personal a:hover::after {
    border-bottom-color: #62d318;
    border-left-color: #62d318;
  }
  .menu-expert a:hover::after {
    border-bottom-color: #1da9ef;
    border-left-color: #1da9ef;
  }
  /* 下と左  */
}
.menu-jhs .hidden-text {
  color: #e50012;
}
.menu-hs .hidden-text {
  color: #091b48;
}
.menu-annex .hidden-text {
  color: #9ad823;
}
.menu-rainbow .hidden-text {
  color: #35c4b2;
}
.menu-personal .hidden-text {
  color: #62d318;
}
.menu-expert .hidden-text {
  color: #1da9ef;
}
.hidden-text {
  font-size: 0.9rem !important;
  display: none;
}
/* トップ合格体験記 */
.top-achievements {
  background-image: url("../img/index-2020/top-achievements.webp");
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
  background-attachment: fixed;
}
.top-achievements > div {
  width: 1080px;
  margin: 0px auto 0px;
}
.top-achievements h3 {
  color: #072435;
  margin-bottom: 50px;
}
.top-achievements h3 span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.4rem;
  border-bottom: 1px solid #072435;
  line-height: 170%;
}
.top-achievements h3 span::after {
  content: "\A";
  white-space: pre;
}
.top-achievements ul {
  display: flex;
  margin-bottom: 50px;
}
.top-achievements ul li a {
  padding: 15px 15px;
  color: #fff;
}
.top-achievements ul li a i {
  vertical-align: middle;
}
.top-achievements ul li:first-child {
  margin-right: 20px;
}
.top-achievements ul li a:visited, .top-achievements ul li a:link {
  text-decoration: none;
  color: #FFFFFF;
}
.top-achievements ul li:first-child a {
  background: #B72844;
  border: 1px solid #B72844;
  transition: .5s ease;
}
.top-achievements ul li:first-child a:hover {
  color: #B72844;
  background: #FFFFFF;
}
.top-achievements ul li:last-child a {
  background: #29347b;
  border: 1px solid #29347b;
  transition: .5s ease;
}
.top-achievements ul li:last-child a:hover {
  color: #29347b;
  background: #FFFFFF;
}
/* トップバナー */
.top-smallbanners {
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
  background-attachment: fixed;
}
.top-smallbanners > div {
  width: 1080px;
  margin: 0px auto 0px;
}
.top-smallbanners h3 {
  color: #072435;
  margin-bottom: 50px;
}
.top-smallbanners h3 span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.4rem;
  border-bottom: 1px solid #072435;
  line-height: 170%;
}
.top-smallbanners h3 span::after {
  content: "\A";
  white-space: pre;
}
.top-smallbanners ul li a {
  padding: 15px 15px;
  color: #fff;
}
.top-smallbanners ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 50px;
}
.top-smallbanners ul li:first-child {
  margin-right: 20px;
}
.top-smallbanners ul li a:visited, .top-smallbanners ul li a:link {
  color: #fff;
  text-decoration: none;
}
.top-smallbanners ul li:first-child a {
  background-color: #b72844;
  border: 1px solid #b72844;
  transition: .5s ease;
}
.top-smallbanners ul li:first-child a:hover {
  background-color: #fff;
  color: #b72844;
}
.top-smallbanners ul li:last-child a {
  background-color: #29347b;
  border: 1px solid #29347b;
  transition: .5s ease;
}
.top-smallbanners ul li:last-child a:hover {
  background-color: #fff;
  color: #29347b;
}
.mv-nav {
  width: 1080px;
  display: flex;
  justify-content: space-between;
}
.mv-nav div {
  width: 330px;
  box-sizing: border-box;
  background-color: #fff;
  background-image: linear-gradient(0deg, transparent 31px, #eee 32px), linear-gradient(90deg, transparent 31px, #eee 32px);
  background-size: 32px 32px;
  border: 5px solid #eee;
  padding: 15px;
  position: relative;
}
.mv-nav div a {
  width: 100%;
}
.mv-nav div:first-child a h2 i {
  content: "";
  font-family: "Material Icons";
}
.mv-nav div:nth-child(2) a h2 i {
  content: "";
  font-family: "Material Icons";
}
.mv-nav div:nth-child(3) a h2 i {
  content: "";
  font-family: "Material Icons";
}
.mv-nav div a h2 i {
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  top: -40px;
  font-size: 1.5rem;
}
.mv-nav div a h2 {
  color: #005bab;
  font-weight: bold;
  position: relative;
  text-align: center;
  font-size: 1.2rem;
  margin: 40px auto 20px;
}
.mv-nav div a h2 strong {
  color: #005bab;
  padding-bottom: 5px;
  border-bottom: 2px solid #005bab;
  font-weight: bold;
}
.mv-nav div a span {
  color: #fff;
  right: 0px;
  bottom: 0px;
  position: absolute;
}
.mv-nav div a span::after {
  content: 'More';
  color: #fff;
  right: 5px;
  bottom: 15px;
  position: absolute;
  z-index: 2;
}
.mv-nav div a span::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 80px 80px;
  border-color: transparent transparent #006fc3 transparent;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  transition-delay: .5s;
}
.mv-nav div a p {
  width: 200px;
  margin: 0 auto 20px;
}
@media only screen and (max-width: 1140px) {
  .top-school {
    width: 90%;
    margin: 40px auto 80px;
  }
  .index-menu1 > div:nth-child(2) span, .index-menu1 > div:nth-child(3) span {
    width: 85%;
  }
  .index-menu2 div span {
    width: 85%;
  }
}
@media only screen and (min-width: 1025px) {}
@media only screen and (max-width: 1024px) {
  /* タブレット対応 */
  /* スマホ版上部メニュー */
  .index-menu-sp .index-menu1 > div:nth-child(3) span h2 {
    color: #1da9ef;
    border-left: 3px solid #1da9ef;
  }
  .index-menu-sp .index-menu2 div:nth-child(1) span h2 {
    color: #091b48;
    border-left: 3px solid #091b48;
  }
  .index-menu-sp .index-menu2 div:nth-child(2) span h2 {
    color: #9ad823;
    border-left: 3px solid #9ad823;
  }
  .index-menu-sp .index-menu2 div:nth-child(3) span h2 {
    color: #35c4b2;
    border-left: 3px solid #35c4b2;
  }
  .index-menu-sp .index-menu2 div:nth-child(4) span h2 {
    color: #62d318;
    border-left: 3px solid #62d318;
  }
  /* スマホ版上部メニュー */
  .index-menu1 > div:nth-child(2), .index-menu1 > div:nth-child(3) {
    border: 4px solid #fff;
  }
  .index-menu2 div {
    border: 4px solid #fff;
  }
  main {
    margin-top: 75px;
  }
  .index-menu1 > div:nth-child(2) span h2, .index-menu1 > div:nth-child(3) span h2, .index-menu2 div span h2 {
    margin-bottom: 0px !important;
  }
  .hidden-text {
    display: block;
    line-height: 1.2;
    font-size: 11px !important;
  }
  .top-bannerlr {
    width: 100%;
    margin: 5% auto 5%;
    display: block;
  }
  .top-bannerlr img {
    flex-basis: 50%;
    width: 100%;
    height: auto;
    margin-bottom: 2%;
  }
  .wrapper {
    padding-right: 0;
    position: relative;
  }
  .footer-top div:last-child {
    display: none;
  }
  .loading-bg {
    background-color: #fff;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 9999 !important;
    top: 0;
    -webkit-animation: loadingImage .0s ease-out;
    animation: loadingImage .0s ease-out;
  }
  /* トップ合格体験記 */
  .top-achievements {
    background-image: url("../img/index-2020/top-achievements-sp.webp");
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0;
    background-attachment: scroll;
  }
  .top-achievements > div {
    width: 90%;
    margin: 0px auto 0px;
  }
  .top-achievements h3 {
    color: #072435;
    margin-bottom: 30px;
  }
  .top-achievements h3 span {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.4rem;
    border-bottom: 1px solid #072435;
    line-height: 170%;
  }
  .top-achievements h3 span::after {
    content: "\A";
    white-space: pre;
  }
  .top-achievements ul li a {
    padding: 15px 12px;
    color: #fff;
    display: block;
  }
  .top-achievements ul {
    display: block;
    margin-bottom: 30px;
  }
  .top-achievements ul li:first-child {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .top-achievements ul li a:visited, .top-achievements ul li a:link {
    color: #fff;
    text-decoration: none;
  }
  .top-achievements ul li:first-child a {
    background-color: #b72844;
  }
  .top-achievements ul li:last-child a {
    background-color: #29347b;
  }
  /* トップ合格体験記 */
  .top-smallbanners {
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0;
    background-attachment: scroll;
  }
  .top-smallbanners > div {
    width: 90%;
    margin: 0px auto 0px;
  }
  .top-smallbanners h3 {
    color: #072435;
    margin-bottom: 30px;
  }
  .top-smallbanners h3 span {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.4rem;
    border-bottom: 1px solid #072435;
    line-height: 170%;
  }
  .top-smallbanners h3 span::after {
    content: "\A";
    white-space: pre;
  }
  .top-smallbanners ul li a {
    padding: 15px 12px;
    color: #fff;
    display: block;
  }
  .top-smallbanners ul {
    display: block;
    margin-bottom: 30px;
  }
  .top-smallbanners ul li:first-child {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .top-smallbanners ul li a:visited, .top-smallbanners ul li a:link {
    color: #fff;
    text-decoration: none;
  }
  .top-smallbanners ul li:first-child a {
    background-color: #b72844;
  }
  .top-smallbanners ul li:last-child a {
    background-color: #29347b;
  }
  .mv-nav {
    width: 100%;
    display: block;
  }
  .mv-nav div {
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    background-image: linear-gradient(0deg, transparent 31px, rgba(238, 238, 238, 0.2) 32px), linear-gradient(90deg, transparent 31px, rgba(238, 238, 238, 0.2) 32px);
    background-size: 32px 32px;
    border: 5px solid #eee;
    padding: 50px 15px 20px;
    ;
    position: relative;
    margin-bottom: 5%;
  }
  .mv-nav div a {
    width: 100%;
  }
  .mv-nav div a h2 i {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: -40px;
    font-size: 1.5rem;
  }
  .mv-nav div a h2 {
    color: #005bab;
    font-weight: bold;
    position: relative;
    text-align: center;
    font-size: 1.2rem;
    margin: 4% auto 5%;
  }
  .mv-nav div a h2 strong {
    color: #005bab;
    padding-bottom: 5px;
    border-bottom: 2px solid #005bab;
    font-weight: bold;
  }
  .mv-nav div a span {
    color: #fff;
    right: 0px;
    bottom: 0px;
    position: absolute;
  }
  .mv-nav div a span::after {
    content: 'More';
    color: #fff;
    right: 5px;
    bottom: 15px;
    position: absolute;
    z-index: 2;
  }
  .mv-nav div a span::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 80px 80px;
    border-color: transparent transparent #006fc3 transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition-delay: .5s;
  }
  .mv-nav div a p {
    margin: 0 auto 20px;
    width: 80%;
    text-align: center;
  }
}
@media only screen and (min-width: 897px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  .index-menu-sp {
    display: none;
  }
}
@media only screen and (max-width: 896px) {
  /* タブレット・スマホ対応  */
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .index-menu {
    display: none;
  }
  .index-menu-sp {
    display: block;
  }
  .index-menu1 figure, .index-menu2 figure {
    width: 30%;
  }
  .index-menu-sp h1 {
    font-size: 13px;
  }
  .index-menu1 {
    margin-bottom: 0;
  }
  _::-webkit-full-page-media, _:future, :root .mv-nav div {
    background-image: linear-gradient(0deg, 31px, rgba(238, 238, 238, 0.2) 32px), linear-gradient(90deg, 31px, rgba(238, 238, 238, 0.2) 32px);
  }
  .news-tab {
    width: 100%;
  }
  footer {
    padding: 5% 0 3%;
  }
  .top-contact h3 {
    margin-bottom: 3%;
  }
  .wrapper {
    overflow: hidden;
  }
  .top-information {
    background-color: #fafafa;
    padding: 4% 0 4%;
  }
  .index-menu {
    padding: 2% 2% 4%;
  }
  .top-contact {
    padding: 5% 0 7%;
  }
  .top-school {
    width: 90%;
    margin: 4% auto 8%;
  }
  .menu-hs a span {
    flex-direction: column;
  }
  .hidden-text {
    font-size: 0.8rem !important;
    display: block;
    line-height: 1.2;
  }
  .top-information div dl dd {
    margin-bottom: 5px;
    flex-basis: 100%;
  }
  .index-menu1 > div:nth-child(2) span, .index-menu1 > div:nth-child(3) span {
    position: relative;
    bottom: 0px;
    left: 2vw;
    padding: 0px;
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
  }
  .index-menu1 h2, .index-menu2 h2 {
    margin-top: 6px !important;
    margin-bottom: 2px;
    font-size: 1.0rem;
  }
  .index-menu2 div span {
    position: relative;
    bottom: 0px;
    left: 2vw;
    padding: 0px;
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
  }
  .news-bt a {
    display: inline-block;
    width: 40%;
    padding: 0% 1%;
    height: auto;
    border-radius: 40px;
  }
  .index-menu1 > div:nth-child(2) {
    margin-right: 0%;
    margin-bottom: auto;
  }
  .top-news {
    width: 90%;
    margin: 6% auto 6%;
  }
  .top-information > div {
    width: 90%;
    margin: 0 auto;
  }
  .top-contact > div {
    width: 90%;
    margin: 0 auto;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .top-contact > div > div:first-child {
    flex-basis: 100%;
  }
  .top-contact > div > div:nth-child(2) {
    flex-basis: 48%;
    margin-bottom: 5%;
  }
  .top-contact > div > div:nth-child(3) {
    flex-basis: 48%;
  }
  .top-information div dl {
    flex-basis: 46%;
    margin-bottom: 4%;
  }
  .school-area {
    display: block;
  }
  .school-area div:first-child {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .js-tab-contents.current {
    max-width: 90%;
    min-width: 90%;
    margin: 0 auto;
    padding: 2% 1% 0 2%;
    border: 1px solid #072435;
  }
  .grade-school ul {
    width: 90%;
    margin: auto;
  }
  .grade-school ul li {
    flex-basis: 30%;
    /** 以下中央揃え**/
    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;
  }
  .tel-num span {
    font-size: 1.5rem !important;
  }
  .top-mail-bt a {
    font-size: 0.7rem;
    padding: 15px 3%;
  }
  .other-links {
    margin: 0 auto;
    padding: 2% 0;
    width: 90%;
    grid-template-columns: 1fr 1fr;
  }
  .other-links div {}
  .other-links div img {}
  .top-news {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .top-news h3 {
    flex-basis: 100%;
    margin-bottom: 3%;
  }
  .top-information div dl dt {
    padding: 10px 4%;
    font-size: 0.8rem;
  }
  .index-menu1 > div:first-child {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 2%;
  }
  .index-menu1 > div:nth-child(2), .index-menu1 > div:nth-child(3) {
    flex-basis: 100%;
    margin-bottom: 6px;
  }
  .index-menu2 div {
    flex-basis: 100%;
  }
  .index-menu1 {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .index-menu2 {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .index-menu2 div:first-child, .index-menu2 div:nth-child(2) {
    margin-bottom: 6px;
  }
  .index-menu2 div:not(:last-child) {
    margin-right: 0%;
    margin-bottom: 6px;
  }
  .footer-bottom li {
    flex-basis: 48%;
    margin-right: 0;
    box-sizing: border-box;
    padding: 1% 0 1% 4%;
    font-size: 13px;
  }
  .footer-top {
    border-bottom: none;
    width: 100%;
  }
  .footer-bottom {
    width: 100%;
  }
  .footer-top div:first-child {
    flex-basis: 30%;
    margin: auto;
    text-align: center;
  }
  .footer-top span::after {
    content: "\A";
    white-space: pre;
  }
  .top-news-area {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .footer-bottom a:link {
    width: 100%;
    color: #777777;
  }
  .footer-top div:first-child i {
    font-size: 2rem;
    margin-right: 2%;
  }
  .copyright {
    padding: 15px;
    font-size: 0.7rem;
    text-align: center;
  }
  .news-tab ul li:first-child, .news-tab ul li:last-child, .news-tab ul li:nth-child(2) {
    border-radius: 48px;
    padding: 1.5%;
    font-size: 0.8rem;
  }
  .news-tab ul li:nth-child(3), .news-tab ul li:nth-child(4), .news-tab ul li:nth-child(5) {
    color: #072435;
    border-radius: 30px;
    padding: 1.5%;
    font-size: 0.8rem;
  }
  .news-tab-btn.current1 {
    transition: 1s ease;
    padding: 4% 2% !important;
  }
  .news-tab ul li {
    padding: 4% 2% !important;
    font-size: 0.7rem;
  }
  .top-news-area ul {
    width: 100%;
    margin: 0 auto;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .top-feature {
    background-position: 30%;
  }
  .news-tab ul li {
    flex-basis: 27% !important;
    text-align: center;
    margin-bottom: 2%;
    font-size: 0.9rem;
  }
  /* 緊急時の連絡 */
  .emergency-wrap {
    background-color: #fff;
    padding-bottom: 1%;
    width: 96%;
    margin-top: 2%;
    padding: 0 2% 2%;
  }
  .emergency-contents ul {
    background-color: #fff;
    margin: 0;
  }
  .emergency-contents {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #d4151e;
  }
  .emergency-contents ul {
    padding: 2% 2% 0 2%;
  }
  .emergency-contents h3 {
    color: #fff;
    background-color: #d4151e;
    text-align: center;
    padding: 1%;
    font-size: 14px;
  }
  .emergency-contents ul li span {
    padding: 5px;
  }
  .emergency-jhs {
    background-color: #d4151e;
    color: #fff;
  }
  .emergency-hs {
    background-color: #172f6b;
    color: #fff;
  }
  .emergency-annex {
    background-color: #15aa00;
    color: #fff;
  }
}
@media only screen and (max-width: 700px) {
  .index-menu1 > div:nth-child(2), .index-menu1 > div:nth-child(3) {
    flex-basis: 100%;
  }
  .index-menu2 div {
    flex-basis: 100%;
  }
}
@media only screen and (max-width: 550px) {
  /* スマホ対応 */
  .top-information div dl {
    flex-basis: 45%;
    margin-bottom: 4%;
  }
  .school-box p {
    flex-basis: 26%;
    margin-bottom: 3%;
    margin-right: 7.2% !important;
  }
  .index-menu1 > div:nth-child(2), .index-menu1 > div:nth-child(3) {
    flex-basis: 100%;
  }
  .index-menu2 div {
    flex-basis: 100%;
  }
}
@media only screen and (max-width: 360px) {
  .index-menu1 figure, .index-menu2 figure {
    width: 43%;
  }
  .index-menu1 h2, .index-menu2 h2 {
    font-size: 1rem !important;
  }
}