@charset "UTF-8";
/*
 * utopia-single.css — 投稿ページ専用デザイン（SWELL子テーマ用）完成版
 * 起点: #body_wrap.single-post
 * 構成:
 *  1 記事ヘッダー（日付→装飾線→タイトルの縦並び）
 *  2 本文タイポグラフィ（吹き出し余白fix含む）
 *  3 見出し / 4 目次 / 5 テーブル(gaming-st移植) / 5b カード型リスト
 *  6 サイドバー（控えめ・幅グリッド不干渉）
 *  7 タイトル3行省略 / 8 人気記事01-05ボックス
 *  9 FAQ・コールアウト・fpsバーグラフ（gaming-st現物移植）
 *  10 レスポンシブ
 */

:root {
	--utopia-single-ink: #071021;
	--utopia-single-muted: #64708a;
	--utopia-single-blue: #2454ff;
	--utopia-single-violet: #7357ff;
	--utopia-single-cyan: #4de7ff;
	--utopia-single-line: rgba(36, 84, 255, 0.22);
}

/* ===== 1. 記事ヘッダー ===== */

body #body_wrap.single-post .p-articleHead.c-postTitle {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}

body #body_wrap.single-post .p-articleHead .c-postTitle__date {
	order: 1 !important;
	display: block !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	border: 0 !important;
	color: var(--utopia-single-muted) !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

body #body_wrap.single-post .p-articleHead::after,
body #body_wrap.single-post .entry-header::after {
	content: "";
	order: 2;
	display: block;
	width: min(220px, 42%);
	height: 3px;
	margin: 4px 0 14px;
	background: linear-gradient(90deg, var(--utopia-single-blue), var(--utopia-single-cyan), transparent);
	box-shadow: 0 0 18px rgba(77, 231, 255, 0.26);
}

body #body_wrap.single-post .p-articleHead .c-postTitle__ttl {
	order: 3 !important;
	margin: 0 !important;
}

body #body_wrap.single-post h1,
body #body_wrap.single-post .c-postTitle__ttl,
body #body_wrap.single-post .entry-title {
	color: var(--utopia-single-ink);
	font-weight: 900;
	line-height: 1.45;
}

body #body_wrap.single-post .p-articleMetas .c-categoryList__link,
body #body_wrap.single-post .p-articleMeta .c-categoryList__link,
body #body_wrap.single-post .post-categories a {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 12px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--utopia-single-blue), var(--utopia-single-violet));
	color: #ffffff !important;
	font-size: 0.78rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 4px 4px 0 rgba(36, 84, 255, 0.14);
}

body #body_wrap.single-post .p-articleThumb img,
body #body_wrap.single-post .post-thumbnail img,
body #body_wrap.single-post .post_content img.wp-post-image {
	display: block;
	width: 100%;
	border: 1px solid rgba(77, 231, 255, 0.46);
	border-radius: 8px;
	box-shadow:
		0 0 0 3px rgba(36, 84, 255, 0.08),
		0 18px 40px rgba(7, 16, 33, 0.14);
}

/* ===== 2. 本文タイポグラフィ ===== */

body #body_wrap.single-post .post_content,
body #body_wrap.single-post .entry-content {
	font-size: clamp(0.94rem, 1.08vw, 1rem);
	line-height: 1.95;
	color: var(--utopia-single-ink);
}

body #body_wrap.single-post .post_content p,
body #body_wrap.single-post .entry-content p {
	margin-bottom: 1.6em;
}

/* 吹き出し（SWELL balloon）内の段落は下マージンを消す */
body #body_wrap.single-post .post_content .swell-block-balloon p,
body #body_wrap.single-post .post_content .c-balloon p,
body #body_wrap.single-post .post_content .c-balloon__text p,
body #body_wrap.single-post .entry-content .swell-block-balloon p,
body #body_wrap.single-post .entry-content .c-balloon p {
	margin-bottom: 0 !important;
}

body #body_wrap.single-post .post_content a,
body #body_wrap.single-post .entry-content a {
	color: #173ed3;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

body #body_wrap.single-post .post_content strong,
body #body_wrap.single-post .entry-content strong {
	font-weight: 900;
	background: linear-gradient(transparent 64%, rgba(77, 231, 255, 0.22) 64%);
}

/* ===== 3. 見出し ===== */

