body {
  background-color: #ededed;
}

a {
  text-decoration: none;
  color: #000;
}

h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
}

table {
  border: 1px solid #000;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #000;
}

.login_table {
  border: none;
}

.login_table th,
.login_table td {
  border: none;
}

.login_form {
  margin: 0 auto;
  text-align: center;
  background-color: #ededed;
  border: 1px solid #cfcfcf;
  width: 500px;
  padding-top: 30px;
}

.login_form table {
  width: 500px;
}

.container {
  width: 900px;
  height: 100%;
  margin: 0 auto;
  background-color: white;
}

main {
  margin: 0 auto;
  width: 900px;
  margin-top: 30px;
  margin-bottom: 100px;
}

.login_main {
  padding-top: 80px;
  margin-top: 0;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  display: table-cell;
  background-color: black;
  border-right: 1px solid blue;
}

li a {
  color: white;
  display: block;
  padding: 5px 30px;
}

li:hover {
  opacity: 0.7;
  cursor: pointer;
}

nav li.current a {
  color: red;
}

.user {
  display: flex;
  padding: 0px 10px;
}

.greet {
  margin-bottom: 0;
}

.title {
  margin-left: 10px;
  margin-top: 0;
  text-align: left;
}

.error {
  color: red;
}

.logout {
  margin-left: auto;
}

.logout a {
  color: blue;
}

.logout a:hover {
  opacity: 0.5;
}

/* top */
section .news {
  border: 1px solid;
}

article {
  border: 1px solid;
  border-radius: 5px;
  font-size: 12px;
  padding: 20px;
}

article p {
  border-bottom: 1px dotted;
  width: 80%;
  margin-bottom: 16px;
}

.news,
.report,
.task {
  width: 850px;
  margin: 0 auto;
}

.table_name {
  border: 1px solid;
  width: 160px;
  padding: 10px;
  text-align: center;
  background-color: #cfcfcf;
}

.news table,
.report table,
.task table {
  width: 850px;
  text-align: center;
  margin: 0 auto;
  margin-top: 30px;
  font-size: 10px;
}

.news table th,
.report table th,
.task table th {
  font-weight: normal;
  font-size: 12px;
  height: 50px;
}

.news table th:nth-child(2),
.report table th:nth-child(2),
.task table th:nth-child(2) {
  width: 100px;
}

.news_edit th,
.report_edit th,
.task_edit th {
  width: 100px;
}

.news_edit td,
.report_edit td,
.task_edit td {
  text-align: left;
  padding: 5px;
}

.news_edit textarea,
.report_edit textarea,
.task_edit textarea {
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.new_button {
  padding: 0;
}

.new_button a {
  display: block;
  padding: 2px 15px;
}

.edit_delete_button {
  display: flex;
  justify-content: space-around;
}

.edit_button {
  padding: 0;
}

.edit_button a {
  display: block;
  padding: 1px 10px;
}

.delete {
  padding: 2px 10px;
}

.delete:hover {
  cursor: pointer;
}

/* 編集/登録確認、完了ボタン */
.input {
  margin-top: 40px;
  height: 30px;
  display: flex;
  justify-content: center;
  position: relative;
}

.submit {
  padding: 3px 30px;
  height: 30px;
}

.submit:hover {
  cursor: pointer;
}

.modify {
  background-color: gray;
  color: white;
  border: none;
  padding: 3px 20px;
  position: absolute;
  left: 0;
}

.modify:hover {
  opacity: 0.7;
  cursor: pointer;
}

.news td,
.report td,
.task td {
  font-size: 12px;
}

.result {
  font-weight: bold;
  color: blue;
  text-align: center;
}

.required {
  color: red;
}

/* フッター */
footer {
  bottom: 0;
  right: 0;
  margin: 10px;
}

footer small {
  display: block;
  text-align: right;
}

/* テーブルソート */
/* === ソートボタンを表示するエリア ============== */
.ts_image_area {
  line-height: 1;
}
/* === ソートボタン ============================== */
.ts_image {
  display: inline-block;
  width: 8px;
  height: 6px;
  margin: 1px 3px;
  padding: 5px;
  cursor: pointer;
}
/* === ソートボタン（カーソルオーバー時）========= */
.ts_image:hover {
  background: #ffd700;
}
/* === ソートボタン内の三角の色（SVG）============ */
.ts_image path {
  fill: #202bff;
}

/* --- （参考）テーブル全体のスタイル指定 ------- */
#list_table {
  /* width: 100%; */
  border-collapse: collapse; /* 境界線結合 */
  border-spacing: 0; /* 罫線間余白 */
  font-size: 9pt; /* 文字サイズ */
  width: 100%;
}
/* --- ヘッダーのスタイル指定 ------------------- */
#list_table th {
  text-align: center; /* 文字位置   */
  font-weight: bold; /* 太文字     */
  padding: 6px 5px; /* 余白       */
  border: 1px #666666 solid; /* 罫線       */
  position: relative;
}

#list_table th:nth-child(2) {
  width: 250px;
}

/* --- 明細のスタイル指定 ----------------------- */
#list_table td {
  text-align: center; /* 文字位置   */
  padding: 6px 5px; /* 余白       */
  border: 1px #666666 solid; /* 罫線       */
  word-break: break-all;
}

#ts_A_0,
#ts_A_2,
#ts_A_4,
#ts_A_5 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#ts_D_0,
#ts_D_2,
#ts_D_4,
#ts_D_5 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
