:root {
	--sc-black: #111111;
	--sc-muted: #555b66;
	--sc-navy: #08295c;
	--sc-navy-dark: #061f47;
	--sc-soft: #f5f7fa;
	--sc-border: #dde2e8;
	--sc-focus: #1d5fd0;
	--sc-wide: 1280px;
	--sc-content: 1120px;
	--sc-article: 760px;
	--sc-radius: 12px;
	--sc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: var(--sc-black);
	font-family: var(--sc-font);
	font-size: 17px;
	line-height: 1.8;
	overflow-wrap: break-word;
}

img,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--sc-navy);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--sc-navy-dark);
}

:where(a, button, input, textarea, select):focus-visible {
	outline: 3px solid var(--sc-focus);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	line-height: 1.35;
	letter-spacing: 0.02em;
}

h1 {
	font-size: clamp(2.25rem, 5vw, 4.5rem);
}

h2 {
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

h3 {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
	margin-block: 0 1.5em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed !important;
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: #fff;
	color: var(--sc-black);
	border: 2px solid var(--sc-focus);
}

.wide-width,
.content-width,
.article-width {
	width: min(100% - 64px, var(--sc-wide));
	margin-inline: auto;
}

.content-width {
	max-width: var(--sc-content);
}

.article-width {
	max-width: var(--sc-article);
}

.section-space {
	padding-block: clamp(4rem, 8vw, 7.5rem);
}

.section-soft {
	background: var(--sc-soft);
}

.sc-pattern-section {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.sc-pattern-hero {
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.sc-pattern-cards > .wp-block-column,
.sc-pattern-cta {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius);
}

.sc-pattern-cta {
	margin-block: 3rem;
}

.sc-process-list {
	padding-left: 1.4rem;
}

.sc-process-list li {
	padding: 1rem 0 1rem 0.5rem;
	border-bottom: 1px solid var(--sc-border);
}

.wp-block-details {
	padding-block: 1rem;
	border-bottom: 1px solid var(--sc-border);
}

.wp-block-details summary {
	font-weight: 700;
	cursor: pointer;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table :where(th, td) {
	padding: 1rem;
	border: 1px solid var(--sc-border);
	text-align: left;
}

.eyebrow {
	margin: 0 0 0.3rem;
	color: var(--sc-navy);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.site-header {
	position: relative;
	z-index: 50;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid rgba(221, 226, 232, 0.65);
}

.site-header__inner {
	display: flex;
	width: min(100% - 64px, var(--sc-wide));
	min-height: 92px;
	margin-inline: auto;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	color: var(--sc-black);
	text-decoration: none;
}

.site-brand__mark {
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	overflow: hidden;
	background: #fff;
	border-radius: 50%;
}

.site-brand__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-brand__text {
	display: grid;
	line-height: 1.2;
}

.site-brand__text strong {
	font-size: 1rem;
	letter-spacing: 0.24em;
}

.site-brand__text small {
	margin-top: 0.35rem;
	font-size: 0.65rem;
}

.primary-menu,
.footer-menu {
	display: flex;
	margin: 0;
	padding: 0;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
	list-style: none;
}

.primary-menu a,
.footer-menu a {
	color: var(--sc-black);
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.primary-menu li:last-child a {
	display: inline-flex;
	padding: 0.7rem 1.2rem;
	background: var(--sc-navy);
	color: #fff;
	border-radius: 8px;
}

.menu-toggle {
	display: none;
	padding: 0.6rem 0.8rem;
	background: #fff;
	color: var(--sc-black);
	border: 1px solid var(--sc-black);
	border-radius: 6px;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 700;
}

.front-hero {
	padding-block: clamp(4rem, 9vw, 8.5rem);
}

.front-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
	align-items: center;
	gap: clamp(3rem, 8vw, 8rem);
}

.front-hero__copy {
	max-width: 660px;
}

.front-hero__copy h1 {
	margin: 0 0 1.5rem;
	font-size: clamp(2.7rem, 5.3vw, 5rem);
	letter-spacing: 0.05em;
}

.front-hero__copy > p:not(.eyebrow) {
	max-width: 620px;
	color: var(--sc-muted);
}

.front-hero__visual {
	position: relative;
	display: grid;
	min-height: 440px;
	place-items: center;
}

.front-hero__visual::before,
.front-hero__visual::after {
	position: absolute;
	width: 78%;
	height: 55%;
	border: 1px solid var(--sc-black);
	border-color: var(--sc-black) transparent transparent;
	border-radius: 50%;
	content: "";
	opacity: 0.45;
	transform: rotate(-16deg);
}

.front-hero__visual::after {
	width: 60%;
	height: 70%;
	transform: rotate(42deg);
}

.hero-mark {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	aspect-ratio: 1;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sc-border);
	border-radius: 50%;
}

.hero-mark__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.button-row {
	display: flex;
	margin-top: 2rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.button,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	min-height: 50px;
	padding: 0.75rem 1.6rem;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	border: 1px solid var(--sc-navy);
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button--primary {
	background: var(--sc-navy);
	color: #fff;
}

.button--primary:hover {
	background: var(--sc-navy-dark);
	color: #fff;
	transform: translateY(-2px);
}

.button--secondary {
	background: #fff;
	color: var(--sc-black);
	border-color: var(--sc-black);
}

.button--secondary:hover {
	background: var(--sc-soft);
	color: var(--sc-black);
	transform: translateY(-2px);
}

.section-heading {
	margin-bottom: 2.5rem;
}

.section-heading h2 {
	margin: 0;
}

.section-heading--row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
}

.text-link {
	font-weight: 700;
	text-decoration: none;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--sc-border);
	border-left: 1px solid var(--sc-border);
}

.service-card {
	position: relative;
	min-height: 250px;
	padding: 2rem;
	border-right: 1px solid var(--sc-border);
	border-bottom: 1px solid var(--sc-border);
	transition: background-color 160ms ease;
}

.service-card:hover {
	background: var(--sc-soft);
}

.service-card__number {
	display: block;
	margin-bottom: 2rem;
	color: var(--sc-muted);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
}

.service-card h3 {
	margin: 0 0 0.75rem;
}

.service-card p {
	color: var(--sc-muted);
	font-size: 0.92rem;
	line-height: 1.75;
}

.stretched-link {
	position: absolute;
	inset: 0;
	display: flex;
	padding: 1.5rem;
	align-items: end;
	justify-content: end;
	color: var(--sc-black);
	font-size: 1.4rem;
	text-decoration: none;
}

.work-grid,
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.front-page-entry .work-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-card,
.entry-card {
	min-width: 0;
}

.work-card__link,
.entry-card__link {
	display: block;
	height: 100%;
	color: var(--sc-black);
	text-decoration: none;
}

.work-card__media,
.entry-card__media {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #edf0f4;
	border-radius: 10px;
}

.work-card__media img,
.entry-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 250ms ease;
}

.work-card__link:hover img,
.entry-card__link:hover img {
	transform: scale(1.025);
}

.media-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	padding: 1rem;
	place-items: center;
	background:
		linear-gradient(135deg, transparent 49.5%, rgba(8, 41, 92, 0.12) 50%, transparent 50.5%),
		var(--sc-soft);
	color: var(--sc-muted);
	border: 1px solid var(--sc-border);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
}