body #body_wrap.single-post .post_content h2,
body #body_wrap.single-post .entry-content h2 {
	position: relative;
	margin: 2.6em 0 1.1em;
	padding: 16px 18px 16px 24px;
	border: 1px solid var(--utopia-single-line);
	border-left: 6px solid var(--utopia-single-blue);
	border-radius: 6px;
	background:
		linear-gradient(90deg, rgba(36, 84, 255, 0.08), rgba(77, 231, 255, 0.04)),
		#ffffff;
	color: var(--utopia-single-ink);
	box-shadow: 6px 6px 0 rgba(36, 84, 255, 0.08);
	font-weight: 900;
	line-height: 1.5;
}

body #body_wrap.single-post .post_content h2::after,
body #body_wrap.single-post .entry-content h2::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 14px;
	width: 34px;
	height: 22px;
	background-image: radial-gradient(var(--utopia-single-blue) 2px, transparent 2px);
	background-size: 8px 8px;
	opacity: 0.55;
}

body #body_wrap.single-post .post_content h3,
body #body_wrap.single-post .entry-content h3 {
	margin: 2.1em 0 0.9em;
	padding: 8px 0 8px 16px;
	border-left: 4px solid var(--utopia-single-violet);
	color: var(--utopia-single-ink);
	font-weight: 900;
	line-height: 1.55;
}

body #body_wrap.single-post .post_content h4,
body #body_wrap.single-post .entry-content h4 {
	margin: 1.9em 0 0.8em;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--utopia-single-line);
	font-weight: 900;
}

/* ===== 4. 本文内の目次（濃紺ヘッダーバー・本文側は実績あり） ===== */

body #body_wrap.single-post .post_content .p-toc,
body #body_wrap.single-post .post_content #toc_container {
	position: relative;
	border: 1px solid #e3e8f2;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(7, 16, 33, 0.05);
	overflow: hidden;
	padding-top: 0 !important;
}

body #body_wrap.single-post .post_content .p-toc__ttl,
body #body_wrap.single-post .post_content #toc_container .toc_title {
	display: block !important;
	margin: 0 0 14px !important;
	padding: 11px 16px !important;
	background: var(--utopia-single-ink) !important;
	border-bottom: 3px solid var(--utopia-single-cyan) !important;
	color: #ffffff !important;
	font-weight: 900 !important;
	text-align: left !important;
}

body #body_wrap.single-post .post_content .p-toc a,
body #body_wrap.single-post .post_content #toc_container a {
	color: var(--utopia-single-ink);
	text-decoration: none;
}

body #body_wrap.single-post .post_content .p-toc a:hover,
body #body_wrap.single-post .post_content #toc_container a:hover {
	color: #173ed3;
}

/* ===== 5. テーブル（gaming-st移植：白ヘッダー＋グラデ下線＋横線のみ） ===== */

body #body_wrap.single-post .post_content .wp-block-table,
body #body_wrap.single-post .entry-content .wp-block-table {
	border-radius: 12px;
	/* overflow:hidden はSWELLのスマホ横スクロール(overflow-x:auto)を殺すため使わない */
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 1px 3px rgba(7, 16, 33, 0.05), 0 0 0 1px #e3e8f2;
	background: #ffffff;
}

/* 角丸はテーブル自身の四隅に付けて維持（hidden なしで再現） */
body #body_wrap.single-post .post_content table thead tr:first-child th:first-child,
body #body_wrap.single-post .entry-content table thead tr:first-child th:first-child {
	border-top-left-radius: 12px;
}
body #body_wrap.single-post .post_content table thead tr:first-child th:last-child,
body #body_wrap.single-post .entry-content table thead tr:first-child th:last-child {
	border-top-right-radius: 12px;
}
body #body_wrap.single-post .post_content table tbody tr:last-child td:first-child,
body #body_wrap.single-post .entry-content table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 12px;
}
body #body_wrap.single-post .post_content table tbody tr:last-child td:last-child,
body #body_wrap.single-post .entry-content table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 12px;
}

body #body_wrap.single-post .post_content table,
body #body_wrap.single-post .entry-content table {
	width: 100%;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 0 !important;
	background: #ffffff;
	margin: 0;
}

body #body_wrap.single-post .post_content th,
body #body_wrap.single-post .entry-content th {
	padding: 14px 16px !important;
	background: #f8fafc !important;
	color: var(--utopia-single-ink) !important;
	font-weight: 800 !important;
	font-size: 0.82rem !important;
	text-align: left !important;
	border: 0 !important;
	border-bottom: 3px solid var(--utopia-single-blue) !important;
	border-image: linear-gradient(90deg, var(--utopia-single-cyan) 0%, var(--utopia-single-blue) 50%, var(--utopia-single-violet) 100%) 1 !important;
	letter-spacing: 0.03em;
}

