body {
	color: #222;
	background: #f8f8fa;
}
section {
	width: 860px;
	padding: 24px;
	background: #fff;
	border: 1px solid #dbdee8;
	margin: 0 auto 20px auto;
	overflow: hidden;
}
section .headimg {
	position: relative;
	width: 860px;
	margin: 0 auto 20px auto;
}
section h2 {
	text-shadow: 0px 0px 1px #333,
							0px 0px 2px #333,
							0px 0px 3px #333,
							0px 0px 4px #333,
							0px 0px 5px #333,
							0px 0px 6px #333;
	font-weight: bold;
	color: #fff;
	position: absolute;
	top: 30px;
	left: 30px;
	font-weight: bold;
	font-size: 2em;
}
section .headimg p {
	color: #fff;
	width: 100%;
	padding: 10px 0 10px 30px;
	background-color: rgba(0,0,0,0.6);
	position: absolute;
	top: 60px;
	left: 0;
	box-sizing: border-box;
}


#followhead > div {
	text-align: center;
	width: 910px;
	margin: 0 auto;
	padding: 10px 0;
	background-color: rgba(0,0,0,0.7);
}
.modal-open {
	display: block;
	letter-spacing: 2px;
	margin-left: 2px;
	font-size: 1.2em;
	font-weight: bold;
	color: #fff;
}
.fixed {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 1;
}


#search_box {display: none;}
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2;
	display:none;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,.5);
}
a.modal-open:hover {cursor:pointer}

.modal-content {
	display: none;
	position: absolute;
	z-index: 100;
	margin:10px;
	padding:15px;
	border-radius:20px;
	background:#fff;
}


a.modal-close {
	position:absolute;
	top: 20px;
	right: 20px;
	color:#3a5778;
	font-size:35px;
	background: #fff;
	border: 4px solid #3a5778;
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	padding: 5px 10px;
	z-index: 1000;
}
a.modal-close:hover {cursor:pointer}
#page_box h3 {margin-bottom: 20px;}
#page_box .inpage {
	color :#2b2b2b;
	font-size: 1.2em;
	width: 40px;
	padding: 5px 0;
	text-align: center;
	margin: 0 8px 8px 0;
	background: #f6f6f6;
	border: 1px solid #c5c5c5;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	cursor: pointer;
}
#page_box .currentpage {
	filter:alpha(opacity=35);
	-moz-opacity: 0.35;
	opacity: 0.35;
	cursor: default;
}
#page_box .inpage:hover{background: #c5c5c5;}
#page_box .currentpage:hover{background: #f6f6f6;}



.tab{overflow:hidden;}
.tab li{
	text-align: center;
	width: calc(853px / 3);
	float: left;
	color: #3a5778;
	font-weight: bold;
	font-size: 1.1em;
	padding: 10px 0 8px 0;
	border: 1px solid #dbdee8;
	border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	background: #fcfcfc;
	background: -webkit-linear-gradient(left,  #fcfcfc 0%,#f1f1f1 100%);
	background: linear-gradient(to right,  #fcfcfc 0%,#f1f1f1 100%);
	position: relative;
	z-index: 1000;
	cursor: pointer;
}
.tab li.select{
	background:#fff;
	border-bottom: 0 none;
}
.tabcontent {
	position: relative;
	z-index: 500;
	margin-top: -2px;
	border: 1px solid #dbdee8;
	padding: 23px;
	background: #fff;
}
.tabcontent > li{
	padding:20px;
	background:#f8f8fa;
	overflow: hidden;
}
.tabcontent > li > h3 {
	color: #3a5778;
	font-weight: bold;
	font-size: 1.1em;
	padding: 20px;
}
.tabcontent > li:last-child select,
.tabcontent > li:last-child input[type="text"] {width: 90%;}
.tabcontent > li:last-child .sc > dl > dd{width: 37%;}
.hide {display:none;}
.sc {
	width: 100%;
	display: table;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	overflow: hidden;
}
.sc > dl {
	display: table-row;
}
.sc > dl > dt {
	text-align: right;
	display: table-cell;
	width: 6em;
	padding: 10px;
	font-weight: bold;
	vertical-align: top;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #ececec;
}
.sc > dl > dd {
	display: table-cell;
	padding: 10px;
	vertical-align: top;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #f9f9f9;
}
.sc label {
	white-space: nowrap;
	margin-right: 10px;
}
.sc > dl > dd > ul {overflow: hidden;}
.sc > dl > dd > ul > li {float: left;}
.sc > dl > dd > ul > li:nth-child(even){margin-left: 20px;}


#range {
	width: 370px;
	margin: 10px 0 40px 20px;
}
.flfix {overflow: hidden;}
.flfix label {
	display: block;
	width: 9em;
	float: left;
}
.flfix label.lngchild {width: 17em;}






#itemlist {overflow: hidden;}
#itemlist > li {margin: 0 0 20px 0;}
#itemlist li table {
	width: calc(100% - 2px);
	border-collapse: collapse;
	border: 1px solid #a0a0a0;
}
#itemlist li table tr th,
#itemlist li table tr td {padding: 5px 10px;}
#itemlist li table tr th img,
#itemlist li table tr td img {vertical-align: bottom;}
#itemlist li table tr th {
	text-align: left;
	background: #cecfce;
	border-bottom: 1px solid #a0a0a0;
	position: relative;
	overflow: hidden;
}
#itemlist li table tr td {
	border: 1px dotted #a0a0a0;
	word-break: break-all;
}
#itemlist li table tr th ul {
	position: absolute;
	top: 9px;
	right: 10px;
}
#itemlist li table tr th ul li {
	display: inline;
	margin-left: 5px;
}
.objkind {
	display: block;
	width: 9.7em;
	padding: 5px 0 3px 0.8em;
	margin-right: 12px;
	color: #fff;
	background: #666;
	float: left;
}
.objkind i {margin-right: 5px;}
.list_objname {margin: 5px 0 0 188px;}
.objcond {
	position: absolute;
	right: 10px;
	top: 9px;
	background: #fb33c9;
	color: #fff;
	padding: 0 5px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

#itemlist li table tr th a {
	font-weight: bold;
	font-size: 1.1em;
}
#itemlist li table tr td.listimg {
	width: 180px;
	padding: 0 0 0 10px;
	position: relative;
}
#itemlist li table tr td.listimg img {
	width: 75px;
	height: 75px;
	margin-left: 2px;
	border: 1px solid #839ab4;
}
#itemlist li table tr td.listimg a + a {margin-left: 5px;}
.pictnum {
	position: absolute;
	right: 5px;
	bottom: 5px;
	font-size: 0.9em;
	background: #fe8712;
	color: #fff;
	padding: 0 5px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
.pictnum i {margin-right: 2px;}
#itemlist li table tr td.listaddr {width: 330px;}

#listwrapper {
	width: 910px;
	position: relative;
	margin: 30px auto 0 auto;
}



