@charset "utf-8";

.bg-gray{
	background: #d8dee6;
	padding:30px 0;
  margin-bottom:50px;
}
.galleryPic {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.galleryPic div {
  width: calc((100% - 9px) / 4);
}

@media print, screen and (max-width: 767px) {
  .galleryPic {
    gap: 2px;
  }

  .galleryPic div {
    width: calc((100% - 2px) / 2);
  }
}
}

/*ギャラリーの説明をリードスピーカーのみ対応に*/
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------
  Modal Zoom
------------------------------------------------- */
a.rwd-modal-link {
    position: relative;
    z-index: 5;
    display: inline-block;
  }
a.rwd-modal-link::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    background: rgba(255,255,255,0.65);
    opacity: 0;
    transition: all 0.2s ease-out;
  }
  a.rwd-modal-link::after {
    width: 35px;
    height: 37px;
    content: "";
    display: block;
    position: absolute;
    left: 45%;
    top: 45%;
    z-index: 10;
    background: url(../img/ico_001.png) no-repeat center center / contain;
    opacity: 0;
    transition: all 0.2s ease-out;
    transform: rotate(45deg);
  }
  a.rwd-modal-link:hover::before {
    opacity: 1;
  }
  a.rwd-modal-link:hover::after {
    opacity: 1;
    transform: rotate(0deg);
  }
  
@media print, screen and (max-width:767px){
  a.rwd-modal-link::after {
    display: none;
  }
  #cboxPrevious,
  #cboxPrevious {
    top: 60%;
  }
}
