@charset "UTF-8";

#object #contents {
  margin-bottom: 15px;
  visibility: hidden;
}
#object #contents:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}

#object .title-header .back {
  visibility: hidden;
}

/* Images */
#object #images {
  background: #fff;
  padding: 10px;
  margin-bottom: 30px;
  height: 420px;
  
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 5px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 5px 0;
  -ms-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 5px 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0 5px 0;
}
#object #images:after {
  content: "";
  display: block;
  clear: both;
}
#object #images .main-container {
  background: #f2f2f2;
  width: 690px;
  height: 100%;
  overflow: hidden;
  float: left;
  margin-right: 20px;
  position: relative;
}
#object #images .main {
  width: 100%;
  height: 100%;
}
#object #images .main img {
  position: absolute;
  top: 50%;
  left: 50%;
  cursor: pointer;
  cursor: zoom-in;
}
#object #images .main.no-image {
  cursor: default;
}
#object #images .main.no-image p {
  position: absolute;
  top: 48%;
  text-align: center;
  color: #999;
  font-size: 16px;
  letter-spacing: 0.1em;
  width: 100%;
}
#object #images .main.no-image img {
  display: none;
}
#object #images .thumbnails {
  width: 250px;
  height: 100%;
  float: left;
  position: relative;
}
#object #images .thumbnails ul {
  width: 100%;
  height: 390px;
  overflow: hidden;
}
#object #images .thumbnails li {
  background: #f2f2f2 no-repeat center center;
  background-size: cover;
  margin: 0 10px 10px 0;
  width: 120px;
  height: 120px;
  overflow: hidden;
  position: relative;
  float: left;
  cursor: pointer;
}
#object #images .thumbnails li:nth-child(even) {
  margin-right: 0;
}
#object #images .thumbnails li.active:after {
  content: "";
  border: #4a2a00 5px solid;
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  opacity: 0.5;
}
#object #images .thumbnails li img {
  position: absolute;
  top: 50%;
  left: 50%;
}
#object #images .thumbnails .pager {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
}
#object #images .thumbnails .pager .prev,
#object #images .thumbnails .pager .next {
  background: #e2d7cd;
  width: 50%;
  height: 100%;
  padding-top: 6px;
  box-sizing: border-box;
  text-align: center;
  color: #4a2a00;
  float: left;
  cursor: pointer;
}
#object #images .thumbnails .pager .prev:hover,
#object #images .thumbnails .pager .next:hover {
  background: rgba(255, 255, 255, 0.2);
}
#object #images .thumbnails .pager .prev.disable,
#object #images .thumbnails .pager .next.disable {
  opacity: 0;
  cursor: default;
}
#object #images .thumbnails .pager .prev span {
  background: url(../img/icon_left.png) no-repeat left top;
  padding-left: 20px;
}
#object #images .thumbnails .pager .next span {
  background: url(../img/icon_right.png) no-repeat right top;
  padding-right: 20px;
}


#object .details {
  float: none;
  width: 100%;
}
#object.loggingIn .details {
  float: left;
  width: 700px;
}

/* Description */
#object #descriptions {
  margin-bottom: 20px;
  display: none;
}
#object #descriptions h3 {
  border-bottom: #999 1px solid;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 10px;
  margin: 0 5px 10px 5px;
}
#object #descriptions .description {
  margin-bottom: 5px;
  font-size: 15px;
}
#object #descriptions .description p {
  padding: 5px;
  line-height: 1.6em;
}
#object #descriptions .description textarea {
  border: #672020 1px solid;
  padding: 9px;
  width: 680px;
  color: #424242;
  font-size: 100%;
  line-height: 1.6em;
  display: none;
}
#object #descriptions .description .translate {
	background: #e2d7cd;
	padding: 10px 5px;
	font-size: 12px;
	line-height: 1em;
	text-align: right;
}
#object #descriptions .editor {
  margin-bottom: 15px;
  text-align: right;
  min-height: 30px;
  position: relative;
  display: none;
}
#object.loggingIn #descriptions .editor {
  display: block;
}
#object.loggingOut #descriptions .editor .editable {
  display: none;
}
#object #descriptions .editor .name {
  padding-top: 5px;
  font-size: 13px;
  line-height: 1.6em;
}
#object #descriptions .editor .date {
  font-size: 11px;
  line-height: 1em;
}
#object #descriptions .editor .icon {
  float: right;
  margin: 0 0 0 10px;
  width: 40px;
}
#object #descriptions .btn_edit,
#object #descriptions .btn_done {
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
}
#object #descriptions .btn_edit a,
#object #descriptions .btn_done a {
  padding-left: 60px;
  padding-right: 60px;
}

