/**
 * Theme Name: Blocksy Child
 * Version: 7.4.35
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */



:root{
  --ls-yellow:#FFD800;
  --ls-navy:#27313F;
  --ls-navy-light:#3B5BA9;
  --ls-gray:#E5E7EB;
  --h2-size: clamp(1.3rem, 0.95rem + 1.6vw, 1.8rem);
  --h3-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.3rem);
}

.hidden-block {
  display: none !important;
}

/* スマホだけ非表示 */
@media (max-width: 768px) {
  .hidden-block-sp {
    display: none !important;
  }
}


/* =====================
   ヘッダーロゴ・タイトル・キャッチ・リンク
===================== */
/* ロゴ＋タイトル＋キャッチ全体を hover 対象にする */
.ct-header .site-branding {
  cursor: pointer;
}

/* ホバー時：タイトルを黄色に */
.ct-header .site-branding:hover .site-title a {
  color: #c59d00;
}

/* ホバー時：キャッチも黄色に */
.ct-header .site-branding:hover .site-description {
  color: #c59d00;
}

/* ホバー時：ロゴ画像をより黄色に寄せる */
.ct-header .site-branding:hover .site-logo-container img {
  filter: brightness(1.45) saturate(2) hue-rotate(15deg);
  transition: filter 0.25s ease;
}

/* 投稿ページだけ、パンくずの最後（=記事タイトル）を非表示 */
.single-post .ct-breadcrumbs .last-item {
  display: none;
}

/* タグリンクのみ（記事内・一覧ページ共通）文字色を変更 */
a[rel="tag"] {
  color: #CC9A00 !important;
  text-decoration: underline !important;
}

a[rel="tag"]:hover {
  color: #a07800 !important;
}

@media (min-width: 1000px) {
  /* PCメニュー調整 */
  #header-menu-1 {
    --menu-items-spacing: 40px;
    --margin: 0 0 0 60px;
  }
}

/* =====================
   汎用クラス
===================== */
/* 1列目をヘッダー扱いで中央寄せ（th/tdどっちでも） */
.td-header-center tr > :is(th, td):first-child {
  text-align: center !important;
  background-color: #F3F4F6 !important; /* 薄グレー */
  color: #27313F !important;
}


/* =====================
   全投稿・固定ページ：スマホの場合
===================== */
@media (max-width: 768px) {
  /* ── ヘッダー ロゴ・タイトルのスペースを調整 ── */
  .site-description {
    margin-top: -3px !important;
  }
  .site-branding .site-title-container {
    margin-left: 6px !important;
  }

  /* ── Kadence Table(Adv) を縦積み ── */
  /* テーブル枠は維持しつつ、横スクロールを避ける */
  .wp-block-kadence-table {
    border: 1px solid #27313F80;
    border-radius: 10px;
  }

  /* th/td を縦積みにする（ここがdisplay:blockの本丸） */
  .wp-block-kadence-table th,
  .wp-block-kadence-table td {
    display: block;
    width: 100% !important;
    border: 0 !important;            /* 行全体で枠を持つのでセル枠は消す */
    padding: 10px 12px !important;   /* SP向けに少し広め */
    background-color: #FFFFFF !important;
    color: #27313F !important;
    vertical-align: top !important;
  }

  /* セル内要素（p等）の18pxを殺す（valign-middle相当） */
  .wp-block-kadence-z :is(th, td) > *{
    margin: 0 !important;
  }

  /* ▼犯人：セル内の当て木（擬似要素）を無効化 */
  .wp-block-kadence-table :is(th, td)::before {
    content: none !important;
    display: none !important;
  }

  /* 1列目（ラベル）を“薄いラベル行”にする：濃紺ベタはSPで重いので弱める */
  .wp-block-kadence-table tr > th:first-child,
  .wp-block-kadence-table tr > td:first-child {
    background-color: #F3F4F6 !important; /* 薄グレー */
    color: #27313F !important;
    font-weight: 700 !important;
    padding: 8px 12px !important;
    font-size: 12px;
    letter-spacing: 0.02em;
	border-bottom: 1px solid #27313F14 !important;
  }
}


/* =============================================
   投稿サムネイル画像リンク hover エフェクト（全投稿共通）
   ============================================= */

/* 画像エリアをoverflowで切る（ズームがはみ出ないように） */
.wp-block-post-featured-image {
  overflow: hidden;
}

/* 画像本体にtransitionを付与 */
.wp-block-post-featured-image img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ← ここが肝。aタグhoverで画像を拡大＋暗く */
.wp-block-post-featured-image a:hover img {
  transform: scale(1.07);
  opacity: 0.85;
}

/* overlay（暗幕）効果 */
.wp-block-post-featured-image a {
  display: block;
  position: relative;
}

.wp-block-post-featured-image a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

.wp-block-post-featured-image a:hover::after {
  background: rgba(0, 0, 0, 0.10);
}


/* =============================================
   投稿サムネイル hover エフェクト（全ブロック共通）
   
   対象ブロック：
   　① Gutenbergコア（/guide/ 等）
   　② Stackable（トップ・オーナーインタビュー等）
   　③ GenerateBlocks（総研特集エリア）
   
   調整ポイント：
   　・scale(1.07)     → 拡大率（1.05〜1.1が自然）
   　・opacity: 0.6    → hover時の画像明度（低いほど暗く）
   　・rgba(255,255,255,0.35) → 白overlay濃さ
   ============================================= */


/* ---------------------------------------------
   ① Gutenbergコア
   wp-block-post-featured-image 使用箇所
   （/guide/ などの投稿一覧）
   --------------------------------------------- */

/* ズーム時にはみ出しを隠す */
.wp-block-post-featured-image {
  overflow: hidden;
}

/* 画像本体にtransitionを付与 */
.wp-block-post-featured-image img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hover で拡大＋明度を下げる */
.wp-block-post-featured-image a:hover img {
  transform: scale(1.07);
  opacity: 0.6;
}

/* overlay用に aタグを relative に */
.wp-block-post-featured-image a {
  display: block;
  position: relative;
}

/* 白overlay（通常時は透明） */
.wp-block-post-featured-image a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

/* hover で白overlay を出す */
.wp-block-post-featured-image a:hover::after {
  background: rgba(255, 255, 255, 0.35);
}


