/* ==========================================================================
   Wicot Design System
   - SWELL の CSS は読み込まない前提で、ページ全体をここで定義する
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--ink: #13203a;
	--ink-2: #182847;
	--ink-3: #223459;
	--paper: #f7f6f2;
	--paper-2: #eeece6;
	--white: #fff;
	--blue: #009aeb;
	--blue-deep: #0053b6;
	--blue-ink: #0b3a7e;
	--gold: #e9c46a;

	--fg: var(--ink);
	--muted: rgba(19, 32, 58, .6);
	--line: rgba(19, 32, 58, .14);
	--fg-d: var(--paper);
	--muted-d: rgba(247, 246, 242, .68);
	--line-d: rgba(247, 246, 242, .2);

	--f-en: "Cormorant Garamond", "Shippori Mincho", serif;
	--f-ui: "Inter Tight", "Zen Kaku Gothic New", sans-serif;
	--f-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--f-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

	--gutter: clamp(20px, 4.4vw, 72px);
	--wrap: 1520px;
	--sec: clamp(96px, 13vw, 200px);
	--hdr-h: 84px;

	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 959px) {
	:root { --hdr-h: 68px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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(--paper);
	color: var(--fg);
	font-family: var(--f-jp);
	font-size: 15px;
	line-height: 2;
	letter-spacing: .04em;
	font-feature-settings: "palt" 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
@media (min-width: 960px) { body { font-size: 16px; } }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
em { font-style: italic; }
h1, h2, h3, .hero__sub, .rec__catch, .co__title, .profile__catch, .svc-detail__catch, .ab-msg__lead, .about__statement, .post__title, .nf__title, .phead__lead, .spmenu__slogan, .svc-row__lead, .sec-head__lead, .svc-detail__lead, .rec__body p, .cta__lead, .name__note { word-break: auto-phrase; text-wrap: pretty; }
h1, h2, h3, .phead__lead { text-wrap: balance; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--paper); font-size: 13px; transition: top .3s; }
.skip:focus { top: 12px; }

.pc { display: none; }
.sp { display: inline; }
.pc-only { display: none !important; }
@media (min-width: 960px) {
	.pc { display: inline; }
	.sp { display: none; }
	.pc-only { display: inline-flex !important; }
	.sp-only { display: none !important; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.wrap--mid { max-width: calc(1120px + var(--gutter) * 2); }
.main { display: block; }

/* ---------- Type helpers ---------- */
.serif-i { font-family: var(--f-en); font-style: italic; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
.js [data-reveal-line] > span { transform: translateY(105%); }
.js [data-reveal-line].is-in > span { transform: none; transition: transform 1.3s var(--ease); }
.js [data-reveal-line]:nth-child(2).is-in > span { transition-delay: .08s; }
.js [data-reveal-line]:nth-child(3).is-in > span { transition-delay: .16s; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }

/* 文字単位スクラブ（JS で .ch を生成） */
[data-scrub-text] .ch { opacity: .14; transition: opacity .2s linear; }
.no-js [data-scrub-text] .ch { opacity: 1; }

/* ロール（ホバーで文字が入れ替わる） */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.roll, .roll::after { transition: transform .6s var(--ease); }
@media (hover: hover) {
	a:hover > .roll, button:hover > .roll, a:hover .roll { transform: translateY(-100%); }
}
.roll { line-height: inherit; }
.roll::after { line-height: inherit; }

/* ---------- Section label ---------- */
.sec-label {
	display: flex; align-items: center; gap: 14px;
	font-family: var(--f-ui); font-size: 12px; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted);
}
.sec-label__no { color: var(--blue); font-weight: 600; }
.sec-label__no::after { content: ""; display: inline-block; width: 40px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; opacity: .5; }
.sec-label__en { color: var(--fg); font-weight: 500; }
.sec-label__ja { font-family: var(--f-jp); letter-spacing: .1em; text-transform: none; }
.sec-label--light { color: var(--muted-d); }
.sec-label--light .sec-label__en { color: var(--fg-d); }

.eyebrow { font-family: var(--f-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--light { color: var(--muted-d); }

/* ---------- Links & buttons ---------- */
.link-arrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--f-ui); font-size: 14px; font-weight: 500; letter-spacing: .06em; line-height: 1.4;
	padding-bottom: 8px; border-bottom: 1px solid var(--line); position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.link-arrow .arw { width: 18px; height: 18px; transition: transform .6s var(--ease); }
@media (hover: hover) {
	.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
	.link-arrow:hover .arw { transform: translateX(4px); }
}
.link-arrow--light { border-color: var(--line-d); color: var(--fg-d); }

.btn {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
	min-width: 260px; padding: 20px 28px; border-radius: 999px;
	background: var(--ink); color: var(--paper);
	font-family: var(--f-jp); font-size: 15px; font-weight: 500; letter-spacing: .08em; line-height: 1.5;
	position: relative; overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue-deep); border-radius: inherit; transform: translateY(101%); transition: transform .7s var(--ease); }
.btn .arw { width: 18px; height: 18px; flex: none; }
@media (hover: hover) { .btn:hover::before { transform: none; } }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { color: var(--paper); }
.btn--light::before { background: var(--blue); }
.btn > * { transition: color .4s; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; line-height: 1.5; letter-spacing: .06em; }

.arw--prev { transform: scaleX(-1); }
.arw--down { transform: rotate(90deg); }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
	position: fixed; inset: 0 0 auto; z-index: 90;
	height: var(--hdr-h); color: var(--fg-d);
	transition: transform .7s var(--ease), color .5s;
	pointer-events: none;
}
.hdr.is-light { color: var(--fg); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__inner {
	height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding-inline: var(--gutter);
	pointer-events: auto;
}
.hdr::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(19, 32, 58, .55);
	backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
	border-bottom: 1px solid var(--line-d);
	opacity: 0; transition: opacity .5s, background .5s;
}
.hdr.is-light::before { background: rgba(243, 241, 236, .72); border-color: var(--line); }
.hdr.is-scrolled::before { opacity: 1; }
.menu-open .hdr::before { opacity: 0; }
.menu-open .hdr { color: var(--fg-d); }

