/* ==========================================================================
   VECTIM theme
   ========================================================================== */

:root {
	/* 白地・黒文字・赤アクセント */
	--c-bg: #ffffff;
	--c-bg-2: #f6f5f2;
	--c-surface: #f1f0ec;
	--c-text: #111114;
	--c-muted: #5c5c63;
	--c-line: rgba(17, 17, 20, 0.12);
	--c-red: #e1061f;
	--c-red-2: #c4001a;
	--c-red-text: #c4001a; /* 白地の小さな赤文字用（コントラスト 6.2:1） */
	--c-red-ink: #c4001a;
	--c-light: #f4f3ef;
	--c-dark-text: #111114;

	--f-en: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--f-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;

	--gutter: clamp(20px, 5vw, 64px);
	--container: 1280px;
	--header-h: 80px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-ja);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 0.04em;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.is-loading {
	overflow: hidden;
}

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

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

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

ul,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
p {
	margin: 0;
}

h1,
h2,
h3 {
	word-break: auto-phrase;
}

::selection {
	background: var(--c-red);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--c-red-text);
	outline-offset: 4px;
	border-radius: 4px;
}

.recruit :focus-visible,
.cta-box :focus-visible,
.btn-pill:not(.is-ghost):focus-visible {
	outline-color: #fff;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1100;
	padding: 12px 20px;
	border-radius: 999px;
	background: #fff;
	color: var(--c-dark-text);
	font-weight: 700;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

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

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.container--narrow {
	max-width: calc(960px + var(--gutter) * 2);
}

.section {
	position: relative;
	padding: clamp(96px, 14vw, 200px) 0;
}

.section-label {
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--c-red-text);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.section-label::before {
	content: '';
	width: 32px;
	height: 2px;
	background: currentColor;
}

.section-title {
	font-size: clamp(28px, 4.4vw, 56px);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.section-title > span,
[data-reveal-lines] > span {
	display: block;
}

.icon-arrow {
	width: 1em;
	height: 1em;
	flex: none;
	transition: transform 0.5s var(--ease);
}

/* split chars */
.split {
	display: inline-flex;
	flex-wrap: wrap;
}

.split .char {
	display: inline-block;
}

/* --------------------------------------------------------------------------
   buttons
   -------------------------------------------------------------------------- */
.btn-pill {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 28px;
	border-radius: 999px;
	background: var(--c-red);
	color: #fff;
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.12em;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: color 0.4s var(--ease);
}

.btn-pill::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--c-text);
	transform: translateY(101%);
	border-radius: inherit;
	transition: transform 0.5s var(--ease);
	z-index: -1;
}

.btn-pill:hover {
	color: #fff;
}

.btn-pill:hover::before {
	transform: translateY(0);
}

.btn-pill:hover .icon-arrow,
.link-arrow:hover .icon-arrow,
.recruit-link:hover .icon-arrow {
	transform: translate(3px, -3px) rotate(0deg);
}

.btn-pill.is-ghost {
	color: var(--c-text);
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--c-line);
}

.btn-pill.is-ghost:hover {
	color: #fff;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	gap: 10px;
	font-weight: 700;
	padding-bottom: 6px;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	transition: background-size 0.5s var(--ease);
}

.link-arrow:hover {
	background-size: 100% 1px;
}

/* --------------------------------------------------------------------------
   loader / transition / cursor / progress
   -------------------------------------------------------------------------- */
.loader {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: var(--c-bg);
	display: grid;
	place-items: center;
}

.is-returning .loader {
	display: none;
}

.loader__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.loader__mark {
	width: 96px;
	animation: loader-pulse 1.4s var(--ease) infinite alternate;
}

.loader__count {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: 14px;
	letter-spacing: 0.2em;
	color: var(--c-muted);
}

.loader__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
}

.loader__bar span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--c-red);
}

@keyframes loader-pulse {
	from { transform: scale(0.94); opacity: 0.6; }
	to { transform: scale(1); opacity: 1; }
}

/* ページ切り替え：右向きの矢印の形で画面を横切る */
.transition {
	position: fixed;
	inset: 0;
	z-index: 900;
	background: var(--c-red);
	clip-path: polygon(0% 0%, 0% 0%, 0% 50%, 0% 100%, 0% 100%);
	pointer-events: none;
}

/* カーソル：動いた方向を向く矢印。リンク上では円に変わる */
.cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 950;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border-radius: 50%;
	pointer-events: none;
	display: grid;
	place-items: center;
	transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s;
	opacity: 0;
}

.cursor__arrow {
	grid-area: 1 / 1;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--c-red-text);
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: opacity 0.25s, stroke 0.3s;
}

.cursor.is-visible {
	opacity: 1;
}

.cursor.is-hover {
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	background: rgba(225, 6, 31, 0.25);
}

.cursor.is-text {
	width: 96px;
	height: 96px;
	margin: -48px 0 0 -48px;
	background: var(--c-red);
}

.cursor.is-hover .cursor__arrow,
.cursor.is-text .cursor__arrow {
	opacity: 0;
}

.cursor__label {
	grid-area: 1 / 1;
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.14em;
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s;
}

.cursor.is-on-red .cursor__arrow {
	stroke: #fff;
}

.cursor.is-on-red.is-text {
	background: #fff;
}

.cursor.is-on-red.is-hover {
	background: rgba(255, 255, 255, 0.35);
}

.cursor.is-on-red .cursor__label {
	color: var(--c-dark-text);
}

.cursor.is-text .cursor__label {
	opacity: 1;
}

@media (hover: none), (pointer: coarse) {
	.cursor {
		display: none;
	}
}

/* 読み進み具合：先端が矢印。上へ戻ると矢印も向きを変える */
.progress {
	--p: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	z-index: 120;
	pointer-events: none;
}

.progress__bar {
	position: absolute;
	inset: 0;
	background: var(--c-red);
	transform: scaleX(var(--p));
	transform-origin: left;
}

.progress__head {
	position: absolute;
	top: -5px;
	left: calc(var(--p) * 100%);
	width: 12px;
	height: 12px;
	margin-left: -10px;
	fill: var(--c-red);
	opacity: min(1, calc(var(--p) * 40));
	transition: rotate 0.4s var(--ease);
}

.progress.is-up .progress__head {
	rotate: 180deg;
}

/* --------------------------------------------------------------------------
   header
   -------------------------------------------------------------------------- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: var(--header-h);
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	gap: 40px;
	transition: transform 0.6s var(--ease), background 0.4s, backdrop-filter 0.4s;
}

.header.is-scrolled {
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.is-recruit-site .header {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

/* 採用ページはページ内メニューをヘッダーの下に固定するので、ヘッダーを隠さない */
.is-recruit-site .header.is-hidden {
	transform: none;
}

.header.is-hidden {
	transform: translateY(-100%);
}

.admin-bar .header {
	top: 32px;
}

