:root {
	--color-text: #173f5d;
	--color-text-sub: #4c5d67;
	--color-muted: #394f5e;
	--color-blue: #2f73be;
	--color-cyan: #31b7e5;
	--color-purple: #765eaa;
	--color-header-cta: #246887;
	--color-white: #ffffff;
	--color-line: #d9e4e9;
	--color-footer: #246887;

	--gradient-main: linear-gradient(120deg, #27627d 0%, #3c7194 48%, #68578f 100%);
	--gradient-light: linear-gradient(120deg, #eee8f7 0%, #f2f5fa 55%, #e2f5f8 100%);
	--gradient-hero: linear-gradient(90deg, #f1f9fc 0%, #f3f6fa 55%, #f5f1f8 100%);
	--gradient-coral: linear-gradient(90deg, #e95538 0%, #d84b62 100%);
	--gradient-text: linear-gradient(90deg, #31b7e5 0%, #2f73be 52%, #765eaa 100%);

	--font-sans: 'Zen Kaku Gothic New', sans-serif;
	--font-en: 'DM Sans', sans-serif;

	--font-body: clamp(14px, calc(18/1920 * 100vw), 18px);
	--font-small: clamp(12px, calc(14/1920 * 100vw), 14px);
	--font-heading-small: clamp(12px, calc(24/1920 * 100vw), 24px);
	--font-heading-medium: clamp(28px, calc(48/1920 * 100vw), 48px);
	--font-heading-large: clamp(57px, calc(124/1920 * 100vw), 124px);

	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-5: 40px;
	--space-6: 64px;
	--space-7: 80px;
	--space-8: 96px;
	--space-9: 120px;
	--space-10: 160px;

	--container: 1220px;
	--gutter: 20px;
	--header-h: 70px;
	--header-pad: 72px;
	--ease: 0.3s ease;

	--section-padding: 140px;
}

.en {
	font-family: var(--font-en);
}

.deco-text,
.service-intro__deco,
.about-profile__deco,
.works-list-section__deco,
.site-footer__project-label,
.site-footer__copyright,
.global-nav__project-label,
.global-nav__project .ext-link,
.site-footer__project .ext-link,
.work-point__num,
.top-issues__index,
.direction-step__num {
	font-family: var(--font-en);
}

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

.u-nowrap {
	white-space: nowrap;
}

html {
	overflow-x: hidden;
	scroll-padding-top: var(--header-h);
}

body {
	font-family: var(--font-sans);
	font-size: var(--font-body);
	font-weight: 500;
	color: var(--color-text);
	background: var(--color-white);
	overflow-x: hidden;
	padding-top: var(--header-h);
}

body.is-menu-open {
	overflow: hidden;
}

.page-header,
.sng-toc,
#toc_container {
	display: none !important;
}

.top-about__photo,
.top-service__photo,
.about-photo,
.service-detail__image,
.works-item__image,
.archive-item__image,
.work-detail-visual__image {
	width: 100%;
	height: auto !important;
}

.trust-card__img,
.doc img,
.doc .wp-block-image img {
	height: auto !important;
}

:focus-visible {
	outline: 2px solid var(--color-blue);
	outline-offset: 3px;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	position: relative;
}

.site-footer {
	z-index: 1;
}

.js .js-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.js .js-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.js .js-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Buttons & links */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	min-height: 64px;
	padding: 12px 24px 12px 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition:
		transform var(--ease),
		background var(--ease),
		box-shadow var(--ease);
}

.btn--coral {
	color: var(--color-white);
	background: var(--gradient-coral);
}

a.btn,
a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:focus,
a.btn:active {
	text-decoration: none;
	opacity: 1;
	filter: none;
	box-shadow: none;
}

a.btn--coral,
a.btn--coral:link,
a.btn--coral:visited,
a.btn--coral:hover,
a.btn--coral:focus,
a.btn--coral:active {
	color: var(--color-white);
	background: var(--gradient-coral);
}

.btn--coral:hover {
	background: var(--gradient-coral);
}

.btn--wide {
	min-width: min(100%, 360px);
	min-height: 64px;
	padding: 12px 32px 12px 40px;
}

.btn__arrow {
	display: block;
	width: 8px;
	height: 8px;
	flex-shrink: 0;
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--ease);
}

.btn--coral:hover .btn__arrow {
	transform: translateX(4px) rotate(45deg);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 64px;
	font-size: var(--font-heading-small);
	font-weight: 700;
	color: var(--color-text);
	transition: color var(--ease);
}

a.text-link,
a.text-link:link,
a.text-link:visited {
	color: var(--color-text);
	text-decoration: none;
	opacity: 1;
	background: none;
	box-shadow: none;
	filter: none;
}

.text-link:hover,
a.text-link:hover,
a.text-link:focus {
	color: var(--color-blue);
	text-decoration: none;
	opacity: 1;
}

.text-link:hover .circle-arrow {
	transform: translateX(4px);
	background: var(--color-blue);
}

.text-link--light,
a.text-link--light,
a.text-link--light:link,
a.text-link--light:visited,
a.text-link--light:hover,
a.text-link--light:focus,
a.text-link--light:active {
	color: var(--color-white);
}

.text-link--light:hover .circle-arrow--light {
	background: var(--color-white);
}

.circle-arrow {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border: 1px solid var(--color-blue);
	border-radius: 50%;
	transition:
		transform var(--ease),
		background var(--ease),
		border-color var(--ease);
}

.circle-arrow::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--color-blue);
	border-top: 2px solid var(--color-blue);
	transform: rotate(45deg);
	margin-left: -2px;
	transition: border-color var(--ease);
}