body #body_wrap.single-post .post_content td,
body #body_wrap.single-post .entry-content td {
	padding: 13px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid #eef2f7 !important;
	color: var(--utopia-single-ink);
	font-size: 0.92rem;
	line-height: 1.65;
	background: #ffffff;
	vertical-align: middle;
	transition: background 0.15s ease;
}

body #body_wrap.single-post .post_content tbody td:first-child,
body #body_wrap.single-post .entry-content tbody td:first-child {
	background: #f8fafc !important;
	font-weight: 800;
}

body #body_wrap.single-post .post_content tbody tr:nth-child(even) td:not(:first-child),
body #body_wrap.single-post .entry-content tbody tr:nth-child(even) td:not(:first-child) {
	background: #f9fafb;
}
body #body_wrap.single-post .post_content tbody tr:nth-child(even) td:first-child,
body #body_wrap.single-post .entry-content tbody tr:nth-child(even) td:first-child {
	background: #f1f5f9 !important;
}

body #body_wrap.single-post .post_content tbody tr:hover td,
body #body_wrap.single-post .entry-content tbody tr:hover td {
	background: #eef3fb !important;
}

body #body_wrap.single-post .post_content tbody tr:last-child td,
body #body_wrap.single-post .entry-content tbody tr:last-child td {
	border-bottom: 0 !important;
}

body #body_wrap.single-post .post_content td strong,
body #body_wrap.single-post .entry-content td strong {
	color: var(--utopia-single-blue);
	font-weight: 800;
	background: none;
}

body #body_wrap.single-post .post_content td small,
body #body_wrap.single-post .entry-content td small {
	display: block;
	margin-top: 2px;
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--utopia-single-muted);
	line-height: 1.4;
}

/* ===== 5b. カード型リスト（リストブロックに utopia-list クラスで発動） ===== */

body #body_wrap.single-post .post_content ul.utopia-list {
	list-style: none !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 22px 0 28px;
	padding: 0 !important;
	counter-reset: utopia-card;
}

body #body_wrap.single-post .post_content ul.utopia-list > li {
	position: relative;
	margin: 0 !important;
	padding: 16px 20px 16px 60px !important;
	border: 1px solid #e3e8f2;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(7, 16, 33, 0.04);
	line-height: 1.8;
	counter-increment: utopia-card;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body #body_wrap.single-post .post_content ul.utopia-list > li::before {
	content: counter(utopia-card);
	position: absolute;
	left: 18px;
	top: 17px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(36, 84, 255, 0.1);
	color: var(--utopia-single-blue);
	font-weight: 800;
	font-size: 0.88rem;
}

body #body_wrap.single-post .post_content ul.utopia-list > li:hover {
	border-color: #c6d2ee;
	box-shadow: 0 4px 12px rgba(7, 16, 33, 0.07);
}

body #body_wrap.single-post .post_content ul.utopia-list > li strong {
	color: var(--utopia-single-ink);
	font-weight: 800;
	background: none;
}

/* ===== 6. サイドバー（控えめカード・幅グリッド不干渉） ===== */

/* --- サイドバー幅の変更（gamepc-lab.jp実測値390pxに合わせる。
   元304px→中間350pxを試したが狭く感じたため、参考サイトと同じ390pxに再変更）
   ".-sidebar-on" はSWELL標準のレイアウト状態クラスで、記事ページに限らず
   サイドバー表示中の全ページに付与される。ここではサイト全体でサイドバー幅を
   統一する意図で、あえて single-post スコープの外に出している。
   本文側 .l-mainContent も連動して再計算しないと崩れるため、
   SWELLのCSS変数 --swl-sidebar_margin（現状52px）を差し引いた値をセットする。 --- */
@media (min-width: 960px) {
	.-sidebar-on #sidebar {
		width: 390px;
	}
	.-sidebar-on .l-mainContent {
		width: calc(100% - 390px - var(--swl-sidebar_margin));
	}
}

body #body_wrap.single-post #sidebar {
	font-size: 0.88rem;
}

body #body_wrap.single-post #sidebar .c-widget {
	padding: 14px 12px !important;
	border: 1px solid rgba(36, 84, 255, 0.14) !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	box-shadow: 0 6px 18px rgba(7, 16, 33, 0.05) !important;
}

