/*
Theme Name: yamamoriwp
Description: 山森電機設備 wpテーマ
*/


* {
  font-style: normal;
  font-weight: inherit;
  margin: 0;
  padding: 0;
}

/*=====haikei moji=====*/
html {
	min-height: 100%;
	position: relative;
}
body {
	background-color: #fff;
/*
	background-image: url(img/bg.jpg);
	background-position: left top;
	background-attachment: scroll;
	background-repeat: repeat-x;
*/
/*no-repeat*/
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-size: 14px;
	font-style: normal;
	line-height: 1.8;
	letter-spacing:0.1em;
	color: #333;
	margin: 0 0 342px 0;
	padding: 0px;
	text-align:left;
}

/*==========  最大幅  ==========*/
img{
    max-width: 100%;
    height: auto;
}
/*==========  nav中央寄せ  ==========*/
@media (min-width: 768px){
	.navbar {
    overflow:hidden;
}
.navbar > div {
    position:relative;
    left:50%;
    float:left;
}
.navbar ul {
    position:relative;
    left:-50%;
    float:left;
}
.navbar li {
    float:left;
}
.navbar li + li {
    margin-left:20px;
}
}
/*==========  clear  ==========*/
.clear {
    clear: both;
}

.container {
	text-align:left;
	max-width:960px;
	padding:0;
}
.page-tit {
	background-image:url(img/content-bg.jpg);
	background-repeat:repeat-x;
	background-position: right top;
	padding:20px;
}
.content700 {
	width:700px;
	float:left;
	margin:20px 0;
}
.sidebar {
	margin:20px 0;
	width:220px;
	float:right;
}

/* =Header
-------------------------------------------------------------- */

.header {
	padding:0 35px;
	height: 70px;
}

#site-title {
	float:left;
	text-align:left;
	margin:35px 0 0 0;
	padding:0;
}

#site-title a {
	display:block;
	width:250px;
	text-indent:-9999px;
	outline:none;
	background-image:url(img/tit.png);
	background-repeat:no-repeat;
	background-position:0% 0%; 
	background-size:100%; 
	border-bottom:none;
	height:30px;
	line-height:30px;
}

ul.header-menu li {
	float:left;
	margin-left:20px;
	margin-top:20px;
}
ul.header-menu {
	list-style-type:none;
	list-style-image:none;
	font-weight:normal;
}
ul.header-menu a {
	color:#000;
}
ul.header-menu li a:hover {
	color:#999;
	text-decoration:none;
}

@media only screen and (max-width : 480px){
ul.header-menu {
	margin-top:15px;
}
ul.header-menu li {
	float:none;
	margin-left:0px;
	margin-top:5px;
}
 
	}


/* =Navbar
-------------------------------------------------------------- */

.navbar {
	background:none;
	border:0 solid;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

#gnavi ul li a {
	letter-spacing:0.05em;
	color: #333;
	line-height: 1;
	padding:0;
	text-align:center;
	font-size:114%;}

#gnavi ul li a:hover {
	color: #999;
	background:none;
}
.icon-bar {
	background-color: #000;
}

.contact_area {
	display: none;
}


/* =Content
-------------------------------------------------------------- */
.content {
	padding:0 0 40px 0;
}

h1 {
	font-size:171%;
	font-weight:normal;
	font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	color:#fff;
/*
	background-image:url(img/icon_h1.gif);
	background-repeat:no-repeat;
	background-position:0 6px;
*/
	margin-top:20px;
	margin-right:0px;
	margin-bottom:32px;
	margin-left:0px;
	padding-top:0px;
	padding-right:0px;
	padding-bottom:5px;
	padding-left:0;
}

h2 {
	font-size:171%;
	font-weight:normal;
	font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	color:#333;
	line-height:1.8;
	margin-top:20px;
	margin-right:0px;
	margin-bottom:20px;
	margin-left:0px;
	padding:5px 0px;	
	border-top:2px solid #ccc;
	border-bottom:2px solid #ccc;
}