.circle-arrow--down::after {
	transform: rotate(135deg);
	margin-left: 0;
	margin-top: -2px;
}

.text-link:hover .circle-arrow::after {
	border-color: var(--color-white);
}

.circle-arrow--light {
	border-color: var(--color-white);
	background: var(--color-white);
}

.circle-arrow--light::after {
	border-color: var(--color-blue);
}

.text-link--light:hover .circle-arrow--light::after {
	border-color: var(--color-blue);
}

.ext-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	min-height: 44px;
	font-size: var(--font-small);
	color: var(--color-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color var(--ease);
}

a.ext-link,
a.ext-link:link,
a.ext-link:visited {
	text-decoration: underline;
	text-underline-offset: 3px;
	opacity: 1;
	background: none;
	box-shadow: none;
	filter: none;
}

.ext-link:hover,
a.ext-link:hover,
a.ext-link:focus {
	color: var(--color-purple);
	opacity: 1;
}

.ext-link__icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 1.5px solid currentColor;
	position: relative;
	flex-shrink: 0;
}

.ext-link__icon::after {
	content: '';
	position: absolute;
	top: -3px;
	right: -3px;
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
}

.ext-link--light,
a.ext-link--light,
a.ext-link--light:link,
a.ext-link--light:visited {
	color: var(--color-white);
	text-decoration: none;
}

.ext-link--light:hover,
a.ext-link--light:hover,
a.ext-link--light:focus,
a.ext-link--light:active {
	color: var(--color-cyan);
}

/* Header */

.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	z-index: 130;
	background: var(--color-white);
	transition:
		box-shadow var(--ease),
		background var(--ease);
}

.site-header.is-scrolled {
	background: var(--color-white);
	box-shadow: 0 1px 0 var(--color-line);
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: var(--header-h);
	padding-inline: var(--header-pad);
	gap: var(--space-3);
}

.logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	min-height: 48px;
}

.logo__image {
	display: block;
	width: auto;
	height: 48px;
}

.global-nav {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}

.global-nav__list {
	display: flex;
	align-items: center;
	gap: var(--space-5);
}

.site-header a:not(.btn),
.site-header a:not(.btn):link,
.site-header a:not(.btn):visited {
	color: var(--color-text);
	opacity: 1;
	text-decoration: none;
	background-color: transparent;
	box-shadow: none;
	filter: none;
}

.site-header a:not(.btn):hover,
.site-header a:not(.btn):focus,
.site-header a:not(.btn):active {
	color: var(--color-text);
	opacity: 1;
	text-decoration: none;
	background-color: transparent;
	box-shadow: none;
	filter: none;
}

.global-nav__link,
.global-nav__sub-link {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	font-size: var(--font-body);
	font-weight: 400;
	letter-spacing: 0.04em;
	position: relative;
	color: var(--color-text);
}

.global-nav__link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 100%;
	height: 1px;
	background: var(--color-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--ease);
}

.global-nav__link:hover::after {
	transform: scaleX(1);
}

.site-header__cta {
	min-height: 32px;
	min-width: 130px;
	padding: 8px 16px;
	padding-bottom: 10px;
	font-size: var(--font-body);
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--color-white);
	background: var(--color-header-cta);
	gap: var(--space-2);
}

.site-header .site-header__cta,
.site-header .site-header__cta:link,
.site-header .site-header__cta:visited,
.site-header .site-header__cta:hover,
.site-header .site-header__cta:focus,
.site-header .site-header__cta:active {
	color: var(--color-white);
	opacity: 1;
	background: var(--color-header-cta);
	box-shadow: none;
	filter: none;
}

.site-header .site-header__cta:hover,
.site-header .site-header__cta:focus {
	background: var(--color-purple);
}

.nav-sp {
	display: none;
}

.menu-toggle {
	display: none;
	position: relative;
	z-index: 140;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	margin-left: auto;
}

.menu-toggle__bar {
	position: absolute;
	top: 50%;
	right: 0;
	display: block;
	width: 22px;
	height: 2px;
	margin: 0;
	background: var(--color-text);
	transition:
		transform var(--ease),
		opacity var(--ease);
}

.menu-toggle__bar:nth-child(1) {
	transform: translateY(calc(-50% - 7px));
}

.menu-toggle__bar:nth-child(2) {
	transform: translateY(-50%);
}

