/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 05 2025 | 15:22:48 */
/* 横型の長方形サムネイル */
.actuals-slider .af-thumb-rect{
  aspect-ratio: 16 / 9;  /* 横長比率 */
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.actuals-slider .af-thumb-rect img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;      /* トリミングで綺麗に収める */
}
.actuals-slider .af-thumb{ cursor: zoom-in; }

/* CSSライトボックス（:target） */
.af-lightbox{
  position: fixed; inset: 0;
  display: none;            /* :target で表示 */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.65);
  padding: 2vw;
  z-index: 9999;
}
.af-lightbox:target{ display: flex; }

.af-lightbox__inner{
  position: relative;
  max-width: 90vw; max-height: 90vh;
}
.af-lightbox__inner img{
  max-width: 90vw; max-height: 90vh;
  width: auto; height: auto; display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: #111;
}

.af-lightbox__close{
  position: absolute; top: -14px; right: -14px;
  width: 36px; height: 36px; line-height: 36px;
  border-radius: 50%;
  text-align: center; text-decoration: none;
  background: rgba(0,0,0,.75);
  color: #fff; font-size: 20px; font-weight: 700;
}
.af-lightbox__bg{ position: absolute; inset: 0; cursor: zoom-out; }