h2 a {
	font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

h2 a:link {
	color:#333;
}
h2 a:visited {
	color:#333;
}

h3 {
	font-size:141%;
	font-weight:normal;
	font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	color:#333;
	padding:10px;
	margin-top:20px;
	margin-right:0px;
	margin-bottom:20px;
	margin-left:0px;
	border-left:10px solid #3f4b71;
}

h4 {
	font-size:100%;
	font-weight:bold;
	color:#000;
}

/*=====kihon settei=====*/
p {
	margin-top:1em;
}
img {
	border-style: none;
	vertical-align:bottom;
}
/*=====text=====*/
em {
	font-weight: bold;
	font-style: normal;
}
strong {
	font-weight: bold;
}

.catch {
	font-size:156%;
	color:#000;
}
.aka {
	color:#ff0000;
}
.text_ll {
	font-size:171%;
}
.text_l {
	font-size:128%;
}
.text_m {
	font-size:100%;
}
.text_s {
	font-size:86%;
}
.text_ss {
	font-size:72%;
}

/*=====list=====*/
ul {
	margin: 15px 0 15px 0;
	margin-left:1em;
	padding-left: 2em;
}
ul ul {
	margin: 0;
}
ol {
	margin: 15px 0 15px 0;
	margin-left:1em;
	padding-left: 2em;
}
ol ol {
	margin: 0;
}
ol ul {
	margin: 0;
}

.lead {
	font-size:180%;
}
.kakomi {
	margin:1em 0 1em 0;
	padding: 20px;
	border: 1px solid #CCC;
}
.kakomi p {
	margin:0;
}

.table  {
	margin:20px 0 0 0;
	border-bottom: 1px solid #ddd !important;
}
.table th,
.table td {
	padding:15px !important;
}

.table-bordered th,
.table-bordered td {
	border: 1px solid #ccc !important;
	padding:15px !important;
	vertical-align:middle;
}
.table-bordered td.midashi {
	background:#f1f1f1;
}
.table-bordered th {
	background:#eee;
}
.table-bordered {
	border: 1px solid #ccc !important;
}

@media (max-width:991px) {

.table.table-news  {
	margin:20px 0 60px 0;
}


}



/* Link */
a {
	color:#3f4b71;
	text-decoration:none;
}

.text-danger a {
	color:#a94442;
}

a:hover {
	color:#000;
	text-decoration:underline;
}

a:hover img {
	filter: alpha(opacity=80);
	opacity: 0.8;
}


/* =Footer
-------------------------------------------------------------- */

.footer {
	width:100%;
	bottom: 0;
	height: auto;
	position: absolute;
	color:#fff;
	padding:20px 0;
	background-color: #3f4b71;
	clear:both;
}

.footer .row .col-sm-5,
.footer .row .col-sm-7 {
	text-align: left;
 }

.footer .pull-right {
	margin-bottom:20px;
}

ul.footer-menu li {
	display: inline-block;
	margin:0 20px 20px 0;
	padding:0;
}
ul.footer-menu {
	list-style-type:none;
	list-style-image:none;
	font-size:86%;
	margin:0;
	padding:0;
	clear:both;
}
ul.footer-menu a {
	color:#fff;
}
ul.footer-menu li a:hover {
	color:#ccc;
	text-decoration:none;
}

address {
	margin-bottom: 20px;
}

.ft_name p {
	font-size:1.1rem;
	font-weight: bold;
	margin: 0 ;
}

.ft_jigyousho p span {
	margin: 20px 0 0 0;
}
.ft_jigyousho p span {
	font-weight: bold;
	line-height: 2;
}

.ft_ji_add p {
	margin: 0 0 0 20px 0!important;
}

.pagetop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
}
.pagetop a {
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
	line-height: 50px;
	text-indent:-9999px;
	background-image:url(img/pagetop.png);
	background-repeat:no-repeat;
	background-size:100%;
}


/* =Images（Wordpress用）
-------------------------------------------------------------- */

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}


/* =内部コンテンツ用
-------------------------------------------------------------- */

.table td.date {
	width:20%;
}

/*googlemap*/

