/**
 * Works (導入事例) archive + single
 */

/* -------------------------------------------------------------------------- */
/* Featured carousel
/* -------------------------------------------------------------------------- */

.c-works-featured {
	box-sizing: border-box;
	width: 100%;
	padding: 48px 40px;
	background: #fff;
	border-bottom: 1px solid #d9d9d9;
}

.c-works-featured__inner {
	box-sizing: border-box;
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.c-works-featured__title {
	margin: 0;
	max-width: 100%;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(28 * 100vw / 410), 28px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.6;
	color: var(--color-primary, #af322c);
	text-align: center;
}

/* PC: [chevron] [card] [chevron] / dots below — Figma Frame 116121 */
.c-works-carousel {
	box-sizing: border-box;
	width: 100%;
	display: grid;
	grid-template-columns: 40px minmax(0, 1120px) 40px;
	grid-template-rows: auto auto;
	column-gap: 20px;
	row-gap: 20px;
	align-items: center;
	justify-content: center;
}

.c-works-carousel__viewport {
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	min-width: 0;
	overflow: hidden;
}

.c-works-carousel__track {
	position: relative;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	will-change: transform;
	transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.c-works-carousel.is-instant .c-works-carousel__track {
	transition: none;
}

.c-works-carousel__slide {
	box-sizing: border-box;
	flex: 0 0 100%;
	min-width: 0;
	width: 100%;
}

.c-works-carousel__slide:not([data-carousel-slide]) {
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.c-works-carousel__track,
	.c-works-feature-card,
	.c-works-feature-card__company {
		transition: none;
	}
}

/* Featured card — Figma 1260:48444 (PC) */
.c-works-feature-card {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	width: 100%;
	padding: 24px 32px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease;
}

.c-works-feature-card:hover,
.c-works-feature-card:focus-visible {
	background: #faf5f6;
	border-color: #af322c;
	color: inherit;
	text-decoration: none;
}

.c-works-feature-card__media {
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	aspect-ratio: 454 / 260;
	background: #e4e4e4;
}

.c-works-feature-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-works-feature-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 240px;
	color: var(--color-main-dark, #333);
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(28 * 100vw / 410), 28px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.6;
}

.c-works-feature-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	min-width: 0;
}

.c-works-feature-card__content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.c-works-feature-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

.c-works-feature-card__industry {
	margin: 0;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
}

.c-works-feature-card__company {
	margin: 0;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(18 * 100vw / 410), 18px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
	transition: color 0.3s ease;
}

.c-works-feature-card:hover .c-works-feature-card__company,
.c-works-feature-card:focus-visible .c-works-feature-card__company {
	color: #af322c;
}

.c-works-feature-card__title {
	margin: 0;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(28 * 100vw / 410), 28px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.6;
	color: var(--color-main-dark, #333);
}

.c-works-feature-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-works-feature-card__tags li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	border-radius: 8px;
	background: #fff8f8;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(12 * 100vw / 410), 12px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.6;
	color: #af322c;
}

.c-works-feature-card__btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 155px;
	height: 48px;
	padding: 0 12px 0 24px;
	border: 1px solid #333;
	border-radius: 37px;
	background: #fff;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
	text-decoration: none;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.c-works-feature-card:hover .c-works-feature-card__btn,
.c-works-feature-card:focus-visible .c-works-feature-card__btn {
	opacity: 0.85;
	background: #fafafa;
	color: var(--color-main-dark, #333);
}

.c-works-feature-card__btn-label {
	flex: 1 1 auto;
	text-align: center;
}

.c-works-feature-card__btn-icon {
	flex: 0 0 auto;
	width: 0.55em;
	height: 0.9em;
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	color: #333;
}

/* Carousel chevrons — Figma 1260:48443 / 1260:48459 (PC), 1260:49060 / 1260:49062 (SP) */
.c-works-carousel__nav {
	box-sizing: border-box;
	grid-row: 1;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px 40px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.c-works-carousel__nav:hover,
.c-works-carousel__nav:focus-visible {
	opacity: 0.75;
}

.c-works-carousel__nav--prev {
	grid-column: 1;
	background-image: url("../img/common/carousel-chevron-prev.svg");
}

.c-works-carousel__nav--next {
	grid-column: 3;
	background-image: url("../img/common/carousel-chevron-next.svg");
}

.c-works-carousel__dots {
	grid-column: 1 / -1;
	grid-row: 2;
	display: flex;
	justify-content: center;
	gap: 12px;
}

.c-works-carousel__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #b6b6b6;
	cursor: pointer;
}

.c-works-carousel__dot.is-active {
	background: var(--color-primary, #af322c);
}

/* -------------------------------------------------------------------------- */
/* Archive grid + filter
/* -------------------------------------------------------------------------- */

.c-works-archive {
	box-sizing: border-box;
	width: 100%;
	padding: 80px 120px;
	background: #fff;
}

.c-works-archive__inner {
	box-sizing: border-box;
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.c-works-filter {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.c-works-filter__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 32px;
}

.c-works-filter__label {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
}

.c-works-filter__icon {
	display: block;
	width: 18px;
	height: 17px;
	flex-shrink: 0;
	object-fit: contain;
}

.c-works-filter__clear {
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: #483ae2;
	text-decoration: none;
	white-space: nowrap;
}

.c-works-filter__clear:hover,
.c-works-filter__clear:focus-visible {
	text-decoration: underline;
	color: #483ae2;
}

/* PC: 課題・業界 | 新着順 — 1行・両端揃え */
.c-works-filter__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
}

.c-works-filter__fields {
	display: flex;
	align-items: center;
	gap: 24px;
	min-width: 0;
	flex: 1 1 auto;
}

.c-works-filter__fields .c-works-filter__field {
	width: min(282px, 100%);
	flex: 0 1 282px;
}

.c-works-filter__sort {
	display: flex;
	justify-content: flex-end;
	flex: 0 0 auto;
}

.c-works-filter__field {
	display: block;
	min-width: 0;
}

.c-works-filter__field--sort {
	width: 160px;
}

.c-works-filter__field select {
	box-sizing: border-box;
	width: 100%;
	height: 41px;
	padding: 8px 36px 8px 12px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	background: #fff
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E")
		no-repeat right 12px center;
	appearance: none;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
	cursor: pointer;
}

.c-works-filter__field select:has(option[value=""]:checked) {
	color: #838586;
}

.c-works-filter__field--sort select {
	color: var(--color-main-dark, #333);
}

.c-works-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.c-works-grid .c-card {
	max-width: none;
	width: 100%;
}

.c-works-archive__empty {
	margin: 0;
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	color: var(--color-gray, #838586);
}

/* Pagination visuals: components.css (.c-pagination) */

/* -------------------------------------------------------------------------- */
/* Single — Figma 382:26927 (PC) / 440:12367 (SP)
/* -------------------------------------------------------------------------- */

.c-works-single {
	width: 100%;
}

.c-works-hero {
	box-sizing: border-box;
	width: 100%;
	padding: 80px 100px 0;
	background: #fff;
}

.c-works-hero__inner {
	box-sizing: border-box;
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 64px;
	padding-bottom: 80px;
	border-bottom: 1px solid #d9d9d9;
}

.c-works-hero__title {
	margin: 0;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(40 * 100vw / 410), 40px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.6;
	color: var(--color-primary, #af322c);
}

.c-works-hero__panel {
	display: grid;
	grid-template-columns: minmax(0, 640px) minmax(0, 560px);
	gap: 40px;
	align-items: center;
	justify-content: space-between;
}

.c-works-hero__media {
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: #f0f0f0;
}

.c-works-hero__thumb,
.c-works-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	vertical-align: top;
}

.c-works-hero__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 240px;
	color: #999;
	font-weight: 700;
}

/* Borderless info column (not a card) — Figma Frame 115968 */
.c-works-hero__info {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	color: var(--color-main-dark, #333);
}

.c-works-hero__lead {
	margin: 0;
	padding-bottom: 24px;
	border-bottom: 1px solid #d9d9d9;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
}

.c-works-hero__meta-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c-works-hero__company {
	display: flex;
	align-items: center;
	gap: 16px;
}

.c-works-hero__logo {
	display: block;
	width: auto;
	max-width: 75px;
	max-height: 38px;
	object-fit: contain;
}

.c-works-hero__company-name {
	margin: 0;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(18 * 100vw / 410), 18px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
}

.c-works-hero__meta {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
}

.c-works-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6.6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-works-hero__tags li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	border-radius: 8px;
	background: #fff8f8;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(12 * 100vw / 410), 12px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.6;
	color: var(--color-primary, #af322c);
}

.c-works-hero__pdf {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	align-self: flex-start;
	min-width: 202px;
	height: 48px;
	padding: 0 16px 0 12px;
	border: 1px solid #333;
	border-radius: 37px;
	background: #fff;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
	text-decoration: none;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.c-works-hero__pdf:hover,
.c-works-hero__pdf:focus-visible {
	opacity: 0.85;
	background: #fafafa;
	color: var(--color-main-dark, #333);
	text-decoration: none;
}

.c-works-hero__pdf-icon {
	display: block;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.c-works-hero__pdf-label {
	flex: 1 1 auto;
	text-align: center;
}

.c-works-single__sheet {
	box-sizing: border-box;
	width: 100%;
	padding: 80px 100px;
	background: #fff;
}

.c-works-single__inner {
	box-sizing: border-box;
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 80px;
}

/* Summary table */
.c-works-summary {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	background: transparent;
}

.c-works-summary__table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.c-works-summary__table th,
.c-works-summary__table td {
	box-sizing: border-box;
	padding: 16px 24px;
	border: 1px solid #d9d9d9;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	line-break: strict;
	vertical-align: top;
	color: var(--color-main-dark, #333);
	text-align: left;
}

.c-works-summary__table td strong,
.c-works-summary__table td b,
.c-works-summary__row--result td strong {
	font-weight: 700;
}

.c-works-summary__col-label {
	width: 100px;
}

.c-works-summary__table tbody th {
	width: 100px;
	min-width: 100px;
	max-width: 100px;
	background: #faf5f6;
	font-weight: 700;
	white-space: nowrap;
	text-align: center;
}

.c-works-summary__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.c-works-summary__list li {
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
}

.c-works-summary__row--emphasis td,
.c-works-summary__row--emphasis td p,
.c-works-summary__row--emphasis td li,
.c-works-summary__row--emphasis td strong,
.c-works-summary__row--emphasis td b,
.c-works-summary__row--emphasis .c-works-summary__list li {
	color: var(--color-primary, #af322c);
	font-weight: 700;
}

.c-works-summary__list li:not(:last-child) {
	margin-bottom: 0.4em;
}

.c-works-toc {
	padding: 32px 40px;
	border-radius: 8px;
	background: #f7f6f6;
}

.c-works-toc__list {
	margin: 0;
	padding-left: 1.25em;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.c-works-toc__list--sub {
	margin-top: 8px;
	gap: 6px;
}

.c-works-toc__link {
	font-size: clamp(10px, calc(15 * 100vw / 410), 15px);
	font-weight: 500;
	line-height: 1.6;
	color: var(--color-main-dark, #333);
	text-decoration: none;
}

.c-works-toc__link:hover {
	color: var(--color-primary, #af322c);
	text-decoration: underline;
}

.c-works-toc__item--h3 .c-works-toc__link {
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	color: var(--color-gray, #838586);
}

.c-works-body {
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
}

.c-works-body > *:first-child {
	margin-top: 0;
}

.c-works-body h2,
.c-works-body h3 {
	scroll-margin-top: 120px;
}

.c-works-body h2 {
	margin: 80px 0 24px;
	font-size: clamp(10px, calc(28 * 100vw / 410), 28px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.6;
	color: var(--color-main-dark, #333);
}

.c-works-body > h2:first-child {
	margin-top: 0;
}

.c-works-body h3 {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 40px 0 24px;
	font-size: clamp(10px, calc(24 * 100vw / 410), 24px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.6;
	color: var(--color-main-dark, #333);
}

.c-works-body h3::before {
	content: "";
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	margin-top: 0.5em;
	border-radius: 50%;
	background: var(--color-primary, #af322c);
}

.c-works-body figure {
	margin: 40px 0 0;
}

.c-works-body figure img,
.c-works-body img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.c-works-body figcaption,
.c-works-body .wp-element-caption {
	margin-top: 16px;
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-gray, #838586);
}

.c-works-body .wp-block-gallery,
.c-works-body__gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	margin: 40px 0 0;
}

.c-works-body .wp-block-gallery .wp-block-image,
.c-works-body__gallery > figure {
	flex: 1 1 calc(50% - 28px);
	margin: 0;
	min-width: 0;
}

.c-works-body .wp-block-gallery.columns-3 .wp-block-image,
.c-works-body__gallery.columns-3 > figure {
	flex: 1 1 calc(33.333% - 38px);
}

.c-works-body .wp-block-columns,
.c-works-body__columns {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	margin: 40px 0 0;
}

.c-works-body .wp-block-column {
	flex: 1 1 calc(50% - 28px);
	min-width: 0;
}

.c-works-note {
	box-sizing: border-box;
	margin: 40px 0 0;
	padding: 16px 32px;
	border-radius: 8px;
	background: #faf5f6;
}

.c-works-note p {
	margin: 0;
	color: var(--color-main-dark, #333);
}

.c-works-body hr {
	box-sizing: border-box;
	width: 100%;
	height: 0;
	margin: 64px 0;
	border: 0;
	border-top: 1px solid #d9d9d9;
}

.c-works-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 40px 0 0;
	table-layout: fixed;
}

.c-works-body table tr > :first-child {
	width: 36%;
}

.c-works-body table:has(tr > :nth-child(3)) tr > :first-child {
	width: 30%;
}

.c-works-body th,
.c-works-body td {
	box-sizing: border-box;
	padding: 16px 24px;
	border: 1px solid #d9d9d9;
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	vertical-align: top;
	color: var(--color-main-dark, #333);
}

.c-works-body th {
	background: #faf5f6;
	font-weight: 700;
}

/* QA labels — Figma Label / TOKUMORI + Label / User */
.c-works-qa {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 24px 0 0;
}

.c-works-qa__label {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin: 0;
	padding: 4px 12px;
	border-radius: 8px;
	background: var(--color-primary, #af322c);
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: #fff;
}

.c-works-qa__label--client {
	background: var(--color-main-dark, #333);
	color: #fff;
}

.c-works-qa__text {
	margin: 0;
}

/* Company card — border only, no fill — Figma Frame 115996 */
.c-works-company {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: stretch;
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	background: #fff;
}

.c-works-company__copy {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.c-works-company__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.c-works-company__name {
	margin: 0;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(24 * 100vw / 410), 24px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.6;
	color: var(--color-main-dark, #333);
}

.c-works-company__desc {
	margin: 0;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: var(--color-main-dark, #333);
}

.c-works-company__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.c-works-company__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 400;
	letter-spacing: 1.2px;
	line-height: 1.8;
	color: #3715cd;
	text-decoration: none;
}

.c-works-company__link:hover,
.c-works-company__link:focus-visible {
	text-decoration: underline;
	color: #3715cd;
}

.c-works-company__ext {
	display: inline-block;
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	background-color: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M432 320h-32a16 16 0 0 0-16 16v112H64V128h144a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16H48A48 48 0 0 0 0 112v352a48 48 0 0 0 48 48h352a48 48 0 0 0 48-48V336a16 16 0 0 0-16-16zM488 0H336c-21.5 0-32.1 25.9-17 41l47.6 47.6L200.6 269.7a24 24 0 0 0 0 34L242.3 345.4a24 24 0 0 0 34 0L457.4 164.4 505 212c15 15 41 4.5 41-17V24A24 24 0 0 0 488 0z'/%3E%3C/svg%3E")
		center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M432 320h-32a16 16 0 0 0-16 16v112H64V128h144a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16H48A48 48 0 0 0 0 112v352a48 48 0 0 0 48 48h352a48 48 0 0 0 48-48V336a16 16 0 0 0-16-16zM488 0H336c-21.5 0-32.1 25.9-17 41l47.6 47.6L200.6 269.7a24 24 0 0 0 0 34L242.3 345.4a24 24 0 0 0 34 0L457.4 164.4 505 212c15 15 41 4.5 41-17V24A24 24 0 0 0 488 0z'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

.c-works-company__media {
	order: -1;
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
}

.c-works-company__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 576 / 302;
	object-fit: cover;
}

.c-works-single__back {
	display: flex;
	justify-content: center;
	padding-top: 24px;
	border-top: 1px solid #d9d9d9;
}

.c-works-back-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-width: 202px;
	height: 48px;
	padding: 0 16px 0 12px;
	border: 1px solid #333;
	border-radius: 37px;
	background: #fff;
	color: var(--color-main-dark, #333);
	font-family: var(--tokumori-font-display);
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.8;
	text-decoration: none;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.c-works-back-btn:hover,
.c-works-back-btn:focus-visible {
	opacity: 0.85;
	background: #fafafa;
	color: var(--color-main-dark, #333);
	text-decoration: none;
}

.c-works-back-btn__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
	transform: scaleX(-1);
}

.c-works-back-btn__label {
	flex: 1 1 auto;
	text-align: center;
}

@media (max-width: 1100px) {
	.c-works-featured {
		padding: 32px 16px;
	}

	.c-works-featured__inner {
		gap: 16px;
	}

	.c-works-featured__title {
		font-size: clamp(10px, calc(28 * 100vw / 410), 28px);
		line-height: 1.6;
	}

	.c-works-feature-card {
		grid-template-columns: 1fr;
		padding: 20px;
		gap: 16px;
	}

	.c-works-feature-card__body {
		gap: 32px;
	}

	.c-works-feature-card__content {
		gap: 0;
	}

	.c-works-feature-card__title {
		font-size: clamp(10px, calc(14 * 100vw / 410), 14px);
		font-weight: 400;
		letter-spacing: 1.2px;
		line-height: 1.8;
		color: #838586;
	}

	.c-works-feature-card__media {
		aspect-ratio: 454 / 260;
	}

	.c-works-feature-card__btn {
		display: none;
	}

	/* SP: card full width; [chevron] [dots] [chevron] — Figma Frame 116124 */
	.c-works-carousel {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		column-gap: 16px;
		row-gap: 16px;
	}

	.c-works-carousel__viewport {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.c-works-carousel__nav--prev,
	.c-works-carousel__nav--next {
		grid-row: 2;
	}

	.c-works-carousel__dots {
		grid-column: 2;
		grid-row: 2;
		align-self: center;
	}

	.c-works-archive {
		padding: 48px 16px;
	}

	.c-works-archive__inner {
		gap: 24px;
	}

	.c-works-filter {
		gap: 24px;
	}

	.c-works-filter__row {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.c-works-filter__fields {
		flex-direction: column;
		width: 100%;
	}

	.c-works-filter__fields .c-works-filter__field {
		width: 100%;
		flex: 1 1 auto;
	}

	.c-works-filter__sort {
		justify-content: flex-start;
	}

	.c-works-filter__field--sort {
		width: 160px;
		max-width: 100%;
	}

	.c-works-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.c-works-hero {
		padding: 40px 16px 0;
	}

	.c-works-hero__inner {
		gap: 32px;
		padding-bottom: 40px;
	}

	.c-works-hero__title {
		font-size: clamp(10px, calc(28 * 100vw / 410), 28px);
		line-height: 1.6;
	}

	.c-works-hero__panel {
		grid-template-columns: 1fr;
		gap: 32px;
		align-items: stretch;
	}

	.c-works-hero__media {
		aspect-ratio: auto;
	}

	.c-works-hero__pdf {
		align-self: stretch;
		width: 100%;
		min-width: 0;
		justify-content: center;
	}

	.c-works-single__sheet {
		padding: 40px 16px;
	}

	.c-works-single__inner {
		gap: 40px;
	}

	.c-works-summary__table th,
	.c-works-summary__table td {
		padding: 12px 16px;
	}

	.c-works-summary__table tbody th {
		width: 100px;
		min-width: 100px;
		max-width: 100px;
		white-space: normal;
	}

	.c-works-toc {
		padding: 24px 16px;
	}

	.c-works-body h2 {
		margin-top: 40px;
		font-size: clamp(10px, calc(24 * 100vw / 410), 24px);
	}

	.c-works-body hr {
		margin: 40px 0;
	}

	.c-works-body > h2:first-child {
		margin-top: 0;
	}

	.c-works-body h3 {
		margin-top: 32px;
		font-size: clamp(10px, calc(20 * 100vw / 410), 20px);
	}

	.c-works-body .wp-block-gallery,
	.c-works-body__gallery,
	.c-works-body .wp-block-columns,
	.c-works-body__columns {
		flex-direction: column;
		gap: 24px;
	}

	.c-works-body .wp-block-gallery .wp-block-image,
	.c-works-body__gallery > figure,
	.c-works-body .wp-block-gallery.columns-3 .wp-block-image,
	.c-works-body__gallery.columns-3 > figure,
	.c-works-body .wp-block-column {
		flex: 1 1 100%;
	}

	.c-works-note {
		padding: 16px;
	}

	.c-works-company__media img {
		aspect-ratio: 295 / 155;
	}

	.c-works-company__copy {
		gap: 24px;
	}

	.c-works-back-btn {
		width: 100%;
		min-width: 0;
	}
}
