@charset "utf-8";

/* ==========================================================================
   S&C Co., Ltd. — Corporate Site (Redesign)
   Original design system. Fonts: Google Fonts (OFL license, free for
   commercial use, no attribution required). No third-party templates,
   no bundled stock imagery, no icon-font dependency (all icons are
   hand-drawn inline SVG below to avoid any external icon-license terms).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Shippori+Mincho+B1:wght@500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Inter:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
	/* Solid corporate palette: navy + gray base, orange reserved
	   as a single accent (contact CTA, links) rather than a gradient. */
	--ink:        #14233f;   /* deep corporate navy — text & dark sections */
	--ink-soft:   #5a6270;
	--paper:      #ffffff;
	--paper-alt:  #f3f4f6;   /* neutral light gray, not warm cream */
	--gold:       #d9661c;   /* accent orange — used sparingly */
	--gold-light: #e8841a;
	--gold-deep:  #b6500f;
	--brand-grad: var(--gold);
	--line:       #d7dbe2;
	--white:      #ffffff;

	--font-ja-head: "Noto Sans JP", sans-serif;
	--font-ja-body: "Noto Sans JP", sans-serif;
	--font-en-head: "Noto Sans JP", "Inter", sans-serif;
	--font-en-label: "Inter", sans-serif;

	--max: 1180px;
	--space: clamp(2.5rem, 5vw, 4.5rem);
	--radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-ja-body);
	font-weight: 400;
	line-height: 1.9;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: "Inter", var(--font-ja-body); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-ja-head);
	font-weight: 700;
	margin: 0;
	color: var(--ink);
	letter-spacing: 0.04em;
}
h1, h2 { font-weight: 800; }
html[lang="en"] h1, html[lang="en"] h2 {
	font-family: var(--font-en-head);
	font-weight: 600;
	letter-spacing: 0.005em;
}
html[lang="en"] h3, html[lang="en"] h4 {
	font-family: "Inter", sans-serif;
	font-weight: 600;
	letter-spacing: 0;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--space) 0; }
.section--alt { background: var(--paper-alt); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--white); }

/* ── eyebrow / kicker label ─────────────────────────────────────────── */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	font-family: var(--font-en-label);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.section--ink .eyebrow { color: var(--gold-light); }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.6; }
.section-head p { color: var(--ink-soft); margin-top: 1rem; }
.section--ink .section-head p { color: rgba(255,255,255,0.75); }

/* ── header ──────────────────────────────────────────────────────────── */
header.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.top-bar { display: none; background: var(--ink); color: rgba(255,255,255,0.82); }
.top-bar-inner {
	max-width: var(--max); margin: 0 auto; padding: 0.5rem 1.5rem;
	display: flex; align-items: center; justify-content: flex-start;
	font-size: 0.76rem; letter-spacing: 0.02em;
}
@media (min-width: 760px) { .top-bar { display: block; } }
.header-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 46px; width: auto; }

nav.main-nav { display: none; }
nav.main-nav ul { display: flex; align-items: center; gap: 2.1rem; }
nav.main-nav a {
	font-family: var(--font-en-label);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
	transition: color 0.2s;
	white-space: nowrap;
}
html[lang="ja"] nav.main-nav a { font-family: var(--font-ja-body); font-size: 0.88rem; }
nav.main-nav a:hover, nav.main-nav a.is-active { color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang-switch a {
	font-family: var(--font-en-label);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	padding: 0.35rem 0.85rem;
	color: var(--ink-soft);
}
.lang-switch a.is-active { background: var(--ink); color: var(--paper); }

.btn-contact-mini {
	display: none;
	font-family: var(--font-en-label);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--white);
	background: var(--ink);
	padding: 0.6rem 1.4rem;
	border-radius: var(--radius);
}

.nav-toggle {
	width: 38px; height: 38px;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 5px;
	background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
	display: none;
	flex-direction: column;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--line);
	font-size: 0.95rem;
}
.mobile-nav .mn-sub a { padding-left: 2.4rem; font-size: 0.85rem; color: var(--ink-soft); }

@media (min-width: 980px) {
	nav.main-nav { display: block; }
	.btn-contact-mini { display: inline-block; }
	.nav-toggle { display: none; }
	.mobile-nav { display: none !important; }
}

