@charset "utf-8";

/*背景の極薄Gクレフ*/
.emoji-clef {
	position: fixed;
	top: -50px;
	right: 0;
	font-size: 488px;
	color: #eee;
	opacity: 0.02;
	transform: rotate(-5deg);
	transform-origin: center;
	z-index: 9999;
	pointer-events: none;
	user-select: none;
}
.index_block div {
	margin:1em 0;
}

/*著作権*/
.copyright {
	position: fixed;
	bottom: 10px;
	right: 90px;
	font-size: 14px;
	color: rgba(102, 102, 102, 0.8);
	background-color: rgba(238, 238, 238, 0.8);
	padding: 5px 10px;
	border-radius: 5px;
	z-index: 9999;
	transition: all 0.3s ease;
}
.copyright a {
	color: inherit;
	text-decoration: none;
}
.copyright:hover {
	color: #666;
	background-color: rgba(255, 255, 255, 1);
}
.copyright:hover a {
	color: #666;
}
/*記事大枠*/
.content_block {
	margin: 1em !Important;
	background: #fcfcfc !Important;
	color: #333;
}
div#main, div.main_block {
	line-height: 2.5;
}
/*見出し*/
h1 {
	clear: both;
	background: #888;
	color: white;
	line-height:1.25em;
	padding: .5em .5em;
}
h2 {
	clear: both;
	border-bottom: solid 1px #333;
	padding: 0 .5em;
	margin: 1em 0 0;
}
h3 {
	clear: both;
	background: #d7d7d7;
	margin: 2em 0 0;
	padding: 0 .5em;
}
h4 {
	clear: both;
	border-bottom: dotted 1px #888;
	margin: 2em .5em 0;
	padding-left: .5em;
}
h5 {
	margin: 1.5em 0 0;
	padding-left: .5em;
	font-size: 1em;
}
h5+p {
	margin: 1em 2em !Important;
}
h5::before {
	content: "■"
}
/*基本テキスト類*/
div#main p, div#main code {
	margin: 1.75em 0 0 1.5em;
	color: #333;
}
div#main p a:link, div#main span a:link {
	color: black;
	text-decoration: none;
	margin: 0 .2em;
	padding-bottom: .2em;
	border-bottom: dashed 1px #336;
	position: relative;
}
div#main span.underline {
	text-decoration: underline;
	text-underline-offset: .3rem;
}
div#main ol, div#main ul {
	list-style-position: outside;
	margin-left: 1em;
}
div#main ol li, div#main ul li {
	margin: .5em 0;
}
div#main code {
	width: 100%;
	border-bottom: dashed 1px #ccc;
	padding: .5em
}
.indent {
	margin-top: 2em;
	margin-left: 2em;
}
div.index_block .indent {
	margin-top:0;
	margin-left:1.2em;
}
.border-dashed {
	border: dashed 1px #ddd;
	border-radius: 4px;
	line-height: 2;
	padding: 1em .5em;
}

/*注意書き類*/
.topic {
	background: #f7f7f7;
	padding: 0 1em 1em .5em;
	margin: 2em 1.5em;
	border: dashed 1px #eee;
	display: box;
}
.topic p, .topic li {
	font-size:92.5%;
	margin-top:1.25em !Important;
}
.topic li {
}
	.topic kbd {
		font-size:100% !Important;
	}
.caution {
	position: relative;
	font-size: 90%;
	background: rgba(255,192,192,0.5);
	margin: 2em 1.5em !Important;
	padding: .7em .5em .7em 3em;
	border-radius: 4px;
	clear: both;
	line-height: 2.1;
}
.caution::before {
	position: absolute;
	content: "⚠️ ";
	left: 1em;
	top: .75em;
	text-shadow: 0 0 1px rgba(0, 0, 0, 1);
}
.txt-caution {
	position: relative;
	margin-left: 2em !Important;
	padding-left: 1.5em;
}
.txt-caution::before {
	position: absolute;
	content: "✏️";
	text-shadow: 0 0 1px rgba(0, 0, 0, 1);
	left: 0;
}
.hint {
	position: relative;
	font-size: 92.5%;
	background: rgba(255,255,192,0.5);
	margin-top: 1em !Important;
	padding: .7em 1em .7em 3em;
	border-radius: 4px;
	clear: both;
}
.hint::before {
	position: absolute;
	content: "💬";
	left: 1em;
	top: .75em;
	text-shadow: 0 0 1px rgba(0, 0, 0, 1);
}
summary {
	cursor:pointer;
}

/*Q&A*/
.qa details summary span::before {
	content: "🆀";
	font-size: 150%;
	color: #a44;
	padding-right:.5em;
}
.qa details {
	padding: 1em 0 0 1.5em;
}
.qa dd {
	margin: 0;
	padding: 1em 1em 1em 2em;
	background:#f7f7f7;
}
.qa dd::before {
	content: "🅰";
	font-size:150%;
	color:#44a;
	padding-right:.5em;
}
/*画像関連*/
img {
	max-width: 100%;
	filter: drop-shadow(0 0 0 white) drop-shadow(0 0 0 white) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
	vertical-align: bottom;
}
img.inline {
	max-height: 1em;
	filter: contrast(150%) brightness(150%);
	vertical-align: middle;
	margin: 0 .2em;
}
div.image_l {
	max-width: 800px;
	margin: 2em 1.5em;
}
div.image_m {
	max-width: 500px !Important;
	margin: 2em 1.5em !Important;
}
div.image_s {
	max-width: 300px;
	margin: 2em 1.5em;
}
div.image {
	margin: 2em 1.5em;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.img-right {
	float: right;
}
.img-left {
	float: left;
}
/* 500px以下の画面でのみ調整 */
@media (max-width: 1280px) {
	div.image_m {
		max-width: 100%;
		margin: 2em 0;
	}
	.img-right {
		float: none;
		text-align: center;
	}
}
.image-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: center;
	margin-top: 1.5em;
}
.image-item {
	flex: 1 1 200px;
	max-width: 300px;
	text-align: center;
}
.image-item img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: .5em;
}
p.caption {
	font-size: 75%;
	margin: 0 !important;
	text-align: center;
}
/*モディファイアキー等装飾用途*/
kbd {
	display: inline-block;
	position: relative;
	margin: 0 .2em;
	padding: 0 .3em;
	border: 1px solid #ccc;
	border-radius: 4px;
	z-index: 0;
	background: -ms-linear-gradient(135deg, #fff 50%, #eee 60%, #ccc 100%);
	/* IE10+ */
	background: linear-gradient(135deg, #fff 50%, #eee 60%, #ccc 100%);
	/* 標準 */
	filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
}
kbd:active {
	transform: translateY(1px);
	filter: drop-shadow(-1px -1px 0 rgba(0, 0, 0, 0.2));
	box-shadow: -1px -1px 0 rgba(0, 0, 0, 0.2);
	background: linear-gradient(135deg, #ddd 50%, #eee 60%, #bbb 100%);
}
kbd::after {
	content: "";
	position: absolute;
	background: #fff;
	top: 1px;
	left: 1px;
	right: 1px;
	bottom: 1px;
	border: 1px solid #ccc;
	border-radius: 4px;
	pointer-events: none;
	box-sizing: border-box;
	z-index: -1;
}
.highlight {
	background: #df6;
	padding: .2em;
}
.highlight_a {
	background: #8ee;
	padding: .2em;
}
/*テーブル*/
table {
	width: calc(100% - 2em);
	margin: .5em 2em;
	box-sizing: border-box;
}
table td:first-child {
	width: 27%;
}
table tr:nth-child(even) {
	background-color: #f9f9f9;
}
