@charset "UTF-8";
/* 旧 SSP ヘルプの見た目（about.css。旧版のまま）に、モダンな HTML のための補いと、Markdown 原稿のための補いを足す。
   about.css は、旧版の見た目を変えるとき以外は直さず、足りない分はここに書く */

/* ---- 全体の枠: 旧版は float だったので、flex にする（左の #menu と右の #main） ---- */
body {
	font-family: "MS UI Gothic", "Meiryo UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	overflow-wrap: anywhere;
}
#page {
	display: flex;
	align-items: flex-start;
	min-height: 100vh;
}
#menu {
	float: none;
	flex: none;
	box-sizing: border-box;
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	max-height: 100vh;
	/* 検索のドロップダウンが本文の上へはみ出せるよう、#menu 自身は切らない。目次（#index）だけがスクロールする */
	overflow: visible;
}
#menu #search {
	position: relative;
	flex: none;
	padding: 0.4em;
}
/* 検索欄: 「ヘルプ内検索」の薄い文字と、右端の虫メガネ */
#menu #search .search-field {
	position: relative;
}
#menu #search input {
	box-sizing: border-box;
	width: 100%;
	padding-right: 1.8em;
	font: inherit;
}
#menu #search .search-icon {
	position: absolute;
	top: 50%;
	right: 0.4em;
	transform: translateY(-50%);
	font-size: 90%;
	line-height: 1;
	opacity: 0.35;
	pointer-events: none;
}
#menu #search input::-webkit-search-cancel-button {
	margin-right: 1.2em;
}
#menu #index {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 0.4em 0.4em 1em 0;
}
#menu #index ul ul {
	margin-left: 1.2em;
}
#menu a[aria-current="page"] {
	font-weight: bold;
	color: #333399;
}
#main {
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
	overflow: visible;
}

/* about.css の h1 は、本文の幅いっぱいの帯 */
h1 {
	margin: 0.67em 0;
}
#contents img {
	max-width: 100%;
	height: auto;
}
#contents pre {
	overflow-x: auto;
	padding: 0.5em;
}
code {
	font-family: Consolas, "MS Gothic", monospace;
	font-size: 95%;
}
#contents :not(pre) > code {
	padding: 0 0.2em;
	background-color: #f0f0ff;
}

/* 前後のページ: 左に前、右に次。about.css の width: 100% に padding が足されて右へはみ出さないよう、border-box にする */
#navigation {
	box-sizing: border-box;
}
#navigation ul {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	margin: 0;
}
#navigation li {
	display: block;
	white-space: normal;
}
#navigation li:only-child.next {
	margin-left: auto;
}
#navigation .previous:after,
#navigation .next:before {
	white-space: pre;
}

/* ---- Markdown 原稿のための補い（旧版の class に当てる） ---- */

/* **操作** は旧版の span.Doing（紺の太字）、【開発】のような条件は span.Condition（緑の太字） */
#contents strong {
	color: Navy;
}
#contents strong.Condition {
	color: Green;
}

/* !!! tip "ヒント" は旧版の div.Hint */
.Hint > p:first-of-type {
	display: inline;
}
.Hint:before {
	font-weight: bold;
}
.Hint p {
	margin: 0 0 0.5em;
}

/* 表（旧版の table.KeyboardShortcut などと同じ配色） */
#contents table {
	background-color: #aaaabb;
	margin: 0 auto 1em auto;
	max-width: 100%;
	border-collapse: separate;
	border-spacing: 2px;
}
#contents table th {
	padding: 0.2em 0.5em;
	background-color: #ddddee;
	text-align: left;
}
#contents table td {
	padding: 0.2em 0.5em;
	background-color: #eeeeff;
	vertical-align: top;
}
#contents table td:first-child {
	background-color: #ddddee;
}

/* リンク集（旧版の table.Links） */
#contents table.Links {
	background-color: #aaaadd;
	width: 95%;
}
#contents table.Links th {
	background-color: #333399;
	color: #ffffff;
}
#contents table.Links td {
	padding: 0.5em;
	vertical-align: middle;
}
#contents table.Links td:first-child {
	width: 250px;
	text-align: center;
	background-color: #eeeeff;
}
#contents table.Links td:nth-child(2) {
	background-color: #ddddee;
}

