/* ブラウザ毎のスタイルをリセット */

html, body, h1, h2,h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, header, hgroup,section, article, aside, hgroup, footer, figure, figcaption, nav {
	margin: 0;
	padding: 0;
	font-size: 100%;
}

body {
	line-heigh: 1.0;
	font-family: "Hiragino Kaku Gothic Pro","メイリオ","meiryo",sans-serif;


}




article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	display:block;
}

img {
	border:0px;

}

ul, ol {
	list-style: none;
}

table {
	border-spacing: 0;
	empty-cells: show;
}


/*======================以下デザイン====================== */

/* 共通デザイン */


* {
	box-sizing:border-box;
}

p.page-title {
		display:inline-block;
		height:56px;
		line-height:56px;
		font-size:1.2em;
		margin-left:30px;
		
}

#global-nav li:hover {
	background:rgb(0,128,0);
}
#global-nav a:hover {
	color:white;
}



#space {
	width:90%;
	margin:20px auto;
	
}
#space.square {
		border:none;
}
#space.square img {
	width:200px;
	height:200px;
	margin:0 auto;

}

.pink {
	font-size:1.2em;
	font-weight:700;
	color:#da0b8a;
}

.black {
	font-size:1em;
	font-weight:700;
	color:black;
}

span.purple {
	font-size:1em;
	display:block;
	margin:5px 10px;
	font-weight:700;
	color:rgb(11,116,134);
}

span.blue {
		color:rgb(79,97,225);
		font-weight:700;
	}
	
ol {
	margin-left:50px;
	list-style-type:decimal;
}
ol li {
	margin-bottom:20px;
}

.tube {
	width:100%;
	text-align:center;

}

div.top {
	margin:30px 20px;
	font-size:20px;
	
}

a {
	text-decoration:none;
}

h1 {
	border-left:5px solid #338501;
	margin:15px;
	padding-left:10px;
}

h2 {
	border:2px solid #ddd;
	width:70%;
	margin:30px;
	margin-left:20px;
	height:50px;
	line-height:50px;
}
h2 a {
	display:block;
	width:100%;
	padding-left:20px;
	color:#338501;
	transition-duration:0.2s;

}
h2 a:hover {
	background:#338501;
	color:white;
}


h3 {
	border-bottom:2px solid #ffc0cb;
	width:50%;
	margin:5px auto;
	padding:10px;
}


footer {
	border-top:3px solid #bbb;
}
ul.footerItem {
	width:90%;
	margin:0 auto;
}
ul.footerItem li, ul.footerItem li a{
	display:inline-block;
	margin:-2px;
	padding:5px;
}

footer p#license {
	text-align:center;
	padding:10px;
	margin-bottom:30px;
}
footer p#team {
	text-align:center;
	width:100%;
	margin:0 auto;
	position:fixed;
	left:0;
	bottom:0;
	background:#333;
	color:white;
	opacity:0.6;
}

div#bookCategory {
	display:flex;
	flex-wrap:wrap;
		justify-content:center;
}

div#bookCategory h2 {
	font-size:16px;
	height:auto;
	width:230px;
	border:none;
	margin:10px;
}
div#bookCategory img {
	display:block;
	border:5px solid rgb(30,153,67);
}

div#bookCategory h2 a {
	padding-left:0;
}

div#bookContent {
	flex-basis:230px;
	margin:2%;
}


/* ----------------スマホ向けデザイン----------------- */

