/* 固定ページ専用スタイル */

/* ページタイトル */
.page-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	text-align: center;
}

/* ページコンテンツ */
.page-content {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.page-content h1 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	text-align: center;
}

.page-content h2 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 15px;
	text-align: left;
}

.page-content h3 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 12px;
	text-align: left;
}

.page-content p {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 15px;
	text-align: left;
}

.page-content ul,
.page-content ol {
	margin-bottom: 15px;
	padding-left: 20px;
}

.page-content li {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 8px;
}

.page-content blockquote {
	margin: 20px 0;
	padding: 15px 20px;
	background: rgba(254, 81, 38, 0.05);
	border-left: 4px solid #fe5126;
	border-radius: 4px;
	font-style: italic;
}

.page-content blockquote p {
	margin-bottom: 0;
}

.page-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 15px 0;
}

.page-content a {
	color: #fe5126;
	text-decoration: none;
	transition: color 0.3s ease;
}

.page-content a:hover {
	text-decoration: underline;
}

.page-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.page-content th,
.page-content td {
	padding: 10px;
	border: 1px solid #e0e0e0;
	text-align: left;
	font-size: 14px;
}

.page-content th {
	background: rgba(254, 81, 38, 0.1);
	font-weight: 600;
}

.page-content code {
	background: #f5f5f5;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: 'Courier New', monospace;
	font-size: 13px;
}

.page-content pre {
	background: #f5f5f5;
	padding: 15px;
	border-radius: 6px;
	overflow-x: auto;
	margin: 20px 0;
}

.page-content pre code {
	background: none;
	padding: 0;
}

.site-footer {
	justify-content: flex-end;
	align-items: center;
}

/* レスポンシブ対応 */
@media (max-width: 540px) {
	.page-content {
		margin-top: 30px;
		padding-top: 20px;
	}

	.page-content h1 {
		font-size: 16px;
	}

	.page-content h2 {
		font-size: 15px;
	}

	.page-content h3 {
		font-size: 14px;
	}

	.page-content p,
	.page-content li {
		font-size: 13px;
	}
}

/* 固定ページ用フッター */
.site-footer.footer-page {
	justify-content: flex-end;
	align-items: center;
}

/* PDF表示の横スクロール対策 */
.page-content .pdf-container {
	max-width: 100%;
	width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}

.page-content .pdf-embed {
	max-width: 100%;
	width: 100%;
	/* height: auto; ブロック設定の高さを優先するため削除 */
	box-sizing: border-box;
}

/* 横スクロール防止 */
.page-content {
	/* ページコンテンツ全体の横スクロール防止は削除（他のコンテンツに影響するため） */
	max-width: 100%;
	box-sizing: border-box;
}

/* PDFブロックの追加スタイル */
.page-content .wp-block-saitama-mb-pdf-block {
	margin: 30px 0;
	max-width: 100%;
	overflow: hidden;
}

.page-content .pdf-block-container {
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

.page-content .pdf-block-object {
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box;
	/* より強力な横スクロール防止 */
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

/* レスポンシブ対応の改善 */
@media (max-width: 768px) {
	.page-content .pdf-embed,
	.page-content .pdf-block-object {
		/* height: auto; ブロック設定の高さを優先するため削除 */
	}
}

@media (max-width: 540px) {
	.page-content .pdf-embed,
	.page-content .pdf-block-object {
		/* height: auto; ブロック設定の高さを優先するため削除 */
	}
}