.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.logo__mark { width: auto; height: 34px; }
.logo__type { font-family: var(--f-ui); font-weight: 600; font-size: 17px; letter-spacing: .28em; margin-right: -.28em; }
.mark__a { fill: var(--blue); }
.mark__b { fill: var(--blue-deep); }
.hdr:not(.is-light) .mark__b, .ftr .mark__b, .menu-open .hdr .mark__b { fill: #3f7ddb; }

.gnav { display: none; }
@media (min-width: 1080px) {
	.gnav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
	.gnav__list { display: flex; gap: clamp(20px, 2.6vw, 40px); }
	.gnav__link { position: relative; display: block; padding: 8px 0; font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
	.gnav__link::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .5s var(--ease); }
	.gnav__link.is-current::before, .gnav__link:hover::before { transform: scale(1); }
	.hdr__cta {
		display: inline-flex; align-items: center; height: 44px; padding: 0 26px; border-radius: 99px;
		border: 1px solid currentColor; font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6;
		transition: background .4s, color .4s, border-color .4s;
	}
	.hdr__cta:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
	.burger { display: none !important; }
}

.burger { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 4px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.burger__lines { position: relative; width: 28px; height: 10px; }
.burger__lines i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 8.5px; }
.burger__txt { position: relative; display: block; overflow: hidden; height: 1.6em; line-height: 1.6; }
.burger__txt > span { display: block; transition: transform .6s var(--ease); }
.menu-open .burger__lines i:first-child { top: 4.25px; transform: rotate(20deg); }
.menu-open .burger__lines i:last-child { top: 4.25px; transform: rotate(-20deg); }
.menu-open .burger__txt > span { transform: translateY(-100%); }

/* 管理バー表示時（ログイン中） */
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hdr { top: 0; } #wpadminbar { position: absolute; } }

/* ---------- Menu overlay ---------- */
.spmenu { position: fixed; inset: 0; z-index: 80; visibility: hidden; color: var(--fg-d); }
.spmenu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0 at calc(100% - 52px) 34px); transition: clip-path 1s var(--ease-io); }
.spmenu__bg::after { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80vmax; height: 80vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 154, 235, .22), transparent 70%); }
.spmenu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px; overflow-y: auto; }
.spmenu__list { counter-reset: m; }
.spmenu__link { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.spmenu__no { font-family: var(--f-ui); font-size: 11px; letter-spacing: .1em; color: var(--blue); }
.spmenu__en { font-family: var(--f-en); font-size: clamp(38px, 10vw, 64px); line-height: 1.1; letter-spacing: -.01em; }
.spmenu__ja { font-size: 12px; color: var(--muted-d); letter-spacing: .1em; }
.spmenu__link > * { opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .4s; }
.spmenu__foot { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted-d); opacity: 0; transition: opacity .4s; }
.spmenu__slogan .serif-i { display: block; font-size: 26px; color: var(--fg-d); line-height: 1.3; }
.spmenu__tel { font-family: var(--f-ui); letter-spacing: .08em; }
.menu-open .spmenu { visibility: visible; }
.menu-open .spmenu__bg { clip-path: circle(150vmax at calc(100% - 52px) 34px); }
.menu-open .spmenu__link > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.menu-open .spmenu__foot { opacity: 1; transition: opacity 1s .5s; }
.menu-open .spmenu__list li:nth-child(1) .spmenu__link > * { transition-delay: .25s; }
.menu-open .spmenu__list li:nth-child(2) .spmenu__link > * { transition-delay: .3s; }
.menu-open .spmenu__list li:nth-child(3) .spmenu__link > * { transition-delay: .35s; }
.menu-open .spmenu__list li:nth-child(4) .spmenu__link > * { transition-delay: .4s; }
.menu-open .spmenu__list li:nth-child(5) .spmenu__link > * { transition-delay: .45s; }
.menu-open .spmenu__list li:nth-child(6) .spmenu__link > * { transition-delay: .5s; }
.menu-open .spmenu__list li:nth-child(7) .spmenu__link > * { transition-delay: .55s; }
.spmenu.is-closing { visibility: visible; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ==========================================================================
   Loader / Curtain / Cursor
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink); color: var(--fg-d); }
.no-js .loader, .is-loaded .loader { display: none; }
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__mark { height: 76px; width: auto; }
.loader__mark path { opacity: 0; transform-box: fill-box; transform-origin: center; }
.loader__word { display: flex; gap: .5em; font-family: var(--f-en); font-style: italic; font-size: 22px; letter-spacing: .02em; line-height: 1; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__count { position: absolute; right: var(--gutter); bottom: 28px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; color: var(--muted-d); }
.loader__count::after { content: "%"; }

.curtain { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: var(--ink); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.curtain__mark { height: 48px; width: auto; opacity: 0; transition: opacity .3s; }
html.is-entering .curtain { transform: none; }
html.is-entering .curtain__mark { opacity: 1; }
.curtain.is-in { transform: scaleY(1); transform-origin: bottom; transition: transform .7s var(--ease-io); }
.curtain.is-in .curtain__mark { opacity: 1; transition-delay: .4s; }
.curtain.is-out { transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease-io); }
.curtain.is-out .curtain__mark { opacity: 0; transition-delay: 0s; }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.cursor {
		display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 300;
		width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
		background: var(--white); mix-blend-mode: difference; pointer-events: none;
		transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, opacity .3s;
		will-change: transform; opacity: 0;
	}
	.cursor.is-on { opacity: 1; }
	.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
	.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--blue); mix-blend-mode: normal; }
	.cursor__label { font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--white); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); }
	.cursor.is-label .cursor__label { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
	position: relative; min-height: 100svh; display: flex; overflow: hidden;
	background: radial-gradient(120% 90% at 78% 40%, #22457f 0%, var(--ink) 62%);
	color: var(--fg-d);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(19, 32, 58, .5) 0%, transparent 22%, transparent 62%, rgba(19, 32, 58, .78) 100%); }
