@charset "UTF-8";

.main-box {
  width: 100%;
}
.admin .main-box {
  width: 1200px;
}

body.body--dark .main-title {
  background-color: white;
}

.main-title {
  margin-top: 2rem;
}

.main-title .site-title {
  text-align: center;
}

.main-title .view-mode-btn-col {
  display: flex;
  justify-content: right;
  vertical-align: middle;
  align-items: center;
  color: rgba(0, 0, 0, 0.6);
  padding-right: 2rem;
}

.main-title #view-mode-wide {
  display: inline-block;
}
.main-title #view-mode-narrow {
  display: none;
}

@media screen and (max-width: 756px) {
  .main-box {
    width: 756px;
    margin-top: 1rem;
  }

  .main-title .view-mode-btn-col {
    padding-right: 0.5rem;
  }

  .main-title #view-mode-wide {
    display: none;
  }
  .main-title #view-mode-narrow {
    display: inline-block;
  }
}

/* ---------------------------------------
  ギャラリーページ /gallery/******
------------------------------------------ */

.gallery-view-container {
  font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans",
    "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.gallery-view-container .gallery {
  width: 100%;
}
.gallery-view-container .gallery-title {
  width: 100%;
  /* margin-bottom: 2rem; */
  font-size: 300%;
  font-weight: bold;
  text-align: center;
  color: #999999;
}
.gallery-view-container .genre {
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: flex-start;
}
.gallery-view-container .genre-title {
  width: 80%;
  text-align: center;
  font-size: 200%;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #ccc;
}
@media screen and (max-width: 756px) {
  .gallery-view-container .gallery-title {
    width: 100%;
    font-size: 200%;
  }
  .gallery-view-container .genre-title {
    width: 100%;
    font-size: 150%;
  }
}

.gallery-view-container .q-tab-panel {
  padding: 16px 0px
}

.gallery-view-container .genre-items {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: flex-start;
}

.gallery-view-container .my-card {
  width: calc((99.999% - 120px) / 3);
  /* margin-right: 20px; */
  margin-top: 1rem;
  padding-bottom: 1rem;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  .gallery-view-container .my-card {
    width: calc((99.999% - 40px) / 2);
    /* margin-right: 20px; */
    margin-top: 1rem;
    cursor: pointer;
  }
}

@media screen and (max-width: 560px) {
  .gallery-view-container .my-card {
    width: calc((99.999% - 10px));
    /* margin-right: 20px; */
    margin-top: 1rem;
    cursor: pointer;
  }
}

.gallery-view-container .my-card .q-img {
  height: 250px;
}
.gallery-view-container .my-card img {
  width: 100%;
  object-fit: cover !important;
  object-position: center top !important;
}

.gallery-view-container .navi-btn-box {
  display: flex;
  justify-content: center;
}
.gallery-view-container .navi-btn-box button {
  margin-left: 1rem;
  margin-right: 1rem;
}
.gallery-view-container .q-panel.scroll {
  overflow: auto;
  word-wrap: break-word;
}
.gallery-view-container .q-card__section--vert {
  padding: 0px 16px;
}
.gallery-view-container .q-card__section--vert .text-h6 {
  font-weight:bold;
  font-size:100%;
  line-height: 1rem;
  margin-top: 8px;
}
.gallery-view-container .q-card__section--vert .text-subtitle2 {
  width: 220px;
  word-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  margin-top: 8px;
  line-height: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* ---------------------------------------
  作品詳細ページ /item/******
------------------------------------------ */

.works-logo {
  font-size: 200%;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 2rem;
}

.main-box .main-title {
  font-size: 2rem;
  width: 100%;
  padding-left: 0.5rem;
  text-align: left;
  font-weight: bold;
  font-family: "Hiragino Mincho ProN、ヒラギノ明朝 ProN", "游明朝", "MS P明朝", serif;
}

.item-section {
  margin-top: 1rem;
}

.item-section-title {
  color: #333;
  font-weight: bold;
  font-size: 1.3rem;
  text-align: left;
  padding-left: 1rem;
}

.item-section-text {
  font-size: 100%;
  text-align: left;
  margin-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.q-app-inner div.scroll-view {
  min-height: 500px !important;
  max-height:900px;
  overflow: auto;
  -ms-overflow-style: none;
}

.q-app-inner div.scroll-view .q-img__image {
  width: 90%;
}

.q-app-inner .scroll-view::-webkit-scrollbar {
  display:none;
}

.item-view-container {
  width: 100%;
  font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans",
    "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  margin-bottom: 4rem;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.item-view-container h3,
.item-view-container .title {
  font-family: "Hiragino Mincho ProN、ヒラギノ明朝 ProN", "游明朝", "MS P明朝",
    serif;
}

.item-view-container h3 {
  margin-bottom: 1rem;
}
.item-view-container .goto-gallery {
  width: 100%;
  display: flex;
  justify-content: right;
}
.item-view-container .item-view {
  width: 75%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media screen and (max-width: 756px) {
  .item-view-container .item-view {
    width: 100%;
  }
  .item-view-container .thumbs {
    display: flex;
    width: 90%;
  }
  .item-view-container .goto-gallery {
    padding-right: 1rem;
    padding-bottom: 1rem;
  }
}

.item-view-container .carousel-view {
  width: 100%;
  text-align: center;
}

.item-view-container .carousel-view .q-carousel {
  width: 100%;
}
.item-view-container .carousel-view .q-carousel div.q-panel {
  min-height: 200px;
  border: 1px solid #000;
  -ms-overflow-style: none;
}
.item-view-container .carousel-view .q-carousel div.q-panel::-webkit-scrollbar {
  display: none;
}
div.q-panel .q-carousel__slide {
  padding: 0px;
}
.item-view-container .thumbs {
  display: flex;
  justify-content: center;
  width: 100%;
}
.item-view-container .thumbs .thumb {
  width: 18%;
  max-height: 160px;
  margin: 10px;
}
.item-view-container .thumbs img {
  display: inline-block;
  overflow: hidden;
  width: 160px;
  height: 160px;
  object-fit: cover !important;
  object-position: center top !important;
}
.item-view-container .thumb.active {
  box-shadow: 0px 0px 6px 1px #009664;
}
.item-view-container .genre {
  font-size: 120%;
}
.item-view-container .title {
  font-size: 200%;
  width: 100%;
}
.item-view-container .outline,
.item-view-container .comment {
  margin-top: 2rem;
  text-align: left;
  width: 100%;
  font-size: 100%;
}


/* ---------------------------------------
  管理ページ /admin/******
------------------------------------------ */

.item-table-box .q-table tbody tr td {
  background: rgba(0, 0, 0, 0.1);
}

.item-table-box.genre-table .q-table tbody tr td,
.item-table-box.creator-table .q-table tbody tr td {
  background: rgba(0, 0, 0, 0);
}

.item-table-box .q-table tbody tr.selected td {
  background: rgba(0, 0, 0, 0);
}

.item-table-box .q-table tbody tr.selected td:after {
  background: rgba(0, 0, 0, 0);
}

.edit-notice {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.54);
  padding: 0.5rem 1rem;
}


.item-list-box .q-tab-panels {
  width: 1200px;
}
