@charset "utf-8";
/*
Theme Name: responsive_246
Theme URI: http://c-tpl.com/
Description: responsive_246
Version: 1.0
Author: Cloud template
Author URI: http://c-tpl.com/
Tags: simple

	Cloud template v1.0
	 http://c-tpl.com/

	This theme was designed and built by Cloud template,
	whose blog you will find at http://c-tpl.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* =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,figure {
	border: 0;
	font-family: "Noto Sans Japanese","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro", sans-serif;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	line-height:160%;
}

: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 {
	background:#fff;
	overflow-y:scroll;
}

body {
	color:#252525;
	-webkit-text-size-adjust: none;
	background:#fff;
}

@media only screen and (min-width: 1025px) {
html{
	position: relative;
	min-height: 100%;
}
}

html{background:#ffffff;}

* {
	box-sizing:border-box;
}

.clearfix:after {
	content: ".";  /* 新しい要素を作る */
	display: block;  /* ブロックレベル要素に */
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	min-height: 1px;
}

* html .clearfix {
	height: 1px;
	/*\*//*/
	height: auto;
	overflow: hidden;
	/**/
}

strong {
	font-weight:bold;
}

.center {
	text-align:center;
}

.pc {
	display:block;
}

.sp {
	display:none;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
 
img.alignright {
	padding: 4px;
	margin: 0 0 2px 10px;
	display: inline;
	}
 
img.alignleft {
	padding: 4px;
	margin: 0 10px 2px 0;
	display: inline;
	}
 
.alignright {
	float: right;
	}
 
.alignleft {
	float: left;
}

.fL {
	float:left;
}


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

a:hover, a:active{
-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;
outline: none;
color:#47a4d9;
}


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

a#menu {
    display: none;
}

.p_num a {
	color:#000;
}


/* フォーム
------------------------------------------------------------*/
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea,select{
vertical-align:middle;
width:100%;
line-height:40px;
height:40px;
padding:1%;
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:8px 30px;
background: #008745;
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{
background: #006d2b;
cursor:pointer;
}

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

input[type=checkbox], 
input[type=radio]{
width:25px;
height:25px;
}

.form {
	width:100%;
	margin:0 auto;
	background:rgba(245,243,166,0.3);
	padding:5%;
	box-sizing:border-box;
}

.form dl {
	padding-bottom:2%;
}

.form dt,
.form dd {
	display:inline-block;
	vertical-align:top;
}

.form dt {
	width:18%;
}

.form dt span {
	color:#f00;
}

.form dd {
	width:79%;
}

@media only screen and (max-width: 767px) {
.form dt,
.form dd {
	display:block;
}

.form dt,
.form dd{
	width:100%;
}
}


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

#header{
overflow:hidden;
}

#content{
width:100%;
padding:0 0 30px 0;
	clear:both;
}

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

#footer{
clear:both;
padding:20px;
	background:#000;
	color:#fff;
}

/*========== flex用*/

.flex {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
	display:box;
	-js-display: flex;
    display: flex;
	-webkit-justify-content: flex-start;
  	justify-content: flex-start;
	-webkit-flex-wrap:wrap;
	flex-wrap:wrap;
}

.flex2 {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
	display:box;
	-js-display: flex;
    display: flex;
}

.flex3 {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
	display:box;
	-js-display: flex;
    display: flex;
	-webkit-justify-content:space-between;
  	justify-content:space-between;
	flex-wrap:wrap;
}

.flex4 {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
	display:box;
	-js-display: flex;
    display: flex;
	-webkit-justify-content:center;
  	justify-content:center;
}

.reverse {
	-webkit-flex-direction:row-reverse;
	flex-direction:row-reverse;
}

/*========== iframe用*/

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
} 

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
}

/* ページャー
------------------------------------------------------------*/

.wp-pagenavi {
	clear: both;
	text-align:center;
	padding:20px 0;
	margin:40px 0;
}

.wp-pagenavi a, .wp-pagenavi span {
	font-size:87.5%;
	color: #29A8DF;
	background-color: rgba(41,168,223,0.1);
	border: 1px solid #29A8DF;
	padding: 8px 15px;
	margin: 0 2px;
	white-space: nowrap;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	text-align: center;
	text-decoration: none;
}