.header__logo {
	display: flex;
	align-items: center;
	min-height: 44px;
	gap: 10px;
	margin-right: auto;
}

.header__logo img {
	width: 40px;
}

.header__logo-text {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: 22px;
	letter-spacing: 0.08em;
}

.header__logo-text .is-im,
.footer__logo .is-im {
	color: var(--c-red);
}

.gnav__list {
	display: flex;
	gap: 36px;
}

.gnav__item {
	position: relative;
}

.gnav__link {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	padding: 12px 0;
}

.gnav__en {
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
	position: relative;
	overflow: hidden;
}

.gnav__ja {
	font-size: 11px;
	color: var(--c-muted);
}

.gnav__link::after {
	content: '';
	height: 2px;
	margin-top: 4px;
	background: var(--c-red);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--ease);
}

.gnav__item:hover .gnav__link::after {
	transform: scaleX(1);
	transform-origin: left;
}

.gnav__sub {
	position: absolute;
	top: 100%;
	left: -20px;
	min-width: 200px;
	padding: 14px 20px;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: 12px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}

.gnav__item:hover .gnav__sub,
.gnav__item:focus-within .gnav__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.gnav__sub a {
	display: block;
	padding: 6px 0;
	font-size: 13px;
	color: var(--c-muted);
	transition: color 0.3s, transform 0.3s var(--ease);
}

.gnav__sub a:hover {
	color: var(--c-text);
	transform: translateX(4px);
}

.header__actions {
	display: flex;
	gap: 10px;
}

.header__cta {
	padding: 12px 22px;
}

.header__toggle {
	display: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--c-red);
	position: relative;
	z-index: 110;
}

.header__toggle span {
	position: absolute;
	left: 14px;
	right: 14px;
	height: 2px;
	background: #fff;
	transition: transform 0.5s var(--ease);
}

.header__toggle span:first-child { top: 19px; }
.header__toggle span:last-child { top: 27px; }

.is-menu-open .header__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.is-menu-open .header__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.drawer {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: var(--c-bg-2);
	padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
	clip-path: circle(0% at calc(100% - 48px) 40px);
	transition: clip-path 0.9s var(--ease);
	overflow-y: auto;
	visibility: hidden;
}

.is-menu-open .drawer {
	clip-path: circle(150% at calc(100% - 48px) 40px);
	visibility: visible;
}

.drawer__group {
	border-bottom: 1px solid var(--c-line);
	padding: 20px 0;
}

.drawer__link {
	display: flex;
	align-items: baseline;
	gap: 14px;
}

.drawer__num {
	font-family: var(--f-en);
	font-size: 12px;
	color: var(--c-red-text);
}

.drawer__en {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(32px, 9vw, 56px);
	line-height: 1.1;
}

.drawer__ja {
	font-size: 12px;
	color: var(--c-muted);
}

.drawer__sub a {
	display: inline-block;
	padding: 10px 0;
}

.drawer__sub {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	margin-top: 4px;
	padding-left: 32px;
	font-size: 14px;
	color: var(--c-muted);
}

@media (max-width: 1080px) {
	.gnav,
	.header__cta--entry {
		display: none;
	}

	.header__actions {
		margin-left: auto;
	}

	.header {
		gap: 12px;
	}

	.header__cta {
		padding: 12px 16px;
		font-size: 13px;
		letter-spacing: 0.04em;
		white-space: nowrap;
	}

	.header__toggle {
		display: block;
	}
}

/* --------------------------------------------------------------------------
   hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* 画面全体を覆う右向きの大きな矢印が、左から右へゆっくり横切る */
.hero__streak {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	width: 160vw;
	height: 100%;
	background: var(--c-red);
	clip-path: polygon(0% 0%, 70% 0%, 100% 50%, 70% 100%, 0% 100%);
	opacity: 0;
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 70% 40%, rgba(225, 6, 31, 0.08), transparent 60%),
		linear-gradient(to bottom, transparent 70%, var(--c-bg));
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: calc(var(--header-h) + 40px) var(--gutter) 120px;
}

.hero__slogan {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(56px, 9vw, 150px);
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(17, 17, 20, 0.32);
	margin-bottom: clamp(32px, 5vw, 56px);
}

.hero__line {
	display: inline-block;
	overflow: hidden;
	padding-bottom: 0.04em;
	margin-right: 0.22em;
}

.hero__line.is-accent {
	-webkit-text-stroke-color: var(--c-red);
}

.hero__title > span {
	display: inline-block;
}

.hero__title {
	font-size: clamp(27px, 4.4vw, 64px);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0.02em;
}

.hero__lead {
	margin-top: 28px;
	max-width: 40em;
	color: #333338;
	font-size: clamp(15px, 1.3vw, 17px);
	font-weight: 500;
	line-height: 2;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 40px;
}

.hero__scroll {
	position: absolute;
	left: var(--gutter);
	bottom: 32px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.24em;
}

.hero__scroll i {
	position: relative;
	display: block;
	width: 80px;
	height: 1px;
	background: var(--c-line);
	overflow: hidden;
}

.hero__scroll i::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--c-red);
	animation: scroll-line 2s var(--ease) infinite;
}

