/* ==========================================================
   TIMELESS 記事内デザイン（6m＋6e＋6d／記事下は6c）
   投稿・固定ページ共通。CTA（.cstmreba / .hab-* / .btnaff / .swell-block-button）は対象外
========================================================== */
.single, .page {
	--tl-a-text: #26211d; --tl-a-body: #3a3532; --tl-a-gold: #8c7633; --tl-a-pink: #bd1886;
	--tl-a-line: #e8e2d8; --tl-a-line2: #d9cfbd; --tl-a-bg: #f7f4ef; --tl-a-mute: #8a8178;
	--tl-en: 'Josefin Sans', sans-serif;
}

/* ---------- タイトル周り ---------- */
.single .p-articleHead, .page .p-articleHead { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.single .c-postTitle__ttl, .page .c-postTitle__ttl { font-size: 30px; font-weight: 700; line-height: 1.5; color: var(--tl-a-text); text-wrap: wrap; }
.single .p-articleMetas__termList, .single .p-articleMetas__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.single .p-articleMetas .c-categoryList__link {
	display: inline-block; padding: 5px 10px 4px; border: 1px solid var(--tl-a-line2); background: none;
	font-size: 11px; letter-spacing: .1em; line-height: 1; color: var(--tl-a-gold);
}
.single .p-articleMetas .c-categoryList__item:first-child .c-categoryList__link { background: var(--tl-a-pink); border-color: var(--tl-a-pink); color: #fff; }
.single .p-articleMetas .c-tagList__link { font-size: 11px; color: var(--tl-a-mute); }
.single .c-postTimes, .page .c-postTimes { font-family: var(--tl-en); font-size: 12px; letter-spacing: 1px; color: #9a928a; }
.single .p-articleThumb img { aspect-ratio: 16 / 9; object-fit: cover; }

/* PR表記：カテゴリと同じゴールドの細枠チップ */
.single .c-prNotation, .page .c-prNotation {
	display: inline-flex !important; align-items: center; gap: 0; width: auto !important; max-width: 100%; margin-top: 0; padding: 5px 10px 4px !important;
	border: 1px solid var(--tl-a-line2) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
	font-size: 11px !important; letter-spacing: .1em; line-height: 1 !important; color: var(--tl-a-gold) !important;
	min-height: 0 !important; height: auto !important; margin-bottom: 0 !important; vertical-align: middle; align-self: center; box-sizing: border-box;
}
.single .c-prNotation *, .page .c-prNotation * { color: inherit !important; font-size: inherit !important; line-height: 1 !important; margin: 0 !important; padding: 0 !important; }
/* カテゴリの枚と同じ大きさにするためアイコンは出さない */
.single .c-prNotation > i, .single .c-prNotation [class*="icon"], .page .c-prNotation > i, .page .c-prNotation [class*="icon"] { display: none !important; }
.single .c-prNotation::before, .single .c-prNotation::after, .page .c-prNotation::before, .page .c-prNotation::after { color: inherit !important; background: none !important; }

/* カテゴリ・タグ・日付の行：アイコンと文字の高さを中央でそろえる */
.single .p-articleMetas, .page .p-articleMetas { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 8px; }
.single .p-articleMetas > *, .page .p-articleMetas > *,
.single .p-articleMetas .c-categoryList, .single .p-articleMetas .c-tagList,
.single .c-postTimes, .page .c-postTimes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; line-height: 1; }
.single .p-articleMetas .c-categoryList::before, .single .p-articleMetas .c-tagList::before { line-height: 1; margin: 0; }
.single .p-articleMetas .c-tagList__link { display: inline-block; line-height: 1; padding: 0; }
.single .c-postTimes > *, .page .c-postTimes > * { display: inline-flex; align-items: center; gap: 4px; line-height: 1; }
.single .c-postTimes > *::before, .page .c-postTimes > *::before { line-height: 1; margin: 0; }

/* タイトル左の日付は表示しない（公開日・更新日はタイトル下に表示） */
.single .c-postTitle__date, .page .c-postTitle__date { display: none !important; }
.single .c-postTitle, .page .c-postTitle { display: block !important; }

/* ---------- 本文 ---------- */
.single .post_content, .page .post_content { counter-reset: tl-h2; color: var(--tl-a-body); font-size: 16px; line-height: 2.05; }
.single .post_content p, .page .post_content p { line-height: 2.05; }
.single .post_content figcaption, .page .post_content figcaption,
.single .post_content .wp-element-caption, .page .post_content .wp-element-caption { margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--tl-a-mute); text-align: left; }

/* H2（6m）：上に「CHAPTER 01」と右へ伸びるゴールドの細線。番号はCSSの自動連番（見出しタグ内は文章のみ＝SEO・目次に影響なし） */
.single .post_content > h2:not(.is-style-section_ttl):not(.top_h2),
.page .post_content > h2:not(.is-style-section_ttl):not(.top_h2) {
	counter-increment: tl-h2;
	position: relative; margin: 3.2em 0 1.2em !important; padding: 0 !important; border: 0 !important; background: none !important;
	font-size: 24px; font-weight: 700; line-height: 1.6; color: var(--tl-a-text) !important;
}
.single .post_content > h2:not(.is-style-section_ttl):not(.top_h2)::before,
.page .post_content > h2:not(.is-style-section_ttl):not(.top_h2)::before {
	content: 'CHAPTER ' counter(tl-h2, decimal-leading-zero);
	position: static; display: block; width: auto; height: auto; margin-bottom: 12px; border: 0; border-radius: 0; transform: none;
	font-family: var(--tl-en); font-size: 12px; font-weight: 400; letter-spacing: 4px; line-height: 1.4; color: var(--tl-a-gold);
	background: linear-gradient(var(--tl-a-gold), var(--tl-a-gold)) no-repeat right center / calc(100% - 132px) 1px;
	opacity: 1;
}
/* 基本情報・アクセス等：番号を数えず、英字ラベル（INFORMATION など）を表示 */
.single .post_content > h2.tl-h2-label:not(.is-style-section_ttl):not(.top_h2),
.page .post_content > h2.tl-h2-label:not(.is-style-section_ttl):not(.top_h2) { counter-increment: none !important; }
.single .post_content > h2.tl-h2-label:not(.is-style-section_ttl):not(.top_h2)::before,
.page .post_content > h2.tl-h2-label:not(.is-style-section_ttl):not(.top_h2)::before { content: attr(data-tl-label) !important; }
.single .post_content > h2:not(.is-style-section_ttl):not(.top_h2)::after,
.page .post_content > h2:not(.is-style-section_ttl):not(.top_h2)::after { content: none !important; display: none !important; }

/* H3（6e）：頭にピンクの短い横線 */
.single .post_content > h3:not([class*="is-style-"]),
.page .post_content > h3:not([class*="is-style-"]) {
	position: relative; margin: 2.4em 0 1em !important; padding: 0 0 0 30px !important; border: 0 !important; background: none !important;
	font-size: 19px; font-weight: 700; line-height: 1.6; color: var(--tl-a-text) !important;
}
.single .post_content > h3:not([class*="is-style-"])::before,
.page .post_content > h3:not([class*="is-style-"])::before {
	content: ''; position: absolute; left: 0; top: .8em; width: 18px; height: 2px; background: var(--tl-a-pink); border: 0; border-radius: 0; transform: none;
}
.single .post_content > h3:not([class*="is-style-"])::after,
.page .post_content > h3:not([class*="is-style-"])::after { content: none !important; display: none !important; }

/* H4：ゴールドの太字 */
.single .post_content > h4:not([class*="is-style-"]),
.page .post_content > h4:not([class*="is-style-"]) {
	margin: 2em 0 .8em !important; padding: 0 !important; border: 0 !important; background: none !important;
	font-size: 16px; font-weight: 700; color: var(--tl-a-gold) !important;
}
.single .post_content > h4:not([class*="is-style-"])::before, .single .post_content > h4:not([class*="is-style-"])::after,
.page .post_content > h4:not([class*="is-style-"])::before, .page .post_content > h4:not([class*="is-style-"])::after { content: none !important; }

/* リスト：ベージュの面＋ゴールドの丸（SWELLのリストスタイル指定があるものは対象外） */
.single .post_content > ul.wp-block-list:not([class*="is-style-"]),
.page .post_content > ul.wp-block-list:not([class*="is-style-"]) {
	padding: 0 0 0 1.4em !important; background: none; list-style: none;
}
.single .post_content > ul.wp-block-list:not([class*="is-style-"]) > li,
.page .post_content > ul.wp-block-list:not([class*="is-style-"]) > li { position: relative; margin: 0 0 .4em; font-size: 15px; line-height: 1.9; }
.single .post_content > ul.wp-block-list:not([class*="is-style-"]) > li::before,
.page .post_content > ul.wp-block-list:not([class*="is-style-"]) > li::before {
	content: ''; position: absolute; left: -20px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--tl-a-gold); border: 0;
}
.single .post_content > ol.wp-block-list:not([class*="is-style-"]) > li::marker,
.page .post_content > ol.wp-block-list:not([class*="is-style-"]) > li::marker { font-family: var(--tl-en); color: var(--tl-a-gold); }

