:root {
	--color-ink: #17202a;
	--color-white: #ffffff;
	--color-paper: #f6f4ef;
	--color-stone: #d8d0c2;
	--color-cyan: #009fe8;
	--color-green: #517668;
	--color-brick: #8b463f;
	--color-gold: #b98b3c;
	--shadow-strong: 0 28px 70px rgba(15, 24, 34, 0.26);
	--shadow-soft: 0 16px 38px rgba(15, 24, 34, 0.14);
	--header-height: 72px;
	--ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #101820;
	color: var(--color-ink);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
}

body.is-detail {
	background: var(--color-paper);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.site {
	min-height: 100svh;
}

.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
	background: linear-gradient(
		180deg,
		rgba(246, 244, 239, 0.98) 0%,
		rgba(246, 244, 239, 0.94) 44%,
		rgba(246, 244, 239, 0.52) 72%,
		rgba(246, 244, 239, 0) 100%
	);
	box-shadow: 0 10px 26px rgba(15, 24, 34, 0.06);
	backdrop-filter: blur(18px);
	padding: 8px clamp(18px, 4vw, 54px) 18px;
	transition: background 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.brand,
.site-nav {
	pointer-events: auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	transition: transform 220ms ease;
}

.brand:hover {
	transform: translateY(-2px);
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	background: var(--color-ink);
	color: var(--color-white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 1;
}

.brand__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.brand__name {
	color: var(--color-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
}

.brand__sub {
	color: rgba(23, 32, 42, 0.56);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	white-space: nowrap;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 0;
	max-width: calc(100vw - 470px);
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	scrollbar-width: none;
	transition: opacity 240ms ease, transform 240ms ease;
}

.site-nav::-webkit-scrollbar {
	display: none;
}

.site-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 22px;
	color: rgba(23, 32, 42, 0.76);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.site-nav__link + .site-nav__link::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 22px;
	background: rgba(23, 32, 42, 0.42);
	content: "";
	transform: translateY(-50%);
	transition: background 180ms ease, box-shadow 180ms ease;
}

.site-nav__link::after {
	position: absolute;
	right: 22px;
	bottom: 7px;
	left: 22px;
	height: 1px;
	background: var(--color-cyan);
	content: "";
	opacity: 0;
	transform: scaleX(0.35);
	transform-origin: center;
	transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
	color: var(--color-ink);
	text-shadow: 0 0 14px rgba(0, 159, 232, 0.48);
	transform: translateY(-1px);
}

.site-nav__link:hover::before,
.site-nav__link.is-active::before,
.site-nav__link:hover + .site-nav__link::before,
.site-nav__link.is-active + .site-nav__link::before {
	background: rgba(0, 159, 232, 0.72);
	box-shadow: 0 0 10px rgba(0, 159, 232, 0.42);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
	opacity: 1;
	transform: scaleX(1);
}

.landing {
	position: fixed;
	inset: 0;
	z-index: 10;
	min-height: 100svh;
	overflow: hidden;
	background: #101820;
	transition: opacity 420ms ease, transform 520ms var(--ease-out), visibility 420ms ease;
}

body.is-detail .landing {
	visibility: hidden;
	opacity: 0;
	transform: translateY(-4vh) scale(0.985);
	pointer-events: none;
}

.landing__panels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	height: 100svh;
}

.entry-panel {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-width: 0;
	margin-right: -1px;
	overflow: hidden;
	color: var(--color-white);
	isolation: isolate;
	transition: flex 360ms var(--ease-out), filter 360ms ease;
}

.entry-panel:last-child {
	margin-right: 0;
}

.entry-panel::after {
	position: absolute;
	inset: 18px;
	z-index: 3;
	border-top: 1px solid rgba(255, 255, 255, 0.44);
	border-bottom: 1px solid rgba(255, 255, 255, 0.44);
	content: "";
	transition: inset 280ms ease, border-color 280ms ease;
}

.entry-panel__image,
.entry-panel__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.entry-panel__image {
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 520ms var(--ease-out), filter 520ms ease;
}

.entry-panel:nth-child(2) .entry-panel__image {
	height: calc(100% + 110px);
	object-position: center top;
	transform: translateY(66px) scale(1.02);
}

.entry-panel__shade {
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(12, 19, 28, 0.12) 0%, rgba(12, 19, 28, 0.32) 38%, rgba(12, 19, 28, 0.88) 100%),
		linear-gradient(90deg, rgba(0, 159, 232, 0.22), rgba(139, 70, 63, 0.18));
}

