@charset "UTF-8";
/* Vars
--------------------- */
/* ソースサイズ */
/* Mixin
--------------------- */
/* Extend
--------------------- */
/* Clearfix */
/* Ellipsis */
/* PseudoTable */
.overlayGallery {
  background: rgba(0, 0, 0, 0.9);
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999; }
  .overlayGallery.loading {
    background-image: url("../img/loading_wht.svg");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 80px 80px; }
  @media screen and (max-width: 768px) {
    .overlayGallery {
      padding: 5.3333333333vw; } }
  .overlayGallery > div {
    display: table;
    height: 100%;
    width: 100%; }
  .overlayGallery > div > div {
    display: table-cell;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    width: 100%; }

.overlayGallery__image {
  display: inline-block; }
  .overlayGallery__image > div {
    position: relative; }
    .overlayGallery__image > div img {
      max-width: 100%; }
  .overlayGallery__image figcaption {
    color: #fff;
    font-size: 1.6rem;
    padding-top: 16px; }

.overlayGallery__btn-close {
  color: #fff;
  cursor: pointer;
  font-size: 3rem;
  height: 80px;
  line-height: 80px;
  position: absolute;
  right: 0;
  top: 0;
  text-align: center;
  width: 80px; }
  .overlayGallery__btn-close:hover {
    opacity: 0.5; }

.overlayGallery__btn-next {
  color: #fff;
  cursor: pointer;
  font-size: 3rem;
  height: 80px;
  line-height: 80px;
  margin-top: -40px;
  position: absolute;
  right: -80px;
  top: 50%;
  text-align: center;
  width: 80px; }
  .overlayGallery__btn-next:hover {
    opacity: 0.5; }
  @media screen and (max-width: 768px) {
    .overlayGallery__btn-next {
      background: rgba(0, 0, 0, 0.9);
      font-size: 2rem;
      height: 40px;
      line-height: 40px;
      margin-top: -20px;
      right: 0;
      width: 40px; } }

.overlayGallery__btn-prev {
  color: #fff;
  cursor: pointer;
  font-size: 3rem;
  height: 80px;
  left: -80px;
  line-height: 80px;
  margin-top: -40px;
  position: absolute;
  top: 50%;
  text-align: center;
  width: 80px; }
  .overlayGallery__btn-prev:hover {
    opacity: 0.5; }
  @media screen and (max-width: 768px) {
    .overlayGallery__btn-prev {
      background: rgba(0, 0, 0, 0.9);
      font-size: 2rem;
      height: 40px;
      left: 0;
      line-height: 40px;
      margin-top: -20px;
      width: 40px; } }
