/*
 * common.css — サイト共通スタイル
 * （テーマ情報は style.css に、スタイル本体はこのファイルにあります）
 */

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--green: #16382d;
	--green-deep: #0f281f;
	--mist: #eef3f0;
	--ink: #1a2420;
	--line: #d3dcd7;
	--accent: #f0a22e;
	--accent-ink: #16382d;
	--white: #ffffff;
	--bg-soft: #f5f5f5;
	--charcoal: #2f2f2f;

	--font-ja: "Zen Kaku Gothic New", sans-serif;

	--gutter: clamp(24px, 5vw, 64px);
	--header-h: 90px;
	--content-w: 1000px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	font-family: var(--font-ja);
	font-size: 16px;
	line-height: 1.9;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

html.is-nav-open,
body.is-nav-open { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

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

.screen-reader-text {
	position: absolute !important;
	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: 200;
	padding: 10px 16px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 700;
	text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
	margin: 0 auto;
	width: calc(100% - 40px);
	max-width: var(--content-w);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--accent {
	background: var(--accent);
	color: var(--accent-ink);
}
.btn--accent:hover { background: #f5b756; }

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--white);
}
.btn--ghost:hover { background: var(--white); color: var(--green); }

.btn--line {
	border-color: var(--green);
	color: var(--green);
}
.btn--line:hover { background: var(--green); color: var(--white); }

/* ==========================================================================
   Pill（電話・メール）背景 #16382D / Font Awesome アイコン付き
   ========================================================================== */
.pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}
.pill:hover { background: #1f4c3d; }
.pill__num {
	font-size: 20px;
	letter-spacing: 0.04em;
	line-height: 1;
}
.pill--lg {
	min-height: 64px;
	padding: 0 36px;
	gap: 14px;
	font-size: 18px;
}
.pill--lg .pill__num { font-size: clamp(28px, 3.4vw, 44px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	color: var(--white);
	background: transparent;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* MV上で文字を読みやすくするための上端のかげ */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: calc(var(--header-h) + 72px);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* MVを過ぎたら白背景＋黒字 */
.site-header.is-solid {
	background: var(--white);
	color: var(--ink);
}

/* スマホ/タブレットでメニューを開いたとき（MV上）は、メニュー面と同じ緑 */
.site-header.is-open:not(.is-solid) { background: var(--green); }

.site-header.is-solid::before,
.site-header.is-open::before { opacity: 0; }

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	padding-inline: 20px;
}

.brand {
	display: flex;
	align-items: center;
	gap: clamp(8px, 1vw, 14px);
	text-decoration: none;
}

.brand__logo {
	display: flex;
	align-items: center;
}
.brand__logo img { height: clamp(30px, 3vw, 40px); width: auto; }

.brand__name {
	font-size: clamp(14px, 1.4vw, 18px);
	font-weight: 700;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.header-right {
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.4vw, 32px);
}

.gnav__list {
	display: flex;
	gap: clamp(10px, 1.4vw, 30px);
}

.gnav__link {
	display: block;
	padding: 8px 0;
	font-size: clamp(13px, 1.2vw, 16px);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
	text-underline-offset: 8px;
}
.gnav__link:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ヘッダーの電話・メールのピル: 画面が狭いほど小さくして、折り返さず1行に収める */
.header-right .pill {
	gap: clamp(6px, 0.8vw, 10px);
	min-height: clamp(40px, 3.6vw, 48px);
	padding: 0 clamp(14px, 1.6vw, 24px);
	font-size: clamp(13px, 1.2vw, 16px);
}
.header-right .pill__num { font-size: clamp(15px, 1.5vw, 20px); }
/* 右端の丸の › は、ハンバーガーメニューの中だけで使う */
.pill__arrow { display: none; }

/* アイコンと文字の上下中央を、見た目でそろえる補正
   （日本語フォントは文字の中心がやや下に寄るため、文字を少し上げる） */
.header-right .pill > span:not(.pill__arrow) {
	position: relative;
	top: -0.05em;
}

.header-sp { display: none; }
.nav-toggle { display: none; }

/* ---- Mobile / tablet navigation ---- */
@media (max-width: 1000px) {
	:root { --header-h: 80px; }

	/* ヘッダーは常に白背景＋黒字（MV上でも開いたときも同じ） */
	.site-header,
	.site-header.is-open:not(.is-solid) {
		background: var(--white);
		color: var(--ink);
	}
	.site-header::before { display: none; }

	.brand__name { font-size: 16px; }
	.brand__logo img { height: 32px; }

	/* 電話アイコン + 三本線 */
	.header-sp {
		display: flex;
		align-items: center;
		gap: 8px;
	}
	.header-tel-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		color: var(--green);
		font-size: 22px;
		text-decoration: none;
	}

	.nav-toggle {
		position: relative;
		display: block;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 0;
		border-radius: 10px;
		background: var(--green);
		color: var(--white);
		cursor: pointer;
	}
	.nav-toggle__bar,
	.nav-toggle__bar::before,
	.nav-toggle__bar::after {
		position: absolute;
		left: 12px;
		width: 24px;
		height: 2px;
		background: currentColor;
		content: "";
		transition: transform 0.25s ease, background-color 0.25s ease;
	}
	.nav-toggle__bar { top: 23px; }
	.nav-toggle__bar::before { top: -8px; left: 0; }
	.nav-toggle__bar::after { top: 8px; left: 0; }

	.site-header.is-open .nav-toggle__bar { background: transparent; }
	.site-header.is-open .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
	.site-header.is-open .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

	.header-right {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		padding: 24px var(--gutter) 48px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--white);
		color: var(--ink);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.25s ease, visibility 0.25s ease;
	}
	.site-header.is-open .header-right { visibility: visible; opacity: 1; }

	.gnav__list { flex-direction: column; gap: 0; }
	/* 開いたメニューの項目: ホバー動作なし、右端に緑の › 。左右の余白は同じ10px */
	.gnav__link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 12px 10px;
		border-bottom: 1px solid var(--line);
		font-size: 17px;
	}
	.gnav__link:hover { text-decoration: none; }
	.gnav__link::after {
		content: "\f054";
		font-family: "Font Awesome 6 Free";
		font-weight: 900;
		font-size: 14px;
		color: var(--green);
	}
	/* 開いたメニューの電話・メール: 角丸の四角。左にアイコン＋文字、右端に白い丸の › */
	.header-right .pill {
		justify-content: flex-start;
		gap: 12px;
		width: 100%;
		min-height: 72px;
		padding: 0 14px 0 clamp(16px, 5vw, 28px);
		border-radius: 10px;
		font-size: clamp(17px, 4.6vw, 20px);
	}
	.header-right .pill > i:first-child {
		flex: 0 0 auto;
		font-size: clamp(20px, 5.4vw, 26px);
	}
	.header-right .pill > span:not(.pill__arrow) { min-width: 0; }
	.header-right .pill__num { font-size: clamp(20px, 6vw, 26px); }
	/* 画面幅が狭くなっても、右端の丸はつぶさない（幅・高さを固定して縮ませない） */
	.header-right .pill__arrow {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 40px;
		width: 40px;
		height: 40px;
		margin-left: auto;
		border-radius: 50%;
		background: var(--white);
		color: var(--green);
		font-size: 13px;
	}
}

