@charset "UTF-8";

/*  
Theme Name: 矢田工業所のテーマ
Theme URI: http://www.yadakogyo.co.jp/
Description: WSC Project, Very simple theme. Markup of css which can facilitate customization.
Version: 1.2.4
Author: （株）ワントゥワン
Author URI: http://www.one-to-one.co.jp/
Tags: black,silver,white,light,two-columns,right-sidebar,fixed-width,custom-background,custom-menu,editor-style,sticky-post,translation-ready,threaded-comments
*/

/*-----------------------------------------------------------------------------
 WordPress CMS Theme. Based on work by WSC Project: http://wsc.studiobrain.net/
---------------------------------------------------------------------------- */

/*reset*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{margin:0;padding:0;border:0;outline:0;font-size:100%;background:transparent;}
body{line-height:1;}
ol, ul{list-style:none;margin:0;padding:0;}
blockquote, q{quotes:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
caption{width:100%;}
a{outline:none;}

/*clearfix*/
.cf:before,.cf:after {content:"";display:block;overflow:hidden;}
.cf:after {clear:both;}
.cf {zoom:1;}

/*style*/
body{
	margin:0px;
	padding:0;
	-webkit-text-size-adjust: none;
	font:13px/23px "Meiryo","MS PGothic","Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	/*font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", sans-serif;*/
	color:#333;
	background-color: #f7f7f7;
	background-image: url(img/body_bg.gif);
	background-repeat: repeat-y;
	background-position: center center;
}
h1{
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 20px;
}
h2,h3,h4,h5,h6,p,table{
	margin-top: 0;
	margin-right: 0;
	margin-left: 20px;
}
p {
	margin-bottom: 25px;
}
ul,ol{padding:0;margin:0 0 20px 20px;}
h1{font-size:20px;line-height:24px;}
h2{
	font-size:18px;
	line-height:22px;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #036EB7;
	padding-top: 5px;
	text-indent: 5px;
	margin-top: 15px;
	margin-bottom: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #036EB7;
}
h3{
	font-size:16px;
	line-height:20px;
	border-left-width: 15px;
	border-left-style: solid;
	border-left-color: #ccc;
	text-indent: 5px;
	margin-top: 15px;
	margin-bottom: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}
h4{
	font-size:14px;
	line-height:18px;
	margin-top: 15px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
	text-indent: 15px;
	margin-bottom: 10px;
}
h5{
	font-size:12px;
	line-height:16px;
	margin-top: 10px;
	margin-bottom: 7px;
}
h6{font-size:11px;line-height:15px;}
img{border:none;}
a{
	text-decoration:none;
	color: #555;
}
a:hover{
	text-decoration:underline;
}
.screen-reader-text{display:none;}
.clear{clear:both;}
.clear hr{display:none;}
hr{
	background-color:#888;
	border:0;
	height:1px;
	clear:both;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: 20px;
}
blockquote{margin:0px 0px 20px;padding:10px 20px 10px 20px;background-color:#f4f4f4;border:1px solid #ddd;border-radius:5px;-moz-border-radius:5px;}
blockquote blockquote{margin:20px 0;background-color:#fff;}
blockquote blockquote blockquote{margin:20px 0;background-color:#f4f4f4;}
blockquote p{padding:0px;margin:0px 0px 0px 0px}
table{
	margin-bottom:20px;
	font-size: 90%;
	line-height: 1.7em;
}
th {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #777;
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 5px;
}
td {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
	margin: 2px;
	padding-right: 5px;
	padding-left: 5px;
	padding-top: 3px;
	padding-bottom: 3px;
}
object,embed{width:100%;display:block;margin:auto;}

/*space*/
#wrap,#footer-wrap,#footer-bottom,#breadcrumb{
	width:960px;
	margin:auto;
	padding-right: 20px;
	padding-left: 20px;
}
#header-1,#header{
	overflow:hidden;
	width: 980px;
	margin-right: auto;
	margin-left: auto;
}
#header-1 {
	background-image: url(img/top_image.jpg);
	background-repeat: no-repeat;
	background-position: 1px top;
	height: 425px;
}
#header {
	background-image: url(img/top_image.jpg);
	background-repeat: no-repeat;
	background-position: 1px top;
}
#wrap{
	text-align:left;
	clear:both;
}
#main{
	float:right;
	text-align:left;
	overflow:hidden;
	padding:20px;
	width:650px;
}
#main-wide{float:left;text-align:left;overflow:hidden;padding:20px;width:900px;background-color: #fff;}
#side{
	width:260px;
	overflow:hidden;
	padding:0;
	margin:0px;
	float:left;
}
#footer{clear:both;background-color:#eee;}

