/*
Theme Name: Find Corporate
Theme URI: https://pet-find.co.jp/
Author: 株式会社ファインド
Description: ペット探偵団ファインド公式サイト用の軽量テーマ。本文は固定ページのHTMLブロックに書き、このテーマは枠と見た目だけを受け持つ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: find-corporate
*/

/* ------------------------------------------------------------ 変数 */
:root {
	--orange: #D96A16;
	--orange-deep: #B5560E;
	--orange-soft: #FCEBDD;
	--forest: #2E6B32;
	--forest-deep: #234F27;
	--cream: #FBF3E8;
	--cream-deep: #F3E6D4;
	--ink: #241E19;
	--ink-soft: #4A413A;
	--greige: #7C6F63;
	--line: #E7DCCE;
	--white: #FFFFFF;
	--star: #E2A317;

	--display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;
	--body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

	--wrap: 1120px;
	--radius: 14px;
	--header-h: 76px;
}

/* ------------------------------------------------------------ 基本 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}
@media (min-width: 900px) { body { font-size: 16.5px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-deep); text-underline-offset: .2em; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 900;
	line-height: 1.45;
	letter-spacing: .03em;
	font-feature-settings: "palt";
	margin: 0 0 .6em;
	text-wrap: balance;
	color: var(--ink);
}
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: clamp(18px, 2vw, 21px); }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------ ヘッダー */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 155px; height: 48px; }
.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.gnav__list a {
	position: relative; display: block; padding: 6px 0;
	font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .04em;
}
.gnav__list a:hover { color: var(--orange); }
.gnav__list a[aria-current="page"] { color: var(--orange); }
.gnav__list a[aria-current="page"]::after {
	content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px;
	margin-left: -2.5px; border-radius: 50%; background: var(--orange);
}
.gnav__toggle { display: none; }
.header-tel {
	flex: none; display: flex; flex-direction: column; align-items: flex-end;
	text-decoration: none; line-height: 1.25; padding-left: 26px; border-left: 1px solid var(--line);
}
.header-tel__label { font-size: 11px; font-weight: 700; color: var(--forest); letter-spacing: .08em; }
.header-tel__num {
	display: flex; align-items: center; gap: 6px;
	font-family: var(--display); font-weight: 900; font-size: 23px; color: var(--orange); letter-spacing: .03em;
}
.header-tel__num svg { width: 20px; height: 20px; }

@media (max-width: 1020px) {
	.gnav__list { gap: 18px; }
	.gnav__list a { font-size: 14px; }
	.header-tel { padding-left: 18px; }
	.header-tel__num { font-size: 20px; }
}
@media (max-width: 860px) {
	:root { --header-h: 64px; }
	.brand img { width: 126px; height: 39px; }
	.site-header__inner { gap: 12px; }
	.header-tel { display: none; }
	.gnav__toggle {
		display: inline-flex; align-items: center; gap: 8px;
		height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 999px;
		background: #fff; color: var(--ink); font: 700 14px/1 var(--body); cursor: pointer;
	}
	.gnav__bars { position: relative; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
	.gnav__bars::before, .gnav__bars::after {
		content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
	}
	.gnav__bars::before { top: -5px; }
	.gnav__bars::after { top: 5px; }
	.js .gnav__list {
		position: absolute; left: 0; right: 0; top: 100%;
		display: none; flex-direction: column; gap: 0;
		background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px -20px rgba(36, 30, 25, .35);
		padding: 8px 24px 16px;
	}
	.js .gnav[data-open="true"] .gnav__list { display: flex; }
	.gnav__list a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
	.gnav__list li:last-child a { border-bottom: 0; }
	.gnav__list a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; margin: -2.5px 0 0; }
	/* JS が無いときはメニューを常に表示する */
	html:not(.js) .gnav__list { flex-wrap: wrap; gap: 4px 14px; }
	html:not(.js) .gnav__toggle { display: none; }
}

