@charset "UTF-8";
/*
Theme Name: SWELL CHILD
Template: swell
Version: 2.0.0
Description: AI仕訳るくん サイト用の SWELL 子テーマ。カスタムCSS/PHPはすべてここに置く（親テーマは更新で上書きされるため触らない）。
*/

/* =================================================
 * 0. デザイントークン
 *
 * 株式会社デイトラのブランドカラーに準拠する。
 * 正本は `.claude/skills/daitra-slide-templates/SKILL.md` のカラーパレット
 * （accent 紫 #6F3AAC / highlight コーラル #E45C5C / text #333333）。
 *
 * 補足: 挿入している「AI仕訳るくん 説明資料」のスライドは青基調だが、
 * これは資料側の独自アクセント。サイトはブランド正本の紫に合わせている。
 * ================================================= */
:root {
	--c-primary:        #6f3aac;   /* デイトラ紫 */
	--c-primary-dark:   #5a2e8c;   /* 小さい文字・hover用に一段濃く */
	--c-primary-deep:   #45216b;   /* FVグラデの暗端 */
	--c-primary-pale:   #f1eaf9;
	--c-primary-tint:   #f9f6fc;
	/* コーラルはアクセント用。白抜き文字を載せる面には -strong を使う
	   （#e45c5c に白文字だと3.5:1で基準割れするため） */
	--c-cta:            #e45c5c;
	--c-cta-dark:       #a93a35;
	--c-cta-strong:     #c4453f;
	--c-warm:           #faf8f5;
	--c-cream:          #fdf6f4;
	--c-ink:            #333333;   /* デイトラ text */
	--c-ink-weak:       #545454;   /* デイトラ textLight */
	/* デイトラの textMuted(#999) は白地で2.8:1しかないので、
	   12px前後でも 4.5:1 を満たす濃さに寄せている */
	--c-ink-faint:      #6b6b6b;
	--c-line:           #e6e6e6;
	--c-line-strong:    #cdcdcd;

	--r-card: 10px;
	--r-card-lg: 14px;
	/* 影は最小限。参考LPのように「枠線で仕切り、影はほぼ置かない」ほうが軽く見える。
	   影を重ねるとカードが浮きすぎて、セクションが増えたときに画面がうるさくなる。 */
	--sh-card:  0 1px 2px rgba(40, 26, 56, .04);
	--sh-hover: 0 2px 8px rgba(40, 26, 56, .08);
	--sh-float: 0 2px 6px rgba(35, 20, 52, .06), 0 12px 32px rgba(35, 20, 52, .10);

	/* セクション余白。間延びしていたので一段詰める */
	--sp-sec:    clamp(2.8rem, 5.5vw, 4.4rem);
	--sp-sec-sm: clamp(2rem, 4vw, 3rem);
}

body {
	color: var(--c-ink);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	letter-spacing: .02em;
}

/* --- SWELLの見出し装飾を、自作コンポーネントの見出しから外す ---
 * SWELLは post_content 内の h2/h3 に既定デザイン（塗り帯・左線・下線）を当てる。
 * 自前で組んだセクションではこれが邪魔になり、実際に
 * 「h2がティールの塗り帯になって、中のティール文字が消える」事故が起きた。
 * 自作見出しは接頭辞で拾ってまとめて素の状態に戻す。
 */
.post_content :is(h2, h3, h4)[class*="__ttl"],
.post_content .p-secTtl,
.post_content .p-fv__ttl,
.post_content .p-showcase__ttl,
.post_content .p-wallSum__ttl {
	padding: 0;
	border: none;
	background: none;
	background-color: transparent;
	box-shadow: none;
	color: inherit;
	font-size: inherit;
	text-align: inherit;
}
.post_content :is(h2, h3, h4)[class*="__ttl"]::before,
.post_content :is(h2, h3, h4)[class*="__ttl"]::after,
.post_content .p-secTtl::before,
.post_content .p-secTtl::after {
	content: none;
	display: none;
}
/* SWELLのh2/h3は上下マージンが大きい。自作カードでは見出しと本文が離れすぎるので詰める。
   （.post_content h3 が 0,1,1 で、クラス単体指定だと詳細度で負ける） */
.post_content .p-problem__ttl { margin: 0 0 .6em; }
.post_content .p-feature__ttl { margin: .9em 0 .6em; }
.post_content .p-wall__ttl    { margin: 0 0 .4em; }
.post_content .p-flow__ttl    { margin: 0 0 .55em; }
.post_content .p-wallSum__ttl { margin: 0 0 .5em; }
.post_content .p-showcase__ttl { margin: 0 0 .7em; }
.post_content .p-fvForm__ttl  { margin: 0 0 .2em; }
.post_content .p-ctaBand__ttl { margin: 0 0 .5em; }
.post_content .p-secTtl       { margin: 0 0 .5em; }
/* 本文段落も同様。SWELLの .post_content p の上下マージンでカード内が間延びする */
.post_content :is(p, ul)[class*="__txt"],
.post_content .p-problem__txt,
.post_content .p-feature__txt,
.post_content .p-wall__txt,
.post_content .p-flow__txt,
.post_content .p-wallSum__txt,
.post_content .p-ui__note { margin: 0; }
/* 上の `:is(p,ul)[class*="__txt"]` は詳細度 (0,2,1)。
   個別に上書きするときは要素セレクタを足して (0,2,1) に揃えないと負ける。 */
.post_content p.p-showcase__txt { margin: 0 0 1.3em; }
.post_content .p-fv__sub { margin: 0 0 2.8em; }
/* margin:auto が効かないと中央寄せが崩れて左端いっぱいに伸びる */
.post_content p.p-ctaBand__txt { margin: 0 auto 1.5em; }
.post_content .p-secLead { margin: 0 auto 2.6em; }
.post_content .p-fvForm__note { margin: 0 0 1em; }

/* ↑で font-size:inherit に戻したぶん、各コンポーネント側の指定を効かせ直す。
 * 注意: 上のリセットは `:is(h2,h3,h4)[class*="__ttl"]` で詳細度 (0,2,1) ある。
 * クラス2つ (0,2,0) で書き直すと負けて全部16pxになるので、
 * 要素セレクタを足して (0,2,1) に揃え、後勝ちさせること。 */
.post_content h2.p-showcase__ttl {
	font-size: clamp(1.25rem, 2.8vw, 1.7rem);
	font-weight: 800;
	color: var(--c-ink);
}
.post_content h3.p-wallSum__ttl { font-size: clamp(1.08rem, 2.4vw, 1.32rem); font-weight: 800; }
.post_content h3.p-problem__ttl { font-size: 1.04rem; font-weight: 800; }
.post_content h3.p-feature__ttl { font-size: 1.08rem; font-weight: 800; }
.post_content h3.p-wall__ttl    { font-size: 1.02rem; font-weight: 800; }
.post_content h3.p-flow__ttl    { font-size: 1.02rem; font-weight: 800; text-align: center; }
.post_content .p-fvForm__ttl    { font-size: 1.18rem; text-align: center; color: var(--c-primary-dark); }
.post_content h2.p-ctaBand__ttl {
	font-size: clamp(1.2rem, 3vw, 1.7rem);
	font-weight: 800;
	text-align: center;
	color: #fff;
}

/* 和文の見出しは字間を詰めたほうが締まる */
.p-secTtl, .p-fv__ttl, .p-ctaBand__ttl, .p-showcase__ttl,
.p-feature__ttl, .p-problem__ttl, .p-wall__ttl, .p-flow__ttl {
	letter-spacing: .005em;
	font-feature-settings: "palt";
}

/* =================================================
 * 1. 汎用パーツ
 * ================================================= */

/* --- セクション見出し ---
 * SWELLはh2に既定の装飾（塗り帯）を当ててくる。
 * data-style 属性まで含めて打ち消さないと、見出しがティールの帯になり
 * .u-em（ティール文字）が背景と同色で消える。実際にそれで文字が飛んでいた。
 */
.p-secTtl,
.post_content .p-secTtl,
.p-secTtl[data-style] {
	position: relative;
	margin: 0 0 .5em;
	padding: 0;
	border: none;
	background: none;
	background-color: transparent;
	box-shadow: none;
	font-size: clamp(1.45rem, 3.6vw, 2.15rem);
	font-weight: 800;
	line-height: 1.5;
	text-align: center;
	color: var(--c-ink);
}
.p-secTtl::before,
.p-secTtl::after,
.post_content .p-secTtl::before,
.post_content .p-secTtl::after { content: none; display: none; }

/* 英字ラベル（EN eyebrow）。見出しの上に小さく置いて階層を作る。
   一度は装飾ノイズとして外したが、無いと見出しが唐突に始まって
   セクションの切り替わりが分かりにくかったため戻した。 */
