/* Layout concept: 帳票（伝票・台帳）の罫線をモチーフに、白い紙面と藍のインク、朱の印を一点だけ使う */
:root {
  --paper: #ffffff;
  --paper-2: #f4f6f9;
  --ink: #18212f;
  --ink-2: #4a5568;
  --rule: #dfe4ec;
  --ai: #24409a;      /* 藍：主アクセント */
  --ai-soft: #e8edf9;
  --shu: #c8432b;     /* 朱：印。使うのは一点だけ */
  --ok: #1f7a4d;
  --font-display: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;
  --font-body: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1080px;
  --radius: 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; }
a { color: var(--ai); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ai); outline-offset: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.4; text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
h1 { font-size: clamp(30px, 5.2vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 40em; }
.eyebrow { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--ai); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.logo { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }
.logo small { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.08em; margin-top: -4px; }
.nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.nav a:hover { color: var(--ai); }
.nav a[aria-current="page"] { color: var(--ai); font-weight: 700; }
.nav .btn { padding: 8px 16px; font-size: 14px; }
@media (max-width: 760px) {
  .nav { gap: 6px 14px; margin-left: 0; width: 100%; padding-bottom: 10px; }
  .nav a { font-size: 13.5px; }
  .nav .btn { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid var(--ai); cursor: pointer;
  background: var(--ai); color: #fff; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); background: #1c3381; }
.btn.ghost { background: transparent; color: var(--ai); }
.btn.ghost:hover { background: var(--ai-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding-block: 72px; }
section.tint { background: var(--paper-2); }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 760px; }

/* Hero */
.hero { padding-block: 64px 72px; border-bottom: 1px solid var(--rule); background:
  repeating-linear-gradient(0deg, transparent 0 31px, var(--rule) 31px 32px); background-color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--ai); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.hero-points li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* 帳票ビジュアル：紙の発注書 → 自動で台帳に */
.slip-demo { display: grid; gap: 14px; min-width: 0; }
.slip {
  position: relative; background: #fffdf6; border: 1px solid #e4dcc4; border-radius: 3px;
  padding: 16px 18px; box-shadow: 0 1px 0 #e4dcc4, 4px 6px 0 -2px #efe8d4; transform: rotate(-1.2deg);
  font-size: 13.5px;
}
.slip h4 { margin: 0 0 8px; font-family: var(--font-display); font-size: 15px; letter-spacing: 0.3em; }
.slip dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; }
.slip dt { color: #7a6f55; }
.slip dd { margin: 0; font-family: var(--font-num); }
.stamp {
  position: absolute; right: 16px; top: 12px; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--shu); color: var(--shu); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 13px; line-height: 1.1; text-align: center; transform: rotate(12deg); opacity: .9;
}
.arrow-row { display: flex; align-items: center; gap: 10px; color: var(--ai); font-family: var(--font-display); font-weight: 700; font-size: 14px; padding-left: 8px; }
.arrow-row::before { content: ""; width: 2px; height: 26px; background: var(--ai); }
.ledger { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow-x: auto; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 340px; }
.ledger th, .ledger td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
.ledger th { background: var(--paper-2); font-weight: 700; color: var(--ink-2); font-size: 12px; }
.ledger tr.new td { background: var(--ai-soft); }
.ledger .tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 99px; background: var(--ai); color: #fff; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 880px) { .grid.c3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card .label { font-size: 12.5px; color: var(--ai); font-weight: 700; letter-spacing: .08em; }
.card a.more { font-weight: 700; text-decoration: none; }
.card a.more::after { content: " →"; }

/* 悩みリスト */
.pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.pain-list li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.pain-list b { font-family: var(--font-display); color: var(--ai); }
@media (max-width: 600px) { .pain-list li { grid-template-columns: 1fr; gap: 2px; } }

/* 料金表 */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 18px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.price-table thead th { font-size: 13px; color: var(--ink-2); font-weight: 700; border-bottom: 2px solid var(--ink); }
.price-table td.price { font-family: var(--font-num); font-weight: 600; font-size: 18px; white-space: nowrap; color: var(--ink); }
.price-table td .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; display: block; }
.table-scroll { overflow-x: auto; }
.table-scroll .price-table { min-width: 640px; }

/* 進め方 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 20px 16px 20px 0; border-top: 2px solid var(--ink); display: grid; gap: 6px; align-content: start; }
.steps li::before { content: "STEP " counter(step); font-family: var(--font-num); font-size: 12px; color: var(--ai); font-weight: 600; }
.steps b { font-family: var(--font-display); font-size: 16px; }
.steps span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } .steps li { padding-right: 0; } }

/* 事例 */
.case { border-top: 2px solid var(--ink); padding-block: 28px; display: grid; grid-template-columns: 14em 1fr; gap: 28px; }
.case:last-child { border-bottom: 1px solid var(--rule); }
.case-meta { display: grid; gap: 6px; align-content: start; font-size: 14px; color: var(--ink-2); }
.case-meta .industry { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.case-body { display: grid; gap: 12px; min-width: 0; }
.case-body dl { display: grid; grid-template-columns: 6em 1fr; gap: 8px 16px; margin: 0; }
.case-body dt { font-weight: 700; color: var(--ai); font-size: 14px; }
.case-body dd { margin: 0; }
.case .fig { font-family: var(--font-num); font-weight: 600; }
@media (max-width: 700px) { .case { grid-template-columns: 1fr; gap: 12px; } .case-body dl { grid-template-columns: 1fr; gap: 2px; } .case-body dd { margin-bottom: 8px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding-block: 4px; }
.faq summary { cursor: pointer; padding: 16px 0; font-family: var(--font-display); font-weight: 700; list-style: none; display: flex; gap: 12px; }
.faq summary::before { content: "Q"; color: var(--ai); font-family: var(--font-num); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 18px 26px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { display: grid; gap: 20px; justify-items: start; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d1de; max-width: 40em; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn.ghost { background: transparent; color: #fff; }
.cta-band .btn:hover { background: #e8edf9; }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.08); }

/* Page head (下層) */
.page-head { padding-block: 56px 40px; border-bottom: 1px solid var(--rule); background:
  repeating-linear-gradient(0deg, transparent 0 31px, var(--rule) 31px 32px); }
.page-head .wrap { display: grid; gap: 14px; }
.crumbs { font-size: 13px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }

/* Simulator */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; background: var(--paper); }
@media (max-width: 760px) { .sim { grid-template-columns: 1fr; padding: 20px; } }
.sim fieldset { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.sim legend { font-family: var(--font-display); font-weight: 700; margin-bottom: 6px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ai); background: var(--ai-soft); }
.choice input { margin-top: 6px; accent-color: var(--ai); }
.choice small { display: block; color: var(--ink-2); font-size: 13px; }
.sim-result { background: var(--paper-2); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.sim-result .big { font-family: var(--font-num); font-size: clamp(26px, 4vw, 34px); font-weight: 600; line-height: 1.3; }
.sim-result dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
.sim-result dt { color: var(--ink-2); }
.sim-result dd { margin: 0; font-family: var(--font-num); }

/* Form */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.req { font-size: 11px; color: #fff; background: var(--shu); border-radius: 3px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c3ccd9; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--ink-2); }
.form-status { padding: 14px 16px; border-radius: var(--radius); background: var(--ai-soft); }
.form-status.ok { background: #e3f3ea; color: var(--ok); }
.form-status.err { background: #fbe9e5; color: #8a2a17; }
.contact-alt { display: grid; gap: 14px; }
.copy-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--font-num); }
.copy-line button { font: inherit; font-size: 13px; padding: 4px 10px; border: 1px solid var(--rule); background: #fff; border-radius: 4px; cursor: pointer; }

/* Prose (privacy) */
.prose { display: grid; gap: 18px; }
.prose h2 { font-size: 20px; margin-top: 12px; }
.prose ul { margin: 0; padding-left: 1.4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 40px; font-size: 14px; color: var(--ink-2); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer h3 { font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ai); }
.site-footer .copy { grid-column: 1 / -1; font-size: 12.5px; border-top: 1px solid var(--rule); padding-top: 16px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.stack { display: grid; gap: 16px; }
.note-box { border-left: 3px solid var(--ai); background: var(--ai-soft); padding: 14px 18px; font-size: 14.5px; }

/* ---------- 見積もりシミュレーター（詳細版） ---------- */
.sim2 { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .sim2 { grid-template-columns: 1fr; } }
.sim-form { display: grid; gap: 20px; min-width: 0; }
.sim-step { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); padding: 22px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.sim-step legend { font-family: var(--font-display); font-weight: 700; font-size: 18px; padding: 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sim-step legend small { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-2); }
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ai); color: #fff; font-family: var(--font-num); font-size: 13px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#sim-types.choice-grid { grid-template-columns: 1fr; }
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }
.choice b { display: block; font-weight: 700; font-size: 15px; line-height: 1.5; }
.choice .price-hint { color: var(--ai); font-family: var(--font-num); font-size: 12.5px; margin-top: 2px; }
.feat-group { display: grid; gap: 8px; }
.feat-group + .feat-group { margin-top: 10px; }
.feat-head { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .08em; border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.cond-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .cond-grid { grid-template-columns: 1fr; } }
.cond { display: grid; gap: 4px; align-content: start; min-width: 0; }
.cond-label { font-weight: 700; font-size: 14.5px; }
.cond select { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #c3ccd9; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }

.sim-result2 { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; min-width: 0; }
@media (max-width: 900px) { .sim-result2 { position: static; } }
.sim-result2 .big { font-family: var(--font-num); font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; line-height: 1.25; }
.res-block { display: grid; gap: 6px; border-top: 1px solid var(--rule); padding-top: 12px; }
.res-block h3 { font-size: 14px; color: var(--ink-2); }
.breakdown { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.breakdown th, .breakdown td { padding: 6px 0; border-bottom: 1px dashed var(--rule); text-align: left; vertical-align: top; font-weight: 400; }
.breakdown td { text-align: right; white-space: nowrap; padding-left: 12px; }
.breakdown tr.total th, .breakdown tr.total td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--ink); padding-top: 8px; }
.budget-chip { font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: var(--radius); }
.budget-chip.ok { background: #e3f3ea; color: var(--ok); }
.budget-chip.mid { background: #fff4dc; color: #7a5200; }
.budget-chip.over { background: #fbe9e5; color: #8a2a17; }
.cut-list { margin: 0; padding-left: 1.2em; font-size: 13.5px; display: grid; gap: 4px; }
.sim-result2 .btn { width: 100%; }

.sim-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: #fff;
  padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sim-bar div { display: grid; line-height: 1.3; }
.sim-bar b { font-size: 18px; }
.sim-bar .btn { background: #fff; color: var(--ink); border-color: #fff; padding: 10px 16px; font-size: 14px; }

[hidden] { display: none !important; }
.ledger.menu table{min-width:0;font-size:13.5px;}
.ledger.menu th,.ledger.menu td{white-space:normal;vertical-align:top;padding:12px;}
.ledger.menu td:first-child{white-space:nowrap;}
.ledger.menu td.num{white-space:nowrap;text-align:right;font-weight:600;}
@media (max-width:600px){.ledger.menu td:first-child{white-space:normal;}}

/* ---------- お役立ち記事 ---------- */
.cat-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ai); background: var(--ai-soft); border-radius: 999px; padding: 2px 10px; letter-spacing: .04em; }
.article-head .cat-tag { margin: 6px 0 10px; }
.article-head h1 { font-size: clamp(24px, 4.2vw, 36px); line-height: 1.45; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--ink-2); margin: 14px 0 0; }
.article-section { padding-top: 40px; }
.article { font-size: 16.5px; line-height: 1.95; }
.article p { margin: 0 0 1.1em; }
.article-lead { font-size: 17.5px; color: var(--ink); }
.summary-box { border: 1px solid var(--rule); border-top: 3px solid var(--ai); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; background: var(--paper); }
.summary-title, .toc-title { font-weight: 700; margin: 0 0 8px !important; font-size: 15px; }
.summary-box ul { margin: 0; padding-left: 1.3em; }
.summary-box li { margin: 4px 0; }
.toc { background: var(--paper-2); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 40px; }
.toc ol { margin: 0; padding-left: 1.5em; }
.toc li { margin: 6px 0; line-height: 1.6; }
.toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.toc a:hover { color: var(--ai); border-color: var(--ai); }
.article h2 { font-size: clamp(21px, 2.8vw, 26px); margin: 56px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); scroll-margin-top: 90px; text-wrap: pretty; }
.article h3 { font-size: 18.5px; margin: 32px 0 12px; padding-left: 12px; border-left: 4px solid var(--ai); text-wrap: pretty; }
.article ul, .article ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.article li { margin: 6px 0; }
.article .table-scroll { overflow-x: auto; margin: 8px 0 24px; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.data-table th, .data-table td { border: 1px solid var(--rule); padding: 10px 12px; text-align: left; vertical-align: top; }
.data-table thead th { background: var(--ink); color: #fff; font-weight: 700; border-color: var(--ink); }
.data-table tbody tr:nth-child(even) td { background: var(--paper-2); }
.data-table td:first-child { font-weight: 700; white-space: nowrap; }
.point { border-left: 4px solid var(--ai); background: var(--ai-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 8px 0 24px; }
.point p { margin: 0 0 .4em; } .point p:last-child { margin-bottom: 0; }
.point-label { font-weight: 700; color: var(--ai); font-size: 14px; letter-spacing: .06em; }
.point.warn { border-color: var(--shu); background: #fbeeeb; }
.point.warn .point-label { color: var(--shu); }
.check-list { list-style: none; padding: 16px 18px !important; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.check-list li { position: relative; padding-left: 30px; margin: 8px 0; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 16px; height: 16px; border: 2px solid var(--ai); border-radius: 3px; }
.check-list li::after { content: ""; position: absolute; left: 7px; top: calc(.5em + 2px); width: 5px; height: 9px; border: solid var(--ai); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.step-list { list-style: none; padding: 0 !important; counter-reset: st; margin: 8px 0 24px !important; }
.step-list li { counter-increment: st; position: relative; padding: 0 0 18px 52px; margin: 0; }
.step-list li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-num); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.step-list li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--rule); }
.step-list b { display: block; font-size: 16.5px; line-height: 1.6; padding-top: 4px; }
.step-list span { display: block; color: var(--ink-2); font-size: 15px; }
.case-box { border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 20px; margin: 8px 0 24px; background: linear-gradient(var(--paper-2), var(--paper-2)) left/4px 100% no-repeat, var(--paper); }
.case-box p { margin: 0 0 .5em; } .case-box p:last-child { margin-bottom: 0; }
.case-label { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .06em; }
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; border: 1px dashed var(--ai); border-radius: var(--radius); padding: 16px 20px; margin: 40px 0 8px; }
.mid-cta p { margin: 0; font-size: 15px; }
.mid-cta .btn { white-space: nowrap; }
.article .faq { margin-bottom: 40px; }
.author-box { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 20px 0; margin: 40px 0; font-size: 15px; color: var(--ink-2); }
.author-name { font-weight: 700; color: var(--ink); margin: 0 0 6px !important; }
.author-name small { font-weight: 400; color: var(--ink-2); margin-left: 10px; font-size: 13px; }
.end-cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 26px 22px; margin: 40px 0; }
.end-cta p { color: #c9d1de; }
.end-cta-title { color: #fff !important; font-weight: 700; font-size: 19px; margin-bottom: 8px !important; }
.end-cta .btn.ghost { color: #fff; border-color: #fff; }
.rel-grid, .col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rel-card, .col-card { display: grid; gap: 8px; align-content: start; border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color .15s, transform .15s; }
.rel-card:hover, .col-card:hover { border-color: var(--ai); transform: translateY(-2px); }
.rel-card b { font-size: 15px; line-height: 1.6; }
.rel-card .cat-tag, .col-card .cat-tag { justify-self: start; }
.col-card h3 { font-size: 17px; line-height: 1.55; margin: 0; text-wrap: pretty; }
.col-card p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.75; }
.col-more { font-size: 13px; font-weight: 700; color: var(--ai); }
.col-group { margin-bottom: 56px; scroll-margin-top: 90px; }
.col-group h2 { font-size: 22px; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-chips a { font-size: 13px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--ink); }
.cat-chips a:hover { border-color: var(--ai); color: var(--ai); }
.grid .card h2 { text-wrap: pretty; }
@media (max-width: 600px) {
  .article { font-size: 16px; }
  .summary-box, .toc { padding: 16px; }
  .end-cta { padding: 22px 18px; }
  .data-table { font-size: 14px; }
}
.cat-tag { width: fit-content; justify-self: start; }
.article-head h1, .article h2, .article h3, .col-card h3, .rel-card b, .toc a { text-wrap: pretty; word-break: auto-phrase; }

/* フッター：自社運営サービス */
.site-footer .own-service { grid-column: 1 / -1; justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-2); color: var(--ink); transition: border-color .15s; }
.site-footer .own-service:hover { border-color: var(--ai); color: var(--ink); }
.own-label { font-size: 11.5px; font-weight: 700; color: var(--ai); background: var(--ai-soft); border-radius: 999px; padding: 1px 8px; }
.own-service b { font-size: 15px; }
.own-desc { font-size: 13px; color: var(--ink-2); }
.own-arrow { color: var(--ai); font-weight: 700; }

/* ---------- できること集 ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dk-section { padding-top: 32px; }
.dk-filters { background: rgba(255,255,255,.97); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px 12px; margin-bottom: 24px; box-shadow: 0 6px 18px rgba(24,33,47,.06); }
.dk-search input { width: 100%; font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-2); }
.dk-search input:focus { outline: 2px solid var(--ai); background: #fff; }
.dk-row { display: grid; grid-template-columns: 84px 1fr; gap: 6px 10px; align-items: start; margin-top: 10px; }
.dk-row-inline { grid-template-columns: 84px auto 72px 1fr; }
.dk-row-title { margin: 6px 0 0; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.dk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dk-chip { font: inherit; font-size: 13px; line-height: 1.4; padding: 5px 11px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.dk-chip small { margin-left: 5px; color: var(--ink-2); font-family: var(--font-num); font-size: 11px; }
.dk-chip:hover { border-color: var(--ai); }
.dk-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dk-chip.is-on small { color: #c9d1de; }
.dk-count { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.dk-count b { font-family: var(--font-num); font-size: 16px; color: var(--ink); }
.dk-reset { margin-left: 10px; font: inherit; font-size: 12.5px; border: 0; background: none; color: var(--ai); text-decoration: underline; cursor: pointer; }
.dk-legend { display: grid; gap: 4px; margin: 0 0 28px; font-size: 14px; }
.dk-legend p { margin: 0; }
.dk-legend .dk-size { margin-right: 8px; }
.dk-group { margin-bottom: 44px; scroll-margin-top: 260px; }
.dk-group h2 { font-size: 21px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.dk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dk-card { display: grid; grid-template-rows: auto auto auto 1fr auto auto; gap: 8px; border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; background: #fff; scroll-margin-top: 260px; }
.dk-card.is-picked { border-color: var(--ai); box-shadow: inset 0 0 0 1px var(--ai); }
.dk-card:target { border-color: var(--shu); box-shadow: inset 0 0 0 1px var(--shu); }
.dk-top { display: flex; justify-content: space-between; align-items: center; }
.dk-no { font-family: var(--font-num); font-size: 12px; color: var(--ink-2); }
.dk-size { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.dk-size.s-small { background: #e7f4ec; color: var(--ok); }
.dk-size.s-system { background: var(--ai-soft); color: var(--ai); }
.dk-card h3 { font-size: 16.5px; line-height: 1.55; margin: 0; text-wrap: pretty; word-break: auto-phrase; }
.dk-pain { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.dk-pain span { display: inline-block; font-size: 11px; font-weight: 700; color: var(--shu); border: 1px solid currentColor; border-radius: 3px; padding: 0 5px; margin-right: 6px; line-height: 1.6; vertical-align: 1px; }
.dk-how { margin: 0; font-size: 14.5px; line-height: 1.75; }
.dk-note { margin: 0; font-size: 12.5px; color: var(--ink-2); background: var(--paper-2); border-radius: 4px; padding: 6px 10px; line-height: 1.65; }
.dk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 8px; border-top: 1px dashed var(--rule); }
.dk-techs { display: flex; gap: 4px; flex-wrap: wrap; }
.dk-tech { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 3px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--rule); }
.dk-tech.t-AI { background: #fbeeeb; color: var(--shu); border-color: #f1cfc8; }
.dk-tech.t-LINE { background: #e7f4ec; color: var(--ok); border-color: #c9e6d4; }
.dk-ind { font-size: 12px; color: var(--ink-2); flex: 1; }
.dk-pick { font: inherit; font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--ai); color: var(--ai); background: #fff; border-radius: 999px; cursor: pointer; margin-left: auto; }
.dk-pick[aria-pressed="true"] { background: var(--ai); color: #fff; }
.dk-empty { padding: 24px; text-align: center; border: 1px dashed var(--rule); border-radius: var(--radius); }
.dk-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: var(--ink); color: #fff; border-radius: 10px; padding: 10px 12px 10px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); width: max-content; max-width: calc(100% - 24px); }
.dk-bar p { margin: 0; font-size: 14px; }
.dk-bar b { font-family: var(--font-num); font-size: 17px; }
.dk-bar-btns { display: flex; gap: 8px; align-items: center; }
.dk-bar-clear { font: inherit; font-size: 13px; background: none; border: 0; color: #c9d1de; text-decoration: underline; cursor: pointer; }
.dk-bar .btn { padding: 8px 16px; font-size: 14px; }
.dk-entry { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--rule); border-left: 4px solid var(--ai); border-radius: var(--radius); padding: 20px 24px; background: var(--paper-2); }
.dk-entry h3 { margin: 0 0 4px; font-size: 19px; }
.dk-entry p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 760px) {
  .dk-filters { position: static; padding: 14px; }
  .dk-row, .dk-row-inline { grid-template-columns: 1fr; gap: 4px; }
  .dk-row-title { margin: 4px 0 0; }
  .dk-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .dk-chip { white-space: nowrap; }
  .dk-grid { grid-template-columns: 1fr; }
  .dk-entry { grid-template-columns: 1fr; }
}

/* ---------- できること集：色分けと読みやすさ（v2） ---------- */
.dk-card, .dk-group, .dk-chip { --cc: var(--ink); --ct: var(--paper-2); }
.c1 { --cc: #2f5aa8; --ct: #eaf0fa; }
.c2 { --cc: #0f7c8a; --ct: #e3f3f5; }
.c3 { --cc: #6a4bb3; --ct: #f0ecfa; }
.c4 { --cc: #c2410c; --ct: #fdf0e8; }
.c5 { --cc: #b0306a; --ct: #fbebf2; }
.c6 { --cc: #a16207; --ct: #fbf3df; }
.c7 { --cc: #1f7a4d; --ct: #e7f4ec; }
.c8 { --cc: #7c5a2e; --ct: #f4eee5; }
.c9 { --cc: #4d7c0f; --ct: #eef5e1; }
.c10 { --cc: #be123c; --ct: #fcebee; }
.c11 { --cc: #334155; --ct: #edf0f4; }
.dk-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--cc); margin-right: 6px; vertical-align: 1px; flex: none; }
.dk-chip .dk-dot { width: 8px; height: 8px; margin-right: 5px; }
.dk-chip.is-on[class*=" c"] { background: var(--cc); border-color: var(--cc); }
.dk-chip.is-on .dk-dot { background: #fff; }
.dk-group h2 { display: flex; align-items: center; gap: 4px; border-bottom-color: var(--cc); }
.dk-group h2 small { margin-left: 10px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.dk-card { position: relative; grid-template-rows: auto auto auto auto auto 1fr; gap: 12px; padding: 0 18px 16px; border-top: 0; overflow: hidden; }
.dk-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--cc); }
.dk-top { margin: 0 -18px; padding: 12px 18px 8px; background: var(--ct); }
.dk-cat { font-size: 12px; font-weight: 700; color: var(--cc); letter-spacing: .03em; }
.dk-no { color: var(--cc); opacity: .8; }
.dk-card h3 { font-size: 17px; line-height: 1.6; color: var(--ink); }
.dk-label { margin: 0 0 4px !important; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; }
.dk-pain, .dk-how { margin: 0; border-radius: 6px; padding: 10px 12px; }
.dk-pain { background: #fbf7f3; border-left: 3px solid #d9b9a6; }
.dk-pain .dk-label { color: #9a5b3b; }
.dk-pain p:last-child { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink); }
.dk-how { background: var(--ct); border-left: 3px solid var(--cc); }
.dk-how .dk-label { color: var(--cc); }
.dk-how p:last-child { margin: 0; font-size: 14.5px; line-height: 1.8; }
.dk-how p:last-child span { display: block; }
.dk-how p:last-child span + span { margin-top: 4px; }
.dk-note { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; background: none; border: 1px dashed var(--rule); padding: 8px 10px; }
.dk-note b { flex: none; font-size: 11px; color: var(--shu); border: 1px solid currentColor; border-radius: 3px; padding: 0 5px; line-height: 1.6; }
.dk-foot { align-self: end; border-top: 1px solid var(--rule); padding-top: 10px; }
.dk-card.is-picked { border-color: var(--cc); box-shadow: inset 0 0 0 1px var(--cc); }
.dk-pick { border-color: var(--cc); color: var(--cc); }
.dk-pick[aria-pressed="true"] { background: var(--cc); color: #fff; }
.dk-pain span { all: unset; }

/* 日本語の改行位置：文節で折り返す（対応ブラウザのみ） */
.dk-card h3, .dk-card p, .dk-card span, .lead, .article p, .article li, .article h2, .article h3, .summary-box li, .toc a, .point p, .case-box p, .faq summary, .faq p, .col-card h3, .col-card p, .rel-card b, .card p, .card h3, .pain-list span, .steps span, .cta-band p, .page-head h1, .sec-head h2 {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
}
.article p, .article li, .dk-card p, .lead, .faq p, .summary-box li { text-wrap: pretty; }
.dk-foot { display: flex; flex-wrap: wrap; }
.dk-foot .dk-pick { order: 2; margin-left: auto; }
.dk-foot .dk-ind { order: 3; flex: 1 1 100%; font-size: 12px; }
.dk-foot .dk-ind::before { content: "向いている業種："; color: var(--ink-2); }
.dk-card p { text-wrap: wrap; }
.dk-card { display: flex; flex-direction: column; }
.dk-card > .dk-foot { margin-top: auto; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 事例・作ってきたもの ---------- */
.case h3 { font-size: 20px; line-height: 1.5; margin: 0 0 12px; word-break: auto-phrase; }

/* ===== 事例ページ v2（色分け・見やすさ） ===== */
.wk-hero { background: linear-gradient(180deg, #f1f4fb 0%, #fff 100%); }
.wk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; max-width: 820px; }
.wk-stats div { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--sc, var(--ai)); border-radius: var(--radius); padding: 12px 16px; display: grid; box-shadow: 0 1px 2px rgba(24,33,47,.04); }
.wk-stats .s1 { --sc: var(--ai); } .wk-stats .s2 { --sc: #2f5aa8; } .wk-stats .s3 { --sc: #1f7a4d; } .wk-stats .s4 { --sc: #6a4bb3; }
.wk-stats b { font-family: var(--font-num); font-size: 32px; line-height: 1.15; color: var(--sc); }
.wk-stats span { font-size: 13px; color: var(--ink-2); }
.wk-dist { margin-top: 18px; max-width: 820px; }
.wk-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; background: #fff; }
.wk-bar span { background: var(--cc); }
.wk-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 12.5px; color: var(--ink-2); }
.wk-legend span { display: inline-flex; align-items: center; } .wk-legend b { color: var(--cc); margin-left: 3px; font-family: var(--font-num); }
.wk-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.wk-jump a { font-size: 13.5px; font-weight: 700; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; text-decoration: none; }
.wk-jump a::after { content: " ↓"; color: var(--ink-2); }
.wk-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; flex: none; }

/* 受託の詳しい事例 */
:where(.wk-card, .fc-card, .sp-card) { --cc: var(--ai); --ct: var(--ai-soft); }
.fc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fc-card { background: #fff; border: 1px solid var(--rule); border-left: 5px solid var(--cc); border-radius: 8px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 2px 8px rgba(24,33,47,.05); scroll-margin-top: 90px; }
.fc-head { display: flex; align-items: center; gap: 12px; }
.fc-head > div { flex: 1; min-width: 0; }
.fc-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--ct); color: var(--cc); display: grid; place-items: center; flex: none; }
.fc-ico .wk-ico { width: 24px; height: 24px; }
.fc-ind { margin: 0; font-weight: 700; font-size: 16px; }
.fc-meta { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--ink-2); }
.fc-cat { color: var(--cc); font-weight: 700; }
.fc-card h3 { margin: 0; font-size: 19px; line-height: 1.55; word-break: auto-phrase; }
.fc-fig { margin: 0; align-self: flex-start; font-family: var(--font-num); font-weight: 700; font-size: 13.5px; color: var(--cc); background: var(--ct); padding: 4px 12px; border-radius: 999px; }
.fc-box { border-radius: 6px; padding: 10px 14px; }
.fc-box p { margin: 0; font-size: 14.5px; line-height: 1.85; word-break: auto-phrase; }
.fc-label { font-size: 12px !important; font-weight: 700; letter-spacing: .08em; margin-bottom: 2px !important; }
.fc-issue { background: #f6f7f9; } .fc-issue .fc-label { color: #8a4b3c; }
.fc-made { background: var(--ct); } .fc-made .fc-label { color: var(--cc); }
.fc-card .wk-tech { margin-top: auto; padding-top: 4px; }

/* すべての制作物 */
.wk-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.wk-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 0 18px 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(24,33,47,.05); transition: box-shadow .2s, transform .2s; }
.wk-card:hover { box-shadow: 0 6px 18px rgba(24,33,47,.10); transform: translateY(-2px); }
.wk-card::before { display: none; }
.wk-band { margin: 0 -18px; height: 96px; padding: 14px 18px; background: linear-gradient(135deg, var(--cc) 0%, color-mix(in srgb, var(--cc) 72%, #000) 100%); color: #fff; display: flex; justify-content: space-between; align-items: flex-start; position: relative; overflow: hidden; }
.wk-band-l { display: flex; align-items: center; gap: 8px; z-index: 1; }
.wk-band .wk-cat { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.wk-top { display: none; }
.wk-badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.wk-kindb { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 4px; }
.wk-kindb.k-client { background: #1e3a7b; color: #fff; }
.wk-kindb.k-own { background: #e7f4ec; color: #1f7a4d; border: 1px solid #c9e6d4; }
.wk-status { font-size: 11.5px; font-weight: 700; padding: 1px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); color: var(--ink-2); white-space: nowrap; }
.wk-status:empty { display: none; }
.wk-status.st-live { color: var(--ok); border-color: #c9e6d4; background: #e7f4ec; }
.wk-status.st-live::before { content: "● "; font-size: 9px; vertical-align: 1px; }
.wk-status.st-done { color: var(--ai); border-color: #cdd8f2; background: var(--ai-soft); }
.wk-status.st-dev { color: #a16207; border-color: #f0dfb3; background: #fbf3df; }
.wk-status.st-end { color: #64748b; background: #f1f5f9; }
.wk-kind { display: none; }
.wk-card h3 { margin: 0; font-size: 17.5px; line-height: 1.55; word-break: auto-phrase; }
.wk-sum { margin: 0; font-size: 14.5px; line-height: 1.85; color: #2b3443; word-break: auto-phrase; }
.wk-feat { margin: 0; padding: 10px 12px; background: var(--ct); border-radius: 6px; font-size: 13.5px; line-height: 1.7; list-style: none; display: grid; gap: 2px; }
.wk-feat li { padding-left: 1.3em; position: relative; word-break: auto-phrase; }
.wk-feat li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 5px; border-left: 2px solid var(--cc); border-bottom: 2px solid var(--cc); transform: rotate(-45deg); }
.wk-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--rule); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.wk-tech { display: flex; flex-wrap: wrap; gap: 4px; }
.wk-tech span { font-size: 11px; padding: 1px 7px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper-2); color: var(--ink-2); }
.wk-link { font-size: 13px; font-weight: 700; color: var(--cc); }
.wk-techs { margin-top: 32px; padding: 16px 18px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; }
.wk-techs .wk-tech span { font-size: 12.5px; padding: 3px 10px; }

/* カード上部のミニ画面（飾り） */
.wk-shot { width: 118px; height: 84px; margin: -2px -4px 0 0; background: rgba(255,255,255,.95); border-radius: 6px 6px 0 0; padding: 14px 8px 8px; position: relative; box-shadow: 0 4px 14px rgba(0,0,0,.18); transform: translateY(12px) rotate(-3deg); flex: none; }
.wk-shot::before { content: ""; position: absolute; top: 5px; left: 7px; width: 22px; height: 4px; border-radius: 2px; background: var(--ct); box-shadow: 0 0 0 0 transparent; }
.wk-shot i, .wk-shot b, .wk-shot span { display: block; }
.sh-table { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3px; align-content: start; }
.sh-table i { height: 7px; border-radius: 2px; background: var(--ct); }
.sh-table i:nth-child(-n+3) { background: var(--cc); opacity: .55; }
.sh-dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-content: start; }
.sh-dash i { height: 22px; border-radius: 3px; background: var(--ct); border-top: 3px solid var(--cc); }
.sh-dash b { grid-column: 1 / -1; height: 26px; border-radius: 3px; background: linear-gradient(to top right, var(--ct) 50%, transparent 51%), var(--paper-2); }
.sh-chat { display: grid; gap: 5px; align-content: start; }
.sh-chat i { height: 13px; border-radius: 7px; background: var(--ct); width: 70%; }
.sh-chat i:nth-child(2) { justify-self: end; background: var(--cc); opacity: .7; width: 55%; }
.sh-chat i:nth-child(3) { width: 80%; }
.sh-web { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-content: start; }
.sh-web b { grid-column: 1 / -1; height: 26px; border-radius: 3px; background: var(--cc); opacity: .6; }
.sh-web i { height: 20px; border-radius: 3px; background: var(--ct); }
.sh-learn { display: grid; gap: 7px; align-content: start; padding-top: 18px; }
.sh-learn i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--cc) var(--p, 60%), var(--ct) 0); opacity: .85; }
.sh-learn i:nth-child(1) { --p: 100%; } .sh-learn i:nth-child(2) { --p: 65%; } .sh-learn i:nth-child(3) { --p: 25%; }
.sh-phone { background: transparent; box-shadow: none; padding: 0; display: flex; justify-content: center; }
.sh-phone::before { display: none; }
.sh-phone span { width: 54px; height: 92px; border-radius: 9px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2); padding: 12px 6px; display: grid; gap: 4px; align-content: start; }
.sh-phone span i { height: 14px; border-radius: 3px; background: var(--ct); }
.sh-phone span i:first-child { background: var(--cc); opacity: .6; }

/* 作例 */
.sp-note { background: #fffbeb; border: 1px solid #f0dfb3; border-radius: 8px; padding: 12px 16px; font-size: 14px; line-height: 1.8; margin: 0 0 20px; }
.sp-note b { display: inline-block; margin-right: .8em; color: #a16207; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.sp-card { background: #fff; border: 1.5px dashed color-mix(in srgb, var(--cc) 45%, #fff); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.sp-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sp-badge { font-family: var(--font-num); font-size: 11.5px; font-weight: 700; color: #a16207; background: #fbf3df; border: 1px solid #f0dfb3; padding: 1px 8px; border-radius: 4px; }
.sp-cat { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--cc); }
.sp-cat .wk-ico { width: 16px; height: 16px; }
.sp-ind { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-2); }
.sp-card h3 { margin: 0; font-size: 17px; line-height: 1.55; word-break: auto-phrase; }
.sp-pain, .sp-made { border-radius: 6px; padding: 8px 12px; }
.sp-pain { background: #f6f7f9; } .sp-pain .fc-label { color: #8a4b3c; }
.sp-made { background: var(--ct); } .sp-made .fc-label { color: var(--cc); }
.sp-pain p, .sp-made p { margin: 0; font-size: 14px; line-height: 1.8; word-break: auto-phrase; }
.sp-card .wk-feat { background: transparent; padding: 0 2px; }
.sp-size { margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--rule); font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sp-size b { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; color: #fff; }
.sp-size.s-small b { background: #0f7c8a; } .sp-size.s-system b { background: #24409a; }
.sp-more { margin-top: 24px; font-size: 14.5px; }

@media (max-width: 860px) { .fc-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .wk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wk-grid, .sp-grid { grid-template-columns: 1fr; } .wk-stats b { font-size: 28px; } }
.wk-a { text-decoration: none; color: inherit; }
.wk-a:hover { text-decoration: none; }
.wk-ind { font-size: 12px; color: var(--ink-2); }
.fc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ===== 進め方 ===== */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.flow li { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.flow li.fl-free { border-color: #c9e6d4; }
.fl-head { display: flex; align-items: center; gap: 10px; }
.fl-head h3 { margin: 0; font-size: 17px; line-height: 1.4; flex: 1; }
.fl-no { width: 34px; height: 34px; border-radius: 50%; background: var(--ai); color: #fff; display: grid; place-items: center; font-family: var(--font-num); font-weight: 700; font-size: 16px; flex: none; }
.fl-free .fl-no { background: var(--ok); }
.fl-tag { font-size: 12px; font-weight: 700; color: var(--ok); background: #e7f4ec; border: 1px solid #c9e6d4; padding: 1px 10px; border-radius: 999px; }
.fl-what { margin: 0; font-size: 14.5px; line-height: 1.85; word-break: auto-phrase; }
.fl-you { margin: auto 0 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); background: var(--paper-2); border-radius: 6px; padding: 8px 12px; word-break: auto-phrase; }
.fl-you b { display: block; font-size: 12px; color: var(--ai); letter-spacing: .04em; }
.fl-note { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); }
@media (min-width: 881px) { .flow li:not(:nth-child(3n))::after { content: ""; position: absolute; right: -13px; top: 32px; width: 10px; height: 10px; border-top: 2px solid var(--rule); border-right: 2px solid var(--rule); transform: rotate(45deg); z-index: 1; background: transparent; } }
@media (max-width: 880px) { .flow { grid-template-columns: 1fr; gap: 10px; } }

/* ===== よくある質問 v2 ===== */
.hikaku { background: linear-gradient(135deg, #eef3fc, #f6f9ff); border: 1px solid #cdd8f2; border-left: 5px solid var(--ai); border-radius: 10px; padding: 18px 22px; margin: 0 0 32px; }
.hikaku-label { margin: 0 0 6px; font-weight: 700; font-size: 18px; color: var(--ai); }
.hikaku p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.85; word-break: auto-phrase; }
.faq-group { margin-top: 28px; }
.faq-gtitle { font-size: 15px; margin: 0 0 4px; padding: 6px 12px; background: var(--paper-2); border-left: 4px solid var(--ai); border-radius: 4px; }
.faq-group .faq details p a { color: var(--ai); }

/* ===== 相談フォーム：添付 ===== */
.opt { font-size: 11px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 3px; padding: 0 6px; margin-left: 6px; vertical-align: 2px; font-weight: 400; }
.file-drop { position: relative; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 18px 14px; border: 2px dashed #cdd8f2; border-radius: 8px; background: #f6f9ff; cursor: pointer; font-weight: 400 !important; transition: background .15s, border-color .15s; }
.file-drop:hover, .file-drop.is-over { background: var(--ai-soft); border-color: var(--ai); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-drop-main { font-weight: 700; color: var(--ai); font-size: 15px; }
.file-drop-main::before { content: "＋ "; }
.file-drop-sub { font-size: 12.5px; color: var(--ink-2); }
.file-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; font-size: 13.5px; }
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li small { color: var(--ink-2); flex: none; }
.file-list li.bad { border-color: #f3c4bb; background: #fdf1ee; color: #9a3412; }
.file-list button { flex: none; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; font-size: 13px; padding: 2px 6px; }

/* ヘッダーの相談ボタンは白文字 */
.nav a.btn, .nav a.btn:hover, .nav a.btn:visited { color: #fff; }

/* 記事 → できること100選 */
.dk-link-box { margin: 36px 0 8px; padding: 16px 20px; border-radius: 8px; background: #f3f0fb; border: 1px solid #ddd3f3; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.dk-link-box p { margin: 0; font-size: 14.5px; line-height: 1.8; flex: 1 1 320px; word-break: auto-phrase; }
.dk-link-box b { color: #6a4bb3; }

/* ===== スマホ・タブレットのヘッダー（メニューを畳む） ===== */
.logo small { font-size: 11px; }
.hdr-cta, .nav-toggle { display: none; }
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 10px; min-height: 58px; }
  .logo { margin-right: auto; font-size: 18px; }
  .hdr-cta { display: inline-flex; padding: 8px 14px; font-size: 13.5px; white-space: nowrap; }
  .nav a.hdr-cta, a.hdr-cta, a.hdr-cta:visited { color: #fff; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; flex: none; }
  .nav-toggle:focus-visible { outline: 2px solid var(--ai); }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; } .nav-toggle-bar::after { top: 7px; }
  .site-header.is-open .nav-toggle-bar { background: transparent; }
  .site-header.is-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; width: auto; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(24,33,47,.08); flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 58px); overflow-y: auto; }
  .site-header.is-open .nav { display: flex; }
  .nav a { font-size: 15.5px; padding: 13px 4px; border-bottom: 1px solid var(--rule); }
  .nav a.btn { display: none; }
}
@media (max-width: 360px) { .logo small { display: none; } .hdr-cta { padding: 8px 10px; } }

/* 同意チェックなど、指で押しやすく */
.field input[type="checkbox"] { width: 20px !important; height: 20px; flex: none; }

/* 料金表：スマホではカード状に並べる */
@media (max-width: 640px) {
  .table-scroll:has(.price-table) { overflow: visible; }
  .table-scroll .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody { display: block; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .price-table td { display: block; padding: 0; border: 0; }
  .price-table td:first-child { grid-column: 1 / -1; }
  .price-table td .name { font-size: 16.5px; }
  .price-table td.price { font-size: 17px; color: var(--ai); white-space: normal; }
  .price-table td.pt-term { justify-self: end; align-self: center; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
  .price-table td.pt-term::before { content: attr(data-label) "："; }
  .price-table td.pt-desc { grid-column: 1 / -1; font-size: 14px; line-height: 1.8; color: var(--ink-2); margin-top: 2px; }
}
.price-table td.pt-term { white-space: nowrap; }

/* ===== メニュー v2（見やすさ） ===== */
.nav-s { display: none; }
.nav-cta { display: flex; align-items: center; }
.nav-line { display: none !important; }
@media (max-width: 900px) {
  html.menu-open { overflow: hidden; }
  .nav { height: calc(100vh - 58px); height: calc(100dvh - 58px); max-height: none; padding: 6px 16px calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--paper-2); box-shadow: none; }
  .nav > a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 16px; margin-top: 8px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
  .nav > a::after { content: "›"; grid-row: 1 / span 2; grid-column: 2; font-size: 22px; color: var(--ink-2); line-height: 1; }
  .nav-l { font-size: 16px; font-weight: 700; color: var(--ink); }
  .nav-s { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 400; }
  .nav > a[aria-current="page"] { border-color: var(--ai); box-shadow: inset 4px 0 0 var(--ai); }
  .nav > a[aria-current="page"] .nav-l { color: var(--ai); }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 18px; }
  .nav .nav-cta a.btn { display: flex !important; padding: 14px; font-size: 15.5px; border-radius: 10px; }
  .nav .nav-cta a.btn:not(.ghost) { color: #fff; }
  .nav-line { display: flex !important; background: #fff; color: #06a648 !important; border: 2px solid #06c755 !important; }
}

/* ===== 料金表 v2（スマホのカードを見やすく） ===== */
@media (max-width: 640px) {
  .price-table tbody { display: grid; gap: 12px; }
  .price-table tr { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--ai); border-radius: 10px; padding: 14px 16px; gap: 6px 12px; box-shadow: 0 1px 3px rgba(24,33,47,.05); }
  .price-table tr:first-child { border-left-color: var(--ok); }
  .price-table tr:first-child td.price { color: var(--ok); }
  .price-table td.price { font-size: 20px; }
  .price-table td.pt-term { background: var(--paper-2); border-radius: 999px; padding: 2px 10px; font-size: 12.5px; }
  .price-table td.pt-desc { border-top: 1px dashed var(--rule); padding-top: 8px; margin-top: 4px; }
}
@media (max-width: 900px) { .nav .nav-cta a.btn { margin-left: 0; width: 100%; } }
@media (max-width: 640px) {
  .price-table tr { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .price-table td:first-child, .price-table td.pt-desc { flex: 1 1 100%; }
  .price-table td.price { white-space: nowrap; font-size: 19px; }
  .price-table td.pt-term { margin-left: auto; }
}

/* =========================================================
   v3：色味と高級感／スマホの文字量
   ========================================================= */
:root { --navy: #0f1d4a; --navy-2: #1a2c6b; --ai-grad: linear-gradient(135deg, #2f55d4 0%, #24409a 55%, #1b2f78 100%); --glow: #5b8cff; --gold: #f2c46d; }
.m-only { display: none; }

/* ボタン */
.btn:not(.ghost) { background: var(--ai-grad); border-color: transparent; box-shadow: 0 6px 16px rgba(36,64,154,.28); }
.btn:not(.ghost):hover { background: linear-gradient(135deg, #3a61e0, #1c3381); box-shadow: 0 8px 20px rgba(36,64,154,.34); }
.btn.ghost { border-width: 1.5px; }

/* 見出しまわり */
.eyebrow { display: inline-block; justify-self: start; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #e8eeff, #f1ecff); color: #2f45b5; font-size: 12px; }
.sec-head h2 { position: relative; padding-bottom: 14px; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #2f55d4, #7b5cff); }
section.tint { background: linear-gradient(180deg, #f3f6fd 0%, #f7f5fe 100%); }

/* ヒーロー：深い紺のグラデーション */
.hero { background: radial-gradient(1000px 500px at 85% -10%, rgba(91,140,255,.35), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(123,92,255,.28), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #22357f 100%); border-bottom: 0; color: #fff; }
.hero .eyebrow { background: rgba(255,255,255,.12); color: #cfdcff; border: 1px solid rgba(255,255,255,.18); }
.hero h1 { color: #fff; }
.hero-copy h1 em { background: linear-gradient(90deg, #9cc0ff, #c9b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #d5def5; }
.hero-points { color: #cfd8f2; }
.hero-points li::before { color: var(--gold); }
.hero .btn:not(.ghost) { background: #fff; color: var(--navy) !important; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.1); }
.hero .ledger { border: 0; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.35); overflow: hidden; }
.hero .ledger th { background: #eef2ff; color: #2f45b5; }
.hero .slip-demo .small, .hero .slip-demo .muted { color: #c3cdea; }
.hero .slip-demo a { color: #fff; }

/* 下層ページの見出し帯 */
.page-head { background: radial-gradient(800px 360px at 90% -20%, rgba(91,140,255,.35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #22357f 100%); border-bottom: 0; color: #fff; }
.page-head h1 { color: #fff; }
.page-head .lead { color: #d5def5; }
.page-head .crumbs, .page-head .crumbs a, .page-head .article-meta { color: #b9c5e6; }
.page-head .cat-tag { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.page-head .cat-chips a { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.page-head .btn:not(.ghost) { background: #fff; color: var(--navy) !important; }
.page-head .muted, .page-head .small { color: #c3cdea; }
.wk-hero { background: radial-gradient(800px 360px at 90% -20%, rgba(91,140,255,.35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #22357f 100%); }
.wk-legend { color: #c9d3ee; }
.wk-jump a { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.wk-jump a::after { color: #c9d3ee; }
.wk-bar { background: rgba(255,255,255,.15); }

/* カード類に奥行き */
.card, .fl-flow li, .flow li, .col-card, .rel-card, .dk-card, .fc-card, .sp-card, .wk-card { box-shadow: 0 1px 2px rgba(15,29,74,.04), 0 6px 18px rgba(15,29,74,.06); }
.card { border-radius: 12px; border-color: #e3e8f3; }
.grid.c3 .card { border-top: 4px solid #2f55d4; }
.grid.c3 .card:nth-child(2) { border-top-color: #6a4bb3; }
.grid.c3 .card:nth-child(3) { border-top-color: #0f7c8a; }
.card .num { color: #24409a; font-weight: 700; }
.pain-list b { color: #2f45b5; }
.dk-entry { background: linear-gradient(135deg, #eef2ff, #f5f0ff); border-color: #d9e0f7; border-left-color: #6a4bb3; border-radius: 12px; }

/* 相談の帯・フッター */
.cta-band { background: radial-gradient(700px 300px at 85% 0%, rgba(91,140,255,.35), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.cta-band .btn:not(.ghost) { background: #fff; color: var(--navy) !important; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.site-footer { background: #0b1638; color: #aeb9d6; border-top: 0; }
.site-footer h3 { color: #fff; }
.site-footer a { color: #c8d1ea; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { border-top-color: rgba(255,255,255,.12); }
.site-footer .own-service { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }
.site-footer .own-service:hover { border-color: var(--glow); color: #fff; }
.site-footer .own-desc, .site-footer .own-label { color: #aeb9d6; }

/* ヘッダーの相談ボタン（白文字） */
.nav a.btn, .hdr-cta, a.hdr-cta:visited { color: #fff !important; }

/* =========================================================
   スマホ：文字を減らして、すっきり
   ========================================================= */
@media (max-width: 760px) {
  .pc-only { display: none; }
  .m-only { display: inline; }
  .m-hide { display: none !important; }
  section { padding-block: 48px; }
  .sec-head { margin-bottom: 22px; gap: 10px; }
  .lead { font-size: 16px; }
  .hero { padding-block: 40px 44px; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: 31px; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row .btn { padding-inline: 10px; }
  .page-head { padding-block: 32px 28px; }
  .page-head h1 { font-size: 27px; }
  /* よくいただくご相談：タイトルだけを2列のタイルに */
  .pain-list { grid-template-columns: 1fr 1fr; gap: 10px; border-top: 0; }
  .pain-list li { display: block; padding: 14px 12px; border: 1px solid #e3e8f3; border-radius: 12px; background: #fff; box-shadow: 0 4px 12px rgba(15,29,74,.06); }
  .pain-list li span { display: none; }
  .pain-list b { font-size: 14.5px; line-height: 1.5; display: block; }
  .dk-entry { grid-template-columns: 1fr; padding: 16px; }
  .dk-entry h3 { font-size: 17px; }
  /* サービス：説明を省いて金額を目立たせる */
  .grid.c3 { grid-template-columns: 1fr; gap: 10px; }
  .grid.c3 .card { padding: 16px 18px; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
  .grid.c3 .card > p:not(.label):not(.num) { display: none; }
  .grid.c3 .card .label { grid-column: 1 / -1; }
  .grid.c3 .card h3 { font-size: 16.5px; }
  .grid.c3 .card .num { margin: 0; text-align: right; font-size: 14px; }
  /* 導入事例（トップ）：4件・説明なし */
  #main > section .wk-grid > .wk-a:nth-child(n+5) { display: none; }
  .wk-a .wk-sum { display: none; }
  .wk-band { height: 76px; }
  /* 事例ページのカード：要約は3行まで、機能・技術は省く */
  .wk-card .wk-feat, .wk-card .wk-foot .wk-tech { display: none; }
  .wk-card .wk-sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .wk-card .wk-foot { border-top: 0; padding-top: 0; }
  .fc-card { padding: 16px; }
  .fc-card .wk-tech { display: none; }
  .sp-card .wk-feat { display: none; }
  /* 進め方：コンパクトな縦の流れ */
  .flow li { padding: 14px 16px; gap: 6px; }
  .fl-what { font-size: 14px; line-height: 1.75; }
  .fl-head h3 { font-size: 16px; }
  .fl-no { width: 30px; height: 30px; font-size: 14px; }
  /* フッター */
  .site-footer .wrap { grid-template-columns: 1fr; }
}

/* スマホのメニュー：縦に1列、はみ出さない */
@media (max-width: 900px) {
  .nav { flex-wrap: nowrap !important; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav > a, .nav-cta { flex: none; }
  .site-header.is-open .nav { background: linear-gradient(180deg, #f3f6fd, #f7f5fe); }
}
.hero .ledger, .hero .ledger td, .hero .ledger b { color: var(--ink); }
@media (max-width: 760px) { .fc-card .fc-issue { display: none; } .fc-card h3 { font-size: 17px; } }
@media (max-width: 760px) { .wk-card.wk-a .wk-sum { display: none; } .wk-card.wk-a h3 { margin-bottom: 4px; } }
/* メニューの公式LINEボタン：LINEの緑で塗りつぶし */
@media (max-width: 900px) {
  .nav .nav-cta a.btn.nav-line { background: #06c755 !important; border: 0 !important; color: #fff !important; box-shadow: 0 6px 16px rgba(6,199,85,.28); }
  .nav .nav-cta a.btn.nav-line:hover { background: #05b34c !important; }
}

/* PC：今いるページを太字にすると文字幅が変わり、メニューがずれて「カクン」となるため、太字をやめて下線で示す */
@media (min-width: 901px) {
  .nav > a { position: relative; font-weight: 500; }
  .nav > a[aria-current="page"] { font-weight: 500; color: var(--ai); }
  .nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #2f55d4, #7b5cff); }
  .nav-l { display: inline; }
}

/* ページ移動で「カクン」とならないように
   ・スクロールバーの幅を常に確保（ページ読み込み中にスクロールバーが出たり消えたりして、全体が左右にずれるのを防ぐ）
   ・読み込み時や別ページへの移動ではスムーズスクロールさせない（ページ内リンクだけ） */
html { overflow-y: scroll; scrollbar-gutter: stable; scroll-behavior: auto; }
html:focus-within { scroll-behavior: smooth; }
/* ヘッダーのぼかし効果は描画が重く、ページ移動時のカクつきの原因になるため無地に */
.site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }

/* ===== ページ見出しの帯をどのページでも同じ高さに（ページ移動で紺の帯の下端が上下しないように） ===== */
.page-head { box-sizing: border-box; min-height: 360px; padding-block: 56px 40px; display: flex; align-items: flex-start; }
.page-head > .wrap { width: 100%; }
@media (max-width: 760px) { .page-head { min-height: 290px; padding-block: 32px 28px; } }
/* 導入事例の数字は帯の下の白い面へ */
.wk-summary { padding-block: 32px 8px; background: #fff; }
.wk-summary .wk-stats { margin-top: 0; }
.wk-summary .wk-legend { color: var(--ink-2); }
.wk-summary .wk-jump a { background: #fff; color: var(--ai); border-color: var(--rule); }
.wk-summary .wk-jump a::after { color: var(--ink-2); }
.wk-summary .wk-bar { background: var(--paper-2); }
