/* ==========================================================
   Breathe Pipe — main.css
   ========================================================== */
:root {
	--green: #2f5e34;
	--green-dark: #234827;
	--green-light: #eef3ea;
	--brown: #9c6a32;
	--brown-light: #b98a4f;
	--blue: #2b5c9c;
	--orange: #d77f22;
	--text: #2b2b2b;
	--muted: #666;
	--line: #e3ddd2;
	--bg: #fff;
	--bg-soft: #faf8f3;
	--serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--container: 1180px;
	--radius: 6px;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: .03em;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { opacity: .85; }
h1, h2, h3, h4 { line-height: 1.5; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 32px, 920px); }
.section { padding: 56px 0; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px);
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 16px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .9em;
	padding: .8em 1.6em; border-radius: 4px;
	color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em;
	text-decoration: none; line-height: 1.4; white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0,0,0,.12);
	transition: transform .2s, filter .2s;
}
.btn:hover { opacity: 1; filter: brightness(1.08); transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--green { background: var(--green); }
.btn--brown { background: var(--brown); }
.btn--blue { background: var(--blue); }
.btn--orange { background: var(--orange); }
.btn--lg { padding: 1em 2em; font-size: 16px; width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.97);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	width: min(100% - 32px, 1360px); margin-inline: auto; min-height: var(--header-h);
}
.site-logo img { display: block; width: 200px; height: auto; }
.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.global-nav__list a {
	position: relative; display: block; padding: 24px 12px;
	color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.global-nav__list a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 14px; height: 2px;
	background: var(--green); transform: scaleX(0); transition: transform .25s;
}
.global-nav__list a:hover::after,
.global-nav__list .current-menu-item > a::after,
.global-nav__list .current_page_item > a::after { transform: scaleX(1); }
.global-nav__list .current-menu-item > a,
.global-nav__list .current_page_item > a { color: var(--green); }
.global-nav__cta { display: flex; gap: 8px; }
.global-nav__cta .btn { padding: .7em 1.2em; }

.nav-toggle { display: none; }

@media (max-width: 1100px) {
	.global-nav__list a { padding-inline: 8px; font-size: 13px; }
	.global-nav { gap: 12px; }
}
@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.site-logo img { width: 160px; }
	.nav-toggle {
		display: grid; place-items: center; width: 44px; height: 44px;
		border: 0; background: var(--green); border-radius: 4px; cursor: pointer;
	}
	.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
		display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: .25s;
	}
	.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bar::before { top: -6px; }
	.nav-toggle__bar::after { top: 6px; }
	.is-nav-open .nav-toggle__bar { background: transparent; }
	.is-nav-open .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
	.is-nav-open .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

	.global-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px 16px 24px; background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: 0 10px 20px rgba(0,0,0,.08);
		transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
	}
	.is-nav-open .global-nav { transform: none; visibility: visible; }
	.global-nav__list { flex-direction: column; }
	.global-nav__list a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
	.global-nav__list a::after { display: none; }
}

/* ---------- Hero（左：コピー／右：製品写真） ---------- */
.hero {
	position: relative; overflow: hidden;
	background: radial-gradient(ellipse at 75% 45%, #eef3e6 0%, #f6f3ec 55%, #f4f1ea 100%);
}
/* z-index を付けると製品写真の mix-blend-mode が背景と合成されなくなるので付けない */
.hero__inner {
	display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px;
	width: min(100% - 32px, var(--container)); margin-inline: auto;
	padding: 56px 0 48px;
}
.hero__title {
	margin: 0; font-family: var(--serif); font-weight: 600;
	font-size: clamp(32px, 5vw, 54px); line-height: 1.4; letter-spacing: .1em; color: var(--green-dark);
}
.hero__brand {
	display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px;
	margin: 12px 0 24px; font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: .12em;
}
.hero__brand sup { font-size: .5em; }
.hero__patent {
	font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .04em;
	border: 1px solid #555; padding: 2px 10px; background: rgba(255,255,255,.7);
}
.hero__lead { margin: 0 0 32px; font-size: 16px; font-weight: 500; }
.hero__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; }
.hero__buttons .btn { justify-content: space-between; }

@media (max-width: 760px) {
	.hero__lead br { display: none; }
	.hero__buttons { grid-template-columns: 1fr 1fr; }
	.hero__buttons .btn { padding-inline: 1em; font-size: 13px; }
}

