body{
	color: #003300;
	margin: 0 auto;
	padding:0;
	text-align: center;
	background:url(img/banner/main.png);
	font-family:'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, 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;
}

/* ヘッダー */
header {
	margin:0;
}
header h1 {
	text-align: center;
	margin: 0 auto;
}
header img {
	width:100%;
	max-width:500px;
	box-shadow: 5px 5px 5px 1px #669;
	-moz-box-shadow: 5px 5px 5px 1px #669;
	-webkit-box-shadow: 5px 5px 5px 1px #669;
}

/* メインカラム */
#main {
	width:80%;
	max-width:800px;
	min-width:320px;
	margin: 0 auto;
	padding-top:5px;
	background-color:#ffffff;
	border: 3px #059dfc solid;
	box-shadow: 5px 5px 5px 1px #669;
	-moz-box-shadow: 5px 5px 5px 1px #669;
	-webkit-box-shadow: 5px 5px 5px 1px #669;
}
#main h2{
	margin:3px 0;
}
.home_question{
	width:50%;
	float:left;
}

/* チュートリアル */
.tutorial {
	width:96%;
	max-width:600px;
	box-sizing: border-box; 
	margin:0 auto;
	margin-top:10px;
	padding: 0 5px;
	border: 2px #059dfc solid;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}

.tutorial p {
	text-align: left;
}
.point{
	width:100px;
	vertical-align:-20px;
}

/* バックナンバー */
.backnumber{
	max-width:680px;
	margin:0 auto;
}
.backnumber img {
	width:100px;
	height:100px;
	margin:2px;
	border: 1px #059dfc solid;
}
.backnumber h3 {
	width:150px;
	font-size:36px;
	padding-top:3px;
	margin:0 auto;
	background-color:#059dfc;
}

.old{
	margin:0 auto;
	width:100%;
	max-width:720px;
}
.old a{
	display:block;
	width:58px;
	height:30px;
	font-size:20px;
	margin:2px;
	border: 1px #059dfc solid;
	float:left;
}


/* カテゴリー */
.categorys img {
	width:150px;
	height:150px;
	margin:2px;
}

/*--------------------------------------
  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:#059dfc;
	box-sizing:border-box;
	border-bottom:1px #ccccff solid;
	border-right:1px #ccccff solid;
}
.footer_link li a {
	color:#ffffff;
}
/*--------------------------------------
　コピーライト
--------------------------------------*/
.copyright {
	color:#ffffff;
	font-size:14px;
	margin-top:10px;
	padding:10px 0;
	background-color:#059dfc;
	border-top:1px #cccccc solid;
}

/* パンくず */
.pan {
	text-align: left;
	margin-left:10px;
}

/* 問題ナンバー */
#status {
	margin: 0 auto;
	height:44px;
	width:80%;
	max-width:800px;
	min-width:320px;
	text-align:left;
}
.top_back {
	font-size:18px;
	background-color:#059dfc;
	color:#ffffff;
	margin: 0 2px;
	padding-top:8px; 
	width:100px;
	height:33px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border: 2px #059dfc  solid;
	box-shadow: 3px 0px 2px #669;
	-moz-box-shadow: 3px 0px 2px #669;
	-webkit-box-shadow: 3px 0px 2px #669;
	float:left;
	text-align: center;
}
.status {
	font-size:16px;
	background-color:#ffffff;
	color:#333333;
	margin: 0 2px;
	padding-top:8px; 
	width:100px;
	height:35px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border: 1px #96d994 solid;
	border-bottom:none;
	box-shadow: 3px 0px 3px #669;
	-moz-box-shadow: 3px 0px 3px #669;
	-webkit-box-shadow: 3px 0px 3px #669;
	float:left;
	text-align: center;
}

/* 出題フォーム */
.question_img {
	width:50%;
	min-width:320px;
	margin:0 auto;
	text-align:center;
	float:left;
}
.question_img input{
	padding: 10px;
	background:#059dfc;
	color:#ffffff;
	border:solid 1px #009;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.question_img p {
	margin:4px;
	font-size:14px;
}

