/*
Theme Name: なごみITリンクス
Theme URI: https://nagomiit.jp/
Description: 株式会社なごみITリンクス コーポレートサイト。デザイン案2「キネティック・タイポ」（demo/a2-kinetic）を正典として WordPress テーマ化したもの。親テーマ twentytwentyfive のブロックテンプレート機構は functions.php で無効化し、クラシック PHP テンプレートで構成しています。
Author: 株式会社なごみITリンクス
Author URI: https://nagomiit.jp/
Template: twentytwentyfive
Version: 2.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nagomiit-child
*/

/* =========================================================
   nagomiit.jp リニューアル デザイン案2「キネティック・タイポ」
   - アイボリー基調の明るい画面 × 動く巨大文字
   - 配色: ロゴ準拠のみ（アイボリー + 深緑 + ライム一点差し）
   - アニメは transform / opacity のみ
   ========================================================= */

:root {
	/* カラーパレット（ロゴ準拠） */
	--ink: #0F1B07;        /* 深緑（メインテキスト） */
	--green: #5C821A;      /* 中間の緑 */
	--lime: #C6D166;       /* ライム（帯・チップ） */
	--lime-bright: #9fd700;/* 明るいライム（下線の一点差し） */
	--ivory: #fffeef;      /* 背景アイボリー */
	--sage: #dfead6;       /* 補助の淡い緑 */
	--pine: #446158;       /* 補助の深い緑 */
	--charcoal: #2B2F33;   /* フッターのみ */

	--text-muted: rgba(15, 27, 7, 0.72);
	--border: rgba(15, 27, 7, 0.10);

	--container: 1240px;
	--gutter: 20px;
	--radius: 8px;
	--radius-lg: 20px;

	--shadow-xs: 0 2px 10px rgba(15, 27, 7, 0.05);
	--shadow-sm: 0 10px 30px rgba(15, 27, 7, 0.08);

	--focus: 0 0 0 3px rgba(159, 215, 0, 0.55);

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--ink);
	background: var(--ivory);
	font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.8;
	letter-spacing: 0.02em;
	overflow-x: clip; /* 視差スライドのはみ出し保険 */
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

[id] { scroll-margin-top: 84px; }

/* スキップリンク */
.skipLink {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	transform: translateY(-140%);
	transition: transform 0.2s;
	z-index: 9999;
	text-decoration: none;
	font-weight: 700;
}
.skipLink:focus { transform: translateY(0); }

/* 共通 */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.section {
	position: relative;
	padding: 96px 0;
	overflow: clip; /* ゴースト文字のはみ出しを閉じ込める */
}
.kicker {
	display: inline-block;
	margin: 0 0 12px;
	color: var(--green);
	font-weight: 800;
	letter-spacing: 0.1em;
	font-size: 0.82rem;
}
.sectionTitle {
	margin: 0 0 18px;
	font-size: clamp(1.5rem, 3vw, 2.3rem);
	line-height: 1.35;
	letter-spacing: 0.02em;
	font-weight: 900;
}
.sectionLead {
	margin: 0 0 36px;
	color: var(--text-muted);
	max-width: 62ch;
	line-height: 1.85;
}
.sectionLead strong { color: var(--ink); font-weight: 800; }

/* 見出し下線: スクロール到達でライムが走る */
.tline {
	position: relative;
	display: inline-block;
	padding-bottom: 0.16em;
}
.tline::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0.14em;
	background: var(--lime-bright);
	border-radius: 3px;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.9s var(--ease-out) 0.15s;
}
.tline.is-inview::after { transform: scaleX(1); }

/* ゴースト文字（英字・視差スライド） */
.ghost {
	position: absolute;
	margin: 0;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
	color: rgba(92, 130, 26, 0.07);
	pointer-events: none;
	user-select: none;
	line-height: 1;
	will-change: transform;
	z-index: 0;
}
.ghostHero {
	top: 90px;
	left: -2vw;
	font-size: clamp(4rem, 14vw, 13rem);
}
.ghostSection {
	top: 26px;
	left: -1vw;
	font-size: clamp(3.4rem, 11vw, 10rem);
}
.ghostSection--right { left: auto; right: -2vw; }
.section > .container { position: relative; z-index: 1; }