@keyframes scroll-line {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

@media (max-width: 767px) {
	.hero__line {
		display: block;
	}

	.hero__line.is-indent {
		padding-left: 0.6em;
	}

	.hero__lead br {
		display: none;
	}

	.hero__actions .btn-pill {
		width: 100%;
		justify-content: space-between;
	}

	.hero__scroll {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   marquee
   -------------------------------------------------------------------------- */
.marquee {
	overflow: hidden;
	padding: 28px 0;
	border-block: 1px solid var(--c-line);
	white-space: nowrap;
}

.marquee.is-red {
	color: #fff;
	background: var(--c-red);
	border: 0;
	transform: rotate(-2deg) scale(1.04);
	margin: 40px 0;
}

.marquee__track {
	display: inline-flex;
	align-items: center;
	gap: 40px;
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(32px, 6vw, 88px);
	line-height: 1;
	will-change: transform;
}

.marquee__track span:nth-of-type(even) {
	font-family: var(--f-ja);
	-webkit-text-stroke: 1px var(--c-text);
	color: transparent;
}

.marquee__track em .icon-arrow {
	width: 0.9em;
	height: 0.9em;
	stroke-width: 2.5;
}

.marquee__track em {
	font-style: normal;
	color: var(--c-red);
	font-size: 0.5em;
}

.marquee.is-red .marquee__track em {
	color: #fff;
}

/* --------------------------------------------------------------------------
   vector scene：「他人」を指す矢印が反転して「自分」を指す（社名の由来）
   JS が無い／動きを減らす設定では、最後の状態（自分を指す）をそのまま表示する
   -------------------------------------------------------------------------- */
.vscene {
	position: relative;
	overflow: hidden;
	background: #111114;
	color: #fff;
}

/* JS で場面を進めるときは、黒い下向きの矢印が上から画面を覆って黒背景になる */
.vscene.is-motion {
	background: transparent;
}

.vscene__wipe {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 135%;
	background: #111114;
	clip-path: polygon(0% 0%, 100% 0%, 100% 74%, 50% 100%, 0% 74%);
	pointer-events: none;
}

.vscene.is-motion .vscene__wipe {
	display: block;
}

.vscene__stage {
	position: relative;
	z-index: 1;
	min-height: 100svh;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: clamp(28px, 4vw, 48px);
	padding: 120px var(--gutter);
	text-align: center;
}

.vscene__heading {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: #ff3b4f;
}

.vscene__row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 3vw, 48px);
}

.vscene__word {
	font-size: clamp(40px, 7vw, 120px);
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

.vscene__word.is-self {
	color: var(--c-red);
}

.vscene__word.is-other {
	opacity: 0.25;
}

.vscene__arrow {
	width: clamp(120px, 30vw, 460px);
	height: auto;
	overflow: visible;
	fill: none;
	stroke: #fff;
	stroke-width: 7;
	stroke-linecap: round;
	stroke-linejoin: round;
	rotate: 180deg;
}

.vscene__equation {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.3em;
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(26px, 4.6vw, 72px);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.vscene__equation i {
	font-style: normal;
	color: #9a9aa3;
}

.vscene__equation .is-red {
	color: var(--c-red);
}

.vscene__captions {
	display: grid;
	word-break: auto-phrase;
	gap: 6px;
	font-size: clamp(16px, 1.6vw, 22px);
	font-weight: 700;
	line-height: 1.8;
	color: #d6d6da;
}

/* JS で場面を進めるときは、字幕を同じ位置に重ねて一つずつ出す */
.vscene.is-motion .vscene__captions li {
	grid-area: 1 / 1;
}

/* --------------------------------------------------------------------------
   message
   -------------------------------------------------------------------------- */
.message__title {
	font-size: clamp(32px, 5.6vw, 80px);
	font-weight: 900;
	line-height: 1.3;
	margin-bottom: 64px;
}

.message__title > span {
	display: block;
}

.message__text {
	max-width: 960px;
	margin-left: auto;
	font-size: clamp(18px, 2.2vw, 30px);
	font-weight: 700;
	line-height: 1.9;
}

.message__text .word {
	opacity: 0.15;
}

/* --------------------------------------------------------------------------
   values：行動指針を立方体のカードで見せる
   左の見出しは画面に残り、右の立方体がスクロールで奥から回転しながら正面を向く
   -------------------------------------------------------------------------- */
.values {
	padding: clamp(96px, 12vw, 180px) 0;
	background: var(--c-bg-2);
	overflow-x: clip;
}

.values__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 40px clamp(48px, 9vw, 128px);
	align-items: start;
}

.values__head {
	position: sticky;
	top: calc(var(--header-h) + 48px);
	display: grid;
	gap: 28px;
	justify-items: start;
}

.values__cubes {
	container-type: inline-size;
	display: grid;
	gap: 48px;
}

/* 列の幅に合わせて大きさを決め、ジグザグの左右が重ならないようにする */
.value-cube {
	--cube: min(320px, 47cqi);
	width: var(--cube);
	aspect-ratio: 1;
}

/* ジグザグに並べ、縦に少し重ねる */
.value-cube:nth-child(odd) {
	margin-left: auto;
}

.value-cube:nth-child(even) {
	margin-top: calc(var(--cube) * -0.5);
}

.value-cube__scene {
	width: 100%;
	height: 100%;
	perspective: 960px;
}

.value-cube__cube {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
}

.value-cube__face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
}

.value-cube__face--front {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px 24px 22px;
	background: radial-gradient(90% 90% at 18% 12%, #ffffff 64%, #f7f6f3);
	color: var(--c-text);
	transform: rotateY(0deg) translateZ(calc(var(--cube) / 2));
	box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.06);
}

.value-cube__face--back {
	background: linear-gradient(145deg, #e1061f, #a80015);
	transform: rotateY(180deg) translateZ(calc(var(--cube) / 2));
}

.value-cube__face--right {
	background: linear-gradient(270deg, #c4001a, #e1061f);
	transform: rotateY(90deg) translateZ(calc(var(--cube) / 2));
}

.value-cube__face--left {
	background: linear-gradient(90deg, #c4001a, #e1061f);
	transform: rotateY(-90deg) translateZ(calc(var(--cube) / 2));
}

.value-cube__face--top {
	background: linear-gradient(#ff3b4f, #e1061f);
	transform: rotateX(90deg) translateZ(calc(var(--cube) / 2));
}

.value-cube__face--bottom {
	background: linear-gradient(#c4001a, #8d0012);
	transform: rotateX(-90deg) translateZ(calc(var(--cube) / 2));
}

.value-cube__label {
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.12em;
}

.value-cube__label i {
	width: 16px;
	height: 2px;
	background: var(--c-red);
}

/* 矢印は右上（成長の方向）を指す。動きは JS で矢印の向きに沿って付ける */
.value-cube__art-wrap {
	position: relative;
	align-self: center;
	width: 46%;
	rotate: -45deg;
}

.value-cube__art {
	display: block;
	width: 100%;
	height: auto;
	fill: none;
	stroke: var(--c-red);
	stroke-width: 2;
	overflow: visible;
}

/* 「仲間を大切に」の残像 */
.value-cube__art.is-ghost {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.value-cube__title {
	font-size: clamp(20px, 1.8vw, 26px);
	font-weight: 900;
	line-height: 1.4;
}

.value-cube__text {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--c-muted);
}

@media (max-width: 900px) {
	.values__grid {
		grid-template-columns: 1fr;
	}

	.values__head {
		position: static;
	}

	.values__cubes {
		gap: 32px;
	}

	.value-cube {
		--cube: min(84cqi, 320px);
	}

	.value-cube:nth-child(even) {
		margin-top: 0;
	}
}

/* --------------------------------------------------------------------------
   arrow stream：巨大な矢印の帯が、スクロールで左右逆向きに流れる
   -------------------------------------------------------------------------- */
.arrow-stream {
	display: grid;
	gap: clamp(12px, 2vw, 32px);
	padding: clamp(64px, 8vw, 120px) 0;
	overflow: hidden;
}

.arrow-stream__row {
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 56px);
	width: max-content;
	will-change: transform;
}

.arrow-stream__arrow {
	flex: none;
	width: clamp(140px, 17vw, 300px);
	height: auto;
	fill: none;
	stroke: rgba(17, 17, 20, 0.4);
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}

.arrow-stream__arrow path {
	vector-effect: non-scaling-stroke;
}

.arrow-stream__arrow.is-left {
	scale: -1 1;
}

.arrow-stream__row.is-red .arrow-stream__arrow {
	fill: var(--c-red);
	stroke: none;
}

.arrow-stream__text {
	flex: none;
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(48px, 7.5vw, 132px);
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   services (stacked cards)
   -------------------------------------------------------------------------- */
.services .section-title {
	margin-bottom: 80px;
}

.services__stack {
	display: grid;
	gap: 40px;
}

.service-card {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	min-height: 70vh;
	border-radius: 28px;
	overflow: hidden;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	transform-origin: center top;
}

.service-card:nth-child(2) {
	top: calc(var(--header-h) + 48px);
}

.service-card__visual {
	color: #fff;
	position: relative;
	background:
		linear-gradient(135deg, rgba(225, 6, 31, 0.95), rgba(120, 0, 16, 0.95)),
		repeating-linear-gradient(-45deg, transparent 0 18px, rgba(255, 255, 255, 0.06) 18px 19px);
	background-blend-mode: overlay;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}

.service-card__visual::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M20 44 44 20M30 20h14v14' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
	background-size: 64px 64px;
	opacity: 0.14;
	animation: arrow-flow 2.4s linear infinite;
}

@keyframes arrow-flow {
	to {
		background-position: 64px -64px;
	}
}

.service-card__visual > * {
	position: relative;
}

.service-card:nth-child(2) .service-card__visual {
	background: linear-gradient(135deg, #f6f5f2, #e6e4de);
	color: var(--c-text);
}

.service-card:nth-child(2) .service-card__visual::before {
	filter: invert(1);
	opacity: 0.1;
}

.service-card:nth-child(2) .service-card__visual::after {
	border-color: rgba(17, 17, 20, 0.15);
	box-shadow: 0 0 0 60px rgba(17, 17, 20, 0.03), 0 0 0 120px rgba(17, 17, 20, 0.02);
}

.service-card__visual::after {
	content: '';
	position: absolute;
	right: -20%;
	bottom: -20%;
	width: 80%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.04), 0 0 0 120px rgba(255, 255, 255, 0.03);
}

.service-card__index {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(80px, 12vw, 180px);
	line-height: 0.8;
}

.service-card__en {
	font-family: var(--f-en);
	font-weight: 700;
	letter-spacing: 0.2em;
	font-size: 14px;
}

.service-card__body {
	padding: clamp(32px, 5vw, 64px);
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
}

.service-card__title {
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 900;
	line-height: 1.3;
}

.service-card__catch {
	color: var(--c-red-2);
	font-weight: 700;
}

.service-card__text {
	color: var(--c-muted);
}

.service-card__points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
	font-size: 14px;
}

.service-card__points li {
	display: flex;
	gap: 10px;
}

.service-card__points li::before {
	content: '';
	flex: none;
	width: 8px;
	height: 8px;
	margin-top: 0.75em;
	background: var(--c-red);
	transform: rotate(45deg);
}

@media (max-width: 900px) {
	.service-card {
		position: relative;
		top: auto !important;
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.service-card__visual {
		min-height: 200px;
	}

	.service-card__points {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   facts
   -------------------------------------------------------------------------- */
.facts {
	margin: 0 0 40px;
	border-top: 1px solid var(--c-line);
	font-size: 14px;
}

.facts__row {
	display: grid;
	grid-template-columns: 7em 1fr;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--c-line);
}

.facts dt {
	color: var(--c-muted);
}

.facts dd {
	margin: 0;
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   about
   -------------------------------------------------------------------------- */
.about__inner {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: clamp(40px, 8vw, 120px);
	align-items: center;
}

.about__visual {
	aspect-ratio: 1;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--c-line);
	outline: 1px solid var(--c-line);
	outline-offset: 20px;
}

.about__visual img {
	width: 62%;
}

.about__text {
	margin: 32px 0 40px;
	color: var(--c-muted);
}

.about__links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

@media (max-width: 900px) {
	.about__inner {
		grid-template-columns: 1fr;
	}

	.about__visual {
		max-width: 320px;
	}
}

/* --------------------------------------------------------------------------
   recruit
   -------------------------------------------------------------------------- */
.recruit {
	position: relative;
	color: #fff;
	padding: clamp(120px, 16vw, 240px) 0;
	background: var(--c-red);
	overflow: hidden;
	clip-path: inset(0 0 0 0 round 0);
}

.recruit .section-label {
	color: #fff;
}

.recruit__bg {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	pointer-events: none;
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(100px, 22vw, 360px);
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
	white-space: nowrap;
}

.recruit__inner {
	position: relative;
}

.recruit__title {
	font-size: clamp(48px, 9vw, 140px);
	font-weight: 900;
	line-height: 1.15;
}

.recruit__title > span {
	display: block;
}

.recruit__text {
	margin: 40px 0 64px;
	font-weight: 500;
	max-width: 640px;
}

.recruit__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: -32px 0 56px;
}

.recruit__facts li {
	padding: 6px 16px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
}

.recruit__links {
	display: grid;
	border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.recruit-link {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 28px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	font-size: clamp(22px, 3vw, 40px);
	font-weight: 900;
	position: relative;
	transition: padding 0.5s var(--ease);
}

.recruit-link::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--c-text);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.5s var(--ease);
	z-index: -1;
}

.recruit-link:hover {
	padding-left: 24px;
}

.recruit-link:hover::before {
	transform: scaleY(1);
}

.recruit-link {
	isolation: isolate;
}

.recruit-link__num {
	font-family: var(--f-en);
	font-size: 14px;
}

.recruit-link .icon-arrow {
	margin-left: auto;
	margin-right: 12px;
}

/* --------------------------------------------------------------------------
   footer
   -------------------------------------------------------------------------- */
.footer-cta {
	padding: clamp(80px, 12vw, 160px) var(--gutter);
	border-bottom: 1px solid var(--c-line);
}

.footer-cta__link {
	position: relative;
	display: block;
	max-width: var(--container);
	margin: 0 auto;
}

.footer-cta__pointer {
	position: absolute;
	right: 0;
	top: 50%;
	width: clamp(110px, 16vw, 260px);
	margin-top: calc(clamp(110px, 16vw, 260px) / -4);
	fill: var(--c-red);
	pointer-events: none;
}

.footer-cta__pointer svg {
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.footer-cta__pointer {
		top: 0;
		margin-top: 0;
		width: 96px;
	}
}

.footer-cta__label {
	font-family: var(--f-en);
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--c-red-text);
}

.footer-cta__big {
	display: block;
	margin: 16px 0 24px;
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(56px, 12vw, 200px);
	line-height: 0.95;
	letter-spacing: -0.03em;
}

.footer-cta__line {
	display: block;
	/* GSAP が transform を動かすため、ホバーは translate プロパティで行う */
	transition: translate 0.8s var(--ease), color 0.4s;
}

.footer-cta__line.is-outline {
	color: transparent;
	-webkit-text-stroke: 2px var(--c-text);
}

.footer-cta__link:hover .footer-cta__line:first-child {
	translate: 3vw 0;
	color: var(--c-red);
}

.footer-cta__link:hover .footer-cta__line.is-outline {
	translate: -3vw 0;
}

.footer-cta__note {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--c-muted);
}

.footer {
	padding: 80px var(--gutter) 24px;
	overflow: hidden;
}

.footer__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 48px;
}

.footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--f-en);
	font-weight: 900;
	font-size: 26px;
	letter-spacing: 0.08em;
}