.menu-toggle__bar:nth-child(3) {
	transform: translateY(calc(-50% + 7px));
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bar:nth-child(1) {
	transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bar:nth-child(3) {
	transform: translateY(-50%) rotate(-45deg);
}

.btn--hero {
	min-width: 251px;
	min-height: 61px;
	padding: 0 22px 0 56px;
	justify-content: space-between;
	gap: 0;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.1em;
	background: var(--gradient-coral);
	box-shadow: 0 10px 24px rgb(210 70 90 / 0.22);
}

.site-footer__copy {
	text-wrap: pretty;
}

/* Footer */

.site-footer {
	background: var(--color-footer);
	color: var(--color-white);
	padding-top: 88px;
	padding-bottom: 40px;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited {
	color: var(--color-white);
	text-decoration: none;
	background-color: transparent;
	box-shadow: none;
	filter: none;
}

.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
	color: var(--color-white);
	text-decoration: none;
	background-color: transparent;
	box-shadow: none;
	filter: none;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
	gap: 48px 40px;
	padding-bottom: 48px;
	align-items: start;
}

.site-footer__copy {
	margin-top: 20px;
	font-size: 13px;
	line-height: 2;
}

.site-footer__nav {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.site-footer__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	align-items: start;
}

.site-footer__main {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	transition: opacity var(--ease);
}

.site-footer__main--strong {
	font-weight: 700;
}

.site-footer .site-footer__main:hover,
.site-footer .site-footer__sub:hover {
	opacity: 0.7;
	color: var(--color-white);
}

.site-footer .ext-link--light:hover,
.site-footer .ext-link--light:focus {
	color: var(--color-cyan);
	opacity: 1;
}

.site-footer__sub {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}

.site-footer__project {
	margin-top: 12px;
	max-width: 12em;
}

.site-footer__project-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-bottom: 8px;
}

.site-footer__copyright {
	text-align: center;
	font-size: 12px;
	opacity: 0.85;
}

.logo--footer .logo__mark {
	width: 48px;
	mix-blend-mode: screen;
}

.logo--footer .logo__name {
	color: var(--color-white);
	font-size: 26px;
}

@media (max-width: 1199px) {
	:root {
		--font-heading-small: 20px;
	}

	.menu-toggle {
		display: block;
		position: absolute;
		top: 50%;
		right: var(--gutter);
		transform: translateY(-50%);
		margin: 0;
	}

	.site-header__inner {
		padding-inline: var(--gutter);
	}

	.nav-pc {
		display: none;
	}

	.global-nav__list > .nav-sp {
		display: block;
	}

	.global-nav__sub.nav-sp,
	.global-nav__project.nav-sp {
		display: flex;
		flex-direction: column;
	}

	.global-nav {
		position: fixed;
		inset: 0;
		z-index: 110;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		gap: var(--space-4);
		padding: calc(var(--header-h) + 24px) var(--gutter) var(--space-6);
		overflow-x: hidden;
		overflow-y: auto;
		background: var(--color-white);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition:
			opacity 0.35s ease,
			visibility 0.35s ease;
	}

	.global-nav::before {
		content: '';
	}

	.global-nav > * {
		position: relative;
		z-index: 1;
	}

	.global-nav.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.global-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-1);
	}

	.global-nav__link {
		font-size: 20px;
	}

	.global-nav__sub {
		gap: 8px;
		padding-top: 16px;
		border-top: 1px solid var(--color-line);
	}

	.global-nav__sub-link {
		font-size: 14px;
		letter-spacing: 0.04em;
	}

	.global-nav__project-label {
		margin-bottom: 4px;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.14em;
		color: var(--color-text-sub);
	}

	.site-footer__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer {
		min-height: 0;
		padding-top: 64px;
	}

}

@media (max-width: 767px) {
	:root {
		--gutter: clamp(16px, 5.333vw, 20px);
		--header-h: 64px;
		--section-padding: 80px;
		--font-heading-small: 16px;
		--lh-heading-small: 1.6;
	}

	.text-link,
	.top-issues__status,
	.top-issues__name,
	.flow-item__num,
	.flow-item__title,
	.service-card__title,
	.works-item__title,
	.voice-card__title,
	.work-detail-hero__lead {
		line-height: var(--lh-heading-small);
	}

	.site-header__inner {
		min-height: var(--header-h);
		padding-inline: var(--gutter);
	}

	.btn,
	.text-link {
		font-size: 15px;
	}

	.logo__image {
		height: 28px;
	}

	.logo__wordmark {
		height: 22px;
	}

	.logo__mark {
		width: 36px;
	}

	.site-footer__copy {
		font-size: 14px;
	}
}

@media (max-width: 359px) {
	.break--wide-mobile {
		display: none;
	}

}
.sp-only {
	display: none;
}

@media (max-width: 767px) {
	.sp-only {
		display: revert;
	}
}

@media (max-width: 767px) {
	.pc-only {
		display: none;
	}
}
