/* 中学受験ナビ・高校受験ナビ記事詳細ページ　用CSS */

.detail_book .content_book h2{
          position: relative;
        border: none;
        font-size: 1.25em;
        padding: 1em 1.1em;
        margin-top: 2.1em;
        margin-bottom: 1em;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        background: #e55937;
        color: #fff;
        box-shadow: 0 0 45px rgba(0, 0, 0, 0.25) inset;
        background: #009e8a;
        line-height: 1.4em;
        font-weight: bold;
}
.detail_book .content_book h2:before {
        top: 3px;
        left: 0;
    }

    .detail_book .content_book h2:after {
        bottom: 3px;
        left: 0;
    }

    .detail_book .content_book h2:before {
        content: '';
        display: block;
        width: 100%;
        position: absolute;
        border-top: 1px dashed;
    }

    .detail_book .content_book h2:after {
        content: '';
        display: block;
        width: 100%;
        position: absolute;
        border-top: 1px dashed;
    }

/* 見出しのスタイル */
    .b_detail .b_detail_content h2 {
        position: relative;
        border: none;
        font-size: 1.25em;
        padding: 1em 1.1em;
        margin-top: 2.1em;
        margin-bottom: 1em;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        background: #e55937;
        color: #fff;
        box-shadow: 0 0 45px rgba(0, 0, 0, 0.25) inset;
        background: #009e8a;
        line-height: 1.4em;
        font-weight: bold;
    }

    .b_detail .b_detail_content h2:before {
        top: 3px;
        left: 0;
    }

    .b_detail .b_detail_content h2:after {
        bottom: 3px;
        left: 0;
    }

    .b_detail .b_detail_content h2:before {
        content: '';
        display: block;
        width: 100%;
        position: absolute;
        border-top: 1px dashed;
    }

    .b_detail .b_detail_content h2:after {
        content: '';
        display: block;
        width: 100%;
        position: absolute;
        border-top: 1px dashed;
    }

    .b_detail .b_detail_content h3 {
        border-color: #009e8a !important;
        border-left: 4px solid;
        padding: 0.7em 0.7em 0.8em;
        margin-top: 1.8em;
        margin-bottom: 1.2em;
        font-size: 1.3em;
        font-weight: bold;
    }
/* 見出しのスタイル */
    /* TOCのスタイル */
    .b_detail_content #toc_container li:before {
        content: none;
    }

    .b_detail_content #toc_container {
        padding: 1em 2em 1em !important;
        min-width: 90%;
        margin: auto;
        background: #fff !important;
        background: rgba(255, 255, 255, 0.5) !important;
        border: 1px solid #eee;
    }

    .b_detail_content #toc_container p.toc_title {
        margin-bottom: 0.7em;
    }

    .b_detail_content #toc_container ul {
        margin: 0 !important;
        ;
    }

    .b_detail_content #toc_container li a {
        display: block;
        padding: .5em 0;
        border-top: 1px dotted #ddd;
    }

    .b_detail_content #toc_container li li a {
        padding-left: 0.7em;
    }

    .b_detail_content #toc_container li .toc_number {
        margin-right: 0.5em
    }
/* TOCのスタイル */
    /* 引用のスタイル */
    .b_detail_content blockquote {
        color: #555;
        border: 1px solid #ddd;
        background: #eee;
        background: rgba(53, 53, 53, 0.05);
        margin: 3em 0;
        font-size: 0.95em;
        padding: 2.5em 2.5em 1em;
        border-radius: 3px;
        position: relative;
    }

    .b_detail_content blockquote:before,
    .b_detail_content blockquote:after {
        font-family: 'FontAwesome';
        position: absolute;
        width: 1em;
        height: 1em;
        display: block;
        text-align: center;
        font-size: 20px;
        line-height: 1;
        color: #999;
        opacity: 20;
        filter: alpha(opacity=20);
        -ms-filter: "alpha(opacity=20)";
    }

    .b_detail_content blockquote:before {
        content: '\f10d';
        left: 0.4em;
        top: 0.4em;
    }

    .b_detail_content blockquote:after {
        content: '\f10e';
        right: 0.4em;
        bottom: 0.4em;
    }
