@charset "utf-8";

/* Micro clearfix */

.cf { zoom: 1; }
.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }

/* 必要要素の初期設定 */

html {
	 font-size: 62.5%;
}

/* IE7のpadding設定 */
*:first-child+html body {
	padding-left: 1px;
}
 
/* IE6のpadding設定 */
*html body {
	padding-left: 1px;
}

body {
	background:url(../img/bg_body.png) top center repeat-x;
	width: 100%;
	margin: 0 auto;
	text-align:center;
	padding: 0;
	color:#222;
	font-family:Verdana,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

a {
	text-decoration:none;
}
h1, h2, h3, h4, h5, h6 {
	margin:0;
	line-height: 1.1;
	letter-spacing:-1px;
	font-weight:normal;
}
p {
	margin: 0 5px 1.5em 5px;
	color: #444;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
	text-align: left;
}

ul {
	margin: 0;
	padding: 0;
	list-style-position: inside;
	list-style:none;
}

/* ベースレイアウト */

#headerNavi {
    width: 100%;
    background: url(../img/bg_gmenu.png) repeat-x bottom;
    position: fixed;
	top:-33px;
    z-index: 100;
	text-align:center;
	margin:0 auto;
    padding:0;
	height:33px;
}

#headerNavi div.inner {
	margin:0 auto;
	text-align: left;
}

ul#globalNavi {
	margin:9px 0 0 6px;
}

ul#globalNavi li {
	list-style:none;
	font-size:11px;
	font-size:1.1rem;
	float:left;
	width:auto;
	margin-right:5px;
	margin-bottom:1px;
}
ul#globalNavi li a {
	background:url(../img/yajirushi.png) top left no-repeat;
	background-position:3px 6px;
	padding:2px 4px 2px 11px;
	color:#6c2463;
	background-color:#fffdfd;
	border:#e6eae6 solid 1px;
}
ul#globalNavi li a:hover, ul#globalNavi li a:active, ul#globalNavi li a:focus {
	background:url(../img/yajirushi_.png) top left no-repeat;
	background-position:3px 7px;
	padding:2px 4px 2px 11px;
	color:#fdede4;
	background-color:#e29676;
	border:#fef1d1 solid 1px;
	text-decoration:none;
}


#wrapper {
	position: relative;
	top:33px;
	width: 100%;
}
div#common-header {
	height:200px;
	margin:0 auto;
	padding:0;
	text-align: left;
	background:url(../img/bg_title.jpg) top left no-repeat;
}
div#title {
	text-align: left;
	float:left;
	height:185px;
	background:url(../img/bg_title.jpg) top left no-repeat;
}
div#LOGO a img {
	position: absolute;
	top:85px;
	left:5px;
	text-align: left;
	width:220px;
	max-width:220px;
}

#common-contents {
	width: 96%;
	margin: 2em auto 2em;
}
div.main {
	width: 100%;
}

div#footer {
	font-size: 14px;
	font-size: 1.4rem;
	padding-top:30px;
	padding-bottom:40px;
	text-align: center;
	color:#FFF;
	background:url(../img/bg_footer.png) top left repeat-x;
}
div#footer a {
	color:#c0c0ff;
}
div#footer a:hover, div#footer a:active, div#footer a:focus {
	color:#ffff99;
	text-decoration:none;
}
div#footer div {
	margin-bottom:10px;
}

div#smhMenu {
	height:40px;
	line-height:0;
}

/* 画像のスタイル指定 */
	
#common-banner {
	 margin: 0 0 2em;
}
img.adjust {
	 width: 100%;
	 max-width:100%;
	 height: 41px;
	 border: none;
}
img.mainimg {
	 width: 100%;
	 max-width:100%;
	 height: auto;
	 border: none;
	 padding-bottom:10px;
}
/* 各要素のデザイン、レイアウト */

div#common-header h1 {
	position: absolute;
	top:38px;
	left:10px;
	display:block;
	font-size: 13px;
	font-size: 1.3rem;
	text-align:left;
	margin: 0;
	color:#ffe4e1;
	float:none;
}
div.section h2 {
	color:#434343;
	font-size: 18px;
	font-size: 1.8rem;
	text-align:left;
	margin: 0 0 1.2em;
	padding:12px 8px 8px 22px;
	background: url(../img/bg_h2.png) top left no-repeat;
	border-right:#d4d9d6 solid 1px;
	border-bottom:#d4d9d6 solid 1px;
	font-weight:bold;
}
div.section h3 {
	color:#434343;
	font-size: 18px;
	font-size: 1.8rem;
	text-align:left;
	margin: 5px 5px 1.0em 5px;
	padding:0px 8px 10px 21px;
	background: url(../img/bg_h3.png) bottom left no-repeat;
	font-weight:bold;
}
div.main {
	margin: 0 0 1em;
}




div#sideL {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align:center;
}
#sidebar1, #sidebar2 {
	margin-bottom:15px;
}



#adsenseRWD {
	height: auto;
	margin:0 auto 10px;
	padding-top:10px;
	text-align: center;
	max-width:1000px;
}
#adsenseTR {
	width:100%;
	text-align: center;
	padding:15px 0 15px;
	display:block;
}
#adsenseH,#adsenseT,#adsenseF {
	display:none;
}
#adsenseSR {
	padding-top:10px;
	padding-bottom:10px;
	width:300px;
	text-align: left;
}
#adsenseM {
	display: block;
}
#adsenseL {
	text-align:left;
	float: left;
	display:block;
	padding-bottom:20px;
}
#adsenseR {
	text-align: left;
	width: 100%;
	float: left;
	display:block;
}