body #body_wrap.single-post #sidebar .c-widget__title {
	position: relative !important;
	margin: 0 0 12px !important;
	padding: 0 0 8px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(36, 84, 255, 0.16) !important;
	background: none !important;
	color: var(--utopia-single-ink) !important;
	font-weight: 900 !important;
	font-size: 0.95rem !important;
	letter-spacing: 0.02em !important;
}

body #body_wrap.single-post #sidebar .c-widget__title::after {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	bottom: -1px !important;
	width: 56px !important;
	height: 2px !important;
	background: linear-gradient(90deg, var(--utopia-single-cyan), var(--utopia-single-blue)) !important;
}

/* カテゴリー：件数を右端に（ウィジェット設定「投稿数を表示」ON時） */
body #body_wrap.single-post #sidebar .widget_categories li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
body #body_wrap.single-post #sidebar .widget_categories li a .post_count,
body #body_wrap.single-post #sidebar .widget_categories li .count {
	font-size: 0.75rem;
	color: var(--utopia-single-muted);
	font-weight: 600;
}

/* --- サイドバーの目次ウィジェット：ひと回りコンパクトに --- */

body #body_wrap.single-post #sidebar .p-toc,
body #body_wrap.single-post .w-fixSide .p-toc {
	font-size: 0.9rem !important;
	line-height: 1.7 !important;
}

body #body_wrap.single-post #sidebar .p-toc li,
body #body_wrap.single-post .w-fixSide .p-toc li {
	margin: 6px 0 !important;
	position: relative !important;
	padding-left: 1.8em !important; /* 番号の居場所を確保 */
}

/* 番号（li::before）が左端に埋もれる問題の修正：
   SWELLが absolute + right で飛ばしている配置を left:0 に固定 */
body #body_wrap.single-post #sidebar .p-toc li::before,
body #body_wrap.single-post .w-fixSide .p-toc li::before {
	position: absolute !important;
	left: 0 !important;
	right: auto !important;
	top: 0.18em !important;
	width: auto !important;
	transform: none !important;
	color: var(--utopia-single-blue) !important;
	font-weight: 700 !important;
}

/* サイドバー目次: SWELL標準の「番号 | 」ではなく番号だけを表示する */
body #body_wrap.single-post #sidebar .p-toc .p-toc__list,
body #body_wrap.single-post .w-fixSide .p-toc .p-toc__list {
	counter-reset: utopia-toc-main !important;
}

body #body_wrap.single-post #sidebar .p-toc .p-toc__list > li,
body #body_wrap.single-post .w-fixSide .p-toc .p-toc__list > li {
	counter-increment: utopia-toc-main !important;
	counter-reset: utopia-toc-sub !important;
}

body #body_wrap.single-post #sidebar .p-toc .p-toc__list > li::before,
body #body_wrap.single-post .w-fixSide .p-toc .p-toc__list > li::before {
	content: counter(utopia-toc-main) !important;
}

body #body_wrap.single-post #sidebar .p-toc .p-toc__list > li > ol > li,
body #body_wrap.single-post #sidebar .p-toc .p-toc__list > li > ul > li,
body #body_wrap.single-post .w-fixSide .p-toc .p-toc__list > li > ol > li,
body #body_wrap.single-post .w-fixSide .p-toc .p-toc__list > li > ul > li {
	counter-increment: utopia-toc-sub !important;
	padding-left: 2.8em !important;
}

body #body_wrap.single-post #sidebar .p-toc .p-toc__list > li > ol > li::before,
body #body_wrap.single-post #sidebar .p-toc .p-toc__list > li > ul > li::before,
body #body_wrap.single-post .w-fixSide .p-toc .p-toc__list > li > ol > li::before,
body #body_wrap.single-post .w-fixSide .p-toc .p-toc__list > li > ul > li::before {
	content: counter(utopia-toc-main) "-" counter(utopia-toc-sub) !important;
}

body #body_wrap.single-post #sidebar .p-toc a,
body #body_wrap.single-post .w-fixSide .p-toc a {
	color: var(--utopia-single-ink);
	text-decoration: none;
}

body #body_wrap.single-post #sidebar .p-toc a:hover,
body #body_wrap.single-post .w-fixSide .p-toc a:hover {
	color: #173ed3;
}

/* 追尾サイドバー側のウィジェットカード・見出しにも同じ装飾を適用 */
body #body_wrap.single-post .w-fixSide .c-widget {
	padding: 14px 12px !important;
	border: 1px solid rgba(36, 84, 255, 0.14) !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	box-shadow: 0 6px 18px rgba(7, 16, 33, 0.05) !important;
}