/* 引用のスタイル */
    /* バナーのスタイル */
    .banner {
        margin-top: 0%;
    }
/* バナーのスタイル */
    /* カテゴリー・タグのスタイル */
    .post-categories,
    .tags {
        margin: 0;
        display: inline-block;
    }

    .post-categories li,
    .tags a {
        display: inline-block;
    }

    .post-categories li a,
    .tags a {
        display: inline-block;
        background: #009e8a;
        border: 1px solid #009e8a;
        color: #fff;
        padding: 0.4em 0.5em;
        margin-right: 0.3em;
        margin-bottom: 2px;
        text-decoration: none;
        line-height: 1.1;
        font-size: 1em;
    }

    .tags a {
        background: none;
        color: #009e8a;
        margin-top: -1px;
    }

    .post-categories a:before,
    .tags a:before {
        font-family: "fontawesome";
        content: '\f02b';
        margin-right: 0.2em;
    }

    .post-categories a:before {
        content: '\f07b';
    }

    .post-categories li a:hover,
    .tags a:hover {
        background: rgb(148, 211, 202);
        color: #fff;
        border-color: rgb(148, 211, 202);
    }
/* カテゴリー・タグのスタイル */

/*CTA CSS 4*/
  #cta04 {
    width: 100%;
    padding: 20px;
    background: #555;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    font-size: 120%;
    margin-bottom: 5%;
  }

  #cta04 .cta04title {
    font-size: 1.5em;
    font-weight: 800;
    margin-top: 0;
    line-height: 0.3;
  }

  #cta04 img {
    margin-bottom: 20px;
    margin-top: 20px;
  }

  #cta04 ul {
    margin: 0px 0px 0px;
    list-style: none;
    border: none;
    padding: 0;
  }

  #cta04 ul li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: silver;
    content: "\f105";
    padding-left: 0;
    margin-right: 15px;
    line-height: 1.8;
  }

  #cta04 a {
    width: 100%;
    height: 60px;
    margin: 0 auto;
    line-height: 62px;
    color: #fff;
    text-align: center;
    background: #0090ff;
    box-shadow: 0 4px 0 rgba(0, 95, 160, 1);
    display: block;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .09);
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
  }

  #cta04 a:hover {
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
    box-shadow: none;
  }

  #cta04 .ctatext04 {
    display: inline-block;
    position: relative;
    margin: 0;
  }

  .ctatext04:before,
  .ctatext04:after {
    display: inline-block;
    position: absolute;
    top: 50%;
    width: 22px;
    height: 2px;
    border-radius: 3px;
    background-color: #FFF;
    content: "";
    margin: auto -30px;
  }

  .ctatext04:before {
    transform: rotate(50deg);
  }

  .ctatext04:after {
    transform: rotate(-50deg);
    margin-left: 10px;
  }

  @media screen and (min-width: 768px) {
    #cta04 {
      padding: 15px 30px;
    }

    #cta04 img {
      max-width: 100%;
      height: auto;
      width: auto;
    }

    #cta04 ul {
      text-align: left;
    }
  }

  @media screen and (max-width: 600px) {
    #cta04 {
      padding: 15px 10px 5px;
      background: #707070;
    }

    #cta04 .cta04title {
      font-size: 0.8em;
      margin-top: 0.5px;
      line-height: 0.5;
    }

    #cta04 ul li {
      font-size: 0.8em;
      text-align: left;
      line-height: 1.4;
    }

    #cta04 .ctatext04 {
      font-size: 0.5em;
    }

    .ctatext04:before,
    .ctatext04:after {
      width: 15px;
    }

    #cta04 img {
      margin-bottom: 40px;
    }
  }
/* CTA CSS 4*/