/* オレンジは面・小文字・淡色の3用途に集約。 */
:root { --orange:#F46917; --orange-text:#B54D0E; --orange-soft:#FEEDE3; }
@charset "UTF-8";
/* ==========================================================================
   ace-homeplan — 株式会社ホームプラン 防火区画貫通処理工事LP
   読み手：ゼネコン・サブコンの現場代理人（LP-Q3）
   方針：飾らず、情報が速く取れる。現場の表示板のような硬さと、施工写真の説得力。
   色：公式サイトの緑を主色に、防火・注意を連想させるオレンジを差し色に使う。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. トークン
   -------------------------------------------------------------------------- */
:root {
	--base:          #F4F5F2;
	--white:         #FFFFFF;

	--ink:           #15211C;
	--ink-soft:      #4A5752;
	--ink-mute:      #7A8580;

	--primary:       #0B5A3C;
	--primary-dark:  #0B3D2C;
	--primary-deep:  #062319;
	--primary-soft:  #E4EFE9;

	--accent:        var(--orange);
	--accent-dark:   var(--orange);
	--accent-soft:   var(--orange-soft);

	--line:          #DCE1DD;
	--line-dark:     rgba(255, 255, 255, .16);

	--radius-s:      6px;
	--radius:        10px;

	--shadow:        0 1px 2px rgba(10, 30, 22, .06), 0 10px 30px rgba(10, 30, 22, .08);
	--shadow-lg:     0 20px 50px rgba(0, 0, 0, .35);

	--font-body:     "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	--font-num:      "Barlow Condensed", "Noto Sans JP", sans-serif;

	--wrap:          1180px;
	--wrap-narrow:   880px;
	--gutter:        24px;
	--header-h:      76px;
}

/* --------------------------------------------------------------------------
   2. ベース
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
	margin: 0;
	background: var(--base);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.85;
	font-feature-settings: "palt";
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	text-size-adjust: 100%;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
button { font: inherit; }
b, strong { font-weight: 700; }

.icon { width: 1em; height: 1em; flex: none; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--ink); color: #fff; padding: 8px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

.l-container { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.l-container--narrow { width: min(var(--wrap-narrow), 100% - var(--gutter) * 2); }

.sp-only { display: none; }

/* --------------------------------------------------------------------------
   3. ボタン
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: 12px 26px;
	border: 2px solid transparent; border-radius: var(--radius-s);
	font-weight: 700; text-decoration: none; line-height: 1.3;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
	cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn small { font-size: .72em; font-weight: 700; white-space: nowrap; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px var(--orange-soft); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--primary small { background: #fff; color: var(--orange-text); padding: 1px 7px; border-radius: 3px; }

.btn--tel { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--tel:hover { background: #fff; color: var(--primary-dark); }
.btn--tel span { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--font-num); font-size: 1.5em; letter-spacing: .04em; line-height: 1.05; }
.btn--tel span small { font-family: var(--font-body); font-size: 11px; letter-spacing: .06em; opacity: .85; }

.btn--ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: #fff; }

.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 62px; padding: 14px 28px; font-size: 17px; }

/* --------------------------------------------------------------------------
   4. ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(8px);
}
.site-header__inner {
	height: var(--header-h);
	width: min(1320px, 100% - 40px); margin-inline: auto;
	display: flex; align-items: center; gap: 28px;
}
.site-header__brand { flex: none; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.25; }
.brand__name { font-size: 20px; font-weight: 900; letter-spacing: .04em; }
.brand__sub { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: .12em; }
.custom-logo { max-height: 48px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 22px; }
.site-nav__list a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.site-nav__list a:hover { color: var(--orange-text); }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header-tel__label { font-size: 10px; color: var(--ink-mute); font-weight: 700; }
.header-tel__num { font-family: var(--font-num); font-size: 26px; font-weight: 700; color: var(--primary-dark); text-decoration: none; letter-spacing: .03em; white-space: nowrap; }

/* --------------------------------------------------------------------------
   5. ファーストビュー
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: var(--primary-deep);
	isolation: isolate;
}
.hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse 60% 70% at 78% 30%, rgba(46, 120, 90, .45), transparent 70%),
		linear-gradient(180deg, #0E3326 0%, #062319 100%);
	background-size: cover;
	background-position: center;
}
.hero--has-bg .hero__bg { background-size: cover; background-position: center; }
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(4, 22, 16, .92) 0%, rgba(4, 22, 16, .78) 42%, rgba(4, 22, 16, .35) 100%);
}
.hero:not(.hero--has-bg) .hero__bg::after { background: none; }
.hero__skyline {
	position: absolute; left: 0; right: 0; bottom: 0;
	width: 100%; height: 62%;
	fill: rgba(255, 255, 255, .05);
}

.hero__inner {
	width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto;
	min-height: min(760px, calc(100vh - var(--header-h)));
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px;
	align-items: center;
	padding-block: 64px 72px;
}

.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 15px; font-weight: 700; letter-spacing: .08em;
}
.hero__eyebrow span {
	background: var(--accent); color: #fff;
	padding: 3px 10px; border-radius: 3px; font-size: 13px;
}

.hero__catch {
	margin-top: 20px;
	font-size: clamp(34px, 4.4vw, 58px);
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: .01em;
	/* 語の途中で折り返さない（BudouXが効くまでの保険。対応ブラウザのみ） */
	word-break: auto-phrase;
}
.hero__catch em { font-style: normal; color: var(--orange); }