body #body_wrap.single-post .w-fixSide .c-widget__title {
	position: relative !important;
	margin: 0 0 12px !important;
	padding: 0 0 8px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(36, 84, 255, 0.16) !important;
	background: none !important;
	color: var(--utopia-single-ink) !important;
	font-weight: 900 !important;
	font-size: 0.95rem !important;
}
body #body_wrap.single-post .w-fixSide .c-widget__title::after {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	bottom: -1px !important;
	width: 56px !important;
	height: 2px !important;
	background: linear-gradient(90deg, var(--utopia-single-cyan), var(--utopia-single-blue)) !important;
}

/* --- サイドバーの記事リスト（最新記事・おすすめ等）：サムネ＋タイトルのカード風 --- */

body #body_wrap.single-post #sidebar .p-postList.-type-list .p-postList__item,
body #body_wrap.single-post .w-fixSide .p-postList.-type-list .p-postList__item {
	padding: 8px 0 !important;
	border-bottom: 1px solid #eef2f7;
}
body #body_wrap.single-post #sidebar .p-postList.-type-list .p-postList__item:last-child,
body #body_wrap.single-post .w-fixSide .p-postList.-type-list .p-postList__item:last-child {
	border-bottom: 0;
}

body #body_wrap.single-post #sidebar .p-postList__thumb,
body #body_wrap.single-post .w-fixSide .p-postList__thumb {
	border-radius: 6px;
	overflow: hidden;
}

body #body_wrap.single-post #sidebar .p-postList__title,
body #body_wrap.single-post .w-fixSide .p-postList__title {
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

/* --- サイト内検索フォーム（カスタムHTML用 .utopia-search）
   全ページのサイドバーに出るため、起点を絞らず適用 --- */

.utopia-search {
	display: flex;
	align-items: stretch;
	position: relative;
}

.utopia-search input[type="search"] {
	flex: 1;
	min-width: 0;
	appearance: none;
	-webkit-appearance: none;
	padding: 11px 42px 11px 14px;
	border: 1px solid #dbe3ef;
	border-radius: 9999px; /* ピル型でスマートに */
	background: #f8fafc;
	color: #071021;
	font-size: 0.88rem;
	line-height: 1.4;
	outline: none;
	box-shadow: none;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.utopia-search input[type="search"]::placeholder {
	color: #9aa6bd;
}

.utopia-search input[type="search"]:focus {
	border-color: #2454ff;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(36, 84, 255, 0.12);
}

/* 検索ボタン：枠なし。CSSで線画の虫眼鏡を描く（絵文字は使わない） */
.utopia-search button {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: transparent; /* 絵文字/テキストが入っていても見せない */
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	transition: background 0.15s ease;
}

.utopia-search button::before {
	content: "";
	position: absolute;
	left: 9px;
	top: 8px;
	width: 11px;
	height: 11px;
	border: 2px solid #64708a;
	border-radius: 50%;
	transition: border-color 0.15s ease;
}

.utopia-search button::after {
	content: "";
	position: absolute;
	left: 19px;
	top: 19px;
	width: 7px;
	height: 2px;
	border-radius: 2px;
	background: #64708a;
	transform: rotate(45deg);
	transform-origin: left center;
	transition: background 0.15s ease;
}

.utopia-search button:hover {
	background: rgba(36, 84, 255, 0.08);
}
.utopia-search button:hover::before {
	border-color: #2454ff;
}
.utopia-search button:hover::after {
	background: #2454ff;
}

/* バナーだけを入れたカスタムHTMLウィジェットはカード枠・余白を外す */
body #body_wrap.single-post #sidebar .c-widget:has(.utopia-navbanner),
body #body_wrap.single-post .w-fixSide .c-widget:has(.utopia-navbanner) {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* サイドバーのウィジェット間隔：SWELLデフォルトの2.5em(約28px)は
   広すぎるため、全ウィジェット一律で14pxに詰める */
body #body_wrap.single-post #sidebar .c-widget + .c-widget,
body #body_wrap.single-post .w-fixSide .c-widget + .c-widget {
	margin-top: 14px !important;
}

/* バナーが絡む隣接はさらに詰める */
body #body_wrap.single-post #sidebar .c-widget + .c-widget:has(.utopia-navbanner),
body #body_wrap.single-post #sidebar .c-widget:has(.utopia-navbanner) + .c-widget,
body #body_wrap.single-post .w-fixSide .c-widget + .c-widget:has(.utopia-navbanner),
body #body_wrap.single-post .w-fixSide .c-widget:has(.utopia-navbanner) + .c-widget {
	margin-top: 10px !important;
}