.googlemap {
position: relative;
padding-bottom: 45% !important;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.googlemap iframe,
.googlemap object,
.googlemap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/*戻る*/

.back-btn {
	margin:40px 0 20px 0;	
}
.btn-default,
a.btn-default:link,
a.btn-default:visited {
	color: #333;
	text-decoration: none;
	padding: 7px 15px;
	border: 1px solid #ccc;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
}
.btn-default:hover,
a.btn-default:hover {
	background:#f1f1f1;
}
.btn-primary,
a.btn-primary:link,
a.btn-primary:visited {
	color: #fff;
	text-decoration: none;
	padding: 7px 15px;
	border: 0px solid;
	background:#3f4b71;
}
.btn-primary:hover,
a.btn-primary:hover {
	background:#5a6791;
}

/*事業内容*/

.jigyou-kakomi {
	background-color:#dce6ec;	
	background-image:url(img/jigyou/jigyou_bg.png);
	background-position:right top;	
	background-repeat:no-repeat;	
	background-size:contain;	
	overflow:hidden;
	padding:40px 40px 30px 40px;
	margin-bottom:40px;
}
.jigyou-kakomi img {
	-moz-border-radius: 400px;
	-webkit-border-radius: 400px;
	border-radius: 400px;
}

.jigyou-kakomi ol {
 counter-reset: li;
 list-style: none;
 padding-left: 0;
margin:0 0 20px 0;
font-size:143%;
}
.jigyou-kakomi ol > li {
 position: relative;
 margin-bottom: .5em;
 padding-left: 2.5em;
}
.jigyou-kakomi ol > li:before {
 content: counter(li) "";
 counter-increment: li;
 position: absolute;
 left: 0;
 width: 1.8em;
 height: 1.8em;
 background: #fff;
 border-radius: 50px;
 color: #404c70;
 line-height: 1.8;
 text-align: center;
 font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

.doctor-syoukai h3.doctor-tit01 {
	background-image:url(img/jigyou/119_icon01.png);
	background-position:center top;	
	background-repeat:no-repeat;	
	background-size:80px;	
	color:#404c70;
	font-size:171%;
	border:0 solid;
	padding:100px 0 0 0;
	line-height:1.6;
	text-align:center;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-style:normal;	
}

.doctor-syoukai h3.doctor-tit02 {
	background-image:url(img/jigyou/119_icon02.png);
	background-position:center top;	
	background-repeat:no-repeat;	
	background-size:80px;	
	color:#404c70;
	font-size:171%;
	border:0 solid;
	padding:100px 0 0 0;
	line-height:1.6;
	text-align:center;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-style:normal;	
}

.nagare ol {
 counter-reset: li;
 list-style: none;
 padding-left: 0;
margin:0 0 20px 0;
font-size:115%;
}
.nagare ol > li {
 position: relative;
 margin-bottom: .8em;
 padding-left: 2.5em;
}
.nagare ol > li:before {
 content: counter(li) "";
 counter-increment: li;
 position: absolute;
 left: 0;
 width: 1.8em;
 height: 1.8em;
 background: #404c70;
 color: #fff;
 line-height: 1.8;
 border-radius: 50px;
 text-align: center;
 font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}
.nagare {
	margin:40px 0;
	overflow:hidden;
}
.nagare img {
	-moz-border-radius: 400px;
	-webkit-border-radius: 400px;
	border-radius: 400px;
}
.info .btn-primary,
.info a.btn-primary:link,
.info a.btn-primary:visited {
	color: #fff;
	text-decoration: none;
	padding: 15px 25px;
	border: 0px solid;
	background:#3f4b71;
}
.info .btn-primary:hover,
.info a.btn-primary:hover {
	background:#5a6791;
}

/*施工実績*/

.content ul.submenu {
	margin:20px auto 40px auto;
	padding:10px;
	text-align:center;
	background-color:#f1f1f1;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
	width:260px;
}
.content ul.submenu li {
	display:inline-block;
	font-size:113%;
	margin:0 10px;
}

/*会社案内*/

.message-tit {
	background-color:#f1f1f1;
	background-image:url(img/profile/message_bg.jpg);
	background-repeat:no-repeat;	
	margin:0 0 40px 0;
} 

.syacyou-name {
	letter-spacing:0.1em;
	padding-left:40px;
	background:#fff;
	padding:3px 20px;
	margin-bottom:30px;
	margin-right:-1px;
}

/*社員紹介*/

img.staff-photo {
	-moz-border-radius: 400px;
	-webkit-border-radius: 400px;
	border-radius: 400px;
	width:218px;
}

/*gridのgutter調整*/
/*溝幅 20pxの場合*/
.row-20{
margin-left:-10px;
margin-right:-10px;
}
.row-20 > [class*='col-'] {
padding-left:10px;
padding-right:10px;
}

/*溝幅 10pxの場合*/
.row-10{
margin-left:-5px;
margin-right:-5px;
}
.row-10 > [class*='col-'] {
padding-left:5px;
padding-right:5px;
}

.row-0 { margin-left: 0px; margin-right: 0px; }
.row-0 > [class*='col-'] { padding-right: 0px; padding-left: 0px; }

.row-fluid-0 { margin-left: 0px; margin-right: 0px; }
.row-fluid-0 > [class*='col-'] { padding-right: 0px; padding-left: 0px; }

.row-center{
letter-spacing:-0.4em;
}
.row-center > [class*='col-'] {
display:inline-block;
letter-spacing:0;
vertical-align:top;
float:none !important;
}
.row-center.va-middle > [class*='col-'] {
vertical-align:middle;
}
.row-center.va-bottom > [class*='col-'] {
vertical-align:bottom;
}

.pull-right {
	margin:0 0 20px 20px;
}

.pull-left {
	margin:0 20px 20px 0;
}

/* Blog */

#wp-calendar {
	margin:5px 10px;
	width: 100%;
}
#wp-calendar caption {
	color: #222;
	font-weight: bold;
	text-align: center;
	margin:10px 0 4px 5px;
}
#wp-calendar thead {
}
#wp-calendar thead th {
	text-align: center;
}
#wp-calendar tbody {
}
#wp-calendar tbody td {
	padding: 3px 0 2px;
	text-align: center;
}
#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
#wp-calendar a {
	padding:0;
	display:inline;
	overflow:hidden;
	text-decoration: underline;
	background-image:none;
}
#wp-calendar a:link {
	text-decoration: underline;
}
#wp-calendar a:hover {
	text-decoration: underline;
}