@media screen and (max-width:949px){
	#top img{
		width:200px;
		margin-left:10%;
	}
	
	#space img {
		width:100%;
	}
	
	header {
		height:56px;
		background:;
		border:1px solid #999;
	}
	header img {
		height:56px;
	}
	
	div#top-page-pic img {
		width:100%;

	}
	nav {
		width:90%;
		margin:0 auto;
	}
	
	nav#global-nav li:first-child{
		display:none;
		height:35px;
		background:rgb(0,128,0);
		color:white;
	}
	
	
	
	
	
	
	/*
	nav ul {
		width:95%;
	}
	
	nav#global-nav li {
		width:100%;
		height:35px;
		background:white;
		border:1px solid green;
		margin:7px;
		line-height:35px;
		padding-left:7px;
	}

	
	nav#global-nav li a{
		color:rgb(0,128,0);
		display:block;
	}
	*/
	
	
	/*  新デザイン */
	nav ul {
		width:95%;
		margin:0 auto;
		margin:5px;
		
	}
	
	nav#global-nav li {
		display:inline-block;
		width:64px;
		height:64px;
		background:white;
		border:2px solid green;
		margin:7px;
		line-height:32px;
		padding-left:5px;
		overflow:hidden;
		border-radius:5px;
		transition-duration:0.5s;
	}
	nav#global-nav li:nth-child(6){
		line-height:32px;
	}


	
	nav#global-nav li a{
		color:rgb(0,128,0);
		display:block;
		font-size:0.75em;

	}
	
	/* 新デザイン終わり */
	
	
	
	
	
	
	
	
	
	
	#mokuji {
		width:80%;
		margin:10px auto;
		margin-bottom:30px;
		border:3px solid #eee;
		padding:30px;
	}

		
	#mokuji ul li {
		list-style-type:decimal;
	}
	#mokuji ol li {
		list-style-type:none;
	}

	
	
	
	main {
		height:px;
		padding:30px;
	}
	
	main p {
		width:95%;
		margin:0 auto;
		padding:10px;
	}
	
	
	
	span.red {
		color:#e11d1d;
		font-weight:700;
	}
	
	div#inyou {
		width:90%;
		margin:10px auto;
		border:1px dashed rgb(49,204,255);
		padding:10px;
	}
	
	
	
	span.blue {
		color:rgb(79,97,225);
		font-weight:700;
	}
	
	span.kurai {
		color:rgb(1,102,120);
		font-weight:600;
	}
	
	div#kaiwa img{
		width:70px;
		}
	
	
	
	
	/* アクセシビリティ */
	div#support p {
		display:inline-block;
	}
	div#support {
    position:absolute;
		top:10px;
		left:250px;
	}
	div#support a {
		display:inline-block;
		font-size:0.8em;
		padding:7px 12px;
		border:1px solid #aaddaa;
		background:linear-gradient(white,#bbb);
		text-decoration:none;
		color:#338811;
	}

	
	div#support a:first-child {
		margin-left:20px;
	}
	
	/* アクセシビリティ終わり */
	
	
	
	
	
	
	div#catch {
		width:90%;
		margin:20px 20px;
	}

	nav {
		width:90%;
		margin:0 auto;
	}
	
	#global-nav li:first-child{
		
		height:35px;
		background:rgb(0,128,0);
		color:white;
	}
	
	

	
	
	nav ul {
		width:95%;
	}
	
	nav li {
		width:100%;
		height:35px;
		background:white;
		border:1px solid green;
		margin:7px;
		line-height:35px;
		padding-left:7px;
		transition-duration:.5s;
	}

	
	li a{
		color:rgb(0,128,0);
		display:block;
	}
	
	
	main {
		height:px;
	}
	main p {
		width:95%;
		margin:0 auto;
		padding:10px;
	}
	div#kaiwa img{
		display:inline-block;
		width:80px;
		margin-right:10px;
		}
	
	div#kaiwa {
		background:rgba(187,255,240,0.3);
		border-radius:15px;
		margin:15px;
	}
	div#baba img{
		display:inline-block;
		width:80px;
		margin-right:10px;
		}
	div#baba div#space img{
		width:100%;
	}
	
	div#baba {
		background:rgba(255,255,176,0.5);
		border-radius:15px;
		margin:15px;
	}
	
	
}


/* -------------PC向けデザイン-------------- */

@media screen and (min-width:950px){
	h1,h2,h3 {
		font-size:1.5em;
	}
	
	header {
		width:70%;
		margin:0 auto;
	}

	
	
	main {
		width:70%;
		margin:0 auto;
		border:3px solid rgb(30,153,67);
		position:relative;
	}
	div#top-page-pic {
		width:100%;
		text-align:center;
		/* border-top:3px solid rgb(30,153,67);*/

	}
	
	/* アクセシビリティ */
	div#support p {
		display:inline-block;
	}

	div#support {
		width:20%;
		height:48px;
		position:absolute;
		right:20%;
		top:50px;
	}

	div#support a {
		display:inline-block;
		font-size:1.2em;
		font-weight:900;
		padding:7px 12px;
		border:1px solid #aaa;
		border-radius:5px;
		margin-left:10px;
		background:linear-gradient(white,#bbb);
		text-decoration:none;
		color:#464e95;
	}
	
	/* アクセシビリティ終わり */
	
	
	
	
	div#catch {
		width:60%;
		margin:50px auto;
		padding:10px;
	}
	
	
	/* global-nav */
	nav {
		width:70%;
		margin:0px auto;
	}
	nav li {
		transition-duration:.5s;
	}
	
	
	
	#global-nav li {
		border:3px solid rgb(30,153,67);
		padding:5px;
		margin:0 -4px;
		width:150px;
		height:90px;
		display:inline-block;
		overflow:hidden;
		text-align:center;

	}

	#global-nav li:first-child {
		display:none;
	}

	/* global-nav 終わり */
	
	
	
	/* 目次部分 */
	#mokuji {
		width:95%;
		border:3px solid rgb(30,153,67);
		padding:25px;
		margin:30px auto;
	}

		
	#mokuji ul li {
		list-style-type:none;
	}
	#mokuji ol li {
		list-style-type:none;
	}
	

	
	/* 目次ここまで */


	article {
		margin:0 auto;
		width:95%;
		border:3px solid rgb(30,153,67);
	}
	
	nav a {
		color:rgb(30,153,67);
		display:block;
		height:90px;
	}

	div#space img {
		width:100%;
	}
	
	main {
	height:px;
	padding:30px;
	}
	
	main p {
		width:95%;
		margin:0 auto;
		padding:10px;
	}
	
	ul.footerItem {
	width:60%;
	margin:0 auto;
	}

	
	
	
	
}



	
	

