.header {
  background-color: #ffffff;
  border-bottom: 4px solid #e95383;
  box-shadow: none;
}
.header__text-nav {
  padding-top: 60px;
}
.header .header__text-nav-item a {
  color: #fff;
}
.news-post__contents {
  min-height: 300px;
}
.footer .footer__links {
  float:none;
  display: flex;
  justify-content:space-between;
}
.footer .footer__links__nav {
  float:none;
}
.footer .footer__links__nav ul {
  float: none;
  display: flex;
}
.footer img {
  max-width: none;
}
@media screen and (max-width: 768px) {
  .footer .footer__links {
    display: block;
  }
}

.button {
  text-align: center;
  margin-top: 10px;
}
.button a {
  display: block;
  color: #fff;
  background-color: #e95383;
  font-size: 14px;
  width: 70%;
  border-radius: 20px;
  padding: 10px 15px 9px;
  margin: 0 auto 10px;
}
iframe {
  display: block;
  margin: 0 auto;
}


.news-post .news-post__contents {
  border: 1px solid #e6e6e6;
}
.news-post__body .section {
  margin-bottom: 40px;
}
.news-post__body .txt {
  padding: 10px 0 15px 0;
}
.news-post__body img {
  margin: 15px 0 !important;
}


.news-post__contents .img_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}
.news-post__contents .img_flex li {
  width: 48%;
}
.news-post__contents .support_contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}
.news-post__contents .support_contents li {
  width: 48%;
  margin-bottom: 20px;
}
.news-post__contents .support_contents dt {
  background-color: #dee6f5;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 10px 6px;
}
.news-post__contents .point {
  border-bottom: 3px solid #ffe32e;
}
.news-post__contents .application dl {
  margin-bottom: 100px !important;
}
.news-post__contents .applicable {
  display: flex;
  justify-content: right;
  border-bottom: 2px solid #e6e6e6;
  padding-bottom: 5px;
}
.news-post__contents .applicable li {
  color: #ffffff;
  font-size: 12px;
  border-radius: 10px;
  padding: 6px 7px 7px;
  margin: 3px;
}
.news-post__contents .applicable li.japanese {background-color: #e94646;}
.news-post__contents .applicable li.math {background-color: #0092d7;}
.news-post__contents .applicable li.english {background-color: #c82d8c;}
.news-post__contents .applicable li.japanese {background-color: #e94646;}
.news-post__contents .applicable li.science {background-color: #6eb92b;}
.news-post__contents .applicable li.social_studies {background-color: #ee7700;}
.news-post__contents .applicable li.practical_skills {background-color: #00a773;}

.news-post__contents .application dl .headline,
span.headline {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}
.mds_bb_dot {border-bottom: dashed 2px #d56d05;}




.app_store {
  display: flex;
  justify-content: right;
  margin: 10px 0 10px;
}

.subjects_menu {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 30px 0 0;
  width: 90%;
}
.subjects_menu li a {
  display: block;
  text-align: center;
  padding: 10px 30px 8px;
  margin: 0 6px;
}
.subjects_menu li a:link,
.subjects_menu li a:visited,
.subjects_menu li a:hover,
.subjects_menu li a:active {
  color: #fff;
}
@media screen and (max-width: 768px) {
.subjects_menu li a {
  padding: 10px 10px 8px;
}
}

.subjects {
  border-top: 5px solid;
}
h2 {
padding: 1rem 2rem;
border-left: 10px solid;
background: #f4f4f4;
margin-bottom: 15px;
}




/*pc用スタイル*/
@media only screen and (min-width: 980px) {
  div.wrap ul {
    height: 80px;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
    align-items: flex-end;
  }
  div.wrap ul li:first-child {
    border-left: 1px solid #999;
  }
  div.wrap ul li:last-child {
    border-right: 1px solid #999;
  }
    div.wrap ul li {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    border-left: 1px dashed #999;
  }
}
/*sp用スタイル*/
@media screen and (max-width: 768px) {
  .news-post .news-post__contents .news-post__body img {
    margin: 10px 0 !important;
  }
  .news-post .news-post__contents .img_flex {
    display: block;
  }
  .news-post .news-post__contents .img_flex li {
    width: 100%;
    margin-bottom: 15px;
  }
  .news-post__contents .support_contents {
    display: block;
  }
  .news-post__contents .support_contents li {
    width: 100%;
  }  
  div.wrap ul li a {
    font-size: 18px;
  }  
}




/*三本線メニューのアイコン
-----------------------------------------------------*/
span.menu3bar {
  cursor: pointer;
  display: block;
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 1;
  width: 50px;
  height: 50px;
  background: url(..//images/icon_menu_white.svg) no-repeat center #e95383;
  background-size: 31px 31px;  
}
  span.menu3bar:before {
      top: 20%;
  }
  span.menu3bar:after {
      top: 60%;
  }

/*pc用スタイル*/
@media only screen and (min-width: 980px) {
  span.menu3bar {
      display: none;
  }
}
@media screen and (max-width: 979px) {
  div.wrap ul li:last-child {
    border-bottom: none;
  }  
  div.wrap ul li {
    border-bottom: 1px dashed #999;
  }
}

/*メニュー*/
div.menu3bar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
div.menu3bar > ul {
  position: fixed;
  z-index:2;
  top: 0;
  right: -100%;

  max-width: 70%;
  max-height: 100%;

  text-align: left;
  overflow: auto;
  font-size: 80%;
  line-height: 160%;

  -webkit-overflow-scrolling: touch;

  -webkit-transition: right .3s ease-in-out;
  transition: right .3s ease-in-out;
}
  div.menu3bar > ul > li {
    background-color: #fff;
    margin: 0;
  }
  div.wrap ul li a {
    display: block;
    color: #000;
    font-size: 14px;
    padding: 10px 10px 8px;
  }
  div.wrap ul li a:link,
  div.wrap ul li a:visited {
    color: #000;
  }
  div.wrap ul li a:hover,
  div.wrap ul li a:active {
    color: #e95383;
  }



  div.menu3bar_on > ul {
      right: 0;
  }

/*pc用スタイル（例）*/
@media only screen and (min-width: 980px) {
  div.menu3bar > ul {
      position: static;
      max-width: none;
      overflow: visible;
  }
}