/* ---------------------------------------------
   ② Stackable
   stk-block-posts__image-link 使用箇所
   （トップページ・オーナーインタビュー等）
   --------------------------------------------- */

/* ズーム時にはみ出しを隠す */
.stk-block-posts__image-link .stk-img-wrapper {
  overflow: hidden;
}

/* 画像本体にtransitionを付与 */
.stk-block-posts__image-link img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hover で拡大＋明度を下げる */
.stk-block-posts__image-link:hover img {
  transform: scale(1.07);
  opacity: 0.6;
}

/* overlay用に aタグを relative に */
.stk-block-posts__image-link {
  display: block;
  position: relative;
}

/* 白overlay（通常時は透明） */
.stk-block-posts__image-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

/* hover で白overlay を出す */
.stk-block-posts__image-link:hover::after {
  background: rgba(255, 255, 255, 0.35);
}


/* ---------------------------------------------
   ③ GenerateBlocks
   ct-dynamic-media 使用箇所
   （総研特集エリア）
   --------------------------------------------- */

/* ズーム時にはみ出しを隠す＋overlay用 */
.ct-dynamic-media {
  display: block;
  position: relative;
  overflow: hidden;
}

/* 画像本体にtransitionを付与 */
.ct-dynamic-media img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hover で拡大＋明度を下げる */
.ct-dynamic-media:hover img {
  transform: scale(1.07);
  opacity: 0.6;
}

/* 白overlay（通常時は透明） */
.ct-dynamic-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

/* hover で白overlay を出す */
.ct-dynamic-media:hover::after {
  background: rgba(255, 255, 255, 0.35);
}



.wp-block-post-featured-image a:hover img {
  transform: scale(1.07);
  opacity: 0.85;
}

.wp-block-post-featured-image a {
  display: block;
  position: relative;
}

.wp-block-post-featured-image a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

.wp-block-post-featured-image a:hover::after {
  background: rgba(0, 0, 0, 0.10);
}

/* =============================================
   投稿サムネイル hover エフェクト（Stackable）
   トップ・オーナーインタビュー等 stk-block-posts 使用箇所
   ============================================= */

.stk-block-posts__image-link .stk-img-wrapper {
  overflow: hidden;
}

.stk-block-posts__image-link img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stk-block-posts__image-link:hover img {
  transform: scale(1.07);
  opacity: 0.85;
}

.stk-block-posts__image-link {
  display: block;
  position: relative;
}

.stk-block-posts__image-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

.stk-block-posts__image-link:hover::after {
  background: rgba(0, 0, 0, 0.10);
}


/* =============================================
   投稿サムネイル hover エフェクト（Gutenbergコア）
   /guide/ など wp-block-post-featured-image 使用箇所
   ============================================= */

.wp-block-post-featured-image {
  overflow: hidden;
}

.wp-block-post-featured-image img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-post-featured-image a:hover img {
  transform: scale(1.07);
  opacity: 0.85;
}

.wp-block-post-featured-image a {
  display: block;
  position: relative;
}

.wp-block-post-featured-image a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

.wp-block-post-featured-image a:hover::after {
  background: rgba(0, 0, 0, 0.10);
}

/* =============================================
   投稿サムネイル hover エフェクト（Stackable）
   トップ・オーナーインタビュー等
   ============================================= */

.stk-block-posts__image-link .stk-img-wrapper {
  overflow: hidden;
}

.stk-block-posts__image-link img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stk-block-posts__image-link:hover img {
  transform: scale(1.07);
  opacity: 0.85;
}

.stk-block-posts__image-link {
  display: block;
  position: relative;
}

.stk-block-posts__image-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

.stk-block-posts__image-link:hover::after {
  background: rgba(0, 0, 0, 0.10);
}

/* =============================================
   投稿サムネイル hover エフェクト（GenerateBlocks）
   総研特集エリア ct-dynamic-media 使用箇所
   ============================================= */

.ct-dynamic-media {
  display: block;
  position: relative;
  overflow: hidden;
}

