/* =========================================================
   Sustainabridge — main stylesheet
   ========================================================= */

:root {
	--sb-ink: #141414;
	--sb-text: #3A423F;
	--sb-muted: #59625E;
	--sb-line: #E3E7E5;
	--sb-line-strong: #D3DAD7;
	--sb-tint: #F3F6F5;
	--sb-tint-strong: #DDE4E1;
	--sb-white: #FFFFFF;
	--sb-red: #F7325C;       /* logo red: graphics only */
	--sb-red-text: #B8143C;  /* red that passes 4.5:1 on white */
	--sb-red-display: #D61F4B;
	--sb-cyan: #5CE1E6;
	--sb-dark-2: #2B3431;

	--sb-font: 'Noto Sans JP', system-ui, sans-serif;
	--sb-font-display: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
	--sb-font-en: 'Inter', 'Noto Sans JP', sans-serif;

	--sb-max: 1200px;
	--sb-gutter: 24px;
	--sb-radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--sb-white);
	color: var(--sb-ink);
	font-family: var(--sb-font);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a { color: var(--sb-ink); }
a:hover { color: var(--sb-red-text); }

:focus-visible { outline: 3px solid var(--sb-cyan); outline-offset: 2px; }

.sb-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--sb-ink); color: var(--sb-white); padding: 10px 16px; border-radius: 8px;
}
.sb-skip:focus { left: 8px; color: var(--sb-white); }

.sb-container {
	max-width: var(--sb-max);
	margin: 0 auto;
	padding-left: var(--sb-gutter);
	padding-right: var(--sb-gutter);
}

/* ---------- Type ---------- */

.sb-h2 {
	margin: 0;
	font-family: var(--sb-font-display);
	font-weight: 700;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.45;
}
.sb-h3 {
	margin: 0 0 32px;
	font-family: var(--sb-font-display);
	font-weight: 700;
	font-size: clamp(22px, 2.4vw, 28px);
	line-height: 1.4;
}
.sb-eyebrow {
	margin: 0 0 8px;
	font-family: var(--sb-font-en);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.12em;
	color: var(--sb-red-text);
}
.sb-eyebrow.is-cyan { color: var(--sb-cyan); }
.sb-note { margin: 16px 0 0; font-size: 13px; color: var(--sb-muted); }

.sb-link { font-weight: 700; display: inline-block; padding: 10px 0; }

/* ---------- Buttons ---------- */

.sb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 30px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.3;
	transition: opacity .15s ease, background-color .15s ease;
}
.sb-btn:hover { opacity: .85; }
.sb-btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.sb-btn--lg { min-height: 60px; font-size: 17px; }
.sb-btn--dark { background: var(--sb-ink); color: var(--sb-white); }
.sb-btn--dark:hover { color: var(--sb-white); }
.sb-btn--light { background: var(--sb-white); color: var(--sb-ink); }
.sb-btn--light:hover { color: var(--sb-ink); }
.sb-btn--outline { border-color: var(--sb-ink); color: var(--sb-ink); }
.sb-btn--outline-light { border-color: var(--sb-white); color: var(--sb-white); }
.sb-btn--outline-light:hover { color: var(--sb-white); }
.sb-btn--tel { flex-direction: column; gap: 0; }
.sb-btn--tel span { font-size: 12px; font-weight: 400; color: #C9D0CD; }

/* ---------- Tags & chips ---------- */

.sb-tag {
	display: inline-block;
	align-self: flex-start;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	padding: 2px 10px;
	border-radius: 999px;
	border: 1px solid var(--sb-ink);
	white-space: nowrap;
}
.sb-tag--dark { background: var(--sb-ink); color: var(--sb-white); }

.sb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sb-chips li {
	font-size: 13px; font-weight: 700;
	padding: 5px 14px; border-radius: 999px; border: 1px solid #B9C2BE;
}

/* ---------- Header ---------- */

.sb-header { background: var(--sb-white); border-bottom: 1px solid var(--sb-line); position: relative; z-index: 20; }
.sb-header__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px 24px; padding-top: 14px; padding-bottom: 14px;
}