.hero__veil::after { content: ""; position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--hdr-h) + 24px); padding-bottom: clamp(24px, 4vw, 48px); min-height: 100svh; pointer-events: none; }
.hero__inner a { pointer-events: auto; }
.hero__meta { display: flex; justify-content: flex-end; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.hero__title {
	align-self: end; margin-bottom: clamp(36px, 6vw, 80px);
	font-family: var(--f-min); font-weight: 500; font-size: clamp(42px, 7.6vw, 132px); line-height: 1.22; letter-spacing: .04em;
	font-feature-settings: "palt" 1;
}
.hero__title .line { padding-bottom: .12em; margin-bottom: -.12em; }
.js .hero__title [data-hero-line] { transform: translateY(110%); }
.hero__foot { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end; padding-top: 24px; border-top: 1px solid var(--line-d); }
.hero__sub { font-family: var(--f-min); font-size: clamp(15px, 1.4vw, 20px); letter-spacing: .12em; }
.hero__biz { display: none; }
.hero__scroll { display: none; }
@media (min-width: 960px) {
	.hero__foot { grid-template-columns: 1fr auto auto; gap: 64px; align-items: center; }
	.hero__biz { display: flex; gap: 32px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); line-height: 1.4; }
	.hero__biz span { color: var(--blue); margin-right: 10px; }
	.hero__scroll { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }
	.hero__scroll i { position: relative; width: 1px; height: 44px; background: var(--line-d); overflow: hidden; }
	.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 50%; background: var(--fg-d); animation: scrollLine 2.2s var(--ease-io) infinite; }
}
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(200%); } }
.js [data-hero-in] { opacity: 0; }

/* ==========================================================================
   ABOUT (Top)
   ========================================================================== */
.about { padding: var(--sec) 0 calc(var(--sec) * .6); position: relative; }
.about__en {
	margin-top: clamp(40px, 6vw, 96px);
	font-family: var(--f-en); font-weight: 400; font-size: clamp(64px, 13.5vw, 240px); line-height: .9; letter-spacing: -.035em; color: var(--ink);
}
.about__en em { color: var(--blue-deep); padding-right: .08em; }
.about__en .line:last-child { padding-left: 1.2em; }
.about__statement, .ab-intro__statement, .rc-msg__title {
	margin-top: clamp(56px, 8vw, 128px);
	font-family: var(--f-min); font-weight: 500; font-size: clamp(30px, 4.8vw, 82px); line-height: 1.45; letter-spacing: .06em;
}
.about__body { display: grid; gap: 28px; margin-top: clamp(40px, 5vw, 72px); max-width: 640px; color: var(--muted); }
.about__body .link-arrow { justify-self: start; margin-top: 8px; color: var(--ink); }
@media (min-width: 960px) {
	.about__statement { margin-left: 25%; }
	.about__body { margin-left: 50%; max-width: none; }
}

/* ==========================================================================
   NAME (Wish Come True → WICOT)
   ========================================================================== */
.name { position: relative; background: var(--paper); }
.name__pin { min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.name__inner { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: 96px; }
.name__label { font-family: var(--f-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.name__word {
	font-family: var(--f-en); font-weight: 400; font-size: clamp(34px, 9vw, 168px); line-height: 1; letter-spacing: -.01em;
	white-space: nowrap; color: var(--ink);
}
.name__w { display: inline-flex; }
.name__w > span { display: inline-block; overflow: hidden; white-space: pre; }
.name__w .k { color: var(--ink); }
.name__w .x { color: rgba(19, 32, 58, .22); }
.name__note { max-width: 760px; color: var(--muted); }
.name__note em { font-family: var(--f-en); font-size: 1.3em; color: var(--ink); }


/* ==========================================================================
   SERVICE (Top)
   ========================================================================== */
.svc { position: relative; background: var(--ink); color: var(--fg-d); padding-bottom: var(--sec); overflow: hidden; }
.marquee { padding-block: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line-d); overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: .5em; padding-right: .5em; font-family: var(--f-en); font-size: clamp(56px, 9vw, 160px); line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(243, 241, 236, .4); }
.marquee__item i { font-style: normal; font-size: .3em; color: var(--blue); -webkit-text-stroke: 0; }
.sec-head { display: grid; gap: 28px; padding-top: clamp(72px, 9vw, 140px); margin-bottom: clamp(48px, 6vw, 96px); }
.sec-head__title { font-family: var(--f-min); font-weight: 500; font-size: clamp(26px, 3.4vw, 52px); line-height: 1.6; letter-spacing: .06em; }
.sec-head__lead { max-width: 560px; color: var(--muted-d); }
@media (min-width: 960px) {
	.sec-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
	.sec-head .sec-label { grid-column: 1 / -1; }
	.sec-head__lead { justify-self: end; }
}

.svc-list { border-top: 1px solid var(--line-d); }
.svc-row { border-bottom: 1px solid var(--line-d); }
.svc-row__link { position: relative; display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 12px 16px; padding: 28px 0; }
.svc-row__no { font-family: var(--f-ui); font-size: 12px; letter-spacing: .1em; color: var(--blue); align-self: start; padding-top: .9em; }
.svc-row__name { display: grid; gap: 6px; }
.svc-row__en { font-family: var(--f-en); font-size: clamp(40px, 6.4vw, 104px); line-height: 1; letter-spacing: -.02em; transition: transform .8s var(--ease), color .5s; }
.svc-row__ja { font-size: 13px; letter-spacing: .12em; color: var(--muted-d); }
.svc-row__lead { grid-column: 2 / -1; font-size: 14px; color: var(--muted-d); line-height: 1.9; }
.svc-row__arw { grid-row: 1; grid-column: 3; width: 32px; height: 32px; display: grid; place-items: center; }
.svc-row__arw .arw { width: 26px; height: 26px; transition: transform .7s var(--ease); }
.svc-row__thumb { grid-column: 1 / -1; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; }
.svc-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
	.svc-row__link { grid-template-columns: 80px 1.2fr 1fr 64px; padding: 44px 0; gap: 32px; }
	.svc-row__lead { grid-column: auto; max-width: 380px; }
	.svc-row__arw { grid-row: auto; grid-column: auto; justify-self: end; width: 64px; height: 64px; border: 1px solid var(--line-d); border-radius: 50%; transition: background .5s, border-color .5s; }
	.svc-row__thumb { display: none; }
	.svc-row__link::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: linear-gradient(90deg, rgba(0, 154, 235, .08), transparent 70%); opacity: 0; transition: opacity .6s; pointer-events: none; }
	.svc-row__link:hover::before { opacity: 1; }
	.svc-row__link:hover .svc-row__en { transform: translateX(24px); color: var(--white); }
	.svc-row__link:hover .svc-row__arw { background: var(--blue); border-color: var(--blue); }
	.svc-row__link:hover .arw { transform: rotate(-45deg); }
	.svc-list:hover .svc-row__link:not(:hover) .svc-row__en { color: rgba(243, 241, 236, .35); }
}
.svc__more { margin-top: 48px; display: flex; justify-content: flex-end; }

