
/* login
------------------------------------------------------------------------------*/

.login-table {
  margin: 40px auto;
  width: 60%;
}

.login-table th {
  padding: 0 20px 0 0;
  text-align: right;
  width: 6em;
}

.login-table td {
  padding: 8px 0;
}

.login-table+.error {
  color: #f00;
  font-weight: bold;
  text-align: center;
}

/* index
------------------------------------------------------------------------------*/

.mansion-search-table {
  width: 100%;
}

.mansion-search-table td {
  padding: 8px;
  width: 33%;
}

.mansion-search-table .select {
  width: 100%;
}

.mansion-search-table label+label {
  margin: 0 0 0 8px;
}

.mansion-search-table .button {
  background: #e6e6e6;
  border-bottom: #b3b3b3 solid 1px;
  border-radius: 4px;
  color: #666;
  height: 30px;
  width: 90px;
}

.mansion-search-table .button:hover {
  background: #ccc;
  transition: background .15s;
}

.mansion-table {
  border: #ccc solid 1px;
  font-size: 90%;
  width: 100%;
}

.mansion-table .hide {
  display: none;
}

.mansion-table th {
  background: #ccc;
  border: #e6e6e6 solid 1px;
  padding: 8px 12px;
}
.mansion-table th:nth-child(1) { width: 12em; }
.mansion-table th:nth-child(3) { width: 8em; }

.mansion-table td {
  border: #e6e6e6 solid 1px;
  cursor: default;
  line-height: 1.4;
  padding: 8px 12px;
}
.mansion-table td:nth-child(3) { text-align: center; }
.mansion-table td:nth-child(4) { text-align: center; }

.mansion-table .selected td {
  background: #e6e6e6;
}

.mansion-table a:hover {
  color: #999;
}

.mansion-table .flag-0:before {
  content: '非公開';
}

.mansion-table .flag-1:before {
  content: '公開済';
}

.mansion-table .button {
  background: #e6e6e6;
  border-bottom: #b3b3b3 solid 1px;
  border-radius: 4px;
  color: #666;
  font-size: 90%;
  height: 24px;
  margin: 0 0 0 4px;
  width: 40px;
}

.mansion-table .button:hover {
  background: #ccc;
  transition: background .15s;
}

/* account
------------------------------------------------------------------------------*/

.account-table {
  margin: 40px auto;
  width: 60%;
}

.account-table th {
  padding: 0 20px 0 0;
  text-align: right;
  width: 10em;
}

.account-table td {
  padding: 8px 0;
}

.account-table .value {
  padding: 0 8px;
}

.account-published {
  display: none;
}

/* site index
------------------------------------------------------------------------------*/