/* ── hero ────────────────────────────────────────────────────────────── */
.hero {
	position: relative;
	background: var(--ink);
	color: var(--paper);
	padding: clamp(5rem, 14vw, 9rem) 0 clamp(4rem, 10vw, 6rem);
	overflow: hidden;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image:
		radial-gradient(circle at 18% 22%, rgba(217,102,28,0.18), transparent 42%),
		radial-gradient(circle at 86% 78%, rgba(182,80,15,0.14), transparent 38%);
	z-index: 0;
}
.hero-pattern {
	position: absolute; inset: 0; z-index: 0; opacity: 0.5;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 {
	color: var(--white);
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.55;
	max-width: 780px;
}
.hero p.lead {
	margin-top: 1.6rem;
	max-width: 560px;
	color: rgba(255,255,255,0.78);
	font-size: 1rem;
	line-height: 2;
}
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.95rem 2.2rem;
	border-radius: var(--radius);
	font-family: var(--font-en-label);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
	border: 1px solid transparent;
	cursor: pointer;
}
html[lang="ja"] .btn { font-family: var(--font-ja-body); font-weight: 500; font-size: 0.88rem; letter-spacing: 0.04em; }
.btn-gold { background: var(--brand-grad); color: var(--white); box-shadow: 0 6px 18px rgba(217,102,28,0.28); }
.btn-gold:hover { filter: brightness(1.04); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.45); color: var(--paper); }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--gold-deep); transform: translateY(-2px); }

/* ── icon (inline svg wrapper) ──────────────────────────────────────── */
.icon { width: 1em; height: 1em; display: inline-block; stroke: currentColor; fill: none; stroke-width: 1.6; vertical-align: -0.15em; }
.icon-circle {
	width: 54px; height: 54px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--paper-alt);
	color: var(--gold-deep);
	font-size: 1.4rem;
	margin-bottom: 1.2rem;
}
.section--ink .icon-circle { background: rgba(255,255,255,0.08); color: var(--gold-light); }

/* ── grids / cards ───────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
	.grid-2 { grid-template-columns: 1fr 1fr; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2.2rem;
	transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(28,43,58,0.08); }
.card h3 { font-size: 1.05rem; margin-bottom: 0.8rem; line-height: 1.6; }
.card p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.card .num {
	font-family: var(--font-en-label);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	color: var(--gold);
	display: block;
	margin-bottom: 0.6rem;
}

/* ── info table (company profile) ───────────────────────────────────── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-top: 1px solid var(--line); }
.info-table tr:first-child { border-top: none; }
.info-table th, .info-table td { padding: 1.1rem 0.5rem; text-align: left; vertical-align: top; }
.info-table th {
	width: 38%;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ink);
}
html[lang="en"] .info-table th {
	font-family: var(--font-en-label);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold-deep);
}
.info-table td { font-size: 0.95rem; line-height: 1.9; }

/* ── divider / wave ──────────────────────────────────────────────────── */
.divider { text-align: center; padding: 1.2rem 0; }
.divider svg { width: 90px; height: 14px; color: var(--gold); }

/* ── anchor offset for sticky header ─────────────────────────────────── */
section[id] { scroll-margin-top: 90px; }

/* ── reveal animation (JS adds is-visible) ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── page hero (sub pages) ──────────────────────────────────────────── */
.page-hero {
	background: var(--ink);
	color: var(--paper);
	padding: clamp(4rem, 10vw, 6rem) 0 clamp(3rem, 7vw, 4.5rem);
	text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 0.8rem; }

/* ── page hero — photographic variant ──────────────────────────────── */
.page-hero--photo {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(5.5rem, 14vw, 8.5rem) 0 clamp(4rem, 9vw, 6rem);
}
.page-hero--photo::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background-image: var(--hero-bg); background-size: cover; background-position: center;
}
.page-hero--photo::after {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(180deg, rgba(20,35,63,0.78) 0%, rgba(20,35,63,0.6) 55%, rgba(20,35,63,0.88) 100%);
}
.page-hero--photo .container { position: relative; z-index: 1; }
.page-hero--photo h1 { letter-spacing: 0.06em; }

