@charset "utf-8";

/* 1289 */
/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
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;}

body{
font:100%/1.7 verdana,"Yu Gothic Medium", "游ゴシック Medium","游ゴシック体", "Yu Gothic", YuGothic, sans-serif,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
font-weight: 500;
color:#252525;
-webkit-text-size-adjust:none;
/* background:#fcf8ef; */
}
.voice{font-family: "Noto Sans Japanese"; 
}

/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none; 
/*
text-decoration-style: dashed;
text-decoration-style: dotted; 
text-decoration-style: solid;
*/
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#36F;

}

a:hover, a:active{
-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;
outline:none;
color:#3f51b5;
text-decoration-style: solid;
text-decoration:underline;
}


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


/* フォーム
------------------------------------------------------------*/
input[type="text"], input[type="email"],textarea{
vertical-align:middle;
max-width:90%;
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;
}

textarea{
height:auto;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background:#3f51b5;
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:100%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
cursor:pointer;
background:dodgerblue;;
}

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

input[type="submit"],input[type="reset"] ,input[type="button"]{
-webkit-appearance: none;
}

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

#header{
overflow:hidden;
background:#fff;
}

#content{
float:left;
width:960px;
padding:30px 0;
}

#sidebar{
float:right;
width:0px;
padding:30px 0;
}

#footer{
clear:both;
padding:20px 0px 10px 0px;
border-bottom:1px solid #fff;
background:#f4eddd;
text-align:center;
font-size:85%;
} 


/* ヘッダー *****************************************************/

#header .bg{background:#333333;} /* PHP */


/* サイト説明文 + 住所
----------------------------------*/
#header h1,#header p{
float:left;
padding:3px 0;
color: #fff;
font-size:80%;
font-weight:normal;
}

#header p{
float:right;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header .logo{
clear:both;
float:left;
padding:30px 0;
color:#000;
font-size:190%;
font-weight:bold;
font-family: 'Noto Serif JP', serif;
}

#header .logo_mark{
width:70px;
vertical-align: bottom;
}

.logo span{display:block; font-size:50%; font-weight:normal;}


.logo a, a:hover, a:active{
color:#000;
text-decoration:none;
}

/* サブナビゲーション
----------------------------------*/
#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%;}



/*************
/* 電話番号
*************/
#header .info{
float:right;
padding:20px 10px 10px 0px;
color:#000000;
font-size:120%;font-weight:normal;
text-align:right;
line-height: 160%;
font-family: 'Noto Serif JP', serif;
}
#header .tel{
font-size:160%;
font-weight:bold;
}
/**************************
/* ロケーター
**************************/
#locator{
margin:10px 5px;
padding:0;
width:100%;
font-size:13px;
}

#locator ul {
  display: flex; /* 子要素(li)を横一列に並べる */
  list-style-type: none; /* リスト要素に表示されている"・"を非表示 */
}
#locator a {
display: block;
position: relative;
padding: 0px 25px 0px 10px;
background: #FFF;
color: #000;
text-decoration: none;
}

#locator a:after {
display: block;
content: "";
position: absolute;
top: 50%;
right: 10px;
width: 6px;
height: 6px;
margin: -4px 0 0 0;
border-top: solid 2px #333;
border-right: solid 2px #333;
-webkit-transform: rotate(45deg);
        transform: rotate(45deg);
}





/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:0px auto 17px;
padding:0;
width:100%;
position:relative;
line-height:0;
}

#mainBanner img{
max-width:100%;
height:auto;
}

#subpage #mainBanner img{border:4px solid #f1f1f1;}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:20px;
left:0;
padding:5px 10px;
line-height:1.4;
color:#939393;
}

.slogan h2{
padding-bottom:5px;
font-size:20px;
font-weight:bold;
color:#333;
}





/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
/* background:#ffffff;  ican */
}

.box{
margin:20px 5px;
padding:15px 15px 20px;
border:0px solid #999;
background:#f5f5f5; /*ican */
font-size: 90%; /*ican */
border-radius: 15px;
text-align: center;
/*box-shadow: 0 0 7px rgba( 0, 0, 0, 0.2 );*/
}

