/* =========================================================
   小林板金テーマ メインスタイル
   元のデザイン（.dc.html）を忠実に再現
   ========================================================= */

:root { --accent: #9c6b3f; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #f4f1ea;
	color: #232019;
	font-family: 'Noto Sans JP', sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: #9c6b3f; color: #f4f1ea; }

.kb-root { background: #f4f1ea; color: #232019; }

/* 共通：リード／見出し */
.kb-eyebrow {
	font-size: 11px;
	letter-spacing: 0.46em;
	color: #9c6b3f;
	font-weight: 500;
	margin-bottom: 14px;
}
.kb-eyebrow-light { color: #c79a6a; }
/* スマホ時のみ有効になる改行 */
.kb-sp-br { display: none; }
/* PC時のみ有効になる改行（スマホでは無効） */
.kb-pc-br { display: inline; }
.kb-section-head { text-align: center; margin-bottom: clamp(48px, 8vh, 96px); }
.kb-section-title {
	font-family: 'Shippori Mincho', serif;
	font-weight: 700;
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	letter-spacing: 0.18em;
	margin: 0;
	color: #232019;
}
.kb-section-title-light { color: #f7f4ee; }

/* 共通：ボタン */
.kb-btn-primary {
	display: inline-block;
	font-size: 13px;
	letter-spacing: 0.16em;
	color: #f4f1ea;
	background: var(--accent, #9c6b3f);
	padding: 18px 46px;
	border-radius: 1px;
	transition: opacity 0.2s;
}
.kb-btn-primary:hover { opacity: 0.9; }
.kb-btn-outline {
	display: inline-block;
	font-size: 13px;
	letter-spacing: 0.16em;
	color: #232019;
	border: 1px solid rgba(35, 32, 25, 0.35);
	padding: 18px 40px;
	border-radius: 1px;
	transition: background 0.2s, color 0.2s;
}
.kb-btn-outline:hover { background: rgba(35, 32, 25, 0.06); }

/* リビール演出（IntersectionObserver） */
.kb-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s cubic-bezier(.16,.84,.44,1), transform 1s cubic-bezier(.16,.84,.44,1);
}
.kb-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.kb-reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* =========================================================
   ヘッダー
   ========================================================= */
.kb-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 clamp(18px, 4vw, 56px);
	background: rgba(244, 241, 234, 0.84);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(35, 32, 25, 0.10);
	transition: box-shadow 0.3s;
}
.kb-header.is-scrolled { box-shadow: 0 4px 24px rgba(20, 18, 14, 0.08); }
.kb-logo { display: flex; align-items: baseline; gap: 10px; }
.kb-logo-jp {
	font-family: 'Shippori Mincho', serif;
	font-weight: 700;
	font-size: 23px;
	letter-spacing: 0.16em;
	color: #232019;
}
.kb-logo-en { font-size: 9px; letter-spacing: 0.36em; color: #9c6b3f; font-weight: 500; }
.kb-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 38px); }
.kb-nav > a {
	font-size: 13px;
	letter-spacing: 0.14em;
	color: #3a352c;
	font-weight: 500;
	transition: color 0.2s;
}
.kb-nav > a:hover { color: #9c6b3f; }
.kb-nav-cta {
	font-size: 12px !important;
	color: #f4f1ea !important;
	background: var(--accent, #9c6b3f);
	padding: 11px 18px;
	border-radius: 1px;
}
.kb-nav-cta:hover { color: #f4f1ea !important; opacity: 0.9; }

/* ハンバーガー（モバイル） */
.kb-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 40px;
	background: none; border: none; cursor: pointer;
	padding: 0;
}
.kb-nav-toggle span {
	display: block;
	width: 24px; height: 1.5px;
	background: #232019;
	margin: 0 auto;
	transition: transform 0.3s, opacity 0.3s;
}

/* =========================================================
   ヒーロー
   ========================================================= */
.kb-main { display: block; }
.kb-hero { position: relative; height: 100vh; min-height: 620px; width: 100%; overflow: hidden; }
.kb-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.kb-hero-overlay-1 {
	position: absolute; inset: 0;
	background: linear-gradient(105deg, rgba(20,18,14,0.18) 0%, rgba(20,18,14,0.12) 40%, rgba(20,18,14,0.66) 100%);
}
.kb-hero-overlay-2 {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(20,18,14,0.42) 0%, rgba(20,18,14,0) 40%);
}
.kb-hero-copy {
	position: absolute;
	right: clamp(26px, 6vw, 90px);
	top: calc(50% + 34px);
	transform: translateY(-50%);
	display: flex;
	align-items: flex-start;
	gap: 24px;
	max-height: calc(100% - 150px);
}
.kb-hero-title {
	margin: 0;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-family: 'Shippori Mincho', serif;
	font-weight: 700;
	color: #f7f4ee;
	font-size: clamp(2.3rem, 4.8vw, 4.1rem);
	line-height: 1.78;
	letter-spacing: 0.12em;
	text-shadow: 0 2px 30px rgba(0,0,0,0.4);
	transition-duration: 1.2s;
}
.kb-hero-sub {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-size: 11px;
	letter-spacing: 0.5em;
	color: rgba(247,244,238,0.82);
	padding-top: 8px;
	font-weight: 500;
	transition-duration: 1.2s;
}
.kb-hero-scroll {
	position: absolute;
	left: clamp(18px, 4vw, 56px);
	bottom: 34px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: rgba(247,244,238,0.85);
}
.kb-hero-scroll-label { writing-mode: vertical-rl; font-size: 10px; letter-spacing: 0.42em; font-weight: 500; }
.kb-hero-scroll-line { display: block; width: 1px; height: 54px; background: rgba(247,244,238,0.45); position: relative; overflow: hidden; }
.kb-hero-scroll-line span { position: absolute; inset: 0; background: #f7f4ee; animation: kbPulse 2.4s ease-in-out infinite; }
@keyframes kbPulse {
	0% { transform: scaleY(0); transform-origin: top; }
	45% { transform: scaleY(1); transform-origin: top; }
	55% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   経営理念
   ========================================================= */
.kb-philosophy { position: relative; padding: clamp(96px, 15vh, 180px) clamp(20px, 5vw, 80px); background: #f4f1ea; }
.kb-philosophy-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: center; gap: clamp(40px, 7vw, 110px); align-items: flex-start; }
.kb-philosophy-head { flex-shrink: 0; padding-top: 6px; }
.kb-philosophy-label {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-family: 'Shippori Mincho', serif;
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.4em;
	color: #5c564b;
	height: 110px;
}
.kb-philosophy-body {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-family: 'Shippori Mincho', serif;
	font-weight: 500;
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	line-height: 2.7;
	letter-spacing: 0.16em;
	color: #2b2820;
	max-height: 520px;
	transition-duration: 1.1s;
}

/* =========================================================
   事業内容
   ========================================================= */
.kb-services { padding: clamp(80px, 12vh, 150px) 0; background: #ece7dc; }
.kb-services-inner { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.kb-service-row {
	display: flex;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	margin-bottom: clamp(48px, 8vh, 96px);
	flex-wrap: wrap;
}
.kb-service-row:last-child { margin-bottom: 0; }
.kb-service-row.is-reverse { flex-direction: row-reverse; }
.kb-service-img { flex: 1 1 320px; min-width: 280px; }
.kb-service-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.kb-service-text { flex: 1 1 320px; min-width: 280px; }
.kb-service-num { font-family: 'Shippori Mincho', serif; font-size: 13px; letter-spacing: 0.3em; color: #9c6b3f; margin-bottom: 14px; }
.kb-service-name {
	font-family: 'Shippori Mincho', serif;
	font-weight: 700;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	letter-spacing: 0.12em;
	margin: 0 0 22px;
	color: #232019;
}
.kb-service-text p { font-size: 15px; line-height: 2.25; letter-spacing: 0.04em; color: #4a463d; margin: 0; }

/* =========================================================
   施工事例
   ========================================================= */
.kb-works { padding: clamp(80px, 12vh, 150px) 0; background: #f4f1ea; }
.kb-works .kb-section-head { margin-bottom: clamp(48px, 7vh, 80px); }
.kb-works-inner { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.kb-works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 32px); }
.kb-work-card { cursor: pointer; display: block; }
.kb-work-thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #ece7dc; }
.kb-works:not(.kb-works-archive) .kb-work-thumb { border-radius: 8px; }
.kb-work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(.16,.84,.44,1); }
.kb-work-card:hover .kb-work-thumb img { transform: scale(1.05); }
.kb-work-plus {
	position: absolute; bottom: 12px; right: 12px;
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(20,18,14,0.55);
	backdrop-filter: blur(2px);
	color: #f7f4ee;
	display: flex; align-items: center; justify-content: center;
	font-size: 18px; font-weight: 300; line-height: 1;
}
.kb-work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 16px; }
.kb-work-title { font-family: 'Shippori Mincho', serif; font-size: clamp(15px, 1.5vw, 17px); letter-spacing: 0.08em; color: #3a352c; }
.kb-work-more { font-size: 10px; letter-spacing: 0.12em; color: #9c6b3f; flex-shrink: 0; }
.kb-works-empty, .kb-news-empty { text-align: center; color: #5c564b; font-size: 15px; }

/* 施工事例モーダル */
.kb-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: clamp(14px, 4vw, 52px); animation: kbFade 0.3s ease both; }
.kb-modal[hidden] { display: none; }
@keyframes kbFade { from { opacity: 0; } to { opacity: 1; } }
.kb-modal-backdrop { position: absolute; inset: 0; background: rgba(20,18,14,0.84); backdrop-filter: blur(4px); }
.kb-modal-dialog {
	position: relative;
	background: #f4f1ea;
	max-width: 1000px; width: 100%;
	height: 92vh;
	display: flex; flex-direction: column;
	overflow: hidden;
	border-radius: 2px;
	box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.kb-modal-close {
	position: absolute; top: 14px; right: 14px; z-index: 3;
	width: 42px; height: 42px; border: none; border-radius: 50%;
	background: rgba(20,18,14,0.6); color: #f7f4ee;
	font-size: 20px; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.kb-modal-stage { position: relative; background: #1c1a15; flex: 1 1 auto; min-height: 0; }
.kb-modal-main { width: 100%; height: 100%; object-fit: contain; display: block; }
.kb-modal-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border: none; border-radius: 50%;
	background: rgba(20,18,14,0.55); color: #f7f4ee;
	font-family: 'Noto Sans JP', sans-serif; font-size: 16px; line-height: 1;
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	transition: background 0.2s;
	z-index: 2;
}
.kb-modal-nav:hover { background: rgba(20,18,14,0.8); }
.kb-modal-prev { left: 14px; }
.kb-modal-next { right: 14px; }
.kb-modal-nav[hidden] { display: none; }
.kb-modal-label { position: absolute; top: 16px; left: 16px; font-size: 12px; letter-spacing: 0.16em; color: #f7f4ee; padding: 6px 16px; }
.kb-modal-thumbs { padding: 14px clamp(16px, 3vw, 28px); background: #ece7dc; display: flex; gap: 28px; flex-wrap: nowrap; overflow-x: auto; flex-shrink: 0; -webkit-overflow-scrolling: touch; }
.kb-modal-thumb-group { flex: 0 0 auto; }
.kb-modal-thumb-grouplabel { font-size: 10px; letter-spacing: 0.16em; font-weight: 600; margin-bottom: 8px; min-height: 12px; }
.kb-modal-thumb-row { display: flex; gap: 8px; flex-wrap: nowrap; }
.kb-modal-thumb {
	flex: 0 0 auto; width: 84px; height: 64px;
	background-size: cover; background-position: center;
	cursor: pointer; overflow: hidden;
	border: 2px solid transparent;
	opacity: 0.62;
	transition: border-color 0.2s, opacity 0.2s;
}
.kb-modal-thumb.is-active { border-color: var(--accent, #9c6b3f); opacity: 1; }
.kb-modal-body { padding: clamp(18px, 3vw, 30px) clamp(26px, 4vw, 42px); flex-shrink: 0; }
.kb-modal-cat { font-size: 11px; letter-spacing: 0.3em; color: #9c6b3f; font-weight: 500; margin-bottom: 14px; }
.kb-modal-title { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: 0.1em; margin: 0; color: #232019; }

/* =========================================================
   注力商材（遮熱材一体型折板）
   ========================================================= */
.kb-product { padding: clamp(80px, 12vh, 150px) 0; background: #ece7dc; }
.kb-product-inner { max-width: 1080px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.kb-product .kb-section-head { margin-bottom: 20px; }
.kb-product-sub { margin: 16px 0 0; font-size: clamp(13px, 1.6vw, 15px); letter-spacing: 0.08em; color: #5c564b; font-family: 'Shippori Mincho', serif; }
.kb-product-catch { max-width: 760px; margin: 0 auto clamp(48px, 7vh, 72px); text-align: center; font-size: clamp(14px, 1.7vw, 16px); line-height: 2.1; letter-spacing: 0.04em; color: #3a352c; }

/* お悩み */
.kb-product-worries { background: #f4f1ea; border: 1px solid rgba(35,32,25,0.10); border-radius: 4px; padding: clamp(28px, 4vw, 48px); margin-bottom: clamp(56px, 8vh, 90px); }
.kb-product-worries-title { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.4rem); letter-spacing: 0.06em; color: #232019; margin: 0 0 24px; text-align: center; }
.kb-product-worry-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kb-product-worry-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.9; letter-spacing: 0.02em; color: #4a463d; padding-bottom: 14px; border-bottom: 1px dashed rgba(35,32,25,0.14); }
.kb-product-worry-list li:last-child { border-bottom: none; padding-bottom: 0; }
.kb-product-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent, #9c6b3f); color: #f4f1ea; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.kb-product-worries-answer { margin: 0; text-align: center; font-size: 15px; line-height: 2; letter-spacing: 0.03em; color: #2b2820; }
.kb-product-worries-answer-catch { display: inline-block; font-family: 'Shippori Mincho', serif; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; letter-spacing: 0.06em; color: var(--accent, #9c6b3f); margin-bottom: 10px; }

/* 3つの理由 */
.kb-product-merits-head { text-align: center; margin-bottom: clamp(32px, 5vh, 48px); }
.kb-product-merits-label { font-family: 'Shippori Mincho', serif; font-size: clamp(1.2rem, 2.4vw, 1.7rem); letter-spacing: 0.1em; color: #232019; }
.kb-product-merits-label strong { color: var(--accent, #9c6b3f); font-size: 1.5em; margin: 0 4px; }
.kb-product-merits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); margin-bottom: clamp(56px, 8vh, 90px); }
.kb-product-merit { background: #f4f1ea; border: 1px solid rgba(35,32,25,0.10); border-radius: 4px; padding: clamp(24px, 3vw, 34px); border-top: 3px solid var(--accent, #9c6b3f); }
.kb-product-merit-num { font-family: 'Shippori Mincho', serif; font-size: 1.4rem; color: var(--accent, #9c6b3f); line-height: 1; margin-bottom: 14px; }
.kb-product-merit-title { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(1.1rem, 1.9vw, 1.3rem); letter-spacing: 0.06em; color: #232019; margin: 0 0 12px; }
.kb-product-merit-lead { font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; color: #9c6b3f; margin: 0 0 12px; line-height: 1.7; }
.kb-product-merit-text { font-size: 13.5px; line-height: 2; letter-spacing: 0.02em; color: #4a463d; margin: 0; }

/* 実証データ */
.kb-product-data { background: #232019; color: #f4f1ea; border-radius: 4px; padding: clamp(32px, 5vw, 56px); margin-bottom: clamp(48px, 7vh, 72px); }
.kb-product-data-head { text-align: center; margin-bottom: clamp(32px, 5vh, 48px); }
.kb-product-data-head .kb-eyebrow { color: #c79a6a; }
.kb-product-data-title { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.6rem); letter-spacing: 0.06em; color: #f7f4ee; margin: 0; }
.kb-product-data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); }
.kb-product-stat { background: rgba(247,244,238,0.05); border: 1px solid rgba(247,244,238,0.14); border-radius: 4px; padding: clamp(22px, 3vw, 30px); }
.kb-product-stat-label { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; color: #f7f4ee; margin-bottom: 6px; }
.kb-product-stat-desc { font-size: 12.5px; line-height: 1.7; color: rgba(247,244,238,0.66); margin-bottom: 22px; }
.kb-product-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.kb-product-bar { display: grid; grid-template-columns: minmax(118px, max-content) 1fr auto; align-items: center; gap: 12px; }
.kb-product-bar-name { font-size: 12px; letter-spacing: 0.03em; color: rgba(247,244,238,0.8); white-space: nowrap; }
.kb-product-bar-track { height: 12px; background: rgba(247,244,238,0.12); border-radius: 6px; overflow: hidden; }
.kb-product-bar-fill { display: block; height: 100%; border-radius: 6px; }
.kb-product-bar-fill.is-base { background: rgba(247,244,238,0.4); }
.kb-product-bar-fill.is-good { background: var(--accent, #9c6b3f); }
.kb-product-bar-val { font-family: 'Shippori Mincho', serif; font-size: 15px; letter-spacing: 0.02em; color: #f7f4ee; min-width: 52px; text-align: right; }
.kb-product-stat-badge { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: #232019; background: #c79a6a; padding: 8px 20px; border-radius: 2px; }
.kb-product-stat-note { margin: 18px 0 0; font-size: 12.5px; line-height: 2; letter-spacing: 0.02em; color: rgba(247,244,238,0.72); }
.kb-product-data-note { margin: clamp(24px, 4vh, 32px) 0 0; font-size: 11px; letter-spacing: 0.04em; color: rgba(247,244,238,0.5); text-align: right; }

/* CTA */
.kb-product-cta { text-align: center; }
.kb-product-cta-lead { font-size: 15px; line-height: 2; letter-spacing: 0.03em; color: #2b2820; margin: 0 0 24px; }
.kb-product-cta-btns { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.kb-product-cta-tel { font-family: 'Shippori Mincho', serif; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: 0.06em; color: #232019; }

/* =========================================================
   選ばれる理由
   ========================================================= */
.kb-reason { padding: clamp(80px, 12vh, 150px) 0; background: #232019; color: #f4f1ea; }
.kb-reason .kb-section-head { margin-bottom: clamp(56px, 8vh, 90px); }
.kb-reason-inner { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.kb-reason-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px); max-width: 880px; margin: 0 auto; }
.kb-reason-item { border-top: 1px solid rgba(247,244,238,0.18); padding-top: 28px; }
.kb-reason-num { font-family: 'Shippori Mincho', serif; font-size: 1.6rem; color: #9c6b3f; line-height: 1; margin-bottom: 18px; }
.kb-reason-title { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: 1.2rem; letter-spacing: 0.08em; margin: 0 0 14px; color: #f7f4ee; }
.kb-reason-item p { font-size: 14px; line-height: 2.1; letter-spacing: 0.03em; color: rgba(247,244,238,0.74); margin: 0; }

/* =========================================================
   取引先
   ========================================================= */
.kb-partners { padding: clamp(80px, 12vh, 150px) 0; background: #ece7dc; }
.kb-partners .kb-section-head { margin-bottom: clamp(20px, 3vh, 36px); }
.kb-partners-inner { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.kb-partners-lead { text-align: center; font-size: 14px; line-height: 2.1; letter-spacing: 0.04em; color: #5c564b; max-width: 600px; margin: 0 auto clamp(40px, 6vh, 60px); }
.kb-partners-list { display: flex; justify-content: center; }
.kb-partner-card {
	display: flex; gap: clamp(24px, 4vw, 48px); align-items: center;
	background: #f4f1ea; border: 1px solid rgba(35,32,25,0.12);
	padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 48px);
	border-radius: 2px; max-width: 680px; width: 100%; flex-wrap: wrap;
	transition: box-shadow 0.3s;
}
.kb-partner-card:hover { box-shadow: 0 12px 36px rgba(20,18,14,0.08); }
.kb-partner-logo {
	width: 180px; height: auto; flex-shrink: 0; display: block;
}
.kb-partner-body { flex: 1 1 240px; min-width: 220px; }
.kb-partner-name { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: 0.08em; color: #232019; margin-bottom: 12px; }
.kb-partner-desc { font-size: 13.5px; line-height: 2; letter-spacing: 0.03em; color: #4a463d; margin: 0 0 16px; overflow-wrap: anywhere; word-break: break-word; }
.kb-partner-en { font-size: 10px; letter-spacing: 0.24em; font-weight: 600; color: #9c6b3f; }
.kb-partner-link { font-size: 12px; letter-spacing: 0.12em; color: #9c6b3f; font-weight: 500; }

/* =========================================================
   お知らせ
   ========================================================= */
.kb-news { padding: clamp(80px, 12vh, 140px) 0; background: #f4f1ea; }
.kb-news .kb-section-head { margin-bottom: clamp(40px, 6vh, 64px); }
.kb-news-inner { max-width: 880px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.kb-news-list { border-bottom: 1px solid rgba(35,32,25,0.12); }
.kb-news-item {
	display: flex; gap: 24px; align-items: baseline;
	padding: 24px 4px;
	border-top: 1px solid rgba(35,32,25,0.12);
	flex-wrap: wrap;
	transition: background 0.2s;
}
.kb-news-item:hover { background: rgba(35,32,25,0.03); }
.kb-news-item--static { cursor: default; }
.kb-news-item--static:hover { background: transparent; }
.kb-news-date { font-size: 13px; letter-spacing: 0.1em; color: #9c6b3f; flex-shrink: 0; font-family: 'Shippori Mincho', serif; }
.kb-news-cat { font-size: 10px; letter-spacing: 0.14em; color: #7a7264; border: 1px solid rgba(35,32,25,0.2); padding: 3px 10px; flex-shrink: 0; }
.kb-news-title { font-size: 15px; letter-spacing: 0.04em; color: #2b2820; line-height: 1.7; }

/* =========================================================
   CTA
   ========================================================= */
.kb-cta { position: relative; padding: clamp(96px, 16vh, 180px) clamp(20px, 5vw, 80px); background: #ece7dc; text-align: center; overflow: hidden; }
.kb-cta-inner { position: relative; }
.kb-cta .kb-eyebrow { margin-bottom: 24px; }
.kb-cta-title {
	font-family: 'Shippori Mincho', serif;
	font-weight: 700;
	font-size: clamp(1.6rem, 3.6vw, 2.6rem);
	line-height: 1.7; letter-spacing: 0.1em;
	margin: 0 0 16px; color: #232019;
}
.kb-cta-lead { font-size: 14px; line-height: 2.1; letter-spacing: 0.05em; color: #5c564b; margin: 0 auto 44px; max-width: 560px; }
.kb-cta-tel { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.kb-cta-tel a { font-family: 'Shippori Mincho', serif; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: 0.06em; color: #232019; }
.kb-cta-tel span { font-size: 12px; letter-spacing: 0.08em; color: #7a7264; }
.kb-cta-btns { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   フッター
   ========================================================= */
.kb-footer { background: #1c1a15; color: rgba(247,244,238,0.7); padding: clamp(56px, 8vh, 80px) clamp(20px, 5vw, 80px) 40px; }
.kb-footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.kb-footer-logo { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.kb-footer-logo-jp { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: 22px; letter-spacing: 0.16em; color: #f7f4ee; }
.kb-footer-logo-en { font-size: 9px; letter-spacing: 0.34em; color: #9c6b3f; }
.kb-footer-info { font-size: 13px; line-height: 2; letter-spacing: 0.04em; }
.kb-footer-nav { display: flex; flex-direction: column; gap: 14px; }
.kb-footer-nav a { font-size: 12px; letter-spacing: 0.14em; transition: color 0.2s; }
.kb-footer-nav a:hover { color: #f7f4ee; }
.kb-footer-copy { max-width: 1180px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(247,244,238,0.12); font-size: 11px; letter-spacing: 0.1em; color: rgba(247,244,238,0.45); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.kb-footer-privacy { transition: color 0.2s; }
.kb-footer-privacy:hover { color: #f7f4ee; }

/* =========================================================
   下層ページ共通（会社概要・お問い合わせ・一覧・個別）
   ========================================================= */
.kb-page { padding-top: 78px; }
.kb-page-hero { position: relative; height: 44vh; min-height: 300px; overflow: hidden; background-size: cover; background-position: center; }
.kb-page-hero-sm { height: 40vh; min-height: 280px; }
.kb-page-hero-plain { background: #232019; height: 32vh; min-height: 220px; }
.kb-page-hero-overlay { position: absolute; inset: 0; background: rgba(20,18,14,0.46); }
.kb-page-hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f7f4ee; }
.kb-page-hero-en { font-size: 11px; letter-spacing: 0.5em; margin-bottom: 18px; color: rgba(247,244,238,0.85); }
.kb-page-hero-title { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: 0.24em; margin: 0; color: #f7f4ee; }

/* 代表挨拶 */
.kb-greeting { padding: clamp(80px, 13vh, 160px) clamp(20px, 5vw, 80px); background: #f4f1ea; }
.kb-greeting-inner { max-width: 1080px; margin: 0 auto; display: flex; gap: clamp(40px, 7vw, 90px); align-items: center; flex-wrap: wrap; }
.kb-greeting-text { flex: 1 1 360px; min-width: 300px; }
.kb-greeting-title { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.7; letter-spacing: 0.08em; margin: 0 0 30px; color: #232019; }
.kb-greeting-text p { font-size: 15px; line-height: 2.3; letter-spacing: 0.04em; color: #4a463d; margin: 0 0 22px; }
.kb-greeting-sign { font-family: 'Shippori Mincho', serif; font-size: 15px; letter-spacing: 0.1em; color: #232019; margin-top: 8px; }

/* 会社情報テーブル */
.kb-profile { padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 80px); background: #ece7dc; }
.kb-profile .kb-section-head { margin-bottom: clamp(40px, 6vh, 64px); }
.kb-profile-inner { max-width: 880px; margin: 0 auto; }
.kb-profile-table { margin: 0; }
.kb-profile-row { display: flex; gap: 24px; padding: 20px 4px; border-top: 1px solid rgba(35,32,25,0.14); flex-wrap: wrap; }
.kb-profile-row:last-child { border-bottom: 1px solid rgba(35,32,25,0.14); }
.kb-profile-row dt { flex: 0 0 150px; font-family: 'Shippori Mincho', serif; font-size: 14px; letter-spacing: 0.1em; color: #5c564b; }
.kb-profile-row dd { margin: 0; flex: 1 1 260px; font-size: 15px; line-height: 1.9; color: #2b2820; }

/* アクセス */
.kb-access { padding: clamp(70px, 11vh, 140px) clamp(20px, 5vw, 80px); background: #f4f1ea; }
.kb-access .kb-section-head { margin-bottom: clamp(36px, 5vh, 56px); }
.kb-access-inner { max-width: 1080px; margin: 0 auto; }
.kb-access-map { width: 100%; aspect-ratio: 16/7; border: 0; display: block; filter: grayscale(0.18) contrast(1.02); }
.kb-access-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.kb-access-addr { font-size: 15px; line-height: 1.9; color: #2b2820; }
.kb-access-addr span { color: #5c564b; font-size: 14px; }

/* =========================================================
   お問い合わせ
   ========================================================= */
.kb-contact { padding: clamp(64px, 10vh, 120px) clamp(20px, 5vw, 80px); background: #f4f1ea; }
.kb-contact-inner { max-width: 920px; margin: 0 auto; }
.kb-contact-intro { text-align: center; font-size: 15px; line-height: 2.2; letter-spacing: 0.04em; color: #4a463d; margin: 0 0 clamp(40px, 6vh, 64px); }
.kb-contact-phone { display: flex; flex-direction: column; align-items: center; text-align: center; background: #ece7dc; padding: clamp(28px, 4vw, 40px); margin-bottom: clamp(40px, 6vh, 60px); }
.kb-contact-phone-label { font-size: 11px; letter-spacing: 0.24em; color: #9c6b3f; margin-bottom: 10px; }
.kb-contact-phone-num { font-family: 'Shippori Mincho', serif; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: 0.06em; color: #232019; }
.kb-contact-phone-hours { font-size: 12px; letter-spacing: 0.08em; color: #7a7264; margin-top: 8px; }

/* フォーム（CF7 / 静的フォーム 共通スタイル） */
.kb-contact-form,
.kb-contact .wpcf7-form { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 28px); }
.kb-field { display: flex; flex-direction: column; gap: 10px; }
.kb-field-row { display: flex; gap: clamp(20px, 3vw, 28px); flex-wrap: wrap; }
.kb-field-row .kb-field { flex: 1 1 240px; }
.kb-field-label { display: flex; align-items: center; gap: 10px; font-family: 'Shippori Mincho', serif; font-size: 14px; letter-spacing: 0.08em; color: #3a352c; }
.kb-req { font-size: 10px; letter-spacing: 0.1em; color: #f4f1ea; background: #9e3b2e; padding: 2px 8px; }
.kb-contact-form input,
.kb-contact-form select,
.kb-contact-form textarea,
.kb-contact .wpcf7-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.kb-contact .wpcf7-form select,
.kb-contact .wpcf7-form textarea {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 15px; color: #232019;
	background: #fff;
	border: 1px solid rgba(35,32,25,0.18);
	border-radius: 1px;
	padding: 14px 16px;
	outline: none;
	width: 100%;
	transition: border-color 0.2s;
}
.kb-contact-form textarea,
.kb-contact .wpcf7-form textarea { line-height: 1.9; resize: vertical; }
.kb-contact-form input:focus,
.kb-contact-form select:focus,
.kb-contact-form textarea:focus,
.kb-contact .wpcf7-form input:focus,
.kb-contact .wpcf7-form select:focus,
.kb-contact .wpcf7-form textarea:focus { border-color: #9c6b3f; }
/* 同意チェックボックス（CF7 acceptance / 静的フォーム共通） */
.kb-contact .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: block; }
.kb-contact .wpcf7-acceptance label,
.kb-accept { display: flex; align-items: flex-start; gap: 12px; font-family: 'Noto Sans JP', sans-serif; font-size: 13.5px; line-height: 1.9; color: #4a463d; cursor: pointer; }
.kb-contact .wpcf7-acceptance input[type=checkbox],
.kb-accept input[type=checkbox] { margin: 5px 0 0; width: 16px; height: 16px; accent-color: var(--accent, #9c6b3f); flex-shrink: 0; }
.kb-contact .wpcf7-acceptance a,
.kb-accept a { color: var(--accent, #9c6b3f); text-decoration: underline; text-underline-offset: 3px; }

.kb-contact-submit { text-align: center; margin-top: clamp(8px, 2vh, 16px); }
.kb-contact .wpcf7-form input[type=submit],
.kb-contact .wpcf7-form button[type=submit] { align-self: center; margin-top: clamp(8px, 2vh, 16px); }
.kb-contact-form button[type=submit],
.kb-contact .wpcf7-form input[type=submit],
.kb-contact .wpcf7-form button[type=submit] {
	font-family: 'Shippori Mincho', serif;
	font-size: 15px; letter-spacing: 0.2em;
	color: #f4f1ea; background: var(--accent, #9c6b3f);
	border: none; border-radius: 1px;
	padding: 18px 72px; cursor: pointer;
	transition: opacity 0.2s; width: auto;
}
.kb-contact-form button[type=submit]:hover,
.kb-contact .wpcf7-form input[type=submit]:hover { opacity: 0.9; }

/* =========================================================
   個別・一覧（お知らせ／施工事例）
   ========================================================= */
.kb-single { padding: clamp(56px, 9vh, 100px) clamp(20px, 5vw, 80px); background: #f4f1ea; }
.kb-single-inner { max-width: 820px; margin: 0 auto; }
.kb-single-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.kb-single-title { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: 0.06em; line-height: 1.6; margin: 0 0 28px; color: #232019; }
.kb-single-thumb { margin: 0 0 28px; }
.kb-single-thumb img { width: 100%; display: block; }
.kb-single-body { font-size: 15.5px; line-height: 2.2; letter-spacing: 0.03em; color: #3a352c; }
.kb-single-body p { margin: 0 0 1.4em; }
.kb-single-body h2 { font-family: 'Shippori Mincho', serif; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.08em; color: #232019; margin: 2.2em 0 0.9em; padding-bottom: 10px; border-bottom: 1px solid rgba(35,32,25,0.14); }
.kb-single-body h3 { font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.06em; color: #232019; margin: 1.8em 0 0.7em; }
.kb-single-body ul { margin: 0 0 1.4em; padding-left: 1.4em; }
.kb-single-body li { margin-bottom: 0.4em; }
.kb-single-body img { height: auto; }
.kb-single-back { margin-top: 48px; text-align: center; }
.kb-work-gallery { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; }
.kb-work-gallery-label { font-size: 11px; letter-spacing: 0.16em; font-weight: 600; color: #9c6b3f; margin-bottom: 12px; }
.kb-work-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.kb-work-gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.kb-archive { padding: clamp(56px, 9vh, 100px) clamp(20px, 5vw, 80px); background: #f4f1ea; }
.kb-archive-inner { max-width: 880px; margin: 0 auto; }
.kb-works-archive { background: #f4f1ea; }
.kb-pagination { margin-top: 48px; text-align: center; }
.kb-pagination a, .kb-pagination .current { display: inline-block; padding: 8px 14px; margin: 0 3px; border: 1px solid rgba(35,32,25,0.2); color: #3a352c; }
.kb-pagination .current { background: var(--accent, #9c6b3f); color: #f4f1ea; border-color: var(--accent, #9c6b3f); }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 820px) {
	.kb-nav-toggle { display: flex; }
	.kb-nav {
		position: fixed;
		top: 78px; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: rgba(244,241,234,0.98);
		backdrop-filter: blur(14px);
		border-bottom: 1px solid rgba(35,32,25,0.1);
		padding: 8px 0;
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s, transform 0.25s;
	}
	.kb-nav-open .kb-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
	.kb-nav > a { padding: 16px clamp(18px, 4vw, 56px); text-align: center; }
	.kb-nav-cta { margin: 8px clamp(18px, 4vw, 56px); text-align: center; }
	.kb-nav-open .kb-nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
	.kb-nav-open .kb-nav-toggle span:nth-child(2) { opacity: 0; }
	.kb-nav-open .kb-nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (max-width: 640px) {
	.kb-works-grid { grid-template-columns: 1fr; row-gap: 44px; }
	.kb-reason-grid { grid-template-columns: 1fr; }
	.kb-partner-card { justify-content: center; text-align: center; }
	.kb-partner-logo { margin: 0 auto; }
	.kb-cta-title { font-size: 1.35rem; letter-spacing: 0.04em; }
	.kb-sp-br { display: inline; }
	.kb-pc-br { display: none; }
	.kb-product-catch { text-align: left; }
	/* 下層ページタイトル（プライバシーポリシー等の長いタイトルが1行に収まるように） */
	.kb-page-hero-title { font-size: 1.5rem; letter-spacing: 0.14em; }
	.kb-product-data-note { text-align: left; }
	/* 経営理念：見出しを横書き・中央寄せにして縦書き本文の上に積む */
	.kb-philosophy-inner { flex-direction: column; align-items: center; gap: 28px; }
	.kb-philosophy-head { padding-top: 0; text-align: center; }
	.kb-philosophy-label { writing-mode: horizontal-tb; height: auto; letter-spacing: 0.3em; }
	.kb-philosophy-body { line-height: 2.3; }
	/* CTAボタンをスマホでは縦積み・同じ幅に揃える */
	.kb-cta-btns { flex-direction: column; align-items: stretch; }
	.kb-cta-btns .kb-btn-primary,
	.kb-cta-btns .kb-btn-outline { width: 100%; text-align: center; }
	/* 代表挨拶：スマホでは代表者写真を本文（代表者名）の下に */
	/* 注力商材：スマホでは1カラムに */
	.kb-product-merits { grid-template-columns: 1fr; }
	.kb-product-data-grid { grid-template-columns: 1fr; }
	.kb-product-cta-btns { flex-direction: column; }
	.kb-product-cta-btns .kb-btn-primary { width: 100%; }
	.kb-footer-inner { flex-direction: column; gap: 28px; }
	.kb-hero-copy { right: clamp(18px, 5vw, 26px); }
}