/* ── original line-art illustrations (inline SVG, no external assets) ── */
.deco-globe { position: absolute; opacity: 0.5; pointer-events: none; }
.deco-blueprint { position: absolute; opacity: 0.14; pointer-events: none; }

/* ── pull quote (message page) ─────────────────────────────────────── */
.pull-quote {
	font-family: var(--font-ja-head);
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	line-height: 1.9;
	border-left: 3px solid var(--gold);
	padding-left: 1.6rem;
	margin: 0 0 2.4rem;
	color: var(--ink);
}
html[lang="en"] .pull-quote { font-family: var(--font-en-head);  }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--ink-soft); margin-bottom: 1.5rem; text-align: justify; }
.prose h3 { font-size: 1.05rem; margin: 2.4rem 0 1rem; }
.prose h3:first-child { margin-top: 0; }
.signature { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); text-align: right; }
.signature .co { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.3rem; }
.signature .nm { font-family: var(--font-ja-head); font-size: 1.2rem; }
.signature .nm small { display: block; font-size: 0.72rem; font-weight: 400; color: var(--ink-soft); margin-bottom: 0.2rem; }

/* ── news list ───────────────────────────────────────────────────────── */
.news-list dl { margin: 0; }
.news-row { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.news-row:first-child { border-top: none; }
.news-date { font-family: var(--font-en-label); font-size: 0.8rem; color: var(--ink-soft); }
.news-tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.05em; padding: 0.15rem 0.6rem; border: 1px solid var(--gold); color: var(--gold-deep); border-radius: var(--radius); margin-left: 0.6rem; }
.news-text { font-size: 0.92rem; }

/* ── flow steps ──────────────────────────────────────────────────────── */
.flow { display: grid; gap: 2.4rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow-step { text-align: center; position: relative; }
.flow-step .step-num {
	width: 52px; height: 52px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1rem;
	background: var(--ink); color: var(--gold-light);
	font-family: var(--font-en-label); font-size: 1.05rem;
}
.flow-step h3 { font-size: 0.98rem; margin-bottom: 0.5rem; }
.flow-step p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ── cta band ────────────────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 2.2rem; }