.answer_in {
	padding:6px 10px;
	font-size: 30px;
	color:#000099;
	border:solid 3px #009;
	width:100px;
	height:38px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.answer_in:focus {
	border:solid 1px #009;
	width:100px;
	height:41px;
}
.answer_button {
	width: 140px;
	padding: 17px 5px 12px 5px;
	font-size: 20px;
	font-weight:bold;
	color:#ffffff;
	cursor:pointer;
	background:#000099;	/* デフォルト */
	background:-moz-linear-gradient(top, #000099, #059dfc);	/* Safari,Chrome */
	background:-webkit-gradient(linear, left top, left bottom, from(#000099), to(#059dfc));/* Firefox */
	background: linear-gradient(to bottom, #000099, #059dfc);	/* ie10 */

	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
/* 判定 */
.judge {
	margin: 5px 0;
	text-align: center;
	font-weight: bolder;
	font-size: 20px;
}
/* 出題 */
.question{	
	width:50%;
	min-width:320px;
	text-align:center;
	margin-top:20px;
	float:left;
}

/* 答え */
.button_red a{
	margin:0 auto;
	display:block;
	width: 254px;
	height: 70px;
	background: url(img/banner/button_red.png);
	line-height: 230%;
	font-size:28px;
	font-weight: bolder;
}

/* 次の問題へ */
.pager a{
	display:inline-block;
	height:30px;
	padding:0 10px;
	padding-top:3px;
	font-size:18px;
	line-height:150%;
	color:#ffffff;
	background-color:#059dfc;
	margin:0 auto;
	border:1px #6666ff solid;
}
/* カテゴリーナビ */
.category_nav a{
	display:block;
	width:170px;
	height:30px;
	padding:0 10px;
	padding-top:3px;
	font-size:18px;
	line-height:150%;
	color:#ffffff;
	background-color:#059dfc;
	margin:0 auto;
	border:1px #ffffff solid;
}

/* 答えのページ */
.question_word {
	width:320px;
	margin:0 auto;
}
.question_word span{
	display:inline-block;
	border: 1px #059dfc solid;
	width:60px;
	margin:2px;
	font-size: 32px;
	font-weight: bolder;
}

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

/* 広告 */
.ad_home{
	width:50%;
	max-width:336px;
	height:auto;
	margin:0 auto;
	margin-top:30px;
	float:left;
}
.ad_question{
	clear:both;
	max-width:728px;
	min-height:90px;
	margin:0 auto;
	margin-bottom:5px;
}
.ad_category{
	clear:both;
	max-width:728px;
	min-height:90px;
	margin:0 auto;
	margin-bottom:5px;
}

.pc {
	display:inline-block;
}

/* グローバルメニュー */
.quiz_link{
	width:96%;
	max-width:600px;
	box-sizing: border-box;
	margin: 0 auto;
	text-align: left;
	background:#059dfc;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background:-moz-linear-gradient(top, #059dfc, #6666ff);
	background:-webkit-gradient(linear, left top, left bottom, from(#059dfc), to(#6666ff));
	background: linear-gradient(to bottom, #059dfc, #6666ff);
}
.quiz_link h3{
	width:100%;
	margin: 0 auto;
	color:#eeffee;
	padding-top:10px;
	padding-left:5px;
	border:1px #eeffee solid;
	border-top:none;
	border-right:none;
}
.quiz_link a, .quiz_link span{
	font-weight: bold;
	color:#eeffee;
	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 #eeffee 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: 640px){
/* メインカラム */
#main {
	background-color:#ffffff;
	width:100%;
	border: 1px #9999ff solid;
	border-left:none;
	border-right:none;
	box-shadow: 0px 5px 5px 1px #669;
	-moz-box-shadow: 0px 5px 5px 1px #669;
	-webkit-box-shadow: 0px 5px 5px 1px #669;
}

.home_question{
	width:100%;
	float:none;
}

.old{
	width:320px;
}

/*--------------------------------------
　フッターリンク
--------------------------------------*/
.footer_link li {
	width:50%;
}
/* 問題ナンバー */
#status h2 {
	font-size:16px;

}
#status p {
	font-size:16px;
	width:100px;
}

/* 出題フォーム */
.question_img {
	width:100%;
	float:none;
}
/* 出題 */
.question{	
	width:100%;
	margin-top:5px;
	float:none;
}
/* 判定 */
.judge {
	font-size: 20px;
}

/* 広告 */
.ad_home{
	width:100%;
	margin:0 auto;
	margin-top:10px;
	float:none;
}
.pc {
	display:none;
}

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