@charset "utf-8";

.clearfix::after{
  content: "";
  display: block;
  clear: both;
}

.m-content {
  width: 980px;
  margin: 0 auto;
}

.m-links-ttl {
  padding-bottom: 25px;
  color: #030350;
  font-size: 25px;
  border-bottom: solid 4px #030350;
  line-height: 1;
}

.m-links {
  margin-bottom: 100px!important;
}

.m-links li {
  margin-top: 30px!important;
  margin-right: 26px!important;
  float: left;
  width: 225px;
  list-style: none;
}

.m-links li:nth-child(4n) {
  margin-right: 0!important;
}

.m-links li a {
  display: block;
}

.site-content {
  background-image: url(https://hiroacademia.jpn.com/wp/wp-content/uploads/2016/02/background_m.jpg)!important;
  background-position: left top;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: fixed;
}

p.lead {
  margin: 0 auto!important;
  padding-top: 40px!important;
  font-size: 16px;
  width: 870px;
}

.p-block {
  margin-right: 25px;
  margin-top: 55px;
  width: 442px;
  float: left;
}

.p-block:nth-child(even) {
  margin-right: 0;
}

.entry-content {
/*   padding-left: 85px!important;
  padding-right: 85px!important; */
}

h4.p-block-ttl {
  margin: 0!important;
  padding-top: 20px;
  text-align: center;
}

.p-block-head {
  background: #030350;
  min-height: 100px;
  color: #fff;
}

.p-block-lead {
  padding: 8px 25px;
  min-height: 111px;
  background: #f2f2f2;
  border-top: solid 4px #030350;
  border-bottom: solid 4px #030350;
}

.p-block-lead p {
  margin: 0!important;
  padding: 0 0 7px!important;
  color: #030350;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}


.p-block-link {
    display: block;
    background: #030350;
    width: 145px;
    height: 32px;
    margin: 0 auto;
    padding: 8px 0;
    border-radius: 20px;
    text-align: center;
    text-decoration: none!important;
    color: #fff!important;
    font-size: 16px;
    line-height: 1;
}

a.p-block-click {
  display: block;
  text-decoration: none!important;
}

a.pc-bnr {
  display: block;
  margin-bottom: -120px;
}

a.pc-bnr img {
  width: 100%;
}

a.sp-bnr {
  display: none!important;
}


@media screen and (max-width: 600px) {

  a.pc-bnr {
    display: none!important;
  }

  a.sp-bnr {
    display: block!important;
    margin-bottom: -60px!important;
  }

  a.sp-bnr img {
    width: 100%;
  }


  .entry-content {
    /*padding: 0 7.6923% 4.6923%!important;*/
	 padding: 0 4% 4.6923%!important;
  }

  p.lead {
    padding-top: 0px!important;
    width: 100%;
  }

  .p-block {
    margin: 20px 0 0;
    width: 100%;
    float: inherit;
  }

  .p-block-head {
    min-height: inherit;
  }

  h4.p-block-ttl {
    padding: 20px 0;
  }

  .p-block-lead p {
    font-size: 14px;
    line-height: 1.3;
  }

  .p-block-lead {
    padding: 8px 20px;
  }

  .m-content {
    margin: 40px auto 0;
    width: 100%;
    padding: 0 7.6923% 4.6923%;
  }

  .m-links li {
    width: 48%;
    margin: 9px 4% 0 0!important;
  }

  .m-links li:nth-child(even) {
    margin-right: 0!important;
  }

  .m-links {
    margin-bottom: 40px!important;
  }

  .p-block-link {
    padding: 9px 0;
    font-size: 14px;
  }

}


h4.p-blog-head {
  margin: 0!important;
  color: #030350;
  font-size: 25px;
  line-height: 1;
}

.p-blog-wrp {
  margin-top: 70px;
  margin-bottom: 40px;
  padding: 22px 40px;
  min-height: 75px;
  background: #f2f2f2;
  border-bottom: solid 5px #030350;
  box-sizing: border-box;
}


.p-post-content {
  display: none;
}

.p-post-content.is-show {
  display: block;
}


.p-nav {
  margin: 0 0 40px!important;
  text-align: center;
  font-size: 0;
}

.p-nav li {
  margin: 0 20px 10px!important;
  padding: 5px 15px!important;
  min-height: 35px;
  list-style: none;
  text-align: center;
  display: inline-block;
  color: #030350;
  font-size: 19px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

.p-nav li:hover {
  opacity: .7;
}

.p-nav li.is-active {
  position: relative;
}

.p-nav li.is-active:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 35px;
  left: 0;
  top: -2px;
  border: solid 2px #030350;
}

.p-nav li.is-active:hover {
  opacity: 1;
}

.p-nav-explanation01 li {
  min-width: 340px;
}

img.p-post-thumbnail {
  width: 254px;
  height: 121px;
  object-fit: cover;
  object-position: 50% 50%; /* 他のブラウザ用(＝通常の指定) */
  font-family: 'object-fit: cover; object-position: 50% 50%;'
}

.p-post-content {
/*   padding: 0 34px; */
}

.p-post-block {
  margin-bottom: 40px!important;
  margin-right: 40px;
  width: 254px;
  min-height: 200px;
  float: left;
}

.p-post-block:nth-child(3n) {
  margin-right: 0;
}

.p-post-block a {
  display: block;
  text-decoration: none!important;
  color: #030350!important;
}

.p-post-detail {
  margin-bottom: 0!important;
}

.p-post-detail dt {
  padding-top: 13px;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0em;
  line-height: 1;
}

.p-post-detail dd {
  font-size: 16px;
  font-weight: bold;
  margin: 0!important;
  line-height: 1.4;
  padding-top: 7px;
}

.p-nav-explanation02 li {
  min-width: 120px;
}

.p-nav-explanation04 li {
  margin: 0 15px 10px!important;
}

@media screen and (max-width: 600px) {

  .p-blog-wrp {
    margin-top: 40px;
    margin-bottom: 20px;
    min-height: inherit;
    padding: 10px;
  }

  .p-nav {
    margin: 0 0 20px!important;
  }

  .p-nav-explanation03 li {
    width: 50%;
    min-width: inherit;
  }

  .p-nav-explanation01 li {
    width: 50%;
    min-width: inherit;
  }

  .p-nav li {
	  margin: 0 0 0 25px!important;
    font-size: 14px;
    padding: 10px 5px!important;
    box-sizing: border-box;
  }

  .p-post-block {
    width: 100%;
    margin: 0 0 30px!important;
    float: inherit;
    min-height: inherit;
  }

  .p-post-detail dd {
    font-size: 14px;
  }

  .p-post-content {
    padding: 0;
  }

  img.p-post-thumbnail {
    width: 100%;
    height: auto;
  }

  .p-post-block:last-child {
    margin-bottom: 0!important;
  }

  .p-nav-explanation02 li {
    width: 50%;
    min-width: inherit;
  }

  .p-nav-explanation04 li {
    width: 50%;
    min-width: inherit;
  }

  .m-links-ttl {
    font-size: 17px;
    padding-bottom: 10px;
    border-bottom: solid 2px;
  }
	.eikenFrame{
		margin-top:5px;
	}
  .p-nav li.is-active:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    left: 0;
    top: 1px;
    border: solid 1px #FFEE55;
  }
	.p-nav li.is-active{
	    color:#FFEE55;		
	}
}