/* ── footer ──────────────────────────────────────────────────────────── */
footer.site-footer {
	background: var(--ink); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem;
	border-top: 1px solid rgba(255,255,255,0.14);
}
.footer-grid {
	display: grid; gap: 2.4rem 1.2rem;
	grid-template-columns: 1fr 1fr;
}
.footer-grid .footer-brand { grid-column: 1 / -1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 760px) { .footer-grid .footer-brand { grid-column: auto; } }
.footer-grid h4 {
	color: var(--gold-light);
	font-family: var(--font-en-label);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 1.2rem;
}
.footer-grid ul li { margin-bottom: 0.7rem; font-size: 0.88rem; }
.footer-grid ul a:hover { color: var(--gold-light); }
.footer-brand img { height: 42px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.9; }
.footer-bottom {
	max-width: var(--max); margin: 3rem auto 0; padding: 1.6rem 1.5rem 0;
	border-top: 1px solid rgba(255,255,255,0.12);
	display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: space-between;
	font-size: 0.78rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-legal a:hover { color: var(--gold-light); }

/* ── company history timeline ──────────────────────────────────────── */
.timeline { max-width: 720px; margin: 0 auto; }
.timeline-row { display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.timeline-row:first-child { border-top: none; }
.timeline-date { font-family: var(--font-en-label); font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.timeline-text { font-size: 0.92rem; line-height: 1.85; }

/* ── sitemap page ───────────────────────────────────────────────────── */
.sitemap-list { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .sitemap-list { grid-template-columns: repeat(2, 1fr); } }
.sitemap-list h3 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.sitemap-list ul li { margin-bottom: 0.8rem; }
.sitemap-list ul a { font-size: 0.92rem; color: var(--ink-soft); }
.sitemap-list ul a:hover { color: var(--gold-deep); }

/* ── contact form ───────────────────────────────────────────────────── */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 1.6rem; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; }
.req, .opt {
	display: inline-block; font-size: 0.62rem; letter-spacing: 0.05em;
	padding: 0.1rem 0.5rem; border-radius: 2px; margin-left: 0.5rem; vertical-align: middle;
}
.req { background: #b3432b; color: #fff; }
.opt { background: #9b9384; color: #fff; }
.form-row input, .form-row select, .form-row textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	font: inherit;
	font-size: 0.95rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
	outline: none; border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(217,102,28,0.18);
}
.form-row textarea { min-height: 150px; resize: vertical; }
.agree-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; background: var(--paper-alt); margin-bottom: 1.8rem; }
.agree-block .privacy-text { max-height: 130px; overflow-y: auto; font-size: 0.82rem; line-height: 1.9; color: var(--ink-soft); padding-right: 0.4rem; }
.agree-block .privacy-text a { color: var(--gold-deep); text-decoration: underline; }
.agree-block label { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; font-size: 0.88rem; font-weight: 500; cursor: pointer; }
.agree-block input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold-deep); }
.honeypot { position: absolute; left: -9999px; }
.form-submit { text-align: center; margin-top: 2.2rem; }
.alert {
	border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-bottom: 2rem; font-size: 0.9rem;
}
.alert-error { background: #fbeae6; border: 1px solid #e3b6a9; color: #9a3b22; }
.alert-error ul { margin-left: 1.2rem; list-style: disc; }
.alert-success { background: #f0f5ec; border: 1px solid #c3d6b2; padding: 2.4rem; text-align: center; }
.alert-success .icon { font-size: 2.4rem; color: #4f7a3a; margin-bottom: 1rem; }
.alert-success h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }

/* ---------- Works / Case studies ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 880px; margin: 0 auto; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); padding: 2rem 1rem; text-align: center; }
.section--ink .stats { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.18); }
.section--ink .stat { background: var(--ink); }
.stat .num-big { font-family: var(--font-en-label); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700;
	line-height: 1; color: var(--gold-deep); display: block; }
.section--ink .stat .num-big { color: var(--gold-light); }
.stat .num-big small { font-size: 0.45em; font-weight: 600; margin-left: 0.15em; }
.stat .stat-label { display: block; margin-top: 0.7rem; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.section--ink .stat .stat-label { color: rgba(255,255,255,0.7); }

.case-list { display: grid; gap: 1.8rem; }
.case-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; transition: 0.3s; }
.case-card:hover { box-shadow: 0 20px 40px rgba(28,43,58,0.08); transform: translateY(-3px); }
.case-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem;
	padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); background: var(--paper-alt); }
.case-no { font-family: var(--font-en-label); font-weight: 700; font-size: 1.1rem; color: var(--gold-deep); }
.case-region { font-weight: 600; font-size: 1.02rem; }
.case-type { display: inline-block; font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.2rem 0.7rem;
	border: 1px solid var(--gold); color: var(--gold-deep); border-radius: var(--radius); }
.case-tag-status { margin-left: auto; font-size: 0.72rem; padding: 0.2rem 0.7rem; border-radius: var(--radius);
	background: var(--gold); color: #fff; letter-spacing: 0.03em; }
.case-body { display: grid; gap: 1px; background: var(--line); }
@media (min-width: 820px) { .case-body { grid-template-columns: repeat(3, 1fr); } }
.case-step { background: var(--paper); padding: 1.5rem 1.6rem; }
.case-step .step-label { display: flex; align-items: center; gap: 0.45rem; font-family: var(--font-en-label);
	font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.7rem; }
.case-step .step-label::before { content: ""; width: 16px; height: 1px; background: var(--gold); }
.case-step h4 { font-size: 0.98rem; line-height: 1.6; margin-bottom: 0.5rem; }
.case-step p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.85; margin: 0; }
.case-step--result { background: linear-gradient(180deg, #fffaf2 0%, var(--paper) 100%); }
.case-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.case-media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* ==========================================================================
   Editorial redesign — photographic hero, photo cards, split sections,
   richer scroll motion. (Light & editorial direction.)
   ========================================================================== */

/* ---- Photographic split hero ---- */
.hero-split { position: relative; display: grid; grid-template-columns: 1fr; background: var(--paper); }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.02fr 1fr; min-height: min(90vh, 760px); } }