.hero__visual { position: relative; min-height: 460px; }
/* PCでは白い丸・写真・ロゴをまとめて、ブレスパイプ®とミニの丸の中心どうしの真ん中に置く */
.hero__product { position: relative; left: 25px; top: -13px; margin: 0; padding-right: 140px; text-align: center; }
.hero__product::before {
	content: ""; position: absolute; left: calc(50% - 120px); top: 48%; z-index: 0; width: 420px; height: 420px; max-width: 90%; aspect-ratio: 1;
	transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.75);
}
.hero__product > img {
	/* 後ろの白い丸の中心に写真がくるよう、PCでは左に50px・上に5px寄せる */
	position: relative; left: -50px; top: -5px; z-index: 1; width: auto; height: 440px; max-width: 100%; object-fit: contain;
	mix-blend-mode: multiply; transform: rotate(-6deg);
}
/* PCではロゴを写真の上に乗せ、上下左右とも写真・白い丸の中心（left calc(50% - 120px) / top 48%）にそろえる */
.hero__product figcaption { position: absolute; left: calc(50% - 120px); top: 48%; transform: translate(-50%, -50%); line-height: 0; z-index: 2; margin: 0; }
.hero__product figcaption img { width: 240px; height: auto; filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px #fff); }
.hero__scene {
	/* ロゴを画像の上に置いた分（ロゴ約31px＋余白12px）下げ、バンブーとの位置関係を保つ */
	position: absolute; right: -24px; bottom: -43px; z-index: 2; margin: 0; width: 260px; text-align: center;
}
.hero__scene img {
	display: block; width: 260px; height: 260px; object-fit: cover; object-position: 50% 90%; border-radius: 50%;
	border: 6px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
/* ラベルは丸の中に重ねる（商品は下、設置の様子はパイプを隠さないよう上） */
.hero__scene figcaption,
.hero__circle figcaption {
	position: absolute; left: 50%; transform: translateX(-50%); margin: 0; padding: .35em .9em; border-radius: 999px;
	background: rgba(35,72,39,.85); color: #fff; font-weight: 700; line-height: 1.35; white-space: nowrap;
}
.hero__scene figcaption { top: 22px; border-radius: 0; font-size: 12px; }
.hero__circle figcaption { bottom: 14px; padding: 0; border-radius: 0; background: none; color: #5f4b42; font-size: 13px; text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; }
.hero__circle { position: absolute; z-index: 2; margin: 0; width: 150px; text-align: center; }
.hero__circle img {
	display: block; width: 150px; height: 150px; object-fit: cover; border-radius: 50%; background: #fff;
	border: 5px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.hero__circle sup { font-size: .6em; }
.hero__scene sup { font-size: .6em; }
.hero__circle--mini { top: 4px; right: 100px; width: 175px; }
.hero__circle--mini img { width: 175px; height: 175px; }
.hero__circle--mini figcaption { bottom: 19px; }
.hero__circle--plastic { left: -78px; bottom: 72px; }
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-top: 36px; }
	.hero__visual { min-height: 0; order: -1; padding-bottom: 90px; }
	.hero__product { left: 0; top: 0; padding-right: 0; }
	.hero__product::before { left: 50%; }
	.hero__product > img { left: 0; top: 0; height: 260px; }
	.hero__product::before { width: 280px; height: 280px; }
	.hero__product figcaption img { width: 160px; }
	.hero__scene { width: 160px; bottom: 30px; right: -6px; }
	.hero__scene img { width: 160px; height: 160px; border-width: 4px; }
	/* 丸と文字を画面幅に比例させ、どの幅でも文字が丸からはみ出さないようにする（375pxで丸100px・118px） */
	.hero__circle { width: min(26.7vw, 128px); }
	.hero__circle img { width: 100%; height: auto; aspect-ratio: 1; border-width: 3px; }
	.hero__circle figcaption { bottom: 17%; font-size: min(2.3vw, 11px); letter-spacing: 0; }
	.hero__scene figcaption { top: 14px; padding: .25em .7em; font-size: 10px; }
	.hero__circle--mini { top: -22px; right: -6px; width: min(31.5vw, 150px); }
	.hero__circle--mini img { width: 100%; height: auto; }
	.hero__circle--mini figcaption { bottom: 17%; }
	.hero__circle--plastic { left: -12px; top: 167px; bottom: auto; }
	.hero__scene { bottom: 20px; }
	.hero__product figcaption { left: 50%; }
}

/* ---------- Section title ---------- */
.section-title {
	margin: 0 0 28px; text-align: center;
	font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 28px); letter-spacing: .1em;
}
.section-title .num { font-size: 1.3em; color: var(--green); margin: 0 .05em; }

/* ---------- Features ---------- */
.features { padding-top: 40px; }
.features__list {
	display: grid; grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.feature { display: flex; gap: 20px; padding: 28px 24px; }
.feature + .feature { border-left: 1px dashed var(--line); }
.feature__icon {
	flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: #fff;
}
.feature__icon svg { width: 52px; height: 52px; }
.feature--green .feature__icon { background: var(--green); }
.feature--brown .feature__icon { background: var(--brown); }
.feature--blue .feature__icon { background: var(--blue); }
.feature__title { margin: 4px 0 8px; font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .08em; }
.feature--green .feature__title { color: var(--green); }
.feature--brown .feature__title { color: var(--brown); }
.feature--blue .feature__title { color: var(--blue); }
.feature p { margin: 0; font-size: 13.5px; line-height: 1.85; }

@media (max-width: 1100px) and (min-width: 901px) {
	.feature { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 900px) {
	.features__list { grid-template-columns: 1fr; }
	.feature + .feature { border-left: 0; border-top: 1px dashed var(--line); }
}

/* ---------- Effect ---------- */
.effect { padding-top: 24px; }
.effect__grid { display: grid; grid-template-columns: 1fr 1.25fr .8fr; gap: 32px; align-items: start; }
.effect__title {
	margin: 0 0 20px; font-family: var(--serif); font-weight: 600; color: var(--green-dark);
	font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .1em;
}
.effect__text p { margin: 0 0 1em; font-size: 14px; }
.effect__text .note { margin-top: 2em; font-size: 12px; color: var(--muted); line-height: 1.7; }
.effect__figure { margin: 0; }
.effect__figure figcaption { margin-bottom: 8px; font-weight: 700; color: var(--green); font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.effect__figure figcaption small { font-weight: 400; color: var(--text); margin-left: .4em; }
.effect__figure img { display: block; width: 100%; border-radius: 4px; }

.stat {
	text-align: center; padding: 20px 16px; margin-bottom: 20px;
	border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft);
	box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.stat__value { margin: 0; font-family: var(--serif); font-size: 26px; color: var(--green-dark); line-height: 1.2; }
.stat__value span { font-size: 64px; color: var(--green); margin: 0 .1em; }
.stat__label { margin: 4px 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--green-dark); letter-spacing: .1em; }
.stat__note { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.7; }

.flow {
	list-style: none; margin: 0; padding: 18px; border-radius: 6px;
	background: linear-gradient(180deg, #b48a57, #8d6436); color: #3a2a17;
	display: grid; gap: 22px; counter-reset: none;
}
.flow li {
	position: relative; background: #f4ecdc; border-radius: 4px; text-align: center;
	padding: 8px; font-size: 13.5px; font-weight: 700; line-height: 1.5;
}
.flow li + li::before {
	content: ""; position: absolute; left: 50%; top: -19px; transform: translateX(-50%);
	border: 8px solid transparent; border-top: 10px solid var(--green-dark); border-bottom: 0;
}

@media (max-width: 1000px) {
	.effect__grid { grid-template-columns: 1fr 1fr; }
	.effect__text { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.effect__grid { grid-template-columns: 1fr; }
}

/* ---------- Nav cards ---------- */
.nav-cards { padding-top: 24px; }
.nav-cards__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.nav-card {
	display: flex; flex-direction: column;
	padding: 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
	color: var(--text); text-decoration: none; transition: box-shadow .25s, transform .25s;
}
.nav-card:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.nav-card__title {
	margin: 0 0 12px; text-align: center; font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--green-dark); letter-spacing: .06em;
}
.nav-card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--bg-soft); }
.nav-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nav-card:hover .nav-card__img img { transform: scale(1.05); }
.nav-card__text { flex: 1; margin: 14px 0 10px; font-size: 13px; line-height: 1.8; }
.nav-card__more { display: inline-flex; align-items: center; justify-content: center; gap: .6em; color: var(--green); font-weight: 700; font-size: 13px; }
.nav-card__more svg { width: 1.1em; height: 1.1em; }

@media (max-width: 1000px) { .nav-cards__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .nav-cards__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .nav-cards__list { grid-template-columns: 1fr; } }

/* ---------- Top: 3 steps ---------- */
.steps { background: var(--bg-soft); border-block: 1px solid var(--line); margin-top: 24px; }
.section-lead { margin: -12px 0 28px; text-align: center; font-size: 14px; color: var(--muted); }
.section-more { margin: 28px 0 0; text-align: center; }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: visible; padding-bottom: 14px; }
.step + .step::before {
	content: ""; position: absolute; left: -29px; top: 28%;
	border: 10px solid transparent; border-left: 13px solid var(--brown);
}
.step__img { position: relative; }
.step__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px 8px 0 0; }
.step__num {
	position: absolute; top: 12px; left: 0; padding: 4px 14px;
	background: var(--green); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .1em; border-radius: 0 4px 4px 0;
}
.step__title { margin: 14px 18px 0; text-align: center; font-size: 18px; color: var(--green-dark); }