.wp-pagenavi a:hover{
	color: #fff;
	background-color: #4EA035;
	border-color: #4EA035;
}
	
.wp-pagenavi span.current{
	color: #fff;
	background-color: #29A8DF;
	border-color: #29A8DF;
	font-weight: bold;
}

/* パンくず
------------------------------------------------------------*/

#breadcrumb {
	margin:30px 0;
	float:right;
}

#breadcrumb ul li {
	font-size:87.5%;
	display:inline;
}

#breadcrumb ul li:after {
	content:">";
	margin:0 8px;
}

#breadcrumb ul li:last-child:after {
	content:"";
	margin:0;
}


/* ヘッダー
*****************************************************/
#header .bg{background:#eee;}


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

#header p{
float:right;
}


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

#header h2 img {
	vertical-align:middle;
	margin-right:5px; 
	width:200px;
	height:auto;
}

#header h2 a {color:#000;}

/* 連絡
----------------------------------*/
.telbox {
	float:right;
}

.telbox svg {
	color:#666;
}

.p_num {
	font-size:150% !important;
	font-weight:bold !important;
	margin-right:10px;
}

/* サブナビゲーション
----------------------------------*/
#header ul{
font-size:85%;
padding-top:0;
	margin-top:10px;
	float:right;
}

#header ul li{
margin-left:10px;
	float:left;
}

/*#header ul li:before { content:"・"; }*/

#header ul li a{
color: #fff;
padding:8px;
	background:#999;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

#header ul li a:hover{
	color: #fff;
	background:#67a125;
}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
line-height:0;
text-align:center;
z-index:0;
}

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

#mainImg a:hover img{opacity:.9;}

.postWrap{
margin:0 0 20px 0;
padding:3px;
}

article.archive span{padding-left:10px;}

/* トップページ　コンテンツ設定
----------------------------------*/
#top_contents p:first-of-type {
	text-align:center;
	font-size:93.8%;
	margin-bottom:80px;
}

#top_contents p {
	text-align:center;
}

#top_contents table td p {
	text-align:left;
}

#top_contents table,
#top_contents table td {
	border:none;
}

#top_contents table td:nth-of-type(1),
#top_contents table td:nth-of-type(3),
#top_contents table td:nth-of-type(5){
	width:30%;
	font-size:87.5%;
}

#top_contents table td a {
	display:block;
	background:#008745;
	color:#fff;
	text-align:center;
	padding:8px;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
	position:relative;
	margin-top:15px;
}

#top_contents table td a:after {
	position:absolute;
	top:20%;
	right:10px;
	color:#fff;
	content:"\f054";
	font-family:"Font Awesome 5 Free";
	font-weight: 900;
}

#top_contents table td a:hover {
	background:#006d2b;
}

#news {
	background:rgba(0,0,0,0.2);
	padding:50px 0;
}

.more {
	width:80%;
	margin:30px auto 0 auto;
	max-width:350px;
}

.more a {
	display:block;
	background:#000;
	color:#fff;
	text-align:center;
	padding:8px;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
	position:relative;
}

.more a:after {
	position:absolute;
	top:20%;
	right:10px;
	color:#fff;
	content:"\f054";
	font-family:"Font Awesome 5 Free";
	font-weight: 900;
}

.more a:hover {
	background:#006d2b;
}

/* ページの先頭
*****************************************************/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 2%;
    font-size: 75%;
    line-height: 140%;
    z-index: 1000;
	text-align:center;
}

#page-top a {
    color: #fff;
    display: block;
    padding: 4% 8%;
    text-decoration: none;
	background: rgba(0,0,0,0.3);
}

/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:0;
	padding:3% 0;
font-size:225%;
text-align:center;
	color:#4D4D4D;
	background: #99ff66; /* Old browsers */
background: -moz-linear-gradient(left,  #99ff66 0%, #ffffff 50%, #99ff66 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #99ff66 0%,#ffffff 50%,#99ff66 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #99ff66 0%,#ffffff 50%,#99ff66 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99ff66', endColorstr='#99ff66',GradientType=1 ); /* IE6-9 */
}