/* ------------------------------------------------------------ ボタン */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 28px; border-radius: 999px;
	font-weight: 700; font-size: 15.5px; letter-spacing: .04em; text-decoration: none;
	transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--tel {
	background: var(--orange); color: #fff; min-height: 64px; padding: 0 30px 0 24px;
	box-shadow: 0 14px 28px -16px rgba(217, 106, 22, .85);
}
.btn--tel:hover { background: var(--orange-deep); color: #fff; }
.btn--tel svg { width: 26px; height: 26px; flex: none; }
.btn--tel .btn__stack { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn--tel .btn__stack small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; opacity: .92; }
.btn--tel .btn__stack strong { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: .04em; }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost::after { content: "→"; font-weight: 400; }
.btn--invert { background: #fff; color: var(--orange-deep); box-shadow: 0 14px 28px -16px rgba(36, 30, 25, .5); }
.btn--invert:hover { background: var(--ink); color: #fff; }
.text-link { font-weight: 700; font-size: 15px; }
.text-link[target="_blank"]::after { content: " ↗"; }

/* ------------------------------------------------------------ セクション */
.sec { padding: clamp(64px, 9vw, 108px) 0; }
.sec--cream { background: var(--cream); }
.sec--tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec__head { max-width: 760px; margin: 0 0 clamp(32px, 4.4vw, 52px); }
.sec__head > p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.sec__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
.sec__head--row h2 { margin: 0; }
.sec__head--row > p { max-width: 30em; font-size: 14.5px; }
.sec__more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: clamp(32px, 4vw, 44px) 0 0; }
.eyebrow {
	margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
	color: var(--orange); text-transform: uppercase;
}

/* ------------------------------------------------------------ トップ：ヒーロー */
.hero { background: var(--cream); padding: clamp(40px, 6vw, 76px) 0 clamp(52px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__badge {
	display: inline-flex; align-items: center; gap: 10px; margin: 0;
	font-size: 13px; font-weight: 700; color: var(--forest);
	background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 8px;
}
.hero__badge img { width: 26px; height: 26px; }
.hero h1 { font-size: clamp(31px, 5vw, 54px); line-height: 1.34; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: clamp(15.5px, 1.5vw, 17px); color: var(--ink-soft); max-width: 33em; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.hero__figure { position: relative; margin: 0; }
.hero__figure img {
	width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 26px;
	box-shadow: 0 34px 60px -34px rgba(36, 30, 25, .55);
}
.hero__figure figcaption {
	position: absolute; left: 16px; bottom: 16px;
	background: rgba(36, 30, 25, .78); color: #fff; font-size: 12.5px; line-height: 1.5;
	padding: 7px 12px; border-radius: 8px;
}
@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__figure { max-width: 520px; }
}

/* ------------------------------------------------------------ 実績の数字 */
.proof {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	margin: clamp(40px, 5vw, 60px) 0 0; overflow: hidden;
}
.proof__item { padding: 22px 16px 20px; text-align: center; border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; }
.proof__num {
	display: block; font-family: var(--display); font-weight: 900; color: var(--orange);
	font-size: clamp(27px, 3.3vw, 38px); line-height: 1.2; letter-spacing: .01em; font-feature-settings: "palt";
}
.proof__num small { font-size: .5em; margin-left: .12em; }
.proof__label { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); font-weight: 500; }
.proof-note { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--greige); text-align: right; }
@media (max-width: 720px) {
	.proof { grid-template-columns: repeat(2, 1fr); }
	.proof__item:nth-child(3) { border-left: 0; }
	.proof__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
	.proof-note { text-align: left; }
}

/* ------------------------------------------------------------ 確かめてください */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.check {
	display: flex; flex-direction: column; gap: 10px;
	background: var(--cream); border: 1px solid transparent; border-radius: var(--radius);
	padding: 28px 30px 26px; color: inherit; text-decoration: none;
	transition: border-color .2s, background-color .2s, transform .2s;
}
.check:hover { background: #fff; border-color: var(--orange); color: inherit; transform: translateY(-2px); }
.check__q { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(18px, 2vw, 20px); line-height: 1.5; }
.check__q::before { content: "Q."; color: var(--orange); margin-right: .35em; }
.check__a { margin: 0; font-size: 15px; color: var(--ink-soft); }
.check__go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--orange-deep); }
.check__go::after { content: " →"; }
@media (max-width: 720px) { .checks { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 捜索の3段階 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.step figure { margin: 0 0 18px; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.step__num { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: var(--orange); }
.step h3 { margin: 0 0 8px; }
.step p:last-child { margin: 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 40px; } .step img { aspect-ratio: 16 / 10; } }

/* ------------------------------------------------------------ お客様の声 */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voices--wide { grid-template-columns: repeat(2, 1fr); }
.voice {
	display: flex; flex-direction: column; gap: 14px; margin: 0;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px;
}
.sec--cream .voice { border-color: transparent; }
.voice__stars { margin: 0; color: var(--star); font-size: 15px; letter-spacing: .18em; line-height: 1; }
.voice blockquote { margin: 0; }
.voice blockquote p { margin: 0; font-size: 15px; line-height: 1.95; }
.voice figcaption {
	margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line);
	font-size: 12.5px; color: var(--greige); line-height: 1.6;
}
.voices-note { margin: 18px 0 0; font-size: 13px; color: var(--greige); }
@media (max-width: 960px) { .voices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .voices, .voices--wide { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 2カラム */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.split--top { align-items: start; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.split--rev > :first-child { order: 2; }
.split__figure { margin: 0; }
.split__figure img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split__figure figcaption { margin-top: 10px; font-size: 13px; color: var(--greige); line-height: 1.6; }
.split__body > :last-child { margin-bottom: 0; }
.split__body h2 { margin-bottom: .5em; }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split--rev > :first-child { order: 0; }
}

.phase-no { display: block; margin: 0 0 6px; font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--orange); letter-spacing: .12em; }
.pull {
	margin: 0 0 1.1em; padding: 18px 22px; border-radius: 12px; background: var(--orange-soft);
	font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.7vw, 18px); line-height: 1.7; color: var(--ink);
}
.sec--cream .pull { background: #fff; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
	content: ""; position: absolute; left: 2px; top: .55em; width: 16px; height: 9px;
	border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg);
}
.pairs { display: grid; gap: 0; margin: 0 0 1.1em; border-top: 1px solid var(--line); }
.pairs > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pairs dt { font-weight: 700; color: var(--forest); }
.pairs dd { margin: 0; }
@media (max-width: 560px) { .pairs > div { grid-template-columns: 1fr; gap: 2px; } }

.kit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0 0 1.1em; }
.kit li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.6; }
.kit b { display: block; font-family: var(--display); font-weight: 900; font-size: 16px; margin-bottom: 2px; }

