@charset "utf-8";

html, body {
  font-size: 15px;
}

header .left a:FIRST-OF-TYPE {
  display: none;
}

td img.portlate {
  border: 1px solid #ccc;
}

section.menu ~ footer, section.viewer ~ footer {
  padding-left: 200px;
}

section.body {
  padding-left: 14em;
}

section.viewer {
  max-width: 80%;
}

section.fixed {
  width: 100%;
  margin-left: 36px;
}

input[type="text"].search {
  padding-left: 30px;
  background-image: url("/images/icon_search.png");
  background-repeat: no-repeat;
  background-size: auto 40%;
  background-position: 5px 5px;
  background-image: url("/images/icon_search.png");
  padding-left: 30px;
}

fieldset div.images {
  margin-top: 25px;
}

fieldset div.images img {
  width: 100px;
  height: 100px;
  margin-right: 12px;
  margin-bottom: 12px;
  object-fit: cover;
}

button, input[type=file]+label {
  margin-right: 0.5em;
  padding: 0 1.0em;
  min-width: 7em;
  cursor: pointer;
}

.grid {
  overflow: hidden;
  max-width: 100%;
}

.grid+.grid {
  margin-top: 0.5em;
}

.grid>div {
  box-sizing: border-box;
  float: left;
  padding-left: 4px;
  padding-right: 4px;
}

.grid>div.col2 {
  width: 16%;
}

.grid>div.col3 {
  width: 25%;
}

.grid>div.col4 {
  width: 33%;
}

.grid>div.col5 {
  width: 41%;
}

.grid>div.col6 {
  width: 50%;
}

.grid>div.col7 {
  width: 59%;
}

.grid>div.col8 {
  width: 66%;
}

.grid>div.col9 {
  width: 75%;
}

.grid>div.col10 {
  width: 84%;
}

.grid>div.col11 {
  width: 93%;
}

.grid>div.col12 {
  width: 100%;
}


.grid>div:FIRST-CHILD {
  padding-left: 0px;
}

.grid>div:LAST-CHILD {
  padding-right: 0px;
}

.grid:AFTER {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
}

form fieldset .task_thumbnail {
  width: 30%;
  margin-right: 15px;
}

body>h1, div>h1 {
  /*
    margin-top: 30px;
*/
  margin-bottom: 15px;
  font-size: 20px;
}

body>h1:FIRST-CHILD, div>h1:FIRST-CHILD {
  margin-top: 0px;
}

a.users {
  text-decoration: none;
  color: #365899;
}

a.users:HOVER {
  text-decoration: underline;
}

span.list {
  display: block;
  margin-top: 70px;
  margin-bottom: 70px;
  color: #222;
}

section.error {
  padding-bottom: 7em;
}

section.error h1 {
  font-size: 2em;
  padding-bottom: 1em;
  color: #222;
}

section.error p {
  padding-bottom: 3em;
  color: #666;
}

section.error a {
  color: #365899;
}

section .task {
  position: relative;
}

section .task>h1 {
  padding-bottom: 0px;
  font-size: 30px;
}

section .task button {
  position: absolute;
  right: 0;
}

section .task>pre {
  margin-top: 15px;
  margin-bottom: 30px;
  padding: 15px;
  color: #666;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  border: 1px solid #ccc;
}

section .task>div label {
  color: #999;
  padding-right: 5px;
}

section .task select[name='history'] {
  margin-bottom: 15px;
}

fieldset.buttons {
  text-align: right;
}

nav.buttons {
  text-align: right;
  /*
    margin-bottom: 15px;
*/
}

span.users {
  background-color: #ccc;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc;
  padding: 4px 10px 4px 0;
  font-size: 12px;
  border-radius: 3px;
  margin-right: 4px;
}

span.users a {
  display: table-cell;
  padding: 6px;
  color: #999;
  text-decoration: none;
}

ul.select {
  display: block;
  width: 200px;
  background-color: #fff;
  border: 1px solid #ccc;
  position: absolute;
  margin-left: 6px;
  top: 593px;
  z-index: 2;
  border: 1px solid #ccc;
}

ul.select li {
  border-bottom: 1px solid #ccc;
  padding: 8px 15px;
  font-size: 13px;
}

ul.select li:HOVER {
  background-color: #eee;
  cursor: pointer;
}

dl.errors {
  padding: 10px 15px 15px 15px;
}

dl.errors dt {
  padding-bottom: 15px;
  font-weight: bold;
}

dl.errors dd {
  margin-left: 20px;
}

body.no_scroll {
  overflow: hidden;
}

section.modal>div {
  width: 60%;
  max-height: 90%;
}

div.statistics .value {
  font-size: 2.5em;
}

.pg_contract section>div {
  margin-left: 2em;
}

.pg_contract .contract {
  margin-left: 1em;
}

.model_videos.modal ul {
  height: 260px;
  padding: 15px 13px 15px 15px;
  margin: 15px 0;
}

.model_videos.modal li label:BEFORE {
  top: 10px;
  left: 187px;
}

