/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
/*
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
*/

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
background-color:#E2C738;
color:#333333;
font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',Meiryo, メイリオ, sans-serif;
}
a {
	color: #000080;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}

/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #000;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}

/* reset webkit search input styles */
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 1216px;
	margin: 0 auto;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	height: 160px;
}

/* site logo */
#site-logo {
	position: absolute;
	top: 10px;
}
#site-logo a {
	font: bold 30px/100% Arial, Helvetica, sans-serif;
	color: #ffffff;
	text-decoration: none;
}

/* site description */
#site-description {
	font: italic 100%/130% "Times New Roman", Times, serif;
	color: #ffffff;
	position: absolute;
	top: 55px;
}

/* searchform */
#searchform {
	position: absolute;
	right: 10px;
	bottom: 6px;
	z-index: 100;
	width: 160px;
}
#searchform #s {
	width: 140px;
	float: right;
	background: #ffffff;
	border: none;
	padding: 6px 10px;
	/* border radius */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	/* transition */
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#main-nav {
	width: 100%;
	background: #ccc;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
	/* gradient */
	background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
	background: -moz-linear-gradient(top,  #b9b9b9,  #6a6a6a);
	background: linear-gradient(-90deg, #b9b9b9, #6a6a6a);
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 10px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #ffffff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#main-nav a:hover {
	color: #ffffff;
	background: #474747;
	/* gradient */
	background: -webkit-gradient(linear, left top, left bottom, from(#282828), to(#4f4f4f));
	background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
	background: linear-gradient(-90deg, #282828, #4f4f4f);
}

/************************************************************************************
CONTENT
*************************************************************************************/
#content {
	background: #ffffff;
	margin: 25px 0 30px;
	padding: 0px 35px 20px;
	width: 780px;
	float: right;
}

#content-c {
	background: #ffffff;
	margin: 0px auto;
	padding: 0px 35px 20px;
	width: 780px;

}

/* post */
.post {
	margin-bottom: 40px;
}
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 20px/120% Arial, Helvetica, sans-serif;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}

/* post image */
.post-image {
	margin: 0 0 15px;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {

	width: 336px;
	float: left;
	text-align:left;
	margin: 25px 0px;
}


/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	clear: both;
	color: #ccc;
	font-size: 85%;
}
#footer a {
	color: #ffffff;
}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }





/************************************************************************************
Head Menu
*************************************************************************************/

#h_outline{
/*
background-color:#33363b;
*/

}

h1{

font-size:25px;
color:#111;
margin:10px 0px 10px;

/*
	-webkit-text-fill-color: #ffffff;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #ffffff;
*/
}

#head_navi{
margin-top:0px;
text-align:center;
padding:10px 0px;
color:#ffffff;
background-color: #111;
font-weight:bold;
}

#head_navi a{
color:#ffffff;
text-decoration:none;
padding:15px 22px;
}

#head_navi a:hover{
color:#3b8dbd;
}


#head_navi strong{
color:#E2C738;
padding:15px 22px;
margin:0px 2px;
}

#head_navi_belt{
background-color:#25272a;
text-align:center;
padding:30px 0px 10px;
}

#h_description{
padding:40px 10px 0px;
}

#multiHeadBox{
width:550px; padding:5px;
line-height:16pt;
float:right;
position:relative;
margin-top:-130px;
margin-right:30px;
background-color: #ffffff;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
}

/************************************************************************************
Copy
*************************************************************************************/

#copy{
line-height:16pt;
color:#ffffff;
background-color:#25272a;
text-align:center;
padding:10px;
margin-top:30px;
}
#copy a{color:#ffffff; margin:0px 20px;}
#copy a:hover{color:#3b8dbd; margin:0px 20px;}



/************************************************************************************
home
*************************************************************************************/

#home_nedoko_title{margin:10px 0px 30px;}
#home_nedoko_title strong{font-size:25px;}

