@charset "utf-8";

/* ===============================================
   1. 画像エリア 常時表示の虫眼鏡アイコン & ホバー演出
   =============================================== */

.staff02-img-box01 a,
.staff02-img-box02 a {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.staff02-img-box01 img,
.staff02-img-box02 img {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  height: auto;
}

.staff02-img-box01 a:hover img,
.staff02-img-box02 a:hover img {
  transform: scale(1.08);
}

.staff02-img-box01 a::after,
.staff02-img-box02 a::after {
  content: "\f002";
  font-family: FontAwesome;
  font-size: 14px;
  color: #ffffff;
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.staff02-img-box01 a:hover::after,
.staff02-img-box02 a:hover::after {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.15);
}

/* ===============================================
   2. Lightbox CSS（PC枠フィット & SPはみ出し防止）
   =============================================== */

.indicator:hover {
    opacity: .7;
    transition: .5s;
}

.lightboxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: black;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    opacity: 0.8;
    display: none;
}

.lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 10000;
    text-align: center;
    line-height: 0;
    font-weight: normal;
}

.lightbox a img {
    border: none;
}

/* 白枠コンテナ（JSで動的に幅・高さをセットするため、!importantで上書きしない） */
.lb-outerContainer {
    position: relative;
    background-color: white;
    *zoom: 1;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 4px;
    max-width: 95vw; /* スマホ時の最大幅上限のみ設定 */
}

.lb-outerContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-container {
    padding: 4px;
}

/* Lightbox画像本体 */
.lightbox .lb-image {
    display: block;
    height: auto;
    max-width: 100%;  /* スマホ等で画面からはみ出るのを防止 */
    max-height: 80vh; /* 画面高さオーバー防止 */
    border-radius: 3px;
    margin: 0 auto;
}

.lb-loader {
    position: absolute;
    top: 47%;
    left: 0;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}

.lb-cancel {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

.lb-nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.lb-container>.nav {
    left: 0;
}

.lb-nav a {
    outline: none;
    background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev,
.lb-next {
    height: 100%;
    cursor: pointer;
    display: block;
}

.lb-nav a.lb-prev {
    position: absolute;
    width: 50%;
    height: 100%;
    left: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    transition: opacity 0.6s;
    text-decoration: none;
    padding-left: 15px;
    color: #fff;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
}

.lb-nav a.lb-prev:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.lb-nav a.lb-next {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    transition: opacity 0.6s;
    text-decoration: none;
    padding-right: 15px;
    color: #fff;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}

.lb-nav a.lb-next:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

@media (max-width: 768px) {
    .lb-nav a.lb-prev,
    .lb-nav a.lb-next {
        opacity: 0.6;
    }
}

/* 下部キャプションエリア */
.lb-dataContainer {
    margin: 0 auto;
    padding-top: 5px;
    *zoom: 1;
    width: 100%;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-data {
    padding: 0 10px;
    color: #ccc;
}

.lb-data .lb-details {
    width: 80%;
    float: left;
    text-align: left;
    line-height: 1.1em;
}

.lb-data .lb-caption {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.2em;
}

.lb-data .lb-number {
    display: block;
    clear: left;
    padding-bottom: 1em;
    font-size: 12px;
    color: #999999;
}

.lb-data .lb-close {
    display: block;
    float: right;
    width: 43px;
    height: 43px;
    margin-right: -4px;
    text-align: right;
    outline: none;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
    cursor: pointer;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

/* --------------------------------------------------
 * Lightboxを画面中央に固定（画面スクロール防止）
 * -------------------------------------------------- */
/* 背景を画面一杯に固定 */
#lightboxOverlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
}

/* Lightbox本体を画面中央に固定 */
#lightbox {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}