@charset "euc-jp";

/* UEHARA-RINGYO */


html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
	line-height: 1.4;
	font-size: 14px;
	color: #505050;
	width: 100%;
	min-width: 320px;
	-webkit-text-size-adjust: 100%;
	background: #FFFFFF;
}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

img{
	max-width:100%;
	height:auto;
  box-sizing: border-box;
}


/* table 横スクロール*/
.table-responsive {
	width: 100%;
	margin-bottom: 15px;
	overflow-x: scroll;
	overflow-y: hidden;
	border: 1px solid #DDD;
}
.table-responsive > table{ border-width: 0px; }
.table-responsive > table th{ white-space: nowrap; }

table{ width: 100%; }


/* img floatの解除 no_floatはJSで設定される */
/*
.float_l.no_float  , .float_r.no_float,
.float_l10.no_float, .float_r10.no_float,
.float_l20.no_float, .float_r20.no_float,
.float_r10_img.no_float
*/
.no_float{
	text-align: center !important;
	float: none !important;
	margin: 10px 0px !important;
	padding: 0px !important;
	border-style: none !important;
}

img.float_l,
img.float_r{
	float: none;
	display: block;
	margin: 5px auto;
}


/* ------------------------------------------*/

.only_sp{ display: block; }

div#set_img,
ul#cate_menu,
div#header h2,
ul#header_menu,
div#googlesearch{ display: none; }

div#pre_header {
	background: rgba(255,255,255,1); 
	padding: 3px 0;
}

#sp_header{
	background: #212121;
	color: #fff;
	overflow: hidden;
	height: 40px;
	width: 100%;
	z-index: 10;
}

div#header{
	width: 100%;
	height: 150px;
}

div#container {
	width: 100%;
	background: none;
}
div#content {
	width: 94%;
	float: none;
	background: #FFFFFF;
	margin: 0px auto;
}

div#sidebar {
	float: none;
	position: absolute;
	right: 6%;
	z-index: 10;
	width: 225px;
	box-shadow: 0 0 4px 2px rgba(0,0,0,0.2);
	background: #FFFFFF;
	border-radius: 0 0 6px 6px;
	-webkit-transition: -webkit-transform 0.25s linear;
	   -moz-transition:    -moz-transform 0.25s linear;
	     -o-transition:      -o-transform 0.25s linear;
	        transition:         transform 0.25s linear;
	display: none;
	margin-bottom: 8px;	
}




/* main img */
div#set_img { display: none; } /* TOP page */

div#main_img {
	background: none;
	height: auto !important;
	width: auto;
	display: block;
}
div#main_img img{
	height: auto;
	max-width: 100%;
}

div#main_img p{ display: none; }

/**/
div#header h1 a {
	margin: 8px auto 0px;
	float: none;
}
div#header ul{
	float: none;
	padding: 0px;
	margin: 0px;
}
div#header ul li a {
margin: 0px auto;
}

/**/

div#anc_head_body div#h2_area, div#head_body div#h2_area { width: auto; }
div#anc_head_body h2,          div#head_body h2          {
	width: auto;
	background-repeat: no-repeat;
	background-position: left center;
	height: 70px;
	background-size:cover;
}





/**/


div#footer {
		width: 100%;
    height: auto;
    padding: 75px 0 10px 15px;
}

div#post_footer div {	width: 100%; }

div#footer p#cpright {
	padding-top: 8px;
	padding-bottom: 8px;
	text-align: center;
}


div#content h3 { width: auto; }
div#content h2 { width: auto; }


/**/

p#pankuzu{
	width: auto;
}

div.h3area {
	margin-bottom: 40px;
	margin-left: 10px;
	font-size: 100%;
	width: auto;
	margin-right: 10px;
}


/* ----------------------- MENU ------------------------------- */

/* menu button */
a.menu_button {
	z-index: 3;
	border: 1px solid white;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	font-size: 9px;
	padding: 4px 7px;
	border-radius: 4px;
	display: block;
	float: right;
	background: #000000;
	margin: 3px 3px 3px 0px;
}
a.menu_button.active { background: #CC3300; }
a.menu_button span {
	font-size: 16px;
	vertical-align: -2px;
}

#sp_only_menu li{ list-style: none; }
#sp_only_menu li a{
	background: #666666;
	margin: 5px 2%;
	width: 46%;
	text-align: center;
	display: inline-block;
	float: left;
	padding: 12px 0px;
	color: #FFFFFF;
	text-decoration: none;
	border-radius: 5px;
	text-shadow: 1px 1px #333;
}



p.splitline{ display: none; }




/* ----------------- TOP ページ ------------------- */

#main_img{ display: none; }

#main-slider{ margin-bottom: 10px; }
#main_slide_image{ margin-bottom: 10px; }

.cont_blog  div.rss_items_box,
.cont_bbs div.rss_items_box{ width: auto; }