/* ---------- Top: cases ---------- */
.top-cases__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.case-card {
	display: block; padding: 12px 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
	color: var(--text); text-decoration: none; transition: box-shadow .25s, transform .25s;
}
.case-card:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.case-card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; }
.case-card__meta { margin: 12px 0 2px; color: var(--brown); font-size: 13px; font-weight: 700; }
.case-card__title { margin: 0; font-size: 17px; color: var(--green-dark); }
.case-list { display: flex; flex-direction: column; padding: 20px 22px; background: var(--green-light); border-radius: 8px; }
.case-list__title { margin: 0 0 10px; font-size: 16px; color: var(--green-dark); }
.case-list ul { list-style: none; margin: 0 0 14px; padding: 0; font-size: 13.5px; }
.case-list li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #c9d6c3; }
.case-list li span { flex: none; font-weight: 700; color: var(--green); }
.case-list__more { display: inline-flex; align-items: center; gap: .5em; margin-top: auto; font-weight: 700; font-size: 14px; text-decoration: none; }
.case-list__more svg { width: 1.1em; height: 1.1em; }

@media (max-width: 900px) {
	.steps__list { grid-template-columns: 1fr; gap: 32px; }
	.step + .step::before { left: 50%; top: -27px; transform: translateX(-50%); border: 10px solid transparent; border-top: 13px solid var(--brown); }
	.top-cases__grid { grid-template-columns: 1fr 1fr; }
	.case-list { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.top-cases__grid { grid-template-columns: 1fr; }
	.section-lead br { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; border-top: 1px solid var(--line); background: var(--bg-soft); }
.site-footer__inner {
	display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; align-items: start;
	width: min(100% - 32px, var(--container)); margin-inline: auto; padding: 36px 0;
}
.site-footer__company { display: flex; align-items: flex-start; gap: 18px; }
.site-footer__logo { flex: none; width: 58px; height: auto; }
.site-footer__name { margin: 0 0 6px; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.site-footer__address { margin: 0; font-size: 13px; line-height: 1.8; }
.site-footer__address .sep { display: inline-block; width: 1.5em; }
.site-footer__address .nowrap { white-space: nowrap; }
@media (max-width: 560px) {
	.site-footer__company { flex-direction: column; align-items: center; gap: 10px; text-align: center !important; }
	.site-footer__logo { width: 64px; }
}
.site-footer__lead { border-left: 1px solid var(--line); padding-left: 32px; }
.site-footer__lead h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .08em; }
.site-footer__lead p { margin: 0; font-size: 13px; }
.agency-banner { display: block; border-radius: 6px; overflow: hidden; transition: opacity .2s; }
.agency-banner:hover { opacity: .85; }
.agency-banner img { display: block; width: 100%; height: auto; }
.site-footer__tel { margin: 12px 0 0; text-align: center; }
.site-footer__tel a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.site-footer__tel svg { width: 22px; height: 22px; color: var(--green); }
.site-footer__tel small { display: block; font-size: 12px; color: var(--muted); }
.site-footer__bottom { background: var(--green); color: #fff; font-size: 12px; }
.site-footer__bottom-inner {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	width: min(100% - 32px, var(--container)); margin-inline: auto; padding: 10px 0;
}
.copyright { margin: 0; }
.footer-nav { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.footer-nav li + li::before { content: "|"; margin: 0 1.2em; opacity: .6; }
.footer-nav a { color: #fff; text-decoration: none; }

@media (max-width: 900px) {
	.site-footer__inner { grid-template-columns: 1fr; text-align: center; }
	.site-footer__company { justify-content: center; text-align: left; }
	.site-footer__lead { border-left: 0; padding-left: 0; }
	.site-footer__bottom-inner { justify-content: center; }
}

/* ---------- Sub pages ---------- */
.page-header {
	padding: 44px 0 36px; text-align: center;
	background: linear-gradient(135deg, var(--green-light), var(--bg-soft));
	border-bottom: 1px solid var(--line);
}
.page-header__title { margin: 0; font-weight: 700; font-size: clamp(24px, 3.4vw, 32px); letter-spacing: .1em; color: var(--green-dark); }
.page-header__lead { max-width: 720px; margin: 8px auto 0; color: var(--muted); font-size: 14px; }
.breadcrumb { display: flex; gap: .6em; padding: 12px 0; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

.entry { padding: 24px 0 48px; }
.entry-header time { color: var(--muted); font-size: 13px; }
.entry-title { margin: 4px 0 24px; font-size: 24px; }

/* ブロックエディタのコンテンツ（読みやすさ優先でゴシック体） */
.entry-content { font-size: 15.5px; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > * { margin-block: 0 1.4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content strong { color: var(--green-dark); }
.entry-content h1, .entry-content h2 {
	clear: both; margin: 2.6em 0 1em; padding: 0 0 .5em;
	font-weight: 700; font-size: 23px; letter-spacing: .06em; color: var(--green-dark);
	border-bottom: 2px solid var(--line); position: relative;
}
.entry-content h1::after, .entry-content h2::after {
	content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--green);
}
.entry-content h3 {
	clear: both; margin: 2em 0 .9em; padding: .1em 0 .1em .8em;
	font-weight: 700; font-size: 19px; letter-spacing: .04em;
	border-left: 5px solid var(--green);
}
.entry-content h4 { margin: 1.6em 0 .6em; font-size: 16px; color: var(--brown); }
.entry-content figure { margin-inline: 0; }
.entry-content img { border-radius: 4px; }
.entry-content figcaption { margin-top: .5em; font-size: 12.5px; color: var(--muted); text-align: center; }
.entry-content .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; text-align: center; }
.entry-content .aligncenter img { margin-inline: auto; max-width: min(100%, 760px); }
.entry-content .wp-block-columns { gap: 28px; margin-bottom: 1.8em; }
.entry-content .wp-block-column > :last-child { margin-bottom: 0; }
.entry-content iframe { max-width: 100%; }
.entry-content .has-red-color { color: #b3261e; }

/* 表 */
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.entry-content th, .entry-content td { padding: .75em 1em; border: 1px solid var(--line); text-align: left; }
.entry-content thead th { background: var(--green); color: #fff; border-color: var(--green); }
.entry-content thead { border-bottom: 0; }
.entry-content .is-style-stripes { border-bottom: 0; }
.entry-content .is-style-stripes tbody tr:nth-child(odd) { background: var(--bg-soft); }
.bp-table-cards td:first-child { width: 6em; text-align: center; font-weight: 700; color: var(--green); }
.bp-table-cards td:last-child { width: 11em; }

/* リード文 */
.bp-lead {
	padding: 20px 24px; border-radius: var(--radius);
	background: var(--green-light); font-size: 16px; font-weight: 700; line-height: 1.9; color: var(--green-dark);
}

/* 従来法との比較 */
.bp-compare { align-items: stretch !important; }
.bp-compare .wp-block-column { padding: 20px 22px 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.bp-compare__after { border-color: var(--green) !important; box-shadow: 0 0 0 1px var(--green) inset; background: #fbfdf9 !important; }
.bp-compare__label {
	display: inline-block; margin: 0 0 12px !important; padding: 2px 14px; border-radius: 99px;
	background: var(--muted); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.bp-compare__after .bp-compare__label { background: var(--green); }
.bp-compare img { width: 100%; max-height: 300px; object-fit: contain; }
@media (min-width: 782px) {
	.bp-compare { position: relative; }
	.bp-compare::before {
		content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
		border: 12px solid transparent; border-left: 14px solid var(--green); margin-left: 7px;
	}
}

/* 約5倍 */
.bp-stat-box { padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.bp-stat-box__num { margin: 0 !important; text-align: center; font-size: 26px; font-weight: 700; color: var(--green-dark); line-height: 1.1; }
.bp-stat-box__num strong { font-size: 72px; color: var(--green); margin: 0 .05em; }
.bp-stat-box__label { margin: 4px 0 0 !important; text-align: center; font-size: 18px; font-weight: 700; color: var(--green-dark); letter-spacing: .1em; }

/* カード（製品・事例・資料など） */
.bp-cards { gap: 20px !important; }
.bp-cards > .wp-block-column {
	display: flex; flex-direction: column;
	padding: 14px 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.bp-cards > .wp-block-column > * { margin-bottom: .6em; }
.bp-cards .wp-block-image { margin-bottom: 12px; }
.bp-cards .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bp-cards .bp-poster img, .bp-cards.bp-downloads .wp-block-image img { object-fit: contain; background: var(--bg-soft); }
.bp-cards h3 {
	margin: 0 0 .4em; padding: 0; border: 0;
	font-size: 17px; color: var(--green-dark);
}
.bp-cards h3 a { color: inherit; text-decoration: none; }
.bp-cards h3.bp-product-name { display: flex; align-items: flex-end; line-height: 1; gap: .3em; min-height: 40px; font-size: 20px; letter-spacing: .1em; color: #5f4b42; }
.bp-product-name .bp-product-logo { width: auto; height: 32px; max-width: 100%; object-fit: contain; object-position: left center; border-radius: 0; }
.bp-cards h4 { margin: .2em 0 0; text-align: center; color: var(--green-dark); }
.bp-cards p { font-size: 14px; }
.bp-card__meta { margin: 0 0 .2em !important; color: var(--brown); font-size: 13px !important; font-weight: 700; letter-spacing: .05em; }
.bp-posters .wp-block-image:not(.bp-poster) img { aspect-ratio: auto; }
.bp-downloads .wp-block-buttons { margin-top: auto; }
.bp-downloads .wp-block-button { width: 100%; }
.bp-downloads .wp-block-button__link { width: 100%; }
.bp-downloads .wp-block-image img { aspect-ratio: 3 / 4; }

/* 3ステップ */
.bp-steps { counter-reset: step; gap: 36px !important; }
.bp-steps > .wp-block-column { position: relative; padding: 0 0 18px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); overflow: visible; }
.bp-steps > .wp-block-column > :not(.wp-block-image) { margin-inline: 18px; }
.bp-steps .wp-block-image { margin: 0 0 14px; }
.bp-steps .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px 8px 0 0; }
.bp-steps__num {
	position: absolute; top: 12px; left: 0 !important; z-index: 1; margin: 0 !important;
	padding: 4px 14px; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .1em;
	border-radius: 0 4px 4px 0;
}
.bp-steps h3 { margin: 0 0 .4em; padding: 0; border: 0; font-size: 18px; color: var(--green-dark); }
.bp-steps p { font-size: 14px; }
@media (min-width: 782px) {
	.bp-steps > .wp-block-column + .wp-block-column::before {
		content: ""; position: absolute; left: -27px; top: 30%;
		border: 10px solid transparent; border-left: 12px solid var(--brown);
	}
}

/* 動画 */
.bp-video video { width: 100%; max-width: 800px; display: block; margin-inline: auto; border-radius: 8px; background: #000; }

/* 学会発表タイムライン */
.bp-timeline { list-style: none; padding: 0 0 0 24px; border-left: 2px solid var(--line); margin-left: 6px; }
.bp-timeline li { position: relative; padding: 0 0 1.2em 8px; }
.bp-timeline li::before {
	content: ""; position: absolute; left: -32px; top: .55em; width: 12px; height: 12px; border-radius: 50%;
	background: #fff; border: 3px solid var(--green);
}
.bp-timeline strong { color: var(--green-dark); }
.bp-note { font-size: 12.5px; color: var(--muted); text-align: right; }

/* Q&A */
.bp-faq-nav { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.bp-faq-nav a {
	display: block; padding: .5em 1.2em; border: 1px solid var(--green); border-radius: 99px;
	color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none;
}
.bp-faq-nav a:hover { background: var(--green); color: #fff; opacity: 1; }
.bp-faq { margin-bottom: 12px !important; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.bp-faq summary {
	position: relative; list-style: none; cursor: pointer;
	padding: 16px 52px 16px 60px; font-weight: 700; line-height: 1.7; color: var(--green-dark);
}
.bp-faq summary::-webkit-details-marker { display: none; }
.bp-faq summary::before, .bp-faq > p::before {
	position: absolute; left: 16px; top: 14px; display: grid; place-items: center;
	width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 15px; font-family: var(--sans);
}
.bp-faq summary::before { content: "Q"; background: var(--green); }
.bp-faq summary::after {
	content: ""; position: absolute; right: 22px; top: 24px; width: 10px; height: 10px;
	border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform .2s;
}
.bp-faq[open] summary::after { transform: rotate(-135deg); top: 28px; }
.bp-faq > p { position: relative; margin: 0 !important; padding: 16px 20px 18px 60px; border-top: 1px dashed var(--line); background: var(--bg-soft); }
.bp-faq > p::before { content: "A"; background: var(--brown); top: 14px; }
.bp-faq > p + p { border-top: 0; padding-top: 0; }
.bp-faq > p + p::before { content: none; }
.bp-faq > p:has(+ p) { padding-bottom: .9em; }

/* ボタン（ブロック） */
.entry-content .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .85em 1.8em; border-radius: 4px; background: var(--green); color: #fff;
	font-size: 14px; font-weight: 700; letter-spacing: .06em; text-decoration: none;
}
.entry-content .wp-block-button__link::after { content: "→"; }
.entry-content .is-style-outline .wp-block-button__link { background: #fff; color: var(--green); border: 2px solid var(--green); }
.entry-content .is-style-shop .wp-block-button__link { background: var(--brown); }
.bp-next { justify-content: center; margin-top: 2.4em !important; }

.post-list { list-style: none; padding: 0; margin: 24px 0; }
.post-list a { display: flex; gap: 24px; padding: 18px 8px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.post-list time { flex: none; color: var(--muted); font-size: 13px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; }

.related { background: var(--bg-soft); }
.related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.related__list a {
	display: flex; justify-content: space-between; align-items: center; gap: 8px;
	padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 4px;
	color: var(--green-dark); text-decoration: none; font-weight: 700; font-size: 14px;
}
.related__list svg { width: 1.1em; height: 1.1em; }

/* ---------- SP 下部固定メニュー ---------- */
.sp-bar { display: none; }
@media (max-width: 782px) {
	/* 固定メニューの裏までフッター下部の緑を伸ばし、白い隙間を出さない */
	.site-footer__bottom { padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
	.sp-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
		display: grid; grid-template-columns: 1fr 1fr 1fr;
		padding-bottom: env(safe-area-inset-bottom);
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(0,0,0,.06);
	}
	.sp-bar a, .sp-bar button {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		height: 60px; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 700;
		color: var(--text); text-decoration: none; cursor: pointer;
	}
	.sp-bar svg { width: 22px; height: 22px; }
	.sp-bar__shop { background: var(--brown) !important; color: #fff !important; }
	.sp-bar__contact { background: var(--green) !important; color: #fff !important; }
	.sp-bar__menu { color: var(--green-dark) !important; }
	.global-nav__cta { display: none; }
}

@media (max-width: 781px) {
	.entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 0 0 1em; }
	.bp-lead { font-size: 15px; padding: 16px 18px; }
	/* 施工実績の表 → 1件ずつのカード */
	.bp-table-cards table, .bp-table-cards tbody, .bp-table-cards tr, .bp-table-cards td { display: block; width: auto !important; }
	.bp-table-cards thead { display: none; }
	.bp-table-cards tr { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff !important; overflow: hidden; }
	.bp-table-cards td { border: 0; padding: .35em 1em; text-align: left !important; }
	.bp-table-cards td:first-child { padding-top: .7em; color: var(--brown); font-size: 13px; }
	.bp-table-cards td:nth-child(2) { font-weight: 700; color: var(--green-dark); }
	.bp-table-cards td:last-child { padding-bottom: .8em; color: var(--muted); font-size: 13px; }
	.bp-table-cards td:last-child::before { content: "場所："; }
	.bp-faq summary { padding-left: 54px; }
	.bp-faq > p { padding-left: 54px; }
}