.footer__logo img {
	width: 48px;
}

.footer__address {
	margin-top: 24px;
	font-size: 13px;
	color: var(--c-muted);
}

.footer__nav {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.footer__head {
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
}

.footer__head,
.footer__col li a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.footer__col ul {
	font-size: 13px;
	color: var(--c-muted);
}

.footer__col a:hover {
	color: var(--c-text);
}

.footer__bottom {
	max-width: var(--container);
	margin: 80px auto 0;
}

.footer__giant {
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding-bottom: 0.04em;
	font-family: var(--f-en);
	font-weight: 900;
	font-size: 22vw;
	line-height: 0.8;
	letter-spacing: -0.04em;
	margin: 0 calc(var(--gutter) * -1);
}

/*
 * 文字の形で切り抜いたグラデーションの帯が、左から右へ流れる（JS が --x を動かす）。
 * 帯の位置は「単語全体」での位置になるよう、各文字の左端（--o）を引いて合わせる。
 * 1枚目：流れる帯／2枚目：文字の地の色（IM は最後に赤くなる）
 */
.footer__giant-char {
	--base: var(--c-text);
	display: inline-block;
	background-image:
		linear-gradient(90deg, transparent 0%, #e1061f 18%, #ff7a2f 38%, #ff2d75 58%, #7a2cff 80%, transparent 100%),
		linear-gradient(var(--base), var(--base));
	background-size: var(--band, 0px) 100%, 100% 100%;
	background-position: calc(var(--x, -9999px) - var(--o, 0px)) 0, 0 0;
	background-repeat: no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.footer__giant-char.is-im {
	--base: var(--c-red);
}

.footer__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	font-size: 12px;
	color: var(--c-muted);
	font-family: var(--f-en);
	letter-spacing: 0.1em;
}

.footer__top {
	min-height: 44px;
	padding: 0 4px;
}

.footer__top:hover {
	color: var(--c-red);
}

@media (max-width: 900px) {
	.footer__inner {
		grid-template-columns: 1fr;
	}

	.footer__nav {
		grid-template-columns: 1fr 1fr;
	}
}

/* --------------------------------------------------------------------------
   sub pages
   -------------------------------------------------------------------------- */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(80px, 12vw, 160px)) 0 clamp(56px, 8vw, 96px);
	overflow: hidden;
}