.hero-split__text {
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 6vw, 5rem) clamp(3rem, 8vw, 5rem);
	order: 2;
}
@media (min-width: 900px) { .hero-split__text { order: 1; } }
.hero-split__text .eyebrow { margin-bottom: 1.6rem; }
.hero-split h1 {
	font-size: clamp(2.3rem, 5.4vw, 4rem);
	line-height: 1.42; letter-spacing: 0.06em;
	margin-bottom: 1.8rem;
}
.hero-split h1 .accent { color: var(--gold-deep); }
.hero-split .lead {
	max-width: 30em; color: var(--ink-soft);
	font-size: 1.02rem; line-height: 2.1; margin-bottom: 2.6rem;
}

.hero-split__media { position: relative; overflow: hidden; order: 1; min-height: 56vw; }
@media (min-width: 900px) { .hero-split__media { order: 2; min-height: 0; } }
.hero-split__media img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	animation: kenburns 18s ease-out forwards;
}
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-split__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(105deg, rgba(255,255,255,0.22) 0%, transparent 32%);
	pointer-events: none;
}
.hero-split__tag {
	position: absolute; left: clamp(1rem,3vw,1.6rem); bottom: clamp(1rem,3vw,1.6rem); z-index: 2;
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: rgba(20,35,63,0.62); color: #fff; backdrop-filter: blur(6px);
	font-family: var(--font-en-label); font-size: 0.68rem; letter-spacing: 0.12em;
	padding: 0.5rem 1rem; border-radius: var(--radius);
}
.hero-split__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); }

/* ---- Section heading: editorial left-aligned variant ---- */
.section-head--left { text-align: left; margin-left: 0; max-width: none; }
.section-head--left .eyebrow { justify-content: flex-start; }

/* ---- Small inline EN tag beside a JP heading ---- */
.h2-tag {
	display: inline-flex; align-items: center; gap: 0.6em;
	margin-left: 1rem; font-family: var(--font-en-label); font-size: 0.6rem;
	font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--gold-deep); vertical-align: middle; position: relative; top: -0.2em;
}
.h2-tag::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.head-row .section-head { margin: 0; text-align: left; }
.head-row .section-head .eyebrow { justify-content: flex-start; }

/* ---- Photo cards (business) ---- */
.pcard {
	position: relative; display: flex; flex-direction: column;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; transition: transform 0.4s cubic-bezier(.2,.7,.3,1), box-shadow 0.4s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(20,35,63,0.12); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.3,1); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__no {
	position: absolute; top: 0.9rem; left: 1.1rem; z-index: 2;
	font-family: var(--font-en-label); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em;
	color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.pcard__body { padding: 1.6rem 1.5rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.pcard__body h3 { font-size: 1.18rem; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.pcard__en { display: block; font-family: var(--font-en-label); font-size: 0.68rem; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.9rem; }
.pcard__body p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.95; margin: 0; }

/* ---- Image + text split section ---- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__media { order: 2; } }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .frame-no {
	position: absolute; right: 1rem; bottom: 0.6rem; font-family: var(--font-en-head);
	font-size: clamp(3rem, 7vw, 5rem);  color: #fff; line-height: 1;
	text-shadow: 0 2px 20px rgba(0,0,0,0.35); opacity: 0.9;
}

/* ---- Compact banner hero (Japanese corporate style) ---- */
.hero-banner {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--ink); color: var(--paper);
	border-bottom: 1px solid var(--line);
}
.hero-banner__bg { position: absolute; inset: 0; z-index: 0; }
.hero-banner__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-banner__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(20,35,63,0.96) 0%, rgba(20,35,63,0.82) 45%, rgba(20,35,63,0.55) 100%);
}
.hero-banner__inner {
	position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 1.5rem;
	padding-top: clamp(3rem, 7vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 4.5rem);
}
.hero-banner h1 {
	color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.55;
	max-width: 640px; letter-spacing: 0.04em;
}
.hero-banner h1 .accent { color: var(--gold-light); }
.hero-banner .lead { margin-top: 1.2rem; max-width: 480px; color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.95; }
.hero-banner .hero-actions { margin-top: 1.8rem; }

