@charset "utf-8";

/* =Reset default browser CSS.
-------------------------------------------------------------- */
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, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

html{font-size:62.5%;}/*10px add*/
body{
/*font:80%/1.5 "Lucida Sans Unicode", "Lucida Grande", Arial, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;*/

font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',メイリオ, meiryo,  "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, 'ヒラギノ角ゴシック ProN', 'Hiragino Kaku Gothic ProN',  "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;/*add*/
font-size:1.4rem;/*add*/
color:#252525;
-webkit-text-size-adjust: none;
background:#ffffff;
}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#777;
}
a.link_black{
	color:#252525;
}

a:hover, a:active{
/*-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;*/
	   -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out;

outline: none;
color:/*#999*/#11a2ce;
}

a>img {
	   -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out;
}
a>img:hover {
	  opacity: 0.6; 
    filter: alpha(opacity=60);  
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after ,.clearfix:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post,.clearfix{zoom: 1;}


/* フォーム
------------------------------------------------------------*/
input[type="text"],input[type="email"],input[type="tel"], textarea{
vertical-align:middle;
/*max-width:90%;*/ width:95%;
line-height:30px;
height:30px;
padding:1px 5px;
border:1px solid #d4d4d7;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
background:#fcfcfc;
margin-bottom:3px;
}
/*
input.name{
	width:45%;
}
input.number{
	width:20%;}
*/
textarea{
height:/*auto*/10em;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"], button[type="submit"],button.btn_back{
padding:1rem 3rem;
background:#11a2ce;
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
color:#fff;
cursor: pointer;
}
button.btn_back{
  background-color: #999999;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background: #00246f;
}

*:first-child+html input[type="submit"]{padding:3px;}

/*add*/
/*form*/
label {
    font-size: 1.6rem;
	margin-bottom: 0.5rem;
	display: inline-block;
	/*display: block;*/
	}
textarea:focus, input:focus, input[type]:focus, .uneditable-input:focus { /*bootstrapの青枠を消す*/
  outline: none!important;
  box-shadow: none!important;
	border: 1px solid #4bb2f2!important;
	background-color:#EBF6FC!important;
}
.form-control {
	font-size: 1.6rem;
	padding: 12px 8px;
	margin-bottom: 4px;
	line-height: 1.5;
	height: auto!important;
	border: 1px solid #4bb2f2!important;
	background-color:#CCE9FB!important;
	display: block;
}
.form-group{
	margin-bottom: 20px;
}
.text_required{
  background-color: #e60000;
  color:#ffffff;
  font-size:13px;
  padding: 2px 6px;
  font-weight: normal;
  margin-left: 10px;
  border-radius: 2px;
}
.error, .error-php, .error-js { color: #e60000;}
#contact_privacy{
	background-color:#f8f9fa;
	display: block;
	max-width: 600px;
	margin: 30px auto;
	padding: 30px 20px;
}
#contact_privacy .doui_box{
	border:1px solid #666666;
	background-color: #ffffff;
	padding: 1rem 3rem;
	margin: 20px auto;
	text-align: center;
	max-width: 200px;
}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:960px;
}

#header{
overflow:hidden;
}

#content{
float:left;
width:710px;
padding:/*30px 0*/15px 0 30px;
}

#sidebar{
float:right;
width:/*225px*/235px;
padding:30px 0;
}

#footer{
clear:both;
/*padding-top:20px;
padding-bottom:30px;*/
padding:0 /*10px*/0 30px;
margin-top:30px;/*add*/
/*background:#fff1dd;*/
} 


/* ヘッダー
*****************************************************/
#header .bg{background:/*#e60012*/ #00246f; }


/* サイト説明文 + 住所
----------------------------------*/
/*#header h1,*/#header p{
float:left;
padding:2px 0;
color: #000;
font-size:1.2rem;
font-weight:normal;
}

#header p{
float:right;
}

#header h1{
	padding:35px 0 0 20px;
	font-size:1.2rem;
	color:#4d4d4d;
	float:right;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
/*clear:both;*/
float:left;
padding:/*30px*/15px 0;
color: #515151;
font-size:160%;
font-weight:bold;
}
#header h2 img{/*add*/
	max-width:100%;
}

/* サブナビゲーション
----------------------------------*/
#header ul{
padding-top:40px;
float:right;
}

#header ul li{
display:inline;
margin-left:10px;
font-size:90%;
}

