@charset "UTF-8";
@font-face {
  font-family: 'YuMincho-db';
  src: local("YuMincho-Demibold");
}

.ft-hiragino, .lb-data .lb-details .lb-caption {
  font-family: "ヒラギノ明朝 ProN W6",'YuMincho-db','YuMincho', sans-serif;
}

@supports (-ms-ime-align: auto) {
  /* for Edge(Legacy) */
  .ft-hiragino, .lb-data .lb-details .lb-caption {
    font-family: "ヒラギノ明朝 ProN W6",'Yu Mincho Demibold', sans-serif;
  }
}

#lightboxOverlay {
  max-width: 100%;
  max-height: 100%;
}

.gallery_link {
  color: #202020;
  opacity: 1;
  -webkit-transition: .5s all;
  transition: .5s all;
  text-decoration: none;
}

.gallery_link:hover {
  opacity: .7;
}

#gallery_grid .gallery_wrap .profile_wrap {
  border-left: solid 5px #202020;
  margin: 0 0 32px 0;
}

#gallery_grid .gallery_wrap .profile_wrap .flex {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

#gallery_grid .gallery_wrap .profile_wrap .profile {
  padding: 0 0 0 56px;
  -webkit-animation: slideIn 2s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
          animation: slideIn 2s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: translateX(-56px);
            transform: translateX(-56px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideIn {
  0% {
    -webkit-transform: translateX(-56px);
            transform: translateX(-56px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

#gallery_grid .gallery_wrap .profile_wrap .profile img {
  width: 100%;
  max-width: 154px;
  max-height: 154px;
}

#gallery_grid .gallery_wrap .profile_wrap .profile li .profile_job {
  font-size: 1.6rem;
  padding: 0 48px 0 40px;
}

#gallery_grid .gallery_wrap .profile_wrap .profile li .profile_name {
  font-size: 2.8rem;
  white-space: nowrap;
}

#gallery_grid .gallery_wrap .profile_wrap .profile li .profile_detail {
  font-size: 1.8rem;
  padding: 0 0 0 155px;
}

#gallery_grid .gallery_items {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

#gallery_grid .gallery_items li {
  width: calc((100% / 4) - 16px);
  margin: 0 8px 16px;
}

#gallery_grid .gallery_items li a {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 0px;
}

#gallery_grid .gallery_items li a img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  -webkit-transition: .5s all;
  transition: .5s all;
}

#gallery_grid .gallery_items li a:hover img {
  margin-top: -10%;
  margin-left: -10%;
  height: 120%;
  width: 120%;
}

@media screen and (max-width: 768px) {
  #gallery_grid .gallery_items li {
    width: calc((100% / 3) - 4px);
    margin: 0 2px 4px;
  }
}

#gallery_grid .gallery_items_three_col {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

#gallery_grid .gallery_items_three_col li {
  width: calc((100% / 3) - 16px);
  margin: 0 8px 16px;
}

#gallery_grid .gallery_items_three_col li a {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 0px;
}

#gallery_grid .gallery_items_three_col li a img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  -webkit-transition: .5s all;
  transition: .5s all;
}

#gallery_grid .gallery_items_three_col li a:hover img {
  margin-top: -10%;
  margin-left: -10%;
  height: 120%;
  width: 120%;
}

@media screen and (max-width: 768px) {
  #gallery_grid .gallery_items_three_col li {
    width: calc(100% - 4px);
    margin: 0 0 16px;
    display: block;
  }
}

#gallery_grid .gallery_items_two_col {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

#gallery_grid .gallery_items_two_col li {
  width: calc((100% / 2) - 16px);
  margin: 0 8px 16px;
}

#gallery_grid .gallery_items_two_col li figure figcaption {
  font-size: 1.6rem;
  margin: 8px 0 0 0;
}

#gallery_grid .gallery_items_two_col li p {
  font-size: 1.4rem;
  margin: 4px 0 0 0;
}

#gallery_grid .gallery_items_two_col li p a {
  padding: 0;
  display: inline-block;
  width: auto;
  line-height: 1;
}

#gallery_grid .gallery_items_two_col li a {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 0px;
}

#gallery_grid .gallery_items_two_col li a img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  -webkit-transition: .5s all;
  transition: .5s all;
}

#gallery_grid .gallery_items_two_col li a:hover img {
  margin-top: -10%;
  margin-left: -10%;
  height: 120%;
  width: 120%;
}

@media screen and (max-width: 768px) {
  #gallery_grid .gallery_items_two_col li {
    display: block;
    width: 100%;
    margin: 0 0px 16px;
  }
  #gallery_grid .gallery_items_two_col li figure figcaption {
    font-size: 1.4rem;
    margin: 8px 0 0 0;
  }
}

#gallery_grid .gallery_items_one_col .one_col_wrap figure figcaption {
  font-size: 1.6rem;
  margin: 8px 0 0 0;
}

#gallery_grid .gallery_items_one_col .one_col_wrap p {
  font-size: 1.4rem;
  margin: 4px 0 0 0;
}

#gallery_grid .gallery_items_one_col .one_col_wrap p a {
  padding: 0;
  display: inline-block;
  width: auto;
  line-height: 1;
}

#gallery_grid .gallery_items_one_col .one_col_wrap a {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 0px;
}

#gallery_grid .gallery_items_one_col .one_col_wrap a img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  -webkit-transition: .5s all;
  transition: .5s all;
}

#gallery_grid .gallery_items_one_col .one_col_wrap a:hover img {
  margin-top: -10%;
  margin-left: -10%;
  height: 120%;
  width: 120%;
}

@media screen and (max-width: 768px) {
  #gallery_grid .gallery_items_one_col .one_col_wrap {
    display: block;
    width: 100%;
    margin: 12px 0;
  }
}