.svc-float { display: none; }
@media (hover: hover) and (min-width: 960px) {
	.svc-float { display: block; position: absolute; left: 0; top: 0; z-index: 3; width: 340px; aspect-ratio: 4 / 5; pointer-events: none; border-radius: 6px; overflow: hidden; clip-path: inset(50% 50% 50% 50% round 6px); transition: clip-path .8s var(--ease); will-change: transform; }
	.svc-float.is-on { clip-path: inset(0 0 0 0 round 6px); }
	.svc-float__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.15); transition: opacity .5s, transform 1.2s var(--ease); }
	.svc-float__img.is-on { opacity: 1; transform: scale(1); }
	.svc-float__img picture, .svc-float__img img { width: 100%; height: 100%; object-fit: cover; }
}

/* ==========================================================================
   NEWS
   ========================================================================== */
.news { padding: var(--sec) 0; }
.news__grid { display: grid; gap: 40px; }
.news__head { display: grid; gap: 28px; align-content: start; }
.news__title { font-family: var(--f-en); font-weight: 400; font-size: clamp(56px, 8vw, 140px); line-height: .92; letter-spacing: -.03em; }
.news__title em { color: var(--blue-deep); }
.news__head .link-arrow { justify-self: start; margin-top: 12px; }
.news__body .link-arrow { margin-top: 32px; }
@media (min-width: 960px) {
	.news__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
	.news__head { position: sticky; top: calc(var(--hdr-h) + 40px); }
}
.news-list { border-top: 1px solid var(--line); }
.news-list__item { border-bottom: 1px solid var(--line); }
.news-row { position: relative; display: grid; grid-template-columns: 1fr 28px; gap: 10px 20px; align-items: center; padding: 26px 0; }
.news-row::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ease); }
.news-row__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; font-family: var(--f-ui); font-size: 13px; letter-spacing: .08em; line-height: 1.4; color: var(--muted); }
.news-row__cat, .post__meta .news-row__cat { display: inline-block; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; font-family: var(--f-jp); font-size: 11px; letter-spacing: .1em; }
.news-row__title { font-size: 15px; line-height: 1.8; font-weight: 500; transition: transform .7s var(--ease); }
.news-row__arw { justify-self: end; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; transition: background .5s, color .5s; }
.news-row__arw .arw { width: 18px; height: 18px; transition: transform .6s var(--ease); }
@media (min-width: 960px) {
	.news-row { grid-template-columns: 210px 1fr 44px; padding: 34px 0; }
	.news-row__meta { grid-column: auto; }
	.news-row__title { font-size: 16px; }
	.news-row__arw { width: 44px; height: 44px; border: 1px solid var(--line); }
}
@media (hover: hover) {
	.news-row:hover::before { transform: scaleX(1); transform-origin: left; }
	.news-row:hover .news-row__title { transform: translateX(10px); }
	.news-row:hover .news-row__arw { background: var(--ink); color: var(--paper); border-color: var(--ink); }
	.news-row:hover .arw { transform: rotate(-45deg); }
}
.news-empty { padding: 40px 0; color: var(--muted); }

/* ==========================================================================
   RECRUIT (Top)
   ========================================================================== */
.rec { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--fg-d); overflow: hidden; background: var(--ink); }
.rec__media { position: absolute; inset: 0; overflow: hidden; }
.rec__img { position: absolute; inset: -12% 0; }
.rec__img picture, .rec__img img { width: 100%; height: 100%; object-fit: cover; }
.rec__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 32, 58, .35) 0%, rgba(19, 32, 58, .2) 40%, rgba(19, 32, 58, .9) 100%), linear-gradient(90deg, rgba(19, 32, 58, .7), transparent 70%); }
.rec__inner { position: relative; padding-block: calc(var(--sec) * 1.2) clamp(48px, 7vw, 112px); display: grid; gap: 32px; }
.rec__title { font-family: var(--f-en); font-weight: 400; font-size: clamp(64px, 12vw, 220px); line-height: .9; letter-spacing: -.03em; }
.rec__title em { color: var(--blue); }
.rec__body { display: grid; gap: 24px; max-width: 560px; color: rgba(243, 241, 236, .8); }
.rec__catch { font-family: var(--f-min); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.6; color: var(--fg-d); letter-spacing: .06em; }
.rec__body .btn { justify-self: start; margin-top: 8px; }
@media (min-width: 960px) {
	.rec__inner { grid-template-columns: 1fr 1fr; align-items: end; }
	.rec__inner .sec-label { grid-column: 1 / -1; }
	.rec__body { justify-self: end; }
}

