@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600;700&display=swap');

/* 【案件レイヤ】/web-support/ (Webサイト制作・改善運用のLP) のページ固有CSS
   2026-09-20 L-13・C-138: 受け皿LP 02。本文のルート要素は .ns-weblp(01 の .ns-adlp とは別なので混ざらない)。
   設計= docs/handover/20260920b_web_support_lp_design.md、作り方の正本= docs/LP構築時のポイント.md。
   文字サイズは4段だけ使う: 見出し(--fs-h2) / 小見出し(--fs-h3) / 本文(--fs-body) / 注記(--fs-sm)。例外は h1 のみ。
   02 には計算ツールが無いので --fs-num は置かない(C-138)。実績の数字は小見出しの大きさで足りる。
   色は「流入=青(--in)」「Webサイトの中身=赤(--out)」で塗り分け、節の背景は白・生成り・淡灰・濃紺で切り替える。
   CLAUDE.md 4-4: 赤背景のベタ塗り・border-left 装飾・英文eyebrow・装飾アイコンの散らし・::before/::after の文字content は使わない。 */

/* ページタイトル非表示と main の上下余白の除去(自前の全幅セクションで組むページ) */
.entry-header { display: none; }
.site-main { padding-block: 0; }
.swell-block-fullWide__inner > * { margin-bottom: 0 !important; }

.ns-weblp {
	--ink: #15181f;
	--ink2: #3a414c;
	--mut: #646c79;
	--line: #e2e5ea;
	--white: #ffffff;
	--cream: #f7f3ec;
	--cream-line: #e7dfd1;
	--gray: #f2f4f7;
	--navy: #1b2533;
	--navy2: #243145;
	--navy-line: #36445c;
	--out: #c0392b;
	--out-hi: #e8645a;
	--out-soft: #fbeeec;
	--out-line: #f0cfca;
	--in: #2d5b8c;
	--in-hi: #8fb4dd;
	--in-soft: #e9f0f8;
	--in-line: #cddbeb;
	--dash: #a3abb6;
	--pad: clamp(20px, 5vw, 40px);
	--fs-h2: clamp(25px, 2.6vw, 34px);
	--fs-h3: clamp(18px, 1.5vw, 20px);
	--fs-body: 16px;
	--fs-sm: 13px;
	color: var(--ink);
	font-size: var(--fs-body);
	line-height: 1.85;
	letter-spacing: .02em;
	font-feature-settings: "palt";
	-webkit-font-smoothing: antialiased;
}
@media (max-width: 640px) {
	.ns-weblp { --fs-body: 15px; }
}
/* 初期化は :where() で優先度を「クラス1つ分」にとどめ、下の個別の指定(同じ優先度で後に書く)が必ず勝つようにする。
   .ns-weblp p のように書くと優先度が高くなり、.ns-weblp__lead などの余白が消える(C-130) */