.box img{
max-width:100%;
height:auto;
border:0px solid #f1f1f1;
}

.box img.arrow{
border:0px;
}

.box h3{
	clear: both;
	padding:5px 10px 2px 10px;
	background:#3f51b5; /* PHP */
	/* background: linear-gradient(45deg, #757575, #aaa); */
	color:#fff;
	font-size: 110%;
	text-align:center;
	line-height:180%;
	font-weight:normal;

	} 

.box p{
	padding:10px 5px;
	text-align:left; 
	line-height:180%;
	} 

.box p.readmore{
padding:10px 5px 5px;
text-align:right;
}

.box .alignleft{
float:left;
clear:left;
margin:0px; 
}


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

.box h3 span{
display:block;
padding:2px 3px;
background:#0099CC;
}

.box h3 a{color:#fff;}

.box h3:hover span{background:#f5d5da;}

*/










/*************
メイン コンテンツ
*************/
section.content article{
width:94.5%; 
margin:0px auto 20px;
padding:10px;
border:0px solid #f1f1f1;
overflow:hidden;
background:#ffffff; /* ican */
}

* html section.content article{height:1%;}

section.content p{
padding:7px 15px;
margin:0px auto 5px;
}


section.content ol { 
    list-style: decimal;
}

section.content dt {
    display: block;
    margin-top:20px;
}

section.content dd {
    display: block;
    margin-inline-start: 40px;
}


section.content ul {
list-style-type: disc;	/* リストの左側に黒丸 */
}

section.content li {
margin-left: 24px;	/* リストの左側に余白 */
line-height: 120%;
margin-bottom: 10px;
}


/*************************
 括弧表示の番号付きリスト
*********************+****/

section.content ol li {
  list-style-type: decimal;
  margin-left: 40px;
  margin-right: 20px;
}







/***************************
 　ステップ表示
 ***************************/

section.content .step{
  list-style-type: none;
  padding:0;
  margin:0;
}
section.content .step li{
  position: relative;
  width:200px;
  background: #504944;
  padding: 5px 0 0;
  margin-bottom: 30px;
  text-align:center;
  color: #fff;
  font-size: 90%;
  line-height: 200%;
}
section.content .step li:after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  bottom: -20px;
  left: 0;
  border-style: solid;
  border-color: #504944 transparent transparent transparent;
  border-width: 20px 100px 0 100px;
  z-index: 1;
}
section.content .step li.is-current{
  background: #9bbb30;
  font-weight: normal;
}
section.content .step li.is-current:after{
  border-color: #9bbb30 transparent transparent transparent;
}


/***************************
 　ステップバー
 ***************************/

.stepbar {
  margin: 0 auto 0 40px;
  width: 80%;
}

.stepbar .stepbarwrap {
  margin: 1.8em 0;
  position: relative;
}

.stepbar .stepbarwrap .steptitle {
  display: inline-flex;
  align-items: center;
}

.stepbar .stepbarwrap .steptitle .stepcircle {
  display: inline-block;
  width: 1em;
  height: 1em;
  content: "";
  border-radius: 50%;
  background-color: #8BC34A;
  border: 1px solid #8BC34A;
}
.stepbar .stepbarwrap .steptitle .stepcol_01 {
  width: 2em;
  height: 2em;
  background-color: #f06292;
  border: 1px solid #f06292;
}

.stepbar .stepbarwrap .steptitle .stepcol_02 {
  width: 2em;
  height: 2em;
  background-color: #2196f3;
  border: 1px solid #2196f3;
}

.stepbar .stepbarwrap .steptitle .stepcol_03 {
  width: 2em;
  height: 2em;
  background-color: #ff9800;
  border: 1px solid #ff9800;
}

.stepbar .stepbarwrap .steptitle .stepcol_04 {
  width: 2em;
  height: 2em;
  background-color: #26a69a;
  border: 1px solid #26a69a;
}

.stepbar .stepbarwrap .steptitle .stepcol_05 {
  width: 2em;
  height: 2em;
  background-color: #303f9f;
  border: 1px solid #303f9f;
}


.stepbar .stepbarwrap .steptitle .stepnum {
  padding-left: 1em;
  font-size: 0.8em;
  color: #333;
}

.stepbar .stepbarwrap .steptxt {
  padding-left: 2em;
  padding-bottom: 20px;
}

.stepbar .stepbarwrap .steptxt .title {
  margin: 0.5em 0;
  font-weight: bold;
  font-size: 1.2em;
}

.stepbar .stepbarwrap .steptxt .txt {
  font-size: 0.9em;
}

.stepbar .stepbarwrap .stepline {
  width: 1px;
  height: calc(100% + 1em);
  background-color: #000;
  position: absolute;
  top: 1em;
  left: 0.5em;
  z-index: -1;
}

.stepbar .stepbarwrap .stepline2 {
  width: 1px;
  height: calc(100% + 1em);
  background-color: #000;
  position: absolute;
  top: 1em;
  left: 1em;
  z-index: -1;
}

.stepbarwrap:last-of-type .stepline:last-of-type {
  display: none;
}







h3.heading{
margin:15px 10px 0px;
font-weight:normal;
padding:5px 10px 5px 15px;
line-height:160%;
color:#000;
background:#eceff1; /* PHP */
border-bottom: solid 1px #333;    /* ican */
font-family: 'Noto Serif JP', serif;
font-size:130%; 
}



h4.heading{
margin:20px 10px 15px;
font-weight:normal;
padding:10px 25px;
line-height:36px;
color:#000;
background:#fff; /* ican */
border: solid 1px #666; /* ican */
font-family: 'Noto Serif JP', serif;
font-size:140%;
/*
background: url(./userimg/a.jpg) ;
background-repeat: repeat; 
background-position:right;
background-size:  100%; */
}

h4.rclass{
border-left: solid 10px #123cb2;
}
h4.pclass{
border-left: solid 10px #FFC107;
}
/***************************
 　スローガン
 ***************************/

.slogan2 {
  position: relative;
  line-height: 1.4;
  padding:0.25em 1em;
  display: inline-block;
  top:0;
font-family: 'Noto Serif JP', serif;
font-size:120%;
font-weight: normal;
}

.slogan2:before, .slogan2:after { 
  position: absolute;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
  display: inline-block;
}
.slogan2:before {
  border-left: solid 1px black;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
  left: 0;
}
.slogan2:after {
  content: '';
  border-top: solid 1px black;
  border-right: solid 1px black;
  border-bottom: solid 1px black;
  right: 0;
}




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

.alignleft{
float:left;
clear:left;
margin:3px 10px 0 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 0 10px; 
}

#gallery .grid img,.border,ul.list img{border:0px solid #795548;;}


#gallery .grid .mk_gmap {
    width: 17px;
    vertical-align: text-bottom;
    border:0px;
}