.p-secTtl__en {
	display: block;
	margin-bottom: .8em;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1;
	color: var(--c-primary);
}
/* 濃色背景の上に置くとき */
.-onDark .p-secTtl,
.p-ctaBand .p-secTtl { color: #fff; }
.-onDark .p-secTtl__en { color: #d3bdf0; }

.p-secLead {
	margin: .9em auto 2.2em;
	max-width: 44em;
	text-align: center;
	line-height: 2;
	font-size: .97rem;
	color: var(--c-ink-weak);
}

/* --- セクション帯 --- */
.p-sec {
	padding: var(--sp-sec) 0;
}
.p-sec.-tight  { padding: var(--sp-sec-sm) 0; }
.p-sec.-warm   { background: var(--c-warm); }
.p-sec.-pale   { background: var(--c-primary-pale); }
.p-sec.-tint   { background: var(--c-primary-tint); }
.p-sec.-cream  { background: var(--c-cream); }
.p-sec.-dark {
	background: linear-gradient(160deg, #341a52 0%, var(--c-primary-deep) 55%, #6a37a5 100%);
	color: #fff;
}
.p-sec.-dark .p-secLead { color: rgba(255, 255, 255, .86); }

/* --- 自作リストの黒点消し ---
 * SWELLは .post_content ul にlist-style:discを当ててくるため、
 * コンポーネント側で list-style:none と書いても詳細度で負けて
 * 自作チェックマークと黒点が二重に出る。まとめて打ち消す。
 */
.post_content .p-fv__points,
.post_content .p-fv__points > li,
.post_content .p-showcase__list,
.post_content .p-showcase__list > li,
.post_content .p-softs,
.post_content .p-softs > li,
.p-foot__nav,
.p-foot__nav > li {
	list-style: none;
	padding-left: 0;
}
.post_content .p-fv__points > li::marker,
.post_content .p-showcase__list > li::marker,
.post_content .p-softs > li::marker { content: none; }
.post_content .p-fv__points > li { padding-left: 1.7em; }
.post_content .p-showcase__list > li { padding-left: 1.6em; }

/* --- 強調マーカー --- */
.u-mark {
	background: linear-gradient(transparent 62%, #ffd9d4 62%);
	font-weight: 700;
}
.u-em { color: var(--c-primary); font-weight: 800; font-style: normal; }
.-dark .u-em, .-onDark .u-em { color: #ffa69a; }

/* =================================================
 * 2. ファーストビュー（フォーム同居）
 * ================================================= */
.p-fv {
	position: relative;
	padding: clamp(2rem, 4.2vw, 3.2rem) 0 clamp(2.4rem, 4.5vw, 3.4rem);
	/* 参考LPに合わせて白基調。濃色ベタだと以降の白いセクションから浮いて
	   FVだけ別サイトのように見えるため。 */
	background: linear-gradient(180deg, var(--c-primary-tint), #fff 70%);
	color: var(--c-ink);
	overflow: hidden;
}
/* FVは白基調に作り替えたため、装飾のグリッド／グローは出さない。
   main側にあったFV背景動画用の .p-fv__bgv / .p-fv__veil は、
   濃色FV前提のスタイルなのでここでは採用していない（履歴から復元可能）。 */
.p-fv::before,
.p-fv::after { content: none; }
.p-fv__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	/* 左カラムは上端から読み始めるので start で固定する。
	   center にすると本文が宙に浮いて、視線の起点(左上)がぼやける。 */
	align-items: start;
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: 4vw;
}
/* ※ FVのスマホ調整はこのセクションの最後にまとめている（後勝ちにするため） */

.p-fv__eyebrow {
	display: inline-block;
	margin-bottom: 1.6em;
	padding: .4em 1.1em;
	border-radius: 999px;
	background: var(--c-primary-pale);
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .02em;
	color: var(--c-primary-dark);
}
/* SWELL側のh1スタイルより強くするためID起点で指定する。
   これが無いとSPで文字サイズ指定が負ける。 */
.p-fv__ttl,
#main_content .p-fv__ttl {
	margin: 0 0 .7em;
	padding: 0;
	border: none;
	background: none;
	font-size: clamp(1.72rem, 4.2vw, 2.6rem);
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: .005em;
	color: var(--c-ink);
}
#main_content .p-fv__ttl::before,
#main_content .p-fv__ttl::after { content: none; }
/* 見出しのハイライト。
 * 半透明の黄色をティール地に重ねると濁った黄土色になり安っぽく見えたので、
 * 塗りではなく「文字色＋下線」で強調する。 */
.p-fv__ttl .u-hl {
	color: var(--c-cta-strong);
}
.p-fv__sub {
	margin: 0 0 1.4em;
	font-size: clamp(.94rem, 1.95vw, 1.04rem);
	line-height: 2.35;
	color: var(--c-ink-weak);
}
.p-fv__points {
	list-style: none;
	margin: 0 0 1.4em;
	padding: 0;
	display: grid;
	gap: .55em;
}
.p-fv__points li {
	position: relative;
	padding-left: 1.7em;
	font-weight: 700;
	line-height: 1.6;
}
.p-fv__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .28em;
	width: 1.15em;
	height: 1.15em;
	border-radius: 50%;
	background: #ffa69a;
}
.p-fv__points li::after {
	content: "";
	position: absolute;
	left: .34em;
	top: .5em;
	width: .48em;
	height: .26em;
	border-left: 2px solid var(--c-primary-deep);
	border-bottom: 2px solid var(--c-primary-deep);
	transform: rotate(-45deg);
}

/* KPIバッジ */
.p-fv__kpis {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}
.p-fv__kpi {
	flex: 1 1 8em;
	padding: 1.5em .6em 1.4em;
	border-radius: 10px;
	border: 1px solid var(--c-line-strong);
	background: #fff;
	text-align: center;
	line-height: 1.3;
}
.p-fv__kpi b {
	display: block;
	margin-bottom: .3em;
	font-size: 1.85rem;
	font-weight: 900;
	line-height: 1.1;
	color: var(--c-cta-strong);
	font-variant-numeric: tabular-nums;
}
.p-fv__kpi span {
	display: block;
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--c-ink);
}
/* 出典・補足。本文と同じ大きさだと数字の見せ場を食う */
.p-fv__kpi small {
	display: block;
	margin-top: .35em;
	font-size: .66rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--c-ink-faint);
}

/* --- FVのフォームカード --- */
.p-fvForm {
	padding: clamp(1.1rem, 2.4vw, 1.6rem);
	border-radius: var(--r-card);
	border: 1px solid var(--c-line-strong);
	background: #fff;
	box-shadow: var(--sh-float);
	color: var(--c-ink);
}
.p-fvForm__ttl {
	margin: 0 0 .2em;
	font-size: 1.18rem;
	font-weight: 800;
	text-align: center;
	color: var(--c-primary-dark);
}
.p-fvForm__note {
	margin: 0 0 1em;
	font-size: .78rem;
	text-align: center;
	color: var(--c-ink-weak);
}

/* --- FVのスマホ調整（ベース定義より後に置いて後勝ちさせる） --- */
@media (max-width: 959px) {
	.p-fv          { padding-top: 1.2rem; }
	.p-fv__inner   { grid-template-columns: 1fr; }
	/* 後段のセクションと内容が重複する箇条書きは省き、
	   KPIも1行に圧縮して、フォームを一画面目に入れる。 */
	.p-fv__points  { display: none; }
	.p-fv__eyebrow { margin-bottom: .5em; font-size: .72rem; }
	.p-fv__ttl     { font-size: 1.45rem; line-height: 1.45; margin-bottom: .4em; }
	.p-fv__sub     { margin-bottom: .8rem; font-size: .87rem; line-height: 1.75; }
	.p-fv__kpis    { gap: .4rem; margin-bottom: 0; }
	.p-fv__kpi     { flex: 1 1 0; padding: .45em .2em; }
	.p-fv__kpi b   { font-size: 1.15rem; }
	/* rem指定のままだとSPで9px前後まで落ちて読めない。px下限を持たせる */
	.p-fv__kpi span    { font-size: max(.66rem, 10.5px); line-height: 1.4; }
	.p-fv__kpi small   { font-size: max(.6rem, 10px); margin-top: .25em; }
	.p-fv__kpi span br { display: none; }
	.p-fv__eyebrow     { font-size: max(.72rem, 11px); }
	.p-fvForm      { padding: 1rem; }
	.p-fvForm__ttl { font-size: 1.06rem; }
}

/* =================================================
 * 3. Contact Form 7 のスタイル
 * ================================================= */
.c-form .cf7-row {
	margin-bottom: .5rem;
}
.c-form .cf7-row.-half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .5rem;
}
.c-form label {
	display: block;
	margin-bottom: .18em;
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.4;
	color: #444;
}
/* CF7 が段落を挟むので詰める */
.c-form p { margin: 0; }
.c-form br { display: none; }
.c-form .req,
.c-form .any {
	display: inline-block;
	margin-left: .4em;
	padding: .1em .5em;
	border-radius: 3px;
	font-size: .66rem;
	font-weight: 700;
	vertical-align: 1px;
}
/* 白抜きの小さいバッジなので、地色は 4.5:1 を満たす濃さにする */
.c-form .req { background: #c9302c; color: #fff; }
.c-form .any { background: #e4e8ea; color: #52626a; }

.c-form input[type="text"],
.c-form input[type="email"],
.c-form input[type="tel"],
.c-form select,
.c-form textarea {
	width: 100%;
	padding: .5em .7em;
	border: 1px solid #c9d4d8;
	border-radius: 6px;
	background: #fff;
	font-size: 16px; /* iOSのズーム防止 */
	line-height: 1.5;
	color: var(--c-ink);
	transition: border-color .15s, box-shadow .15s;
}
.c-form input:focus,
.c-form select:focus,
.c-form textarea:focus {
	outline: none;
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px rgba(111, 58, 172, .18);
}
.c-form textarea { min-height: 6em; }

/* 複数選択のチェックボックス。CF7は span.wpcf7-list-item で1項目ずつ出す */
.c-form .wpcf7-checkbox { display: grid; gap: .35em; }
.c-form .wpcf7-checkbox .wpcf7-list-item { display: block; margin: 0; }
.c-form .wpcf7-checkbox .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: .5em;
	margin: 0;
	padding: .5em .7em;
	border: 1px solid #c9d4d8;
	border-radius: 6px;
	background: #fff;
	font-size: .82rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--c-ink);
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.c-form .wpcf7-checkbox .wpcf7-list-item label:hover { border-color: var(--c-primary); }
.c-form .wpcf7-checkbox input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.05em;
	height: 1.05em;
	margin: .16em 0 0;
	accent-color: var(--c-primary);
}
.c-form .wpcf7-checkbox .wpcf7-list-item-label { font-size: inherit; }

.c-form .cf7-consent {
	margin: .7rem 0 .6rem;
	font-size: .76rem;
	text-align: center;
	line-height: 1.6;
}
.c-form .wpcf7-list-item { margin: 0; }
.c-form .wpcf7-list-item-label { font-size: .78rem; }