/*header*/
#name {
	background-image: url(img/name.gif);
	background-repeat: no-repeat;
	background-position: right top;
	height: 57px;
	width: 340px;
	float: right;
	text-indent: -9999px;
	margin-bottom: 20px;
	margin-right: 20px;
	clear: right;
}
#header #name {
}
#header-1 #name {
}
#site-title{
	margin:0px;
	padding:0;
}
#site-title a{float:left;font-size:20px;line-height:70px;}
#site-description{
	font-size:18px;
	font-weight:bold;
	font-style:normal;
	line-height:20px;
	padding:0;
	float:right;
	margin-right: 20px;
	margin-bottom: 10px;
	color: #555;
	clear: left;
}
#header-1 #site-description{
	margin-top: 150px;
}
#header #site-description{
	margin-top: 30px;
}

/*header-logo*/
#site-title a{
	background:url(img/logo.png) no-repeat;
	float:left;
	text-indent:-8909px;
	width:200px;
	margin-top: 15px;
	margin-left: 15px;
}

/*sub-menu*/
#sub-menu .menu {
	float:right;
	margin-top: 15px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #ccc;
	height: 20px;
	margin-right: 20px;
}
#sub-menu .menu li{
	float:left;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #ccc;
	height: 20px;
	padding-right: 20px;
	padding-left: 20px;
}
#sub-menu .menu li a{
	float:left;
	font-size:12px;
	line-height:15px;
	border-radius:2px;
	text-decoration: none;
	color: #555;
	padding-top: 5px;
	padding-bottom: 5px;
}
#sub-menu .menu li.current-menu-item a,
#sub-menu .menu li.current-post-parent a,
#sub-menu .menu li.current_page_parent a{
	text-decoration:none;
}

/*main-menu*/
#main-menu {
	height: 60px;
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	padding-left: 20px;
}
#main-menu ul{
	margin:auto;
	width:960px;
	height:60px;
}
#main-menu li {float:left;position:relative;}
#main-menu a {
	text-decoration: none;
	display: block;
	line-height:40px;
	padding: 0;
	color: #555;
}
#main-menu ul ul {
	box-shadow:0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow:0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow:0px 3px 3px rgba(0,0,0,0.2);
	display:none;
	position:absolute;
	top:60px;
	left:0;
	float:left;
	width:228px;
	z-index:99999;
	height:auto;
	background-image:none;
}
#main-menu ul ul li {
	min-width:220px;
}
#main-menu ul ul ul {left:100%;top:0;}
#main-menu ul ul a {
	background:#efefef;
	line-height:1em;
	padding:10px;
	width:208px;
	height:auto;
	text-indent:0;
}
#main-menu ul ul a:hover {
	background:#e7e7e7;
}
#main-menu li:hover > a,
#main-menu ul ul :hover > a {background-position:left -40px;}
#main-menu ul li:hover > ul {display:block;/display:none;}
#main-menu ul li.current_page_parent > a,
#main-menu ul li.current_page_item > a,
#main-menu ul li.current-menu-ancestor > a,
#main-menu ul li.current-menu-item > a,
#main-menu ul li.current-menu-parent > a {background-position:left bottom;}

