body {
	color: #003300;
	margin:0;
	padding:0;
	text-align: center;
	background-color: #b0c4de;
	font-family: verdana,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}

a:link {
	color: #006666;
	font-weight:500;
	text-decoration:none;
}
a:visited {
	color: #666666;
}
a:active {
	color: #003333;
}
a:hover {
	color: #003333;
	text-decoration: underline;
}

#box {
	width: 100%;
	min-width: 320px;
	max-width: 1000px;
	padding: 0;
	margin: 0 auto;
	background-color: #ffffff;
	line-height: 140%;
}

header {
	text-align:left;
	padding: 10px 0;
	background:#585fba;
	border-bottom:1px #eeeeff solid;	
}
header a:link,visited,active,hover {
	text-decoration: none;
}
header h1 {
	font-size: 36px;
	margin: 0;
	padding: 0;
	line-height:100%;
	text-shadow:1px 1px 2px #ffffff,-1px  1px 2px #ffffff,1px -1px 2px #ffffff,-1px -1px 2px #ffffff;	
}
header h1 img {
	margin:0 5px;
	vertical-align:-10px;
	width: 60px;
}

header p {
	float: right;
	text-align: right;
	margin:0 5px;
	color: #333366;
	text-shadow:1px 1px 2px #ddddff,-1px  1px 2px #ddddff,1px -1px 2px #ddddff,-1px -1px 2px #ddddff;
}

/*--------------------------------------
  パンくず
--------------------------------------*/
.pan{
	text-align:left;
	padding:5px;
	box-sizing:border-box;
}

/*--------------------------------------
  ULのデフォルト
--------------------------------------*/
ul, li{
	list-style-type:none;
	padding:0;
	margin:0;
}
/*--------------------------------------
　フッターリンク
--------------------------------------*/
.footer_link {
	width:90%;
	max-width:640px;
	margin:0 auto;
}
.footer_link li {
	float:left;
	width:25%;
	line-height:130%;
	text-align:center;
	height:35px;
	font-size:14px;
	padding:8px 5px 0 5px;	
	background-color:#585fba;
	box-sizing:border-box;
	border-bottom:1px #cccccc solid;
	border-right:1px #cccccc solid;
}
.footer_link li a {
	color:#ffffff;
}
/*--------------------------------------
　コピーライト
--------------------------------------*/
.copyright {
	color:#ffffff;
	font-size:14px;
	margin-top:10px;
	padding:10px 0;
	background-color:#585fba;
	border-top:1px #cccccc solid;
}
/*--------------------------------------
　インフォメーションページ
--------------------------------------*/
.info{
	max-width:640px;
	margin:0 auto;
	padding: 5px 10px;
	box-sizing:border-box;
}
.info h2, .info p{
	text-align:left;
}
.link_banner img{
	width:200px;
	margin:5px;
}

.info input, .info textarea{
	width:300px;
}
/*--------------------------------------
  凡庸ボタン
--------------------------------------*/
.commonplace_button{
	display:block;
	width:90%;
	max-width:400px;
	min-width:300px;
	line-height:160%;
	padding: 5px;
	text-align: center;
	background:#585fba;
	border: 2px #9999cc solid;
	box-sizing:border-box; 
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin: 0 auto;
	margin-top:5px;
	margin-bottom:5px;
}

/*--------------------------------------
  TOPページおすすめ
--------------------------------------*/
#recommended h2 {
	background:#585fba;
	color:#ffffff;
	border-bottom: 2px #585fba solid;
	box-shadow: 5px 5px 10px #333;
	-webkit-box-shadow: 5px 5px 10px #333;
	-moz-box-shadow: 5px 5px 10px #333;
}

#recommended div {
	border: 1px #ccccff solid;
	box-sizing: border-box;
	margin: 6px 0.5%;
	padding: 4px;
	min-width:320px;
	float:left;
	width:32.3%;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	box-shadow: 5px 5px 10px #333;
	-webkit-box-shadow: 5px 5px 10px #333;
	-moz-box-shadow: 5px 5px 10px #333;
	background:#fff;
	background:-moz-linear-gradient(top, #fff, #ddf);
	background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddf));
	background: linear-gradient(to bottom, #fff, #ddf);
	position : relative;
}
#recommended div h3, .category div h2{
	background:#8888bb;
	border-bottom:1px #eeeeff solid;
	margin:0;
	padding:5px 0; 
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
#recommended div h3 a, .category div h2 a{
	color:#ffffff;
}
#recommended div img{
	width:250px;
}
#recommended a{
	color:#ffffff;
	font-weight:bold;
}