.entry-panel__content {
	position: relative;
	z-index: 4;
	display: grid;
	gap: 12px;
	width: min(100% - 64px, 460px);
	margin: 0 auto clamp(150px, 18vh, 194px);
	transition: transform 360ms var(--ease-out);
}

.entry-panel__number {
	color: rgba(255, 255, 255, 0.7);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 56px;
	font-variant-numeric: lining-nums tabular-nums;
	font-weight: 500;
	line-height: 0.9;
}

.entry-panel__label {
	color: var(--color-cyan);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

.entry-panel__title {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(38px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1.12;
	overflow-wrap: normal;
	word-break: keep-all;
}

.entry-panel__lead {
	max-width: 24em;
	color: rgba(255, 255, 255, 0.86);
	font-size: 16px;
	line-height: 1.8;
}

.entry-panel:hover {
	z-index: 2;
	filter: saturate(1.07);
}

.entry-panel:hover::after {
	inset: 28px;
	border-color: rgba(255, 255, 255, 0.82);
}

.entry-panel:hover .entry-panel__image {
	transform: scale(1.12);
}

.entry-panel:nth-child(2):hover .entry-panel__image {
	transform: translateY(66px) scale(1.12);
}

.entry-panel:hover .entry-panel__content {
	transform: translateY(-12px);
}

.contact-card {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 14;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 0;
	width: 100%;
	padding: 24px clamp(24px, 4vw, 52px) 12px;
	background: linear-gradient(
		180deg,
		rgba(246, 244, 239, 0) 0%,
		rgba(246, 244, 239, 0.58) 42%,
		rgba(246, 244, 239, 0.94) 100%
	);
	box-shadow: 0 -16px 42px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(12px);
}

.contact-card__name {
	margin: 0;
	color: var(--color-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.4;
}

.contact-card dl {
	display: contents;
	margin: 0;
}

.contact-card div {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 8px;
	justify-content: center;
	margin: 0;
}

.contact-card div:nth-child(2) {
	justify-content: end;
}

.contact-card dt,
.contact-card dd {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
}

.contact-card dt {
	color: rgba(23, 32, 42, 0.58);
	font-weight: 800;
}

.contact-card dd {
	color: var(--color-ink);
}

.detail-stage {
	position: relative;
	z-index: 1;
	min-height: 100svh;
	padding-top: var(--header-height);
	background:
		linear-gradient(120deg, rgba(0, 159, 232, 0.09), transparent 34%),
		linear-gradient(300deg, rgba(185, 139, 60, 0.12), transparent 36%),
		var(--color-paper);
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 420ms ease, transform 520ms var(--ease-out);
}

body.is-detail .detail-stage {
	opacity: 1;
	transform: translateY(0);
}

.detail-panel {
	display: none;
	width: min(100% - 64px, 1220px);
	margin: 0 auto;
	padding: clamp(12px, calc(7vw - 30px), 46px) 0 88px;
}

.detail-panel.is-active {
	display: block;
	animation: panel-in 440ms var(--ease-out) both;
}

.detail-panel.is-leaving {
	animation: panel-out 220ms ease both;
}

@keyframes panel-in {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes panel-out {
	from {
		opacity: 1;
		transform: translateY(0);
	}
	to {
		opacity: 0;
		transform: translateY(-12px);
	}
}

.detail-hero {
	display: grid;
	grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
	align-items: center;
	gap: clamp(34px, 6vw, 76px);
	min-height: calc(100svh - var(--header-height) - 72px);
	padding-bottom: 42px;
}

.detail-hero__copy {
	display: grid;
	gap: 18px;
	padding-bottom: 0;
}

.detail-hero__label,
.block-heading p {
	margin: 0;
	color: var(--color-cyan);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
}

.detail-hero__title {
	margin: 0;
	color: var(--color-ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 70px;
	font-weight: 700;
	line-height: 1.06;
	overflow-wrap: normal;
	word-break: keep-all;
}

.detail-hero__lead {
	max-width: 34em;
	margin: 0;
	color: rgba(23, 32, 42, 0.72);
	font-size: 20px;
	line-height: 1.9;
}

.detail-hero__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--color-white);
	box-shadow: var(--shadow-strong);
}

.detail-hero__media::before {
	position: absolute;
	inset: 18px;
	z-index: 2;
	border: 1px solid rgba(255, 255, 255, 0.72);
	content: "";
	pointer-events: none;
}

.detail-hero__media img {
	width: 100%;
	height: min(52vw, 560px);
	min-height: 360px;
	object-fit: cover;
}

.detail-hero__media--certificate {
	display: grid;
	place-items: center;
	padding: clamp(20px, 3vw, 40px);
}

.detail-hero__media--certificate::before {
	border-color: transparent;
}

.detail-hero__media--certificate img {
	width: auto;
	max-width: 100%;
	height: min(48vw, 520px);
	object-fit: contain;
}

.certificate-carousel {
	min-height: min(58vw, 620px);
}

.certificate-carousel__track {
	position: relative;
	z-index: 1;
	width: 100%;
	height: min(48vw, 520px);
	min-height: 360px;
}

.detail-hero__media--certificate .certificate-carousel__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	opacity: 0;
	pointer-events: none;
	transform: translateX(18px) scale(0.98);
	transition: opacity 420ms ease, transform 420ms var(--ease-out);
}

.detail-hero__media--certificate .certificate-carousel__slide.is-active {
	opacity: 1;
	transform: translateX(0) scale(1);
}

.certificate-carousel__control {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(23, 32, 42, 0.26);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 14px 28px rgba(15, 24, 34, 0.14);
	color: var(--color-ink);
	cursor: pointer;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 34px;
	line-height: 0;
	transform: translateY(-50%);
	transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.certificate-carousel__control span {
	display: block;
	height: 34px;
	line-height: 30px;
	transform: translateY(-1px);
}

.certificate-carousel__control:hover,
.certificate-carousel__control:focus-visible {
	border-color: rgba(0, 159, 232, 0.78);
	box-shadow: 0 16px 34px rgba(0, 159, 232, 0.24);
	color: var(--color-cyan);
	outline: none;
	transform: translateY(-50%) scale(1.05);
}

.certificate-carousel__control--prev {
	left: 18px;
}

.certificate-carousel__control--next {
	right: 18px;
}

.detail-grid {
	display: grid;
	gap: 54px;
}

.detail-block,
.case-block {
	position: relative;
	padding-top: 34px;
	border-top: 1px solid rgba(23, 32, 42, 0.16);
}

.detail-block h2,
.block-heading h2 {
	margin: 8px 0 0;
	color: var(--color-ink);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.25;
}

.detail-block ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 0;
	margin: 28px 0 0;
	list-style: none;
}

.detail-block li {
	position: relative;
	min-height: 78px;
	padding: 18px 18px 18px 22px;
	background: rgba(255, 255, 255, 0.72);
	border-left: 4px solid var(--color-cyan);
	box-shadow: var(--shadow-soft);
	font-weight: 700;
	line-height: 1.55;
}

.case-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-top: 28px;
}

.case-card {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
}

.case-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 320ms var(--ease-out);
}