.page-hero__en {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(56px, 12vw, 180px);
	line-height: 0.9;
	letter-spacing: -0.03em;
	overflow: hidden;
}

.page-hero__title {
	margin-top: 24px;
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 12px;
}

.page-hero__title::before {
	content: '';
	width: 10px;
	height: 10px;
	background: var(--c-red);
	transform: rotate(45deg);
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	font-size: 12px;
	color: var(--c-muted);
}

.breadcrumb li + li::before {
	content: '/';
	margin-right: 8px;
}

.breadcrumb a:hover {
	color: var(--c-text);
}

.page-hero__line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--c-line);
	transform-origin: left;
}

.page-body {
	padding-top: clamp(56px, 8vw, 96px);
}

.anchor-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 48px;
}

.anchor-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	font-weight: 700;
	transition: background 0.3s, border-color 0.3s;
}

.anchor-nav a span {
	font-family: var(--f-en);
	color: var(--c-red-text);
	font-size: 12px;
}

.anchor-nav a:hover {
	background: var(--c-surface);
	border-color: var(--c-red);
}

.biz__head {
	margin-bottom: 48px;
}

.biz__en {
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--c-red-text);
}

.biz__title {
	font-size: clamp(36px, 6vw, 88px);
	font-weight: 900;
	line-height: 1.2;
	margin: 12px 0 20px;
}

.biz__catch {
	font-size: clamp(18px, 2vw, 26px);
	font-weight: 700;
}

.biz__lead {
	max-width: 880px;
	margin-left: auto;
	display: grid;
	gap: 20px;
	color: var(--c-muted);
}

.sub-title {
	margin: clamp(64px, 8vw, 120px) 0 32px;
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 900;
	display: flex;
	align-items: center;
	gap: 16px;
}

.sub-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--c-line);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.feature {
	padding: 36px;
	border-radius: 20px;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	transition: border-color 0.4s, transform 0.6s var(--ease);
}

.feature:hover {
	border-color: var(--c-red);
	transform: translateY(-6px);
}

.feature__num {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: 40px;
	line-height: 1;
	color: var(--c-red);
}

.feature__title {
	margin: 16px 0 10px;
	font-size: 20px;
	font-weight: 900;
}

.feature__text {
	color: var(--c-muted);
	font-size: 15px;
}

@media (max-width: 767px) {
	.feature-grid {
		grid-template-columns: 1fr;
	}
}

.flow {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	position: relative;
}

.flow::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 28px;
	height: 2px;
	background: var(--c-red);
	transform: scaleX(var(--flow-progress, 0));
	transform-origin: left;
}

.flow__step {
	position: relative;
	padding-top: 64px;
}

.flow__step::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--c-bg);
	border: 2px solid var(--c-red);
}

.flow__num {
	font-family: var(--f-en);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.16em;
	color: var(--c-red-text);
}

.flow__title {
	margin: 8px 0;
	font-size: 18px;
	font-weight: 900;
}

.flow__text {
	font-size: 14px;
	color: var(--c-muted);
}

@media (max-width: 900px) {
	.flow {
		grid-template-columns: 1fr;
		gap: 0;
		padding-left: 40px;
	}

	.flow::before {
		left: 8px;
		right: auto;
		top: 0;
		bottom: 0;
		width: 2px;
		height: auto;
		transform: scaleY(var(--flow-progress, 0));
		transform-origin: top;
	}

	.flow__step {
		padding: 0 0 32px;
	}

	.flow__step::before {
		top: 4px;
		left: -40px;
	}
}

