/* テーブル */
body
{
    overflow: hidden;
}
.table_area
{
  width: 100%;
}
.table_area a
{
  margin-left: 5%;
  margin-bottom: 1%;
  background-color: #009C89;
  border-color: #009C89;
}
.table_area a:hover
{
  background-color: #016d60;
  border-color: #016d60;
}
.table_div
{
  overflow: scroll;
  width: 90%;
  margin: 0 auto;
  height: 28%;
}
.contents_title
{
    font-size: 30px;
    text-align: center;
    width: 100%;
}
table {
    width: 100%;
    white-space: nowrap;
    border-collapse: separate;
    border-spacing: 0;
    border-bottom: 1px #000 solid;
    border-right: 1px #000 solid;
    font-size: 14px;
  }
thead th ,tbody td
{
  padding: 10px;
  border-top: 1px #000 solid;
  border-left: 1px #000 solid;
}
th
{
  background-color:#86A2B8;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px #000 solid;
}
.edit_btn_area
{
  width: 8%;
}
tbody 
{
  border-top: none;
}
/* モーダル */

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}

.main_btn:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/

}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  max-width: 600px;
  width: 21%;
  font-size: 14px;
  padding: 10px 30px 25px;
  border-radius: 2px;
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 100vh;
  overflow-y: auto;
  text-align: left;
  border: none;
  padding: 10%;

}

.modal_title {
  font-size: 1.5em;
	position: relative;
	overflow: hidden;
  padding: 0;
}

.modal_title::before,
.modal_title::after{
	content: "";
	position: absolute;
	bottom: 0;
}

.modal-content p {
  margin: 10px 0 0 0;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
  color: #95979c !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}

.input_btn
{
    margin-top: 15px;
    text-align: right;
    margin-right: 17px;
}
.name_flex
{
  display: flex;
}
.back_btn
{
  width: 2.5%;
  margin-left: 1%;
  vertical-align: middle;
  color: #000;
}
.browser_back_area a
{
  color: #000;
}

.browser_back_area span
{
  vertical-align: -2px;
  font-size: 18px;
}




/* ------------------------------------------- */


label {
  display:block;
}

/*
 * 作業者追加・編集画面
 */

.worker_upsert
{
  border: 1px solid #000000;
  border-radius: 10px;

  margin-top: 5%;
  padding: 25px;
}

h1
{
  margin-top: 5px;
  margin-bottom: 25px;
}

p
{
  margin-bottom: 4px;
}

select
{
  width: 100%;
  height: 25px;
  margin-bottom: 10px;
}

.worker_name_gloup
{
  display: flex;
}

.personal_gloup
{
  text-align: right;
  justify-content: flex-end;
}

.personal_gloup p
{
  text-align: left;
  margin-left: 10%;
}

.family_name, .personal_name
{
  width: 90%;
}

.worker_add_btn, .worker_delete_btn, .worker_update_btn
{
  margin-top: 20px;
}

.worker_add_btn, .worker_update_btn
{
  float: right;
}

/*
 * 確認画面
 */
.form_confirm div
{
  margin-bottom: 10px;
  font-size: 20px;
}

.worker_factory_gloup, .worker_department_gloup, .worker_name_gloup
{
  display: flex;
  justify-content: center;
  width: 100%;
}

.worker_factory, .worker_department, .worker_name
{
  margin-right: 15px;
  width: 10%;
}

.factory_name, .department_name, .w_name
{
  text-align: left;
}

.worker_confirm_btn
{
  margin-top: 5px;
  float: right;
}