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;
	word-break: break-all;
}

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

}

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

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

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

/* モードセレクト */
.mode {
	width:48%;
	min-width:300px;
	margin:0 auto;
	margin:0 1%;
	text-align:left;
	float:left;
}
.mode img{
	vertical-align:-15px;
	margin-right:2px;
}
.mode span{
	color:#ff3300;
	padding-right:6px;
	letter-spacing:-3px;
	font-weight: bold;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	font-size:30px;
	border: 3px #ff3300  solid;
	
}
.mode a {
	display:block;
	margin-left:10px;
	height:50px;
	border-bottom: 1px #96d994 solid;
}
.mode a:hover {
	background-color:#ccffcc;
	border-bottom: 1px #009900 solid;
}
.mode a img{
	height:50px;
	float:left;
}

/* バックナンバー */
.back_number {
	width:96%;
	max-width:600px;
	margin:0 auto;
	margin-top:18px;
	text-align: left;
	line-height:120%;
}
.back_number strong{
	color:#ffffff;
	background-color:#009900;
	display:block;
	width:50%;
	height: 35px;
	line-height:160%;
	text-align:center;
	box-sizing:border-box;
	border-bottom:1px #cccccc solid;
	border-right:1px #cccccc solid;
}
.back_number a:link{
	color:#ffffff;
	background-color:#009900;
	text-align: center;
	display:block;
	width:10%;
	height:20px;
	float:left;
	box-sizing:border-box;
	border-bottom:1px #cccccc solid;
	border-right:1px #cccccc solid;
}
.back_number a:visited	{
	background-color:#ccffcc;
}

/* 問題ナンバー */
#status {
	margin: 0 auto;
	height:36px;
	width:80%;
	max-width:800px;
	min-width:320px;
	text-align:left;
}
#status h2 {
	font-size:16px;
	background-color:#009900;
	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 #009900  solid;
	box-shadow: 3px 0px 2px #696;
	-moz-box-shadow: 3px 0px 2px #696;
	-webkit-box-shadow: 3px 0px 2px #696;
	float:left;
	text-align: center;
}
#status p {
	font-size:15px;
	background-color:#ffffff;
	color:#333333;
	margin: 0 2px;
	padding-top:6px; 
	width:105px;
	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 #696;
	-moz-box-shadow: 3px 0px 3px #696;
	-webkit-box-shadow: 3px 0px 3px #696;
	float:left;
	text-align: center;
}


/* 問題 */
.question_main {
	width:50%;
	text-align:center;
	float:left;
	line-height:140%;
}
.tab_230{
	margin:0 auto;
	width:230px;
	height:117px;
	background:url(img/banner/tab_230.png);
	background-repeat:no-repeat;
	background-position:center;
	font-size:86px;
	line-height: 150%;
}
.ruby{
	text-align:center;
	letter-spacing:20px;
	margin:0;
}
.tab_230 span{
	color:#333333;
	margin-left:18px;
	letter-spacing: 20px;
}

.hint{
	width:320px;
	text-align:left;
	margin:0 auto;
	font-size:20px;
}
.hint img{
	float:left;
}
.hint span{
	padding-top:6px;
	display:block;
}

/* 択一 */
.select{	
	width:50%;
	text-align:center;
	margin:0 auto;
	margin-top:20px;
	float:left;
}
.cursor{
	width:150px;
	text-align:right;
	float:left;
}
.parts{
	width:170px;
	float:left;
}
.select a{
	color:#333333;
	text-align:center;
	font-size:50px;
	line-height: 160%;
	margin:5px;
	height:75px;
	width:75px;
	background:url(img/banner/tab_mini.png);
	float:left;
}

/* 答え */
.answer {
	max-width:640px;
	margin:0 auto;
}
.answer p{
	text-align:left;
	font-size:20px;
	margin-top:0;
}
.answer img{
	float:left;
	margin-right:10px;
}

/* フォーム */
.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 {
	background-color:transparent;
	margin:2px;
	padding:10px;
	width:90px;
	height:91px;
	color:#000099;
	border:solid 1px #ccc;
	float:left;
	font-size:70px;
}
.answerin_span{
	margin:0;
	width:114px;
	float:left;
}