.work-card__body,
.entry-card__body {
	padding-top: 1.15rem;
}

.work-card__body h2,
.entry-card__body h2,
.work-card__body h3 {
	margin: 0.3rem 0 0.75rem;
	font-size: 1.15rem;
}

.entry-card__body p {
	color: var(--sc-muted);
	font-size: 0.92rem;
}

.entry-meta {
	display: flex;
	color: var(--sc-muted);
	font-size: 0.8rem;
	gap: 1rem;
}

.entry-meta a {
	color: inherit;
}

.about-split,
.contact-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: start;
	gap: clamp(2.5rem, 7vw, 7rem);
}

.about-split h2,
.contact-band h2 {
	margin-top: 0;
}

.contact-band {
	padding-block: clamp(4rem, 7vw, 6rem);
	background: var(--sc-soft);
	border-block: 1px solid var(--sc-border);
}

.contact-band__inner {
	align-items: center;
}

.page-hero {
	padding-block: clamp(4rem, 7vw, 7rem);
	background: var(--sc-soft);
}

.page-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.25rem, 4vw, 4rem);
}

.page-hero p:last-child {
	max-width: 720px;
	margin-bottom: 0;
	color: var(--sc-muted);
}

.single-header {
	padding-top: clamp(4rem, 8vw, 7rem);
	padding-bottom: 2.5rem;
}

