:root {
	--main-color: navy;
	--main-font-color: #111;
	--sub-font-color: #fdfdfd;
	--main-table-color: #190066;
	--dark-table-background-color: rgba(0, 0, 17, 0.9);
	--highlight-color: rgba(152, 152, 152, 0.2);
	--sample-color-light-green: palegreen;
	--sample-color-dark-green: darkgreen;
	--font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#ads {
	text-align: center;
}
#ads img {
	margin: 2em auto;
}

#lastUpdate {
	font-size: smaller;
	text-align: right;
	margin: 0 0 1em;
	padding: 0px 5px;
	line-height: 2;
}




aside {
	break-inside: avoid-page;
}

aside.memo, aside.column {
	border: 3px dashed navy;
	border-radius: 0.2em;
	padding: 15px;
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 40px;
	margin-bottom: 40px;
}

aside .aside_head {
	background-color: navy;
	color: #fcfcfc;
	font-weight: bold;
	font-size: 1.5em;
	padding: 5px 10px;
	margin: 0;
	border-radius: 0.2em;
}




body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background-color: #fdfdfd;
	font-family: var(--font);
	line-height: 1.6;
	color: var(--main-font-color);
}

/* button {
	input[type="submit"]
} */

button.copyCodeButton {
	margin: 0;
	padding: 0 1em 0 0;
	background-color: #373737;
	color: #f8f8f2;
	font-size: medium;
	box-shadow: none;
	border: none;
	border-top-right-radius: 0.2em;
    font-size: smaller;
	cursor: pointer;
}




code {
	background-color: var(--highlight-color);
	border-radius: 3px;
	font-family: Menlo, Monaco, Consolas, monospace;
	padding: 0.1em 0.25em;
	tab-size: 3;
}




/* dd code {-> p code} */

details summary {
	cursor: pointer;
}

div.aImg {
	text-align: center;
}

div.aImg img {
	max-width: 80%;
}

div.browserSupport {
    text-align:center;
}
div.browserSupport img {
	max-width: 90%;
}

div.soce {
	margin: 1.1em;
}

div.soce p {
	margin: 0;
	padding-left: 0.5em;
	font-size: 0.9em;
	font-weight: bold;
}

div.soce pre {
	margin-top: 0;
	border-radius: initial;
	border-bottom-left-radius: 0.2em;
	border-bottom-right-radius: 0.2em;
}

div.soceHead {
	display: flex;
	justify-content: space-between;
	background-color: #373737;
	border-top-left-radius: 0.2em;
	border-top-right-radius: 0.2em;
    padding: 0.5em;
}

div.soceHead p {
	margin: 0.1em 0 0 0;
	color: #f8f8f2;
	border-top-left-radius: 0.2em;
	padding-left: 1em;
    font-size: smaller;
}

div.soceHead img, .flask {
	height: 1em;
	position: relative;
	bottom: -0.1em;
}




/* <dl>内でコードを書くときの背景設定 */
.soceList dd {
	padding-right: 1em;
}
	
.soceList dd dd {
	padding-right: 0;
}

.soceList dd div {
	padding: 0.5ex 1em;
	background-color: #eeeeee;
	border-radius: 0.2em;
}


div.nPre {
	padding-bottom: 1em;
}

div.nPre p.soce_head {
	margin-bottom: 1em;
}


div.smp {
    margin: 1.1em;
	padding: 1em;
	background-color: #ddffff;
	text-align: left;
	overflow: auto;
	border-radius: 0.2em;
}

div.smp pre {
    overflow: auto;
}

div.smp p.smp_head {
	font-weight: bold;
	margin: 0 -1em;
	border: 1px solid navy;
	padding: 3px 1em;
	border-radius: 0.2em;
}

.smp img {
	margin: 1em 0;
}



details {
	margin-left: 1.3em;
}

details span {
	display: inline-block;
	margin-left: 1em;
}

dl {
	margin-left: 1em;
}