/* ボタン */
.btnRow { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	text-decoration: none;
	font-weight: 800;
	min-height: 48px;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btnPrimary {
	background: var(--ink);
	color: var(--ivory);
}
.btnPrimary:hover { background: var(--green); color: #fff; }
.btnGhost {
	background: transparent;
	border-color: rgba(15, 27, 7, 0.28);
	color: var(--ink);
}
.btnGhost:hover { background: rgba(198, 209, 102, 0.25); border-color: rgba(15, 27, 7, 0.4); }
/* ヒーローは動画の上に乗るので白地にして視認性を確保する。
   他ページの btnGhost は背景が無地なので透明のまま。 */
.hero .btnGhost {
	background: #fff;
	border-color: rgba(15, 27, 7, 0.18);
}
.hero .btnGhost:hover {
	background: var(--sage);
	border-color: rgba(15, 27, 7, 0.32);
}
.btnLg { padding: 16px 32px; font-size: 1.05rem; }

/* マグネットボタン（JSが transform を制御） */
.magnet {
	transition: background-color 0.2s, border-color 0.2s, color 0.2s,
		transform 0.4s var(--ease-out);
	will-change: transform;
}

/* ヘッダー */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 254, 239, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}
.headerInner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	gap: 14px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brandLogo { display: block; height: 40px; width: auto; }
.navToggle {
	display: none;
	border: 1px solid rgba(15, 27, 7, 0.2);
	background: #fff;
	border-radius: 999px;
	padding: 10px 14px;
	font-weight: 800;
	cursor: pointer;
	min-height: 44px;
	font-family: inherit;
	font-size: 0.9rem;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
	text-decoration: none;
	font-weight: 700;
	color: rgba(15, 27, 7, 0.86);
	transition: color 0.2s;
}
.nav a:hover { color: var(--green); }
.nav .navCta {
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--lime);
	color: var(--ink);
	transition: background-color 0.2s;
}
.nav .navCta:hover { background: var(--lime-bright); color: var(--ink); }

/* =========================================================
   ヒーロー: 画面幅いっぱいの巨大タイポ + 額縁動画
   ========================================================= */
.hero {
	position: relative;
	min-height: min(92vh, 860px);
	display: flex;
	align-items: center;
	/* 視覚的中央は幾何学的中央より少し上。下を厚くしてコピーを上げる */
	padding: 24px 0 132px;
	overflow: clip;
}
/* 全面動画レイヤー */
.heroMedia {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.heroScrim {
	position: absolute;
	inset: 0;
	/* 左（コピー側）を強め、右（絵の主役側）は透かす */
	background:
		linear-gradient(100deg,
			rgba(255, 254, 239, 0.96) 0%,
			rgba(255, 254, 239, 0.90) 28%,
			rgba(255, 254, 239, 0.55) 52%,
			rgba(255, 254, 239, 0.10) 74%,
			rgba(255, 254, 239, 0) 100%),
		linear-gradient(to bottom,
			rgba(255, 254, 239, 0.55) 0%,
			rgba(255, 254, 239, 0) 22%);
}
.heroInner {
	position: relative;
	z-index: 1;
	width: 100%;
	/* 右側の絵（窓辺の人物）と重ならないよう、コピーは左に収める。
	   見出し最長行（全角12文字）が折り返さない幅を確保する */
	max-width: 1240px;
	padding: 0 max(var(--gutter), 4vw);
	margin-bottom: 0;
}
.heroKicker { margin: 0 0 26px; }
.kickerChip {
	display: inline-block;
	background: var(--lime);
	color: var(--ink);
	font-weight: 800;
	font-size: 0.88rem;
	letter-spacing: 0.06em;
	padding: 8px 18px;
	border-radius: 999px;
}
.heroTitle {
	margin: 0;
	font-size: clamp(1.55rem, 5.4vw, 5.2rem);
	line-height: 1.14;
	letter-spacing: 0.01em;
	font-weight: 900;
	/* 動画の上に乗るため、にじみを最小限に足して可読性を担保 */
	text-shadow: 0 1px 0 rgba(255, 254, 239, 0.85), 0 0 22px rgba(255, 254, 239, 0.7);
}
/* 1行1文として必ず意図した位置で改行させる（途中での折り返しを禁止） */
.heroLine { display: block; white-space: nowrap; }

/* 分割文字の登場演出（JSが .is-split / .is-run を付与） */
.js .heroTitle .char { display: inline-block; }
.js .heroTitle.is-split .char {
	opacity: 0;
	transform: translateY(0.65em) rotate(12deg);
	transform-origin: 0% 100%;
	transition: transform 0.75s var(--ease-out), opacity 0.5s ease;
	will-change: transform, opacity;
}
.js .heroTitle.is-run .char {
	opacity: 1;
	transform: none;
}

.heroBelow {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-top: 36px;
	flex-wrap: wrap;
}
.heroSub {
	margin: 0;
	max-width: 34em;
	color: var(--text-muted);
	font-size: 1.02rem;
	text-shadow: 0 0 16px rgba(255, 254, 239, 0.9);
}
.heroActions { flex-shrink: 0; }

/* 全面動画 */
.heroVideo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 主役（窓辺の人物）が右に来る絵。右寄せで人物を活かす */
	object-position: 72% center;
}
/* 壮大版 → ループ版のクロスフェード切替（既定はループ版を隠す） */
.heroVideo--loop { opacity: 0; transition: opacity .9s ease; }
.heroMedia.is-looping .heroVideo--loop { opacity: 1; }
.heroMedia.is-looping #heroEpic { opacity: 0; transition: opacity .9s ease; }

/* =========================================================
   マーキー（ライムの帯・ゆっくり横流れ）
   ========================================================= */
