@charset "utf-8";
/*
Theme Name: tpl_060_rwd
Theme URI: http://theme.o2gp.com/
Description: tpl_060_rwd
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/
Tags: simple

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.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{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;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display:block;}
/* -------------------------------------------------------------- */

body{
color:#555;
font:12px "Palatino Linotype", serif, verdana, "ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
/* border-top:5px solid #433834; */
background:#fff;
-webkit-text-size-adjust:100%;
margin: 0;
}

html{
	background:#534641;
	font-size: 62.5%;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#534641;text-decoration:none;}
a:hover{color:#746a69;}
a:active, a:focus{outline:0;}


/* フォーム
------------------------------------------------------------*/
input, textarea{
vertical-align:middle;
/* max-width:90%; */
max-width:600px;
width: 70%;
line-height:24px;
height:24px;
padding:1px 5px;
border:1px solid #ccc;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
}

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

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

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


/* 全体
------------------------------------------------------------*/
.inner{
margin:0 auto;
width:100%;
}

#wrapper{
margin:0 auto;
padding:0 0 0 1.8rem;
width:85%;
position:relative;
max-width: 980px;
/* padding:0 1%; */
/* padding-bottom:20px; */
/* width:98%; */
}

/*************
/* ヘッダー
*************/
#header{
width: 100%;
padding:20px 0;
background:#534641;
position: fixed;
z-index:100;
/* border-top:1px solid #746a69;
border-bottom:1px solid #746a69; */
}

#header:after{
content:"";
display: block;   
clear:both; 
visibility:hidden;
}

/* #header h1{
font-size:11px;
font-weight:normal;
} */

/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:34px 10px 20px 20px;
}

.header-logo{
	width: 35px;
	height: auto;
	object-fit: cover;
	vertical-align: sub;
	margin-right: -3px;
}

.footer_grid_logo {
	padding-bottom: 1px;
}

.footer-logo{
	width: 20px;
	height: 20px;
	object-fit: cover;
	padding-right: 4px;
}

#footer .logo,
#footer .tel{
float:none;
text-align:center;
/* padding:10px 5px; */
}

.logo a{
font-size:3rem;
font-weight:bold;
line-height:1;
/* color:#8b979a; */
color:#fff;
font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
}

#footer p.logo a {
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo span{
font-size:12px;
font-weight:normal;
}

/* #header h1{
font-size:11px;
color:#8b979a;
} */

#mainNav {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
/* font-family: "游ゴシック","Palatino Linotype", "Book Antiqua", Palatino, serif; */
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:0 auto 30px;
padding:0;
width:100%;
line-height:0;
/* border-top:5px solid #433834;
border-bottom:5px solid #433834; */
background:#534641;
}

#mainBanner .inner{position:relative;}

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

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

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

.slogan h3{
font-size:14px;
color:#666;
}


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

/* display:table;
border-collapse:separate;
border-spacing:20px;
width:980px;
margin-left:-20px; */
margin: auto;
display:flex;
flex-wrap: wrap;
align-items: stretch;
justify-content: flex-start;
padding: 5px;
}

.footer_gridWrapper{
/* margin: auto;
display:flex;
flex-wrap: wrap;
align-items: center;
justify-content: center; */
/* padding: 20px 0; */
}
	
.grid{
display: block;
overflow:hidden;
}

.case_box {
	/* position: relative; */
	width: 100%;
	overflow: hidden;
}
/* .case_box::before {
	display: block;
	padding-top: 100%;
	content: '';
} */

.case_link {
	display: block;
	width: 100%;
}

.case_link img {
	display: block;
	width: 100%;
	object-fit: cover;
	/* position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); */
}

.grid h3{
padding:10px 0;
/* margin-bottom:5px; */
margin: 0;
font-weight:bold;
color:#534641;
}

.grid p{
padding:5px 0;
}

/* YARPP関連記事
.yarpp-related {
	margin-bottom: 1em;
	margin-top: 1em;
} */

/* .yarpp-related h3 {
	font-size: 125%;
	font-weight: 700;
	margin: 0;
	padding: 0 0 5px;
	text-transform: capitalize;
}

.yarpp-related a {
	font-weight: 700;
}

.yarpp-thumbnails-horizontal {
	display: flex;
	width: 100%;
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail {
	display: block;
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail>img {
	object-fit: cover;
	height: 100% !important;
	width: 100% !important;
} */

