html,body {
	margin: 0;
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"
}

/* 汎用 */
#main {
	/*font-size: 0.7em;*/
	margin-top: 51px;
	min-height: calc(100vh - 101px);
	padding: 10px;
}
.content_box {
	width: 90%;
	margin: 30px auto;
	padding: 10px;
	border: 1px solid #BFBFBF;
}
.no_border {
	border: none;
}
.ib {
	display: inline-block;
}
.nodisp {
	display: none;
}
a {
	color: #0070C0;
	text-decoration: none;
}
.text_link {
	color: #0070C0;
}
.text_link:hover {
	text-decoration: underline;
}
.pointer {
	cursor: pointer;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.check_color {
	color: green;
}
.text_margin + .text_margin {
	margin-left: 1em;
}
.two_button_block {
	display: flex;
	justify-content: space-around;
}
.mt20 {
	margin-top: 20px;
}
.input_elm {
	width: 100%;
	box-sizing: border-box;
}
.input_textarea {
	height: 5em;
}
.flex_textarea {
	resize: none;
}
.textarea_elm {
	width: 100%;
	height: 30vh;
	box-sizing: border-box;
}
.nowrap {
	white-space: nowrap;
}
.flex_box_between {
	display: flex;
	justify-content: space-between;
}
.content_item {
	white-space: nowrap;
}
.text_block {
	display: flex;
	border-bottom: 1px solid #e8e8e8;
	width: 100%;
	align-items: center;
	padding: 5px;
}
.item_card {
	display: inline-block;
	background: #e8f8ff;
	padding: 0 10px;
	border: 1px solid #e8e8e8;
	align-self: stretch;
	margin-left: 1em;
}
.item_card + .item_card {
	margin-left: 1em;
}
.text_item_list {
	display: flex;
	align-items: center;
	width: 100%;
	overflow: auto;
}
.required_icon {
	font-size: 75%;
	color: red;
}
.wsn {
	white-space: normal;
}
.item_margin {
	margin-right: 1.5em;
}
.overflow_elm {
	overflow: auto;
}
.flex_wrap {
	flex-wrap: wrap;
}
.margin_tb {
	margin: 20px auto;
}
.middle_margin {
	margin: auto 1em;
}

/* ボタン */
.button {
	display: inline-block;
	padding: 3px 20px;
	-webkit-transition: all .1s;
	transition: all .1s;
	cursor: pointer;
	text-align: center;
}
.button_even_width {
	width: 100px;
}
.button_wb {
	border: 1px solid #0070C0;
	color: #0070C0;
	background: #fff;
}
.button_wb:hover {
	background: #0070C0;
	color: #fff;
}
.button_bw {
	border: 1px solid #0070C0;
	background: #0070C0;
	color: #fff;
}
.button_bw:hover {
	color: #0070C0;
	background: #fff;
}

.button_gray {
	background-color: #ababab;
	color: #0e0e0e;
	border: solid 1px #bfbfbf;
	pointer-events: none;
}

.button_red {
	border: 1px solid #d70808;
	color: #fff;
	background: #d70808;
}

.number_input {
	width: 3em;
}


/* 一覧表示 */
.list_content_box {
	overflow: auto;
	height: 100%;
	max-height: 80vh;
}
#list_table {
	width: 100%;
	border-collapse: collapse;
	white-space: nowrap;
}
#list_table th {
	border-bottom: 1px solid #e8e8e8;
}
#list_table td {
	border-bottom: 1px solid #e8e8e8;
}
#list_table th, #list_table td {
	padding: 5px 10px;
	border: 1px solid #e8e8e8;
}
#list_table tr:hover {
	/*background: #e8e8e8;*/
}
.list_table {
	width: 100%;
	border-collapse: collapse;
	white-space: nowrap;
}
.list_table th {
	border-bottom: 1px solid #e8e8e8;
}
.list_table td {
	border-bottom: 1px solid #e8e8e8;
}
.list_table th, .list_table td {
	padding: 5px 10px;
	border: 1px solid #e8e8e8;
}
.list_table tr:hover {
	/*background: #e8e8e8;*/
}
.display_menu {
	display: flex;
	justify-content: space-between;
	margin: 10px;
	padding: 10px;
	font-size: 80%;
}
.pagenation {
	font-size: 1.0em;
}
.pagenation span + span {
	margin-left: 5px;
}
.active {
	cursor: pointer;
	color: #0070C0;
}
.non-active {
	color: #9e9e9e;
	pointer-events: none;
}
.non-active-bg {
	color: #9e9e9e;
	pointer-events: none;
	background: #e8e8e8;
	border-color: #e8e8e8;
}

.list_option_item {
	display: inline-block;
	border-left: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	border: 1px solid #e8e8e8;
	padding: 5px;
}
.list_option_item + .list_option_item {
	margin-left: 1em;
}