h2.title span{
padding:5px 0 8px 0;
border-bottom:5px solid #000000;
}

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

.post p{padding-bottom:15px;}

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

.post ul li{
margin:5px 0 0 15px;
list-style:disc;
}

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

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

.post h1, .post h2, .post h3, .post h4{clear:both;}

.post h1{
margin:20px 0 30px 0;
padding:10px 15px;
font-size:130%;
background:#eeeeee;
}

.post h2{
margin:20px 0 30px 0;
padding:3px 20px;
font-size:187.5%;
	color:#000;
font-weight:bold;
	text-align:center;
}

#top_contents h3,
#news h3 {
margin:25px 0 10px 0;
padding-bottom:10px;
font-size:150%;
font-weight:bold;
	color:#000;
	text-align:center;
}

.post h3 {
	margin: 25px 0 10px 0;
    padding-bottom: 10px;
    font-size: 150%;
    font-weight: bold;
    color: #000;
    text-align:left;
}

.post h4 {
margin:20px 0 20px 0;
padding-bottom:10px;
font-size:100%;
	color:#000;
	border-bottom:1px solid #000;
}

.post h5 {
	margin:20px 0 20px 0;
padding-bottom:10px;
	font-size:93.8%;
	font-weight:bold;
	color:#666;
	border-bottom:1px dotted #666;
}

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

.post table{
border: 1px #ddd solid;
border-collapse: collapse;
border-spacing: 0;
margin:20px 0 20px;
table-layout: fixed;
}

.post table th{
padding:15px 15px;
border: #dddddd solid;
border-width: 0 0 1px 1px;
background:#f6f6f6;
}

.post table td{
padding:15px 15px;
border: 1px #ddd solid;
border-width: 0 0 1px 1px;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post ul{margin-bottom:20px;}

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

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

img.alignright{
margin:0 0 25px 25px;
float:right;
}

img.alignleft{
margin: 0 25px 25px 0;
float: left;
}


/* フッター　ウィジェット
*****************************************************/
.widgetWrap{
margin: 0 0 20px;
padding: 3px;
}

#banners img{
max-width:300px;
height:auto;
margin-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 #eeeeee;
}

section.widget a{
color:#000000;
display:block;
border-bottom: 1px solid #eeeeee;
padding:9px 0 5px 0;
}

section.widget ul.sub-menu{margin-left:10px;}

section.widget a:hover{
background-position: 3px 50%;
color:#999999;
}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:100px;
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;background:none;padding:0;text-decoration:underline;}
#calendar_wrap table td#prev a, #calendar_wrap table td#next a{text-decoration:none;}


/* お知らせ　
-------------*/
.news {
    border-bottom: 1px solid #666;
    padding: 2% 1%;
    position: relative;
}

.news:after {
	position:absolute;
	top:40%;
	right:10px;
	color:#666;
	content:"\f054";
	font-family:"Font Awesome 5 Free";
	font-weight: 900;
	visibility:visible;
}

.news dt, .news dd:first-of-type {
    display: inline-block;
}

.news dt {
    margin-right: 10px;
}

.news dd a {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    text-indent:-999px;
}

.news:hover {
	background:rgba(0,0,0,0.05);
	cursor:pointer;
	position:relative;
}

/* フッターバナー　
-------------*/
#banners {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
	display:box;
	-js-display: flex;
    display: flex;
	-webkit-justify-content:center;
  	justify-content:center;
	padding:3% 0;
	max-width:800px;
	margin:0 auto;
}

.banner {
	margin:0 2%;
}

/* フッター
*****************************************************/
#footerWrapper{
width:990px;
margin-right:-30px;
}

#footer aside{
float:left;
width:300px;
margin-right:30px;
}

#footer ul {
	margin-bottom:30px;
}

#footer ul li {
	font-size:87.5%;
}

#footer ul li a {
	position:relative;
	color:#fff;
	padding-left:20px;
}

#footer ul li a:before {
	position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
	margin-right:10px;
}

#corp p {
	margin-right:10px;
}

address {
	font-size:87.5%;
}

address a {
	color:#fff;
}

