/* =========================================================
   OFC トップページ リニューアル
   色・文字はここ（:root）でまとめて変更できます
   ========================================================= */
:root {
	--ink: #141b22;
	--ink-2: #26313b;
	--text: #2b333b;
	--muted: #67717b;
	--line: #e4e0d8;
	--paper: #faf8f4;
	--sand: #f1ece3;
	--white: #fff;
	--accent: #df5a23;
	--accent-2: #c34915;

	--f-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, system-ui, sans-serif;
	--f-en: "Barlow Condensed", "Noto Sans JP", sans-serif;

	--container: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
	--adminbar: var(--wp-admin--admin-bar--height, 0px);
	--radius: 6px;
	--shadow: 0 24px 60px -28px rgba(20, 27, 34, .35);
}

/* ---------- Base ---------- */
:where(.ofc-rn) *, :where(.ofc-rn) *::before, :where(.ofc-rn) *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--adminbar) + 16px); }
body.ofc-rn {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--f-ja);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
:where(.ofc-rn) :where(img, video, svg) { display: block; max-width: 100%; }
:where(.ofc-rn) img { height: auto; }
:where(.ofc-rn) a { color: inherit; text-decoration: none; }
:where(.ofc-rn) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.ofc-rn) :where(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
:where(.ofc-rn) :where(h1, h2, h3) { color: var(--ink); font-feature-settings: "palt"; letter-spacing: .04em; word-break: auto-phrase; }
:where(.ofc-rn) svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ofc-rn :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.o-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.o-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.o-skip { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--ink); color: #fff !important; padding: 8px 14px; border-radius: 4px; }
.o-skip:focus { top: 8px; }
.o-preview-bar { background: #fff3c4; color: #5a4300; font-size: 13px; text-align: center; padding: 8px 16px; }
.o-preview-bar a { text-decoration: underline !important; font-weight: 700; margin-left: .5em; }

/* ---------- Buttons ---------- */
.o-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .9em 1.5em; border: 1px solid transparent; border-radius: 4px;
	font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .06em;
	cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s;
	font-family: inherit;
}
.o-btn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .25s; }
.o-btn:hover svg { transform: translateX(3px); }
.o-btn--lg { padding: 1.1em 1.9em; font-size: 16px; }
.o-btn--accent { background: var(--accent); color: #fff; }
.o-btn--accent:hover { background: var(--accent-2); }
.o-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; font-family: var(--f-en); font-size: 20px; letter-spacing: .06em; padding-block: .72em; }
.o-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.o-btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.o-btn--outline:hover { background: var(--ink); color: #fff; }
.o-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.o-link svg { width: 16px; height: 16px; stroke-width: 2.2; }
.o-link:hover { color: var(--accent); }

/* ---------- Header ---------- */
.o-header {
	position: sticky; top: var(--adminbar); z-index: 100;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.o-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 27, 34, .4); }
.o-header__inner { display: flex; align-items: center; gap: 24px; max-width: 1360px; height: var(--header-h); margin-inline: auto; padding-inline: var(--gutter); }
.o-header__logo { flex: none; margin-right: auto; }
.o-header__logo img { height: 46px; width: auto; }
.o-header__toggle { display: none; }