#header ul li a{
padding-left:10px;
color:#000;
background:url(../images/arrowSub.png) no-repeat 0 50%;
}

#header ul li a:hover{background-position:3px 50%;}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:/*25px*/0;
line-height:0;
text-align:center;
z-index:0;
position:relative;
/*add*/
overflow:hidden;
height:auto;
background-color:#fff;
background:url(../images/banners/main_bg.gif) repeat-x ;
}

.post{
margin:0 0 20px 0;
/*padding:10px;*/
padding:10px 0 ;
/*border:1px solid #dadada;*/
/*background: #fff;*/
}

/*add*/
.banner_long{
clear:both;
margin:15px auto;
line-height:0;
text-align:center;
}
.banner_long img {
	max-width:100%;
	height:auto;
}


/* タイポグラフィ
*****************************************************/
h2.title, h3.title{
	clear:both;
	margin:/*30px 0 0*/ 30px 0 20px;
	padding:/*7px 10px*/ 3px 3px 8px;
    color:#4d4d4d;
    font-weight:normal;
}
h2.title{
	font-size:2.5rem;
	background-image:url(../images/title_h2.png);
    background-repeat:no-repeat;
    background-position:left bottom;
}
h2.title_pagetop{/*add*/
	background-image:url(../images/title_h2_pagetop.png);
}
h3.title{/*add*/
	font-size:2.2rem;
	background-image:url(../images/title_h3.png);
background-repeat:no-repeat;
background-position:left bottom;

}

.newsTitle>h2.title{
	margin-bottom:0;
}

h2.first, h3.first{margin-top:0;}



.dateLabel{
margin:0 0 10px;
text-align:right;
font:italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.post p{
	padding-bottom:15px;
	line-height:1.7em;/*add*/
	}

.post ul{margin: 0 0 10px 10px;}

.post ul li{
margin-bottom:5px;
padding-left:15px;
background:url(../images/bullet.png) no-repeat 0 8px;
line-height:1.4em;/*add*/
}

.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color: #000;
border-bottom:3px solid #000;
}

.post h4{/*add*/
	font-size:110%;
	border:none;
}
.post article{/*add*/
	margin-bottom:30px;
}

.post blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table ul{ margin-left:0;}
.post table   { 
	width: 100%; 
	border-collapse: collapse;
    border-spacing: 0;
	}
.post th, .post td  { 
	padding: 10px 10px 10px 20px; 
	border-top: 1px solid #ddd; 
	border-bottom: 1px solid #ddd;
	vertical-align: top; 
	}
.post th  { background:#11a2ce; color:#fff; border-top:1px solid #fff; border-bottom:1px solid #fff; }
.post tr:first-child th{border-top:1px solid #ddd;}
.post tr:last-child th{border-bottom:1px solid #ddd;}
 
 /*2col*/
.post table.table_2col th  { width: 30%; text-align: left; }
 
@media only screen and (max-width: 644px){
	
	/*2col*/
    .post table.table_2col { margin: 0 /*-10px*/0; }
    .post table.table_2col th,
    .post table.table_2col td{
        width: 92%;
        display: block;
        border-top: none;
		border-left:1px solid #ddd;
		border-right:1px solid #ddd;
    }
    .post table.table_2col tr:first-child th   { border-top: 1px solid #ddd; }
		 
}

.post img {max-width:100%;height:auto;}

img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
padding:4px;
margin:0 0 2px /*7px*/10px;
display:inline;
}

img.alignleft{margin: 0 7px 2px 0;}

.alignright{float:right;}
.alignleft{float: left;}



/* サイドバー　ウィジェット
*****************************************************/
section.widget, .widgetInfo{
margin: 0 0 20px;
padding: 10px 7px;
/*border:1px solid #dadada;*/
background: #fff;
}

#banners img{
max-width:/*225px*/235px;
height:auto;
padding-bottom:10px;
}

section.widget h3{
clear:both;
margin:0 0 10px;
padding:5px 0;
font-size:100%;
font-weight:normal;
color: #333;
border-bottom:1px solid #ccc;
}

section.widget a{
display:block;
padding:3px 0 3px 13px;
text-decoration:underline;
background:url(../images/arrow.png) no-repeat 0 50%;
}

section.widget a:hover{
text-decoration:none;
background-position: 3px 50%;
}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:100px;
vertical-align:bottom;
}

/*Add トップページ
-------------------------------*/
/*テキストエリア*/
.top_textarea{
	clear:both;
	margin:10px auto 10px;
	position:relative;
	max-width:95%;
	text-align:center;
}
.top_title{
	color:#11a2ce;
	font-size:2.5rem;
	padding: 10px;
}
.top_text{
	color:#5a5a5a;
	font-size:1.6rem;
	line-height:1.7;
	padding:20px;
	}
	
/*事業案内 会社概要*/
ul.ul_top_company{
	float:left;
	margin-top:25px;
}
ul.ul_top_jigyou, ul.ul_top_company{
	margin-left:0;
	padding-left:0;
	margin-bottom:20px;
}
ul.ul_top_jigyou li, ul.ul_top_company li{
	display:inline-block;
	background:none;
}
ul.ul_top_jigyou li:first-child{
	padding-right:8px;
}
ul.ul_top_jigyou li img{
	max-width:100%;
}
ul.ul_top_company li{
	padding:0 10px;
}
div#top_ayumi{
	float:right;
}