/* search */
.search_column {
	display: flex;
	width: 100%;
	border-bottom: 1px solid #e8e8e8;
	padding: 5px;
}
.search_block {
	flex: 1;
	display: flex;
	align-items: baseline;
}
.search_item_name {
	width: 8em;
}
.search_select_button {
	padding: 0 5px;
}
.search_input_block {
	flex: 1;
	padding: 0 5px;
}
.search_status_label {
	display: inline-block;
}
.search_status_label + .search_status_label {
	margin-left: 1em;
}

/* メニュー */
#menu_list {
	position: fixed;
	top: 0;
	width: 100%;
	height: 50px;
	background: #fff;
	border-bottom: 1px solid #989898;
	z-index: 300;
}
#menu_list ul {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-around;
	align-items: center;
}
#menu_list ul li {
	list-style-type: none;
	text-align: center;
	padding: 5px 0;
	width: auto;
	font-size: 80%;
}
.top_selected {
	text-decoration: underline;
}



/* チェックボックス */
.radio_to_check{
	/*display:block;*/
	font-size:18px;
	cursor:pointer;
	position:relative;
}
.check_input_elm{
	position:absolute;
	z-index:-1;
	opacity:0;
}
.display_checkbox{
	width:20px;
	height:20px;
	background:#e6e6e6;
	margin: auto;
}
.radio_to_check:hover .check_input_elm ~ .display_checkbox,
.radio_to_check .check_input_elm:focus ~ .display_checkbox{
	/*background:#ccc;*/
}
.radio_to_check .check_input_elm:checked ~ .display_checkbox{
	background:rgba(0,154,219,1);
}
.radio_to_check:hover .check_input_elm:not([disabled]):checked ~ .display_checkbox{
	background:rgba(0,154,219,.7);
}
.radio_to_check .check_attention:checked ~ .display_checkbox {
	background: rgba(255, 0, 0, 1);
}
.radio_to_check:hover .check_attention:not([disabled]):checked ~ .display_checkbox{
	background: rgba(255, 0, 0, .7);
}
.radio_to_check .check_input_elm:disabled ~ .display_checkbox{
	background:#e6e6e6;
	opacity:0.6;
	pointer-events:none;
}
.display_checkbox::after{
	content:'';
	display:none;
	position:absolute;
}
.radio_to_check .check_input_elm:checked ~ .display_checkbox::after{
	display:block;
}
.display_checkbox::after{
	width:5px;
	height:8px;
	border:solid #fff;
	border-width:0 2px 2px 0;
	left: -3px;
	top:4px;
	transform:rotate(45deg);
}
.check_input_elm:disabled ~ .display_checkbox::after{
	border-color:#7b7b7b;
}

/* 情報表示テーブル */
.details_info_table {
	width: 90%;
	margin: auto;
	border-collapse: collapse;
}
.details_info_table tr {
	border-bottom: 1px solid #e8e8e8;
}
.details_info_table th, .details_info_table td {
	padding: 5px;
}
.border_table td, .border_table th{
	border: 1px solid #e8e8e8;
}

/* flex box */
.content_flex_box {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-top: 3em;
	padding: 3px 0;
	align-items: center;
}
.flex_content_block {
	width: 45%;
}
.time_zone_table_head {
	border-bottom: 1px solid #e8e8e8;
}
.time_zone_table_content {
	height: 80vh;
	overflow: auto;
}
#time_zone_template_table {
	width: 100%;
	border-collapse: collapse;
}

/* table */
.table_box {
	width: 100%;
	height: 80vh;
	overflow: auto;
}
.no_height_setting {
	height: auto;
	max-height: 80vh;
}
.item_table {
	width: 100%;
	border-collapse: collapse;
	white-space: nowrap;
	/*text-align: center;*/
}
.item_table th, .item_table td {
	border: 1px solid #b8b8b8;
	padding: 5px;
}
.item_table .dash_l {
	border-left: 1px dashed #e8e8e8;
}
.item_table .dash_r {
	border-right: 1px dashed #e8e8e8;
}
.history_table_box {
	width: 100%;
}
.history_table {
	width: 100%;
	border-collapse: collapse;
}
.history_table_date {
	width: 8em;
}
.history_table_person {
	width: 8em;
}
.history_table th, .history_table td {
	border: 1px solid #e8e8e8;
	padding: 5px;
}
.history_table + .history_table {
	margin-top: 40px;
}

.check_table {
	width: 100%;
	border-collapse: collapse;
	white-space: nowrap;
	text-align: center;
}
.check_table th, .check_table td {
	border: 1px solid #b8b8b8;
}
.checkbox_td {
	width: 2em;
	border-right: 1px dashed #e8e8e8;
}
.code_td {
	/*border-left: 1px dashed #e8e8e8;*/
}
.code_td label {
	display: inline-block;
	width: 100%;
	cursor: pointer;
	padding: 5px;
	box-sizing: border-box;
	/*background: #e8e8e8;*/
}
.category_check:checked + label {
	background: #0070C0;
	color: #fff;
}
.can_not_category_check:checked + label {
	background: #d70808;
	color: #fff;
}