.marquee {
	overflow: hidden;
	background: var(--lime);
	border-top: 1px solid rgba(15, 27, 7, 0.08);
	border-bottom: 1px solid rgba(15, 27, 7, 0.08);
}
.marqueeTrack {
	display: flex;
	width: max-content;
	animation: marquee 46s linear infinite;
	will-change: transform;
}
.marquee--rev .marqueeTrack { animation-direction: reverse; }
.marqueeGroup {
	display: flex;
	align-items: center;
	white-space: nowrap;
	padding: 15px 0;
}
.mItem {
	font-weight: 800;
	font-size: 0.98rem;
	letter-spacing: 0.08em;
	color: var(--ink);
	margin-right: 34px;
}
.mDot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(15, 27, 7, 0.45);
	margin-right: 34px;
	flex-shrink: 0;
}
@keyframes marquee {
	to { transform: translateX(-50%); }
}

/* =========================================================
   メッセージ（大きな言葉が視差スライド）
   ========================================================= */
.message { padding: 120px 0; }
.messageTitle {
	margin: 0 0 36px;
	font-weight: 900;
	line-height: 1.3;
	font-size: clamp(1.5rem, 4.6vw, 3.4rem);
	letter-spacing: 0.01em;
}
.msgLine { display: block; will-change: transform; }
.msgLine--indent { padding-left: clamp(0px, 8vw, 120px); }
.messageText {
	margin: 0;
	color: var(--text-muted);
	max-width: 46em;
}

/* =========================================================
   サービス（3本柱 + AI社員PC）
   ========================================================= */
.grid3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow-xs);
	transition: transform 0.45s var(--ease-out), border-color 0.3s;
}
.card:hover,
.js .card.reveal.is-inview:hover { transform: translateY(-5px); border-color: rgba(92, 130, 26, 0.4); }
.cardImage {
	width: 100%;
	height: 180px;
	object-fit: cover;
	object-position: center top;
	border-radius: 14px;
	margin-bottom: 16px;
}
.cardTitle { margin: 0 0 10px; font-size: 1.12rem; font-weight: 900; }
.cardText { margin: 0; color: var(--text-muted); font-size: 0.96rem; }

/* AI社員PC（4つ目の柱） */
.aipc {
	margin-top: 24px;
	background: var(--sage);
	border: 1px solid rgba(68, 97, 88, 0.18);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 4vw, 44px);
}
/* 見出し＋イラストの2カラム */
.aipcTop {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: center;
	margin-bottom: 30px;
}
.aipcHead { max-width: 62ch; }
.aipcImage {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 16px;
	border: 1px solid rgba(68, 97, 88, 0.16);
}
.aipcBadge {
	display: inline-block;
	background: var(--ink);
	color: var(--ivory);
	font-weight: 800;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}
.aipcTitle {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 2.8vw, 2.1rem);
	font-weight: 900;
}
.aipcText { margin: 0 0 16px; color: rgba(15, 27, 7, 0.78); }
.aipcText--sub { margin: 0; font-size: 0.94rem; color: rgba(15, 27, 7, 0.62); }
.planGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 22px 18px;
	transition: transform 0.35s var(--ease-out);
}
.plan:hover { transform: translateY(-4px); }
/* 本命2プランを立てる */
.plan--mid { border-color: var(--green); border-width: 2px; }
/* 最上位は「旗」。塗りを変えて別格に見せる */
.plan--top {
	background: var(--ink);
	border-color: var(--ink);
}
.plan--top .planName { color: var(--lime); }
.plan--top .planPrice,
.plan--top .planFor { color: var(--ivory); }
.plan--top .planList li { color: rgba(255, 254, 239, 0.82); }
.plan--top .planList li::before { background: var(--lime); }
.plan--top .planLimit { color: var(--lime); border-top-color: rgba(255, 254, 239, 0.22); }
.planBadge {
	position: absolute;
	top: -11px;
	left: 18px;
	background: var(--lime);
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 4px 12px;
	border-radius: 999px;
}
.planFor {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--green);
	margin-bottom: 12px;
}
.planList {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.planList li {
	position: relative;
	padding-left: 15px;
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--text-muted);
}
.planList li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green);
}
.planLimit {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--green);
}

/* 積み上げ式であることの明示 */
.planStackLead {
	margin: 0 0 14px;
	font-size: 0.94rem;
	color: rgba(15, 27, 7, 0.72);
}
.planStackLead strong { color: var(--ink); }
.planInherit {
	margin: 0 0 10px;
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(92, 130, 26, 0.1);
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--green);
}
.plan--top .planInherit {
	background: rgba(198, 209, 102, 0.16);
	color: var(--lime);
}

