@charset "euc-jp";

/* HOUSE-SEKKEI based on EARNEST */


/*----- PC / スマホ -------*/

.only_sp { display: block; }
.only_sp_abso{
	position: relative;
	left: auto;
}
.only_pc { display: none; }

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


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-color: #FFFFFF;

}


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

* {
  word-break: break-all;
  word-break: break-word;
}

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

/* table 横スクロール*/

  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #dddddd;
		padding:8px;
  }




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

input[type="submit"]{ font-size: 15px; }

input[type="radio"],
input[type="checkbox"] {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
	margin-right: 5px;
}

/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

#pre_header_menu,
#header_menu{ display: none; }

div#footer,
div#content h2,
div#content,
div#header,
p#pankuzu { width: auto; }

div#header {
     height: 115px; 
}
div#header h1 a {
	margin: 0px auto;
	position: relative;
	background-image: url(images/main_logo_sp.png);
	width: 300px;
	background-size:cover;
	padding-top:105px;
	top:	5px;
}

div#content h2 {
	border-radius:8px; }

div.h2area { margin: 0px 10px; }

div.h4area { margin: 0px 0px 35px 2%; }

div.h5area{ margin: 0px 0px 25px 2%; }

div#content {
	padding: 0px 10px;
	font-size: 100%;
}

p#pankuzu { padding-left: 10px; }


div#content h3 {
	font-size: 16px;
	border-radius: 8px;
	letter-spacing: 0px;
	font-weight: bold;
}

div.h3area { margin-left: 0px; }

/*

div#content h3 { font-size: 16px;}
div#content h3,
div.bbs_items { width: auto; }

div#container { background: #FFFFFF; }

div.h3area {
	padding: 0px 0px 30px;
	font-size: 100%;
}

img.sp_img { max-width: 100%; }

table#contactus th { white-space: normal; }
*/





#sp_header {
	color: #fff;
	overflow: hidden;
	height: 40px;
	width: 100%;
	z-index: 10;
	background-color: rgba(161, 229, 252, 0.37);
}

div#sidebar {
	float: none;
	position: absolute;
	right: 5px;
	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;
}

/* ----------------------- 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_menu ul{
	/*	margin: 5px auto 10px;*/
	padding: 0px;
	border-bottom: 2px solid rgba(204,204,204,1);/*	width: 94%;*/
}

#sp_menu ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	border-bottom: 1px solid rgba(204,204,204,1);
/*	border-right: 1px solid rgba(204,204,204,1);
	border-left: 1px solid rgba(204,204,204,1);*/
}

/*
#sp_menu ul li:first-child {
	border-top: 1px solid rgba(204,204,204,1);
	border-radius: 5px 5px 0 0;
}

#sp_menu ul li:last-child { border-radius: 0 0 5px 5px; }
*/

#sp_menu ul li a {
	display: block;
	padding: 12px 5%;
	text-decoration: none;
	color: rgb(0, 132, 165);
}

#sp_menu ul li.active a{ background-color: rgba(203,235,254,1); }

#sp_menu ul li:hover { background-color: rgb(245, 245, 245); }

#sp_menu ul li.menutitle {
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	color: rgb(153, 51, 0);
	background-color: rgb(252, 252, 252);
}





/* ----------------------- FOOTER ------------------------------- */
div#footer {
	color: #CCCCCC;
	font-size: 9pt;
	line-height: 1.3;
}
div#footer p{
	margin: 5px 0;
	text-align: center;
}



div#footer a {
	color: rgb(153, 153, 153);
	text-decoration: none;
	padding: 6px;
	display: inline-block;

}
div#footer a:after {
	content:"";
}
div#footer a:hover{
	text-decoration: underline;
	color: #333333;
	border-color:rgba(204,0,0,1);
}

div#footer p#law_links{
	width: auto;
	float: none;
}

div#footer p#copy_r{ text-align: center; }

div#footer p#foot_links a{margin: 5px;}

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


div#top_4menu div a{
	float: none;
	margin: 0px auto;
	background-size: contain;
	width: 100%;
	padding-top: 63.5416%;
	background-repeat: no-repeat;
	max-width: 480px;
	height: 0;
	max-height: 305px;
}

@media screen and (min-width: 520px) {
	div#top_4menu div a{
		height: 305px;
		width: 480px;
		padding: 0px;
	}
}

div#news_plans{
	width: 100%;
	max-width: 630px;
	margin: 0 auto;
	float: none;
}

div.rss_items_box { width: 85%; }

ul.rss_items li.rss_items_ttl {
	float: none;
	overflow: hidden;
	width: auto;
}


#top_bans_container{
	width: 250px;
	margin: 0px auto;
}

div#top_bans,
div#yomiuri{
	width: 250px;
}

@media screen and (min-width: 540px) {
	#top_bans_container{
		margin: 0px auto;
		width: 520px;
	}
	
	div#yomiuri{ float: right; }
	div#top_bans{ float: left; }

}

@media screen and (min-width: 960px) {
	#top_bans_container{
		margin: auto;
		width: auto;
	}
}



/* ---------------- 事務所概要 ------------------- */
@media screen and (max-width: 479px) {
	div#head_r {
		float: none;
		margin: 0px auto 10px;
	}
}

table#gaiyou {
	width: 100%;
	float: none;
	margin-bottom: 40px;
}
.google-map-canvas iframe{
	float: none;
	width: 100%;
}
p#koucho {
	float: none;
	width: 100%;
}
table#keireki {
	width: 100%;
	float: none;
}
dl#rinen dd {
    margin-left: 10px;
}

/* ---------------- 特定商取引法 ------------------- */
table#law{ width: 100%; }
table#law th{
	white-space: normal;
	min-width:8em;
}

/* ---------------- 料金表 ------------------- */
table.price th, table.price td { padding: 6px; }

/* ---------------- 住宅設計教室 ------------------- */
div.course h5 { width: auto; }
p.moushikomi a { width: auto;}

/* ---------------- パース＆模型等制作 ------------------- */
div#flow_img { display: none; }
dl#flow_step dd {
	padding: 10px 0px 20px 0px;
	background-image: none;
}

/* ---------------- 間取りの設計 ------------------- */
p.moushikomi {
    clear: both;
}
p.insatsu{ float: none; }
dl#tatiba {
	width: auto;
}
p.nouhin {
	float: none;
	margin-left: 0;
}

/* ---------------- 間取り診断 ------------------- */
.w5em{ min-width: 15em; }
table#diag,
table.rep_ex{
	float: none;
	width: 100%;
}
div.qabox h4{ width: auto; }
table#diag td ul.double li{
	float: none;
	width: 100%;
}

/* ---------------- お問い合わせ ------------------- */

table.contactus th {
	width: auto;
	white-space: normal;
	font-weight: normal;
}

.long,
.midium,
.short {
	width: 99%;
	padding: 10px;
	border: 1px solid rgba(232,232,232,1);
}

div.telnumber { padding: 20px 0px; }

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

/* ---------------- 間取り診断 ------------------- */
ul#points{
	background-size: contain;
	width: 100%;
	padding-top: 50%;
}




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

div.bbs {
  width: auto;
  float: none;
}

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

div.bbs_recent { width: 100%; }

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;

}












/*
*/
