@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

*{
	margin: 0;
	padding: 0;
	font-family: 'Noto Sans Japanese', sans-serif;
	font-size: 100%;

	color: #51483a;
}

html, body { height: 100%; }

#loader {
	width: 100px;
	height: 100px;
	display: none;
	position: fixed;
	_position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -50px;
	margin-left: -50px;
	z-index: 100;
}
 
#fade {
	width: 100%;
	height: 100%;
	display: none;
	background-color: #fff;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 50;
}

body{
	margin: 0;
}

#menu a{
	text-decoration: none;
	-webkit-transition: 0.2s ease-in-out;
	   -moz-transition: 0.2s ease-in-out;
	     -o-transition: 0.2s ease-in-out;
	        transition: 0.2s ease-in-out;
}
#menu a:hover{
	color:#62c3ef;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}


header{
	font-size: 2.0rem;
	text-align: center;
	color: #555;
	font-weight: 100;
	position: relative;
	margin: 0 30px;
	padding: 25vh 0 20vh;
	border-bottom: 1px solid #ccc;
}


#menu{
	margin: 8vh 0;
	text-align: center;
	font-weight: 200;
}

#menu li{
	margin: 0 15px;
	display: inline-block;
	font-size: 0.9rem;
	list-style-type: none;
	width: 15%;
	max-width: 100px;	
}

#menu a{
	text-decoration: none;
}

#novel{
	margin: 50px 0 0;
	text-align:center;
	line-height: 2.0rem;
}

.no{
	display: inline-block;
	font-weight: 100;
	font-size: 1.5em;
	margin: 50px 0 25px;
	padding: ;
	border-bottom: 1px solid #51483a;
}


ul.block{

	display: inline-block;
	list-style-type: none;
	-webkit-padding-start: none;
	font-size: 0;
}

li.block{
	padding: .5em .75em;
	background-color: #f6f6f6;
	border: 1px solid #eee;
	box-shadow: 1px 1px 0 rgba(255, 255, 255, .5) inset;
	display: inline-block;
	vertical-align: top;
	font-size: 0;
	width: 25%;
	min-width: 250px;
	padding:1%;
	margin: 25px 10px 0;
	list-style-type: none;
}

li.dai a{text-decoration:none;}
 
li.dai{
	list-style-type: none;
	padding: 3% 0;
	font-weight: 300;
	font-size: 1.0rem;
	border-bottom: 1px  #ccc solid;
}


li.text{
	list-style-type: none;
	margin: 3% 3%;
	font-size: 0.8rem;
	text-align: left;
	font-weight: 100;


}

@media screen and (min-width: 579px) {
li.block {
	position: relative;
	display: inline-block;
	color: #fff;
	text-align: center;
	text-decoration: none;
	outline: none;
	transition: all .2s;
}
li.block::before,
li.block::after {
	position: absolute;
	z-index: 2;
	content: '';
	width: 0;
	height: 0;
	border: 1px solid transparent;
}
li.block::before {
	top: -1px;
	left: -1px;
}
li.block::after {
	bottom: -1px;
	right: -1px;
}
li.block:hover {
	color: #62c3ef;
}
li.block:hover::before,
li.block:hover::after {
	width: 100%;
	height: 100%;
}
li.block:hover::before {
	border-bottom-color: #62c3ef;
	border-left-color: #62c3ef;
	transition: height .2s, width .2s .2s;
}
li.block:hover::after {
	border-top-color: #62c3ef;
	border-right-color: #62c3ef;
	transition: height .2s, width .2s .2s;
}
}

footer{
	margin: 100px 30px 0;
	padding: 25px 0;
	font-size: 0.8rem;
	text-align: center;
	border-top: 1px solid #ccc;
}

#link img{
	padding: 5px;
	vertical-align: bottom;
}

@media screen and (min-width: 440px) {
#link a {
	position: relative;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	outline: none;
	transition: all .2s;
}
#link a::before,
#link a::after {
	position: absolute;
	z-index: 2;
	content: '';
	width: 0;
	height: 0;
	border: 1px solid transparent;
}
#link a::before {
	top: -1px;
	left: -1px;
}
#link a::after {
	bottom: -1px;
	right: -1px;
}
#link a:hover {
	color: #62c3ef;
}
#link a:hover::before,
#link a:hover::after {
	width: 100%;
	height: 100%;
}
#link a:hover::before {
	border-bottom-color: #62c3ef;
	border-left-color: #62c3ef;
	transition: height .2s, width .2s .2s;
}
#link a:hover::after {
	border-top-color: #62c3ef;
	border-right-color: #62c3ef;
	transition: height .2s, width .2s .2s;
}
}

#link #text{
	width: 100%;
	max-width: 600px;
	margin: 0 0 150px;
}

#link ul{
	display: inline-block;
	list-style-type: none;
}
#link li{
	display: inline-block;
	font-size: 0.9rem;
	list-style-type: none;
	padding:10px;
}

#back{
	background-color: rgba(240,240,240,0.9);
	position: fixed;
	bottom: 25px;
	right: 25px;
	font-size: 0.8rem;
	text-align: center;
	padding: 10px;
}

a #back{
	text-decoration: none;
	-webkit-transition: 0.2s ease-in-out;
	   -moz-transition: 0.2s ease-in-out;
	     -o-transition: 0.2s ease-in-out;
	        transition: 0.2s ease-in-out;
}
a #back:hover{
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}