div.sideMenu1 {
	border:#000080 solid 3px;
	background-color:#000080;
	margin-bottom:5px;
}
div.sideMenu2 {
	border:#6a6aff solid 1px;
}
ul#sidemenu{
    width: 100%;
    margin:0;
    list-style: none;
    min-height: 1px;
    text-align: left;
	line-height:normal;
}

ul#sidemenu li{
    width: 100%; 
    margin:0;
	padding:0;
    color: #666;
	float:left;
}

ul#sidemenu li.space span {
	color:#fff;
	font-size: 1px;
	font-size: 0.1rem;
	display:block;
	height:10px;
}

ul#sidemenu li.home a, ul#sidemenu li.category a{
	background:url(../img/li_side_c.png) bottom right no-repeat;
	color:#fff;
	font-size: 16px;
	font-size: 1.6rem;
	text-decoration:none;
	text-align:left;
	font-weight:bold;
	padding:9px 3px 9px 16px;
	display:block;
	border-top:#000066 solid 1px;
	border-bottom:#0000e4 solid 1px;
	line-height:1.2;
}

ul#sidemenu li.sub a {
	background:url(../img/li_side_s.png) bottom right no-repeat #FFF;
	color:#622d18;
	font-size: 15px;
	font-size: 1.5rem;
	text-decoration:none;
	text-align:left;
	font-weight:bold;
	padding:7px 3px 7px 24px;
	display:block;
	border-bottom:#e8ece9 solid 1px;
	line-height:1.2;
}

#sidemenu li.home a:hover, ul#sidemenu li.home a:active, ul#sidemenu li.home ul a:focus,
ul#sidemenu li.category a:hover, ul#sidemenu li.category a:active,ul#sidemenu li.category a:focus {
	background:url(../img/li_side_c2.png) bottom right no-repeat;
	color:#ffff5f;
}

ul#sidemenu li.sub a:hover, ul#sidemenu li.sub a:active, ul#sidemenu li.sub a:focus {
	background:url(../img/li_side_s2.png) bottom right no-repeat;
	color:#ea5532;
}



/* Media Queries による切り替え */

@media only screen and (min-width: 351px) {

	div#title {
	width:350px;
	max-width:350px;
	}
	div#LOGO a img {
	width:220px;
	max-width:220px;
	}
	
}

@media only screen and (min-width: 630px) {

	#headerNavi {
	display:none;
	}
	#wrapper {
	position:relative;
	top:0px;
	}
	div#common-header {
	height:225px;
	background:url(../img/bg_header.jpg) top right no-repeat;
	padding:0 auto;
	text-align:center;
	}
	div#title {
	text-align: left;
	float:left;
	width:350px;
	height:185px;
	}
	#common-contents {
	width: 98%;
	}
	#adsenseSR {
	text-align:left;
	}
	#adsenseM {
	display: block;
	}
	#adsenseR {
	text-align: center;
	width: 100%;
	}
	div#smhMenu {
	height:0;
	display:none;
	}

}

@media only screen and (min-width: 680px) {

	div#common-header {
	padding:0 auto;
	text-align:center;
	}
	#common-contents {
	width: 98%;
	}
	div.main {
	width: 53%;
	margin: 0 0 1em;
	float: right;
	}
	div#sideL {
	float: left;
	width:300px;
	margin: 0;
	padding: 0;
	display:block;
	}
	#adsenseR {
	text-align:left;
	width: 300px;
	float: left;
	display:block;
	}
}

@media only screen and (min-width: 728px) {

	#common-contents {
	width: 96%;
	margin: 0 auto 2em;
	}
	div.main {
	width: 56%;
	margin: 0 0 1em;
	float: right;
	}
	#adsenseT,#adsenseF {
	width:100%;
	text-align: center;
	padding:15px 0 15px;
	display:block;
	}

}

@media only screen and (min-width: 800px) {

	div.main {
	width: 59%;
	margin: 0 0 1em;
	float: right;
	}
	
}

@media only screen and (min-width: 840px) {
	
	#adsenseH {
	display:block;
	float: right;
	width: 468px;
	margin: 4px 5px 0 0;
	padding: 0;
	}
	div.main {
	width: 61%;
	}

}

@media only screen and (min-width: 900px) {

	#common-contents {
	width: 96%;
	margin: 0 auto 2em;
	}
	div.main {
	width: 64%;
	}
	#sidebar1, #sidebar2 {
	width: 100%;
	padding:0;
	margin-bottom:15px;
	float: none;
	}
	#adsenseT,#adsenseF {
	width:100%;
	text-align: center;
	padding:15px 0 15px;
	display:block;
	}
	#adsenseSR {
	text-align:left;
	}
	#adsenseL {
	text-align:left;
	float: left;
	display:block;
	padding-bottom:20px;
	margin-left:5px;
	}
	#adsenseR {
	text-align:left;
	width: 300px;
	float: left;
	display:block;
	margin-left:10px;
	}
	#adsenseM {
	display: block;
	}

}

@media only screen and (min-width: 1000px) {

	#wrapper {
	background:url(../img/bg_header.jpg) top right no-repeat;
	width: 1000px;
	margin: 0 auto;
	padding: 0;
	}
	div#common-header {
	width:1000px;
	margin:0;
	padding:0;
	text-align:center;
	}
	#common-contents {
	width: 100%;
	margin: 0 auto 2em;
	padding: 0;
	}
	div.main {
	float: right;
	width: 680px;
	padding:0;
	border-bottom: none;
	}
	div#sideL {
	float: left;
	width: 300px;
	margin:0;
	padding: 0;
	display:block;
	}
	
}