input:focus {
    border:solid 1px #000099;
}
.button {
	padding: 15px 5px 13px 5px;
	border:solid 1px #ccc;
	font-size: 18px;
	text-transform:uppercase;
	font-weight:bold;
	color:#333399;
	cursor:pointer;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#aaa));
	background-image: -webkit-linear-gradient(top, #ddd, #aaa);
	background-image: -moz-linear-gradient(top, #ddd, #aaa);
	background-image: -ms-linear-gradient(top, #ddd, #aaa);
	background-image: -o-linear-gradient(top, #ddd, #aaa);
	background-image: linear-gradient(top, #ddd, #aaa);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#aaa',GradientType=0 ); /* IE6-9 */
	-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);
}


/* 次の問題へ */
.pager a{
	display:block;
	width:160px;
	height:30px;
	font-size:18px;
	color:#ffffff;
	padding-top:3px;
	background-color:#009900;
	margin:0 auto;
	margin-top:14px;
	border:1px #009900 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:#009900;
	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:#009900;
	border-top:1px #cccccc solid;
}

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

/* エンドページ */
.end {
	max-width:580px;
	margin:0 auto;
}

/* 検定トップ */
.test_mode{
	width:50%;
	float:left;
}
.mode_select {
	width:270px;
	margin:0 auto;
}
.mode_select a{
	width:84px;
	margin:0 3px;
	font-size:16px;
	display:block;
	height:24px;
	line-height:120%;
	padding:2px;
	text-align:center;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	text-decoration: none;
	border: 1px #669966 solid;
	box-sizing:border-box;
	color:#ffffff;
	background:#339933;
	float:left;
}


/* 検定スコア */
.test_score {
	width:50%;
	min-width:320px;
	margin:0 auto;
	float:left;
}
.test_score a{
	margin:10px 0 0 0;
	color:#ff3300;
	padding-right:6px;
	letter-spacing:-3px;
	font-weight: bold;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	font-size:30px;
	border: 3px #ff3300 solid;
}

.test_score img{
	vertical-align:-10px;
}
.test_score span{
	font-size:40px;
	color:#ff4400;	
}

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

.grading img{
	float:left;
}

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

.result_question{
	width:150px;
	height:152px;
	background:url(img/banner/tab_150.png);
	font-size:60px;
	color:#000000;
	line-height: 130%;
	letter-spacing:7px;
	margin-left:8px;
	text-align: center;
	float:left;
}
.result p{
	margin:10px 10px 0 0;
	width:150px;
	height:190px;
	line-height:170%;
	float:left;
	font-size:32px;
}

/* コメント */
.comment_foam textarea{
	width:98%;
	max-width:500px;
	margin:0 auto;
}

.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 #96d994 solid;
	font-size:16px;
}
.comment li{
	border-bottom: 1px #96d994 solid;
}
.comment img{
	vertical-align:-10px;
}
.comment p{
	margin:10px;
}
h3.comm {
	max-width:500px;
	margin:0 auto;
	text-align: left;
}

/* クイズリンク */
.quiz_link img{
	width:15px;
	height:15px;
	vertical-align:-2px;
	margin-right:5px;
}

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


/* 広告 */
.ad_home{
	clear:both;
	max-width:728px;
	min-height:90px;
	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;
}
.end_home{
	clear:both;
	max-width:728px;
	min-height:90px;
	margin:0 auto;
	margin-bottom:5px;
}
.ad_category_top{
	width:50%;
	margin:0 auto;
	float:left;
}
.ad_test_home{
	color:#666666;
	width:50%;
	margin:0 auto;
	float:left;
	font-size:14px;
}
.ad_link_banner a{
	margin:0;
	padding:0;
	border:none;	
}

.ad_link_banner img{
	margin:0 auto;
	margin-bottom:3px;
}


/* グローバルメニュー */
.quiz_link{
	width:96%;
	max-width:600px;
	box-sizing: border-box;
	margin: 0 auto;
	text-align: left;
	background:#009900;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background:-moz-linear-gradient(top, #009900, #22bb22);
	background:-webkit-gradient(linear, left top, left bottom, from(#009900), to(#22bb22));
	background: linear-gradient(to bottom, #009900, #22bb22);	
}
.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 #ccffcc 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;
}
/* モード */
.mode {
	width:300px;
	margin:0;
	float:none;
}
/* バックナンバー */
.back_number strong{
	width:50%;
	height:35px;
}
.back_number a:link{
	width:20%;
	height:20px;
}

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

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

/* 問題 */
.question_main {
	width:100%;
	float:none;
}
.select {
	width:320px;
	margin-top:3px;
	float:none;
}

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

/* エンドページ */
.result_question{
	margin-left:10px;
}

.result{
	width:100%;
	min-width:320px;
}

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

/* 検定スコア */
.test_score {
	width:100%;
	float:none;
	margin-bottom:10px;
	text-align: center;
}
/* コメント */
.comment_box {
	width:100%;
	float:none;
}
/* グローバルメニュー */
.quiz_link a, .quiz_link span{
	width:50%;
}
.quiz_link span{
	display:none;
}
/* 広告 */
.ad_category_top, .ad_test_home{
	width:100%;
	float:none;
}

}