@charset "UTF-8";

/*  
Theme Name: 東建設工業株式会社
Description: 東建設工業株式会社ホームページテンプレート
Author: トラ丸企画株式会社
*/

/*reset*/* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.sp-menu { display: none;}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	outline: 0;
	background: transparent;
	color: #212121;
}
p,li,dd,span,a,th,td{
	font-size: 14px;
}
ol, ul {
	margin: 0;
	padding: 0;
}
blockquote, q {
	quotes: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption {
	width: 100%;
}
input {
}
/*clearfix*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-table;
}/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}/* End hide from IE-mac *//*clear*/
.clear {
	clear: both;
}/*style*/
body {
	-webkit-text-size-adjust: none;
	font: 1em "Meiryo", "MS PGothic", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	color: #663333;
	margin-bottom: 50px;
}
img {
	border: none;
	line-height: 1em;
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}
img.alignleft { float:left; padding: 5px 20px 5px 5px;}
img.alignright { float:right; padding: 5px 5px 5px 20px;}
img.aligncenter { clear: both; display: block; margin:auto;}

a {
	outline: none;
	color: #1562af;
	text-decoration: underline;
}
a:hover {
	text-decoration: underline;
}
.screen-reader-text {
	display: none;
}
.clear hr {
	display: none;
}
hr {
	background-color: #ddd;
	border: 0;
	height: 1px;
	clear: both;
	margin: 30px auto;
}
blockquote {
	margin: 0px 0px 20px;
	padding: 10px 20px 10px 20px;
	background-color: #f4f4f4;
	border: 1px solid #ddd;
	border-radius: 5px;
	-moz-border-radius: 5px;
}
blockquote blockquote {
	margin: 20px 0;
	background-color: #fff;
}
blockquote blockquote blockquote {
	margin: 20px 0;
	background-color: #f4f4f4;
}
blockquote p {
	padding: 0px;
	margin: 0px 0px 0px 0px;
}
table {
	width: 100%;
	margin-bottom: 20px;
}
th, td {
	padding: 0 10px;
	border-bottom: 1px solid #ddd;
}
object, embed {
	width: 100%;
	display: block;
	margin: auto;
}
/*margin padding float*/
.nm-t { margin-top: 0!important;}
.nm-r { margin-right: 0!important;}
.nm-b { margin-bottom: 0!important;}
.nm-l { margin-left: 0!important;}
.np-t { padding-top: 0!important;}
.np-r { padding-right: 0!important;}
.np-b { padding-bottom: 0!important;}
.np-l { padding-left: 0!important;}
.fn { float: none;}
.fl { float: left;}
.fr { float: right;}
.navi li {
	list-style: none;
}
/*common*/
header,
.globalNavi ul,
.mainImage,
.frontMenu1,
.main,
.bottomNavi,
footer {
	width: 100%;
	margin: 0px auto;
}

/*header*/
.header-bg {
	border-top:8px solid #1562af;
}
header.header {
	display: flex;
	padding: 0 10px;
	align-items: center;
	justify-content: space-between;
}
header h1 {
	padding: 0;
	width: 70%;
}
header p {
	width: 20%;
}
.sns-link {
	margin: 0;
	display: flex;
	gap: 10px;
	align-items: center;
	list-style: none;
}
.sns-link li {
	margin: 0;
	width: 40px;
	height: 40px;
}
header.clearfix::after {
	content: none;
}
.gn-bg {
	display: none;
}
.globalNavi {
	background: #eff6fd;

}
.globalNavi ul li {
	float: left;
}
.globalNavi ul li a {
	padding: 10px 1.5em;
	color: #1562af;
	display: block;
	text-decoration: none;
}
.mi-bg {
	border-bottom: 4px solid #95c6fc;
	padding: 10px 0;
}
.frontMenu1 .navi{
	padding-top: 16px;
	display: flex;
	flex-wrap: wrap;
}
.frontMenu1 li {
	margin: 0 0 10px;
	text-align: center;
	width: 50%;
	padding: 0 5px;
	
}
.frontMenu1 li:nth-last-of-type(2),
.frontMenu1 li:last-child {
	margin-bottom: 0px;
}
.frontMenu1 li:last-child {
	display: block!important;
}
.recruit-link { display: block!important; padding: 8px 5px; text-align: center;}
.main {
	padding-top: 20px;
}
/*content*/
.content {
	width: 100%;
	max-width: 685px;
	padding: 0 10px;
	box-sizing: border-box;
}
.content h3 {
	font-weight: normal;
	border: 1px solid #CCCCCC;
	border-radius: 10px;
	background: #e5e5e5;
	background: url(img/common/h3-logo.png), -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#e5e5e5));
	background: url(img/common/h3-logo.png), -webkit-linear-gradient(#ffffff, #e5e5e5);
	background: url(img/common/h3-logo.png), -moz-linear-gradient(center bottom,rgb(255,255,255) 0%,rgb(242,242,242) 100%);
	background: url(img/common/h3-logo.png), -moz-linear-gradient(#ffffff, #e5e5e5);
	background: url(img/common/h3-logo.png), -ms-linear-gradient(#ffffff, #e5e5e5);
	background: url(img/common/h3-logo.png), -o-linear-gradient(#ffffff, #e5e5e5);
	background: url(img/common/h3-logo.png),linear-gradient(#ffffff, #e5e5e5);
	background-repeat: no-repeat,no-repeat;
	background-position:10px 50%, 0 0;
	padding: 5px 20px 10px 40px;
	color: #1562af;
	margin-bottom: 20px;
	min-height: 27px;
}
.content h4 {
	color: #1562af;
}
.content article {
	padding-bottom: 50px;
}
.works-list {
	padding-left: 10px;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	
}
.works-list:after {
	display: none;
}
.works-list .wbox {
	width: 50%;
	padding: 10px 10px 10px;
	margin-bottom: 20px;
}
.works-list .wbox:nth-child(3n+1) {
	clear:both;
}
.works-list .wbox .wbImage {
	overflow: hidden;
	text-align: center;
	padding: 0px 0px 10px !important;
}
.works-list .wbox .wbImage img {
	width: 200px;
}
.works-list .wbox .wbName {
	padding: 0 5px;
	text-align: center;
}
.work-more {
	clear:both;
	margin-right: 0;
	margin-left: auto;
	text-align: right;
}
.work-more a {
	padding-left: 20px;
	background: transparent url(img/common/more.png) no-repeat 0 50%;
}
.page-navi {
	margin-top: 20px;
	text-align: center;
}
.page-navi a,
.page-navi span {
	font-size: 12px;
	color: #000;
}
.single-content .mpic {
	text-align:center;
	padding-bottom: 20px;
}
.single-content .mpic img {
	width: 100%;
	max-width: 650px;
	height:auto;
}
.single-content .subpics {
	width: 100%;
	max-width: 650px;
	margin: 0px auto;
	display: flex;
	flex-wrap: wrap;
}
.single-content .subpics .sp_box {
	padding: 0 5px;
	width: calc(100% / 5);
	float: none;
}
.single-content .subpics .sp_box img {
	width: 100%;
	height: auto;
	padding-bottom: 10px;
}
.single-content h2 {
	font-weight: normal;
	background: transparent url(img/common/h3-bg.png) no-repeat 0 0;
	padding: 5px 20px 10px 40px;
	margin-bottom: 20px;
	border: 1px solid #CCCCCC;
	border-radius: 10px;
	background: #e5e5e5;
	background: url(img/common/h3-logo.png), -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#e5e5e5));
	background: url(img/common/h3-logo.png), -webkit-linear-gradient(#ffffff, #e5e5e5);
	background: url(img/common/h3-logo.png), -moz-linear-gradient(center bottom,rgb(255,255,255) 0%,rgb(242,242,242) 100%);
	background: url(img/common/h3-logo.png), -moz-linear-gradient(#ffffff, #e5e5e5);
	background: url(img/common/h3-logo.png), -ms-linear-gradient(#ffffff, #e5e5e5);
	background: url(img/common/h3-logo.png), -o-linear-gradient(#ffffff, #e5e5e5);
	background: url(img/common/h3-logo.png),linear-gradient(#ffffff, #e5e5e5);
	background-repeat: no-repeat,no-repeat;
	background-position:10px 50%, 0 0;
	color: #1562af;
	min-height: 27px;
	font-size: 18.72px;
}

.single-content .wbImage {
	text-align: center;
}
.single-content .wbCat {
	padding: 20px 20px 20px;
}
#fancybox-title-over {
	color: #fff;
}
/*sidebar*/
.sidebar ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.sidebar ul li {
	width: 50%;
	padding: 0 10px 18px;
	list-style: none;
	text-align: center;
}
.sidebar ul li:last-of-type {
	width: 100%;
}
.sb-facebook { padding-bottom: 30px; text-align: center;}

/*footer*/
.bn-bg {
	position: fixed;
	right: 100%;
	top: 0;
	width: 100%;
	height: calc(100% - 50px);
	transition: 0.8s;
	margin-bottom: 50%;
}
.bn-bg .overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7);
	display: block;
	content: ' ';
}
.bn-bg.active {
	right: 0;
}
.bottomNavi {
	padding: 15px 10px 0;
	width: 80%;
	background: #eff6fd;
	height: 100%;
	overflow-y: scroll;
	margin-left: 0;
	z-index: 10;
	position: relative;
}
.bottomNavi li {
	border-bottom: 1px solid #FFFFFF;
}
.bottomNavi li:first-child {
	border-bottom: 1px solid #FFFFFF;
}
.bottomNavi li a {
	font-size: 12px;
	padding: 15px 1em;
	display: block;
	background: transparent url("img/common/arrow-gray.png") no-repeat  right 10px top 50%;
	text-decoration: none;
}
.bottomNavi .sns-link {
	margin-top: 20px;
	gap: 30px;
	justify-content: center;
}
.bottomNavi .sns-link li {
	border-bottom: none;
	width: 50px;
	height: 50px;
}
.bottomNavi .sns-link li a {
	padding: 0;
	background: none;
}
.footer-bg {
	background: #1562af;
	padding-top: 15px;
	padding-bottom: 30px;
	color: #1562af;
}
footer {
	text-align: center;
	padding: 0 20px;
}
footer p,
footer p a {
	color: #fff;
}
footer p.ftr-address {
	padding-bottom: 15px;
}
.bottom-navigation { position:fixed;bottom: 0; left: 0; width: 100%;}
.bottom-navigation ul { display:flex; background: #FFFFFF;}
.bottom-navigation ul li { width: 25%; list-style: none;}
.bottom-navigation ul li a { display: flex; flex-wrap: wrap; justify-content: center;align-items: stretch; height: 50px; border: 1px solid #CCCCCC; text-decoration: none; padding-top: 10px;}
.bottom-navigation ul li a span { width:100%; display: block; text-align: center; font-size: 10px;}
.grecaptcha-badge { bottom: 74px!important;}
.content article .wpcf7 table p {
	margin-bottom: 0;
}