/* Pagination */

ul.pagination li.active a {
	color: #fff;
}

/* 追加 */

span.glyphicon {
	width: 1.1em;
}

/* Edit Link */

.edit-link {
  display: block;
  padding: 40px;
  clear: both;
  text-align: right;
}

.edit-link a {
  display: inline-block;
  padding: 10px 16px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.3333333;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 6px;
  background-color: #337ab7;
  border-color: #2e6da4;
}
.edit-link a:link,
.edit-link a:visited {
  color: #fff;
}
.edit-link a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #286090;
  border-color: #204d74;
}

/* 採用情報 */

.r_voice,
.r_shisetsu,
.r_tokuchou {
	margin-bottom:50px;
}

.catch_copy {
	margin: 20px 0;
}

.catch_copy p {
	font-size: 1rem;
	font-weight: bold;
	font-family: "MS Mincho", serif;
	text-align: center;
	margin: 0 0 10px 0;
	padding: 0;
	color: #003366;
}

.catch_copy p .catch_copy_line {
}

.catch_copy p .catch_copy_sub {
	font-size: 1.2rem;
	margin: 0;
}

.catch_copy p .catch_copy_main {
	font-size: 1.2rem;
  color: #2474eb;
}

.r_c_02 {
	padding-left: 1rem;
}

.r_qa {
	display: grid;
	grid-template-columns: 40px 1fr;
	margin-bottom:30px;
}

.qa_icon {
	font-size: 1.8rem;
	font-weight: bold;
	color: #b0e282;
}

.qa_icon_a {
	color: #ec8484;
}

.qa_text {
	padding-top: 21px;
}

.qa_catch {
	font-size: 1.2rem;
}

.qa_catch span {
	font-size: 1.2rem;
	font-weight: bold;
	color: #2474eb;
}

.r_voice {
	padding: 35px 20px 0 20px;
	border: 0 solid #ccc;
	border-radius: 20px;
	background-color:#0031a3;
	color:#fff;
	font-size:1rem;
	position: relative;
}

.r_voice .col-md-4 {
   text-align: center;
}
.r_voice .col-md-8 {
	margin-bottom: 30px;
}

