@charset "utf-8";

/* content
---------------------------------------- */
#content p.lead{
	margin-top: -63px;
	margin-bottom: 15px;
}
#content #form_area{
	margin-bottom: 40px;
}
#content #form1{
	box-sizing: border-box;
	width:100%;
	background: #EEE;
	background: #EBF5E6;
	padding:22px 20px 15px 22px;
	border-radius: 4px;
	box-shadow: 1px 2px 2px 0px rgba(102,102,102,0.3);
	text-align: center;
	font-size:14px;
}
#content #form1 dl{
	padding-bottom: 15px;
}
#content #form1 dl:last-of-type{
	margin-bottom: 10px;
	border-bottom: 1px dotted #999;
}
#content #form1 dl dt{
	box-sizing: border-box;
	display: block;
	float: left;
	width:100px;
	font-weight: bolder;
	padding-top:7px;
	padding-left:0;
}
#content #form1 dl dt:last-of-type{
	width:80px;
	margin-left: 30px;
}
#content #form1 dl dd{
	display: block;
	float: left;
	width:230px;
	font-weight: bolder;
	padding-top:0;
	padding-left:0;
}
#content #form1 input{
	margin-right: 0;
}
#content #form1 select{
	margin-right: 0;
}
#content #form1 input:focus{
	background:#FFF;
}
#content #form1 input[type='submit']{
	margin: 10px 0 10px 0;
	font-size:18px;
}
#content #search{
	margin-top:-160px;
	padding-top:160px;
	margin-bottom: 15px;
}
#content section{
	margin-bottom: 40px;
}
#content section div.property{
	border-top:1px solid #017770;
	border-top:1px solid #CCC;
	background-color: #EBF5E6;
	background-color: #EEE;
	padding:10px 15px 10px 15px;
	margin-bottom: 22px;
}
#content section div.property h2{
	display:block;
	float: left;
	box-sizing: border-box;
	width:70%;
	font-size:18px;
	font-weight: normal;
	padding:2px 0;
}
#content section div.property h2.new{
	background-image: url(../img/icon_new.png);
	background-repeat: no-repeat;
	background-position: left top;
	padding-left:54px;
}
#content section div.property p{
	display: block;
	float: right;
	width:30%;
	font-size:14px;
	text-align: right;
	padding-top: 3px;
}
#content section div.pic{
	display: block;
	float: left;
	width:240px;
}
#content section div.pic .mainImage{
	margin-bottom: 15px;
	width: 100%;
}
#content section div.pic div.thumbnails .tn{
	box-sizing: border-box;
	display: block;
	float: left;
	width: 74px;
	height: 56px;
	margin-right: 9px;
	margin-bottom: 9px;
	cursor: pointer;
	border: 1px solid #DDD;
    position: relative;
}
#content section div.pic div.thumbnails .tn img{
	width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#content section div.pic div.thumbnails div:nth-child(3n){
	margin-right:0;
}
#content section div.detail{
	display: block;
	float: right;
	width:calc(100% - 268px);
}
#content section p.comment{
	text-align: justify;
	font-size:14px;
}
#content section dl.client{
	border-top:1px dotted #999;
	padding-top:8px;
	margin-top:8px;
	font-size:14px;
}
#content section dl.client dt{
	display: inline-block;
	width: auto;
	padding-right:15px;
}
#content section dl.client dd{
	display: inline-block;
}
#content section dl.client dd a{
	text-decoration: underline;
}
#content section table.company{
	display: table;
	width:100%;
	margin-top: 15px;
}
#content section table.company tbody{
	width:100%!important;
}
#content section table.company th{
	display: table-cell;
	box-sizing: border-box;
	width: 24px;
	padding:0 4px 0 4px;
	text-align: center;
	vertical-align:middle;
	background-color: #017770;
	color:#FFF;
	line-height: 120%;
	font-size:12px;
	font-weight: normal;
	border-radius: 4px 0 0 4px;
}
#content section table.company td{
	display: table-cell;
	box-sizing: border-box;
	width: calc(100% - 26px);
	background-color: #EEE;
	background-color: #EBF5E6;
	border-radius: 0 4px 4px 0;
}
#content section table.company h3{
	box-sizing: border-box;
	width:100%;
	padding:8px 8px 4px 13px;
	border-bottom: 1px solid #FFF;
	font-weight: normal;
	font-size:14px;
}
#content section table.company p{
	padding:8px 8px 7px 13px;
	font-size:14px;
	line-height: 140%;
}
#content section table.company p a{
	text-decoration: underline;
}

