@charset "utf-8";

/*-----------------------------------------------
 main
-----------------------------------------------*/

body{
	min-width: 1000px;
	background-color: #0c0c0c;
	background-image: url(/okonomi/common/img/bg.png);
	font-size: 14px;
}

/* clearfix */

.clearfix:after {
	content: "."; 
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	min-height: 1px;
}

* html .clearfix {
	height: 1px;
	/*¥*//*/
	height: auto;
	overflow: hidden;
	/**/
}

/* link */

a,
a:link,
a:visited{
	color: #9b0000;
	text-decoration: underline;
}

a:hover{
	text-decoration: none;
}

/*-----------------------------------------------
 汎用
-----------------------------------------------*/

.mb10{
	margin-bottom: 10px;
}
.mb20{
	margin-bottom: 20px;
}
.mb30{
	margin-bottom: 30px;
}
.mb40{
	margin-bottom: 40px;
}

/*-----------------------------------------------
 header
-----------------------------------------------*/

div#header{
	width: 100%;
	height: 491px;
}

div#header div.header-bar{
	width: 100%;
	min-width: 1000px;
	height: 50px;
	border-bottom: 1px solid #666;
	background: #000;
}

div#header div.header-bar div.inner{
	position: relative;
	width: 1000px;
	margin: 0 auto;
}

div#header div.header-bar div.inner div.logo{
	margin-left: 50px;
}

div#header div.keyvisual h1{
	text-align: center;
}

div#header div.keyvisual div{
	text-align: center;
}

/* グローバルナビ */

div#gnav{
	width: 100%;
	height: 50px;
	background-image: url(/okonomi/common/img/bg-gnav.png);
	background-position: center top;
	background-repeat: no-repeat;
}

div#gnav ul{
	width: 573px;
	margin: 0 auto;
}

div#gnav ul li{
	float: left;
	height: 50px;
}

div#gnav ul li.top{
	width: 127px;
	margin-right: 20px;
}

div#gnav ul li.program{
	width: 103px;
	margin-right: 20px;
}

div#gnav ul li.corner{
	width: 134px;
	margin-right: 20px;
}

div#gnav ul li.mail{
	width: 138px;
}

div#gnav ul li a:hover{
	opacity: 0.7;
	
}

/*-----------------------------------------------
 footer
-----------------------------------------------*/

div#footer{
	width: 100%;
	min-width: 1000px;
	height: 157px;
	padding-top: 20px;
	background-color: #000;
	border-top: 1px solid #b78330;
}

div#footer p{
	color: #fff;
	font-size: 12px;
	text-align: center;
}


/*-----------------------------------------------
 contents
-----------------------------------------------*/

div#wrapper{
	width: 1000px;
	min-height: 300px;
	padding: 30px 0 50px 0;
	margin: 0 auto;
	background: url(/okonomi/common/img/wrapper-bg.jpg) center top repeat-y;
}

div#contents{
	float: left;
	width: 640px;
}

/* 記事 */

#contents section {
	width: 578px;
	margin: 0 auto 40px;
	border: 2px solid #572608;
	background-color: rgba(255, 255, 255, 0.8);
}

div#contents div.post{
	margin: 2px;
	padding: 0 0 20px 0;
	border: 1px solid #572608;
}

div#contents div.post div.head{
	padding: 20px 30px 0 30px;
}

div#contents div.post h2.title{
	margin: 0 -0 15px -0;
	padding: 0 10px 20px 10px;
	color: #054f05;
	font-size: 18px;
	font-weight: bold;
	background: url(/okonomi/common/img/bg-ti.png) left bottom no-repeat;
	background-size: 100% auto;
}

div#contents div.post h2.title a{
	color: #054f05;
	font-weight: bold;
}

div#contents div.post div.body{
	padding: 0 30px;
	margin-bottom: 20px;
}

div#contents div.post div.body p{
	padding: 0 10px 20px 10px;
	line-height: 1.5;
}

div#contents div.post div.foot{
	padding: 0 30px;
}

div#contents div.post div.foot p{
	text-align: right;
}

