/* ==========================================================
   株式会社ライブラ テーマ
   色: ライブラブルー #0068b7(ロゴの色)/ 濃紺 #0b2440 / アクセント(炎)#e8742a は少しだけ
   ========================================================== */
:root {
	--blue: #0068b7;
	--blue-dark: #00508f;
	--blue-soft: #e6f0f8;
	--navy: #0b2440;
	--navy-2: #12325a;
	--heat: #e8742a;
	--ink: #1b2430;
	--muted: #5b6878;
	--line: #dde3ea;
	--mist: #f2f5f9;
	--white: #fff;
	--radius: 4px;
	--shadow: 0 10px 30px rgba(11, 36, 64, .10);
	--header-h: 88px;
	--en: "Barlow", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.9;
	color: var(--ink);
	background: var(--white);
	overflow-x: clip;
	letter-spacing: .03em;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, opacity .2s, transform .2s; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--heat); outline-offset: 2px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.lb-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 16px; }
.lb-skip:focus { left: 8px; top: 8px; color: #fff; }
.lb-sp { display: none; }
.lb-icon { width: 1.15em; height: 1.15em; flex: none; }

.lb-wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.lb-wrap--narrow { width: min(860px, 100% - 48px); }

/* ---------- ボタン ---------- */
.lb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius);
	font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.3; cursor: pointer;
}
.lb-btn .lb-icon { transition: transform .2s; }
.lb-btn:hover .lb-icon { transform: translateX(3px); }
.lb-btn--blue { background: var(--blue); color: #fff; }
.lb-btn--blue:hover { background: var(--blue-dark); color: #fff; }
.lb-btn--white { background: #fff; color: var(--navy); }
.lb-btn--white:hover { background: var(--blue-soft); color: var(--navy); }
.lb-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.lb-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lb-btn--heat { background: var(--heat); color: #fff; }
.lb-btn--heat:hover { background: #cf6020; color: #fff; }
.lb-btn--line { border-color: var(--navy); color: var(--navy); min-width: 240px; justify-content: space-between; }
.lb-btn--line::after { content: ""; width: 22px; height: 1px; background: currentColor; box-shadow: 0 0 0 0 currentColor; transition: width .2s; }
.lb-btn--line:hover { background: var(--navy); color: #fff; }
.lb-btn--line:hover::after { width: 30px; }
.lb-toprecruit .lb-btn--heat, .lb-topworks .lb-btn--white { min-width: 240px; }
.lb-more { margin: 32px 0 0; }

/* ---------- ヘッダー ---------- */
.lb-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent;
	transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.admin-bar .lb-header { top: 32px; }
.lb-header.is-scrolled { box-shadow: 0 4px 20px rgba(11, 36, 64, .08); border-color: var(--line); }
.lb-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; padding: 0 28px; max-width: 1480px; margin: 0 auto; }
.lb-header__logo { flex: none; display: block; position: relative; }
.lb-logo { width: 200px; height: auto; display: block; }
.lb-logo--white { position: absolute; inset: 0; opacity: 0; }
.lb-gnav { margin-left: auto; }
.lb-gnav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lb-gnav__list a {
	display: flex; flex-direction: column; align-items: center; padding: 8px 14px; color: var(--ink);
	font-weight: 700; font-size: 15px; line-height: 1.3; position: relative;
}
.lb-gnav__list a .en { font-family: var(--en); font-size: 10px; letter-spacing: .16em; color: var(--blue); font-weight: 600; margin-top: 3px; }
.lb-gnav__list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.lb-gnav__list a:hover::after, .lb-gnav__list .current-menu-item > a::after { transform: scaleX(1); }
.lb-gnav__contact { display: none; }
.lb-header__contact { display: flex; align-items: center; gap: 18px; flex: none; }
.lb-header__tel { display: flex; flex-direction: column; color: var(--navy); line-height: 1.2; }
.lb-header__tel-label { font-size: 11px; color: var(--muted); }
.lb-header__tel-num { white-space: nowrap; display: flex; align-items: center; gap: 6px; font-family: var(--en); font-size: 25px; font-weight: 700; letter-spacing: .04em; }
.lb-header__tel-num .lb-icon { color: var(--blue); width: 20px; height: 20px; }
.lb-header__cta {
	display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; background: var(--blue); color: #fff;
	border-radius: var(--radius); font-weight: 700; font-size: 14px;
}
.lb-header__cta:hover { background: var(--blue-dark); color: #fff; }
.lb-burger { display: none; }

.lb-main { padding-top: var(--header-h); }
.home .lb-main { padding-top: 0; }

/* トップ: メインビジュアルの上ではヘッダーを透明に */
.home .lb-header:not(.is-scrolled) { background: transparent; }
.home .lb-header:not(.is-scrolled) .lb-logo--blue { opacity: 0; }
.home .lb-header:not(.is-scrolled) .lb-logo--white { opacity: 1; }
.home .lb-header:not(.is-scrolled) .lb-gnav__list a,
.home .lb-header:not(.is-scrolled) .lb-header__tel { color: #fff; }
.home .lb-header:not(.is-scrolled) .lb-gnav__list a .en,
.home .lb-header:not(.is-scrolled) .lb-header__tel-label,
.home .lb-header:not(.is-scrolled) .lb-header__tel-num .lb-icon { color: rgba(255, 255, 255, .8); }
.home .lb-header:not(.is-scrolled) .lb-gnav__list a::after { background: #fff; }
.lb-logo { transition: opacity .3s; }

/* ---------- メインビジュアル ---------- */
.lb-hero {
	position: relative; min-height: max(620px, 100svh); display: flex; align-items: center;
	color: #fff; overflow: hidden; background: var(--navy);
}
.lb-hero__slides { position: absolute; inset: 0; }
.lb-hero__slide {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
	transition: opacity 1.6s ease; transform: scale(1.08);
}
.lb-hero__slide.is-active { opacity: 1; animation: lb-zoom 9s ease-out forwards; }
@keyframes lb-zoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.lb-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(100deg, rgba(8, 26, 48, .92) 0%, rgba(8, 26, 48, .72) 42%, rgba(8, 26, 48, .25) 100%),
		linear-gradient(0deg, rgba(8, 26, 48, .6), transparent 40%);
}
.lb-hero::after { /* 下端に炎の色の細い線 */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2;
	background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 55%, var(--heat) 100%);
}
.lb-hero__body { position: relative; z-index: 2; padding: calc(var(--header-h) + 40px) 0 120px; }
.lb-hero__en {
	font-family: var(--en); font-size: 14px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
	margin: 0 0 22px; display: flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, .85);
}
.lb-hero__en::before { content: ""; width: 48px; height: 2px; background: var(--heat); }
.lb-hero__title { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.22; font-weight: 900; letter-spacing: .08em; margin: 0; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); }
.lb-hero__lead { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; letter-spacing: .1em; margin: 28px 0 0; color: rgba(255, 255, 255, .92); }
.lb-hero__lead span { margin: 0 .6em; opacity: .6; }
.lb-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.lb-hero__btns .lb-btn { min-width: 200px; justify-content: space-between; }
.lb-hero__dots { position: absolute; z-index: 3; left: max(24px, (100% - 1160px) / 2); bottom: 48px; display: flex; gap: 10px; }
.lb-hero__dots button { width: 40px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.lb-hero__dots button.is-active { background: #fff; }
.lb-hero__scroll {
	position: absolute; z-index: 3; right: 32px; bottom: 40px; margin: 0; writing-mode: vertical-rl;
	font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: rgba(255, 255, 255, .7); padding-bottom: 64px;
}
.lb-hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 52px; background: rgba(255, 255, 255, .5); animation: lb-line 2s infinite; transform-origin: top; }
@keyframes lb-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ページ見出し ---------- */
.lb-pagehead {
	position: relative; color: #fff; padding: 88px 0 80px; overflow: hidden;
	background: var(--navy) var(--bg) center / cover no-repeat;
}
.lb-pagehead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 26, 48, .9), rgba(0, 80, 143, .55)); }
.lb-pagehead::after { content: ""; position: absolute; left: 0; bottom: 0; width: 200px; height: 4px; background: var(--heat); }
.lb-pagehead .lb-wrap { position: relative; }
.lb-pagehead__en { font-family: var(--en); font-weight: 600; letter-spacing: .3em; font-size: 14px; margin: 0 0 8px; color: rgba(255, 255, 255, .8); }
.lb-pagehead__title { margin: 0; font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; letter-spacing: .1em; line-height: 1.4; }
.lb-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); padding: 16px 0; }
.lb-crumbs a { color: var(--muted); }
.lb-crumbs a:hover { color: var(--blue); }