/* フッター内のグリッド(3カラム) */
.footer_grid{
display:block;
color: #fff;
}

#footer .grid{
color:#fff;
border:0;
background:transparent;
vertical-align: middle;
}

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/
section.content{
padding:10px 0;
margin-bottom:20px;
border-radius:6px;
overflow:hidden;
font-size:14px;
}

section.content#single .yarpp-thumbnails-horizontal {
	text-align: center;
}

section.content#company {
}
.company_back{
}

section#cases,
section#contact,
section#access,
section#policy {
	padding-top: 24px;
}

.policy_text{
}

.company_text{
}

section.content p{
	margin-bottom:5px;
}

.content_title {
    font-weight:bold;
    color:#534641;
}

.content_text {
	padding:3px 0;
    margin-bottom:5px;
    color:#534641;
	line-height: 2;
}

/* .content_text_company {
	white-space: pre-wrap;
} */

.content_text > span {
	display: block;
}

/* プライバシーポリシー（「このサイトについて」）のページ */
span.policy_text_contact {
	text-align: right;
}


/* アーカイブページ */
section.content .archive{
padding:20px 0 0;
border-bottom:1px dotted #ccc;
}

section.content p{margin-bottom:5px;}

h3.heading{
padding:15px 0 2px;
margin-bottom:10px;
font-size:16px;
color:#433834;
border-bottom:2px solid #433834;
}

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

.inner img.content-top-img{
object-fit: cover;
max-width: 100%;
min-width: 100%;
height: 15rem;
}

.inner .content-top_company{
	background-image: url("images/company_top_3.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center bottom;
	width: 100vw;
	height: 50vh;
	padding-top: 24px;
	overflow: hidden;
}

.catch_top_company {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: space-evenly;
	margin: 0;
	height: 100%;
}

.inner .content-top_front{
	position: relative;
	width: 100vw;
	height: 50vh;
	overflow: hidden;
}

.inner img.content-top-img_front{
	position: absolute;
	top: 0%;
	left: 0%;
	z-index: 0;
	margin: auto;
	display: block;
	object-fit: cover;
	object-position: center;
	width: 100vw;
	height: 50vh;
}

.catch_top_front {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: space-evenly;
	position: relative;
	margin: 0;
	height: 100%;
}

.catch_top_text{
	display: block;
	margin: 0;
	color: #fff;
	/* line-height: 3; */
}

section.content img.content-icon-img{
	object-fit: cover;
	vertical-align: text-bottom;
}


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

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

.readmore {
	clear:both;
	text-align: right;
}

.allcases {
	margin: 2rem auto;
	text-align: right;
}

.readmore a {
padding:3px 5px;
border-radius:3px;
color:#fff;
background:#433834;
}

.allcases a {
display: inline-block;
padding:1rem 3rem;
border-radius:3px;
color:#fff;
background:#433834;
}

.readmore a:hover,
.allcases a:hover {background:#1e1e1e;}


/*************
/* サイドバー
*************/
#sidebar article{
padding:7px;
margin-bottom:20px;
border:1px solid #ebebeb;
overflow:hidden;
}

#sidebar ul{padding-top:10px;}

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

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

#sidebar li a{display:block;}

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

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{
clear:both;
padding:20px 0;
overflow:hidden;
background:#534641;
}

* html #footer{height:1%;}

.tel strong{
display: block;
font-size: 16px;
}

#footer a{color:#fff;}
#footer a:hover{color:#ccc;}

#footer .copyright{
	padding: 10px 0;
	font-size:11px;
	color: #fff;
	text-align: center;
}


/*************
サブ（フッター前）コンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px solid #ebebeb;
}

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

#sub li a{display:block;}

#sub ul.list{padding-bottom:7px;}

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

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

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

#sub .grid h3{border-radius:0;}


/* ページナビゲーション
------------------------------------------------------------*/
.pagenav{
/* clear:both;
width:100%;
height:30px;
margin:5px 0 20px; */
display: flex;
align-items: center;
justify-content: center;
}

