/*
Theme Name: NK
Theme URI: http://yorozuya.co.jp/
Description: 株式会社エヌ＆ケイ・オリジナルテーマ
Author: 浜田 昭
Author URI: http://yorozuya.co.jp/
*/

body {
	background:url('./images/bg_body.jpg') repeat-x scroll center top #FAFAF2;
	font: 0.8em "メイリオ","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",Verdana,"ＭＳ Ｐゴシック",Osaka;
	text-align: center;
	margin: 0;
}

table {
	font-size: 1em;
}

blockquote {
	margin: 10px 0 0 15px;
	padding: 0 15px;
	border-left: 8px solid #eaeaea;
	color: #2b2b2b;
}

/* links */
a {
	color: #e82c2b;
	background: inherit;
}

a:hover {
	color: #e82c2b;
	background: inherit;
}	

/* headings */
h1 {
	font-size: 2.5em;
	margin: 5px 0 8px;
	letter-spacing: 0.05em;
}

h2 {
	font: bold 1.5em;
	margin: 0;
	padding: 0;
	color: #2b2b2b; 
}

h1 a, h2 a {
	color: #2b2b2b;
	text-decoration: none;
}

h1 a:hover, h2 a:hover {
	color: #2b2b2b;
}

.title {
	border-bottom: 2px solid #808080;
	color: #808080;
	padding-bottom: 4px;
	text-indent: 4px;
	font-size: 1.5em;
	clear: both;
}

div.article_text {
	line-height: 1.5em;
	margin: 20px 10px 40px;
}

div.article_footer {
	text-align: right;
	border-top: 1px solid #999;
	padding-top: 3px;
	clear: both;
}

/* lists and form elements */
form {
	margin: 0;
}

input.search {
	width: 279px;
	border: none;
	background: #750000;
	padding: 6px 10px;
	color: #989898;
	font-weight: bold;
	border: 1px solid #282828;
}

input.button {
	padding: 3px 6px;
}

/* content holder */
#content {
	margin: 0 auto;
	width: 900px;
}

/* #content img {
	padding: 3px;
	border: #ececec 1px solid;
	background: #ffffff;
} */

#content img.alignleft {
	float: left;
	margin: 3px 3px 3px 0;
}

#content img.alignright {
	float: right;
	margin: 0 3px 3px 3px;
}

/* header */
#header {
	height: 200px;
	background:url('./images/header_bg.jpg') no-repeat;
}

#header p {
	margin: 0;
}

#header h1 {
	margin-top: 38px;
	margin-left: 57px;
	float: left;
}

#header h1 a {
	text-indent: -9999px;
	width: 106px;
	height: 31px;
	display: block;
	background: url('images/logo_nk.gif') no-repeat;
	font-size: 0.1em;
}

p.descript {
	color: #808080;
	padding-right: 10px;
	text-align: right;
	font: 0.9em/1.3em "ＭＳ Ｐゴシック",Osaka;
	width: 550px;
	padding-top: 40px;
	float: right;
}

p.contact {
	float: left;
	padding-left: 20px;
	padding-top: 73px;
}

p.contact a {
	text-indent: -9999px;
	width: 92px;
	height: 11px;
	display: block;
	background: url('images/contact.gif') no-repeat;
	font-size: 0.1em;
}

p.cat_path {
	color: #000000;
	float: right;
	font-size: 0.85em;
	padding-right: 125px;
	padding-top: 73px;
}

p.cat_path a {
	color: green;
	text-decoration: none;
}

p.home_ico {
	float: right;
	padding-right: 105px;
	padding-top: 63px;
}

p.home_ico a {
	text-indent: -9999px;
	width: 17px;
	height: 17px;
	display: block;
	background: url('images/home_ico.gif') no-repeat;
	font-size: 0.1em;
}

p.top_info {
	text-align: right;
	margin: 0;
	padding-top: 10px;
}

#menu {
	position:relative;
	width: 960px;
	margin: 0px auto;
    left: 8px;
	text-align: center;
	line-height: normal;
}

/* パンくずリスト */
div.cat_path {
	clear: both;
	margin: 3px 15px 3px 0;
	text-align: right;
}

#button {
	list-style: none;
	margin: 0 3px;
	padding: 0px;
	float: left;
	clear:both;
}

#button li {
	float: left;
	height: 28px;
	background: url(images/button-right.gif) top right no-repeat;
	margin: 0 3px;
	white-space: nowrap;
}