/* --- 比較表バナーリンク（カスタムHTML用 .utopia-navbanner) --- */

body #body_wrap.single-post a.utopia-navbanner,
body #body_wrap.single-post .utopia-navbanner {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px;
	margin: 0 0 10px;
	padding: 13px 14px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: linear-gradient(120deg, var(--utopia-single-blue), var(--utopia-single-violet)) !important;
	color: #ffffff !important;
	font-size: 0.88rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(36, 84, 255, 0.28) !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
body #body_wrap.single-post a.utopia-navbanner:hover,
body #body_wrap.single-post .utopia-navbanner:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(36, 84, 255, 0.36) !important;
	color: #ffffff !important;
}
body #body_wrap.single-post .utopia-navbanner::after {
	content: "›";
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: var(--utopia-single-cyan);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1;
}

/* ===== 7. 関連/人気記事タイトルの3行省略 ===== */

body #body_wrap.single-post .p-postList__body .p-postList__title,
body #body_wrap.single-post .p-postList__title,
body #body_wrap.single-post .c-postList__title,
body #body_wrap.single-post .swell-block-postLink .p-postList__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.5;
}

/* ===== 8. 人気記事の順位 01-05 角ボックス（li::before 実証済み） ===== */

body #body_wrap.single-post .p-postList.-w-ranking li.p-postList__item {
	position: relative !important;
}

body #body_wrap.single-post .p-postList.-w-ranking li.p-postList__item::before {
	content: "" !important;
	position: absolute !important;
	left: 6px !important;
	top: 6px !important;
	right: auto !important;
	bottom: auto !important;
	width: 24px !important;
	height: 24px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 6px !important;
	background-color: var(--utopia-single-blue) !important;
	background-image: linear-gradient(135deg, var(--utopia-single-blue), var(--utopia-single-violet)) !important;
	color: #ffffff !important;
	font-family: "Press Start 2P", monospace !important;
	font-size: 0.5rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-indent: 0 !important;
	box-shadow: 2px 2px 0 rgba(36, 84, 255, 0.2) !important;
	border: 0 !important;
	z-index: 5 !important;
}

body #body_wrap.single-post .p-postList.-w-ranking li.p-postList__item:nth-child(1)::before { content: "01" !important; }
body #body_wrap.single-post .p-postList.-w-ranking li.p-postList__item:nth-child(2)::before { content: "02" !important; }
body #body_wrap.single-post .p-postList.-w-ranking li.p-postList__item:nth-child(3)::before { content: "03" !important; }
body #body_wrap.single-post .p-postList.-w-ranking li.p-postList__item:nth-child(4)::before { content: "04" !important; }
body #body_wrap.single-post .p-postList.-w-ranking li.p-postList__item:nth-child(5)::before { content: "05" !important; }

/* ===========================================================
 * 9. gaming-st 現物移植モジュール（FAQ / コールアウト / fpsバーグラフ）
 *    クラス名はgaming-stと同一。カスタムHTMLブロックに
 *    同じ構造のHTMLを貼ればそのまま描画される。
 * =========================================================== */

/* --- FAQ（.faq-grid > .faq-item > .faq-q / .faq-a） --- */

body #body_wrap.single-post .post_content .faq-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 18px 0 24px;
}
body #body_wrap.single-post .post_content .faq-item {
	background: #fff;
	border: 1px solid #e3e8f2;
	border-radius: 10px;
	overflow: hidden;
}
body #body_wrap.single-post .post_content .faq-q {
	position: relative;
	padding: 14px 18px 14px 44px !important;
	background: #f8fafc !important;
	border-bottom: 1px solid #e3e8f2 !important;
	color: var(--utopia-single-ink) !important;
	font-size: 0.95rem !important;
	font-weight: 800 !important;
}
body #body_wrap.single-post .post_content .faq-q::before {
	content: 'Q';
	position: absolute;
	left: 16px;
	top: 14px; /* 2行質問でもズレない固定値（gaming-st既知バグ対策を踏襲） */
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--utopia-single-blue);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 900;
	border-radius: 4px;
}
body #body_wrap.single-post .post_content .faq-a {
	position: relative;
	padding: 14px 18px 14px 44px !important;
	color: var(--utopia-single-ink) !important;
	font-size: 0.92rem !important;
	line-height: 1.85 !important;
}
body #body_wrap.single-post .post_content .faq-a::before {
	content: 'A';
	position: absolute;
	left: 16px;
	top: 18px;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e3e8f2;
	color: var(--utopia-single-muted);
	font-size: 0.7rem;
	font-weight: 900;
	border-radius: 4px;
}

