/* ============================================================
   WSS CLASS Article CTA — 本文用スタイルからの隔離
   ------------------------------------------------------------
   .p-article-cta（CPT由来CTAのラッパー）配下は、
   .p-single-blog__body .p-entry-content の本文用スタイル
   （見出しのボーダー・背景、ul/ol マーカー、blockquote装飾、
   下線リンク、段落マージン等）を完全に打ち消す。
   これにより CTA 内では編集者が書いた HTML を素直に再現する。
   ============================================================ */

/* ─────── リスト ─────── */
.p-single-blog__body .p-entry-content .p-article-cta ul,
.p-single-blog__body .p-entry-content .p-article-cta ol,
.p-single-blog__body .p-entry-content .p-article-cta .wp-block-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.p-single-blog__body .p-entry-content .p-article-cta ul li,
.p-single-blog__body .p-entry-content .p-article-cta ol li,
.p-single-blog__body .p-entry-content .p-article-cta .wp-block-list li {
  padding: 0;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  list-style: none;
  position: static;
  text-indent: 0;
  align-items: initial;
}

.p-single-blog__body .p-entry-content .p-article-cta ul li::marker,
.p-single-blog__body .p-entry-content .p-article-cta ol li::marker,
.p-single-blog__body .p-entry-content .p-article-cta .wp-block-list li::marker {
  content: '';
  color: inherit;
}

.p-single-blog__body .p-entry-content .p-article-cta ul li::before,
.p-single-blog__body .p-entry-content .p-article-cta ul li:before,
.p-single-blog__body .p-entry-content .p-article-cta ol li::before,
.p-single-blog__body .p-entry-content .p-article-cta ol li:before {
  content: none;
  display: none;
}

/* 入れ子リスト */
.p-single-blog__body .p-entry-content .p-article-cta ul ul,
.p-single-blog__body .p-entry-content .p-article-cta ol ol,
.p-single-blog__body .p-entry-content .p-article-cta ul ol,
.p-single-blog__body .p-entry-content .p-article-cta ol ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ─────── 段落 ─────── */
.p-single-blog__body .p-entry-content .p-article-cta p {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

/* ─────── 見出し（テーマ既定の左ボーダー・影・斜線等を打ち消し） ─────── */
.p-single-blog__body .p-entry-content .p-article-cta h1,
.p-single-blog__body .p-entry-content .p-article-cta h2,
.p-single-blog__body .p-entry-content .p-article-cta h3,
.p-single-blog__body .p-entry-content .p-article-cta h4,
.p-single-blog__body .p-entry-content .p-article-cta h5,
.p-single-blog__body .p-entry-content .p-article-cta h6 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  position: static;
}

.p-single-blog__body .p-entry-content .p-article-cta h2::before,
.p-single-blog__body .p-entry-content .p-article-cta h2:before,
.p-single-blog__body .p-entry-content .p-article-cta h2::after,
.p-single-blog__body .p-entry-content .p-article-cta h2:after,
.p-single-blog__body .p-entry-content .p-article-cta h3::before,
.p-single-blog__body .p-entry-content .p-article-cta h3:before,
.p-single-blog__body .p-entry-content .p-article-cta h3::after,
.p-single-blog__body .p-entry-content .p-article-cta h3:after,
.p-single-blog__body .p-entry-content .p-article-cta h4::before,
.p-single-blog__body .p-entry-content .p-article-cta h4:before,
.p-single-blog__body .p-entry-content .p-article-cta h4::after,
.p-single-blog__body .p-entry-content .p-article-cta h4:after {
  content: none;
  display: none;
  background: none;
}

/* h3:first-letter のアクセントカラーも無効化 */
.p-single-blog__body .p-entry-content .p-article-cta h3:first-letter {
  color: inherit;
  font-size: inherit;
}

/* ─────── リンク（本文 a の下線・hover背景を打ち消し） ─────── */
.p-single-blog__body .p-entry-content .p-article-cta a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0;
  background: none;
  word-break: normal;
  overflow-wrap: normal;
  transition: none;
}

.p-single-blog__body .p-entry-content .p-article-cta a:hover,
.p-single-blog__body .p-entry-content .p-article-cta a:focus,
.p-single-blog__body .p-entry-content .p-article-cta a:focus-visible {
  color: inherit;
  background: none;
  outline: 0;
  opacity: 1;
}

/* ─────── 引用（本文の blockquote 装飾を打ち消し） ─────── */
.p-single-blog__body .p-entry-content .p-article-cta blockquote,
.p-single-blog__body .p-entry-content .p-article-cta .wp-block-quote {
  max-width: none;
  position: static;
  padding: 0;
  margin: 0;
  background: none;
  color: inherit;
  border: 0;
  font-style: normal;
}

.p-single-blog__body .p-entry-content .p-article-cta blockquote::before,
.p-single-blog__body .p-entry-content .p-article-cta blockquote::after,
.p-single-blog__body .p-entry-content .p-article-cta .wp-block-quote::before,
.p-single-blog__body .p-entry-content .p-article-cta .wp-block-quote::after {
  content: none;
  display: none;
}

/* ─────── 画像 ─────── */
.p-single-blog__body .p-entry-content .p-article-cta img {
  max-width: 100%;
  height: auto;
}

/* ─────── ラッパ自身の擬似要素対策 ─────── */
.p-single-blog__body .p-entry-content .p-article-cta::before,
.p-single-blog__body .p-entry-content .p-article-cta::after {
  content: none;
  display: none;
}