div#contents div.post p{
	color: #000;
	font-size: 13px;
}

div#contents ul.pagenav{
	width: 580px;
	margin: 0 auto 20px;
}

div#contents ul.pagenav li.next{
	float: left;
	width: 290px;
}

div#contents ul.pagenav li.back{
	float: right;
	width: 290px;
	text-align: right;
}

/* サイドバー */

div#aside{
	float: right;
	width: 360px;
}

div#aside div.box{
	width: 312px;
	margin: 0 auto 20px;
}
div#aside div.box h2{
	margin: 0 auto 6px;
}

div#aside p,
div#aside ul li{
	padding-left: 30px;
	color: #000;
	font-size: 13px;
	line-height: 1.5;
}

div#aside a,
div#aside a:link,
div#aside a:visited{
	color: #000;
}

/* ページ */

div#wrapper div.page{
	margin: 2px;
	padding: 0 0 20px;
	border: 1px solid #572608;
}

div#wrapper div.page div.head{
	padding: 20px 30px 0 30px;
}

div#wrapper div.page div.body{
	padding: 0 30px;
}
div#wrapper div.page div.body p{
	padding: 0 10px 20px 10px;
}

div#wrapper div.page h1{
	margin: 0 -0 15px -0;
	padding: 0 10px 20px 10px;
	color: #054f05;
	font-size: 18px;
	font-weight: bold;
	background: url(/okonomi/common/img/bg-ti.png) left bottom no-repeat;
	background-size: 100% auto;
}

div#wrapper div.page h2{
	padding: 0 0 5px 0;
	margin-bottom: 5px;
	line-height: 20px;
	color: #572608;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px dotted #572608;
}
div#wrapper div.page h2:before {
	content: " ";
	padding: 0px 5px 0px 0;
	border-left: 3px solid #572608;
}
div#wrapper div.page h3 {
	color: #572608;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px dotted #572608;
}

div#wrapper div.page h4 {
	color: #572608;
	font-size: 16px;
	font-weight: bold;
}

div#wrapper div.page div.body p{
	line-height: 1.5;
}

div#wrapper div.page{

}

div#wrapper div.page p{
	color: #000;
}

/* お問い合わせ */

.wpcf7-form p{
	margin-bottom: 20px;
}

.wpcf7-form input[type="text"]{
	width: 500px;
	margin: 0 5px 0 0;
	padding: 3px;
	line-height: 20px;
	background-color: rgba(255, 255, 255, 0.8);
	border: 1px solid #ccc;
	color: #000;
	font-size: 13px;
}

.wpcf7-form textarea {
	width: 500px;
	margin: 0 0 10px;
	padding: 3px;
	line-height: 20px;
	background-color: rgba(255, 255, 255, 0.8);
	border: 1px solid #ccc;
	color: #000;
	font-size: 13px;
}

.wpcf7-form span.wpcf7-not-valid-tip{
	border: 1px solid #c25a5a;
	background: #ffdde3;
	color: #ff254e;
}

.wpcf7-form div.wpcf7-response-output{
	margin: 0;
	padding: 10px;
	border: 1px solid #c25a5a;
	color: #ff254e;
	background: #ffdee4;
}

.wpcf7-form input[type=submit]{
	width: 180px;
	height: 60px;
	padding: 0;
	border: 0;
	margin-bottom: 10px;
	text-align: center;
	background: url(/okonomi/common/img/btn-submit.png);
	text-indent: -9999px;
	cursor: pointer;
}

.ajax-loader{
	display: none;
}

.wpcf7-form p.submit{
	text-align: center;
	font-size: 13px;
}

/*-----------------------------------------------
 色変更
 bodyに指定 ヘッダーとフッターの背景色変更
-----------------------------------------------*/

body.color-black div#header div.header-bar{
	border-bottom: 1px solid #666;
	background: #000;
}

body.color-black div#footer{
	background-color: #000;
	border-top: 1px solid #666;
}

body.color-white div#header div.header-bar{
	border-bottom: 1px solid #666;
	background: #000;
}

body.color-white div#footer{
	background-color: #fff;
	border-top: 1px solid #666;
}