/* 積み上げ比較表 */
.planTableWrap {
	margin-top: 26px;
	overflow-x: auto;
	border: 1px solid rgba(68, 97, 88, 0.18);
	border-radius: 14px;
	background: #fff;
}
.planTable {
	width: 100%;
	min-width: 660px;
	border-collapse: collapse;
	font-size: 0.85rem;
}
.planTable caption {
	caption-side: top;
	text-align: left;
	padding: 14px 16px 10px;
	font-size: 0.85rem;
	font-weight: 800;
	color: var(--green);
}
.planTable th,
.planTable td {
	padding: 10px 12px;
	border-top: 1px solid var(--border);
	text-align: center;
	vertical-align: middle;
}
.planTable thead th {
	border-top: none;
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--ink);
	background: rgba(223, 234, 214, 0.5);
	white-space: nowrap;
}
.planTable thead th span {
	display: block;
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--green);
}
.planTable tbody th {
	text-align: left;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
}
.planTable td { color: var(--text-muted); }
/* 含む＝ライムの丸。文字は読み上げ用に残す */
.planTable td.yes {
	font-size: 0;
	color: transparent;
}
.planTable td.yes::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--green);
}
.planTable td.no { color: rgba(15, 27, 7, 0.32); }
.planTable tbody tr:last-child th,
.planTable tbody tr:last-child td { font-weight: 700; }

.aipcCaveat {
	margin: 18px 0 0;
	padding: 14px 16px;
	border-left: 3px solid var(--green);
	background: rgba(255, 254, 239, 0.75);
	border-radius: 0 10px 10px 0;
	font-size: 0.88rem;
	line-height: 1.75;
	color: rgba(15, 27, 7, 0.8);
}
.aipcCaveat strong { color: var(--ink); }
.planName {
	display: block;
	font-weight: 800;
	font-size: 0.88rem;
	letter-spacing: 0.08em;
	color: var(--green);
	margin-bottom: 6px;
}
.planPrice {
	display: block;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 10px;
}
.planPrice em {
	font-style: normal;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(1.8rem, 2.6vw, 2.4rem);
	letter-spacing: -0.01em;
	margin-right: 2px;
}
.aipcNote {
	margin: 20px 0 0;
	font-size: 0.85rem;
	color: rgba(15, 27, 7, 0.62);
}

/* =========================================================
   進め方 3ステップ
   ========================================================= */
.stepList {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	counter-reset: step;
}
.step {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 26px 24px;
	box-shadow: var(--shadow-xs);
}
.stepNum {
	display: block;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 800;
	font-size: 3.4rem;
	line-height: 1;
	color: var(--lime);
	margin-bottom: 6px;
}
/* いつ・どれくらいかかるか */
.stepWhen {
	display: inline-block;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--green);
	background: rgba(92, 130, 26, 0.1);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.stepTitle { margin: 0 0 10px; font-size: 1.1rem; font-weight: 900; line-height: 1.5; }
.stepText { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.stepText strong { color: var(--ink); font-weight: 800; }

/* 社長がやること / 手に入るもの */
.stepFacts {
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--border);
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 12px;
	font-size: 0.86rem;
}
.stepFacts dt {
	font-weight: 800;
	color: var(--green);
	white-space: nowrap;
}
.stepFacts dd {
	margin: 0;
	color: var(--text-muted);
}

/* =========================================================
   CTA（明るいまま締める）
   ========================================================= */
.cta {
	background: var(--sage);
	padding: 110px 0;
}
.cta .kicker { color: var(--pine); }
.ctaTitle { font-size: clamp(1.7rem, 4vw, 3rem); }
.cta .sectionLead { color: rgba(15, 27, 7, 0.7); }

/* =========================================================
   フッター（ここだけチャコール）
   ========================================================= */
.footer {
	background: var(--charcoal);
	color: rgba(255, 254, 239, 0.92);
	padding: 44px 0;
}
.footerInner {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
}
.footerName { font-weight: 900; }
.footerSmall { font-size: 0.85rem; color: rgba(255, 254, 239, 0.6); }
.footerLinks { display: flex; gap: 18px; flex-wrap: wrap; }
.footerLinks a {
	text-decoration: none;
	color: rgba(255, 254, 239, 0.8);
	font-weight: 700;
	font-size: 0.92rem;
	transition: color 0.2s;
}
.footerLinks a:hover { color: var(--lime); }

/* 下段: 法令・規約は役割が違うので、細い線で区切り控えめに置く */
.footerBottom {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 254, 239, 0.14);
}
.footerLegal { display: flex; gap: 18px; flex-wrap: wrap; }
.footerLegal a {
	text-decoration: none;
	color: rgba(255, 254, 239, 0.55);
	font-size: 0.8rem;
	transition: color 0.2s;
}
.footerLegal a:hover { color: var(--lime); }

/* =========================================================
   スクロール登場（reveal）
   ========================================================= */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
	will-change: transform, opacity;
}
.js .reveal.is-inview {
	opacity: 1;
	transform: none;
}

/* card はホバーの浮き上がりと両立させる（時間差は JS 側で付与） */
.js .card.reveal {
	transition: opacity 0.65s ease, transform 0.45s var(--ease-out), border-color 0.3s;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 980px) {
	.grid3 { grid-template-columns: 1fr; }
	.planGrid { grid-template-columns: repeat(2, 1fr); }
	.aipcTop { grid-template-columns: 1fr; }
	.stepList { grid-template-columns: 1fr; }
	.cardImage { height: 200px; }
	.hero { min-height: min(84vh, 720px); }
	.heroVideo { object-position: 76% center; }
}