/* ---- Big editorial stat row (count-up) ---- */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; text-align: center; }
@media (min-width: 760px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metric .metric-num { font-family: var(--font-en-head);  font-weight: 500;
	font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; color: var(--gold-deep); }
.section--ink .metric .metric-num { color: var(--gold-light); }
.metric .metric-num small { font-style: normal; font-size: 0.4em; font-family: var(--font-en-label); margin-left: 0.15em; }
.metric .metric-label { display: block; margin-top: 0.8rem; font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.section--ink .metric .metric-label { color: rgba(255,255,255,0.72); }

/* ---- Richer scroll reveal: directional + stagger ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(.2,.7,.3,1), transform 0.9s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.2,.7,.3,1); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }

/* ---- Mincho-flavored pull headings on light sections ---- */
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.3rem); line-height: 1.5; letter-spacing: 0.05em; }
.eyebrow { font-family: var(--font-en-label); }

/* ==========================================================================
   Digital business card (meishi) — /ja/card/ /en/card/
   Interactive flip card: front = Japanese face, back = English face,
   plus tap actions (call / mail / save vCard / map / web).
   ========================================================================== */
.meishi-page {
	background:
		radial-gradient(circle at 15% 12%, rgba(217,102,28,0.10), transparent 45%),
		radial-gradient(circle at 88% 84%, rgba(20,35,63,0.06), transparent 42%),
		var(--paper-alt);
	min-height: calc(100vh - 76px);
	padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
}
.meishi-wrap { max-width: 440px; margin: 0 auto; padding: 0 1.25rem; }
.meishi-lead { text-align: center; margin-bottom: 1.8rem; }
.meishi-lead .eyebrow { justify-content: center; }
.meishi-lead h1 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); line-height: 1.5; }
.meishi-lead p { color: var(--ink-soft); font-size: 0.86rem; margin-top: 0.7rem; }

/* ---- flip card ---- */
.meishi-card {
	position: relative;
	width: 100%;
	aspect-ratio: 91 / 55;          /* true business-card proportion */
	perspective: 1600px;
	cursor: pointer;
	margin: 0 auto;
	-webkit-tap-highlight-color: transparent;
}
.meishi-card__inner {
	position: absolute; inset: 0;
	transition: transform 0.85s cubic-bezier(.2,.7,.25,1);
	transform-style: preserve-3d;
}
.meishi-card.is-flipped .meishi-card__inner { transform: rotateY(180deg); }
.meishi-face {
	position: absolute; inset: 0;
	backface-visibility: hidden; -webkit-backface-visibility: hidden;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(20,35,63,0.22), 0 4px 14px rgba(20,35,63,0.12);
	display: flex; flex-direction: column;
	padding: clamp(1rem, 4.4vw, 1.5rem);
}