.r_voice h2.sp_tit {
	display: block;
	background-color: #fff;
	color: #0031a3;
	text-align: center;
	margin-bottom: 1.5rem;
   }
.r_voice h2 {
 border: none;
 margin: 0 0 10px 0;
 padding: 0;
 display: none;
}
@media (min-width:768px) {

	.r_voice h2.sp_tit {
		display: none;
	   }
	   .r_voice h2.pc_tit {
		   border: none;
		   margin: 0 0 10px 0;
		   padding: 0;
		   display: block;
		   position: absolute;
		   bottom: 20px;
		   background-color: #fff;
		   width: 90%;
		   left: -5px;
		   color: #0031a3;
		   text-align: right;
		   padding-right: 20px;
		  }

}

.r_voice p {
	margin: 0px;
	font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
}



.r_voice img {
	max-width : 100%;
	margin: 0 auto;
}

.r_v_name p {
	font-size: 1.1rem;
	color: #404c70;
	margin-bottom: 0;
}
.r_v_name small {
	font-size: 0.9rem;
}

.r_shisetsu {
	font-size:1.1rem;
}

.r_shisetsu .row {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}

.r_shisetsu p {
	margin: 10px 0 30px 0;
}

.r_s_tit {
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
	color: #404c70;
}
.r_s_tit img {
	width: 28px;
	vertical-align: -5px;
	margin-right: 5px;
}
p.r_s_catch {
	font-size:1.2rem;
	margin-bottom: 15px;
	color:#ff4800;
}

.r_s_tit p {
	margin: 10px 0 0 0;
}

.r_tokuchou {
	padding: 10px 15px 0 15px;
	background-color: #f3f3f3;
	border-radius: 20px;
}

.r_tokuchou p:last-child {
  margin-bottom: 20px;
}

.r_tokuchou_img {
	max-width: 300px;
	margin: 0 auto ;
}

.r_youkou h3 {
  margin-top: 30px;
}

.r_contact {
	margin: 50px 0 30px 0;
	padding: 30px 10px;
	background-color: #e7f5ff;
	border-radius: 20px;
}

.r_contact .row {
	margin:0;
}

.r_contact h2 {
	text-align: center;
 margin: 0;
 padding: 0;
 border: none;
}
.r_contact h3 {
	font-weight: bold;
	text-align: center;
	margin: 30px auto;
	padding: 0;
	border: none;
}

.r_contact_tel {
	display: grid;
	place-content: center;
	margin: 0;
}

.r_contact_tel p {
  margin: 0;
}

.r_contact_tel span {
	font-size: 1.5rem;
	margin-left: 5px;
}

.r_form_btn {
	text-align: center;
}
.r_form_btn .btn-primary {
 display: block;
 font-size: 1rem;
 max-width: 250px;
 margin: 0 auto;
 padding: 15px 5px!important;
}

@media (min-width:400px) {
.catch_copy br {
  display: none;
}

.r_voice img {
	max-width : 300px;
	margin: 0 auto;
}

.disp_sp {
	display: none;
}

}

@media (min-width:768px) {
	.catch_copy p {
		font-size: 1.8rem;
	}
	
	.catch_copy p .catch_copy_line {
		padding: 0 0 5px 15px;
	}
	
	.catch_copy p .catch_copy_sub {
		font-size: 2.3rem;
	}
	.catch_copy p .catch_copy_main {
		font-size: 2.3rem;
		margin-right: 0;
	}
	
	.r_c_02 {
		padding-left: 3rem;
	}

	.r_qa {
		grid-template-columns: 50px 1fr;
		font-size: 1.1rem;
	}

	.qa_icon {
		font-size: 2rem;
	}

	.qa_text {
		padding-top: 23px;
	}

	.qa_catch {
		font-size: 1.3rem;
	}

	.qa_catch span {
		font-size: 1.5rem;
	}

	.r_voice .row {
		display: flex;
		align-items: flex-end;
	}

	.r_voice .col-md-4 {
		order: 1;
	}
	.r_voice .col-md-8 {
		order: 2;
	}

	.r_tokuchou {
		padding: 20px 30px 0 30px;
	}

	.r_tokuchou p:last-child {
		margin-bottom: 40px;
	}

	.r_shisetsu .row {
		display: flex;
	}
	
	.r_shisetsu .row .col-md-6 {
		flex: 0 1 50%;
	}
	
	.r_shisetsu .row .order-1 {
		order: 1;
	}
	
	.r_shisetsu .row .order-2 {
		order: 2;
	}

	.r_contact {
		margin: 50px 0 20px 0;
	}

.r_contact .row {
	display: flex;
	justify-content: center;
}

.r_contact_tel a {
  pointer-events: none;
}

.r_contact .row .r_contact_content {
  flex: 0 1 40%;
}
}

	.r_tokuchou .row {
		display: flex;
	  align-items: flex-end;
	}
	#gnavi ul li a {
		font color:#f00;
		font-size:1.3rem;
		margin-bottom: 20px;
	}
	h1 {
		font-size:1.8rem;
		padding-left:1rem;
		margin-top:1rem;
	}
	h2 {
		padding-left:1rem;
	}
	}

