/* =============================================
   Sekkei (FBL) main.css
   ムードボード準拠トークン + 全画面スタイル
   モバイルファースト
   ============================================= */

/* ---------- 1. Design tokens ---------- */
:root {
	--navy: #0E2A47;
	--terracotta: #D87C5A;
	--sage: #7CA08B;
	--cream: #F4EFE6;       /* Warm Off-White */
	--cream-soft: #FDF7F0;  /* Soft Cream */
	--charcoal: #2A2A2A;
	--navy-08: rgba(14, 42, 71, 0.08);
	--navy-15: rgba(14, 42, 71, 0.15);

	--font-display: "Fraunces", "Shippori Mincho", serif; /* Noe Display相当 */
	--font-serif-jp: "Shippori Mincho", serif;
	--font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

	--ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1); /* ムードボード指定 */
	--spring: cubic-bezier(0.34, 1.4, 0.64, 1);
	--stagger: 0.2s; /* 各要素のディレイは0.2sずつ */

	--radius: 16px;
	--radius-lg: 24px;
	--shadow: 0 6px 24px rgba(14, 42, 71, 0.08);
	--container: 1080px;
	--header-h: 64px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.9;
	color: var(--charcoal);
	background: var(--cream-soft);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-serif-jp); font-weight: 600; line-height: 1.5; color: var(--navy); margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
	position: absolute; width: 1px; height: 1px;
	clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
	position: absolute; left: 8px; top: -48px; z-index: 100;
	background: var(--navy); color: var(--cream-soft);
	padding: 10px 16px; border-radius: 8px; transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 760px; }
.section { padding: 64px 0; }
.section-cream { background: var(--cream); }