#loading{text-align:center;}
div.morebox a{display:block; border:solid 1px #ccc; background-color:slategray; color:#ffffff; text-align:center; padding:10px;}

#sp{clear:both;}
.sp{clear:both;}

#corner_top_img{height:200px; background-position: center; margin-top:10px;}
#corner_top_txt{
color:#ffffff;
background-color:#111;
padding:5px;
text-align:center;
margin:-40px 0px 70px;
filter:alpha(opacity=70);
-moz-opacity: 0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
}
#all_list{line-height:25px;}
#photoframe{background-image:url('../gif/waku.gif'); background-position: right bottom; border-width:0px; padding:10px 13px 23px 10px; margin:0px 15px 15px 0px;}
#photoframe img{margin:12px 15px 22px 12px; border:solid 1px #cccccc;}


/* left menu */

#leftFix{text-align:center; background-color:#ffffff;}

#homeLeft a{display:block; padding-left:80px; margin:0px auto 10px; width:218px; border:solid 1px #ccc; background-color:#fafafa; text-align:left; font-size:13px; background-position:5px center; background-repeat: no-repeat; color:#111; text-align:left;}

#homeLeft a span{font-weight:bold; color:#ff8c00;}


/*
#homeLeft div{ margin-bottom:10px; background-repeat:no-repeat; background-position:5px 50%; cursor:pointer; border:solid 1px #ccc; text-align:left;}
#homeLeft div:hover{text-decoration:underline; position:relative;}
#homeLeft div div{margin-left:80px; padding:5px;}
#homeLeft a.tt{font-weight:bold; color:#ff8c00;}
*/


#contentsLeft{text-align:center;}
#contentsLeft a{display:block; padding-left:80px; border:solid 1px #ccc; width:218px; background-color:#fafafa; text-align:left; margin:0px auto 10px; font-size:13px; background-position:5px center; background-repeat: no-repeat; height:80px; line-height:80px; text-align:left;}

#contentsLeft span{font-weight:bold;}
#contentsLeft b{display:block; color:#ff8c00; padding-left:80px; border:solid 1px #ccc; background-color:#fff0f5; text-align:left; margin:0px auto 10px; background-position:5px center; background-repeat: no-repeat; height:80px; line-height:80px; width:218px;}



hr{border-width:1px 0px 0px 0px; border-style:dashed; border-color:#C8B032; height:1px; clear:both;}
hr.end{margin-bottom:50px;}
#badge{width:30px; height:150px; position:fixed; top:200px; right:0px;}


#g_728x15{
width:728px;
margin:15px auto;
clear:both;
}

#g_468x15{
width:468px;
margin:15px auto;
clear:both;
}

#g_300x250{
width:300px;
margin:0px auto 10px; 
}

#g_336x280{
width:336px;
margin:0px auto 10px; 
}

#g_728x90{
width:728px;
margin:15px auto;
}

#g_468x60{
width:468px;
margin:15px auto;
}

#g_336x280_fix{
width:336px;
margin:15px auto;
}


#sp_line{clear:both; height:30px;}

#caution{
clear:both; 
text-align:center;
padding:4px 0px;
font-weight:bold;
background-color:#111;
}

a.nyroModal img{border:none; background-image:url('../img/waku.gif'); background-position: right bottom;
padding:12px 15px 22px 12px;
margin:0px 20px 20px 20px;}