/* --- コールアウト（.ra-callout--info / --tip / --warn） --- */

body #body_wrap.single-post .post_content .ra-callout {
	display: grid !important;
	grid-template-columns: auto 1fr;
	column-gap: 12px;
	row-gap: 9px;
	align-items: center;
	border-radius: 11px;
	padding: 16px 18px;
	border: 1px solid #e3e8f2;
	margin: 18px 0 24px;
}
body #body_wrap.single-post .post_content .ra-callout::before {
	content: "i";
	grid-column: 1;
	grid-row: 1;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.86rem;
	font-weight: 800;
	color: #fff !important;
	box-shadow: 0 2px 6px rgba(7, 16, 33, 0.12);
}
body #body_wrap.single-post .post_content .ra-callout > strong {
	grid-column: 2;
	grid-row: 1;
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--utopia-single-ink) !important;
	line-height: 1.45;
	background: none;
}
body #body_wrap.single-post .post_content .ra-callout > p {
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 0 !important;
}
body #body_wrap.single-post .post_content .ra-callout--info {
	background: #f0f7ff !important;
	border-color: #bfe0fd;
}
body #body_wrap.single-post .post_content .ra-callout--info::before {
	content: "i";
	background: linear-gradient(135deg, var(--utopia-single-cyan) 0%, var(--utopia-single-blue) 100%);
}
body #body_wrap.single-post .post_content .ra-callout--tip {
	background: #effdf9 !important;
	border-color: #99f6e4;
}
body #body_wrap.single-post .post_content .ra-callout--tip::before {
	content: "!";
	background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%);
}
body #body_wrap.single-post .post_content .ra-callout--warn {
	background: #fff5f5 !important;
	border-color: #fecaca;
}
body #body_wrap.single-post .post_content .ra-callout--warn::before {
	content: "!";
	background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}

/* --- fps横棒グラフ（.fpscell / .fpstrack / .fpsfill.f-g|f-m|f-l / .fpsnum） --- */

body #body_wrap.single-post .post_content td.fpsc {
	vertical-align: middle;
	padding: 8px 12px !important;
}
body #body_wrap.single-post .post_content .fpscell {
	display: flex;
	align-items: center;
	gap: 8px;
}
body #body_wrap.single-post .post_content .fpstrack {
	position: relative;
	flex: 1;
	min-width: 36px;
	height: 18px;
	background: #eef1f5;
	border-radius: 9px;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(7, 16, 33, 0.05);
}
/* 60fps目安線（スケール上限200の30%位置） */
body #body_wrap.single-post .post_content .fpstrack::after {
	content: "";
	position: absolute;
	left: 30%;
	top: 0;
	bottom: 0;
	width: 0;
	border-left: 1px dashed rgba(7, 16, 33, 0.45);
	z-index: 2;
}
body #body_wrap.single-post .post_content .fpsfill {
	display: block;
	height: 100%;
	background: #94a3b8;
	border-radius: 9px;
	position: relative;
	z-index: 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
body #body_wrap.single-post .post_content .fpsfill.f-g { background: linear-gradient(90deg, #0d9488 0%, #2dd4bf 100%); }
body #body_wrap.single-post .post_content .fpsfill.f-m { background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%); }
body #body_wrap.single-post .post_content .fpsfill.f-l { background: linear-gradient(90deg, #be123c 0%, #f43f5e 100%); }
body #body_wrap.single-post .post_content .fpsnum {
	min-width: 48px;
	text-align: right;
	font-weight: 800 !important;
	font-variant-numeric: tabular-nums;
	color: var(--utopia-single-ink) !important;
	font-size: 0.78rem;
	white-space: nowrap;
}
/* 凡例 */
body #body_wrap.single-post .post_content .fps-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 2px 0 14px;
	font-size: 0.8rem;
	color: var(--utopia-single-muted) !important;
}
body #body_wrap.single-post .post_content .fps-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
body #body_wrap.single-post .post_content .fps-legend i {
	width: 22px;
	height: 10px;
	border-radius: 5px;
	display: inline-block;
}
body #body_wrap.single-post .post_content .fps-legend i.lg-g { background: linear-gradient(90deg, #0d9488, #2dd4bf); }
body #body_wrap.single-post .post_content .fps-legend i.lg-m { background: linear-gradient(90deg, #d97706, #f59e0b); }
body #body_wrap.single-post .post_content .fps-legend i.lg-l { background: linear-gradient(90deg, #be123c, #f43f5e); }
body #body_wrap.single-post .post_content .fps-legend i.lg-line {
	width: 0;
	height: 14px;
	border-left: 1px dashed rgba(7, 16, 33, 0.55);
	border-radius: 0;
}