.section-title {
	font-size: 1.5rem;
	text-align: center;
	letter-spacing: 0.04em;
	margin-bottom: 1.6em;
}
.section-title.is-left { text-align: left; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-head .section-title { margin-bottom: 0.8em; }

.text-link {
	font-size: 0.9rem; font-weight: 500;
	border-bottom: 1px solid var(--terracotta);
	padding-bottom: 2px;
	transition: color 0.25s var(--ease-out-expo);
}
.text-link:hover { color: var(--terracotta); }

/* ---------- 3. Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 10px 30px;
	border-radius: 999px;
	font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
	letter-spacing: 0.04em;
	cursor: pointer; border: 2px solid transparent;
	transition: transform 0.35s var(--spring), box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn:hover { transform: scale(1.03); box-shadow: var(--shadow); } /* scale 1.0→1.03 spring */
.btn-navy { background: var(--navy); color: var(--cream-soft); }
.btn-navy:hover { background: #123659; color: var(--cream-soft); }
.btn-outline { background: transparent; color: var(--terracotta); border-color: var(--terracotta); }
.btn-outline:hover { background: var(--terracotta); color: var(--cream-soft); }
.btn-cream { background: var(--cream-soft); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 6px 20px; font-size: 0.85rem; }

/* ---------- 4. Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--cream-soft) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--navy-08);
}
.header-inner {
	max-width: var(--container); margin-inline: auto;
	padding: 10px 20px; min-height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
	font-family: var(--font-display);
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
	line-height: 1.35; color: var(--navy);
}
.brand-tagline {
	font-family: var(--font-display); font-weight: 400;
	font-size: 0.58rem; letter-spacing: 0.04em;
	color: #8a8a8a;
}
@media (max-width: 520px) { .brand-tagline { display: none; } }
.fbl-mark { display: inline-flex; width: var(--mark-size, 44px); flex: none; }
.fbl-mark img, .fbl-mark svg { width: 100%; height: auto; display: block; }

.nav-list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-list a {
	font-size: 0.92rem; font-weight: 500; padding: 6px 2px;
	border-bottom: 2px solid transparent;
	transition: border-color 0.25s var(--ease-out-expo);
}
.nav-list a:hover { border-color: var(--terracotta); }
.global-nav { display: flex; align-items: center; gap: 24px; }

.nav-toggle { display: none; }

@media (max-width: 820px) {
	.nav-toggle {
		display: grid; place-items: center;
		width: 44px; height: 44px;
		background: none; border: none; cursor: pointer;
	}
	.nav-toggle-bar,
	.nav-toggle-bar::before,
	.nav-toggle-bar::after {
		content: ""; display: block; width: 22px; height: 2px;
		background: var(--navy); border-radius: 2px; position: relative;
		transition: transform 0.3s var(--ease-out-expo), opacity 0.2s;
	}
	.nav-toggle-bar::before { position: absolute; top: -7px; }
	.nav-toggle-bar::after { position: absolute; top: 7px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

	.global-nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--cream-soft);
		border-bottom: 1px solid var(--navy-08);
		padding: 12px 20px 24px;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: transform 0.35s var(--ease-out-expo), opacity 0.3s, visibility 0.3s;
	}
	.global-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; gap: 4px; }
	.nav-list a { display: block; padding: 12px 4px; font-size: 1rem; }
	.header-cta { margin-top: 12px; }
}

/* ---------- 5. HERO(入場シーケンス 0〜2.5s) ---------- */
.hero {
	position: relative; overflow: hidden;
	background: var(--cream-soft);
	padding: 48px 0 88px;
	min-height: calc(100svh - var(--header-h));
	display: flex; flex-direction: column; justify-content: center;
}
.hero-mesh {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(60% 50% at 78% 30%, rgba(216, 124, 90, 0.14), transparent 70%),
		radial-gradient(50% 45% at 15% 85%, rgba(124, 160, 139, 0.12), transparent 70%),
		linear-gradient(160deg, rgba(14, 42, 71, 0.05), transparent 55%);
	opacity: 0;
}
.hero-wave {
	position: absolute; left: 0; right: 0; bottom: 12%;
	width: 100%; height: 90px; pointer-events: none;
}
.hero-inner {
	position: relative;
	max-width: var(--container); margin-inline: auto; padding-inline: 20px;
	display: grid; gap: 28px;
}
.hero-logo { display: inline-flex; margin-bottom: 8px; }
.hero-headline {
	font-family: var(--font-serif-jp);
	font-size: clamp(1.9rem, 6.4vw, 3.2rem);
	line-height: 1.42; letter-spacing: 0.02em;
	margin-bottom: 0.4em;
}
.hero-tagline {
	font-family: var(--font-display); font-weight: 400;
	font-size: 0.95rem; letter-spacing: 0.06em;
	color: var(--terracotta); margin-bottom: 0.6em;
}
.hero-sub { font-size: 0.98rem; color: #4a4a4a; margin-bottom: 1.2em; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.6em; }
.hero-badge {
	display: inline-flex; align-items: center; min-height: 34px;
	padding: 4px 16px; border-radius: 999px;
	background: var(--cream); color: var(--navy);
	font-size: 0.82rem; font-weight: 600;
	border: 1px solid var(--navy-08);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-portrait {
	margin: 0; border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 5; max-width: 480px;
	background: linear-gradient(150deg, #f8e9dd, #efe3d2); /* 暖色リムライトの下地 */
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait.is-placeholder img { display: none; }

@media (min-width: 900px) {
	.hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
	.hero-portrait { justify-self: end; width: 100%; }
}
@media (max-width: 899px) {
	/* モバイルは「写真よりテキスト+CTA優先」→ 写真は控えめに背面 */
	.hero { padding-top: 32px; }
	.hero-portrait { order: -1; max-width: 260px; aspect-ratio: 1; border-radius: 50%; margin-inline: auto; }
	.hero-copy { text-align: center; }
	.hero-badges { justify-content: center; }
	.hero-cta { justify-content: center; }
	.hero-cta .btn { width: min(100%, 320px); }
}

/* 入場シーケンス:
   01 mesh → 02 logo(最長ドウェル) → 03 headline wipe(0.8s) →
   04 subhead fade → 05 CTA pop → 06 scroll hint glow */
@keyframes seq-fade { to { opacity: 1; } }
@keyframes seq-fade-up {
	from { opacity: 0; transform: translateY(24px); }
	60%  { opacity: 0.6; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes seq-wipe {
	from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(24px); }
	to   { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}
@keyframes seq-pop {
	0%   { opacity: 0; transform: scale(0.96); }
	70%  { opacity: 1; transform: scale(1.03); }
	100% { opacity: 1; transform: scale(1); }
}
@keyframes hint-glow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(216, 124, 90, 0.5); }
	50%      { box-shadow: 0 0 0 12px rgba(216, 124, 90, 0); }
}

.seq { opacity: 0; }
body.is-loaded .hero-mesh { animation: seq-fade 0.6s var(--ease-out-expo) forwards; }
body.is-loaded .seq-1 { animation: seq-fade-up 0.6s var(--ease-out-expo) 0.2s forwards; }  /* logo entry */
body.is-loaded .seq-2 { animation: seq-wipe 0.8s var(--ease-out-expo) 0.4s forwards; }     /* headline wipe */
body.is-loaded .seq-3 { animation: seq-fade-up 0.6s var(--ease-out-expo) 0.8s forwards; }  /* subhead / portrait */
body.is-loaded .seq-4 { animation: seq-pop 0.6s var(--spring) 1.1s forwards; }             /* primary CTA pop */
body.is-loaded .seq-5 { opacity: 1; animation: seq-pop 0.6s var(--spring) 1.3s backwards; }
body.is-loaded .seq-6 { animation: seq-fade 0.6s var(--ease-out-expo) 1.9s forwards; }     /* scroll hint */

.scroll-hint {
	position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1.5px solid var(--terracotta);
	animation-name: none;
}
body.is-loaded .scroll-hint { animation: seq-fade 0.6s var(--ease-out-expo) 1.9s forwards; }
.scroll-hint-dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--terracotta);
	animation: hint-glow 1.4s ease-in-out infinite; /* glow 1.4s loop */
}

/* ---------- 6. Scroll reveal(下からふわっと) ---------- */
[data-reveal],
[data-reveal-stagger] > * {
	opacity: 0; transform: translateY(24px);
	transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.is-visible[data-reveal],
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.2s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.4s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.6s; }
[data-reveal-stagger].is-visible > *:nth-child(n+5) { transition-delay: 0.8s; }

/* ---------- 7. サービス内容(5本柱) ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.flow-step {
	background: var(--cream-soft); border-radius: var(--radius);
	padding: 28px 24px; box-shadow: var(--shadow);
	text-align: center;
}
.flow-num {
	display: inline-grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%;
	border: 1.5px solid var(--terracotta);
	font-family: var(--font-display); font-weight: 600;
	color: var(--terracotta); margin-bottom: 12px;
}
.flow-step h3 { font-size: 1.05rem; }
.flow-step p { font-size: 0.9rem; margin: 0; color: #4a4a4a; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* ---------- 8. プロフィール ---------- */
.profile-grid { display: grid; gap: 32px; align-items: center; }
.profile-photo {
	margin: 0; border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow); aspect-ratio: 1; max-width: 420px;
	background: linear-gradient(150deg, #f3ead9, #e9ddc9);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo.is-placeholder img { display: none; }
.profile-sign {
	font-family: var(--font-display); font-style: italic;
	font-size: 1.3rem; color: var(--navy); opacity: 0.7;
}
@media (min-width: 860px) { .profile-grid { grid-template-columns: 0.8fr 1.2fr; } }

/* ---------- 9. 事例カルーセル ---------- */
.cases-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px);
	gap: 16px; overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px 4px 16px;
	scrollbar-width: none;
}
.cases-track::-webkit-scrollbar { display: none; }
.case-card {
	scroll-snap-align: center;
	background: var(--cream-soft); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 24px 22px;
}
.case-tag { font-size: 0.8rem; color: var(--sage); font-weight: 700; margin-bottom: 8px; }
.case-metric { font-size: 0.9rem; color: var(--navy); margin-bottom: 2px; }
.case-metric strong {
	display: block;
	font-family: var(--font-display); font-weight: 600;
	font-size: 2.6rem; line-height: 1.15; color: var(--terracotta);
}
.case-metric strong span { font-size: 1.2rem; }
.case-note { font-size: 0.8rem; color: #6a6a6a; margin: 0; }
@media (min-width: 860px) {
	.cases-track { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
	.carousel-dots { display: none; }
}
.carousel-dots { display: flex; justify-content: center; gap: 8px; }
.carousel-dots button {
	width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
	background: var(--navy-15); cursor: pointer;
	transition: background 0.3s, transform 0.3s var(--spring);
}
.carousel-dots button.is-active { background: var(--terracotta); transform: scale(1.3); }

/* ---------- 9b. こんな課題に対応しています ---------- */
.issue-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.issue-list li {
	position: relative; padding-left: 32px;
	font-size: 0.98rem; color: var(--charcoal);
}
.issue-list li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	display: inline-grid; place-items: center;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--sage); color: var(--cream-soft);
	font-size: 0.75rem; font-weight: 700;
}

/* ---------- 10. お客様の声 ---------- */
.voice {
	margin: 0 auto; max-width: 640px;
	background: var(--cream); border-radius: var(--radius-lg);
	padding: 32px 28px; position: relative;
}
.section-cream .voice, .voice.is-compact { background: var(--cream-soft); box-shadow: var(--shadow); }
.voice::before {
	content: "\201C";
	position: absolute; top: 2px; left: 18px;
	font-family: var(--font-display); font-size: 3.4rem;
	color: var(--terracotta); opacity: 0.55; line-height: 1;
}
.voice blockquote { margin: 0 0 12px; }
.voice blockquote p { margin: 0; font-size: 0.98rem; }
.voice figcaption { font-size: 0.82rem; color: #6a6a6a; text-align: right; }
.voice.is-compact { padding: 22px 20px 18px; margin-bottom: 16px; }
.voice.is-compact blockquote p { font-size: 0.92rem; }

/* ---------- 11. FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
	background: var(--cream-soft); border-radius: 12px;
	box-shadow: var(--shadow); overflow: hidden;
}
.section:not(.section-cream) .faq-item { background: var(--cream); box-shadow: none; }
.faq-item summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 20px; font-weight: 700; font-size: 0.95rem; color: var(--navy);
	min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-icon::before, .faq-icon::after {
	content: ""; position: absolute; inset: 0; margin: auto;
	background: var(--terracotta); border-radius: 2px;
	transition: transform 0.3s var(--ease-out-expo);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-item > p { margin: 0; padding: 0 20px 18px; font-size: 0.92rem; }

/* ---------- 12. ニュースレター帯 ---------- */
.newsletter-band { background: var(--cream); text-align: center; }
.newsletter-badge {
	display: inline-block; background: var(--terracotta); color: var(--cream-soft);
	font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
	padding: 4px 14px; border-radius: 999px; margin-bottom: 12px;
}
.newsletter-lead { margin-bottom: 1.6em; }
.newsletter-form {
	display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.newsletter-form input {
	flex: 1 1 220px; max-width: 340px; min-height: 48px;
	border: 1px solid var(--navy-15); border-radius: 999px;
	padding: 10px 20px; font-family: inherit; font-size: 0.95rem;
	background: var(--cream-soft);
}
.newsletter-form input:focus-visible { outline-offset: 0; }

/* ---------- 13. フッター ---------- */
.site-footer { background: var(--cream-soft); border-top: 1px solid var(--navy-08); padding: 56px 0 0; }
.footer-inner {
	max-width: var(--container); margin-inline: auto; padding-inline: 20px;
	display: grid; gap: 36px;
}
.footer-brand-name {
	font-family: var(--font-display); font-weight: 600;
	letter-spacing: 0.14em; font-size: 0.85rem; color: var(--navy);
	margin: 12px 0 8px; line-height: 1.4;
}
.footer-brand-copy { font-size: 0.85rem; color: #5a5a5a; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.footer-heading { font-weight: 700; font-size: 0.85rem; color: var(--navy); letter-spacing: 0.06em; margin-bottom: 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { font-size: 0.88rem; color: #4a4a4a; }
.footer-col a:hover { color: var(--terracotta); }
.footer-note { font-size: 0.85rem; color: #5a5a5a; }
.footer-copy {
	margin: 40px 0 0; padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
	text-align: center; font-size: 0.75rem; color: #8a8a8a;
	border-top: 1px solid var(--navy-08);
}
@media (min-width: 900px) {
	.footer-inner { grid-template-columns: 0.9fr 1.6fr 1fr; }
}

/* ---------- 14. フローティングCTA(親指ゾーン・下端80px以内) ---------- */
.floating-cta {
	position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 40;
	display: flex; align-items: center; gap: 8px;
}
.floating-cta-badge {
	background: var(--cream-soft); color: var(--navy);
	font-size: 0.7rem; font-weight: 700; line-height: 1.4;
	padding: 8px 14px; border-radius: 999px;
	box-shadow: var(--shadow); text-align: center;
}
.floating-cta-circle {
	display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--navy); color: var(--cream-soft);
	font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
	box-shadow: var(--shadow);
	transition: transform 0.35s var(--spring);
}
.floating-cta:hover .floating-cta-circle { transform: scale(1.06); }

/* ---------- 15. ページ共通ヘッド ---------- */
.page-head { padding-bottom: 24px; }
.page-title {
	font-family: var(--font-display); font-weight: 400;
	font-size: clamp(2rem, 6vw, 2.8rem);
	letter-spacing: 0.08em; text-align: center;
	position: relative; padding-bottom: 14px; margin-bottom: 0.8em;
}
.page-title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 48px; height: 2px; background: var(--terracotta); border-radius: 2px;
}
.page-lead { text-align: center; color: #4a4a4a; }

/* ---------- 16. ブログ:チップ+カード ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
	display: inline-flex; align-items: center; min-height: 38px;
	padding: 4px 18px; border-radius: 999px;
	background: var(--cream); color: var(--navy);
	font-size: 0.85rem; font-weight: 500;
	border: 1px solid transparent;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: var(--terracotta); color: var(--terracotta); }
.chip.is-active { background: var(--terracotta); color: var(--cream-soft); }

.post-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
	background: var(--cream-soft); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow);
	transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14, 42, 71, 0.12); }
.post-card-link { display: block; color: inherit; }
.post-card-thumb { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(150deg, var(--cream), #eee2cf);
}
.post-card-body { padding: 18px 20px 20px; }
.post-card-cat {
	display: inline-block; font-size: 0.72rem; font-weight: 700;
	color: var(--terracotta); letter-spacing: 0.08em;
	border-bottom: 1px solid var(--terracotta);
	padding-bottom: 2px; margin-bottom: 10px;
}
.post-card-title { font-size: 1.02rem; line-height: 1.6; margin-bottom: 12px; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.75rem; color: #7a7a7a; }
.empty-note { text-align: center; color: #6a6a6a; }

.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: 999px; background: var(--cream-soft); color: var(--navy);
	font-size: 0.9rem;
}
.pagination .page-numbers.current { background: var(--navy); color: var(--cream-soft); }

/* ---------- 17. 記事詳細 ---------- */
.breadcrumb {
	display: flex; flex-wrap: wrap; gap: 8px;
	font-size: 0.78rem; color: #7a7a7a; padding: 18px 0 14px;
}
.breadcrumb a { color: #7a7a7a; }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb .is-current {
	color: var(--navy);
	max-width: 22em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.entry-hero {
	position: relative; margin: 0 auto; max-width: var(--container);
	border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 1120px) { .entry-hero { margin-inline: 20px; } }
.entry-hero-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.entry-hero-overlay {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 28px 24px;
	background: linear-gradient(180deg, transparent 30%, rgba(14, 42, 71, 0.72));
}
.entry-title { color: var(--cream-soft); font-size: clamp(1.3rem, 3.6vw, 2rem); margin-bottom: 8px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; color: rgba(253, 247, 240, 0.9); }

.entry-layout { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 24px; }
@media (min-width: 960px) {
	.entry-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
	.entry-side { position: sticky; top: calc(var(--header-h) + 24px); }
}

.entry-lead {
	margin: 0 0 32px; padding: 22px 24px;
	border-left: 3px solid var(--terracotta);
	background: var(--cream); border-radius: 0 12px 12px 0;
	font-family: var(--font-serif-jp); color: var(--navy);
}
.entry-lead p { margin: 0; }

.entry-content { font-size: 1rem; }
.entry-content h2 {
	font-size: 1.3rem; margin: 2em 0 0.8em;
	padding-bottom: 10px; border-bottom: 1px solid var(--navy-15);
}
.entry-content h3 { font-size: 1.1rem; margin: 1.8em 0 0.6em; }
.entry-content img { border-radius: 12px; }
.entry-content a { border-bottom: 1px solid var(--terracotta); }
.entry-content blockquote {
	margin: 1.5em 0; padding: 18px 22px;
	background: var(--cream); border-radius: 12px;
	font-family: var(--font-serif-jp);
}
/* POINT枠: 記事内で <div class="point"><p>…</p></div> */
.entry-content .point {
	margin: 1.5em 0; padding: 18px 22px 18px 52px; position: relative;
	background: color-mix(in srgb, var(--sage) 16%, var(--cream-soft));
	border-radius: 12px; font-size: 0.95rem;
}
.entry-content .point::before {
	content: "POINT";
	position: absolute; top: -10px; left: 18px;
	background: var(--sage); color: var(--cream-soft);
	font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
	padding: 2px 10px; border-radius: 999px;
}
.entry-content .point::after {
	content: "✓"; position: absolute; left: 20px; top: 20px;
	color: var(--sage); font-weight: 700;
}
.entry-content pre {
	background: var(--navy); color: var(--cream-soft);
	border-radius: 12px; padding: 18px 20px; overflow-x: auto;
	font-size: 0.85rem; line-height: 1.7;
}

.toc {
	background: var(--cream-soft); border: 1px solid var(--navy-15);
	border-radius: var(--radius); padding: 20px 22px; margin-bottom: 24px;
}
.toc-title {
	font-family: var(--font-serif-jp); font-weight: 600; color: var(--navy);
	text-align: center; margin-bottom: 10px;
	padding-bottom: 8px; border-bottom: 1px solid var(--navy-15);
}
.toc ol { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.toc a { font-size: 0.88rem; color: #4a4a4a; }
.toc a:hover { color: var(--terracotta); }

.author-card {
	background: var(--cream); border-radius: var(--radius);
	padding: 26px 24px; text-align: center; position: relative;
}
.author-avatar img { border-radius: 50%; margin-inline: auto; }
.author-name { font-family: var(--font-serif-jp); font-weight: 600; color: var(--navy); font-size: 1.05rem; margin: 12px 0 4px; }
.author-role { font-size: 0.78rem; color: #6a6a6a; margin-bottom: 10px; }
.author-bio { font-size: 0.85rem; margin: 0; }
.author-mark { position: absolute; right: 14px; bottom: 12px; opacity: 0.85; }

.entry-foot { padding-bottom: 56px; }
.entry-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
	background: var(--cream); border-radius: var(--radius-lg);
	padding: 26px 28px;
}
.entry-cta p { margin: 0; font-weight: 700; color: var(--navy); }
.entry-cta small { font-weight: 400; color: #5a5a5a; }

/* ---------- 18. 料金プラン ---------- */
.plan-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan-card {
	background: var(--cream-soft); border-radius: var(--radius-lg);
	box-shadow: var(--shadow); padding: 32px 26px;
	display: flex; flex-direction: column; position: relative;
	border: 1px solid transparent;
}
.plan-name { font-size: 1.1rem; text-align: center; color: var(--terracotta); margin-bottom: 4px; }
.plan-for { font-size: 0.78rem; text-align: center; color: #7a7a7a; margin-bottom: 14px; }
.plan-price {
	font-family: var(--font-display); font-weight: 600;
	font-size: 2.1rem; text-align: center; color: var(--navy);
	margin-bottom: 12px;
}
.plan-price span { font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; color: #6a6a6a; }
.plan-desc { font-size: 0.88rem; text-align: center; margin-bottom: 18px; }
.plan-features {
	list-style: none; margin: 0 0 24px; padding: 0;
	display: grid; gap: 10px; font-size: 0.88rem; flex: 1;
}
.plan-features li { padding-left: 24px; position: relative; }
.plan-features li::before {
	content: "✓"; position: absolute; left: 0;
	color: var(--sage); font-weight: 700;
}
.plan-card .btn { align-self: center; width: 100%; max-width: 260px; }

/* おすすめ=ビジネスはネイビーでフォーカス */
.plan-card.is-featured {
	background: var(--navy); color: var(--cream-soft);
	transform: scale(1.02);
}
.plan-card.is-featured .plan-name { color: var(--cream-soft); }
.plan-card.is-featured .plan-for { color: rgba(253, 247, 240, 0.75); }
.plan-card.is-featured .plan-price { color: var(--cream-soft); }
.plan-card.is-featured .plan-price span { color: rgba(253, 247, 240, 0.75); }
.plan-card.is-featured .plan-features li::before { color: var(--terracotta); }
.plan-badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: var(--terracotta); color: var(--cream-soft);
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
	padding: 4px 16px; border-radius: 999px; margin: 0;
}

.plan-table-wrap { margin-top: 44px; overflow-x: auto; }
.plan-table {
	width: 100%; min-width: 560px; border-collapse: collapse;
	background: var(--cream-soft); border-radius: var(--radius); overflow: hidden;
	font-size: 0.88rem; box-shadow: var(--shadow);
}
.plan-table th, .plan-table td {
	padding: 12px 16px; text-align: center;
	border-bottom: 1px solid var(--navy-08);
}
.plan-table tbody th { text-align: left; font-weight: 500; color: var(--charcoal); }
.plan-table thead th { font-weight: 700; color: var(--navy); background: var(--cream); }
.plan-table thead .col-starter { background: color-mix(in srgb, var(--sage) 24%, var(--cream)); }
.plan-table thead .col-business { background: var(--navy); color: var(--cream-soft); }
.plan-table thead .col-partner { background: color-mix(in srgb, var(--terracotta) 70%, var(--cream)); color: var(--cream-soft); }

.pricing-sub { display: grid; gap: 44px; }
@media (min-width: 900px) { .pricing-sub { grid-template-columns: 1.2fr 0.8fr; } }
.pricing-faq .faq-item { background: var(--cream); box-shadow: none; margin-bottom: 12px; }

/* ---------- 18b. noteカード(外部リンク) ---------- */
.note-card .post-card-thumb { position: relative; }
.note-badge {
	position: absolute; top: 10px; left: 10px;
	background: var(--charcoal); color: var(--cream-soft);
	font-family: var(--font-display); font-weight: 600;
	font-size: 0.72rem; letter-spacing: 0.04em;
	padding: 3px 12px; border-radius: 999px;
}
.post-card-excerpt {
	font-size: 0.85rem; color: #5a5a5a;
	margin: 0 0 12px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
	overflow: hidden;
}
.external-mark { color: var(--terracotta); font-weight: 700; }
.note-more { text-align: center; margin-top: 36px; }

/* ---------- 18c. お問い合わせフォーム ---------- */
.contact-form {
	background: var(--cream-soft); border-radius: var(--radius-lg);
	box-shadow: var(--shadow); padding: 32px 26px;
}
.hp-field { position: absolute; left: -9999px; }
.form-row { margin-bottom: 22px; }
.form-row label, .form-row legend {
	display: block; font-weight: 700; font-size: 0.9rem;
	color: var(--navy); margin-bottom: 8px; padding: 0;
}
.req {
	display: inline-block; margin-left: 8px;
	background: var(--terracotta); color: var(--cream-soft);
	font-size: 0.68rem; font-weight: 700;
	padding: 1px 8px; border-radius: 999px; vertical-align: middle;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%; border: 1px solid var(--navy-15); border-radius: 12px;
	background: #fff; padding: 12px 16px;
	font-family: inherit; font-size: 1rem; line-height: 1.7;
}
.contact-form textarea { resize: vertical; }
fieldset.form-row { border: none; margin: 0 0 22px; padding: 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 500; font-size: 0.9rem; color: var(--charcoal);
	background: var(--cream); border-radius: 999px;
	padding: 10px 18px; margin: 0; cursor: pointer;
	border: 1px solid transparent;
}
.radio-group label:has(input:checked) { border-color: var(--terracotta); color: var(--navy); background: color-mix(in srgb, var(--terracotta) 12%, var(--cream-soft)); }
.radio-group input { accent-color: var(--terracotta); }
.form-submit { text-align: center; margin: 28px 0 10px; }
.form-submit .btn { width: min(100%, 320px); }
.form-privacy { text-align: center; font-size: 0.78rem; color: #7a7a7a; margin: 0; }
.form-notice { border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; font-size: 0.95rem; }
.form-notice p { margin: 0; }
.form-notice.is-success { background: color-mix(in srgb, var(--sage) 20%, var(--cream-soft)); border-left: 3px solid var(--sage); }
.form-notice.is-error { background: color-mix(in srgb, var(--terracotta) 16%, var(--cream-soft)); border-left: 3px solid var(--terracotta); }

/* ---------- 18d. 実績カード(リンク)・実績詳細 ---------- */
.case-card.is-linked { padding: 0; transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s; }
.case-card.is-linked:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14, 42, 71, 0.12); }
.case-card-link { display: block; padding: 24px 22px; color: inherit; }
.case-card-title { font-size: 0.98rem; line-height: 1.6; margin: 10px 0 12px; }
.case-card .text-link { font-size: 0.85rem; }

.case-hero {
	background: var(--cream); padding: 40px 0 36px;
	text-align: center;
}
.case-hero .case-tag { font-size: 0.85rem; }
.case-title { font-size: clamp(1.3rem, 3.6vw, 1.9rem); margin-bottom: 14px; }
.case-hero-metric strong {
	display: block;
	font-family: var(--font-display); font-weight: 600;
	font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1.15;
	color: var(--terracotta);
}
.case-hero-metric span { font-size: 0.85rem; color: #6a6a6a; }
.case-photo { margin: 32px auto 0; }
.case-photo img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; max-height: 480px; }
.case-entry .entry-content { padding-top: 36px; }

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.seq, .hero-mesh { opacity: 1 !important; animation: none !important; clip-path: none !important; transform: none !important; }
	[data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
	.scroll-hint-dot { animation: none; }
	.btn, .post-card, .floating-cta-circle { transition: none; }
}
