/* ==========================================================================
   Kajiura Kogyo — main.css
   Desktop値は export-top.dc.html / export-sub.dc.html の数値そのまま。
   Breakpoints: 1040px（ナビ切替） / 900px（タブレット） / 600px（モバイル）
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--c-green: #2f5a3c;
	--c-green-dark: #26372b;
	--c-green-deep: #3b6b47;
	--c-green-mid: #4a7a57;
	--c-green-accent: #7fb08a;
	--c-green-line: #8fb998;
	--c-green-soft: #a9cdaa;
	--c-green-pale: #c9e0c2;
	--c-green-mist: #dfecd6;

	--c-bg: #eaf2e4;
	--c-bg-light: #f1f8ec;
	--c-bg-tint: #eaf4e3;
	--c-white: #ffffff;

	--c-text: #26302a;
	--c-text-nav: #33423a;
	--c-text-body: #45534a;
	--c-text-muted: #5f6f64;
	--c-text-sub: #56665b;
	--c-text-note: #63756a;
	--c-text-faint: #7a8d7d;
	--c-en: #7f9d86;

	--f-maru: 'Zen Maru Gothic', sans-serif;
	--f-kaku: 'Zen Kaku Gothic New', sans-serif;
	--f-kiwi: 'Kiwi Maru', serif;
	--f-mono: 'Roboto Mono', monospace;

	--container: 1040px; /* 下層ページの内容幅 */
	--gutter: 40px;
	--radius-pill: 999px;
	--shadow-card: 0 16px 36px rgba(38, 48, 42, .10);
}

body.home { --container: 960px; } /* トップページの内容幅 */

/* デザインのフレーム端（=コンテナ外枠）の位置。装飾をフレーム基準で置くときに使う */
body { --fx: max(0px, calc((100% - var(--container) - 2 * var(--gutter)) / 2)); }

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

html { -webkit-text-size-adjust: 100%; } /* overflow-y は critical.css */

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-maru);
	-webkit-font-smoothing: antialiased;
}

a { color: var(--c-green); text-decoration: none; }

p, h1, h2, h3, div, span, li, dt, dd, figcaption { text-wrap: pretty; line-break: strict; overflow-wrap: anywhere; }

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

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--c-green-accent); outline-offset: 3px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--c-green); color: var(--c-white); padding: 12px 20px; border-radius: var(--radius-pill);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.site { position: relative; } /* overflow は critical.css */