.o-nav { display: flex; align-items: center; gap: 28px; }
.o-nav__list { display: flex; gap: 26px; }
.o-nav__list a { display: flex; flex-direction: column; align-items: center; line-height: 1.3; padding: 6px 0; position: relative; }
.o-nav__list a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .25s, left .25s; }
.o-nav__list a:hover::after, .o-nav__list a[aria-current]::after { width: 100%; left: 0; }
.o-nav__en { font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.o-nav__ja { font-size: 14px; font-weight: 500; color: var(--ink); }
.o-nav__cta { display: flex; align-items: center; gap: 18px; }
.o-tel { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.o-tel svg { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.8; }
.o-tel span { display: flex; flex-direction: column; font-family: var(--f-en); font-size: 25px; font-weight: 700; line-height: 1.05; letter-spacing: .04em; }
.o-tel small { font-family: var(--f-ja); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .06em; }
.o-nav__cta .o-btn { padding: .85em 1.2em; font-size: 14px; }

@media (max-width: 1280px) {
	.o-nav__list { gap: 18px; }
	.o-tel { display: none; }
}

@media (max-width: 1099px) {
	:root { --header-h: 64px; }
	/* backdrop-filter があると固定メニューの基準がヘッダーになってしまうため外す */
	.o-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
	.o-header__logo img { height: 38px; }
	.o-header__toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; color: var(--ink);
	}
	.o-burger { display: grid; gap: 6px; width: 24px; }
	.o-burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
	.o-header.is-open .o-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.o-header.is-open .o-burger span:nth-child(2) { opacity: 0; }
	.o-header.is-open .o-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	.o-nav {
		position: fixed; left: 0; right: 0; bottom: 0;
		top: calc(var(--header-h) + var(--adminbar));
		flex-direction: column; align-items: stretch; gap: 28px;
		padding: 16px var(--gutter) 40px; background: var(--white); overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .25s, transform .25s, visibility 0s .25s;
	}
	.o-header.is-open .o-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
	.o-nav__list { flex-direction: column; gap: 0; }
	.o-nav__list a { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: 18px 2px; border-bottom: 1px solid var(--line); }
	.o-nav__list a::after { display: none; }
	.o-nav__ja { font-size: 17px; font-weight: 700; }
	.o-nav__cta { flex-direction: column; align-items: stretch; }
	.o-tel { display: flex; justify-content: center; }
	.o-nav__cta .o-btn { padding: 1.1em; font-size: 16px; }
	body.ofc-rn.is-locked { overflow: hidden; }
}

/* ---------- Hero ---------- */
.o-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center;
	min-height: min(86svh, 800px);
	padding: 96px 0 150px;
	background: var(--ink); color: #fff;
}
.o-hero__media { position: absolute; inset: 0; z-index: -2; }
.o-hero__video { width: 100%; height: 100%; object-fit: cover; }
.o-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.o-hero__slide.is-on { opacity: 1; }
.o-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s cubic-bezier(.2, .6, .3, 1); }
.o-hero__slide.is-on img { transform: scale(1); }
.o-hero__cap { position: absolute; right: var(--gutter); bottom: 110px; display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .88); }
.o-hero__cap b { font-family: var(--f-en); font-size: 14px; font-weight: 600; letter-spacing: .12em; color: #fff; }
.o-hero__dots { display: flex; gap: 6px; }
.o-hero__dots i { width: 18px; height: 2px; background: rgba(255, 255, 255, .35); transition: background-color .4s, width .4s; }
.o-hero__dots i.is-on { width: 32px; background: var(--accent); }
.o-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(20, 27, 34, .86) 0%, rgba(20, 27, 34, .55) 50%, rgba(20, 27, 34, .12) 100%),
		linear-gradient(0deg, rgba(20, 27, 34, .5) 0%, rgba(20, 27, 34, 0) 38%);
}
.o-hero__mark {
	position: absolute; right: -.04em; bottom: 70px; z-index: -1;
	font-family: var(--f-en); font-weight: 700; font-size: clamp(88px, 15vw, 240px);
	line-height: .8; letter-spacing: .01em; white-space: nowrap;
	color: rgba(255, 255, 255, .06); pointer-events: none; user-select: none;
}
.o-hero__body { position: relative; }
.o-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-size: 14px; font-weight: 500; letter-spacing: .16em; color: rgba(255, 255, 255, .86);
}
.o-hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--accent); }
.o-hero__title {
	margin: 18px 0 22px; color: #fff;
	font-size: clamp(30px, 4.7vw, 60px); font-weight: 700; line-height: 1.38; letter-spacing: .05em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.o-hero__lead { max-width: 34em; font-size: clamp(15px, 1.4vw, 17px); color: rgba(255, 255, 255, .86); }
.o-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Logo mark（丸いOFCマーク。色は color で指定） ---------- */
.o-logo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.o-logo > span { position: absolute; inset: 0; background: currentColor; -webkit-mask: var(--o-mark) center / contain no-repeat; mask: var(--o-mark) center / contain no-repeat; }

/* ヒーロー右側の大きなマーク＋周回する点 */
.o-emblem {
	position: absolute; z-index: -1; top: 50%;
	right: max(-60px, calc((100vw - 1260px) / 2 - 60px));
	width: min(46vw, 600px); color: #fff; pointer-events: none;
	transform: translateY(-50%);
}
.o-emblem .o-logo { opacity: .16; }
.o-emblem::after { content: ""; position: absolute; inset: -7%; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; }
.o-orbit { position: absolute; inset: -7%; width: 114%; height: 114%; overflow: visible; }
.o-orbit circle { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 4 1000; stroke-linecap: round; transform-origin: 50% 50%; animation: o-orbit 24s linear infinite; }
@keyframes o-orbit { to { transform: rotate(360deg); } }

/* スライドの進み具合を表すリング（中に小さなマーク） */
.o-hero__cap { gap: 14px; }
.o-cap-text { display: flex; flex-direction: column; line-height: 1.5; }
.o-ring { position: relative; flex: none; width: 46px; height: 46px; color: #fff; }
.o-ring .o-logo { position: absolute; inset: 9px; }
.o-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.o-ring circle { fill: none; stroke-width: 2; }
.o-ring__bg { stroke: rgba(255, 255, 255, .25); }
.o-ring__fg { stroke: var(--accent); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.o-ring.is-run .o-ring__fg { animation: o-ring 6s linear forwards; }
@keyframes o-ring { to { stroke-dashoffset: 0; } }

/* オープニング：マークが浮かび、広がりながら消えて見出しが現れる（初回訪問時のみ） */
.o-intro { display: none; }
html.o-intro-on .o-intro {
	position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
	background: rgba(20, 27, 34, .55); color: #fff; pointer-events: none;
	transition: opacity .7s ease .1s, visibility 0s .8s;
}
html.o-intro-on .o-intro .o-logo { width: clamp(120px, 16vw, 190px); opacity: 0; transform: scale(.86); transition: opacity .6s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
html.o-intro-on .o-intro.is-in .o-logo { opacity: 1; transform: none; }
html.o-intro-on .o-intro.is-out { opacity: 0; visibility: hidden; }
html.o-intro-on .o-intro.is-out .o-logo { transform: scale(1.25); transition: transform .8s ease; }
html.o-intro-on .o-hero__body > * { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.o-intro-on .o-hero:not(.is-ready) .o-hero__body > * { opacity: 0; transform: translateY(18px); animation: o-failsafe .4s 3s forwards; }
@keyframes o-failsafe { to { opacity: 1; transform: none; } } /* JSが動かなくても3秒後には必ず表示 */
html.o-intro-on .o-hero:not(.is-ready) .o-emblem { opacity: 0; }
html.o-intro-on .o-emblem { transition: opacity 1.4s ease .2s; }
html.o-intro-on .is-ready .o-hero__body > :nth-child(2) { transition-delay: .08s; }
html.o-intro-on .is-ready .o-hero__body > :nth-child(3) { transition-delay: .16s; }
html.o-intro-on .is-ready .o-hero__body > :nth-child(4) { transition-delay: .24s; }

/* ---------- Stats ---------- */
.o-stats {
	position: relative; z-index: 2; margin-top: -86px;
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: var(--white); box-shadow: var(--shadow); border-top: 3px solid var(--accent);
}
.o-stats__item { display: flex; flex-direction: column; gap: 6px; padding: 26px 32px 28px; }
.o-stats__item + .o-stats__item { border-left: 1px solid var(--line); }
.o-stats__label { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .08em; }
.o-stats__value { display: flex; align-items: baseline; gap: 6px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.1; }
.o-stats__value b { font-family: var(--f-en); font-size: 54px; font-weight: 700; line-height: .9; letter-spacing: .01em; }
.o-stats__value i { font-style: normal; font-size: 18px; }

/* ---------- Section heading ---------- */
.o-section { padding-block: clamp(72px, 10vw, 128px); }
.o-heading { margin-bottom: clamp(36px, 5vw, 56px); }
.o-heading__en {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--f-en); font-size: 15px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.o-heading__en::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.o-heading__ja { margin-top: 8px; font-size: clamp(25px, 3.2vw, 38px); font-weight: 700; line-height: 1.45; }
.o-heading--center { text-align: center; }
.o-heading--center .o-heading__en { justify-content: center; }
.o-heading--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.o-heading__note { max-width: 30em; color: var(--muted); font-size: 15px; }

/* ---------- Industries ---------- */
.o-industries__list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.o-industries__item {
	display: flex; flex-direction: column; align-items: center; gap: 14px;
	padding: 28px 10px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4;
	transition: border-color .25s, transform .25s, box-shadow .25s;
}
.o-industries__item svg { width: 38px; height: 38px; stroke-width: 1.5; transition: color .25s; }
.o-industries__item:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 30px -22px rgba(20, 27, 34, .5); }
.o-industries__item:hover svg { color: var(--accent); }

/* ---------- Reasons ---------- */
.o-reasons { background: var(--white); }
.o-reason { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.o-reason + .o-reason { margin-top: clamp(64px, 9vw, 112px); }
.o-reason--rev .o-reason__media { order: 2; }
.o-reason__media { position: relative; isolation: isolate; }
.o-reason__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; background: var(--sand); }
.o-reason--rev .o-reason__media::before { inset: 22px 22px -22px -22px; }
.o-reason__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.o-reason__num { display: flex; flex-direction: column; font-family: var(--f-en); font-size: 72px; font-weight: 700; line-height: .9; color: var(--accent); }
.o-reason__num span { font-size: 14px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.o-reason__title { margin: 20px 0 18px; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.5; }
.o-reason__text p { font-size: 15.5px; line-height: 2.05; }
.o-reason__text p + p { margin-top: .9em; }

/* ---------- CTA ---------- */
.o-cta {
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px),
		var(--ink);
	color: #fff; padding-block: 56px;
}
.o-cta { position: relative; overflow: hidden; isolation: isolate; }
.o-cta__mark { position: absolute; z-index: -1; right: -60px; top: 50%; width: 260px; color: #fff; opacity: .06; transform: translateY(-50%); pointer-events: none; }
.o-cta--final .o-cta__mark { right: 50%; width: 420px; opacity: .05; transform: translate(50%, -50%); }
.o-cta__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px; }
.o-cta__big { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: .06em; line-height: 1.3; font-feature-settings: "palt"; }
.o-cta__big em { font-style: normal; color: var(--accent); }
.o-cta__small { margin-top: 6px; color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.o-cta__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; }
.o-cta__tel { display: flex; flex-direction: column; font-family: var(--f-en); font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: .04em; }
.o-cta__tel small { font-family: var(--f-ja); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: rgba(255, 255, 255, .68); }
.o-cta__tel:hover { color: var(--accent); }
.o-cta--final { padding-block: clamp(72px, 9vw, 112px); }
.o-cta--final .o-cta__inner { flex-direction: column; text-align: center; }
.o-cta--final .o-cta__big { font-size: clamp(30px, 4.4vw, 52px); }
.o-cta--final .o-cta__actions { justify-content: center; }

/* ---------- Area ---------- */
.o-area__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(36px, 6vw, 80px); }
.o-area__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.o-area__chips li { padding: .35em 1em; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink); }
.o-area__chips li:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.o-area__text p { font-size: 15.5px; line-height: 2.05; }
.o-area__text p + p { margin-top: .9em; }
.o-area__map { padding: clamp(16px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.o-area__map img { width: 100%; max-width: 420px; margin-inline: auto; }

/* ---------- Works ---------- */
.o-works { background: var(--white); }
.o-works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.o-work__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--sand); }
.o-work__media img { width: 100%; height: 100%; }
.o-work__media img { object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.o-work__media img.is-cropped { position: absolute; top: 0; height: auto; max-width: none; object-fit: fill; }
.o-work:hover .o-work__media img:not(.is-cropped) { transform: scale(1.04); }
.o-work__media picture { display: block; }
.o-work__body { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; padding-top: 16px; }
.o-work__num { font-family: var(--f-en); font-size: 24px; font-weight: 700; color: var(--accent); line-height: 1; }
.o-work__title { font-size: 16.5px; line-height: 1.55; }
.o-work__tag { grid-column: 2; justify-self: start; margin-top: 6px; padding: .1em .75em; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }
html.js .o-works__grid:not(.is-open) .is-extra { display: none; }
html:not(.js) [data-works-more] { display: none; }
.o-works__more { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 36px; margin-top: 56px; }

/* ---------- Flow ---------- */
.o-flow { background: var(--sand); }
.o-flow__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: flow; }
.o-flow__step { position: relative; padding: 30px 24px 30px; background: var(--white); border-radius: var(--radius); }
.o-flow__step:not(:last-child)::after {
	content: ""; position: absolute; top: 50%; right: -14px; z-index: 1;
	width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
	transform: translateY(-50%) rotate(45deg);
}
.o-flow__num { display: block; font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.o-flow__num b { display: block; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: .02em; color: var(--accent); }
.o-flow__title { margin: 14px 0 8px; font-size: 17px; line-height: 1.5; }
.o-flow__text { font-size: 14px; line-height: 1.85; color: var(--text); }

/* =========================================================
   下層ページ
   ========================================================= */

/* ---------- 写真の見出しエリア ---------- */
.o-phero {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: flex-end;
	min-height: clamp(300px, 38vw, 440px);
	padding-block: 80px 64px;
	background: var(--ink); color: #fff;
}
.o-phero__media { position: absolute; inset: 0; z-index: -2; }
.o-phero__media img { width: 100%; height: 100%; object-fit: cover; }
.o-phero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(20, 27, 34, .88) 0%, rgba(20, 27, 34, .6) 55%, rgba(20, 27, 34, .25) 100%),
		linear-gradient(0deg, rgba(20, 27, 34, .55) 0%, rgba(20, 27, 34, 0) 50%);
}
.o-emblem--page { width: min(34vw, 400px); }
.o-emblem--page .o-logo { opacity: .14; }
.o-phero__en {
	font-family: var(--f-en); font-weight: 700; text-transform: uppercase;
	font-size: clamp(44px, 7vw, 96px); line-height: .9; letter-spacing: .02em;
	color: rgba(255, 255, 255, .95);
}
.o-phero__title {
	display: flex; align-items: center; gap: 14px; margin-top: 18px;
	color: #fff; font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; letter-spacing: .12em;
}
.o-phero__title::before { content: ""; width: 36px; height: 2px; background: var(--accent); }

/* ---------- パンくず ---------- */
.o-crumbs { background: var(--white); border-bottom: 1px solid var(--line); }
.o-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding-block: 14px; font-size: 13px; color: var(--muted); }
.o-crumbs li + li::before { content: "/"; margin: 0 12px; color: var(--line); }
.o-crumbs a { color: var(--ink); font-weight: 500; }
.o-crumbs a:hover { color: var(--accent); }