/* お知らせ　
-------------*/
.newsTitle p{
float:right;
padding:0 5px 0 /*10px*/20px;
font-size:.8em;
/*background:url(../images/arrow.png) no-repeat 0 50%;*/
background:url(../images/icon_arrow.png) no-repeat 0 50%;
}

.news p{
clear:both;
/*padding-bottom:2px;*/
padding-top:1px;
padding-bottom:1px;
border-bottom: 1px dotted #ccc;
}

/*.news p:last-child{border:0;}*/

.news p a{
display:block;
padding:5px 0;
/*color:#333;*/
/*font-style:italic;
font:italic 110% "Palatino Linotype", "Book Antiqua", Palatino, serif;*/
}

.news a span{
color:/*#515151*/#666;
/*font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;*/

}

.news span{padding-left:/*10px*/30px;}

/*.news a:hover span{color:#777;}*/
.news a:hover{background:#f3f3f3; }
.news a:hover span{color:#11a2ce;}

/*add*/
.news time{
	color:#ffffff;
	font: italic 1.0em "Palatino Linotype", "Book Antiqua", Palatino, serif;
	padding:3px 10px;
	background:#00246f;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

/* フッター
*****************************************************/
div#footer_logo{
	max-width:300px;
	float:left;
	overflow:hidden;
	margin-bottom:15px;
	margin-right:40px;
}
div#footer_logo p{
	font-size:85%;
	color:#5a5a5a;
}

div.border_shadow{/*add ライン*/
	margin-bottom:20px;
	height:10px;
border-bottom:1px solid #ccc;
/* box-shadow */
box-shadow:0px 5px 10px -2px #e3e3e3;
-moz-box-shadow:0px 5px 10px -2px #e3e3e3;
-webkit-box-shadow:0px 5px 10px -2px #e3e3e3;
}

#footer ul{
	
	font-size:12px;
/*padding:10px  0 30px 0;*/
padding:0  ;
}

#footer ul li{
display:inline-block;
width:20%;/*add*/
vertical-align:text-top;
text-align:left;
/*padding:5px 0;*/
padding: 5px 0 5px 10px;
/*margin-right:30px;*/
/*background:url(../images/arrow.png) no-repeat 0 12px;*/
background:url(../images/icon_arrow.png) no-repeat 0 5px;
}

#footer ul li	a{
display:block;
padding:0 0 0 12px;
overflow:hidden;
}

/*#footer ul li	a:hover{text-decoration:underline;}*/

#footer ul li li{
display:block;
padding:0;
margin:0 0 0 10px;
background-position:0 5px;
}


*:first-child+html #footer ul li{display:inline;}
*:first-child+html #footer ul ul,*:first-child+html #footer ul li li a,*:first-child+html #footer ul li li{display:none;}

#copyright{
clear:both;
padding:15px 10px;
text-align:center;
font-size:75%;
zoom:1;
color:#fff;
background:#00246f;
}

/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;
height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#2a588b;
text-align:center;
}


/* トップページ 最新記事3件
------------------------------------------------------------*/
.thumbWrap{
width:735px;
margin:20px -25px 20px 0;
}

.thumbWrap li{
float:left;
width: 220px;
margin:0 25px 0 0;
padding:2px 0 40px;
background:none;
}

/* 最新記事リンク */
ul.thumb h3{
margin-top:10px;
padding:1px;
font-weight:normal;
font-size:100%;
text-align:center;
background:#25252;
border:1px solid #dadada;
}