.case-card:hover img {
	transform: scale(1.045);
}

.case-card figcaption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	gap: 5px;
	padding: 56px 22px 20px;
	background: linear-gradient(180deg, transparent, rgba(10, 16, 24, 0.88));
	color: var(--color-white);
}

.case-card span {
	color: rgba(255, 255, 255, 0.68);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.3;
}

.case-card strong {
	font-size: 22px;
	line-height: 1.35;
}

.detail-panel--architecture {
	width: 100%;
	max-width: none;
	padding: 0;
}

.architecture-hero {
	position: relative;
	min-height: calc(100svh - var(--header-height));
	overflow: hidden;
	color: var(--color-white);
	isolation: isolate;
}

.architecture-hero__image,
.architecture-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.architecture-hero__image {
	object-fit: cover;
}

.architecture-hero__shade {
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(8, 20, 34, 0.92) 0%, rgba(8, 20, 34, 0.68) 44%, rgba(8, 20, 34, 0.16) 100%),
		linear-gradient(180deg, rgba(8, 20, 34, 0.16), rgba(8, 20, 34, 0.62));
}

.architecture-hero__shade::after,
.architecture-page::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
	background-size: 96px 96px;
	content: "";
	pointer-events: none;
}

.architecture-hero__content {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 26px;
	width: min(100% - 72px, 1220px);
	margin: 0 auto;
	padding-top: clamp(160px, 23vh, 230px);
}