.hero__sub { margin-top: 22px; font-size: 16px; color: rgba(255, 255, 255, .88); max-width: 34em; }

.hero__facts {
	display: grid; grid-template-columns: repeat(3, 1fr);
	margin-top: 30px; max-width: 560px;
	border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.hero__facts li { padding: 14px 8px 12px 0; display: flex; flex-direction: column; }
.hero__facts li + li { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.hero__facts .num { font-family: var(--font-num); font-size: 44px; font-weight: 700; line-height: 1; color: #fff; white-space: nowrap; }
.hero__facts .num small { font-family: var(--font-body); font-size: 15px; margin-left: 2px; }
.hero__facts .num--text { font-family: var(--font-body); font-size: 26px; font-weight: 900; line-height: 1.7; }
.hero__facts .label { font-size: 12px; color: rgba(255, 255, 255, .72); margin-top: 6px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, .66); }

/* 重ねる写真 */
.hero__visual { position: relative; height: 560px; }
.hero__photo {
	position: absolute; overflow: hidden;
	border: 6px solid #fff; border-radius: 4px;
	background: #ddd;
	box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo figcaption {
	position: absolute; left: 0; bottom: 0;
	background: rgba(6, 35, 25, .88); color: #fff;
	font-size: 11px; font-weight: 700; padding: 4px 10px; letter-spacing: .04em;
}
.hero__photo--1 { top: 0; right: 0; width: 76%; height: 62%; transform: rotate(1.2deg); z-index: 1; }
.hero__photo--2 { left: 0; bottom: 4%; width: 50%; height: 46%; transform: rotate(-2deg); z-index: 2; }
.hero__photo--3 { right: 4%; bottom: 0; width: 42%; height: 36%; transform: rotate(1.6deg); z-index: 3; }

.hero__badge {
	position: absolute; left: 4%; top: 12%; z-index: 4;
	display: flex; align-items: center; gap: 10px;
	background: var(--accent); color: #fff;
	padding: 10px 16px; border-radius: var(--radius-s);
	font-size: 13px; line-height: 1.4; font-weight: 500;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}
.hero__badge .icon { width: 26px; height: 26px; }
.hero__badge b { display: block; font-size: 15px; }

/* --------------------------------------------------------------------------
   6. 実績の帯
   -------------------------------------------------------------------------- */
.trust { background: var(--primary); color: #fff; }
.trust__list {
	width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto;
	display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust__list li { padding: 20px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust__list li + li { border-left: 1px solid var(--line-dark); }
.trust__en { font-family: var(--font-num); font-size: 13px; letter-spacing: .16em; color: var(--orange); }
.trust__val { font-size: 15px; font-weight: 700; line-height: 1.5; }
.trust__val b { font-family: var(--font-num); font-size: 30px; margin-inline: 2px; }

/* --------------------------------------------------------------------------
   7. セクション共通
   -------------------------------------------------------------------------- */
.section { padding-block: 104px; }

.section-head { margin-bottom: 52px; }
.section-head__en {
	display: flex; align-items: center; gap: 12px;
	font-family: var(--font-num); font-size: 16px; font-weight: 700; letter-spacing: .2em;
	color: var(--orange-text);
}
.section-head__en::before { content: ""; width: 28px; height: 3px; background: var(--accent); }
.section-head__title { margin-top: 10px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; line-height: 1.4; }
.section-head__lead { margin-top: 16px; color: var(--ink-soft); max-width: 46em; }

.section-head--light .section-head__title { color: #fff; }
.section-head--light .section-head__lead { color: rgba(255, 255, 255, .78); }
.section-head--light .section-head__en { color: var(--orange); }

/* --------------------------------------------------------------------------
   8. お困りごと
   -------------------------------------------------------------------------- */
.section--worries { background: var(--white); }
.worries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.worry {
	background: var(--base); border: 1px solid var(--line); border-top: 4px solid var(--primary);
	border-radius: var(--radius-s);
	padding: 24px 18px;
}
.worry__icon {
	display: grid; place-items: center;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--primary-soft); color: var(--primary);
}
.worry__icon .icon { width: 26px; height: 26px; }
.worry__text { margin-top: 14px; font-size: 15px; line-height: 1.7; }
.worry__text b { color: var(--primary-dark); background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }

.worries-answer {
	margin-top: 40px; position: relative;
	background: var(--primary-dark); color: #fff;
	border-radius: var(--radius); padding: 30px 36px;
}
.worries-answer::before {
	content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	border: 14px solid transparent; border-bottom-color: var(--primary-dark); border-top: 0;
}
.worries-answer__title { font-size: 22px; font-weight: 900; }
.worries-answer__text { margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: 15px; }

/* --------------------------------------------------------------------------
   9. 選ばれる理由
   -------------------------------------------------------------------------- */
.reasons { display: flex; flex-direction: column; gap: 28px; }
.reason {
	display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch;
	background: var(--white); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow);
}
.reason:nth-child(even) { grid-template-columns: 1.15fr 1fr; }
.reason:nth-child(even) .reason__img { order: 2; }
.reason__img { min-height: 320px; }
.reason__img img { width: 100%; height: 100%; object-fit: cover; }
.reason__body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.reason__no { font-family: var(--font-num); font-size: 15px; font-weight: 700; letter-spacing: .14em; color: var(--orange-text); }
.reason__no span { font-size: 44px; margin-left: 4px; vertical-align: -4px; }
.reason__title { margin-top: 6px; font-size: 26px; font-weight: 900; line-height: 1.5; }
.reason__text { margin-top: 16px; color: var(--ink-soft); font-size: 15px; }

/* --------------------------------------------------------------------------
   10. 対応範囲
   -------------------------------------------------------------------------- */
.section--scope { background: var(--white); }
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scope__group { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--base); }
.scope__title { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 900; padding-bottom: 14px; border-bottom: 2px solid var(--primary); }
.scope__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--primary); color: #fff; }
.scope__icon .icon { width: 22px; height: 22px; }
.scope__list { margin-top: 14px; }
.scope__list li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px dashed var(--line); font-size: 15px; font-weight: 500; }
.scope__list li:last-child { border-bottom: 0; }
.scope__list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }

.scope-sub { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scope-sub__item { background: var(--primary-soft); border-radius: var(--radius); padding: 20px 24px; }
.scope-sub__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--primary); }
.scope-sub__label .icon { width: 20px; height: 20px; }
.scope-sub__text { margin-top: 4px; font-size: 16px; font-weight: 700; }