/* ==========================================================================
   COMPANY (Top)
   ========================================================================== */
.co { padding: var(--sec) 0; }
.co__grid { display: grid; gap: 40px; }
.co__head { display: grid; gap: 28px; align-content: start; }
.co__title { font-family: var(--f-min); font-weight: 500; font-size: clamp(26px, 3.4vw, 52px); line-height: 1.6; letter-spacing: .06em; }
.co__list, .profile__list { border-top: 1px solid var(--line); }
.co__list > div, .profile__list > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.co__list dt, .profile__list dt { font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.co__list dd, .profile__list dd { line-height: 1.9; }
@media (min-width: 720px) {
	.co__list > div, .profile__list > div { grid-template-columns: 160px 1fr; gap: 24px; padding: 28px 0; }
}
.co__more { display: flex; justify-content: flex-end; }
@media (min-width: 960px) {
	.co__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
	.co__more { grid-column: 2; }
}

/* ==========================================================================
   CTA / FOOTER
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--blue-ink); color: var(--fg-d); padding: var(--sec) 0; isolation: isolate; }
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 85% 110%, rgba(0, 154, 235, .55), transparent 70%), radial-gradient(40% 60% at 10% -10%, rgba(0, 83, 182, .6), transparent 70%); }
.cta__inner { display: grid; gap: 36px; }
.cta__title { font-family: var(--f-en); font-weight: 400; font-size: clamp(52px, 10vw, 184px); line-height: .95; letter-spacing: -.03em; }
.cta__title em { color: var(--gold); }
.cta__row { display: grid; gap: 40px; align-items: center; }
.cta__lead { color: rgba(243, 241, 236, .78); }
.cta__btn {
	justify-self: start; position: relative; display: grid; place-items: center; align-content: center; gap: 10px;
	width: clamp(150px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%;
	background: var(--paper); color: var(--ink); font-weight: 500; letter-spacing: .1em; font-size: 15px; line-height: 1.4;
	transition: background .5s, color .5s;
}
.cta__btn-arw { width: 22px; height: 22px; transition: transform .6s var(--ease); }
.cta__btn:hover { background: var(--gold); }
.cta__btn:hover .cta__btn-arw { transform: rotate(-45deg); }
@media (min-width: 960px) {
	.cta__row { grid-template-columns: 1fr auto; }
	.cta__btn { justify-self: end; }
}

.ftr { position: relative; background: var(--ink); color: var(--fg-d); padding-top: clamp(72px, 9vw, 128px); overflow: hidden; }
.ftr__top { display: grid; gap: 48px; padding-bottom: clamp(56px, 7vw, 96px); }
.ftr__brand { display: grid; gap: 24px; align-content: start; }
.logo--ftr .logo__mark { height: 44px; }
.ftr__slogan { font-family: var(--f-min); font-size: 15px; line-height: 1.9; color: var(--muted-d); letter-spacing: .08em; }
.ftr__nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; font-family: var(--f-ui); font-size: 14px; letter-spacing: .08em; }
.ftr__nav a { position: relative; display: inline-block; padding: 2px 0; }
.ftr__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.ftr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.ftr__info { display: grid; gap: 10px; font-size: 13px; line-height: 1.9; color: var(--muted-d); }
.ftr__name { color: var(--fg-d); font-size: 14px; }
@media (min-width: 960px) {
	.ftr__top { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 64px; }
}
.ftr__word { display: flex; justify-content: space-between; font-family: var(--f-en); font-size: 27vw; line-height: .76; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(243, 241, 236, .18); user-select: none; margin-inline: -.02em; }
.ftr__word span { display: inline-block; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); font-family: var(--f-ui); font-size: 12px; letter-spacing: .1em; color: var(--muted-d); }
.ftr__wish { display: none; }
@media (min-width: 720px) { .ftr__wish { display: block; } }
.ftr__top-btn { font-size: 12px; letter-spacing: .1em; color: var(--fg-d); }
.ftr__top-btn span { display: inline-block; margin-left: 6px; transition: transform .5s var(--ease); }
.ftr__top-btn:hover span { transform: translateY(-4px); }

/* ==========================================================================
   PAGE HEAD (下層)
   ========================================================================== */
.phead { position: relative; overflow: hidden; padding: calc(var(--hdr-h) + clamp(48px, 9vw, 140px)) 0 clamp(56px, 7vw, 112px); border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--f-ui); font-size: 12px; letter-spacing: .08em; color: var(--muted); line-height: 1.6; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a:hover { color: var(--blue-deep); }
.crumbs span[aria-current] { display: inline-block; max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.phead__title { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 72px); font-weight: 400; }
.phead__en { display: block; overflow: hidden; font-family: var(--f-en); font-size: clamp(76px, 16vw, 280px); line-height: .9; letter-spacing: -.035em; padding-bottom: .05em; }
.phead__en .ch { display: inline-block; }
.js .phead__en .ch, .js .nf__code .ch { transform: translateY(105%); }
.phead__ja { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-jp); font-size: 14px; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.phead__ja::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.phead__lead { margin-top: clamp(28px, 4vw, 48px); max-width: 720px; font-family: var(--f-min); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.9; letter-spacing: .06em; }
.phead__mark { position: absolute; right: calc(var(--gutter) * -.5); bottom: -18%; height: 120%; width: auto; opacity: .05; pointer-events: none; }
.phead__mark path { fill: var(--ink); }
.js [data-phead-in] { opacity: 0; transform: translateY(20px); }
.is-ready [data-phead-in] { opacity: 1; transform: none; transition: opacity 1s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
@media (max-width: 959px) {
	.phead__mark { height: 70%; bottom: -10%; right: -14%; }
}

/* ==========================================================================
   ABOUT page
   ========================================================================== */
.ab-intro { padding: var(--sec) 0 calc(var(--sec) * .5); }
.ab-intro__grid { display: grid; gap: 40px; }
.ab-intro__en { font-family: var(--f-en); font-size: clamp(56px, 9vw, 160px); line-height: .95; letter-spacing: -.03em; }
.ab-intro__en em { color: var(--blue-deep); }
.ab-intro__statement { margin-top: clamp(40px, 5vw, 80px); }
.ab-intro__body { display: grid; gap: 24px; margin-top: clamp(40px, 5vw, 64px); max-width: 640px; color: var(--muted); }
@media (min-width: 960px) {
	.ab-intro__grid { grid-template-columns: 3fr 9fr; gap: 64px; }
}

.values { background: var(--ink); color: var(--fg-d); padding-bottom: var(--sec); }
.values__list { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.values__item { display: grid; gap: 16px; padding: 40px 0; border-bottom: 1px solid var(--line-d); }
.values__no { font-family: var(--f-ui); font-size: 12px; letter-spacing: .1em; color: var(--blue); }
.values__title { display: grid; gap: 8px; font-weight: 400; }
.values__en { font-family: var(--f-en); font-size: clamp(40px, 5vw, 80px); line-height: 1; letter-spacing: -.02em; }
.values__ja { font-size: 14px; color: var(--muted-d); letter-spacing: .12em; }
.values__body { color: rgba(243, 241, 236, .78); max-width: 520px; }
@media (min-width: 960px) {
	.values__item { grid-template-columns: 80px 1.2fr 1fr; align-items: center; gap: 32px; padding: 56px 0; }
}

.ab-msg { padding: var(--sec) 0; }
.ab-msg__grid { display: grid; gap: 40px; }
.ab-msg__body { display: grid; gap: 24px; max-width: 720px; color: var(--muted); }
.ab-msg__lead { font-family: var(--f-min); font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.7; letter-spacing: .06em; color: var(--ink); }
.ab-msg__sign { display: grid; gap: 2px; justify-items: end; margin-top: 16px; font-family: var(--f-min); color: var(--ink); }
.ab-msg__links { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 24px; }
@media (min-width: 960px) {
	.ab-msg__grid { grid-template-columns: 3fr 9fr; gap: 64px; }
}

/* ==========================================================================
   SERVICE page
   ========================================================================== */
.svc-index { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.svc-index__list { display: grid; gap: 0; }
.svc-index__list a { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.svc-index__list li:last-child a { border-bottom: 0; }
.svc-index__no { font-family: var(--f-ui); font-size: 12px; color: var(--blue); letter-spacing: .1em; }
.svc-index__en { font-family: var(--f-en); font-size: 28px; line-height: 1.1; }
.svc-index__ja { grid-column: 2; font-size: 12px; color: var(--muted); letter-spacing: .1em; line-height: 1.4; }
.svc-index__list .arw { grid-row: 1; grid-column: 3; width: 18px; height: 18px; transition: transform .5s var(--ease); }
.svc-index__list a:hover .arw { transform: rotate(90deg) translateX(4px); }
@media (min-width: 960px) {
	.svc-index__list { grid-template-columns: repeat(3, 1fr); }
	.svc-index__list a { border-bottom: 0; border-right: 1px solid var(--line); padding: 8px 32px; }
	.svc-index__list li:first-child a { padding-left: 0; }
	.svc-index__list li:last-child a { border-right: 0; }
}

.svc-detail { padding: var(--sec) 0; scroll-margin-top: 40px; }
.svc-detail--dark { background: var(--ink); color: var(--fg-d); }
.svc-detail__grid { display: grid; gap: 40px; align-items: center; }
.svc-detail__media { position: relative; }
.svc-detail__media > .svc-detail__img { overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; }
.svc-detail__par { position: absolute; inset: -8% 0; }
.svc-detail__media > .svc-detail__img { position: relative; }
.svc-detail__par picture, .svc-detail__par img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__bigno { position: absolute; right: -.06em; bottom: -.5em; z-index: 1; font-family: var(--f-en); font-size: clamp(120px, 18vw, 300px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--blue); pointer-events: none; }
.svc-detail__text { display: grid; gap: 20px; align-content: start; }
.svc-detail__en { font-family: var(--f-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 14px; }
.svc-detail--dark .svc-detail__en { color: var(--muted-d); }
.svc-detail__en span { color: var(--blue); }
.svc-detail__ja { font-family: var(--f-jp); font-size: 15px; font-weight: 500; letter-spacing: .14em; }
.svc-detail__catch { font-family: var(--f-min); font-weight: 500; font-size: clamp(30px, 3.8vw, 60px); line-height: 1.45; letter-spacing: .06em; margin-top: 4px; }
.svc-detail__lead { font-weight: 500; }
.svc-detail__body { color: var(--muted); }
.svc-detail--dark .svc-detail__body { color: var(--muted-d); }
.svc-detail--dark .tags li { border-color: var(--line-d); }
.svc-detail .link-arrow { justify-self: start; margin-top: 12px; }
@media (min-width: 960px) {
	.svc-detail__grid { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 120px); }
	.svc-detail.is-rev .svc-detail__media { order: 2; }
	.svc-detail.is-rev .svc-detail__bigno { right: auto; left: -.06em; }
}

/* ==========================================================================
   COMPANY page
   ========================================================================== */
.profile { padding: var(--sec) 0; }
.profile__grid { display: grid; gap: 40px; }
.profile__head { display: grid; gap: 28px; align-content: start; }
.profile__catch { font-family: var(--f-min); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.7; letter-spacing: .06em; }
.profile__sub { display: block; font-family: var(--f-en); font-style: italic; font-size: 18px; color: var(--muted); line-height: 1.4; }
.profile__biz li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 12px; border-radius: 50%; background: var(--blue); vertical-align: middle; }
.profile__list a { border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
	.profile__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
	.profile__head { position: sticky; top: calc(var(--hdr-h) + 40px); }
}

.access { background: var(--ink); color: var(--fg-d); padding: var(--sec) 0; }
.access__grid { display: grid; gap: 40px; align-items: center; }
.access__text { display: grid; gap: 28px; align-content: start; }
.access__title { font-family: var(--f-en); font-size: clamp(56px, 7vw, 120px); line-height: .95; letter-spacing: -.03em; }
.access__title em { color: var(--blue); }
.access__addr { color: var(--muted-d); }
.access__text .link-arrow { justify-self: start; }
.access__map { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--ink-3); }
.access__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
@media (min-width: 960px) {
	.access__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
}

/* ==========================================================================
   RECRUIT page
   ========================================================================== */
.rc-visual { position: relative; height: clamp(420px, 80vh, 860px); overflow: hidden; color: var(--fg-d); display: flex; align-items: flex-end; background: var(--ink); }
.rc-visual__media { position: absolute; inset: 0; }
.rc-visual__img { position: absolute; inset: -12% 0; }
.rc-visual__img picture, .rc-visual__img img { width: 100%; height: 100%; object-fit: cover; }
.rc-visual__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(19, 32, 58, .8)); }
.rc-visual__inner { position: relative; padding-bottom: clamp(32px, 5vw, 72px); }
.rc-visual__title { font-family: var(--f-en); font-size: clamp(64px, 12vw, 220px); line-height: .9; letter-spacing: -.03em; }
.rc-visual__title em { color: var(--blue); }
.rc-msg { padding: var(--sec) 0 calc(var(--sec) * .5); }
.rc-msg__grid { display: grid; gap: 40px; }
.rc-msg__title { margin-top: 0; }
.rc-msg__body { display: grid; gap: 24px; color: var(--muted); }
.rc-msg__body h2 { color: var(--ink); margin-bottom: 16px; }
.rc-msg__body p { max-width: 640px; }
@media (min-width: 960px) {
	.rc-msg__grid, .req__grid { grid-template-columns: 3fr 9fr; gap: 64px; }
}
.req { padding: calc(var(--sec) * .5) 0 var(--sec); }
.req__grid { display: grid; gap: 40px; }
.req__cta { display: grid; gap: 16px; justify-items: start; }
.req__note { font-size: 13px; color: var(--muted); }
@media (min-width: 960px) { .req__cta { grid-column: 2; } }

/* ==========================================================================
   CONTACT page + Contact Form 7
   ========================================================================== */
.contact { padding: clamp(56px, 7vw, 112px) 0 var(--sec); }
.contact__grid { display: grid; gap: 48px; }
.contact__side { display: grid; gap: 32px; align-content: start; }
.contact__box { display: grid; gap: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.contact__label { font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.contact__tel { font-family: var(--f-en); font-size: 40px; line-height: 1.1; color: var(--ink); letter-spacing: .01em; }
.contact__steps { display: grid; gap: 12px; font-size: 14px; }
.contact__steps li { display: flex; gap: 14px; align-items: center; }
.contact__steps span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--f-ui); font-size: 11px; color: var(--blue); }
@media (min-width: 960px) {
	.contact__grid { grid-template-columns: 4fr 8fr; gap: clamp(64px, 8vw, 140px); }
	.contact__side { position: sticky; top: calc(var(--hdr-h) + 40px); }
}

.wpcf7 { margin: 0; }
.wpcf7 form > p:empty { display: none; }
.cf7__list { display: grid; border-top: 1px solid var(--line); }
.cf7__list dt { display: flex; align-items: center; gap: 12px; padding-top: 28px; font-weight: 500; font-size: 15px; line-height: 1.6; }
.cf7__list dd { padding: 12px 0 28px; border-bottom: 1px solid var(--line); }
.cf7__list p { margin: 0; }
.cf7__list dt p { display: flex; align-items: center; gap: 12px; }
.cf7__list br, .cf7__button br { display: none; }
.cf7__required, .cf7__optional { flex: none; margin-right: 2px; display: inline-grid; place-items: center; min-width: 44px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 11px; font-weight: 500; letter-spacing: .1em; line-height: 1; }
.cf7__required { background: var(--blue-deep); color: var(--white); }
.cf7__optional { border: 1px solid var(--line); color: var(--muted); }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 textarea, .wpcf7 select {
	width: 100%; padding: 16px 18px; border: 1px solid transparent; border-radius: 6px;
	background: var(--white); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.7; letter-spacing: .04em;
	box-shadow: inset 0 0 0 1px var(--line);
	transition: box-shadow .3s, background .3s;
	-webkit-appearance: none; appearance: none;
}
.wpcf7 textarea { min-height: 220px; resize: vertical; }
.wpcf7 ::placeholder { color: rgba(19, 32, 58, .32); }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.wpcf7-not-valid { box-shadow: inset 0 0 0 2px #d4405a !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 8px; color: #c22d4a; font-size: 13px; }
.cf7__button { margin-top: 40px; display: flex; justify-content: center; position: relative; }
.cf7__button p { display: contents; }
.wpcf7-submit {
	min-width: min(100%, 320px); padding: 22px 48px; border: 0; border-radius: 99px; cursor: pointer;
	background: var(--ink); color: var(--paper); font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .14em;
	transition: background .4s, transform .4s var(--ease);
}
.wpcf7-submit:hover { background: var(--blue-deep); }
.wpcf7-submit:disabled { opacity: .5; cursor: wait; }
.wpcf7-spinner { position: absolute; right: 16px; top: 50%; margin: -12px 0 0; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output, .wpcf7 form .wpcf7-response-output:empty { display: none; }
.wpcf7 form .wpcf7-response-output { margin: 28px 0 0; padding: 16px 20px; border: 0; border-radius: 6px; background: var(--paper-2); font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { background: rgba(0, 154, 235, .12); color: var(--blue-ink); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: rgba(212, 64, 90, .1); color: #8f1d33; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wpcf7 .hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
@media (min-width: 720px) {
	.cf7__list { grid-template-columns: 220px 1fr; }
	.cf7__list dt { padding: 36px 0; border-bottom: 1px solid var(--line); align-self: stretch; align-items: flex-start; padding-top: 44px; }
	.cf7__list dd { padding: 28px 0; }
	.cf7__button { justify-content: flex-start; margin-left: 220px; }
}

/* ==========================================================================
   NEWS index / single / prose
   ========================================================================== */
.newsx { padding: clamp(56px, 7vw, 112px) 0 var(--sec); }
.newsx__grid { display: grid; gap: 32px; }
.newsx__side { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; align-content: start; }
.newsx__label { font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.newsx__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.newsx__cats a { display: inline-block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; line-height: 1.5; transition: background .3s, color .3s; }
.newsx__cats a[aria-current], .newsx__cats a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.newsx__count { font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.newsx__count span { font-family: var(--f-en); font-size: 56px; line-height: 1; letter-spacing: 0; color: var(--ink); margin-right: 8px; vertical-align: -6px; }
@media (min-width: 960px) {
	.newsx__grid { grid-template-columns: 3fr 9fr; gap: 64px; }
	.newsx__side { flex-direction: column; align-items: flex-start; position: sticky; top: calc(var(--hdr-h) + 40px); }
}
.pager { margin-top: 56px; }
.pager ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 8px; border-radius: 99px; border: 1px solid var(--line); font-family: var(--f-ui); font-size: 14px; transition: background .3s, color .3s; }
.pager .page-numbers.current, .pager a.page-numbers:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .page-numbers.dots { border: 0; }
.pager .arw { width: 18px; height: 18px; }

.post { padding-bottom: var(--sec); }
.post__head { padding: calc(var(--hdr-h) + clamp(48px, 8vw, 120px)) 0 clamp(40px, 5vw, 64px); }
.post__meta { display: flex; align-items: center; gap: 16px; margin-top: clamp(32px, 5vw, 56px); font-family: var(--f-ui); font-size: 14px; letter-spacing: .08em; color: var(--muted); }
.post__title { margin-top: 20px; font-family: var(--f-min); font-weight: 500; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.55; letter-spacing: .04em; }
.post__thumb { margin-bottom: clamp(40px, 5vw, 72px); }
.post__thumb img { width: 100%; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.post .prose { padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }

.prose { font-size: 16px; line-height: 2.1; }
.prose > * + * { margin-top: 1.6em; }
.prose h2 { margin-top: 2.6em; font-family: var(--f-min); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.6; padding-bottom: .5em; border-bottom: 1px solid var(--line); }
.prose h3 { margin-top: 2.2em; font-size: 19px; line-height: 1.7; padding-left: 16px; border-left: 3px solid var(--blue); }
.prose h4 { margin-top: 2em; font-size: 17px; }
.prose a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue); }
.prose img { border-radius: 6px; }
.prose figure { margin-block: 2.4em; }
.prose figcaption { margin-top: .8em; font-size: 13px; color: var(--muted); text-align: center; }
.prose blockquote { padding: 1.4em 1.6em; border-left: 3px solid var(--blue); background: var(--paper-2); border-radius: 0 6px 6px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 500; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 3em; }
.prose .wp-block-button__link { display: inline-block; padding: 14px 32px; border-radius: 99px; background: var(--ink); color: var(--paper); text-decoration: none; }
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose .has-text-align-center { text-align: center; }
.prose .has-text-align-right { text-align: right; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose .wp-block-embed__wrapper { position: relative; }

.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav__item a { display: grid; gap: 6px; }
.post-nav__item--next { text-align: right; }
.post-nav__item--next a { justify-items: end; }
.post-nav__dir { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-nav__dir .arw { width: 16px; height: 16px; }
.post-nav__title { font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav__item a:hover .post-nav__title { color: var(--blue-deep); }
.post-nav__all { display: grid; justify-items: center; gap: 10px; font-size: 12px; letter-spacing: .1em; }
.post-nav__grid { display: grid; grid-template-columns: repeat(2, 6px); gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 50%; transition: background .4s, transform .6s var(--ease); }
.post-nav__grid i { width: 6px; height: 6px; background: currentColor; border-radius: 1px; }
.post-nav__all:hover .post-nav__grid { background: var(--ink); color: var(--paper); transform: rotate(45deg); }
@media (max-width: 719px) {
	.post-nav__title { display: none; }
}

/* ==========================================================================
   404
   ========================================================================== */
.nf { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--ink); color: var(--fg-d); overflow: hidden; }
.nf__inner { position: relative; z-index: 1; display: grid; gap: 24px; justify-items: start; padding-block: calc(var(--hdr-h) + 40px) 80px; }
.nf__code { overflow: hidden; font-family: var(--f-en); font-size: clamp(120px, 26vw, 420px); line-height: .85; letter-spacing: -.04em; }
.nf__code .ch { display: inline-block; }
.nf__title { font-family: var(--f-min); font-weight: 500; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.6; }
.nf__text { color: var(--muted-d); }
.nf__mark { position: absolute; right: -8%; bottom: -20%; height: 110%; width: auto; opacity: .07; }

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js [data-reveal-line] > span, .js [data-hero-line], .js [data-hero-in], .js [data-phead-in], .js .phead__en .ch, .js .nf__code .ch { opacity: 1 !important; transform: none !important; }
	[data-scrub-text] .ch { opacity: 1 !important; }
	.loader, .cursor { display: none !important; }
}