.c-form .wpcf7-submit {
	display: block;
	width: 100%;
	padding: .95em 1em;
	border: none;
	border-radius: 8px;
	background: var(--c-cta-strong);
	box-shadow: 0 3px 0 var(--c-cta-dark);
	color: #fff;
	font-size: 1.02rem;
	font-weight: 800;
	letter-spacing: .02em;
	cursor: pointer;
	transition: transform .12s, background .15s;
}
.c-form .wpcf7-submit:hover {
	background: var(--c-cta-dark);
	box-shadow: 0 1px 0 var(--c-cta-dark);
	transform: translateY(2px);
}
.c-form .wpcf7-spinner { display: block; margin: .5em auto 0; }
.c-form .wpcf7-not-valid-tip { font-size: .74rem; }
.c-form .wpcf7-response-output {
	margin: .8rem 0 0 !important;
	padding: .6em .8em !important;
	font-size: .8rem;
	border-radius: 6px;
}

/* =================================================
 * 4. 実績バー（対応会計ソフト＋導入実績）
 *
 * 以前は「ロゴ掲載準備中」の点線ダミー枠を4つ並べていたが、
 * 空枠が並ぶほうがかえって信頼を落とす。許諾済みロゴが揃うまでは
 * 「事実として言えること」＝対応ソフト名と導入事務所名で埋める。
 * ================================================= */
.p-proof {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1.6rem 2.4rem;
	max-width: 900px;
	margin-inline: auto;
}
@media (max-width: 767px) {
	.p-proof { grid-template-columns: 1fr; gap: .9rem; text-align: center; }
}
.p-proof__label {
	margin: 0;
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.6;
	color: var(--c-ink-weak);
	white-space: nowrap;
}
.p-proof__label b {
	display: block;
	font-size: 1.02rem;
	color: var(--c-primary-dark);
}
.p-softs {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (max-width: 767px) { .p-softs { justify-content: center; } }
.p-softs li {
	padding: .5em 1.05em;
	border: 1px solid var(--c-line-strong);
	border-radius: 999px;
	background: #fff;
	font-size: .84rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--c-primary-dark);
}
.p-proof__note {
	grid-column: 1 / -1;
	margin: 0;
	font-size: .78rem;
	line-height: 1.7;
	color: var(--c-ink-faint);
}
@media (max-width: 767px) { .p-proof__note { text-align: center; } }

/* =================================================
 * 5. カードグリッド（課題・特長・事例）
 * ================================================= */
.p-grid {
	display: grid;
	gap: 1.1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.p-grid.-col2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-grid.-col4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) {
	.p-grid,
	.p-grid.-col2,
	.p-grid.-col4 { grid-template-columns: 1fr; }
}

/* --- 課題カード --- */
.p-problem {
	position: relative;
	padding: 1.9rem 1.4rem 1.4rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.p-problem:hover { box-shadow: var(--sh-hover); border-color: var(--c-line-strong); }
/* 番号は「丸バッジ」ではなく、カード上辺にまたがる数字にして視線の起点にする */
.p-problem__icon {
	position: absolute;
	top: -.62em;
	left: 50%;
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	min-width: 2.5em;
	height: 1.75em;
	padding-inline: .5em;
	border-radius: 999px;
	background: var(--c-primary);
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .06em;
	color: #fff;
}
.p-problem__ttl {
	margin: 0 0 .6em;
	font-size: 1.04rem;
	font-weight: 800;
	line-height: 1.65;
}
.p-problem__txt {
	margin: 0;
	font-size: .88rem;
	line-height: 1.95;
	color: var(--c-ink-weak);
	text-align: left;
}

/* 課題→解決のつなぎ矢印 */
.p-arrowDown {
	display: grid;
	place-items: center;
	margin: 2.4rem auto .4rem;
}
.p-arrowDown::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 26px solid transparent;
	border-right: 26px solid transparent;
	border-top: 22px solid var(--c-primary);
	opacity: .85;
}

/* --- 特長カード --- */
.p-feature {
	display: flex;
	flex-direction: column;
	padding: 1.7rem 1.5rem 1.6rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
	transition: transform .2s ease, box-shadow .2s ease;
}
.p-feature:hover { box-shadow: var(--sh-hover); border-color: var(--c-line-strong); }
.p-feature__num {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1;
	color: var(--c-primary);
}
.p-feature__num::after {
	content: "";
	display: block;
	width: 1.8em;
	height: 2px;
	margin-top: .8em;
	border-radius: 2px;
	background: var(--c-cta-strong);
}
.p-feature__ttl {
	margin: .9em 0 .6em;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.65;
}
.p-feature__txt {
	margin: 0;
	font-size: .89rem;
	line-height: 1.95;
	color: var(--c-ink-weak);
}

/* --- 事例カード --- */
.p-case {
	display: flex;
	flex-direction: column;
	border-radius: var(--r-card);
	background: #fff;
	box-shadow: var(--sh-card);
	overflow: hidden;
}
.p-case__head {
	padding: 1rem 1.15rem;
	background: var(--c-primary);
	color: #fff;
}
.p-case__result {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.5;
}
.p-case__result b {
	font-size: 1.65rem;
	color: #ffa69a;
}
.p-case__body {
	flex: 1;
	padding: 1.1rem 1.15rem 1.25rem;
}
.p-case__company {
	margin: 0 0 .2em;
	font-size: 1rem;
	font-weight: 700;
}
.p-case__meta {
	margin: 0 0 .8em;
	font-size: .76rem;
	color: #8a969b;
}
.p-case__txt {
	margin: 0 0 .9em;
	font-size: .88rem;
	line-height: 1.85;
	color: var(--c-ink-weak);
}
.p-case__more {
	font-size: .85rem;
	font-weight: 700;
	color: var(--c-primary);
}

/* =================================================
 * 6. ご利用の流れ
 * ================================================= */
.p-flow {
	counter-reset: flow;
	position: relative;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* STEP同士を1本の線でつなぐ。バラバラのカードより「流れ」に見える */
.p-flow::before {
	content: "";
	position: absolute;
	/* 丸番号の中心（カード上端 -1.35rem + 半径1.55rem）に合わせる */
	top: .2rem;
	left: 12.5%;
	right: 12.5%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--c-line-strong) 0 8px, transparent 8px 15px);
}
@media (max-width: 899px) {
	.p-flow { grid-template-columns: 1fr; gap: 1.6rem; }
	.p-flow::before { display: none; }
}
.p-flow__item {
	position: relative;
	counter-increment: flow;
	padding: 3.4rem 1.25rem 1.5rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
	text-align: center;
}
/* 丸番号を上辺にまたがらせて、つなぎ線の上に乗せる */
.p-flow__item::before {
	content: counter(flow);
	position: absolute;
	top: -1.35rem;
	left: 50%;
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 50%;
	border: 4px solid var(--c-primary-pale);
	background: var(--c-primary);
	color: #fff;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1;
}
.p-flow__item::after {
	content: "STEP";
	position: absolute;
	top: 1.9rem;
	left: 0;
	right: 0;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: .6rem;
	font-weight: 700;
	letter-spacing: .16em;
	color: var(--c-primary);
}
@media (max-width: 899px) {
	.p-flow__item::before { top: -1.35rem; }
}
.p-flow__ttl {
	margin: 0 0 .55em;
	font-size: 1.02rem;
	font-weight: 800;
}
.p-flow__txt {
	margin: 0;
	font-size: .86rem;
	line-height: 1.9;
	color: var(--c-ink-weak);
	text-align: left;
}

/* =================================================
 * 6.5 プロダクト・ショーケース
 *
 * FVにも本文にも製品画面が1枚も無く、何を買うのかが伝わらなかった。
 * 実データのスクショは顧問先名が写り込むため使えないので、
 * 「仕訳確認ビューア」の画面構成をHTML/CSSで再現する。
 * 表示している社名・数値はすべて架空のサンプル（画面内に明記）。
 * ================================================= */
.p-showcase {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	align-items: center;
	gap: clamp(1.8rem, 4vw, 3.4rem);
}
.p-showcase.-rev .p-showcase__body { order: 2; }
@media (max-width: 899px) {
	.p-showcase { grid-template-columns: 1fr; gap: 1.8rem; }
	.p-showcase.-rev .p-showcase__body { order: 0; }
}
.p-showcase__label {
	display: inline-block;
	margin-bottom: .9em;
	padding: .4em 1em;
	border-radius: 999px;
	background: var(--c-primary-pale);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--c-primary-dark);
}
.p-showcase__ttl {
	margin: 0 0 .7em;
	font-size: clamp(1.25rem, 2.8vw, 1.7rem);
	font-weight: 800;
	line-height: 1.6;
}
.p-showcase__txt {
	margin: 0 0 1.3em;
	font-size: .93rem;
	line-height: 2;
	color: var(--c-ink-weak);
}
.p-showcase__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .6em;
}
.p-showcase__list li {
	position: relative;
	padding-left: 1.6em;
	font-size: .91rem;
	font-weight: 700;
	line-height: 1.7;
}
/* 淡いティールの丸だと -tint 背景に溶けて見えなかったので、塗りを反転させる */
.p-showcase__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .22em;
	width: 1.15em;
	height: 1.15em;
	border-radius: 50%;
	background: var(--c-primary);
}
.p-showcase__list li::after {
	content: "";
	position: absolute;
	left: .33em;
	top: .45em;
	width: .46em;
	height: .24em;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
}