.prev,
.next{
	/* float:right; */
	display: block;
	width: 62px;
	padding: 10px;
	margin: 0 24px;
	text-align: center;
	border-radius: 5px;
	color:#433834;
	background-color: #EEEEEE;
}

section#single p.allcases_from_single {
	margin: 10px 0;
	text-align: right;
}

section#single p.allcases_from_single a {
	padding: 15px 0 2px;
	font-size: 16px;
	color: #433834;
	border-bottom: 1px solid #433834;
	font-weight: bold;
}

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

ul.page-numbers {
	display: flex;
	justify-content: center;
	padding: 25px 0 0 0;
	font-size: 1.17em;
}

ul.page-numbers > li {
	padding: 0 10px;
} 

a.page-numbers {
	display: block;
	width: 36px;
	padding: 10px;
	text-align: center;
	border-radius: 5px;
	color:#433834;
	background-color: #EEEEEE;
}

span.page-numbers {
	display: block;
	width: 36px;
	padding: 10px;
	text-align: center;
	border-radius: 5px;
	color:#fff;
	background-color: #433834;
}


/* タイポグラフィ
*****************************************************/
.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-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:#433834;
border-bottom:3px solid #433834;
} */

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color:#433834;
border-bottom:2px solid #433834;
}

.post h3{
margin:10px 0;
font-size:120%;
font-weight:normal;
color:#433834;
border-bottom:1px solid #433834;
}

.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-collapse:collapse;
margin:10px 0;
}

.post table th,.post table td{
padding:5px;
border:1px solid #534641;
}

.post table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#000;
border-left:#534641 5px solid
}

.post table td{border-left:#534641 3px double;}

.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{
padding:4px;
margin:0 0 2px 7px;
display:inline;
}

img.alignleft{margin:0 7px 2px 0;}

.alignright{float:right;}
.alignleft{float:left;}

.map {
	width: 100%;
	padding: 1rem;
}

.column-item {
	color: #534641;
}

.column_item_map {
	padding-top: 3rem;
}

.column-item iframe {
	width: 100%;
	height: 30vh;
}

/* お問い合わせ(Contact Form 7) */
section#contact.content{
	max-width:600px;
	width:100%;
	margin: auto;
}

.wpcf7{
	display: block;
	text-align: left;
	width: 100%;
}

.wpcf7-form{
	display: block;
	width: 100%;
}
.wpcf7-form input[type="email"],
.wpcf7-form input[type="text"],
.wpcf7-form textarea{
	display: block;
	width: 90%;
}

.wpcf7-form input[type="submit"]{
	display: block;
	margin-left: auto;
	margin-top: 20px;
	width: 10rem;
	text-align: center;
}

/* PC用
------------------------------------------------------------*/
@media only screen and (min-width:960px){
	/* ヘッダー */
	.top-space {
		height: 123.997px;
	}

	.content-top_front{
		margin-top: 24px;
	}

	.catch_top_text {
	font-size: 5rem;
	}

	/* グリッド全体 */

	/* グリッド施工事例 */
	.grid{
	width:24%;
	margin:0 1% 25px 0;
	/* border: 1px solid hsla(0,0%,50%,.1);
	box-sizing: border-box; */
	}
	.case_link img {
		height: 232px;
	}
	
	/* YARPP関連記事 */	
	/* .yarpp-thumbnails-horizontal .yarpp-thumbnail {
		width: 24%;
		margin: 0 1% 10px 0;
		height: 232px;
	} */


	/* グリッド共通 ベース:トップページ4カラム */
	
	#sub.gridWrapper{width:980px;}
	
	.grid img{
		float:left;
		margin-right:5px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	/* #sub .grid, #footer .grid{width:300px;} */
	#sub .grid, #footer .grid{width:auto;}

	.footer_grid{
	/* width:35%; */
	}
	
	/* トップナビゲーション */
	nav div.panel{display:block !important;}

	a#menu{display:none;}
	
	#topnav{
	float:right;
	padding-right: 20px;
	padding-left: 10px;
	}

	#topnav li{
	float:left;
	text-align:center;
	position:relative;
	/* border-right:1px solid #746a69; */
	/* width: 11rem; */
	}
	
	#topnav li:last-child{border:0;}

	#topnav a{
	font-size:2rem;
	/* font-size:13px; */
	display:block;
	padding:30px 15px;
	line-height:1.2;
	color:#fff;
	/* background:#433834; */
	font-weight: 500;
	}
	
	#topnav span{
	font-size:10px;
	color:#a5a5a5;
	}

	#topnav li.current-menu-item a,#topnav a:hover{
	/* background:#1e1e1e; */
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 10px;
	}

	#topnav ul{
	width:160px;
	display:none;
	}

	#topnav li:hover ul{
	display:block;
	position:absolute;
	top:90px;
	left:0;
	z-index:500;
	}
	
	#topnav li li{
	margin:0;
	float:none;
	width:160px;
	text-align:left;
	background:#5c4d41;
	}

	#topnav li.current-menu-item li a,#topnav li li a{
	border:0 !important;
	padding:10px !important;
	}
	
	h2.content_title{	
		padding:2.4rem 0;
		margin-bottom:5px;
		font-size:2.4rem
	}

	h3.content_title{
		padding:1.6rem 0;
    	margin-bottom:5px;
		font-size:1.8rem
	}
	
	section.content img.content-icon-img{
		width: 3rem;
		height: 3rem;
	}

	.content_text{
		font-size:1.6rem;
	}

	
	.column {
		/* display: flex;
		align-items: center; */
	}

	.column-item {
		width: 100%;
	}
}

