/* ===================================================
   基本スタイルとページレイアウト
   =================================================== */

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


a:hover {
    opacity: 0.5;
}
single .container {
    margin: 0!important;
  }
section {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
background-image: url(https://studio-pochi.npo-ink.jp/wp/wp-content/uploads/2025/11/bg-about.png);
  background-size: contain;
  background-position: -130px 20%;

}
.widget{
padding:150px 0 80px;
}
.wpc-filters-section{
	display:flex;
  padding-left: 10%;
flex-wrap: wrap;
}
.wpc-filter-content{
	max-width:750px;
	font-size:14px;
	margin:0 auto;
}
.wpc-filter-label-wrapper{
	background:#EAEAEA;
border:none;
	
}
.wpc-filter-label-wrapper .wpc-filter-link{
	color:#707070;
}
.widget_wpc_filters_widget .narrow-down-text {
  padding-left: 10%; 
  margin-left: 0;   
}
.wpc-filter-link {
  margin-right: 0!important;
}
p.green-title {
    color: #99C5C0; 
padding-top: 30px;
margin-left: 280px;
font-size: 24px;
font-weight: bold;

}

.section-title {
text-align:center;
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  width: 184px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-en {
    font-size: 48px;
	line-height:1.3;
	border-bottom: 1px solid #707070;
}

.section-title-ja {
    font-size: 22px;
	line-height:1.0;
	padding-top: 10px;
		font-weight: 400;
}

.title-area{
	background-image:url(https://studio-pochi.npo-ink.jp/wp/wp-content/uploads/2025/11/works-title_02.svg);
	background-size: contain;       
	height: 320px;
  	background-position: center bottom;
	background-repeat: no-repeat; 
}

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label{
  border: none !important;
  border-radius: 36px !important;
}
.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label span.wpc-filter-label-wrapper{
	border: none !important;
  border-radius: 36px !important;
background-color:#EAEAEA;
}
/* ===================================================
   制作実績一覧 (.work-list)
   =================================================== */

.work-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 12px;
}

/* 画像ラッパー */
.work-list li .work-list-relative {
    position: relative;
    margin-bottom: 15px;
}

/* 画像枠 */
.work-list li .work-list-relative .img {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形を維持 */
    overflow: hidden;
    border-radius: 8px; 
    box-shadow: 0px 8px 8px 0px rgba(183, 199, 193, 0.5);
    position: relative; /* before擬似要素のため */
}

.work-list li .work-list-relative .img img {
    object-fit: cover;
    width: 100%;
    height: 100% !important;
    transition: transform 0.3s ease-in-out;
}

/* ホバー時の画像拡大 */
.work-list li:hover .work-list-relative .img img {
    transform: scale(1.1);
}

/* ホバー時の白枠エフェクト */
.work-list li a .img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 0px solid rgba(255, 255, 255, 0.4);
    transition: border-width 0.2s ease;
    z-index: 2;
    border-radius: 8px;
    pointer-events: none;
}

.work-list li a:hover .img::before {
    border-width: 8px;
}

/* 画像上のカテゴリラベル */
.work-list-absolute {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 3;
}

.work-list-absolute .thumbnail-work-cat {
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    background: #444444;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0;
}

/* 記事タイトル */
.work-list li h3 {
    color: #707070;
    font-size: 18px;
    margin: 10px 0;
    font-weight: bold;
}

/* ページネーションが表示されていない時の余白を確保 */
.work-list:not(:has(> li:nth-child(9))) {
  margin-bottom: 60px;
}

/* ===================================================
   制作実績タグ (.work-tags)
   =================================================== */

.work-tags {
    padding: 0;
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-tags span {
    display: inline-block;
    background: #f3f4f6;
    color: #707070;
    font-size: 13px;
    text-decoration: none;
    padding: 8px 12px;
	border-radius: 28px;
}

.work-tags span:hover {
    background: #e5e7eb;
}

.work-tags a[aria-selected="true"] {
    background: #3b82f6;
    color: #fff;
}

.navigation.pagination {
    margin-top: 32px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
	padding: 24px 0;
}

.pagination .page-numbers {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.pagination__sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.pagination a.page-numbers:not(.prev):not(.next) {
    background-color: #f3f4f6;
    color: #4b5563;
}
.pagination a.page-numbers:not(.prev):not(.next):hover {
    background-color: #C1AA94;
    color: #ffffff;
}

.pagination .page-numbers.current {
    background-color: #707070;
    color: #ffffff;
    cursor: default;
}
.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    background: #707070;
    cursor: pointer;
    overflow: hidden;
}

.pagination .prev.page-numbers .pagination__icon,
.pagination .next.page-numbers .pagination__icon {
	position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    z-index: 3;
}
.pagination .prev.page-numbers .pagination__icon img,
.pagination .next.page-numbers .pagination__icon img{
  transition: filter 0.3s;
}
.pagination .prev.page-numbers:hover .pagination__icon img,
.pagination .next.page-numbers:hover .pagination__icon img {
  filter: brightness(0);
}
.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    position: relative; 
    z-index: 1; 
}
.pagination .prev.page-numbers::before,
.pagination .next.page-numbers::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #C1AA94;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: 2; 
}

.pagination .prev.page-numbers:hover::before,
.pagination .next.page-numbers:hover::before {
    transform: scale(1);
}
.pagination .next.page-numbers:hover .pagination__icon {
    color: black;
    transition: color 0.2s ease;
}
.pagination .dots {
    color: #666;
}

@media (max-width: 900px) {
    section {
        background-position: right 260px;
        background-size: 900px;
    }
    .work-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 756px) {
  p.green-title {
    margin-top: 20px;
    margin-left: 30px;
    padding-top: unset;
    font-size: 22rem;
  }
  
}
@media (max-width: 520px) {
    section {
        background-position: right 230px;
        background-size: 1060px;
    }
	.main-section .c-page-title{
		padding: 0;
		text-align:center;
	}
    .work-list {
        grid-template-columns: 1fr;
    }
	.wp-block-table .p-spec-table__main {
		width: 100%;
		padding: 0;
	}
	/* ドットを1つに修正し、!important も一旦削除 */
	.p-spec-table__row .p-spec-table__term {
		width: 30%;
	}
}