/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/
 
 
 
 
/*==========  Mobile First Method  ==========*/
 
	/* Custom, iPhone Retina */
	@media only screen and (min-width : 320px){
 
	}
 
	/* Extra Small Devices, Phones */
	@media only screen and (min-width : 480px){
 
	}
 
	/* Small Devices, Tablets */
	@media only screen and (min-width : 768px){
		body {
			margin: 0 0 300px 0;
		}
		#gnavi {
			text-align: center;
		}
		
		#gnavi ul {
			display: flex!important;
			justify-content: space-between!important;
			align-items: center;
			margin: 0 auto !important;
			padding: 0 !important;
			list-style-type: none;
			width: 100%;
		}
		
		#gnavi ul.navbar-nav {
			float: none;
		}
		
		#gnavi ul li {
			position: relative;
			flex: 0 1 25%!important;
			padding: 0!important;
			margin: 0 0 0 0 !important;
		}

/*		#gnavi ul li:not(:nth-last-child(2))::after {
			content: "|";
			position: absolute;
			top:50%;
			right: 0;
			transform: translateY(-50%);
			color: #ccc;
		}*/

		#gnavi ul li a {
			display: block;
			padding: 1rem !important;
		}

		.contact_area {
			display: block;
			position: absolute;
			top: 20px;
			right: 20px;
			width:150px;
			padding: 10px;
			text-align: center;
			background-color: #3f4b71;
			border-radius: 10px;
		}

		.contact_area a {
      color:#ffffff;
		}

		.contact_area img {
			 max-width: 20px;
			 margin: 0 10px 0 auto;
			 vertical-align: -3px;
		}
		.sp_contact {
			display: none!important;
		}

/*施工実績*/
.jisseki_img {
	display: flex!important;
  justify-content: center;
}


.jisseki_img .col-md-4 {
  flex: 0 1 33.3333%;
}

	}
 
	/* Medium Devices, Desktops */
	@media only screen and (min-width : 1024px){
		body {
			margin: 0 0 218px 0;
		}
	}
 
	/* Large Devices, Wide Screens */
	@media only screen and (min-width : 1366px){
 
	}
 
 
 
/*==========  Non-Mobile First Method  ==========*/
 
	/* Large Devices, Wide Screens */
	@media only screen and (max-width : 1366px){
 
	}
 
	/* Medium Devices, Desktops */
	@media only screen and (max-width : 1024px){

.content {
	padding:0 20px 80px 20px;
}

.content700 {
	width:auto;
	float:none;
	margin:0 0;
	padding:0 20px 20px 20px;
}
.sidebar {
	margin:0 0;
	width:auto;
	float:none;
	padding:0 20px 80px 20px;
}
 
	}
 
	/* Small Devices, Tablets */
	@media only screen and (max-width : 767px){

.header {
	padding:0 20px;
	height:80px;
}

#site-title {
	float:left;
	text-align:left;
	margin:27px 0 0 0;
	padding:0;
	width:220px;
}

#site-title a {
	display:block;
}

.navbar-toggle {
	position:absolute;
	right:-25px;
	top:15px;
}

.content {
	padding:0 20px 80px 20px;
}

