/* 記事全体のベース設定 */
.blog_single_contents_content {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
  word-break: break-all;
}

/* 見出し：情報の区切りを明確に */
.blog_single_contents_content h2 {
  font-size: 1.5rem;
  padding: 0.5em 0.8em;
  margin: 2.5rem 0 1.5rem;
  background-color: #f8f9fa; /* 薄いグレーでセクションを区切る */
  border-left: 6px solid #005bac; /* ASTERIA Warp風のアクセントカラー */
  border-bottom: 1px solid #ddd;
}

.blog_single_contents_content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.3em;
  border-bottom: 2px solid #005bac;
}

.blog_single_contents_content h4 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.8rem;
  color: #005bac;
  font-weight: bold;
}

/* テキスト・段落 */
.blog_single_contents_content p {
  margin-bottom: 1.5rem;
}

/* 太字マーカーペン風 */
.blog_single_contents_content strong {
  font-weight: bold;
	background: linear-gradient(transparent 65%, #c1e0ff 65%);
}

/* リスト：ASTERIAブログのようにスッキリと */
.blog_single_contents_content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
}

.blog_single_contents_content li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

/* 水平線：控えめな目印に */
.blog_single_contents_content hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 2rem 0;
}

/* 画像：はみ出さないようにレスポンシブ対応 */
.blog_single_contents_content img {
  max-width: 100%;
  height: auto;
  max-height: 65vh; /* 縦長対策 */
	object-fit: contain; /* 縦長対策 */
  display: block;
  margin: 1.5rem auto;
  border-radius: 4px;
}

/* 執筆者画像：丸く */
.blog_single_contents_content .Author_image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

/* 本文中のテキストリンク（システム側の強制設定を上書き） */
.blog_single_contents_content a,
.blog_single_contents_content a:where(:not(.wp-element-button)) {
  color: #005bac;
  text-decoration: underline dotted !important; /* 強制的に点線を表示 */
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* ホバー時の反応 */
.blog_single_contents_content a:hover {
  color: #003a6e;
  background-color: rgba(0, 91, 172, 0.05);
  text-decoration: none !important; /* ホバー時は線を消す */
}

/* ブログ一覧サムネイル比率（1200*628） */
.blog .blog_list .blog_list_main .blog_list_main_item .blog_list_main_item_img {
	padding-top: 52.33%;
}

/* ブログお勧め一覧サムネイル比率（1200*628） */
.blog_single_recommend .blog_single_recommend_list_item_img {
	padding-top: 52.33%;
}

/* 用語説明（用語解説）ボックス */
.blog_single_contents_content .term_explanation_box {
  background-color: #f0f7ff; /* 視認性の高い非常に薄い青 */
  border: 1px solid #cce0ff;    /* 枠線 */
  border-left: 5px solid #005bac; /* 左側のアクセント線（既存の見出しと合わせる） */
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  border-radius: 8px;
  position: relative;
}

/* ボックスの右上に「用語解説」などのラベルを表示（不要なら削除OK） */
.blog_single_contents_content .term_explanation_box::before {
  content: "用語解説";
  display: inline-block;
  position: absolute;
  top: -12px;
  left: 15px;
  background-color: #005bac;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 12px;
  border-radius: 20px;
}

/* ボックス内の要素の余白調整 */
.blog_single_contents_content .term_explanation_box > *:first-child {
  margin-top: 0;
}
.blog_single_contents_content .term_explanation_box > *:last-child {
  margin-bottom: 0;
}




/* 注釈 */
.blog_single_contents_content p.comment {
    background-color: #f0f7ff;
    border: 1px solid #cce3ff;
    border-radius: 8px;
    padding: 15px 20px;
    color: #004bb1;
    margin: 1.5rem 0;
    padding-left: 2.2em;
    text-indent: -1.2em;
}



/* 目次スタイル */
#toc_container {
    background: #fdfdfd;
    border: 1px solid #e0e6ed;
    padding: 25px;
    width: auto;
    display: table;
    border-radius: 4px;
}
#toc_container .toc_title {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #005bac;
    display: inline-block;
    padding-bottom: 3px;
}
#toc_container ul, #toc_container li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
#toc_container .toc_list {
    counter-reset: toc-count;
}
#toc_container .toc_list > li {
    counter-increment: toc-count;
    margin-top: 12px;
}
#toc_container .toc_list > li > a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
#toc_container .toc_list > li > a::before {
    content: counter(toc-count) ". ";
    color: #005bac;
    margin-right: 8px;
}
#toc_container .toc_list > li ul {
    margin-left: 20px;
    margin-top: 8px;
}
#toc_container .toc_list > li ul li {
    margin-bottom: 6px;
}
#toc_container .toc_list > li ul li a {
    color: #666;
    text-decoration: none;
}
#toc_container .toc_list > li ul li a::before {
    content: "- ";
    color: #999;
    margin-right: 8px;
    font-weight: normal;
}
#toc_container a:hover {
    color: #005bac !important;
    text-decoration: underline;
}