/* ==========================================================================
   Main visual
   ========================================================================== */
.mv {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	overflow: hidden;
	background: #2a4a3f;
	color: var(--white);
}

.mv__slides,
.mv__slide { position: absolute; inset: 0; }

.mv__slide {
	opacity: 0;
	transition: opacity 1.4s ease;
}
.mv__slide.is-active { opacity: 1; }

.mv__slide picture,
.mv__slide img {
	display: block;
	width: 100%;
	height: 100%;
}
.mv__slide img { object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
	.mv__slide { transition: none; }
}

/* 下にいくほど #16382D に溶けるグラデーション（参考サイトに合わせ、中ほどから長くなだらかに濃くなる）
   --mv-shade-end を 0.85 などにすると、下端でも写真が少し透けて見える */
.mv { --mv-shade-end: 1; }

.mv__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(22, 56, 45, 0) 38%,
		rgba(22, 56, 45, 0.18) 52%,
		rgba(22, 56, 45, 0.42) 66%,
		rgba(22, 56, 45, 0.72) 82%,
		rgba(22, 56, 45, var(--mv-shade-end)) 100%
	);
	pointer-events: none;
}

.mv__copy {
	position: absolute;
	left: var(--gutter);
	bottom: clamp(40px, 9vh, 104px);
	z-index: 2;
}

.mv__catch { display: block; }