/* ===== 10. レスポンシブ ===== */

@media (max-width: 600px) {
	body #body_wrap.single-post .post_content,
	body #body_wrap.single-post .entry-content {
		font-size: 0.94rem;
		line-height: 1.9;
	}

	body #body_wrap.single-post .post_content h2,
	body #body_wrap.single-post .entry-content h2 {
		margin-top: 2.2em;
		padding: 14px 16px 14px 18px;
	}

	body #body_wrap.single-post .post_content th,
	body #body_wrap.single-post .entry-content th {
		padding: 11px 12px !important;
		font-size: 0.78rem !important;
	}
	body #body_wrap.single-post .post_content td,
	body #body_wrap.single-post .entry-content td {
		padding: 10px 12px !important;
		font-size: 0.85rem !important;
	}

	body #body_wrap.single-post .post_content .fpstrack { min-width: 22px; height: 15px; }
	body #body_wrap.single-post .post_content .fpsnum { min-width: 38px; font-size: 0.66rem; }
	body #body_wrap.single-post .post_content .fps-legend { gap: 9px 12px; font-size: 0.72rem; }
}

/* ========================================
   SWELL FAQ block: single-post Q&A styling
======================================== */

#body_wrap.single-post .post_content .swell-block-faq {
	margin: 28px 0 32px !important;
	padding: 0 !important;
	display: grid !important;
	gap: 10px !important;
}

#body_wrap.single-post .post_content .swell-block-faq__item {
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 1px solid #d9e1ef !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	box-shadow: none !important;
}

#body_wrap.single-post .post_content .swell-block-faq .faq_q {
	position: relative !important;
	display: block !important;
	margin: 0 !important;
	padding: 15px 18px 15px 54px !important;
	border: 0 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	background: #f8fafc !important;
	color: #17253f !important;
	font-size: 0.97em !important;
	font-weight: 700 !important;
	line-height: 1.65 !important;
}

#body_wrap.single-post .post_content .swell-block-faq .faq_q::before {
	position: absolute !important;
	top: 15px !important;
	left: 16px !important;
	width: 24px !important;
	height: 24px !important;
	display: grid !important;
	place-items: center !important;
	content: "Q" !important;
	border-radius: 4px !important;
	background: #334cff !important;
	color: #ffffff !important;
	font-size: 0.78em !important;
	font-weight: 800 !important;
	line-height: 1 !important;
}

#body_wrap.single-post .post_content .swell-block-faq .faq_a {
	position: relative !important;
	display: block !important;
	margin: 0 !important;
	padding: 15px 18px 16px 54px !important;
	border: 0 !important;
	background: #ffffff !important;
	color: #34445f !important;
	font-size: 0.94em !important;
	line-height: 1.85 !important;
}

#body_wrap.single-post .post_content .swell-block-faq .faq_a::before {
	position: absolute !important;
	top: 17px !important;
	left: 16px !important;
	width: 24px !important;
	height: 24px !important;
	display: grid !important;
	place-items: center !important;
	content: "A" !important;
	border-radius: 4px !important;
	background: #e7edf7 !important;
	color: #40516b !important;
	font-size: 0.78em !important;
	font-weight: 800 !important;
	line-height: 1 !important;
}

#body_wrap.single-post .post_content .swell-block-faq .faq_a > :first-child {
	margin-top: 0 !important;
}

#body_wrap.single-post .post_content .swell-block-faq .faq_a > :last-child {
	margin-bottom: 0 !important;
}

@media (max-width: 599px) {
	#body_wrap.single-post .post_content .swell-block-faq {
		margin: 22px 0 28px !important;
		gap: 8px !important;
	}

	#body_wrap.single-post .post_content .swell-block-faq .faq_q,
	#body_wrap.single-post .post_content .swell-block-faq .faq_a {
		padding-right: 14px !important;
		padding-left: 50px !important;
	}

	#body_wrap.single-post .post_content .swell-block-faq .faq_q::before,
	#body_wrap.single-post .post_content .swell-block-faq .faq_a::before {
		left: 14px !important;
	}
}