.cta-box {
	color: #fff;
	margin-top: clamp(64px, 8vw, 120px);
	padding: clamp(32px, 5vw, 64px);
	border-radius: 28px;
	background: linear-gradient(120deg, var(--c-red), #8d0012);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	font-weight: 500;
}

.cta-box .btn-pill {
	background: #fff;
	color: var(--c-dark-text);
}

.cta-box .btn-pill::before {
	background: var(--c-text);
}

.cta-box .btn-pill:hover {
	color: #fff;
}

.value-list {
	margin-top: 56px;
	border-top: 1px solid var(--c-line);
}

.value-row {
	display: grid;
	grid-template-columns: 60px 220px 1fr 1.4fr;
	gap: 24px;
	align-items: baseline;
	padding: 36px 0;
	border-bottom: 1px solid var(--c-line);
	transition: padding 0.5s var(--ease), background 0.4s;
}

.value-row:hover {
	padding-left: 20px;
	background: var(--c-bg-2);
}

.value-row__num {
	font-family: var(--f-en);
	color: var(--c-red-text);
	font-weight: 700;
}

.value-row__en {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: 28px;
}

.value-row__title {
	font-size: 22px;
	font-weight: 900;
}

.value-row__text {
	color: var(--c-muted);
}

@media (max-width: 900px) {
	.value-row {
		grid-template-columns: 48px 1fr;
		gap: 4px 16px;
	}

	.value-row__title,
	.value-row__text {
		grid-column: 2;
	}
}

.post-list {
	border-top: 1px solid var(--c-line);
}

.post-list a {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 28px 0;
	border-bottom: 1px solid var(--c-line);
}

.post-list time,
.single-date {
	font-family: var(--f-en);
	color: var(--c-muted);
	font-size: 14px;
}

.post-list__title {
	flex: 1;
	font-weight: 700;
}

.notfound {
	min-height: 100svh;
	display: grid;
	place-items: center;
	text-align: center;
}

.notfound__code {
	font-family: var(--f-en);
	font-weight: 900;
	font-size: clamp(120px, 30vw, 360px);
	line-height: 1;
	color: var(--c-red);
	display: flex;
	justify-content: center;
}

.notfound__title {
	margin: 16px 0 40px;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   entry content（既存の固定ページ本文・Contact Form 7 を新デザインで表示）
   -------------------------------------------------------------------------- */
.entry-content > * + * {
	margin-top: 1.6em;
}

.entry-content h2,
.entry-content .wp-block-heading {
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 900;
	line-height: 1.5;
	margin-top: 2.4em;
	color: var(--c-text) !important;
	text-align: left !important;
}

.entry-content h3 {
	font-size: 20px;
	font-weight: 900;
	margin-top: 2em;
	display: flex;
	align-items: center;
	gap: 12px;
}

.entry-content h3::before {
	content: '';
	flex: none;
	width: 8px;
	height: 8px;
	background: var(--c-red);
	transform: rotate(45deg);
}

.entry-content p {
	color: #333338;
}

.entry-content a:not(.btn-pill):not(.wp-block-button__link) {
	color: var(--c-red-2);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 20px 16px;
	border: 0 !important;
	border-bottom: 1px solid var(--c-line) !important;
	text-align: left;
	vertical-align: top;
	background: transparent !important;
	color: inherit !important;
}

.entry-content th {
	width: 28%;
	font-weight: 700;
	color: var(--c-muted) !important;
	white-space: nowrap;
}

.entry-content table {
	border: 0 !important;
	border-top: 1px solid var(--c-line) !important;
}

.entry-content .wp-block-table {
	margin-left: 0;
	margin-right: 0;
}

.entry-content .wp-block-separator {
	border: 0;
	height: 1px;
	background: var(--c-line) !important;
	color: transparent !important;
}

.entry-content .wp-block-separator.is-style-dots::before {
	color: var(--c-red);
}

.entry-content .wp-block-media-text {
	gap: 32px;
	background: transparent !important;
	color: inherit !important;
}

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

.entry-content ul:not([class]) li,
.entry-content .job-ul li {
	position: relative;
	padding-left: 20px;
}

.entry-content ul:not([class]) li::before,
.entry-content .job-ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.8em;
	width: 6px;
	height: 6px;
	background: var(--c-red);
	transform: rotate(45deg);
}

/* TCD 由来の FAQ マークアップ */
.entry-content .title.no_editor_style {
	margin-top: 2em;
	padding: 20px 24px;
	border-radius: 12px 12px 0 0;
	background: var(--c-surface);
	font-weight: 700;
	display: flex;
	gap: 14px;
}

.entry-content .title.no_editor_style::before {
	content: 'Q';
	font-family: var(--f-en);
	font-weight: 900;
	color: var(--c-red-text);
}

.entry-content .desc_area {
	margin-top: 0;
	padding: 20px 24px;
	border-radius: 0 0 12px 12px;
	border: 1px solid var(--c-surface);
}

.entry-content .job-box {
	padding: clamp(24px, 4vw, 48px);
	border-radius: 20px;
	background: var(--c-bg-2);
	border: 1px solid var(--c-line);
}

.entry-content .job-title {
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 900;
	margin-bottom: 24px;
}

/* Contact Form 7 */
.wpcf7 {
	margin-top: 48px;
	padding: clamp(24px, 4vw, 56px);
	border-radius: 24px;
	background: var(--c-bg-2);
	border: 1px solid var(--c-line);
}

.wpcf7 p {
	color: var(--c-text);
	font-weight: 700;
	font-size: 14px;
}

.wpcf7 input[type='text'],
.wpcf7 input[type='email'],
.wpcf7 input[type='tel'],
.wpcf7 input[type='date'],
.wpcf7 input[type='number'],
.wpcf7 input[type='url'],
.wpcf7 select,
.wpcf7 textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid var(--c-line);
	background: var(--c-bg);
	color: var(--c-text);
	font: inherit;
	font-weight: 400;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--c-red);
	box-shadow: 0 0 0 4px rgba(225, 6, 31, 0.2);
}

.wpcf7 .wpcf7-list-item {
	margin: 8px 20px 0 0;
	font-weight: 400;
}

.wpcf7 input[type='submit'] {
	display: block;
	margin: 32px auto 0;
	min-width: 240px;
	padding: 18px 40px;
	border: 0;
	border-radius: 999px;
	background: var(--c-red);
	color: #fff;
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.1em;
	cursor: pointer;
	transition: transform 0.4s var(--ease), background 0.3s;
}

.wpcf7 input[type='submit']:hover {
	background: var(--c-red-2);
	transform: translateY(-2px);
}

.wpcf7 table th,
.wpcf7 table td {
	display: block;
	width: 100%;
	padding: 12px 0;
	border: 0;
}

.CF7_req {
	display: inline-block;
	margin-right: 8px;
	padding: 0 8px;
	border-radius: 4px;
	background: var(--c-red);
	color: #fff;
	font-size: 11px;
}

.wpcf7-not-valid-tip {
	color: var(--c-red-2);
	font-size: 13px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	border-radius: 12px;
	padding: 16px;
}

/* ==========================================================================
   採用サイト（インターン採用・インタビュー）
   黒・赤・白。参考: recruit.nexus-group.jp — 斜めの帯、括弧付きの番号、重なっていくパネル
   ========================================================================== */
.is-recruit-site {
	--in-black: #0e0e10;
	--in-red-on-dark: #ff4d5e;
}