@media only screen and (max-width:959px){
	/* ヘッダー */
	.top-space {
		height: 110.508px;
	}

	.content-top_front{
		margin-top: 11px;
	}

	
	.catch_top_text {
	font-size: 5rem;
	}

	#header{padding:10px 0;}
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 21px 5px;
	}

	/* トップナビゲーション */
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #534641), color-stop(0.00, #746a69));
	background: -webkit-linear-gradient(top, #746a69 0%, #534641 100%);
	background: -moz-linear-gradient(top, #746a69 0%, #534641 100%);
	background: -o-linear-gradient(top, #746a69 0%, #534641 100%);
	background: -ms-linear-gradient(top, #746a69 0%, #534641 100%);
	background: linear-gradient(top, #746a69 0%, #534641 100%);
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	color:#fff;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	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 #fff;}
	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 solid #fff;
	color:#fff;
	background:#534641;
	}

	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 solid #e4e4e4;}

 	nav#mainNav ul li a span{padding-left:10px;}

	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:#000;
	}

	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:#534641 url(images/sub1.png) no-repeat 20px -62px;
	}

	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:#000 url(images/sub1.png) no-repeat 20px -62px;}

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

	.grid img{
	float:left;
	margin-right:5px;
	max-width:100%;
	height:auto;
	}

	/* グリッド施工事例 */
	.grid{
	/* float:left; */
	width:24%;
	margin:0 1% 25px 0;
	}
	.case_link img {
		height: 180px;
	}

	/* YARPP関連記事 */	
	/* .yarpp-thumbnails-horizontal .yarpp-thumbnail {
		width: 24%;
		margin: 0 1% 10px 0;
		height: 180px;
	} */


	#sub .grid{
	width:32%;
	margin:10px 1%;
	}

	#sub .grid:first-child{
	margin-left:0;
	}

	#sub .grid:last-child{
	margin-right:0;
	}

	/* #footer .grid:last-child{padding-top:20px;} */

	h2.content_title{	
		padding:2.4rem 0;
		margin-bottom:5px;
		font-size:2.4rem
	}

	h3.content_title{
		padding:1.6rem 0;
    	margin-bottom:5px;
		font-size:1.8rem
	}
	
	section.content img.content-icon-img{
		width: 3rem;
		height: 3rem;
	}

	.content_text{
		font-size:1.6rem;
	}
	
	#footer .grid{
	float:none;
	width:100%;
	text-align:center;
	}

	.footer_grid{
	width:100%;
	}

	/* .column {
		display: flex;
	} */
	
}

