/* =========================
  商品一覧
========================= */
.grly{
  background:#f3f3f3;
  padding: 40px 0;
}
.full__layout{
  display: block;
}
.grlyWrap{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.grlyGrid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding:0 0 20px;
}
a.grlyCard{
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
}
a.grlyCard img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 2s cubic-bezier(.2,.8,.2,1);
}
a.grlyCard:hover{
  opacity: .6;
  transition: opacity .68s cubic-bezier(.2,.8,.2,1);
}
a.grlyCard:hover img{
  transform: scale(1.06);
}
.grly_page_Wrap{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 40px;
  margin:0 0 40px;
  position: relative;
}
.grly_page_Wrap .grlyCard__img img{
  margin: 0 auto 20px;
  max-width:800px;
}

.grly_page_Wrap .grly_txt {
    padding: 0;
    margin: 0 0 20px;
}
.grly_page_Wrap .grly_txt table {
    max-width: 800px;
    margin:0 auto;
    
}
.grly_page_Wrap .grly_txt table th {
    width: 200px;
    font-weight: 700;
}
.grly_page_Wrap .grly_txt table th,
.grly_page_Wrap .grly_txt table td {
    border: 1px solid var(--muted);
    padding: 10px;
    text-align: left;
    font-size: 14px;
}
.grly_page_Wrap .grly_txt table th {
    background-color: #f3f3f3;
}

/* pagination */
.grly_pager{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 6px;
  padding: 10px 0;
}
.grly_pager__btn,
.grly_pager__num{
  display:grid;
  place-items:center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  background:var(--white);
  color:var(--text);
  text-decoration:none;
  font-size: 14px;
}
.grly_pager__num.is-active{
  background:var(--text);
  color:var(--white);
  border-color:var(--text);
}
.grly_pager__btn:hover,
.grly_ager__num:hover{
  background:#f3f3f3;
}
.grly_pager__num.spryaku{
  display: grid;
}

/* ===== Responsive ===== */
  
@media (max-width: 991px){
  .grly_page_Wrap .grlyCard__img img{width:100%;}
  }  
@media (max-width: 900px){
  .grly_pager__btn, .grly_pager__num{ font-size: 12px; }
}
@media (max-width: 768px){
  .grlyGrid{grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;}
  .grly_page_Wrap .grly_txt table th { width: 100%; background: #f3f3f3;}
  .grly_page_Wrap .grly_txt table th,
  .grly_page_Wrap .grly_txt table td {display: block;border-bottom: none;}
  .grly_page_Wrap .grly_txt table {
      border-bottom: 1px solid var(--muted);
  }
}
@media (max-width: 560px){
  .grly_pager__num.spryaku{display: none;}
  .grly_page_Wrap{padding: 20px 10px 20px;}
}