/* ------------------------------------------------------------ 強み・数字 */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 clamp(24px, 3vw, 32px); }
.figures > div { background: #fff; border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.figures .proof__num { font-size: clamp(24px, 2.8vw, 32px); }
@media (max-width: 720px) { .figures { grid-template-columns: repeat(2, 1fr); } }

.routes { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.1em; }
.routes li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 14.5px; }
.routes li b { color: var(--orange); font-weight: 900; margin: 0 .3em; }

/* ------------------------------------------------------------ 会社概要 */
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 15.5px; }
.info-table th, .info-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.info-table th { width: 10em; background: var(--cream); font-weight: 700; color: var(--ink); }
.info-table td { line-height: 1.8; }
@media (max-width: 600px) {
	.info-table th, .info-table td { display: block; width: auto; }
	.info-table th { padding: 12px 16px 6px; border-bottom: 0; }
	.info-table td { padding: 4px 16px 16px; background: var(--cream); }
}
.map { margin: clamp(28px, 4vw, 40px) 0 0; aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream-deep); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map { aspect-ratio: 4 / 3; } }

.mvv { border-top: 1px solid var(--line); }
.mvv__row { display: grid; grid-template-columns: 200px 1fr; gap: 8px 32px; padding: clamp(22px, 3vw, 30px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.mvv__k { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); color: var(--orange); letter-spacing: .06em; line-height: 1.2; }
.mvv__k small { display: block; margin-top: 4px; font-family: var(--body); font-size: 12.5px; font-weight: 700; color: var(--greige); letter-spacing: .12em; }
.mvv__v { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.values li { background: var(--cream); border-radius: 12px; padding: 16px 18px; font-size: 14.5px; line-height: 1.7; }
.values b { display: block; font-family: var(--display); font-size: 18px; font-weight: 900; }
@media (max-width: 720px) { .mvv__row { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr; } }

.letter { max-width: 720px; }
.letter p { font-size: clamp(15.5px, 1.6vw, 17px); }
.letter__sign { margin-top: 1.6em; text-align: right; font-weight: 700; }
.letter__sign span { display: block; font-size: 13px; font-weight: 500; color: var(--greige); }

/* ------------------------------------------------------------ 固定ページ見出し */
.page-hero { background: var(--cream); padding: clamp(40px, 6.5vw, 84px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--greige); }
.crumbs li + li::before { content: "／"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--greige); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 0; }
.page-hero__lead { max-width: 40em; margin: 16px 0 0; font-size: clamp(15px, 1.5vw, 16.5px); color: var(--ink-soft); }

/* ------------------------------------------------------------ 読み物 */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(20px, 2.4vw, 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }
.prose .date { margin-top: 2.4em; color: var(--greige); font-size: 14px; }

/* ------------------------------------------------------------ お問い合わせ */
.call-card {
	display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center;
	background: var(--cream); border-radius: 22px; padding: clamp(28px, 4.5vw, 48px);
}
.call-card h2 { margin: 0 0 8px; }
.call-card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .call-card { grid-template-columns: 1fr; } }