/* よくある質問（旧版の table.QnA） */
.QnA {
	margin: 0 auto 1em auto;
	width: 95%;
}
.QnA h3.Q {
	margin: 0 0 2px;
	padding: 0.5em;
	border: #cc6666 1px dashed;
	font-size: inherit;
}
.QnA .Head {
	font-weight: bold;
	color: #cc6666;
}
.QnA .A {
	margin: 2px 0;
	padding: 0.5em;
	background-color: #ddddff;
}
.QnA .A p {
	margin: 0;
}
.QnA .A p + p {
	margin-top: 0.5em;
}
.QnA .A .Head,
#contents .QnA .A strong.Head {
	color: #6666cc;
}

/* ---- 検索（search.js） ---- */
.ssp-search__dropdown {
	position: absolute;
	top: 100%;
	left: 0.4em;
	z-index: 30;
	box-sizing: border-box;
	width: min(460px, calc(100vw - 1em));
	max-height: 70vh;
	overflow-y: auto;
	border: 1px solid #6666cc;
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	color: #000000;
	font-size: 90%;
	line-height: 1.4;
	text-align: left;
}
.ssp-search__dropdown[hidden] {
	display: none;
}
.ssp-search__dropdown a,
.ssp-search__dropdown a:link,
.ssp-search__dropdown a:visited {
	color: inherit;
	text-decoration: none;
}
.ssp-search__item {
	display: block;
	padding: 0.4em 0.6em;
	border-bottom: 1px dotted #aaaadd;
}
.ssp-search__all {
	display: block;
	padding: 0.5em;
	background: #eeeeff;
	text-align: center;
	color: #333399 !important;
}
.ssp-search__item.is-active,
.ssp-search__all.is-active {
	background: #ddddff;
}
.ssp-search__title {
	font-weight: bold;
	color: #333399;
}
.ssp-search__page {
	color: #666666;
	font-size: 90%;
}
.ssp-search__snippet {
	display: block;
	color: #555555;
}
.ssp-search__empty {
	margin: 0;
	padding: 0.5em;
	color: #666666;
}
.ssp-search__dropdown mark,
#search-results mark {
	background-color: #ffee88;
}
#search-results .search-page {
	color: #666666;
	font-size: 90%;
}
#search-results li {
	margin-bottom: 0.8em;
}