dt {
	font-weight: bold;
	margin-top: 0.6em;
	/* dt code -> p code */
}

dd dl {
	margin: initial;
	margin-bottom: 0.6em;
}

dd .soce {
	margin: 0;
}


footer.main {
	margin: 3em 0 0 0;
	padding: 10px;
	color: var(--sub-font-color);
	background: navy;
	text-align:center;
	border-radius: 0.2em;
	text-shadow: 2px 2px 3px black;
}
footer.main a { text-decoration: none; }
footer.main a:link { color: var(--sub-font-color); }
footer.main a:visited { color: var(--sub-font-color); }




h1 {
	margin: 0px;
	padding: 0.5em 1em;
	color: var(--sub-font-color);
	background: var(--main-color);
	border-radius: 0.2em;
	text-shadow: 2px 2px 3px black;
}

h2 {
	margin-top: 2em;
	padding: 0.5em 1em;
	border: 0.5em solid var(--main-color);
	border-radius: 0.2em;
}

h3 {
	margin-top: 5em;
	padding-left: 1em;
	border-bottom: 0.4em solid var(--main-color);
	border-left: 0.6em solid var(--main-color);
	border-radius: 2px;
}

h4 {
	margin-top: 2em;
	padding-left: 1em;
	border-bottom: 0.3em solid var(--main-color);
	font-size: 1.1em;
	border-radius: 0.2em;
}

h5 {
	margin-top: 2em;
	font-size: 1em;
}
h5::before {
	content: "";            /* 擬似要素として空の内容を挿入 */
	display: inline-block;  /* ブロック要素として扱い、サイズを指定可能に */
	width: 1.3em;
	height: 2em;
	background-color: var(--main-color);
	border-radius: 0.2em;
	margin-left: 1ex;
	margin-right: 1ex;
	vertical-align: -1ex;   /* テキストとの縦位置を揃える */
}

h6 {
	font-size: 1em;
	padding-left: 1em;
}

.h7 {
	font-size: 1.01em;
	font-weight: bold;
	text-decoration: underline 0.1em;
	text-underline-offset: 0.2em;
}

.head1 {
	font-size: 1.8em;
	font-weight: bold;
}

.head2 {
	font-size: 1.5em;
	font-weight: bold;
}

.head3 {
	font-size: 1.3em;
	font-weight: bold;
}

hr {
	max-width: 90%;
	margin: 3em auto;
}

html {
	scroll-behavior: smooth;
}




input[type="radio"] {
	margin: 1ex;
}


.btn input[type="submit"], .btn button {
	box-shadow: 0.2ex 0.2ex 0.3ex;
	display: inline-block;
	font-size: larger;
	margin: 1ex;
	padding: 1ex 2ex;
}


.illustration {
	height: 100px;
}


/*タップアイコン画像を重ねるための元画像の設定*/
.divTap {
	position: relative;
}

/*タップアイコン画像の設定*/
.imgTap {
	width: 10%;
	height: 10%;
	position: absolute;
	top: 6%;
	right: 6%;
}




kbd {
	background-color: var(--highlight-color);
	border: 1px solid rgba(100, 100, 100, 0.5);
	border-radius: 3px;
	font-family: Menlo, Monaco, Consolas, monospace;
	margin: auto 0.15em;
	padding: 0.1ex 0.25em;
}




li {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
    /* li code -> p code */
}

li div.soce {
	margin: 0 1rem;
}


mark {
	background-color: #fde047;
	color: #222;
	padding: 0.1em;
	border-radius: 0.2em;
}


p {
	margin: 1em;
}