/* --- UIモック本体 --- */
.p-ui {
	border-radius: var(--r-card-lg);
	background: #fff;
	box-shadow: var(--sh-float);
	overflow: hidden;
	font-size: clamp(.6rem, 1.02vw, .74rem);
	line-height: 1.5;
	color: var(--c-ink);
}
.p-ui__chrome {
	display: flex;
	align-items: center;
	gap: .5em;
	padding: .7em .9em;
	background: #e9eef0;
	border-bottom: 1px solid #d8e0e3;
}
.p-ui__dots { display: flex; gap: .4em; }
.p-ui__dots i {
	width: .72em;
	height: .72em;
	border-radius: 50%;
	background: #c4ced2;
}
.p-ui__addr {
	flex: 1;
	padding: .3em .8em;
	border-radius: 999px;
	background: #fff;
	font-size: .88em;
	color: var(--c-ink-faint);
}
/* 突合ステータスバー */
.p-ui__status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5em 1.1em;
	padding: .8em 1.1em;
	background: var(--c-primary-tint);
	border-bottom: 1px solid var(--c-line);
	font-weight: 700;
}
.p-ui__status b { color: var(--c-primary-dark); }
.p-ui__ok {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	margin-left: auto;
	padding: .25em .8em;
	border-radius: 999px;
	background: #157f55;
	color: #fff;
	font-size: .92em;
}
.p-ui__ok::before { content: "✓"; font-weight: 900; }
.p-ui__body {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	min-height: 15em;
}
@media (max-width: 479px) { .p-ui__body { grid-template-columns: 1fr; } }
/* 左：証憑プレビュー */
.p-ui__doc {
	padding: 1em;
	background: #f2f5f6;
	border-right: 1px solid var(--c-line);
}
.p-ui__paper {
	padding: .9em .85em;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
}
.p-ui__paperTtl {
	margin: 0 0 .7em;
	padding-bottom: .5em;
	border-bottom: 1px solid var(--c-line);
	font-size: 1.05em;
	font-weight: 800;
	text-align: center;
	letter-spacing: .2em;
}
.p-ui__row {
	display: flex;
	justify-content: space-between;
	gap: .6em;
	padding: .32em 0;
	color: var(--c-ink-weak);
}
.p-ui__row.-total {
	margin-top: .5em;
	padding-top: .5em;
	border-top: 1px solid var(--c-line);
	font-weight: 800;
	color: var(--c-ink);
}
.p-ui__stamp {
	margin-top: .8em;
	padding: .3em;
	border: 1px solid #d9a3a3;
	border-radius: 3px;
	text-align: center;
	font-size: .85em;
	color: #9c4c4c;
}
/* 右：仕訳結果 */
.p-ui__entry { padding: 1em 1.1em; }
.p-ui__entryHead {
	display: flex;
	align-items: center;
	gap: .6em;
	margin-bottom: .8em;
}
.p-ui__badge {
	padding: .2em .7em;
	border-radius: 3px;
	background: #fdf0e2;
	border: 1px solid #f0c290;
	font-size: .9em;
	font-weight: 800;
	color: #8f5008;
}
.p-ui__conf { margin-left: auto; color: var(--c-ink-faint); font-size: .92em; }
.p-ui__table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: .9em;
}
.p-ui__table th,
.p-ui__table td {
	padding: .45em .6em;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	white-space: nowrap;
}
.p-ui__table th {
	background: #f6f9fa;
	font-size: .92em;
	font-weight: 700;
	color: var(--c-ink-weak);
}
.p-ui__table td { font-weight: 700; }
.p-ui__table td.-num { text-align: right; font-variant-numeric: tabular-nums; }
.p-ui__table tr.-flag td { background: #fffaf2; }
.p-ui__acts { display: flex; flex-wrap: wrap; gap: .4em; }
.p-ui__acts span {
	padding: .42em .95em;
	border-radius: 5px;
	border: 1px solid var(--c-line-strong);
	background: #fff;
	font-weight: 800;
	color: var(--c-ink-weak);
}
.p-ui__acts span.-primary {
	border-color: var(--c-primary);
	background: var(--c-primary);
	color: #fff;
}
.p-ui__note {
	padding: .55em 1.1em .7em;
	border-top: 1px solid var(--c-line);
	background: #fafcfc;
	font-size: .88em;
	color: var(--c-ink-faint);
}

/* =================================================
 * 6.6 内製の壁（番号つきリスト＋まとめ）
 *
 * 同じカードを6枚並べると単調で、5つの壁と「私たちの役割」が
 * 同じ重みに見えてしまっていた。壁は行、役割は結論ブロックに分ける。
 * ================================================= */
/* 1件だけ全幅の「看板」にして、残りを2列で並べる。
   単純な縦一列だと地味で読み飛ばされるため。 */
.p-wall {
	counter-reset: wall;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .9rem;
	max-width: 1000px;
	margin: 0 auto 1.6rem;
}
@media (max-width: 899px) { .p-wall { grid-template-columns: 1fr; } }
.p-wall__item {
	counter-increment: wall;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	column-gap: 1.15rem;
	row-gap: 0;   /* 見出しと本文の間隔はマージンで作る。row-gapがあると開きすぎる */
	padding: 1.25rem 1.4rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
}
@media (max-width: 599px) {
	.p-wall__item { padding: 1rem 1.1rem; column-gap: .85rem; }
}
.p-wall__item::before {
	content: counter(wall);
	display: grid;
	place-items: center;
	width: 2.3em;
	height: 2.3em;
	border-radius: 8px;
	background: var(--c-primary-pale);
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1;
	color: var(--c-primary);
}
.p-wall__ttl {
	grid-column: 2;
	margin: 0 0 .35em;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.6;
}
.p-wall__txt {
	grid-column: 2;
	margin: 0;
	font-size: .89rem;
	line-height: 1.95;
	color: var(--c-ink-weak);
}

/* --- 先頭の看板カード（一番の差別化要因をここに置く） --- */
.p-wall__item.-lead {
	grid-column: 1 / -1;
	padding: 1.7rem 1.8rem;
	border: 2px solid var(--c-primary);
	background: #fff;
}
@media (max-width: 599px) { .p-wall__item.-lead { padding: 1.3rem 1.15rem; } }
.p-wall__item.-lead::before {
	background: var(--c-primary);
	color: #fff;
	font-size: 1.2rem;
	width: 2.5em;
	height: 2.5em;
}
.p-wall__item.-lead .p-wall__ttl,
.post_content .p-wall__item.-lead h3.p-wall__ttl {
	font-size: clamp(1.08rem, 2.4vw, 1.3rem);
	line-height: 1.55;
}
.p-wall__item.-lead .p-wall__txt { font-size: .93rem; }
/* まとめ（私たちの役割） */
.p-wallSum {
	position: relative;
	max-width: 880px;
	margin-inline: auto;
	padding: 1.8rem 1.7rem 1.6rem;
	border-radius: var(--r-card);
	border: 2px solid var(--c-cta);
	background: #fdf5f4;
}
.p-wallSum__label {
	position: absolute;
	top: -.85em;
	left: 1.4rem;
	padding: .3em 1em;
	border-radius: 999px;
	/* 白抜き文字なので、ブランドのコーラル(#e45c5c)のままだと3.5:1で基準割れする。
	   ラベル用に一段濃いコーラルを使う（枠線側は通常のCTA色のまま） */
	background: var(--c-cta-strong);
	font-size: .78rem;
	font-weight: 800;
	color: #fff;
}
.p-wallSum__ttl {
	margin: 0 0 .5em;
	font-size: clamp(1.08rem, 2.4vw, 1.32rem);
	font-weight: 800;
	line-height: 1.6;
}
.p-wallSum__txt {
	margin: 0;
	font-size: .92rem;
	line-height: 2;
	color: var(--c-ink-weak);
}

/* =================================================
 * 6.7 注目事例（1件のときの見せ方）
 *
 * 3カラムグリッドに1枚だけ入ると余白が寂しいので、
 * 件数が揃うまでは横長の「注目事例」レイアウトで見せる。
 * ================================================= */
.p-caseFeat {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	border-radius: var(--r-card-lg);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
	overflow: hidden;
}
@media (max-width: 899px) { .p-caseFeat { grid-template-columns: 1fr; } }
.p-caseFeat__kpi {
	display: grid;
	align-content: center;
	gap: .3em;
	padding: 2.2rem 1.6rem;
	background: linear-gradient(155deg, var(--c-primary-deep), var(--c-primary));
	color: #fff;
	text-align: center;
}
.p-caseFeat__num {
	font-size: clamp(3rem, 8vw, 4.4rem);
	font-weight: 900;
	line-height: 1;
	color: #ffa69a;
	font-variant-numeric: tabular-nums;
}
.p-caseFeat__num small { font-size: .4em; margin-left: .1em; }
.p-caseFeat__kpiLabel { font-size: .92rem; font-weight: 700; line-height: 1.6; }
.p-caseFeat__kpiNote { font-size: .74rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.p-caseFeat__body { padding: clamp(1.5rem, 3vw, 2.2rem); }
.p-caseFeat__office { margin: 0 0 .2em; font-size: 1.15rem; font-weight: 800; }
.p-caseFeat__meta { margin: 0 0 1em; font-size: .78rem; color: var(--c-ink-faint); }
.p-caseFeat__txt { margin: 0 0 1.2em; font-size: .91rem; line-height: 2; color: var(--c-ink-weak); }

/* --- 事例アーカイブ --- */
.p-caseArchive {
	max-width: 980px;
	margin-inline: auto;
	padding-block: 1rem 3rem;
}
.p-caseArchive__lead {
	margin: 0 0 2.2rem;
	text-align: center;
	line-height: 2;
	font-size: .95rem;
	color: var(--c-ink-weak);
}
.p-caseList {
	display: grid;
	gap: 1.4rem;
}
.p-caseArchive__cta {
	margin-top: 3rem;
	padding: 2rem 1.5rem;
	border-radius: var(--r-card-lg);
	background: var(--c-primary-pale);
	text-align: center;
}
.p-caseArchive__cta p {
	margin: 0 0 1.2em;
	font-size: .95rem;
	line-height: 1.9;
}

/* =================================================
 * 6.8 図版・写真・動画
 * ================================================= */

/* --- 図解 --- */
.p-figure {
	margin: 0 auto;
	max-width: 900px;
}
/* 説明資料のスライド（16:9・情報量が多い）は大きく見せないと文字が読めない */
.p-figure.-wide { max-width: 1060px; }
.p-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--r-card);
}
.p-figure.-framed img {
	border: 1px solid var(--c-line);
	background: #fff;
}
.p-figure__cap {
	margin: .9em 0 0;
	font-size: .8rem;
	line-height: 1.7;
	text-align: center;
	color: var(--c-ink-faint);
}