ul.thumb h3 span{
color:#fff;
display:block;
padding:2px 3px;
background:#47550f;
}

ul.thumb h3 a{color:#252525;}

ul.thumb h3:hover span{
color:#333;
background:#fff1dd;
}

/*Add subpage top banner*/
div#pagetop_img{
	margin-top:20px;
}
div#pagetop_img img{
	max-width:100%;
}


/*Add お知らせページ */
/*-------------------------------------*/
section.news_list article {
	border-bottom:dotted 1px #ccc;
}
section.news_list article h3{
	font-size:120%;
	color:#00246f;
	margin:0;
	padding:10px 0;
	line-height:1.8em;
	}
section.news_list article h3 span{
    padding: 5px 10px;
    margin-right: 15px;
    background: #00246f;
    border-radius: 4px;
    color: #fff;
	font: italic 0.8em "Palatino Linotype", "Book Antiqua", Palatino, serif;
	}
section.news_list article .box{
	padding:20px 0;
}

/*Add 事業案内 #service*/
/*-------------------------------------*/

/*工業用品 & 機械部品補修*/
#service div.service_item{ /*工業用品*/
	 clear:both;
	margin-bottom:30px;
	
/* box-shadow */
box-shadow:0px 6px 15px -6px #bbbbbb;
-moz-box-shadow:0px 6px 15px -6px #bbbbbb;
-webkit-box-shadow:0px 6px 15px -6px #bbbbbb;
}
#service div.hosyu_item>div{ /*機械部品補修*/
	margin:10px 5px ;
}

#service div.service_item h4,#service div.hosyu_item h4{
	padding:10px 0 5px  10px;
	border:1px solid #ccc;

background: -webkit-gradient(linear, left top, left bottom, color-stop(0.88, #e9e9e9), color-stop(0.00, #f6f7f7));
background: -webkit-linear-gradient(top, #f6f7f7 0%, #e9e9e9 88%);
background: -moz-linear-gradient(top, #f6f7f7 0%, #e9e9e9 88%);
background: -o-linear-gradient(top, #f6f7f7 0%, #e9e9e9 88%);
background: -ms-linear-gradient(top, #f6f7f7 0%, #e9e9e9 88%);
background: linear-gradient(to bottom, #f6f7f7 0%, #e9e9e9 88%);
}
#service div.service_item h4 span,#service div.hosyu_item h4 span{
	background-image:url(../images/title_h4_head.png);
	background-repeat:no-repeat;
	padding-left:15px;
}

#service div.service_box{
	border:1px solid #ccc;
	border-top:none;
	padding:20px  15px 20px;
	overflow:hidden;
	margin-top:0;
	
	/* box-shadow */
box-shadow:0px 0px 5px 4px #eee inset;
-moz-box-shadow:0px 0px 5px 4px #eee inset;
-webkit-box-shadow:0px 0px 5px 4px #eee inset;

}

#service div.service_box ul  li{
     background:url(../images/icon_maru.png) no-repeat 0 50%;
	 padding-left:15px;
}

#service div.service_box ul.ul_1col{
	float:left;
	width:400px;
}

#service div.service_box ul.ul_2col_1,#service div.service_box ul.ul_2col_2{
	float:left;
	width:200px;
}
#service div.service_box ul{
	margin:0 0 0 10px;
}

#service div.service_box div{
	display:inline-block;
}
#service div.service_box img{
	float:left;
	overflow:hidden;
	border:1px solid #ddd;
	padding:3px;
	margin-bottom:10px;
}


/*Add googlemap*/
/*-------------------------------------*/
.google_map { position: relative; padding-bottom: 50%; height: 0; overflow:hidden; max-width: 100%;;} 
.google_map iframe, .google_map object, .google_map embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } 