p.caution {
	padding: 0.2em;
	color: #cc0000;
	font-weight: bold;
	border-radius: 0.3em;
	background: linear-gradient(#fffcfc, #fce);
}


p.banner img {
	max-width: 96%;
}


.pagetop {
	height: 50px;
	width: 50px;
	position: fixed;
	right: 30px;
	bottom: 30px;
	background: rgba(255,255,255,.3);
	border: solid 2px rgba(255,255,255,.3);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
}

.pagetop__arrow {
	height: 10px;
	width: 10px;
	border-top: 3px solid rgba(0,0,0,.7);
	border-right: 3px solid rgba(0,0,0,.7);
	transform: translateY(20%) rotate(-45deg);
}

.point {
	border-left: 3px solid #666;
	padding-left: 1em;
}


ul.breadcrumbs {
	margin: 0px;
	padding: 0px;
}


ul.breadcrumbs li {
	display: inline-block;
	padding: 0px 10px;
}




/* ----- ↓table design↓ ----- */
table.tableStd {
    border-collapse: collapse;
	margin: auto;
}

table.tableStd caption {
    text-align: left;
    font-weight: bold;
}

table.tableStd thead th {
    color: #fff;
    background-color:var(--main-table-color);
}

table.tableStd tr:nth-child(even) {
    background-color: #ebe5ff;
}

table.tableStd tbody th,
table.tableStd tbody td {
    border-right: solid 1px var(--main-table-color);
	/* td code -> p code */
}

table.tableStd td:last-child {
    border-right: none;
}

/* 設定用途不明 2025/04/23コメント化 */
/* table.tableStd td:nth-child(2) {
    text-align: center;
} */

table.tableStd th, table.tableStd td {
    padding: 10px;
}

table.tableStd td img {
    height: 1.5em;
    position: relative;
    bottom: -0.3em;
}

@media (prefers-color-scheme: dark) {
    table.tableStd tr:nth-child(even) {
        background-color: var(--dark-table-background-color);
    }
    
    table.tableStd table thead th {
        background-color: var(--main-table-color);
    }
}
/* ----- ↑table design↑ ----- */




/* ----- text-align Start ----- */
div.adSense, figure, p.banner {
	text-align: center;
}
/* ----- text-align End ----- */




/* ーーーーー ↓Font↓ ーーーーー */
/* 赤い文字 */
.red {
	color: #cc0000;
}

/* 緑の文字 */
.green {
	color: #00bb00;
}

/* 青い文字 */
.blue {
	color: #0188ff;
}

/* 灰色の文字 */
.gray {
	color: #999999;
}

/* ピンクの文字 */
.pink {
	color: #fc8eac;
}

/* 太文字（b要素の代替） */
.bd {
	font-weight: bold;
}

/* 小さめの太文字 */
.sbd {
	font-weight: bold;
	font-size: smaller;
}

/* ーーーーー ↑Font↑ ーーーーー */




/* ーーーーー ↓Dark mode↓ ーーーーー */
@media (prefers-color-scheme: dark) {
	a {
		color: #0188ff;
	}
	
	body, table, input {
		background-color: #080f04;
		color: #fbfbfa;
	}
	
	div.soce, .soceList dd div {
		background-color: #222222;
	}
	
	div.soce p.soce_head, div.smp p.smp_head {
		border-color: #424242;
	}
	
	div.smp {
		background-color: #000033;
	}
	
	#ads {
		filter: brightness(90%);
	}
	
	mark {
		background-color: #ecc94b;
	}
	
	span.cssp {
		color: #0080ff;
	}
}
/* ーーーーー ↑Dark mode↑ ーーーーー */




/* -- ↓print↓ -- */
@media print {
	h3 {
		break-before: page;
	}
	
	.soce, .smp {
		break-inside: avoid-page;
	}
	
	figure, .noPrint, #bottomLink, .banner {
		display: none;
	}
}




/* -- carousel design -- */
div.carousel-container {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	position: relative;
	overflow: hidden;
	height: 280px;
	/* background-color: #999999; */
}

div.carousel-slide {
	position: absolute;
	inset: 0;
}

div.carousel-slide-in {
	animation: slideIn 1s ease forwards;
}

div.carousel-slide-out {
	animation: slideOut 1s ease forwards;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes slideOut {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-100%);
	}
}