.sb-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--sb-ink); }
.sb-brand:hover { color: var(--sb-ink); }
.sb-brand__mark { width: 46px; height: auto; }
.sb-brand__name { font-family: var(--sb-font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; }

.sb-nav { display: flex; align-items: center; gap: 4px 28px; flex-wrap: wrap; }
.sb-nav .sb-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.sb-nav .sb-menu a { display: inline-block; padding: 10px 0; font-size: 15px; font-weight: 500; text-decoration: none; }

.sb-menu-toggle {
	display: none;
	align-items: center; gap: 8px;
	min-height: 44px; padding: 0 14px;
	background: none; border: 1.5px solid var(--sb-ink); border-radius: 999px;
	font: inherit; font-size: 14px; font-weight: 700; color: var(--sb-ink); cursor: pointer;
}
.sb-menu-toggle__bars,
.sb-menu-toggle__bars::before,
.sb-menu-toggle__bars::after {
	display: block; width: 16px; height: 2px; background: var(--sb-ink); position: relative; content: '';
}
.sb-menu-toggle__bars::before { position: absolute; top: -5px; }
.sb-menu-toggle__bars::after { position: absolute; top: 5px; }

@media (max-width: 880px) {
	.sb-menu-toggle { display: inline-flex; }
	.sb-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		padding: 8px 0 16px;
	}
	.sb-nav.is-open { display: flex; }
	.sb-nav .sb-menu { flex-direction: column; gap: 0; }
	.sb-nav .sb-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--sb-line); }
	.sb-nav .sb-btn { margin-top: 16px; }
}

/* ---------- Sections ---------- */

.sb-section { position: relative; overflow: hidden; padding: 112px 0 96px; background: var(--sb-white); }
.sb-section > .sb-container { position: relative; }
.sb-section--line { border-top: 1px solid var(--sb-line); }
.sb-section--tint { background: var(--sb-tint); }
.sb-section--compact { padding: 80px 0; }
.sb-section__title { margin-bottom: 48px; }
.sb-section__head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 16px; margin-bottom: 48px;
}
.sb-section__lead { margin: 0; max-width: 30em; color: var(--sb-text); }