@media (max-width: 820px) {
	.navToggle { display: inline-flex; }
	.nav {
		display: none;
		position: absolute;
		left: var(--gutter);
		right: var(--gutter);
		top: calc(64px + 10px);
		background: #fff;
		border: 1px solid var(--border);
		border-radius: 16px;
		padding: 12px;
		box-shadow: var(--shadow-sm);
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.header.isNavOpen .nav { display: flex; }
	.nav a { padding: 12px; border-radius: 10px; }
	.nav a:hover { background: rgba(198, 209, 102, 0.2); }
	.nav .navCta { text-align: center; }
}

@media (max-width: 520px) {
	.section { padding: 72px 0; }
	.planGrid { grid-template-columns: 1fr; }
	/* 狭い画面では「社長がやること」を見出しと本文の縦積みにして読み幅を確保 */
	.stepFacts { grid-template-columns: 1fr; gap: 2px; }
	.stepFacts dd { margin-bottom: 8px; }
	.hero { min-height: min(88vh, 640px); padding: 20px 0 72px; }
	.heroInner { margin-bottom: 0; }
	.heroBelow { margin-top: 28px; }
	/* 縦画面では絵が寄りすぎるので中央寄せ + 全面スクリムで可読性を確保 */
	.heroVideo { object-position: 66% center; }
	.heroScrim {
		background:
			linear-gradient(to bottom,
				rgba(255, 254, 239, 0.92) 0%,
				rgba(255, 254, 239, 0.80) 45%,
				rgba(255, 254, 239, 0.35) 100%);
	}
	.message { padding: 84px 0; }
	.msgLine--indent { padding-left: 0; }
	.cta { padding: 84px 0; }
	.mItem { font-size: 0.88rem; }
}

/* =========================================================
   動きを減らす設定のユーザーには全アニメ停止（表示は保つ）
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
	.heroVideo { display: none; } /* 動きを止め、下のポスター画像を見せる */
	.heroMedia {
		background: url("./assets/hero-poster-new.jpg") 72% center / cover no-repeat;
	}
	.js .reveal,
	.js .heroTitle.is-split .char {
		opacity: 1 !important;
		transform: none !important;
	}
	.tline::after { transform: scaleX(1); }
	[data-px] { transform: none !important; }
	.magnet { transform: none !important; }
}

/* =========================================================
   ここから下は WordPress 化にあたっての追加分
   （上の案2 CSS は demo/a2-kinetic/style.css と同一。変更しない）
   配色・角丸・余白は案2 の変数をそのまま使う
   ========================================================= */

/* --- WordPress 管理バー分の追従ヘッダー補正 --- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .header { top: 46px; }
}

/* --- スクリーンリーダー専用テキスト --- */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip-path: none;
	background: #fff;
	color: var(--ink);
	height: auto;
	width: auto;
	padding: 12px 16px;
	border-radius: 10px;
	box-shadow: var(--shadow-sm);
	z-index: 100000;
	top: 8px;
	left: 8px;
}

/* =========================================================
   下層ページ共通（お問い合わせ／特商法／プライバシーポリシー等）
   ========================================================= */
.pageHead {
	position: relative;
	background: var(--sage);
	padding: 72px 0 56px;
	overflow: clip;
	border-bottom: 1px solid rgba(68, 97, 88, 0.18);
}
.pageHead .kicker { color: var(--pine); }
.pageTitle {
	margin: 0;
	font-size: clamp(1.7rem, 4vw, 2.9rem);
	font-weight: 900;
	line-height: 1.35;
}
.pageLead {
	margin: 16px 0 0;
	max-width: 62ch;
	color: rgba(15, 27, 7, 0.72);
}
.pageHead > .container { position: relative; z-index: 1; }

.pageBody { padding: 72px 0 96px; }
.pageBody > .container { max-width: 880px; }

/* パンくず */
.breadcrumb {
	font-size: 0.82rem;
	color: rgba(15, 27, 7, 0.6);
	margin: 0 0 14px;
}
.breadcrumb a { text-decoration: none; font-weight: 700; color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }

/* 本文（固定ページ・投稿の共通タイポ） */
.prose { color: rgba(15, 27, 7, 0.82); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 {
	margin: 48px 0 16px;
	font-size: clamp(1.2rem, 2.4vw, 1.5rem);
	font-weight: 900;
	line-height: 1.5;
	color: var(--ink);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--lime);
}
.prose h3 {
	margin: 32px 0 12px;
	font-size: 1.05rem;
	font-weight: 900;
	color: var(--ink);
}
.prose p { margin: 0 0 18px; }
.prose ul,
.prose ol { margin: 0 0 20px; padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 800; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

/* 定義リスト形式の表記（特商法ページ） */
.legalList {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(180px, 240px) 1fr;
	gap: 0;
	border-top: 1px solid var(--border);
}
.legalList dt {
	padding: 16px 18px;
	font-weight: 800;
	color: var(--ink);
	background: rgba(223, 234, 214, 0.45);
	border-bottom: 1px solid var(--border);
}
.legalList dd {
	margin: 0;
	padding: 16px 18px;
	border-bottom: 1px solid var(--border);
	color: rgba(15, 27, 7, 0.82);
}
.legalList dd p { margin: 0 0 10px; }
.legalList dd p:last-child { margin-bottom: 0; }
.legalList ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 640px) {
	.legalList { grid-template-columns: 1fr; }
	.legalList dt { border-bottom: none; }
}