.model_videos.modal li label:AFTER {
  top: 6px;
  left: 185px;
}

ul.model_videos li {
  float: left;
  width: 215px;
  margin-right: 5px;
  margin-bottom: 11px;
}

ul.model_videos img {
  height: 120.94px;
  width: 215px;
}

ul.model_videos span {
  padding: 2px 10px;
  height: 44px;
  font-size: 12px;
}

.modal div.drag {
  display: flex;
  height: 200px;
  margin-top: 15px;
  padding-bottom: 15px;
  border-radius: 5px;
  border: 2px dashed #ccc;
  margin-bottom: 15px;
  color: #ccc;
  font-weight: normal;
  justify-content: center;
  align-items: center;
}

section.modal .buttons {
  text-align: right;
  margin-top: 1em;
}

.viewers .tabs {
  margin-top: 15px;
}

.viewers .tabs label {
  margin-right: 0px;
}

.viewers h1 span {
  float: right;
}

.user_selector h1 span {
  float: right;
}

.raters h1 span {
  float: right;
}

.submitters h1 span {
  float: right;
}

.co_editors h1 span {
  float: right;
}

.item_groups ul {
  display: block;
  overflow: scroll;
  max-height: 30em;
}

.item_groups li {
  padding: 1em;
  border-bottom: 1px solid #ccc;
}

.item_groups li:LAST-OF-TYPE {
  border-bottom: none;
}

.item_groups li:HOVER {
  cursor: pointer;
}

.item_groups li div {
  margin-top: 6px;
}

.item_groups li span {
  font-size: 12px;
}

.item_groups li span:AFTER {
  content: " / ";
  color: #ccc;
}

.item_groups li span:LAST-CHILD:AFTER {
  content: none;
}

.item_groups table {
  display: block;
  overflow: scroll;
  max-height: 25em;
}

.item_groups tr {
  padding: 1em;
  border-bottom: 1px solid #ccc;
}

.item_groups tr:LAST-OF-TYPE {
  border-bottom: none;
}

.item_groups tr:HOVER {
  cursor: pointer;
}

.item_groups tr div {
  margin-top: 6px;
}

.item_groups tr span {
  font-size: 12px;
}

.item_groups tr span:AFTER {
  content: " / ";
  color: #ccc;
}

.item_groups tr span:LAST-CHILD:AFTER {
  content: none;
}

#itemList {
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 1em 0;
}

#thumbnail div div {
  width: 160px;
  height: 160px;
  margin-bottom: 10px;
  border-width: 1px;
}

#thumbnail a {
  padding: 5px 8px;
}

body.login {
  width: 450px;
  font-size: 15px;
  margin: 0 auto;
  text-align: center;
}

body.login>img {
  height: 9em;
  margin-bottom: 1.5em;
}

body.login>form {
  padding-bottom: 15px;
}

body.login>form fieldset {
  text-align: left;
}

body.login .buttons {
  text-align: center;
}

body.login a {
  color: #6B6756;
  text-decoration: none;
  cursor: pointer;
}

body.login a:HOVER {
  text-decoration: underline;
}

form#reissue a {
  color: #6B6756;
  text-decoration: none;
  cursor: pointer;
}

form#reissue a:HOVER {
  text-decoration: underline;
}

div.sub_menu ul {
  position: fixed;
  top: 4em;
  left: 0;
  width: 14em;
  height: calc(100% - 4em - 1em);/* 画面全体の高さ - ヘッダーの高さ - padding-topの高さ */
  padding-top: 1em;
  color: #6b6756;
  background-color: #E8FBEE;
}

div.sub_menu li {
  border-bottom: 1px solid white;
}

div.sub_menu li * {
  color: #666;
  padding: 1em 1em 1em 1.5em;
  text-decoration: none;
  display: block;
}

div.sub_menu li a.subpage {
  background-color: #FFF;
}

div.sub_menu ul li span {
  font-weight: bold;
  background-color: #FFF;
}

.click_disable {
  pointer-events: none;
}

.rating_item>div:NTH-CHILD(1) {
  background-size: 1.3em;
  padding-left: 1.5em;
}

.sticky {
  position: -webkit-sticky; /* Safari用 */
  position:sticky; /* 要素をスクロールに応じて固定 */
  top: 60px;
  background-color: #FFF;
  z-index: 3;
}

.model_tags_view:before {
  content: "";
  display: block;
  padding-top: 95%;
}

.p-border {
  border-top: 1px solid #ccc;
  height: 1em;
}

.p-slider {
  min-height: 100%;
}

.model_videos article.view {
  margin-bottom: 2px;
  min-width: 12em;
}

.clickable {
  padding: 0px 8px;
  cursor: pointer;
}

.clickable:hover {
  padding: 0px 8px;
}

.chart-container {
  display: inline-block;
  width: 37vw;
  border: 1px solid #ccc;
  position: relative;
  padding: 0.5em;
}

#memoAreaDisplay {
  max-height: 450px;
  overflow: scroll;
}
