body{
	color: #003300;
	margin: 0 auto;
	padding:0;
	text-align: center;
	background-color: #b0c4de;
	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:400px;
	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:2px;
	line-height:140%;
	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:2px 0 4px 0;
}


.home_question{
	width:50%;
	float:left;
}
/* チュートリアル */
.tutorial {
	width:96%;
	max-width:520px;
	box-sizing: border-box; 
	margin:0 auto;
	line-height:140%;
	margin-top:10px;
	padding: 0 5px;
	border: 2px #059dfc solid;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
.tutorial_img {
	float:right;
	margin-left:20px;
}
.tutorial p {
	text-align: left;
}
.point{
	width:100px;
	vertical-align:-20px;
}

/* バックナンバー */
.backnumber{
	max-width:660px;
	margin:0 auto;
}
.backnumber img {
	width:100px;
	height:100px;
	margin:2px;
}
.categorys img {
	width:150px;
	height:150px;
	margin:2px;
}
.categorys .text_number, .backnumber .text_number, .backnumber .category_all{
	display:block;
	text-align:center;
	color:#ffffff;
	margin:1px 1px;
	line-height:150%;
	height:30px;
	float:left;
	width:40px;
	background-color:#059dfc;
	box-sizing: border-box;
	border: 2px #6699ff solid;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
 .backnumber .category_all{
	width:82px;
	line-height:180%;
	font-size:13px;
}

/*--------------------------------------
  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:36px;
	width:80%;
	max-width:800px;
	min-width:320px;
	text-align:left;
	line-height:140%;
}
.top_back {
	font-size:18px;
	background-color:#059dfc;
	color:#ffffff;
	margin: 0 2px;
	padding-top:6px; 
	width:100px;
	height:27px;
	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:6px; 
	width:100px;
	height:29px;
	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_foam {
	width:50%;
	min-width:320px;
	text-align:center;
	float:left;
}
.question_foam div{
	margin: 0 auto;
	width: 300px;
	height: 300px;
	font-weight: bolder;
	font-size: 20px;
	border: 1px solid #CCC;
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
         -o-border-radius: 6px;
            border-radius: 6px;
    box-shadow: 0 1px 1px #CCC;
}
.answer_in {
	padding: 10px;
	font-size: 30px;
	color:#000099;
	border:solid 3px #009;
	width:38px;
	height:38px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin-top:118px;
	margin-left: 8px;
}
.answer_in:focus {
	border:solid 1px #009;
	width:40px;
	height:41px;
}
.answer_button {
	width: 160px;
	padding: 6px 5px 5px 5px;
	font-size: 18px;
	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;
}

/* 出題 */
.foam_side{
	width:44%;
	min-width:320px;
	text-align:center;
	float:left;
}
.question{	
	width:100%;
	min-height:300px;
	margin-top:1px;
	margin-bottom:8px;
	font-size:18px;
	box-sizing: border-box; 
	border: 2px #059dfc solid;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
.judge_nav{	
	margin:10px 0;
}
/* 判定 */
.judge {
	margin:0 auto;
	padding:8px; 0;
	text-align: center;
	font-weight: bolder;
	font-size: 20px;
	background:#f0e68c;
	width:80%;
}
/* 出題テキスト */
.question_text {
	margin: 4px 0;
	font-size:28px;
	line-height:140%;
}

/* 答え */
.button_red a{
	margin:0 auto;
	display:block;
	width: 254px;
	height: 70px;
	background: url(img/banner/button_red.png);
	font-size:26px;
	padding-top:3px;
	box-sizing:border-box;
	line-height:220%;
	font-weight: bolder;
}
.answer_box {
	position:relative;
	width:96%;
	max-width:320px;
	font-size:20px;
	box-sizing:border-box; 
	margin:0 auto;
	margin-bottom:8px;
	background:#f0e68c;
	margin-top:6px;
	border: 2px #059dfc solid;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	line-height:140%;
}
.answer_box h3 {
	margin:10px;
}
.answer_box img {
	position:absolute;
	top:0;
	left:0;
	width:80px;
}
.answer_box span {
	font-size:24px;
	color:#3333ff;
	font-weight:bold;
}

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

/* 広告 */
.ad_header{
	width:100%;
	height:280px;
	margin:0 auto;
	margin-bottom:2px;
}
.ad_home{
	width:50%;
	max-width:336px;
	height:auto;
	margin:0 auto;
	margin-top:30px;
	float:left;
}
.ad_home_2{
	margin-top:10px;
	width:100%;
	max-width:520px;
	height:auto;
	margin:0 auto;
}
.ad_question{
	clear:both;
	max-width:728px;
	margin:0 auto;
	margin-top:2px;
}
.ad_category{
	clear:both;
	max-width:728px;
	min-height:90px;
	margin:0 auto;
	margin-bottom:7px;
}
.ad_footer{
	width:670px;
	margin:0 auto;
}
.ad_footer img{
	width:320px;
	margin:0 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;
}
/* チュートリアル */
.tutorial_img {
	float:none;
	margin:0 auto;
}

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

/* 問題ナンバー */
#status h2 {
	font-size:16px;

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

/* 出題フォーム */
.question_foam {
	width:100%;
	float:none;
}
/* 出題 */
.foam_side{	
	width:100%;
	float:none;
}
.question{	
	width:100%;
	margin-top:10px;
	float:none;
	border:0;
	min-height:250px;
}

.answer_box h3 {
	font-size:18px;
}
/* 広告 */
.ad_home{
	width:100%;
	margin:0 auto;
	margin-top:10px;
	float:none;
}
.ad_footer{
	width:320px;
}
.ad_footer img{
	margin:0 auto;
}

.pc {
	display:none;
}

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