/* 社長が埋める未確定項目 */
.todoMark {
	display: inline-block;
	background: rgba(198, 209, 102, 0.45);
	border: 1px dashed var(--green);
	border-radius: 6px;
	padding: 1px 8px;
	font-size: 0.88em;
	font-weight: 800;
	color: var(--ink);
	font-style: normal;
}

/* 注意書きボックス（案2 の .aipcCaveat と同じ形） */
.noteBox {
	margin: 24px 0;
	padding: 16px 18px;
	border-left: 3px solid var(--green);
	background: rgba(223, 234, 214, 0.5);
	border-radius: 0 10px 10px 0;
	font-size: 0.9rem;
	line-height: 1.8;
	color: rgba(15, 27, 7, 0.8);
}
.noteBox strong { color: var(--ink); }

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.contactGrid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
@media (max-width: 900px) {
	.contactGrid { grid-template-columns: 1fr; }
}

.contactAside {
	background: var(--sage);
	border: 1px solid rgba(68, 97, 88, 0.18);
	border-radius: var(--radius-lg);
	padding: 24px;
	position: sticky;
	top: 96px;
}
@media (max-width: 900px) {
	.contactAside { position: static; }
}
.contactAside h2 {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 900;
}
.contactAside p { margin: 0 0 14px; font-size: 0.92rem; color: rgba(15, 27, 7, 0.78); }
.contactAside ul { margin: 0; padding-left: 0; list-style: none; }
.contactAside li {
	position: relative;
	padding-left: 15px;
	font-size: 0.9rem;
	line-height: 1.75;
	margin-bottom: 8px;
	color: rgba(15, 27, 7, 0.78);
}
.contactAside li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.68em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green);
}

.contactForm { margin: 0; }
.formField { margin-bottom: 24px; }
.formLabel {
	display: block;
	font-weight: 800;
	font-size: 0.92rem;
	margin-bottom: 8px;
	color: var(--ink);
}
.req,
.opt {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 2px 8px;
	border-radius: 999px;
	margin-left: 8px;
	vertical-align: 2px;
}
.req { background: var(--ink); color: var(--ivory); }
.opt { background: rgba(15, 27, 7, 0.08); color: rgba(15, 27, 7, 0.6); }

.formHint {
	display: block;
	margin: 6px 0 0;
	font-size: 0.82rem;
	color: rgba(15, 27, 7, 0.58);
}

.formInput,
.formSelect,
.formTextarea {
	width: 100%;
	background: #fff;
	border: 1px solid rgba(15, 27, 7, 0.22);
	border-radius: 12px;
	padding: 14px 16px;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink);
	min-height: 52px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.formTextarea { min-height: 200px; resize: vertical; }
.formSelect {
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--green) 50%),
		linear-gradient(135deg, var(--green) 50%, transparent 50%);
	background-position: calc(100% - 21px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 44px;
}
.formInput:hover,
.formSelect:hover,
.formTextarea:hover { border-color: rgba(15, 27, 7, 0.4); }
.formInput:focus,
.formSelect:focus,
.formTextarea:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: var(--focus);
}
.formInput::placeholder,
.formTextarea::placeholder { color: rgba(15, 27, 7, 0.35); }