/*Add 共通部品*/
/*--------------------------------------*/
.b{font-weight:bold;}
.font_red{color:#ff0000;}
.font_green{color:#37a0ac;}
.font_blue{color:#002665;}

.font_70{font-size:70%;}
.font_80{font-size:80%;}
.font_90{font-size:90%;}
.font_120{font-size:120%;}
.font_130{font-size:130%;}
.font_180{font-size:180%;}
.font_200{font-size:200%;}

.text_center{text-align:center;}

.mt_15{margin-top:15px;}
.mt_20{margin-top:20px;}
.mt_30{margin-top:30px;}
.mt_50{margin-top:50px;}
.mb_0{margin-bottom:0;}
.mb_20{margin-bottom:20px;}
.mb_30{margin-bottom:30px;}
.mr_0{margin-right:0!important;}


/*Add photoギャラリー*/
div.gallery{
	margin:20px auto;
}
div.gallery img{
	float:left;
	margin:0;
	max-width:100%;
}

/*Add page-topボタン*/
#page-top{
  display: block;
  position: fixed;
  z-index: 9999;
  bottom: -100px;
  right: 10px;
  transition: .5s;
}
#page-top:hover{ 
	opacity:0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
}


/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px){
nav div.panel{
display:block !important;
float:left;
}

a#menu{display:none;}		
	
nav#mainNav{
clear:both;
position:relative;
z-index:200;
/*add*/
border-bottom:1px solid #ccc;
/* box-shadow */
box-shadow:0px 5px 10px -2px #e3e3e3;
-moz-box-shadow:0px 5px 10px -2px #e3e3e3;
-webkit-box-shadow:0px 5px 10px -2px #e3e3e3;

}

nav#mainNav ul li{
float: left;
position: relative;
border-right:1px dotted #e3e3e3;
}

nav#mainNav ul li:first-child{border-left:1px dotted #e3e3e3;}

nav#mainNav ul li a{
display: block;
text-align: center;
float:left;
color:#333;
height:34px;
line-height:34px;
padding:12px 60px /*5px*/8px;
border-bottom:3px solid rgba(0,0,0,0);/*add 透明ライン*/

}

nav#mainNav ul li a span,nav#mainNav ul li a strong{
display:block;
font-size:/*90%*/105%;
line-height:1.4;
}

nav#mainNav ul li a span{
font-size:70%;
color:/*#47550f*/#11a2ce;
}

nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li a:active, nav#mainNav ul li.current-menu-parent a{
/*background:#fff1dd;*/
border-bottom:3px solid #11a2ce;
}
nav#mainNav ul li.current>a{/*add アクティブページの表示*/
border-bottom:3px solid #11a2ce;
}

nav#mainNav ul ul{width:/*160px*/220px;}

nav#mainNav ul li ul{display: none;}

nav#mainNav ul li:hover ul{
display: block;
position: absolute;
top:/*50px*/54px;
left:/*-2px*/0;
z-index:500;
}

nav#mainNav ul li li{
padding:0 0 0 10px;
margin:0;
float: none;
height:/*40px*/50px;
line-height:/*40px*/50px;
width:/*160px*/220px;
background:#f5f5f5;
border:0;
border-bottom:1px dotted /*#ccc*/#e3e3e3;
}

nav#mainNav ul li li:first-child{border-left:0;}

nav#mainNav ul li li a{
width:100%;
height:/*40px*/46px;
padding:0;
line-height:/*40px*/46px;
font-size:95%;
text-align:left;
}

nav#mainNav ul li li a span{padding:0 10px;}

nav#mainNav ul li li a:hover,nav#mainNav ul li li.current-menu-item a{color:#47550f;}

nav#mainNav ul li:hover ul li:last-child{border:0;}

}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
	nav#mainNav{
	clear:both;
	width:100%;
	margin:/*10px auto*/10px auto 0;
	/*background:#fff1dd;
	border-top:1px dotted #ccc;
	border-bottom:1px dotted #ccc;*/
	/*add*/