#gallery_grid .gallery_items_list li a {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 0;
}

#gallery_grid .gallery_items_list li a img {
  /*position: absolute;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: 50% 50%;
                    transition: .5s all;*/
}

#gallery_grid .gallery_items_list li a:hover img {
  /*margin-top: -10%;
                        margin-left: -10%;
                        height: 120%;
                        width: 120%;*/
}

body#gallery_grid:lang(en) .gallery_wrap .profile_wrap .profile li .profile_name {
  font-size: 2.5rem;
  white-space: nowrap;
}

body#gallery_grid:lang(en) .gallery_wrap .profile_wrap .profile li .profile_detail {
  font-size: 1.6rem;
  padding: 0 0 0 155px;
}

.lightbox .lb-image {
  border: none;
  border-radius: 0;
}

.lb-data .lb-close {
  position: fixed;
  top: 40px;
  left: calc(100% - 90px);
  width: 50px;
  height: 50px;
  background-image: url("/mokkou/gallery/images/lb_close.svg");
  background-position: 50% 50%;
  background-size: contain;
  opacity: 1;
  -webkit-transition: .5s all;
  transition: .5s all;
}

.lb-data .lb-close:hover {
  opacity: .7;
}

.lb-data .lb-number {
  text-align: center;
  color: #fff;
  margin: 8px 0 0 0;
}

.lb-data .lb-details {
  width: 100%;
}

.lb-data .lb-details .lb-caption {
  font-size: 1.8rem;
  line-height: 1.4;
}

.lb-dataContainer {
  padding-top: 32px;
}

.lb-outerContainer {
  background-color: transparent;
  border-radius: 0;
}

.lb-container {
  position: relative;
}

.lb-container .lb-nav a.lb-prev, .lb-container .lb-nav a.lb-next {
  opacity: 1;
  background-size: 50px 100px;
  float: none;
  clear: both;
  position: absolute;
  height: 100%;
  top: 0;
  width: 50%;
}

.lb-container .lb-nav a.lb-prev {
  background-image: url("/mokkou/gallery/images/lb_prev.svg");
  left: calc((50vw - 100%) / 2 * -1);
}

.lb-container .lb-nav a.lb-next {
  background-image: url("/mokkou/gallery/images/lb_next.svg");
  right: calc((50vw - 100%) / 2 * -1);
}

.lb-container .lb-nav a:hover.lb-prev, .lb-container .lb-nav a:hover.lb-next {
  opacity: .7;
}

.gallery_items li:nth-child(-n+8) {
  opacity: 1;
  overflow-y: hidden;
}

.gallery_items li:nth-child(n+9) {
  opacity: 0;
  overflow-y: hidden;
}

.gallery_items li:nth-child(n+9).animation {
  -webkit-animation: topAnimation_bottom 1s ease forwards;
          animation: topAnimation_bottom 1s ease forwards;
  -webkit-animation-delay: .3s;
          animation-delay: .3s;
}

/*--------------------
     tablet
--------------------*/
@media screen and (max-width: 1024px) {
  #gallery_grid .gallery_wrap .profile_wrap {
    border-left: 0px;
  }
  #gallery_grid .gallery_wrap .profile_wrap .flex {
    display: block;
  }
  #gallery_grid .gallery_wrap .profile_wrap .profile {
    padding: 0;
  }
  @-webkit-keyframes slideIn {
    0% {
      -webkit-transform: translateX(0px);
              transform: translateX(0px);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes slideIn {
    0% {
      -webkit-transform: translateX(0px);
              transform: translateX(0px);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  #gallery_grid .gallery_wrap .profile_wrap .profile img {
    width: 100%;
    max-width: 154px;
    max-height: 154px;
  }
  #gallery_grid .gallery_wrap .profile_wrap .profile li {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #gallery_grid .gallery_wrap .profile_wrap .profile li .profile_job {
    font-size: 1.4rem;
    padding: 16px 0 0 0;
  }
  #gallery_grid .gallery_wrap .profile_wrap .profile li .profile_name {
    font-size: 1.6rem;
    white-space: nowrap;
    padding: 8px 0 0 0;
  }
  #gallery_grid .gallery_wrap .profile_wrap .profile li .profile_detail {
    font-size: 1.4rem;
    padding: 32px 0 0 0;
  }
  body#gallery_grid:lang(en) .gallery_wrap .profile_wrap .profile li .profile_name {
    font-size: 1.8rem;
    white-space: nowrap;
    padding: 8px 0 0 0;
  }
  body#gallery_grid:lang(en) .gallery_wrap .profile_wrap .profile li .profile_detail {
    font-size: 1.3rem;
    padding: 32px 0 0 0;
  }
}

/*--------------------
     SP
--------------------*/
@media screen and (max-width: 768px) {
  .gallery_items li:nth-child(-n+6) {
    opacity: 1;
    overflow-y: hidden;
  }
  .gallery_items li:nth-child(n+7) {
    opacity: 0;
    overflow-y: hidden;
  }
  .gallery_items li:nth-child(n+7).animation {
    -webkit-animation: topAnimation_bottom 1s ease forwards;
            animation: topAnimation_bottom 1s ease forwards;
    -webkit-animation-delay: .3s;
            animation-delay: .3s;
  }
  
  .lb-container .lb-nav a.lb-prev, .lb-container .lb-nav a.lb-next {
    background-size: 40px 100px;
  }
  .lb-container .lb-nav a.lb-prev {
    left: calc((75vw - 100%) / 2 * -1);
  }
  .lb-container .lb-nav a.lb-next {
    right: calc((75vw - 100%) / 2 * -1);
  }
  .lb-data .lb-close {
    left: calc(100% - 55px);
    width: 30px;
    height: 30px;
  }
}