/* form */
input[type="text"],
select,
.area{
	margin: 0.2em;
	padding: 0.4em 0.7em 0.4em 0.4em;
	font-size: 1.1em;
	width: 15em;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: #fefefe;
	border: 1px solid #7f9db9;
}
input[type="text"].kakaku_range {
	width: 8em;
	text-align: right;
	cursor: default;
	border: 0 none;
	background: #f9f9f9;
}
textarea{
	margin: 0.2em;
	padding: 0.4em;
	font-size: 1.1em;
	width: 32em;
	height: 8em;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: #fefefe;
	border: 1px solid #7f9db9;
}

input[type="submit"]{
	display: block;
	text-align: center;
	width: 10em;
	font-size: 1.3em;
	padding:0.5em 0;
	margin: 0.5em auto;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	cursor: pointer;
	background-color: #7f7fdf;
	border: 1px solid #7f9db9;
	color: #fff;
	font-weight: bold;
}




/*Radio Check*/
label.radio,
label.radio_text,
label.checkbox,
label.checkbox_text {
	position      : relative;
	cursor        : pointer;
	display       : inline-block;
	overflow      : hidden;
	box-sizing    : border-box;
}
label.radio {
	width         : 24px;
	height        : 24px;
	border        : 1px solid #b3b3b3;
	border-radius : 100%;
}
label.radio_text {
	min-height   : calc(24px + 5px);
	margin-right : calc(24px + 5px);
	padding-left : calc(24px + 5px);
	line-height  : calc(24px + 5px);
margin-bottom: 0.6em;
margin-right:1.5em;
}
label.checkbox {
	width      : 24px;
	height     : 24px;
	border     : 1px solid #B3B3B3;
	background : #fff;
}
label.checkbox_text {
	padding-left : calc(24px + 5px);
	line-height  : 24px;
margin-bottom: 0.6em;
margin-right:1.5em;
}
/** before after **/
label.radio:before, label.radio_text:before, label.checkbox_text:before,
label.checkbox:after, label.radio_text:after, label.checkbox_text:after{
	content  : '';
	position : absolute;
	box-sizing : border-box;
}
label.radio:before, label.radio_text:before{
	border-radius    : 100%;
}
label.radio:before, label.checkbox:after{
	top              : 0px;
	bottom           : 0px;
	left             : 0px;
	right            : 0px;
	margin           : auto;
}
label.checkbox:after, label.checkbox_text:after{
	transform         : rotate(45deg);
	-webkit-transform : rotate(45deg);
	-moz-transform    : rotate(45deg);
	border-right      : 5px solid #DD6655;
	border-bottom     : 5px solid #DD6655;
	top               : calc(50% - (((24px / 12 ) * 5) / 2));
	display           : block;
	margin-top        : calc(((24px / 12 ) * 5) * -1);
	width             : calc(((24px / 12 ) * 5));
	height            : 24px;
	z-index           : 1;
}
label.radio_text:before, label.radio_text:after{
	top              : 0px;
	bottom           : 0px;
	margin-top       : auto;
	margin-bottom    : auto;
}
label.radio:before {
	display          : block;
	width            : 12px;
	height           : 12px;
	z-index          : 1;
	background-color : #DD6655; 
}
label.radio_text:before {
	width         : 24px;
	height        : 24px;
	border        : 1px solid #b3b3b3;
	left          : 0px;
	z-index       : 3;
}
label.checkbox_text:before {
	width    : 24px;
	height   : 24px;
	left     : 0px;
	top      : 0;
	border   : 1px solid #B3B3B3;
	z-index  : 3;
	box-sizing: border-box;
}
label.radio_text:after {
	width            : 12px;
	height           : 12px;
	border-radius    : 100%;
	left             : calc(((24px/2) - (12px) / 2));
	background-color : #DD6655;
	z-index          : 1;
}
label.checkbox_text:after {
	left : calc((24px / 2) - (((24px / 12 ) * 5) / 2));
}
/** input **/
label.radio input[type="radio"], label.radio_text input[type="radio"], label.checkbox input[type="checkbox"], label.checkbox_text input[type="checkbox"]{
	-moz-appearance: none;
	-webkit-appearance: none;
	position   : absolute;
	z-index    : 2;
	margin     : 0px;
	width      : 24px;
	height     : 24px;
	box-sizing    : border-box;
	outline       : none;
}
label.radio input[type="radio"], label.radio_text input[type="radio"]{
	left       : calc(24px * -1);
	width      : 24px;
	height     : 24px;
	top           : 0px;
	bottom        : 0px;
	margin-top    : auto;
	margin-bottom : auto;
	border-radius : 100%;
}
label.checkbox input[type="checkbox"], label.checkbox_text input[type="checkbox"]{
	left       : calc(24px * -1);
	padding    : 0;
}
label.radio input[type="radio"] {
	display    : block;
	box-shadow : 24px 0px #FFF;
}
label.radio_text input[type="radio"] {
	box-shadow : 24px 0px #FFF;
}
label.checkbox input[type="checkbox"] {
	box-shadow : 24px 0px #FFF;
}
label.checkbox_text input[type="checkbox"] {
	display    : block;
	box-shadow : 24px 0px #FFF;
}
/** checked forcus */
label.checkbox_text input[type="checkbox"]:checked,
label.checkbox input[type="checkbox"]:checked,
label.radio_text input[type="radio"]:checked,
label.radio input[type="radio"]:checked{
	box-shadow : none;
}
label.checkbox_text input[type="checkbox"]:checked:focus,
label.checkbox input[type="checkbox"]:checked:focus{
	opacity: 0.1;
}
label.radio_text input[type="radio"]:focus,
label.radio input[type="radio"]:focus{
	opacity: 0.2;
}