border-bottom:1px solid #ccc;
/* box-shadow */
box-shadow:0px 5px 10px -2px #e3e3e3;
-moz-box-shadow:0px 5px 10px -2px #e3e3e3;
-webkit-box-shadow:0px 5px 10px -2px #e3e3e3;

	}
	
	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:37px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
  background: url(../images/menuopen_blue.png) no-repeat 5px 8px;
	}
	
	nav#mainNav a#menu span{padding-left:35px; color:#11a2ce;}
	
	nav#mainNav a.menuOpen{
	background: url(../images/menuopen_blue.png) no-repeat /*5px -34px*/ 5px 8px;
	}
	
	nav#mainNav a#menu:hover{cursor:pointer;}
	
	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;

	}

	nav#mainNav ul{margin:0;padding:0;	
}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li:first-child{border-top:1px solid #d5d5d5;}
	nav#mainNav ul li li:first-child{border-top:0;}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px /*dashed*/solid #ccc;
	background:/*#fff*/#00246f;
	color:#ffffff;/*add*/
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	nav#mainNav ul li li:last-child a{border:0;}
	nav#mainNav ul li li:last-child a{border-bottom:1px dashed #ccc;}

 	nav#mainNav ul li a span{display:none;}
 
	nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:hover,nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:active, nav#mainNav ul li li.current-menu-item a, nav#mainNav ul li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-item li a:active{
	background:/*#fff1dd*/#bbbbbb;
	}

	nav#mainNav ul li li{
	float:left;
	border:0;
	}

	nav#mainNav ul li li a, nav#mainNav ul li.current-menu-item li a, nav#mainNav ul li li.current-menu-item a{
  padding-left:40px;
	background:/*#fff*/#f5f5f5 url(../images/sub1.png) no-repeat 20px 18px;
	color:#333;/*add*/
	}

	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover, nav#mainNav ul li.current-menu-item li a:hover{
		background:/*#fff1dd*/#bbbbbb url(../images/sub1.png) no-repeat 20px -62px;}
	
	nav#mainNav ul li li:last-child a{
		background:/*#fff*/#f5f5f5 url(../images/subLast.png) no-repeat 20px 20px;
		color:#333;/*add*/
		}
	nav#mainNav ul li li:last-child.current-menu-item a,nav#mainNav ul li li:last-child a:hover,nav#mainNav ul li.current-menu-item li:last-child a:hover{background:/*#fff1dd*/#bbbbbb url(../images/subLast.png) no-repeat 20px -65px;}
	
	nav div.panel{float:none;}
	
	#mainImg{margin-bottom:20px;}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #wrapper, #header, .inner{width:100%;}

	#header h1, #header p{padding:5px 10px;}
	#header h2{padding:20px 10px 0;}
	#header ul{padding:20px 10px 10px;}


	nav#mainNav ul, .thumbWrap{margin:0 auto;}
	nav#mainNav ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#mainImg { background:none;}
	#mainImg img{/*width:98%*/max-width:100%;height:auto;}

	#content, #sidebar,#content_width{
	clear:both;
	width:95%;
	float:none;
	margin:0 auto;
	padding:10px 0;
	}
	
	#banners{width:100%;margin:0 auto;text-align:center;}
	#banners p{display:inline;margin:0 /*10px*/;}
  #banners p img{width:100%;height:auto;}
	
	section.widget_search{text-align:center;}

	#footer{margin:0;/*border:0;*/text-align:center;}
	
	/*#footer ul{	text-align:center;	}*/
	/*#footer ul li{margin-right:20px;}*/
	
	div#footer_logo{/*add*/
	max-width:300px;
	float:none;
	margin:10px auto;
}

	#footer ul{/*padding:15px;*/padding:0 15px 10px ; margin:0 auto;}
	#footer ul ul{padding:0;}
	
	/*add*/
	#footer ul li{width:40%;}

	
	.thumbWrap{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	width:100%;
	margin:0 auto;
	padding-top:20px;
	overflow:auto;
  border:1px solid #dadada;
	}
	.thumbWrap ul.thumb li{width:30%; float:left;margin:0 1% 0 2%;}
  .thumbWrap img{width:100%;height:auto;}
  
  }

/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
	#header{text-align:center;}
	#header h2,#header ul{float:none;}
	#header h1{/*add*/
	float:none;
	text-align:center;
	margin: 5px 20px; 
	}
	#headerInfo{width:250px;margin:0 auto;}
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	.alignright,.alignleft{float:none;}
	
	/*add*/
	post{margin:0 5px 5px 5px;}
	.google_map {  padding-bottom: 50%; height: 0; ; max-width: 90%; margin:20px auto;} 
	
	.top_textarea { max-width:90%;height:auto;}
	.top_title{max-width:90%;font-size:1.6rem; }
	.top_text{max-width:100%; font-size:1.5rem; padding:10px 0}
	
	ul.ul_top_company{
		float:none;
		margin:10px auto;
		text-align:center;
	}
	
	div#top_ayumi{float:none; padding:0 10px; text-align:center;}
	div#top_ayumi img{ max-width:100%;}

	
	ul.ul_top_jigyou{text-align:center;}
	ul.ul_top_jigyou li{padding:0!important; padding-bottom:10px!important;}
	#service ul.ul_kikai li{ max-width:100%;}
}
