@charset "utf-8";

/* * * Reset * * */
body, div, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ul, ol, li, blockquote, pre, table, th, td, form, figure{
	margin:0;
	padding:0;
}
img {
	vertical-align: baseline;
}
a img {
	border: none;
}
ol, ul {
  list-style: none;
  list-style-type: none;
}
html,body,container{ height: 100%;}
/* * * Setting * * */
body {
	font-family: Century Gothic, "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	font-size: 130%;
	color: #333;
	text-align:center;
	background: #fff;
}


small{
	font-size: 90%;
}

/* * * general * * */
.container{
	overflow: hidden;
}

.inner{
	display:block;
	width:750px;
	margin:0 auto;
	text-align:center;
}


/*** header***/
#header{
	background: #c4bfbb;
	padding-top: 1em;
}

#header h1,#header .lead{
	padding-bottom: 0.4em;
}



/**book**/

#book,#data{
	margin: 1em auto;
	width: 700px;
}

#book ul{
	display:flex;
	flex-wrap:wrap;
}
#book li{
	padding: 0 1em 1em 0;
	width: 30%;
}
#book li:nth-child(3);
#book li:last-child{
	padding-right: 0;
}	

/**data**/

#data{
	margin-bottom: 4em;
	padding-top: 2em;
	text-align: center;
}
#data p{
	margin-top: 2em;
}

/** css **/
a.hover80:hover img{
	opacity:0.8;
	filter:alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
}


/** goTop **/
.goTop {
 position: fixed;
 bottom: 1%;
 right: 3%;
 filter:alpha(opacity=70);
 -moz-opacity:0.70;
 -khtml-opacity: 0.70;
 opacity:0.70;
 width:100px;
 height:auto;
}
.goTop a{
 width:100%;
}
.goTop a img{
	width:100%;
	padding:0;
}

@media only screen and (max-width: 640px) and (orientation : landscape) { /*横向きの際に適用*/
	.goTop {
 bottom: 3%;
 right: 1%;
	}
	.goTop a{
		width:70%;
	}
	.goTop a img{
		width:70%;
	}
}





/*** footer***/
#footer{
	bottom:0;
	background: #c7cbcc;
	padding-top: 1em;
	font-size: 75%;
}
#footer h2{
	margin-top: 1em;
	background: #ff5b10;
}
}
#footer h2 .inner{
	width: 750px;
	margin: 0 auto;
	
}
#footer h2 img{
	margin-top: -1.6em;
	margin-left: -18em;
    max-width: 100%;
}
#footer ul{
	margin: 1em auto;
	max-width: 750px;
	text-align: left;
}
#footer li{
	background: url(../img/or_circle.png) no-repeat top left;
	background-size: 18px auto;
	padding-left: 20px;
	padding-bottom: 1em;
	line-height: 1.6em;

}
#footer #copy{
	border-top: #fff dotted 1px;
	padding: 1em;
}


.flex_wrap{
	display: flex;
}










/*------------------------------------------------------
	mediaQuery
*-------------------------------------------------------*/


@media screen and (max-width: 640px) {
	body{
		font-size:90%;

	}

	.inner{
		width:98%;
		padding: 0 0.2em;
	}

	.container{
		width:100%;
		padding:0;
	}

	figure img, h1 img{
		width:100%;
		height:auto;
	}
	.lead img{
		width: 70%;
	}

	#book,#data{
	width:100%;
	}
	#data img.btn{width:80%; }
	#book ul{
		display: block;
	}
	#book li{
		margin: 0 auto;
		width:80%;
	}
	/*上部に戻るボタン*/
	.goTop {
	 width:20%;
	}
	
	/**footer**/
	#footer li{

		
	}
	#footer .inner {
		width:100%;
	}
	#footer h2 img{
	margin-left: 0;
    }
    #footer li{
        font-size: 150%;
    }

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
    background: #999;
}


