.yuka-photo-archive-wrap{margin:18px 0 28px;}
.yuka-photo-archive-title{margin:0 0 12px;font-size:1.35em;line-height:1.3;}

.yuka-photo-archive-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:10px;
}

@media (min-width:768px){
  .yuka-photo-archive-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
  }
}

.yuka-photo-archive-item{
  margin:0;
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}

.yuka-photo-archive-thumb a{
  display:inline-block;
  background:#000;
  padding:10px;
  text-decoration:none;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
  position:relative;
}

.yuka-photo-archive-thumb img{
  display:block;
  width:100% !important;
  height:auto !important;
  margin:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent;
}

.yuka-photo-archive-thumb a::before{
  content:"\25B6";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  font-size:38px;
  line-height:1;
  color:rgba(255,255,255,.55);
  text-shadow:0 6px 18px rgba(0,0,0,.35);
  opacity:.65;
  pointer-events:none;
}

.yuka-photo-archive-thumb a::after{
  content:none;
}

@media (hover:hover){
  .yuka-photo-archive-thumb a{
    transition:transform .16s ease,box-shadow .16s ease;
  }

  .yuka-photo-archive-thumb a:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(0,0,0,.24);
  }

  .yuka-photo-archive-thumb a:hover::before{
    opacity:.9;
  }
}

.yuka-photo-archive-thumb a:focus-visible{
  outline:3px solid rgba(0,0,0,.25);
  outline-offset:4px;
}

/* =========================================================
   Photo Archive：カテゴリリンクを中央のシンプルボタン化
   連動：写真アーカイブプラグイン（.yuka-photo-archive-catlink）
   ========================================================= */
.yuka-photo-archive-catlink{
  margin:10px 0 18px;
  text-align:center;
}

.yuka-photo-archive-catlink a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:260px;
  padding:12px 18px;
  color:inherit;
  text-decoration:none;
  background:#fff;
  border:1px solid rgba(0,0,0,.18);
  border-radius:999px;
  box-shadow:none;
}

.yuka-photo-archive-catlink a::before{
  content:none;
}

.yuka-photo-archive-catlink a::after{
  content:"→";
  margin-left:14px;
  opacity:.7;
}

@media (hover:hover){
  .yuka-photo-archive-catlink a{
    transition:background .14s ease,border-color .14s ease,transform .14s ease;
  }

  .yuka-photo-archive-catlink a:hover{
    background:rgba(0,0,0,.02);
    border-color:rgba(0,0,0,.28);
    transform:translateY(-1px);
  }
}