/* ---------- 想い・理念：大きなキャッチコピー ---------- */
.o-statement { background: var(--white); }
.o-statement__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 104px); align-items: start; }
.o-statement__catch {
	margin-top: 14px;
	font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; line-height: 1.5; letter-spacing: .04em;
	text-wrap: balance;
}
.o-statement__catch > span { color: var(--accent); font-weight: 500; }
.o-statement__catch i, .o-quote__text i { font-style: normal; display: inline-block; } /* 「、」の後で自然に改行 */
.o-statement__catch > span:first-child { margin-left: -.55em; }
.o-statement__sub {
	display: inline-flex; align-items: center; gap: 14px; margin-top: 20px;
	font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; color: var(--ink); letter-spacing: .1em;
}
.o-statement__sub::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.o-statement__media { position: relative; isolation: isolate; margin: 48px 22px 0 0; }
.o-statement__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; background: var(--sand); }
.o-statement__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.o-statement__body { padding-top: 6px; max-width: 38em; }
.o-statement__body p { font-size: 16px; line-height: 2.2; }
.o-statement__body p + p { margin-top: 1.4em; }
.o-statement__sign { margin-top: 2.4em !important; text-align: right; font-weight: 700; color: var(--ink); letter-spacing: .12em; }
.o-statement__sign::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--ink); }