@media only screen and (max-width:768px){

	.content-top_front{
		margin-top: 11px;
	}

	.catch_top_text {
	font-size: 4.5rem;
	}

	#header{padding-bottom:0;}	
	/* #header h1{text-align:center;} */

	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 27px;
	}

	#sub ul.list{padding:10px 10px 11px;}

	#sub ul.list li{padding-bottom:10px;margin-bottom:8px;}

	/* グリッド施工事例 */
	.grid{
	/* float:left; */
	width:48%;
	margin:0 2% 25px 0;
	}
	.case_link img {
		height: 232px;
	}

	h2.content_title{	
		padding:2.4rem 0;
		margin-bottom:5px;
		font-size:2.4rem
	}

	h3.content_title{
		padding:1.6rem 0;
    	margin-bottom:5px;
		font-size:1.8rem
	}

	/* YARPP関連記事 */	
	/* .yarpp-thumbnails-horizontal .yarpp-thumbnail {
		width: 48%;
		margin: 0 2% 10px 0;
		height: 232px;
	} */

	
	section.content img.content-icon-img{
		width: 3rem;
		height: 3rem;
	}

	#footer .grid{
		float:none;
		width:100%;
		text-align:center;
	}
	
	.footer_grid{
		width:100%;
	}

	/* .column {
		display: block;
	} */
	
	/* .column-item {
		width: 100%;
	} */
}


@media only screen and (max-width:640px){

	.content-top_front{
		margin-top: 11px;
	}
	
	.catch_top_text {
	font-size: 4rem;
	}

	.grid{float:none;width:100%;text-align:center;}
	.grid img{float:none;margin:20px auto 10px;}
	.grid li{text-align:left;}

	/* グリッド施工事例 */
	.grid{
	/* float:left; */
	width:48%;
	margin:0 2% 25px 0;
	}
	.case_link img {
		height: 180px;
	}

	/* YARPP関連記事 */	
	/* .yarpp-thumbnails-horizontal .yarpp-thumbnail {
		width: 48%;
		margin: 0 2% 10px 0;
		height: 180px;
	} */


	.alignleft,.alignright{float:none;display:block;margin:0 auto 10px;}

	h2.content_title{	
		padding:2.4rem 0;
		margin-bottom:5px;
		font-size:2.4rem
	}

	h3.content_title{
		padding:1.6rem 0;
    	margin-bottom:5px;
		font-size:1.8rem
	}
	
	section.content img.content-icon-img{
		width: 3rem;
		height: 3rem;
	}

	
	#footer .grid p{text-align:center;}
	#footer .grid p span{font-size: 30px;}
	
	#footer .grid{
		float:none;
		width:100%;
		text-align:center;
	}
	
	.footer_grid{
		width:100%;
	}
	
	/* .column {
		display: block;
	} */
}

@media only screen and (max-width:480px){
	
	.content-top_front{
		margin-top: 11px;
	}

	.catch_top_text {
	font-size: 3.5rem;
	}

	.catch_top_text_company {
	font-size: 2.6rem;
	}
	
	#mainBanner h2,#mainBanner h3{font-size:80%;}

	/* グリッド施工事例 */
	.grid{
	/* float:left; */
	width:100%;
	margin:10px 0 0 0;
	}
	.case_link img {
		height: 232px;
	}

	/* YARPP関連記事 */	
	/* .yarpp-thumbnails-horizontal .yarpp-thumbnail {
		width: 100%;
		margin: 10px 0 0 0;
		height: 232px;
	} */


	#sub .grid{
	float:none;
	width:98%;
	}

	#sub .grid h3{padding:10px 5px;}

	#sub ul.list{padding:10px;}

	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}

	#sub ul.list li img{margin:0 5px 0 0;}

	h2.content_title{	
		padding:2.4rem 0;
		margin-bottom:5px;
		font-size:2.4rem
	}

	h3.content_title{
		padding:1.6rem 0;
    	margin-bottom:5px;
		font-size:1.8rem
	}
	
	section.content img.content-icon-img{
		width: 3rem;
		height: 3rem;
	}
	
	#footer .grid p{text-align:center;}
	#footer .grid p span{font-size: 30px;}
	
	#footer .grid{
		float:none;
		width:100%;
		text-align:center;
	}
	
	.footer_grid{
		width:100%;
	}
	
	/* .column {
		display: block;
	} */
}