.l-container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* 画像枠：親のサイズいっぱいに cover */
.media { position: relative; overflow: hidden; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ページ上部の装飾（デザインのフレーム左上の blob / 右の円） */
.site-deco { position: absolute; inset: 0 0 auto; height: 0; pointer-events: none; }
.site-deco__blob {
	position: absolute; top: -160px; left: -120px; width: 520px; height: 520px;
	border-radius: 52% 48% 45% 55% / 48% 45% 55% 52%; background: var(--c-green-mist);
}
.site-deco__circle {
	position: absolute; top: 430px; right: -90px; width: 280px; height: 280px;
	border-radius: 50%; background: #e2eeda;
}
.home .site-deco__circle { top: 460px; }

/* ---------- Components ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 19px 34px; border-radius: var(--radius-pill);
	font-family: var(--f-maru); font-size: 17px; font-weight: 700; line-height: 1.55; white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary, .btn--primary:hover { background: var(--c-green); color: var(--c-white); box-shadow: 0 10px 22px rgba(47, 90, 60, .24); }
.btn--white, .btn--white:hover { background: var(--c-white); color: var(--c-green); }
.btn--pale, .btn--pale:hover { background: var(--c-bg); color: var(--c-green); }
.btn--kaku { font-family: var(--f-kaku); }
.btn--tel { padding-inline: 38px; box-shadow: none; }
.btn--tel:hover { box-shadow: none; }

.sec-head { display: flex; flex-direction: column; gap: 14px; }
.sec-head--center { align-items: center; text-align: center; }
.sec-head__row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.sec-head--center .sec-head__row { justify-content: center; }
.sec-title { margin: 0; font-size: 38px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.sec-title--kiwi { font-family: var(--f-kiwi); font-weight: 500; letter-spacing: .1em; color: var(--c-green); }
.sec-en { font-family: var(--f-mono); font-size: 14.5px; letter-spacing: .18em; white-space: nowrap; color: var(--c-en); }
.sec-lead { margin: 0; font-family: var(--f-kaku); font-size: 16.5px; line-height: 1.9; color: var(--c-text-muted); }

.sec-dots { display: flex; align-items: center; gap: 10px; }
.sec-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-green-pale); }
.sec-dots span:nth-child(2) { width: 10px; height: 10px; background: var(--c-green-soft); }

.wave { position: relative; line-height: 0; }
.wave svg { display: block; }

/* ---------- Header ---------- */
.site-header-wrap { position: relative; z-index: 20; padding-top: 22px; }

.site-header {
	position: relative;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 12px 16px 12px 26px;
	background: var(--c-white); border-radius: var(--radius-pill);
	box-shadow: 0 10px 30px rgba(47, 90, 60, .10);
}

.site-brand { display: flex; align-items: center; gap: 14px; color: var(--c-text); min-width: 0; }
.site-brand__logo { width: 54px; height: auto; display: block; flex: none; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.site-brand__name { font-size: 19px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.site-brand__name > span { display: inline-block; }
.site-brand__sub { font-family: var(--f-kaku); font-size: 12.5px; letter-spacing: .08em; color: var(--c-text-faint); }

.site-nav { display: flex; align-items: center; font-family: var(--f-kaku); font-size: 15.5px; white-space: nowrap; }
.site-nav__link {
	padding: 12px 10px; border-radius: var(--radius-pill);
	color: var(--c-text-nav); font-weight: 500; line-height: 1.55;
	transition: background-color .15s ease;
}
.site-nav__link:hover { background: var(--c-bg); }
.site-nav__link[aria-current="page"] { color: var(--c-green); font-weight: 700; }
.site-nav__cta {
	margin-left: 8px; padding: 14px 20px; border-radius: var(--radius-pill);
	background: var(--c-green); color: var(--c-white); font-weight: 700;
}

.site-nav-toggle {
	display: none; position: relative; flex: none;
	width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
	background: var(--c-green); color: var(--c-white); cursor: pointer;
}
.site-nav-toggle__bar,
.site-nav-toggle__bar::before,
.site-nav-toggle__bar::after {
	position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
	border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.site-nav-toggle__bar { top: 50%; margin-top: -1px; }
.site-nav-toggle__bar::before, .site-nav-toggle__bar::after { content: ""; left: 0; margin-left: 0; }
.site-nav-toggle__bar::before { top: -7px; }
.site-nav-toggle__bar::after { top: 7px; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar { background: transparent; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* 下層ページ共通ヘッダーの寸法は assets/css/critical.css（<head> に直接出力）で定義 */

/* ---------- Footer ---------- */
.site-footer { background: var(--c-green-dark); color: #c8d7ca; font-family: var(--f-kaku); font-size: 15.5px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-block: 52px; }
.site-footer__info { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__logo { display: inline-flex; padding: 8px; border-radius: 12px; background: var(--c-white); }
.site-footer__logo img { width: 42px; height: auto; display: block; }
.site-footer__name { font-family: var(--f-maru); font-size: 20px; font-weight: 700; color: var(--c-white); white-space: nowrap; }
.site-footer__address { margin: 0; line-height: 2.0; }
.site-footer__address a { color: #e4efe5; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 26px; max-width: 420px; }
.site-footer__nav a { color: #c8d7ca; white-space: nowrap; }
.site-footer__nav a:hover { color: var(--c-white); }

/* ---------- Generic page (index.php) ---------- */
.page-generic__article { background: var(--c-white); border-radius: 48px; padding: 56px; box-shadow: var(--shadow-card); }
.page-generic__title { margin: 0 0 32px; font-size: 36px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; }
.page-generic__content { font-family: var(--f-kaku); font-size: 16px; line-height: 2.0; color: var(--c-text-body); }

/* ---------- Phone CTA (template-parts/cta-tel.php) ---------- */
.cta-tel { position: relative; overflow: hidden; background: var(--c-bg); padding-block: 80px; }
.cta-tel__deco { position: absolute; border-radius: 50%; background: var(--c-green-mist); }
.cta-tel__deco--1 { left: calc(var(--fx) + 60px); top: -30px; width: 120px; height: 120px; }
.cta-tel__deco--2 { right: calc(var(--fx) + 120px); bottom: -40px; width: 160px; height: 160px; }
.cta-tel__card {
	position: relative;
	display: flex; align-items: center; justify-content: space-between; gap: 40px;
	padding: 52px; background: var(--c-white); border-radius: 48px; box-shadow: var(--shadow-card);
}
.cta-tel__text { display: flex; flex-direction: column; gap: 14px; }
.cta-tel__title { margin: 0; font-size: 31px; font-weight: 700; line-height: 1.5; }
.cta-tel__lead { margin: 0; font-family: var(--f-kaku); font-size: 16px; line-height: 1.95; color: var(--c-text-muted); }
.cta-tel__action { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.cta-tel__number { text-align: right; }
.cta-tel__label { margin: 0 0 4px; font-family: var(--f-kaku); font-size: 14.5px; color: var(--c-text-faint); }
.cta-tel__tel { font-size: 44px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; color: var(--c-green); }

/* ==========================================================================
   Front page
   ========================================================================== */

/* ---------- Hero ---------- */
.top-hero {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); gap: 44px; align-items: center;
	padding-top: 64px; padding-bottom: 88px;
}
.top-hero__text { display: flex; flex-direction: column; gap: 26px; }
.top-hero__badge {
	align-self: flex-start; display: flex; flex-direction: column; gap: 7px;
	margin: 0 0 2px; padding: 2px 0 2px 18px; border-left: 2px solid var(--c-green-line);
}
.top-hero__badge-main { font-size: 20px; font-weight: 700; color: var(--c-green); letter-spacing: .08em; line-height: 1.3; white-space: nowrap; }
.top-hero__badge-sub { font-family: var(--f-kaku); font-size: 14.5px; color: var(--c-text-note); letter-spacing: .06em; line-height: 1.4; white-space: nowrap; }
.top-hero__title { margin: 0; font-size: 44px; line-height: 1.55; font-weight: 700; letter-spacing: .03em; white-space: nowrap; overflow-wrap: normal; }
.top-hero__title span { color: var(--c-green); }
.top-hero__lead { margin: 0; max-width: 25em; font-family: var(--f-kaku); font-size: 17px; line-height: 2.05; color: var(--c-text-body); }
.top-hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.top-hero__visual { position: relative; height: 580px; }
.top-hero__plate { position: absolute; left: 40px; top: 40px; right: -16px; bottom: -16px; border-radius: 48px; background: var(--c-green-pale); }
.top-hero__dash { position: absolute; left: 68px; top: 68px; right: -44px; bottom: -44px; border-radius: 48px; border: 2px dashed var(--c-green-soft); }
.top-hero__photo { position: absolute; inset: 0 24px 24px 0; border-radius: 48px; box-shadow: 0 20px 44px rgba(38, 48, 42, .18); }
.top-hero__dot { position: absolute; border-radius: 50%; }
.top-hero__dot--1 { left: -34px; top: 96px; width: 14px; height: 14px; background: var(--c-green-accent); }
.top-hero__dot--2 { left: -16px; top: 136px; width: 8px; height: 8px; background: var(--c-green-soft); }
.top-hero__dot--3 { left: -40px; top: 176px; width: 6px; height: 6px; background: var(--c-green-pale); }
.top-hero__drop { position: absolute; }
.top-hero__drop--1 { right: -28px; top: -26px; color: var(--c-green-accent); }
.top-hero__drop--2 { right: 34px; top: -40px; color: var(--c-green-pale); }

/* ---------- Service ---------- */
.top-service { position: relative; background: var(--c-white); padding-top: 24px; padding-bottom: 88px; }
.top-service .sec-head { margin-bottom: 48px; }
.top-service__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; gap: 16px; padding: 14px 14px 28px; background: var(--c-bg); border-radius: 30px; }
.service-card__img { height: 160px; border-radius: 22px; }
.service-card__body { display: flex; flex-direction: column; gap: 10px; padding: 0 12px; }
.service-card__title { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.service-card__text { margin: 0; font-family: var(--f-kaku); font-size: 14.5px; line-height: 1.95; color: var(--c-text-muted); }
.top-service__more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Works ---------- */
.top-works { position: relative; background: var(--c-bg); padding-top: 84px; padding-bottom: 88px; }
.top-works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.top-works__head .btn { flex: none; }
.top-works__lead { max-width: 28em; line-height: 1.95; color: var(--c-text-sub); }
.top-works__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 215px; gap: 20px; }
.work-tile { position: relative; margin: 0; overflow: hidden; border-radius: 36px; box-shadow: 0 12px 26px rgba(38, 48, 42, .10); }
.work-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.work-tile__label {
	position: absolute; left: 16px; bottom: 16px; margin-right: 16px;
	padding: 10px 18px; border-radius: var(--radius-pill); background: var(--c-white);
	font-family: var(--f-kaku); font-size: 14px; font-weight: 500;
}
.work-tile--large { grid-row: span 2; }
.work-tile--large .work-tile__label { left: 20px; bottom: 20px; padding: 11px 20px; font-size: 14.5px; }
.work-more {
	display: flex; flex-direction: column; justify-content: center; gap: 12px;
	padding: 30px 22px; border-radius: 36px; background: var(--c-white); font-family: var(--f-kaku);
	transition: transform .15s ease;
}
.work-more:hover { transform: translateY(-2px); }
.work-more__title { font-family: var(--f-maru); font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--c-green); }
.work-more__text { font-size: 14px; line-height: 1.85; color: var(--c-text-muted); }
.work-more__link { font-size: 15.5px; font-weight: 700; color: var(--c-green); white-space: nowrap; }

/* ---------- Recruit banner ---------- */
.top-recruit { position: relative; background: var(--c-white); padding-block: 88px; }
.recruit-banner {
	display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
	overflow: hidden; border-radius: 56px; box-shadow: 0 16px 36px rgba(38, 48, 42, .12);
}
.recruit-banner__body {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; gap: 22px;
	padding: 60px 46px; background: var(--c-green); color: var(--c-white);
}
.recruit-banner__body > * { position: relative; }
.recruit-banner__deco { position: absolute !important; border-radius: 50%; background: var(--c-green-deep); }
.recruit-banner__deco--1 { right: -40px; top: -40px; width: 180px; height: 180px; }
.recruit-banner__deco--2 { right: 60px; bottom: -30px; width: 90px; height: 90px; }
.recruit-banner__title { margin: 0; font-size: 31px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.recruit-banner .sec-en { color: #a8c8ae; }
.recruit-banner__catch { margin: 0; font-size: 29px; font-weight: 700; line-height: 1.55; letter-spacing: .02em; }
.recruit-banner__text { margin: 0; font-family: var(--f-kaku); font-size: 16px; line-height: 2.0; color: #dbe8dc; }
.recruit-banner__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.recruit-banner__tags li { padding: 10px 18px; border: 1px solid #6c9575; border-radius: var(--radius-pill); font-family: var(--f-kaku); font-size: 14.5px; white-space: nowrap; }
.recruit-banner__btn { align-self: flex-start; margin-top: 4px; }
.recruit-banner__photo { min-width: 0; min-height: 520px; }

/* ---------- Philosophy ---------- */
.top-philosophy { position: relative; overflow: hidden; background: var(--c-bg-light); padding-top: 92px; padding-bottom: 100px; }
.top-philosophy__blob { position: absolute; background: #e7f2e0; }
.top-philosophy__blob--1 { left: -70px; top: 40px; width: 190px; height: 190px; border-radius: 58% 42% 47% 53% / 45% 52% 48% 55%; }
.top-philosophy__blob--2 { right: -60px; bottom: 30px; width: 220px; height: 220px; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
.top-philosophy .l-container { position: relative; }
.top-philosophy__head { gap: 16px; margin-bottom: 56px; }
.top-philosophy__sub { margin: 0; font-family: var(--f-kiwi); font-size: 23px; font-weight: 500; letter-spacing: .1em; color: var(--c-green-mid); white-space: nowrap; }
.top-philosophy__lead { max-width: 34em; line-height: 2.0; color: var(--c-text-sub); }

.philosophy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.philosophy-card {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; gap: 16px;
	min-height: 408px; padding: 42px 36px 46px; /* デザインは content-box で 320px + padding */
	background: var(--c-white); border-radius: 56px 40px 56px 40px; box-shadow: 0 12px 30px rgba(38, 48, 42, .07);
}
.philosophy-card:nth-child(even) { border-radius: 40px 56px 40px 56px; }
.philosophy-card > * { position: relative; }
.philosophy-card__kanji {
	position: absolute !important; right: -14px; bottom: -64px;
	font-family: var(--f-kiwi); font-weight: 500; font-size: 216px; line-height: 1; color: var(--c-bg-tint);
	pointer-events: none; user-select: none;
}
.philosophy-card__meta { display: flex; align-items: center; gap: 14px; }
.philosophy-card__icon {
	display: flex; align-items: center; justify-content: center; flex: none;
	width: 52px; height: 52px; background: var(--c-bg-tint);
	border-radius: 52% 48% 45% 55% / 48% 52% 45% 55%;
}
.philosophy-card:nth-child(2) .philosophy-card__icon { border-radius: 48% 52% 55% 45% / 52% 45% 55% 48%; }
.philosophy-card:nth-child(3) .philosophy-card__icon { border-radius: 55% 45% 48% 52% / 45% 55% 48% 52%; }
.philosophy-card__num { font-family: var(--f-mono); font-size: 15px; color: #8fbf99; letter-spacing: .12em; }
.philosophy-card__title { margin: 0; font-family: var(--f-kiwi); font-size: 38px; font-weight: 500; color: var(--c-green); letter-spacing: .12em; line-height: 1.35; }
.philosophy-card__text { margin: 0; font-family: var(--f-kaku); font-size: 16px; line-height: 2.05; color: #4f5f55; }

/* ==========================================================================
   Sub pages（export-sub.dc.html）
   ========================================================================== */

.nw { display: inline-block; } /* 見出しの改行位置を固定するための塊 */
.nw-sp { display: contents; } /* 600px超では箱を作らず、通常の文章と同じ折り返しにする（600px以下は下の media で inline-block） */

.is-sub .sec-title { font-size: 36px; }
.is-sub .cta-tel__title { white-space: nowrap; }
.is-sub .btn--tel { line-height: normal; }

/* ---------- ページ上部の装飾（ページごとに向きが違う） ---------- */
.page-service .site-deco__blob,
.page-recruit .site-deco__blob,
.page-contact .site-deco__blob {
	left: auto; right: -110px; top: -150px; width: 480px; height: 480px;
	border-radius: 58% 42% 47% 53% / 45% 52% 48% 55%;
}
.page-service .site-deco__circle,
.page-recruit .site-deco__circle,
.page-contact .site-deco__circle { right: auto; left: -100px; width: 260px; height: 260px; }
.page-service .site-deco__circle { top: 400px; }
.page-recruit .site-deco__circle { top: 420px; }
.page-contact .site-deco__circle { top: 280px; left: -110px; }
.page-company .site-deco__circle { display: none; }
.page-company main { position: relative; z-index: 1; } /* ヒーローが低いので、左上の blob が会社概要の見出しに重ならないよう本文を上に重ねる */

/* ---------- 共通：パンくず・ページタイトル ---------- */
.breadcrumb { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-kaku); font-size: 14px; color: var(--c-text-note); }
.breadcrumb a { color: var(--c-text-note); }
.breadcrumb a:hover { text-decoration: underline; }
.sub-title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.sub-title__h1 { margin: 0; font-size: 52px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; white-space: nowrap; }
.page-service .sub-title__h1 { font-size: 46px; letter-spacing: .03em; line-height: 1.35; }

/* ---------- 共通：下層ヒーロー ---------- */
.sub-hero {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); gap: 48px; align-items: center;
	padding-top: 56px; padding-bottom: 80px;
}
.sub-hero--recruit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 84px; }
.sub-hero--plain { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 8px; }
.sub-hero__text { display: flex; flex-direction: column; gap: 22px; }
.sub-hero__catch { margin: 0; font-size: 19px; line-height: 1.95; color: var(--c-green); font-weight: 700; letter-spacing: .02em; }
.sub-hero__lead { margin: 0; max-width: 24em; font-family: var(--f-kaku); font-size: 17px; line-height: 2.0; color: var(--c-text-body); }
.sub-hero__lead--wide { max-width: 25em; }
.sub-hero__lead strong { color: var(--c-green); }

.sub-hero__visual { position: relative; height: 360px; }
.sub-hero__visual--service { height: 340px; }
.sub-hero__visual--recruit { height: 400px; }
.sub-hero__plate { position: absolute; left: 40px; top: 34px; right: -16px; bottom: -16px; border-radius: 48px; background: var(--c-green-pale); }
.sub-hero__visual--service .sub-hero__plate { top: 30px; }
.sub-hero__visual--recruit .sub-hero__plate { left: 64px; top: 26px; bottom: -18px; border-radius: 200px 200px 44px 44px; }
.sub-hero__dash { position: absolute; left: 66px; top: 60px; right: -42px; bottom: -42px; border-radius: 48px; border: 2px dashed var(--c-green-soft); }
.sub-hero__photo { position: absolute; inset: 0 24px 24px 0; border-radius: 48px; box-shadow: 0 20px 44px rgba(38, 48, 42, .18); background: var(--c-green-mist); }
.sub-hero__visual--service .sub-hero__photo { inset: 0 30px 24px 0; }
.sub-hero__visual--recruit .sub-hero__photo { inset: 0 30px 26px 40px; border-radius: 200px 200px 44px 44px; }
.sub-hero__dot { position: absolute; border-radius: 50%; }
.sub-hero__dot--1 { left: -30px; top: 82px; width: 14px; height: 14px; background: var(--c-green-accent); }
.sub-hero__dot--2 { left: -12px; top: 122px; width: 8px; height: 8px; background: var(--c-green-soft); }
.sub-hero__visual--service .sub-hero__dot--1 { top: 76px; }
.sub-hero__visual--service .sub-hero__dot--2 { top: 116px; }
.sub-hero__visual--recruit .sub-hero__dot--1 { left: auto; right: 14px; top: -16px; }
.sub-hero__visual--recruit .sub-hero__dot--2 { left: auto; right: -8px; top: 24px; }
.sub-hero__drop { position: absolute; right: -24px; top: -26px; }

/* ---------- 共通：4ステップ（template-parts/steps.php） ---------- */
.steps { position: relative; overflow: hidden; background: var(--c-bg); padding-top: 84px; padding-bottom: 92px; }
.steps__deco { position: absolute; left: calc(var(--fx) + 70px); top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c-green-mist); }
.steps .l-container { position: relative; }
.steps__head { gap: 16px; margin-bottom: 46px; }
.steps--flow .steps__head { gap: 14px; }
.steps__lead { line-height: 2.0; color: var(--c-text-sub); max-width: 36em; }
.steps--flow .steps__lead { max-width: 34em; }
.steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step-card { display: flex; flex-direction: column; gap: 14px; padding: 34px 26px 36px; background: var(--c-white); border-radius: 34px; box-shadow: 0 10px 24px rgba(38, 48, 42, .07); }
.step-card__meta { display: flex; align-items: center; justify-content: space-between; }
.step-card__icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 52% 48% 45% 55% / 48% 52% 45% 55%; background: var(--c-bg-tint); }
.step-card__icon svg { width: 30px; height: 30px; }
.step-card__num { font-family: var(--f-mono); font-size: 16px; color: var(--c-green-soft); letter-spacing: .12em; }
.step-card__title { margin: 0; min-height: 63px; font-size: 21px; font-weight: 700; letter-spacing: .02em; line-height: 1.5; white-space: nowrap; }
.step-card__text { margin: 0; min-height: 93px; font-family: var(--f-kaku); font-size: 15.5px; line-height: 2.0; color: var(--c-text-muted); }
.steps--flow .step-card { gap: 13px; padding: 32px 28px 34px; }
.steps--flow .step-card__icon { width: 56px; height: 56px; }
.steps--flow .step-card__icon svg { width: 28px; height: 28px; }
.steps--flow .step-card__title { min-height: 0; font-size: 20px; }
.steps--flow .step-card__text { min-height: 60px; line-height: 1.95; }

/* ---------- 共通：電話CTA soft（白背景＋淡緑カード） ---------- */
.cta-tel--soft { background: var(--c-white); }
.cta-tel--soft .cta-tel__card { background: var(--c-bg-light); box-shadow: none; }
.cta-tel__lead--narrow { max-width: 26em; }

/* ---------- 共通：タグ（チップ） ---------- */
.chips { display: flex; gap: 9px; flex-wrap: wrap; font-family: var(--f-kaku); }
.chips li { padding: 9px 17px; border-radius: var(--radius-pill); background: var(--c-white); font-size: 14px; color: #4f5f55; }

/* ==========================================================================
   企業理念
   ========================================================================== */
.values { position: relative; overflow: hidden; background: var(--c-bg-light); padding-top: 36px; padding-bottom: 100px; }
.values__blob { position: absolute; background: #e7f2e0; }
.values__blob--1 { left: -70px; top: 120px; width: 190px; height: 190px; border-radius: 58% 42% 47% 53% / 45% 52% 48% 55%; }
.values__blob--2 { right: -60px; bottom: 40px; width: 220px; height: 220px; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
.values .l-container { position: relative; }
.values__head { gap: 16px; margin-bottom: 52px; }
.values__title { margin: 0; font-family: var(--f-kiwi); font-size: 40px; font-weight: 500; letter-spacing: .1em; color: var(--c-green); white-space: nowrap; }
.values__lead { line-height: 2.0; color: var(--c-text-sub); max-width: 34em; }
.philosophy-card--detail { min-height: 0; padding: 44px 30px 48px; }
.philosophy-card--detail .philosophy-card__icon,
.philosophy-card--detail:nth-child(n) .philosophy-card__icon { border-radius: 52% 48% 45% 55% / 48% 52% 45% 55%; }
.philosophy-card--detail .philosophy-card__title { font-size: 40px; }
.philosophy-card__sub { margin: 0; font-size: 17px; font-weight: 700; color: #3d6449; line-height: 1.75; }

/* 代表メッセージ（A案・B案） */
.message { background: var(--c-white); padding-top: 80px; } /* 比較ラベル（旧 A案/B案）があった位置と同じ高さから写真・本文を始める */
.message__inner { position: relative; overflow: hidden; }
.message .message__inner { padding: 40px 0 96px; }
.message__grid { position: relative; display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 56px; align-items: center; }
.message__band { position: absolute; left: 0; top: 106px; width: 64%; height: 540px; border-radius: 0 44px 44px 0; background: var(--c-bg-light); }
.message .message__photo { position: relative; padding: 34px 0 34px 34px; }
.message__bar { position: absolute; left: 0; top: 0; width: 2px; height: 96px; border-radius: 2px; background: var(--c-green-line); }
.message__frame { height: 540px; border-radius: 28px; box-shadow: 0 22px 46px -20px rgba(38, 48, 42, .32); background: var(--c-bg-light); }
.message__frame > img { object-position: 62% 30%; }
.message .message__circle-sm { position: absolute; right: -22px; bottom: 6px; width: 92px; height: 92px; border-radius: 50%; background: #dcebd8; z-index: -1; }
.message .message__drop { position: absolute; left: -4px; bottom: -8px; }
.message__body { display: flex; flex-direction: column; gap: 20px; }
.message__catch { margin: 0; font-size: 23px; line-height: 1.85; font-weight: 700; color: var(--c-green); letter-spacing: .02em; }
.message__text { margin: 0; max-width: 27em; font-family: var(--f-kaku); font-size: 17px; line-height: 2.1; color: var(--c-text-body); }
.message__sign { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid #e4ece0; }
.message__role { font-family: var(--f-kaku); font-size: 15px; color: var(--c-text-faint); }
.message__name { font-size: 26px; font-weight: 700; letter-spacing: .08em; }

/* ==========================================================================
   事業内容・施工実績
   ========================================================================== */
.methods { background: var(--c-white); padding-top: 36px; padding-bottom: 40px; }
.methods__head { margin-bottom: 34px; }
.methods__lead { line-height: 2.0; color: var(--c-text-sub); max-width: 34em; }
.methods__tags { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; margin: 0 0 64px; }
.methods__tags a { display: block; padding: 13px 22px; border-radius: var(--radius-pill); background: var(--c-bg-light); font-family: var(--f-kaku); font-size: 15px; font-weight: 500; color: var(--c-green); transition: background-color .15s ease; }
.methods__tags a:hover { background: var(--c-green-mist); }
.methods__main { display: flex; flex-direction: column; gap: 28px; }
.method-row { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 44px; align-items: center; padding: 44px; background: var(--c-bg-light); border-radius: 48px; scroll-margin-top: 24px; }
.method-row--reverse { grid-template-columns: minmax(0, 1fr) 360px; }
.method-row--reverse .method-row__img { order: 2; border-radius: 40px 40px 0 40px; }
.method-row__img { height: 280px; border-radius: 40px 40px 40px 0; box-shadow: 0 14px 32px rgba(38, 48, 42, .12); background: var(--c-green-mist); }
.method-row__body { display: flex; flex-direction: column; gap: 16px; }
.method-row__head { display: flex; align-items: center; gap: 16px; }
.method-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 60px; height: 60px; border-radius: 52% 48% 45% 55% / 48% 52% 45% 55%; background: var(--c-white); }
.method-icon--sm { width: 44px; height: 44px; }
.method-num { font-family: var(--f-mono); font-size: 14px; letter-spacing: .14em; color: #8fbf99; }
.method-row__title { margin: 3px 0 0; font-size: 27px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.method-row__text { margin: 0; font-family: var(--f-kaku); font-size: 16px; line-height: 2.05; color: #4f5f55; }

.methods-sub { background: var(--c-white); padding-top: 56px; padding-bottom: 24px; }
.methods-sub__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.method-card { display: flex; flex-direction: column; gap: 20px; padding: 16px 16px 34px; background: var(--c-bg-light); border-radius: 40px; scroll-margin-top: 24px; }
.method-card__img { height: 210px; border-radius: 30px; background: var(--c-green-mist); }
.method-card__body { display: flex; flex-direction: column; gap: 13px; padding: 0 18px; }
.method-card__meta { display: flex; align-items: center; gap: 12px; }
.method-card__title { margin: 0; min-height: 63px; font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; white-space: nowrap; }
.method-card__text { margin: 0; min-height: 155px; font-family: var(--f-kaku); font-size: 15.5px; line-height: 2.0; color: var(--c-text-muted); }

.tagline { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 var(--gutter) 74px; text-align: center; background: var(--c-white); }
.tagline__line { width: 1px; height: 56px; background: #cadfc4; }
.tagline__text { margin: 0; font-size: 25px; font-weight: 700; color: var(--c-green); letter-spacing: .06em; line-height: 1.6; }

.movie { position: relative; overflow: hidden; background: var(--c-bg-light); padding-top: 84px; padding-bottom: 96px; }
.movie__blob { position: absolute; background: #e7f2e0; }
.movie__blob--1 { left: -70px; top: 90px; width: 200px; height: 200px; border-radius: 58% 42% 47% 53% / 45% 52% 48% 55%; }
.movie__blob--2 { right: -70px; bottom: 60px; width: 240px; height: 240px; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
.movie .l-container { position: relative; }
.movie__head { margin-bottom: 46px; }
.movie__lead { line-height: 2.0; color: var(--c-text-sub); max-width: 32em; }
.movie__frame { position: relative; max-width: 900px; margin: 0 auto; }
.movie__plate { position: absolute; left: 26px; top: 22px; right: -22px; bottom: -22px; border-radius: 36px; background: #dcebd8; }
.movie__player, .movie__video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 36px; overflow: hidden; }
.movie__player { padding: 0; background: #b7cdb8; cursor: pointer; font: inherit; text-align: left; }
.movie__player[aria-disabled="true"] { cursor: default; }
.movie__video { background: #000; }
.movie__overlay { position: absolute; inset: 0; background: rgba(26, 42, 30, .24); }
.movie__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; border-radius: 50%; background: var(--c-white); transition: transform .15s ease; }
.movie__player:not([aria-disabled="true"]):hover .movie__play { transform: translate(-50%, -50%) scale(1.05); }
.movie__caption { position: absolute; left: 30px; bottom: 26px; display: flex; align-items: center; gap: 12px; }
.movie__label { padding: 10px 20px; border-radius: var(--radius-pill); background: var(--c-white); font-family: var(--f-kaku); font-size: 14.5px; font-weight: 500; color: var(--c-green); }
.movie__duration { font-family: var(--f-mono); font-size: 14px; color: var(--c-white); letter-spacing: .14em; }

.works { background: var(--c-white); padding-top: 88px; padding-bottom: 92px; }
.works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.works__head .sec-head__row { gap: 14px; }
.works__lead { line-height: 2.0; color: var(--c-text-sub); max-width: 30em; }
.works__wide { max-width: calc(1280px + var(--gutter) * 2); } /* 施工実績だけ、見出し・スライド・一覧を通常より広い幅で見せる */

/* ---------- 施工実績 PICK UP：大きいスライド ＋ 4件の一覧（待機列） ----------
   スライドは横スクロール＋スナップ（JS なしでもスワイプで見られる）。JS は自動再生・矢印・一覧・番号表示だけ */
.works-feature__track {
	position: relative; display: flex; gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
	scrollbar-width: none; border-radius: 56px;
}
.works-feature__track::-webkit-scrollbar { display: none; }
.works-feature__track:focus-visible { outline-offset: 4px; }
.works-feature__slide {
	flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; /* 横並びなので高さは一番高いスライドに揃い、切り替えで変わらない */
	display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); gap: 48px; align-items: center;
	padding: 24px; border-radius: 56px; background: var(--c-bg-light);
}
.works-feature__img { height: 540px; border-radius: 44px; box-shadow: 0 18px 40px rgba(38, 48, 42, .14); background: var(--c-green-mist); }
.works-feature__body { display: flex; flex-direction: column; gap: 18px; padding: 24px 32px 24px 0; }
.works-feature__label { display: flex; align-items: baseline; gap: 14px; margin: 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .2em; color: #8fbf99; }
.works-feature__num { font-size: 56px; line-height: 1; letter-spacing: .04em; color: var(--c-green-pale); }
.works-feature__title { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 700; letter-spacing: .02em; }
.works-feature__place { font-size: 18px; line-height: 1.5; color: var(--c-green); letter-spacing: .06em; }
.works-feature__name { font-size: 34px; line-height: 1.45; color: var(--c-text); }
.works-feature__cat { align-self: flex-start; margin: 0; padding: 8px 18px; border-radius: var(--radius-pill); background: var(--c-green-mist); color: var(--c-green); font-family: var(--f-kaku); font-size: 14px; font-weight: 500; line-height: 1.5; }
.works-feature__spec { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid #dde9d7; font-family: var(--f-kaku); }
.works-feature__spec div { display: flex; gap: 14px; font-size: 15px; line-height: 1.7; }
.works-feature__spec dt { flex: none; width: 4.5em; color: #8a9c8f; }
.works-feature__spec dd { margin: 0; color: var(--c-text-body); }
.works-feature__text { margin: 0; font-family: var(--f-kaku); font-size: 16px; line-height: 2.0; color: var(--c-text-muted); }

.works-feature__controls { display: flex; align-items: center; gap: 16px; }
html:not(.js) .works-feature__foot { display: none; } /* JS なし：スワイプで切り替え */

/* 写真の待機列：採用ページ「梶浦工業の日常」の写真列と同じ考え方（小さい角丸・薄い枠・表示中以外は少し薄く・表示中は緑の枠）。
   デスクトップは PICK UP のすぐ下に4枚と操作ボタンを1行で。表示中の写真の下の線が次の自動切り替えまでの時間 */
.works-feature__foot { display: flex; align-items: center; gap: 28px; margin-top: 20px; }
.works-strip { position: relative; flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; min-width: 0; padding: 2px; }
.works-strip__item {
	position: relative; display: block; height: 124px; padding: 0; border: 0; border-radius: 16px; overflow: hidden;
	background: var(--c-green-mist); box-shadow: 0 0 0 1px #e0ebda; opacity: .62; cursor: pointer;
	transition: opacity .15s ease, box-shadow .15s ease;
}
.works-strip__item:hover, .works-strip__item[aria-current="true"] { opacity: 1; }
.works-strip__item[aria-current="true"] { box-shadow: 0 0 0 2px var(--c-green); }
.works-strip__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.works-strip__num { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .92); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; line-height: 1.5; color: var(--c-green); }
.works-strip__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .55); opacity: 0; }
.works-strip__item[aria-current="true"] .works-strip__progress { opacity: 1; }
.works-strip__progress > span { display: block; width: 0; height: 100%; background: var(--c-green); }
@media (prefers-reduced-motion: reduce) { .works-strip__progress { display: none; } }
.works-feature__nav { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d8e6d2; border-radius: 50%; background: var(--c-white); cursor: pointer; transition: background-color .15s ease; }
.works-feature__nav:hover { background: var(--c-bg); }
.works-feature__counter { display: flex; align-items: baseline; justify-content: center; gap: 8px; min-width: 92px; margin: 0; white-space: nowrap; font-family: var(--f-mono); font-size: 14px; letter-spacing: .16em; color: var(--c-en); }
.works-feature__current { font-size: 22px; color: var(--c-green); }

@keyframes works-progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 1040px) {
	.works-feature__slide { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 36px; }
	.works-feature__img { height: 460px; }
	.works-feature__body { padding: 16px 16px 16px 0; }
	.works-feature__name { font-size: 28px; }
	.works-feature__num { font-size: 48px; }
	.works-strip__item { height: 104px; }
}
@media (max-width: 900px) {
	.works-feature__track { border-radius: 44px; }
	.works-feature__slide { grid-template-columns: 1fr; gap: 24px; align-content: start; padding: 16px; border-radius: 44px; } /* 縦積み：写真・見出しの位置がスライドごとに動かないよう上揃え */
	.works-feature__img { height: 420px; border-radius: 32px; }
	.works-feature__body { gap: 14px; padding: 0 12px 12px; }
	/* 写真列の下に操作ボタンを中央寄せ（採用ページの写真列と同じ並び） */
	.works-feature__foot { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 16px; }
	.works-feature__controls { justify-content: center; }
	.works-strip { gap: 10px; }
	.works-strip__item { height: 96px; border-radius: 14px; }
}
@media (max-width: 600px) {
	.works-feature__track { gap: 16px; border-radius: 32px; }
	.works-feature__slide { gap: 18px; padding: 12px; border-radius: 32px; }
	.works-feature__img { height: 280px; border-radius: 24px; }
	.works-feature__body { gap: 12px; padding: 0 8px 10px; }
	.works-feature__num { font-size: 40px; }
	.works-feature__place { font-size: 15px; }
	.works-feature__name { font-size: 23px; }
	.works-feature__spec div { font-size: 14.5px; }
	.works-feature__text { font-size: 15px; line-height: 1.95; }
	.works-feature__controls { gap: 10px; }
	.works-feature__counter { min-width: 76px; }
	/* 写真列は横スクロール（2枚＋次の1枚がのぞく幅） */
	.works-feature__foot { margin-top: 14px; }
	.works-strip { display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.works-strip::-webkit-scrollbar { display: none; }
	.works-strip__item { flex: 0 0 42%; height: 92px; border-radius: 12px; scroll-snap-align: start; }
}

.uses { position: relative; overflow: hidden; background: var(--c-bg); padding-top: 84px; padding-bottom: 92px; }
.uses__deco { position: absolute; left: calc(var(--fx) + 60px); top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c-green-mist); }
.uses .l-container { position: relative; }
.uses__head { margin-bottom: 44px; }
.uses__lead { line-height: 2.0; color: var(--c-text-sub); max-width: 34em; }
.uses__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.use-card { display: flex; flex-direction: column; gap: 18px; padding: 16px 16px 30px; background: var(--c-white); border-radius: 36px; }
.use-card__img { height: 150px; border-radius: 26px; background: var(--c-green-mist); }
.use-card__body { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.use-card__en { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .18em; color: #8fbf99; }
.use-card__title { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: .02em; }
/* 長いタイトル（公共施設 / 商業施設）は1行に収め、カード幅が足りないときだけ文字を縮める（行の高さは他カードと同じ） */
.use-card__body { container-type: inline-size; }
.use-card__title--fit { white-space: nowrap; }
.use-card__title--fit > span { font-size: .78em; font-size: min(1em, 10.5cqi); }
.use-card__text { margin: 0; font-family: var(--f-kaku); font-size: 15px; line-height: 1.95; color: var(--c-text-muted); }

/* ==========================================================================
   会社情報
   ========================================================================== */
.profile { background: var(--c-white); padding-top: 48px; padding-bottom: 88px; }
.profile__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.profile__main { display: flex; flex-direction: column; gap: 22px; }
.profile__table { display: flex; flex-direction: column; margin: 0; font-family: var(--f-kaku); }
.profile__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #edf1eb; font-size: 16px; }
.profile__row:last-child { border-bottom: 0; }
.profile__row dt { color: var(--c-text-faint); }
.profile__row dd { margin: 0; }
/* デザインで行間 1.9 が指定されている行（本社・工事部・事業内容・加入団体・取引銀行） */
.profile__row:nth-child(5) dt, .profile__row:nth-child(6) dt,
.profile__row:nth-child(5) dd, .profile__row:nth-child(6) dd,
.profile__row:nth-child(n+8) dd { line-height: 1.9; }
.profile__note { font-size: 14px; }
.profile__visit { font-size: 14.5px; color: #3d6449; font-weight: 500; }
.profile__figure { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.profile__photo { height: 460px; border-radius: 32px; box-shadow: 0 16px 34px rgba(38, 48, 42, .14); background: var(--c-green-mist); }
.profile__figure figcaption { font-family: var(--f-kaku); font-size: 15px; color: var(--c-text-note); text-align: center; }

.locations { background: var(--c-bg-light); padding-top: 88px; padding-bottom: 96px; }
.locations__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.locations__head .sec-lead { line-height: 2.0; color: var(--c-text-sub); }
.loc-num { font-family: var(--f-mono); font-size: 26px; color: var(--c-green); letter-spacing: .06em; line-height: 1; }
.loc-num--sm { font-size: 22px; line-height: normal; }
.loc-en { font-family: var(--f-mono); font-size: 13px; letter-spacing: .22em; color: var(--c-en); }
.loc-en--sm { font-size: 12.5px; }
.loc-rule { flex: 1; height: 1px; background: #cadfc4; }
.loc-main__meta .loc-rule { display: none; } /* 線は「拠点一覧」横の1本だけにする */
.loc-index-label .loc-rule { background: #e3eede; }
.loc-postal { font-family: var(--f-mono); font-size: 14px; color: #8a9c8f; letter-spacing: .04em; }
.loc-postal--sm { font-size: 13.5px; }
.loc-main { display: grid; grid-template-columns: minmax(0, 63fr) minmax(0, 37fr); gap: 52px; align-items: center; margin-bottom: 52px; }
.loc-main__img { order: -1; height: 420px; border-radius: 20px; background: var(--c-green-mist); } /* HTML では本文の後。デスクトップだけ左列に置く */
.loc-main__body { display: flex; flex-direction: column; gap: 20px; font-family: var(--f-kaku); }
.loc-main__meta { display: flex; align-items: center; gap: 16px; }
.loc-main__name { margin: 0; font-family: var(--f-maru); font-size: 38px; font-weight: 700; color: var(--c-text); letter-spacing: .08em; line-height: 1.35; }
.loc-main__badge { align-self: flex-start; padding: 9px 19px; border-radius: var(--radius-pill); background: var(--c-green); color: var(--c-white); font-size: 13.5px; font-weight: 500; line-height: 1.5; }
.loc-main__address { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 0; padding-top: 8px; }
.loc-main__address span:last-child { font-size: 17.5px; line-height: 1.85; color: #35443b; }
.loc-head-office { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: start; margin-bottom: 56px; padding: 24px 0 0; font-family: var(--f-kaku); }
.loc-head-office__meta { display: flex; flex-direction: column; gap: 8px; }
.loc-head-office__body { display: flex; flex-direction: column; gap: 14px; }
.loc-head-office__title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.loc-head-office__name { margin: 0; font-family: var(--f-maru); font-size: 30px; font-weight: 700; color: var(--c-text); letter-spacing: .08em; line-height: 1.35; }
.loc-head-office__badge { padding: 8px 17px; border-radius: var(--radius-pill); background: #e2eeda; color: #3d6449; font-size: 13.5px; font-weight: 500; line-height: 1.5; }
.loc-head-office__address { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.loc-head-office__address span:last-child { font-size: 17px; line-height: 1.85; color: #35443b; }
.loc-head-office__note { display: flex; align-items: flex-start; gap: 13px; margin: 0; padding-left: 32px; border-left: 1px solid #d8e6d2; }
.loc-head-office__icon { display: flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: var(--c-green-pale); }
.loc-head-office__note span:last-child { font-size: 15.5px; line-height: 1.9; color: #4f5f55; }
.loc-index-label { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.loc-index-label__text { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--c-en); }
.loc-item { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 16px 0; font-family: var(--f-kaku); }
.loc-item__img { height: 190px; border-radius: 16px; background: var(--c-green-mist); }
.loc-item__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 32px; align-items: center; }
.loc-item__head { display: flex; flex-direction: column; gap: 12px; }
.loc-item__meta { display: flex; align-items: baseline; gap: 14px; }
.loc-item__name { margin: 0; font-family: var(--f-maru); font-size: 22px; font-weight: 700; color: var(--c-text); letter-spacing: .04em; line-height: 1.55; }
.loc-item__address { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.loc-item__address span:last-child { font-size: 16px; line-height: 1.85; color: var(--c-text-body); }

.access { background: var(--c-white); padding-top: 80px; padding-bottom: 88px; scroll-margin-top: 0; }
.access__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.access__info { display: flex; flex-direction: column; gap: 18px; }
.access__info .sec-lead { line-height: 2.0; color: var(--c-text-sub); }
.access__address { display: flex; align-items: flex-start; gap: 14px; margin-top: 4px; font-family: var(--f-kaku); }
.access__bar { flex: none; width: 2px; height: 44px; margin-top: 4px; border-radius: 2px; background: var(--c-green-line); }
.access__name { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--c-green); }
.access__text { margin: 0; font-size: 16.5px; line-height: 1.95; color: var(--c-text-body); }
.access__map { min-height: 300px; border-radius: 32px; overflow: hidden; background: var(--c-bg-light); }
.access__map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }

/* ==========================================================================
   採用情報
   ========================================================================== */
.reasons { position: relative; overflow: hidden; background: var(--c-bg-light); padding-top: 36px; padding-bottom: 96px; }
.reasons__blob { position: absolute; background: #e7f2e0; }
.reasons__blob--1 { left: -70px; top: 140px; width: 200px; height: 200px; border-radius: 58% 42% 47% 53% / 45% 52% 48% 55%; }
.reasons__blob--2 { right: -70px; bottom: 40px; width: 230px; height: 230px; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
.reasons .l-container { position: relative; }
.reasons__head { gap: 18px; margin-bottom: 52px; }
.reasons__title { margin: 0; font-family: var(--f-kiwi); font-size: 44px; font-weight: 500; letter-spacing: .06em; color: var(--c-green); line-height: 1.45; white-space: nowrap; }
.reasons__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.reason-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 40px 34px 42px; background: var(--c-white); border-radius: 40px; box-shadow: 0 12px 30px rgba(38, 48, 42, .07); }
.reason-card > * { position: relative; }
.reason-card__num { position: absolute !important; right: -26px; bottom: -56px; font-family: var(--f-kiwi); font-weight: 500; font-size: 170px; line-height: 1; color: var(--c-bg-light); pointer-events: none; user-select: none; }
.reason-card__icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 52% 48% 45% 55% / 48% 52% 45% 55%; background: var(--c-bg-tint); }
.reason-card__title { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: .03em; line-height: 1.5; white-space: nowrap; }
.reason-card__text { margin: 0; font-family: var(--f-kaku); font-size: 16px; line-height: 2.05; color: var(--c-text-muted); }

/* DAILY LIFE */
.daily { position: relative; overflow: hidden; background: var(--c-white); padding-top: 88px; padding-bottom: 96px; }
.daily__blob { position: absolute; background: #f4faf0; }
.daily__blob--1 { left: -110px; top: 150px; width: 260px; height: 260px; border-radius: 58% 42% 47% 53% / 45% 52% 48% 55%; }
.daily__blob--2 { right: -100px; bottom: 150px; width: 240px; height: 240px; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
.daily__dot { position: absolute; border-radius: 50%; }
.daily__dot--1 { right: calc(var(--fx) + 150px); top: 70px; width: 9px; height: 9px; background: var(--c-green-pale); }
.daily__dot--2 { right: calc(var(--fx) + 118px); top: 96px; width: 6px; height: 6px; background: var(--c-green-soft); }
.daily .l-container { position: relative; }
.daily__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; padding-bottom: 26px; border-bottom: 1px solid var(--c-bg); }
.daily__lead { font-size: 16px; line-height: 2.0; color: var(--c-text-muted); max-width: 38em; }
.daily__modes { flex: none; display: flex; align-items: center; gap: 22px; padding-bottom: 4px; font-family: var(--f-kaku); }
.daily__mode { padding: 0 2px 7px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #8a9c8f; font-family: inherit; font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.daily__mode[aria-pressed="true"] { color: var(--c-green); border-bottom-color: var(--c-green); }
/* JSなし：一覧表示のみ。JSあり：1枚ずつ表示から開始し .is-grid で切り替え */
html:not(.js) .daily__modes, html:not(.js) .gallery-slide { display: none; }
.js .gallery-grid { display: none; }
.js .daily.is-grid .gallery-grid { display: flex; }
.js .daily.is-grid .gallery-slide { display: none; }

.gallery-slide { display: flex; flex-direction: column; gap: 26px; }
.gallery-slide__stage { position: relative; height: 560px; border-radius: 24px; overflow: hidden; background: #f4faf0; touch-action: pan-y; }
.gallery-slide__stage img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity 150ms ease; }
.gallery-slide__stage img:not([src]) { visibility: hidden; }
.gallery-slide__stage img.is-fading { opacity: 0; }
.gallery-slide__strip { display: flex; gap: 10px; margin-top: -12px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.gallery-slide__strip::-webkit-scrollbar { display: none; }
.gallery-slide__thumb { flex: none; width: 136px; height: 92px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #f4faf0; box-shadow: 0 0 0 1px #e0ebda; opacity: .62; cursor: pointer; transition: opacity 150ms ease, box-shadow 150ms ease; }
.gallery-slide__thumb:hover, .gallery-slide__thumb[aria-current="true"] { opacity: 1; }
.gallery-slide__thumb[aria-current="true"] { box-shadow: 0 0 0 2px var(--c-green); }
.gallery-slide__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-slide__controls { display: flex; align-items: center; justify-content: center; gap: 30px; }
.gallery-slide__nav { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid #d8e6d2; border-radius: 50%; background: var(--c-white); cursor: pointer; transition: background-color .15s ease; }
.gallery-slide__nav:hover { background: var(--c-bg); }
.gallery-slide__counter { display: flex; align-items: baseline; justify-content: center; gap: 8px; min-width: 104px; margin: 0; font-family: var(--f-mono); font-size: 14px; letter-spacing: .16em; color: var(--c-en); }
.gallery-slide__current { font-size: 22px; color: var(--c-green); }
.gallery-slide__more { display: flex; justify-content: center; }
.gallery-slide__all { display: inline-flex; align-items: center; gap: 14px; padding: 24px 52px; border: 0; border-radius: var(--radius-pill); background: var(--c-green); color: var(--c-white); font-family: var(--f-kaku); font-size: 19px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 16px 32px -14px rgba(28, 44, 32, .5); transition: background-color .15s ease; }
.gallery-slide__all:hover { background: var(--c-green-deep); }

.gallery-grid { display: flex; flex-direction: column; gap: 30px; }
.gallery-grid__intro { display: flex; flex-direction: column; gap: 8px; }
.gallery-grid__label { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .2em; color: #8fbf99; }
.gallery-grid__text { margin: 0; font-family: var(--f-kaku); font-size: 16px; line-height: 1.9; color: var(--c-text-muted); }
.gallery-grid__list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.gallery-grid__cell { display: flex; flex-direction: column; grid-column: span var(--span, 4); }
.gallery-grid__open { height: var(--h, 360px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #f4faf0; box-shadow: 0 8px 20px -12px rgba(38, 48, 42, .3); cursor: pointer; }
.gallery-grid__open img { display: block; width: 100%; height: 100%; }
.gallery-grid__caption { display: flex; flex-direction: column; gap: 9px; padding-top: 18px; }
.gallery-grid__meta { display: flex; align-items: center; gap: 11px; margin: 0; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .2em; color: #8fbf99; }
.gallery-grid__rule { width: 16px; height: 1px; background: #cadfc4; }
.gallery-grid__desc { margin: 0; font-family: var(--f-kaku); font-size: 15.5px; line-height: 1.85; color: var(--c-text); }

/* 募集要項 */
.requirements { background: var(--c-white); padding-top: 88px; padding-bottom: 92px; }
.requirements__head { margin-bottom: 44px; }
.requirements__head .sec-head__row { gap: 14px; }
.requirements__card { padding: 20px 40px 28px; border-radius: 56px; background: var(--c-bg-light); }
.requirements__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; font-family: var(--f-kaku); }
.requirements__row { display: grid; grid-template-columns: minmax(0, 6.2em) minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid #e0ebda; font-size: 16.5px; }
.requirements__row:nth-last-child(-n+2) { border-bottom: 0; }
.requirements__row dt { color: var(--c-text-faint); font-weight: 500; }
.requirements__row dd { margin: 0; color: #35443b; line-height: 1.85; }

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.contact-hero { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 44px; padding-bottom: 52px; text-align: center; }
.contact-hero .breadcrumb, .contact-hero .sub-title { justify-content: center; }
.contact-hero__lead { margin: 0; max-width: 34em; font-family: var(--f-kaku); font-size: 18px; font-weight: 500; line-height: 2.0; color: var(--c-text); }

.contact-tel { position: relative; overflow: hidden; background: var(--c-green); padding-top: 66px; padding-bottom: 76px; }
.contact-tel__deco { position: absolute; right: -60px; bottom: -70px; width: 300px; height: 300px; border-radius: 50%; background: #356343; }
.contact-tel__grid { position: relative; display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 52px; align-items: center; }
.contact-tel__text { display: flex; flex-direction: column; gap: 18px; }
.contact-tel__title { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; color: var(--c-white); }
.contact-tel__lead, .contact-tel__free { margin: 0; font-family: var(--f-kaku); font-size: 16.5px; line-height: 2.0; color: #dbe8dc; }
.contact-tel__free { color: var(--c-white); font-weight: 700; }
.contact-tel__action { display: flex; flex-direction: column; gap: 16px; }
.contact-tel__rule { display: block; height: 1px; background: #527d5e; }
.contact-tel__number { display: block; font-size: clamp(64px, 9vw, 96px); font-weight: 700; color: var(--c-white); line-height: 1.05; letter-spacing: -.005em; white-space: nowrap; }
.contact-tel__number:hover { color: #dbe8dc; }
.contact-tel__hours { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin: 0; font-family: var(--f-kaku); }
.contact-tel__hours-main { font-size: 16px; color: var(--c-white); font-weight: 500; }
.contact-tel__hours-sub { font-size: 15px; color: #c3d9c6; }
.contact-tel__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 6px; padding-top: 20px; border-top: 1px solid #4a7455; }
.contact-tel__btn, .contact-tel__btn:hover { gap: 12px; padding: 23px 52px; background: var(--c-white); color: var(--c-green); font-size: 19px; box-shadow: 0 14px 30px rgba(12, 32, 18, .28); }
.contact-tel__btn:hover { background: var(--c-bg); }
.contact-tel__btn svg { width: 20px; height: 20px; }
.contact-tel__fax { font-family: var(--f-kaku); font-size: 16px; color: #dbe8dc; }

.before-call { background: var(--c-white); padding-top: 84px; padding-bottom: 92px; }
.before-call__grid { display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 56px; align-items: stretch; }
.before-call__photo { min-height: 560px; border-radius: 44px; box-shadow: 0 18px 40px rgba(38, 48, 42, .14); background: var(--c-green-mist); }
.before-call__body { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.is-sub .before-call__title { line-height: 1.5; }
.before-call__lead { max-width: 30em; padding-top: 6px; font-size: 16px; line-height: 2.0; color: var(--c-text-muted); }
.before-call__list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.before-call__list li { display: flex; align-items: flex-start; gap: 28px; padding: 32px 0; border-top: 1px solid #dfe9d9; }
.before-call__list li:first-child { padding-top: 34px; }
.before-call__list li:last-child { border-bottom: 1px solid #dfe9d9; }
.before-call__num { flex: none; font-family: var(--f-mono); font-size: 42px; line-height: 1; color: #a9c5ae; letter-spacing: .02em; }
.before-call__list p { margin: 0; max-width: 24em; font-family: var(--f-kaku); font-size: 18px; line-height: 2.0; color: var(--c-text); }

.faq { position: relative; overflow: hidden; background: var(--c-bg); padding-top: 84px; padding-bottom: 96px; }
.faq__deco { position: absolute; background: var(--c-green-mist); }
.faq__deco--1 { left: calc(var(--fx) + 60px); top: -40px; width: 140px; height: 140px; border-radius: 50%; }
.faq__deco--2 { right: -70px; bottom: 80px; width: 220px; height: 220px; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
.faq .l-container { position: relative; }
.faq__head { margin-bottom: 46px; }
.faq__head .sec-head__row { gap: 14px; }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 22px; } /* 1fr: すべてのカードを一番高いカードに揃える */
.faq-card { display: flex; flex-direction: column; gap: 16px; padding: 34px 36px; background: var(--c-white); border-radius: 34px; box-shadow: 0 10px 24px rgba(38, 48, 42, .06); }
.faq-card__q, .faq-card__a { display: flex; align-items: flex-start; gap: 16px; }
.faq-card__a { padding-top: 16px; border-top: 1px solid #edf3e9; }
.faq-card__badge { display: flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 52% 48% 45% 55% / 48% 52% 45% 55%; background: var(--c-bg-tint); color: var(--c-green); font-family: var(--f-maru); font-size: 19px; font-weight: 700; }
.faq-card__badge--a { border-radius: 50%; background: var(--c-green); color: var(--c-white); }
.faq-card__question { margin: 0; padding-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.faq-card__answer { margin: 0; min-height: 101px; padding-top: 3px; font-family: var(--f-kaku); font-size: 16px; line-height: 2.05; color: var(--c-text-muted); }

/* 汎用固定ページ（page.php） */
.page-generic { position: relative; display: flex; flex-direction: column; gap: 16px; padding-top: 56px; padding-bottom: 88px; }
.page-generic__article { margin-top: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---------- ≤1040px: ハンバーガーメニュー ---------- */
@media (max-width: 1040px) {
	:root { --gutter: 32px; }

	.site-nav-toggle { display: block; }

	.js .site-nav {
		position: absolute; top: calc(100% + 10px); left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 4px;
		padding: 14px; background: var(--c-white); border-radius: 28px;
		box-shadow: 0 16px 36px rgba(38, 48, 42, .14);
		white-space: normal;
		visibility: hidden; opacity: 0; transform: translateY(-6px);
		transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
	}
	.js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
	.js .site-nav__link { padding: 14px 18px; }
	.js .site-nav__cta { margin: 6px 0 0; padding: 16px 20px; text-align: center; }

	/* JSなし：ナビをヘッダー下に折り返して常時表示 */
	html:not(.js) .site-header { flex-wrap: wrap; border-radius: 32px; }
	html:not(.js) .site-nav { flex-wrap: wrap; }
	html:not(.js) .site-nav-toggle { display: none; }
}

/* ---------- ≤900px: タブレット ---------- */
@media (max-width: 900px) {
	.sec-title { font-size: 32px; }

	.top-hero { grid-template-columns: 1fr; gap: 56px; padding-top: 48px; padding-bottom: 80px; }
	.top-hero__visual { width: calc(100% - 44px); max-width: 600px; height: 440px; margin-inline: auto; }

	.top-service__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

	.top-works { padding-top: 72px; padding-bottom: 72px; }
	.top-works__head { flex-direction: column; align-items: flex-start; gap: 24px; }
	.top-works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
	.work-tile { height: 220px; }
	.work-tile--large { grid-row: auto; grid-column: 1 / -1; height: 320px; }

	.top-recruit { padding-block: 72px; }
	.recruit-banner { grid-template-columns: 1fr; border-radius: 44px; }
	.recruit-banner__photo { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
	.recruit-banner__photo > img { object-position: 50% 70%; } /* 横長の枠：空を減らし、話す人と作業員全員の頭から足元まで */

	.top-philosophy { padding-top: 80px; padding-bottom: 80px; }
	.philosophy-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 20px; }
	.philosophy-card { min-height: 0; }

	.cta-tel { padding-block: 64px; }
	.cta-tel__card { flex-direction: column; align-items: flex-start; gap: 28px; padding: 44px; }
	.cta-tel__action { align-items: flex-start; }
	.cta-tel__number { text-align: left; }

	.site-footer__inner { flex-direction: column; gap: 32px; }
	.site-footer__nav { justify-content: flex-start; max-width: none; }
}

/* ---------- ≤600px: モバイル ---------- */
@media (max-width: 600px) {
	:root { --gutter: 16px; }

	.btn { padding: 16px 26px; font-size: 16px; }

	.site-header-wrap { padding-top: 14px; }
	.site-header { gap: 12px; padding: 8px 8px 8px 16px; }
	.site-brand { gap: 10px; }
	.site-brand__logo { width: 40px; }
	.site-brand__name { font-size: 14.5px; white-space: normal; line-height: 1.4; }
	.site-brand__sub { font-size: 11px; letter-spacing: .04em; }
	.site-nav-toggle { width: 44px; height: 44px; }

	.site-deco__blob { width: 340px; height: 340px; top: -120px; left: -140px; }
	.site-deco__circle { width: 180px; height: 180px; right: -110px; }

	.sec-title { font-size: 28px; white-space: normal; }
	.sec-en { font-size: 12.5px; }
	.sec-head__row { gap: 6px 12px; }
	.sec-lead { font-size: 15px; }

	/* Hero */
	.top-hero { gap: 44px; padding-top: 36px; padding-bottom: 64px; }
	.top-hero__text { gap: 20px; }
	.top-hero__badge-main { font-size: 17px; }
	.top-hero__badge-sub { font-size: 13px; }
	.top-hero__title { font-size: clamp(26px, 8vw, 34px); white-space: normal; }
	.top-hero__lead { font-size: 15.5px; line-height: 1.95; }
	.top-hero__buttons { flex-direction: column; gap: 12px; }
	.top-hero__buttons .btn { width: 100%; }
	.top-hero__visual { width: calc(100% - 16px); height: 300px; margin-left: 0; }
	.top-hero__plate { left: 20px; top: 20px; right: -12px; bottom: -12px; border-radius: 32px; }
	.top-hero__dash, .top-hero__dot { display: none; }
	.top-hero__photo { inset: 0 12px 12px 0; border-radius: 32px; }
	.top-hero__drop--1 { right: -10px; top: -30px; width: 26px; height: 34px; }
	.top-hero__drop--2 { right: 30px; top: -34px; width: 16px; height: 21px; }

	/* Service */
	.top-service { padding-bottom: 64px; }
	.top-service .sec-head { margin-bottom: 32px; }
	.top-service__grid { gap: 12px; }
	.service-card { gap: 12px; padding: 8px 8px 18px; border-radius: 22px; }
	.service-card__img { height: 104px; border-radius: 16px; }
	.service-card__body { gap: 6px; padding: 0 6px; }
	.service-card__title { font-size: 15px; letter-spacing: 0; }
	.service-card__text { font-size: 12.5px; line-height: 1.8; }
	.top-service__more { margin-top: 32px; }
	.top-service__more .btn { width: 100%; white-space: normal; }

	/* Works */
	.top-works { padding-top: 60px; padding-bottom: 64px; }
	.top-works__head { margin-bottom: 28px; }
	.top-works__head .btn { width: 100%; }
	.top-works__grid { grid-template-columns: 1fr; gap: 14px; }
	.work-tile, .work-more { border-radius: 28px; }
	.work-tile { height: 200px; }
	.work-tile--large { height: 240px; }
	.work-tile__label, .work-tile--large .work-tile__label { left: 12px; bottom: 12px; margin-right: 12px; padding: 8px 14px; font-size: 13px; }
	.work-more { padding: 26px 24px; }

	/* Recruit */
	.top-recruit { padding-block: 56px; }
	.recruit-banner { border-radius: 32px; }
	.recruit-banner__photo { aspect-ratio: 5 / 4; }
	.recruit-banner__photo > img { object-position: 50% 80%; } /* 話す人と作業員全員が入る位置まで下げる */
	.recruit-banner__body { gap: 18px; padding: 36px 24px 40px; }
	.recruit-banner__title { font-size: 26px; }
	.recruit-banner__catch { font-size: 22px; }
	.recruit-banner__text { font-size: 15px; line-height: 1.9; }
	.recruit-banner__tags li { padding: 8px 14px; font-size: 13.5px; }
	.recruit-banner__btn { align-self: stretch; }

	/* Philosophy */
	.top-philosophy { padding-top: 60px; padding-bottom: 64px; }
	.top-philosophy__head { margin-bottom: 36px; }
	.top-philosophy__sub { font-size: 19px; }
	.philosophy-card { padding: 32px 26px 36px; border-radius: 40px 28px 40px 28px; }
	.philosophy-card:nth-child(even) { border-radius: 28px 40px 28px 40px; }
	.philosophy-card__kanji { font-size: 170px; bottom: -48px; }
	.philosophy-card__title { font-size: 32px; }
	.philosophy-card__text { font-size: 15px; line-height: 1.95; }

	/* CTA */
	.cta-tel { padding-block: 56px; }
	.cta-tel__deco--1 { left: 20px; }
	.cta-tel__deco--2 { right: 20px; }
	.cta-tel__card { gap: 24px; padding: 32px 24px; border-radius: 32px; }
	.cta-tel__title { font-size: 22px; }
	.cta-tel__lead { font-size: 15px; }
	.cta-tel__action { align-self: stretch; }
	.cta-tel__label { font-size: 13px; }
	.cta-tel__tel { font-size: 34px; }
	.btn--tel { width: 100%; }

	/* Footer */
	.site-footer { font-size: 14.5px; }
	.site-footer__inner { padding-block: 44px; }
	.site-footer__name { font-size: 17px; white-space: normal; }
	.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }

	/* Generic */
	.page-generic { padding-block: 40px 64px; }
	.page-generic__article { padding: 32px 24px; border-radius: 32px; }
	.page-generic__title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* ==========================================================================
   Responsive — Sub pages
   ========================================================================== */
@media (max-width: 900px) {
	.is-sub .sec-title { font-size: 32px; }
	.sub-title__h1, .page-service .sub-title__h1 { font-size: 40px; }

	/* ヒーロー：縦積み */
	.sub-hero, .sub-hero--recruit { grid-template-columns: 1fr; gap: 56px; padding-top: 44px; padding-bottom: 72px; }
	.sub-hero--plain { padding-bottom: 8px; }
	.sub-hero__visual { width: calc(100% - 44px); max-width: 600px; margin-inline: auto; }

	/* 4ステップ：2列 */
	.steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.step-card__title { min-height: 0; }
	.step-card__text, .steps--flow .step-card__text { min-height: 0; }

	/* 代表メッセージ：縦積み */
	.message__grid { grid-template-columns: 1fr; gap: 40px; }
	.message .message__photo { width: 100%; max-width: 464px; margin-inline: auto; }
	.message__frame { height: 480px; }
	.message__text { max-width: none; }

	/* 事業内容 */
	.method-row, .method-row--reverse { grid-template-columns: 1fr; gap: 28px; padding: 32px; border-radius: 40px; }
	.method-row--reverse .method-row__img { order: 0; }
	.method-row__img { height: 300px; }
	.methods-sub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.method-card__title, .method-card__text { min-height: 0; }
	.works__head { flex-direction: column; align-items: flex-start; gap: 24px; }
	.uses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

	/* 会社情報 */
	.profile__grid { grid-template-columns: 1fr; gap: 40px; }
	.profile__figure { width: 100%; max-width: 420px; margin-inline: auto; }
	.loc-main { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
	.loc-main__img { order: 0; } /* 縦積み：工事部の名前・住所 → 写真 → 次の本社 */
	.loc-main__img { height: 360px; }
	.loc-head-office { grid-template-columns: 1fr; gap: 18px; }
	.loc-head-office__note { padding: 4px 0 0; border-left: 0; }
	.loc-item { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; }
	.loc-item__body { grid-template-columns: 1fr; gap: 12px; }
	.access__grid { grid-template-columns: 1fr; }
	.access__map, .access__map iframe { min-height: 340px; }

	/* 採用 */
	.reasons__title { font-size: 36px; white-space: normal; }
	.reasons__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 20px; }
	.daily__head { flex-direction: column; align-items: flex-start; gap: 24px; }
	.gallery-slide__stage { height: 56vw; }
	.gallery-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.gallery-grid__cell { grid-column: auto; }
	.gallery-grid__open { height: 240px; }
	.requirements__card { padding: 12px 32px 20px; border-radius: 44px; }
	.requirements__list { grid-template-columns: 1fr; }
	.requirements__row:nth-last-child(2) { border-bottom: 1px solid #e0ebda; }

	/* お問い合わせ */
	.contact-tel__grid { grid-template-columns: 1fr; gap: 36px; }
	.contact-tel__number { font-size: clamp(44px, 11vw, 96px); }
	.before-call__grid { grid-template-columns: 1fr; gap: 40px; }
	.before-call__photo { min-height: 360px; }
}

@media (max-width: 767px) {
	.faq__grid { grid-template-columns: 1fr; }
	.faq-card__answer { min-height: 0; }
}

@media (max-width: 600px) {
	.nw-sp { display: inline-block; } /* kajiura_phrases( ..., 'nw-sp' ) の区切りをMobileだけ有効に */
	.daily__dot { display: none; } /* 見出しに近接するため装飾の丸のみ非表示 */

	.is-sub .sec-title { font-size: 26px; white-space: normal; }
	.is-sub .cta-tel__title { white-space: normal; }
	.breadcrumb { font-size: 12.5px; }
	.sub-title { gap: 6px 12px; }
	.sub-title__h1 { font-size: 32px; white-space: normal; }
	.page-service .sub-title__h1 { font-size: 28px; }

	/* ヒーロー */
	.sub-hero, .sub-hero--recruit { gap: 40px; padding-top: 32px; padding-bottom: 56px; }
	.sub-hero__text { gap: 16px; }
	.sub-hero__catch { font-size: 17px; }
	.sub-hero__lead { font-size: 15.5px; line-height: 1.95; }
	.sub-hero__visual { width: calc(100% - 16px); height: 260px; margin-left: 0; }
	.sub-hero__visual--recruit { height: 320px; }
	.sub-hero__plate { left: 20px; top: 20px; right: -12px; bottom: -12px; border-radius: 32px; }
	.sub-hero__visual--recruit .sub-hero__plate { left: 36px; top: 18px; bottom: -12px; border-radius: 140px 140px 32px 32px; }
	.sub-hero__photo, .sub-hero__visual--service .sub-hero__photo { inset: 0 12px 12px 0; border-radius: 32px; }
	.sub-hero__visual--recruit .sub-hero__photo { inset: 0 12px 14px 24px; border-radius: 140px 140px 32px 32px; }
	.sub-hero__dash, .sub-hero__dot { display: none; }
	.sub-hero__drop { right: -8px; top: -30px; width: 24px; height: 32px; }

	/* 4ステップ */
	.steps { padding-top: 60px; padding-bottom: 64px; }
	.steps__head { margin-bottom: 32px; }
	.steps__grid { grid-template-columns: 1fr; gap: 14px; }
	.step-card, .steps--flow .step-card { gap: 10px; padding: 24px 22px 26px; border-radius: 28px; }
	.step-card__title, .steps--flow .step-card__title { font-size: 18px; white-space: normal; }
	.step-card__text { font-size: 15px; line-height: 1.9; }

	/* 企業理念 */
	.values { padding-top: 24px; padding-bottom: 64px; }
	.values__head { margin-bottom: 36px; }
	.values__title { font-size: 30px; }
	.philosophy-card--detail { padding: 32px 26px 36px; }
	.philosophy-card--detail .philosophy-card__title { font-size: 32px; }
	.philosophy-card__sub { font-size: 16px; }

	.message .message__inner { padding: 24px 0 64px; }
	.message .message__photo { padding: 20px 0 20px 20px; }
	.message { padding-top: 72px; }
	.message__bar { height: 64px; }
	.message__band { top: 60px; width: 80%; height: 400px; }
	.message__frame { height: 400px; border-radius: 24px; }
	.message__body { gap: 16px; }
	.message__catch { font-size: 19px; line-height: 1.8; }
	.message__text { font-size: 15.5px; line-height: 2.0; }
	.message__name { font-size: 22px; }

	/* 事業内容 */
	.methods__head { margin-bottom: 28px; }
	.methods__tags { gap: 8px; margin-bottom: 40px; }
	.methods__tags a { padding: 10px 16px; font-size: 13.5px; }
	.methods__main { gap: 16px; }
	.method-row, .method-row--reverse { gap: 22px; padding: 16px 16px 28px; border-radius: 32px; }
	.method-row__img { height: 220px; border-radius: 26px 26px 26px 0; }
	.method-row--reverse .method-row__img { border-radius: 26px 26px 0 26px; }
	.method-row__body { padding: 0 8px; }
	.method-icon { width: 52px; height: 52px; }
	.method-row__title { font-size: 22px; white-space: normal; }
	.method-row__text { font-size: 15px; line-height: 1.95; }
	.chips li { padding: 7px 14px; font-size: 13px; }
	.methods-sub { padding-top: 16px; }
	.methods-sub__grid { grid-template-columns: 1fr; gap: 16px; }
	.method-card { border-radius: 32px; padding-bottom: 28px; }
	.method-card__img { height: 200px; border-radius: 24px; }
	.method-card__body { padding: 0 8px; }
	.method-card__title { font-size: 19px; }
	.method-card__text { font-size: 15px; line-height: 1.9; }
	.tagline { padding-bottom: 56px; }
	.tagline__text { font-size: 19px; }

	.movie { padding-top: 60px; padding-bottom: 72px; }
	.movie__head { margin-bottom: 32px; }
	.movie__plate { left: 12px; top: 12px; right: -8px; bottom: -10px; border-radius: 24px; }
	.movie__player, .movie__video { border-radius: 24px; }
	.movie__play { width: 68px; height: 68px; }
	.movie__play svg { width: 26px; height: 26px; }
	.movie__caption { left: 14px; bottom: 12px; gap: 8px; }
	.movie__label { padding: 6px 12px; font-size: 12.5px; }
	.movie__duration { font-size: 12px; }

	.works { padding-top: 60px; padding-bottom: 64px; }
	.works__head { margin-bottom: 28px; }

	.uses { padding-top: 60px; padding-bottom: 64px; }
	.uses__head { margin-bottom: 32px; }
	.uses__grid { grid-template-columns: 1fr; gap: 14px; }
	.use-card { border-radius: 28px; padding-bottom: 24px; }
	.use-card__img { height: 170px; border-radius: 20px; }
	.use-card__body { padding: 0 8px; }
	.use-card__title { font-size: 19px; }

	/* 会社情報 */
	.profile { padding-top: 32px; padding-bottom: 64px; }
	.profile__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; font-size: 15px; }
	.profile__row dt { font-size: 13.5px; }
	.profile__photo { height: 400px; border-radius: 24px; }
	.locations { padding-top: 60px; padding-bottom: 64px; }
	.locations__head { margin-bottom: 32px; }
	.loc-main { gap: 22px; margin-bottom: 32px; }
	.loc-main__img { height: 230px; border-radius: 16px; }
	.loc-main__name { font-size: 30px; }
	.loc-main__address span:last-child { font-size: 16px; }
	.loc-head-office { margin-bottom: 40px; padding: 16px 0 0; }
	.loc-head-office__name { font-size: 24px; }
	.loc-head-office__address span:last-child { font-size: 16px; }
	.loc-item { grid-template-columns: 1fr; gap: 16px; padding: 14px 0 22px; }
	.loc-item__img { height: 190px; }
	.loc-item__name { font-size: 19px; }
	.access { padding-top: 60px; padding-bottom: 64px; }
	.access__text { font-size: 15.5px; }
	.access__map, .access__map iframe { min-height: 280px; border-radius: 24px; }

	/* 採用 */
	.reasons { padding-top: 24px; padding-bottom: 64px; }
	.reasons__head { gap: 14px; margin-bottom: 32px; }
	.reasons__title { font-size: 26px; }
	.reason-card { padding: 30px 24px 32px; border-radius: 32px; }
	.reason-card__num { font-size: 130px; bottom: -40px; }
	.reason-card__icon { width: 60px; height: 60px; }
	.reason-card__title { font-size: 20px; }
	.reason-card__text { font-size: 15px; line-height: 1.95; }

	.daily { padding-top: 60px; padding-bottom: 64px; }
	.daily__head { margin-bottom: 28px; padding-bottom: 20px; }
	.daily__lead { font-size: 15px; }
	.gallery-slide { gap: 20px; }
	.gallery-slide__stage { height: 68vw; border-radius: 18px; }
	.gallery-slide__strip { gap: 8px; margin-top: -8px; }
	.gallery-slide__thumb { width: 88px; height: 60px; border-radius: 8px; }
	.gallery-slide__controls { gap: 20px; }
	.gallery-slide__all { padding: 18px 32px; font-size: 16px; }
	.gallery-grid__list { gap: 20px 12px; }
	.gallery-grid__open { height: 150px; border-radius: 16px; }
	.gallery-grid__caption { gap: 6px; padding-top: 10px; }
	.gallery-grid__meta { font-size: 10.5px; letter-spacing: .12em; gap: 6px; }
	.gallery-grid__desc { font-size: 13px; line-height: 1.75; }

	.requirements { padding-top: 60px; padding-bottom: 64px; }
	.requirements__head { margin-bottom: 28px; }
	.requirements__card { padding: 8px 20px 12px; border-radius: 28px; }
	.requirements__row { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; font-size: 15px; }
	.requirements__row dt { font-size: 13.5px; }

	/* お問い合わせ */
	.contact-hero { padding-top: 32px; padding-bottom: 40px; }
	.contact-hero__lead { font-size: 16px; line-height: 1.95; }
	.contact-tel { padding-top: 48px; padding-bottom: 56px; }
	.contact-tel__grid { gap: 28px; }
	.contact-tel__title { font-size: 26px; }
	.contact-tel__lead, .contact-tel__free { font-size: 15px; }
	.contact-tel__number { font-size: clamp(38px, 12vw, 96px); }
	.contact-tel__hours-main { font-size: 14.5px; }
	.contact-tel__buttons { gap: 14px; }
	.contact-tel__btn { width: 100%; padding: 20px 24px; font-size: 17px; }
	.before-call { padding-top: 60px; padding-bottom: 64px; }
	.before-call__photo { min-height: 240px; border-radius: 28px; }
	.before-call__lead { font-size: 15px; }
	.before-call__list li { gap: 16px; padding: 22px 0; }
	.before-call__list li:first-child { padding-top: 24px; }
	.before-call__num { font-size: 30px; }
	.before-call__list p { font-size: 16px; line-height: 1.9; }
	.faq { padding-top: 60px; padding-bottom: 64px; }
	.faq__head { margin-bottom: 32px; }
	.faq__grid { gap: 14px; }
	.faq-card { gap: 14px; padding: 24px 20px; border-radius: 26px; }
	.faq-card__q, .faq-card__a { gap: 12px; }
	.faq-card__badge { width: 36px; height: 36px; font-size: 16px; }
	.faq-card__question { padding-top: 4px; font-size: 16.5px; }
	.faq-card__answer { font-size: 15px; line-height: 1.95; }

	.page-generic { padding-top: 32px; padding-bottom: 64px; }
}

/* ==========================================================================
   FV（ナビの下、ページ最上部のヒーロー）共通の縦サイズ
   事業内容・採用・企業理念・お問い合わせの4ページだけ、FV の section に .page-fv。
   TOP・会社情報・汎用ページ（プライバシーポリシー）には付けない。
   高さ・余白・写真枠は下の変数だけで決まり、ページ別の指定は置かない。
   ========================================================================== */
.page-fv {
	--fv-height: 540px;       /* ナビ下端 → FV 下端（波の上端） */
	--fv-pad-top: 56px;
	--fv-pad-bottom: 80px;
	--fv-visual-h: 360px;     /* 写真枠の高さ（事業内容・採用・企業理念） */
	box-sizing: border-box;
	min-height: var(--fv-height);
	padding-top: var(--fv-pad-top);
	padding-bottom: var(--fv-pad-bottom);
}
.page-fv .sub-hero__visual { height: var(--fv-visual-h); }
/* 写真なし（お問い合わせ）は中身を縦中央に置く */
.contact-hero.page-fv { justify-content: center; }

/* タブレット・モバイル：縦積み。写真ありの3ページ（事業内容・採用・企業理念）は、中身が最も多い事業内容が収まる共通の高さ。
   文章が長く折り返す狭い幅ほど中身が増えるので、既存の区切り（767px）と極小幅（359px）で段階を分ける。
   写真なし（お問い合わせ）は --fv-text-height（写真なし FV の共通の高さ）を使う。余白・間隔の考え方は同じ */
@media (max-width: 900px) {
	.page-fv { --fv-height: 812px; --fv-text-height: 580px; --fv-pad-top: 44px; --fv-pad-bottom: 72px; --fv-visual-h: 360px; }
	.sub-hero.page-fv { gap: 56px; align-content: center; } /* 文章と写真をまとめて縦中央に */
	.contact-hero.page-fv { --fv-height: var(--fv-text-height); gap: 28px; } /* パンくず〜説明文を1つの塊として縦中央に */
}
@media (max-width: 767px) {
	.page-fv { --fv-height: 848px; }
}
@media (max-width: 600px) {
	.page-fv { --fv-height: 690px; --fv-text-height: 500px; --fv-pad-top: 32px; --fv-pad-bottom: 56px; --fv-visual-h: 280px; }
	.sub-hero.page-fv { gap: 40px; }
}
@media (max-width: 359px) {
	.page-fv { --fv-height: 720px; --fv-text-height: 520px; }
}