.mv__en {
	display: block;
	font-size: clamp(40px, 7vw, 124px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
}

.mv__ja {
	display: block;
	margin-top: 0.9em;
	font-size: clamp(17px, 2.1vw, 28px);
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.5;
}

.mv__dots {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(40px, 9vh, 104px);
	z-index: 2;
	display: flex;
	gap: 6px;
}
.mv__dots button {
	position: relative;
	width: 40px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.mv__dots button::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 11px;
	height: 3px;
	background: rgba(255, 255, 255, 0.4);
	transition: background-color 0.3s ease;
}
.mv__dots button.is-active::before { background: var(--white); }

@media (max-width: 767px) {
	.mv { min-height: 520px; }
	.mv__copy { bottom: 88px; }
	.mv__dots { bottom: 40px; left: var(--gutter); right: auto; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--dark { background: var(--green); color: var(--white); }
.section--mist { background: var(--mist); }

.section__title {
	font-size: clamp(24px, 2.8vw, 38px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

/* ---- 技術 ---- */
/* 上の余白は、直前のニュースの下の余白だけにする */
.technique {
	padding-top: 0;
	background: var(--bg-soft);
}

/* 画面幅いっぱいに、右から左へ流れ続ける白い大きな文字 */
.technique__marquee {
	position: relative;
	display: flex;
	overflow: hidden;
	margin-bottom: clamp(24px, 4vw, 56px);
	font-size: clamp(72px, 10vw, 180px);
	user-select: none;
}
.technique__marquee-text {
	flex: 0 0 auto;
	padding-right: 0.25em;
	color: var(--white);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.1em;
	white-space: nowrap;
	animation: technique-marquee 60s linear infinite;
}
/* 文字の下側を背景色にとかす */
.technique__marquee::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.12em;
	width: 100%;
	height: 0.9em;
	background: linear-gradient(rgba(245, 245, 245, 0) 0%, var(--bg-soft) 100%);
	pointer-events: none;
}
@keyframes technique-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
	.technique__marquee-text { animation: none; }
}

/* 左: 見出し＋説明文＋ボタン / 右: 縦長の写真（高さは左のブロック全体に合わせて伸縮） */
.technique__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(240px, 28vw, 400px);
	gap: 20px;
	align-items: stretch;
}

.technique__title {
	font-size: clamp(28px, 3.2vw, 72px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-wrap: balance;
}

.technique__body { margin-top: 8px; }
.technique__body p {
	font-size: clamp(17px, 1.7vw, 24px);
	line-height: 2;
	letter-spacing: 0.04em;
}
.technique__body .pill { margin-top: clamp(28px, 3vw, 40px); }

.technique__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	background: var(--line);
}
.technique__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1000px) {
	.technique__inner { grid-template-columns: 1fr; }
	/* 1列のときは文字ブロックと並ばないので、横幅100%・3:2で固定 */
	.technique__photo {
		width: 100%;
		aspect-ratio: 3 / 2;
	}
}

/* ---- 選ばれる理由 ---- */
.reasons {
	background: var(--charcoal);
	color: var(--white);
}

/* 左: 縦書きの見出し（日本語＋REASON の2行）/ 右: 項目一覧 */
.reasons__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(20px, 6vw, 80px);
	align-items: start;
}
.reasons__title {
	writing-mode: vertical-rl;
	line-height: 1.6;
}
.reasons__title-ja {
	display: block;
	font-size: clamp(22px, 2.4vw, 34px);
	font-weight: 700;
	letter-spacing: 0.2em;
}
.reasons__title-en {
	display: block;
	margin-block-start: 0.6em;
	font-size: clamp(16px, 1.6vw, 22px);
	font-weight: 500;
	letter-spacing: 0.3em;
	color: rgba(255, 255, 255, 0.6);
}

/* 項目: 1項目が1枚のカード（画像 → タイトル → 説明）。リンクではない。PCは横3列 */
.reasons__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.reasons__item {
	padding: 24px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.1);
}
.reasons__photo {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.12);
}
.reasons__photo img { width: 100%; height: 100%; object-fit: cover; }
.reasons__info { margin-top: 20px; }
.reasons__name {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.08em;
	color: var(--white);
}
.reasons__text {
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.92);
}

/* スクロールインでフェードイン（JSが使えるときだけ最初は透明にする） */
.js [data-reveal] {
	opacity: 0;
	transition: opacity 1.6s ease;
	transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; }
/* PCの3列（1100px以上）は、同じ段の3枚を同時にゆっくり表示する */
@media (min-width: 1100px) {
	.js [data-reveal] { transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] { opacity: 1; transition: none; }
}

@media (max-width: 1099px) {
	.reasons__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 見出しは、どの幅でも左側の縦書きのまま。狭い画面では項目を1列にする */
@media (max-width: 767px) {
	.reasons__list { grid-template-columns: 1fr; }
	.reasons__item { padding: 20px; }
}

/* ---- お知らせ（MVの次のセクション） ---- */
.news { background: var(--bg-soft); }

/* 広い画面では、ニュース・塗装技術・選ばれる理由・会社案内だけ container を広げる */
@media (min-width: 1280px) {
	.news__grid,
	.technique__inner,
	.reasons__inner,
	.company__inner,
	.container--wide {
		width: calc(100% - 200px);
		max-width: 1500px;
	}
}

.news__grid {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"head list"
		"more list";
	column-gap: clamp(32px, 5vw, 48px);
	align-items: start;
}

.news__head { grid-area: head; }
.news__label {
	display: block;
	color: var(--green);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.5;
}
.news__en {
	display: block;
	margin-top: 12px;
	font-size: 60px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
}

.news__more { grid-area: more; margin-top: 56px; }
.pill--more {
	min-width: 190px;
	min-height: 50px;
	justify-content: space-between;
	padding: 0 22px 0 28px;
}
.pill--more .fa-chevron-right { font-size: 13px; }

.news__list { grid-area: list; }

.news__item {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100px;
	padding: 10px 90px 10px 30px;
	border-radius: 5px;
	background: var(--white);
	box-shadow: 3px 3px 20px rgba(22, 56, 45, 0.06);
	text-decoration: none;
}
.news__item + .news__item { margin-top: 10px; }

.news__date {
	min-width: 126px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
}
.news__cat {
	min-width: 90px;
	margin-right: 25px;
	padding: 8px 10px;
	border-radius: 20px;
	background: var(--green);
	color: var(--white);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-align: center;
	transition: background-color 0.3s ease;
}
.news__title {
	min-width: 0;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.04em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.news__arrow {
	position: absolute;
	top: 50%;
	right: 47px;
	transform: translateY(-50%);
	color: var(--green);
	font-size: 14px;
	transition: right 0.3s ease;
}

@media (hover: hover) {
	.news__item:hover .news__arrow { right: 42px; }
	.news__item:hover .news__cat { background: #2a5a48; }
}

.news__empty {
	padding: 32px 30px;
	border-radius: 5px;
	background: var(--white);
	color: #4b5a54;
}

@media (max-width: 767px) {
	.news__grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		grid-template-areas:
			"head"
			"list"
			"more";
	}
	/* 見出しは左揃えのまま、「新着情報」の下に「News」を縦に並べる */
	.news__en { font-size: 42px; }
	.news__list { margin-top: 28px; }

	.news__item {
		flex-wrap: wrap;
		min-height: 0;
		padding: 20px 50px 17px 25px;
	}
	.news__date { order: 1; min-width: 100px; font-size: 16px; }
	.news__cat { order: 2; margin-right: 0; }
	.news__title {
		order: 3;
		width: 100%;
		margin-top: 7px;
		line-height: 1.7;
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.news__arrow { right: 26px; }

	.news__more { margin-top: 30px; text-align: center; }
}

/* ---- 会社案内（セクション全体がリンク） ---- */
.company {
	position: relative;
	display: block;
	/* 広い画面ほど高くして、写真の上下が切り取られすぎないようにする */
	height: clamp(420px, 30vw, 600px);
	overflow: hidden;
	background: var(--green);
	color: var(--white);
	text-decoration: none;
}
.company__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	transition: transform 0.8s ease;
}
.company__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 3vw, 40px);
	height: 100%;
	text-align: center;
}
.company__label {
	display: block;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.5;
}
.company__en {
	display: block;
	margin-top: 12px;
	font-size: clamp(48px, 7vw, 112px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
}
/* 丸の中に › を、上下左右中央に置く */
.company__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(64px, 6vw, 96px);
	aspect-ratio: 1;
	border: 2px solid var(--white);
	border-radius: 50%;
	font-size: clamp(18px, 1.8vw, 28px);
	transition: background-color 0.3s ease, color 0.3s ease;
}
@media (hover: hover) {
	.company:hover .company__bg { transform: scale(1.05); }
	.company:hover .company__arrow {
		background: var(--white);
		color: var(--green);
	}
}
.company:focus-visible { outline-offset: -8px; }