/* 斜めの帯（スクロールで帯ごとに違う速さで流れる） */
.bands {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.band {
	position: absolute;
	top: -40%;
	left: var(--x);
	width: var(--w);
	height: 180%;
	rotate: 32deg;
	will-change: transform;
}

.band.is-line { width: 2px; }

@media (max-width: 767px) {
	/* 縦長の画面では角度を浅くして、帯が画面内に収まるようにする */
	.band {
		rotate: 16deg;
	}

	.band:not(.is-line) {
		width: calc(var(--w) * 2.4);
	}
}

.bands.is-dark .band.is-red { background: var(--c-red); }
.bands.is-dark .band.is-line { background: rgba(255, 255, 255, 0.35); }
.bands.is-dark .band.is-hatch { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 7px); }
.bands.is-dark .band.is-soft { background: rgba(255, 255, 255, 0.05); }

.bands.is-light .band.is-red { background: var(--c-red); opacity: 0.9; }
.bands.is-light .band.is-line { background: rgba(14, 14, 16, 0.25); }
.bands.is-light .band.is-hatch { background: repeating-linear-gradient(90deg, rgba(14, 14, 16, 0.1) 0 1px, transparent 1px 7px); }
.bands.is-light .band.is-soft { background: rgba(14, 14, 16, 0.035); }

.bands.is-red .band.is-red { background: var(--in-black, #0e0e10); }
.bands.is-red .band.is-line { background: rgba(255, 255, 255, 0.45); }
.bands.is-red .band.is-hatch { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 7px); }
.bands.is-red .band.is-soft { background: rgba(255, 255, 255, 0.08); }

/* 括弧付きの小見出し */
.in-label {
	font-family: var(--f-en);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.14em;
	color: var(--c-red-text);
}

/* 四角い矢印ボタン */
.sq-arrow {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	background: var(--c-red);
	color: #fff;
	transition: background 0.3s;
}

.sq-arrow .icon-arrow {
	width: 18px;
	height: 18px;
}

a:hover .sq-arrow .icon-arrow {
	transform: translate(3px, -3px);
}

/* メインビジュアル（黒地） */
.in-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	background: var(--in-black);
	color: #fff;
}

.in-hero .in-label { color: #fff; }

.in-hero__inner {
	position: relative;
	z-index: 1;
	padding: calc(var(--header-h) + 80px) var(--gutter) clamp(120px, 14vw, 180px);
}

.in-hero__catch {
	margin-top: 28px;
	font-size: clamp(44px, 8.4vw, 136px);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: 0.02em;
}

.in-mask {
	display: block;
	overflow: hidden;
	padding-bottom: 0.06em;
}

.in-mask > span {
	display: inline-block;
}

.in-mask.is-indent {
	padding-left: 1.2em;
}

.in-hero__catch em {
	font-style: normal;
	text-decoration: underline;
	text-decoration-color: var(--c-red);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.14em;
}

.in-hero__lead {
	margin-top: 32px;
	font-size: clamp(14px, 1.2vw, 16px);
	letter-spacing: 0.08em;
	color: #c9c9cf;
}

.in-hero__foot {
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: 28px;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--f-en);
	font-size: 13px;
	letter-spacing: 0.14em;
}

.in-hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
}

.in-hero__scroll .icon-arrow {
	rotate: 135deg;
}

/* ページ内メニュー（黒） */
.rc-nav {
	position: sticky;
	top: var(--header-h);
	z-index: 80;
	background: rgba(14, 14, 16, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
}

.rc-nav__inner {
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 44px);
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}

.rc-nav a {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 56px;
	font-family: var(--f-en);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.12em;
	transition: color 0.3s;
}

.rc-nav a span {
	font-size: 11px;
	color: var(--in-red-on-dark);
}

.rc-nav a:hover {
	color: var(--in-red-on-dark);
}

.rc-nav .rc-nav__entry {
	margin-left: auto;
	min-height: 56px;
	padding: 0 22px;
	background: var(--c-red);
	color: #fff;
}

.rc-nav .rc-nav__entry:hover {
	color: #fff;
	background: #c4001a;
}

.in-message,
.in-interview,
.in-work,
.in-recruitment,
.in-entry {
	scroll-margin-top: 140px;
}

/* 見出し */
.in-head {
	margin-bottom: clamp(40px, 6vw, 80px);
}