#button .page_item a{
	color: #f8f8f8;
	display: block;
	background: url(images/button-left.gif) top left no-repeat;
	text-decoration: none;
	padding: 0px 15px 0px 15px;
	font: bold 12px Verdana, Arial, Helvetica, sans-serif;
	line-height: 28px;
}

#button .page_item a:hover{
	color: #f8f8f8;
}

#button li:hover {
	background-position: 100% -36px;
}
#button .page_item a:hover {
	background-position: 0px -36px;
	border: none;
}

#button li.current_page_item {
	color: #ffffff;
	text-decoration: none;
	background: url(images/button-right-hover.gif) top right no-repeat;
}

#button .current_page_item a, #button .current_page_item a:visited{
	color: #ffffff;
	text-decoration: none;
	background: url(images/button-left-hover.gif) top left no-repeat;
}

/* search form */
#search {
	color: #000;
	clear: both;
	background: url(images/searchbg.gif) no-repeat;
	padding: 10px 0 10px 5px;
	width: 960px;
	margin: 0;
}

#search p {
	padding: 10px 0 0 0;
	margin: 0;
	text-align:center;
}

#search input.button {
	font-family: 'Franklin Gothic Medium', Helvetica, sans-serif;
}

/* grey subheader */
.gbox {
	background: #f1f1f1 url(images/gbox.gif) no-repeat bottom left;
	color: #444;
	padding: 1px 13px 7px 13px;
	margin: 0 0 20px 0;
	clear: both;
}

.gbox p {
	padding: 7px 0;
	margin: 0;
}

/* left side */
.left {
	float: left;
	width: 665px;
	margin: 0 0 10px 0;
	clear: both;
}

.left_articles {
	margin: 0 10px 30px;
	padding: 20px 0 0;
	text-align: left;
}

div.new {
	float: left;
	width: 410px;
}

p.title_new {
	text-indent: -9999px;
	width: 410px;
	height: 30px;
	display: block;
	background: url('images/title_new.gif') no-repeat;
	font-size: 0.1em;
	margin-bottom: 20px;
}

div.new ul {
	margin: 0;
	padding-left: 15px;
}

div.new li {
	border-bottom: 1px dotted #CCCCCC;
	line-height: 1.5em;
	list-style-image: url("./images/list_green.gif");
	list-style-position: outside;
	padding: 0px 0px 10px;
}

div.info {
	float: right;
	width: 210px;
	line-height:1.5em;
}

p.title_info {
	text-indent: -9999px;
	width: 210px;
	height: 30px;
	display: block;
	background: url('images/title_info.gif') no-repeat;
	font-size: 0.1em;
	margin-bottom: 20px;
}

.left_page {
	float: left;width: 100%;margin: 0 0 10px 0;
}

.left_articles_page {
	margin: 0 10px 30px;
	padding: 20px 0 0;
	text-align: left;
}

.left_articles_page h2 {
	border-bottom: 2px solid #808080;
	color: #808080;
	padding-bottom: 4px;
	text-indent: 4px;
}

.left_articles_page form {
	margin: 25px 15px;
}

.left_articles_page form br {
	margin-bottom: 6px;
}

.description {
	padding: 0 0 2px 0;
	margin: 0 10px 5px 60px;
	border-bottom: 1px dotted #ccc;
}

.calendar {
	height: 50px;
	float: left;
	background: #fff url(images/calendar.gif) no-repeat;
	width: 50px;
	padding: 5px 0 0 9px; 
	color: #808080;
}

.calendar p {
	padding: 0;
	margin: 0;
}

.thumbnail {
	float: left;
	margin: 0 18px 8px 0;
	border: 1px solid #dedede;
}

.alignright {
	float: right;
}
	
.alignleft {
	float: left;
}

.spacer {
	padding: 0px;
	text-align: right;
    clear: both;
    text-transform: lowercase;
    padding-top: 5px;
}

/* Information */
.top-entry-content {
	margin-bottom: 25px;
}

.top-entry-content h3 {
	margin-bottom: 5px;
}

.top-entry-content ul {
	margin: 0 0 4px;
}

/* comments*/
.commentlist li.alt {
	background-color:#f7f7f7;
}

.commentlist {
	padding: 0;
	text-align: justify;
}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	background: #f3f3f3;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}

#commentform p {
	margin: 5px 0;
}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

.commentmetadata {
	margin: 0;
}