#gnavi {
	position:static;
	width:100%;
}

#gnavi ul {
	margin: 0 0 0 0 !important;
	padding: 0 !important;
	list-style-type: none;
}

#gnavi ul li {
	padding:0 10px 30px 10px !important;
	margin: 0 0 0 0 !important;
}

.content700 {
	width:auto;
	float:none;
	margin:0 0;
	padding:0 20px 20px 20px;
}
.sidebar {
	margin:0 0;
	width:auto;
	float:none;
	padding:0 20px 80px 20px;
}

h2 {
	font-size:143%;
}

h3 {
	font-size:115%;
}
.catch {
	font-size:115%;
	color:#000;
}
.text_ll {
	font-size:143%;
}
.text_l {
	font-size:115%;
}

.img-s {
	width:50%;
}

/*事業内容*/

.jigyou-kakomi {
	background-color:#dce6ec;	
	background-image:url(jigyou/img/jigyou_bg.png);
	background-position:right top;	
	background-repeat:no-repeat;	
	background-size:35%;	
	overflow:hidden;
	padding:20px 20px 20px 20px;
	margin-bottom:40px;
}
.jigyou-kakomi ol {
	font-size:116%;
}
.jigyou-kakomi ol li:first-child,
.jigyou-kakomi ol li:nth-child(2) {
	padding-right:30%;
}
.doctor-syoukai h3.doctor-tit01,
.doctor-syoukai h3.doctor-tit02 {
	background-position:left top;	
	background-repeat:no-repeat;	
	background-size:50px;	
	font-size:128%;
	padding:0 0 0 60px;
	text-align:left;
}
.footer {
	width:100%;
	bottom: 0;
	height: auto;
	position: absolute;
	color:#fff;
	padding:20px;
	background-color: #3f4b71;
	clear:both;
}
.footer .small {
	text-align:center;
}

/*社員紹介*/

img.staff-photo {
	width:40%;
}

/*会社案内*/

.message-tit {
	background-color:#dce6ec;	
	background-size:contain;	
	background-position:right top;	
	margin:0 0 40px 0;
} 
.message-tit p {
	margin:0;
} 

.syacyou-name {
	letter-spacing:0.1em;
	padding-left:0px;
	background:#fff;
	padding:3px 20px;
	margin-bottom:0px;
	margin-right:-1px;
	text-align:center;
}
 
	}
 
	/* Extra Small Devices, Phones */
	@media only screen and (max-width : 480px){
 

/*施工実績*/

table.table-jisseki {
display: block;
border:0px solid #ccc !important;
width:100% !important;
}
table.table-jisseki tbody tr {
display: block;
border-bottom:1px solid #ccc;
	padding:10px 0;
width:100% !important;
}
table.table-jisseki .hyoudai {
display: none;
}
table.table-jisseki td {
display: list-item;
border: none;
list-style-type: none;
text-align:left;
padding:10px !important;
border:0px solid #ccc !important;
width:100% !important;
}
table.table-jisseki tbody td:nth-of-type(1):before { content: "[竣工年] "; }
table.table-jisseki tbody td:nth-of-type(2):before { content: "[工事名] "; }
table.table-jisseki tbody td:nth-of-type(3):before { content: "[工事内容] "; }
table.table-jisseki tbody td:nth-of-type(4):before { content: "[工事区分] "; }
table.table-jisseki tbody td:nth-of-type(5):before { content: "[所在地] "; }


.googlemap {
position: relative;
padding-bottom: 100% !important;
padding-top: 30px;
height: 0;
overflow: hidden;
}

	}
 
	/* Custom, iPhone Retina */
	@media only screen and (max-width : 320px){
 
.info .btn-primary,
.info a.btn-primary:link,
.info a.btn-primary:visited {
	padding:10px;
}
	}


@media (min-width:992px) {
	.navbar-collapse.collapse {
		display: block !important;
		height: auto !important;
		padding-bottom: 0;
		overflow: visible !important;
		visibility: visible !important;
	}
}

/*==========  受賞歴  ==========*/
 
.award_content .row {
	display: flex!important;
	flex-wrap: wrap!important;
	justify-content: center;
}
.award_content .col-6 {
	flex: 0 1 50%;
	pad