/* --- 写真 --- */
.p-photo {
	margin: 0;
	border-radius: var(--r-card-lg);
	overflow: hidden;
	box-shadow: var(--sh-card);
}
.p-photo img { display: block; width: 100%; height: auto; }

/* --- 引用（インタビューの抜き） ---
 * SWELLは .post_content blockquote に灰色の座布団と引用符を付けてくる。
 * ここでは左罫線だけの見せ方にしたいので、要素セレクタ込みで打ち消す。 */
.p-quote,
.post_content blockquote.p-quote {
	position: relative;
	margin: 0 0 1.4em;
	padding: 0 0 0 1.2em;
	background: none;
	background-color: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	border-left: 4px solid var(--c-primary);
	font-size: clamp(1.02rem, 2.2vw, 1.2rem);
	font-weight: 700;
	line-height: 1.9;
	color: var(--c-ink);
}
.post_content blockquote.p-quote::before,
.post_content blockquote.p-quote::after { content: none; display: none; }
.post_content blockquote.p-quote cite { font-style: normal; }
.p-quote__by {
	display: block;
	margin-top: .7em;
	font-size: .84rem;
	font-weight: 400;
	color: var(--c-ink-weak);
}

/* =================================================
 * 図解のトンマナ統一ルール
 *
 * 和文ラベルの入る図はすべてHTMLで組む（生成画像だと誤字が出るうえ、
 * 生成ごとに線幅・角丸・字面が揺れてトンマナが揃わないため）。
 * 生成画像は「文字の入らないイラスト」だけに用途を限定する。
 * ================================================= */

/* --- 導入前 / 導入後 の対比 --- */
.p-ba {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: stretch;
	gap: 1rem;
	max-width: 940px;
	margin-inline: auto;
}
@media (max-width: 767px) {
	.p-ba { grid-template-columns: 1fr; }
	.p-ba__arrow { transform: rotate(90deg); justify-self: center; }
}
.p-ba__col {
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
	overflow: hidden;
}
.p-ba__col.-after { border-color: var(--c-primary); }
.p-ba__head {
	margin: 0;
	padding: .7em 1em;
	background: #6b7280;
	color: #fff;
	font-size: .95rem;
	font-weight: 800;
	text-align: center;
}
.p-ba__col.-after .p-ba__head { background: var(--c-primary); }
.post_content h3.p-ba__head { margin: 0; font-size: .95rem; color: #fff; text-align: center; }
.p-ba__list { margin: 0; padding: .4rem 1.4rem .9rem; list-style: none; }
/* リストの黒点だけ消す。ul にまとめて padding-left:0 を当てると
   自前の左右余白まで潰れて、記号がカードの左端に貼り付いてしまう。 */
.post_content .p-ba__list { list-style: none; padding: .4rem 1.4rem .9rem; }
.post_content .p-ba__list > li { list-style: none; padding-left: 0; }
.post_content .p-ba__list > li::marker { content: none; }
/* 記号と本文が重ならないよう、グリッドで2カラムに分ける
   （position:absolute だと SWELL 側の padding リセットで位置がずれた） */
.p-ba__list > li {
	display: grid;
	grid-template-columns: 1.35em 1fr;
	align-items: start;
	gap: .6em;
	padding: .8em 0;
	font-size: .9rem;
	line-height: 1.65;
	color: var(--c-ink-weak);
}
.p-ba__list > li + li { border-top: 1px solid var(--c-line); }
.p-ba__list > li::before {
	font-weight: 900;
	line-height: 1.65;
}
.p-ba__col.-before .p-ba__list > li::before {
	content: "×";
	color: #9aa1a8;
	font-size: 1.05em;
	text-align: center;
}
.p-ba__col.-after .p-ba__list > li {
	color: var(--c-ink);
	font-weight: 700;
}
.p-ba__col.-after .p-ba__list > li::before {
	content: "✓";
	color: var(--c-primary);
	font-size: 1.05em;
	text-align: center;
}
.p-ba__arrow {
	align-self: center;
	width: 0; height: 0;
	border-top: 14px solid transparent;
	border-bottom: 14px solid transparent;
	border-left: 18px solid var(--c-cta);
}

/* --- カード上のイラスト ---
 * 生成物は被写体ごとに縦横比が違うので、高さを固定して object-fit で揃える。
 * これをやらないと3枚並べたときにカードの高さがバラつく。 */
.p-illust {
	display: block;
	width: 100%;
	height: 120px;
	margin: 0 auto .9rem;
	object-fit: contain;
}
@media (max-width: 899px) { .p-illust { height: 140px; } }

/* FV左カラム下部のイラスト。フォームとの高さ差で空く余白を埋める */
.p-fv__illust {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	margin: 1.6rem 0 0;
}
@media (max-width: 959px) { .p-fv__illust { display: none; } }

/* セクションの締めコピー（図解のあとに置く1〜2行） */
.p-secClose {
	max-width: 40em;
	margin: 1.8em auto 0;
	text-align: center;
	font-size: clamp(1rem, 2.2vw, 1.18rem);
	font-weight: 800;
	line-height: 1.9;
	color: var(--c-ink);
}
.post_content .p-secClose { margin: 1.8em auto 0; }

/* =================================================
 * ご用意いただくもの（2カード＋補足チップ）
 * ================================================= */
.p-prep {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 860px;
	margin: 0 auto 1.2rem;
}
@media (max-width: 767px) { .p-prep { grid-template-columns: 1fr; } }
.p-prep__item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	column-gap: 1rem;
	padding: 1.4rem 1.5rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
}
.p-prep__num {
	display: grid;
	place-items: center;
	width: 2.1em;
	height: 2.1em;
	border-radius: 8px;
	background: var(--c-primary-pale);
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	color: var(--c-primary);
}
/* カード内の図（用意するものを絵で示す） */
.p-prep__illust {
	grid-column: 2;
	display: block;
	width: 100%;
	max-width: 190px;
	height: 92px;
	margin: 0 0 .8rem;
	object-fit: contain;
	object-position: left center;
}
.p-prep__ttl {
	grid-column: 2;
	margin: 0 0 .3em;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.5;
}
.post_content h3.p-prep__ttl { margin: 0 0 .3em; font-size: 1rem; }
.p-prep__txt {
	grid-column: 2;
	margin: 0;
	font-size: .86rem;
	line-height: 1.85;
	color: var(--c-ink-weak);
}
.post_content .p-prep__txt { margin: 0; }
/* 補足を横並びのチップで添える */
.p-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem;
	max-width: 860px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.post_content .p-chips, .post_content .p-chips > li { list-style: none; padding-left: 0; }
.post_content .p-chips > li::marker { content: none; }
.p-chips > li {
	padding: .6em 1.1em;
	border-radius: 999px;
	border: 1px solid var(--c-line-strong);
	background: #fff;
	font-size: .82rem;
	font-weight: 700;
	color: var(--c-ink-weak);
}
.p-chips > li::before {
	content: "✓";
	margin-right: .45em;
	font-weight: 900;
	color: var(--c-primary);
}

/* --- セクションの小見出し（どのツールの話かを示す） --- */
.p-secKicker {
	margin: 0 0 .5em;
	text-align: center;
	font-size: .82rem;
	font-weight: 800;
	color: var(--c-primary);
}
.post_content .p-secKicker { margin: 0 0 .5em; }

/* 上下に細い罫線だけ引く帯（対応会計ソフトなど、色を使わず区切りたいとき） */
.p-sec.-bordered {
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
}

/* =================================================
 * 提供ツール群
 *
 * 「AI仕訳るくん単体のサイト」ではなく「税理士特化のAI導入サポートの中に
 * 複数のツールがある」と見せるためのブロック。主力のAI仕訳るくんだけ
 * 全幅の看板にして、残りを3列に並べる。
 * ================================================= */