.single-header h1 {
	margin: 0.5rem 0 1.25rem;
	font-size: clamp(2.25rem, 4.5vw, 4rem);
}

.single-thumbnail,
.work-main-image {
	margin-bottom: 3rem;
}

.single-thumbnail img,
.work-main-image img {
	width: 100%;
	max-height: 780px;
	object-fit: cover;
	border-radius: var(--sc-radius);
}

.entry-content {
	padding-block: 1rem 5rem;
}

.entry-content > * {
	max-width: var(--sc-article);
	margin-inline: auto;
}

.entry-content > .alignwide {
	max-width: var(--sc-content);
}

.entry-content > .alignfull {
	max-width: none;
}

.entry-content :where(h2, h3) {
	margin-top: 2.25em;
}

.entry-content img {
	border-radius: 10px;
}

.entry-footer,
.comments-area {
	padding-bottom: 5rem;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tag-list a {
	padding: 0.25rem 0.6rem;
	background: var(--sc-soft);
	border-radius: 4px;
	font-size: 0.8rem;
	text-decoration: none;
}

.filter-nav {
	display: flex;
	margin-bottom: 3rem;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.filter-nav a {
	padding: 0.5rem 1rem;
	color: var(--sc-black);
	border: 1px solid var(--sc-border);
	border-radius: 999px;
	font-size: 0.85rem;
	text-decoration: none;
}

.filter-nav a.is-current {
	background: var(--sc-navy);
	color: #fff;
	border-color: var(--sc-navy);
}

.work-layout {
	padding-bottom: 6rem;
}

.work-meta {
	margin: 0 0 4rem;
	border-top: 1px solid var(--sc-border);
}

.work-meta > div {
	display: grid;
	grid-template-columns: minmax(130px, 0.3fr) minmax(0, 1fr);
	border-bottom: 1px solid var(--sc-border);
}

.work-meta dt,
.work-meta dd {
	margin: 0;
	padding: 1rem 0;
}

.work-meta dt {
	color: var(--sc-muted);
	font-size: 0.85rem;
	font-weight: 700;
}

.work-note,
.work-gallery,
.work-video {
	margin-top: 4rem;
}

.work-note {
	padding: 2rem;
	background: var(--sc-soft);
	border-radius: var(--sc-radius);
}

.work-note h2,
.work-gallery h2,
.work-video h2 {
	margin-top: 0;
	font-size: 1.5rem;
}

.work-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.work-gallery__grid img {
	width: 100%;
	border-radius: 10px;
}

.responsive-embed {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--sc-soft);
}

.responsive-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.navigation.pagination {
	margin-top: 4rem;
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	min-height: 42px;
	padding: 0.35rem;
	place-items: center;
	border: 1px solid var(--sc-border);
	border-radius: 6px;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--sc-navy);
	color: #fff;
	border-color: var(--sc-navy);
}

.search-form {
	display: flex;
	max-width: 600px;
	gap: 0.5rem;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
	width: 100%;
	padding: 0.75rem 0.9rem;
	background: #fff;
	color: var(--sc-black);
	border: 1px solid #8b929c;
	border-radius: 6px;
	font: inherit;
}

.search-submit,
input[type="submit"] {
	padding: 0.75rem 1.2rem;
	background: var(--sc-navy);
	color: #fff;
	border: 1px solid var(--sc-navy);
	border-radius: 6px;
	font: inherit;
	font-weight: 700;
}

