body{
	color: #333333;
	margin: 0 auto;
	padding:0;
	text-align: center;
	background-color:#ffddbb;
	font-family:'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}

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

/* ulのデフォルト */
ul{
	margin:0;
	padding:0;
	list-style:none;
}
li{
	margin:0;
	padding:0;
}


/* ヘッダー */
header {
	margin:0;
}
header h1 {
	text-align: center;
	margin: 0 auto;

}
header img {
	width:100%;
	max-width:500px;
	box-shadow: 5px 5px 5px 1px #966;
	-moz-box-shadow: 5px 5px 5px 1px #966;
	-webkit-box-shadow: 5px 5px 5px 1px #966;
}

/* メインカラム */
#main {
	width:80%;
	max-width:800px;
	min-width:320px;
	margin: 0 auto;
	background-color:#ffffff;
	border: 1px #ff3300 solid;
	box-shadow: 5px 5px 5px 1px #966;
	-moz-box-shadow: 5px 5px 5px 1px #966;
	-webkit-box-shadow: 5px 5px 5px 1px #966;
}

#main h2{
	font-size:20px;
}
#main p{
	line-height:160%;
}
.column_50{
	width:50%;
	float:left;
}

/* モード */
.mode {
	max-width:320px;
	margin:0 auto;
}
.mode a{
	display:block;
	width:100%;
	height:100px;
	line-height:160%;
	text-align:left;
}
.mode a img{
	width:100px;
	height:100px;
	float:left;
	margin-right:10px;
	border: 1px #ff3300 solid;
}

/* 問題ナンバー */
#status {
	margin: 0 auto;
	height:44px;
	width:80%;
	max-width:800px;
	min-width:320px;
	text-align:left;
}
#status h2 {
	font-size:18px;
	background-color:#ff3300;
	color:#ffffff;
	margin: 0 2px;
	padding-top:8px; 
	width:90px;
	height:33px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border: 2px #ff3300 solid;
	box-shadow: 3px 0px 2px #966;
	-moz-box-shadow: 3px 0px 2px #966;
	-webkit-box-shadow: 3px 0px 2px #966;
	float:left;
	text-align: center;
}
#status p {
	background-color:#ffffff;
	color:#333333;
	margin: 0 2px;
	padding-top:8px; 
	width:110px;
	height:35px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border: 1px #ffddbb solid;
	border-bottom:none;
	box-shadow: 3px 0px 3px #966;
	-moz-box-shadow: 3px 0px 3px #966;
	-webkit-box-shadow: 3px 0px 3px #966;
	float:left;
	text-align: center;
}

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

/* カテゴリリスト */
.category_list{
	margin:0 auto;
	width:100%;
	max-width:640px;
	font-size:20px;
	border: 1px #ff3300 solid;
	border-collapse: collapse;
	text-align: left;
}
.category_list a{
	color:#000000;
	display:block;
	width:100%;
	height:50px;
	line-height: 260%;
}
.category_list td{
	width:33%;
	height:50px;
	border: 1px #ff3300 solid;
}
.category_list td:hover{
	background-color:#ffddbb;
}

/* 漢字リスト */
.kanji_list{
	margin:0 auto;
	width:100%;
	max-width:640px;
	font-size:28px;
	color:#000000;
	line-height: 130%;
	border: 1px #ff3300 solid;
	box-sizing: border-box;
	border-bottom:none;
	text-align:left;
}
.kanji_list li{
	padding:8px 5px 3px 5px;
	border-bottom: 1px #ff3300 solid;
}
.kanji_list li:hover{
	background-color:#ffddbb;
}
.kanji_list li img{
	vertical-align:-10px;
	width:40px;
	height:40px;
}
.kanji_list li span{
	font-size:24px;
}
.kanji_list li .hint{
	font-size:18px;
}


/* 問題 */
.question_text{
	margin:0 auto;
	margin-bottom:2px;
	padding: 6px 0;
	width:300px;
	font-size:46px;
	color:#000000;
	line-height: 130%;
	border: 1px #ff9900 solid;
	background-color: #ffddbb;
	box-shadow: 2px 0px 2px #999;
	-moz-box-shadow: 2px 0px 2px #999;
	-webkit-box-shadow: 2px 0px 2px #999;
}

