body {
    background: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

hr {
    border: none;
    border-top: 1px solid #cccccc;
}

br.dispnone{
	display: none;
}

.red{
	color: #F00;
}

#wrapper {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

#content {
    width: 100%;
    height: 100%;
}

input[type=button]:hover{
	filter: brightness(120%);
	cursor: pointer;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.maxwidth {
    width: 100%;
}

.boxline {
    border: 1px solid #cccccc;
}

.flxrow {
    display: -webkit-flex; /* Safari */
    display: flex;
    -webkit-flex-direction: row; /* Safari */
    flex-direction:         row;
}

.left_f{
	display: flex;
	flex-direction: row;
	gap: 50px;
	margin-top: 30px;
}
.left_f button{
	padding: 5px;
}
.left_f button:hover{
	filter: brightness(120%);
	cursor: pointer;
}

#header {
    width: 100%;
    background-color: #000080;
    padding: 10px;
    text-align: center;
	color: #FFF;
	font-size: 1.3em;
	font-weight: bold;
}

#main {
    width: 100%;
    height: 100%;
    -webkit-flex: 1;
    flex: 1;
}

#footer {
    width: 100%;
    background-color: #A9CDDC;
    color: #2F2F5D;
    font-size: 0.8em;
    padding: 10px;
    text-align: center;
}

#menu {
    width: 100%;
    background-color: #e0e0e0;
    padding: 10px;
    text-align: center;
    font-size: 1.0em;
    font-weight: bold;
    color: #303030;
}

#menu a:link {
    color: #303030;
}

#menu a:visited {
    color: #606060;
}

#menu a:active {
    color: #606060;
}

.formset {
    width: 30%;
    max-width: 350px;
	margin: 0 auto;
}

.innertext:first-of-type {
	margin-top: 30px;
	margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    font-weight: bold;
}

.boxtitle {
    font-size: 1.1em;
    font-weight: bold;
}

.aroundbox {
    margin: 10px;
    padding: 10px;
    border: 1px solid #cccccc;
    display: inline-block;
}

.notice {
    font-size: 0.9em;
    color: #ff0000;
}

.linkbox{
	margin-bottom: 20px;
}

/*menu.php*/
.menu_btn{
	margin-top: 30px;
    width: 100%;
    border-radius: 5px;
    background-color: #6699cc;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
	padding: 10px 0;
}
.menu_btn:hover{
	filter: brightness(120%);
	cursor: pointer;
}

/*property_create.php*/
.contents{
	width: 1000px;
	margin: 0 auto;
}
.w900{
	width: 900px;
}
.w1200{
	width: 1200px;
}
.w1300{
	width: 1300px;
}
.w1400{
	width: 1400px;
}

.twocolumns_tbl{
	width: 100%;
	margin-top: 30px;
}
.twocolumns_tbl th{
	vertical-align: top;
	width: 90px;
	padding: 5px;
	color: #1f56b4;
	border-bottom: solid 2px #1f56b4;
}
.twocolumns_tbl td{
	padding: 5px;
	border-bottom: solid 2px #1f56b4;
}
.twocolumns_tbl td span{
	display: inline-block !important;
}
.bbn{
	border-bottom;solid 2px #FFF !important;
}
.item{
	color: #1f56b4;
}
#var_propertyname{
	width:80%;
}
#pn_btn{
	display: inline-block;
	margin-left: 30px;
}
#nm_btn{
	display: inline-block;
	margin-top: 4px;
}

.w10p{
	width: 10%;
}
.w20p{
	width: 20%;
}
.w30p{
	width: 30%;
}
.w40p{
	width: 40%;
}
.w60p{
	width: 60%;
}
.w80p{
	width: 80%;
}
.w90p{
	width: 90%;
}
.w100p{
	width: 100%;
}

textarea{
	resize: none;
}

.detail_tbl{
	width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
	border: solid 1px #000;
}
.detail_tbl th{
	color: #FFF;
	background-color: #666;
	padding: 3px;
	text-align: center;
	font-size: 0.8em;
}
.detail_tbl th.t_propertyname{
	width: 10%;
}
.detail_tbl th.t_remarks{
	width: 15%;
}

.detail_tbl td{
	vertical-align: top;
	text-align: center;
	padding: 3px;
	border-bottom: solid 1px #000 !important;
}
.detail_tbl td:first-of-type{
	width:9%;
}
.detail_tbl td input[type=text],.detail_tbl td input[type=tel]{
	width: 90%;
}
.delR_btn{
	width: 90%;
	border: solid 1px #c41694;
	color: #c41694;
	margin-top: 4px;
}