/* カレンダー */
.article_cal{
width:96.5%; 
margin:0px auto 30px;
background:#ffffff;
}

/* マップ */
.article_map{
/* width:94.5%; */
margin:0px auto 30px;
padding:10px 10px 10px 10px;
background:#ddd;
}


/***************************
 　ボタン
 ***************************/
/* ボタン（大） */
.btn-border1 {
  display: inline-block;
  text-align: left;
  font-size:90%;

  color: #fff;
  text-decoration: none;
  font-weight: normal;
  padding: 8px 20px;
	border-radius			: 20px;	/* CSS3草案 */
	-webkit-border-radius		: 25px;	/* Safari,Google Chrome用 */
	-moz-border-radius		: 25px;	/* Firefox用 */
  transition: .4s;
  margin-bottom: 15px;
  margin-right: 10px;
  text-align: center;
  line-height: 160%;
}
.btn-border1 span {
  font-size:80%;
}
.btn-border1:hover {  background-color: #fff; }

.btn-type-a {  border-radius:5px; transform:skewX(354deg); font-size: 100%; padding: 10px 30px;}
.btn-type-b {  font-size: 110%; padding: 10px 30px; width: 250px;}


.btn-col01 { /* 抹茶 */
  	border: 2px solid #4caf50;
  	background-color: #4caf50; }
.btn-col01:hover { color: #4caf50; }
.btn-col04 { /* グレー */
  	border: 2px solid #607d8b;
  	background-color: #607d8b; }
.btn-col04:hover { color: #607d8b; }


/* ボタン（小） */
.btn-border2 {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: normal;
	border-radius			: 20px;	/* CSS3草案 */
	-webkit-border-radius		: 25px;	/* Safari,Google Chrome用 */
	-moz-border-radius		: 25px;	/* Firefox用 */
  transition: .4s;
  margin: 5px 0 5px 5px;
  text-align: center;
  line-height: 100%;
  padding: 3px 5px;
  width:80px;
  font-size:75%;
}
.btn-border2 span {
  padding: 3px 2px;
  font-size:95%;
}
.btn-border2:hover {  background-color: #fff; }

.btn-col02 { /* オレンジ */
	border: 2px solid #f44336;
	background-color: #f44336; }
.btn-col02:hover { color: #f44336; }

.btn-col03 { /* 茶 */
  	border: 2px solid #795548;
  	background-color: #795548; }
.btn-col03:hover { color: #795548; }

.btn-col04 { /* 黄色 */
  	border: 2px solid #d9b12b;
  	background-color: #d9b12b; }
.btn-col04:hover { color: #d9b12b; }



.decotag {
    width: 150px;
    background: #fff;
    font-size: 100%;
    padding: 0px 5px;
    border-left: 10px solid #3f51b5;

    border-bottom: 1px solid #3f51b5;
}



/***************************
 　テーブル　会社概要
 ***************************/
table.table{
border-collapse:collapse;
margin:0px auto 15px; /* ican */
width:96.5%;
}


table.table th{
background-color:#ffffff; /* #F5F5F5; ican */
text-align:right;
padding:8px;
white-space:nowrap;
color: #151515;
border-top:1px solid #D4D4D4;
border-right:4px solid #D4D4D4;	/* ican */
border-bottom:1px solid #D4D4D4;
border-left:0px solid #D4D4D4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}



table.table td{
border-collapse:collapse;
background-color:#ffffff; /* #F9F9F9; ican */
text-align:left;
padding:8px;
border-top:1px solid #D4D4D4;	/* ican */
border-right:0px solid #D4D4D4;	/* ican */
border-bottom:1px solid #D4D4D4;/* ican */
border-left:0px solid #D4D4D4;	/* ican */
/* border:1px solid #D6D6D6; */
}


/***************************
 　テーブル2 お問合せ
 ***************************/
table.table2{
border-collapse:collapse;
margin:0px auto 15px; /* ican */
width:96.5%;
}


table.table2 th{
background-color:#efebe9;
text-align:right;
padding:8px;
white-space:nowrap;
color: #151515;
border-top:1px solid #D4D4D4;
border-right:4px solid #D4D4D4;	/* ican */
border-bottom:1px solid #D4D4D4;
border-left:0px solid #D4D4D4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}

table.table2 .color1{
background-color:#efebe9; /* brown */
}

table.table2 .color2{
background-color:#f4eddd; /* beige */
}



table.table2 td{
border-collapse:collapse;
background-color:#ffffff; /* #F9F9F9; ican */
text-align:left;
vertical-align:middle;
padding:8px;
font-size:14px;
border-top:1px solid #D4D4D4;	/* ican */
border-right:0px solid #D4D4D4;	/* ican */
border-bottom:1px solid #D4D4D4;/* ican */
border-left:0px solid #D4D4D4;	/* ican */
line-height:20px;
}
table.table2 tr th span {
	color: #CC0000;
	font-size: 12px;
	font-weight:bold;
}
table.table2 tr th p {
	margin: 0px;
	padding: 0px;
	font-size: 10px;
	color: #3F51B5;
}


/***************************
 　テーブル3 カスタム
 ***************************/
table.table3{
border-collapse:collapse;
margin:0px auto 15px; /* ican */
width:96.5%;
}


table.table3 th{
background-color:#efebe9;
text-align:center;
font-size:90%;
padding:8px;
/* white-space:nowrap; */
color: #151515;
border:1px solid #bbb;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}


table.table3 td{
border-collapse:collapse;
text-align:left;
vertical-align:middle;
padding:8px;
font-size:90%;
border:1px solid #D4D4D4;
line-height:20px;
}

table.table3 tr th span {
	font-weight:normal;
}

table.table3 td span {
	font-size:90%;
}

table.table3 tr th p {
	margin: 0px;
	padding: 0px;
	font-size: 10px;
	color: #669966;
}

table.table3 .data2 {
	text-align:right;
}

table.table3 .data_m {
	text-align:center;
}


table.table3 .title{
	background-color:#efebe9;
	vertical-align: middle;
}

table.table3 .title_m{
	text-align:center;
	background-color:#efebe9;
}


table.table3 .rec1 {
	text-align:center;
	border-bottom: 1px solid #795548;
	border-top: 1px solid #795548;
	border-left: 0;
	border-right: 0;
}
table.table3 .rec2 {
	text-align:left;
	line-height:160%;
	border-bottom: 1px solid #795548;
	border-top: 1px solid #795548;
	border-left: 0;
	border-right: 0;
}

/***************************
 　採用
 ***************************/
.recmsg {
font-family: 'Noto Serif JP', serif;
font-weight: normal;
}





/*************
テーブル お知らせ
*************/
table.table .whatnew{
	background-color:#ffffff;
}


table.table .ymd{
	width: 15%;
	line-height: 150%;
	padding	: 15px 10px 5px 5px;
	border-top: 0px dotted #ddd;
	border-bottom: 1px dotted #ddd;
	vertical-align:top;
	text-align: left;
}
table.table .comment{
	width: 85%;
	line-height: 150%; 
	padding	: 15px 5px 5px 0px;
	border-top: 0px dotted #ddd;
	border-bottom: 1px dotted #ddd;
}











/*************
/* サイドバー
*************/
#sidebar ul{padding:10px;}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #f1f1f1;
}

#sidebar li:last-child{
border:0;
margin-bottom:0px;
}

#sidebar li a{display:block;}

#sidebar ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
border:0;
}

ul.list li{height:1%;}

ul.list li img{
float:left;
margin-right:10px;
}

ul.list li{
font-size:12px;
line-height:1.35;
}










/* フッター
*****************************************************/
#footer ul{
padding-bottom:10px;
}

#footer li{
display:inline-block;
vertical-align:text-top;
text-align:left;
padding:5px 0;
margin-right:40px;
background:url(images/arrow.png) no-repeat 0 16px;
line-height: 220%;
}

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

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

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


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

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




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

a#menu{display:none;}

#mainNav{
clear:both;
position:relative;
z-index:200;
background:#123cb2; /* PHP black */
color:#fff;
}

#mainNav li{
float: left;
position: relative;
border-right:1px dotted #9fa8da;
}

#mainNav .recruit{border-bottom: 7px solid #FFEB3B;}

#mainNav li:first-child{border-left:1px dotted #9fa8da;}

#mainNav li a{
display: block;
text-align: center;
_float:left;
color:#fff;
/* height:40px; */
line-height:40px;
padding:25px 18px 23px;
text-decoration:none;
}

#mainNav li a span,#mainNav li a strong{
display:block;
font-size:95%;
line-height:1.4;
}


#mainNav li a span{
font-size:80%;
color: #bcaaa4; /* PHP */
}

#mainNav li.current-menu-item a, #mainNav li a:hover, #mainNav li a:active, #mainNav li.current-menu-parent a{
background:#303F9F;  /* hover  #009943 #303F9F  */
color:#fff;
}

#mainNav ul ul{width:160px;}

#mainNav li ul{display: none;}

#mainNav li:hover ul{
display:block;
position:absolute;
top:70px; /* サブメニューの位置 */
left:0px;
z-index:500;
}

#mainNav li li{
padding:0 0 0 0;
margin:0;
float:none;
height:40px;
line-height:40px;
width:185px;
background:#303F9F; /* sub-menu */

border:0;
border-bottom:1px dotted #eee;  
}

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

#mainNav li li a{
width:165px;
height:40px;
padding:0 0 0 20px;
line-height:40px;
font-size:85%;
text-align:left;
}

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

#mainNav li li a:hover,#mainNav li li.current-menu-item a{color:#fff; background:#123cb2;} /* sub-menu */

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




	/* スライダー 
	#mainBanner{margin-left:15px;}*/



	#sidebar{
	float:left;
	width:245px;
	padding:17px 0 0 15px;
	overflow:hidden;
	}
	
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #f1f1f1;
	overflow:hidden;
	}


	/* グリッド全体 */
	.gridWrapper{ margin:0 0 0 -10px;}
	
	#gallery article { padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
  	#gallery .grid{
	width:auto;
	margin:10px 0 2px 15px;
	}



}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:959px){
#mainNav{
clear:both;
width:100%;
margin:0 auto;
background:#1565c0 ; /* PHP */

}