/* ---- 言語切替（lang.js）。検索欄の右横。翻訳版が 1 つも無ければ出ない ---- */
#menu #search {
	display: flex;
	align-items: center;
	gap: 0.3em;
}
#menu #search form {
	flex: 1 1 auto;
}
.ukadoc-translate {
	position: relative;
	flex: none;
}
.ukadoc-translate__button {
	width: 1.8em;
	height: 1.8em;
	padding: 0.15em;
	border: 1px solid #ccccff;
	background: #ffffff;
	color: #333399;
	cursor: pointer;
}
.ukadoc-translate__button svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.ukadoc-translate__button--on {
	background: #ddddff;
}
.ukadoc-translate__menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 40;
	min-width: 13em;
	margin-top: 2px;
	padding: 0.2em 0;
	border: 1px solid #6666cc;
	background: #ffffff;
	color: #000000;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.ukadoc-translate__menu[hidden] {
	display: none;
}
.ukadoc-translate__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ukadoc-translate__menu li button {
	display: block;
	width: 100%;
	padding: 0.35em 0.8em;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.ukadoc-translate__menu li button:hover,
.ukadoc-translate__menu li button:focus-visible {
	background: #ddddff;
}
.ukadoc-translate__menu li button[aria-pressed="true"] {
	font-weight: bold;
	color: #333399;
}
.ukadoc-translate__status {
	margin: 0.2em 0 0;
	padding: 0.3em 0.8em 0;
	border-top: 1px solid #ccccff;
	color: #666666;
	font-size: 90%;
}
.ukadoc-translate__status:empty {
	display: none;
}

/* 翻訳版の頁の頭に出す、機械翻訳の注記の帯（lang.js）。本文（#main）の上に置く */
.ukadoc-mt-notice {
	margin: 0;
	padding: 0.4em 0.8em;
	border-bottom: 1px solid #e0c870;
	background: #fff8dc;
	color: #5a4a00;
	font-size: 85%;
	line-height: 1.5;
}
.ukadoc-mt-notice a {
	color: #7a5c00;
}

/* 翻訳版で、その言語で書かれた原文そのもの（機械翻訳でない。i18n/originals.json に登録したもの）の項目の見出しに付ける印。
   scripts/prepare_site.py が、原文の言語の版の見出しに class orig-lang を付ける。印の字は html[lang] ごと */
.orig-lang::after {
	display: inline-block;
	margin-left: 0.8em;
	padding: 0 6px;
	border: 1px solid #4c8f3c;
	border-radius: 3px;
	background: #eaf7e5;
	color: #2f6b22;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	line-height: 1.6;
	vertical-align: middle;
	white-space: nowrap;
}
html[lang="en"] .orig-lang::after { content: "Original"; }
html[lang="zh-Hant"] .orig-lang::after, html[lang="zh"] .orig-lang::after { content: "原文"; }

/* ---- 幅が狭いとき: 検索欄 → 本文 → 目次の縦並びにする ---- */
@media (max-width: 800px) {
	body {
		background-image: none;
	}
	#page {
		flex-direction: column;
		align-items: stretch;
	}
	#menu {
		display: contents;
	}
	#menu #search {
		order: 0;
		z-index: 5;
		position: sticky;
		top: 0;
		margin: 0;
		background-color: #333399;
	}
	#main {
		order: 1;
		padding: 0 0.8em;
	}
	#menu #index {
		order: 2;
		overflow: visible;
		margin: 1em 0 0;
		padding: 0.5em 0.5em 1em 0;
		background-color: #ccccff;
	}
	#menu #search input {
		width: 100%;
	}
	.ssp-search__dropdown {
		left: 0.4em;
	}
}

/* ---- 幅が狭いとき: 目次（#index）を、検索欄の左端のボタン（menu.js）で開閉する引き出しにする ----
   js-drawer は menu.js が <html> に付ける（JavaScript が動かなければ、目次は上のとおり本文の下に出る）。
   引き出しと暗幕は、画面の上に付いている検索欄の下（--drawer-top。menu.js が開くときに測る）から */
.ukadoc-drawer-toggle,
.ukadoc-drawer-backdrop {
	display: none;
}
@media (max-width: 800px) {
	html.js-drawer .ukadoc-drawer-toggle {
		display: block;
		flex: none;
		box-sizing: border-box;
		width: 1.8em;
		height: 1.8em;
		padding: 0.15em;
		border: 1px solid #ccccff;
		background: #ffffff;
		color: #333399;
		cursor: pointer;
	}
	html.js-drawer .ukadoc-drawer-toggle svg {
		display: block;
		width: 100%;
		height: 100%;
		fill: currentColor;
	}
	html.js-drawer.drawer-open .ukadoc-drawer-toggle {
		background: #ddddff;
	}
	html.js-drawer #menu #index {
		display: none;
	}
	html.js-drawer.drawer-open #menu #index {
		display: block;
		position: fixed;
		top: var(--drawer-top, 0);
		bottom: 0;
		left: 0;
		z-index: 30;
		box-sizing: border-box;
		width: min(320px, 85vw);
		margin: 0;
		padding: 0.6em 0.6em 2em 0.2em;
		overflow-y: auto;
		overscroll-behavior: contain;
		background-color: #ccccff;
		box-shadow: 2px 0 8px rgba(0, 0, 0, 0.4);
		outline: none;
	}
	html.js-drawer.drawer-open .ukadoc-drawer-backdrop {
		display: block;
		position: fixed;
		top: var(--drawer-top, 0);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 25;
		background: rgba(0, 0, 0, 0.4);
	}
	html.js-drawer.drawer-open body {
		overflow: hidden;
	}
}

@media print {
	#menu, #navigation, .ukadoc-translate, .ukadoc-mt-notice, .ukadoc-drawer-backdrop {
		display: none;
	}
	body {
		background-image: none;
	}
}
