@charset "UTF-8";

/* YOCKOW's favourite CSS for (X)HTML5. */

@import url(./_fonts.css);
@import url(./_color-scheme.css);
@import url(./_code.css);

/* ********************************************************************************************** */
/* 何はなくともbody! */
body {
	display:block;
	
	margin:0;
	padding:0;
	
	font-family:var(--yockow-mincho-font-family);
	line-height:120%;
	letter-spacing:0;
}

/* ********************************************************************************************** */
/* (よく使う)ブロック要素 */
article, aside, div, footer, form, h1, h2, h3, h4, h5, h6, header, html, nav, ol, p, section, ul {
	display:block;
	margin:0;
	padding:0;
}

details {
  transition: 0.2s;
}

h1, h2, h3, h4, h5, h6 {
	font-family:var(--yockow-gothic-font-family);
	font-weight:bold;
}
h1 {
	font-size:150%;
  line-height: 150%;
}
* + h1, h1 + * {
	margin-top: 0.5em;
}
h2 {
	font-size:142%;
  line-height: 142%;
}
* + h2, h2 + * {
	margin-top: 0.42em;
}
h3 {
	font-size:134%;
  line-height: 134%;
}
* + h3, h3 + * {
	margin-top: 0.34em;
}
h4 {
	font-size:126%;
  line-height: 126%;
}
* + h4, h4 + * {
	margin-top: 0.26em;
}
h5 {
	font-size:118%;
  line-height: 118%;
}
* + h5, h5 + * {
	margin-top: 0.18em;
}
h6 {
	font-size:110%;
  line-height: 110%;
}
* + h6, h6 + * {
	margin-top: 0.10em;
}

li {
	display:list-item;
	list-style-position:inside;
}

p {
	margin:0.3em 0 0 0;
	text-align:justify;
	text-indent:1em;
	text-justify:inter-ideograph;
}

p * {
	text-indent: 0;
}

pre {
	overflow:auto;
}

summary {
  cursor: pointer;
}

table {
	border-collapse:collapse;
	display:table;
	empty-cells:show;
}

th {
	font-weight:bold;
	font-size:95%;
	text-align:center;
	text-decoration:underline;
	white-space:nowrap;
}

/* ********************************************************************************************** */
/* (よく使う)インライン要素 */
a {
	cursor:pointer;
	text-decoration:underline;
}

em {
	font-size:120%;
	font-style:oblique;
	line-height:120%;
}

iframe[seamless]{ /* seamlessに未対応の場合… */
	background-color:transparent;
	border:0 none transparent;
	overflow:hidden;
	padding:0;
}

img {
	border-width:0;
	margin:0;
	vertical-align:middle;
}

span {
	margin:0;
	padding:0;
}

textarea {
	vertical-align: top;
}

/* ********************************************************************************************** */
/* (よく使う)その他要素 */
del {
	opacity:0.5;
}