/* エラーのある項目 */
.formField.hasError .formInput,
.formField.hasError .formSelect,
.formField.hasError .formTextarea { border-color: #a4322a; }
.fieldError {
	display: block;
	margin: 8px 0 0;
	font-size: 0.85rem;
	font-weight: 700;
	color: #a4322a;
}

/* 同意チェック */
.formConsent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fff;
	border: 1px solid rgba(15, 27, 7, 0.22);
	border-radius: 12px;
	padding: 16px 18px;
	cursor: pointer;
}
.formConsent input[type="checkbox"] {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--green);
	cursor: pointer;
}
.formConsent span { font-size: 0.94rem; line-height: 1.7; }
.formConsent a { color: var(--green); font-weight: 700; }
.formField.hasError .formConsent { border-color: #a4322a; }

/* ハニーポット（人には見せない・スクリーンリーダーにも読ませない） */
.hpField {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.formActions { margin-top: 32px; }
.formActions .btn { border: 0; cursor: pointer; font-family: inherit; font-size: 1.05rem; }

/* 通知（成功・失敗） */
.formNotice {
	border-radius: 16px;
	padding: 22px 24px;
	margin: 0 0 32px;
	line-height: 1.85;
}
.formNotice h2 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 900; }
.formNotice p { margin: 0 0 10px; }
.formNotice p:last-child { margin-bottom: 0; }
.formNotice--ok {
	background: rgba(198, 209, 102, 0.3);
	border: 1px solid var(--green);
	color: var(--ink);
}
.formNotice--ng {
	background: rgba(164, 50, 42, 0.06);
	border: 1px solid rgba(164, 50, 42, 0.4);
	color: #7d2620;
}
.formNotice--ng a { color: #7d2620; font-weight: 800; }
.errorList { margin: 10px 0 0; padding-left: 1.2em; }
.errorList li { margin-bottom: 4px; }

/* =========================================================
   投稿・アーカイブ・検索・404（最低限）
   ========================================================= */
/* 投稿一覧のスタイルは「ブログ一覧」セクションに一本化した（重複定義を撤去） */
.pager { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	text-decoration: none;
	font-weight: 700;
}
.pager .page-numbers.current { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.searchForm { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.searchForm input[type="search"] {
	flex: 1 1 220px;
	background: #fff;
	border: 1px solid rgba(15, 27, 7, 0.22);
	border-radius: 999px;
	padding: 12px 20px;
	font-family: inherit;
	font-size: 1rem;
	min-height: 48px;
}
.searchForm input[type="search"]:focus { outline: none; border-color: var(--green); box-shadow: var(--focus); }
.searchForm .btn { border: 0; cursor: pointer; font-family: inherit; }

/* =========================================================
   reCAPTCHA v3（お問い合わせページ）
   ========================================================= */
/* Google のバッジは右下固定で他要素に被るため、少し持ち上げる */
.grecaptcha-badge {
	bottom: 84px !important;
	z-index: 5;
}
.formNote--recaptcha {
	margin: 14px 0 0;
	font-size: 0.78rem;
	line-height: 1.7;
	color: rgba(15, 27, 7, 0.55);
}
.formNote--recaptcha a {
	color: var(--green);
	text-decoration: underline;
}

/* =========================================================
   法令表示ページ（特商法・プライバシーポリシー）
   ========================================================= */
/* 見出しが変な位置で折り返さないようにする。
   PC は語句の途中で切らず、狭い画面だけ自然に折り返す。 */
.legalTitle,
.legalTableWrap th,
.entry-content h2 {
	word-break: keep-all;
	overflow-wrap: break-word;
	text-wrap: balance;
}

.legalTableWrap {
	margin-top: 2rem;
	overflow-x: auto;
}
.legalTable {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94rem;
}
.legalTable th,
.legalTable td {
	padding: 16px 18px;
	border: 1px solid var(--border);
	vertical-align: top;
	text-align: left;
	line-height: 1.85;
}
.legalTable th {
	width: 15em;
	background: rgba(223, 234, 214, 0.4);
	font-weight: 800;
	color: var(--ink);
	/* PC では十分な幅があるので項目名を折り返さない */
	white-space: nowrap;
}
.legalTable td { color: var(--text-muted); }
.legalTable small {
	display: inline-block;
	margin-top: 6px;
	font-size: 0.84rem;
	line-height: 1.8;
	color: rgba(15, 27, 7, 0.58);
}
.legalTable a { color: var(--green); text-decoration: underline; }
.legalList { margin: 0; padding-left: 1.2em; }
.legalList li { margin: 4px 0; }
.legalP { margin: 0 0 10px; }
.legalP:last-child { margin-bottom: 0; }
.legalRevised {
	margin-top: 24px;
	font-size: 0.86rem;
	color: rgba(15, 27, 7, 0.55);
}

@media (max-width: 720px) {
	/* スマホでは項目名を折り返し可にして、縦積みで読ませる */
	.legalTable th,
	.legalTable td {
		display: block;
		width: auto;
		white-space: normal;
		border-bottom: none;
	}
	.legalTable td { border-top: none; padding-top: 0; }
	.legalTable tr { display: block; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
	.legalTable tr:last-child { border-bottom: none; }
}

/* 固定ページ本文（プライバシーポリシー等）の表と見出し */
.post-content h2 {
	word-break: keep-all;
	overflow-wrap: break-word;
	text-wrap: balance;
}
.post-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: 0.94rem;
}
.post-content th,
.post-content td {
	padding: 14px 16px;
	border: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
	line-height: 1.85;
}
.post-content th {
	width: 16em;
	background: rgba(223, 234, 214, 0.4);
	font-weight: 800;
	/* PC では項目名を折り返さない */
	white-space: nowrap;
}
.post-content td { color: var(--text-muted); }
.post-content a { color: var(--green); }

@media (max-width: 720px) {
	.post-content th,
	.post-content td {
		display: block;
		width: auto;
		white-space: normal;
		border-bottom: none;
	}
	.post-content td { border-top: none; padding-top: 0; }
	.post-content tr { display: block; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
	.post-content tr:last-child { border-bottom: none; }
}

/* =========================================================
   本文の行末調整
   行末に1〜2文字だけ取り残される「泣き別れ」を防ぐ。
   text-wrap: pretty は未対応ブラウザでは単に無視される（安全）。
   ========================================================= */
/* 短いリード文は行の長さを揃える。
   pretty だけだと日本語の語（例: 中小企業）が途中で割れることがあるため、
   Chrome で実測して balance が最も自然だったものをこちらに分けている。 */
.sectionLead,
.pageLead,
.heroSub,
.postEmptyText,
.aipcText {
	text-wrap: balance;
	word-break: auto-phrase;
}

/* 本文の長い段落は balance の対象外（行数が多いと効かないため pretty） */
.cardText,
.stepText,
.planStackLead,
.aipcNote,
.aipcCaveat,
.post-content p,
.legalTable td,
.formNote {
	text-wrap: pretty;
	/* 日本語は文節の切れ目で改行させる（Chrome 119+）。
	   未対応ブラウザは従来どおりの折り返しになる。 */
	word-break: auto-phrase;
}

/* =========================================================
   ブログ一覧（3列カード + 右サイドバー）
   ========================================================= */
.blogSection { padding: 72px 0 96px; }
.blogLayout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 296px;
	gap: 56px;
	align-items: start;
}
.blogMain { min-width: 0; }

.postGrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 24px;
}

/* --- 記事カード --- */
.postCard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.postCard:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-sm);
}
.postCardThumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--sage);
	overflow: hidden;
}
.postCardThumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease-out);
}
.postCard:hover .postCardThumb img { transform: scale(1.05); }
/* アイキャッチ未設定はロゴマークを小さく中央に */
.postCard--noThumb .postCardThumb img {
	object-fit: contain;
	padding: 24%;
	opacity: 0.45;
}
.postCard--noThumb:hover .postCardThumb img { transform: none; }
/* 画像右上のカテゴリー表示 */
.postCardCat {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(15, 27, 7, 0.82);
	color: var(--lime);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 4px 12px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.postCardBody {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 18px 16px;
}
.postCardTitle {
	margin: 0 0 10px;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.6;
	text-wrap: balance;
	word-break: auto-phrase;
}
.postCardTitle a { text-decoration: none; transition: color 0.2s; }
.postCardTitle a:hover { color: var(--green); }
.postCardExcerpt {
	margin: 0 0 14px;
	flex: 1;
	color: var(--text-muted);
	font-size: 0.88rem;
	line-height: 1.85;
	text-wrap: pretty;
	word-break: auto-phrase;
}
.postCardDate {
	margin: 0;
	font-size: 0.8rem;
	color: rgba(15, 27, 7, 0.5);
}

/* --- サイドバー --- */
.blogSide {
	display: flex;
	flex-direction: column;
	gap: 32px;
	position: sticky;
	top: 88px;
}
.sideTitle {
	margin: 0 0 14px;
	padding-bottom: 10px;
	font-size: 1rem;
	font-weight: 900;
	border-bottom: 2px solid var(--ink);
}
.sideList { list-style: none; margin: 0; padding: 0; }
.sideList li { border-bottom: 1px solid var(--border); }
.sideLink {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 4px;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 700;
	transition: color 0.2s;
}
.sideLink:hover { color: var(--green); }
.sideLink.is-current { color: var(--green); }
.sideLink.is-current .sideLabel { text-decoration: underline; }
.sideCount {
	flex-shrink: 0;
	min-width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sage);
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 800;
	color: var(--ink);
}
.sideSelect {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: #fff;
	font-family: inherit;
	font-size: 0.92rem;
	color: var(--ink);
	cursor: pointer;
}
.sideSelect:focus { outline: none; box-shadow: var(--focus); }