label.checkbox_text input[type="checkbox"]:checked:focus {
	box-shadow : 24px 0px #666;
}
label.checkbox_text input[type="checkbox"]:focus {
	box-shadow : 24px 0px #EEE;
}
label.checkbox input[type="checkbox"]:checked:focus {
	box-shadow : 24px 0px #666;
}
label.checkbox input[type="checkbox"]:focus {
	box-shadow : 24px 0px #EEE;
}
label.radio_text input[type="radio"]:focus {
	box-shadow : 24px 0px #FFF;
}
label.radio input[type="radio"]:focus {
	box-shadow : 24px 0px #FFF;
}
input[type="submit"].inpage{
	font-size: 0.8em;
	padding:0.25em;
	margin: 0.25em;
	width: 3em;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;

cursor: pointer;
	background-color:#f6f6f6;
	border: 1px solid #c5c5c5;
	font-weight:normal;
}




/* sqzpanel_school */
.sqzpanel_school section .headimg {
	position: relative;
	width: 860px;
	margin: 0 auto 20px auto;
}
.sqzpanel_school section h2 {
	text-shadow: 0px 0px 1px #333,
							0px 0px 2px #333,
							0px 0px 3px #333,
							0px 0px 4px #333,
							0px 0px 5px #333,
							0px 0px 6px #333;
	font-weight: bold;
	color: #fff;
	position: absolute;
	top: 30px;
	left: 30px;
	font-weight: bold;
	font-size: 2em;
}
.sqzpanel_school section .headimg p {
	color: #fff;
	width: 100%;
	padding: 10px 0 10px 30px;
	background-color: rgba(0,0,0,0.6);
	position: absolute;
	top: 60px;
	left: 0;
	box-sizing: border-box;
}

/* openhouse.php */
.ophlist {
	padding: 5px 10px;
	background: #f9e4cb;
	margin-bottom: 2px;
}
.ophdate {
	font-weight: bold;
	padding-bottom: 5px;
}
.ophnote {
	text-indent: 1em;
	font-size: 0.8em;
}



.todesc{
	display: block;
	padding: 0.2em 2em;
	background-color: #333;
	color: #fff;
	text-align: center;
}
.todesc:hover{
	background-color: #59b1eb;
}
#search_btn {
	width: 250px;
	height: auto;
	display: block;
	position: fixed;
	z-index: 1000;
	top: 20px;
	right: 20px;
}