@charset "utf-8";
/*
Theme Name: Matsuya wp_v01
Author URI: http://www.matuya-net.jp/
*/

/* =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:14px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
-webkit-text-size-adjust:100%;
word-break: break-all;
background:#ffffff;
background-image:url(http://www.kobayashi-sangyou.jp/wordpress/wp-content/uploads/2016/08/back02.jpg);
background-repeat:no-repeat;
background-position:center 0pt;
}

@media screen and (max-width: 680px) { 
/* スマホ用（幅がpx未満のウインドウ用）*/
body{
background:#ffffff;
background-image:url();
background-repeat:no-repeart;
}
}


@media screen and (max-width: 768px) {
    .table-sp,
    .table-sp tbody,
    .table-sp thead,
    .table-sp tr,
    .table-sp td,
    .table-sp th {display:block;}
 
    .table-sp th {width:auto;}
}


img{
max-width: 100%;
height: auto;
width /***/:auto;　
}

.height {
height:20px;
}

.clear{
clear:both;
disply:none;
}


/*-notice-----------------------------*/
.ntc-bx1{
width:100%;
display:flex;
flex-flow:wrap;
justify-content:left;
}
.ntc-bx2{
width:24%;
margin:0 2px 10px 2px;
display:block;
}




/* -----------------------------------------------------------------------
    お問い合せ
----------------------------------------------------------------------- */

.wpcf7{
width:100%;
text-align:left;
}

.wpcf7 input[type="text"] {
width:50%;
}

.wpcf7 input[type="email"] {
width:50%;
}

.wpcf7 input[type="url"] {
width:50%;
}
.wpcf7 textarea {
	background-color: #fff;
	width: 80%;
	border: 1px solid #ddd;
	font-size: 100%;
	padding: 1px;
	border-radius: 4px;
	box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
}

.wpcf7 input[type="file"]{
text-overflow:clip;
word-break:break-all;
white-space:normal;
width:100%;
}

/* -----------------------------------------------------------------------

----------------------------------------------------------------------- */
#content h5{
margin-bottom: 10px;
padding: 0 10px 8px 8px;
line-height: 25px;
font-size: 16px;
font-weight: bold;
background: #ff;
background-repeat: no-repeat;
background-position: bottom right; 
background-image: url(http://www.kobayashi-sangyou.jp/wordpress/wp-content/uploads/2016/08/midashi-1.gif); 
color: #500d04;
}

#content h4{
margin-bottom: 5px;
padding: 0 0 0 25px;
line-height: 26px;
font-size: 14px;
font-weight: normal;
background: #00463e;
background-repeat: no-repeat;
background-position: bottom right; 
color: #ffffff;
}

#top h4{
font-size: 12px;
font-weight: normal;
margin:0px 0 0 0;
vertical-align:top;
margin-left:500px;
}

.center01 {
    text-align:center;
}

.left{
text-align:center;
float:left;
margin-right:10px;
}


.alpha a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}


img.attachment-medium_thumbnail { 
    border:1px solid #ddd; 
    float:left; 
    margin-right:15px; 
}


#top a{
margin:0;
margin-left:30;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:11pt;
color:#ffffff;
}

.copy{
width:100%;
text-align:center;
margin:40px 0 0 0;
font-size:8pt;
}

/* -----------------------------------------------------------------------
    headerボックス
----------------------------------------------------------------------- */

.headbox{
width:980px;

}

.headbox2{
width:500px;
float:left;
clear:both;
}

.headbox3{
width:480px;
text-align:right;
  display:inline-block;
  vertical-align: bottom;
}

/* -----------------------------------------------------------------------
    テーブル
----------------------------------------------------------------------- */
table.tp01 {
	border-collapse: collapse;
	text-align: left;
	line-height: 1.5;
}
table.tp01 th {
	width: 200px;
	padding: 10px;
	font-weight: bold;
	vertical-align: top;
	border: 1px solid #ccc;
}
table.tp01 td {
	width: 500px;
	padding: 10px;
	vertical-align: top;
	border: 1px solid #ccc;
}