.architecture-hero h1 {
	max-width: 780px;
	margin: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(42px, 6vw, 72px);
	font-weight: 700;
	line-height: 1.18;
}

.architecture-hero p {
	max-width: 760px;
	margin: 0;
	font-size: clamp(16px, 1.7vw, 21px);
	font-weight: 700;
	line-height: 2;
}

.architecture-hero .architecture-hero__label {
	max-width: none;
	color: var(--color-cyan);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.architecture-page {
	position: relative;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 248, 250, 0.94)),
		var(--color-white);
	overflow: hidden;
}

.architecture-page::before {
	background-image:
		linear-gradient(rgba(23, 32, 42, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(23, 32, 42, 0.035) 1px, transparent 1px);
}

.architecture-section {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: clamp(32px, 7vw, 90px);
	width: min(100% - 72px, 1220px);
	margin: 0 auto;
	padding: clamp(74px, 8vw, 112px) 0;
}

.architecture-section + .architecture-section {
	border-top: 1px solid rgba(23, 32, 42, 0.08);
}

.architecture-heading {
	display: grid;
	align-content: start;
	gap: 16px;
}

.architecture-heading p {
	position: relative;
	margin: 0;
	color: #194661;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.architecture-heading p::after {
	display: block;
	width: 46px;
	height: 2px;
	margin-top: 14px;
	background: #12344a;
	content: "";
}

.architecture-heading h2 {
	margin: 0;
	color: var(--color-ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.24;
}

.architecture-section__lead {
	max-width: 620px;
	margin: 0;
	color: rgba(23, 32, 42, 0.72);
	font-size: 16px;
	font-weight: 700;
	line-height: 2;
}

.architecture-section__body,
.architecture-section__full {
	min-width: 0;
}

.architecture-section__full {
	grid-column: 1 / -1;
}

.architecture-section--about {
	grid-template-columns: 260px minmax(320px, 1fr) minmax(300px, 420px);
	align-items: center;
}

.architecture-about__text {
	display: grid;
	gap: 28px;
	color: rgba(23, 32, 42, 0.72);
	font-size: 17px;
	font-weight: 700;
	line-height: 2.1;
}

.architecture-about__text p {
	margin: 0;
}

.architecture-about__image,
.architecture-strengths__image,
.architecture-work-card {
	margin: 0;
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
}

.architecture-work-card {
	position: relative;
	overflow: hidden;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.architecture-about__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.architecture-section--services,
.architecture-section--works {
	background: rgba(246, 248, 250, 0.64);
}

.architecture-service-grid {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.architecture-service-card {
	min-height: 440px;
	padding: 34px 28px;
	border-top: 4px solid #12344a;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow-soft);
}

.architecture-service-card span {
	color: rgba(23, 32, 42, 0.16);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
}

.architecture-service-card h3 {
	margin: 26px 0 30px;
	color: #0e2f45;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.45;
}

.architecture-service-card ul,
.legacy-group-card ul {
	display: grid;
	gap: 13px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.architecture-service-card li,
.legacy-group-card li {
	position: relative;
	padding-left: 18px;
	color: rgba(23, 32, 42, 0.7);
	font-size: 14px;
	line-height: 1.8;
}

.architecture-service-card li::before,
.legacy-group-card li::before {
	position: absolute;
	top: 0.9em;
	left: 0;
	width: 7px;
	height: 1px;
	background: currentColor;
	content: "";
}

.architecture-section--strengths {
	grid-template-columns: 260px minmax(340px, 0.92fr) minmax(320px, 1fr);
	align-items: start;
}

.architecture-strengths__image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.architecture-strength-list {
	display: grid;
	gap: 20px;
}

.architecture-strength-list section {
	padding: 28px 30px;
	border: 1px solid rgba(23, 32, 42, 0.14);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 14px 30px rgba(15, 24, 34, 0.06);
}

.architecture-strength-list h3 {
	margin: 0 0 10px;
	color: #0e2f45;
	font-size: 21px;
	line-height: 1.45;
}

.architecture-strength-list p {
	margin: 0;
	color: rgba(23, 32, 42, 0.68);
	font-weight: 700;
	line-height: 1.85;
}

.architecture-work-grid {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.architecture-work-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 360ms ease, filter 360ms ease;
}

.architecture-work-card figcaption {
	position: relative;
	padding: 22px 24px;
	color: #0e2f45;
	font-size: 19px;
	font-weight: 900;
	line-height: 1.35;
	transition: color 220ms ease;
}

.architecture-work-card:hover,
.architecture-work-card:focus-within {
	transform: translateY(-6px);
	box-shadow: 0 26px 54px rgba(15, 24, 34, 0.16);
}

.architecture-work-card:hover img,
.architecture-work-card:focus-within img {
	transform: scale(1.045);
	filter: saturate(1.08) contrast(1.04);
}

.architecture-work-card:hover figcaption,
.architecture-work-card:focus-within figcaption {
	color: #008fc7;
}

.architecture-company-table {
	width: 100%;
	border-collapse: collapse;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: var(--shadow-soft);
}

.architecture-company-table th,
.architecture-company-table td {
	padding: 28px 34px;
	border: 1px solid rgba(23, 32, 42, 0.12);
	text-align: left;
	vertical-align: top;
}

.architecture-company-table th {
	width: 28%;
	background: rgba(238, 241, 246, 0.82);
	color: #0e2f45;
	font-weight: 900;
}

.architecture-company-table td {
	color: var(--color-ink);
	font-weight: 700;
}

.legacy-group-block {
	position: relative;
	padding-top: 34px;
	border-top: 1px solid rgba(23, 32, 42, 0.16);
}

.legacy-group-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 28px;
}

.legacy-group-card {
	padding: 28px 26px;
	background: rgba(255, 255, 255, 0.78);
	border-top: 4px solid var(--color-cyan);
	box-shadow: var(--shadow-soft);
}

.legacy-group-card p {
	margin: 0 0 12px;
	color: var(--color-cyan);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
}

.legacy-group-card h3 {
	margin: 0 0 22px;
	color: var(--color-ink);
	font-size: 24px;
	line-height: 1.3;
}

.case-grid--dense {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid--dense .case-card strong {
	font-size: 18px;
}

.detail-panel--coming-soon .detail-hero {
	min-height: calc(82svh - var(--header-height));
}

.coming-soon-card {
	display: grid;
	place-items: center;
	gap: 18px;
	min-height: 320px;
	padding: 54px;
	border: 1px solid rgba(23, 32, 42, 0.14);
	background: rgba(255, 255, 255, 0.76);
	box-shadow: var(--shadow-soft);
	text-align: center;
}

.coming-soon-card p {
	margin: 0;
	color: var(--color-cyan);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}

.coming-soon-card h2 {
	margin: 0;
	color: var(--color-ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(42px, 7vw, 86px);
	line-height: 1.1;
}

@media (max-width: 1024px) {
	:root {
		--header-height: 76px;
	}

	.site-header {
		padding: 14px 24px;
	}

	.brand {
		width: auto;
	}

	.site-nav {
		max-width: calc(100vw - 260px);
		overflow-x: auto;
	}

	.header-actions {
		gap: 12px;
	}

	.site-nav__link {
		flex: 0 0 auto;
		padding: 0 14px;
	}

	.detail-hero,
	.qualification-layout {
		grid-template-columns: 1fr;
	}

	.detail-hero {
		min-height: 0;
	}

	.detail-hero__media img {
		height: min(58vw, 560px);
	}

	.architecture-section,
	.architecture-section--about,
	.architecture-section--strengths {
		grid-template-columns: 1fr;
	}

	.architecture-service-grid,
	.architecture-work-grid,
	.legacy-group-grid,
	.case-grid--dense {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.landing {
		position: relative;
		min-height: auto;
	}

	body.is-detail .landing {
		position: fixed;
	}

	.landing__panels {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 100svh;
	}

	.entry-panel {
		min-height: 34svh;
	}

	.entry-panel::after {
		inset: 12px;
	}

	.entry-panel__content {
		width: min(100% - 42px, 560px);
		margin-bottom: 28px;
	}

	.entry-panel__number {
		font-size: 40px;
	}

	.entry-panel__title {
		font-size: 36px;
	}

	.entry-panel__lead {
		font-size: 14px;
	}

	.contact-card {
		position: relative;
		left: auto;
		bottom: auto;
		display: grid;
		grid-template-columns: 1fr;
		gap: 6px;
		width: calc(100% - 12px);
		margin: -4px 6px 12px;
		transform: none;
	}

	.contact-card dl {
		display: grid;
		gap: 4px;
	}

	.contact-card div {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.site-header {
		display: grid;
		grid-template-columns: 1fr;
		align-items: flex-start;
		gap: 10px;
		height: auto;
		min-height: var(--header-height);
		padding: 12px 14px;
	}

	.brand {
		width: auto;
	}

	.site-nav {
		max-width: 100%;
		flex: 1 1 auto;
		width: auto;
	}

	.header-actions {
		width: 100%;
		overflow-x: auto;
	}

	.site-nav__link {
		min-height: 38px;
		font-size: 13px;
	}

	.detail-stage {
		padding-top: 126px;
	}

	.detail-panel {
		width: min(100% - 28px, 1220px);
		padding-top: 28px;
	}

	.detail-hero__media img {
		height: 62vw;
		min-height: 260px;
	}

	.detail-hero__title {
		font-size: 44px;
	}

	.detail-hero__lead {
		font-size: 16px;
	}

	.detail-block h2,
	.block-heading h2 {
		font-size: 28px;
	}

	.case-card strong {
		font-size: 18px;
	}

	.detail-block ul,
	.case-grid {
		grid-template-columns: 1fr;
	}

	.architecture-hero {
		min-height: calc(100svh - 126px);
	}

	.architecture-hero__content,
	.architecture-section {
		width: min(100% - 28px, 1220px);
	}

	.architecture-hero__content {
		padding-top: 118px;
	}

	.architecture-hero h1 {
		font-size: 40px;
	}

	.architecture-hero p {
		font-size: 15px;
		line-height: 1.8;
	}

	.architecture-section {
		padding: 58px 0;
	}

	.architecture-service-grid,
	.architecture-work-grid,
	.legacy-group-grid,
	.case-grid--dense {
		grid-template-columns: 1fr;
	}

	.architecture-service-card {
		min-height: auto;
	}

	.architecture-company-table,
	.architecture-company-table tbody,
	.architecture-company-table tr,
	.architecture-company-table th,
	.architecture-company-table td {
		display: block;
		width: 100%;
	}

	.architecture-company-table th,
	.architecture-company-table td {
		padding: 18px 20px;
	}
}

@media (max-width: 480px) {
	.brand__mark {
		width: 38px;
		height: 38px;
		font-size: 20px;
	}

	.brand__name {
		font-size: 14px;
	}

	.brand__sub {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
