html,body {
	font-size: 14px;
}
#main {
	margin: 30px auto;
	padding: 0;
}
#search_box {
	padding: 10px;
	border-bottom: 1px solid;
}
#search_form_table {
	width: 90%;
	margin: auto;
	border-collapse: collapse;
}
#search_form_table input {
	box-sizing: border-box;
	/*
	width: 25em;
	max-width: 100%;
	*/
}
#search_form_table input[type="date"] {
	width: 8em;
}
#search_form_table #search_date_checkbox {
	width: auto;
}
#search_date2 {
	display: none;
}
#search_date_checkbox:checked + #search_date2 {
	display: inline-flex;
}
.search_item_name {
	width: 8em;
	padding: 10px;
}
.search_item_content {
	padding: 10px;
	/*padding-right: 10%;*/
}
.search_button_td {
	display: flex;
	justify-content: space-between;
}

#search_flex_box {
	display: flex;
	flex-wrap: wrap;
	width: 90%;
	margin: auto;
}
#search_flex_box input[type="text"] {
	min-width: 10em;
	width: 100%;
	max-width: 25em;
	box-sizing: border-box;
}
#search_flex_box input[type="date"] {
	width: 10em;
}
#search_flex_box #search_date_checkbox {
	width: auto;
}
.one_column {
	display: flex;
	width: 100%;
	align-items: center;
	padding: 10px;
}
.two_column {
	display: flex;
	width: 50%;
	align-items: center;
}
.search_item {
	width: 8em;
	padding: 10px;
}
.search_content {
	padding: 10px;
	width: calc(100% - 8em);
}
.flex_right {
	justify-content: end;
}
.flex_buttons {
	justify-content: space-between;
}


#list_box {
	padding: 10px;
}
.display_menu {
	width: 90%;
	margin: 20px auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 80%;
}
#list_content {
	width: 90%;
	margin: auto;
	border-collapse: collapse;
	text-align: center;
}
#list_content tr {
	border-bottom: 1px solid #BFBFBF;
}
#list_content td {
	padding: 10px;
}
.operation_button {
	display: inline-block;
	color: #000;
	background: #FFFFCC;
	border: 1px solid #BFBFBF;
	padding: 3px 5px;
	width: 40px;
	-webkit-transition: all .3s;
	transition: all .3s;
	cursor: pointer;
	text-align: center;
}
.operation_button:hover {
	background: #000;
	color: #FFFFCC;
}
#no_result_text {
	width: 90%;
	margin: auto;
}
.active {
	cursor: pointer;
	color: #0070C0;
}
.non-active {
	color: #9e9e9e;
}
.pagenation span + span {
	margin-left: 5px;
}

#create_form {
	width: 100%;
	max-width: 700px;
	margin: auto;
}
.create_new_account_table {
	width: 100%;
	margin: 40px auto;
	border-collapse: collapse;
	border: 1px solid #BFBFBF;
}
.create_new_account_table tr {
	border-bottom: 1px solid #BFBFBF;
}
.create_new_account_table td {
	padding: 10px;
}
.create_new_account_table input[type="text"] {
	width: 100%;
	box-sizing: border-box;
}
.create_new_account_table input[type="text"].half_width {
	width: 40%;
}
.create_table_head {
	text-align: center;
	background: #F2F2F2;
}
.account_name_text {
	display: inline-block;
	width: 9%;
	text-align: center;
}
.create_new_account_table label + label {
	margin-left: 1em;
}
.create_new_account_table textarea {
	width: 100%;
	height: 50px;
	box-sizing: border-box;
}
.error_text {
	display: none;
	font-size: 85%;
	color: red;
}
.blue_text {
	cursor: pointer;
	color: #0070C0;
}
.input_num {
	width: 4em;
	margin-right: 0.5em;
}

#pair_list {
	width: 100%;
	border-collapse: collapse;
}
#pair_list tr {
	border-bottom: 1px solid #BFBFBF;
}
#pair_list td {
	padding: 5px;
}

.account_table_item {
	width: 8em;
}

.content_box {
	width: 100%;
	max-width: 700px;
	margin: auto;
}

.display_user_name + .display_user_name {
	margin-left: 1em;
}

#details_person_info_box {
	padding: 10px;
	border-bottom: 1px solid;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.details_button_block {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
}
.details_flex_box {
	width: 100%;
	max-width: 700px;
	margin: 20px auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.details_table {
	width: 100%;
	margin: auto;
	border-collapse: collapse;
	border: 1px solid #BFBFBF;
}
.details_table tr {
	border-bottom: 1px solid #BFBFBF;
}
.details_table td {
	padding: 10px;
}
.details_table input[type="text"] {
	width: 100%;
	box-sizing: border-box;
}
.details_table input[type="text"].half_width {
	width: 40%;
}
.tab_select_radio:checked + .details_tab {
	display: block;
}
.tab_select_button {
	display: inline-block;
	padding: 5px 15px;
	color: #000;
	background: #FFFFCC;
	border: 1px solid #000;
	cursor: pointer;
	text-align: center;
}
.tab_select_button + .tab_select_button {
	margin-left: 1em;
}
.tab_selected {
	color: #FFFFCC;
	background: #000;
}

.report_data_box {
	border-bottom: 1px solid #fff;
}
.report_data_box_head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #19191A;
	color: #fff;
	padding: 5px 15px;
	cursor: pointer;
}
.report_data_block {
	padding: 5px;
	border: 1px solid;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.report_data_checkbox:checked + .report_data_block {
	display: block;
}

/* modal */
.modal-main {
	display: none;
	width: 100%;
	max-width: 700px;
	height: 500px;
	margin: auto;
	padding: 0;
	background-color: #ffffff;
	color: #666666;
	text-align: center;
	position:fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
}
#modal-bg {
	display:none;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.5);
	position:fixed;
	top:0;
	left:0;
	z-index: 199;
}
.modal-content {
	height: 100%;
	text-align: left;
}
.modal-del {
	width: 100px;
	margin: 0 10px;
	cursor: pointer;
}
.modal-header {
	padding: 5px 10px;
	background: #F2F2F2;
}
.modal-search {
	padding: 5px 10px;
	border-top: 1px solid #BFBFBF;
	border-bottom: 1px solid #BFBFBF;
}
.modal-search input[type="text"] {
	width: 100%;
	box-sizing: border-box;
}
.modal-items {
	padding: 5px 10px;
	height: 75%;
	overflow: auto;
}
.modal-action {
	padding: 5px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#modal-model-content .modal-items {
	height: calc(75% - 2em);
}
.modal-attention {
	padding: 5px 10px;
}
.modal-table {
	margin: auto;
}