.sideBlock--cta {
	background: var(--sage);
	border-radius: 16px;
	padding: 22px 20px;
}
.sideCtaText {
	margin: 0 0 14px;
	font-size: 0.9rem;
	line-height: 1.85;
	text-wrap: pretty;
	word-break: auto-phrase;
}
.sideBlock--cta .btn { width: 100%; }

/* --- レスポンシブ --- */
@media (max-width: 1080px) {
	.blogLayout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
	.postGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	/* サイドバーは記事一覧の下へ */
	.blogLayout { grid-template-columns: 1fr; gap: 48px; }
	.blogSide { position: static; }
}
@media (max-width: 560px) {
	.postGrid { grid-template-columns: 1fr; }
}

/* --- 記事なし --- */
.postEmpty {
	background: var(--sage);
	border-radius: var(--radius-lg);
	padding: clamp(28px, 5vw, 52px);
	text-align: center;
}
.postEmptyTitle { margin: 0 0 10px; font-size: 1.2rem; font-weight: 900; }
.postEmptyText { margin: 0 0 20px; color: var(--text-muted); }
.postEmpty .btnRow { justify-content: center; }

/* --- ページ送り --- */
.postPagination { margin-top: 44px; }
.postPagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}
.postPagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	transition: background-color 0.2s, border-color 0.2s;
}
.postPagination .page-numbers:hover { background: var(--sage); }
.postPagination .page-numbers.current {
	background: var(--ink);
	color: var(--ivory);
	border-color: var(--ink);
}

/* フッターの住所 */
.footerAddress {
	margin-top: 10px;
	font-style: normal;
	font-size: 0.84rem;
	line-height: 1.9;
	color: rgba(255, 254, 239, 0.6);
}
.footerAddress a { color: rgba(255, 254, 239, 0.78); text-decoration: none; }
.footerAddress a:hover { color: var(--lime); }

.footerAddrLink { display: block; margin-top: 2px; }