.ns-weblp :where(*, *::before, *::after) { box-sizing: border-box; }
.ns-weblp :where(h1, h2, h3, h4) { margin: 0; padding: 0; border: 0; background: none; word-break: auto-phrase; }
.ns-weblp :where(p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.ns-weblp :where(p, li) { text-wrap: pretty; }
.ns-weblp :where(ul, ol) { list-style: none; }
.ns-weblp :where(a) { text-decoration: none; }
.ns-weblp :where(img) { display: block; max-width: 100%; height: auto; }
.ns-weblp :where(svg) { display: block; }
.ns-weblp__serif { font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif; }
.ns-weblp__brsp { display: none; }

/* ---------- 共通の骨組みと文字 ---------- */
.ns-weblp__in { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.ns-weblp__sec { padding: clamp(56px, 6vw, 88px) 0; }
.ns-weblp__sec--compact { padding: clamp(44px, 4.5vw, 64px) 0; }
.ns-weblp--white { background: var(--white); }
.ns-weblp--cream { background: var(--cream); }
.ns-weblp--gray { background: var(--gray); }
.ns-weblp--navy { background: var(--navy); color: #e6ebf2; }

.ns-weblp__h2 { font-size: var(--fs-h2); line-height: 1.45; font-weight: 700; letter-spacing: .03em; color: var(--ink); text-wrap: balance; }
/* 端末幅が変わっても必ず2行に収める見出し。行は本文の span で決め、長いほうの行が入る大きさまで文字を詰める
   (--h2max = 長い行の全角文字数。囲みの幅は親の container-type: inline-size で測る・C-135) */
.ns-weblp__h2--fit { font-size: min(var(--fs-h2), calc(100cqi / (var(--h2max, 16) * 1.04))); text-wrap: nowrap; }
.ns-weblp__h2--fit .ln { display: block; white-space: nowrap; }
.ns-weblp__h3 { font-size: var(--fs-h3); line-height: 1.55; font-weight: 700; color: var(--ink); }
.ns-weblp__lead { margin-top: 14px; max-width: 42em; font-size: var(--fs-body); color: var(--ink2); }
.ns-weblp__cap { margin-top: 14px; font-size: var(--fs-sm); line-height: 1.75; color: var(--mut); }
.ns-weblp--navy .ns-weblp__h2,
.ns-weblp--navy .ns-weblp__h3 { color: #fff; }
/* 濃紺の節の中に置いた白いカードの中では、文字色を濃紺の節の既定(白)に戻させない */
.ns-weblp--navy .ns-weblp__pillar .ns-weblp__h3 { color: var(--ink); }
.ns-weblp--navy .ns-weblp__lead { color: #c2cad6; }
.ns-weblp--navy .ns-weblp__cap { color: #97a3b4; }
.ns-weblp__inline { color: var(--out); font-weight: 700; border-bottom: 1px solid rgba(192, 57, 43, .4); }
.ns-weblp__inline:hover { border-bottom-color: var(--out); }

.ns-weblp__box { margin-top: clamp(28px, 3vw, 40px); background: var(--white); border: 1px solid var(--cream-line); border-radius: 20px; padding: clamp(22px, 2.6vw, 36px); }
.ns-weblp__box > p { margin-top: 12px; color: var(--ink2); }
.ns-weblp__box--dark { background: var(--navy2); border-color: var(--navy-line); }
.ns-weblp__box--dark > p { color: #c2cad6; }

.ns-weblp__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.ns-weblp__tag--in { background: var(--in-soft); color: var(--in); }
.ns-weblp__tag--out { background: var(--out-soft); color: var(--out); }

/* ボタン */
html:has(#ns-websvc-form) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(#ns-websvc-form) { scroll-behavior: auto; } }
.ns-weblp__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 40px; border-radius: 999px; background: var(--out); color: #fff; font-size: var(--fs-body); font-weight: 700; letter-spacing: .05em; line-height: 1.4; text-align: center; box-shadow: 0 14px 28px -16px rgba(192, 57, 43, .85); transition: background .2s, transform .2s; }
.ns-weblp__btn:hover { background: #d24a3d; color: #fff; transform: translateY(-2px); }
.ns-weblp__btn--mid { margin-top: 26px; }
.ns-weblp__btn--sm { min-height: 50px; padding: 0 30px; }

/* ---------- ファーストビュー ---------- */
.ns-weblp__hero { background: radial-gradient(120% 120% at 12% 0%, #232932 0%, #15181f 55%, #0e1116 100%); color: #eef0f3; }
.ns-weblp__hero > .ns-weblp__in:first-child { padding-top: clamp(40px, 5vw, 72px); }
.ns-weblp__hero > .ns-weblp__in:last-child { padding-bottom: clamp(40px, 5vw, 64px); }
.ns-weblp__herogrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.ns-weblp__herotext { container-type: inline-size; }
.ns-weblp__hkick { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .14em; color: #f0a9a4; }
/* 2行目「Webサイトの中身で決まる。」が列に収まる大きさまで詰める(収まらない狭い端末では <wbr> の位置で3行に割れる。
   keep-all で語の途中では折れないようにしてある・C-135) */
.ns-weblp__h1 { margin-top: 14px; font-size: min(clamp(30px, 4.1vw, 50px), max(30px, 100cqi / 14.2)); line-height: 1.35; font-weight: 700; letter-spacing: .03em; color: #fff; word-break: keep-all; }
.ns-weblp__h1 .hl { color: var(--out-hi); white-space: nowrap; }
.ns-weblp__hsub { margin-top: 20px; max-width: 34em; font-size: var(--fs-body); line-height: 1.9; color: #c9ced6; }
.ns-weblp__hcta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.ns-weblp__hlink { color: #f3c2bd; font-size: var(--fs-body); font-weight: 700; border-bottom: 1px solid rgba(243, 194, 189, .5); padding-bottom: 2px; }
.ns-weblp__hlink:hover { color: #fff; border-bottom-color: #fff; }
.ns-weblp__heroimg { border-radius: 20px; overflow: hidden; background: #f4f2f0; box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .75); }
.ns-weblp__heroimg img { width: 100%; aspect-ratio: 4 / 3; }
.ns-weblp__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4vw, 52px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .13); }
.ns-weblp__stat { min-width: 0; container-type: inline-size; }
.ns-weblp__stat .lab { display: block; font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; color: #aab1bc; word-break: keep-all; }
/* 実績の数字は小見出しの大きさで足りる(計算ツールが無いので大きな数字の段は作らない・C-138)。
   列が狭いときは列幅に合わせて縮め、途中で折り返さない */
.ns-weblp__stat .val { display: block; margin-top: 6px; font-size: min(calc(var(--fs-h3) * 1.35), 17cqi); font-weight: 700; line-height: 1.3; color: var(--out-hi); white-space: nowrap; }
.ns-weblp__stat .note { display: block; margin-top: 6px; font-size: var(--fs-sm); line-height: 1.6; color: #8e96a2; word-break: keep-all; }
.ns-weblp__hmeta { font-size: var(--fs-sm); line-height: 1.7; color: #a3aab5; }
.ns-weblp__stats + .ns-weblp__hmeta { margin-top: 28px; }
.ns-weblp__hmeta + .ns-weblp__hmeta { margin-top: 4px; }
.ns-weblp__hmeta b { margin-right: 14px; font-weight: 700; color: #e1e5ea; }

/* ---------- 図解A: Webサイトが決める2つの数字 ---------- */
.ns-weblp__two { margin-top: clamp(26px, 3vw, 36px); padding: clamp(20px, 2.6vw, 34px); background: var(--white); border: 1px solid var(--cream-line); border-radius: 20px; }
.ns-weblp__twohead { display: flex; justify-content: space-between; gap: 12px; }
.ns-weblp__diag { display: grid; grid-template-columns: minmax(0, .95fr) 62px minmax(0, 1.45fr) 58px minmax(0, .85fr); align-items: center; margin-top: 18px; }
.ns-weblp__srcs { display: grid; gap: 7px; }
.ns-weblp__srcs span { padding: 8px 10px; border-radius: 999px; background: var(--in-soft); border: 1px solid var(--in-line); font-size: var(--fs-sm); font-weight: 700; line-height: 1.4; color: var(--in); text-align: center; }
.ns-weblp__join { height: 200px; }
.ns-weblp__join svg { width: 100%; height: 100%; }
.ns-weblp__site { padding: clamp(16px, 1.8vw, 22px); background: var(--gray); border: 2px solid var(--ink); border-radius: 16px; text-align: center; }
.ns-weblp__site .sh { display: block; font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; color: var(--ink); }
.ns-weblp__site .parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.ns-weblp__site .parts span { padding: 8px 6px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; font-size: var(--fs-sm); font-weight: 700; line-height: 1.4; color: var(--ink2); }
.ns-weblp__site .sn { display: block; margin-top: 12px; font-size: var(--fs-sm); line-height: 1.6; color: var(--mut); }
.ns-weblp__outarrow { height: 40px; }
.ns-weblp__outarrow svg { width: 100%; height: 100%; }
.ns-weblp__goal { padding: clamp(14px, 1.6vw, 20px) 10px; background: var(--out-soft); border: 1px solid var(--out-line); border-radius: 14px; text-align: center; }
.ns-weblp__goal .gh { display: block; font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; color: var(--out); }
.ns-weblp__goal .gs { display: block; margin-top: 5px; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink2); }

.ns-weblp__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 20px); margin-top: 20px; }
.ns-weblp__pl { padding: 14px 18px; border-radius: 12px; font-size: var(--fs-body); font-weight: 700; line-height: 1.7; word-break: keep-all; }
.ns-weblp__pl--in { background: var(--in-soft); color: var(--in); }
.ns-weblp__pl--out { background: var(--out-soft); color: var(--out); }

/* ---------- 業種ごとに違う(読み手が自分の業種で読めるようにする節・2026-09-20 嶋崎さん指示) ----------
   カードは幅が可変なので、折り返しは <wbr> と text-wrap: pretty に任せる(keep-all は使わない・LP構築時のポイント §8) */
.ns-weblp__inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 20px); margin-top: 32px; }
.ns-weblp__ind { display: flex; flex-direction: column; container-type: inline-size; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2.1vw, 26px); }
.ns-weblp__indtag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; letter-spacing: .04em; }
/* お客様の言葉は語の途中で折らない。折ってよい位置は本文の <wbr> だけにし(word-break: keep-all)、
   区切りの最長は12字にそろえてある。カードが細くなったときは 8.4cqi で文字を詰めてはみ出しを防ぐ(LP構築時のポイント §8) */
.ns-weblp__indvoice { margin-top: 14px; font-size: min(var(--fs-h3), 8.4cqi); line-height: 1.6; font-weight: 700; color: var(--out); word-break: keep-all; }
.ns-weblp__indfix { margin-top: 10px; font-size: var(--fs-body); line-height: 1.8; color: var(--ink2); }
/* 結果の行はカードの下端にそろえる(margin-top: auto)。上の境界線はカード内の意味的な区切り */
.ns-weblp__indres { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.75; color: var(--mut); }
.ns-weblp__indres b { margin-right: 8px; padding: 1px 7px; border-radius: 4px; background: var(--out-soft); color: var(--out); font-weight: 700; white-space: nowrap; }
.ns-weblp__indbox { margin-top: clamp(20px, 2.4vw, 30px); }
.ns-weblp__indbox .ns-weblp__btn { margin-top: 20px; }

/* ---------- 10項目チェック(02 で唯一の対話型の部品・C-138) ---------- */
.ns-weblp__check { margin-top: clamp(26px, 3vw, 36px); padding: clamp(20px, 2.6vw, 34px); background: var(--cream); border: 1px solid var(--cream-line); border-radius: 20px; scroll-margin-top: 72px; }
.ns-weblp__ckcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.ns-weblp__ckh { font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--mut); }
.ns-weblp .ns-weblp__cklist { display: grid; gap: 8px; margin-top: 10px; }
.ns-weblp__cklist label { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 11px; align-items: start; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.ns-weblp__cklist label:hover { border-color: var(--out-line); }
.ns-weblp__cklist input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* チェックの枠(文字ではなく枠線で描く) */
.ns-weblp__cklist .b { position: relative; width: 22px; height: 22px; margin-top: .18em; border: 2px solid #c3c9d2; border-radius: 6px; background: var(--white); transition: background .2s, border-color .2s; }
.ns-weblp__cklist .b::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(.4); opacity: 0; transition: opacity .18s, transform .18s; }
.ns-weblp__cklist .t { font-size: var(--fs-body); line-height: 1.7; color: var(--ink2); text-wrap: pretty; }
.ns-weblp__cklist input:checked ~ .b { background: var(--out); border-color: var(--out); }
.ns-weblp__cklist input:checked ~ .b::after { opacity: 1; transform: rotate(45deg) scale(1); }
.ns-weblp__cklist input:checked ~ .t { color: var(--ink); }
.ns-weblp__cklist input:focus-visible ~ .b { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ns-weblp__cklist .b, .ns-weblp__cklist .b::after { transition: none; } }
.ns-weblp__ckres { margin-top: clamp(18px, 2vw, 24px); padding: clamp(18px, 2vw, 24px); background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.ns-weblp__ckres .ckcount { font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--mut); }
.ns-weblp__ckres .ckcount b { font-size: var(--fs-h3); font-weight: 700; color: var(--out); font-variant-numeric: tabular-nums; }
.ns-weblp__ckres .ckmsg { margin-top: 8px; font-size: var(--fs-body); line-height: 1.85; color: var(--ink2); }
.ns-weblp__ckres .ns-weblp__btn { margin-top: 18px; }

/* ---------- 2本柱(流入=青 / 中身=赤) ---------- */
.ns-weblp__pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 32px; }
.ns-weblp__pillar { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ns-weblp__pillar > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #ebe8e5; }
.ns-weblp__pillar .body { padding: clamp(20px, 2.2vw, 30px); }
.ns-weblp__pillar .ns-weblp__h3 { margin-top: 12px; }
.ns-weblp__checks { display: grid; gap: 8px; margin-top: 14px; }
.ns-weblp__checks li { position: relative; padding-left: 28px; font-size: var(--fs-body); line-height: 1.7; color: var(--ink2); }
/* チェックの印(文字ではなく枠線で描く) */
.ns-weblp__checks li::before { content: ""; position: absolute; left: 4px; top: .42em; width: 7px; height: 12px; border: solid var(--out); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ns-weblp__pillar--in .ns-weblp__checks li::before { border-color: var(--in); }

/* 図解C: 分断(制作・保守・サーバー・SEOが別々のとき / ノーサイドのとき) */
.ns-weblp__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 22px); margin-top: 22px; }
.ns-weblp__spc { padding: clamp(18px, 2vw, 26px); background: var(--navy); border: 1px solid var(--navy-line); border-radius: 14px; }
.ns-weblp__spc h4 { font-size: var(--fs-body); font-weight: 700; line-height: 1.6; color: #fff; }
.ns-weblp__spc > p { margin-top: 12px; font-size: var(--fs-sm); line-height: 1.8; color: #b7c0cd; }
.ns-weblp__spc--ns { background: var(--white); border-color: var(--white); }
.ns-weblp__spc--ns h4 { color: var(--ink); }
.ns-weblp__spc--ns > p { color: var(--ink2); }
.ns-weblp__grid4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
/* 別々の会社=破線の枠を並べて、間に隙間があることを見せる(C-118 の破線の色と太さ) */
.ns-weblp__spc > .ns-weblp__grid4 .ns-weblp__bx { border: 2px dashed var(--dash); background: transparent; color: #e6ebf2; }
.ns-weblp__bx { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; word-break: keep-all; padding: 12px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; color: var(--ink); text-align: center; }
.ns-weblp__bx .sub { font-size: var(--fs-sm); font-weight: 400; line-height: 1.4; color: #97a3b4; }
/* ノーサイド=1つの実線の枠が4つを覆う */
.ns-weblp__one { margin-top: 14px; padding: 13px; border: 2px solid var(--out); border-radius: 13px; background: var(--out-soft); }
.ns-weblp__own { display: block; font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; color: var(--out); text-align: center; }
.ns-weblp__grid4--in { margin-top: 10px; }
.ns-weblp__spc--ns .ns-weblp__bx .sub { color: var(--mut); }

/* ---------- 図解D: 下がる線と上がる線 + 3手順 ---------- */
.ns-weblp__cycle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; margin-top: clamp(24px, 3vw, 36px); padding: clamp(20px, 2.6vw, 36px); background: var(--gray); border: 1px solid var(--line); border-radius: 20px; }
.ns-weblp__lines { padding: clamp(14px, 1.6vw, 20px); background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.ns-weblp__lines svg { width: 100%; height: auto; aspect-ratio: 520 / 240; }
.ns-weblp__lkeys { display: grid; gap: 6px; margin-top: 10px; }
.ns-weblp__lkeys .k { position: relative; padding-left: 28px; font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; }
.ns-weblp__lkeys .k::before { content: ""; position: absolute; left: 0; top: .62em; width: 18px; height: 3px; border-radius: 2px; }
.ns-weblp__lkeys .k--up { color: var(--out); }
.ns-weblp__lkeys .k--up::before { background: var(--out); }
.ns-weblp__lkeys .k--down { color: var(--mut); }
.ns-weblp__lkeys .k--down::before { background: var(--dash); }
.ns-weblp__steps3 { margin-top: 14px; }
.ns-weblp__steps3 li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.ns-weblp__steps3 li:first-child { border-top: 0; padding-top: 4px; }
.ns-weblp__steps3 .n { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--out); color: #fff; font-size: var(--fs-body); font-weight: 700; line-height: 1; }
.ns-weblp__steps3 b { font-size: var(--fs-body); font-weight: 700; line-height: 1.6; color: var(--ink); word-break: keep-all; }
.ns-weblp__steps3 .t { font-size: var(--fs-body); line-height: 1.75; color: var(--ink2); text-wrap: pretty; }
.ns-weblp__cycleimg { width: 100%; max-width: 380px; margin-top: 20px; aspect-ratio: 4 / 3; border-radius: 14px; background: #e8e4e1; }

/* ---------- 任せられること(3列) ---------- */
.ns-weblp__menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 22px); margin-top: 32px; }
.ns-weblp__mcol { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.ns-weblp__mcol--out { border-color: var(--out-line); }
.ns-weblp__mcol--in { border-color: var(--in-line); }
.ns-weblp__mhead { padding: 15px clamp(18px, 2vw, 24px); font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; background: var(--gray); color: var(--ink); }
.ns-weblp__mcol--out .ns-weblp__mhead { background: var(--out-soft); color: var(--out); }
.ns-weblp__mcol--in .ns-weblp__mhead { background: var(--in-soft); color: var(--in); }
/* テーマの reset.css の ul[class]{padding:0} より強くするため .ns-weblp を前に付ける(C-130) */
.ns-weblp .ns-weblp__mlist { padding: 4px clamp(18px, 2vw, 24px) 10px; }
.ns-weblp__mlist li { padding: 15px 0; border-top: 1px solid var(--line); }
.ns-weblp__mlist li:first-child { border-top: 0; }
.ns-weblp__mlist b { display: block; font-size: var(--fs-body); font-weight: 700; line-height: 1.6; color: var(--ink); word-break: keep-all; }
.ns-weblp__mlist .sub { display: block; font-size: var(--fs-sm); line-height: 1.6; color: var(--mut); text-wrap: pretty; }
.ns-weblp__mlist p { margin-top: 6px; font-size: var(--fs-body); line-height: 1.8; color: var(--ink2); text-wrap: pretty; }

/* ---------- 事例(PCは3列・SPは横スライド・C-138) ---------- */
.ns-weblp__caserow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin-top: 32px; }
.ns-weblp__cl { display: block; overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: transform .3s cubic-bezier(.16, .7, .3, 1), box-shadow .3s; }
.ns-weblp__cl:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -32px rgba(21, 24, 31, .45); }
.ns-weblp__thumb { width: 100%; aspect-ratio: 768 / 429; object-fit: cover; background: #e9ebef; border-bottom: 1px solid var(--line); }
.ns-weblp__cl .cb { display: block; padding: clamp(18px, 1.9vw, 24px); container-type: inline-size; }
.ns-weblp__cl .t { display: block; font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; color: var(--out); }
.ns-weblp__cl .h { display: block; margin-top: 8px; font-size: min(var(--fs-h3), 8.6cqi); font-weight: 700; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.ns-weblp__cl .d { display: block; margin-top: 8px; font-size: var(--fs-body); line-height: 1.75; color: var(--ink2); }
.ns-weblp__cl .go { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--out); }
.ns-weblp__cl .go svg { width: 15px; height: 15px; transition: transform .3s ease; }
.ns-weblp__cl:hover .go svg { transform: translateX(4px); }
.ns-weblp__dots { display: none; }
.ns-weblp__after { margin-top: 24px; font-size: var(--fs-body); color: var(--ink2); }

/* ---------- ご依頼の流れ・お願いすること ---------- */
.ns-weblp__flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); margin-top: 32px; }
.ns-weblp__flow li { padding: clamp(18px, 1.8vw, 24px); background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
/* 手順の番号は見出しと同じ行に置く(大きな「01」を見出しの上に積む形は使わない・C-131) */
.ns-weblp__flow li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-content: start; }
.ns-weblp__flow .n { display: flex; align-items: center; justify-content: center; align-self: start; width: 26px; height: 26px; margin-top: calc((var(--fs-h3) * 1.55 - 26px) / 2); border-radius: 50%; background: var(--ink); color: #fff; font-size: var(--fs-sm); font-weight: 700; line-height: 1; }
.ns-weblp__flow .ns-weblp__h3 { text-wrap: pretty; }
.ns-weblp__flow p { grid-column: 1 / -1; margin-top: 8px; font-size: var(--fs-body); line-height: 1.75; color: var(--ink2); }
.ns-weblp__ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(20px, 2.4vw, 28px); }
.ns-weblp__askbox { padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.ns-weblp__askbox--note { background: var(--in-soft); border-color: var(--in-line); }
.ns-weblp__askbox > p { margin-top: 10px; font-size: var(--fs-body); line-height: 1.8; color: var(--ink2); }
.ns-weblp .ns-weblp__bullets { margin-top: 12px; }
.ns-weblp__bullets li { position: relative; padding: 5px 0 5px 18px; font-size: var(--fs-body); line-height: 1.7; color: var(--ink2); word-break: keep-all; }
.ns-weblp__bullets li::before { content: ""; position: absolute; left: 2px; top: 1em; width: 6px; height: 6px; border-radius: 50%; background: var(--out); }

/* ---------- 無料診断と費用の目安 ---------- */
.ns-weblp__consult { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ns-weblp__consulttext { container-type: inline-size; }
.ns-weblp__consulttext .ns-weblp__h2--fit { --h2max: 12; }
.ns-weblp__consultimg { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #ebe7e4; }
.ns-weblp__consult .ns-weblp__steps3 { margin-top: 18px; }
.ns-weblp__price { margin-top: clamp(18px, 2vw, 24px); padding: clamp(18px, 2vw, 24px); background: var(--cream); border: 1px solid var(--cream-line); border-radius: 14px; }
.ns-weblp__price > p { margin-top: 8px; font-size: var(--fs-body); line-height: 1.85; color: var(--ink2); }
.ns-weblp__consult .ns-weblp__lead { margin-top: 16px; }

/* ---------- 実務記事(LPから記事へ出るのはここだけ・C-138) ---------- */
.ns-weblp__blogcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: 24px; }
.ns-weblp__blogh { font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--mut); }
.ns-weblp__blogs { display: flex; flex-direction: column; margin-top: 8px; }
.ns-weblp__bl { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-body); font-weight: 700; line-height: 1.6; color: var(--ink); text-wrap: pretty; transition: color .2s; }
.ns-weblp__bl:hover { color: var(--out); }
.ns-weblp__bl svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--out); }

/* ---------- よくある質問(開閉) ---------- */
.ns-weblp__faq { margin-top: 28px; border-top: 1px solid var(--cream-line); }
.ns-weblp__qa { border-bottom: 1px solid var(--cream-line); }
.ns-weblp__qa summary { position: relative; display: block; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; }
.ns-weblp__qa summary::-webkit-details-marker { display: none; }
.ns-weblp__qa summary h3 { display: flex; gap: 12px; align-items: baseline; font-size: var(--fs-body); font-weight: 700; line-height: 1.6; color: var(--ink); }
.ns-weblp__qa .q { flex: 0 0 auto; color: var(--out); }
/* 開閉の印(文字ではなく2本の線で描く) */
.ns-weblp__qa summary::before,
.ns-weblp__qa summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--out); transition: transform .25s; }
.ns-weblp__qa summary::after { transform: rotate(90deg); }
.ns-weblp__qa[open] summary::after { transform: rotate(0deg); }
.ns-weblp__qa summary:hover h3 { color: var(--out); }
.ns-weblp__qa > p { padding: 0 44px 22px 30px; font-size: var(--fs-body); line-height: 1.85; color: var(--ink2); }

/* ---------- 末尾のフォーム(C-126: id="ns-websvc-form" と data-ns-inline-form は変えない) ---------- */
.ns-weblp__formsec { background: radial-gradient(120% 150% at 50% 0%, #23272f 0%, #15181f 56%, #0b0d11 100%); color: #fff; scroll-margin-top: 56px; }
.ns-weblp__formgrid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.ns-weblp__formside { position: sticky; top: 104px; container-type: inline-size; }
.ns-weblp__formside .ns-weblp__h2--fit { --h2max: 14; }
.ns-weblp__formsec .ns-weblp__h2 { color: #fff; }
.ns-weblp__formsec .ns-weblp__lead { color: rgba(255, 255, 255, .88); }
.ns-weblp__formpts { margin-top: 26px; }
.ns-weblp__formpts li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: var(--fs-sm); line-height: 1.8; color: #c6cad2; }
.ns-weblp__formpts li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.ns-weblp__formpts b { display: block; margin-bottom: 2px; font-size: var(--fs-body); font-weight: 700; color: #fff; }
.ns-weblp__formnote { margin-top: 18px; font-size: var(--fs-sm); line-height: 1.8; color: rgba(255, 255, 255, .72); }
.ns-weblp__formcard { overflow: hidden; background: var(--white); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); color: var(--ink); line-height: 1.6; letter-spacing: normal; }
.ns-weblp__formcard .ns-form-header { display: none; }
/* 送信ボタンだけLPの赤にそろえる(入力欄のフォーカス色は共通の青のまま) */
.ns-weblp .ns-weblp__formcard .ns-submit-btn { background: linear-gradient(180deg, #d24a3d 0%, var(--out) 100%) !important; box-shadow: 0 4px 6px -1px rgba(192, 57, 43, .3), 0 2px 4px -1px rgba(192, 57, 43, .15) !important; }
.ns-weblp .ns-weblp__formcard .ns-submit-btn:hover { box-shadow: 0 10px 15px -3px rgba(192, 57, 43, .4) !important; }

/* ---------- 画面幅ごとの切り替え ---------- */
@media (max-width: 1000px) {
	.ns-weblp__menu { grid-template-columns: minmax(0, 1fr); }
	.ns-weblp__inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ns-weblp__diag { grid-template-columns: minmax(0, .95fr) 46px minmax(0, 1.5fr) 44px minmax(0, .9fr); }
}
@media (max-width: 900px) {
	.ns-weblp__herogrid { grid-template-columns: minmax(0, 1fr); }
	.ns-weblp__heroimg { max-width: 560px; }
	.ns-weblp__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
	.ns-weblp__ckcols,
	.ns-weblp__pillars,
	.ns-weblp__split,
	.ns-weblp__cycle,
	.ns-weblp__ask,
	.ns-weblp__consult,
	.ns-weblp__blogcols,
	.ns-weblp__formgrid { grid-template-columns: minmax(0, 1fr); }
	.ns-weblp__consultimg { max-width: 560px; }
	.ns-weblp__cycleimg { max-width: 330px; }
	.ns-weblp__formside { position: static; }
	/* 図解Aは縦に積む(上から流入→サイト→成約) */
	.ns-weblp__diag { grid-template-columns: minmax(0, 1fr); }
	.ns-weblp__srcs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ns-weblp__join { height: 34px; display: flex; align-items: center; justify-content: center; }
	.ns-weblp__join svg { display: none; }
	.ns-weblp__join::before { content: ""; width: 2px; height: 100%; background: var(--in); }
	.ns-weblp__site { margin-top: 0; }
	.ns-weblp__outarrow { height: 34px; display: flex; align-items: center; justify-content: center; }
	.ns-weblp__outarrow svg { display: none; }
	.ns-weblp__outarrow::before { content: ""; width: 3px; height: 100%; background: var(--out); }
	.ns-weblp__goal { margin-top: 0; }
}
@media (max-width: 767px) {
	/* 事例はSPで横スライドにする(縦に3枚並ぶと冗長・C-138)。
	   画面端まで広げるので、親を overflow-x: clip にして document の横スクロールを増やさない */
	.ns-weblp__caseswrap { overflow-x: clip; }
	.ns-weblp__caserow { display: flex; grid-template-columns: none; gap: 12px; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
	.ns-weblp__caserow::-webkit-scrollbar { display: none; }
	.ns-weblp__caserow:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
	.ns-weblp__cl { flex: 0 0 min(82vw, 320px); scroll-snap-align: start; }
	/* 横スライドのカードは幅が決まっているので、見出しは本文の <wbr> の位置だけで折る(語の途中で折れるのを防ぐ) */
	.ns-weblp__cl .h { word-break: keep-all; }
	.ns-weblp__cl:hover { transform: none; box-shadow: none; }
	/* 位置のドット(JSが連動させる。自動送りはしない) */
	.ns-weblp__dots { display: flex; justify-content: center; gap: 9px; margin-top: 14px; }
	.ns-weblp__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #c8ced7; cursor: pointer; transition: background .2s, transform .2s; }
	.ns-weblp__dots button[aria-current="true"] { background: var(--out); transform: scale(1.25); }
}
@media (max-width: 640px) {
	.ns-weblp__brsp { display: inline; }
	.ns-weblp__inds { grid-template-columns: minmax(0, 1fr); }
	.ns-weblp__srcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ns-weblp__pair { grid-template-columns: minmax(0, 1fr); }
	.ns-weblp__grid4 { grid-template-columns: minmax(0, 1fr); }
	.ns-weblp__flow { grid-template-columns: minmax(0, 1fr); }
	.ns-weblp__btn { width: 100%; padding: 0 20px; }
	.ns-weblp__qa > p { padding: 0 8px 20px 30px; }
}