@media (max-width: 767px) {
	.company { height: 300px; }
}

/* ==========================================================================
   Footer（白背景）  左: CONTACT / 右: ナビと会社情報
   ========================================================================== */
.site-footer {
	padding-block: clamp(72px, 10vw, 140px) 32px;
	background: var(--white);
	color: var(--ink);
}

.site-footer__wrap {
	/* 1001px以上は左右に2vwずつ（1000px付近で20pxとなり、1000px以下の20pxと切れ目なくつながる） */
	width: calc(100% - 4vw);
	max-width: none;
}
@media (max-width: 1000px) {
	.site-footer__wrap { width: calc(100% - 40px); }
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(48px, 8vw, 120px);
	align-items: start;
}

/* ---- 左: CONTACT ---- */
.site-footer__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 24px;
}
.site-footer__heading-en {
	font-size: clamp(56px, 7vw, 104px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
}
.site-footer__heading-ja {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.site-footer__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: clamp(40px, 5vw, 64px);
}
.site-footer__btn {
	/* ボタン自身の幅を基準に、中の文字とアイコンの大きさを決める（下の cqw） */
	container-type: inline-size;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1 1 260px;
	max-width: 332px;
	min-height: 80px;
	padding: 0 12px;
	white-space: nowrap;
	border: 1px solid #000;
	border-radius: 10px;
	background: var(--white);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.site-footer__btn:hover {
	border-color: var(--green);
	background: var(--green);
	color: var(--white);
}
/* 折り返さずに1行で収まるよう、ボタンの幅に合わせて文字とアイコンを縮める（最大18px・最小12px）
   cqw に未対応の古いブラウザは、上の font-size: 18px のまま */
.site-footer__btn > span,
.site-footer__btn > i { font-size: clamp(12px, 7cqw, 18px); }

/* アイコンと文字の上下中央を、見た目でそろえる補正 */
.site-footer__btn > span { position: relative; top: -0.05em; }
.site-footer__btn > i { position: relative; top: 0.04em; }

/* ---- 右: ナビと会社情報 ---- */
.fnav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 24px;
}
.fnav a {
	display: block;
	padding: 8px 0;
	font-weight: 500;
	text-decoration: none;
}
.fnav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.site-footer__company {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.site-footer__name {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.1em;
}
.site-footer__logo { height: 40px; width: auto; }
.site-footer address {
	margin-top: 12px;
	font-style: normal;
	line-height: 1.9;
}
.site-footer address a { text-decoration: none; }
.site-footer__message {
	margin-top: 20px;
	max-width: 36em;
	font-size: 14px;
	color: #4b5a54;
}

.site-footer__copy {
	margin-top: 20px;
	font-size: 14px;
	color: #4b5a54;
}

@media (max-width: 899px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   下層ページ共通（白背景のタイトル帯）
   ① 2行のタイトルを左端に ② 横線 ③ パンくず（すべて左揃え）
   ========================================================================== */
.page-hero {
	--hero-en-size: min(48px, 12vw);
	/* 固定ヘッダーの下から始める */
	padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 clamp(16px, 2vw, 24px);
	background: var(--white);
}

/* 見た目は上が英語・下が日本語（HTMLは日本語が先）。2行は重ねず、左揃えで画面の左端（20px）に置く */
.page-hero__title {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	padding: 0 20px;
	text-align: left;
}
.page-hero__ja {
	margin-top: clamp(8px, 1vw, 16px);
	color: #000;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
}
.page-hero__en {
	color: var(--green);
	font-family: "Syncopate", sans-serif;
	font-size: var(--hero-en-size);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
}

/* タイトルとパンくずの間に、左右をあけない横線（幅100%、#f2f2f2 の1px）。パンくずは左20pxで、タイトルとそろえる */
.page-hero__bar {
	margin: clamp(24px, 3vw, 40px) 0 0;
	padding: 12px 20px 0;
	border-top: 1px solid #f2f2f2;
}

/* パンくず: 現在のページは黒、それより上の階層は薄い黒。区切りは右向きの小さな三角（▼を横向きにした形） */
.breadcrumb { font-size: 14px; }
.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #000;
}
.breadcrumb__list li {
	display: flex;
	align-items: center;
}
.breadcrumb__list li + li::before {
	content: "";
	width: 0;
	height: 0;
	margin-right: 10px;
	border-style: solid;
	border-width: 4px 0 4px 6px;
	border-color: transparent transparent transparent #9a9a9a;
}
.breadcrumb a {
	color: #6b6b6b;
	text-decoration: none;
}
.breadcrumb a:hover {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ==========================================================================
   事業内容ページ
   ========================================================================== */
.biz-heading {
	font-size: clamp(24px, 2.8vw, 36px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

/* ---- POINT ---- */
.biz-point {
	padding-top: clamp(40px, 5vw, 72px);
	background: var(--white);
}
.biz-point__lead {
	font-size: clamp(18px, 2.1vw, 28px);
	line-height: 1.9;
	letter-spacing: 0.04em;
}
.biz-point__lead span { display: block; }
/* 強調する語句だけ、緑・太字・アンダーライン */
.biz-point__em {
	color: var(--green);
	/* 周りの文字より少し大きくする */
	font-size: 1.2em;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--green);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.25em;
}

/* ---- 塗装種別 ---- */
.biz-kinds { background: var(--bg-soft); }
.biz-kinds__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(32px, 4vw, 56px);
}
.biz-kind {
	overflow: hidden;
	border-radius: 5px;
	background: var(--white);
}
.biz-kind__photo {
	aspect-ratio: 16 / 9;
	background: var(--line);
}
.biz-kind__photo img { width: 100%; height: 100%; object-fit: cover; }
.biz-kind__body { padding: clamp(24px, 3vw, 40px); }
.biz-kind__name {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
}
.biz-kind__text { margin-top: 12px; line-height: 1.9; }
.biz-kind__label {
	margin-top: 24px;
	color: var(--green);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
}
.biz-kind__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
.biz-tag {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid var(--green);
	border-radius: 999px;
	color: var(--green);
	line-height: 1.5;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.biz-tag:hover {
	background: var(--green);
	color: var(--white);
}

/* ---- 塗料の種類と特徴（塗装種別と同じ灰色の背景の中。カードは白） ---- */
.biz-heading--sub { margin-top: clamp(56px, 7vw, 96px); }
.biz-paints__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(32px, 4vw, 56px);
}
.biz-paint {
	padding: 24px;
	border-radius: 5px;
	background: var(--white);
	/* 上のタグから飛んできたとき、固定ヘッダーに隠れないようにする */
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.biz-paint:target { outline: 2px solid var(--green); }
.biz-paint__kind {
	width: fit-content;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}
.biz-paint__name {
	margin-top: 12px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;
}
.biz-paint__text { margin-top: 8px; line-height: 1.9; }

@media (max-width: 1099px) {
	.biz-paints__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.biz-kinds__grid,
	.biz-paints__list { grid-template-columns: 1fr; }
	.biz-paint { padding: 20px; }
}

/* ---- よくある質問（白い背景。左に見出し、右に質問と答え） ---- */
.biz-faq {
	padding-top: clamp(64px, 8vw, 120px);
	background: var(--white);
	border-bottom: 1px solid #f2f2f2;
}
.biz-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(24px, 5vw, 80px);
	align-items: start;
}
.biz-faq__list { margin: 0; }
.biz-faq__item {
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
}
.biz-faq__item:first-child { padding-top: 0; }
.biz-faq__item:last-child { border-bottom: 0; padding-bottom: 0; }
.biz-faq__q,
.biz-faq__a {
	display: flex;
	gap: 12px;
	margin: 0;
}
.biz-faq__q { font-weight: 700; line-height: 1.7; }
.biz-faq__a { margin-top: 12px; line-height: 1.9; }
/* Q と A の丸い印 */
.biz-faq__q::before,
.biz-faq__a::before {
	content: "Q";
	display: flex;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}
.biz-faq__q::before { background: var(--green); color: var(--white); }
.biz-faq__a::before {
	content: "A";
	border: 1px solid var(--green);
	color: var(--green);
}
@media (max-width: 1000px) {
	.biz-faq__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   設備情報ページ（白い背景に、灰色のカードを並べる。セクションの下に横線）
   ========================================================================== */
.fac-section {
	padding-top: clamp(64px, 8vw, 120px);
	background: var(--white);
	border-bottom: 1px solid #f2f2f2;
}
.fac-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.fac-card {
	padding: 24px;
	border-radius: 5px;
	background: var(--bg-soft);
}
.fac-card__photo {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 5px;
	background: var(--line);
}
.fac-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.fac-card__name {
	margin-top: 20px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;
}
.fac-card__specs { margin-top: 8px; }
.fac-card__specs li {
	position: relative;
	padding-left: 16px;
	line-height: 1.9;
}
.fac-card__specs li::before {
	content: "";
	position: absolute;
	top: 0.85em;
	left: 2px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #000;
}
.fac-card__text { margin-top: 8px; line-height: 1.9; }

@media (max-width: 1099px) {
	.fac-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.fac-list { grid-template-columns: 1fr; }
	.fac-card { padding: 20px; }
}

/* ==========================================================================
   会社概要ページ
   ========================================================================== */
/* 2行の見出し（日本語 + 英語） */
.co-heading__ja {
	display: block;
	font-size: clamp(24px, 2.8vw, 36px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
}
.co-heading__en {
	display: block;
	margin-top: 8px;
	color: var(--green);
	font-family: "Syncopate", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

/* ---- 代表挨拶（白い背景。左に見出し、右に文章） ---- */
.co-message {
	padding-top: clamp(64px, 8vw, 120px);
	background: var(--white);
}
.co-message__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(24px, 5vw, 80px);
	align-items: start;
}
.co-message__text p {
	line-height: 2;
	letter-spacing: 0.04em;
}
.co-message__text p + p { margin-top: 1.5em; }
.co-message__text .co-message__sign {
	margin-top: 32px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

/* ---- 会社概要（灰色の背景。1カラム: 見出しの下に表。項目名は左、内容は右、行の間に薄い線） ---- */
.co-outline { background: var(--bg-soft); }
.co-outline__inner > .co-heading { margin-bottom: clamp(32px, 4vw, 56px); }
/* 幅は最大1080px。左右は常に20pxずつあける（.container の「100% - 40px」を使い、広い画面用の指定は使わない） */
.co-outline__inner { max-width: 1080px; }
.co-table { margin: 0; }
.co-table__row {
	display: grid;
	grid-template-columns: 8em minmax(0, 1fr);
	gap: 24px;
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
}
.co-table__row:first-child { padding-top: 0; }
.co-table__row:last-child { border-bottom: 0; }
.co-table dt {
	color: var(--green);
	font-weight: 700;
	letter-spacing: 0.06em;
}
.co-table dd {
	margin: 0;
	line-height: 1.9;
	letter-spacing: 0.04em;
}

/* 事業所: 名前（枠線のピル）→ 住所 + 地図アイコンと「Google Map」 → TEL. 番号、FAX. 番号 */
.co-office__name {
	padding: 6px 16px;
	border: 1px solid var(--green);
	border-radius: 999px;
	color: var(--green);
	font-size: 14px;
	line-height: 1.6;
}
.co-office__address {
	margin-top: 16px;
	padding-left: 16px;
}
.co-office__map {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 12px;
	color: var(--green);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	vertical-align: middle;
}
.co-office__map .fa-location-dot { font-size: 22px; }
.co-office__map:hover span {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.co-office__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 24px;
	margin-top: 4px;
	padding-left: 16px;
}
.co-office__tel a { text-decoration: none; }

@media (max-width: 1000px) {
	.co-message__inner { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.co-table__row { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
	.co-table__row:first-child { padding-top: 0; }
}

/* ==========================================================================
   お問い合わせフォームページ（灰色の背景に、白い入力欄）
   ========================================================================== */
.cf-section {
	padding-top: clamp(48px, 6vw, 96px);
	background: var(--bg-soft);
}
.cf-inner { max-width: 800px; }

.cf-intro {
	margin-bottom: clamp(40px, 5vw, 72px);
	line-height: 2;
	letter-spacing: 0.04em;
	text-align: center;
}
/* 見出しと説明は、左右中央・中央揃え */
.cf-heading { margin-bottom: 24px; text-align: center; }
.cf-lead { margin-bottom: 32px; line-height: 1.9; text-align: center; }

/* ---- ステップ（フロー）: 線でつないだ3つの丸。済んだ手順はチェック、いまの手順は緑、これからの手順は薄い色 ---- */
.cf-steps {
	display: flex;
	margin: 0 0 clamp(36px, 5vw, 56px);
	padding: 0;
	list-style: none;
}
.cf-steps__item {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}
/* 丸と丸をつなぐ線（左隣の丸の中心から、この丸の中心まで） */
.cf-steps__item + .cf-steps__item::before {
	content: "";
	position: absolute;
	top: 23px;
	left: calc(-50% + 24px);
	width: calc(100% - 48px);
	height: 2px;
	background: var(--line);
}
.cf-steps__item.is-done::before,
.cf-steps__item.is-current::before { background: var(--green); }

.cf-steps__dot {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: #9aa39f;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.cf-steps__no {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}
.cf-steps__check { display: none; font-size: 16px; }

.cf-steps__item.is-current .cf-steps__dot {
	border-color: var(--green);
	background: var(--green);
	color: var(--white);
	box-shadow: 0 0 0 6px rgba(22, 56, 45, 0.12);
}
.cf-steps__item.is-done .cf-steps__dot {
	border-color: var(--green);
	color: var(--green);
}
.cf-steps__item.is-done .cf-steps__no { display: none; }
.cf-steps__item.is-done .cf-steps__check { display: block; }

.cf-steps__label {
	color: #8a948f;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.4;
}
.cf-steps__item.is-current .cf-steps__label,
.cf-steps__item.is-done .cf-steps__label { color: var(--ink); }
.cf-steps__item.is-current .cf-steps__label { font-weight: 700; }

/* ---- お知らせ・エラー ---- */
.cf-notice {
	margin: 0 0 24px;
	padding: 16px 20px;
	border-left: 4px solid #c8161d;
	background: var(--white);
	color: #c8161d;
	line-height: 1.8;
}
.cf-notice[hidden] { display: none; }
.cf-error {
	margin-top: 8px;
	color: #c8161d;
	font-size: 14px;
	line-height: 1.6;
}

/* ---- 入力の行: 左に項目名と必須・任意、右に入力欄、行の間に薄い線 ---- */
.cf-row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 16px 24px;
	align-items: start;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}
.cf-row:first-of-type { border-top: 0; }
.cf-row__label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 10px;
	font-weight: 500;
	letter-spacing: 0.04em;
}
.cf-badge {
	display: inline-block;
	flex: none;
	padding: 2px 8px;
	border-radius: 2px;
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
}
.cf-badge--req { background: #c8161d; }
.cf-badge--opt { background: #555; }

.cf-input,
.cf-textarea {
	display: block;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid transparent;
	border-radius: 3px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	letter-spacing: 0.04em;
	line-height: 1.6;
}
.cf-textarea { min-height: 160px; resize: vertical; }
.cf-input::placeholder { color: #a8aeab; }
.cf-input:focus,
.cf-textarea:focus {
	outline: 2px solid var(--green);
	outline-offset: 0;
}
.cf-row.has-error .cf-input,
.cf-row.has-error .cf-textarea { border-color: #c8161d; }

/* ---- 同意 ---- */
.cf-privacy {
	margin-top: 40px;
	padding: 28px 24px;
	border-radius: 3px;
	background: var(--white);
	font-size: 14px;
	line-height: 2;
	text-align: center;
}
.cf-privacy p + p { margin-top: 4px; }
.cf-privacy a { color: var(--green); text-underline-offset: 4px; }
.cf-agree { margin-top: 24px; text-align: center; }
.cf-agree label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
.cf-agree input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--green);
}
.cf-agree .cf-error { text-align: center; }

/* ---- ボタン ---- */
.cf-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 40px;
}
.cf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-width: 280px;
	min-height: 56px;
	padding: 0 24px 0 32px;
	border: 1px solid var(--green);
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cf-btn .fa-solid { font-size: 13px; }
.cf-btn--primary { background: var(--green); color: var(--white); }
.cf-btn--primary:hover { background: #1f4c3d; border-color: #1f4c3d; }
.cf-btn--ghost { padding: 0 32px 0 24px; background: var(--white); color: var(--green); }
.cf-btn--ghost:hover { background: var(--green); color: var(--white); }
.cf-btn:disabled { opacity: 0.6; cursor: wait; }

.cf-recaptcha-note {
	margin-top: 24px;
	color: #6b6b6b;
	font-size: 12px;
	line-height: 1.8;
	text-align: center;
}
.cf-recaptcha-note a { text-underline-offset: 3px; }
/* reCAPTCHA のバッジは、上の注意書きを表示することで、非表示にできる */
.grecaptcha-badge { visibility: hidden; }

/* 人間には見えない欄（ハニーポット） */
.cf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---- 確認画面 ---- */
.cf-confirm { margin: 0 0 8px; }
.cf-confirm__row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 8px 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}
.cf-confirm dt { color: var(--green); font-weight: 700; letter-spacing: 0.06em; }
.cf-confirm dd {
	margin: 0;
	line-height: 1.9;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
}

/* ---- 完了画面 ---- */
.cf-done { padding: 16px 0 8px; line-height: 2; text-align: center; }
.cf-done__title {
	margin-bottom: 16px;
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* ---- お電話・FAX ---- */
.cf-tel {
	margin-top: clamp(56px, 7vw, 96px);
	padding: clamp(28px, 4vw, 40px);
	border-radius: 5px;
	background: var(--white);
	text-align: center;
}
.cf-tel__title {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
}
.cf-tel__num {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 32px;
	margin-top: 12px;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	letter-spacing: 0.04em;
}
.cf-tel__num a { text-decoration: none; }
.cf-tel__hours { margin-top: 8px; color: #4b5a54; font-size: 14px; }

@media (max-width: 767px) {
	.cf-row,
	.cf-confirm__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
	.cf-row__label { padding-top: 0; }
	.cf-steps__label { font-size: 12px; }
	.cf-btn { width: 100%; min-width: 0; }
	.cf-actions { flex-direction: column-reverse; }
}
/* ==========================================================================
   個人情報保護方針ページ（白い背景。番号つきの項目を、最大1080pxの幅で左右中央に置く）
   ========================================================================== */
.pp-section {
	padding-top: clamp(64px, 8vw, 120px);
	background: var(--white);
	border-bottom: 1px solid #f2f2f2;
}
/* 幅は最大1080px、左右は常に20pxずつあけて、画面の中央に置く（.container の指定を使う） */
.pp-inner { max-width: 1080px; }
.pp-list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pp;
}
.pp-list__item {
	position: relative;
	padding: 14px 0 14px 3.5em;
	line-height: 2;
	letter-spacing: 0.04em;
	counter-increment: pp;
}
.pp-list__item:first-child { padding-top: 0; }
.pp-list__item::before {
	content: counter(pp, decimal-leading-zero);
	position: absolute;
	top: 14px;
	left: 0;
	color: var(--green);
	font-weight: 700;
	letter-spacing: 0.06em;
}
.pp-list__item:first-child::before { top: 0; }
.pp-sign {
	margin-top: 40px;
	font-weight: 700;
	line-height: 2;
	letter-spacing: 0.06em;
	text-align: right;
}

@media (max-width: 767px) {
	.pp-list__item { padding: 10px 0 10px 2.8em; }
	.pp-list__item::before { top: 10px; }
	.pp-list__item:first-child { padding-top: 0; }
	.pp-list__item:first-child::before { top: 0; }
}

/* ==========================================================================
   新着情報（一覧・詳細）
   ========================================================================== */
/* ---- 一覧（灰色の背景。白いカードは、トップの新着情報と同じ） ---- */
.nl-section {
	padding-top: clamp(48px, 6vw, 96px);
	background: var(--bg-soft);
}
/* 幅は最大1080px、左右は常に20pxずつあけて、画面の中央に置く */
.nl-inner { max-width: 1080px; }

.nl-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.biz-tag.is-current {
	background: var(--green);
	color: var(--white);
}

/* ページ送り */
.nl-pagination { margin-top: 48px; }
.nl-pagination .page-numbers {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nl-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.nl-pagination li > .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 5px;
	background: var(--white);
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.nl-pagination a.page-numbers:hover {
	background: var(--green);
	color: var(--white);
}
.nl-pagination .page-numbers.current {
	background: var(--green);
	color: var(--white);
}
.nl-pagination .page-numbers.dots {
	background: transparent;
	min-width: 0;
}
.nl-pagination .fa-solid { font-size: 13px; }

/* ---- 詳細（白い背景） ---- */
.nd-section {
	padding-top: clamp(48px, 6vw, 96px);
	background: var(--white);
	border-bottom: 1px solid #f2f2f2;
}
.nd-inner { max-width: 1080px; }

.nd-head {
	margin-bottom: clamp(32px, 4vw, 48px);
	padding-bottom: clamp(24px, 3vw, 32px);
	border-bottom: 1px solid var(--line);
}
.nd-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
}
.nd-meta__date {
	font-weight: 700;
	letter-spacing: 0.04em;
}
.nd-title {
	margin-top: 16px;
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.04em;
}

/* 本文（管理画面で書いた内容） */
.nd-content {
	line-height: 2;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
}
.nd-content > * + * { margin-top: 1.5em; }
.nd-content h2 {
	margin-top: 2.5em;
	padding-left: 14px;
	border-left: 4px solid var(--green);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.6;
}
.nd-content h3 {
	margin-top: 2em;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}
.nd-content ul,
.nd-content ol { padding-left: 1.5em; }
.nd-content ul { list-style: disc; }
.nd-content ol { list-style: decimal; }
.nd-content a {
	color: var(--green);
	text-underline-offset: 4px;
}
.nd-content img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}
.nd-content figure { margin-right: 0; margin-left: 0; }
.nd-content blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 16px 24px;
	border-left: 4px solid var(--line);
	background: var(--bg-soft);
}
.nd-content table {
	width: 100%;
	border-collapse: collapse;
}
.nd-content th,
.nd-content td {
	padding: 12px 16px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

/* 前の記事・次の記事 */
.nd-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(48px, 6vw, 80px);
}
.nd-nav__link {
	display: block;
	padding: 20px 24px;
	border-radius: 5px;
	background: var(--bg-soft);
	text-decoration: none;
	transition: background-color 0.3s ease;
}
.nd-nav__link:hover { background: var(--mist); }
.nd-nav__link--next { grid-column: 2; text-align: right; }
.nd-nav__link--prev:only-child { grid-column: 1; }
.nd-nav__label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--green);
	font-size: 14px;
	font-weight: 700;
}
.nd-nav__link--next .nd-nav__label { justify-content: flex-end; }
.nd-nav__label .fa-solid { font-size: 12px; }
.nd-nav__title {
	display: -webkit-box;
	margin-top: 8px;
	overflow: hidden;
	font-weight: 500;
	line-height: 1.7;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.nd-back {
	margin-top: 40px;
	text-align: center;
}
.pill--back {
	min-width: 260px;
	min-height: 56px;
	justify-content: center;
	gap: 12px;
}
.pill--back .fa-chevron-left { font-size: 13px; }

@media (max-width: 767px) {
	.nd-nav { grid-template-columns: 1fr; }
	.nd-nav__link--next { grid-column: 1; }
	.pill--back { width: 100%; min-width: 0; }
	.nl-pagination li > .page-numbers { min-width: 40px; height: 40px; }
}

/* ==========================================================================
   下層ページ(仮)
   ========================================================================== */
.site-main--plain { padding-top: calc(var(--header-h) + 56px); padding-bottom: 96px; min-height: 60vh; }
.site-main--plain .entry-title { margin-bottom: 32px; font-size: clamp(26px, 3vw, 36px); line-height: 1.5; }