/*property_change.php*/
.parent{
	margin-top: 30px;
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.serchbox{
	border: solid 2px #f7b550;
	padding: 5px;
	width:500px;
}
.serchbox input[type=text]{
	width:200px;
	padding: 3px;
	padding-right: 24px;
}
.serchbox input[type=button]{
	width:100px;
}

.to_menu input[type=button]{
	width:200px;
	padding: 3px 0;
	color: #FFF;
	background-color: #000080;
}
.textbox_wrapper{
	position: relative;
	display: inline-block;
}
#clearmark{
	position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #888;
}

.tblcase{
	position:relative;
}
.tblcase input[type=button]{
	position:absolute;
	bottom:10px;
	right:10px;
	width: 100px;
	padding: 4px 0;
}

.list_tbl{
	width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
	border:solid 1px #999;
	background:#F3FDDF;
}
.list_tbl th{
	vertical-align: top;
	width: 120px;
	padding: 5px;
}
.list_tbl td{
	padding: 5px;
}


/*property_repairhistory.php*/
.history_tbl{
	width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
	border: solid 1px #000;
}
.history_tbl th{
	color: #FFF;
	background-color: #666;
	padding: 3px;
	text-align: center;
	font-size: 0.8em;
}
.history_tbl th.h_date,.history_tbl th.h_cost{
	width: 10%;
}
.history_tbl th.c_name{
	width: 25%;
}
.history_tbl th.h_repair{
	width: 15%;
}
.history_tbl th.t_remarks{
	width: 40%;
}

.history_tbl td{
	vertical-align: top;
	padding: 3px;
	border-bottom: solid 1px #000 !important;
}
.history_tbl td input[type=text],.history_tbl td input[type=tel],.history_tbl td select{
	width: 100%;
}
.history_tbl td textarea{
	width: 100%;
}


/*room_repairhistory.php*/
#roomplate{
	margin-top: 10px;
}
#roomplate input[type=button]{
	display: inline-block;
	margin-right: 20px;
	margin-bottom: 20px;
	padding: 3px 20px;
	color: #FFF;
	font-size: 1.1em;
	border-radius: 10px;
	width: 100px;
}
.selected_on{
	background-color: #0f6471 !important;
	border: #0f6471 !important;
}
.selected_on:hover{
	filter: brightness(100%) !important;
	cursor: default !important;
}
.selected_out{
	background-color: #1ba5bb !important;
	border: #1ba5bb !important;
}
.selected_out:hover{
	filter: brightness(120%);
	cursor: pointer;
}


/*temants.php*/
#twocolumns{
	display: flex;
	flex-direction: row;
}
.contract_box{
	width: 48%;
}
.contract_box:first-of-type{
	margin-right: 4%;
}


/*tenants.php*/
.threecolumns_tbl{
	width:100%;
}
.threecolumns_tbl th{
	width:14%;
	color: #1f56b4;
	padding: 5px;
	border-left: solid 1px #1f56b4;
	font-weight: bold;
}
.threecolumns_tbl td{
	width:18%;
	padding: 5px;
}
.threecolumns_tbl th:last-of-type{
	width:10%;
}
.threecolumns_tbl td input[type=text]{
	width:70%;
}

.period_tbl{
	width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
	border: solid 1px #000;
}
.period_tbl th{
	color: #FFF;
	background-color: #666;
	padding: 5px 7px;
	text-align: left;
	font-size: 0.8em;
}
.period_tbl th:nth-of-type(3),.period_tbl th:last-of-type{
	text-align: center;
}
.period_tbl th.c_name{
	width: 25%;
}
.period_tbl th.tm_phone{
	width: 20%;
}
.period_tbl th.c_tbl{
	width: 45%;
}
.period_tbl th.d_btn{
	width: 5%;
}

.period_tbl td{
	vertical-align: top;
	padding: 5px 7px;
	border-bottom: solid 1px #000 !important;
}
.period_tbl td table{
	width:100%;
}

.sub_tbl td{
	text-align: center;
}

.closebox{
	margin-top: 30px;
	text-align: right;
}
.close_btn:hover{
	filter: brightness(120%);
	cursor: pointer;
}

.detail_sub{
	width:90%;
}
.detail_sub th{
	border-bottom: solid 1px #000 !important;
}
.detail_sub td{
	border-bottom: none !important;
}

/* オーバーレイ全体 */
#overlay {
	display: none; /* 初期は非表示 */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4); /* 半透明の黒 */
	z-index: 9999;
}

/* 中央の詳細ブロック */
#detail_block {
	width: 1000px;
	height: 700px;
	background-color: #fff;
	margin: auto;
	padding: 20px;
	border-radius: 8px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
