/*
Theme Name: Wako Renewal
Theme URI: https://media-rise.jp/
Author: メディアライズ株式会社
Description: 和興建材株式会社 リニューアル事業サイトの自作テーマ。ACF PRO・Contact Form 7 前提。
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: wako-renewal
*/

/* =========================================================================
   0. 変数（色はコーポレートカラーの確認待ち。ここを差し替えれば全体が変わる）
   ====================================================================== */
:root {
	--c-dark: #12352c;       /* 濃い緑：CTA帯・フッター・ボタン */
	--c-main: #35a087;       /* 主色：見出しの線・強調 */
	--c-main-deep: #2b8670;
	--c-pale: #eaf0ec;       /* 薄い地 */
	--c-pale-2: #f6f8f7;
	--c-mint: #e9f8f3;       /* 表の強調セル */
	--c-brown: #8a5a2b;      /* 注意のカードの縦線 */
	--c-text: #222;
	--c-sub: #5a625f;
	--c-line: #d5ddd9;
	--c-white: #fff;
	--c-ph: #e3e6e5;         /* 写真のあたりの枠 */
	--c-flag: #b0451f;       /* ［要監修］［要確認］の目印 */

	--ff: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--ff-script: "Caveat", cursive;

	--inner: 1100px;
	--inner-narrow: 820px;
	--gutter: 20px;
	--header-h: 84px;
	--radius: 2px;
	--shadow: 0 2px 10px rgba(18, 53, 44, .08);
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1100px) {
	:root { --header-h: 64px; }
}

/* =========================================================================
   1. 基本
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--ff);
	font-size: 16px;
	line-height: 1.85;
	color: var(--c-text);
	background: var(--c-white);
	font-feature-settings: "palt" 0;
	overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--c-main); outline-offset: 2px; }

.u-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.u-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--c-dark); color: #fff; padding: 8px 16px; }
.u-skip:focus { left: 8px; top: 8px; }
.u-center { text-align: center; }
.u-dummy-notice {
	position: sticky; top: var(--header-h); z-index: 40;
	background: #fff6d6; color: #6b4b00; font-size: 12px; text-align: center; padding: 4px 12px;
	border-bottom: 1px solid #f0d98a;
}
.c-flag { color: var(--c-flag); font-size: .85em; font-weight: 500; white-space: nowrap; }

.l-inner { width: 100%; max-width: calc(var(--inner) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.l-inner--narrow { max-width: calc(var(--inner-narrow) + var(--gutter) * 2); }
.l-main { display: block; }

/* =========================================================================
   2. ヘッダー（追従）
   ====================================================================== */
.l-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(6px);
	transition: box-shadow .3s;
}
.l-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.l-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	height: var(--header-h); padding-left: 20px;
}
.l-header__tagline { font-size: 11px; line-height: 1.4; color: var(--c-sub); margin-bottom: 4px; }
.c-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--c-text); white-space: nowrap; }
.c-logo__img { max-height: 40px; width: auto; }
.c-logo__mark {
	display: inline-grid; place-items: center;
	width: 36px; height: 36px; border: 2px solid var(--c-dark); border-radius: 50%;
	font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: .05em; color: var(--c-dark);
}
.c-logo__mark--white { border-color: #fff; color: #fff; margin-right: 8px; }
.c-logo__name { font-size: 19px; font-weight: 700; letter-spacing: .04em; }
.c-logo__division { font-size: 13px; padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--c-line); }

.l-nav { display: flex; align-items: stretch; height: 100%; }
.l-nav__list { display: flex; align-items: center; gap: 4px; margin-right: 20px; }
.l-nav__list a {
	position: relative; display: block; padding: 8px 12px;
	font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.l-nav__list a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
	background: var(--c-main); transform: scaleX(0); transition: transform .3s var(--ease);
}
.l-nav__list a:hover::after, .l-nav__list a[aria-current]::after { transform: scaleX(1); }
.l-nav__list a[aria-current] { color: var(--c-main-deep); }
.l-nav__ext { width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; }
.l-nav__cta {
	display: flex; align-items: center; gap: 12px;
	padding: 0 28px; background: var(--c-dark); color: #fff; text-decoration: none;
	font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .3s;
}
.l-nav__cta:hover { background: var(--c-main-deep); }
.l-nav__cta .c-icon--mail { width: 22px; height: 22px; }
.l-nav__cta-arrow { width: 30px; height: 18px; transition: transform .3s var(--ease); }
.l-nav__cta:hover .l-nav__cta-arrow { transform: translateX(4px); }
.l-header__toggle { display: none; }

@media (max-width: 1280px) {
	.l-header__tagline { display: none; }
	.l-nav__list a { padding-inline: 8px; font-size: 13px; }
	.l-nav__cta { padding: 0 18px; }
	.l-nav__cta-arrow { display: none; }
}
@media (max-width: 1100px) {
	.l-header__inner { padding-left: 16px; }
	.c-logo__name { font-size: 16px; }
	.c-logo__division { font-size: 11px; }
	.l-header__toggle {
		display: grid; place-content: center; gap: 6px;
		width: var(--header-h); height: var(--header-h); border: 0; background: var(--c-dark); cursor: pointer;
	}
	.l-header__toggle span:not(.u-sr) { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
	.l-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.l-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.l-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.l-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; height: auto; max-height: calc(100dvh - var(--header-h));
		flex-direction: column; overflow-y: auto; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.08);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s;
	}
	.l-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.l-nav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px; }
	.l-nav__list a { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--c-line); }
	.l-nav__list a::after { display: none; }
	.l-nav__cta { justify-content: center; padding: 18px; margin: 12px 20px 24px; }
}
@media (max-width: 520px) {
	.c-logo__division { display: none; }
}

/* =========================================================================
   3. フッター
   ====================================================================== */