menu-image-sample-code-----------------------------------------------------
#main-menu ul{}
#main-menu a {background:url(img/grovalmenu.gif) no-repeat 0px 0px;width:160px;text-indent:-9876px;height: 60px;}
#main-menu #menu-item-125 > a {background-position:-10px top;}
#main-menu #menu-item-125:hover > a,
#main-menu #menu-item-125.current_page_item > a,
#main-menu #menu-item-125.current-menu-item > a,
#main-menu #menu-item-125.current_page_parent > a,
#main-menu #menu-item-125.current-menu-parent > a{background-position:-10px -60px;}
#main-menu #menu-item-98 > a {background-position:-170px top;}
#main-menu #menu-item-98:hover > a,
#main-menu #menu-item-98.current_page_item > a,
#main-menu #menu-item-98.current-menu-item > a,
#main-menu #menu-item-98.current_page_parent > a,
#main-menu #menu-item-98.current-menu-parent > a{background-position:-170px -60px;}
#main-menu #menu-item-99 > a {background-position:-330px top;}
#main-menu #menu-item-99:hover > a,
#main-menu #menu-item-99.current_page_item > a,
#main-menu #menu-item-99.current-menu-item > a,
#main-menu #menu-item-99.current_page_parent > a,
#main-menu #menu-item-99.current-menu-parent > a{background-position:-330px -60px;}
#main-menu #menu-item-320 > a {background-position:-490px top;}
#main-menu #menu-item-320:hover > a,
#main-menu #menu-item-320.current_page_item > a,
#main-menu #menu-item-320.current-menu-item > a,
#main-menu #menu-item-320.current_page_parent > a,
#main-menu #menu-item-320.current-menu-parent > a{background-position:-490px -60px;}
#main-menu #menu-item-100 > a {background-position:-650px top;}
#main-menu #menu-item-100:hover > a,
#main-menu #menu-item-100.current_page_item > a,
#main-menu #menu-item-100.current-menu-item > a,
#main-menu #menu-item-100.current_page_parent > a,
#main-menu #menu-item-100.current-menu-parent > a{background-position:-650px -60px;}
#main-menu #menu-item-101 > a {background-position:-810px top;}
#main-menu #menu-item-101:hover > a,
#main-menu #menu-item-101.current_page_item > a,
#main-menu #menu-item-101.current-menu-item > a,
#main-menu #menu-item-101.current_page_parent > a,
#main-menu #menu-item-101.current-menu-parent > a{background-position:-810px -60px;}
---------------------------------------------------------------------------- 


/*top-image*/
#top-image{
	clear:both;
}
#top-image-wrap{margin:auto;width:940px;height:300px;}

/*second-image*/
#second-image{
	height:30px;
	clear:both;
	background-color:#ccc;
	width: 980px;
	margin-right: auto;
	margin-left: auto;
}

/*breadcrumb*/
#breadcrumb{
	color:#fff;
	clear:both;
	padding-top:5px;
	font-size:12px;
	line-height:20px;
	padding-left: 30px;
}
#breadcrumb a{color:#fff;text-decoration:none;}

/*content*/
.page-title,
.page-title a{
	text-decoration:none;
	font-size:18px;
	line-height:45px;
	background-image: url(img/page-title_bg.gif);
	background-position: left top;
	height: 42px;
	width: 662px;
	padding-top: 0px;
	padding-left: 0px;
	text-indent: 33px;
	display: block;
	color: #555;
}
.page-title a:hover,
.page-title a:hover{
	background-position: 0px -42px;
	text-decoration: none;
}
.hentry ul{margin-left:25px;padding-left:0px;list-style-type:disc;}
.hentry ol{margin-left:30px;padding-left:0px;list-style-type:decimal;}
.hentry p {
	margin-bottom: 5px;
}
.hentry .postmetadata{text-align:right;font-size:12px;clear:both;}
.sticky {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333;
	padding: 0px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 30px;
	margin-left: 0;
}
.sticky hr{display:none;}

