
/* works__archive */
.works__archive--single--pb-none {
	padding-bottom: 0 !important;
}

.c-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.works__archive--title {
	width: 100%;
	max-width: 1030px;
	padding: 0 15px;
	margin: 0 auto 50px;
}

.works__archive--title h2 {
	position: relative;
	z-index: 1;
	width: 100%;
	background: #fff;
	border: 4px solid #cdd180;
	border-radius: 30px;
	padding: 32px 20px 43px;
	margin: 0 auto;
	font-size: 4.4rem;
	font-weight: bold;
	line-height: 1.75;
	letter-spacing: 0.2em;
	text-align: center;
	color: #060403;
}

.works__archive--boxes {
	margin-top: 120px;
	width: 100%;
	max-width: 1246px;
	margin-inline: auto;
	padding-inline: 15px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.works__archive--box {
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 6px 18px rgba(17, 24, 39, 0.12);
	border-radius: 24px;
	text-decoration: none;
	transition:
		transform .35s cubic-bezier(.2, .8, .2, 1),
		box-shadow .35s cubic-bezier(.2, .8, .2, 1),
		filter .35s cubic-bezier(.2, .8, .2, 1);
}

.works__archive--box::before {
	content: "";
	position: absolute;
	inset: -60% -40%;
	background: linear-gradient(120deg,
			rgba(255, 255, 255, 0) 30%,
			rgba(255, 255, 255, .35) 45%,
			rgba(255, 255, 255, 0) 60%);
	transform: translateX(-30%) rotate(10deg);
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s ease, transform .6s ease;
}

.works__archive--box:hover::before {
	opacity: 1;
	transform: translateX(30%) rotate(10deg);
}

/* hover（浮く + 影が濃くなる + 少しだけ鮮やかに） */
.works__archive--box:hover {
	text-decoration: none;
	opacity: 1;
	/* ここ重要：opacityで全体を薄くしない */
	transform: translateY(-6px);
	box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
	filter: saturate(1.02);
}

.works__archive--box--body {
	order: 2;
	padding: 12px 24px 24px;
}

.works__archive--box--body--date {
	position: relative;
	text-decoration: none;
	color: #6B7280;
	font-size: 12px;
	padding-left: 16px;
	line-height: 100%;
}

.works__archive--box--body--date::before {
	content: '';
	position: absolute;
	top: 60%;
	transform: translateY(-50%);
	left: 0;
	width: 12px;
	height: 12px;
	background: url(../img/date.svg) no-repeat center center / contain;
}

.works__archive--box--body--heading3 {
	font-size: 18px;
	line-height: 1.7;
}

.works__archive--box--body--text {
	padding-bottom: 16px;
	margin-top: 11px;
	font-size: 14px;
	color: #4B5563;
	line-height: 1.7;
}

.works__archive--box--detail {
	position: relative;
	padding-right: 19px;
	padding-top: 16px;
	border-top: 1px solid #F3F4F6;
	order: 3;
	text-align: right;
	color: #F05A28;
	font-size: 14px;
}

.works__archive--box--detail::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	width: 16px;
	height: 16px;
	background: url(../img/arrow.svg) no-repeat center center / contain;
}

.works__archive--box--image {
	order: 1;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 24px 24px 0 0;
}

.works__archive--box--image img {
	border-radius: 24px 24px 0 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.6s ease;
}

.works__archive--box:hover .works__archive--box--image img {
	/* transform: scale(1.08); */
}