/* -----------------------------------------------------------------------
    土肥料
----------------------------------------------------------------------- */

.smenu {
width:12%;
text-align:center;
font-size:10pt;
color:#ffffff;
text-decoration:none;
padding:2px 0 0 0;
margin:1px 1px 1px 2px;
background:#00463e;
float:left;
}

.smenu a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#ffffff;
}

.ue {
width:100%;
text-align:right;
font-size:10pt;
margin:15px 0 15px 0;
}

.tsuchi {
width:19%;
height:auto;
float:left;
padding:0px 2px 0px 2px;
margin:0 0 0px 2px;
}

.tsuchi2 {
height:70px;
vertical-align:top;
padding:0 4px;
margin:0 0 20px 0px;
}

/* -----------------------------------------------------------------------
   園芸用土
----------------------------------------------------------------------- */

.engei1 {
width:32%;
height:auto;
padding:0 0 0 0;
margin:0px 0 0 2px;
float:left;
}

.engei2 {
width:95%;
height:60px;
padding:0 10px 0 10px;
font-size:9pt;
}

.engei3 {
width:100%;
height:auto;
text-align:center;
}

.engei4 {
width:49%;
height:auto;
padding:0 0 0 0;
margin:0px 0 0 2px;
float:left;
}

/* -----------------------------------------------------------------------
    店舗施設
----------------------------------------------------------------------- */

.shi1{
width:50%;
height:auto;
float:left;
}

.shi2{
width:49%;
height:auto;
padding:0px 0px 0px 2px;
float:left;
background:#ffffff;
}

.shi3{
width:48%;
height:auto;
float:left;
padding:5px 5px;
}

table.shi {
	text-align: left;
width:100%;
}

table.shi th {
	width:30%;
	padding: 0px;
	font-weight: bold;
font-size:10pt;
	vertical-align: top;
	border: 1px solid #ccc;
}

table.shi td {
	width:70%;
	padding: 0px;
font-size:10pt;
	vertical-align: top;
	border: 1px solid #ccc;
}

/* -----------------------------------------------------------------------
    会社案内
----------------------------------------------------------------------- */

.map{
position:relative;
padding-top:56.25%;
height:0;
overflow:hidden;
}
.map iframe{
position:absolute;
top:0;
left:0;
height:100%;
width:100%;
}


/* -----------------------------------------------------------------------
   お知らせ表示
----------------------------------------------------------------------- */

#tabmenu{
    padding:0px;
    margin:0px;
    color:#333;
    font-size: 11px;
    width:100%;
    position:relative;
}

#tabmenu div#tab{
    position: absolute;
    top:0px;
    left:0px;
}

#tabmenu div#tab a{
    float: left;
    height: 40px;
    line-height: 40px;
    text-align: center;
margin:0 1px 0 1px;
    width: 240px;
    display: block;
    text-decoration:none;
    color:#333;
    background:#e1e0e0;
}

#tabmenu div#tab a:hover{
    background:#735a50;
    color:#fff;
}

div#tab_contents{
    width:740px;
    overflow:
    hidden;clear:both;
}


div#tab_contents ul{
    width:2500px;
    padding:0px;
    margin:0px;

}


div#tab_contents ul li{
    float: left;
    width:700px;
    list-style-type:none;
    padding:60px  20px  20px 20px;
    background:#ffffff;
}



.sintyaku1 {
width:100%;
}

.sintyaku2 {
width:100px;
text-align:left;
float:left;
background:#;
}

.sintyaku3 {
width:640px;
text-align:left;
}

.oshirase1 {
width:100%;
text-align:left;
vertical-align:top;
}

.oshirase2 {
width:100%;
text-align:center;
vertical-align:top;
}

.oshirase3 {
width:19%;
height:auto;
margin:1px;
text-align:left;
vertical-align:top;
display:inline-block;
overflow:hidden;
}

/* -----------------------------------------------------------------------
    翻訳
----------------------------------------------------------------------- */

.e1{
width:100%;
}