/* front — Japanese, deep navy */
.meishi-face--front {
	background:
		linear-gradient(155deg, #1b2f53 0%, var(--ink) 55%, #0f1c34 100%);
	color: #fff;
}
.meishi-face--front::before {            /* faint interlocking-ring motif */
	content: ""; position: absolute; right: -14%; top: -28%;
	width: 62%; aspect-ratio: 1; border-radius: 50%;
	border: 1px solid rgba(232,132,26,0.22);
	box-shadow: -22px 30px 0 -1px rgba(255,255,255,0.05);
	pointer-events: none;
}
.meishi-face--front::after {             /* vertical gold accent rule */
	content: ""; position: absolute; left: clamp(0.9rem,3.6vw,1.3rem);
	top: 22%; bottom: 22%; width: 2px;
	background: linear-gradient(180deg, var(--gold-light), transparent);
}

/* back — English, light paper */
.meishi-face--back {
	background: linear-gradient(155deg, #ffffff 0%, #f6f7f9 100%);
	color: var(--ink);
	transform: rotateY(180deg);
	border: 1px solid var(--line);
}

.mf-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.mf-logo { height: clamp(20px, 6.5vw, 26px); width: auto; }
.mf-corp {
	font-family: var(--font-en-label); font-size: 0.62rem; letter-spacing: 0.16em;
	text-transform: uppercase; opacity: 0.7; text-align: right; line-height: 1.5;
}
/* Japanese legal name: no wide tracking / no uppercasing */
.mf-corp--ja {
	font-family: var(--font-ja-body); letter-spacing: 0.02em; text-transform: none;
	font-weight: 600;
}
.mf-main { margin-top: auto; padding-left: clamp(0.7rem, 2.6vw, 1rem); }
.mf-name {
	font-family: var(--font-ja-head); font-weight: 700;
	font-size: clamp(1.5rem, 6.6vw, 2rem); letter-spacing: 0.16em; line-height: 1.1;
}
.meishi-face--back .mf-name { font-family: "Cormorant Garamond", serif; font-weight: 600; letter-spacing: 0.05em; }
.mf-name small { display:block; font-family: var(--font-en-label); font-weight:500;
	font-size: 0.5em; letter-spacing: 0.22em; opacity: 0.6; margin-top: 0.4em; }
.mf-title { font-size: 0.72rem; letter-spacing: 0.1em; margin-top: 0.45rem;
	color: var(--gold-light); }
.meishi-face--back .mf-title { color: var(--gold-deep); }
.mf-contact {
	margin-top: 0.7rem; font-family: var(--font-en-label);
	font-size: clamp(0.58rem, 2.5vw, 0.68rem); letter-spacing: 0.03em; line-height: 1.65;
	opacity: 0.82;
}
.mf-flip-hint {
	position: absolute; right: clamp(0.7rem,3vw,1.1rem); bottom: clamp(0.6rem,2.6vw,0.9rem);
	display: inline-flex; align-items: center; gap: 0.35em;
	font-family: var(--font-en-label); font-size: 0.56rem; letter-spacing: 0.14em;
	text-transform: uppercase; opacity: 0.55;
}
.mf-flip-hint svg { width: 0.9em; height: 0.9em; }
.mf-qr {
	position: absolute; right: clamp(0.8rem,3.4vw,1.2rem); bottom: clamp(0.8rem,3.4vw,1.2rem);
	width: clamp(38px, 13vw, 52px); height: auto; background:#fff; padding: 3px;
	border-radius: 3px;
}

/* ---- action buttons ---- */
.meishi-actions {
	margin-top: 1.6rem; display: grid; gap: 0.7rem;
	grid-template-columns: 1fr 1fr;
}
.meishi-actions .m-act--wide { grid-column: 1 / -1; }
.m-act {
	display: flex; align-items: center; justify-content: center; gap: 0.55rem;
	padding: 0.85rem 1rem; border-radius: var(--radius);
	background: var(--white); border: 1px solid var(--line);
	font-size: 0.84rem; font-weight: 500; color: var(--ink);
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.m-act svg { width: 1.05rem; height: 1.05rem; stroke: currentColor; fill: none; stroke-width: 1.7; flex: none; }
.m-act:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold-deep);
	box-shadow: 0 12px 26px rgba(20,35,63,0.08); }
.m-act--primary { background: var(--gold); border-color: var(--gold); color: #fff;
	box-shadow: 0 8px 20px rgba(217,102,28,0.28); }
.m-act--primary:hover { color: #fff; filter: brightness(1.05); border-color: var(--gold); }

.meishi-flipbtn {
	margin: 1.4rem auto 0; display: flex; align-items: center; gap: 0.5rem;
	background: none; border: none; cursor: pointer; color: var(--ink-soft);
	font-family: var(--font-en-label); font-size: 0.72rem; letter-spacing: 0.1em;
	text-transform: uppercase; padding: 0.4rem 0.6rem;
}
.meishi-flipbtn:hover { color: var(--gold-deep); }
.meishi-flipbtn svg { width: 1rem; height: 1rem; stroke: currentColor; fill:none; stroke-width:1.7; }

.meishi-back { text-align: center; margin-top: 1.6rem; }
.meishi-back a { font-size: 0.8rem; color: var(--ink-soft); }
.meishi-back a:hover { color: var(--gold-deep); }

/* address line under the card */
.meishi-addr {
	margin-top: 1.5rem; text-align: center; color: var(--ink-soft);
	font-size: 0.82rem; line-height: 1.75; letter-spacing: 0.01em;
}
.meishi-addr .label {
	display: block; font-family: var(--font-en-label); font-size: 0.62rem;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
	margin-bottom: 0.35rem;
}