/* ---------------------
　　≡MENU
------------------------ */
	nav#mainNav a.menu{
	color:#ffffff;
	width:97%;
	display:block;
	line-height:40px;
	padding-left: 10px;
	font-weight: bold;
	text-align:left;
	text-decoration: none;
	}
	
	nav#mainNav a.menu:before{
	content:"≡";
	font-size: 18px;
	}
	
	nav#mainNav a#menu span{padding-left:10px;}
		
	nav#mainNav a.menuOpen{
	border-bottom:0;
	}

	nav#mainNav a.menuOpen:before{
	content:"×";
	}


/* -------------------------------- */


#mainNav a#menu:hover{cursor:pointer;}

nav .panel{
display:none;
width:100%;
position:relative;
right:0;
top:0;
z-index:1;
}

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

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

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

#mainNav li a,#mainNav li.current-menu-item li a{
display:block;
padding:15px 10px;
text-align:left;
border-bottom:1px dashed #ccc;
color:#fff;
background:#3f51b5; /* PHP */
text-decoration:none;
}

#mainNav li:last-child a{border:0;}
#mainNav li li:last-child a{border:0;}
#mainNav li li:last-child a{border-bottom:1px dashed #ccc;} 

 #mainNav li a span{display:none;}
 
#mainNav li.current-menu-item a,#mainNav li a:hover,#mainNav li.current-menu-item a,#mainNav li a:active, #mainNav li li.current-menu-item a, #mainNav li.current-menu-item li a:hover, #mainNav li.current-menu-item li a:active{
color:#f5d5da;
}

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