@media (max-width: 962px) {

	.works__archive--title h2 {
		font-size: 4rem;
	}

	.works__archive--boxes {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

@media (max-width: 768px) {
	.works__archive--box--body--heading3 {
		font-size: 14px;
	}

	.works__archive--box--body--text {
		font-size: 12px;
	}
}

@media (max-width: 599px) {
	.works__archive--boxes {
		margin-top: 56px;
		grid-template-columns: repeat(1, 1fr);
		gap: 20px;
	}
}

/* works__single */
.works__archive--single {
	margin-top: 60px;
	margin-bottom: 48px;
	max-width: 1030px;
	margin-inline: auto;
	padding-inline: 15px;
}

.works__archive--single p {
	line-height: 1.7;
}

.works__archÏive--single--head {
	padding-bottom: 18px;
	border-bottom: 1px solid #E5E7EB;
}

.works__archive--single--head h1 {
	font-size: 36px;
	line-height: 1.7;
}

.works__archive--single--head--date {}

.works__archive--single--content .--01,
.works__archive--single--content .--02 {
	position: relative;
	padding-left: 30px;
	margin-bottom: 20px;
}

.works__archive--single--content .--02 {
	margin-top: 20px;
}

.works__archive--single--content .--01::before,
.works__archive--single--content .--02::before {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	display: inline-block;
	width: 24px;
	height: 24px;
}

.works__archive--single--content .--01::before {
	background: url(../img/badge-1.svg) no-repeat center center / contain;
}

.works__archive--single--content .--02::before {
	background: url(../img/badge-2.svg) no-repeat center center / contain;
}

.works__archive--single--content .--key-points {
	padding: 25px 35px;
	background: #F3F4F6;
	border-radius: 16px;
}

.works__archive--single--content .--key-points p:nth-of-type(1) {
	margin-bottom: 16px;
}

.works__archive--single--content .--key-points .--key-points--title {
	position: relative;
	padding-left: 32px;
}

.works__archive--single--content .--key-points .--key-points--title::before {
	content: '';
	position: absolute;
	top: 6px;
	left: 0;
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(../img/check-1.svg) no-repeat center center / contain;
}

.works__archive--single--content .--gallery .is-layout-flex {
	gap: 16px;
}

.works__archive--single--content .--gallery img {
	border-radius: 12px;
}

.works__archive--single--content .--overview .smb-section__title {
	border-left: 4px solid #E5E7EB;
	padding-left: 20px;
	line-height: 1.2;
}

.works__archive--single--content .--overview table {
	border: none;
}

.works__archive--single--content .--overview tr:last-child td {
	border-bottom: none;
}

.works__archive--single--content .--overview td:last-child {
	border-bottom: 1px solid #E5E7EB;
}

.works__archive--single--content .--overview td {
	padding: 16px;
	border: none;
	line-height: 1.7;
}


.works__archive--single--content .--overview td:first-child {
	width: 308px;
	background: #F5F7EB;
	border: none;
}

.works__archive--single--content .--overview tr:last-child td:last-child {
	border-bottom: 1px solid #E5E7EB;
}

.works__archive--single--content .--gallery img {
	width: 100%;
}

.works__archive--single--cta {
	background: #FCF8F0;
	border-radius: 16px;
	text-align: center;
	padding-block: 33px;
}

.works__archive--single--cta--title {
	font-size: 22px;
}

.works__archive--single--cta--text {
	font-size: 14px;
	margin-top: 8px;
}

.works__archive--single--cta--button-area {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 24px;
}

.works__archive--single--cta--button {
	color: #ffffff;
	line-height: 100%;
	padding: 14px 24px;
	padding-left: 48px;
	padding-right: 32px;
	border-radius: 48px;
}

.works__archive--single--cta--button.--line {
	background: #06c755;
}


.works__archive--single--cta--button.--contact {
	background: #ff5916;
}

.works__archive--single--cta--button.--line span,
.works__archive--single--cta--button.--contact span {
	position: relative;
}

.works__archive--single--cta--button.--line span::before,
.works__archive--single--cta--button.--contact span::before {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -28px;
	width: 20px;
	height: 20px;
}

.works__archive--single--cta--button.--line span::before {
	background: url(../img/new-icon_line01.svg) no-repeat center center / contain;
}

.works__archive--single--cta--button.--contact span::before {
	background: url(../img/mail.svg) no-repeat center center / contain;
}

@media (max-width: 768px) {

	.works__archive--single {
		margin-top: 16px;
	}

	.works__archive--single--head h1 {
		font-size: 22px;
	}

	.works__archive--single--head--date {
		display: block;
		margin-top: 12px;
		margin-bottom: 20px;
		font-size: 14px;
	}

	.works__archive--single--content .--gallery .smb-section__title span {
		font-size: 24px !important;
	}

	.works__archive--single--content .--gallery p {
		font-size: 14px;
	}

	.wp-block-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.wp-block-table table {
		min-width: 800px;
		/* ←ここで横幅を確保 */
		width: 100%;
		border-collapse: collapse;
	}

	.works__archive--single--cta--title {
		font-size: 18px;
	}

	.works__archive--single--cta--text {
		font-size: 12px;
	}

	.works__archive--single--cta--button-area {
		flex-direction: column;
	}
}