.e2{
width:40%;
margin:0 10px 10px 0;
float:left;
}

.e3{
width:100%;
}

.e4{
width:33%;
height:auto;
float:left;
}

/* -----------------------------------------------------------------------
    イメージギャラリー
----------------------------------------------------------------------- */
#stage2 {
	position: relative;
	max-width: 100%;
height:auto;
	margin: 0 auto;
}
/*全サムネイルのコンテナー*/
#thumbs2 {
margin:0 0;
text-align:center;
}
/*サムネイルの幅、ポインターを手のひら*/
#thumbs2 label img {
	width:16%;
	margin:0 2px;
	cursor: pointer;
}
/*ラジオボタンを非表示に*/
#r1, #r2, #r3, #r4, #r5, #r6, #r7, #r8, #r9, #r10, #r11, #r12 {
	display: none;
}
/*表示写真の初期配置（全部透明に）とtransition設定*/
.photo {
	position: absolute;
	left: 0;
	top: 0;
}
.photo img {
	width:100%;
	opacity: 0;
	-webkit-transition: opacity 1s ease;
	transition: opacity 1s ease;
}
/*チェックされたサムネイルに相当する写真だけを表示*/
#r1:checked ~ #photo1 img, #r2:checked ~ #photo2 img, #r3:checked ~ #photo3 img, #r4:checked ~ #photo4 img, #r5:checked ~ #photo5 img, #r6:checked ~ #photo6 img, #r7:checked ~ #photo7 img, #r8:checked ~ #photo8 img, #r9:checked ~ #photo9 img, #r10:checked ~ #photo10 img, #r11:checked ~ #photo11 img, #r12:checked ~ #photo12 img {
	opacity: 1;
}


/* -----------------------------------------------------------------------
    カテゴリ別新着記事一覧
----------------------------------------------------------------------- */
.postlist-category {
    margin: 10px 0 5px 0;
    padding: 2px;
    border-top: 1px dashed #999;
}
.postlist-category img {
    float: left;
    margin: 10px 6px 0 0;
    width: 80px;
    height: 80px;
}
.postlist-category a {
    display: block;
}
.postlist-category-inner {
    margin: 0;
    padding: 1px;
}
.postlist-category-inner p {
    font-size: 16px;
    margin: 1px 0 5px 3px;
}
.postlist-datetime span {
    font-size: 10px;
 
}



/* -----------------------------------------------------------------------
    レスポンシブsidebar-left
----------------------------------------------------------------------- */
@media screen and (max-width: 680px) {
.a { display: none; }
.b { display: none; }
.c { display: none; }
}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#1d5980;
}

a:hover, a:active{
outline:none;
color:#ffea00;
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after,nav#mainNav .inner:after{content:""; display:table;clear:both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li,nav#mainNav .inner{zoom:1;}


/* フォーム
------------------------------------------------------------*/
input[type="text"], 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:#878787;
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:120%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background:#a6a6a6;
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:944px;
}

#header{
text-align: center;
overflow:hidden;
}





#content{
float:right;
width:744px;
padding:20px 0 0px;
}

#sidebar{
float:left;
width:200px;
padding:22px 0 0px;
}

#footer{
clear:both;
} 


/* ヘッダー
*****************************************************/

/* サイト説明文
----------------------------------*/
#header h1{
padding:40px 0 0;
font-size:80%;
font-weight:normal;
text-align:center;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
padding:5px 0 20px;
text-align:center;
}

#header h2 a{
font-size:150%;
font-weight:bold;
}



/* トップページ　メイン画像
----------------------------------*/
#mainImg{
margin-top:20px;
clear:both;
line-height:0;
text-align:center;
z-index:0;
}

.post{
padding:0 0 0 0px;
margin:0 0 20px 0px;
border:0px solid #e0e0e0;
background: #fff;
}

.toppage h4{
margin:0 0 10px;
font-size:16px;
font-weight:normal;
color:#333;
}

.toppage{padding:10px 10px 20px 20px;}


