div.main { width: 100%; margin: 0 auto; }

table.title { margin: 0 auto; width: 100%; }
table.title td { border: none; }
table.title td.title {
  text-align: left;
  font-weight: bold;
  border: none;
  border-left: 0.5em solid darkgreen;
  padding-left: 0.5em;
  line-height: 120%;
  font-size: 120%;
}
table.title td.login { text-align: right; padding-right: 5px; }
div.menu     { width: 100%; text-align: center; }
div.contents { width: 90%; max-width: 100%; margin: 0 auto; }

div#edit {
  border-bottom: #000000;
  border-top: #000000;
  background: #eeeeee;
}

div.comment-open { color: red; }
div.comment-closed { color: #f0f; }

span.diff-add { color: red; }
span.diff-del { color: #888; text-decoration: line-through; }
span.diff-same { }

/**
 ** システムモード設定
 **/
table.system-mode th.name   { width: 250px; }
table.system-mode td.value  { width: 100px; }
table.system-mode td.note   { width: 500px; }

table.noborder { border: none; }

div.result-pages {
  width: 100%;
  text-align: left;
}

table.filter-cond {
  table-layout: fixed;
  margin: 0 auto;
  border: none;
  padding: 2px;
}

table.filter-cond th {
  border: none;
  padding: 2px;
  margin: 0;
  background-color: #ffffff;
  text-align: right;
  vertical-align: top;
}

table.filter-cond td {
  border: none;
  padding: 3px;
  margin: 0;
}

/** カタログリスト表 */
table.catalog-list { table-layout: fixed; margin: 0 auto; }

table.catalog-list tr.catalog:hover { background-color: #f0fff0; }
table.catalog-list th        { }
table.catalog-list td        { height: 0; overflow-wrap: break-word; }
table.catalog-list td.link a { display: block; width: 100%; height: 100%; color: black; }
table.catalog-list th.selected { background-color: #80ff80; }
table.catalog-list td.selected { background-color: #80ff80; }
table.catalog-list th.C { }
table.catalog-list td.C { height: 0; text-align: center; }
table.catalog-list th.r { }
table.catalog-list td.r { height: 0; text-align: right; }
table.catalog-list th.i { }
table.catalog-list td.i { height: 0; text-align: right; }
table.catalog-list th.t { }
table.catalog-list td.t { height: 0; text-align: left; }
table.catalog-list th.scanned { font-size: 80%; }

table.catalog-list td.scanned {
  font-size: 80%;
  height: 0;
  text-align: center;
}

/**
 ** カタログページ
 */
table.catalog-H { width: 100%; }
table.catalog-H td.item-view { width: 25%; padding: 0; border: none; }
table.catalog-H td.page-view { width: 50%; padding: 0; padding-left: 1rem; padding-right: 1rem; border: none; }
table.catalog-H td.comment-view { width: 20%; padding: 1rem; border: none; }
table.catalog-H img { max-width: 90vw; max-height: 90vh; }

table.catalog-V { width: 100%; }
table.catalog-V td.item-view  { width: 25%; padding: 0; border: none; }
table.catalog-V td.page-view  { width: 75%; padding-left: 1rem; padding-right: 1rem; padding-bottom: 1rem; border: none; }
table.catalog-V img { max-width: 90vw; max-height: 90vh; }

.viewer-container {
  background-color: rgba(0, 0, 0, 0.9);
}

ul.page-catalog { list-style-type: one; }
ul.page-catalog li { display: inline-block; }
table.page-catalog { width: 100%; }

table.page-catalog td {
  background-color: #999;
  text-align: center;
  width: 10%;
  padding: 2px;
}

table.page-catalog td.selected {
  background-color: #ccc;
}

div.page-catalog {
  width: 100%;
  float: left;
}

div.page-catalog div.page-thumb {
  border: solid #111111;
  background-color: #777;
  text-align: center;
  width: 132px;
  height: 150px;
  padding: 2px;
  float: left;
}

div.page-catalog div.selected {
  border: solid #999;
  background-color: #EEE;
}

/**
*** カタログ編集用ページ
**/
table.catalog-edit {
  width: 100%;
}

table.catalog-edit table.items th {
  width: 20%;
  padding: 0;
  border: none;
}

table.catalog-edit table.items td {
  width: 80%;
  padding: 0;
  border: none;
}

table.items th {
  width: 20%;
}

table.items td {
  width: 80%;
}

/**
 ** 索引ページ
 */
table.sakuin    { width: 90%; margin: 5px auto; }
table.sakuin th { padding: 5px; font-size: 150%; vertical-align: text-top; }
table.sakuin td { padding: 5px; font-size: 12pt; line-height: 16pt; vertical-align: text-top; }

a.sakuin-title {
  appearance: none;
  outline: none;
  text-decoration: none;
  padding: 5px 5px;
  margin: 5px 5px 5px 5px;
  color: black;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  display: inline-block;
}
a.sakuin-title:hover {
  appearance: none;
  outline: none;
  text-decoration: none;
  padding: 5px 5px;
  margin: 5px 5px 5px 5px;
  color: black;
  background: #e0e0e0;
  border: none;
  cursor: pointer;
  display: inline-block;
}

/**
 ** 項目種別管理
 */
table.item-class { margin: 5px auto; }
table.item-class .state    { width: 4rem; text-align: center; }
table.item-class .name     { width: 18rem; }
table.item-class .value    { width: 5rem; }
table.item-class .show     { width: 5rem; text-align: center; }
table.item-class .query    { width: 5rem; text-align: center; }
table.item-class th.width  { width: 4rem; }
table.item-class td.width  { text-align: right; }
table.item-class th.sort   { width: 4rem; }
table.item-class td.sort   { text-align: right; }
table.item-class .button   { width: 8rem; border: none; }

.appearance {
  width:  120px; /* 画像の幅 */
  height: 90px;  /* 画像の高さ */
  /* transition-duration: 0.1s; */
}
/*
.appearance:hover {
  transform: scale(5,5) translate(30%,0%);
  cursor: pointer;
}
*/