/* フォーム */
.namein {
	padding: 10px;
	font-size: 24px;
	color:#000099;
	border:solid 1px #ccc;
	width:120px;
	height:30px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.answerin {
	padding: 10px 5px;
	font-size: 22px;
	color:#000099;
	border:solid 1px #ccc;
	width:140px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
input:focus {
	border: 1px #ff3300 solid;
}
.button {
	padding: 15px 5px 13px 5px;
	border:solid 1px #ccc;
	font-size: 18px;
	text-transform:uppercase;
	font-weight:bold;
	color:#333399;
	cursor:pointer;
	-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: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-shadow: 0px -1px 1px rgba(255, 255, 255, 0.8);
}
textarea {
	padding: 10px;
	color:#000099;
	border:solid 1px #ccc;
	width:90%;
	max-width:400px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

/* 次の問題へ */
.pager a{
	display:inline-block;
	height:30px;
	padding:0 10px;
	font-size:18px;
	color:#ffffff;
	padding-top:3px;
	background-color:#ff3300;
	margin:0 auto;
	margin-top:14px;
	border:1px #ff6633 solid;
}

/*--------------------------------------
  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:#ff3300;
	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:#ff3300;
	border-top:1px #cccccc solid;
}

/* 画像の幅 */
img {
	width: auto;
	height: auto;
	max-width: 100%;
	width /***/:auto;　
}


/* 検定モードセレクト */

.mode_select{
	width:320px;
	margin:0 auto;
}
.mode_select a{
	font-size:16px;
	font-weight: bold;
	padding: 6px 6px;
	background-color: #999;
	color: #fff;
	margin:0 2px 5px 2px;
	box-shadow: 2px 2px 3px 1px #666;
	-moz-box-shadow: 2px 2px 3px 1px #666;
	-webkit-box-shadow: 2px 2px 3px 1px #666;
	text-shadow: 1px 1px 2px #000;
	float:left;
	display :block;
}

/* 検定スコア */
.test_score {
	width:50%;
	min-width:320px;
	margin:0 auto;
	float:left;
}
.test_score a{
	margin:5px 0 2px 0;
}
.test_score p{
	width:250px;
	border-bottom:solid 2px #ff3300;
	margin:0 auto;
}

.test_score img{
	width:100px;
}
.test_score p img{
	width:50px;
}

.test_score span{
	font-size:40px;
	color:#ff4400;	
}
/* コメント */
.comment_box {
	width:50%;
	min-width:320px;
	margin:0 auto;
	float:left;
}
.comment{
	list-style-type: none;
	text-align: left;
	width:98%;
	max-width:500px;
	margin:0 auto;
	padding:0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 2px #ff3300 solid;
	font-size:16px;
}
.comment li{
	border-bottom: 1px #ff3300 solid;
}
.comment img{
	vertical-align:-10px;
}
.comment p{
	margin:10px;
}
h3.comm {
	max-width:500px;
	margin:0 auto;
	text-align: left;
}


/* 検定のエンドページ */
.grading{
	width:320px;
	margin:0 auto;
	font-size:20px;
}

.grading img{
	float:left;
}

.result{
	width:100%;
	max-width:640px;
	min-width:320px;
	margin:0 auto;
}


.result_question{
	margin:0 auto;
	margin-bottom:2px;
	padding: 6px 0;
	width:300px;
	font-size:46px;
	color:#000000;
	line-height: 130%;
	border: 1px #ff9900 solid;
	background-color: #ffddbb;
	box-shadow: 2px 0px 2px #999;
	-moz-box-shadow: 2px 0px 2px #999;
	-webkit-box-shadow: 2px 0px 2px #999;
}
.result p{
	margin-top:20px;
	width:100%;
	line-height:100%;
	font-size:32px;
}

/* コメント */
.comment{
	list-style-type: none;
	text-align: left;
	width:98%;
	max-width:500px;
	margin:0 auto;
	padding:0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 2px #ff3300 solid;
	font-size:16px;
}
.comment li{
	border-bottom: 1px #ff3300 solid;
}
.comment img{
	vertical-align:-10px;
}
.comment p{
	margin:10px;
}
h3.comm {
	max-width:500px;
	margin:0 auto;
	text-align: left;
}



/* グローバルメニュー */
.quiz_link{
	width:96%;
	max-width:600px;
	box-sizing: border-box;
	margin: 0 auto;
	text-align: left;
	background:#ff3300;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background:-moz-linear-gradient(top, #ff3300, #ff9966);
	background:-webkit-gradient(linear, left top, left bottom, from(#ff3300), to(#ff9966));
	background: linear-gradient(to bottom, #ff3300, #ff9966);	
}
.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:#eeeeff;
	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;
}

/* 文字の色 */
strong {
	color:#ff3300;
}


/* 広告 */
.ad_home{
	max-width:336px;
	min-height:250px;
	margin:0 auto;
	margin-bottom:5px;
}
.ad_question{
	clear:both;
	max-width:728px;
	min-height:90px;
	margin:0 auto;
	margin-bottom:5px;
}
.ad_answer{
	max-width:728px;
	min-height:90px;
	margin:0 auto;
	margin-bottom:5px;
}
.ad_link_banner img{
	width:320px;
	margin:0 auto;
	margin-bottom:3px;
}
.ad_footer{
	width:670px;
	margin:0 auto;
}
.ad_footer img{
	width:320px;
	margin:0 5px;
}
.ad_category{
	margin:0 auto;
	width:100%;
	max-width:640px;
}

@media screen and (max-width: 640px){
/* メインカラム */
#main {
	background-color:#ffffff;
	width:100%;
	border: 1px #ffddbb solid;
	border-left:none;
	border-right:none;
	box-shadow: 0px 5px 5px 1px #966;
	-moz-box-shadow: 0px 5px 5px 1px #966;
	-webkit-box-shadow: 0px 5px 5px 1px #966;
}

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

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

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

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

/* 検定スコア */
.test_score {
	width:100%;
	float:none;
	margin-bottom:10px;
	text-align: center;
}
/* コメント */
.comment_box {
	width:100%;
	float:none;
}

/* 広告 */
.ad_footer{
	width:320px;
}
.ad_footer img{
	margin:0 auto;
}


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