/* 主力の看板1枚＋残り2枚。3列だと1枠空くので2列で組む */
.p-tools {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 1000px;
	margin-inline: auto;
}
@media (max-width: 899px) { .p-tools { grid-template-columns: 1fr; } }
.p-tools__item {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.4rem 1.4rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color .15s, box-shadow .15s;
}
a.p-tools__item:hover {
	border-color: var(--c-primary);
	box-shadow: var(--sh-hover);
}
.p-tools__item.-lead {
	grid-column: 1 / -1;
	padding: 1.8rem 1.8rem 1.6rem;
	border: 2px solid var(--c-primary);
	background: linear-gradient(120deg, var(--c-primary-pale), #fff 60%);
}
@media (max-width: 599px) { .p-tools__item.-lead { padding: 1.4rem 1.2rem; } }
.p-tools__item.-plain { background: #fafafa; }
.p-tools__badge {
	align-self: flex-start;
	margin-bottom: .7em;
	padding: .25em .9em;
	border-radius: 999px;
	background: var(--c-primary);
	font-size: .72rem;
	font-weight: 800;
	color: #fff;
}
.p-tools__ttl {
	margin: 0 0 .5em;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.5;
}
.p-tools__item.-lead .p-tools__ttl { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
.post_content h3.p-tools__ttl { margin: 0 0 .5em; font-size: 1.1rem; }
.post_content .p-tools__item.-lead h3.p-tools__ttl { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
.p-tools__txt {
	flex: 1;
	margin: 0;
	font-size: .89rem;
	line-height: 1.9;
	color: var(--c-ink-weak);
}
.post_content .p-tools__txt { margin: 0; }
.p-tools__item.-lead .p-tools__txt { font-size: .93rem; max-width: 46em; }
.p-tools__more {
	margin-top: 1em;
	font-size: .85rem;
	font-weight: 800;
	color: var(--c-primary);
}
.p-tools__more::after { content: " →"; }

/* --- 処理の基本フロー（8ステップ） ---
 * 画像生成では2段目の矢印が逆向きになる／ラベルに番号が二重に入る等が
 * 安定しなかったため、HTMLで組んでいる。テキストなので検索・LLMにも拾われる。
 * ================================================= */
.p-steps {
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	max-width: 1000px;
	margin-inline: auto;
}
/* 5ステップ版（参考LPと同じく1行に並べる） */
.p-steps.-col5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 899px) {
	.p-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.p-steps.-col5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
	.p-steps, .p-steps.-col5 { grid-template-columns: 1fr; }
}
/* 5列のときは4n目ではなく5n目が行末 */
.p-steps.-col5 .p-steps__item:nth-child(4n)::after { content: ""; }
.p-steps.-col5 .p-steps__item:nth-child(5n)::after,
.p-steps.-col5 .p-steps__item:last-child::after { content: none; }
@media (max-width: 899px) {
	.p-steps.-col5 .p-steps__item:nth-child(4n)::after { content: ""; }
	.p-steps.-col5 .p-steps__item:nth-child(2n)::after { content: none; }
	.p-steps.-col5 .p-steps__item:last-child::after { content: none; }
}
@media (max-width: 479px) { .p-steps.-col5 .p-steps__item::after { content: none; } }
.p-steps__item {
	counter-increment: step;
	position: relative;
	padding: 1.6rem 1rem 1.1rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: var(--c-primary-tint);
	text-align: center;
}
.p-steps__item::before {
	content: counter(step);
	position: absolute;
	top: -.75rem;
	left: -.5rem;
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--c-primary);
	color: #fff;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: .92rem;
	font-weight: 800;
	line-height: 1;
}
/* 次のカードへ向かう矢印。行末とスマホでは出さない */
.p-steps__item::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -.72rem;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 8px solid var(--c-cta);
	transform: translateY(-50%);
}
.p-steps__item:nth-child(4n)::after,
.p-steps__item:last-child::after { content: none; }
@media (max-width: 899px) {
	.p-steps__item:nth-child(4n)::after { content: ""; }
	.p-steps__item:nth-child(2n)::after { content: none; }
	.p-steps__item:last-child::after { content: none; }
}
@media (max-width: 479px) { .p-steps__item::after { content: none; } }
/* --- 人がやる工程 / 自動で流れる工程の区別 ---
 * 「どこまで自動で、どこを人が見るのか」がこのサービスの肝なので、
 * カードの色とラベルで一目で分かるようにする。 */
.p-steps__item.-auto { background: var(--c-primary-tint); border-color: var(--c-line); }
.p-steps__item.-human {
	background: #fff8f4;
	border-color: var(--c-cta);
	border-width: 2px;
}
.p-steps__item.-human::before { background: var(--c-cta-strong); }
.p-steps__tag {
	display: inline-block;
	margin-bottom: .5em;
	padding: .2em .7em;
	border-radius: 999px;
	font-size: .66rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: .02em;
}
.p-steps__item.-auto .p-steps__tag  { background: var(--c-primary-pale); color: var(--c-primary-dark); }
.p-steps__item.-human .p-steps__tag { background: var(--c-cta-strong); color: #fff; }

/* 凡例 */
.p-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.2rem;
	margin: 0 0 1.6rem;
	padding: 0;
	list-style: none;
	font-size: .82rem;
	font-weight: 700;
	color: var(--c-ink-weak);
}
.post_content .p-legend, .post_content .p-legend > li { list-style: none; padding-left: 0; margin: 0; }
.post_content .p-legend { margin: 0 0 1.6rem; }
.post_content .p-legend > li::marker { content: none; }
.p-legend > li { display: inline-flex; align-items: center; gap: .45em; }
.p-legend i {
	width: 1em; height: 1em;
	border-radius: 3px;
	border: 2px solid var(--c-line-strong);
	background: var(--c-primary-tint);
}
.p-legend > li.-human i { border-color: var(--c-cta); background: #fff8f4; }

.p-steps__ttl {
	margin: 0;
	font-size: .93rem;
	font-weight: 800;
	line-height: 1.65;
	color: var(--c-ink);
}
.post_content h3.p-steps__ttl { margin: 0; font-size: .93rem; text-align: center; }
.p-steps__note {
	margin: .4em 0 0;
	font-size: .76rem;
	line-height: 1.6;
	color: var(--c-ink-faint);
}
.post_content .p-steps__note { margin: .4em 0 0; }

/* --- 役割分担の3カラム ---
 * 画像生成だと「使うもの／やること」のような長めの和文ラベルで
 * 誤字（倀うもの・実行墓盤 等）が頻発したため、HTMLで組んでいる。
 * テキストなので検索・LLMにも拾われる。
 * ================================================= */
.p-roles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.1rem;
	max-width: 1000px;
	margin-inline: auto;
}
@media (max-width: 899px) { .p-roles { grid-template-columns: 1fr; } }
.p-roles__item {
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.4rem 1.4rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
}
/* AIに触れるのは管理者ひとり、が主役。カードを揃えると
   その非対称さが消えるので、管理者だけ強調する。 */
.p-roles__item.-key {
	border-color: var(--c-primary);
	box-shadow: 0 0 0 1px var(--c-primary) inset, var(--sh-card);
}
.p-roles__badge {
	align-self: flex-start;
	padding: .3em .85em;
	border-radius: 999px;
	background: var(--c-primary-pale);
	color: var(--c-primary-dark);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.6;
}
.p-roles__item.-key .p-roles__badge {
	background: var(--c-primary);
	color: #fff;
}
.p-roles__head,
.post_content h3.p-roles__head {
	margin: .7rem 0 0;
	font-size: 1.14rem;
	font-weight: 800;
	line-height: 1.4;
	color: var(--c-ink);
	text-align: left;
}
.p-roles__lead,
.post_content .p-roles__lead {
	margin: .45rem 0 0;
	font-size: .92rem;
	font-weight: 700;
	line-height: 1.8;
	color: var(--c-ink);
}
.p-roles__tools {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin: .9rem 0 0;
	padding: 0;
	list-style: none;
}
.post_content .p-roles__tools { margin: .9rem 0 0; padding: 0; }
.p-roles__tools > li {
	padding: .35em .8em;
	border-radius: 6px;
	background: var(--c-primary-tint);
	border: 1px solid var(--c-line);
	font-size: .8rem;
	line-height: 1.6;
	color: var(--c-ink-weak);
}
.post_content .p-roles__tools > li::before { content: none; }
/* 注記は下端に揃える。カードの高さが違っても行が並ぶ。 */
.p-roles__note,
.post_content .p-roles__note {
	margin: auto 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--c-line);
	font-size: .8rem;
	line-height: 1.7;
	color: var(--c-ink-faint);
}

/* --- 導入先の声（顔写真つき証言） --- */
.p-testimonial {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	align-items: center;
	gap: clamp(1.6rem, 3.5vw, 3rem);
	max-width: 980px;
	margin-inline: auto;
	padding: clamp(1.6rem, 3vw, 2.4rem);
	border-radius: var(--r-card-lg);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
}
@media (max-width: 767px) {
	.p-testimonial { grid-template-columns: 1fr; gap: 1.4rem; }
}
.p-testimonial__photo {
	display: block;
	width: 100%;
	max-width: 300px;
	margin-inline: auto;
	border-radius: var(--r-card);
	object-fit: cover;
}
.p-testimonial__office {
	margin: 0 0 .1em;
	font-size: .86rem;
	color: var(--c-ink-weak);
}
.p-testimonial__name {
	margin: 0 0 1em;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.4;
}
.p-testimonial__name small {
	margin-left: .5em;
	font-size: .62em;
	font-weight: 700;
	color: var(--c-ink-weak);
}
.p-testimonial__quote,
.post_content blockquote.p-testimonial__quote {
	margin: 0 0 1.2em;
	background: none;
	background-color: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	border-left: 4px solid var(--c-primary);
	padding: 0 0 0 1.1em;
	font-size: .97rem;
	line-height: 2;
}
.post_content blockquote.p-testimonial__quote::before,
.post_content blockquote.p-testimonial__quote::after { content: none; display: none; }
.p-testimonial__quote em {
	font-style: normal;
	font-weight: 800;
	color: var(--c-primary-dark);
}
/* 成果の3点 */
.p-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.post_content .p-results,
.post_content .p-results > li { list-style: none; padding-left: 0; }
.post_content .p-results > li::marker { content: none; }
.p-results > li {
	padding: .9em .6em;
	border-radius: var(--r-card);
	background: var(--c-primary-pale);
	text-align: center;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--c-ink-weak);
}
.p-results b {
	display: block;
	margin-bottom: .2em;
	font-size: 1.15rem;
	font-weight: 900;
	color: var(--c-cta-strong);
}
@media (max-width: 479px) {
	.p-results { grid-template-columns: 1fr; }
	.p-results > li { display: flex; align-items: baseline; justify-content: center; gap: .5em; }
	.p-results b { margin-bottom: 0; }
}

/* --- 担当者 --- */
.p-person {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 1.4rem;
	max-width: 760px;
	margin-inline: auto;
	padding: 1.8rem;
	border-radius: var(--r-card-lg);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
}
@media (max-width: 599px) {
	.p-person { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; }
}
.p-person__photo {
	width: 108px;
	height: 108px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--c-primary-pale);
}
.p-person__role {
	display: inline-block;
	margin-bottom: .5em;
	padding: .25em .8em;
	border-radius: 999px;
	background: var(--c-primary-pale);
	font-size: .74rem;
	font-weight: 800;
	color: var(--c-primary-dark);
}
.p-person__name {
	margin: 0 0 .5em;
	font-size: 1.15rem;
	font-weight: 800;
}
.p-person__name small {
	margin-left: .6em;
	font-size: .74rem;
	font-weight: 400;
	color: var(--c-ink-faint);
}
.p-person__txt {
	margin: 0;
	font-size: .9rem;
	line-height: 1.95;
	color: var(--c-ink-weak);
}