/*navigation*/
.navigation{clear:both;padding:20px 0 0;font-size:11px;line-height:11px;text-align:center;}
.navigation a{color:#fff;padding:5px 10px;background-color:#999;text-decoration:none;border-radius:5px;-moz-border-radius:5px;margin:2px;padding:5px 10px;}
.navigation a:hover{background-color:#aaa;}
.navigation div.alignleft {float:left;}
.navigation div.alignright {float:right;}
.navigation span{color:#fff;padding:5px 10px;border-radius:5px;-moz-border-radius:5px;margin:2px;}
.navigation span.current{background-color:#48e;}
.navigation span.pages{background-color:#ccc;padding:5px 20px;}

/*totop*/
#totop{
	text-align:right;
	font-size:11px;
	line-height:19px;
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 0;
}
.page-template-onecolumn-page-php #totop{padding-right:20px;background-color:#fff;clear:both;}

/*image*/
.thumbnail-align img{float:left;padding:0px;margin:0 20px 20px 0;background-color:#eee;}
img.alignleft{float:left;padding:0px;margin:0 20px 20px 0;background-color:#eee;}
img.alignright{float:right;padding:0px;margin:0 0 20px 20px;background-color:#eee;}
.aligncenter{clear: both;display: block;margin:auto;}
.wp-caption {background: #f1f1f1;line-height: 18px;margin-bottom: 20px;text-align: center;padding:0px;}
.wp-caption.alignleft{float:left;margin:0 15px 15px 0;}
.wp-caption.alignright{float:right;margin:0 0 15px 15px;}
.wp-caption img {margin:0;}
.wp-caption p.wp-caption-text {color: #888;font-size: 12px;margin:0;}
.gallery {margin:0 auto 18px;padding:0 0 25px;}
.gallery .gallery-item {float: left;text-align: center;}
.gallery .gallery-caption {color: #888;font-size: 12px;margin:0;}
.gallery br+br {display: none;}

/*comment*/
.commentlist{margin:0;}
.commentlist p{margin:10px 0;clear:both;}
.commentlist li{clear:both;}
.commentlist .comment-body{border-bottom:1px solid #ccc;margin:0 0 10px;clear:both;font-size:12px;line-height:20px;padding:10px 10px 0;}
.commentlist .reply{text-align:right;}
.commentlist .avatar{float:left;margin:0 10px 0 0;}
div.comment-author.vcard {}
#commentform p{margin:0 0 5px;}
#commentform textarea#comment{font-size:13px;line-height:20px;border:1px solid #666;padding:3px;width:98%;}
#commentform input#url,
#commentform input#email,
#commentform input#author{font-size:13px;line-height:20px;border:1px solid #666;padding:3px;clear:both;width:98%;}
#commentform .required{color:#c00;}
#commentform label{}
.commentlist .bypostauthor{background-color:#fdfcda;}

/*side-widget*/
.side-widget{
	padding-top: 20px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}
.side-widget .widget-title{
	margin:0;
	font-weight:bold;
	display: none;
}
.side-widget ul{margin:0;}
.side-widget ul ul{margin:0;padding:0 0 0 10px;}
.side-widget p{margin:0;}
.side-widget th,.side-widget td{padding:0;text-align:center;}
#menu-sidemenu li a {
	background-image: url(img/sidemenu_bg.gif);
	background-repeat: no-repeat;
	background-position: left top;
	display: block;
	height: 56px;
	width: 252px;
	font-size: 18px;
	line-height: 60px;
	padding-left: 15px;
	color: #555;
	text-decoration: none;
	margin-bottom: 3px;
	font-weight: bold;
}
#menu-sidemenu li a:hover {
	background-position: left bottom;
}
.textwidget {
	border: 1px solid #ccc;
	padding: 5px;
}

/*footer*/
#footer-bottom{
	padding:10px 0 0;
	background-image: url(img/footer_bg.gif);
	background-position: center top;
	background-repeat: no-repeat;
}
#copyright{
	color: #fff;
	text-align: center;
	margin-top: 60px;
	padding-bottom: 10px;
}

/*footer-widget*/
#footer-wrap{background:#eee url(img/footer-widget-area.gif) repeat-y;clear:both;margin:0 auto;min-height:250px;}
#footer-widget-area{float:left;width:100%;margin:0;}
.footer-widget{float:left;padding:15px;width:205px;margin:0;}
.footer-widget .widget_title{margin:0;font-weight:bold;}
.footer-widget ul{margin:0;}
.footer-widget p{margin:0;}

/*footer-menu*/
#footer-menu{
	clear:both;
	width: 880px;
	margin-right: auto;
	margin-left: auto;
}
#footer-menu ul{
	float:left;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #fff;
	margin: 0;
	padding: 0;
}
#footer-menu li{
	float:left;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #fff;
	margin: 0px;
	line-height: 1em;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
}
#footer-menu a{
	color: #fff;
	float: left;
}

/*Contact Form 7*/
.wpcf7-form{border:1px solid #ddd;margin:0 auto 20px;padding:20px;background-color:#f4f4f4;border-radius:20px;-moz-border-radius:20px;}
.wpcf7-form input{margin:0;}
.wpcf7-form textarea{width:99%;margin:0 0 10px;}
.wpcf7-form p{margin:0 0 10px;}
.wpcf7-not-valid-tip{padding:2px;clear:both;color:#c00;}
.wpcf7-display-none{display:none;}
.wpcf7-form img.ajax-loader{float:right;margin-top:-30px;}
.wpcf7-response-output{margin:0 0 20px;padding:5px;text-align:center;border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;}
.wpcf7-mail-sent-ok{background-color:#398f14;color:#fff;}
.wpcf7-mail-sent-ng{background-color:#ff0000;color:#fff;}
.wpcf7-spam-blocked{background-color:#ffa500;color:#000;}
.wpcf7-validation-errors{background-color:#f7e700;color:#000;}
input.wpcf7-submit{margin:10px auto;width:218px;height:52px;border-style:none;text-indent:-9999px;display:block;cursor:pointer;background:transparent url(img/submit-btn.gif) center top;padding:0;}
input.wpcf7-submit:hover{background:transparent url(img/submit-btn.gif) center bottom;}

/*サイトマップ sitemap*/
.sitemap{
	color: #666;
	margin-right: 50px;
	margin-left: 50px;
}
.sitemap h3{font-size: 13px;line-height: 15px;margin: 0;padding: 4px 0 3px 6px;border-left: 3px solid #999;color: #555;}
.sitemap ul{font-size: 11px;line-height: 13px;list-style-type: none;margin:0;padding: 0;}
.sitemap ul ul {padding-left: 15px;border-top: 1px solid #666;border-right: 1px solid #bbb;}
.sitemap ul li{margin: 0 0 20px;padding: 0;}
.sitemap ul ul a{
	font-size: 14px;
	line-height: 16px;
}
.sitemap ul ul a:hover{
}
.sitemap ul ul li{padding: 10px 0 6px 12px;border-left: 1px solid #bbb;margin: 0;border-bottom: 1px solid #aaa;background-color: #fafafa;border-top: 1px solid #fff;}
.sitemap ul ul ul{padding: 5px 0 2px 9px;margin:0;border-top-style: none;border-right-style: none;}
.sitemap ul ul ul a{
	font-size:12px;
	line-height: 14px;
	color: #666;
}
.sitemap ul ul ul a:hover{color: #666;}
.sitemap ul ul ul li{
	list-style-type: disc;
	list-style-position: inside;
	padding: 2px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.sitemap ul ul ul ul li{
}
.more-link {
	text-align: right;
	margin-top: 20px;
	display: block;
}