#copyright{
clear:both;
padding:0;
text-align:right;
font-size:90%;
zoom:1;
}

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

.prev{float:left}

.next{float:right;}

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


/* トップページ 最新記事3件
------------------------------------------------------------*/
.thumbWrap{
	width:100%;
max-width:1200px;
margin:50px auto 20px auto;
}

.thumb {
	max-width:800px;
	width:98%;
	margin:0 auto;
	text-align:left;
}

.thumbWrap li{
margin:0 0 20px 0;
padding:2px 0 0;
background:none;
}

.thumbWrap li p{
margin:15px 0 20px 0;
}

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

ul.thumb h3 span{
display:block;
padding:5px 3px;
}

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

ul.thumb h3 a:hover{
color:#999999;
}


/* メインメニュー　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;
background:#000;
}

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

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

nav#mainNav ul li a{
display: block;
text-align: center;
_float:left;
color:#000000;
height:35px;
line-height:35px;
padding:10px 40px 5px;
}

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

nav#mainNav ul li:hover{
background:#f6f6f6;
}

nav#mainNav ul ul{width:160px;}

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

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

nav#mainNav ul li li{
padding:0 0 0 10px;
margin:0;
float: none;
height:40px;
line-height:40px;
width:160px;
border:0;
background:#ffffff;
border-bottom:1px solid #eeeeee;
}

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

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

nav#mainNav ul li li.current-menu-item a{font-weight:bold;}

nav#mainNav ul li li:hover{background:#f6f6f6;}

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

/* 施工事例一覧
------------------------------------------------------------*/

.portbox {
    width: 31%;
    margin: 0 2.3% 2% 0;
}

.portbox img {
	width:100%;
	position:relative;
}

figure {
    position: relative;
    overflow: hidden;
    width: 100%;
}

figcaption {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.6);
    -webkit-transition: .3s;
    transition: .3s;
    opacity: 0;
}

figcaption p {
	position: absolute;
	bottom: 20px;
    right: 10px;
	width:100%;
	text-align:right;
}

figure:hover figcaption {
	opacity: 1;
	cursor:pointer;
}

figcaption p span {
    color: #fff;
    background: #39AA4A;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    padding: 0.5% 3%;
}

.caroutxt {
    padding: 5px 0;
}

.caroutxt h3 {
    font-size: 100%;
    font-weight: bold;
}

.caroutxt h3 a {
	display:block;
}

.caroutxt p {
    font-size: 87.5%;
}

.tag {
	margin-bottom:15px;
}

.tag li {
	display:inline;
	margin-right:10px;
}

.tag li a {
	background:#81BB3F;
	color:#fff;
	text-decoration:none;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	font-size:87.5%;
	padding:0.2% 3%;
}

.tag li a:hover,.tag li a:active {
	background:#67a125;
}

.more02 {
    text-decoration: none;
    color: #fff;
    background: #39AA4A;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    padding: 0.5% 3%;
    font-weight: bold;
}

.more02:hover {
	color:#fff;
	background:#1f9030;
}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
#mainNav .inner{width:100%;}
	
nav#mainNav{
clear:both;
width:100%;
margin:0 auto;
padding:0;
}

nav#mainNav a#menu span{padding-left:35px;}

nav#mainNav a.menuOpen{
background:url(images/menuOpen.png) no-repeat 10px -29px;
border-bottom:1px solid #eeeeee;
}

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

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

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

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

nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
display: block;
padding:15px;
text-align:left;
color:#000000;
border-bottom:1px solid #eeeeee;
}

nav#mainNav ul li a span{display:none;}
 
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:30px;
font-size:90%;
}

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: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:url(images/sub1.png) no-repeat 20px -62px;
}
	
nav#mainNav ul li li:last-child a{background: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:url(images/subLast.png) no-repeat 20px -65px;}

nav div.panel{float:none;}

#header ul li a,#header ul li a:hover{background-position:0 50%;}
}


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

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

#header h1, #header p{text-align:left;}
#header h2{
	padding:20px 10px 0;  
	font-size: 120%;
}
/*#header h2 img {
	width:50px;
	height:auto;
}*/
#header ul{padding:0}


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