#commentform textarea {
	background: #ffffff;
	border: 1px solid #cccccc;
	width: 650px;
}

#commentform textarea:hover {
	background: #FFFFFF;
	border: 1px solid #cccccc;
}

#commentform textarea:focus {
	background: #ffffff;
	border: 1px solid #a1a1a1;
}

#commentform #email, #commentform #author, #commentform #url {
	font-size: 12px;
	background: #ffffff;
	border: 1px solid #cccccc;
	width: 250px;
}

#commentform #email:hover, #commentform #author:hover, #commentform #url:hover {
	font-size: 12px;
	background: #ffffff;
	border: 1px solid #cccccc;
	width: 250px;
}

#commentform #email:focus, #commentform #author:focus, #commentform #url:focus {
	font-size: 12px;
	background: #ffffff;
	border: 1px solid #a1a1a1;
	width: 250px;
}

#commentform #submit {
	float: left;
	padding:0;margin:0;
	border:0;
	height:23px;
	width:130px;
	background: url(images/submit-button.jpg) no-repeat;
}

/* comments */
/* advertisement */
#adcontainer {
	padding: 0px 0 0 0;
	margin:0;
	width: 902px;
}

#adboxes{
	padding: 6px 0 6px 0px;
	width:902px;
	float:left;
	position: relative;
}

#adboxes ul {
	margin: 0;
	padding: 0;
	list-style: none;
	padding-left: 25px;
}

#adboxes ul li {
	display:block;
	margin: 5px 3px 5px 5px !important;
	padding: 2px !important;
	float:left;
	list-style: none;
}

#adboxes img {
	padding: 3px;
	border: #d3d3d3 1px solid;
	background: #ffffff;
}

#adboxes img.alignleft {
	float: left;
	margin: 3px 3px 3px 0;
}

#adboxes img.alignright {
	float: right;
	margin: 0 3px 3px 3px;
}

.clear {
	clear: both;
	margin: 0;
	padding: 0;
}

/* right side */
#right {
	float: right;
	width: 225px;
	margin: 0 0 10px 0;
	background: url("./images/menu_shadow.gif") repeat-y;
}

#right h3 {
	display: none;
}

/* .boxtop {
	height: 19px;
	background: url(images/boxtop.gif) no-repeat;
}

.box {
	background: url(images/box.gif) no-repeat bottom left;
	color: #5b5b5b;
	padding: 0 10px 15px 10px;
	margin: 0 0 10px 0;
} */

.box h2 {
	display: none;
}

.box p {
	padding: 0;
	margin: 0;
}

div.qrcode {
	font-size: 0.9em;
	line-height: 1.5em;
	text-align: left;
	margin: 40px 10px 20px 10px;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	padding: 10px 5px;
	clear: both;
}

div.qrcode img {
	border: 1px solid #999999;
	float: left;
	margin-right: 6px;
}

div.banner {
	margin-bottom: 40px;
}

div.banner img {
	border: none;
	margin-bottom: 10px;
}

.image {
	float: left;
	margin: 0 9px 3px 0;
}

#right ul {
	background: none repeat scroll 0 0 #F7F7F7;
	color: #2B2B2B;
	margin: 25px 0 15px;
	padding: 0;
	text-align: left;
}

#right ul li {
	list-style-type: none;
}

#right ul li a {
	background: url("./images/menu_bg.gif") no-repeat scroll 0 0 transparent;
	display: block;
	font-size: 1.1em;
	height: 42px;
	letter-spacing: 0.1em;
	line-height: 42px;
	text-indent: 30px;
}

#right ul li a:hover {
	background: url("./images/menu_bg_over.gif") no-repeat scroll 0 0 transparent;
	display: block;
	font-size: 1.1em;
	height: 42px;
	letter-spacing: 0.1em;
	line-height: 42px;
	text-indent: 30px;
	color: #FFF;
}

#right ul.children {
	padding: 0;
	margin: 0;
	border: 0;
}

#right ul.children li a {
	background: url("./images/submenu_bg.gif") no-repeat scroll 0 0 transparent;
	display: block;
	font-size: 1.1em;
	height: 32px;
	letter-spacing: 0.1em;
	line-height: 32px;
	text-indent: 45px;
}

#right ul.children li a:hover {
	background: url("./images/submenu_bg_over.gif") no-repeat scroll 0 0 transparent;
	display: block;
	font-size: 1.1em;
	height: 32px;
	letter-spacing: 0.1em;
	line-height: 32px;
	text-indent: 45px;
	color: #FFF;
}