.half_3_h320 {
	height:320px;
}
.half_3_h220 {
	height:220px;
}
/*--------------------------------------
  漢字しりとりのテーブル
--------------------------------------*/
.half_3_h320 table{
	margin:0 auto;
	width:200px;
	border-collapse:collapse;
	border: 2px solid #333333;
}
.half_3_h320 table td{
	padding:5px;
	font-size:24px;
	text-align: center;
	vertical-align: middle;
	color: #3333333;
	border: 1px solid #333333;
}
/*--------------------------------------
  カテゴリページ
--------------------------------------*/
.category div {
	border: 1px #ccccff solid;
	box-sizing: border-box;
	margin: 8px 2%;
	padding: 4px;
	width:96%;
	min-width:320px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	box-shadow: 5px 5px 10px #333;
	-webkit-box-shadow: 5px 5px 10px #333;
	-moz-box-shadow: 5px 5px 10px #333;
	background:#fff;
	background:-moz-linear-gradient(top, #fff, #ddf);
	background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddf));
	background: linear-gradient(to bottom, #fff, #ddf);
}
.category div img{
	margin-top:6px;
	margin-right:10px;
	width:300px;
	float:left;
}
.category div p{
	text-align: left;
	margin:5px;
}
.category ul li{
	display:inline-block;
	float:left;
	margin:2px;
	background:#585fba;
	border: 1px #ccccff solid;
	box-sizing: border-box;
	padding: 4px 6px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
.category ul li a{
	color:#ffffff;
}

hr {
	border-top: 1px solid #585fba;
	border-bottom: 1px solid #cccccc;
}

img {
	width: auto;
	height: auto;
	max-width: 100%;
	width /***/:auto;　
}

h2{
	margin:5px 0;
	line-height: 140%;
}

.mobile{
	display:none;
}

/* 広告 */
.ad {
	clear:both;
	margin:0 auto;
	margin-top:7px;
	margin-bottom:7px;
	max-width:990px:
	min-width:320px;
}

/* グローバルメニュー */
.quiz_link{
	width:100%;
	min-width:320px;
	margin: 0 auto;
	text-align: left;
	background:#3333ff;
	background:-moz-linear-gradient(top, #585fba, #9999ff);
	background:-webkit-gradient(linear, left top, left bottom, from(#585fba), to(#9999ff));
	background: linear-gradient(to bottom, #585fba, #9999ff);	
}
.quiz_link h3{
	width:100%;
	margin: 0 auto;
	color:#eeeeff;
	padding-top:10px;
	padding-left:5px;
	border:1px #eeeeff solid;
	border-top:none;
	border-right:none;
}
.quiz_link a, .quiz_link span{
	font-weight: bold;
	color:#ffffff;
	float:left;
	box-sizing: border-box;
	display:block;
	width:25%;
	height:50px;
	font-size:16px;
	padding:10px 5px 5px 5px;	
	margin:0 auto;
	border:1px #eeeeff solid;
	border-top:none;
	border-right:none;
}
.quiz_link img{
	width:32px;
	height:32px;
	vertical-align:-6px;
	margin-right:5px;
}


@media screen and (max-width: 420px){

header h1{
	font-size:26px;
}
header p {
	float: right;
	text-align: left;
	margin: 5px;
	font-size: 16px;
}

.mobile{
	display:block;
}

#recommended div{
	float:none;
	margin:0 auto;
	margin-bottom:10px;
}
}

@media screen and (max-width: 640px){

/*--------------------------------------
　フッターリンク
--------------------------------------*/
.footer_link li {
	width:50%;
}

.category div img{
	margin:0 auto;
	margin-top:6px;
	float:none;
}


#main_menu div{
	float:none;
	margin:0 auto;
	margin-bottom:4px;
}

/* グローバルメニュー */
.quiz_link a,span{
	width:50%;
}
.quiz_link span{
	display:none;
}


}