/* --- ヘッダーのロゴマーク --- */
.l-header .c-headLogo__mark,
.l-fixHeader .c-headLogo__mark {
	width: 1.9em;
	height: 1.9em;
	margin-right: .45em;
	vertical-align: -.5em;
}

/* =================================================
 * 7. CTAバンド
 * ================================================= */
.p-ctaBand {
	padding: clamp(2.2rem, 5vw, 3.4rem) 4vw;
	background: linear-gradient(135deg, var(--c-primary-deep), var(--c-primary));
	color: #fff;
	text-align: center;
}
.p-ctaBand__ttl {
	margin: 0 0 .5em;
	font-size: clamp(1.2rem, 3vw, 1.7rem);
	font-weight: 800;
	line-height: 1.5;
	color: #fff;
}
.p-ctaBand__txt {
	margin: 0 auto 1.5em;
	max-width: 40em;
	line-height: 1.9;
	color: rgba(255, 255, 255, .93);
}
.p-ctaBand__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .8rem;
}

/* --- ボタン --- */
.c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 15em;
	padding: .95em 1.8em;
	border-radius: 999px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;
	transition: transform .12s, background .15s, box-shadow .15s;
}
.c-btn.-cta {
	background: var(--c-cta-strong);
	box-shadow: 0 3px 0 var(--c-cta-dark);
	color: #fff;
}
.c-btn.-cta:hover {
	background: var(--c-cta-dark);
	box-shadow: 0 1px 0 var(--c-cta-dark);
	transform: translateY(2px);
	color: #fff;
}
.c-btn.-ghost {
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
}
.c-btn.-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.c-btn.-outline {
	border: 2px solid var(--c-primary);
	background: #fff;
	color: var(--c-primary);
}
.c-btn.-outline:hover { background: var(--c-primary-pale); color: var(--c-primary-dark); }

/* =================================================
 * 8. ヘッダーのCTAボタン
 * ================================================= */
/* グローバルナビの li は display:list-item のままなので、
   ボタン2つを入れると縦積みになってヘッダーからはみ出す。flexにして横並びに戻す。
   SWELLは追従ヘッダーを .l-fixHeader という別DOMで二重に出力するため、
   .l-header 配下だけを指定すると追従時にまた崩れる。両方を対象にすること。 */
.c-gnav .menu-item.-cta-wrap,
.menu-item.-cta-wrap {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	flex-wrap: nowrap;   /* 追従ヘッダーでは幅が縮むため、これが無いと2段に折れる */
	gap: .6em;
	width: auto;
	max-width: none;
	padding: 0 0 0 1em;
	list-style: none;
}
.menu-item.-cta-wrap::before,
.menu-item.-cta-wrap::after { content: none; }

/* 参考LP（Chatwork）のヘッダーCTAに合わせる。
   2つのボタンを「同じ幅・同じ高さ・同じ角丸のピル型」で揃え、
   線と塗りだけで主従を分ける。幅と枠線の太さが違うと不揃いに見える。 */
/* SWELLのグローバルナビは a に height:100% と padding:0 12px を当ててくるため、
   何もしないとボタンがヘッダー全高(72px)まで伸び、指定した padding も消える。
   セレクタを .l-header / .l-fixHeader 起点にして打ち消し、コンパクトなピルに戻す。 */
.c-headCta,
.l-header .c-gnav a.c-headCta,
.l-fixHeader .c-gnav a.c-headCta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	flex: 0 0 auto;
	min-width: 9.2em;      /* 2つのボタン幅を揃える */
	height: auto;
	min-height: 0;
	padding: .78em 1.3em;
	border: 2px solid transparent;   /* 塗りボタンも同じ外形寸法にする */
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s, color .15s, border-color .15s;
}
/* SWELLのナビリンク色に負けて文字が #333 のままになるので、a込みで指定する */
.c-headCta.-cta,
a.c-headCta.-cta,
.c-gnav a.c-headCta.-cta {
	background: var(--c-cta-strong);
	border-color: var(--c-cta-strong);
	color: #fff;
}
.c-headCta.-cta:hover { background: var(--c-cta-dark); border-color: var(--c-cta-dark); color: #fff; }
.c-headCta.-sub,
a.c-headCta.-sub,
.c-gnav a.c-headCta.-sub {
	background: #fff;
	border-color: var(--c-cta-strong);
	color: var(--c-cta-strong);
}
.c-headCta.-sub:hover { background: #fdf5f4; color: var(--c-cta-dark); border-color: var(--c-cta-dark); }
@media (max-width: 959px) {
	.c-headCta { display: none; }
	.menu-item.-cta-wrap { display: none; }
}

/* =================================================
 * 9. スマホ固定CTA
 * ================================================= */
.p-spCta {
	display: none;
}
@media (max-width: 959px) {
	.p-spCta {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 90;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: .4rem;
		padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
		background: #fff; /* 半透明だと本文が透けて文字ゴーストが出る */
		box-shadow: 0 -2px 12px rgba(0, 0, 0, .12);
	}
	.p-spCta a {
		display: grid;
		place-items: center;
		padding: .8em .4em;
		border-radius: 7px;
		font-size: .86rem;
		font-weight: 800;
		text-decoration: none;
	}
	.p-spCta .-cta { background: var(--c-cta-strong); color: #fff; }
	/* 背景を敷かないとバー越しに本文が透ける */
	.p-spCta .-sub { border: 1.5px solid var(--c-primary); color: var(--c-primary); background: #fff; }
	body { padding-bottom: 4.4rem; }
}

/* =================================================
 * 10. 記事・事例の個別スタイル
 * ================================================= */
.p-caseSpec {
	width: 100%;
	margin-bottom: 2em;
	border-collapse: collapse;
	font-size: .95rem;
}
.p-caseSpec th,
.p-caseSpec td {
	padding: .75em 1em;
	border: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}
.p-caseSpec th {
	width: 12em;
	background: var(--c-primary-pale);
	font-weight: 700;
	white-space: nowrap;
}
@media (max-width: 599px) {
	.p-caseSpec th,
	.p-caseSpec td { display: block; width: auto; }
	.p-caseSpec th { border-bottom: none; }
}

.p-voice {
	margin-bottom: 1.5em;
	padding: 1.5em;
	border-left: 4px solid var(--c-primary);
	background: var(--c-primary-pale);
}
.p-voice__quote {
	margin: 0 0 .8em;
	font-size: 1.02rem;
	line-height: 1.9;
}
.p-voice__name {
	margin: 0;
	font-size: .9rem;
	text-align: right;
	color: var(--c-ink-weak);
}

.p-kpi { text-align: center; }
.p-kpi__num {
	display: block;
	font-size: clamp(2.2rem, 6vw, 3rem);
	font-weight: 900;
	line-height: 1.1;
	color: var(--c-primary);
}
.p-kpi__label { display: block; margin-top: .5em; font-size: .9rem; line-height: 1.6; }
.p-kpi__note  { display: block; margin-top: .3em; font-size: .75rem; opacity: .7; }

.p-pending {
	padding: 2em 1.5em;
	border: 2px dashed var(--c-line);
	border-radius: var(--r-card);
	background: #fafafa;
	text-align: center;
	color: var(--c-ink-weak);
}
.p-pending__ttl {
	display: block;
	margin-bottom: .5em;
	font-weight: 700;
	color: #444;
}

/* =================================================
 * 11. SWELLブロックの微調整
 * ================================================= */
/* ステップブロックの丸番号（2.7系は保存HTMLに背景色が入らない） */
.swell-block-step__number .__shape {
	position: absolute;
	inset: 0;
	background-color: var(--c-primary);
	z-index: -1;
}
.swell-block-step__number { z-index: 0; }

/* -------------------------------------------------
 * LPページのレイアウト解除
 *
 * SWELLは #body_wrap に body_class を付けるので、起点は .page-template-lp。
 * 記事用の幅制限（.l-mainContent の max-width、.l-content の上下padding）を
 * 外して、セクションを画面いっぱいに敷けるようにする。
 * ------------------------------------------------- */
.page-template-lp .p-breadcrumb { display: none; }

/* SWELLは #content / #main_content のID指定で幅と余白を決めているため、
   打ち消すにはID込みのセレクタが要る（クラスだけだと詳細度で負ける）。 */
.page-template-lp #content.l-content {
	padding: 0;
	max-width: none;
	/* SWELLは #content に margin-bottom:96px を持っており、
	   最終セクションとフッターの間に白い帯が残る */
	margin-bottom: 0;
}
.page-template-lp #main_content.l-mainContent,
.page-template-lp .l-mainContent__inner,
.page-template-lp .post_content {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}
/* SWELLのブロック余白リセットが効かないケースの保険 */
.page-template-lp .post_content > .p-fv,
.page-template-lp .post_content > .p-sec,
.page-template-lp .post_content > .p-ctaBand {
	margin-top: 0;
	margin-bottom: 0;
}

/* セクション内側の最大幅 */
.p-sec__inner {
	max-width: 1080px;
	margin-inline: auto;
	padding-inline: 4vw;
}

/* LP内に置いた通常ブロック（表・リスト・FAQなど）は読み幅に収める */
.page-template-lp .post_content > *:not(.p-fv):not(.p-sec):not(.p-ctaBand) {
	max-width: 800px;
	margin-inline: auto;
	padding-inline: 4vw;
}
/* セクション直後に続く通常ブロックの上余白を詰める */
.page-template-lp .post_content > .p-sec + * { margin-top: 1.5rem; }

/* フル幅グループ内の見出し上マージン */
.wp-block-group.alignfull > .wp-block-heading:first-child { margin-top: 0; }

/* =================================================
 * 11.5 通常ページ・記事の見出し
 *
 * LP側の見出しをEN eyebrow＋素の和文に作り替えたのに対し、
 * 会社情報・事例詳細・ブログはSWELL既定の「ティール塗り帯」のままで、
 * 同じサイト内で2つのデザイン言語が混在していた。通常見出しも寄せる。
 * （.p-secTtl 等の自作見出しは接頭辞で除外済み）
 * ================================================= */
.post_content > h2.wp-block-heading,
.post_content > .wp-block-group h2.wp-block-heading {
	position: relative;
	margin: 2.6em 0 1.1em;
	padding: 0 0 .5em;
	border: none;
	border-bottom: 2px solid var(--c-line);
	background: none;
	background-color: transparent;
	box-shadow: none;
	font-size: clamp(1.2rem, 2.6vw, 1.5rem);
	font-weight: 800;
	line-height: 1.6;
	color: var(--c-ink);
	text-align: left;
}
.post_content > h2.wp-block-heading::before {
	content: none;
}
/* 下線の左端だけティールにして、見出しの起点を示す */
.post_content > h2.wp-block-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 3em;
	height: 2px;
	background: var(--c-primary);
}

.post_content > h3.wp-block-heading {
	margin: 2.2em 0 .9em;
	padding: .1em 0 .1em .8em;
	border: none;
	border-left: 4px solid var(--c-primary);
	background: none;
	background-color: transparent;
	box-shadow: none;
	font-size: clamp(1.05rem, 2.2vw, 1.22rem);
	font-weight: 800;
	line-height: 1.6;
	color: var(--c-ink);
}
.post_content > h3.wp-block-heading::before,
.post_content > h3.wp-block-heading::after { content: none; }

.post_content > h4.wp-block-heading {
	margin: 1.9em 0 .7em;
	padding: 0;
	border: none;
	background: none;
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--c-primary-dark);
}

/* 記事本文の読みやすさ（和文は行間を広めに） */
.post_content > p { line-height: 1.95; }

/* =================================================
 * 12. FAQ（SWELLのFAQブロック）
 *
 * LP内では読み幅800pxのまま素のdlで出ていて、
 * 前後のカードUIから浮いていた。カードに寄せて揃える。
 * ================================================= */
.page-template-lp .swell-block-faq {
	max-width: 860px;
	margin-inline: auto;
	padding-inline: 4vw;
	display: grid;
	gap: .8rem;
}
.page-template-lp .swell-block-faq__item {
	padding: 1.3rem 1.5rem;
	border-radius: var(--r-card);
	border: 1px solid var(--c-line);
	background: #fff;
	box-shadow: var(--sh-card);
}
@media (max-width: 599px) {
	.page-template-lp .swell-block-faq__item { padding: 1.1rem 1.15rem; }
}
.page-template-lp .swell-block-faq__item .faq_q {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.7;
	color: var(--c-ink);
}
.page-template-lp .swell-block-faq__item .faq_a {
	font-size: .89rem;
	line-height: 2;
	color: var(--c-ink-weak);
}
.page-template-lp .swell-block-faq__item .faq_q::before,
.page-template-lp .swell-block-faq__item .faq_a::before {
	color: var(--c-primary);
	font-weight: 800;
}
.page-template-lp .swell-block-faq__item .faq_a::before { color: var(--c-cta); }

/* --- FAQの開閉 ---
 * .js-faq はスクリプトが付ける。JSが動かない環境では付かないので、
 * 答えは開いたまま表示される（畳んだまま読めなくなるのを避ける）。
 * 閉じているときだけ display:none を当てる書き方にして、開いた側は
 * SWELL本来の display をそのまま生かす。
 * ================================================= */
.swell-block-faq.js-faq .faq_q {
	position: relative;
	padding-right: 2.2em;
	cursor: pointer;
	user-select: none;
}
.swell-block-faq.js-faq .faq_q:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 3px;
	border-radius: 3px;
}
/* 開閉マーク。閉じ=下向き、開き=上向き */
.swell-block-faq.js-faq .faq_q::after {
	content: "";
	position: absolute;
	right: .3em;
	top: .55em;
	width: .5em;
	height: .5em;
	border-right: 2px solid var(--c-primary);
	border-bottom: 2px solid var(--c-primary);
	transform: rotate(45deg);
	transform-origin: center;
	transition: transform .2s ease;
}
.swell-block-faq.js-faq .swell-block-faq__item.is-open .faq_q::after {
	transform: rotate(-135deg);
}
.swell-block-faq.js-faq .swell-block-faq__item:not(.is-open) .faq_a {
	display: none;
}
@media (prefers-reduced-motion: reduce) {
	.swell-block-faq.js-faq .faq_q::after { transition: none; }
}