/* ---------- 本文の共通 ---------- */
.lb-content { padding: 48px 0 110px; }
.lb-content--front { padding: 0; }
.lb-content > *:first-child { margin-top: 0; }
.lb-content p { margin: 0 0 1.2em; }
.lb-en {
	font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .28em; color: var(--blue);
	margin: 0 0 6px !important; display: flex; align-items: center; gap: 12px;
}
.lb-en::before { content: ""; width: 28px; height: 2px; background: var(--heat); }
.lb-en--light, .lb-en.lb-light { color: rgba(255, 255, 255, .85); }
.lb-ttl { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.45; letter-spacing: .08em; margin: 0 0 36px; color: var(--navy); }
h3.lb-ttl { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 24px; }
.lb-ttl.lb-light { color: #fff; }
.lb-en.lb-center { justify-content: center; }
.lb-en.lb-center::after { content: ""; width: 28px; height: 2px; background: var(--heat); }
.lb-ttl.lb-center { text-align: center; }
.lb-mt { margin-top: 96px !important; }
.lb-h3 {
	font-size: 20px; font-weight: 700; color: var(--navy); margin: 56px 0 18px; padding-left: 16px;
	border-left: 4px solid var(--blue); line-height: 1.5; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.lb-h3 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.lb-lead { font-size: 19px; font-weight: 700; line-height: 1.9; color: var(--navy); }
.lb-catch { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.7; color: var(--navy); letter-spacing: .06em; }
.lb-highlight { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 20px 24px; font-weight: 500; }
.lb-note { font-size: 13px; color: var(--muted); margin-top: 24px !important; }
.lb-photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.lb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- セクション(トップ) ---------- */
.lb-sec { padding: 120px 0; position: relative; }
.lb-sec--mist { background: var(--mist); }
.lb-sec--navy { background: var(--navy); color: #fff; }

.lb-about__inner, .lb-topmsg__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.lb-about__photo .lb-photo, .lb-topmsg__photo .lb-photo { aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); }
.lb-about__photo { position: relative; }
.lb-about__photo::before { content: ""; position: absolute; right: -24px; bottom: -24px; width: 60%; height: 60%; background: var(--blue-soft); z-index: -1; }
.lb-topmsg__inner { grid-template-columns: 1.05fr 1fr; }
.lb-topmsg__photo { position: relative; }
.lb-topmsg__photo::before { content: ""; position: absolute; left: -24px; top: -24px; width: 50%; height: 60%; border: 2px solid var(--blue); z-index: -1; }

.lb-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.lb-service {
	background: #fff; padding: 48px 44px 44px; position: relative; border-radius: var(--radius);
	box-shadow: var(--shadow); border-top: 4px solid var(--blue); overflow: hidden;
}
.lb-service__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.lb-service__icon .lb-icon { width: 32px; height: 32px; }
.lb-service__num { position: absolute; right: 28px; top: 14px; margin: 0 !important; font-family: var(--en); font-size: 72px; font-weight: 700; color: var(--blue-soft); line-height: 1; }
.lb-service__title { font-size: 22px; font-weight: 900; color: var(--navy); margin: 24px 0 12px; letter-spacing: .06em; }
.lb-service__text { margin: 0 !important; color: var(--muted); }

.lb-topworks { overflow: hidden; }
.lb-topworks::before {
	content: ""; position: absolute; inset: 0; opacity: .18;
	background: url("../img/furnace-room.jpg") center / cover no-repeat;
}
.lb-topworks__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lb-topworks__text { color: rgba(255, 255, 255, .85); }
.lb-stats { display: grid; gap: 20px; margin: 0; }
.lb-stats__item {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); backdrop-filter: blur(4px);
}
.lb-stats dt { font-weight: 700; font-size: 18px; line-height: 1.5; }
.lb-stats dt small { display: block; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .7); }
.lb-stats dd { margin: 0; font-size: 16px; font-weight: 700; white-space: nowrap; }
.lb-stats dd b { font-family: var(--en); font-size: 64px; line-height: 1; margin-right: 6px; color: #fff; }

.lb-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lb-entry {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3;
	padding: 28px; color: #fff; overflow: hidden; border-radius: var(--radius); isolation: isolate;
}
.lb-entry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.lb-entry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 26, 48, .88), rgba(8, 26, 48, .15) 70%); transition: background-color .3s; }
.lb-entry:hover { color: #fff; }
.lb-entry:hover img { transform: scale(1.06); }
.lb-entry:hover::before { background-color: rgba(0, 104, 183, .35); }
.lb-entry__en { font-family: var(--en); font-size: 13px; letter-spacing: .26em; color: rgba(255, 255, 255, .8); }
.lb-entry__ja { font-size: 22px; font-weight: 900; letter-spacing: .1em; }
.lb-entry__arrow { position: absolute; right: 24px; bottom: 30px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; }

.lb-toprecruit { background: linear-gradient(100deg, rgba(0, 80, 143, .97) 0%, rgba(0, 104, 183, .9) 45%, rgba(0, 104, 183, .35) 100%), url("../img/ai-site.jpg") center / cover no-repeat; color: #fff; overflow: hidden; }
.lb-toprecruit::before {
	content: "RECRUIT"; position: absolute; right: -10px; bottom: -36px; font-family: var(--en); font-weight: 700;
	font-size: clamp(90px, 15vw, 220px); line-height: 1; color: rgba(255, 255, 255, .07); letter-spacing: .04em; pointer-events: none;
}
.lb-toprecruit__inner { position: relative; }
.lb-toprecruit__title { font-size: clamp(24px, 3.2vw, 40px); font-weight: 900; margin: 0 0 16px; letter-spacing: .08em; line-height: 1.4; }
.lb-toprecruit__text { font-size: 17px; color: rgba(255, 255, 255, .9); }

/* ---------- フッター前の問い合わせ ---------- */
.lb-footcta { position: relative; color: #fff; padding: 96px 0; background: var(--navy) var(--bg) center / cover no-repeat; }
.lb-footcta::before { content: ""; position: absolute; inset: 0; background: rgba(8, 26, 48, .88); }
.lb-footcta__inner { position: relative; display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; }
.lb-footcta__title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; letter-spacing: .06em; line-height: 1.5; margin: 0; }
.lb-footcta__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lb-footcta__tel, .lb-footcta__mail {
	display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 26px 28px; min-height: 120px;
	border-radius: var(--radius); color: #fff; line-height: 1.3;
}
.lb-footcta__tel { background: #fff; color: var(--navy); }
.lb-footcta__tel:hover { color: var(--navy); background: var(--blue-soft); }
.lb-footcta__mail { background: var(--blue); }
.lb-footcta__mail:hover { background: var(--blue-dark); color: #fff; }
.lb-footcta__label { font-size: 13px; opacity: .8; }
.lb-footcta__num { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--en); font-size: 32px; font-weight: 700; letter-spacing: .03em; }
.lb-footcta__tel .lb-icon { color: var(--blue); }
.lb-footcta__num.lb-footcta__num--sm { font-family: inherit; font-size: 18px; letter-spacing: .04em; }
.lb-footcta__inner > *, .lb-footcta__btns > * { min-width: 0; }

/* ---------- フッター ---------- */
.lb-footer { background: #071a2f; color: rgba(255, 255, 255, .8); font-size: 14px; }
.lb-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; padding: 72px 0 56px; }
.lb-footer__company img { width: 220px; }
.lb-footer__tagline { font-family: var(--en); font-size: 12px; letter-spacing: .24em; color: rgba(255, 255, 255, .55); margin: 14px 0 20px; text-transform: uppercase; }
.lb-footer__addr, .lb-footer__tel { margin: 0; }
.lb-footer__tel a { color: #fff; font-family: var(--en); font-size: 18px; font-weight: 600; letter-spacing: .05em; }
.lb-footer__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 14px 48px; }
.lb-footer__list a { color: rgba(255, 255, 255, .85); display: flex; flex-direction: column; line-height: 1.4; }
.lb-footer__list a:hover { color: #fff; }
.lb-footer__list .en { font-family: var(--en); font-size: 10px; letter-spacing: .2em; color: rgba(255, 255, 255, .45); }
.lb-footer__copy { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; }
.lb-footer__copy .lb-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lb-footer__copy small { font-size: 12px; color: rgba(255, 255, 255, .55); }
.lb-pagetop { font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .7); }
.lb-pagetop:hover { color: #fff; }

/* ---------- 表(会社概要・募集要項) ---------- */
.lb-spec { margin: 0; }
.lb-spec table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.lb-spec th, .lb-spec td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.lb-spec th { width: 220px; background: var(--mist); font-weight: 700; color: var(--navy); white-space: nowrap; }
.lb-spec td strong { color: var(--blue); font-size: 14px; }
.lb-cols { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.lb-cols li { break-inside: avoid; padding-left: 14px; position: relative; }
.lb-cols li::before { content: ""; position: absolute; left: 0; top: .85em; width: 5px; height: 5px; background: var(--blue); }

/* ---------- 施工実績 ---------- */
.lb-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 64px; }
.lb-tabs a {
	flex: 1 1 260px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px;
	background: var(--mist); color: var(--navy); font-weight: 700; border-radius: var(--radius); border: 1px solid var(--line);
}
.lb-tabs a::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); }
.lb-tabs a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.lb-tabs a:hover::after { border-color: #fff; }
.lb-anchor { scroll-margin-top: calc(var(--header-h) + 20px); }
.lb-works { margin: 0; }
.lb-works table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lb-works thead th { background: var(--navy); color: #fff; font-weight: 700; padding: 14px 20px; text-align: left; font-size: 14px; letter-spacing: .1em; }
.lb-works td { padding: 16px 20px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.lb-works tbody tr:nth-child(even) td { background: #f8fafc; }
.lb-works tbody tr:hover td { background: var(--blue-soft); }
.lb-works td:first-child { font-weight: 700; color: var(--navy); width: 32%; }
.lb-works td:last-child, .lb-works th:last-child { width: 110px; text-align: center; font-family: var(--en); font-weight: 600; white-space: nowrap; color: var(--blue); }
.lb-works th:last-child { color: #fff; }
.lb-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.lb-chips li {
	display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); font-size: 15px; line-height: 1.5; transition: border-color .2s, box-shadow .2s;
}
.lb-chips li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--heat); }
.lb-chips li:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(0, 104, 183, .1); }

/* ---------- 事業内容 ---------- */
.lb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.lb-split--rev .lb-split__photo { order: -1; }
.lb-split__photo .lb-photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }

/* ---------- ごあいさつ ---------- */
.lb-message { max-width: 860px; margin: 0 auto; }
.lb-message__body p { font-size: 17px; line-height: 2.3; margin-bottom: 1.6em; }
.lb-message__body p:first-child { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; color: var(--navy); line-height: 1.9; }
.lb-sign { text-align: right; margin-top: 56px !important; }
.lb-sign img { width: 360px; max-width: 80%; }

/* ---------- 採用 ---------- */
.lb-recruit-intro { max-width: 900px; }
.lb-apply { margin-top: 56px; padding: 48px; background: var(--navy); color: #fff; text-align: center; border-radius: var(--radius); }
.lb-apply__title { font-size: 22px; font-weight: 900; margin-bottom: 20px !important; }
.lb-apply__addr { color: rgba(255, 255, 255, .7); font-size: 14px; margin: 16px 0 0 !important; }
.lb-apply .lb-telbox { margin: 0 auto; }

/* ---------- 電話ボタン ---------- */
.lb-telbox {
	display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "icon label" "icon num" "note note";
	align-items: center; column-gap: 16px; padding: 22px 40px; background: #fff; color: var(--navy);
	border-radius: var(--radius); border: 2px solid var(--blue); text-align: left; line-height: 1.3;
}
.lb-telbox:hover { background: var(--blue-soft); color: var(--navy); }
.lb-telbox .lb-icon { grid-area: icon; width: 40px; height: 40px; color: var(--blue); }
.lb-telbox__label { grid-area: label; font-size: 13px; color: var(--muted); }
.lb-telbox__num { grid-area: num; font-family: var(--en); font-size: 38px; font-weight: 700; letter-spacing: .04em; }
.lb-telbox__note { grid-area: note; font-size: 13px; margin-top: 8px; }

/* ---------- 会社概要: 地図 ---------- */
.lb-access { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.lb-access__name { font-weight: 700; color: var(--navy); font-size: 18px; margin-bottom: 4px !important; }
.lb-map { aspect-ratio: 16 / 10; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.lb-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- お問い合わせ ---------- */
.lb-contact-lead { margin-bottom: 24px; }
.lb-form { border-top: 2px solid var(--navy); }
.lb-form__row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.lb-form__label { font-weight: 700; color: var(--navy); padding-top: 12px; display: flex; align-items: center; gap: 10px; }
.lb-form__label em { font-style: normal; font-size: 11px; background: var(--heat); color: #fff; padding: 2px 8px; border-radius: 2px; letter-spacing: .1em; }
.lb-form input[type="text"], .lb-form input[type="email"], .lb-form input[type="tel"], .lb-form textarea {
	width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; border: 1px solid #c5ced9; border-radius: var(--radius);
	background: #fbfcfd; transition: border-color .2s, box-shadow .2s;
}
.lb-form textarea { min-height: 220px; resize: vertical; }
.lb-form input:focus, .lb-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 104, 183, .15); background: #fff; }
.lb-form__submit { text-align: center; padding-top: 40px; }
.lb-form input[type="submit"] {
	min-width: 300px; height: 64px; border: 0; border-radius: var(--radius); background: var(--blue); color: #fff;
	font: inherit; font-size: 17px; font-weight: 700; letter-spacing: .2em; cursor: pointer;
}
.lb-form input[type="submit"]:hover { background: var(--blue-dark); }
.wpcf7-not-valid-tip { color: #d63c1c; font-size: 13px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border-radius: var(--radius); }
.wpcf7-spinner { display: block; margin: 12px auto 0; }
.grecaptcha-badge { visibility: hidden; } /* reCAPTCHA のバッジは隠し、お問い合わせページに文章で表記(現行と同じ) */

/* ---------- お知らせ(使う場合) ---------- */
.lb-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lb-news a { display: flex; gap: 24px; padding: 20px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.lb-news time { font-family: var(--en); color: var(--blue); font-weight: 600; flex: none; }
.lb-date { color: var(--blue); font-family: var(--en); }
.lb-empty { color: var(--muted); }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { padding: 6px 14px; border: 1px solid var(--line); }
.nav-links .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- スクロールで表示 ---------- */
.lb-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.lb-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1280px) {
	.lb-header__tel { display: none; }
	.lb-gnav__list a { padding: 8px 10px; }
}
@media (max-width: 1180px) {
	.lb-footcta__num { font-size: 26px; }
}
@media (max-width: 1024px) {
	:root { --header-h: 68px; }
	.lb-header__inner { padding: 0 8px 0 20px; gap: 12px; }
	.lb-logo { width: 160px; }
	.lb-header__contact { margin-left: auto; }
	.lb-header__cta { height: 44px; padding: 0 14px; font-size: 13px; }
	.lb-burger {
		display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 52px; height: 52px; padding: 0 14px;
		background: none; border: 0; cursor: pointer;
	}
	.lb-burger span { display: block; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
	.home .lb-header:not(.is-scrolled) .lb-burger span { background: #fff; }
	.lb-burger[aria-expanded="true"] span { background: var(--navy) !important; }
	.lb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.lb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.lb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.lb-gnav {
		position: fixed; inset: var(--header-h) 0 0; background: #fff; padding: 16px 24px 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s;
	}
	.admin-bar .lb-gnav { top: calc(var(--header-h) + 46px); }
	.lb-gnav.is-open { opacity: 1; visibility: visible; transform: none; }
	.lb-gnav__list { flex-direction: column; gap: 0; }
	.lb-gnav__list a, .home .lb-header:not(.is-scrolled) .lb-gnav__list a { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; }
	.home .lb-header:not(.is-scrolled) .lb-gnav__list a .en { color: var(--blue); }
	.lb-gnav__list a::after { display: none; }
	.lb-gnav__contact { display: grid; gap: 12px; margin-top: 28px; }
	.lb-gnav__tel { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border: 2px solid var(--blue); border-radius: var(--radius); font-family: var(--en); font-size: 24px; font-weight: 700; color: var(--navy); }
	.lb-gnav__tel .lb-icon { color: var(--blue); }
	.lb-gnav__contact .lb-btn { height: 56px; }
	body.is-menu-open .lb-header { background: #fff; }
	body.is-menu-open .lb-logo--blue { opacity: 1 !important; }
	body.is-menu-open .lb-logo--white { opacity: 0 !important; }
	body.is-menu-open { overflow: hidden; }

	.lb-sec { padding: 88px 0; }
	.lb-about__inner, .lb-topmsg__inner, .lb-topworks__inner, .lb-split, .lb-footcta__inner { grid-template-columns: 1fr; gap: 48px; }
	.lb-topmsg__photo { order: 2; }
	.lb-split--rev .lb-split__photo { order: 2; }
	.lb-entries { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
	.lb-entry { padding: 18px; }
	.lb-entry__ja { font-size: 18px; }
	.lb-entry__arrow { display: none; }
	.lb-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .lb-header { top: 46px; }
}
@media (max-width: 720px) {
	body { font-size: 15px; }
	.lb-sp { display: inline; }
	.lb-wrap, .lb-wrap--narrow { width: calc(100% - 40px); }
	.lb-header__cta span { display: none; }
	.lb-header__cta { width: 44px; padding: 0; justify-content: center; }
	.lb-logo { width: 140px; }
	.lb-hero { min-height: 600px; height: 100svh; }
	.lb-hero::before { background: linear-gradient(180deg, rgba(8, 26, 48, .55), rgba(8, 26, 48, .85)); }
	.lb-hero__body { padding-bottom: 100px; }
	.lb-hero__en { font-size: 11px; letter-spacing: .2em; }
	.lb-hero__en::before { width: 28px; }
	.lb-hero__btns { flex-direction: column; }
	.lb-hero__btns .lb-btn { width: 100%; }
	.lb-hero__scroll { display: none; }
	.lb-hero__dots { left: 20px; bottom: 32px; }
	.lb-pagehead { padding: 56px 0 48px; }
	.lb-content { padding: 32px 0 80px; }
	.lb-sec { padding: 72px 0; }
	.lb-ttl { margin-bottom: 28px; }
	.lb-mt { margin-top: 72px !important; }
	.lb-about__photo::before, .lb-topmsg__photo::before { display: none; }
	.lb-services { grid-template-columns: 1fr; gap: 20px; }
	.lb-service { padding: 36px 28px 32px; }
	.lb-service__num { font-size: 56px; }
	.lb-stats__item { padding: 24px; }
	.lb-stats dd b { font-size: 48px; }
	.lb-entries { grid-template-columns: 1fr; }
	.lb-entry { aspect-ratio: 16 / 7; }
	.lb-btn--line, .lb-toprecruit .lb-btn--heat, .lb-topworks .lb-btn--white { width: 100%; }
	.lb-footcta { padding: 72px 0; }
	.lb-footcta__btns { grid-template-columns: 1fr; }
	.lb-footcta__num { font-size: 28px; }
	.lb-footer__list { grid-template-columns: repeat(2, auto); gap: 14px 32px; }
	.lb-footer__copy .lb-wrap { flex-direction: column-reverse; }

	.lb-spec th, .lb-spec td { display: block; width: 100%; }
	.lb-spec th { padding: 12px 16px; }
	.lb-spec td { padding: 16px 16px 24px; border-bottom: 0; }
	.lb-cols { columns: 1; }
	/* 施工実績の表はカード型に */
	.lb-works thead { display: none; }
	.lb-works table, .lb-works tbody, .lb-works tr, .lb-works td { display: block; width: 100% !important; }
	.lb-works tr { padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--blue); margin-bottom: 10px; border-radius: var(--radius); background: #fff !important; position: relative; }
	.lb-works td, .lb-works tbody tr:nth-child(even) td, .lb-works tbody tr:hover td { padding: 0; border: 0; background: none; text-align: left !important; }
	.lb-works td:first-child { padding-right: 70px; font-size: 15px; }
	.lb-works td:nth-child(2) { font-size: 14px; color: var(--muted); margin-top: 4px; }
	.lb-works td:last-child { position: absolute; right: 16px; top: 16px; width: auto !important; font-size: 14px; }
	.lb-chips { grid-template-columns: 1fr; }
	.lb-split { margin-bottom: 72px; }
	.lb-access { grid-template-columns: 1fr; }
	.lb-apply { padding: 36px 20px; }
	.lb-telbox { padding: 18px 22px; column-gap: 12px; }
	.lb-telbox .lb-icon { width: 30px; height: 30px; }
	.lb-telbox__num { font-size: 30px; }
	.lb-form__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
	.lb-form__label { padding-top: 0; }
	.lb-form input[type="submit"] { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.lb-reveal { opacity: 1; transform: none; }
}