/* submenu color */

#mainNav li li a, #mainNav li.current-menu-item li a, #mainNav li li.current-menu-item a{
	padding-left:40px;
/*	background:#0099CC url(images/sub1.png) no-repeat 20px -62px; */
	background:#0099CC url(images/sub1.png) no-repeat 20px -62px;
	border-bottom: 0;
	}
#mainNav li li.current-menu-item a,#mainNav li li a:hover, #mainNav li.current-menu-item li a:hover{
	color:#f5d5da;
	background:#0099CC url(images/sub1.png) no-repeat 20px 18px;
	}
#mainNav li li:last-child a{
	background:#0099CC url(images/subLast.png) no-repeat 20px -65px;
	}
#mainNav li li:last-child.current-menu-item a,#mainNav li li:last-child a:hover,#mainNav li.current-menu-item li:last-child a:hover{
	color:#f5d5da;
	background:#0099CC url(images/subLast.png) no-repeat 20px 20px;
	}

nav div.panel{float:none;}

#mainImg{margin-bottom:20px;}

	/* テーブル */
	table.table{
	width:98%;
	}


	/* グリッド */
	.grid{
	float:left;
	width:30%;
	margin-left:10px;
	margin-right:10px;
	}

}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width:959px){


#wrapper, #header, .inner{width:100%;}

/* ロゴ (サイトタイトル)
----------------------------------*/
#header .logo{
padding:10px 10px;
}

#header .info {
padding-top: 10px;
}


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

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

nav div.panel{float:none;}

#mainImg img{width:100%;height:auto;}

#content, #sidebar{
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 li{margin-right:20px;}

.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;}

	}



}