#object #descriptions .history {
  background: rgba(255, 255, 255, 0.4);
  padding: 10px;
}
#object #descriptions .history .expand {
  background: url(../img/arrow_b.png) no-repeat left center;
  padding-left: 18px;
  font-size: 13px;
  text-decoration: none;
}
#object #descriptions .history .expand.open {
  background: url(../img/arrow_t.png) no-repeat left center;
}
#object #descriptions .history ul {
  border-top: #000 1px solid;
  display: none;
  width: 100%;
  margin-top: 5px;
}
#object #descriptions .history li {
  margin: 0 0 20px 0;
  position: relative;
}
#object #descriptions .history li .comment {
  border-bottom: 1px solid #ccc;
  margin: 15px 10px 5px 10px;
  padding: 0 0 5px 0;
  font-size: 13px;
  line-height: 1.6em;
}
#object #descriptions .history li .date {
  padding-right: 10px;
  text-align: right;
  font-size: 79%;
}
#object #descriptions .history li .translate {
	position: absolute;
	bottom: 5px;
	left: 10px;
	font-size: 12px;
	line-height: 1em;
}

/* Outline */
#object #outline .tab {
  
}
#object #outline .tab:after {
  content: "";
  display: block;
  clear: both;
}
#object #outline .tab li {
  background: #eeeae0;
  border-top: #928787 4px solid;
  padding: 5px 20px;
  margin-right: 5px;
  font-size: 16px;
  float: left;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
#object #outline .tab li:hover {
  background: #fff;
}
#object #outline .tab li.active {
  border-color: #672020;
  background: #fff;
  
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px 0;
  -ms-box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px 0;
}
#object #outline dl {
  background: #fff;
  padding: 5px;
  font-size: 13px;
  position: relative;
  
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 5px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 5px 0;
  -ms-box-shadow: rgba(0, 0, 0, 0.2) 0px 0 5px 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0 5px 0;
}
#object #outline dt {
  padding: 5px 1em 5px 1em;
  width: 11em;
  float: left;
  clear: both;
}
#object #outline dd {
  padding: 5px 1em 5px 13em;
  min-height: 1em;
}
#object #outline dd:nth-child(4n-2) {
  background: #eeeae0;
}


/* Comments */
#object #comments {
  background: #ebe2d9;
  padding: 10px;
  margin-left: 20px;
  width: 240px;
  float: left;
  display: none;
}
#object.loggingIn #comments {
  display: block;
}

#object #comments #comment_input {
  margin-bottom: 10px;
  display: none;
}
#object.loggingIn #comments #comment_input {
  display: block;
}
#object #comments #comment_input textarea {
  border: #672020 1px solid;
  font-size: 13px;
  margin-bottom: 2px;
  padding: 5px;
  width: 228px;
  height: 60px;
  display: block;
}
#object #comments #comment_input .post {
  text-align: right;
}
#object #comments #comment_input .post a {
  border: none;
  padding-left: 20px;
  padding-right: 20px;
}
#object #comments #comment_input.processing .textarea
#object #comments #comment_input.processing .post a {
  opacity: 0.5;
}

#object #comments #comment_list {
}
#object #comments #comment_list li {
  padding: 0 0 15px 0;
}
#object #comments #comment_list li.empty {
  background: #fff;
  padding: 20px 0 15px 0;
  text-align: center;
}
#object #comments #comment_list li .comment {
  background: #ffffff;
  padding: 10px;
  line-height: 1.4em;
  position: relative;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  word-break: break-all;
}
#object #comments #comment_list li .comment .translate {
  border-top: #000 1px solid;
  margin-top: 10px;
  padding-top: 5px;
  font-size: 11px;
}
#object #comments #comment_list li .user {
  background: url(../img/comment_balloon.png) no-repeat 177px 0;
  padding-top: 5px;
  text-align: right;
}
#object #comments #comment_list li .user .name {
  padding-top: 10px;
}
#object #comments #comment_list li .user .name,
#object #comments #comment_list li .user .date {
  font-size: 79%;
  line-height: 1.4em;
}
#object #comments #comment_list li .user .icon {
  float: right;
  margin: 0 0 0 10px;
  width: 40px;
  height: auto;
}

