.single_container {
  width: 100%;
  margin: 60px auto;
}
.single_title2 {
  font-size: 1.25rem;
  color: #003E7F;
  text-align: center;
}
.single_content p a {
	display: inline;
}
/* ===== ▼記事内容 ===== */
.article_wrapper {
  width: 90%;
  max-width: 680px;
  margin: 0 auto;
}
.news_thumbnail {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 5/3;
  object-fit: cover;
  margin-bottom: 40px;
}
.single_news_title {
  font-size: 1.25rem;
  margin: 16px auto;
  overflow: inherit;
  -webkit-line-clamp: inherit;
}
.single_date {
  font-size: 0.875rem;
  color: #494949;
  margin-top: 10px;
}
.post_date {
  display: block;
}
.single_content_wrapper {
  margin-top: 100px;
  border-bottom: 1px solid #E6E6E6
}
/* ==== ▼タイトルと文章 ==== */
.single_content p {
  line-height: 2;
  margin: 36px auto;
}
h2.wp-block-heading {
  font-size: 1.25rem;
  color: #003E7F;
  border-bottom: 1px solid #003E7F;
  padding-bottom: 10px;
  margin-top: 60px;
}
h3.wp-block-heading {
  padding-left: 16px;
  font-size: 1.125rem;
  position: relative;
  margin-top: 40px;
}
h3.wp-block-heading::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 100%;
  background-color: #003E7F;
  left: 0;
}
h4.wp-block-heading {
  margin-top: 36px;
  color: #003E7F;
}
/* ==== ▲タイトルと文章 ==== */
/* ==== ▼画像 ==== */
.wp-block-image {
  margin-top: 20px;
  margin-bottom: 20px;
}
.img_350 {
  max-width: 350px;
}
.img_400 {
  max-width: 400px;
}
.img_450 {
  max-width: 450px;
}
.img_500 {
  max-width: 500px;
}
/* ==== ▲画像 ==== */
/* ==== ▼目次 ==== */
#ez-toc-container {
  margin: 60px auto;
  padding: 30px 5%;
}
.ez-toc-title-container {
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 10px;
  border-bottom: 1px dashed #003E7F;
}
#ez-toc-container nav > ul {
  margin-top: 10px;
  padding: 5%;
}
#ez-toc-container .ez-toc-heading-level-2 {
  position: relative;
  margin-top: 10px;
  padding-left: 16px;
}
.ez-toc-heading-level-2::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #003E7F;
  top: 9px;
  left: 0;
}
#ez-toc-container .ez-toc-list-level-3 {
  margin-top: 10px;
  margin-left: 0;
}
#ez-toc-container .ez-toc-heading-level-3 {
  padding-left: 16px;
  position: relative;
  margin: 6px auto;
}
#ez-toc-container .ez-toc-heading-level-3::before {
  content: "▶";
  font-size: 0.5rem;
  position: absolute;
  color: #003E7F;
  top: 6px;
  left: 0;
}
/* ==== ▲目次 ==== */
/* ==== ▼引用 ==== */
blockquote {
  position: relative;
  border-top: 1px solid #003E7F;
  border-bottom: 1px solid #003E7F;
  padding: 10px;
  margin: 80px 5%;
}
blockquote::before, blockquote::after {
  content: "";
  width: 30px;
  height: 30px;
  background-color: #F5F7F9;
  position: absolute;
  background-image: url("../img/quotes.svg");
  background-size: contain;
}
blockquote::before {
  top: -16px;
  left: 0;
}
blockquote::after {
  bottom: -16px;
  right: 0;
  transform: rotate(180deg);
}
.single_content blockquote p {
  color: #003E7F;
  margin: 20px auto;
}
/* ==== ▲引用 ==== */
/* ==== ▼リスト ==== */
.wp-block-list {
  margin: 40px 0 40px 20px;
}
.wp-block-list li {
  padding-left: 16px;
  position: relative;
  margin-top: 5px;
}
.wp-block-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  background-color: #003E7F;
  top: 10px;
  left: 0;
  border-radius: 50%;
}
/* ==== ▲リスト ==== */
/* ==== ▼SNS共有 ==== */
.sns_share {
  margin: 80px auto;
}
.sns_share_title {
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 30px;
}
.sns__container {
  display: flex;
  justify-content: center;
  padding-right: 30px;
}
.sns__container a {
  width: 40px;
  text-align: center;
  color: #fff;
  margin-left: 30px;
  transition: 0.2s all;
}
.sns__container a:hover {
  opacity: 0.6;
}
/* ==== ▲SNS共有 ==== */
/* ==== ▼次の記事、前の記事リンク ==== */
.single_pnlink_contain {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch; /* ←中央線を高さに合わせるため */
  height: auto; /* ←2行になるので固定高さは外す */
  margin: 50px 0;
}
.single_pnlink_pre, .single_pnlink_next {
  width: 50%;
  display: flex;
  align-items: center;
  position: relative;
  text-align: center;
}
.single_pnlink_pre a, .single_pnlink_next a {
  width: calc(96% - 16px);
  margin: 0 auto;
  display: block;
  text-decoration: none;
  text-align: left;
  color: #333;
}
.single_pnlink_pre a {
  padding: 20px 5px 20px 30px;
}
.single_pnlink_next a {
  padding: 20px 30px 20px 5px;
}
.pnlink_title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* ←2行まで */
  overflow: hidden;
  line-height: 1.4;
  max-height: calc(1.4em * 2); /* ←保険（2行分の高さに制限） */
  word-break: break-word; /* 長い単語がある場合の保険 */
}
.line_design {
  width: 1px;
  background-color: #424242;
  margin: 0 8px;
}
.single_pnlink_pre::before, .single_pnlink_next::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-bottom: #424242 1px solid;
  transition: all 0.3s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.single_pnlink_pre::before {
  border-left: #424242 1px solid;
  left: 14px; /* aのpaddingに合わせて */
  transform: translateY(-50%) rotate(45deg);
}
.single_pnlink_next::after {
  border-right: #424242 1px solid;
  right: 14px; /* aのpaddingに合わせて */
  transform: translateY(-50%) rotate(-45deg);
}
.single_pnlink_pre:hover::before {
  left: 6px;
}
.single_pnlink_next:hover::after {
  right: 6px;
}
.single_pnlink_pre a:hover, .single_pnlink_next a:hover {
  opacity: 0.8;
}
/* ==== ▲次の記事、前の記事リンク ==== */
.related_list {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
}
/* ===== ▲記事内容 ===== */
/* ===== ▼サイドコンテンツ ===== */
.side_wrapper {
  display: none;
}
/* ===== ▲サイドコンテンツ ===== */
/* ===== ▼▼▼▼　1024px以上　▼▼▼▼ ===== */
@media screen and (min-width: 1024px) {
  .single_container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 120px auto;
  }
  .article_wrapper {
    width: 66%;
  }
  /* ===== ▼サイドコンテンツ ===== */
  .side_wrapper {
    display: block;
    width: 26%;
  }
  .single_banner {
    width: 100%;
    margin: 0 0 30px;
    transition: all 0.3s;
  }
  .side_post_list {
    margin-top: 40px;
  }
  .side_post_item {
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 30px;
    position: relative;
  }
  .side_post_outer {
    display: flex;
    justify-content: left;
  }
  .side_post_item .news_img_outer {
    width: 48%;
    margin-right: 16px;
  }
  .side_post_item .news_meta {
    padding: 0;
  }
  .side_post_item .news_title {
    font-size: 0.875rem;
  }
  .side_post_item.news_item_ranking::before {
    width: 28px;
    height: 28px;
    top: -13px;
    left: -13px;
  }
  .side_post_item.news_item_ranking::after {
    font-size: 0.875rem;
    top: -11px;
    left: -3px;
    text-align: center;
  }
	
.side_post_item.news_item_ranking:nth-of-type(10)::after {
  left: -7px;
}
  /* ===== ▲サイドコンテンツ ===== */
}