.l-footer { position: relative; background: var(--c-dark); color: #fff; padding: 56px 0 28px; text-align: center; }
.l-footer__supervisor { font-weight: 700; font-size: 15px; line-height: 1.6; margin-bottom: 32px; }
.l-footer__supervisor span { display: block; }
.l-footer__tagline { font-size: 12px; margin-bottom: 6px; }
.l-footer__name { display: inline-flex; align-items: center; font-size: 20px; letter-spacing: .04em; }
.l-footer__address { font-size: 13px; margin-top: 6px; }
.l-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin: 36px auto 0; max-width: 760px; }
.l-footer__nav a { font-size: 13px; font-weight: 500; text-decoration: none; }
.l-footer__nav a:hover { text-decoration: underline; }
.l-footer__copy { margin-top: 40px; font-size: 11px; opacity: .85; }
.l-footer__pagetop {
	position: fixed; right: 16px; bottom: 16px; z-index: 30;
	display: grid; place-items: center; width: 48px; height: 48px;
	background: var(--c-main); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.l-footer__pagetop.is-show { opacity: 1; visibility: visible; }
.l-footer__pagetop .c-icon { width: 22px; height: 22px; transform: rotate(-90deg); }

/* =========================================================================
   4. 共通部品
   ====================================================================== */
.c-icon { width: 1em; height: 1em; flex-shrink: 0; }

/* 写真のあたり（空のときのグレーの枠） */
.c-ph {
	display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px;
	background:
		linear-gradient(135deg, transparent 49.6%, rgba(0,0,0,.06) 50%, transparent 50.4%),
		linear-gradient(45deg, transparent 49.6%, rgba(0,0,0,.06) 50%, transparent 50.4%),
		var(--c-ph);
	color: #6f7774; font-size: 13px; text-align: center; padding: 12px;
}
.c-ph span { background: rgba(255,255,255,.8); padding: 2px 8px; }
.c-img { width: 100%; height: 100%; object-fit: cover; }

/* セクション */
.p-sec { padding: 88px 0; }
.p-sec--pale { background: var(--c-pale); }
.p-sec + .p-sec:not(.p-sec--pale):not([class*="p-sec--"]) { padding-top: 40px; }
@media (max-width: 760px) { .p-sec { padding: 56px 0; } }

/* 見出し */
.c-heading { text-align: center; margin-bottom: 40px; }
.c-heading__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--c-dark); }
.c-heading__title::after { content: ""; display: block; width: 56px; height: 3px; margin: 16px auto 0; background: var(--c-main); }
.c-heading__en { margin-top: 6px; font-size: 14px; letter-spacing: .12em; color: var(--c-dark); }
.c-heading__lead { margin-top: 18px; font-size: 15px; color: var(--c-sub); }
.c-barhead { font-size: 18px; font-weight: 700; color: #fff; background: var(--c-main); padding: 10px 20px; margin-bottom: 24px; line-height: 1.5; }
.c-subhead { font-size: 18px; font-weight: 700; color: var(--c-dark); border-left: 4px solid var(--c-main); padding-left: 12px; margin: 32px 0 12px; line-height: 1.5; }
.c-catch {
	text-align: center; font-weight: 700; font-size: 17px; margin: -12px auto 36px; max-width: 900px;
	text-decoration: underline; text-decoration-color: var(--c-main); text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.c-catch--main { color: var(--c-main-deep); }

/* 本文 */
.c-prose p + p { margin-top: 1em; }
.c-prose--center { text-align: center; max-width: 820px; margin-inline: auto; }
@media (max-width: 760px) { .c-prose--center { text-align: left; } }
.c-entry h2 { font-size: 22px; margin: 2em 0 .8em; color: var(--c-dark); }
.c-entry h3 { font-size: 18px; margin: 1.6em 0 .6em; }
.c-entry ul { list-style: disc; padding-left: 1.4em; margin: 1em 0; }
.c-entry ol { list-style: decimal; padding-left: 1.4em; margin: 1em 0; }
.c-entry a { color: var(--c-main-deep); }

/* ボタン */
.c-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 24px;
	min-width: 300px; min-height: 56px; padding: 12px 72px 12px 40px;
	font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.5;
	border: 2px solid var(--c-dark); transition: background .3s, color .3s;
	cursor: pointer;
}
.c-btn--dark { background: var(--c-dark); color: #fff; }
.c-btn--dark:hover { background: var(--c-main-deep); border-color: var(--c-main-deep); }
.c-btn--line { background: #fff; color: var(--c-dark); }
.c-btn--line:hover { background: var(--c-pale); }
.c-btn--white { background: #fff; color: var(--c-dark); border-color: #fff; }
.c-btn__arrow { position: absolute; right: -18px; top: 50%; width: 46px; height: 24px; transform: translateY(-50%); color: var(--c-main); transition: transform .3s var(--ease); }
.c-btn:hover .c-btn__arrow { transform: translate(5px, -50%); }
.c-btn__arrow.c-icon--external, .c-btn__arrow.c-icon--download { right: 24px; width: 18px; height: 18px; color: currentColor; }
.c-btn:hover .c-icon--external, .c-btn:hover .c-icon--download { transform: translateY(-50%); }
.c-btn.is-disabled, .c-btn:disabled { opacity: .5; cursor: not-allowed; }
.u-center .c-btn, p > .c-btn { margin-top: 40px; }
@media (max-width: 520px) { .c-btn { min-width: 0; width: calc(100% - 20px); padding-inline: 24px 56px; } }

.c-textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--c-main-deep); font-weight: 700; font-size: 14px; text-decoration: none; margin-top: 16px; }
.c-textlink .c-icon { width: 28px; height: 16px; transition: transform .3s var(--ease); }
.c-textlink:hover .c-icon { transform: translateX(4px); }

/* 本文中の相談の案内（テキストリンク） */
.c-inline-cta { margin: 32px auto 0; text-align: center; }
.c-inline-cta a {
	display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-main-deep);
	text-decoration: underline; text-underline-offset: 5px;
}
.c-inline-cta .c-icon { width: 30px; height: 18px; flex-shrink: 0; }

/* 部品A カード */
.c-cards { display: grid; gap: 20px; }
.c-cards--2 { grid-template-columns: repeat(2, 1fr); }
.c-cards--3 { grid-template-columns: repeat(3, 1fr); }
.c-cards--1 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
@media (max-width: 760px) { .c-cards--2, .c-cards--3 { grid-template-columns: 1fr; } }
.c-card { background: #fff; padding: 28px 24px; text-align: center; }
.c-cards--frame .c-card { border: 3px solid var(--c-main); }
.c-card__icon { color: var(--c-main); margin-bottom: 10px; }
.c-card__icon .c-icon { width: 44px; height: 44px; }
.c-card__title { font-size: 18px; font-weight: 700; line-height: 1.5; }
.c-card__title em { font-style: normal; font-size: 1.8em; line-height: 1; margin: 0 2px; }
.c-card__text { margin-top: 8px; font-size: 14px; color: var(--c-sub); text-align: left; }
.c-cards--frame .c-card__text { text-align: center; }
.c-card--side { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; text-align: left; align-items: start; }
.c-card--side .c-card__icon { grid-row: span 2; margin: 0; }
.c-card--side .c-card__text { margin-top: 0; }
.c-card--strength { background: var(--c-main); color: #fff; }
.c-card--strength .c-card__icon { color: #fff; }
.c-card--strength .c-card__text { color: #fff; }

/* 部品B 表 */
.c-table { margin: 32px auto 0; max-width: 980px; }
.c-table__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.c-table table { min-width: 560px; background: #fff; }
.c-table th, .c-table td { border: 1px solid var(--c-line); padding: 14px 16px; text-align: center; font-size: 15px; line-height: 1.6; }
.c-table thead th { background: var(--c-main); color: #fff; font-weight: 700; }
.c-table tbody th { color: var(--c-main-deep); font-weight: 700; background: #fff; }
.c-table tbody td { font-weight: 700; }
.c-table .is-hl { background: var(--c-mint); color: var(--c-main-deep); border-left: 3px solid var(--c-main); border-right: 3px solid var(--c-main); }
.c-table thead .is-hl { background: var(--c-main); color: #fff; border-top: 3px solid var(--c-main); }
.c-table tbody tr:last-child .is-hl { border-bottom: 3px solid var(--c-main); }
.c-table__note { margin-top: 10px; font-size: 12px; color: var(--c-sub); }

/* 部品C 帯 */
.c-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 40px; padding: 28px 36px; }
.c-band--line { border: 3px solid var(--c-dark); background: var(--c-pale-2); }
.c-band--pale { background: var(--c-pale); }
.c-band--dark { background: var(--c-dark); color: #fff; }
.c-band__title { font-weight: 700; font-size: 16px; line-height: 1.6; }
.c-band__text { margin-top: 4px; font-size: 14px; }
.c-band .c-btn { margin: 0; flex-shrink: 0; min-width: 260px; }
@media (max-width: 760px) { .c-band { flex-direction: column; align-items: stretch; padding: 24px 20px; } .c-band .c-btn { min-width: 0; width: calc(100% - 20px); } }

/* 部品D メディア */
.c-media { background: #fff; }
.c-media .c-ph { aspect-ratio: 4 / 3; }
.c-media img { width: 100%; height: auto; }
.c-media figcaption { font-size: 12px; color: var(--c-sub); padding: 8px 4px 0; }

/* 番号付きリスト */
.c-numlist { background: #fff; padding: 24px 28px; }
.c-numlist__title { font-weight: 700; font-size: 16px; padding-left: 18px; position: relative; margin-bottom: 8px; }
.c-numlist__title::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px; background: var(--c-dark); }
.c-numlist li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; }
.c-numlist li:last-child { border-bottom: 0; }
.c-numlist__no { font-weight: 700; color: var(--c-main); }
.c-numlist__note { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--c-main-deep); }

/* 注記の箱 */
.c-notebox { margin-top: 28px; border: 3px solid var(--c-main); padding: 20px 24px; text-align: center; font-weight: 700; color: var(--c-main-deep); }
.c-notebox--left { text-align: left; color: var(--c-text); font-weight: 400; border-color: var(--c-line); }
.c-notebox--link a { text-decoration: underline; text-underline-offset: 5px; }
.c-callout { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 24px; margin-top: 32px; padding: 24px 28px; background: #fff; border: 3px solid var(--c-dark); }
.c-callout__title { font-weight: 700; color: var(--c-main-deep); font-size: 17px; padding-right: 24px; border-right: 1px solid var(--c-line); }
.c-callout__text { font-size: 13px; }
@media (max-width: 760px) { .c-callout { grid-template-columns: 1fr; } .c-callout__title { border: 0; padding: 0; } }

/* 定義リスト */
.c-deflist { margin-top: 28px; border-top: 1px solid var(--c-line); background: #fff; }
.c-deflist > div { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--c-line); }
.c-deflist dt { padding: 14px 20px; background: var(--c-pale-2); font-weight: 700; color: var(--c-main-deep); font-size: 14px; }
.c-deflist dd { padding: 14px 20px; font-size: 15px; }
@media (max-width: 600px) { .c-deflist > div { grid-template-columns: 1fr; } .c-deflist dt { padding-block: 8px; } }

/* タグ */
.c-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.c-tags a { display: inline-block; padding: 2px 12px; font-size: 13px; border: 1px solid var(--c-main); color: var(--c-main-deep); text-decoration: none; background: #fff; }
.c-tags a:hover { background: var(--c-main); color: #fff; }

/* チェックリスト */
.c-checklist { display: grid; gap: 12px; max-width: 760px; margin-inline: auto; }
.c-checklist li { display: flex; gap: 12px; align-items: center; background: #fff; padding: 16px 20px; font-weight: 700; }
.c-checklist .c-icon { width: 26px; height: 26px; color: var(--c-main); }

/* リンクのタイル（カテゴリ・ほかの入口） */
.c-catlinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-catlinks--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.c-catlinks a {
	display: flex; align-items: center; justify-content: center; position: relative;
	min-height: 64px; padding: 12px 40px; background: #fff; font-weight: 700; text-decoration: none; text-align: center;
	border: 1px solid var(--c-line); transition: border-color .3s, color .3s;
}
.c-catlinks a:hover { border-color: var(--c-main); color: var(--c-main-deep); }
.c-catlinks .c-icon { position: absolute; right: 16px; width: 18px; height: 18px; color: var(--c-main); }
@media (max-width: 760px) { .c-catlinks, .c-catlinks--2 { grid-template-columns: 1fr; } }
.c-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-tiles li { display: grid; place-items: center; min-height: 64px; padding: 12px; background: var(--c-pale); border: 1px solid #cfe2d9; font-weight: 700; text-align: center; box-shadow: var(--shadow); }
@media (max-width: 760px) { .c-tiles { grid-template-columns: repeat(2, 1fr); } }

/* 関連リンク */
.c-related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .c-related { grid-template-columns: 1fr; } }
.c-links { background: #fff; padding: 28px; border: 1px solid var(--c-line); }
.c-links__title { font-weight: 700; font-size: 17px; color: var(--c-dark); margin-bottom: 8px; }
.c-links__list li { border-bottom: 1px solid var(--c-line); }
.c-links__list a, .c-links__list span { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; font-size: 15px; }
.c-links__list a:hover { color: var(--c-main-deep); }
.c-links__list .c-icon { width: 16px; height: 16px; color: var(--c-main); }

/* 出典 */
.c-sources { margin-top: 24px; font-size: 13px; color: var(--c-sub); }
.c-sources__title { font-weight: 700; }
.c-sources li { margin-top: 4px; padding-left: 1em; text-indent: -1em; }
.c-sources li::before { content: "・"; }
.c-sources a { color: var(--c-main-deep); }
.c-sources .c-icon { width: 12px; height: 12px; margin-left: 4px; }

/* 施工会社の視点 */
.c-expert { margin-top: 48px; padding: 28px 32px; background: var(--c-pale); border-left: 6px solid var(--c-main); }
.c-expert__title { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--c-dark); margin-bottom: 12px; }
.c-expert__title .c-icon { width: 30px; height: 30px; color: var(--c-main); }

/* 特徴の箱（アイコン＋本文） */
.c-feature { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; max-width: 900px; margin-inline: auto; padding: 36px; border: 3px solid var(--c-main); }
.c-feature__icon { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--c-pale); color: var(--c-main); }
.c-feature__icon .c-icon { width: 64px; height: 64px; }
.c-feature__title { font-size: 22px; color: var(--c-dark); margin-bottom: 12px; }
.c-feature__body p + p { margin-top: .8em; }
@media (max-width: 760px) { .c-feature { grid-template-columns: 1fr; padding: 24px; } .c-feature__icon { width: 88px; height: 88px; } }

/* グリッド */
.c-grid { display: grid; gap: 24px; }
.c-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .c-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .c-grid--3 { grid-template-columns: 1fr; } }
.c-empty { text-align: center; color: var(--c-sub); padding: 40px 0; }

/* ページ送り */
.c-pager, .c-pager .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.c-pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--c-line); background: #fff; text-decoration: none; }
.c-pager .page-numbers.current { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }

/* パンくず */
.c-breadcrumb { background: #fff; }
.c-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; padding-block: 14px; font-size: 12px; }
.c-breadcrumb li + li::before { content: ""; display: inline-block; width: 24px; height: 1px; margin: 0 10px; background: var(--c-sub); vertical-align: middle; }
.c-breadcrumb a { color: var(--c-main-deep); text-decoration: none; }

/* =========================================================================
   5. 下層の共通ヘッダ
   ====================================================================== */
.c-pagehero__visual {
	position: relative; display: flex; align-items: center; min-height: 220px; overflow: hidden;
	background: linear-gradient(120deg, #7c8f88, #a9b8b2);
	color: #fff;
}
.c-pagehero__visual::after { content: ""; position: absolute; inset: 0; background: var(--c-dark); opacity: .6; }
.c-pagehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-pagehero__label { position: relative; z-index: 1; }
.c-pagehero__en { font-size: 13px; letter-spacing: .14em; }
.c-pagehero__name { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: .06em; line-height: 1.4; }
@media (max-width: 760px) { .c-pagehero__visual { min-height: 140px; } }

.c-pagehero__intro { display: grid; gap: 32px; padding-block: 24px 48px; }
.c-pagehero__intro.has-meta { grid-template-columns: 1fr 300px; align-items: start; }
.c-pagehero__h1 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.5; color: var(--c-dark); border-left: 4px solid var(--c-dark); padding-left: 16px; }
.c-pagehero__catch { margin-top: 10px; padding-left: 20px; font-size: 17px; font-weight: 700; color: var(--c-main-deep); }
.c-pagehero__lead { margin-top: 20px; font-size: 14px; }
@media (max-width: 860px) { .c-pagehero__intro.has-meta { grid-template-columns: 1fr; } }

.c-supervisor { display: flex; gap: 16px; align-items: center; padding-left: 28px; border-left: 1px solid var(--c-line); }
.c-supervisor__photo { width: 88px; height: 88px; min-height: 0; border-radius: 50%; flex-shrink: 0; font-size: 10px; }
.c-supervisor__meta { font-size: 12px; line-height: 1.8; }
.c-supervisor__meta dt:first-child { font-weight: 700; font-size: 13px; }
@media (max-width: 860px) { .c-supervisor { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--c-line); } }

.c-supervisor-box { display: flex; gap: 24px; align-items: center; margin: 48px 0 72px; padding: 24px 32px; background: var(--c-pale); }
.c-supervisor-box__photo { width: 88px; height: 88px; min-height: 0; border-radius: 50%; flex-shrink: 0; font-size: 10px; }
.c-supervisor-box__name { font-weight: 700; }
.c-supervisor-box__src, .c-supervisor-box__disclaimer { font-size: 12px; margin-top: 6px; }
.c-supervisor-box__src a { color: var(--c-main-deep); }
.c-supervisor-box__scope { display: block; }
.c-supervisor-box__history { font-size: 12px; text-align: right; margin-top: 6px; }
@media (max-width: 600px) { .c-supervisor-box { flex-direction: column; align-items: flex-start; padding: 20px; } }

.c-points { background: var(--c-pale); padding: 48px 0; }
.c-points__title { text-align: center; font-size: 22px; font-weight: 700; color: var(--c-dark); margin-bottom: 24px; }
.c-points__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-points__list a { position: relative; display: flex; gap: 14px; height: 100%; padding: 20px 20px 40px; background: #fff; text-decoration: none; transition: box-shadow .3s; }
.c-points__list a:hover { box-shadow: var(--shadow); }
.c-points__icon { width: 40px; height: 40px; color: var(--c-main); }
.c-points__label { display: block; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.c-points__text { display: block; font-size: 13px; margin-top: 4px; }
.c-points__arrow { position: absolute; left: 50%; bottom: 8px; display: grid; place-items: center; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--c-dark); color: #fff; }
.c-points__arrow .c-icon { width: 16px; height: 16px; }
@media (max-width: 760px) { .c-points__list { grid-template-columns: 1fr; } }

/* =========================================================================
   6. 相談の案内（CTA）
   ====================================================================== */
.c-cta { padding: 48px 0; text-align: center; }
.c-cta--dark { background: var(--c-dark); color: #fff; }
.c-cta--white { background: #fff; padding-top: 72px; }
.c-cta__title { display: inline-block; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; line-height: 1.6; padding-bottom: 14px; border-bottom: 2px solid currentColor; max-width: 100%; }
.c-cta--white .c-cta__title { border-color: var(--c-dark); width: min(600px, 100%); }
.c-cta--dark .c-cta__title { width: min(600px, 100%); }
.c-cta__text { margin-top: 16px; font-size: 14px; }
.c-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 24px; }
.c-cta__btn, .c-cta__tel {
	position: relative; display: flex; align-items: center; gap: 16px;
	width: 290px; min-height: 64px; padding: 10px 24px; text-decoration: none; font-weight: 700; border: 2px solid;
}
.c-cta--dark .c-cta__btn { background: #fff; color: var(--c-dark); border-color: #fff; }
.c-cta--dark .c-cta__tel { color: #fff; border-color: #fff; }
.c-cta--white .c-cta__btn { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.c-cta--white .c-cta__tel { color: var(--c-dark); border-color: var(--c-dark); }
.c-cta__btn span { flex: 1; font-size: 16px; }
.c-cta__icon { width: 28px; height: 28px; }
.c-cta__arrow { position: absolute; right: -24px; width: 46px; height: 24px; color: var(--c-main); transition: transform .3s var(--ease); }
.c-cta__btn:hover .c-cta__arrow { transform: translateX(5px); }
.c-cta__tel-label { font-size: 13px; font-weight: 400; }
.c-cta__tel-num { font-size: 24px; letter-spacing: .02em; }
.c-cta__hours { margin-top: 10px; font-size: 12px; }
.c-cta__sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-top: 24px; font-size: 14px; font-weight: 700; }
.c-cta__sub li + li::before { content: "|"; margin: 0 14px; color: var(--c-line); font-weight: 400; }
.c-cta__sub a { color: var(--c-main-deep); }
.c-cta--dark .c-cta__sub a { color: #bfe8dc; }
@media (max-width: 640px) {
	.c-cta__btn, .c-cta__tel { width: calc(100% - 24px); }
	.c-cta__sub { flex-direction: column; }
	.c-cta__sub li + li::before { display: none; }
}

/* =========================================================================
   7. TOP
   ====================================================================== */
.p-mv { position: relative; min-height: min(760px, calc(100svh - var(--header-h))); display: flex; overflow: hidden; }
.p-mv__bg { position: absolute; inset: 0; }
.p-mv__bg .c-ph { min-height: 100%; font-size: 15px; place-items: end end; padding: 24px; }
.p-mv__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.8) 38%, rgba(255,255,255,0) 62%); }
.p-mv__inner { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin-inline: auto; padding: 64px 40px 140px; display: flex; flex-direction: column; justify-content: center; }
.p-mv__content { max-width: 640px; }
.p-mv__title { line-height: 1.3; color: var(--c-dark); }
.p-mv__pre { display: block; font-size: clamp(18px, 2vw, 26px); font-weight: 700; }
.p-mv__main { display: block; font-size: clamp(40px, 5.4vw, 72px); font-weight: 700; letter-spacing: .04em; color: var(--c-main-deep); }
.p-mv__sub { margin-top: 12px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 700; }
.p-mv__numbers { display: flex; gap: 20px; margin-top: 28px; }
.p-mv__numbers li { display: grid; place-content: center; text-align: center; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.p-mv__num-label { font-size: 13px; font-weight: 700; line-height: 1.4; }
.p-mv__num-value { font-size: 42px; font-weight: 700; color: var(--c-main-deep); line-height: 1.1; }
.p-mv__num-value small { font-size: 15px; margin-left: 2px; }
.p-mv__btn {
	position: relative; display: inline-flex; align-items: center; gap: 16px; margin-top: 32px;
	padding: 18px 72px 18px 28px; border: 1px solid var(--c-dark); background: rgba(255,255,255,.9);
	font-weight: 700; font-size: 16px; text-decoration: none; transition: background .3s;
}
.p-mv__btn:hover { background: #fff; }
.p-mv__btn .c-icon { position: absolute; right: -24px; width: 48px; height: 24px; color: var(--c-main); }
.p-mv__note { margin-top: 10px; font-size: 12px; color: var(--c-sub); }
.p-mv__script {
	position: absolute; right: 40px; bottom: 150px; transform: rotate(-8deg);
	font-family: var(--ff-script); font-size: clamp(36px, 5vw, 72px); color: var(--c-main-deep); line-height: 1; opacity: .9; pointer-events: none;
}
.p-mv__banner {
	position: absolute; left: 40px; right: 40px; bottom: 28px; margin-inline: auto; max-width: 1000px;
	display: flex; align-items: center; gap: 20px; padding: 16px 24px;
	background: var(--c-dark); color: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.p-mv__banner-img { width: 64px; height: 64px; flex-shrink: 0; overflow: hidden; }
.p-mv__banner-body { flex: 1; }
.p-mv__banner-title { display: block; font-weight: 700; font-size: 16px; line-height: 1.5; }
.p-mv__banner-text { display: block; font-size: 13px; opacity: .85; }
.p-mv__banner-more { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.p-mv__banner-more .c-icon { width: 36px; height: 20px; color: #8fd8c3; }
@media (max-width: 860px) {
	.p-mv { min-height: 0; }
	.p-mv__bg { position: relative; height: 240px; }
	.p-mv__bg::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 50%); }
	.p-mv { flex-direction: column; }
	.p-mv__inner { padding: 0 20px 32px; margin-top: -40px; }
	.p-mv__numbers { gap: 10px; }
	.p-mv__numbers li { width: 30vw; height: 30vw; max-width: 120px; max-height: 120px; }
	.p-mv__num-value { font-size: 30px; }
	.p-mv__num-label { font-size: 11px; }
	.p-mv__btn { width: calc(100% - 24px); padding-right: 40px; font-size: 14px; }
	.p-mv__script { display: none; }
	.p-mv__banner { position: static; margin-top: 24px; flex-wrap: wrap; padding: 16px; }
}

/* 2 よくあるお悩み */
.p-worries__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin-inline: auto; }
.p-worries__item { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; text-decoration: none; background: #fff; box-shadow: var(--shadow); }
.p-worries__img { position: absolute; inset: 0; }
.p-worries__img .c-ph { place-items: start end; }
.p-worries__img img { transition: transform .6s var(--ease); }
.p-worries__item:hover .p-worries__img img { transform: scale(1.04); }
.p-worries__q { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 40px 12px 16px; background: #fff; font-weight: 700; text-align: center; }
.p-worries__arrow { position: absolute; right: 24px; bottom: 26px; color: var(--c-main); }
.p-worries__arrow .c-icon { width: 20px; height: 20px; }
@media (max-width: 600px) { .p-worries__list { grid-template-columns: 1fr; } }

/* 3 課題から選ぶ工事 */
.c-issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 760px) { .c-issues { grid-template-columns: 1fr; } }
.c-issue { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); }
.c-issue__head { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; color: #fff; text-decoration: none; }
.c-issue__img { position: absolute; inset: 0; }
.c-issue__img .c-ph { place-items: start end; }
.c-issue__head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,53,44,.85) 0%, rgba(18,53,44,.1) 70%); }
.c-issue__no { position: absolute; z-index: 1; left: 20px; top: 14px; font-size: 32px; font-weight: 700; line-height: 1; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.c-issue__en { position: absolute; z-index: 1; left: 20px; bottom: 50px; font-size: 12px; letter-spacing: .14em; }
.c-issue__name { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 14px; font-size: 20px; line-height: 1.4; }
.c-issue__body { flex: 1; display: flex; flex-direction: column; padding: 20px 24px 24px; }
.c-issue__text { font-size: 14px; margin-bottom: 8px; }
.c-issue__label { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--c-main-deep); }
.c-issue__worries, .c-issue__services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.c-issue__worries li { font-size: 13px; padding: 2px 10px; background: var(--c-pale); }
.c-issue__services li { font-size: 13px; padding: 2px 10px; border: 1px solid var(--c-main); color: var(--c-main-deep); }
.c-issue__services a { text-decoration: none; }
.c-issue__more { margin-top: auto; padding-top: 16px; align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--c-main-deep); text-decoration: none; }
.c-issue__more .c-icon { width: 30px; height: 18px; }
.p-issues__more { text-align: center; }

/* 4 補助金リフォーム */
.p-top-subsidy__text { max-width: 820px; margin-inline: auto; text-align: center; }
.c-deadline { max-width: 600px; margin: 40px auto 0; padding: 28px 24px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.c-deadline__label { font-size: 20px; font-weight: 700; color: var(--c-dark); }
.c-deadline__date { font-weight: 700; font-size: 18px; color: var(--c-dark); }
.c-deadline__date span { font-size: 44px; margin: 0 4px; }
.c-deadline__note { font-size: 13px; }
.c-deadline__after { margin-top: 8px; font-size: 16px; }
.c-deadline__link a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; color: var(--c-main-deep); }
.c-deadline__link .c-icon { width: 28px; height: 16px; }

/* スライダー（施工実績・コラム） */
.c-slider { position: relative; }
.c-slider__nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.c-slider__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--c-main); color: #fff; cursor: pointer; }
.c-slider__btn[data-slider-prev] .c-icon { transform: rotate(180deg); }
.c-slider__btn .c-icon { width: 20px; height: 20px; }
.c-slider__btn:disabled { opacity: .35; cursor: default; }
.c-slider__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px * 3 - 40px) / 4); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 4px 20px 20px; scrollbar-width: none;
}
.c-slider__track::-webkit-scrollbar { display: none; }
.c-slider__item { scroll-snap-align: start; }
@media (max-width: 1100px) { .c-slider__track { grid-auto-columns: 40%; } }
@media (max-width: 640px) { .c-slider__track { grid-auto-columns: 80%; } }

/* 施工実績カード */
.c-works-card { height: 100%; }
.c-works-card__link { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .3s; }
a.c-works-card__link:hover { box-shadow: 0 6px 20px rgba(18,53,44,.16); }
.c-works-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.c-works-card__badge { position: absolute; left: 0; top: 0; padding: 2px 10px; background: var(--c-main); color: #fff; font-size: 12px; font-weight: 700; }
.c-works-card__body { padding: 14px 16px 18px; }
.c-works-card__title { font-size: 15px; line-height: 1.5; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.c-works-card__purpose { font-size: 13px; margin-top: 8px; }
.c-works-card__spec { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 10px; font-size: 13px; }
.c-works-card__spec div { display: flex; gap: 8px; align-items: center; }
.c-works-card__spec dt { padding: 0 8px; background: var(--c-pale); font-weight: 700; font-size: 12px; white-space: nowrap; }
.c-works-card__voice { margin-top: 10px; font-size: 12px; color: var(--c-sub); border-left: 3px solid var(--c-pale); padding-left: 8px; }

/* コラムカード */
.c-column-card { height: 100%; }
.c-column-card__link { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; box-shadow: var(--shadow); }
.c-column-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.c-column-card__body { flex: 1; display: flex; flex-direction: column; padding: 14px 16px; }
.c-column-card__title { flex: 1; font-size: 14px; line-height: 1.6; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); }
.c-column-card__date { font-size: 12px; margin-top: 8px; }

/* 工事カード */
.c-service-card { height: 100%; }
.c-service-card__link { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; border: 1px solid var(--c-line); transition: border-color .3s; }
a.c-service-card__link:hover { border-color: var(--c-main); }
.c-service-card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.c-service-card__body { flex: 1; display: flex; flex-direction: column; padding: 16px 20px 20px; }
.c-service-card__title { font-size: 17px; color: var(--c-dark); }
.c-service-card__text { flex: 1; margin-top: 6px; font-size: 14px; }
.c-service-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; align-self: flex-end; font-size: 13px; font-weight: 700; color: var(--c-main-deep); }
.c-service-card__more .c-icon { width: 28px; height: 16px; }

/* 7 わたしたちについて／信頼性ブロック */
.c-trust__catch { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.c-trust__strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .c-trust__strengths { grid-template-columns: 1fr; } }
.c-trust__staff { display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: start; max-width: 860px; margin: 48px auto 0; }
.c-trust__photo { width: 140px; height: 140px; min-height: 0; border-radius: 50%; overflow: hidden; }
.c-trust__role { font-weight: 700; margin-bottom: 8px; }
.c-trust__message { font-size: 14px; }
@media (max-width: 600px) { .c-trust__staff { grid-template-columns: 1fr; justify-items: center; } }
.p-about__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 40px; }

/* =========================================================================
   8. 補助金ページ
   ====================================================================== */
.p-sub-cost__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
@media (max-width: 860px) { .p-sub-cost__grid { grid-template-columns: 1fr; } }
.p-sub-cost__figure { background: #fff; padding: 24px; }
.p-sub-cost__figure figcaption { font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.p-sub-cost__note { margin-top: 12px; font-size: 12px; color: var(--c-sub); border-top: 1px solid var(--c-line); padding-top: 10px; }
.c-bar { position: relative; padding-top: 4px; }
.c-bar__case { font-size: 13px; font-weight: 700; color: var(--c-main-deep); margin-top: 12px; }
.c-bar__row { display: flex; align-items: center; min-height: 44px; margin-top: 4px; }
.c-bar__fill { display: grid; place-items: center; height: 44px; background: var(--c-main); color: #fff; font-size: 13px; font-weight: 700; }
.c-bar__self { display: flex; align-items: baseline; gap: 4px; padding-left: 12px; color: var(--c-main-deep); font-weight: 700; }
.c-bar__self b { font-size: 40px; line-height: 1; }
.c-bar__over { display: grid; place-items: center; height: 44px; flex: 1; background: var(--c-dark); color: #fff; font-size: 13px; font-weight: 700; }
.c-bar__limit { position: absolute; left: 72%; top: 0; bottom: 0; border-left: 2px dashed var(--c-sub); padding-left: 6px; font-size: 11px; color: var(--c-main-deep); font-weight: 700; display: flex; align-items: flex-end; }

.p-sub-compare__media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
.p-sub-compare__label { background: var(--c-main); color: #fff; text-align: center; font-weight: 700; font-size: 17px; padding: 8px; }
.c-table--compare { max-width: 760px; }
@media (max-width: 600px) { .p-sub-compare__media { grid-template-columns: 1fr; } }

.c-roles { display: grid; gap: 24px; position: relative; }
.c-roles--3 { grid-template-columns: repeat(3, 1fr); }
.c-roles--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.c-roles__item { position: relative; background: var(--c-pale-2); padding: 24px; border: 3px solid transparent; }
.c-roles__item:first-child { border-color: var(--c-main); }
.c-roles__item.is-hl { border-color: var(--c-main); }
.c-roles__item + .c-roles__item::before {
	content: ""; position: absolute; left: -30px; top: 50%; width: 36px; height: 2px; background: var(--c-main);
}
.c-roles__who { text-align: center; font-weight: 700; margin-bottom: 12px; }
.c-roles__item:first-child .c-roles__who { color: var(--c-main-deep); }
.c-roles__body { display: flex; gap: 16px; align-items: center; justify-content: center; }
.c-roles__icon { color: var(--c-main); }
.c-roles__icon .c-icon { width: 48px; height: 48px; }
.c-roles__body ul { font-size: 13px; }
.c-roles__body li::before { content: "・"; }
@media (max-width: 760px) { .c-roles--3, .c-roles--2 { grid-template-columns: 1fr; } .c-roles__item + .c-roles__item::before { display: none; } }

.c-schedule { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; }
.c-schedule li {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	min-height: 96px; padding: 16px 12px; background: var(--c-pale); border: 1px solid #d6e3dd;
}
.c-schedule li:not(.is-last)::after {
	content: ""; position: absolute; right: -16px; top: 50%; width: 14px; height: 28px; transform: translateY(-50%);
	background: var(--c-main); clip-path: polygon(0 0, 100% 50%, 0 100%, 0 90%, 80% 50%, 0 10%);
}
.c-schedule li.is-last { background: #fff; border: 3px solid var(--c-main); }
.c-schedule__date { font-weight: 700; color: var(--c-main-deep); font-size: 17px; }
.c-schedule__text { font-size: 14px; }
@media (max-width: 760px) {
	.c-schedule { grid-auto-flow: row; }
	.c-schedule li:not(.is-last)::after { right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%) rotate(90deg); }
}

.p-sub-work__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.p-sub-work__figure .c-ph { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .p-sub-work__grid { grid-template-columns: 1fr; } }
.c-beforeafter { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; gap: 8px; margin-top: 32px; }
.c-beforeafter figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.c-beforeafter__tag { position: absolute; z-index: 1; left: 0; top: 0; padding: 2px 20px; background: #8fa59d; color: #fff; font-weight: 700; font-size: 14px; }
.c-beforeafter__tag.is-after { background: var(--c-main); }
.c-beforeafter__arrow { color: var(--c-main); text-align: center; }
.c-beforeafter__arrow .c-icon { width: 48px; height: 48px; }
@media (max-width: 600px) { .c-beforeafter { grid-template-columns: 1fr; } .c-beforeafter__arrow .c-icon { transform: rotate(90deg); } }

.c-table--price table { min-width: 520px; }
.p-sub-caution { margin-top: 64px; }
.c-cautions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.c-cautions li { padding: 16px 20px; background: #fff; border: 1px solid var(--c-line); border-left: 6px solid var(--c-brown); box-shadow: var(--shadow); }
.c-cautions__title { font-weight: 700; font-size: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--c-line); }
.c-cautions__text { margin-top: 6px; font-size: 13px; }
@media (max-width: 760px) { .c-cautions { grid-template-columns: 1fr; } }

.c-case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .c-case-list { grid-template-columns: 1fr; } }
.c-case__link { display: block; height: 100%; background: #fff; padding: 20px; text-decoration: none; }
.c-case__title { text-align: center; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.c-case__spec div { display: grid; grid-template-columns: 96px 1fr; padding: 4px 0; border-bottom: 1px solid var(--c-line); font-size: 13px; }
.c-case__spec dt { color: var(--c-main-deep); font-weight: 700; font-size: 12px; }

.p-sub-supervisor .c-supervisor-box { margin-top: 24px; }

/* =========================================================================
   9. 下層ページ
   ====================================================================== */
.p-issue-band { margin-top: 0; }
.p-issue-band .c-band { margin-top: 0; margin-bottom: 0; }
.c-qlist { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.c-qlist li { background: #fff; padding: 18px 24px; }
.c-qlist__q { font-weight: 700; }
.c-qlist__q::before { content: "Q"; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; background: var(--c-main); color: #fff; font-size: 14px; }
.c-qlist__a { margin-top: 6px; font-size: 14px; padding-left: 38px; }
.p-other-issues { padding-block: 24px 0; }
.p-other-issues__title { font-weight: 700; margin-bottom: 12px; text-align: center; }

.p-svc-content__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .p-svc-content__grid { grid-template-columns: 1fr; } }

.c-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.c-filter a { padding: 6px 16px; border: 1px solid var(--c-main); background: #fff; color: var(--c-main-deep); font-size: 14px; font-weight: 700; text-decoration: none; }
.c-filter a[aria-current] { background: var(--c-main); color: #fff; }

.c-voice { position: relative; max-width: 820px; margin-inline: auto; padding: 32px 40px; background: var(--c-pale); }
.c-voice::before { content: "“"; position: absolute; left: 12px; top: -12px; font-size: 72px; line-height: 1; color: var(--c-main); }
.c-voice cite { display: block; margin-top: 12px; text-align: right; font-style: normal; font-weight: 700; font-size: 14px; }
.p-back { padding-block: 0 72px; }

.c-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; counter-reset: none; }
.c-steps a { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border: 1px solid var(--c-line); text-decoration: none; font-weight: 700; font-size: 14px; background: #fff; }
.c-steps__no { display: grid; place-items: center; width: 28px; height: 28px; background: var(--c-dark); color: #fff; }
.c-faqcats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .c-faqcats { grid-template-columns: 1fr; } }
.c-faqcat { background: #fff; padding: 28px; }
.c-faqcat__title { display: flex; align-items: center; gap: 12px; font-size: 20px; color: var(--c-dark); margin-bottom: 12px; }
.c-faqcat__no { display: grid; place-items: center; width: 36px; height: 36px; background: var(--c-main); color: #fff; font-size: 18px; }
.c-faqcat__lead { font-size: 13px; color: var(--c-sub); }
.c-faqcat__list li { border-bottom: 1px solid var(--c-line); }
.c-faqcat__q { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; font-size: 15px; text-decoration: none; }
a.c-faqcat__q:hover { color: var(--c-main-deep); }
.c-faqcat__mark { display: inline-grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; background: var(--c-dark); color: #fff; font-size: 13px; font-weight: 700; }
.c-faqcat__mark.is-a { background: var(--c-main); width: 32px; height: 32px; font-size: 16px; }
.c-faqlist { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.c-faqlist__item { display: block; background: #fff; padding: 18px 24px; text-decoration: none; border: 1px solid transparent; transition: border-color .3s; }
a.c-faqlist__item:hover { border-color: var(--c-main); }
.c-faqlist__q { display: flex; gap: 10px; align-items: baseline; font-weight: 700; }
.c-faqlist__a { display: block; margin-top: 6px; padding-left: 34px; font-size: 13px; color: var(--c-sub); }

.p-faq { padding: 24px 0 72px; }
.p-faq__answer { padding: 28px 32px; border: 3px solid var(--c-main); background: var(--c-mint); }
.p-faq__label { display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--c-dark); margin-bottom: 12px; }
.p-faq__answer-body { font-size: 17px; font-weight: 500; }
.p-faq__detail { margin-top: 48px; }
.p-faq__meta, .p-column__meta { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-sub); }

.p-column { padding: 24px 0 72px; }
.p-column__eyecatch { margin-bottom: 40px; }
.p-column__sec { margin-top: 40px; }
.p-column__sec .c-media { margin-top: 20px; }

.c-flow { position: relative; max-width: 820px; margin-inline: auto; }
.c-flow::before { content: ""; position: absolute; left: 28px; top: 28px; bottom: 28px; width: 2px; background: var(--c-main); }
.c-flow__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 12px 0; }
.c-flow__no { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-dark); color: #fff; font-weight: 700; font-size: 18px; }
.c-flow__step.is-optional .c-flow__no { background: #fff; color: var(--c-main-deep); border: 2px dashed var(--c-main); }
.c-flow__body { background: var(--c-pale-2); padding: 14px 20px; }
.c-flow__title { font-weight: 700; font-size: 17px; }
.c-flow__tag { margin-left: 10px; padding: 0 8px; font-size: 12px; border: 1px solid var(--c-main); color: var(--c-main-deep); vertical-align: 2px; }
.c-flow__text { font-size: 14px; margin-top: 4px; }

/* フォーム（Contact Form 7 の出力にも同じクラスを使う：docs/cf7-forms.md） */
.c-form { max-width: 820px; margin-inline: auto; background: #fff; padding: 40px; border: 1px solid var(--c-line); }
@media (max-width: 600px) { .c-form { padding: 24px 16px; } }
.c-form-sample__notice { margin-bottom: 24px; padding: 10px 16px; background: #fff6d6; color: #6b4b00; font-size: 13px; }
.c-field { display: grid; grid-template-columns: 240px 1fr; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.c-field__label { font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.c-field__req { padding: 0 8px; font-size: 12px; background: var(--c-brown); color: #fff; }
.c-field__req.is-optional { background: #9aa39f; }
.c-field input[type="text"], .c-field input[type="email"], .c-field input[type="tel"], .c-field textarea, .c-field select {
	width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; border: 1px solid #bfc8c4; background: var(--c-pale-2); border-radius: var(--radius);
}
.c-field input:focus, .c-field textarea:focus, .c-field select:focus { outline: 2px solid var(--c-main); background: #fff; }
.c-field--agree { grid-template-columns: 1fr; text-align: center; border-bottom: 0; }
.c-field--agree a { color: var(--c-main-deep); }
.c-form__submit { text-align: center; margin-top: 16px; }
.c-form__submit .c-btn { margin-top: 0; }
.c-form .wpcf7-not-valid-tip { font-size: 13px; color: var(--c-flag); margin-top: 4px; }
.c-form .wpcf7-response-output { margin: 24px 0 0 !important; padding: 12px 16px !important; font-size: 14px; }
.c-form .wpcf7-spinner { display: block; margin: 12px auto 0; }
@media (max-width: 760px) { .c-field { grid-template-columns: 1fr; } }
.c-telbox { max-width: 820px; margin: 24px auto 0; text-align: center; padding: 24px; border: 2px solid var(--c-dark); }
.c-telbox__label { font-weight: 700; }
.c-telbox__num { display: inline-flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 700; text-decoration: none; color: var(--c-dark); }
.c-telbox__num .c-icon { width: 30px; height: 30px; }
.c-telbox__hours { font-size: 13px; }
.p-form-after { padding-bottom: 72px; }
.p-thanks__flow-title { text-align: center; font-weight: 700; margin: 48px 0 16px; }

/* 出現アニメ（main.js が .is-in を付ける。動きを減らす設定では無効） */
@media (prefers-reduced-motion: no-preference) {
	.js-fade { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
	.js-fade.is-in { opacity: 1; transform: none; }
}

/* 印刷 */
@media print {
	.l-header, .l-footer__pagetop, .c-cta, .u-dummy-notice { display: none !important; }
}