/* ボックス（SWELLのキャプションボックス）：線をそろえるだけ */
.single .post_content .cap_box, .page .post_content .cap_box { border-color: var(--tl-a-line2); }
.single .post_content .cap_box_ttl, .page .post_content .cap_box_ttl { color: var(--tl-a-gold); }

/* 表（7c）：SWELLの表スタイル（is-style-*）を選んだ表は対象外
   通常の表 … 1pxの外枠＋行線、項目名（th／1列目）は小さめのグレー
   追加CSSクラス「tl-info」を付けた表 … 上に黒い「INFORMATION」の帯。表のキャプションは帯の右側に表示 */
.single .post_content .wp-block-table:not([class*="is-style-"]) table,
.page .post_content .wp-block-table:not([class*="is-style-"]) table { border-collapse: collapse; border: 1px solid var(--tl-a-line); background: #fff; font-size: 14px; }
.single .post_content .wp-block-table:not([class*="is-style-"]) :is(th, td),
.page .post_content .wp-block-table:not([class*="is-style-"]) :is(th, td) { padding: 15px 20px; border: 0; border-top: 1px solid var(--tl-a-line); background: none; line-height: 1.7; color: var(--tl-a-text); vertical-align: top; text-align: left; }
/* 縦線：2列目以降のセルの左に細線（列が多い比較表でも区切りが見えるように） */
.single .post_content .wp-block-table:not([class*="is-style-"]) :is(th, td) + :is(th, td),
.page .post_content .wp-block-table:not([class*="is-style-"]) :is(th, td) + :is(th, td) { border-left: 1px solid #f1ece4; }
.single .post_content .wp-block-table:not([class*="is-style-"]) :is(th, td:first-child),
.page .post_content .wp-block-table:not([class*="is-style-"]) :is(th, td:first-child) { border-right: 1px solid #f1ece4; font-size: 12px; font-weight: 400; color: var(--tl-a-mute); }
/* 1列目の幅：SWELLの「テーブル1列目の横幅」「各列で最低限維持する幅」「表のセル幅を固定」を使っていない表だけ */
.single .post_content .wp-block-table:not([class*="is-style-"]):not([class*="min_width"]):not([style*="cell1"]) table:not(.has-fixed-layout) :is(th, td):first-child,
.page .post_content .wp-block-table:not([class*="is-style-"]):not([class*="min_width"]):not([style*="cell1"]) table:not(.has-fixed-layout) :is(th, td):first-child { width: 150px; white-space: nowrap; }
.single .post_content .wp-block-table:not([class*="is-style-"]) thead th:first-child,
.page .post_content .wp-block-table:not([class*="is-style-"]) thead th:first-child { white-space: normal; }
.single .post_content .wp-block-table:not([class*="is-style-"]) thead th,
.page .post_content .wp-block-table:not([class*="is-style-"]) thead th { width: auto; background: var(--tl-a-bg); color: var(--tl-a-text); font-weight: 700; }

/* スマホで隣り合うセルの線が二重に見えないよう、すべての表で線を1本にまとめる */
.single .post_content table, .page .post_content table { border-collapse: collapse !important; border-spacing: 0 !important; }

.single .post_content .wp-block-table.tl-info, .page .post_content .wp-block-table.tl-info { position: relative; display: flex; flex-direction: column; border: 1px solid var(--tl-a-line); }
.single .post_content .wp-block-table.tl-info::before, .page .post_content .wp-block-table.tl-info::before {
	content: 'INFORMATION'; display: block; padding: 12px 20px; background: var(--tl-a-text); color: #fff;
	font-family: var(--tl-en); font-size: 12px; letter-spacing: 4px; line-height: 1.4;
}
.single .post_content .wp-block-table.tl-info table, .page .post_content .wp-block-table.tl-info table { border: 0; }
.single .post_content .wp-block-table.tl-info tr:first-child :is(th, td), .page .post_content .wp-block-table.tl-info tr:first-child :is(th, td) { border-top: 0; }
.single .post_content .wp-block-table.tl-info figcaption, .page .post_content .wp-block-table.tl-info figcaption {
	position: absolute; top: 0; right: 20px; margin: 0; line-height: calc(12px * 1.4 + 24px); font-size: 11px; color: #b8a77e;
}

/* ---------- 記事下（6c）：ベージュの面にシェア・関連記事・前後記事 ---------- */
.single .l-articleBottom { margin-top: 48px; padding: 32px; background: var(--tl-a-bg); }
.single .l-articleBottom__section + .l-articleBottom__section { margin-top: 32px; }
.single .l-articleBottom__title { margin-bottom: 16px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 700; color: var(--tl-a-text); text-align: left; }
.single .l-articleBottom__title::before, .single .l-articleBottom__title::after { content: none; }
.single .c-shareBtns__message, .single .c-shareBtns .c-shareBtns__title { font-family: var(--tl-en); font-size: 12px; letter-spacing: 4px; color: var(--tl-a-gold); text-align: center; }
.single .c-shareBtns__list { justify-content: center; gap: 12px; }
.single .c-shareBtns__item { flex: 0 0 auto; }
.single .c-shareBtns__btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #fff !important; color: var(--tl-a-text) !important; box-shadow: none; }
.single .c-shareBtns__btn:hover { background: var(--tl-a-pink) !important; color: #fff !important; }
.single .p-relatedPosts .p-postList__item { margin-bottom: 0; }
.single .p-relatedPosts .p-postList__thumb, .single .p-relatedPosts .c-postThumb__figure { aspect-ratio: 16 / 9; }
.single .p-relatedPosts .p-postList__title { font-size: 13px; font-weight: 500; line-height: 1.6; }
.single .p-pnLinks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.single .p-pnLinks__item { width: auto; }
.single .p-pnLinks__link { padding: 16px 18px; border: 1px solid var(--tl-a-line); background: #fff; box-shadow: none; }
.single .p-pnLinks__link::before { color: var(--tl-a-gold); }

@media (max-width: 959px) {
	.single .c-postTitle__ttl, .page .c-postTitle__ttl { font-size: 22px; }
	.single .post_content > h2:not(.is-style-section_ttl):not(.top_h2), .page .post_content > h2:not(.is-style-section_ttl):not(.top_h2) { font-size: 20px; }
	.single .post_content > h3:not([class*="is-style-"]), .page .post_content > h3:not([class*="is-style-"]) { font-size: 17px; padding-left: 26px !important; }
	.single .post_content .wp-block-table:not([class*="is-style-"]) :is(th, td) { padding: 12px 14px; }
	.single .post_content .wp-block-table:not([class*="is-style-"]):not([class*="min_width"]):not([style*="cell1"]) table:not(.has-fixed-layout) :is(th, td):first-child,
	.page .post_content .wp-block-table:not([class*="is-style-"]):not([class*="min_width"]):not([style*="cell1"]) table:not(.has-fixed-layout) :is(th, td):first-child { width: 96px; white-space: normal; }
	.single .l-articleBottom { margin-left: -4vw; margin-right: -4vw; padding: 28px 4vw; }
	.single .p-pnLinks { grid-template-columns: 1fr; }
}


/* ==========================================================
   2026-10 記事下の調整（シェア・前後記事・関連記事）
========================================================== */
/* 記事下シェア：4つを中央に詰めて並べる */
.single .c-shareBtns:not(.-fix) .c-shareBtns__list { display: flex !important; flex-wrap: wrap; justify-content: center !important; gap: 14px !important; margin: 0 !important; }
.single .c-shareBtns:not(.-fix) .c-shareBtns__item { flex: 0 0 auto !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.single .c-shareBtns:not(.-fix) .c-shareBtns__btn { width: 44px !important; height: 44px !important; min-height: 0 !important; padding: 0 !important; display: flex !important; align-items: center; justify-content: center; border: 1px solid var(--tl-a-line) !important; border-radius: 50% !important; }
.single .c-shareBtns__message { margin-bottom: 18px !important; font-family: inherit; font-size: 13px; letter-spacing: .15em; color: var(--tl-a-gold); }
.single .c-shareBtns__message::before, .single .c-shareBtns__message::after { background: var(--tl-a-gold) !important; opacity: .5; }

/* 画面左の固定シェア（PC）：正円に */
.single .c-shareBtns.-fix .c-shareBtns__list { gap: 10px !important; }
.single .c-shareBtns.-fix .c-shareBtns__item { width: auto !important; margin: 0 !important; }
.single .c-shareBtns.-fix .c-shareBtns__btn {
	width: 40px !important; height: 40px !important; min-height: 0 !important; padding: 0 !important; box-sizing: border-box;
	display: flex !important; align-items: center; justify-content: center;
	border: 1px solid var(--tl-a-line) !important; border-radius: 50% !important; background: #fff !important; color: var(--tl-a-text) !important; box-shadow: none !important;
}
.single .c-shareBtns.-fix .c-shareBtns__icon { font-size: 15px; }
.single .c-shareBtns.-fix .c-shareBtns__btn:hover { background: var(--tl-a-pink) !important; border-color: var(--tl-a-pink) !important; color: #fff !important; }
.single .c-shareBtns__btn, .single .c-shareBtns__btn .c-shareBtns__icon { line-height: 1 !important; }

/* 記事下のベージュ面：上の余白・セクション間を詰める */
.single .l-articleBottom { padding: 32px !important; }
.single .l-articleBottom > *:first-child, .single .l-articleBottom__section:first-child { margin-top: 0 !important; }
.single .l-articleBottom__section { margin-top: 40px !important; padding: 0 !important; }
.single .l-articleBottom .p-pnLinks { margin: 0 !important; }

/* 前後の記事：黒い帯をやめ、白いカードに小さなゴールドの矢印 */
.single .p-pnLinks { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px !important; }
.single .p-pnLinks__item { width: auto !important; max-width: none !important; margin: 0 !important; }
.single .p-pnLinks__item:only-child.-next { grid-column: 2; }
.single .p-pnLinks__link {
	position: relative; display: flex !important; flex-direction: column; justify-content: center; gap: 6px; height: 100%; min-height: 0 !important; box-sizing: border-box;
	padding: 16px 20px 16px 40px !important; background: #fff !important; border: 1px solid var(--tl-a-line) !important; border-radius: 0 !important; box-shadow: none !important;
	font-size: 13px; line-height: 1.6; color: var(--tl-a-text) !important; text-decoration: none !important;
}
.single .p-pnLinks__item.-next .p-pnLinks__link { padding: 16px 40px 16px 20px !important; text-align: right; }
.single .p-pnLinks__link::before {
	position: absolute !important; top: 50% !important; left: 16px !important; right: auto !important; bottom: auto !important;
	width: auto !important; height: auto !important; margin: 0 !important; transform: translateY(-50%) !important;
	background: none !important; border: 0 !important; color: var(--tl-a-gold) !important; font-size: 12px !important; line-height: 1 !important;
}
.single .p-pnLinks__item.-next .p-pnLinks__link::before { left: auto !important; right: 16px !important; }
.single .p-pnLinks__link:hover { border-color: var(--tl-a-pink) !important; color: var(--tl-a-pink) !important; }
.single .p-pnLinks__thumb { display: none !important; }
.single .p-pnLinks__title { margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 関連記事（SWELL）：小さめの3列カード */
.single .l-articleBottom__title { margin-bottom: 16px !important; }
.single .p-relatedPosts { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 16px !important; margin: 0 !important; padding: 0 !important; }
.single .p-relatedPosts .p-postList__item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.single .p-relatedPosts .p-postList__link { display: flex !important; flex-direction: column; gap: 8px; padding: 0 !important; color: var(--tl-a-text) !important; text-decoration: none !important; }
.single .p-relatedPosts .p-postList__thumb { width: 100% !important; margin: 0 !important; }
.single .p-relatedPosts .c-postThumb__figure { aspect-ratio: 16 / 9; padding-top: 0 !important; height: auto !important; margin: 0 !important; overflow: hidden; }
.single .p-relatedPosts .c-postThumb__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.single .p-relatedPosts .p-postList__body { padding: 0 !important; }
.single .p-relatedPosts .p-postList__title { margin: 0 !important; font-size: 13px !important; font-weight: 500; line-height: 1.6 !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.single .p-relatedPosts .p-postList__link:hover .p-postList__title { color: var(--tl-a-pink); }

@media (max-width: 959px) {
	.single .l-articleBottom { padding: 28px 4vw !important; }
	.single .p-pnLinks { grid-template-columns: 1fr; gap: 10px !important; }
	.single .p-pnLinks__item:only-child.-next { grid-column: auto; }
	.single .p-relatedPosts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 12px !important; }
	.single .p-relatedPosts .p-postList__title { font-size: 12px !important; }
}

/* 本文・リスト内のテキストリンク：ブランドのピンク＋細い下線 */
.single .post_content :is(p, li, td, dd) > a:not([class]),
.page .post_content :is(p, li, td, dd) > a:not([class]) {
	color: var(--tl-a-pink) !important; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 3px; text-decoration-color: rgba(189,24,134,.35) !important;
}
.single .post_content :is(p, li, td, dd) > a:not([class]):hover,
.page .post_content :is(p, li, td, dd) > a:not([class]):hover { text-decoration-color: currentColor !important; }

/* 表：1行目が見出し（th が横に並ぶ）表は、見出し行をベージュ＋太字、1列目も通常の文字に */
.single .post_content .wp-block-table:not([class*="is-style-"]) :is(th:has(+ th), th + th),
.page .post_content .wp-block-table:not([class*="is-style-"]) :is(th:has(+ th), th + th) {
	background: var(--tl-a-bg) !important; color: var(--tl-a-text) !important; font-size: 13px !important; font-weight: 700 !important; white-space: normal !important;
}
.single .post_content .wp-block-table:not([class*="is-style-"]) table:has(tr:first-child > th + th) td,
.page .post_content .wp-block-table:not([class*="is-style-"]) table:has(tr:first-child > th + th) td {
	font-size: 14px !important; color: var(--tl-a-body) !important; white-space: normal !important;
}

/* 文字サイズの底上げ */
.single .p-articleMetas .c-tagList__link { font-size: 12px !important; }
@media (max-width: 959px) {
	.single .p-relatedPosts .p-postList__title { font-size: 13px !important; }
}

/* スマホ：画像＋文章の横並び（メディアと文章／ブログカード）は画像と文章の上端をそろえる */
@media (max-width: 599px) {
	.post_content .wp-block-media-text:not(.is-stacked-on-mobile) { align-items: start !important; grid-template-columns: 42% minmax(0,1fr) !important; column-gap: 14px; }
	.post_content .wp-block-media-text:not(.is-stacked-on-mobile).has-media-on-the-right { grid-template-columns: minmax(0,1fr) 42% !important; }
	.post_content .wp-block-media-text:not(.is-stacked-on-mobile) .wp-block-media-text__media { align-self: start !important; }
	.post_content .wp-block-media-text:not(.is-stacked-on-mobile) .wp-block-media-text__media img { aspect-ratio: 16 / 9; object-fit: cover; }
	.post_content .wp-block-media-text:not(.is-stacked-on-mobile) .wp-block-media-text__content { align-self: start !important; padding: 0 !important; }
	.post_content .wp-block-media-text__content > * { margin-top: 0 !important; margin-bottom: 4px !important; font-size: 13px !important; line-height: 1.6 !important; }
	.post_content .wp-block-media-text__content > *:first-child { margin-top: -2px !important; font-size: 14px !important; line-height: 1.5 !important; }
	.post_content .wp-block-media-text__content > *:last-child { margin-bottom: 0 !important; }
	.post_content .p-blogCard__inner { align-items: flex-start !important; }
	.post_content .p-blogCard__title { margin-top: -2px; font-size: 14px !important; line-height: 1.5 !important; }
	.post_content .p-blogCard__excerpt { font-size: 12px !important; line-height: 1.6 !important; }
}

/* 13b 採用：アイキャッチ・関連記事・本文の写真は角丸7px／スマホの投稿記事・固定ページのアイキャッチのみ角丸なし */
.single .p-articleThumb img, .single .p-articleThumb__img, .page .p-articleThumb img, .page .p-articleThumb__img { border-radius: 7px; }
@media (max-width: 599px) {
	.single .p-articleThumb, .single .p-articleThumb img, .single .p-articleThumb__img,
	.page .p-articleThumb, .page .p-articleThumb img, .page .p-articleThumb__img { border-radius: 0 !important; }
}
.single .p-relatedPosts .c-postThumb__figure, .single .post_content .wp-block-image img { border-radius: 7px; }

/* 本文のテキストリンク：SWELLのリンクカラー（初期値 水色）をブランドのピンクに。ボタン・CTA・画像リンク・目次は対象外 */
.single .post_content :is(p, li, td, th, dd, figcaption, .cap_box_content) a:not([class*="btn"]):not([class*="button"]):not(.cstmreba a):not(:has(img)),
.page .post_content :is(p, li, td, th, dd, figcaption, .cap_box_content) a:not([class*="btn"]):not([class*="button"]):not(.cstmreba a):not(:has(img)) {
	color: #bd1886;
	text-decoration: underline;
	text-decoration-color: rgba(189, 24, 134, .35);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color .2s, text-decoration-color .2s;
}
.single .post_content :is(p, li, td, th, dd, figcaption, .cap_box_content) a:not([class*="btn"]):not([class*="button"]):not(.cstmreba a):not(:has(img)):hover,
.page .post_content :is(p, li, td, th, dd, figcaption, .cap_box_content) a:not([class*="btn"]):not([class*="button"]):not(.cstmreba a):not(:has(img)):hover {
	color: #93217f;
	text-decoration-color: currentColor;
}
.single .post_content .cstmreba a, .page .post_content .cstmreba a,
.single .post_content .p-toc a, .page .post_content .p-toc a { text-decoration: none; }

/* 投稿の目次：目立たない「INDEX」ボタン → クリックで開閉 */
.single #main_content .post_content .p-toc.tl-toc { width: auto; margin: 2em 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.single .p-toc.tl-toc::before, .single .p-toc.tl-toc::after { content: none !important; }
.single .tl-toc__btn {
	display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 16px 8px 18px; cursor: pointer;
	border: 1px solid #e3dbcf; border-radius: 999px; background: transparent;
	font-family: 'Josefin Sans', sans-serif; font-size: 11px; letter-spacing: 4px; line-height: 1; color: #8c7633;
	transition: border-color .2s, color .2s;
}
.single .tl-toc__btn:hover, .single .tl-toc__btn:focus-visible { border-color: var(--tl-a-pink); color: var(--tl-a-pink); }
.single .tl-toc__btn i { width: 6px; height: 6px; margin-top: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .3s, margin .3s; }
.single .tl-toc.is-open .tl-toc__btn i { transform: rotate(-135deg); margin-top: 3px; }
.single .tl-toc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.single .tl-toc.is-open .tl-toc__body { grid-template-rows: 1fr; }
.single .tl-toc__inner { min-height: 0; overflow: hidden; }
/* 開いた目次（2c レイアウト＋2b のアイボリー）：大見出しの頭にゴールドの通し番号（01〜） */
.single .tl-toc .p-toc__list { list-style: none !important; margin: 12px 0 0 !important; padding: 24px 28px !important; background: var(--tl-a-bg); border-radius: 7px; counter-reset: tl-toc; display: flex; flex-direction: column; gap: 2px; }
.single .tl-toc .p-toc__list li { margin: 0 !important; padding: 0 !important; list-style: none !important; border: 0 !important; }
.single .tl-toc .p-toc__list li::before, .single .tl-toc .p-toc__list a::after { content: none !important; display: none !important; }
.single .tl-toc .p-toc__list a { display: flex; align-items: baseline; gap: 16px; padding: 8px 0; font-size: 14px; line-height: 1.6; color: var(--tl-a-text) !important; transition: color .2s; }
.single .tl-toc .p-toc__list > li { counter-increment: tl-toc; }
.single .tl-toc .p-toc__list > li > a::before {
	content: counter(tl-toc, decimal-leading-zero) !important; display: block !important; position: static !important; flex: none; width: 22px; height: auto; margin: 0; border: 0; background: none; transform: none;
	font-family: var(--tl-en); font-size: 12px; letter-spacing: 1px; color: var(--tl-a-gold);
}
.single .tl-toc .p-toc__list a:hover { color: var(--tl-a-pink) !important; }
.single .tl-toc .p-toc__list ol, .single .tl-toc .p-toc__list ul { list-style: none !important; margin: 0 0 6px !important; padding: 0 0 0 38px !important; }
.single .tl-toc .p-toc__list ol a, .single .tl-toc .p-toc__list ul a { padding: 3px 0; font-size: 13px; color: var(--tl-a-mute) !important; }
.single .tl-toc .p-toc__list ol a::before, .single .tl-toc .p-toc__list ul a::before { content: none !important; display: none !important; }
.single .tl-toc:not(.is-open) .tl-toc__inner { visibility: hidden; transition: visibility 0s .35s; }
/* 閉じているときは確実に隠す（SWELL側のCSSに左右されないように） */
.single .p-toc.tl-toc:not(.is-open) .tl-toc__body { display: none !important; }
.single .p-toc.tl-toc.is-open .tl-toc__body { display: block !important; animation: tlTocOpen .3s ease; }
.single .p-toc.tl-toc .tl-toc__inner { overflow: visible !important; visibility: visible !important; }
@keyframes tlTocOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
/* SWELLの「もっと見る」（省略表示）を無効にして全件表示 */
.single .tl-toc .p-toc__list { max-height: none !important; height: auto !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; }
.single .tl-toc .p-toc__list::after, .single .tl-toc .tl-toc__inner::after { content: none !important; display: none !important; }
.single .tl-toc .p-toc__list li { display: block !important; opacity: 1 !important; }
.single .tl-toc .p-toc__expandBtn, .single .tl-toc [class*="expand"] { display: none !important; }
@media (max-width: 599px) { .single .tl-toc .p-toc__list { padding: 18px 20px !important; } .single .tl-toc .p-toc__list a { gap: 12px; font-size: 13px; } .single .tl-toc .p-toc__list ol, .single .tl-toc .p-toc__list ul { padding-left: 34px !important; } }

.single .tl-toc .p-toc__ttl { display: none !important; }