.form-wrap { max-width: 760px; }
.wpcf7 form { display: grid; gap: 22px; }
.wpcf7 p { margin: 0; }
.wpcf7 label { display: block; font-weight: 700; font-size: 15px; }
.wpcf7 .req { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--orange); color: #fff; font-size: 11px; vertical-align: 2px; }
.wpcf7 .opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--cream-deep); color: var(--greige); font-size: 11px; vertical-align: 2px; }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
	background: #fff; color: var(--ink); font: 400 16px/1.6 var(--body);
}
.wpcf7 textarea { min-height: 180px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.wpcf7 .wpcf7-list-item { margin: 8px 18px 0 0; font-weight: 400; }
.wpcf7-submit {
	appearance: none; border: 0; cursor: pointer;
	min-height: 58px; padding: 0 44px; border-radius: 999px;
	background: var(--ink); color: #fff; font: 700 16px/1 var(--body); letter-spacing: .08em;
}
.wpcf7-submit:hover { background: var(--orange); }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #B3261E; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 18px; border-radius: 10px; font-size: 14.5px; }
.form-note { font-size: 13px; color: var(--greige); }

.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partners > div { background: #fff; border-radius: var(--radius); padding: 22px 22px 20px; }
.partners h3 { font-size: 17px; margin-bottom: 6px; }
.partners p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 電話の帯 */
.cta-band {
	display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center;
	background: var(--orange); color: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 56px);
	background-image: radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .16) 0 90px, transparent 91px);
}
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 34px); }
.cta-band p { margin: 0; opacity: .94; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ フッター */
.site-footer { background: var(--forest); color: rgba(255, 255, 255, .88); padding: clamp(52px, 7vw, 76px) 0 28px; font-size: 14.5px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px 48px; }
.site-footer__brand img { width: 184px; height: 57px; margin-bottom: 18px; }
.site-footer__brand p { margin: 0; line-height: 1.8; }
.site-footer__k { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.footer-tel { display: inline-block; font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: .04em; line-height: 1.3; }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ スマホの電話バー */
.callbar { display: none; }
@media (max-width: 860px) {
	body { padding-bottom: 76px; }
	.callbar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
	}
	.callbar a {
		display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px;
		border-radius: 999px; background: var(--orange); color: #fff; text-decoration: none;
		font-weight: 700; font-size: 14px;
	}
	.callbar svg { width: 20px; height: 20px; }
	.callbar strong { font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: .04em; }
}

/* ------------------------------------------------------------ 404 */
.notfound { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.notfound h1 { font-size: clamp(26px, 4vw, 38px); }

/* ------------------------------------------------------------ ブログ：一覧 */
.container--narrow { max-width: 808px; }
.cat-nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.cat-nav a {
	display: block; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line);
	font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; background: #fff;
}
.cat-nav a:hover { border-color: var(--orange); color: var(--orange-deep); }
.cat-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card__link:hover { color: inherit; }
.post-card__thumb { overflow: hidden; border-radius: 12px; background: var(--cream-deep); aspect-ratio: 1200 / 630; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card__link:hover .post-card__thumb img { transform: scale(1.03); }
.post-card__body { padding: 12px 2px 0; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 4px; font-size: 12.5px; color: var(--greige); }
.post-card__cat {
	display: inline-block; padding: 1px 10px; border-radius: 4px; background: var(--orange-soft);
	color: var(--orange-deep); font-size: 12px; font-weight: 700; text-decoration: none; line-height: 1.8;
}
.post-card__title { margin: 0; font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1.6; letter-spacing: .02em; }
.post-card__link:hover .post-card__title { color: var(--orange-deep); }
.post-empty { color: var(--greige); }

.pagination { margin: 44px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--orange); color: var(--orange-deep); }
.blog-cta-wrap { margin-top: clamp(48px, 7vw, 80px); }

/* ------------------------------------------------------------ ブログ：記事 */
.entry-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 28px); }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; font-size: 13px; color: var(--greige); }
.entry-title { font-size: clamp(25px, 3.8vw, 36px); line-height: 1.5; margin: 0; }
.entry-thumb { margin: 0 0 clamp(28px, 4vw, 40px); }
.entry-thumb img { width: 100%; border-radius: var(--radius); }
.entry .blog-cta { margin: clamp(48px, 7vw, 72px) 0 clamp(56px, 8vw, 88px); }