#object #comments #comment_list li.admin .comment {
  padding-right: 35px;
}

#object #comments #comment_list li.own_item .comment {
  background: #4a2a00;
  padding-right: 35px;
  color: #fff;
}
#object #comments #comment_list li.own_item .comment .translate {
	border-color: #fff;
}
#object #comments #comment_list li.own_item .comment .translate a {
	color: #fff;
}
#object #comments #comment_list li.own_item .user {
  background: url(../img/comment_balloon_mine.png) no-repeat 50px 0;
  text-align: left;
}
#object #comments #comment_list li.own_item .icon {
  float: left;
  margin: 0 10px 0 0;
}
#object #comments #comment_list li.admin .delete,
#object #comments #comment_list li.own_item .delete {
  background: #990000 url(../img/btn_comment_delete.png) no-repeat;
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -10px;
  width: 20px;
  height: 20px;
  text-indent: -9999px;
  display: block;
  cursor: pointer;

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  border-radius: 10px;
}
#object #comments #comment_list li.admin .delete:hover,
#object #comments #comment_list li.own_item .delete:hover {
  background-color: #b91c1c;
}
#object #comments #comment_list li.own_item.delete_item .comment {
  padding-right: 0;
}
#object #comments #comment_list li.own_item.delete_item .user {
  background: url(../img/comment_balloon_mine_delete.png) no-repeat 50px 0;
  color: #a1a1a1;
}
#object #comments #comment_list li.admin.delete_item .delete,
#object #comments #comment_list li.own_item.delete_item .delete {
  display: none;
}
#object #comments #comment_list li.delete_item .comment,
#object #comments #comment_list li.own_item.delete_item .comment {
  background: #ececec;
  color: #a1a1a1;
}
#object #comments #comment_list li.delete_item .user {
  background: url(../img/comment_balloon_delete.png) no-repeat 177px 0;
  color: #a1a1a1;
}

#object #comments #comment_list .load_next {
  display: none;
}
#object #comments #comment_list .load_next a {
  background: #e7dfd2;
  border-top: #4a2a00 1px solid;
  padding: 10px 0;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4em;
  text-align: center;
  text-decoration: none;
  display: block;
}
#object #comments #comment_list .load_next a:hover {
  background: #d7ccbe;
}

/* modal */
#modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}
#modal .bg {
  background: #000;
  background: rgba(0, 0, 0, 0.85);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#modal .image img {
  position: absolute;
  top: 50%;
  left: 50%;
}
#modal .close {
  background: url(../img/modal_close.png);
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  text-indent: -9999px;
}

@media screen and (max-width: 768px) {
  #object #contents {
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  /* Images */
  #object #images {
    margin-bottom: 30px;
    height: auto;
  }
  #object #images .main-container {
    width: 100%;
    height: 0;
    padding-bottom: 60.8%;
    margin-right: 0;
    float: none;
    position: relative;
  }
  #object #images .main {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  #object #images .thumbnails {
    width: 100%;
    height: auto;
    float: none;
    margin-top: 15px;
  }
  #object #images .thumbnails ul {
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  #object #images .thumbnails li {
    width: 31%;
    height: 0;
    padding-bottom: 31%;
    margin-right: 3.5%;
    float: none;
  }#object #images .thumbnails li:nth-child(even) {
    margin-right: 3.5%;
  }
  #object #images .thumbnails li:nth-child(3n) {
    margin-right: 0;
  }
  #object #images .thumbnails li.active:after {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }
  #object #images .thumbnails .pager {
    display: none;
  }
  
  #object.loggingIn .details {
    float: none;
    width: auto;
    margin-bottom: 15px;
  }
  
  /* Description */
  #object #descriptions h3 {
    font-size: 16px;
    margin-left: 0;
    margin-right: 0;
  }
  #object #descriptions .description {
    font-size: 13px;
  }
  #object #descriptions .description textarea {
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Outline */
  #object #outline .tab li {
    font-size: 14px;
  }
  
  
  /* Comments */
  #object #comments {
    margin-left: 0;
    width: auto;
    float: none;
  }
  #object #comments #comment_input textarea {
    width: 100%;
    box-sizing: border-box;
  }
}