/* 1ページしかないときの「1」だけのページャは出さない。
   次ページが無い＝aタグが1本も無い、で判定できる。 */
.c-pagination:not(:has(a)) { display: none; }

/* =================================================
 * 12.5 アイキャッチ未設定時のサムネイル
 *
 * SWELL既定の no_img.png はただのグレー板で、記事一覧に並ぶと
 * 「作りかけのサイト」に見える。画像素材が揃うまではブランド色の
 * プレースホルダで埋める（SWELLは未設定時に .noimg_ を付けてくれる）。
 * ================================================= */
.c-postThumb.noimg_ {
	position: relative;
	background: linear-gradient(135deg, #341a52, var(--c-primary) 65%, #8b5bc7);
	overflow: hidden;
}
.c-postThumb.noimg_ .c-postThumb__img { opacity: 0; }
.c-postThumb.noimg_::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 22px 22px;
}
.c-postThumb.noimg_::after {
	content: "AI仕訳るくん";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	color: rgba(255, 255, 255, .82);
}

/* =================================================
 * 13. フッター
 *
 * SWELLデフォルトのままだと、最後がリンク列で終わって締まらない。
 * 事業者情報とCTAを置いて着地させる。
 * ================================================= */
.p-foot {
	padding: clamp(2.6rem, 5vw, 3.6rem) 4vw clamp(2rem, 4vw, 2.6rem);
	background: #0f3d46;
	color: rgba(255, 255, 255, .78);
	font-size: .87rem;
	line-height: 1.9;
}
.p-foot__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 2rem 3rem;
	max-width: 1120px;
	margin-inline: auto;
}
@media (max-width: 767px) { .p-foot__inner { grid-template-columns: 1fr; } }
.p-foot__brand {
	margin: 0 0 .6em;
	font-size: 1.12rem;
	font-weight: 800;
	color: #fff;
}
.p-foot__desc { margin: 0 0 1.2em; }
.p-foot__nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5em 1.4em;
}
.p-foot__nav a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
}
.p-foot__nav a:hover { color: #fff; text-decoration: underline; }
.p-foot__ctaTtl {
	margin: 0 0 .8em;
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
}
.p-foot .c-btn { min-width: 0; width: 100%; max-width: 22em; }
.p-foot__copy {
	max-width: 1120px;
	margin: 2rem auto 0;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, .16);
	font-size: .76rem;
	color: rgba(255, 255, 255, .55);
}
/* SWELLデフォルトのフッターは自作フッターと二重になるので隠す */
.l-footer__foot,
.l-footer__widget { display: none; }

/* 自作フッターは濃色なので、SWELL既定の #content 下マージン96pxがあると
   本文とフッターの間に白い帯が残って見える。通常ページでも詰める。 */
#content.l-content { margin-bottom: 3rem; }

/* ------------------------------------------------------------------
   監修ボックス [aik_supervisor]
   記事の権威性を、文章ではなくコンポーネントとして出す。
   リード直後（監修）と記事末（この記事を書いた人＋CTA）で使い回す。
   ------------------------------------------------------------------ */
.p-supervisor {
	position: relative;
	margin: 2.4em 0;
	padding: 1.5rem 1.4rem 1.3rem;
	border: 1px solid var(--c-line);
	border-left: 4px solid var(--c-primary);
	border-radius: var(--r-card);
	background: var(--c-primary-tint);
}
.p-supervisor__label {
	position: absolute;
	top: -.75em;
	left: 1.1rem;
	padding: .16em .8em;
	border-radius: 999px;
	background: var(--c-primary);
	color: #fff;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.7;
}
.p-supervisor__body {
	display: flex;
	align-items: flex-start;
	gap: 1.1rem;
}
.p-supervisor__photo {
	flex: 0 0 auto;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
	border: 2px solid #fff;
	box-shadow: var(--sh-card);
}
.p-supervisor__text { min-width: 0; }
.p-supervisor__name {
	margin: 0 0 .35em;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.5;
}
.p-supervisor__name small {
	margin-left: .6em;
	font-size: .74em;
	font-weight: 700;
	color: var(--c-ink-weak);
}
.p-supervisor__lead {
	margin: 0 0 .5em;
	font-size: .9rem;
	font-weight: 700;
	color: var(--c-ink);
}
.post_content ul.p-supervisor__careers,
.p-supervisor__careers {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .86rem;
	line-height: 1.85;
	color: var(--c-ink-weak);
}
.post_content ul.p-supervisor__careers li,
.p-supervisor__careers li {
	position: relative;
	margin: 0;
	padding-left: 1.05em;
	list-style: none;
}
.post_content ul.p-supervisor__careers li::marker { content: none; }
.post_content ul.p-supervisor__careers li::before,
.p-supervisor__careers li::before {
	content: "";
	position: absolute;
	top: .78em;
	left: 0;
	width: .38em;
	height: .38em;
	border-radius: 50%;
	background: var(--c-primary);
}
.p-supervisor__cta { margin: .9em 0 0; font-size: .87rem; }
.p-supervisor__cta a {
	color: var(--c-primary-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: .18em;
}
.p-supervisor__cta a:hover { color: var(--c-cta-strong); }
@media (max-width: 599px) {
	.p-supervisor { padding: 1.4rem 1.1rem 1.2rem; }
	.p-supervisor__body { gap: .85rem; }
	.p-supervisor__photo { width: 62px; height: 62px; }
	.p-supervisor__name { font-size: 1rem; }
	.p-supervisor__name small { display: block; margin: .15em 0 0; margin-left: 0; font-size: .8em; }
	.post_content ul.p-supervisor__careers,
	.p-supervisor__careers { font-size: .82rem; }
}