.ct-dynamic-media img {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-dynamic-media:hover img {
  transform: scale(1.07);
  opacity: 0.85;
}

.ct-dynamic-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

.ct-dynamic-media:hover::after {
  background: rgba(0, 0, 0, 0.10);
}


/* ============================
   Pz-LinkCard / ブログカード調整
============================ */

/* カード全体 */
.linkcard .lkc-card{
  display: block;
}

/* サムネイル */
.category-feature .entry-content .linkcard figure.lkc-thumbnail{
  margin: 0 16px 0 0 !important;   /* 上下marginを消して右だけ空ける */
  /* float はプラグイン既定のまま使う */
}

/* タイトル下の余白 */
.linkcard .lkc-title{
  margin-bottom: 10px;
}

/* 説明文の余白 */
.linkcard .lkc-excerpt{
  margin-top: 2px;
}

/* サムネ画像 */
.linkcard .lkc-thumbnail img{
  display: block;
}

/* スマホではブログカードの抜粋を非表示 */
@media (max-width: 768px) {

  /* 高さ制限・省略表示の解除 */
  .linkcard .lkc-card,
  .linkcard .lkc-link,
  .linkcard .lkc-content,
  .linkcard .lkc-title,
  .linkcard .lkc-title a {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* カード全体 */
  .linkcard .lkc-card {
    margin: 6px 0 !important;
    padding: 6px 8px !important;
  }

  /* 横並び */
  .linkcard .lkc-content {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
  }

  /* サムネ */
  .category-feature .entry-content .linkcard figure.lkc-thumbnail {
    float: none !important;
    flex: 0 0 120px;
    width: 120px !important;
    margin: 0 8px 0 0 !important;
  }

  .linkcard .lkc-thumbnail img {
    display: block;
    width: 120px !important;
    height: 75px !important;
    object-fit: cover;
  }

  /* タイトル */
  .linkcard .lkc-title,
  .linkcard .lkc-title a {
    display: block !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* 抜粋は消す */
  .linkcard .lkc-excerpt {
    display: none !important;
  }
}


/* =====================
   開業ガイド（guide）
===================== */
.category-guide .entry-content .wp-block-stackable-heading:has(> h2.stk-block-heading__text){
  margin-top: 64px !important;   /* ← h2 の章前だけ広げる */
  margin-bottom: 24px;
}
.category-guide .entry-content .wp-block-stackable-heading:has(> h3.stk-block-heading__text){
  margin-top: 28px !important;
  margin-bottom: 16px;
}
.category-guide .entry-content h2{
  font-size: var(--h2-size);
  font-weight: 700;
  color: #27313F;
  background: #FFD800;
  padding: 10px 16px;
  border-radius: 4px;
  box-shadow:
    inset 0 2px 0 #FFE37A,
    inset 0 -2px 0 #FFE37A;
}

.category-guide .entry-content h3{
  font-size: var(--h3-size);
  font-weight: 600;
  color: #444;
  border-bottom: 2px solid var(--ls-yellow);
  padding-bottom: 6px;
  margin: 28px 0 16px;
}

/* =====================
   事例紹介（report）
===================== */
.category-report .entry-content .wp-block-stackable-heading:has(> h2.stk-block-heading__text){
  margin-top: 64px !important;
  margin-bottom: 24px;
}
.category-report .entry-content .wp-block-stackable-heading:has(> h3.stk-block-heading__text){
  margin-top: 28px !important;
  margin-bottom: 16px;
}
.category-report .entry-content h2{
  font-size: var(--h2-size);
  font-weight: 700;
  color: #fff;
  background: var(--ls-navy);
  padding: 10px 16px;
  border-radius: 4px;
  box-shadow:
    inset 0 2px 0 var(--ls-navy-light),
    inset 0 -2px 0 var(--ls-navy-light);
}

.category-report .entry-content h3{
  font-size: var(--h3-size);
  font-weight: 600;
  color: #27313F;
  border-bottom: 2px solid var(--ls-navy);
  padding-bottom: 6px;
  margin: 28px 0 16px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #27313F;
  background: #FFD800;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* ── 事例紹介（カテゴリ report）の Table(Adv) 共通スタイル ── */

/*    ▼ 1カラム目のデザイン（濃紺＋白文字）*/
body.single-post article.category-report 
  .wp-block-kadence-table tr > th:first-child,
body.single-post article.category-report
  .wp-block-kadence-table tr > td:first-child {
  background-color: #8E949B !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

/*    ▼ valign-middle（縦中央寄せ） 内包
   ※ 既存スタイルを壊さず縦中央だけ正しくする */

/* セルの直下要素（ほぼ .kb-table-data）を inline-block にする */
body.single-post article.category-report .wp-block-kadence-table td > *,
body.single-post article.category-report .wp-block-kadence-table th > * {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

/* “高さ合わせ用の当て木” を追加して中央寄せを有効化 */
body.single-post article.category-report .wp-block-kadence-table td::before,
body.single-post article.category-report .wp-block-kadence-table th::before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

/* Kadence Table(Adv) が内部に持つラッパーにも対応 */
body.single-post article.category-report .wp-block-kadence-table .kb-adv-table-cell-inner {
  display: inline-block;
  vertical-align: middle;
}


/* =====================
   FC詳細（compare）
===================== */
/* アイキャッチ画像の枠線を設定 */
.category-compare .wp-post-image {
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 色やサイズの変数（必要に応じて調整） */
:root{
  --ls-ink: #27313F;             /* 文字色（h2） */
  --ls-ink-weak: #444;           /* 文字色（h3） */
  --ls-yellow: #FFD800;          /* アクセント */
  --ls-h2-icon-size: 1.15em;     /* h2 アイコンサイズ */
  --ls-h3-icon-size: 1.00em;     /* h3 アイコンサイズ */
  --ls-icon-gap: 8px;            /* アイコンと文字の間隔 */
  --ls-h2-icon-url: url('/wp-content/uploads/icons/fc-h2.svg');
  --ls-h3-icon-url: url('/wp-content/uploads/icons/fc-h3.svg');
  /* PNGフォールバック（必要なら差し替え）
     --ls-h2-icon-url-png: url('/wp-content/uploads/icons/fc-h2.png');
     --ls-h3-icon-url-png: url('/wp-content/uploads/icons/fc-h3.png');
  */
}

/* FC・メーカー比較カードのタイトル高さ統一 */
.category-compare .wp-block-post-title {
  line-height: 1.4;  /* 現行のline-height基準。必要なら調整OK */
  min-height: calc(1.4em * 2);  /* ← 2行ぶん高さを確保 */
  display: block;
}


/* =====================
   Table(Adv) 親ブロックの「追加CSSクラス」に `valign-middle` を付ける
   Kadence Advanced Table 用（改行しても上の余白が増えない版）
===================== */

/* セル自体を縦中央寄せ＆行間を整える */
.valign-middle td,
.valign-middle th {
  vertical-align: middle;
  line-height: 1.4;     /* 好みで 1.3〜1.6 くらいで調整可 */
}

/* セル直下の要素の上下マージンをリセットして余白暴れ防止 */
.valign-middle td > *,
.valign-middle th > * {
  margin-top: 0;
  margin-bottom: 0;
}

/* 旧バージョンの ::before “当て木” ハックが残っていても無効化する保険 */
.valign-middle td::before,
.valign-middle th::before {
  content: none !important;
  display: none !important;
}

/* Kadence Table(Adv) のセル内ラッパーを flex 化して中身を縦中央に */
.valign-middle td > .kb-adv-table-cell-inner,
.valign-middle th > .kb-adv-table-cell-inner {
  display: flex;
  align-items: center;   /* 縦方向センター */
}

/* ラッパー内の要素もマージン調整＆横幅いっぱいにして自然な折り返しに */
.valign-middle td > .kb-adv-table-cell-inner > *,
.valign-middle th > .kb-adv-table-cell-inner > * {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
}


/* ============================
   Table Header を改行させない共通クラス
   追加CSSクラス → table-header-nowrap
============================ */
/* PC / タブレット：ヘッダーは1行固定 */
.table-header-nowrap th {
  white-space: nowrap;
}

/* スマホは折り返しOK（横幅が狭いので崩壊防止） */
@media (max-width: 768px) {
  .table-header-nowrap th {
    white-space: normal;
  }
}


/* ============================
   Table 左端列をalign=center 共通クラス
   追加CSSクラス → ls-table-first-child-center
============================ */
.ls-table-first-child-center td:first-child {
  text-align: center !important;
}

/* ============================
   Table SPの場合、上端行をhideする共通クラス
   追加CSSクラス → ls-table-first-row-hidden
============================ */
@media (max-width: 767px) {
  .ls-table-first-row-hidden tr:first-child {
    display: none !important;
  }
}

/* ============================
   Table(Adv) のバグでQueryLoopやInnerColumnの中に置くとFirst column is headerオプションが効かないバグを回避
   追加CSSクラス → ls-table-header-col
============================ */
/* ランドリー総研 概要テーブル：1列目を疑似ヘッダーとして装飾 */
.ls-table-header-col tbody tr td:first-child {
  font-weight: 700;              /* 太字 */
  text-align: center;            /* 中央寄せ */
  background-color: #fff5cc;     /* お好みで。#FFD800系を薄めると良い感じ */
}


/* タグアーカイブのカード画像：見切れ防止（contain） */
body.tag .ct-media-container.boundless-image img.wp-post-image{
  object-fit: contain !important;  /* cover→contain */
  background: #fff;                /* 余白が出た時の背景（必要なら） */
}

/* Blocksy側の height:100% が効きすぎる場合の保険 */
body.tag .ct-media-container.boundless-image img.wp-post-image{
  width: 100% !important;
  height: 100% !important;         /* 親の枠に合わせたままcontain */
}

/* ============================
   クエリーループのカラム調整
   対象：query-loop-col4
============================ */
/* タブレット */
@media (max-width: 1024px) {
  .query-loop-col4 .wp-block-post-template {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .query-loop-col4 .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================
   Kadence Posts：カラム調整
   対象：query-loop-col4
============================ */
/* スマホ：2カラム */
@media (max-width: 768px) {
  .wp-block-kadence-posts.query-loop-col4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* =========================
   フローティングCTA
========================= */
.ls-floating-cta {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  left: auto;
  z-index: 99999;

  /* ▼追加：最初は非表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);

  /* ▼追加：ふわっと出す */
  transition:
    opacity .28s ease,
    transform .28s ease,
    visibility .28s ease;
}

/* ▼追加：JSで is-visible が付いたら表示 */
.ls-floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ls-floating-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: #FFD800;
  color: #27313F;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(39, 49, 63, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}

.ls-floating-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.20);
  opacity: .98;
}

/* PCでは少し余白を広めに */
@media (min-width: 769px) {
  .ls-floating-cta {
    right: 48px;
    bottom: 48px;
  }
}

/* スマホは画面下から少し上に逃がす */
@media (max-width: 768px) {
  .ls-floating-cta {
    left: 12px;
    right: 12px;

    /* ▼変更：下にベタ付けしない。Safari下部バーより上に逃がす */
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .ls-floating-cta__btn {
    display: flex;
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  }

  /* ▼変更：body の余白追加はしない */
  body {
    padding-bottom: 0 !important;
  }
}


/* ================================================
   総研特集 専用スタイル（.ls-feature-pr スコープ）
   ================================================ */

.ls-feature-pr {
  --ls-yellow:     #F5C842;
  --ls-dark:       #1C1C1C;
  --ls-gray:       #5A5A5A;
  --ls-gray-light: #F7F7F5;
  --ls-border:     #E5E5E0;
  --ls-white:      #FFFFFF;
  --ls-accent:     #C8960A;
}

/* Blocksyのhero-section・アイキャッチを非表示 */
.ls-feature-pr .hero-section,
.ls-feature-pr .ct-featured-image { display: none !important; }

/* コンテンツ幅制限を解除（ct-container-fullのみ） */
.ls-feature-pr .ct-container-full { max-width: 100% !important; padding: 0 !important; }

/* ===== heroセクション ===== */
.ls-feature-pr .ls-hero { background: var(--ls-dark); padding: 40px 32px 52px; position: relative; overflow: hidden; }
.ls-feature-pr .ls-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 100%; background: var(--ls-yellow); opacity: .06; transform: skewX(-8deg) translateX(60px); }
.ls-feature-pr .ls-hero-inner { max-width: 960px; margin: 0 auto; position: relative; }
.ls-feature-pr .ls-hero h1,
.ls-feature-pr .ls-hero .ls-hero-title { font-family: 'Noto Serif JP', serif !important; font-size: clamp(20px, 3.5vw, 28px) !important; font-weight: 700 !important; color: var(--ls-white) !important; line-height: 1.6 !important; margin-bottom: 16px !important; background: none !important; padding: 0 !important; border: none !important; }
.ls-feature-pr .ls-hero-title-yellow { color: var(--ls-yellow) !important; display: block; }
.ls-feature-pr .ls-hero-sub { font-size: 15px; color: #CCC; line-height: 1.8; font-weight: 500; margin-bottom: 0; }
.ls-feature-pr .ls-hero-meta { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #333; flex-wrap: wrap; text-align: left; }
.ls-feature-pr .ls-hero-meta > div { flex-shrink: 0; }
.ls-feature-pr .ls-hero-meta-label { font-size: 11px; color: #888; }
.ls-feature-pr .ls-hero-meta-val { font-size: 12px; color: #CCC; }
.ls-feature-pr .ls-hero-photo { margin-top: 32px; }
.ls-feature-pr .ls-hero-photo img { width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: center center; display: block; opacity: .88; }
.ls-feature-pr .ls-hero-photo-caption { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 8px; text-align: right; line-height: 1.6; }

/* ===== パンくず ===== */
.ls-feature-pr .ls-hero-breadcrumb { margin-bottom: 12px; }
.ls-feature-pr .ls-hero-breadcrumb .rank-math-breadcrumb { background: none !important; padding: 0 !important; }
.ls-feature-pr .ls-hero-breadcrumb .rank-math-breadcrumb p { margin: 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ls-feature-pr .ls-hero-breadcrumb .rank-math-breadcrumb a,
.ls-feature-pr .ls-hero-breadcrumb .rank-math-breadcrumb span { color: rgba(255,255,255,0.55) !important; font-size: 11px !important; text-decoration: none; }
.ls-feature-pr .ls-hero-breadcrumb .rank-math-breadcrumb a:hover { color: var(--ls-yellow) !important; }
.ls-feature-pr .ls-hero-breadcrumb .rank-math-breadcrumb .separator { color: rgba(255,255,255,0.3) !important; font-size: 11px !important; }
.ls-feature-pr .ls-hero-breadcrumb .rank-math-breadcrumb .last { color: rgba(255,255,255,0.35) !important; }

/* ===== カテゴリ + タグ 縦位置揃え ===== */
.ls-hero-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ls-hero-category { display: inline-flex; align-items: center; height: 26px; background: var(--ls-yellow); color: var(--ls-dark); font-size: 11px; font-weight: 700; padding: 0 12px; letter-spacing: .08em; text-decoration: none; flex-shrink: 0; }
.ls-hero-category:hover { opacity: .85; }
.ls-hero-tag { display: inline-flex; align-items: center; height: 26px; background: transparent; color: var(--ls-yellow); font-size: 11px; font-weight: 700; padding: 0 10px; letter-spacing: .08em; border: 1px solid var(--ls-yellow); text-decoration: none; transition: background .15s, color .15s; flex-shrink: 0; }
.ls-hero-tag:hover { background: var(--ls-yellow); color: var(--ls-dark); }

/* ===== PR表記 ===== */
.ls-feature-pr .ls-pr-notice { max-width: 960px; margin: 0 auto; padding: 0 32px 16px; }
.ls-feature-pr .ls-pr-notice-inner { display: flex; align-items: flex-start; gap: 12px; padding-top: 20px; border-top: 1px solid #CCCCC8; margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
.ls-feature-pr .ls-pr-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--ls-dark); color: var(--ls-yellow); font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 3px 8px; flex-shrink: 0; margin-top: 2px; }
.ls-feature-pr .ls-pr-notice-text { flex: 1; }
.ls-feature-pr .ls-pr-notice-main { font-size: 12px; color: var(--ls-dark); font-weight: 700; margin: 0 0 1px; line-height: 1.4; }
.ls-feature-pr .ls-pr-notice-sub { font-size: 11px; color: #999; margin: 0; line-height: 1.5; }

/* ===== コンテンツラッパー ===== */
.ls-feature-pr .ls-content-wrap { max-width: 100%; margin: 0; padding: 52px 0 80px; }

/* ===== テキスト基本 ===== */
.ls-feature-pr .ls-content-wrap p { margin-bottom: 20px; color: var(--ls-gray); }
.ls-feature-pr .ls-content-wrap p strong { color: var(--ls-dark); font-weight: 700; }

/* ===== 見出し ===== */
.ls-feature-pr .ls-content-wrap h2,
.ls-feature-pr .ls-feature-body h2.wp-block-heading { font-family: 'Noto Serif JP', serif !important; font-size: 20px !important; font-weight: 700 !important; color: var(--ls-dark) !important; background: var(--ls-gray-light) !important; margin: 56px 0 20px !important; padding: 14px 20px !important; line-height: 1.6 !important; border-left: 4px solid var(--ls-yellow) !important; border-bottom: none !important; border-top: none !important; border-right: none !important; }
.ls-feature-pr .ls-content-wrap h3,
.ls-feature-pr .ls-feature-body h3.wp-block-heading { font-size: 16px !important; font-weight: 700 !important; color: var(--ls-dark) !important; margin: 32px 0 12px !important; background: none !important; padding: 0 0 8px !important; border: none !important; border-bottom: 1px solid !important; border-image: linear-gradient(to right, var(--ls-yellow) 60px, #E5E5E0 60px) 1 !important; }
.ls-feature-pr .ls-content-wrap h4,
.ls-feature-pr .ls-feature-body h4.wp-block-heading { font-size: 15px !important; font-weight: 700 !important; color: var(--ls-dark) !important; margin: 24px 0 10px !important; background: none !important; padding: 0 !important; border: none !important; }
.ls-feature-pr .ls-content-wrap h5,
.ls-feature-pr .ls-feature-body h5.wp-block-heading,
.ls-feature-pr .ls-feature-body .stk-block-heading h5.stk-block-heading__text { font-size: 14px !important; font-weight: 600 !important; color: var(--ls-dark) !important; margin: 20px 0 8px !important; background: none !important; padding: 0 !important; border: none !important; }

/* ===== リード文 ===== */
.ls-feature-pr .lead { font-family: 'Noto Serif JP', serif; font-size: 17px; line-height: 2.1; color: var(--ls-dark); margin-bottom: 40px; padding-bottom: 36px; border-bottom: 2px solid var(--ls-yellow); }

/* ===== 経営哲学ブロック ===== */
.ls-feature-pr .philosophy-block { background: var(--ls-dark); padding: 40px 48px; margin: 40px 0; position: relative; overflow: hidden; }
.ls-feature-pr .philosophy-block::before { content: '\201C'; position: absolute; top: -20px; left: 24px; font-size: 160px; color: var(--ls-yellow); opacity: .10; font-family: 'Noto Serif JP', serif; line-height: 1; }
.ls-feature-pr .philosophy-text { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700; color: var(--ls-yellow); line-height: 2.0; position: relative; z-index: 1; }
.ls-feature-pr .philosophy-attr { font-size: 13px; color: #888; margin-top: 16px; position: relative; z-index: 1; }

/* ===== 比較テーブル ===== */
.ls-feature-pr .fc-table { width: 100%; border-collapse: collapse; margin: 24px 0 36px; font-size: 14px; table-layout: fixed; }
.ls-feature-pr .fc-table th:first-child, .ls-feature-pr .fc-table td:first-child { width: 30%; }
.ls-feature-pr .fc-table th:nth-child(2), .ls-feature-pr .fc-table td:nth-child(2) { width: 30%; }
.ls-feature-pr .fc-table th:nth-child(3), .ls-feature-pr .fc-table td:nth-child(3) { width: 40%; }
.ls-feature-pr .fc-table th { background: var(--ls-dark); color: var(--ls-white); padding: 12px 16px; text-align: center; font-weight: 700; }
.ls-feature-pr .fc-table th.hl { background: var(--ls-yellow); color: var(--ls-dark); }
.ls-feature-pr .fc-table td { padding: 11px 16px; border-bottom: 1px solid var(--ls-border); text-align: center; color: var(--ls-gray); }
.ls-feature-pr .fc-table td:first-child { text-align: left; font-weight: 700; color: var(--ls-dark); background: var(--ls-gray-light); }
.ls-feature-pr .fc-table td.good { color: #2E7D32; font-weight: 700; }
.ls-feature-pr .fc-table td.bad { color: var(--ls-gray); }
.ls-feature-pr .fc-table tr:last-child td { border-bottom: none; }

/* ===== フィーチャーリスト ===== */
.ls-feature-pr .feature-list { list-style: none; margin: 20px 0 32px; padding: 0; }
.ls-feature-pr .feature-list li { padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--ls-border); font-size: 15px; color: var(--ls-gray); position: relative; }
.ls-feature-pr .feature-list li:last-child { border-bottom: none; }
.ls-feature-pr .feature-list li::before { content: ''; width: 6px; height: 6px; background: var(--ls-yellow); border-radius: 50%; position: absolute; left: 0; top: 22px; }
.ls-feature-pr .feature-list li strong { color: var(--ls-dark); display: block; margin-bottom: 4px; }

/* ===== 数値カード ===== */
.ls-feature-pr .stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.ls-feature-pr .stat-card { background: var(--ls-gray-light); padding: 24px 20px; border-top: 3px solid var(--ls-yellow); text-align: center; }
.ls-feature-pr .stat-num { font-size: 34px; font-weight: 700; color: var(--ls-accent); font-family: 'Noto Serif JP', serif; line-height: 1; margin-bottom: 8px; }
.ls-feature-pr .stat-num span { font-size: 14px; font-weight: 400; color: var(--ls-gray); }
.ls-feature-pr .stat-label { font-size: 13px; font-weight: 700; color: var(--ls-dark); margin-bottom: 6px; }
.ls-feature-pr .stat-desc { font-size: 12px; color: var(--ls-gray); line-height: 1.6; }

/* ===== ハイライトボックス ===== */
.ls-feature-pr .highlight-box { background: var(--ls-gray-light); padding: 20px 24px; margin: 32px 0; border-radius: 4px; }
.ls-feature-pr .highlight-box p { margin: 0; color: var(--ls-dark); font-size: 15px; }

/* ===== 引用ブロック ===== */
.ls-feature-pr .quote-block { background: var(--ls-gray-light); padding: 36px 40px; margin: 32px 0; font-family: 'Noto Serif JP', serif; font-size: 15px; color: var(--ls-dark); line-height: 1.9; position: relative; border-radius: 4px; }
.ls-feature-pr .quote-block::before { content: '\201C'; position: absolute; top: 8px; left: 16px; font-size: 64px; color: var(--ls-yellow); font-family: 'Noto Serif JP', serif; line-height: 1; font-style: italic; }
.ls-feature-pr .quote-block::after { content: '\201D'; position: absolute; bottom: -8px; right: 16px; font-size: 64px; color: var(--ls-yellow); font-family: 'Noto Serif JP', serif; line-height: 1; font-style: italic; }
.ls-feature-pr .quote-block p { margin: 0 0 12px 0; color: var(--ls-dark); font-size: 15px; font-family: 'Noto Serif JP', serif; line-height: 1.9; }
.ls-feature-pr .quote-block cite { display: block; font-size: 12px; color: #999; margin-top: 0; font-style: normal; }

/* ===== 画像グリッド ===== */
.ls-feature-pr .article-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.ls-feature-pr .article-img-grid figure { margin: 0; }
.ls-feature-pr .article-img-grid img { width: 100%; height: 220px; object-fit: cover; display: block; }
.ls-feature-pr .article-img-grid--contain img { object-fit: contain; background: var(--ls-gray-light); }
.ls-feature-pr .article-img-grid figcaption { font-size: 11px; color: #999; margin-top: 6px; }

/* ===== エピソードカード ===== */
.ls-feature-pr .episode-cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 28px 0; }
.ls-feature-pr .episode-card { background: var(--ls-white); border: 1px solid var(--ls-border); border-top: 3px solid var(--ls-yellow); display: grid; grid-template-columns: 280px 1fr; gap: 0; text-decoration: none; transition: opacity .15s; }
.ls-feature-pr .episode-card:hover { opacity: .85; }
.ls-feature-pr .episode-card-img { width: 280px; flex-shrink: 0; overflow: hidden; }
.ls-feature-pr .episode-card-img img { width: 280px; height: 100%; object-fit: cover; object-position: center; display: block; }
.ls-feature-pr .episode-card-body-wrap { padding: 16px 18px 18px; }
.ls-feature-pr .episode-card-from { font-size: 11px; font-weight: 700; color: var(--ls-accent); letter-spacing: .04em; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--ls-border); }
.ls-feature-pr .episode-card-text { font-family: 'Noto Serif JP', serif; font-size: 14px; color: var(--ls-dark); line-height: 1.9; margin-bottom: 10px; }
.ls-feature-pr .episode-card-sub { font-size: 12px; color: var(--ls-gray); padding-top: 8px; border-top: 1px dashed var(--ls-border); margin-bottom: 10px; }
.ls-feature-pr .episode-card-link { font-size: 12px; font-weight: 700; color: var(--ls-accent); display: block; margin-top: 8px; }

/* ===== アワードカード ===== */
.ls-feature-pr .award-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 32px; }
.ls-feature-pr .award-card { background: var(--ls-white); border: 1px solid var(--ls-border); overflow: hidden; }
.ls-feature-pr .award-card-img-wrap img { width: 100%; height: 200px; object-fit: cover; display: block; }
.ls-feature-pr .award-card-body { padding: 16px; }
.ls-feature-pr .award-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.ls-feature-pr .award-card-badge { display: inline-block; background: var(--ls-yellow); color: var(--ls-dark); font-size: 12px; font-weight: 700; padding: 4px 10px; }
.ls-feature-pr .award-card-prize { font-size: 12px; font-weight: 700; color: var(--ls-accent); margin-bottom: 0; }
.ls-feature-pr .award-card-store { font-size: 15px; font-weight: 700; color: var(--ls-dark); line-height: 1.6; }

/* ===== セミナーCTA ===== */
.ls-feature-pr .seminar-block { background: var(--ls-dark); padding: 36px 32px; margin: 52px 0; }
.ls-feature-pr .seminar-block h3 { font-family: 'Noto Serif JP', serif !important; font-size: 20px !important; color: var(--ls-yellow) !important; margin-bottom: 8px !important; background: none !important; padding: 0 !important; border: none !important; }
.ls-feature-pr .seminar-block p { color: #AAA; font-size: 13px; margin-bottom: 24px; }
.ls-feature-pr .seminar-venues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.ls-feature-pr .seminar-venue { background: #2A2A2A; padding: 24px 12px; text-align: center; border-top: 3px solid var(--ls-yellow); }
.ls-feature-pr .seminar-venue-city { font-size: 20px; font-weight: 700; color: var(--ls-white); margin-bottom: 6px; }
.ls-feature-pr .seminar-venue-type { font-size: 11px; color: #888; }
.ls-feature-pr .seminar-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ls-feature-pr .btn-primary { display: inline-block; background: var(--ls-yellow); color: var(--ls-dark); font-weight: 700; font-size: 14px; padding: 13px 28px; text-decoration: none; border: none; cursor: pointer; }
.ls-feature-pr .btn-sub { display: inline-block; background: transparent; color: var(--ls-white) !important; font-weight: 700; font-size: 14px; padding: 12px 24px; text-decoration: none; border: 1px solid #555; cursor: pointer; }

/* ===== CTA ===== */
.ls-feature-pr .cta-block { background: var(--ls-dark); padding: 40px 32px; margin: 52px 0 0; text-align: center; }
.ls-feature-pr .cta-block h3 { color: var(--ls-white) !important; font-size: 18px !important; margin: 0 0 8px !important; background: none !important; padding: 0 !important; border: none !important; }
.ls-feature-pr .cta-block p { color: #AAA; font-size: 13px; margin: 0 0 24px; }
.ls-feature-pr .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ls-feature-pr .cta-btn { display: inline-block; background: var(--ls-yellow); color: var(--ls-dark); font-weight: 700; font-size: 15px; padding: 14px 32px; text-decoration: none; border: none; cursor: pointer; }
.ls-feature-pr .cta-btn-sub { display: inline-block; background: transparent; color: var(--ls-white) !important; font-weight: 700; font-size: 15px; padding: 13px 32px; text-decoration: none; border: 1px solid #555; cursor: pointer; }
.ls-feature-pr .cta-btn-note { font-size: 11px; color: #666; margin-top: 14px; }

/* ===== オーナーの声カード ===== */
.ls-feature-pr .interview-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ls-feature-pr .interview-card { background: var(--ls-white); border: 1px solid var(--ls-border); text-decoration: none; display: block; transition: opacity .15s; }
.ls-feature-pr .interview-card:hover { opacity: .85; }
.ls-feature-pr .interview-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.ls-feature-pr .interview-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-feature-pr .interview-card-body { padding: 10px 12px 14px; }
.ls-feature-pr .interview-card-title { font-size: 12px; font-weight: 500; color: var(--ls-dark); line-height: 1.6; }

/* ===== フッター注記 ===== */
.ls-feature-pr .article-footer { border-top: 1px solid var(--ls-border); padding: 20px 0; font-size: 11px; color: #AAA; }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .ls-feature-pr .ls-hero { padding: 32px 16px 28px; }
  .ls-feature-pr .ls-hero-breadcrumb { display: none; }
  .ls-feature-pr .ls-hero h1,
  .ls-feature-pr .ls-hero .ls-hero-title { font-size: 20px !important; line-height: 1.5 !important; }
  .ls-feature-pr .ls-hero-sub { font-size: 12px; }
  .ls-feature-pr .ls-hero-meta { flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; }
  .ls-feature-pr .ls-hero-photo img { max-height: 260px; }
  .ls-feature-pr .ls-feature-body { padding: 0 16px !important; }
  .ls-feature-pr .ls-content-wrap { padding: 28px 8px 52px; }
  .ls-feature-pr .ls-content-wrap h2 { font-size: 17px !important; padding: 12px 16px !important; margin: 40px 0 16px !important; }
  .ls-feature-pr .ls-content-wrap h3 { font-size: 15px !important; }
  .ls-feature-pr .lead { font-size: 15px; line-height: 1.9; }
  .ls-feature-pr .philosophy-block { padding: 24px 16px; }
  .ls-feature-pr .philosophy-text { font-size: 14px; line-height: 1.9; }
  .ls-feature-pr .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ls-feature-pr .stat-num { font-size: 26px; }
  .ls-feature-pr .stat-desc { font-size: 11px; }
  .ls-feature-pr .fc-table { display: block; overflow-x: auto; font-size: 12px; }
  .ls-feature-pr .award-cards { grid-template-columns: 1fr; }
  .ls-feature-pr .seminar-venues { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ls-feature-pr .seminar-block { padding: 24px 16px; }
  .ls-feature-pr .interview-cards { grid-template-columns: 1fr 1fr; }
  .ls-feature-pr .article-img-grid { grid-template-columns: 1fr; }
  .ls-feature-pr .episode-card { grid-template-columns: 1fr; }
  .ls-feature-pr .episode-card-img { width: 100%; height: 200px; }
  .ls-feature-pr .episode-card-img img { width: 100%; height: 200px; }
  .ls-feature-pr .episode-card-body-wrap { padding: 14px; }
  .ls-feature-pr .quote-block { padding: 48px 16px 24px; font-size: 14px; }
  .ls-feature-pr .cta-block { padding: 28px 16px; }
  .ls-feature-pr .cta-btns { flex-direction: column; }
  .ls-feature-pr .cta-btn, .ls-feature-pr .cta-btn-sub { width: 100%; text-align: center; box-sizing: border-box; }
  .ls-feature-pr .seminar-btns { flex-direction: column; }
  .ls-feature-pr .btn-primary, .ls-feature-pr .btn-sub { width: 100%; text-align: center; box-sizing: border-box; }
}

/* ===== ls-feature-body：記事コンテンツ全体の幅管理 ===== */
/* the_content()の出力を丸ごと包むラッパー。WPブロックの幅干渉をここで統一リセット */
.ls-feature-pr .ls-feature-body { max-width: 960px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; width: 100%; }
/* WPグローバルスタイルのis-layout-constrainedによる子要素幅制限をリセット */
.ls-feature-pr .ls-feature-body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
/* Queryブロック・post-templateの幅制限リセット */
.ls-feature-pr .ls-feature-body .wp-block-group,
.ls-feature-pr .ls-feature-body .wp-block-query,
.ls-feature-pr .ls-feature-body .wp-block-post-template { max-width: 100% !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
/* Stackable見出し（事例紹介タイトル等）のスタイル */
.ls-feature-pr .ls-feature-body .stk-block-heading__text { font-family: 'Noto Sans JP', sans-serif !important; font-size: clamp(18px, 2vw, 22px) !important; font-weight: 700 !important; color: #1C1C1C !important; background: none !important; padding: 0 0 12px !important; border: none !important; border-bottom: 2px solid #F5C842 !important; margin: 0 0 24px !important; }

/* ===== ls-feature-body 通常ブロックスタイル（既存総研特集記事用）===== */
/* 本文・段落 */
.ls-feature-pr .ls-feature-body .wp-block-paragraph { color: var(--ls-gray); margin-bottom: 20px; font-size: 16px; line-height: 1.95; }
.ls-feature-pr .ls-feature-body .wp-block-paragraph strong { color: var(--ls-dark); font-weight: 700; }

/* Stackable h2 */
.ls-feature-pr .ls-feature-body .stk-block-heading h2.stk-block-heading__text { font-family: 'Noto Serif JP', serif !important; font-size: 20px !important; font-weight: 700 !important; color: var(--ls-dark) !important; background: var(--ls-gray-light) !important; margin: 56px 0 20px !important; padding: 14px 20px !important; line-height: 1.6 !important; border-left: 4px solid var(--ls-yellow) !important; border-bottom: none !important; border-top: none !important; border-right: none !important; }

/* Stackable h3 */
.ls-feature-pr .ls-feature-body .stk-block-heading h3.stk-block-heading__text { font-size: 16px !important; font-weight: 700 !important; color: var(--ls-dark) !important; margin: 32px 0 12px !important; background: none !important; padding: 0 !important; border: none !important; border-bottom: 2px solid var(--ls-yellow) !important; }

/* Stackable h4 */
.ls-feature-pr .ls-feature-body .stk-block-heading h4.stk-block-heading__text { font-size: 15px !important; font-weight: 700 !important; color: var(--ls-dark) !important; margin: 24px 0 10px !important; background: none !important; padding: 0 !important; border: none !important; }

/* Stackable 章前余白はh2/h3スタイル側のmarginで制御するためリセット */
.ls-feature-pr .ls-feature-body .wp-block-stackable-heading { margin-top: 0 !important; margin-bottom: 0 !important; }

/* リンク */
.ls-feature-pr .ls-feature-body a { color: var(--ls-dark); text-decoration: underline; text-decoration-color: rgba(28,28,28,.28); text-underline-offset: 3px; }
.ls-feature-pr .ls-feature-body a:hover { color: var(--ls-accent); text-decoration-color: var(--ls-yellow); }

/* 画像 */
.ls-feature-pr .ls-feature-body img { border-radius: 4px; }

/* Stackable icon-list */
.ls-feature-pr .ls-feature-body .stk-block-icon-list { margin: 16px 0 24px; }

/* ブログカード */
.ls-feature-pr .ls-feature-body .linkcard { margin: 24px 0; }

/* Stackable CTA */
.ls-feature-pr .ls-feature-body .stk-block-call-to-action { margin: 40px 0 0; }

/* スマホ */
@media (max-width: 768px) {
  .ls-feature-pr .ls-feature-body .wp-block-paragraph { font-size: 15px; line-height: 1.85; }
  .ls-feature-pr .ls-feature-body .stk-block-heading h2.stk-block-heading__text { font-size: 17px !important; padding: 12px 16px !important; margin: 40px 0 16px !important; }
  .ls-feature-pr .ls-feature-body .stk-block-heading h3.stk-block-heading__text { font-size: 15px !important; }
}

/* ===== Kadence Table(Adv) valign-middle（ls-feature-pr スコープ）===== */
.ls-feature-pr .wp-block-kadence-table td > *,
.ls-feature-pr .wp-block-kadence-table th > * {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}
.ls-feature-pr .wp-block-kadence-table td::before,
.ls-feature-pr .wp-block-kadence-table th::before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.ls-feature-pr .wp-block-kadence-table .kb-adv-table-cell-inner {
  display: inline-block;
  vertical-align: middle;
}
.ls-feature-pr .kb-table td,
.ls-feature-pr .kb-table th { vertical-align: middle; }
.ls-feature-pr .kb-table td p,
.ls-feature-pr .kb-table th p { margin: 0 !important; }


/* =====================
   運営会社情報ページ
   WordPressの「追加CSS」に貼り付けて使用。
   見出しブロック: ls-media-heading
   リストブロック: ls-media-list
===================== */
.ls-media-heading {
  position: relative;
  margin: 72px 0 20px !important;
  padding: 26px 0 0 22px;
  border-top: 1px solid #e9e6da;
}

.ls-media-heading::before {
  content: "MEDIA APPEARANCES";
  position: absolute;
  top: -10px;
  left: 0;
  padding-right: 14px;
  background: #fff;
  color: #9a8100;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: .14em;
}

.ls-media-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 6px;
  height: 35px;
  border-radius: 999px;
  background: var(--ls-yellow, #FFD800);
}

.ls-media-heading .stk-block-heading__text {
  color: var(--ls-navy, #27313F);
  font-size: var(--h2-size, clamp(1.3rem, .95rem + 1.6vw, 1.8rem));
  line-height: 1.35;
  letter-spacing: .02em;
}

.ls-media-list {
  list-style: none;
  margin: 0 0 56px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #e8e4d6;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffef8 0%, #fff 55%);
  box-shadow: 0 12px 32px rgba(38, 34, 18, .07);
}

.ls-media-list > li {
  position: relative;
  margin: 0;
  padding: 28px 32px 28px 132px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.ls-media-list > li > strong:first-child {
  position: absolute;
  top: 30px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ls-yellow, #FFD800);
  color: var(--ls-navy, #27313F);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  letter-spacing: .06em;
}

.ls-media-list > li + li {
  border-top: 1px solid #eeeade;
}

@media (max-width: 768px) {
  .ls-media-heading {
    margin-top: 52px !important;
    padding-top: 22px;
  }

  .ls-media-list > li {
    padding: 24px 22px;
    font-size: 14px;
    line-height: 1.85;
  }

  .ls-media-list > li > strong:first-child {
    position: static;
    display: table;
    margin-bottom: 12px;
  }
}