nav div.panel{float:none;}

#mainImg img{
width:100%;height:auto;
margin-top:-35px;
}

#content, #sidebar{
clear:both;
width:95%;
float:none;
margin:0 auto;
padding:20px 0 10px;
}

#banners{width:100%;margin:0 auto;text-align:center;}
#banners p{display:inline;margin:0 1% 0 0;}
#banners p img{width:31%;height:auto;}

.thumbWrap{width:100%;margin:10px auto 0;text-align:center;}
.thumbWrap ul.thumb li{width:30%; float:left;margin:0 1% 0 2%;}
.thumbWrap img{width:100%;height:auto;}

#footerWrapper{width:95%;margin:0 auto;}

#footer aside{float:none;width:100%;}

#calendar_wrap table{margin:0 auto;width:300px;}
}

/* 幅767px以下
------------------------------------------------------------*/
@media only screen and (max-width: 767px){
	
	.fL {
		float:none;
	}
/*========== flex用*/
.flex,
.flex2,
.flex3,
.flex4 {
	display:block;
}
	
.telbox {
		float:none;
		width:90%;
		margin:0 auto;
	}
	
	.telbox div.flex p {
		text-align:center !important;
	}
	
	.telbox div.flex {
		align-items:center;
	}
	
	#header ul {
		display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
	display:box;
	-js-display: flex;
    display: flex;
	-webkit-justify-content:space-between;
  	justify-content:space-between;
	flex-wrap:wrap;
	}
	
	#header ul li {
		float:none;
		width:49.5%;
		margin-bottom:10px;
		margin-left:0;
	}
	
	#header ul li a {
		display:block;
	}
	
	#mainImg {
		margin-top:35px;
	}
	
	#top_contents h2 {
		text-align:left;
		font-size:125%;
		margin:10px 0;
		padding:0;
	}
	
	#top_contents p:first-of-type,#top_contents p {
		text-align:left;
	}
	
	#top_contents table td,
	#top_contents table td:nth-of-type(1), #top_contents table td:nth-of-type(3), #top_contents table td:nth-of-type(5){
		display:block;
		width:100%;
	}
	
	#copyright {
		margin-top:30px;
		font-size:75%;
	}
	
	.news:after {
    top: 20%;
}
	
	/* ページタイトル　
-------------*/	
	h2.title{
font-size:156.3%;
}

	/* パンくず　
-------------*/	
	#breadcrumb {
		display:none;
	}
	
	/* フッターバナー　
-------------*/
#banners {
    display: block;
	width:80%;
}
	
	#banners p {
		display:block;
	}
	
	#banners p img {
		width:100%;
	}

.banner {
	margin:0 2%;
	display: block;
}
	
	/* 施工事例　
-------------*/	
.portbox {
	width:100%;
	margin:0 0 16% 0;
}
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
#header{text-align:center;}
#header h2,#header h1,#header p,#header ul{float:none;}
#headerInfo{width:250px;margin:0 auto;}
#footer ul{text-align:left;padding:15px;}
#footer ul ul{padding:0;}
	
	img.alignright {
	padding: 0 0 10px 0;
	margin: 0 auto;
	display: block;
		float: none;
	}
 
img.alignleft {
	padding: 0 0 10px 0;
	margin: 0 auto;
	display: block;
	float: none;
	}
.alignright {
	float: none;
	}
 
.alignleft {
	float: none;
	}
}

/* 幅330px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 330px){
#calendar_wrap table{width:100%;}
#banners p img{height:auto;}
}

/* 幅320px以下
------------------------------------------------------------*/
@media only screen and (max-width: 320px){
}

/*オリジナル*/
@media only screen and (min-width: 1025px) {
#mega-menu-wrap-primary #mega-menu-primary[data-effect="fade"] li.mega-menu-item > ul.mega-sub-menu {
    opacity: 0;
    transition-duration: 0ms !important;
    transition-timing-function: linear !important;
    transition-property: opacity, visibility;
}
}

/*オリジナル*/
#mega-menu-wrap-primary .mega-menu-toggle {
    align-items: center;
}

div#bn_area {
    text-align: center;
    padding-top: 48px;
}