/* theme.css */
/* ブランド色はここだけで決まる。html の data-theme で切り替え */
:root,
[data-theme="steel"] {
  /* 鉄のチャコール×安全色のオレンジ：工場の現場・機械・信頼 */
  --primary: #34383E;
  --primary-dark: #22252A;
  --primary-soft: #EEEFF1;
  --accent: #F07B1E;
  --accent-dark: #CF5F0C;
  --on-accent: #22252A;
  --ink: #22252A;
  /* 押しボタン：オレンジに濃い文字を置き、小さい案内文も読みやすくする */
  --cta-from: #F58A2A;
  --cta-to: #D9560F;
  --cta-shadow: rgba(217, 86, 15, .32);
}
[data-theme="bengara"] {
  /* 弁柄（べんがら）×からし：ものづくりの伝統・あたたかさ */
  --primary: #8E3B2A;
  --primary-dark: #6B2A1D;
  --primary-soft: #F5E7E2;
  --accent: #E2A72E;
  --accent-dark: #C28A1A;
  --on-accent: #2A1A14;
  --ink: #2A1A14;
  --cta-from: #EAB84B;
  --cta-to: #D59A24;
  --cta-shadow: rgba(212, 86, 26, .32);
}
[data-theme="plum"] {
  /* 深紫×コーラル：落ち着き・専門性 */
  --primary: #5B3A8C;
  --primary-dark: #402766;
  --primary-soft: #EEE7F7;
  --accent: #F07C5B;
  --accent-dark: #D4603F;
  --on-accent: #1F1630;
  --ink: #1F1630;
  --cta-from: #F08A24;
  --cta-to: #D4561A;
  --cta-shadow: rgba(212, 86, 26, .32);
}
:root {
  --on-cta: #11100E;
  --text: var(--ink);
  --text-sub: #5C6168;
  --border: #E5E7EA;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F8;
  --danger: #C8102E;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

/* base.css */
/* 土台：文字・ボタン・ヘッダー・フッター・固定バー */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px; line-height: 1.8; font-feature-settings: "palt" 1;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.45; margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.sp { display: none; }
.empty { color: var(--text-sub); }

/* ボタン */
.btn {
  display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2px; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 16px; line-height: 1.3; transition: .2s;
  font-family: inherit;
}
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-sub { font-size: 12px; font-weight: 500; opacity: .9; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: var(--on-cta); box-shadow: 0 6px 16px var(--cta-shadow); }
.btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-accent::after, .btn-cta-main::after { content: "›"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 10px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 16px; line-height: 1; }
.btn-outline { background: #fff; color: var(--primary-dark); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; }
.logo-text { font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.gnav { display: flex; gap: 24px; margin-left: auto; }
.gnav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.logo-text { white-space: nowrap; }
/* 中くらいの幅ではテーマのリンクを隠す（トップのテーマ欄とフッターから行ける。スマホのメニューには出す・2026-11-22） */
@media (max-width: 1240px) { .gnav .nav-cat { display: none; } }
.gnav a:hover { color: var(--primary); }
.header-cta { display: flex; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* フッター */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 12px; font-size: 14px; color: #fff; }
.logo-invert { color: #fff; }
.footer-h { font-weight: 700; font-size: 14px; margin-bottom: 10px; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer li a { display: inline-block; text-wrap: balance; }
.site-footer a { color: #fff; text-decoration: none; font-size: 14px; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); color: #fff; }

/* 画面下の固定バー */
.fixed-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 22px;
  background: var(--primary-dark); color: #fff; border-radius: 999px; box-shadow: var(--shadow);
  width: max-content; max-width: calc(100% - 24px);
}
.fixed-bar[hidden] { display: none; }
.fixed-bar-text { font-size: 14px; font-weight: 500; color: #fff; }
.fixed-bar-close { background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; padding: 4px 8px; }

.gnav .nav-sp { display: none; }
@media (max-width: 860px) {
  .gnav, .header-cta { display: none; }
  .site-header.is-open .gnav .nav-sp, .site-header.is-open .gnav .nav-cat { display: block; }
  .site-header.is-open .gnav .nav-sp-cta { background: var(--primary); color: #fff; text-align: center; padding: 12px; border-radius: 999px; font-weight: 700; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-header.is-open .gnav {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 16px 24px 24px; gap: 16px; border-bottom: 1px solid var(--border);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sp { display: inline; }
  .fixed-bar-text { display: none; }
  .fixed-bar { padding: 8px 8px 8px 8px; }
}

/* スマホの下に固定するメニュー（資料3つ＋無料相談・2026-11-25）。760px以下だけ出し、そのときは上の固定バーを出さない */
.sp-footer { display: none; }
@media (max-width: 760px) {
  .fixed-bar { display: none !important; }
  body.has-spbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sp-footer { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 18px rgba(42, 26, 20, .12); padding: 0 6px env(safe-area-inset-bottom); }
  .site-header.is-open ~ .sp-footer { display: none; }
  .sp-footer-tag { position: absolute; left: 50%; top: -15px; transform: translateX(-50%); margin: 0; padding: 4px 16px; border-radius: 999px; background: var(--primary-dark); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; box-shadow: 0 4px 10px rgba(42, 26, 20, .2); }
  .sp-footer-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 4px; padding: 16px 0 6px; }
  .sp-footer-row a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 5px 2px; border-radius: 10px; color: var(--primary-dark); text-decoration: none; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
  .sp-footer-row svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .sp-footer-row .sp-footer-consult { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 4px 10px rgba(107, 42, 29, .35); }
}
@media (max-width: 359px) { .sp-footer-row a { font-size: 10.5px; } }

/* sections.css */
/* トップと一覧の各セクション */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.more, .link-more { color: var(--primary); font-weight: 700; font-size: 14px; text-decoration: none; }
.link-more { display: inline-block; margin-top: 40px; }
.label { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .14em; margin-bottom: 10px; font-family: "Inter", sans-serif; }

/* 見出し：英字の大見出し＋日本語の小見出し */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-en { font-family: "Inter", sans-serif; font-weight: 700; font-size: 34px; letter-spacing: .06em; color: var(--primary-dark); line-height: 1.2; }
.sec-en-left { text-align: left; font-size: 28px; }
.sec-ja { font-size: 20px; font-weight: 700; color: var(--ink); margin-top: 10px; }
.sec-ja::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--accent); margin: 16px auto 0; }

/* 大きな押しボタン（上に小さい補足） */
.btn-cta { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; min-width: 240px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 18px; text-decoration: none; transition: .2s; letter-spacing: .02em; }
.btn-cta-sub { display: block; width: 100%; text-align: center; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.btn-cta-main { background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: var(--on-cta); box-shadow: 0 10px 24px var(--cta-shadow); }
.btn-cta-main:hover { transform: translateY(-2px); box-shadow: 0 14px 28px var(--cta-shadow); }
.btn-cta-ghost { background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); }
.btn-cta-ghost:hover { background: var(--primary-soft); }
.btn-cta-dark { background: var(--primary-dark); color: #fff; box-shadow: 0 10px 24px rgba(20, 74, 57, .25); }
.btn-cta-dark:hover { background: var(--primary); }

/* ヒーロー */
.hero { background: linear-gradient(160deg, #fff 0%, var(--primary-soft) 100%); padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; background: var(--primary-dark); color: #fff; font-weight: 700; font-size: 15px; padding: 6px 16px; }
.hero-title { font-size: 44px; font-weight: 700; margin: 18px 0 18px; letter-spacing: .01em; }
.hero-lead { color: var(--text); font-size: 16px; max-width: 32em; }
.medals { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 26px 0 0; }
.medals li { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--primary-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.medal-top { font-size: 11px; font-weight: 700; color: var(--text-sub); }
.medal-main { font-size: 18px; font-weight: 700; color: var(--primary-dark); line-height: 1.3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-img { width: 100%; height: auto; border-radius: 24px 120px 24px 24px; box-shadow: 0 24px 48px rgba(20, 74, 57, .18); }

/* 濃い帯の一言 */
.band { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); color: #fff; padding: 44px 0; text-align: center; }
.band p { color: #fff; font-size: 16px; }
.band-strong { font-size: 24px !important; font-weight: 700; margin-top: 8px !important; }
.band strong { color: #fff; font-size: 30px; border-bottom: 3px solid var(--accent); }

/* お悩み */
.problem-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow); }
.problem-no { color: var(--accent-dark); font-weight: 700; font-family: "Inter", sans-serif; font-size: 22px; line-height: 1.2; }
.problem-card p { font-weight: 500; }

/* 図解とサポート範囲 */
.zukai { margin: 0 0 40px; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.zukai img, .prose figure img { width: 100%; height: auto; border-radius: 10px; }
.support-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.support-steps li { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 12px 20px 12px 12px; border: 1px solid var(--border); }
.step-no { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: "Inter", sans-serif; }
.step-text { font-weight: 700; font-size: 14px; line-height: 1.5; }

/* 業種（写真カード） */
.industry-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--border); transition: .2s; }
.industry-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--primary-soft); }
.industry-photo img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.industry-card:hover .industry-photo img { transform: scale(1.04); }
.industry-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.industry-name { font-weight: 700; font-size: 18px; }
.industry-note { font-size: 13px; color: var(--text-sub); }
.industry-other { justify-content: center; background: var(--primary-soft); border-style: dashed; }

/* 相談（写真と2段組み） */
.consult-sec { background: linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%); }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.consult-photo img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.consult-title { font-size: 30px; margin: 12px 0 20px; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.check-list li { padding-left: 30px; position: relative; margin: 12px 0; font-weight: 700; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: rotate(-45deg); }

/* テーマ */
.theme-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--primary); text-decoration: none; color: var(--ink); }
.theme-card:hover { box-shadow: var(--shadow); }
.theme-name { font-weight: 700; font-size: 19px; }
.theme-desc { font-size: 14px; color: var(--text-sub); flex: 1; }

/* 記事カード */
.article-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); text-decoration: none; color: var(--ink); transition: .2s; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card-img { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--primary-soft); }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.article-card-title { font-weight: 700; line-height: 1.6; }
.article-card time { font-size: 13px; color: var(--text-sub); }
.tag { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 3px 10px; border-radius: 999px; }

/* 流れ */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: f; }
.flow-item { position: relative; padding: 26px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.flow-item:not(:last-child)::after { content: "▶"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 14px; }
.flow-no { font-family: "Inter", sans-serif; font-weight: 700; font-size: 30px; color: var(--primary); }
.flow-t { font-weight: 700; margin: 6px 0; }
.flow-d { font-size: 14px; color: var(--text-sub); }

/* よくある質問 */
.faq details { background: #fff; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 12px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; }
.faq details p { padding-bottom: 18px; }

/* 最後の相談 */
.final-cta { background: var(--primary-dark); padding: 80px 0; }
.final-title-main { color: #fff; text-align: center; text-wrap: balance; font-size: 28px; margin-bottom: 36px; }
.final-card { display: flex; flex-direction: column; gap: 8px; padding: 34px; border-radius: var(--radius); background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: var(--on-cta); text-decoration: none; transition: .2s; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.final-card:hover { transform: translateY(-2px); }
.final-card-alt { background: #fff; color: var(--ink); }
.final-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.final-title { font-size: 22px; font-weight: 700; }
.final-sub { font-size: 14px; }

/* 一覧ページの見出し */
.page-head { background: linear-gradient(160deg, #fff 0%, var(--primary-soft) 100%); padding: 56px 0 48px; }
.page-title { font-size: 34px; font-weight: 700; }
.page-lead { margin-top: 12px; color: var(--text); }

@media (max-width: 960px) {
  .hero-inner, .consult-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3, .grid-4, .support-steps { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow-item::after { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-title { font-size: 32px; }
  .sec-en { font-size: 26px; }
  .sec-ja { font-size: 17px; }
  .medals li { width: 78px; height: 78px; }
  .medal-main { font-size: 15px; }
  .btn-cta { min-width: 100%; }
  .band-strong { font-size: 18px !important; }
  .band strong { font-size: 22px; }
  .grid-2, .grid-3, .grid-4, .support-steps { grid-template-columns: 1fr; }
  .page-title { font-size: 26px; }
  .consult-title { font-size: 24px; }
}

/* お客さまのタイプ別 システム開発の例（/systems/・トップ・テーマのページ。2026-11-22） */
.sys-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sys-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.sys-jump a:hover { border-color: var(--primary); }
.sys-jump b { color: var(--primary); font-family: Inter, sans-serif; }
.sys-type { padding: 72px 0; scroll-margin-top: 64px; }
.sys-soft { background: var(--bg-soft); }
.sys-head { display: flex; align-items: center; gap: 12px; }
.sys-no { font-family: Inter, sans-serif; font-weight: 800; font-style: italic; color: var(--primary); font-size: 18px; letter-spacing: .04em; }
.sys-theme { font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 3px 12px; border-radius: 999px; text-decoration: none; }
.sys-persona { font-size: 26px; line-height: 1.5; margin: 10px 0 6px; }
.sys-who { font-size: 14px; color: var(--muted, #6B5B54); margin-bottom: 28px; }
.sys-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 36px; align-items: start; }
.sys-voice { font-size: 15px; line-height: 1.9; margin: 0 0 14px; }
.sys-tried { font-size: 14px; color: #5B4A43; margin: 0 0 18px; }
.sys-tried span, .sys-label { display: block; font-size: 12px; font-weight: 700; color: var(--accent-dark); margin-bottom: 2px; }
.sys-name { font-size: 18px; font-weight: 700; line-height: 1.6; margin: 0 0 14px; }
.sys-type .demo-io > div:not(.demo-arrow) { border: 1px solid var(--border); }
.sys-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.sys-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.sys-box-h { font-weight: 700; margin-bottom: 10px; }
.sys-box .demo-solves li { margin-bottom: 6px; line-height: 1.7; }
.sys-steps { margin: 0; padding-left: 1.4em; }
.sys-steps li { margin-bottom: 6px; line-height: 1.7; }
.sys-more { margin-top: 28px; }
.sys-more-h { font-weight: 700; margin-bottom: 12px; }
.sys-more-grid { gap: 20px; }
.sys-more-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.sys-thumb img { display: block; width: 100%; height: auto; border: 1px solid #E5DDD8; border-radius: 6px; }
.sys-more-t { font-weight: 700; font-size: 15px; line-height: 1.6; margin: 10px 0 4px; }
.sys-more-for { font-size: 13px; color: #5B4A43; }
.sys-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.sys-actions .link-more { margin-top: 0; }
.sys-note { text-align: center; font-size: 13px; color: #6B5B54; margin: -28px 0 28px; }
.sys-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.sys-card:hover { box-shadow: var(--shadow); }
.sys-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #F3F4F6; border-bottom: 1px solid var(--border); }
.sys-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.sys-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.sys-card-t { font-weight: 700; line-height: 1.6; }
.sys-card-p { font-size: 13px; color: #5B4A43; line-height: 1.7; }
.sys-card .more { margin-top: auto; }
.sys-cards.is-one { max-width: 720px; margin: 0 auto; }
.sys-cards.is-one .sys-card { flex-direction: row; }
.sys-cards.is-one .sys-card-img { width: 46%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--border); }
@media (max-width: 960px) {
  .sys-grid, .sys-two { grid-template-columns: 1fr; }
  .sys-visual { order: -1; }
}
@media (max-width: 600px) {
  .sys-type { padding: 52px 0; }
  .sys-persona { font-size: 21px; }
  .sys-cards.is-one .sys-card { flex-direction: column; }
  .sys-cards.is-one .sys-card-img { width: 100%; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--border); }
  .sys-type .demo-shot { margin-left: -12px; margin-right: -12px; }
}

/* article.css */
/* 記事ページ・フォーム */
.article-head { padding-top: 28px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 20px; font-size: 13px; color: var(--text-sub); }
.breadcrumb li + li::before { content: "＞"; margin-right: 6px; }
.breadcrumb a { color: var(--text-sub); }
.article-title { font-size: 34px; font-weight: 700; margin: 12px 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-sub); }
.article-eyecatch { margin: 26px 0 0; border-radius: var(--radius); overflow: hidden; }
.article-eyecatch img { width: 100%; height: auto; display: block; }
.zukai-inline { margin: 0 0 1.8em; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.zukai-inline figcaption { font-size: 13px; color: var(--text-sub); text-align: center; margin-top: 8px; }
.section-title { font-size: 26px; font-weight: 700; margin-bottom: 32px; }
.contact-lead-box { background: var(--primary-soft); border-radius: var(--radius); padding: 32px; text-align: center; margin-bottom: 56px; }
.contact-lead-box p { margin-bottom: 18px; font-weight: 700; }
.sub-h { font-size: 20px; margin: 0 0 8px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding-top: 36px; padding-bottom: 72px; }
.article-main { min-width: 0; }
.article-lead { font-size: 17px; padding: 20px 24px; background: var(--bg-soft); border-radius: 12px; margin-bottom: 28px; }
.article-side { position: relative; }
.side-box { position: sticky; top: 92px; padding: 24px; border-radius: var(--radius); background: var(--primary-soft); }
.side-h { font-weight: 700; margin-bottom: 8px; }
.side-t { font-size: 14px; margin-bottom: 16px; }

.toc { border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 36px; }
.toc-h { font-weight: 700; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin: 6px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }

.prose h2 { font-size: 25px; margin: 56px 0 20px; padding: 12px 0 12px 18px; border-left: 6px solid var(--primary); background: var(--bg-soft); border-radius: 0 10px 10px 0; }
.prose h3 { font-size: 20px; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-soft); }
.prose p { margin: 0 0 1.3em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.prose li { margin: .4em 0; }
.prose strong { background: linear-gradient(transparent 62%, var(--primary-soft) 62%); }
.prose .note { background: #FFF8EC; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 1.4em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; }
.prose table, .about-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td, .about-table th, .about-table td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th, .about-table th { background: var(--primary-soft); font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) {
  .prose table { min-width: 560px; }
  .table-wrap::before { content: "表は左右にスクロールできます"; display: block; font-size: 12px; color: var(--text-sub); padding-bottom: 8px; }
  .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; white-space: normal; }
  .legal-table td { border-top: 0; margin-bottom: 12px; }
}
.sub-title { font-size: 22px; margin: 48px 0 14px; }

.sources { margin: 56px 0 0; padding: 24px; border-radius: 12px; background: var(--bg-soft); }
.sources h2 { font-size: 18px; margin-bottom: 10px; }
.sources ul { margin: 0; padding-left: 1.2em; font-size: 14px; word-break: break-all; }
.sources-note { font-size: 13px; color: var(--text-sub); margin-top: 12px; }

.cta-box { margin: 40px 0; padding: 30px; border-radius: var(--radius); background: var(--primary-dark); color: #fff; }
.cta-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #fff; }
.cta-title { font-size: 22px; font-weight: 700; margin: 8px 0; color: #fff; }
.cta-text { color: #fff; margin-bottom: 18px; }

/* 相談フォーム */
.lead-form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-weight: 700; font-size: 14px; }
.req, .opt { font-size: 11px; font-weight: 700; margin-left: 8px; padding: 2px 8px; border-radius: 4px; }
.req { background: var(--danger); color: #fff; }
.opt { background: var(--border); color: var(--ink); }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; padding: 12px 14px; border: 1px solid #C9D1CD; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid var(--primary-soft); border-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.consent input { width: auto; flex: 0 0 auto; margin-top: .45em; }
.consent span { min-width: 0; }
.form-error { color: var(--danger); font-weight: 700; }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { display: none; }
}
@media (max-width: 600px) {
  .article-title { font-size: 25px; }
  .prose h2 { font-size: 21px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-box { padding: 24px; }
}

/* 囲み（要点・ポイント・注意・まとめ） */
.box { border-radius: 14px; padding: 20px 24px; margin: 0 0 1.6em; }
.box > :last-child { margin-bottom: 0; }
.box-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 6px; }
.box-check { background: var(--primary-soft); }
.box-check ul { list-style: none; padding: 0; margin: 0; }
.box-check li { position: relative; padding-left: 30px; font-weight: 700; margin: 8px 0; }
.box-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); }
.box-check li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.box-point { background: #fff; border: 2px solid var(--primary); }
.box-point .box-label { color: #fff; background: var(--primary); padding: 2px 12px; border-radius: 999px; }
.box-caution { background: #FFF6EA; border-left: 5px solid var(--accent-dark); border-radius: 0 14px 14px 0; }
.box-caution .box-label { color: #9A5A10; }
.box-summary { background: var(--primary-dark); color: #fff; }
.box-summary .box-label, .box-summary li, .box-summary p { color: #fff; }
.box-summary ul { margin: 0; padding-left: 1.2em; }
.box-summary li { margin: 6px 0; font-weight: 700; }

.side-box .btn-accent { white-space: nowrap; flex-wrap: nowrap; padding-left: 14px; padding-right: 14px; font-size: 15px; }

/* 現場で伺った相談・試作画面の例・運営チームにできること（data/genba.json を差し込む囲み） */
.genba, .demo, .support { border-radius: 14px; padding: 20px 22px; margin: 0 0 1.6em; }
.genba { background: #fff; border: 1px solid #E6DCD7; border-left: 6px solid var(--primary); }
.genba-label, .demo-label, .support-label { font-weight: 700; color: var(--primary); margin: 0 0 6px; }
.genba-label span { display: inline-block; margin-left: 10px; font-size: 12px; font-weight: 400; color: #7A6A63; }
.genba-who { font-weight: 700; margin: 0 0 10px; }
.genba dl { margin: 0; }
.genba dl > div { display: grid; grid-template-columns: 9em 1fr; gap: 10px; padding: 8px 0; border-top: 1px dashed #E6DCD7; }
.genba dt { font-size: 13px; font-weight: 700; color: var(--primary-dark); }
.genba dd { margin: 0; }
.genba-count { margin: 10px 0 0; font-size: 13px; color: #7A6A63; }
.demo { background: var(--primary-soft); }
.demo-title { font-size: 1.1em; font-weight: 700; margin: 0 0 4px; }
.demo-for { font-size: 14px; color: #5B4A43; margin: 0 0 12px; }
.demo-io { display: flex; gap: 10px; align-items: stretch; margin: 0 0 12px; }
.demo-io > div:not(.demo-arrow) { flex: 1; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.demo-io span { display: block; font-size: 12px; font-weight: 700; color: var(--accent-dark); margin-bottom: 2px; }
.demo-arrow { align-self: center; font-weight: 700; color: var(--primary); }
.demo ol { margin: 0 0 10px; padding-left: 1.4em; }
.demo-point { font-weight: 700; margin: 0 0 6px; }
.demo-note { font-size: 12px; color: #7A6A63; margin: 0; }
.demo-pain { font-size: 14px; color: #5B4A43; margin: 0 0 12px; }
.demo-pain span { display: block; font-size: 12px; font-weight: 700; color: var(--accent-dark); margin-bottom: 2px; }
.demo-shot { margin: 0 0 14px; }
.demo-shot img { display: block; width: 100%; height: auto; border: 1px solid #E5DDD8; border-radius: 8px; background: #fff; }
.demo-shot figcaption { font-size: 12px; color: #7A6A63; margin-top: 6px; }
.demo-zoom { display: none; }
.demo-solves { margin: 0 0 10px; padding-left: 1.2em; }
.demo-solves li { margin: 4px 0; }
.support { background: #FFF8E8; border: 2px solid var(--accent); }
.support ul { margin: 0; padding-left: 1.2em; }
.support li { margin: 8px 0; }
.support li strong { display: block; }
@media (max-width: 640px) {
  .genba dl > div { grid-template-columns: 1fr; gap: 2px; }
  .demo-io { flex-direction: column; }
  .demo-arrow { transform: rotate(90deg); }
  .demo-shot { margin-left: -12px; margin-right: -12px; }
  .demo-zoom { display: inline; }
}

/* 本文の中の「あわせて読みたい」（2026-11-24） */
.inline-related { margin: 28px 0; padding: 14px 18px; border-left: 4px solid var(--primary); background: var(--bg-soft); border-radius: var(--radius); }
.inline-related-h { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--text-sub); }
.inline-related-a { font-weight: 700; color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }

/* 画像バナー（2026-11-25）：本文の中（PCは横長・スマホは四角）と、記事の右側（縦） */
.pcard { margin: 36px 0; }
.pcard a, a.pcard { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(60, 25, 15, .12); transition: .2s; }
.pcard a:hover, a.pcard:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(60, 25, 15, .2); }
.pcard img { display: block; width: 100%; height: auto; border-radius: 0; }
.pc-more { margin: -24px 0 36px; font-size: 14px; font-weight: 700; text-align: right; }
.pc-more a { color: var(--primary-dark); text-underline-offset: 3px; }
a.pc-side { margin: 0 0 14px; }
.article-side { display: flex; flex-direction: column; gap: 24px; }
.side-top .side-h, .side-sticky .side-h { font-size: 14px; margin-bottom: 10px; color: var(--primary-dark); }
.side-top .side-sub { margin-top: 0; }
.side-sticky { position: sticky; top: 92px; }
.side-sticky .btn-accent { white-space: nowrap; flex-wrap: nowrap; padding-left: 14px; padding-right: 14px; font-size: 15px; }
@media (max-width: 960px) { .article-side { display: none; } }
@media (max-width: 640px) { .pcard { margin: 28px 0; } .pc-more { margin: -18px 0 28px; } }

/* lp.css */
/* LPらしさを足す部品：できること・資料カード・サービス資料の帯・記事中の資料案内・ダウンロード画面・管理ツールの紹介 */
.features { position: relative; }
.feature-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 32px rgba(20, 74, 57, .10); display: flex; flex-direction: column; }
.feature-img { aspect-ratio: 4 / 3; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 22px 24px 28px; }
.feature-no { display: inline-block; font-family: "Inter", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .12em; color: #fff; background: var(--primary); padding: 3px 12px; border-radius: 999px; }
.feature-t { font-weight: 700; font-size: 19px; line-height: 1.55; margin: 12px 0 8px; }
.feature-d { font-size: 14px; color: var(--text-sub); }

.res-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); transition: .2s; }
.res-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 74, 57, .14); }
.res-cover { aspect-ratio: 900 / 636; background: var(--primary-soft); overflow: hidden; }
.res-cover img { width: 100%; height: 100%; object-fit: cover; }
.res-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.res-kind { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent-dark); border: 1px solid var(--accent); padding: 2px 10px; border-radius: 999px; }
.res-title { font-weight: 700; font-size: 18px; line-height: 1.5; }
.res-points { list-style: none; padding: 0; margin: 0 0 6px; font-size: 14px; color: var(--text-sub); flex: 1; }
.res-points li { padding-left: 18px; position: relative; margin: 4px 0; }
.res-points li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.res-btn { font-weight: 700; color: var(--primary); }

.service-banner { margin-top: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); border-radius: 24px; padding: 40px; color: #fff; }
.service-banner-cover img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 36px rgba(0,0,0,.25); transform: rotate(-2deg); }
.service-banner .sec-en { color: #fff; opacity: .85; font-size: 22px; }
.service-banner-title { font-size: 28px; font-weight: 700; color: #fff; margin: 10px 0 14px; line-height: 1.5; }
.service-banner-text { color: #fff; margin-bottom: 24px; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-box .btn-outline { border-color: #fff; }

.wp-banner { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; margin: 40px 0; padding: 24px; border-radius: 16px; background: #FFF8EE; border: 2px solid #F4D4A8; }
.wp-banner-cover img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.wp-banner-label { font-size: 12px; font-weight: 700; color: #9A5A10; letter-spacing: .08em; }
.wp-banner-title { font-size: 19px; font-weight: 700; margin: 6px 0; line-height: 1.5; }
.wp-banner-text { font-size: 14px; color: var(--text-sub); margin-bottom: 14px !important; }

.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.dl-cover img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 16px 36px rgba(0,0,0,.15); }
.dl-points { list-style: none; padding: 0; margin: 20px 0 0; }
.dl-points li { padding-left: 30px; position: relative; margin: 10px 0; font-weight: 700; }
.dl-points li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: rotate(-45deg); }
.dl-form-box { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.dl-form-title { font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.dl-done { text-align: center; }
.dl-done .btn { margin-top: 20px; }

@media (max-width: 960px) {
  .service-banner, .dl-grid { grid-template-columns: 1fr; }
  .service-banner { padding: 28px; }
}
@media (max-width: 600px) {
  .wp-banner { grid-template-columns: 1fr; }
  .wp-banner-cover { max-width: 220px; }
  .service-banner-title { font-size: 22px; }
}

/* 紹介の帯・写真と文の段組み */
.tool-sec { padding-top: 56px; padding-bottom: 8px; }
.tool-banner { margin-top: 0; }
.tool-banner-shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 36px rgba(0,0,0,.25); display: block; }
.tool-shot { margin: 0; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 14px 34px rgba(20, 74, 57, .14); }
.tool-shot img { width: 100%; height: auto; border-radius: 10px; display: block; }
.tool-shot-lg { max-width: 1040px; margin: 0 auto; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.tool-note { text-align: center; font-size: 13px; color: var(--text-sub); margin-top: 16px; }
.tool-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.tool-row-rev .tool-shot { order: 2; }
.tool-t { font-weight: 700; font-size: 21px; line-height: 1.55; margin: 12px 0 10px; }
.tool-d { color: var(--text-sub); }
.plan-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow); }
.plan-card-em { border: 3px solid var(--accent); }
.plan-badge { position: absolute; top: -13px; left: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan-name { font-weight: 700; font-size: 18px; color: var(--primary-dark); }
.plan-price { font-weight: 700; font-size: 22px; line-height: 1.45; margin: 8px 0 14px; color: var(--ink); }
.plan-points { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--text-sub); }
.plan-points li { padding-left: 18px; position: relative; margin: 6px 0; }
.plan-points li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
@media (max-width: 860px) {
  .tool-row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .tool-row-rev .tool-shot { order: 0; }
  .tool-actions .btn-cta { width: 100%; }
}

/* ヒーローの2つのボタンは横に並べる（狭い画面では縦） */
.hero-actions .btn-cta { min-width: 0; padding: 14px 26px; font-size: 16px; }
@media (max-width: 600px) { .hero-actions .btn-cta { width: 100%; } }

/* 相談は2番目の入口（資料請求とデモの下に小さく添える）2026-11-09 */
.hero-consult { margin-top: 14px; font-size: 14px; }
.hero-consult a, .side-sub a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.final-consult { margin-top: 24px; text-align: center; font-size: 14px; color: #fff; }
.final-consult a, .cta-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.cta-note { margin-top: 14px; font-size: 13px; color: #fff; }
.side-sub { margin-top: 14px; font-size: 13px; line-height: 2; text-align: center; }

/* pkg.css */
/* 解決パッケージのLP（/packages/）。2026-11-21 杉田さん指定の見本LPの凝り具合に合わせた作り（色はこうばDXの弁柄×からし） */
:root { --pk-deep: #3A160F; --pk-cream: #FFF6E3; --pk-line: #EADBD5; }
.pk-kv, .pk-sec, .pk-band, .pk-final, .pk-cardlink { word-break: auto-phrase; }
.pk-num { font-family: "Inter", sans-serif; font-style: italic; font-weight: 800; letter-spacing: -.02em; }

/* 冒頭 */
.pk-kv { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--pk-deep); }
.pk-kv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; opacity: .6; }
.pk-kv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--pk-deep) 0%, rgba(58, 22, 15, .95) 44%, rgba(107, 42, 29, .74) 100%); }
.pk-kv-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding-top: 26px; padding-bottom: 44px; }
.pk-kv-index .pk-kv-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
.pk-kv .breadcrumb ol, .pk-kv .breadcrumb a { color: rgba(255, 255, 255, .72); }
.pk-kv-label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: .06em; color: var(--accent); margin: 4px 0 14px; }
.pk-kv-label span { background: var(--accent); color: var(--pk-deep); padding: 2px 10px; border-radius: 3px; }
.pk-kv-title { margin: 0 0 22px; line-height: 1.3; font-weight: 800; }
.pk-kv-title span { display: block; }
.pk-kv-title .l1 { font-size: 42px; }
.pk-kv-title .l2 { position: relative; z-index: 0; display: inline-block; font-size: 56px; font-style: italic; color: var(--pk-deep); padding: 0 24px 4px 14px; margin: 8px 0 6px; }
.pk-kv-title .l2::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 4px; background: linear-gradient(90deg, #F2C65E, var(--accent)); transform: skewX(-12deg); }
.pk-kv-title .l3 { font-size: 28px; color: rgba(255, 255, 255, .92); }
.pk-kv-lead { max-width: 620px; margin: 0 0 24px; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .88); }
.pk-badges { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.pk-badges li { width: 116px; height: 116px; border-radius: 50%; border: 2px solid rgba(226, 167, 46, .75); background: rgba(255, 255, 255, .07); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.35; }
.pk-badges span { font-size: 11.5px; color: rgba(255, 255, 255, .82); }
.pk-badges b { margin-top: 3px; font-size: 19px; font-style: italic; color: var(--accent); }
.pk-kv-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pk-kv-actions .btn-cta { min-width: 0; padding-left: 26px; padding-right: 26px; }
.pk-kv-actions .btn-cta-main { width: 300px; }
.pk-kv-actions .btn-cta-ghost { width: 230px; }
.pk-kv .btn-cta-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.pk-kv .btn-cta-ghost:hover { background: rgba(255, 255, 255, .1); }
.pk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 48px; }
.pk-tile { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.pk-tile b { font-size: 42px; line-height: 1; color: var(--primary); white-space: nowrap; }
.pk-tile b small { margin-left: 2px; font-size: 17px; font-style: normal; }
.pk-tile span { font-size: 14px; font-weight: 700; line-height: 1.5; }
.pk-tile em { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: var(--text-sub); }

/* 試作画面の絵 */
.pk-mock { overflow: hidden; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.pk-mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F4EEEB; border-bottom: 1px solid #E8DDD8; }
.pk-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #8CC08A; }
.pk-mock-bar i:nth-child(1) { background: #E8826E; }
.pk-mock-bar i:nth-child(2) { background: #EDC15A; }
.pk-mock-bar span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--text-sub); }
.pk-mock-body { padding: 22px 22px 18px; }
.pk-mock-title { margin: 0 0 14px; font-size: 17px; font-weight: 800; line-height: 1.55; }
.pk-mock-io { display: grid; grid-template-columns: 1fr 30px 1fr; gap: 8px; margin-bottom: 14px; }
.pk-mock-io > .in, .pk-mock-io > .out { padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.7; }
.pk-mock-io .in { background: var(--bg-soft); border: 1px dashed #D9CFCA; }
.pk-mock-io .out { background: var(--pk-cream); border: 1px solid #F0D79C; }
.pk-mock-io span { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: var(--primary); }
.pk-mock-arrow { align-self: center; justify-self: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; }
.pk-mock-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pk-mock-steps li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 13.5px; line-height: 1.6; }
.pk-mock-steps b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--pk-deep); display: grid; place-items: center; font-family: "Inter", sans-serif; font-size: 12px; }
.pk-mock-steps.is-check li { align-items: center; font-weight: 700; }
.pk-mock-steps em { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); font-style: normal; font-size: 11.5px; color: var(--text-sub); white-space: nowrap; }
.pk-mock-steps li:first-child em { background: #E3F2E1; color: #2E7D32; }
.pk-mock-note { margin: 10px 0 0; font-size: 11.5px; color: var(--text-sub); }

/* 本文の区切り */
.pk-sec { padding: 88px 0; }
.pk-sec.soft { background: var(--bg-soft); }
.pk-sec-tight { padding-top: 0; }
.pk-note { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--text-sub); }
.pk-bar { margin: 0 0 16px; padding: 11px 16px; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); color: #fff; text-align: center; font-weight: 700; font-size: 16px; }

/* お悩みと比較の枠 */
.pk-pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 52px; }
.pk-pain { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1px solid var(--border); border-left: 5px solid var(--primary); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.pk-pain .pk-num { font-size: 34px; line-height: 1; color: var(--accent); }
.pk-pain p { margin: 0; font-weight: 700; line-height: 1.7; }
.pk-tri { display: grid; grid-template-columns: 1fr 1.3fr 1fr; border: 1px solid #E4D9D4; border-radius: 10px; }
.pk-tri > div { position: relative; padding: 26px 28px; }
.pk-tri-miss { background: #FDF1EE; border-radius: 10px 0 0 10px; }
.pk-tri-we { background: #F8F2EC; }
.pk-tri-keep { background: #fff; border-radius: 0 10px 10px 0; }
.pk-tri-we::before, .pk-tri-keep::before { content: "›"; position: absolute; z-index: 1; left: -14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; line-height: 1; }
.pk-tri-h { margin: 0 0 10px; font-size: 13px; font-weight: 800; }
.pk-tri-miss .pk-tri-h { color: #B23A2E; }
.pk-tri-we .pk-tri-h { color: var(--primary); }
.pk-tri-keep .pk-tri-h { color: var(--accent-dark); }
.pk-tri-big { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.8; }
.pk-tri-we ul { list-style: none; padding: 0; margin: 0; }
.pk-tri-we li { position: relative; margin: 6px 0; padding-left: 24px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.pk-tri-we li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--primary); }

/* 現場の相談 */
.pk-voices { padding: 56px 48px 40px; border-radius: 22px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.pk-voices-h { margin: 0 0 34px; text-align: center; color: #fff; }
.pk-voices-h small { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.pk-voices-h strong { font-size: 34px; font-style: italic; font-weight: 800; }
.pk-voice { display: grid; grid-template-columns: .9fr 1.1fr; margin-bottom: 18px; overflow: hidden; border-radius: 14px; background: #fff; }
.pk-voice-main { padding: 28px 30px; border-right: 1px solid var(--border); }
.pk-voice-no { display: inline-block; margin: 0 0 12px; padding: 2px 12px; border-radius: 3px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; }
.pk-voice-who { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--text-sub); }
.pk-voice-q { position: relative; margin: 0; padding-left: 28px; font-size: 18px; font-weight: 700; line-height: 1.8; }
.pk-voice-q::before { content: "\201C"; position: absolute; left: -2px; top: -12px; font-family: Georgia, serif; font-size: 56px; line-height: 1; color: var(--accent); }
.pk-voice-count { margin: 18px 0 0; font-size: 13px; font-weight: 700; color: var(--primary); }
.pk-voice-count b { margin: 0 2px; font-family: "Inter", sans-serif; font-style: italic; font-size: 22px; }
.pk-voice-line { list-style: none; margin: 0; padding: 22px 28px 22px 34px; }
.pk-voice-line li { position: relative; padding: 10px 12px 10px 22px; border-left: 2px solid var(--pk-line); }
.pk-voice-line li::before { content: ""; position: absolute; left: -7px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); }
.pk-voice-line li.is-dir { border-radius: 0 10px 10px 0; background: var(--pk-cream); }
.pk-voice-line li.is-dir::before { background: var(--accent); border-color: var(--accent); }
.pk-voice-line span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 800; color: var(--primary); }
.pk-voice-line p { margin: 0; font-size: 14px; line-height: 1.75; }
.pk-voices-note { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .78); }

/* 途中の申込 */
.pk-band { padding: 52px 0 60px; text-align: center; background: #fff; }
.pk-band-lead { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.pk-band .btn-cta, .pk-final-mid .btn-cta { min-width: 440px; }

/* 進め方 */
.pk-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pk-steps li { position: relative; padding: 26px 22px 22px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.pk-steps li:not(:last-child)::after { content: "▶"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--primary); }
.pk-steps .pk-num { display: block; margin-bottom: 12px; font-size: 48px; line-height: 1; color: var(--primary); }
.pk-steps .pk-num::after { content: "/"; margin-left: 2px; font-weight: 300; color: var(--accent); }
.pk-steps-t { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.pk-steps-d { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--text-sub); }
.pk-steps li.is-hi { background: var(--pk-cream); border-color: #F0D79C; }
.pk-steps-tag { position: absolute; top: -12px; right: 14px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--pk-deep); font-size: 11.5px; font-weight: 800; }

/* 試作画面の例 */
.pk-demo { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: center; margin-bottom: 24px; padding: 34px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.pk-demo-label { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--accent-dark); }
.pk-demo-title { margin: 0 0 16px; font-size: 21px; font-weight: 800; line-height: 1.55; }
.pk-demo dl { margin: 0; }
.pk-demo dl div { padding: 10px 0; border-top: 1px dashed #E4D9D4; }
.pk-demo dt { font-size: 12px; font-weight: 800; color: var(--primary); }
.pk-demo dd { margin: 2px 0 0; font-size: 14px; line-height: 1.75; }
.pk-demo .pk-mock { border: 1px solid #EADFDA; box-shadow: 0 16px 36px rgba(60, 25, 15, .14); }

/* お渡しするもの・できること */
.pk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.pk-card { padding: 30px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.pk-card-h { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 20px; font-weight: 800; }
.pk-card-h .pk-num { font-size: 30px; color: var(--accent); }
.pk-docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pk-docs li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; background: var(--bg-soft); font-size: 14px; font-weight: 700; line-height: 1.6; }
.pk-doc-ic { position: relative; flex: none; width: 28px; height: 36px; border: 2px solid var(--primary); border-radius: 3px; background: #fff; }
.pk-doc-ic::before { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 2px; background: var(--primary); box-shadow: 0 6px 0 var(--primary), 0 12px 0 #D9CFCA; }
.pk-small { margin: 12px 0 0; font-size: 12.5px; color: var(--text-sub); }
.pk-sup { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pk-sup li { position: relative; padding: 14px 16px 14px 48px; border: 1px solid #F3DFAE; border-radius: 10px; background: #FFF8E8; font-size: 13.5px; line-height: 1.75; }
.pk-sup li::before { content: "✓"; position: absolute; left: 14px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--pk-deep); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.pk-sup b { display: block; margin-bottom: 2px; font-size: 15px; }

/* パッケージのカード（一覧・トップ・テーマ・LPの下） */
.pk-cardlink { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 28px 26px 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: .2s; }
.pk-cardlink::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.pk-cardlink:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60, 25, 15, .14); }
.pk-cardlink .pk-num { font-size: 36px; line-height: 1; color: var(--primary); }
.pk-cardlink-name { margin: 10px 0 8px; font-size: 19px; font-weight: 800; line-height: 1.5; }
.pk-cardlink-short { margin: 0 0 14px; font-size: 14px; line-height: 1.75; color: var(--text-sub); }
.pk-cardlink ul { flex: 1; list-style: none; margin: 0 0 18px; padding: 12px 0 0; border-top: 1px dashed #E4D9D4; }
.pk-cardlink li { position: relative; margin: 6px 0; padding-left: 20px; font-size: 13px; line-height: 1.6; }
.pk-cardlink li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--accent-dark); }
.pk-cardlink-go { align-self: flex-start; padding: 8px 18px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13.5px; font-weight: 700; }

/* 最後の申込（日程調整） */
.pk-final { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 72px; color: #fff; }
.pk-final-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pk-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(58, 22, 15, .94), rgba(107, 42, 29, .86)); }
.pk-final-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.pk-final-sub { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: rgba(255, 255, 255, .9); }
.pk-final-big { margin: 0; font-size: 50px; font-weight: 800; line-height: 1.2; }
.pk-final-big .pk-num { font-size: 84px; }
.pk-final-big small { margin-right: 8px; font-size: 34px; }
.pk-final-check { list-style: none; margin: 0; padding: 24px 28px; border-radius: 10px; background: #fff; color: var(--ink); }
.pk-final-check li { position: relative; margin: 8px 0; padding-left: 28px; font-weight: 700; }
.pk-final-check li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--primary); }
.pk-final-mid { margin: 44px 0 36px; text-align: center; }
.pk-final-lead { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.pk-final-cards { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.pk-final-card { padding: 24px 26px; border-radius: 12px; background: rgba(255, 255, 255, .96); color: var(--ink); }
.pk-final-card-h { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--primary); }
.pk-final-card-big { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: var(--primary-dark); }
.pk-final-card p { margin: 0; font-size: 14px; line-height: 1.8; }
.pk-final-card .pk-final-card-big { font-size: 26px; line-height: 1.4; }
.pk-final-flow { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.pk-final-flow li { position: relative; margin: 7px 0; padding-left: 32px; font-size: 15px; font-weight: 700; counter-increment: f; }
.pk-final-flow li::before { content: counter(f); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: "Inter", sans-serif; font-size: 12px; }

/* 記事のサイドのパッケージ */
.side-pkg { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }

@media (max-width: 960px) {
  .pk-kv-inner, .pk-tiles, .pk-pains, .pk-tri, .pk-voice, .pk-demo, .pk-two, .pk-final-top, .pk-final-cards { grid-template-columns: 1fr; }
  .pk-kv-inner { gap: 32px; }
  .pk-tri-miss { border-radius: 10px 10px 0 0; }
  .pk-tri-keep { border-radius: 0 0 10px 10px; }
  .pk-tri-we::before, .pk-tri-keep::before { left: 50%; top: -14px; transform: translateX(-50%) rotate(90deg); }
  .pk-voice-main { border-right: 0; border-bottom: 1px solid var(--border); }
  .pk-steps { grid-template-columns: repeat(2, 1fr); }
  .pk-steps li::after { display: none; }
}
@media (max-width: 600px) {
  .pk-sec { padding: 60px 0; }
  .pk-sec-tight { padding-top: 0; }
  .pk-kv-title .l1 { font-size: 27px; }
  .pk-kv-title .l2 { font-size: 34px; padding: 0 16px 2px 10px; }
  .pk-kv-title .l3 { font-size: 19px; }
  .pk-kv-lead { font-size: 15px; }
  .pk-badges { gap: 8px; }
  .pk-badges li { width: 96px; height: 96px; }
  .pk-badges span { font-size: 11px; }
  .pk-badges b { font-size: 16px; }
  .pk-kv-actions .btn-cta, .pk-band .btn-cta, .pk-final-mid .btn-cta { width: 100%; min-width: 0; }
  .pk-tile b { font-size: 34px; }
  .pk-mock-io { grid-template-columns: 1fr; }
  .pk-mock-arrow { transform: rotate(90deg); }
  .pk-voices { padding: 34px 14px 24px; border-radius: 16px; }
  .pk-voices-h strong { font-size: 26px; }
  .pk-voice-main, .pk-voice-line { padding: 20px 18px; }
  .pk-voice-q { font-size: 16px; }
  .pk-steps, .pk-docs { grid-template-columns: 1fr; }
  .pk-demo, .pk-card { padding: 20px; }
  .pk-final-big { font-size: 34px; }
  .pk-final-big .pk-num { font-size: 60px; }
  .pk-final-big small { font-size: 24px; }
}

/* nav.css */
/* 上のメニュー（課題から探す／デモを触る／記事を読む）・課題の切り替えタブ・ページ内のタブ（2026-11-24） */
.header-inner { position: relative; }
.gnav { align-items: stretch; gap: 4px; height: 68px; }
.gnav-item { display: flex; align-items: center; position: relative; }
.gnav-item:first-child { position: static; }   /* 課題のメニューはヘッダーの幅いっぱいに開く */
.gnav .gnav-top { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.gnav .gnav-top:hover, .gnav-item.is-open > .gnav-top { background: var(--bg-soft); color: var(--primary); }
.gnav-item.is-cur > .gnav-top { color: var(--primary); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.gnav-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.gnav-menu { display: none; position: absolute; top: 100%; z-index: 70; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 0 0 16px 16px; box-shadow: 0 24px 48px rgba(42, 26, 20, .16); }
.has-menu:hover > .gnav-menu, .has-menu:focus-within > .gnav-menu, .has-menu.is-open > .gnav-menu { display: block; }
.gnav .gnav-menu a { color: var(--ink); text-decoration: none; white-space: normal; }

/* 課題のメニュー（3列） */
.gm-mega { left: 0; right: 0; padding: 22px 26px 16px; }
.gm-cols { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 22px; }
.gm-col:nth-child(2) { display: grid; grid-template-columns: 1fr 1fr; align-content: start; column-gap: 10px; }
.gm-col:nth-child(2) .gm-h { grid-column: 1 / -1; }
.gm-h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 800; color: var(--primary); }
.gm-h span { font-family: "Inter", sans-serif; font-size: 10.5px; letter-spacing: .12em; color: var(--accent-dark); }
.gm-h small { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--text-sub); }
.gm-h-sub { margin-top: 10px; font-size: 12.5px; }
.gnav .gm-issue { display: flex; gap: 10px; padding: 9px 10px; border-radius: 10px; }
.gnav .gm-issue:hover { background: var(--primary-soft); }
.gm-issue b { flex: none; font-family: "Inter", sans-serif; font-style: italic; font-size: 15px; color: var(--accent-dark); line-height: 1.4; }
.gm-issue span { font-size: 15px; font-weight: 800; line-height: 1.4; }
.gm-issue em { display: block; margin-top: 2px; font-style: normal; font-weight: 400; font-size: 12px; line-height: 1.55; color: var(--text-sub); }
.gm-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.gnav .gm-foot a { font-size: 13px; font-weight: 700; color: var(--primary); }
.gnav .gm-foot a::after { content: " ›"; }

/* デモ・記事のメニュー（縦の一覧） */
.gm-list { left: 50%; transform: translateX(-50%); width: 270px; padding: 14px 12px; }
.gm-list .gm-h { font-size: 12.5px; }
.gnav .gm-list a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.gnav .gm-list a:hover { background: var(--primary-soft); color: var(--primary); }
.gm-list a b { display: inline-block; width: 26px; font-family: "Inter", sans-serif; font-style: italic; font-size: 12.5px; color: var(--accent-dark); }
.gnav .gm-all, .gnav .gm-all-top { color: var(--primary); font-weight: 800; }

/* 課題を切り替えるタブ（課題のページ・デモのページの上） */
.it-bar { background: #FBF7F5; border-bottom: 1px solid var(--border); }
.it-inner { display: flex; align-items: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; }
.it-h { flex: none; padding: 3px 10px; border-radius: 4px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; }
.it-tabs { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.it-tabs::-webkit-scrollbar { display: none; }
.it-group { display: flex; align-items: center; gap: 4px; padding-left: 12px; border-left: 1px solid #E5D6D0; }
.it-group:first-child { padding-left: 0; border-left: 0; }
.it-gname { margin-right: 4px; font-size: 11px; font-weight: 700; color: var(--text-sub); white-space: nowrap; }
.it-tabs a { white-space: nowrap; padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; font-size: 13.5px; font-weight: 700; color: var(--ink); text-decoration: none; }
.it-tabs a small { margin-right: 4px; font-family: "Inter", sans-serif; font-style: italic; font-size: 11px; color: var(--accent-dark); }
.it-tabs a:hover { background: #fff; border-color: #E5D6D0; }
.it-tabs a.is-cur { background: var(--primary); color: #fff; }
.it-tabs a.is-cur small { color: #F5D58A; }

/* ページの中の目次タブ（スクロールしても上に残る） */
.pt-bar { position: sticky; top: 68px; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.pt-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pt-inner::-webkit-scrollbar { display: none; }
.pt-bar a { display: flex; align-items: baseline; gap: 6px; padding: 14px 16px 12px; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--text-sub); text-decoration: none; }
.pt-bar a small { font-family: "Inter", sans-serif; font-style: italic; font-size: 11.5px; color: var(--accent-dark); }
.pt-bar a:hover { color: var(--primary); }
.pt-bar a.is-cur { color: var(--primary); border-bottom-color: var(--primary); }
.pk-sec[id] { scroll-margin-top: 118px; }

@media (max-width: 1100px) {
  .gm-issue em { display: none; }
  .gnav .gnav-top { padding: 9px 10px; }
}
@media (max-width: 860px) {
  .gnav { height: auto; }
  .site-header.is-open .gnav { max-height: calc(100vh - 68px); overflow-y: auto; gap: 4px; padding-bottom: 28px; }
  .gnav-item, .gnav-item:first-child { display: block; position: static; }
  .gnav .gnav-top { padding: 12px 0 6px; font-size: 16px; background: none; }
  .gnav-item.is-cur > .gnav-top { box-shadow: none; }
  .gnav-caret { display: none; }
  .gnav-menu, .has-menu:hover > .gnav-menu { display: block; position: static; transform: none; width: auto; padding: 0 0 6px; border: 0; border-radius: 0; box-shadow: none; }
  .gm-cols, .gm-col:nth-child(2) { display: block; }
  .gm-h { margin: 6px 0 2px; padding-bottom: 4px; font-size: 13px; }
  .gm-h small { display: none; }
  .gnav .gm-issue { display: inline-flex; width: calc(50% - 4px); padding: 7px 6px; }
  .gm-issue span { font-size: 14.5px; }
  .gm-demo { display: none !important; }
  .gm-foot { margin-top: 6px; padding-top: 8px; }
  .pt-bar a { padding: 12px 12px 10px; font-size: 13.5px; }
}

/* issue.css */
/* 課題のページ・課題の一覧・デモの一覧の見た目（2026-11-24）。冒頭や節の型は pkg.css を使い、ここは足りない部品だけ */
.pk-kv-issue .pk-kv-title .l2 { font-size: 64px; margin-top: 4px; }
.pk-kv-issue .pk-kv-title .l3 { margin-top: 6px; font-size: 22px; }
.pk-kv-issue .pk-kv-inner { padding-bottom: 56px; }

/* 冒頭の右：裏で動くAIエージェント */
.ia-mock .pk-mock-body { padding: 18px; }
.ia-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); border: 1px dashed #D9CFCA; font-size: 13.5px; line-height: 1.65; }
.ia-row p { margin: 0; }
.ia-row.is-out { background: var(--pk-cream); border: 1px solid #F0D79C; }
.ia-tag { font-size: 11px; font-weight: 800; color: var(--primary); white-space: nowrap; padding-top: 2px; }
.ia-team { list-style: none; margin: 10px 0; padding: 12px; border-radius: 12px; background: linear-gradient(180deg, #2B140E, #3A1B13); display: grid; gap: 7px; }
.ia-team li { display: grid; grid-template-columns: 88px 1fr; gap: 8px; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.ia-team b { align-self: start; padding: 1px 6px; border-radius: 6px; background: rgba(226, 167, 46, .2); color: #F5D58A; font-size: 11.5px; text-align: center; }
.ia-human { margin: 10px 0 0; font-size: 13px; font-weight: 700; line-height: 1.6; }
.ia-human span { margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; }

/* 解決方法の流れ */
.ia-flow { display: grid; grid-template-columns: 1fr 34px 1.5fr 34px 1fr; align-items: stretch; gap: 8px; margin-bottom: 18px; }
.ia-box { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--pk-line); font-size: 15px; line-height: 1.75; }
.ia-box p { margin: 0; }
.ia-h { margin: 0 0 10px !important; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--primary); }
.ia-out { background: var(--pk-cream); border-color: #F0D79C; }
.ia-agent { background: linear-gradient(180deg, #2B140E, #3A1B13); border-color: #3A1B13; color: #fff; }
.ia-agent .ia-h { color: var(--accent); }
.ia-agent ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ia-agent li { display: grid; grid-template-columns: 24px auto 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.6; }
.ia-agent li span { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 800; }
.ia-agent li b { padding: 1px 8px; border-radius: 6px; background: rgba(226, 167, 46, .2); color: #F5D58A; font-size: 12.5px; white-space: nowrap; }
.ia-arrow { align-self: center; justify-self: center; width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 18px solid var(--primary); }
.ia-human-bar { margin: 0 0 28px; padding: 14px 20px; border-radius: 12px; background: var(--primary-soft); font-size: 15px; line-height: 1.7; }
.ia-human-bar b { margin-right: 10px; color: var(--primary); }

/* この課題でほかに作れる画面の例 */
.ms-wrap { margin-top: 40px; }
.ms-h { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.ms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ms-card { display: block; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.ms-card img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--border); }
.ms-card span { display: block; padding: 10px 12px; font-size: 13px; font-weight: 700; line-height: 1.55; }
.ms-note { margin: 8px 0 0; font-size: 12px; color: var(--text-sub); }

/* 課題のカード */
.iss-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.iss-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: .2s; }
.iss-card::before { content: ""; height: 5px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.iss-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60, 25, 15, .14); }
.iss-main { display: block; padding: 20px 22px 12px; color: var(--ink); text-decoration: none; }
.iss-no { display: block; font-family: "Inter", sans-serif; font-style: italic; font-weight: 800; font-size: 14px; color: var(--accent-dark); }
.iss-word { display: block; margin: 2px 0 8px; font-size: 26px; font-weight: 800; letter-spacing: .02em; color: var(--primary); }
.iss-pain { display: block; font-size: 14px; line-height: 1.75; color: var(--ink); }
.iss-agent { flex: 1; margin: 0 22px 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); font-size: 13px; line-height: 1.7; color: var(--text-sub); }
.iss-agent b { display: block; font-size: 11.5px; color: var(--primary); }
.iss-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0 22px 18px; font-size: 14px; font-weight: 800; }
.iss-links a { color: var(--primary); text-decoration: none; }
.iss-links a:hover { text-decoration: underline; }
.iss-links .iss-demo { color: var(--accent-dark); }
.iss-group + .iss-group { margin-top: 48px; }
.iss-group-h { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.iss-step { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: "Inter", sans-serif; font-size: 15px; }
.iss-gname { font-size: 24px; font-weight: 800; }
.iss-group-h small { font-size: 14px; font-weight: 500; color: var(--text-sub); }
.iss-start { padding: 24px 28px; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.iss-start-h { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.iss-start .iss-links { padding: 8px 0 0; }

/* デモの一覧・デモだけのページ */
.dm-hero { padding: 56px 0 8px; }
.dm-title { margin: 6px 0 12px; font-size: 38px; font-weight: 800; }
.dm-lead { max-width: 760px; margin: 0; font-size: 16px; line-height: 1.9; color: var(--text-sub); }
.dm-group + .dm-group { margin-top: 36px; }
.dm-gh { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.dm-gh small { font-size: 13px; font-weight: 500; color: var(--text-sub); }
.dm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dm-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 16px; background: linear-gradient(160deg, #3A160F, #6B2A1D); color: #fff; text-decoration: none; box-shadow: 0 14px 30px rgba(58, 22, 15, .22); transition: .2s; }
.dm-card:hover { transform: translateY(-3px); }
.dm-word { font-size: 30px; font-weight: 800; }
.dm-io { display: grid; gap: 4px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.dm-io em { font-style: normal; }
.dm-io i { font-style: normal; color: var(--accent); }
.dm-go { margin-top: auto; align-self: flex-start; padding: 7px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 800; }
.dm-page { padding-top: 32px; }
.dm-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.dm-page-label { margin: 0 0 4px; font-size: 13px; font-weight: 800; color: var(--accent-dark); }
.dm-page-title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.45; }
.dm-page-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

@media (max-width: 1100px) { .iss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .iss-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) {
  .ia-flow { grid-template-columns: minmax(0, 1fr); }
  .ia-arrow { transform: rotate(90deg); }
  .ms-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .pk-kv-issue .pk-kv-title .l2 { font-size: 44px; }
  .pk-kv-issue .pk-kv-title .l3 { font-size: 17px; }
  .iss-word { font-size: 24px; }
  .dm-title { font-size: 28px; }
  .dm-page-title { font-size: 20px; }
}

/* ===== 2026-11-25 図解とデモの入口（スタッフの画面・管理画面）===== */
/* 2つの画面のつながり：スタッフのスマホ → 裏で動くAIエージェント → 管理画面 */
.ax-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; counter-reset: ax; }
.ax-flow > li { position: relative; padding: 20px 20px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--pk-line, #E8DDD7); }
.ax-flow > li + li::before { content: ""; position: absolute; left: -27px; top: 50%; margin-top: -12px; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 16px solid var(--accent); }
.ax-f-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-family: "Inter", sans-serif; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.ax-f-h { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.ax-f-h small { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: 11.5px; font-weight: 700; vertical-align: 2px; }
.ax-f-who { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--accent-dark); }
.ax-f-t { margin: 0; font-size: 14px; line-height: 1.75; }
.ax-f-agent { background: linear-gradient(180deg, #2B140E, #3A1B13) !important; border-color: #3A1B13 !important; color: #fff; }
.ax-f-agent .ax-f-no { background: var(--accent); color: var(--on-accent); }
.ax-f-agent .ax-f-h { color: var(--accent); }
.ax-f-agent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ax-f-agent ul li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; font-size: 13px; line-height: 1.6; }
.ax-f-agent ul b { align-self: start; padding: 1px 6px; border-radius: 6px; background: rgba(226, 167, 46, .2); color: #F5D58A; font-size: 11.5px; text-align: center; white-space: nowrap; }
/* いま → これから */
.ba { display: grid; gap: 14px; margin-bottom: 28px; }
.ba-tag { display: inline-block; margin: 0 0 10px; padding: 3px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.ba-before { padding: 22px 26px; border-radius: 18px; background: #F1EEEC; border: 1px dashed #CFC6C0; }
.ba-before .ba-tag { background: #8A817B; color: #fff; }
.ba-lead { margin: 0 0 10px; font-size: 17px; font-weight: 800; line-height: 1.6; }
.ba-x { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ba-x li { position: relative; padding: 10px 12px 10px 34px; border-radius: 10px; background: #fff; font-size: 13.5px; line-height: 1.65; color: #5C514B; }
.ba-x li::before, .ba-x li::after { content: ""; position: absolute; left: 12px; top: 19px; width: 14px; height: 2px; background: #B3261E; transform: rotate(45deg); }
.ba-x li::after { transform: rotate(-45deg); }
.ba-arrow { display: grid; justify-items: center; gap: 4px; }
.ba-arrow span { padding: 4px 18px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13.5px; font-weight: 800; }
.ba-arrow::after { content: ""; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 16px solid var(--primary); }
.ba-after { padding: 22px 26px 24px; border-radius: 18px; background: var(--pk-cream, #FFF6E3); border: 2px solid #F0D79C; }
.ba-after .ba-tag { background: var(--accent); color: var(--on-accent); }
.ba-human { margin: 16px 0 0; padding: 12px 18px; border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.7; }
.ba-human b { margin-right: 10px; color: var(--primary); }
/* 2つの入口（画面の写真つき） */
.ax-entries { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; margin-top: 24px; }
.ax-entry { display: grid; grid-template-rows: 300px auto; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: .2s; }
.ax-entry:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(60, 25, 15, .16); }
.ax-entry-img { position: relative; overflow: hidden; background: linear-gradient(160deg, #3A160F, #6B2A1D); display: grid; justify-items: center; }
.ax-shot { display: block; margin-top: 26px; box-shadow: 0 16px 36px rgba(0, 0, 0, .4); background: #fff; }
.ax-shot-staff { width: 190px; height: auto; border: 5px solid #1F1A17; border-radius: 22px 22px 0 0; border-bottom: 0; }
.ax-shot-admin { width: 86%; height: auto; border: 4px solid #1F1A17; border-radius: 10px 10px 0 0; border-bottom: 0; }
.ax-entry-body { padding: 18px 22px 20px; display: grid; gap: 6px; align-content: start; }
.ax-entry-h { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.4; }
.ax-entry-h small { margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: 12px; font-weight: 700; vertical-align: 3px; }
.ax-entry-who { margin: 0; font-size: 13.5px; font-weight: 800; color: var(--accent-dark); }
.ax-entry ul { margin: 4px 0 8px; padding-left: 1.2em; font-size: 14px; line-height: 1.8; }
.ax-entry-go { justify-self: start; padding: 10px 22px; border-radius: 999px; background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: var(--on-cta); font-size: 15px; font-weight: 800; box-shadow: 0 6px 16px var(--cta-shadow); }
.ax-note { margin: 12px 0 0; font-size: 12.5px; color: var(--text-sub); text-align: center; }
.dm-page .ax-flow { margin-bottom: 8px; }
/* デモの一覧（課題ごとに2つの入口） */
.dm-how { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; counter-reset: how; }
.dm-how li { position: relative; padding: 10px 16px 10px 44px; border-radius: 12px; background: var(--bg-soft); font-size: 13.5px; line-height: 1.5; counter-increment: how; }
.dm-how li::before { content: counter(how); position: absolute; left: 12px; top: 50%; margin-top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: "Inter", sans-serif; font-weight: 800; font-size: 13px; }
.dm-how li + li::after { content: ""; position: absolute; left: -22px; top: 50%; margin-top: -7px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid var(--accent); }
.dm-how b { display: block; font-size: 14.5px; }
.dm-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.dm-card { padding: 0; gap: 0; overflow: hidden; }
.dm-card-main { display: grid; gap: 6px; padding: 20px 22px 14px; color: #fff; text-decoration: none; }
.dm-no { font-family: "Inter", sans-serif; font-style: italic; font-weight: 800; font-size: 13px; color: var(--accent); }
.dm-word { font-size: 28px; line-height: 1.3; }
.dm-line { font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .85); }
.dm-views { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: auto 0 0; background: rgba(255, 255, 255, .18); border-top: 1px solid rgba(255, 255, 255, .18); }
.dm-views a { display: grid; gap: 2px; padding: 12px 14px; background: rgba(0, 0, 0, .18); color: #fff; text-decoration: none; line-height: 1.4; transition: .2s; }
.dm-views a:hover { background: var(--accent); color: var(--on-accent); }
.dm-views b { font-size: 14.5px; }
.dm-views b::after { content: " ›"; }
.dm-views small { font-size: 11px; opacity: .85; }
/* 現場の相談：声を先に見せ、状況と進め方は押して開く。PCは3列、スマホは横に送る */
.pk-voice-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pk-voice-rail .pk-voice { display: block; margin: 0; }
.pk-voice-rail .pk-voice-main { padding: 22px 22px 16px; border-right: 0; }
.pk-voice-rail .pk-voice-q { font-size: 16px; line-height: 1.75; }
.pk-voice-more { border-top: 1px solid var(--border); }
.pk-voice-more summary { padding: 12px 22px; font-size: 13.5px; font-weight: 800; color: var(--primary); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.pk-voice-more summary::-webkit-details-marker { display: none; }
.pk-voice-more summary::after { content: "＋"; font-size: 16px; }
.pk-voice-more[open] summary::after { content: "－"; }
.pk-voice-more .pk-voice-line { padding: 4px 20px 18px 26px; }

@media (max-width: 960px) {
  .ax-flow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ax-flow > li + li::before { left: 50%; top: -24px; margin: 0 0 0 -12px; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 16px solid var(--accent); border-bottom: 0; }
  .ba-x { grid-template-columns: minmax(0, 1fr); }
  .ax-entries { grid-template-columns: minmax(0, 1fr); }
  .pk-voice-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .pk-voice-rail .pk-voice { scroll-snap-align: center; }
  .dm-how { gap: 22px; }
  .dm-how li { flex: 1 1 100%; }
  .dm-how li + li::after { left: 50%; top: -16px; margin: 0 0 0 -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--accent); border-bottom: 0; }
}
@media (max-width: 860px) {
  /* スマホでは冒頭の右の絵（下の図解と同じ中身）を出さない。ほかの課題は言葉だけを2列で */
  .pk-kv-issue .pk-kv-visual { display: none; }
  .pk-voices { padding: 32px 14px 22px; }
  .pk-voices-h { margin-bottom: 20px; }
  .ba-before, .ba-after { padding: 16px 14px 18px; }
  .ax-entry { grid-template-rows: 230px auto; }
  .ax-shot-staff { width: 150px; }
  .iss-others { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .iss-others .iss-agent, .iss-others .iss-pain { display: none; }
  .iss-others .iss-main { padding: 12px 14px 4px; }
  .iss-others .iss-word { font-size: 18px; margin: 0; }
  .iss-others .iss-links { padding: 0 14px 12px; font-size: 12.5px; gap: 2px 12px; }
}
/* 運営チームがやること／御社に残るもの（図解の下の2つ並び）・できること（押して開く） */
.pk-duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.pk-duo > div { padding: 20px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--pk-line, #E8DDD7); }
.pk-duo-we ul { list-style: none; margin: 0; padding: 0; }
.pk-duo-we li { position: relative; margin: 5px 0; padding-left: 24px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.pk-duo-we li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--primary); }
.pk-duo-we .pk-tri-h { color: var(--primary); }
.pk-duo-keep .pk-tri-h { color: var(--accent-dark); }
.pk-sup summary { font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.pk-sup summary::-webkit-details-marker { display: none; }
.pk-sup summary::after { content: "＋"; color: var(--primary); }
.pk-sup details[open] summary::after { content: "－"; }
.pk-sup details p { margin: 6px 0 0; }
@media (max-width: 960px) { .pk-duo { grid-template-columns: minmax(0, 1fr); } .pk-voice-rail { align-items: stretch; } }
