/*
 * Shared desktop navigation hover treatment.
 * Transform-based scaling avoids changing layout dimensions.
 */
@media screen and (min-width: 1001px) {
	.fixbar .pc-menu .menus.cl-effect-5 a {
		overflow: visible !important;
	}

	.fixbar .pc-menu .menus.cl-effect-5 a span {
		display: inline-block;
		color: #fff !important;
		transform: none !important;
		transform-origin: center;
		transition: color 0.22s ease, transform 0.22s ease;
		will-change: color, transform;
	}

	.fixbar .pc-menu .menus.cl-effect-5 a span::before {
		display: none !important;
		content: none !important;
	}

	.fixbar .pc-menu .menus.cl-effect-5 a:hover span,
	.fixbar .pc-menu .menus.cl-effect-5 a:focus span,
	.fixbar .pc-menu .menus.cl-effect-5 a:focus-visible span {
		color: #d9d9d9 !important;
		transform: scale(1.12) !important;
	}
}

/* Lightweight lift feedback for interactive elements without custom motion. */
@media (hover: hover) and (pointer: fine) {
	:where(a, button, [role="button"]):not(.about-service-preview) {
		transition-property: translate, filter;
		transition-duration: 140ms;
		transition-timing-function: ease-out;
	}

	:where(a, button, [role="button"]):not(.about-service-preview):hover {
		translate: 0 -2px;
		filter: brightness(1.035);
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(a, button, [role="button"]) {
		transition-duration: 0.01ms !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fixbar .pc-menu .menus.cl-effect-5 a span {
		transition: color 0.01ms linear;
	}

	.fixbar .pc-menu .menus.cl-effect-5 a:hover span,
	.fixbar .pc-menu .menus.cl-effect-5 a:focus span,
	.fixbar .pc-menu .menus.cl-effect-5 a:focus-visible span {
		transform: none !important;
	}
}

/* Shared JPEN logo: white in the black navigation bars, black elsewhere. */
header {
	padding: 0 !important;
	background: transparent !important;
}

.fixbar,
.fixbar .pc-menu,
.sp-menu .header {
	background-color: #ff0066 !important;
}

.pink-background-page .fixbar,
.pink-background-page .fixbar .pc-menu,
.pink-background-page .sp-menu .header {
	background-color: #ff0066 !important;
}

.pink-background-page .fixbar .logo img,
.pink-background-page .sp-menu .sp-logo img {
	filter: brightness(0) invert(1);
}

@media screen and (min-width: 1001px) {
	.pink-background-page .fixbar .pc-menu .menus.cl-effect-5 a span {
		color: #fff !important;
	}

	.pink-background-page .fixbar .pc-menu .menus.cl-effect-5 a:hover span,
	.pink-background-page .fixbar .pc-menu .menus.cl-effect-5 a:focus span,
	.pink-background-page .fixbar .pc-menu .menus.cl-effect-5 a:focus-visible span {
		color: #d9d9d9 !important;
	}
}

.fixbar .logo img,
.sp-menu .sp-logo img {
	filter: brightness(0) invert(1);
}

.fixbar .logo img {
	height: 32px;
}

.sp-menu .sp-logo img {
	height: 32px;
}

/* Shared menu icon color. */
.bar,
.bar::before,
.bar::after,
.menu-icon:hover .bar,
.menu-icon:hover .bar::before,
.menu-icon:hover .bar::after,
.bar--active,
.bar--active::before,
.bar--active::after {
	background-color: #fff !important;
}

.overlay {
	visibility: hidden;
	pointer-events: none;
}

.overlay.overlay--active {
	visibility: visible;
	pointer-events: auto;
}

body.menu-open {
	overflow: hidden;
}

.pink-background-page .bar,
.pink-background-page .bar::before,
.pink-background-page .bar::after,
.pink-background-page .menu-icon:hover .bar,
.pink-background-page .menu-icon:hover .bar::before,
.pink-background-page .menu-icon:hover .bar::after,
.pink-background-page .bar--active,
.pink-background-page .bar--active::before,
.pink-background-page .bar--active::after {
	background-color: #fff !important;
}

.pink-background-page footer {
	background-color: #fff !important;
}

.pink-background-page footer a,
.pink-background-page footer p,
.pink-background-page footer li {
	color: #222 !important;
}

.pink-background-page footer .center img {
	filter: none;
}

.top_fade {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	perspective: 1200px;
	text-align: center;
}

.mainimg .top_fade .mainlogo {
	transform-origin: 50% 0%;
	backface-visibility: hidden;
	animation: top-logo-rise 1.35s cubic-bezier(0.22, 0.8, 0.3, 1) both;
	will-change: transform, opacity, filter;
}

@keyframes top-logo-rise {
	0% {
		opacity: 0;
		filter: blur(5px);
		transform: rotateX(-88deg) translateY(-12px) scale(0.98);
	}

	62% {
		opacity: 1;
		filter: blur(0);
		transform: rotateX(7deg) translateY(0) scale(1);
	}

	82% {
		transform: rotateX(-2deg) translateY(0) scale(1);
	}

	100% {
		opacity: 1;
		filter: blur(0);
		transform: rotateX(0deg) translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mainimg .top_fade .mainlogo {
		animation: none;
	}
}

.top-logo-subtitle {
	display: block;
	margin: 0;
	color: #111;
	font-size: clamp(18px, 2.2vw, 30px);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4;
}

.top-section-heading {
	position: relative;
	width: 100%;
	margin: 0 0 18px;
	color: #202024;
	font-size: clamp(48px, 6vw, 76px);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-align: left;
}

.top_recruit,
.top_company {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 330px);
	grid-template-rows: auto auto;
	column-gap: clamp(24px, 5vw, 88px);
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding-left: clamp(20px, 6.5vw, 100px) !important;
	padding-right: clamp(20px, 6.5vw, 100px) !important;
	text-align: left;
	overflow: hidden;
}

.top_recruit > .top-section-heading,
.top_recruit > .top-text-panel,
.top_company > .top-section-heading,
.top_company > .top-text-panel {
	box-sizing: border-box;
	position: static !important;
	inset: auto !important;
	grid-column: 1;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	text-align: left !important;
	text-indent: 0 !important;
	transform: none !important;
}

.top_recruit > .top-section-heading,
.top_company > .top-section-heading {
	grid-row: 1;
}

.top_recruit > .top-text-panel,
.top_company > .top-text-panel {
	grid-row: 2;
	align-self: start;
}

.top-section-preview {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 3px;
	box-shadow: 0 12px 28px rgba(34, 46, 54, 0.12);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.top-section-preview img {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	object-fit: cover;
	object-position: center;
	filter: sepia(0.92) saturate(0.9) contrast(1.04) brightness(0.94);
	transform: scale(1.3) translate(-5%, -4%);
	transform-origin: center;
}

.top-section-preview:hover,
.top-section-preview:focus-visible {
	box-shadow: 0 16px 34px rgba(34, 46, 54, 0.18);
	transform: translateY(-4px);
}

.top-text-panel {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	color: #222;
	font-size: clamp(17px, 1.6vw, 22px);
	font-weight: 400;
	line-height: 1.7;
	text-align: left;
	white-space: normal;
	overflow-wrap: anywhere;
}

.top-text-link {
	display: inline-block;
	margin-left: 0.15em;
	padding: 2px 10px;
	color: #333;
	background: #fff;
	border-radius: 3px;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.top-text-link:hover {
	color: #222;
	background: #dff1ff;
	transform: translateY(-3px);
	box-shadow: 0 8px 16px rgba(62, 145, 204, 0.18);
}

.career .career-recruit-link {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 90%;
	max-width: 500px;
	min-height: 108px;
	margin: 0 auto;
	padding: 20px 28px;
	color: #ff315f;
	background: #fff;
	font-size: clamp(21px, 2.35vw, 28px);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.01em;
	white-space: nowrap;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.career .career-recruit-link:hover {
	color: #f0184c;
	background: #dff1ff;
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(62, 145, 204, 0.16);
}

.top-news-notebook {
	--notebook-row: 56px;
	position: relative;
	box-sizing: border-box;
	width: calc(100% - clamp(40px, 13vw, 200px));
	max-width: 1200px;
	min-height: calc(var(--notebook-row) * 7);
	margin: calc(var(--notebook-row) * 3) auto;
	padding: 0 clamp(34px, 4vw, 52px);
	color: #2b2b2f;
	background:
		repeating-linear-gradient(
			to bottom,
			#fff 0,
			#fff calc(var(--notebook-row) - 1px),
			#c9d1d8 calc(var(--notebook-row) - 1px),
			#c9d1d8 var(--notebook-row)
		);
	box-shadow: 0 12px 30px rgba(44, 54, 64, 0.08);
}

.top-news-notebook::before {
	position: absolute;
	top: 0;
	left: 6px;
	width: 20px;
	height: calc(var(--notebook-row) * 7);
	content: "";
	background-image:
		radial-gradient(
			circle at center,
			#fff5f8 0 6px,
			#aeb8bf 6.5px,
			#e4e8eb 8px,
			rgba(84, 96, 105, 0.18) 8.5px,
			transparent 9.5px
		);
	background-position: center top;
	background-repeat: repeat-y;
	background-size: 20px var(--notebook-row);
	filter: drop-shadow(0 1px 1px rgba(48, 58, 66, 0.2));
	pointer-events: none;
}

.top-news-notebook__lead-line,
.top-news-notebook h2,
.top-news-notebook p {
	box-sizing: border-box;
	height: var(--notebook-row);
	margin: 0;
}

.top-news-notebook h2 {
	display: flex;
	align-items: center;
}

.top-news-notebook h2 span {
	position: absolute;
	z-index: 2;
	top: calc(var(--notebook-row) * 1.5);
	left: calc(26px + 2ch);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin-left: 0;
	padding: 3px 10px 4px;
	color: #e72f4f;
	background: #fff;
	border: 3px solid currentColor;
	font-family: "Segoe Print", "Comic Sans MS", "Hiragino Maru Gothic ProN", cursive;
	font-size: clamp(18px, 2vw, 25px);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.05;
	box-shadow: 1px 1px 0 rgba(231, 47, 79, 0.22);
	transform: translateY(-50%) rotate(-0.7deg);
}

.top-news-notebook__item {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: center;
	gap: clamp(22px, 4vw, 58px);
	font-family: "Yu Kyokasho", "UD Digi Kyokasho NK-R", "Klee One", cursive;
	font-size: clamp(14px, 1.4vw, 18px);
	font-weight: 500;
	line-height: 1.4;
}

.top-news-notebook__item time {
	color: #7d858c;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.top-news-notebook__item span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.top-news-notebook__content {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.top-news-notebook__new {
	position: relative;
	isolation: isolate;
	margin-left: 0.75em;
	color: #345e40;
	font-family: "Segoe Print", "Comic Sans MS", "Yu Kyokasho", cursive;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.top-news-notebook__new::before {
	position: absolute;
	z-index: -1;
	top: 42%;
	right: -0.28em;
	bottom: -0.08em;
	left: -0.28em;
	content: "";
	background: rgba(157, 224, 151, 0.58);
	border-radius: 2px 4px 3px 2px;
	transform: rotate(-2deg) skewX(-4deg);
}

.top-news-notebook__blank-lines {
	height: calc(var(--notebook-row) * 4);
}

.top_recruit,
.top_company {
	position: relative;
}

.top_recruit::before,
.top_recruit::after,
.top_company::before,
.top_company::after {
	position: absolute;
	z-index: 4;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	width: 0;
	height: 0;
	content: "";
	pointer-events: none;
	transition: width 140ms ease-out, height 140ms ease-out;
}

.top_recruit::before,
.top_company::before {
	border-bottom: 2px solid #242424;
	border-left: 2px solid #242424;
}

.top_recruit::after,
.top_company::after {
	border-top: 2px solid #242424;
	border-right: 2px solid #242424;
}

.top_recruit:hover::after,
.top_company:hover::after {
	width: 100%;
	height: 100%;
	transition-delay: 140ms, 0ms;
}

.top_recruit:hover::before,
.top_company:hover::before {
	width: 100%;
	height: 100%;
	transition-delay: 0ms, 140ms;
}

.top_recruit,
.top_company {
	transition: background-color 180ms ease, box-shadow 180ms ease;
}

.top_recruit:hover,
.top_company:hover {
	background-color: #dff1ff;
	box-shadow: 0 18px 36px rgba(62, 145, 204, 0.12);
}

.top_recruit:hover > .top-section-heading,
.top_company:hover > .top-section-heading {
	background-color: #fff5f8;
}

.mainimg > a.top_scrolldown {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: max-content;
	margin: 0 auto;
	color: #111;
	text-decoration: none;
}

.top-scrolldown-arrows {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.top-scrolldown-arrows i {
	display: block;
	width: 7px;
	height: 7px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
}

@media screen and (max-width: 1000px) {
	.top_fade {
		gap: 12px;
	}

	.top-logo-subtitle {
		font-size: clamp(15px, 4.5vw, 22px);
	}

	.top-text-panel {
		font-size: clamp(16px, 4.4vw, 20px);
	}

	.top-section-heading {
		margin-bottom: 14px;
		font-size: clamp(42px, 13vw, 62px);
	}

	.top_recruit,
	.top_company {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		column-gap: 0;
	}

	.top_recruit > .top-section-heading,
	.top_recruit > .top-text-panel,
	.top_company > .top-section-heading,
	.top_company > .top-text-panel,
	.top-section-preview {
		grid-column: 1;
		grid-row: auto;
	}

	.top-section-preview {
		width: min(78vw, 330px);
		margin: 10px 0 24px;
	}

	.career .career-recruit-link {
		padding-right: 12px;
		padding-left: 12px;
		font-size: clamp(13px, 4.2vw, 21px);
	}

	.mainimg > a.top_scrolldown {
		bottom: 65px;
	}

	.top-news-notebook {
		--notebook-row: 50px;
		width: calc(100% - 36px);
		margin-block: calc(var(--notebook-row) * 3);
		padding-right: 18px;
		padding-left: 36px;
	}

	.top-news-notebook__item {
		justify-content: center;
		gap: clamp(12px, 4vw, 28px);
	}
}

/* Shared page heading follows the About page's title structure. */
.about-heading {
	display: block;
	padding: 110px 0 45px 100px;
	line-height: 1.2;
}

.about-heading strong {
	display: block;
	font-size: 72px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.about-heading span {
	display: block;
	margin-top: 12px;
	font-size: 28px;
	font-weight: 400;
	white-space: nowrap;
}

.about-page-main .about-heading {
	position: relative;
	isolation: isolate;
}

.about-page-main .about-heading::before,
.about-page-main .about-heading::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.about-page-main .about-heading::before {
	z-index: -2;
	top: calc(50% - 8px);
	left: 45px;
	width: clamp(54px, 5.6vw, 72px);
	aspect-ratio: 1.08 / 1;
	border: 1.5px solid #202024;
	background: #fff;
	transform: translateY(-54%);
}

.about-page-main .about-heading::after {
	z-index: -1;
	top: calc(50% - clamp(22px, 2.35vw, 30px) - 8px);
	left: 51px;
	width: clamp(47px, 4.9vw, 63px);
	aspect-ratio: 1.08 / 1;
	border: 1px solid #e0dc00;
	background: #fffd66;
}

.about-page-main .about-heading strong,
.about-page-main .about-heading span {
	position: relative;
	z-index: 1;
}

.about-page-main .mission-heading-group .about-heading::before {
	left: -55px;
}

.about-page-main .mission-heading-group .about-heading::after {
	left: -49px;
}

.accent-square-heading {
	position: relative;
	isolation: isolate;
}

.accent-square-heading::before,
.accent-square-heading::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.accent-square-heading::before {
	z-index: -2;
	top: calc(50% - 16px);
	left: -63px;
	width: clamp(54px, 5.6vw, 72px);
	aspect-ratio: 1.08 / 1;
	border: 1.5px solid #202024;
	background: rgba(255, 255, 255, 0.92);
	transform: translateY(-54%);
}

.accent-square-heading::after {
	z-index: -1;
	top: calc(50% - clamp(22px, 2.35vw, 30px) - 16px);
	left: -57px;
	width: clamp(47px, 4.9vw, 63px);
	aspect-ratio: 1.08 / 1;
	border: 1px solid #e0dc00;
	background: #fffd66;
}

.accent-square-heading strong,
.accent-square-heading span {
	position: relative;
	z-index: 1;
}

/*
 * Anchor the yellow motif to the heading text itself. This keeps the
 * top-left relationship identical even when page-level padding differs.
 */
.about-page-main .about-heading::before,
.about-page-main .about-heading::after,
.accent-square-heading::before,
.accent-square-heading::after {
	display: none;
}

.about-page-main .about-heading strong,
.accent-square-heading strong {
	position: relative;
	isolation: isolate;
	width: max-content;
}

.about-page-main .about-heading strong::before,
.about-page-main .about-heading strong::after,
.accent-square-heading strong::before,
.accent-square-heading strong::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.about-page-main .about-heading strong::before,
.accent-square-heading strong::before {
	z-index: -2;
	top: -14px;
	left: -55px;
	width: clamp(54px, 5.6vw, 72px);
	aspect-ratio: 1.08 / 1;
	border: 1.5px solid #202024;
	background: rgba(255, 255, 255, 0.94);
}

.about-page-main .about-heading strong::after,
.accent-square-heading strong::after {
	z-index: -1;
	top: -8px;
	left: -49px;
	width: clamp(47px, 4.9vw, 63px);
	aspect-ratio: 1.08 / 1;
	border: 1px solid #e0dc00;
	background: #fffd66;
}

.consulting-page .accent-square-heading strong,
.consulting-page .accent-square-heading span,
.sns-page-main .accent-square-heading strong,
.sns-page-main .accent-square-heading span,
.production-page .accent-square-heading strong,
.production-page .accent-square-heading span {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.4);
}

.members-heading {
	padding-top: 146px;
}

.about-page-main .about-heading:not(.about-page-heading) {
	padding-top: 138px;
}

.about-page-main .members-heading {
	padding-top: 146px;
	padding-bottom: 17px;
}

.about-page-main .business-heading,
.about-page-main .members-heading {
	margin-top: 28px;
}

.about-page-main .business-heading {
	margin-top: 56px;
}

.about-page-main .mission-heading-group .about-heading {
	margin-top: 0;
}

.about-page-main .mission-heading-group {
	margin-bottom: 56px;
}

.about-page-main .about-heading-preview-row--mission {
	margin-block: clamp(88px, 8vw, 112px);
}

.about-page-main .members-heading {
	margin-top: 84px;
	margin-bottom: -28px;
}

.about-page-heading {
	box-sizing: border-box;
	width: 100%;
	background: #fff5f8;
}

.about-page-main,
.about-page-main .panel-page,
.about-page-main .content-page {
	background-color: #fff5f8;
}

.sns-page-main,
.sns-page-main .panel-page,
.sns-page-main .content-page {
	background-color: #fdecf2;
}

.mission-heading-group .mission-jpen-title {
	margin: 0 0 12px;
	font-weight: 400;
}

.mission-heading-group .mission-copy {
	margin: 0;
	padding: 0;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
}

.about-page-main .mission-brand-message__title,
.about-page-main .mission-brand-message__copy {
	font-weight: 400;
}

.about-service-link {
	display: inline-block;
	padding: 10px 18px 12px;
	color: inherit;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(34, 34, 34, 0.12);
	border-radius: 4px;
	box-shadow: 0 5px 14px rgba(34, 46, 54, 0.08);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.about-service-card:hover .about-service-link {
	color: inherit;
	background: #fff;
	box-shadow: 0 9px 20px rgba(34, 46, 54, 0.14);
}

.about-service-link__initial {
	display: inline-block;
	margin-right: 0.02em;
	font-size: 1.38em;
	line-height: 0.8;
	vertical-align: -0.04em;
}

.about-service-link--music .about-service-link__initial {
	color: #279b55;
}

.about-service-link--sns .about-service-link__initial {
	color: #d93b45;
}

.about-service-link--consulting .about-service-link__initial {
	color: #7c4ab5;
}

.about-service-link--production .about-service-link__initial {
	color: #2878c8;
}

.about-service-item h6 {
	margin-top: 8px;
}

.about-heading-preview-row {
	position: relative;
	padding-right: 0;
	box-sizing: border-box;
}

/*
 * Keep the first outline-drawing card clear of the fixed navigation. The card
 * rises by 10px on hover, so the gutter also includes room for that movement.
 */
.about-page-main .content-page > .about-heading-preview-row:first-child {
	margin-top: clamp(52px, 5vw, 72px);
}

.about-heading-photo {
	position: absolute;
	z-index: 2;
	top: auto;
	right: clamp(24px, 5vw, 88px);
	bottom: 24px;
	width: clamp(220px, 24vw, 330px);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 3px;
	box-shadow: 0 12px 28px rgba(34, 46, 54, 0.12);
}

.about-heading-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.about-service-item {
	position: relative;
	min-height: 190px;
	padding-right: 0;
	box-sizing: border-box;
}

.about-service-card {
	position: relative;
	display: block;
	box-sizing: border-box;
	min-height: 190px;
	padding: 12px min(34vw, 390px) 12px 12px;
	color: inherit;
	text-decoration: none;
	transition: translate 160ms ease, box-shadow 160ms ease;
}

.about-service-card::before,
.about-service-card::after {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	width: 0;
	height: 0;
	content: "";
	pointer-events: none;
	transition: width 140ms ease-out, height 140ms ease-out;
}

.about-service-card::before {
	border-bottom: 2px solid #242424;
	border-left: 2px solid #242424;
}

.about-service-card::after {
	border-top: 2px solid #242424;
	border-right: 2px solid #242424;
}

.about-service-card:hover,
.about-service-card:focus-visible {
	box-shadow: 0 22px 42px rgba(34, 46, 54, 0.2);
	translate: 0 -9px;
	transition-delay: 280ms;
}

.about-service-card:hover::after,
.about-service-card:focus-visible::after {
	width: 100%;
	height: 100%;
	transition-delay: 140ms, 0ms;
}

.about-service-card:hover::before,
.about-service-card:focus-visible::before {
	width: 100%;
	height: 100%;
	transition-delay: 0ms, 140ms;
}

.about-service-preview {
	position: absolute;
	top: 50%;
	right: clamp(24px, 5vw, 88px);
	display: block;
	width: clamp(220px, 24vw, 330px);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 3px;
	box-shadow: 0 12px 28px rgba(34, 46, 54, 0.12);
	transform: translateY(-50%);
}

.about-service-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (prefers-reduced-motion: reduce) {
	.about-service-card::before,
	.about-service-card::after {
		transition: none;
	}
}

.about-page-main .producer-profile {
	position: relative;
	box-sizing: border-box;
	padding: 16px;
	transition: translate 180ms ease, box-shadow 180ms ease;
}

.about-page-main .producer-profile::before,
.about-page-main .producer-profile::after {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	width: 0;
	height: 0;
	content: "";
	pointer-events: none;
	transition: width 140ms ease-out, height 140ms ease-out;
}

.about-page-main .producer-profile::before {
	border-bottom: 2px solid #242424;
	border-left: 2px solid #242424;
}

.about-page-main .producer-profile::after {
	border-top: 2px solid #242424;
	border-right: 2px solid #242424;
}

.about-page-main .producer-profile:hover {
	box-shadow: 0 24px 48px rgba(34, 46, 54, 0.22);
	translate: 0 -10px;
	transition-delay: 280ms;
}

.about-page-main .producer-profile:hover::after {
	width: 100%;
	height: 100%;
	transition-delay: 140ms, 0ms;
}

.about-page-main .producer-profile:hover::before {
	width: 100%;
	height: 100%;
	transition-delay: 0ms, 140ms;
}

@media (prefers-reduced-motion: reduce) {
	.about-page-main .producer-profile,
	.about-page-main .producer-profile::before,
	.about-page-main .producer-profile::after {
		transition: none;
	}
}

.about-copy-card,
.mission-copy-card {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 18px min(34vw, 390px) 18px 18px;
	transition: translate 180ms ease, box-shadow 180ms ease;
}

.about-copy-card::before,
.about-copy-card::after,
.mission-copy-card::before,
.mission-copy-card::after {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	width: 0;
	height: 0;
	content: "";
	pointer-events: none;
	transition: width 140ms ease-out, height 140ms ease-out;
}

.about-copy-card::before,
.mission-copy-card::before {
	border-bottom: 2px solid #242424;
	border-left: 2px solid #242424;
}

.about-copy-card::after,
.mission-copy-card::after {
	border-top: 2px solid #242424;
	border-right: 2px solid #242424;
}

.about-copy-card:hover,
.mission-copy-card:hover {
	box-shadow: 0 24px 48px rgba(34, 46, 54, 0.22);
	translate: 0 -10px;
	transition-delay: 280ms;
}

.about-copy-card:hover::after,
.mission-copy-card:hover::after {
	width: 100%;
	height: 100%;
	transition-delay: 140ms, 0ms;
}

.about-copy-card:hover::before,
.mission-copy-card:hover::before {
	width: 100%;
	height: 100%;
	transition-delay: 0ms, 140ms;
}

@media (prefers-reduced-motion: reduce) {
	.about-copy-card,
	.mission-copy-card,
	.about-copy-card::before,
	.about-copy-card::after,
	.mission-copy-card::before,
	.mission-copy-card::after {
		transition: none;
	}
}

@media screen and (max-width: 1000px) {
	.about-page-main .content-page > .about-heading-preview-row:first-child {
		margin-top: 36px;
	}

	.about-copy-card,
	.mission-copy-card {
		padding-right: 18px;
	}

	.about-copy-card,
	.mission-copy-card,
	.about-service-card {
		max-width: 100%;
		overflow: hidden;
	}

	.about-page-main .about-heading strong {
		font-size: clamp(38px, 10vw, 52px);
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.about-service-card h3 {
		max-width: 100%;
	}

	.about-service-link {
		box-sizing: border-box;
		max-width: 100%;
		font-size: clamp(22px, 7vw, 34px);
		line-height: 1.25;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.about-page-main .producer-profile {
		width: calc(100vw - 72px);
		max-width: 680px;
		margin-right: 0;
		margin-left: 0;
		overflow: hidden;
	}

	.about-page-main .producer-profile__portrait,
	.about-page-main .producer-profile__content {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}

	.about-page-main .producer-profile__bio,
	.about-page-main .producer-profile__bio p {
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

.members-heading-row {
	position: relative;
	min-height: 300px;
}

.members-heading-row .members-heading {
	padding-right: min(34vw, 390px);
}

.members-heading-preview {
	top: 58%;
}

.members-heading-preview img {
	object-position: center 18%;
}

.sns-visual-stage {
	position: relative;
	box-sizing: border-box;
	width: min(56%, 680px);
	height: clamp(300px, 36vw, 460px);
	margin: 58px auto 72px;
}

.sns-visual-stage__image {
	position: absolute;
	width: min(68%, 720px);
	height: 58%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.sns-visual-stage__image--apps {
	top: 0;
	left: 0;
	background-image: url("../images/brand/sns-apps-accent.png");
}

.sns-visual-stage__image--like {
	right: 0;
	bottom: 0;
	background-image: url("../images/brand/sns-like-phone-accent.png");
}

@media screen and (max-width: 1000px) {
	.about-heading {
		display: block;
		padding: 90px 0 35px;
	}

	.about-heading strong {
		display: block;
		font-size: 13vw;
	}

	.about-heading span {
		display: block;
		margin-top: 12px;
		font-size: 5.5vw;
		white-space: normal;
	}

	.about-page-main .about-heading::before {
		left: -53px;
		width: clamp(46px, 15vw, 62px);
	}

	.about-page-main .about-heading::after {
		top: calc(50% - clamp(19px, 6.2vw, 25px) - 8px);
		left: -47px;
		width: clamp(39px, 13vw, 54px);
	}

	.about-page-main .mission-heading-group .about-heading::before {
		left: -53px;
	}

	.about-page-main .mission-heading-group .about-heading::after {
		left: -47px;
	}

	.accent-square-heading::before {
		left: -61px;
		width: clamp(46px, 15vw, 62px);
	}

	.accent-square-heading::after {
		top: calc(50% - clamp(19px, 6.2vw, 25px) - 16px);
		left: -55px;
		width: clamp(39px, 13vw, 54px);
	}

	.about-page-main .about-heading strong::before,
	.accent-square-heading strong::before {
		top: -10px;
		left: -45px;
		width: clamp(46px, 15vw, 62px);
	}

	.about-page-main .about-heading strong::after,
	.accent-square-heading strong::after {
		top: -5px;
		left: -40px;
		width: clamp(39px, 13vw, 54px);
	}

	.members-heading {
		padding-top: 114px;
	}

	.about-page-main .about-heading:not(.about-page-heading) {
		padding-top: 118px;
	}

	.about-page-main .members-heading {
		padding-top: 114px;
		padding-bottom: 7px;
		margin-top: 84px;
	}

	.about-page-heading {
		padding-right: 20px;
		padding-left: 20px;
	}

	.about-service-item {
		min-height: 0;
		padding-right: 0;
		padding-bottom: 34px;
	}

	.about-service-card {
		min-height: 0;
		padding-right: 12px;
		padding-bottom: 34px;
	}

	.about-heading-preview-row,
	.about-heading-preview-row--mission {
		min-height: 0;
		padding-right: 0;
	}

	.about-page-main .about-heading-preview-row--mission {
		margin-block: 68px;
	}

	.about-heading-photo {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: min(78vw, 330px);
		margin: 24px 0 42px;
		transform: none;
	}

	.about-service-preview {
		position: relative;
		top: auto;
		right: auto;
		width: min(78vw, 330px);
		margin: 24px 0 0;
		transform: none;
	}

	.about-service-preview:hover,
	.about-service-preview:focus-visible {
		transform: translateY(-4px);
	}

	.members-heading-row {
		min-height: 0;
	}

	.members-heading-row .members-heading {
		padding-right: 0;
	}

	.members-heading-preview {
		top: auto;
		margin-bottom: 40px;
	}

	.sns-visual-stage {
		width: calc(100% - 72px);
		max-width: 520px;
		height: clamp(280px, 78vw, 400px);
		margin: 42px auto 58px;
	}

	.sns-visual-stage__image {
		width: 82%;
		height: 54%;
	}

}

/* Shared inquiry panel for service pages. */
.service-contact-cta {
	margin: 90px 0 20px;
	text-align: left;
}

.service-contact-cta__message {
	margin: 0 0 22px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.7;
}

.service-contact-cta__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 560px);
	min-height: 96px;
	padding: 16px 28px;
	box-sizing: border-box;
	color: #222;
	background: #fff;
	border: 1px solid #dedede;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.service-contact-cta__button:hover,
.service-contact-cta__button:focus-visible {
	color: #222;
	background: #fafafa;
	transform: translateY(-5px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.sns-page-main .service-contact-cta__button {
	background: #fff;
}

.sns-page-main .service-contact-cta__button:hover,
.sns-page-main .service-contact-cta__button:focus-visible {
	background: #fafafa;
}

.sns-accent-image {
	display: block;
	width: min(68%, 900px);
	height: auto;
	margin: 45px auto 70px 0;
	border-radius: 4px;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.consulting-page .content-page,
.sns-page-main .content-page {
	width: 100% !important;
	max-width: none !important;
	overflow: visible !important;
}

.consulting-page .service-contact-cta {
	width: 90%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.consulting-page .service-contact-cta__button {
	margin-right: auto;
	margin-left: auto;
}

.consulting-contact-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
	width: min(90%, 1200px);
	margin: clamp(38px, 5vw, 68px) auto 0;
	gap: clamp(42px, 7vw, 100px);
}

.consulting-contact-intro {
	width: auto;
	margin: 0;
	color: #343b43;
	text-align: left;
}

.consulting-contact-intro p {
	margin: 0;
	font-size: clamp(15px, 1.45vw, 19px);
	font-weight: 500;
	line-height: 2;
	letter-spacing: 0.02em;
}

.consulting-contact-intro p + p {
	margin-top: clamp(24px, 3vw, 38px);
}

.consulting-contact-layout .service-contact-cta {
	align-self: end;
	width: auto;
	margin: 0;
}

.consulting-contact-layout .service-contact-cta__button {
	width: 100%;
	white-space: nowrap;
}

.production-page .consulting-contact-layout .service-contact-cta {
	width: auto;
	margin: 0;
}

.production-page .consulting-contact-layout .service-contact-cta__button {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.production-page .content-page {
	width: 100% !important;
	max-width: none !important;
	overflow: visible !important;
}

.production-page .service-contact-cta {
	width: 90%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}

.production-hero {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	min-height: 720px;
	margin-left: 0;
	padding: 0 max(7vw, 40px) 90px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.08) 100%),
		url("../images/brand/production-laptop-hero.png") center center / 100% 100% no-repeat;
}

.production-hero .about-heading {
	padding: 80px 0 35px;
	color: inherit;
}

.production-hero .about-heading strong {
	font-size: clamp(44px, 6.6vw, 72px);
	overflow-wrap: anywhere;
}

.production-hero__description {
	max-width: 760px;
	margin: 0;
	color: inherit;
	font-size: clamp(17px, 2vw, 22px);
	line-height: 2;
	overflow-wrap: anywhere;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.consulting-hero {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	min-height: 720px;
	margin-left: 0;
	padding: 0 max(7vw, 40px) 90px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.34) 52%, rgba(0, 0, 0, 0.12) 100%),
		url("../images/brand/consulting-city-hero.png") center center / 100% 100% no-repeat;
}

.consulting-hero .about-heading {
	padding: 80px 0 35px;
	color: inherit;
}

.consulting-hero .about-heading strong {
	font-size: clamp(44px, 6.6vw, 72px);
	overflow-wrap: anywhere;
}

.consulting-hero__description {
	max-width: 760px;
	margin: 0;
	color: inherit;
	font-size: clamp(17px, 2vw, 22px);
	line-height: 2;
	overflow-wrap: anywhere;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.sns-hero {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	min-height: 720px;
	margin-left: 0;
	padding: 0 max(7vw, 40px) 90px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.34) 52%, rgba(0, 0, 0, 0.12) 100%),
		url("../images/brand/sns-train-hero.png") center center / 100% 100% no-repeat;
}

.sns-hero .about-heading {
	padding: 80px 0 35px;
	color: inherit;
}

.sns-hero .about-heading strong {
	font-size: clamp(44px, 6.6vw, 72px);
	overflow-wrap: anywhere;
}

.sns-hero__description {
	max-width: 760px;
	margin: 0;
	color: inherit;
	font-size: clamp(17px, 2vw, 22px);
	line-height: 2;
	overflow-wrap: anywhere;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.consulting-cycle {
	width: min(78%, 900px);
	margin: clamp(60px, 7vw, 100px) auto clamp(50px, 6vw, 82px);
}

.consulting-cycle__title {
	display: block;
	width: 100%;
	margin: 0 0 34px;
	padding: 0;
	box-sizing: border-box;
	color: #343b43;
	font-size: clamp(28px, 3.5vw, 48px);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	transform: none;
}

.consulting-cycle__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 11 / 9;
	min-height: 560px;
}

.consulting-cycle__arrows {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.consulting-cycle__orbit {
	fill: none;
	stroke: #9bcbd9;
	stroke-width: 5;
	stroke-linecap: round;
	stroke-dasharray: 3 17;
	opacity: 0.78;
}

.consulting-cycle__orbit-dot {
	fill: #72b8d1;
	stroke: none;
	opacity: 0.78;
}

.consulting-cycle__node {
	position: absolute;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: clamp(300px, 34vw, 390px);
	height: clamp(150px, 15vw, 175px);
	padding: clamp(18px, 2vw, 28px);
	box-sizing: border-box;
	border: 3px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow:
		0 18px 42px rgba(66, 111, 126, 0.16),
		inset 0 2px 0 rgba(255, 255, 255, 0.75);
	text-align: center;
	transform: translate(-50%, -50%);
}

.consulting-cycle__node h3,
.consulting-cycle__node p {
	margin: 0;
}

.consulting-cycle__node h3 {
	font-size: clamp(19px, 1.9vw, 27px);
	font-weight: 700;
	line-height: 1.25;
}

.consulting-cycle__node p {
	margin-top: 9px;
	font-size: clamp(10px, 1vw, 13px);
	font-weight: 500;
	line-height: 1.65;
	white-space: nowrap;
}

.consulting-cycle__node--meeting {
	top: 18%;
	left: 50%;
	color: #794231;
	background: linear-gradient(145deg, #fff0e7 0%, #ffcbb6 100%);
}

.consulting-cycle__node--mindmap {
	top: 50%;
	left: 78%;
	color: #275f71;
	background: linear-gradient(145deg, #eaf8fb 0%, #b9e2ee 100%);
}

.consulting-cycle__node--planning {
	top: 82%;
	left: 50%;
	color: #6f5623;
	background: linear-gradient(145deg, #fff5d7 0%, #f6d98c 100%);
}

.consulting-cycle__node--action {
	top: 50%;
	left: 22%;
	color: #35634b;
	background: linear-gradient(145deg, #edf9f1 0%, #bfe2ca 100%);
}

.consulting-cycle__node--action p {
	font-size: clamp(9px, 0.82vw, 11px);
	white-space: normal;
}

.sns-cycle .consulting-cycle__node p {
	font-size: clamp(9px, 0.82vw, 11px);
	white-space: normal;
}

@media screen and (max-width: 1000px) {
	.service-contact-cta {
		margin-top: 60px;
	}

	.service-contact-cta__message {
		font-size: 4.6vw;
	}

	.service-contact-cta__button {
		min-height: 88px;
		padding: 14px 20px;
		font-size: 4.3vw;
	}

	.sns-accent-image {
		width: 100%;
		margin: 35px 0 55px;
	}

	.consulting-hero {
		min-height: 590px;
		padding: 35px max(6vw, 20px) 60px;
		background-position: 48% center;
	}

	.consulting-hero .about-heading {
		padding: 45px 0 25px;
	}

	.consulting-hero .about-heading strong {
		font-size: clamp(38px, 11vw, 64px);
	}

	.consulting-hero__description {
		font-size: clamp(15px, 4vw, 20px);
		line-height: 1.8;
	}

	.sns-hero {
		min-height: 590px;
		padding: 35px max(6vw, 20px) 60px;
		background-position: 48% center;
	}

	.sns-hero .about-heading {
		padding: 45px 0 25px;
	}

	.sns-hero .about-heading strong {
		font-size: clamp(38px, 11vw, 64px);
	}

	.sns-hero__description {
		font-size: clamp(15px, 4vw, 20px);
		line-height: 1.8;
	}

	.consulting-contact-intro {
		width: auto;
	}

	.consulting-contact-intro p {
		font-size: clamp(14px, 3.7vw, 17px);
		line-height: 1.9;
	}

	.consulting-contact-layout {
		grid-template-columns: 1fr;
		width: calc(100% - 40px);
		gap: 42px;
	}

	.consulting-contact-layout .service-contact-cta__button {
		font-size: clamp(14px, 4vw, 19px);
	}

	.production-hero {
		min-height: 590px;
		padding: 35px max(6vw, 20px) 60px;
	}

	.production-hero .about-heading {
		padding: 45px 0 25px;
	}

	.production-hero .about-heading strong {
		font-size: clamp(38px, 11vw, 64px);
	}

	.production-hero__description {
		font-size: clamp(15px, 4vw, 20px);
		line-height: 1.8;
	}

	.consulting-cycle {
		width: min(88%, 680px);
	}

	.consulting-cycle__stage {
		min-height: 520px;
	}

	.consulting-cycle__node {
		width: clamp(280px, 48vw, 340px);
		height: clamp(145px, 22vw, 165px);
		padding: 18px;
	}
}

@media screen and (max-width: 620px) {
	.consulting-contact-intro br {
		display: none;
	}

	.consulting-cycle {
		width: calc(100% - 32px);
		margin-top: 64px;
	}

	.consulting-cycle__title {
		margin-bottom: 30px;
		font-size: 28px;
	}

	.consulting-cycle__stage {
		display: grid;
		grid-template-columns: 1fr;
		gap: 42px;
		width: 100%;
		min-height: 0;
		aspect-ratio: auto;
	}

	.consulting-cycle__arrows {
		display: none;
	}

	.consulting-cycle__node {
		position: relative;
		top: auto;
		left: auto;
		width: min(94vw, 520px);
		height: auto;
		min-height: 170px;
		margin: 0 auto;
		padding: 28px;
		transform: none;
	}

	.consulting-cycle__node:not(:last-child)::after {
		position: absolute;
		top: calc(100% + 7px);
		left: 50%;
		content: "↓";
		color: #72b8d1;
		font-size: 28px;
		font-weight: 700;
		transform: translateX(-50%);
	}

	.consulting-cycle__node h3 {
		font-size: 23px;
	}

	.consulting-cycle__node p,
	.consulting-cycle__node--action p {
		font-size: clamp(8px, 2.45vw, 12px);
		white-space: nowrap;
	}

	.consulting-cycle__node--action p {
		white-space: normal;
	}
}

/*
 * Shared page palette and resilient content visibility.
 * Content remains readable if the legacy scroll-animation script is delayed
 * or unavailable.
 */
html,
body,
main,
.panel-page,
.content-page {
	background-color: #fff5f8 !important;
}

footer {
	background-color: #fff !important;
}

footer a,
footer p,
footer li {
	color: #222 !important;
}

footer .center img {
	filter: none;
}

.fade,
.fadein,
.fadein2,
.top_fade,
.scroll_fade {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}

/* Home: business overview rendered as slim-jointed ceramic tiles. */
.business-tiles {
	--tile-blue: #dceff4;
	--tile-warm: #e57857;
	--tile-warm-light: #f9d9c9;
	width: 100%;
	padding: clamp(56px, 8vw, 112px) 0;
	box-sizing: border-box;
	background: #fff5f8;
}

.about-business-tiles {
	width: 100%;
	padding-bottom: clamp(56px, 8vw, 112px);
	box-sizing: border-box;
	background: #fff5f8;
}

.business-project-heading {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding-right: clamp(18px, 6vw, 88px);
	padding-left: clamp(18px, 6vw, 100px);
	overflow: visible;
}

.business-project-heading strong {
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.18;
	overflow-wrap: anywhere;
}

.business-project-heading span {
	white-space: normal;
}

.business-tiles__intro {
	margin: 0 0 clamp(28px, 4vw, 52px);
	padding: 0 clamp(18px, 6vw, 88px);
	color: #b94e35;
}

.business-tiles__intro h2,
.business-tiles__intro p {
	margin: 0;
}

.business-tiles__intro h2 {
	font-size: clamp(34px, 5.5vw, 76px);
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.12;
}

.business-tiles__intro p {
	margin-top: 0.35em;
	font-size: clamp(16px, 1.8vw, 24px);
	font-weight: 600;
	letter-spacing: 0.12em;
}

.business-tiles__grid {
	position: relative;
	left: 50%;
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	grid-auto-rows: clamp(180px, 19vw, 270px);
	width: 100vw;
	max-width: none;
	transform: translateX(-50%);
	gap: 0.1em;
	padding: 0.1em;
	box-sizing: border-box;
	background: #fff;
	font-size: 20px;
}

.business-tile {
	display: grid;
	grid-column: span 2;
	grid-template-rows: 1fr 1fr;
	color: #fff;
	background: var(--tile-warm);
	text-decoration: none;
	overflow: hidden;
}

.business-tile h3,
.business-tile p {
	display: flex;
	margin: 0;
	padding-right: clamp(18px, 2.2vw, 32px);
	padding-left: clamp(18px, 2.2vw, 32px);
	box-sizing: border-box;
}

.business-tile h3 {
	background: var(--tile-warm);
	align-items: flex-end;
	padding-top: 18px;
	padding-bottom: 5px;
	font-size: clamp(18px, 1.9vw, 29px);
	font-weight: 700;
	letter-spacing: 0.015em;
	line-height: 1.18;
	white-space: nowrap;
	text-shadow: 0 1px 10px rgba(122, 42, 20, 0.12);
}

.business-tile p {
	background: var(--tile-warm-light);
	align-items: flex-start;
	margin-top: 0;
	padding-top: 7px;
	padding-bottom: 18px;
	color: #9c4936;
	font-size: clamp(13px, 1.15vw, 17px);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.35;
}

.business-tile--coral {
	--tile-warm: linear-gradient(135deg, #ff8968 0%, #ed6549 100%);
	--tile-warm-light: linear-gradient(135deg, #ffe0d2 0%, #ffc7b3 100%);
	grid-column: 2 / span 2;
	grid-row: 1;
}

.business-tile--rose {
	--tile-warm: linear-gradient(135deg, #f3828c 0%, #da5f6a 100%);
	--tile-warm-light: linear-gradient(135deg, #ffdcdf 0%, #f6bdc2 100%);
	grid-column: 5 / span 2;
	grid-row: 1;
}

.business-tile--rose p {
	color: #8e4547;
}

.business-tile--amber {
	--tile-warm: linear-gradient(135deg, #f4b557 0%, #dd8e31 100%);
	--tile-warm-light: linear-gradient(135deg, #ffebbd 0%, #f8d48f 100%);
	grid-column: 3 / span 2;
	grid-row: 2;
}

.business-tile--amber p {
	color: #8b5d22;
}

.business-tile--terracotta {
	--tile-warm: linear-gradient(135deg, #e98261 0%, #c95b40 100%);
	--tile-warm-light: linear-gradient(135deg, #fbd8ca 0%, #efb49f 100%);
	grid-column: 6 / span 2;
	grid-row: 2;
}

.business-tile--terracotta p {
	color: #7f4230;
}

.business-tile-spacer {
	min-width: 0;
	background: linear-gradient(135deg, #e5f4ea 0%, #c9e6d2 100%);
}

.business-tile-spacer--a {
	grid-column: 4;
	grid-row: 1;
}

.business-tile-spacer--b {
	grid-column: 7;
	grid-row: 1;
	background: linear-gradient(135deg, #dceff4 0%, #bddfe8 100%);
}

.business-tile-spacer--c {
	grid-column: 2;
	grid-row: 2;
	background: linear-gradient(135deg, #d8edf3 0%, #b8dbe4 100%);
}

.business-tile-spacer--d {
	grid-column: 5;
	grid-row: 2;
	background: linear-gradient(135deg, #e1f1e6 0%, #c1dfca 100%);
}

.business-tile-spacer--edge-a {
	grid-column: 1;
	grid-row: 1;
	background: linear-gradient(135deg, #d9eef2 0%, #b9dce5 100%);
}

.business-tile-spacer--edge-b {
	grid-column: 8;
	grid-row: 1;
	background: linear-gradient(135deg, #e2f2e7 0%, #c5e3ce 100%);
}

.business-tile-spacer--edge-c {
	grid-column: 1;
	grid-row: 2;
	background: linear-gradient(135deg, #d5eadc 0%, #b2d8be 100%);
}

.business-tile-spacer--edge-d {
	grid-column: 8;
	grid-row: 2;
	background: linear-gradient(135deg, #d3eaf0 0%, #b5d9e2 100%);
}

.business-tile h3,
.business-tile p {
	transition: filter 180ms ease;
}

.business-tile:hover h3,
.business-tile:hover p,
.business-tile:focus-visible h3,
.business-tile:focus-visible p {
	filter: brightness(1.035);
}

.business-tile:focus-visible {
	outline: 3px solid #397d91;
	outline-offset: 4px;
}

@media screen and (max-width: 700px) {
	.business-tiles {
		padding: 52px 0;
	}

	.business-tiles__intro {
		padding-right: 16px;
		padding-left: 16px;
	}

	.business-project-heading {
		padding: 72px 18px 30px;
	}

	.business-project-heading strong {
		font-size: clamp(38px, 12vw, 58px);
	}

	.business-tiles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(152px, 42vw);
	}

	.business-tile {
		grid-column: span 1;
		grid-row: auto;
		min-height: 0;
	}

	.business-tile-spacer {
		grid-column: auto;
		grid-row: auto;
	}

	.business-tile-spacer--edge-a,
	.business-tile-spacer--edge-b,
	.business-tile-spacer--edge-c,
	.business-tile-spacer--edge-d {
		display: none;
	}

	.business-tile h3,
	.business-tile p {
		padding-right: 16px;
		padding-left: 16px;
	}

	.business-tile h3 {
		padding-top: 18px;
		padding-bottom: 4px;
		font-size: clamp(12px, 3.7vw, 18px);
		letter-spacing: 0;
	}

	.business-tile p {
		padding-top: 5px;
		padding-bottom: 18px;
		font-size: clamp(11px, 3.15vw, 15px);
	}
}

/*
 * Keep the shared square heading motif inside narrow viewports.
 * The legacy mobile container clips overflow, so the motif must be given
 * real inline space instead of relying on a negative offset outside it.
 */
@media screen and (max-width: 1000px) {
	.about-page-main .about-heading,
	.accent-square-heading {
		box-sizing: border-box;
		max-width: 100%;
		padding-right: 20px;
		padding-left: clamp(58px, 9vw, 76px);
	}

	.about-page-main .about-heading strong,
	.accent-square-heading strong {
		width: fit-content;
		max-width: 100%;
		font-size: clamp(38px, 8vw, 58px);
		line-height: 1.12;
		overflow-wrap: anywhere;
	}

	.about-page-main .about-heading span,
	.accent-square-heading span {
		max-width: 100%;
		font-size: clamp(19px, 4vw, 28px);
		overflow-wrap: anywhere;
	}

	.about-page-main .about-heading strong::before,
	.accent-square-heading strong::before {
		left: clamp(-48px, -7vw, -42px);
	}

	.about-page-main .about-heading strong::after,
	.accent-square-heading strong::after {
		left: clamp(-42px, -6vw, -36px);
	}
}

@media screen and (max-width: 480px) {
	.about-page-main .about-heading,
	.accent-square-heading {
		padding-right: 12px;
		padding-left: 64px;
	}

	:is(.consulting-hero, .production-hero, .sns-hero) .accent-square-heading {
		padding-right: 12px !important;
		padding-left: 64px !important;
	}

	/*
	 * The home grid resets its heading padding with !important. Restore the
	 * motif gutter here so both squares stay fully inside the phone viewport.
	 */
	.top_recruit > .accent-square-heading,
	.top_company > .accent-square-heading {
		padding-right: 12px !important;
		padding-left: 54px !important;
	}

	.top_recruit,
	.top_company {
		min-width: 0;
		padding-right: 14px !important;
		padding-left: 14px !important;
		overflow: visible;
	}

	.top_recruit > .top-section-heading,
	.top_company > .top-section-heading,
	.top_recruit > .top-text-panel,
	.top_company > .top-text-panel,
	.top_recruit > .top-section-preview,
	.top_company > .top-section-preview {
		box-sizing: border-box;
		min-width: 0;
		max-width: 100%;
	}

	.top_recruit > .top-section-heading strong,
	.top_company > .top-section-heading strong {
		max-width: 100%;
		font-size: clamp(28px, 10.5vw, 46px);
		white-space: nowrap;
	}

	.top_recruit > .top-section-preview,
	.top_company > .top-section-preview {
		width: min(100%, 330px);
	}

	.top_recruit > .accent-square-heading strong::before,
	.top_company > .accent-square-heading strong::before {
		left: -40px;
		width: 42px;
	}

	.top_recruit > .accent-square-heading strong::after,
	.top_company > .accent-square-heading strong::after {
		left: -35px;
		width: 36px;
	}

	.consulting-contact-layout .service-contact-cta__button {
		min-width: 0;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.top-news-notebook {
		--notebook-row: 46px;
		width: calc(100% - 28px);
		padding-right: 12px;
		padding-left: 34px;
	}

	.top-news-notebook h2 {
		font-size: clamp(16px, 6vw, 21px);
	}

	.top-news-notebook__item {
		grid-template-columns: max-content max-content;
		gap: clamp(8px, 3vw, 16px);
		font-size: clamp(11px, 3.5vw, 14px);
		white-space: nowrap;
	}

	.about-page-main .about-heading strong,
	.accent-square-heading strong {
		font-size: clamp(32px, 10vw, 44px);
	}

	.about-page-main .about-heading span,
	.accent-square-heading span {
		font-size: clamp(17px, 5vw, 22px);
	}

	.about-page-main .about-heading strong::before,
	.accent-square-heading strong::before {
		left: -48px;
		width: 46px;
	}

	.about-page-main .about-heading strong::after,
	.accent-square-heading strong::after {
		left: -42px;
		width: 40px;
	}

	.about-copy-card h5,
	.mission-copy-card p,
	.mission-copy-card h1,
	.mission-copy-card h2 {
		box-sizing: border-box;
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: normal;
	}
}

@media screen and (max-width: 300px) {
	.top-news-notebook__item {
		gap: 5px;
		font-size: 10px;
	}

	.top-news-notebook__new {
		margin-left: 4px;
	}
}

/*
 * Narrow-screen safety net shared by every page. Full-bleed sections remain
 * edge-to-edge, while decorative pseudo-elements can no longer widen or clip
 * the document viewport.
 */
html,
body {
	max-width: 100%;
	overflow-x: clip;
}

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

/*
 * Use one consistent blue hover state for every control presented as a
 * button. Navigation and ordinary inline links intentionally keep their own
 * interaction treatment.
 */
@media (hover: hover) and (pointer: fine) {
	:where(
		a[role="button"],
		a.btn-en,
		a.recruit-button,
		a.recruit-text-link,
		a.career-recruit-link,
		a.top-text-link,
		a.service-contact-cta__button,
		a.factbook_btn,
		a.about-service-card
	):not(.menu-icon):hover {
		background-color: #dff1ff !important;
	}
}

/* Tile links are also button-like controls; tint their visible child panels. */
@media (hover: hover) and (pointer: fine) {
	.business-tile:hover p {
		background: #dff1ff !important;
		color: #343b43;
	}
}