fieldset{
margin:15px 0px;
padding:5px;
border: 1px dashed #C8B032;
}
legend{font-weight:bold; background-color:#ffffff;}
.answer{font-weight:bold; text-align:center; color:orangered; font-size:20px;}

p.ky{margin-top:20px; clear:both; color:#888; font-style:italic;}

#form_h{width:150px; background-color:#111111; font-weight:bold; padding:5px; color:#ffffff;}
#form_d{ background-color:#e6e6fa; padding:5px;}
#form_hs{ background-color:#4169e1; font-weight:bold; padding:5px; color:#ffffff; text-align:center;}
#form_ds{ background-color:#e6e6fa; padding:5px; text-align:center;}
#jsb{ background-color:#193264; padding:5px; color:#ffffff;}

#badge1{width:30px; height:120px; position:fixed; top:250px; right:0px;}
#badge2{width:30px; height:120px; position:fixed; top:250px; left:0px;}
#badge3{width:30px; height:120px; position:fixed; top:500px; left:0px;}

#komugi_menu{ width:300px; margin:0px auto; text-align:center;}
#komugi_menu dd{ text-align:center;}

/*-----------------------------------------------------------------------------------------*/
#root_tbl td{font-weight:bold; font-size:20px;}
/*-----------------------------------------------------------------------------------------*/
#heron_tbl td{padding:5px;}
#heron_tbl input{text-align:right; width:60px;}
#heron_tbl .hd{background-color:#deb887; text-align:center; font-weight:bold;}
#heron_tbl .gs{background-color:#ffefd5; text-align:right;}
#heron_tbl .ks{background-color:#eee8aa; text-align:right;}
#heron_tbl .err{background-color:mistyrose; font-weight:bold; color:orangered; text-align:right;}
/*-----------------------------------------------------------------------------------------*/
/*---left start-----------------------------------------------------------------------------------*/

#left{text-align:left;}
#lang{text-align:center; font-weight:bold; background-color:#111; padding:10px;}
#lang a{margin:5px; color:#ffffff; white-space:nowrap;}
#lang strong{margin:5px; color:#E2C738; white-space:nowrap;}
#left ul {
margin: 10px 0px;
padding: 5px 15px;
list-style: none;
}

#left li ul {
padding-bottom: 5px;
}

#left li {
padding:3px 0px;
border-bottom: 1px dashed #C8B032;
}

#left h3 {
margin-top:20px; margin-bottom:10px;
letter-spacing: -.5px;
color: #181818;
}

#left a {
border: none; text-decoration: none;
}

#left a:hover {
text-decoration: underline;
}

/************************************************************************************
Komugi
*************************************************************************************/

#photoTile{
width:230px; height:300px; text-align:center; float:left; border:solid 1px #ccc; margin:5px;
background-color:#ffffff;
}
#framedTypeA{border:solid 5px #ccc; margin-top:30px;}
#framedTypeB{border:solid 5px #ccc; margin-top:10px;}
div.caption{margin:0px 10px;}

#photoLeftA{
float:left; width:230px;
text-align:center;
border:solid 1px #ccc; margin:5px 15px 5px 5px;
background-color:#ffffff;
}
#photoRightA{
float:right; width:230px;
text-align:center;
border:solid 1px #ccc; margin:5px 5px 5px 15px;
background-color:#ffffff;
}
#photoLeftB{
float:left; width:180px;
text-align:center;
border:solid 1px #ccc; margin:5px 15px 5px 5px;
background-color:#ffffff;
}
#photoRightB{
float:right; width:180px;
text-align:center;
border:solid 1px #ccc; margin:5px 5px 5px 15px;
background-color:#ffffff;
}
div.gClear{clear:both; height:20px;}
/************************************************************************************
Media Query
*************************************************************************************/

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

	#h_outline{}
	h1{fon-size:20px;}

	#head_navi{
	margin-top:0px;
	text-align:left;
	padding:10px 0px;
	}

	#head_navi a{
	line-height:30px;
	margin:10px 2px;
	padding:5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	text-wrap:suppress;
	}

	#head_navi strong{
	margin:0px 2px;
	padding:5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	text-wrap:none;
	}
	
	#head_navi_belt{display:none;}
}


dt{font-weight:bold;}


#qTable td.bld{
font-weight:bold;
font-size:20px;
}

#qLine{
width:330px;
margin:10px;
text-align:left;
float:left;
white-space:nowrap;
height:40px;
padding:5px 0px;
}


span.num{
width:30px;
float:left;
margin:0px 30px;
font-weight:normal;
}

span.eachQ{
font-weight:bold;
font-size:20px;
}

input.qAnswer{
font-weight:bold;
font-size:20px;
width:70px;
}

input.rAnswer{
font-weight:bold;
font-size:20px;
width:70px;
border:none;
padding:1px;
}