/* ---------- 大切にしている言葉の帯 ---------- */
.o-quote { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 11vw, 140px); background: var(--ink); color: #fff; text-align: center; }
.o-quote__media { position: absolute; inset: 0; z-index: -2; }
.o-quote__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.o-quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 27, 34, .8); }
.o-quote__inner { position: relative; }
.o-quote__mark { position: absolute; left: 50%; top: 50%; z-index: -1; width: clamp(200px, 30vw, 360px); color: #fff; opacity: .08; transform: translate(-50%, -50%); }
.o-quote blockquote { margin: 0; }
.o-quote__text { font-size: clamp(30px, 5vw, 60px); font-weight: 700; letter-spacing: .14em; line-height: 1.4; font-feature-settings: "palt"; text-wrap: balance; }
.o-quote__text::before, .o-quote__text::after { color: var(--accent); font-weight: 500; }
.o-quote__text::before { content: "「"; }
.o-quote__text::after { content: "」"; }
.o-quote__note { margin-top: 22px; font-size: 15px; color: rgba(255, 255, 255, .78); letter-spacing: .08em; }

/* ---------- ほかのページへの案内 ---------- */
.o-links { background: var(--paper); }
.o-links__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.o-linkcard { display: block; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.o-linkcard__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.o-linkcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.o-linkcard__body { position: relative; display: grid; gap: 2px; padding: 20px 56px 22px 22px; }
.o-linkcard__en { font-family: var(--f-en); font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.o-linkcard__ja { font-size: 18px; font-weight: 700; color: var(--ink); }
.o-linkcard svg { position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; stroke-width: 2; color: var(--ink); transform: translateY(-50%); transition: transform .25s, color .25s; }
.o-linkcard:hover { border-color: var(--ink); box-shadow: 0 18px 40px -28px rgba(20, 27, 34, .55); }
.o-linkcard:hover img { transform: scale(1.04); }
.o-linkcard:hover svg { color: var(--accent); transform: translate(4px, -50%); }

/* ---------- 施工事例ページ：絞り込み ---------- */
.o-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.o-filter__btn {
	display: inline-flex; align-items: center; gap: 8px; padding: .5em 1.05em;
	border: 1px solid var(--line); border-radius: 999px; background: var(--white);
	font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.o-filter__btn small { font-family: var(--f-en); font-size: 14px; font-weight: 600; color: var(--muted); }
.o-filter__btn:hover { border-color: var(--ink); }
.o-filter__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.o-filter__btn[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.o-works--page { background: var(--paper); }
.o-works--page .o-work[hidden] { display: none; }
.o-works__empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- 会社概要 ---------- */
.o-company { background: var(--white); }
.o-company__lead { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.o-company__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.o-table { border-top: 2px solid var(--ink); }
.o-table > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.o-table dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.o-table dd { font-size: 15.5px; line-height: 1.85; min-width: 0; overflow-wrap: anywhere; }
.o-table a { color: var(--ink); border-bottom: 1px solid var(--line); }
.o-table a:hover { color: var(--accent); border-color: currentColor; }
.o-company__map { position: sticky; top: calc(var(--header-h) + var(--adminbar) + 24px); }
.o-company__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3.4; border: 0; border-radius: var(--radius); background: var(--sand); filter: grayscale(.25); }
.o-company__access { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* ---------- お問い合わせ ---------- */
.o-contact { background: var(--paper); }
.o-contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.o-contact__lead { margin-top: 14px; }
.o-contact__lead p { font-size: 15.5px; }
.o-form { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.o-form__fallback { line-height: 2; }
.o-form__fallback a { color: var(--accent); font-weight: 700; }
.o-contact__side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + var(--adminbar) + 24px); }
.o-telcard { padding: 26px 28px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.o-telcard__label { font-size: 13px; color: rgba(255, 255, 255, .75); letter-spacing: .06em; }
.o-telcard__num { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--f-en); font-size: clamp(30px, 3vw, 38px); font-weight: 700; letter-spacing: .03em; line-height: 1.1; }
.o-telcard__num svg { width: 28px; height: 28px; color: var(--accent); stroke-width: 2; flex: none; }
.o-telcard__note { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.o-steps { display: grid; gap: 0; padding: 8px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.o-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; }
.o-steps li + li { border-top: 1px dashed var(--line); }
.o-steps__num { font-family: var(--f-en); font-size: 26px; font-weight: 700; line-height: 1; color: var(--accent); }
.o-steps__title { font-weight: 700; color: var(--ink); line-height: 1.5; }
.o-steps__text { margin-top: 4px; font-size: 13.5px; line-height: 1.8; color: var(--text); }
.o-contact__area p { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.o-contact__area .o-area__chips { margin: 0; }
.o-contact__area .o-area__chips li { font-size: 13px; }

/* WPForms をサイトのデザインに合わせる（項目・送信の仕組みはそのまま） */
.o-form .wpforms-container { margin: 0 !important; }
.o-form .wpforms-hidden { display: none !important; }
.o-form .wpforms-field { padding: 0 0 22px !important; }
.o-form .wpforms-field-label { margin-bottom: 8px !important; font-size: 15px !important; font-weight: 700 !important; color: var(--ink) !important; }
.o-form .wpforms-required-label { color: var(--accent) !important; }
.o-form .wpforms-field input:not([type="checkbox"]):not([type="radio"]),
.o-form .wpforms-field textarea,
.o-form .wpforms-field select {
	width: 100% !important; max-width: none !important; min-height: 52px;
	padding: 12px 14px !important; border: 1px solid var(--line) !important; border-radius: 4px !important;
	background: var(--paper) !important; color: var(--ink) !important; font: inherit !important; font-size: 16px !important;
	box-shadow: none !important; transition: border-color .2s, background-color .2s;
}
.o-form .wpforms-field textarea { min-height: 180px; }
.o-form .wpforms-field input:focus, .o-form .wpforms-field textarea:focus, .o-form .wpforms-field select:focus { border-color: var(--ink) !important; background: var(--white) !important; outline: 2px solid rgba(223, 90, 35, .25) !important; outline-offset: 0; }
.o-form .wpforms-error, .o-form label.wpforms-error { margin-top: 6px !important; font-size: 13px !important; color: #b3261e !important; }
.o-form .wpforms-submit-container { padding-top: 8px !important; }
.o-form button[type="submit"], .o-form .wpforms-submit {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 100%; min-height: 58px; padding: 1em 2em !important; border: 0 !important; border-radius: 4px !important;
	background: var(--accent) !important; color: #fff !important; font: inherit !important; font-size: 17px !important; font-weight: 700 !important; letter-spacing: .1em; cursor: pointer;
	transition: background-color .25s;
}
.o-form button[type="submit"]:hover, .o-form .wpforms-submit:hover { background: var(--accent-2) !important; }
.o-form .wpforms-confirmation-container-full { padding: 20px 22px !important; border: 1px solid var(--accent) !important; background: #fdf3ee !important; color: var(--ink) !important; border-radius: 4px; }

/* ---------- 「OFC：共通」テンプレートの本文 ---------- */
.o-generic { background: var(--white); }
.o-prose { max-width: 820px; margin-inline: auto; font-size: 16px; line-height: 2.05; }
.o-prose > * + * { margin-top: 1.4em; }
.o-prose h2, .o-prose h3, .o-prose h4 { font-family: var(--f-ja); font-weight: 700; color: var(--ink); }
.o-prose h2 { margin-top: 2.6em; padding-bottom: .5em; border-bottom: 2px solid var(--ink); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; }
.o-prose h3 { margin-top: 2em; padding-left: 14px; border-left: 4px solid var(--accent); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.o-prose h4 { margin-top: 1.8em; font-size: 17px; }
.o-prose > :first-child { margin-top: 0; }
.o-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.o-prose ul, .o-prose ol { padding-left: 1.4em; }
.o-prose ul { list-style: disc; }
.o-prose ol { list-style: decimal; }
.o-prose li + li { margin-top: .4em; }
.o-prose img { max-width: 100%; height: auto; border-radius: 3px; }
.o-prose figure { margin-inline: 0; }
.o-prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.o-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.o-prose th, .o-prose td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.o-prose th { width: 28%; color: var(--ink); font-weight: 700; background: var(--paper); }
.o-prose blockquote { margin: 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--paper); }
.o-prose .wp-block-button__link { display: inline-block; padding: .9em 1.6em; border-radius: 4px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.o-prose .wp-block-table { overflow-x: auto; }

/* ---------- Footer ---------- */
.o-footer { background: var(--paper); border-top: 1px solid var(--line); }
.o-footer__grid { display: grid; grid-template-columns: 1.25fr 1fr .55fr; gap: 48px; padding-block: 72px 48px; }
.o-footer__logo { width: 230px; margin-bottom: 20px; }
.o-footer__info > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; }
.o-footer__info dt { color: var(--muted); font-size: 13px; }
.o-footer__info a:hover { color: var(--accent); }
.o-footer__map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; border-radius: var(--radius); filter: grayscale(.25); }
.o-footer__nav a { display: block; padding: 6px 0; font-size: 14px; font-weight: 500; }
.o-footer__nav a:hover { color: var(--accent); }
.o-footer__copy { padding: 18px var(--gutter); border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .08em; }

/* ---------- Mobile fixed bar ---------- */
.o-fixbar { display: none; }

/* ---------- Reveal animation ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	.ofc-rn * { transition: none !important; }
	.o-hero__slide img { transform: none; }
	.o-orbit circle { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
	.o-industries__list { grid-template-columns: repeat(4, 1fr); }
	.o-flow__list { grid-template-columns: 1fr; gap: 14px; }
	.o-flow__step { display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; padding: 24px; }
	.o-flow__num { grid-row: span 2; }
	.o-flow__title { margin-top: 2px; }
	.o-flow__step:not(:last-child)::after { top: auto; right: auto; bottom: -13px; left: 60px; transform: rotate(135deg); }
	.o-footer__grid { grid-template-columns: 1fr 1fr; }
	.o-footer__nav { grid-column: 1 / -1; }
	.o-footer__nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }

	.o-fixbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		display: grid; grid-template-columns: 1fr 1fr;
		box-shadow: 0 -8px 24px -14px rgba(20, 27, 34, .5);
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--ink);
	}
	.o-fixbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .06em; }
	.o-fixbar a.is-accent { background: var(--accent); }
	.o-fixbar svg { width: 20px; height: 20px; stroke-width: 2; }
	body.ofc-rn { padding-bottom: 58px; }
}

@media (max-width: 899px) {
	.o-statement__grid, .o-company__grid, .o-contact__grid { grid-template-columns: 1fr; }
	.o-statement__media { margin-top: 36px; }
	.o-links__grid { grid-template-columns: 1fr 1fr; }
	.o-company__map, .o-contact__side { position: static; }
	.o-emblem--page { width: 52vw; right: -12vw; }
	.o-reason, .o-area__grid { grid-template-columns: 1fr; }
	.o-reason--rev .o-reason__media { order: 0; }
	.o-reason__media { margin-right: 18px; }
	.o-reason--rev .o-reason__media { margin: 0 0 0 18px; }
	.o-reason__media::before { inset: 16px -16px -16px 16px; }
	.o-reason--rev .o-reason__media::before { inset: 16px 16px -16px -16px; }
	.o-reason__num { flex-direction: row; align-items: baseline; gap: 12px; font-size: 54px; }
	.o-works__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
	.o-area__map { max-width: 480px; }
}

@media (max-width: 599px) {
	.o-phero { min-height: 240px; padding-block: 56px 40px; }
	.o-links__grid { grid-template-columns: 1fr; gap: 14px; }
	.o-linkcard { display: grid; grid-template-columns: 112px 1fr; }
	.o-linkcard__media { aspect-ratio: auto; height: 100%; }
	.o-linkcard__body { padding: 16px 44px 16px 16px; }
	.o-linkcard__ja { font-size: 16px; }
	.o-linkcard svg { right: 14px; }
	.o-table > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 2px; }
	.o-table dt { font-size: 13px; color: var(--muted); }
	.o-statement__catch > span:first-child { margin-left: -.15em; }
	.o-statement__body p { font-size: 15px; line-height: 2.1; }
	.o-filter { margin-top: 4px; }
	.o-filter__btn { font-size: 13px; padding: .45em .9em; }
	.o-telcard { padding: 22px; }
	body.ofc-rn { font-size: 15px; }
	.o-hero { min-height: auto; padding: 72px 0 140px; }
	.o-hero::before { background: linear-gradient(180deg, rgba(20, 27, 34, .55) 0%, rgba(20, 27, 34, .8) 100%); }
	.o-hero__cap { left: var(--gutter); right: auto; bottom: 96px; }
	.o-hero__title { font-size: 27px; }
	.o-emblem { top: 30%; right: -26vw; width: 78vw; }
	.o-emblem .o-logo { opacity: .12; }
	.o-hero__mark { bottom: 56px; }
	.o-hero__actions .o-btn { width: 100%; }
	.o-stats { margin-top: -72px; }
	.o-stats__item { padding: 18px 10px 20px; align-items: center; text-align: center; gap: 8px; }
	.o-stats__label { font-size: 10px; letter-spacing: 0; line-height: 1.4; white-space: nowrap; }
	.o-stats__value { flex-direction: column; align-items: center; gap: 4px; font-size: 13px; }
	.o-stats__value b { font-size: 34px; }
	.o-industries__list { grid-template-columns: repeat(2, 1fr); }
	.o-industries__list { gap: 8px; }
	.o-industries__item { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 14px 12px; text-align: left; font-size: 13px; }
	.o-industries__item svg { width: 26px; height: 26px; flex: none; }
	.o-works__grid { gap: 24px 12px; }
	.o-work__body { grid-template-columns: 1fr; padding-top: 10px; }
	.o-work__num { font-size: 18px; }
	.o-work__title { font-size: 14px; }
	.o-work__tag { grid-column: 1; margin-top: 4px; font-size: 11px; }
	.o-cta__actions, .o-cta__actions .o-btn { width: 100%; }
	.o-cta__tel { align-items: center; width: 100%; }
	.o-cta__inner { text-align: center; justify-content: center; }
	.o-flow__step { grid-template-columns: 1fr; }
	.o-flow__num { display: flex; align-items: baseline; gap: 10px; grid-row: auto; }
	.o-flow__num b { display: inline; font-size: 30px; }
	.o-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 32px; }
}