.entry-body { font-size: clamp(16px, 1.7vw, 17px); line-height: 2; }
.entry-body > :first-child { margin-top: 0; }
.entry-body h2 {
	margin: 2.4em 0 1em; padding: 14px 18px; border-radius: 10px; background: var(--cream);
	border-left: 6px solid var(--orange); font-size: clamp(20px, 2.6vw, 25px); line-height: 1.5;
}
.entry-body h3 {
	margin: 2em 0 .8em; padding: 0 0 8px; border-bottom: 2px solid var(--line);
	font-size: clamp(18px, 2.1vw, 20px);
}
.entry-body h4 { margin: 1.6em 0 .6em; font-size: 17px; color: var(--forest); }
.entry-body a { font-weight: 700; }
.entry-body li { margin-bottom: .45em; }
.entry-body img { border-radius: 10px; }
.entry-body figure { margin: 0 0 1.6em; }
.entry-body figcaption { margin-top: 8px; font-size: 13px; color: var(--greige); line-height: 1.6; }
.entry-body strong, .entry-body b { font-weight: 700; background: linear-gradient(transparent 62%, var(--orange-soft) 62%); }
.entry-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* 表は横にはみ出したら表だけスクロールさせる */
.entry-body table {
	display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
	border-collapse: collapse; margin: 0 0 1.6em; font-size: 14.5px; line-height: 1.7;
}
.entry-body th, .entry-body td { padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; text-align: left; min-width: 6em; }
.entry-body thead th, .entry-body tr > th:first-child { background: var(--cream); font-weight: 700; }

.entry-body blockquote {
	margin: 0 0 1.6em; padding: 18px 22px; border-radius: 12px; background: var(--cream);
	border-left: 4px solid var(--line); font-size: 15.5px;
}
.entry-body blockquote p:last-child { margin-bottom: 0; }
.entry-body blockquote.review { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--star); }
.entry-body blockquote cite, .entry-body blockquote footer { display: block; margin-top: 8px; font-size: 13px; font-style: normal; color: var(--greige); }

.entry-body .byline {
	padding: 12px 16px; border-radius: 10px; background: var(--cream);
	font-size: 13.5px; line-height: 1.8; color: var(--ink-soft);
}
/* 生成記事の色指定（赤＝注意・緑＝安心）を class でも受ける */
.entry-body .red { color: #c0392b; font-weight: 700; }
.entry-body .green { color: #1a7f6b; font-weight: 700; }
.entry-body .check-list { list-style: none; padding: 16px 20px; border-radius: 12px; background: var(--cream); }
.entry-body .check-list li { position: relative; padding-left: 28px; }
.entry-body .check-list li::before {
	content: ""; position: absolute; left: 2px; top: .7em; width: 14px; height: 8px;
	border-left: 3px solid var(--forest); border-bottom: 3px solid var(--forest); transform: rotate(-45deg);
}

.related__title { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 24px; }

/* 目次 */
.toc { margin: 0 0 2.2em; padding: 18px 22px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.toc__title { margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-size: 16px; }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 15px; line-height: 1.7; }
.toc li { margin-bottom: .35em; }
.toc a { font-weight: 500; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--orange-deep); text-decoration: underline; }