div#blog_area2  h2 a strong,
div#blog_area 	h2 a strong,
div#genba_area  h2 a strong,
div#news_area   h2 a strong,
div#result_area h2 a strong {
	display: block;
	font-weight: normal;
}
div#genba_area  h2 a,
div#news_area   h2 a,
div#result_area h2 a {
	text-decoration: none;
	height: auto;
	width: auto;
	display: block;
	color: rgb(255, 255, 255);
	padding: 8px;
	font-size: 18px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.43);
	border-radius: 4px;
	background-color: rgb(0, 151, 119);
	background-image: url(../images/mini_01_19.gif);
	background-repeat: no-repeat;
	background-position: 98% center;
}
div#genba_area  h2 a:hover,
div#news_area   h2 a:hover,
div#result_area h2 a:hover {
	background-color: rgb(11, 90, 74);
	background-position: 97% center!important;
	}

div#blog_area2 h2 a,
div#blog_area  h2 a {
	text-decoration: none;
	height: auto;
	width: auto;
	display: block;
	background-color: rgb(243, 239, 226);
	color: rgb(0, 151, 119);
	padding: 8px;
	font-size: 18px;
	text-shadow: 1px 1px 1px #fff;
	border-radius: 4px;
	background-image: url(../images/mini_01_19.gif);
	background-repeat: no-repeat;
	background-position: 98% center;
	border: 1px solid rgba(204,204,204,1);
}
div#blog_area2 h2 a:hover,
div#blog_area  h2 a:hover {
	background-color: rgb(216, 211, 195);
	background-position: 97% center!important;
}

.cont_bbs ul.rss_items li.rss_items_des ,
.cont_bbs ul.rss_items li.rss_items_ttl {
    padding-left: 15px;
}
.cont_blog ul.rss_items li.rss_items_dat { display: block; }


#ban_zeh {

	margin: 10px 0px;
	width: 100%;

}


/* 施工実績 */

div#result_area div.rss_items_box {
	height: auto;
	width: auto;
	background-image: none;
	text-align: center;
	font-size: 0;
	vertical-align: top;
}
div#result_area ul.rss_items {
	float: none;
	display: inline-block;
	margin: 3px 3px;
	background-color:rgb(255, 234, 189);
	border-radius:4px;
height: auto;
    width: 48%;
}

div#result_area ul.rss_items li.rss_items_ttl {
	font-size: 11px!important;
}
div#result_area ul.rss_items li.rss_items_img a img {
    height: auto;

    width: 70%;

}
/*
h2#news a {
	width: auto;
}
div#news_area {
	width: auto;
}
div#news_area {
	width: auto;
}
div#news_area div.rss_items_box {
	height: auto;
}
div#news_area ul.rss_items li.rss_items_dat {
	float: none;
	width: auto;
	clear: none;
}
div#news_area ul.rss_items li.rss_items_ttl {
	float: none;
	width: auto;
}
div#news_area ul.rss_items li.rss_items_ttl a { text-decoration: underline; }
div#news_area ul.rss_items li.rss_items_ttl a:hover { text-decoration: none; }
*/



/* ----------------- 上原林業の住まい ------------------- */
ul#sumai_menu { width: auto; 
}
div.sumai_area{
	width: auto;
	padding-top: 5px;
	font-size: 100%;
	border-radius:6px;
}

div#head_mes {
	display: none;
}

ul#sumai_menu {
	height: auto;
	width: auto;
	background: #F1E6CA;
	border-top: none;
	margin-bottom: 10px;
	padding:1%;
}

ul#sumai_menu li { display: block; }
ul#sumai_menu li a {
	height: auto;
	width: 48%;
	display: block;
	float: left;
	background-image: none;
	background-color: white;
	padding: 12px 0px;
	margin: 1%;
	text-align: center;
	text-decoration: none;
	border: 1px solid rgba(255,200,145,1);
	border-radius: 4px;
}
ul#sumai_menu li a strong { display: block; }

ul#sumai_menu li.smai1 a ,
ul#sumai_menu li.smai2 a ,
ul#sumai_menu li.smai3 a ,
ul#sumai_menu li.smai4 a { background-image: none; }


ul#sumai_menu li.onthis a,
ul#sumai_menu li a:hover { background: rgba(255,240,240,1); 
}

/* ---------------- 会社概要 ------------------- */

table.gaiyou th {
	padding: 8px 6px;
	white-space: normal;
}


/* ---------------- お問い合わせ ------------------- */
table.contactus th{
	width: auto;
	white-space: normal;
	font-weight: normal;
}

.long,
.midium,
.short {	width: 95%;}

div.telnumber { padding: 20px 0px; }
div#content div.telnumber p { font-size: x-large!important; }


/* ---------------- BBS システム ------------------- */


div.bbs { width: auto; }

div.bbs_items {
	width: auto;
	overflow: hidden;
}

div.bbs_recent { width: auto; }

p.bbs_admin { display: none; }



div.bbs p.bbs_ttl {
	padding: 15px 10px 15px 8px;
	background-image:none;
}
 
ul.bbs_pictures{ text-align: center; }

ul.bbs_pictures li a {
	display: inline;
	float: none;
}

/* ---------------- 現場紹介 ------------------- */
body#menu-10 div#result_area {
    text-align: center;
}



body#menu-10 div#result_area ul.rss_items {
	float: none;
	display: inline-block;
}


/* ---------------- スタッフ募集 ------------------- */
div#rec_head{
	width: auto;
}


/*
*/