.empty-state,
.error-page {
	padding-block: clamp(5rem, 10vw, 10rem);
	text-align: center;
}

.empty-state .search-form,
.error-page .search-form,
.error-page .button-row {
	margin-inline: auto;
	justify-content: center;
}

.error-code {
	margin: 0;
	color: var(--sc-border);
	font-size: clamp(6rem, 20vw, 13rem);
	font-weight: 900;
	line-height: 1;
}

.site-footer {
	padding-top: 4.5rem;
	border-top: 1px solid var(--sc-border);
}

.site-footer__inner {
	display: grid;
	width: min(100% - 64px, var(--sc-wide));
	margin-inline: auto;
	grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
	align-items: center;
	gap: 3rem;
}

.site-footer__brand p {
	max-width: 520px;
	margin: 1.5rem 0 0;
	color: var(--sc-muted);
	font-size: 0.85rem;
}

.footer-menu {
	justify-content: end;
	flex-wrap: wrap;
}

.site-footer__bottom {
	width: min(100% - 64px, var(--sc-wide));
	margin: 3rem auto 0;
	padding-block: 1.5rem;
	color: var(--sc-muted);
	border-top: 1px solid var(--sc-border);
	font-size: 0.75rem;
	text-align: center;
}

@media (max-width: 1100px) {
	.primary-menu {
		gap: 0.85rem;
	}

	.primary-menu a {
		font-size: 0.78rem;
	}

	.service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.front-page-entry .work-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.site-header__inner {
		min-height: 76px;
	}

	.menu-toggle {
		display: none;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: block;
		padding: 1rem 32px 2rem;
		background: #fff;
		border-bottom: 1px solid var(--sc-border);
	}

	.has-menu-toggle .menu-toggle {
		display: inline-flex;
	}

	.has-menu-toggle .primary-nav {
		display: none;
	}

	.has-menu-toggle.menu-is-open .primary-nav {
		display: block;
	}

	.primary-menu {
		display: grid;
		gap: 0;
	}

	.primary-menu a,
	.primary-menu li:last-child a {
		display: block;
		padding: 0.85rem 0;
		background: transparent;
		color: var(--sc-black);
		border-bottom: 1px solid var(--sc-border);
		border-radius: 0;
		font-size: 1rem;
	}

	.front-hero__grid {
		grid-template-columns: 1fr;
	}

	.front-hero__visual {
		min-height: 360px;
	}

	.hero-mark {
		max-width: 360px;
	}

	.work-grid,
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.footer-menu {
		justify-content: start;
	}
}

@media (max-width: 680px) {
	body {
		font-size: 16px;
	}

	.wide-width,
	.content-width,
	.article-width,
	.site-header__inner,
	.site-footer__inner,
	.site-footer__bottom {
		width: min(100% - 40px, var(--sc-wide));
	}

	.site-brand__mark {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
	}

	.site-brand__text strong {
		font-size: 0.82rem;
		letter-spacing: 0.16em;
	}

	.site-brand__text small {
		font-size: 0.58rem;
	}

	.primary-nav {
		padding-inline: 20px;
	}

	.front-hero {
		padding-top: 3rem;
	}

	.front-hero__copy h1 {
		font-size: clamp(2.3rem, 12vw, 3.35rem);
	}

	.front-hero__visual {
		min-height: 280px;
	}

	.hero-mark {
		max-width: 280px;
	}

	.service-grid,
	.work-grid,
	.post-grid,
	.front-page-entry .work-grid,
	.about-split,
	.contact-band__inner,
	.work-gallery__grid {
		grid-template-columns: 1fr;
	}

	.section-heading--row {
		align-items: start;
		flex-direction: column;
	}

	.service-card {
		min-height: 220px;
		padding: 1.5rem;
	}

	.work-meta > div {
		grid-template-columns: 1fr;
	}

	.work-meta dt {
		padding-bottom: 0;
	}

	.work-meta dd {
		padding-top: 0.25rem;
	}

	.footer-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
}

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

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