.post_index_page {
  width: 80%;
  height: auto;
  padding-bottom: 40px;
  background-color: #151B34;
  margin: 0 auto;
}
 .post_index_page .contents-head {
  font-family: tetsubin-Gothic;
  font-size: 40px;
  text-align: center;
  color: white;
  padding-top: 54px;
  margin: auto;
  margin-bottom: 55px;
}

.nantion_post_index_page .single_title h2 {
  font-size: 22px;
}

.nantion_post_index_page .post_layout {
  width: 50%;
  margin: 0 auto;
}
/* .nantion_post_index_page .post_layout .single_content {
  margin: 0 20px;
} */
.nantion_post_index_page .post_layout .single_content hr {
  width: 100%;
  margin: 0 auto;
}
.nantion_post_index_page .post_layout .single_content .post-body {
  width: 90%;
  margin: 0 auto;
  word-break: break-all;
}
.nantion_post_index_page .post_layout .single_content .single_eyecatch {
  display: block;
  width: 90%;
  margin: 0 auto;
  margin-top: 15px;
  border-radius: 8px;
}
.nantion_post_index_page .post_layout .single_content p.goto_youtube {
  text-align: center;
  margin-top: 20px;
  font-weight: 800;
}


/* index.php リスト */
.post_layout {
  margin: 0 80px 20px 80px;
  background-color: #f5ea2b;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 6px, rgba(255,255,255, 0.3) 6px, rgba(255,255,255, 0.3) 12px);
  border-radius: 8px;
}

.only_text {
  margin: 33px 40px 40px 40px;
  text-align: left;
}

.text_with_img {
  margin: 33px 40px 40px 40px;
  text-align: left;
}

.text_with_img .post_content2 {
  display: inline-block;
  width: 70%;
  margin-top: 10px;
  margin-right: 15px;
  padding-bottom: 40px;
  color: #293042;
  word-break: normal;
  vertical-align: top;
}

.text_with_img .post_image {
  display: inline-block;
  width: 25%;
  max-height: 240px;
  overflow: hidden;
  margin: 10px auto;
  border-radius: 8px;
}

.text_with_img .post_image img {
  width: 100%;
  border-radius: 8px;
}

.date_ribbon {
  display: inline-block;
  width: 120px;
  border-top: 15px solid #040d55;
  border-bottom: 15px solid #040d55;
  border-left: 10px solid #040d55;
  border-right: 10px solid transparent;
  padding: 0 8px;
  margin-top: 20px;
}

.date_text {
  position: absolute;
  margin-top: -12px;
  margin-left: -6px;
  font-family: uzura;
  font-weight: lighter;
  color: white;
}

.post_layout .single_content a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

.post_title {
  font-family: Uzura;
  margin-top: 10px;
}

.post_content {
  height: 70%;
  margin-top: 10px;
  padding-bottom: 40px;
  color: #293042;
  word-break: normal;
}

.style_pagination {
  text-align: center;
  color: white;
  font-size: 1.2em;
  opacity: 0.9;
}

.style_pagination span {
  margin: 0 10px;
}

.style_pagination a:link  {
  color: white;
}

.style_pagination a:visited {
  color: inherit;
}

/* add single.php css */
.single_title {
  width: 80%;
  margin: 0 auto;
  color: white;
  padding-top: 20px;
  text-align: center;
  font-size: 22px;
}

.single_title h2 {
  margin: 40px auto;
}

.single_content {
  margin: 30px 40px;
  padding-top: 20px;
  padding-bottom: 50px;
  text-align: left;
}

.single_content p {
  padding-top: 10px;
}

.single_date, .single_autor {
  display: inline-block;
  font-size: 1.2em;
  color: #040d55;
}

.single_date {
  margin-right: 15px;
}

.single_autor {
  margin-left: 15px;
}

.single_context p {
  display: inline-block;
  width: 100%;
  font-size: 18px;
  word-break: break-all;
}
.single_context figure {
  display: inline-block;
  width: 30%;
}

.single_eyecatch {
  display: inline-block;
  width: 25%;
  overflow: hidden;
  margin-top: 10px;
}

.single_eyecatch img {
  display: inline-block;
  width: 100%;
}
.single_context2 {
  display: inline-block;
  width: 70%;
  margin-right: 15px;
  vertical-align: top;
}
.style_pagination {
  font-size: 1.2em;
  color: white;
  text-align: center;
}

.style_pagination a:link, a:visited {
  opacity: 0.9;
}

@media screen and (max-width: 1160px) {
  .post_index_page {
    width: 100%;
    height: auto;
    padding-bottom: 40px;
    background-color: #040d55;
  }
  .post_layout {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 25px;
  }
  .post_index_page .single_title h2 {
    font-size: 22px;
  }
  .nantion_post_index_page .single_title h2 {
    font-size: 22px;
  }

  .nantion_post_index_page .post_layout {
    width: 90%;
    margin: 0 auto;
  }
  /* .nantion_post_index_page .post_layout .single_content {
    margin: 0 20px;
  } */
  .nantion_post_index_page .post_layout .single_content hr {
    width: 100%;
    margin: 0 auto;
  }
  .nantion_post_index_page .post_layout .single_content .post-body {
    width: 90%;
    margin: 0 auto;
    word-break: break-all;
  }
  .nantion_post_index_page .post_layout .single_content .single_eyecatch {
    display: block;
    width: 90%;
    margin: 0 auto;
    margin-top: 15px;
    border-radius: 8px;
  }
  .nantion_post_index_page .post_layout .single_content p.goto_youtube {
    text-align: center;
    margin-top: 20px;
    font-weight: 800;
  }
  .style_pagination {
    width: 80%;
    margin: 0 auto;
    font-size: 15px;
  }
}

@media screen and (max-width: 640px) {
  .text_with_img .post_content2 {
    display: inline-block;
    width: 100%;
    margin-top: 10px;
    margin-right: 15px;
    padding-bottom: 40px;
    color: #293042;
    word-break: normal;
    vertical-align: top;
  }

  .text_with_img .post_image {
    display: inline-block;
    width: 100%;
    max-height: 240px;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 8px;
  }

  .text_with_img .post_image img {
    width: 100%;
    border-radius: 8px;
  }

  .single_eyecatch {
    display: inline-block;
    width: 100%;
    overflow: hidden;
  }

  .single_eyecatch img {
    display: inline-block;
    width: 100%;
  }
  .single_context2 {
    display: inline-block;
    width: 100%;
    margin-right: 15px;
    vertical-align: top;
    margin-bottom: 20px;
  }

}