.sb-ghost {
	position: absolute; top: 40px; left: 16px;
	font-family: var(--sb-font-en); font-weight: 800;
	font-size: clamp(72px, 12vw, 160px); line-height: 1;
	color: #F1F3F2; white-space: nowrap; pointer-events: none; user-select: none;
}
.sb-ghost--tint { color: #E7ECEA; }
.sb-ghost--cta { top: auto; left: auto; bottom: -20px; right: 16px; color: #1F2422; }

/* ---------- Hero ---------- */

.sb-hero { background: var(--sb-tint); }
.sb-hero__inner {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 48px 56px; padding-top: 88px; padding-bottom: 72px;
}
.sb-hero__text { flex: 1 1 520px; min-width: 0; }
.sb-hero__en {
	margin: 0;
	font-family: var(--sb-font-en); font-weight: 800;
	font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.02em;
}
.sb-hero__en span { color: var(--sb-red-display); }
.sb-hero__title {
	margin: 28px 0 0;
	font-family: var(--sb-font-display); font-weight: 700;
	font-size: clamp(24px, 2.6vw, 32px); line-height: 1.5; letter-spacing: .02em;
}
.sb-hero__lead { margin: 16px 0 0; font-size: 17px; max-width: 32em; color: var(--sb-text); }
.sb-hero__visual { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.sb-hero__mark { width: 100%; max-width: 460px; height: auto; }

/* ---------- Issues ---------- */

.sb-issues { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.sb-issues__item { flex: 1 1 240px; min-width: 0; background: var(--sb-tint); border-radius: var(--sb-radius); padding: 28px; }
.sb-issues__num { display: block; margin-bottom: 12px; font-family: var(--sb-font-en); font-size: 14px; font-weight: 800; color: var(--sb-red-text); }
.sb-issues__item p { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.6; }

/* ---------- Business ---------- */

.sb-business { display: flex; flex-wrap: wrap; gap: 24px; }
.sb-business__panel {
	flex: 1 1 420px; min-width: 0;
	display: flex; flex-direction: column; gap: 18px;
	padding: 44px 40px; border-radius: 20px; background: var(--sb-tint);
}
.sb-business__panel.is-dark { background: var(--sb-ink); color: var(--sb-white); }
.sb-business__panel.is-dark .sb-chips li { border-color: var(--sb-muted); }
.sb-business__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sb-business__top .sb-eyebrow { margin: 0; }
.sb-business__icon {
	width: 48px; height: 48px; fill: none; stroke: var(--sb-ink);
	stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.is-dark .sb-business__icon { stroke: var(--sb-cyan); }
.sb-business__title { margin: 0; font-family: var(--sb-font-display); font-weight: 700; font-size: 28px; line-height: 1.4; }
.sb-business__text { margin: 0; color: var(--sb-text); flex-grow: 1; }
.is-dark .sb-business__text { color: #D5DBD8; }
.sb-business__panel .sb-btn { align-self: flex-start; min-height: 48px; padding: 0 26px; margin-top: 8px; }

/* Main business: full width, text left / chips + buttons right. */
.sb-business__panel.is-main {
	flex-basis: 100%;
	flex-direction: row; flex-wrap: wrap; align-items: flex-end;
	gap: 32px 56px; padding: 56px;
}
.sb-business__body { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.sb-business__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sb-business__stat { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.sb-business__stat-label { font-size: 14px; font-weight: 700; color: #C9D0CD; }
.sb-business__stat-value { font-family: var(--sb-font-en); font-weight: 800; font-size: clamp(44px, 5vw, 60px); line-height: 1.1; color: var(--sb-cyan); }
.sb-business__stat-value small { font-family: var(--sb-font); font-size: 18px; font-weight: 700; margin-left: 6px; color: var(--sb-white); }
.sb-business__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sb-business__actions .sb-btn { margin-top: 0; }
.is-main .sb-business__title { font-size: clamp(28px, 3vw, 36px); }
.sb-business__icon circle { fill: none; }

@media (max-width: 560px) {
	.sb-business__panel, .sb-business__panel.is-main { padding: 32px 24px; }
}

/* ---------- Mission band ---------- */

.sb-mission {
	position: relative;
	min-height: 420px; display: flex; align-items: center;
	background: #3A4642; color: var(--sb-white);
}
.sb-mission.has-image {
	background-image: linear-gradient(rgba(20, 20, 20, .58), rgba(20, 20, 20, .58)), var(--sb-mission-image);
	background-size: cover; background-position: center;
}
.sb-mission__inner { width: 100%; padding-top: 88px; padding-bottom: 88px; }
.sb-mission__title {
	margin: 0; max-width: 22em;
	font-family: var(--sb-font-display); font-weight: 700;
	font-size: clamp(24px, 2.8vw, 34px); line-height: 1.6;
}
.sb-mission__text { margin: 20px 0 0; color: #D5DBD8; max-width: 34em; }

/* ---------- Cards ---------- */

.sb-cards { display: flex; flex-wrap: wrap; gap: 24px; }
.sb-cards > * { flex: 1 1 300px; min-width: 0; }
@media (min-width: 1000px) { .sb-cards > * { flex: 0 1 calc((100% - 48px) / 3); } }
.sb-card {
	display: flex; flex-direction: column;
	background: var(--sb-white); border-radius: var(--sb-radius); overflow: hidden; text-decoration: none;
}
.sb-section--white .sb-card, .sb-archive .sb-card { border: 1px solid var(--sb-line); }
.sb-card__image { aspect-ratio: 16 / 10; background: var(--sb-tint-strong); }
.sb-card__image img { width: 100%; height: 100%; object-fit: cover; }
.sb-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.sb-card__title { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.6; }
.sb-card__text { margin: 0; font-size: 14px; color: var(--sb-text); }

/* ---------- Partners ---------- */

.sb-partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.sb-partners li {
	flex: 1 1 170px; min-width: 0;
	border: 1px solid #DDE2E0; border-radius: 12px; padding: 22px 16px;
	text-align: center; font-weight: 700; font-size: 15px;
}

/* ---------- Message ---------- */

.sb-message { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.sb-message__photo {
	flex: 1 1 360px; min-width: 0; aspect-ratio: 4 / 3;
	background: var(--sb-tint-strong); border-radius: var(--sb-radius); overflow: hidden;
}
.sb-message__photo img { width: 100%; height: 100%; object-fit: cover; }
.sb-message__text { flex: 1 1 460px; min-width: 0; max-width: 820px; }
.sb-message__text .sb-h2 { margin-bottom: 24px; }
.sb-message__text p { color: var(--sb-text); }
.sb-message__text .sb-eyebrow { color: var(--sb-red-text); }
.sb-message__name { margin-top: 24px; font-weight: 700; color: var(--sb-ink) !important; }
.sb-message__links { margin-top: 20px; }

/* ---------- News ---------- */

.sb-news { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.sb-news__head { flex: 1 1 220px; min-width: 0; }
.sb-news__head .sb-h2 { margin-bottom: 8px; }
.sb-news__list { flex: 999 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.sb-news-row {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px;
	padding: 22px 0; border-bottom: 1px solid var(--sb-line-strong); text-decoration: none;
}
.sb-news-row__date { font-family: var(--sb-font-en); font-size: 14px; color: var(--sb-muted); min-width: 88px; }
.sb-news-row__title { flex: 1 1 320px; min-width: 0; font-weight: 500; }

/* ---------- CTA ---------- */

.sb-cta { position: relative; overflow: hidden; background: var(--sb-ink); color: var(--sb-white); }
.sb-cta__inner {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 40px; padding-top: 96px; padding-bottom: 96px;
}
.sb-cta__text { flex: 1 1 460px; min-width: 0; }
.sb-cta__text .sb-h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 20px; }
.sb-cta__lead { margin: 0; color: #C9D0CD; }
.sb-cta__actions { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sb-cta__note { margin: 4px 0 0; font-size: 13px; color: #C9D0CD; text-align: center; }
.sb-cta__note a { color: var(--sb-white); }

/* ---------- Footer ---------- */

.sb-footer { border-top: 1px solid var(--sb-line); background: var(--sb-white); }
.sb-footer__inner {
	display: flex; flex-wrap: wrap; justify-content: space-between;
	gap: 32px 48px; padding-top: 56px; padding-bottom: 32px;
}
.sb-footer__company { flex: 1 1 320px; min-width: 0; }
.sb-footer__company .sb-brand__name { font-size: 17px; }
.sb-footer__address { margin: 16px 0 0; font-size: 14px; color: var(--sb-text); line-height: 1.9; }
.sb-footer__nav { flex: 1 1 360px; min-width: 0; }
.sb-footer__nav .sb-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 32px; }
.sb-footer__nav a { display: inline-block; padding: 8px 0; font-size: 14px; text-decoration: none; }
.sb-footer__copy { margin: 0; padding: 20px 0 32px; border-top: 1px solid var(--sb-line); font-size: 12px; color: var(--sb-muted); }

/* ---------- Inner pages ---------- */

.sb-page-hero { position: relative; overflow: hidden; background: var(--sb-tint); padding: 80px 0 64px; }
.sb-page-hero .sb-container { position: relative; }
.sb-page-hero .sb-ghost { top: auto; left: auto; right: 16px; bottom: -18px; color: #E9EEEC; }
.sb-page-hero__title {
	margin: 0;
	font-family: var(--sb-font-display); font-weight: 700;
	font-size: clamp(30px, 4vw, 48px); line-height: 1.35;
}
.sb-page-hero__lead { margin: 16px 0 0; max-width: 40em; color: var(--sb-text); font-size: 17px; }
.sb-breadcrumb { margin: 0 0 20px; font-size: 13px; color: var(--sb-muted); }
.sb-breadcrumb a { color: var(--sb-muted); }

.sb-page-body { padding: 72px 0 96px; }
.sb-archive { padding: 72px 0 96px; }

.sb-filter { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sb-filter a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
	border: 1.5px solid var(--sb-line-strong); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none;
}
.sb-filter a[aria-current="page"] { background: var(--sb-ink); border-color: var(--sb-ink); color: var(--sb-white); }

.sb-pagination { margin-top: 48px; }
.sb-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
	padding: 0 12px; border: 1px solid var(--sb-line-strong); border-radius: 999px; text-decoration: none; font-weight: 700;
}
.sb-pagination .page-numbers.current { background: var(--sb-ink); color: var(--sb-white); border-color: var(--sb-ink); }

.sb-empty { padding: 48px; text-align: center; background: var(--sb-tint); border-radius: var(--sb-radius); color: var(--sb-text); }

.sb-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.sb-single-meta time { font-family: var(--sb-font-en); color: var(--sb-muted); font-size: 14px; }
.sb-single-thumb { margin: 0 0 48px; border-radius: var(--sb-radius); overflow: hidden; }
.sb-back { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--sb-line); }

/* ---------- Editor content (the_content) ---------- */

.sb-content { max-width: 820px; }
.sb-content--wide { max-width: none; }
.sb-content > * { margin-top: 0; margin-bottom: 1.6em; }
.sb-content h2 {
	margin-top: 2.4em; margin-bottom: .8em;
	font-family: var(--sb-font-display); font-weight: 700;
	font-size: clamp(24px, 2.6vw, 30px); line-height: 1.45;
	padding-bottom: 12px; border-bottom: 1px solid var(--sb-line);
}
.sb-content h3 {
	margin-top: 2em; margin-bottom: .6em;
	font-family: var(--sb-font-display); font-weight: 700; font-size: 21px; line-height: 1.5;
}
.sb-content h2:first-child, .sb-content h3:first-child { margin-top: 0; }
.sb-content p, .sb-content li { color: var(--sb-text); }
.sb-content ul, .sb-content ol { padding-left: 1.4em; }
.sb-content li + li { margin-top: .4em; }
.sb-content strong { color: var(--sb-ink); }
.sb-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sb-content .wp-block-table { overflow-x: auto; }
.sb-content .wp-block-table table { border-top: 1px solid var(--sb-line); }
.sb-content th, .sb-content td,
.sb-content .wp-block-table th, .sb-content .wp-block-table td {
	padding: 16px 20px; border: 0; border-bottom: 1px solid var(--sb-line); text-align: left; vertical-align: top;
}
.sb-content th, .sb-content thead td, .sb-content tbody td:first-child { color: var(--sb-ink); font-weight: 700; }
.sb-content tbody td:first-child { width: 28%; background: var(--sb-tint); }
.sb-content thead th, .sb-content thead td { background: var(--sb-ink); color: var(--sb-white); }
.sb-content .wp-block-button__link { border-radius: 999px; background: var(--sb-ink); color: var(--sb-white); padding: 14px 28px; font-weight: 700; }
.sb-content iframe { width: 100%; border: 0; border-radius: var(--sb-radius); }
@media (max-width: 600px) { .sb-content tbody td:first-child { width: 36%; } }

/* ---------- Contact Form 7 ---------- */

.wpcf7 { max-width: 760px; }
.wpcf7 form p { margin: 0 0 24px; }
.wpcf7 label { display: block; font-weight: 700; color: var(--sb-ink); }
.wpcf7 .sb-req {
	display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px;
	background: var(--sb-red-text); color: var(--sb-white); font-size: 12px; vertical-align: 2px;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; margin-top: 8px;
	font: inherit; color: var(--sb-ink); background: var(--sb-white);
	border: 1.5px solid var(--sb-line-strong); border-radius: 10px; padding: 12px 16px; min-height: 48px;
}
.wpcf7 textarea { min-height: 180px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--sb-ink); outline: none; box-shadow: 0 0 0 3px rgba(92, 225, 230, .5); }
.wpcf7 .wpcf7-list-item { margin: 8px 16px 0 0; }
.wpcf7 .wpcf7-list-item label { font-weight: 400; display: inline; }
.wpcf7 input[type="submit"] {
	min-height: 56px; padding: 0 48px; border: 0; border-radius: 999px;
	background: var(--sb-ink); color: var(--sb-white); font: inherit; font-weight: 700; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { opacity: .85; }
.wpcf7-not-valid-tip { color: var(--sb-red-text); font-size: 14px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 16px 20px; border-radius: 10px; }

@media (max-width: 600px) {
	:root { --sb-gutter: 16px; }
	.sb-section { padding: 88px 0 72px; }
	.sb-hero__inner { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* 組織図（会社概要ページ） */
.sb-content .sb-org { display: flex; flex-direction: column; margin: 32px 0 8px; }
.sb-content .sb-org__top {
	align-self: center; margin: 0; padding: 14px 44px; border-radius: 12px;
	background: var(--sb-ink); color: var(--sb-white);
	font-family: var(--sb-font-display); font-weight: 700; font-size: 18px; line-height: 1.4;
}
.sb-content .sb-org__tier { position: relative; padding-top: 36px; }
.sb-content .sb-org__tier::before {
	content: ""; position: absolute; top: 0; left: 50%; height: 36px;
	border-left: 2px solid var(--sb-line-strong);
}
.sb-content .sb-org__label {
	margin: 0 0 12px; text-align: center; font-size: 13px; font-weight: 700;
	letter-spacing: .08em; color: var(--sb-muted);
}
.sb-content .sb-org__row {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.sb-content .sb-org__row--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
.sb-content .sb-org__row > li {
	margin: 0; padding: 16px; text-align: center;
	background: var(--sb-tint); border: 1px solid var(--sb-line); border-radius: 12px;
	line-height: 1.6;
}
.sb-content .sb-org__row--biz > li { background: var(--sb-white); border-top: 3px solid var(--sb-red); }
.sb-content .sb-org__row b { display: block; font-weight: 700; color: var(--sb-ink); }
.sb-content .sb-org__row small { display: block; margin-top: 2px; font-size: 13px; color: var(--sb-muted); }
.sb-content .sb-org__sub {
	list-style: none; margin: 12px 0 0; padding: 12px 0 0;
	border-top: 1px dashed var(--sb-line-strong); font-size: 14px; color: var(--sb-text);
}
.sb-content .sb-org__sub li { margin: 0; padding: 2px 0; }
@media (max-width: 700px) {
	.sb-content .sb-org__row, .sb-content .sb-org__row--2 { grid-template-columns: 1fr; max-width: none; }
}

/* 組織図：4列・課の一覧 */
.sb-content .sb-org__row--4 { grid-template-columns: repeat(4, 1fr); }
.sb-content .sb-org__row > li > b { font-size: 15px; }
@media (max-width: 880px) {
	.sb-content .sb-org__row--4 { grid-template-columns: repeat(2, 1fr); }
	.sb-content .sb-org__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.sb-content .sb-org__row, .sb-content .sb-org__row--4 { grid-template-columns: 1fr; }
}

/* ---------- 下層ページ：背景画像と挿絵 ---------- */

.sb-page-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sb-page-hero__bg span { position: absolute; inset: -48px 0; display: block; }
.sb-page-hero__bg img {
	width: 100%; height: 100%; object-fit: cover; object-position: right center;
	opacity: .42;
	-webkit-mask-image: linear-gradient(to right, transparent 38%, #000 88%);
	mask-image: linear-gradient(to right, transparent 38%, #000 88%);
}
.sb-page-hero.has-bg { padding: 112px 0 96px; }
.sb-page-hero.has-bg .sb-ghost { display: none; }
@media (max-width: 760px) {
	.sb-page-hero.has-bg { padding: 72px 0 56px; }
	.sb-page-hero__bg img { opacity: .22; -webkit-mask-image: none; mask-image: none; }
}

.sb-content .wp-block-image { margin: 40px 0; }
.sb-content .wp-block-image img { width: 100%; border-radius: var(--sb-radius); background: var(--sb-tint); }
.sb-content .wp-block-image figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--sb-muted); }