@charset "UTF-8";
@import url("base.css");
/*共通設定-------------------------------------------------------------------------------------------------------------------------------------*/
/*基本設定*/
/*メイン*/
h1 {
  width: 96%;
  padding: 4em 2% 2em 2% !important;
  background-image: url(../img/news/top_img.png) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  font-size: 187% !important;
  color: #fff;
  text-align: center; }

.back_g {
  background-color: #edf5dd;
  padding: 3em 0; }

.junior {
  margin: 0 auto;
  background-color: #fff;
  padding: 2em 2% 3em; }
  .junior h2 {
    font-size: 187%;
    color: #87ba18;
    text-align: center;
    position: relative; }
    .junior h2:before {
      content: '';
      position: absolute;
      bottom: -15px;
      display: inline-block;
      width: 10%;
      height: 2px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #87ba18; }
  .junior dl {
    width: 100%;
    margin: 3em 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; }
    .junior dl dt {
      width: 36%;
      color: #fff;
      font-weight: bold; }
    .junior dl dd {
      width: 60%;
      line-height: 2; }
  .junior p {
    background-color: #ebf9fb;
    padding: 2em 2%;
    margin: 3em 0 0;
    text-align: center; }
    .junior p a {
      display: block;
      background-color: #39c7d8;
      color: #fff;
      font-weight: bold;
      padding: 1em 2%;
      width: 34%;
      margin: 1em auto 0;
      text-decoration: none;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      transition: all  0.3s ease; }
      .junior p a:hover, .junior p a:active {
        background-color: #73D7E3; }

/*共通設定ここまで-------------------------------------------------------------------------------------------------------------------------------------*/
/* pc */
@media screen and (min-width: 1300px) {
  /*メイン*/
  .junior {
    width: calc(1280px - 4%); } }
/* tablet以下共通 ------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1299px) {
  /*メイン*/
  .junior {
    width: 92%; } }
/* tablet以下共通ここまで ------------------------------------------------------------------------------------------*/
/* tablet1 */
@media only screen and (min-width: 1024px) and (max-width: 1299px) {
  /*メイン*/ }
/* tablet2  */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /*メイン*/
  h1 {
    padding: 3em 2% 2em 2% !important; } }
/* tablet3  */
@media only screen and (max-width: 767px) {
  /*メイン*/
  h1 {
    padding: 1.5em 2% !important;
    font-size: 160% !important; }

  .back_g {
    padding: 2em 0; }

  .junior {
    margin: 0 auto;
    background-color: #fff;
    padding: 2em 2% 3em; }
    .junior h2 {
      font-size: 160%;
      color: #87ba18;
      text-align: center;
      position: relative; }
      .junior h2:before {
        content: '';
        position: absolute;
        bottom: -15px;
        display: inline-block;
        width: 10%;
        height: 2px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #87ba18; }
    .junior dl {
      flex-direction: column; }
      .junior dl dt {
        width: 80%;
        margin: 0 auto 1em; }
      .junior dl dd {
        width: 100%; }
    .junior p a {
      width: 76%; } }
/* smartPhone1 */
@media only screen and (max-width: 499px) {
  /*メイン*/ }