/* 目次内のリンクには下線を入れない（上書き） */
#toc_container a, 
#toc_container a:where(:not(.wp-element-button)) {
  text-decoration: none !important;
}








/* FAQ全体の区切り線 */
.blog_single_contents_content .faq-item {
    border-bottom: 1px solid #ddd;
}

/* 質問（Q）の設定 */
.blog_single_contents_content .faq-question {
    padding: 15px 30px 15px 0;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    display: block;
    position: relative;
    line-height: 1.5;
}

/* 質問の頭に「Q. 」を追加 */
.blog_single_contents_content .faq-question::before {
    content: "Q. ";
    color: #333;
}

/* Safari用矢印消去 */
.blog_single_contents_content .faq-question::-webkit-details-marker {
    display: none;
}

/* 右側の＋ーアイコン */
.blog_single_contents_content .faq-question::after {
    content: '+';
    position: absolute;
    right: 5px;
    color: #999;
}

.blog_single_contents_content .faq-item[open] .faq-question::after {
    content: '−';
}

/* 回答（A）の設定 */
.blog_single_contents_content .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s;
    overflow: hidden;
    color: #444;
    line-height: 1.6;
}

/* 回答の頭に「A. 」を追加 */
.blog_single_contents_content .faq-answer::before {
    content: "A. ";
    font-weight: bold;
    display: inline;
}

.blog_single_contents_content .faq-item[open] .faq-answer {
    grid-template-rows: 1fr;
    padding-bottom: 15px; /* 開いた時の下の余白 */
}









/* Tips（設定・ヒント）ボックス：シンプル版 */
.blog_single_contents_content .tips-box {
  background-color: #fafafa; /* 非常に薄いグレー */
  border: 2px solid #eeeeee; /* 控えめな枠線 */
  border-radius: 12px;       /* 柔らかい角丸 */
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  position: relative;
}

/* 右上のTipsラベル */
.blog_single_contents_content .tips-box::before {
  content: "Tips";
  display: inline-block;
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: #777;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* ボックス内の見出し（h3, h4）の余白調整 */
.blog_single_contents_content .tips-box h3,
.blog_single_contents_content .tips-box h4 {
  margin-top: 0; /* ボックスの先頭に来る場合は上の余白を詰める */
  border-bottom-color: #ddd; /* 枠内の場合は少し線を薄く（お好みで） */
}

/* ボックス内の最後の要素の余白を消す */
.blog_single_contents_content .tips-box > *:last-child {
  margin-bottom: 0;
}

/* ボックス内の画像 */
.blog_single_contents_content .tips-box img {
  margin: 1.5rem auto;
  border: 1px solid #ddd;
}





/* 著者紹介ボックス全体 */
.blog_single_contents_content .blog-author-box {
  background-color: #f7f9fb;
	border-radius: 4px;
	padding: 30px;
  margin: 30px 0 -15px;
  border: none;
  box-sizing: border-box;
}

/* 著者紹介の見出し */
.blog_single_contents_content  .blog-author-title {
	margin-top: 0;
	margin-bottom: 8px;
	padding: 0;
  font-size: 1.125rem;
  font-weight: bold;
  background: none;
  border: none;
}

/* 紹介文エリア */
.blog_single_contents_content  .blog-author-description {
}

/* 執筆者の画像エリア */
.blog_single_contents_content  .blog-author-image {
}