/* 記事ループ
*****************************************************/
.list{
padding:10px 0;
border-bottom:1px dashed #dcdcdc;
}

.list:last-child{border:0;}

.post .list p{padding:0;}

.list span{padding-left:10px;}


/* タイポグラフィ
*****************************************************/
h2.title{
margin-bottom: 10px;
padding: 0 10px 8px 8px;
line-height: 25px;
font-size: 16px;
font-weight: bold;
background: #ff;
background-repeat: no-repeat;
background-position: bottom right; 
background-image: url(http://www.kobayashi-sangyou.jp/wordpress/wp-content/uploads/2016/08/midashi-1.gif); 
color: #500d04;
}

.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.post p{padding-bottom:5px;}

.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;
}

.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 h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color:#333;
border-bottom:2px solid #515151;
}

.post h3{
margin:10px 0;
font-size:100%;
font-weight:normal;
color:#2e2c2c;
border-bottom:1px solid #515151;
}

.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{
border:1px #ccc solid;
border-collapse:collapse;
border-spacing:0;
margin:10px 0 20px;
}

.post table th{
padding:10px;
border:#ccc solid;
border-width:0 0 1px 1px;
background:#f2f2f2;
}

.post table td{
padding:10px;
border:1px #ccc solid;
border-width:0 0 1px 1px;
background:#fff;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{max-width:100%;height:auto;}

img.aligncenter{
display:block;
margin:5px auto;
}

img.alignright, img.alignleft{
margin:10px 10px 15px 15px;
display:inline;
}

img.alignleft{margin:10px 15px 15px 10px;}

.alignright{float:right;}
.alignleft{float:left;}

#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
background:#fff;
}

#gallery-1 img:hover{background:#fffaef;}



/* サイドバー　ウィジェット
*****************************************************/
section.widget ul, .widget_search, #calendar_wrap, .textwidget{
margin:0 0 20px 0;
padding:10px 10px 10px 17px;
border:1px solid #e0e0e0;
background:#fff;
}

section.widget ul ul{
border:0;
margin:0;
padding:0 0 0 10px;
}

p.banner{padding-bottom:15px;}

p.banner img{
max-width:233px;
height:auto;
}

p.banner img:hover{
cursor:pointer;
opacity:.8;
}

section.widget h3{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
border:1px solid #e0e0e0;
border-bottom:0;
color:#000;

}

section.widget li a{
display:block;
padding:7px 0 7px 12px;
background:url(images/arrow.gif) no-repeat 0 12px;
border-bottom:1px dashed #dcdcdc;
}

section.widget li:last-child a{border:0;}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:90px;
vertical-align:bottom;
}

/* カレンダー */
#calendar_wrap table{margin:0 auto;width:90%;}
#calendar_wrap table caption{padding:10px 0;text-align:center;font-weight:bold;}
#calendar_wrap table th, #calendar_wrap table td{padding:3px;text-align:center;}
#calendar_wrap table th:nth-child(6),#calendar_wrap table td:nth-child(6){color:#0034af;}
#calendar_wrap table th:nth-child(7),#calendar_wrap table td:nth-child(7){color:#950000;}
#calendar_wrap table td#prev{text-align:left;}
#calendar_wrap table td#next{text-align:right;}
#calendar_wrap a{font-weight:bold;}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
border:1px solid #e0e0e0;
border-bottom:0;
color:#000;
background:#fff url(images/headingBg.png) repeat-x 0 100%;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:80%;
background:url(images/arrow.gif) no-repeat 0 5px;
}

.news p{
clear:both;
padding-bottom:2px;
border-bottom:1px dashed #dcdcdc;
}

.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;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news span{padding-left:10px;}

.news a:hover span{color:#6f6f6f;}



/* フッター
*****************************************************/
#copyright{
clear:both;
padding:10px 0 37px;
text-align:center;
color:#000;
font-size:10px;
}



/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width:100%;
height:30px;
margin:5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4f4d4d;
text-align:center;
}


/* トップページ 最新記事4件
------------------------------------------------------------*/
ul.post{
padding:0;
}

