/* Common */
.left   { text-align: left; }
.right  { text-align: right; }
.center { text-align: center; }
.fleft  { float: left; }
.fright { float: right; }
.clear  { clear: both; }
.flc    { float: left; margin-right:1em; text-align: center; }
.frc    { float: right; margin-left:1em; text-align: center; }
.fit    { max-width: 100%; width:auto\9; /* for IE8 */ height:auto; }
.hidden { display: none; }
.none   {
	font-weight: normal;
	font-style: normal;
	text-decoration : none;
}
.strong { font-weight: bold; }
.small  { font-size: 80%; }
.footnote {
	clear: both;
	font-size: 80%;
}
.news {
	font-weight: bold;
	color: #EE0000; background-color: inherit;
}
.phi { font-family:Arial, Helvetica, Verdana; }
.skipnav { text-align: left; }
.skipnav a { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skipnav a:focus, .skipnav a:active { position: static; left: 0; width: auto; height: auto; overflow: visible; text-decoration: underline; }
h2.skipnav, h3.skipnav, h4.skipnav, h5.skipnav { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* links */
a:link {
	color: #0044CC; background-color: inherit;
	text-decoration:none;
}
a:active {
	color: #215dc6; background-color: #CCDDEE;
	text-decoration:none;
}
a:visited {
	color: #a63d21; background-color: inherit;
	text-decoration:none;
}
a:hover {
	color: #215dc6; background-color: #CCDDEE;
	text-decoration:underline;
}

/* Elements */
h1 {
   font-family:verdana, arial, helvetica, Sans-Serif;
   color: inherit; background-color: #DDEEFF;
   padding:.3em;
   margin: 0px 0px .5em 0px;
   border: 0px;
   clear: both;
}
h2 {
   font-family:verdana, arial, helvetica, Sans-Serif;
   color: inherit; background-color: #F0F8FF;
   clear: both;
   padding:.3em;
   margin: 0px 0px .5em 0px;
   margin-top: 10px;
   border-bottom:  3px solid #D0E0FF;
   border-top:     1px solid #D0E0FF;
   border-left:   10px solid #D0E0FF;
   border-right:   5px solid #D0E0FF;
}
h3 {
   font-family:verdana, arial, helvetica, Sans-Serif;
   color: inherit; background-color: #FFFFFF;
   clear: both;
   padding:.3em;
   margin: 5px 0px .5em 0px;
   border-left:   10px solid #DDEEFF;
   border-top:     1px solid #D0E0FF;
   border-bottom:  3px solid #D0E0FF;
}
h4 {
	background-color: #DDEEFF;
	clear: both;
}

pre, dl, ol, p, blockquote { line-height: 2em; }
body, td { font-size:90%; }
p { text-indent: 1em; }
p.note { font-size: 80%; }
sup, sub { font-size: 80%; }
pre {
	white-space:pre;
}
blockquote {
	font-family: verdana, arial, helvetica, Sans-Serif, italic 100% Meiryo;
	font-style: italic;
}
pre, blockquote {
	padding: 0.3em;
	margin:  0px 1em;
	border-top:#DDDDEE 1px solid;
	border-bottom:#888899 1px solid;
	border-left:#DDDDEE 1px solid;
	border-right:#888899 1px solid;
	background-color: #F0F8FF;
}
img {
   border:none;
   vertical-align:text-top;
   max-width: 100%;
   width:auto\9; /* for IE8 */
   height:auto;
}
.iframe-wrapper {
    position: relative;
    height: 0;
    padding-top: 56.25%;
    overflow: hidden;
}
.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
div.manga {
    margin-bottom: 20px;
}
table.center {
   margin-left: auto;
   margin-right: auto;
}
caption { font-size: 80%; }
caption.bottom { caption-side: bottom; }
td {
	vertical-align: top;
	text-align: right;
}
td.left { text-align: left; }
th { color: inherit; background-color: #CCEEFF; }
div.info {
	text-align: right;
	padding: 0; margin: 0; border: 0;
}
span.info {	background-color: #F0F8FF; }

/* id */
#header {
	font-size: 90%;
	color: inherit; background-color: #F0F8FF;
}
#header span { line-height: 1.6em; }
#footer {
	clear: both;
	font-size: 80%;
	margin: 5px;
	border-top: #000000 1px solid;
}
#rss {
    color: #FFFFFF; background-color: #D84010;
    font-weight: bold;
    padding: .1em .2em;
}
#lang {
    color: #FFFFFF; background-color: #01804E;
    font-weight: bold;
    padding: .1em .2em;
}
#tdleft td { text-align: left; }

/* Google Custom Search */
#cse-box {
   width: 300px !important;
}
.gsib_a, .gsib_b {
	height: 100% !important;
}

/* メイリオの斜体 */
@font-face {
  font-family: Meiryo;
  src: local('Meiryo'), local('メイリオ');
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #121212;
		color: #e4e4e4;
	}
	a:link    { color: #a8afff; }
	a:visited { color: #e39777; }
	h1, h2, h3, h4, blockquote {
		background-color: #1C2227;
		border-color: #24344C;
	}
	img { filter: grayscale(30%); }
	#header   { background-color: #1C2227; }
}