/* --------------------------------------------------------------------------
   11. 施工事例
   -------------------------------------------------------------------------- */
.section--cases { background: var(--primary-deep); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
.case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: relative; }
.case__pair::after {
	content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
	box-shadow: 0 0 0 4px var(--primary-deep);
}
.case__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0d2c21; border-radius: 4px; }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case__tag {
	position: absolute; left: 8px; top: 8px; z-index: 1;
	background: rgba(0, 0, 0, .7); color: #fff;
	font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 3px;
}
.case__tag--after { background: var(--accent); }
.case__cap { margin-top: 10px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.case__cap span { font-size: 12px; border: 1px solid rgba(255, 255, 255, .5); padding: 0 8px; border-radius: 3px; }

.gallery { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line-dark); }
.gallery__title { font-size: 22px; font-weight: 900; }
.gallery__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gallery__filters button {
	background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4);
	padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer;
}
.gallery__filters button.is-active,
.gallery__filters button:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }
.gallery__grid { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gallery__item { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #0d2c21; }
.gallery__item[hidden] { display: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__label {
	position: absolute; right: 6px; bottom: 6px;
	background: rgba(0, 0, 0, .65); font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 3px;
}

/* --------------------------------------------------------------------------
   12. 流れ
   -------------------------------------------------------------------------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: flow; }
.flow__step {
	position: relative;
	background: var(--white); border-radius: var(--radius-s);
	padding: 24px 16px 22px; box-shadow: var(--shadow);
}
.flow__step:not(:last-child)::after {
	content: ""; position: absolute; right: -11px; top: 46px; z-index: 1;
	border: 8px solid transparent; border-left: 10px solid var(--accent);
	border-right: 0;
}
.flow__no { font-family: var(--font-num); font-size: 34px; font-weight: 700; line-height: 1; color: var(--accent); }
.flow__icon { position: absolute; right: 14px; top: 22px; color: var(--primary); }
.flow__icon .icon { width: 28px; height: 28px; }
.flow__title { margin-top: 16px; font-size: 16px; font-weight: 900; line-height: 1.4; }
.flow__title em { font-style: normal; font-size: 11px; background: var(--accent); color: #fff; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.flow__text { margin-top: 8px; font-size: 13px; color: var(--ink-soft); line-height: 1.75; }

/* --------------------------------------------------------------------------
   13. 会社概要
   -------------------------------------------------------------------------- */
.section--company { background: var(--white); }
.company { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.company__catch { font-size: 28px; font-weight: 900; line-height: 1.5; }
.company__catch b { font-family: var(--font-num); font-size: 1.6em; color: var(--primary); margin-inline: 2px; }
.company__text { margin-top: 16px; color: var(--ink-soft); font-size: 15px; }

.offices { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.office { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 18px; display: grid; grid-template-columns: 7.5em 1fr; gap: 2px 12px; font-size: 14px; }
.office__label { font-weight: 700; }
.office__note { grid-column: 2; font-size: 12px; font-weight: 700; color: var(--orange-text); }
.office--main { border: 2px solid var(--accent); background: var(--accent-soft); }

.company__table { margin: 0; border-top: 2px solid var(--primary); }
.company__row { display: grid; grid-template-columns: 9em 1fr; border-bottom: 1px solid var(--line); }
.company__row dt { padding: 14px 12px; font-size: 14px; font-weight: 700; background: var(--base); }
.company__row dd { margin: 0; padding: 14px 16px; font-size: 14px; }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq { background: var(--white); border-radius: var(--radius-s); border: 1px solid var(--line); }
.faq__q {
	display: flex; align-items: flex-start; gap: 14px;
	padding: 18px 56px 18px 20px; position: relative;
	font-weight: 700; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: ""; position: absolute; right: 22px; top: 26px;
	width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
	transform: rotate(45deg); transition: transform .2s;
}
.faq[open] .faq__q::after { transform: rotate(-135deg); top: 32px; }
.faq__mark {
	flex: none; display: grid; place-items: center;
	width: 32px; height: 32px; border-radius: 4px;
	background: var(--primary); color: #fff;
	font-family: var(--font-num); font-size: 20px; line-height: 1;
}
.faq__mark--a { background: var(--accent); }
.faq__q-text { padding-top: 2px; line-height: 1.6; }
.faq__a { display: flex; gap: 14px; padding: 0 24px 22px 20px; }
.faq__a p { padding-top: 2px; color: var(--ink-soft); font-size: 15px; }

/* --------------------------------------------------------------------------
   15. コラム
   -------------------------------------------------------------------------- */
.section--column { background: var(--white); }
.column-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.column-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.column-card__link { display: block; color: var(--ink); text-decoration: none; }
.column-card__thumb { aspect-ratio: 16 / 9; background: var(--primary-soft); display: grid; place-items: center; overflow: hidden; }
.column-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.column-card__noimg { color: var(--primary); }
.column-card__noimg .icon { width: 42px; height: 42px; }
.column-card__body { padding: 18px 20px; }
.column-card__title { font-size: 16px; line-height: 1.6; }
.column-card__date { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-mute); }
.column-more { margin-top: 32px; text-align: center; }

/* --------------------------------------------------------------------------
   16. お問い合わせ
   -------------------------------------------------------------------------- */
.section--contact { background: linear-gradient(180deg, var(--primary-dark), var(--primary-deep)); color: #fff; }
.contact-head { text-align: center; }
.contact-head .section-head__en { justify-content: center; color: var(--orange); }
.contact-head__title { margin-top: 10px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; }
.contact-head__lead { margin-top: 14px; color: rgba(255, 255, 255, .8); }

.contact-cards { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px 28px; text-align: center; }
.contact-card__label { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--primary); }
.contact-card__label .icon { width: 20px; height: 20px; }
.contact-card__tel { display: block; margin-top: 4px; font-family: var(--font-num); font-size: 48px; font-weight: 700; line-height: 1.15; color: var(--primary-dark); text-decoration: none; letter-spacing: .03em; }
.contact-card__promise { margin-top: 6px; font-size: 22px; font-weight: 900; line-height: 1.45; }
.contact-card__note { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }

.contact-form { margin-top: 16px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 36px 40px; }
.form-fallback { text-align: center; }
.form-fallback__text { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.contact-privacy { margin-top: 16px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); }

/* Contact Form 7 */
.contact-form .wpcf7 p { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.contact-form .req { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; padding: 0 6px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
	width: 100%; padding: 12px 14px; font: inherit; font-size: 16px;
	border: 1px solid #C9D0CC; border-radius: var(--radius-s); background: #FAFBFA;
}
.contact-form textarea { min-height: 160px; }
.contact-form .wpcf7-list-item { margin: 0 16px 6px 0; }
.contact-form .form-note { display: block; font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.contact-form input[type="submit"] {
	display: block; width: 100%; max-width: 420px; margin: 8px auto 0;
	min-height: 62px; border: 0; border-radius: var(--radius-s);
	background: var(--accent); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer;
}
.contact-form input[type="submit"]:hover { background: var(--accent-dark); }

/* --------------------------------------------------------------------------
   17. フッター・追従CTA
   -------------------------------------------------------------------------- */
.site-footer { background: #0A1511; color: rgba(255, 255, 255, .7); padding-block: 48px 40px; font-size: 13px; }
.site-footer__inner { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; }
.site-footer__name { color: #fff; font-size: 18px; font-weight: 900; }
.site-footer__meta { margin-top: 8px; line-height: 1.9; }
.site-footer__tel { color: #fff; text-decoration: none; font-weight: 700; }
.site-footer__menu { display: flex; flex-direction: column; gap: 6px; }
.site-footer__menu a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer__menu a:hover { color: #fff; }
.site-footer__copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }

.sticky-cta { display: none; }

/* --------------------------------------------------------------------------
   18. 下層ページ
   -------------------------------------------------------------------------- */
.page-head { background: var(--primary-dark); color: #fff; padding-block: 48px; }
.breadcrumb { font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-head__title { margin-top: 12px; font-size: 32px; font-weight: 900; }
.page-head__title--article { font-size: 28px; }
.page-head__lead { margin-top: 8px; color: rgba(255, 255, 255, .8); }
.column-meta { margin-top: 10px; display: flex; gap: 16px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.column-archive, .page-body, .column-body { padding-block: 56px 88px; }
.page-body--center { text-align: center; }
.entry__title { font-size: 28px; margin-bottom: 24px; }
.entry__content h2 { font-size: 24px; margin: 48px 0 16px; padding: 10px 16px; border-left: 5px solid var(--accent); background: var(--white); }
.entry__content h3 { font-size: 20px; margin: 36px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--primary); }
.entry__content p { margin: 0 0 1.4em; }
.entry__content ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1.4em; }
.entry__content ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1.4em; }
.entry__content img { border-radius: var(--radius-s); }
.entry__content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; font-size: 15px; }
.entry__content th, .entry__content td { border: 1px solid var(--line); padding: 10px 12px; }
.entry__content th { background: var(--primary-soft); }
.column-body__thumb { margin-bottom: 32px; }
.column-author { margin-top: 56px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.column-author__role { font-size: 12px; font-weight: 700; color: var(--orange-text); }
.column-author__name { font-size: 18px; font-weight: 900; }
.column-author__meta { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.column-empty { text-align: center; color: var(--ink-mute); }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-numbers { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; text-decoration: none; }
.page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --------------------------------------------------------------------------
   19. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
	.site-nav { display: none; }
	.site-header__actions { margin-left: auto; }
	.flow { grid-template-columns: repeat(3, 1fr); }
	.flow__step:nth-child(3n)::after { display: none; }
}

@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-block: 48px 56px; }
	.hero__bg::after { background: linear-gradient(180deg, rgba(4, 22, 16, .7) 0%, rgba(4, 22, 16, .9) 55%, rgba(4, 22, 16, .96) 100%); }
	.hero__visual { height: 440px; }
	.worries { grid-template-columns: repeat(2, 1fr); }
	.reason, .reason:nth-child(even) { grid-template-columns: 1fr; }
	.reason:nth-child(even) .reason__img { order: 0; }
	.reason__img { min-height: 0; aspect-ratio: 16 / 9; }
	.scope, .scope-sub { grid-template-columns: 1fr; }
	.cases { grid-template-columns: 1fr; }
	.company { grid-template-columns: 1fr; gap: 36px; }
	.column-list { grid-template-columns: 1fr 1fr; }
	.trust__list { grid-template-columns: repeat(2, 1fr); }
	.trust__list li:nth-child(3) { border-left: 0; }
	.trust__list li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; --header-h: 60px; }
	body { font-size: 15px; padding-bottom: 64px; }
	.sp-only { display: inline; }
	.pc-only { display: none; }

	.site-header__inner { width: calc(100% - 32px); }
	.site-header__inner { gap: 10px; }
	.brand__name { font-size: 15px; white-space: nowrap; }
	.brand__sub { font-size: 10px; }
	.site-header__actions .btn { display: none; }
	.header-tel__label { display: none; }
	.header-tel__num { font-size: 20px; }

	.section { padding-block: 68px; }
	.section-head { margin-bottom: 32px; }

	.hero__catch { font-size: 31px; }
	.hero__eyebrow { font-size: 13px; flex-wrap: wrap; gap: 8px; }
	.hero__sub { font-size: 14px; }
	.hero__facts .num { font-size: 30px; }
	.hero__facts .num small { font-size: 12px; }
	.hero__facts .num--text { font-size: 19px; line-height: 1.8; }
	.hero__facts li + li { padding-left: 10px; }
	.hero__facts .label { font-size: 11px; line-height: 1.5; }
	.hero__actions { flex-direction: column; }
	.hero__actions .btn { width: 100%; }
	.hero__actions .btn--primary { font-size: 16px; padding-inline: 14px; gap: .45em; }
	.hero__visual { height: 320px; }
	.hero__photo { border-width: 4px; }
	.hero__badge { top: auto; bottom: 38%; left: 0; font-size: 11px; padding: 8px 12px; }
	.hero__badge b { font-size: 13px; }

	.trust__list li { padding: 14px 6px; }
	.trust__val { font-size: 12px; }
	.trust__val b { font-size: 22px; white-space: nowrap; }
	.hero__photo figcaption { display: none; }

	.worries { grid-template-columns: 1fr; gap: 10px; }
	.worry { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top-width: 1px; border-left: 4px solid var(--primary); }
	.worry__icon { width: 40px; height: 40px; }
	.worry__text { margin-top: 0; font-size: 14px; }
	.worries-answer { padding: 22px 20px; }
	.worries-answer__title { font-size: 18px; }

	.reason__body { padding: 26px 22px 30px; }
	.reason__title { font-size: 21px; }

	.scope__group { padding: 22px 18px; }

	.gallery__grid { grid-template-columns: repeat(2, 1fr); }

	.flow { grid-template-columns: 1fr; gap: 10px; }
	.flow__step { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding: 18px 16px; }
	.flow__step::after { display: none !important; }
	.flow__no { grid-row: span 2; font-size: 30px; }
	.flow__icon { display: none; }
	.flow__title { margin-top: 0; }
	.flow__text { margin-top: 2px; }

	.company__catch { font-size: 22px; }
	.office { grid-template-columns: 1fr; }
	.office__note { grid-column: 1; }
	.company__row { grid-template-columns: 1fr; }
	.company__row dt { padding: 8px 12px; }
	.company__row dd { padding: 10px 12px 14px; }

	.faq__q { padding: 14px 44px 14px 14px; gap: 10px; font-size: 15px; }
	.faq__q::after { right: 16px; top: 22px; }
	.faq[open] .faq__q::after { top: 28px; }
	.faq__a { padding: 0 16px 18px 14px; gap: 10px; }
	.faq__mark { width: 28px; height: 28px; font-size: 18px; }

	.column-list { grid-template-columns: 1fr; }

	.contact-cards { grid-template-columns: 1fr; }
	.contact-card__tel { font-size: 40px; }
	.contact-form { padding: 24px 18px; }

	.site-footer__inner { grid-template-columns: 1fr; }
	.sticky-cta {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
		display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
	}
	.sticky-cta a { display: grid; place-items: center; min-height: 48px; border-radius: var(--radius-s); font-weight: 700; text-decoration: none; font-size: 15px; }
	.sticky-cta__tel { border: 2px solid var(--primary); color: var(--primary); }
	.sticky-cta__form { background: var(--accent); color: #fff; }
}

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