.site-index-list {
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.site-index-list li {
  animation: fade-in .25s;
  -webkit-animation: fade-in .25s;
  float: left;
  height: 280px;
  text-align: center;
  width: 24.9%;
}

.site-index-list a {
  border: #e6e6e6 solid 1px;
  border-radius: 2px;
  color: inherit;
  display: block;
  margin: 8px;
}

.site-index-list.free a:hover {
  border-color: #ccc;
  box-shadow: 0 0 4px #ccc;
  transition: .15s;
}

.site-index-list .icon {
  background: #f7f7f7;
  line-height: 100px;
  text-align: center;
}

.site-index-list .icon img {
  vertical-align: middle;
  width: 40%;
}

.site-index-list .title {
  background: #f7f7f7;
  overflow: hidden;
  padding: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-index-list .title .en {
  text-transform: uppercase;
}

.site-index-list input {
  vertical-align: -2px;
}

.site-index-list .button {
  background: #e6e6e6;
  border-bottom: #b3b3b3 solid 1px;
  border-radius: 4px;
  margin: 4px 0 0;
  padding: 4px 0;
  width: 80%;
}

.site-index-list .button:hover {
  background: #ccc;
  color: #666;
  transition: background .15s;
}

.search-texts table {
  width: 100%;
}

.search-texts td {
  padding: 2px;
  width: 33%;
}

.add-page .wrap {
  border: #ccc dashed 2px;
  border-radius: 4px;
  color: #ccc;
  cursor: pointer;
  margin: 16px;
  padding: 24px;
  text-align: center;
}

.add-page .wrap:hover {
  border-color: #999;
  color: #999;
  transition: .2s;
}

.add-page .wrap span {
  font-size: 80px;
  line-height: 1;
}

.modal-bg {
  background: rgba(0, 0, 0, .5);
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 11;
}

.modal {
  background: #fff;
  display: none;
  height: 320px;
  left: 50%;
  margin: -160px 0 0 -180px;
  position: fixed;
  top: 50%;
  width: 480px;
  z-index: 111;
}

.modal-bg.active,
.modal.active {
  display: block;
}

.modal .cap {
  background: #e6e6e6;
  font-weight: bold;
  padding: 8px;
  text-align: center;
}

.modal p {
  font-size: 80%;
  line-height: 1.4;
  margin: 8px 20px;
}

.modal table {
  margin: 8px 20px;
}

.modal th {
  font-weight: normal;
  padding: 2px 0;
  text-align: left;
  width: 8em;
}

.modal td {
  padding: 2px 0;
}

.modal .button {
  background: #e6e6e6;
  border-bottom: #b3b3b3 solid 1px;
  border-radius: 4px;
  margin: 4px 0 0;
  padding: 8px 32px;
}

.modal .button:hover {
  background: #ccc;
  color: #666;
  transition: background .15s;
}

/* top
------------------------------------------------------------------------------*/

.sortable-img {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sortable-img li {
  background: #f7f7f7;
  border-radius: 2px;
  margin: 0 0 4px;
  padding: 8px 12px;
}

.sortable-img li:hover {
  background: #f2f2f2;
  cursor: move;
  transition: background .15s;
}

.main-text-pos-table {
  margin: 4px 8px 0;
}

.main-text-pos-table th {
  font-weight: normal;
  padding: 4px 0;
  text-align: left;
  width: 6em;
}

.main-text-pos-table td {
  padding: 4px 0;
  width: 60px;
}

.main-text-pos-table .border td {
  border: #ccc solid 1px;
  text-align: center;
}

/* outline
------------------------------------------------------------------------------*/

.outline-addr-table {
  margin: 0;
}

.outline-addr-table th {
  font-size: 90%;
  font-weight: normal;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.outline-addr-table td {
  padding: 0 0 8px;
  width: 400px;
}

.outline-addr-table select {
  width: 200px;
}

/* blog index
------------------------------------------------------------------------------*/

.blog-search-table {
  width: 100%;
}

.blog-search-table td {
  padding: 8px;
  width: 22%;
}

.blog-search-table .select {
  width: 100%;
}

.blog-search-table .button {
  background: #e6e6e6;
  border-bottom: #b3b3b3 solid 1px;
  border-radius: 4px;
  color: #666;
  height: 30px;
  width: 90px;
}

.blog-search-table .button:hover {
  background: #ccc;
  transition: background .15s;
}

.blog-index-table {
  border: #ccc solid 1px;
  font-size: 90%;
  width: 100%;
}

.blog-index-table .hide {
  display: none;
}

.blog-index-table th {
  background: #ccc;
  border: #e6e6e6 solid 1px;
  padding: 8px 12px;
}
.blog-index-table th:nth-child(1) { width: 8em; }
.blog-index-table th:nth-child(3) { width: 8em; }
.blog-index-table th:nth-child(4) { width: 6em; }
.blog-index-table th:nth-child(5) { width: 3em; }

.blog-index-table td {
  border: #e6e6e6 solid 1px;
  cursor: default;
  line-height: 1.4;
  padding: 8px 12px;
}
.blog-index-table td:nth-child(1) { text-align: center; }
.blog-index-table td:nth-child(3) { text-align: center; }
.blog-index-table td:nth-child(4) { text-align: center; }
.blog-index-table td:nth-child(5) { text-align: center; }

.blog-index-table .selected td {
  background: #e6e6e6;
}

.blog-index-table a:hover {
  color: #999;
}

.blog-index-table .flag-0:before {
  content: '下書き';
}

.blog-index-table .flag-1:before {
  content: '公開';
}

.add-blog {
  margin: 0 0 8px;
  text-align: right;
}

.add-blog .button {
  background: #e6e6e6;
  border-bottom: #b3b3b3 solid 1px;
  border-radius: 4px;
  color: #666;
  display: inline-block;
  padding: 4px 24px;
}

.add-blog .button:hover {
  background: #ccc;
  transition: background .15s;
}

/* blog
------------------------------------------------------------------------------*/

.blog-text .manage {
  text-align: right;
}

.blog-text .button {
  background: #f7f7f7;
  border-bottom: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 0 8px;
  padding: 4px 12px;
}

.blog-text .button:hover {
  background: #e6e6e6;
  color: #666;
}

.blog-text textarea {
  height: 480px;
}

.manage-file-box {
  background: rgba(51, 51, 51, .8);
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 111;
}

.manage-file-box iframe {
  background: #fff;
  border: 0;
  height: 480px;
  margin: -260px 0 0 -320px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 640px;
}

/* gallery
------------------------------------------------------------------------------*/

.close .n-img {
  display: none;
}

.gallery-item {
  background: #f7f7f7;
  border-radius: 2px;
  margin-bottom: 4px;
  padding: 8px 12px;
}

.gallery-item:hover {
  background: #f2f2f2;
  cursor: move;
  transition: background .15s;
}

.gallery-item img {
  margin: 0 12px 0 0;
  max-width: 120px;
  vertical-align: middle;
}

.add-gallery {
  background: #e6e6e6;
  border-radius: 4px;
  box-shadow: 0 1px 1px #999;
  margin: 4px 0;
  padding: 8px 40px;
}

.add-gallery:hover {
  background: #f2f2f2;
  box-shadow: 0 1px 1px #ccc;
}

.manage-gallery-box {
  background: rgba(51, 51, 51, .8);
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 111;
}

.manage-gallery-box iframe {
  background: #fff;
  border: 0;
  height: 320px;
  margin: -200px 0 0 -200px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 400px;
}

/* published
------------------------------------------------------------------------------*/

.published-text {
  font-size: 125%;
  margin: 20px 40px 60px;
  overflow: hidden;
  text-align: center;
}

.published-link {
  margin: 0 40px;
  text-align: center;
}

.published-link a:hover {
  color: #999;
}

/* qa
------------------------------------------------------------------------------*/

.qa-list {
  margin: 12px;
}

.qa-list dt {
  border-bottom: #ccc solid 1px;
  padding: 4px;
}

.qa-list dd+dt {
  margin: 24px 0 0;
}

.qa-list dd {
  line-height: 1.6;
  margin: 12px 0;
  padding: 0 0 0 32px;
  position: relative;
}

.qa-list .q:before,
.qa-list .a:before {
  font: bold 140%/1 'Courier New', serif;
  left: 8px;
  position: absolute;
  top: 0;
}

.qa-list .q:before {
  color: #4c0;
  content: 'Q.';
}

.qa-list .a:before {
  color: #c04;
  content: 'A.';
}
