@charset "UTF-8";
/* ====================
    三宅龍太郞 (c)2012
   ==================== */
/*
@namespace xhtml url('http://www.w3.org/1999/xhtml');
@namespace xlink url('http://www.w3.org/1999/xlink');
@namespace svg url('http://www.w3.org/2000/svg');
*/

	* {
		box-sizing: border-box;
	}
	:root {
		margin: 0 auto;
		padding: 0;
		width: 100%;
		max-width: 68em;	/* 最大横幅 */
		height: auto;
		color: CanvasText;
		background-color: Canvas;
		font-size: 16px;
		color-scheme: light dark;
	}
	head, h1 {
		display: none;
	}
	body {
		margin: 0;
		padding: 0 2% 2em;
		/* 遅延読込み */
		content-visibility: auto;
		contain-intrinsic-size: 500px;
		font-size: 1em;
		font-family: 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'BIZ UDPGothic', Meiryo, sans-serif;
		line-height: 1.6;
		overflow-wrap: anywhere;
	}
	h2 {
		margin: 1em 0 1em;
		padding: 0;
		font-size: 1.5em;
		font-feature-settings: 'trad' 1;
		text-align: center;
	}
	h3 {
		font-size: 1.3em;
		font-feature-settings: 'trad' 1;

		border-bottom: .125em solid;
		border-image-slice: 1;
		border-image-source: linear-gradient(90deg, red, red 25%, #fbbc04, #34a853, #1967d2 75%);
	}
	h4 {
		font-size: 1.2em;
	}
	h5 {
		font-size: 1.1em;
	}
	dl {
		margin-top: 0;
	}
	dl > dt {
		margin-top: .5em;
		font-weight: 700;
	}
	dl > dd > dl > dd {
		overflow: auto;
	}
	dl > dd ul {
		margin: 0;
	}
	iframe, object, img:not([class]) {
		display: inline-block;
		border: .0625em solid #999;
		border-radius: .25em;
		vertical-align: middle;
	}
	/* object クリックイベント發生領域 */
	object[type^='image/'] {
		pointer-events: none;
	}
	object[class~='banner'] {
		border: 0 none;
		border-radius: 0;
	}
	object, img {
		max-width: 100%;
		height: auto;
	}
	img {
		vertical-align: bottom;
	}
	img[src$='HTML5_Badge.svg'] {
		vertical-align: middle;
	}
	code {
		font-family: 'Meiryo UI', Helvetica, sans-serif;
	}
	textarea {
		width: 100%;
		font-size: 1.1em;
		line-height: 1.6;
	}
	address {
		text-align: right;
	}
	address + ul {
		margin: 0 0 1.0em;
		padding: 0;
		text-align: right;
		list-style: none;
	}
	.append, body > ul:nth-last-of-type(2) {
		list-style: inside;
		text-align: right;
	}
	/* 別窓マーク */
	a[target]:not([target='_top']):not([accesskey]):not(.count a)::after {
		content: url('../image/icon/new_win.svg');
		margin: 0 .2em 0 .15em;
		text-decoration: none;
		/* top: .12em; */
		vertical-align: -.14em;
	}

@media (min-width: 480px) {

	body {
		line-height: 1.8;
		text-rendering: optimizeSpeed;
	}
	::before, ::after {
		display: inline-block;
		display: inline flow-root;
		margin: 0;
		position: relative;
	}
	h2 {
		white-space: nowrap;
		overflow: auto;
	}

	/* 飾り枠: 無料のベクター飾り罫6点！シンプルです。（商用可・EPS・SVG・DWG） － Free-Style - ALL FREE | https://free-style.mkstyle.net/web/free-border/free-border-vector.html */
	h2::before {
		margin-right: .4em;
		background: url('../image/wall/L2.png') no-repeat 0/contain;
	}
	h2::after {
		margin-left: .4em;
		background: url('../image/wall/R2.png') no-repeat 0/contain;
	}
	h2::before, h2::after {
		content: '';
		width: 72px;
		/* height: 24px;
		height: calc(1 / 3 * 72px); */
		aspect-ratio: 40/13;
		top: .2em;
	}
	.append {
		margin: 0;
		position: relative;
		width: auto;
		float: right;
	}
	textarea {
		max-width: 100%;
		vertical-align: text-top;
	}
	/* アクセスキー */
	[accesskey]::after {
		content: attr(accesskey);
		margin: 0 0 0 .2em;
		padding: .1875rem .1875rem .125rem;
		font: normal 700 14px/1 'Helvetica Neue', Meiryo, Arial, sans-serif;
		color: #fff;
		background: #333a;
		letter-spacing: 0;
		border-radius: .1875em;
		top: -.0625em;
	}

}

@media (min-width: 480px) and (prefers-color-scheme: dark) {

	h2::before, h2::after {
		filter: invert(100%);
	}

}