ul.post li{
margin:0 10px;
padding:20px 0 15px;
border-bottom:1px dashed #dcdcdc;
}

ul.post li:last-child{border:0;}

ul.post img{
float:left;
margin:0 15px 5px 10px;
}

ul.post h3{
margin:0 0 10px 10px;
font-size:14px;
font-weight:normal;
color:#333;
border:0;
}


/* レスポンシブ ボタン */
#res-navi{
display:none;
}





/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width:1025px){
nav#mainNav{
clear:both;
position:relative;
z-index:200;
width:100%;
}

nav#mainNav .inner{
padding-left:1px;
background:url(images/mainNavSep.png) no-repeat 0 5px;
}

nav#mainNav ul li{
float: left;
position: relative;
background:url(images/mainNavSep.png) no-repeat 100% 5px;
}

nav#mainNav ul li a{
display: block;
text-align: center;
_float:left;
color:#000;
height:35px;
line-height:45px;
font-size:110%;
margin-right:1px;
padding:10px 40px 0;
}

nav#mainNav ul li a span,nav#mainNav ul li a strong{
display:block;
font-size:90%;
line-height:1.4;
}

nav#mainNav ul li a span{
font-size:70%;
color:#cccccc;
font-weight:normal;
}

nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover span, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-parent a{
color:#b0b0b0;
}

nav#mainNav ul ul{
width:160px;
border-top:0;
}

nav#mainNav ul li ul{display: none;}

nav#mainNav ul li:hover ul{
display: block;
position: absolute;
top:45px;
left:-1px;
z-index:500;
}

nav#mainNav ul li li{
margin:0;
float: none;
height:40px;
line-height:40px;
width:160px;
background:#f2f2f2;
border-bottom:1px dotted #e0e0e0;
}

nav#mainNav ul li li:last-child{border:0;}

nav#mainNav ul li li a{
width:100%;
height:40px;
padding:0 0 0 10px;
line-height:40px;
font-size:95%;
text-align:left;
}

nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover{color:#6f6f6f;}

nav div.panel{
display:block !important;
float:left;
}

a#menu{display:none;}
}


/* メインメニュー 680サイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:680px){
nav#mainNav{
clear:both;
width:880px;
margin:0 auto 10px;
border:1px solid #e0e0e0;
}

#thumbs2 {
margin:0 0;
text-align:center;
}

#thumbs2 label img {
	width:49%;
	margin:0 1px;
	cursor: pointer;
}

nav#mainNav a.menu{
width:100%;
display:block;
height:37px;
line-height:37px;
font-weight:bold;
text-align:left;
background:url(images/menuOpen.png) no-repeat 5px 8px;
}

nav#mainNav a#menu span{padding-left:35px;}

nav#mainNav a.menuOpen{
border-radius:6px 6px 0 0;
background:url(images/menuOpen.png) no-repeat 5px -34px;
}

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 #e0e0e0;}
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 #ccc;
background:#fff;
}

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:#f6f6f6;
}

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 url(images/sub1.png) no-repeat 20px 18px;}

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:#f6f6f6 url(images/sub1.png) no-repeat 20px -62px;}

nav#mainNav ul li li:last-child a{background:#fff url(images/subLast.png) no-repeat 20px 20px;}
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:#f6f6f6 url(images/subLast.png) no-repeat 20px -65px;}

nav div.panel{float:none;}

#mainImg{margin-bottom:20px;}
}



/* 680px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width:680px){
#wrapper, .inner{width:100%;}

#header{width:96%;padding:0 2%;}

.headbox{
width:100%;

}

.headbox2{
width:100%;
float:left;
clear:both;
}

.headbox3{
width:100%;
text-align:center;
  display:inline-block;
  vertical-align: bottom;
}

.copy{
width:100%;
text-align:center;
margin:70px 0 0 0;
font-size:6pt;
}


/* -----------------------------------------------------------------------
   お知らせ表示
----------------------------------------------------------------------- */

#tabmenu{
    padding:0px;
    margin:0px;
    color:#333;
    font-size: 11px;
    width:100%;
    position:relative;
}