.in-head__title {
	margin-top: 18px;
	font-size: clamp(28px, 4vw, 56px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

.in-head__title > span {
	display: block;
}

.in-head__text {
	max-width: 40em;
	margin-top: 20px;
	color: var(--c-muted);
}

.in-head.is-dark .in-label { color: var(--in-red-on-dark); }
.in-head.is-dark .in-head__text { color: #b9b9c0; }

/* メッセージ（白地・一行ずつ浮かび上がる） */
.in-message {
	position: relative;
	overflow: hidden;
	padding: clamp(120px, 16vw, 240px) 0;
	background: #fff;
}

.in-message__bands {
	opacity: 0.22;
}

.in-message__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
	gap: 40px;
}

.in-message__side {
	position: sticky;
	top: calc(var(--header-h) + 100px);
	align-self: start;
}

.in-message__lines {
	display: grid;
}

.in-message__line {
	font-size: clamp(18px, 2.2vw, 30px);
	font-weight: 700;
	line-height: 2.1;
	letter-spacing: 0.04em;
}

.in-message__last {
	margin-top: clamp(40px, 5vw, 72px);
	font-size: clamp(22px, 3vw, 44px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.04em;
	color: var(--c-red);
	word-break: auto-phrase;
}

@media (max-width: 900px) {
	.in-message__inner {
		grid-template-columns: 1fr;
	}

	.in-message__side {
		position: static;
	}
}

/* インタビュー（黒地・パネルが上に重なっていく） */
.in-interview {
	padding-top: clamp(100px, 12vw, 180px);
	background: var(--in-black);
	color: #fff;
}

.in-panel {
	position: sticky;
	top: calc(var(--header-h) + 56px);
	height: calc(100svh - var(--header-h) - 56px);
	overflow: hidden;
	background: var(--in-black);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.in-panel:nth-child(even) {
	background: var(--c-red);
}

.in-panel__link {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 20px;
	height: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 48px var(--gutter) clamp(48px, 7vw, 96px);
}

.in-panel__num {
	font-family: var(--f-en);
	font-weight: 600;
	font-size: clamp(48px, 8vw, 128px);
	line-height: 1;
	letter-spacing: 0.02em;
}

.in-panel__title {
	max-width: 24em;
	font-size: clamp(22px, 3.2vw, 46px);
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.03em;
}

.in-panel__person {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.in-panel__person strong {
	color: #fff;
}

.in-panel__more {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	font-weight: 700;
}

.in-panel:nth-child(even) .sq-arrow {
	background: var(--in-black);
}

@media (max-width: 767px) {
	.in-panel {
		position: relative;
		top: auto;
		height: auto;
		min-height: 78svh;
	}
}

/* 仕事内容（白地） */
.in-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--c-text);
}

.in-step {
	padding: 28px 28px 32px 0;
}

.in-step + .in-step {
	padding-left: 28px;
	border-left: 1px solid var(--c-line);
}

.in-step__num {
	font-family: var(--f-en);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: var(--c-red-text);
}

.in-step__title {
	margin: 14px 0 10px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.in-step__text {
	font-size: 14px;
	line-height: 1.9;
	color: var(--c-muted);
}

.in-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
	margin-top: clamp(56px, 7vw, 96px);
}

.in-point {
	padding: clamp(28px, 3vw, 44px);
	background: var(--in-black, #0e0e10);
	color: #fff;
}

.in-point:nth-child(2) {
	background: var(--c-red);
}

.in-point__num {
	font-family: var(--f-en);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--in-red-on-dark);
}

.in-point:nth-child(2) .in-point__num {
	color: #fff;
}

.in-point__title {
	margin: 14px 0 12px;
	font-size: 20px;
	font-weight: 700;
}

.in-point__text {
	font-size: 14px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
	.in-steps,
	.in-points {
		grid-template-columns: 1fr;
	}

	.in-step,
	.in-step + .in-step {
		padding: 24px 0;
		border-left: 0;
		border-bottom: 1px solid var(--c-line);
	}
}

/* 募集要項 */
.in-recruitment {
	background: #f4f4f2;
}

/* エントリー（赤地） */
.in-entry {
	position: relative;
	overflow: hidden;
	padding: clamp(120px, 16vw, 220px) 0;
	background: var(--c-red);
	color: #fff;
}

.in-entry .in-label {
	color: #fff;
}

.in-entry__inner {
	position: relative;
	z-index: 1;
}

.in-entry__title {
	margin-top: 18px;
	font-size: clamp(32px, 5.6vw, 88px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.03em;
}

.in-entry__title > span {
	display: block;
}

.in-entry .wipe {
	background: #fff;
}

.in-entry__btn {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	margin-top: 48px;
	padding: 8px 8px 8px 32px;
	background: var(--in-black, #0e0e10);
	color: #fff;
	font-size: clamp(16px, 1.5vw, 19px);
	font-weight: 700;
	letter-spacing: 0.06em;
	transition: background 0.3s, color 0.3s;
}

.in-entry__btn:hover {
	background: #fff;
	color: var(--c-text);
}

/* インタビューの一覧タイル */
.in-related {
	background: #f4f4f2;
}

.iv-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px);
}

.iv-tile__link {
	position: relative;
	display: block;
}

.iv-tile__visual {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--in-black, #0e0e10);
	color: #fff;
}

.iv-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 0.8s var(--ease);
}

.iv-tile__num {
	position: absolute;
	left: 24px;
	bottom: 18px;
	font-family: var(--f-en);
	font-weight: 600;
	font-size: clamp(28px, 3vw, 44px);
}

.iv-tile__title {
	margin-top: 20px;
	padding-right: 64px;
	font-size: clamp(16px, 1.5vw, 20px);
	font-weight: 700;
	line-height: 1.65;
}

.iv-tile__person {
	margin-top: 10px;
	font-size: 14px;
	color: var(--c-muted);
}

.iv-tile .sq-arrow {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
}

.iv-tile__link:hover .iv-tile__img {
	scale: 1.05;
}

@media (max-width: 767px) {
	.iv-grid {
		grid-template-columns: 1fr;
	}
}

/* インタビュー詳細 */
.iv-hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--header-h) + clamp(80px, 11vw, 150px)) 0 clamp(64px, 8vw, 110px);
	background: var(--in-black, #0e0e10);
	color: #fff;
}

.iv-hero .in-label {
	color: var(--in-red-on-dark);
}

.iv-hero__bands {
	opacity: 0.8;
}

.iv-hero__inner {
	position: relative;
	z-index: 1;
}

.iv-hero__title {
	max-width: 24em;
	margin-top: 24px;
	font-size: clamp(24px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.03em;
}

.iv-profile {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 14px;
}

.iv-profile div {
	display: flex;
	gap: 12px;
}

.iv-profile dt {
	color: #b9b9c0;
}

.iv-profile dd {
	margin: 0;
	font-weight: 700;
}

.iv-hero__photo {
	position: relative;
	z-index: 1;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 48px auto 0;
	padding: 0 var(--gutter);
}

.iv-hero__photo img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.iv-content {
	margin-top: 40px;
}

.iv-content h2 {
	position: relative;
	margin: 72px 0 20px;
	padding: 0 0 16px 52px;
	border-bottom: 1px solid var(--c-line);
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.03em;
}

.iv-content h2::before {
	content: 'Q.';
	position: absolute;
	left: 0;
	top: -0.15em;
	font-family: var(--f-en);
	font-weight: 600;
	font-size: 28px;
	color: var(--c-red);
}

.iv-content h2:first-child {
	margin-top: 0;
}

.iv-content p {
	margin-top: 1.1em;
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 2.1;
	color: #333338;
}

/* --------------------------------------------------------------------------
   reveal 初期状態（JS が有効な時のみ隠す）
   -------------------------------------------------------------------------- */
.js [data-reveal],
.js [data-hero-fade] {
	opacity: 0;
}

.js [data-reveal-lines] > span {
	position: relative;
	width: fit-content;
	overflow: hidden;
}

.js [data-reveal-lines] .wipe-text {
	opacity: 0;
}

/* 見出しを横切る矢印 */
.wipe {
	position: absolute;
	inset: 0;
	background: var(--c-red);
	clip-path: polygon(0% 0%, 92% 0%, 100% 50%, 92% 100%, 0% 100%);
	pointer-events: none;
}

.recruit .wipe {
	background: #fff;
}

.js .hero__slogan .char,
.js .page-hero__en .char,
.js .notfound__code .char {
	transform: translateY(110%);
}

.js [data-in-line] {
	transform: translateY(110%);
}

.js [data-in-msg] {
	opacity: 0.12;
}

/* staging 表示 */
.is-env-staging::after,
.is-env-development::after,
.is-env-local::after {
	content: 'STAGING';
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 999;
	padding: 4px 10px;
	border-radius: 6px;
	background: #ffcc00;
	color: #000;
	font: 700 11px/1.4 var(--f-en);
	letter-spacing: 0.1em;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}

	.js [data-reveal],
	.js [data-hero-fade] {
		opacity: 1;
	}

	.js [data-reveal-lines] .wipe-text {
		opacity: 1;
	}

	.js .hero__slogan .char,
	.js .page-hero__en .char,
	.js .notfound__code .char {
		transform: none;
	}

	.js [data-in-line] {
		transform: none;
	}

	.js [data-in-msg] {
		opacity: 1;
	}
}