.category_text_space {
	display: inline-block;
	width: 4em;
	text-align: center;
	color: #0070C0;
	font-weight: bold;
}
.category_text_space.can_not_category {
	color: #d70808;
}

/* medical options */
.medical_option_edit_box {
	display: flex;
	width: 100%;
	justify-content: space-between;
}
.medical_option_edit_block {
	width: 45%;
	border: 1px solid #e8e8e8;
	max-height: 80vh;
	overflow: auto;
}
.option_all_item {
	padding: 1em;
	margin: 3px;
	border: 1px solid;
	display: flex;
	justify-content: space-between;
}
.option_selected_item {
	padding: 1em;
	margin: 3px;
	border: 1px solid;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.display_number_elm {
	display: inline-block;
	width: 4em;
	text-align: left;
}
.all_item_selected {
	background: #e8e8e8;
	opacity: 0.5;
	pointer-events: none;
}


/* template */
.template_flex_box {
	display: flex;
	width: 100%;
}
.template_block {
	flex: 1;
}
.replace_block {
	font-size: 75%;
	white-space: nowrap;
}
.wrap_item {
	white-space: normal;
}

/* loading */
#modal-bg {
	display:none;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.5);
	position:fixed;
	top:0;
	left:0;
	z-index: 499;
}
.sk-fading-circle {
	display: none;
  margin: auto;
  width: 40px;
  height: 40px;
  position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 500;
}

.sk-fading-circle .sk-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-fading-circle .sk-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
          animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
.sk-fading-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg);
}
.sk-fading-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
      -ms-transform: rotate(60deg);
          transform: rotate(60deg);
}
.sk-fading-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
.sk-fading-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
      -ms-transform: rotate(120deg);
          transform: rotate(120deg);
}
.sk-fading-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
      -ms-transform: rotate(150deg);
          transform: rotate(150deg);
}
.sk-fading-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.sk-fading-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
      -ms-transform: rotate(210deg);
          transform: rotate(210deg);
}
.sk-fading-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
      -ms-transform: rotate(240deg);
          transform: rotate(240deg);
}
.sk-fading-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
          transform: rotate(270deg);
}
.sk-fading-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
      -ms-transform: rotate(300deg);
          transform: rotate(300deg);
}
.sk-fading-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
      -ms-transform: rotate(330deg);
          transform: rotate(330deg);
}
.sk-fading-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s;
}
.sk-fading-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s;
}
.sk-fading-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
}
.sk-fading-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
}
.sk-fading-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s;
}
.sk-fading-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s;
}
.sk-fading-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s;
}
.sk-fading-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
}
.sk-fading-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}
.sk-fading-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
}
.sk-fading-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

@keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

/* popup */
.popup-main {
	display: none;
	width: 80%;
	max-width: 800px;
	margin: auto;
	padding: 10px;
	background-color: #ffffff;
	color: #666666;
	text-align: center;
	position:fixed;
	top: 100px;
	left: 0;
	right: 0;
	z-index: 500;
	border: 1px solid #BFBFBF;
}
.popup-mini {
	max-width: 400px;
}
#popup-bg {
	display:none;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.5);
	position:fixed;
	top:0;
	left:0;
	z-index: 499;
}
.popup-button-box {
	display: flex;
	justify-content: space-around;
}
.popup-action-box {
	text-align: center;
	padding-right: 10px;
}

/* modal */
.modal-main {
	display: none;
	width: 800px;
	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: 500;
}
.modal-main2 {
	display: none;
	width: 400px;
	height: 200px;
	margin: auto;
	padding: 0;
	background-color: #ffffff;
	color: #666666;
	text-align: center;
	position:fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 500;
}
.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-attention {
	padding: 5px 10px;
}

.item_select_modal {
	width: 400px;
}
.item_list {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
.modal_select_list li {
	padding: 5px;
	width: 100%;
}
.modal_select_list li label {
	display: inline-block;
	width: 95%;
	cursor: pointer;
	padding: 5px;
}
.modal_select_list li input[type="radio"] {
	display: none;
}
.modal_select_list li input[type="radio"]:checked + label {
	color: #fff;
	background: #0070C0;
}

.input_table {
	border-collapse: collapse;
	margin: auto;
	max-width: 75%;
}
.input_table th, .input_table td {
	border-bottom: 1px solid #e8e8e8;
	padding: 3px 5px;
}
.input_table + .input_table {
	margin-top: 40px;
}
.edit_box_title {
	width: 100%;
	text-align: center;
	font-weight: bold;
	margin-top: 50px;
}

.error_text {
	font-size: 75%;
	color: red;
	font-weight: bold;
}

.item_flex_box {
	display: flex;
	flex-wrap: wrap;
}
.item_flex_box label {
	width: 33%;
}

.copy_icon {
	color: #03a9f4;
	cursor: pointer;
}
.copied {
	color: #fda400;
}