#tabmenu div#tab{
    position: absolute;
    top:0px;
    left:0px;
}

#tabmenu div#tab a{
    float: left;
    height: 40px;
    line-height: 40px;
    text-align: center;
margin:0 1px 0 1px;
    width: 90px;
    display: block;
    text-decoration:none;
    color:#333;
    background:#e1e0e0;
}

#tabmenu div#tab a:hover{
    background:#735a50;
    color:#fff;
}

div#tab_contents{
width:100%;
height:120px;
vertical-align:top;
overflow:hidden;
clear:both;
}


div#tab_contents ul{
    width:100%;
    padding:0px;
    margin:0px;
vertical-align:top;
}

div#tab_contents ul li{
    float: left;
    width:100%;
    list-style-type:none;
vertical-align:top;
    padding:60px  20px  20px 20px;
    background:#ffffff;
}



.sintyaku1 {
width:100%;
}

.sintyaku2 {
width:100px;
text-align:left;
float:left;
background:#;
}

.sintyaku3 {
width:640px;
text-align:left;
}

.oshirase1 {
width:100%;
text-align:left;
vertical-align:top;
}

.oshirase2 {
width:100%;
text-align:center;
vertical-align:top;
}

.oshirase3 {
width:19%;
height:auto;
margin:1px;
text-align:left;
display:inline-block;
overflow:hidden;
float:left;
}

/* -----------------------------------------------------------------------
    翻訳
----------------------------------------------------------------------- */

.e1{
width:100%;
}

.e2{
width:100%;
margin:0 10px 10px 0;
float:left;
}

.e3{
width:100%;
}

.e4{
width:48%;
height:auto;
float:left;
padding:0 2px 0 2px;
}

.tsuchi {
width:49%;
height:auto;
float:left;
text-align:left;
padding:2px 1px 0px 1px;
margin:0 0 0px 0;
}

.tsuchi2 {
height:50px;
vertical-align:top;
padding:0 2px;
margin:0 0 20px 0px;
}


.shi1{
width:100%;
height:auto;
}

.shi2{
width:100%;
height:auto;
padding:0px 0px 0px 2px;
float:left;
background:#ffffff;
}

table.shi {
	text-align: left;
width:100%;
}

table.shi th {
	width: 30%;
	padding: 0px;
	font-weight: bold;
font-size:10pt;
	vertical-align: top;
	border: 1px solid #ccc;
}

table.shi td {
	width: 70%;
	padding: 0px;
font-size:10pt;
	vertical-align: top;
	border: 1px solid #ccc;
}

.engei1 {
width:32%;
height:auto;
padding:0 0 0 0;
margin:0px 0 0 2px;
float:left;
}

.engei2 {
width:100%;
height:90px;
padding:0 2px 0 2px;
font-size:9pt;
}

.engei3 {
width:100%;
height:auto;
text-align:center;
}

nav#mainNav{width:95%;}

nav#mainNav ul{margin:0 auto;}
nav#mainNav ul ul{padding:0;}

nav div.panel{float:none;}

#mainImg img{width:98%;height:auto;}

#content, #sidebar{
clear:both;
width:95%;
float:none;
margin:0 auto;
padding:10px 0;
}

.banner{width:100%;margin:0 auto;text-align:center;}
p.banner img{width:100%;height:auto;}

section.widget_search{text-align:center;}

#footer li{margin-bottom:10px;}

/*-notice-----------------------------*/
.ntc-bx1{
width:100%;
display:flex;
flex-flow:wrap;
justify-content:left;
}
.ntc-bx2{
width:98%;
margin:0 1% 10px 1%;
display:block;
}


/* レスポンシブ ボタン */
#res-navi{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:8px 2%;
padding:13px 0;
background:#009302;
}
#res-navi a{
background:#fff;
border-radius:5px;
font-size:8pt;
padding:5px 0;
text-align:center;
width:30%;
}
#res-navi a.lang-button{
background:#0d4e48;
color:#fff;
width:46%;
}






}