@media screen and (max-width:1050px) {
	#content #form1 dl dd{
		width:130px;
	}
	select {
		width:130px;
		margin-right: 10px;
	}
	input[type='text'], input[type='password'] {
		width:130px;
		margin-right: 10px;
	}
}

@media screen and (max-width:600px) {
	#content {
		width: calc(100% - 0px);
	}
	#content p.lead {
		width: calc(100% - 30px);
		margin-top:0;
		margin-left:auto;
		margin-right:auto;
	}
	#content #form_area {
		width: calc(100% - 30px);
		margin-left:auto;
		margin-right:auto;
		margin-bottom: 25px;
	}
	#content #form1{
		padding:10px 15px 5px 15px;
		border-radius: 2px;
		font-size:13px;
	}
	#content #form1 dl{
		padding: 0;
		margin: 0!important;
	}
	#content #form1 dl dt{
		clear: both;
		width:100px!important;
		margin-left: 0!important;
		margin-bottom: 10px;
	}
	#content #form1 dl dd{
		width:calc(100% - 100px);
		margin-bottom: 10px;
	}
	select {
		width:100%;
		margin-right:0;
		margin-bottom: 10px;
	}
	input[type='text'], input[type='password'] {
		width:100%;
		margin-right:0;
	}
	#content #search{
		margin-top:-85px;
		padding-top:85px;
		width: calc(100% - 30px);
		margin-left:auto;
		margin-right:auto;
	}
	#content section{
		margin-bottom: 30px;
	}
	#content section div.property{
		padding:8px 10px 6px 10px;
		margin-bottom: 15px;
	}
	#content section div.property h2{
		float: none;
		box-sizing: border-box;
		width:100%;
		font-size:16px;
		padding-top: 0;
	}
	#content section div.property h2.new{
		background-image: url(../img/icon_new.png);
		background-repeat: no-repeat;
		background-position: left top 2px;
		background-size: 36px auto;
		padding-left:41px;
	}
	#content section div.property p{
		float: none;
		width:100%;
		font-size:13px;
		text-align: left;
		padding-top: 0px;
	}
	#content section div.pic{
		display: block;
		float: none;
		width:240px;
		margin: 0 auto;
	}
	#content section div.pic .mainImage{
		margin-bottom: 15px;
		width: 100%;
	}
	#content section div.pic div.thumbnails img{
		display: block;
		float: left;
		width: 74px;
		margin-right: 9px;
		margin-bottom: 9px;
		cursor: pointer;
	}
	#content section div.pic div.thumbnails img:nth-child(3n){
		margin-right:0;
	}
	#content section div.detail{
		display: block;
		clear: both;
		float: none;
		width:calc(100%);
		margin: 0 auto;
		line-height: 130%;
		width: calc(100% - 30px);
	}
	#content section p.comment{
		text-align: justify;
		font-size:14px;
	}
	#content section dl.client{
		border-top:1px dotted #999;
		padding-top:8px;
		margin-top:8px;
		font-size:14px;
	}
	#content section dl.client dt{
		display: inline-block;
		width: auto;
		padding-right:15px;
	}
	#content section dl.client dd{
		display: inline-block;
	}
	#content section dl.client dd a{
		text-decoration: underline;
	}
	#content section table.company{
		display: table;
		width:100%;
		margin-top: 15px;
	}
	#content section table.company tbody{
		width:100%!important;
	}
	#content section table.company th{
		display: table-cell;
		box-sizing: border-box;
		width: 26px;
		padding:0 4px 0 4px;
		text-align: center;
		vertical-align:middle;
		background-color: #017770;
		color:#FFF;
		line-height: 130%;
		font-size:13px;
		font-weight: normal;
		border-radius: 4px 0 0 4px;
	}
	#content section table.company td{
		display: table-cell;
		box-sizing: border-box;
		width: calc(100% - 26px);
		background-color: #EBF5E6;
		border-radius: 0 4px 4px 0;
	}
	#content section table.company h3{
		padding:6px 6px 6px 10px;
		font-size:14px;
	}
	#content section table.company p{
		padding:8px 6px 7px 10px;
		font-size:13px;
		line-height: 140%;
	}
	#content section table.company p a{
		text-decoration: underline;
	}
}