#right a {
	color: #2b2b2b;
	text-decoration: none;

}

#right a:hover {
	color: #e82c2b;
}

ul.contentright {
	font-size: 1em;
	background-color:#fff;
	border-top: 1px solid #ececec;
	list-style-type: none;
	margin: 1.5em 0px;
	padding:5px;
	color: #e82c2b;
}

ul.contentright li {
	border-bottom: 1px solid #ececec;
	list-style-type: none;
	margin: 0px;
	padding: 0.5em;
}

ul.contentright a {
	color: #2b2b2b;
	text-decoration: none;
}

ul.contentright a:hover {
	color: #2b2b2b;
}

ul.contentright .datea{
	color: #666;
	padding: 0px 1.5em 0px 10px;
}

/* misc */
.buttons {
	text-align: right;
	padding: 4px 3px 0 0;
	width:160px;
}

.left_articles .buttons {
	float: right;
	height: 20px;
}

.redbtn {
	background: #87BF55 url(images/redbtn.gif) no-repeat;
	padding: 0;margin: 0;
	color: #fff;
	text-decoration: none;
	display:block;
	float:right;
	width:100px;
	height:19px;
	text-align: center;
	line-height:15px;
}

.redbtn:hover {
	background: #D0D0D0 url(images/hoverbtnlong.gif) no-repeat;
	color: #fff;
}

/* footer  */
.footer {
	clear: both;
	text-align: center;
	line-height: 1.3em;
	letter-spacing: 0.1em;
	padding: 42px 0;
	background: url('./images/footer_bg.jpg') repeat-x;
	height: 100px;
}

.footer p  {
	color: #444;
	text-decoration: none;
}

.footer a, .footer a:hover  {
	color: #444;
	text-decoration: none;
}

/* ドロップダウンメニューの基本形 */
#ddmenu ul { /*リスト全体*/
	list-style: none;
	margin: 0;
	padding: 0;
}

#ddmenu li { /*リストの1段目*/
	float: left;
	min-width: 94px;
	white-space: nowrap;
}

#ddmenu ul ul { /*2段目以降*/
	display: none;
	position: absolute;
	z-index: 10;
}

#ddmenu li li { /*2段目以降のリスト項目*/
	clear: left;
	position:relative;
	width: 100%;
}

#ddmenu ul ul ul { /*3段目以降*/
	top: 0;
	left: 100%;
}

#ddmenu ul li:hover > ul {
	display: block;
}

*+html #ddmenu ul ul a { /*IE用*/
	width: 72px; /*（94-10-10-1-1）パディングとボーダーの分を引いた値*/
	white-space: normal; /*幅に応じて改行*/
}

/* ドロップダウンメニューのデザイン */
#ddmenu li {
	margin-left: 3px;
}

#ddmenu a { /*1段目以降のメニュー文字*/
	font-size: 13px;
	line-height:15px;
	color: #dadada;
	text-decoration: none;
	text-align: center; /*1段目は文字を中央合わせに*/
	padding: 5px 10px;
	background-color: #242424;
	display: block;
}

#ddmenu a:hover {
	color: #f90;
	background-color: #111;
}

#ddmenu ul ul {
	padding-top: 2px;/*2段目を少し下げた*/
}

#ddmenu ul ul ul { /*3段目以降*/
	padding-top: 0; /*2段目のパディング2pxを元に戻す*/
}

#ddmenu li li {
	margin-left: 0; /*liのmargin-left: 3pxを元に戻す*/
}

#ddmenu ul ul a { /*2段目以降のメニュー文字*/
	font-size: 11px;
	line-height: 1.3;
	text-align: left; /*2段目以降は左寄せにもどす*/
	border-top: solid 1px #555555;
	border-right: solid 1px #070707;
	border-bottom: solid 1px #070707;
	border-left: solid 1px #555555;
	background-color: #343434;
}

/* 記事上部に表示する子カテゴリー */
ul.subcate_menu {
    list-style: none outside none;
    margin: 0 0 10px;
	height: 20px;
	background-color: #999;
	padding-left: 1px;
}
ul.subcate_menu li {
	float: left;
	line-height: 20px;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #999;
	background-color: #FFF;
}
ul.subcate_menu li a {
	text-decoration: none;
}
ul.subcate_menu li a:hover {
	color: #000;
}
