@charset "UTF-8";
/* =========================================================
   業務可視化ノート — 静的サイト共通スタイル
   ベース #036（紺）／強調 オレンジ系・赤系（#a00）
   ========================================================= */
:root {
  /* ベース（紺 #036 の彩度・明度違い） */
  --main: #036;
  --main-dk: #00264d;
  --main-md: #1f4f80;
  --main-lt: #4d7aa8;
  --main-pale: #dce7f2;
  --main-bg: #f2f6fa;
  /* 強調：オレンジ */
  --accent: #e8730c;
  --accent-dk: #c25a00;
  --accent-lt: #f6b26b;
  --accent-pale: #fff3e6;
  /* 強調：赤 */
  --red: #a00;
  --red-dk: #7a0000;
  --red-lt: #d25555;
  --red-pale: #fbeeee;
  /* 文字・線 */
  --text: #1e2a36;
  --text-sub: #56636f;
  --line: #d5dee8;
  --bg: #fff;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(0, 38, 77, .08);
  --shadow-hv: 0 6px 20px rgba(0, 38, 77, .16);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --w: 1200px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--main-bg); font-size: 16px; line-height: 1.85; letter-spacing: .02em; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--main-md); text-underline-offset: 3px; }
a:hover { color: var(--accent-dk); }
:focus-visible { outline: 3px solid var(--accent-lt); outline-offset: 2px; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.6em; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.4; transition: transform .15s, box-shadow .15s, background .15s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hv); }
.btn--accent { background: linear-gradient(180deg, #f28a2e, var(--accent)); color: #fff; box-shadow: 0 3px 0 var(--accent-dk); }
.btn--accent:hover { color: #fff; background: var(--accent-dk); }
.btn--main { background: var(--main); color: #fff; }
.btn--main:hover { background: var(--main-md); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--main); }
.btn--block { display: flex; width: 100%; }
.ic-caret::before { content: ""; display: inline-block; border: 5px solid transparent; border-left: 7px solid currentColor; border-right: 0; margin-right: .2em; }

/* ---------- ヘッダー ---------- */
.site-header { background: var(--main); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.site-header__inner { max-width: var(--w); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex-shrink: 0; }
.logo:hover { color: #fff; }
.logo__mark { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 42% 42%, transparent 9px, #fff 10px, #fff 13px, transparent 14px), var(--accent); position: relative; }
.logo__mark::after { content: ""; position: absolute; width: 4px; height: 13px; background: #fff; border-radius: 2px; right: 8px; bottom: 4px; transform: rotate(-45deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__tag { font-size: 11px; opacity: .85; letter-spacing: .08em; }
.logo__name { font-size: 22px; font-weight: 800; letter-spacing: .08em; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.gnav a { display: block; color: #fff; text-decoration: none; padding: 8px 10px; font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; }
.gnav a:hover, .gnav a[aria-current="page"] { border-bottom-color: var(--accent); color: #fff; }
.gnav a[href="/lp_sps_01.html"] { color: var(--accent-lt); }
.gnav__search { display: flex; background: rgba(255, 255, 255, .12); border-radius: 999px; overflow: hidden; }
.gnav__search input { background: transparent; border: 0; color: #fff; padding: 6px 12px; width: 150px; font: inherit; font-size: 13px; }
.gnav__search input::placeholder { color: rgba(255, 255, 255, .7); }
.gnav__search button, .search-box button[aria-label] { width: 36px; border: 0; background: transparent; cursor: pointer; position: relative; }
.gnav__search button::before { content: ""; position: absolute; left: 9px; top: 8px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; }
.gnav__search button::after { content: ""; position: absolute; left: 21px; top: 20px; width: 2px; height: 7px; background: #fff; transform: rotate(-45deg); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; transition: .2s; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { content: ""; left: 0; top: -7px; }
.nav-toggle span:first-child::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }

/* ---------- パンくず・レイアウト ---------- */
.crumb { max-width: var(--w); margin: 0 auto; padding: 12px 16px 0; font-size: 12px; color: var(--text-sub); }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumb li:not(:last-child)::after { content: "›"; margin: 0 .5em; color: var(--main-lt); }
.crumb a { color: var(--text-sub); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 20px 16px 48px; }
.wrap--side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.main { min-width: 0; }

/* ---------- 記事 ---------- */
.post { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 48px; }
.post__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--main-pale); color: var(--main); text-decoration: none; }
.tag:hover { background: var(--main); color: #fff; }
.post__title { font-size: 28px; line-height: 1.5; margin: 0 0 12px; color: var(--main-dk); }
.post__meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-sub); }
.meta__pub::before, .meta__mod::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--main-lt); margin-right: 6px; }
.meta__mod::before { background: var(--accent); }
.post__eyecatch { margin: 24px 0 0; }
.post__eyecatch img { border-radius: var(--radius); width: 100%; }

/* 本文 */
.entry { margin-top: 24px; }
.entry > * + * { margin-top: 1.4em; }
.entry p { margin: 0 0 1.4em; }
.entry h2 { font-size: 23px; line-height: 1.5; margin: 2.6em 0 1em; padding: .7em 1em; background: var(--main); color: #fff; border-radius: 6px; border-left: 8px solid var(--accent); }
.entry h3 { font-size: 20px; line-height: 1.5; margin: 2.2em 0 .9em; padding: .3em 0 .4em .8em; border-left: 6px solid var(--main); border-bottom: 1px solid var(--main-pale); color: var(--main-dk); }
.entry h4 { font-size: 17px; margin: 1.8em 0 .8em; padding-left: 1.4em; position: relative; color: var(--main-dk); }
.entry h4::before { content: ""; position: absolute; left: 0; top: .45em; width: .8em; height: .8em; border-radius: 50%; border: 3px solid var(--accent); }
.entry h2.is-style-stylenone, .entry .is-style-stylenone { background: none; color: var(--main-dk); border: 0; padding: 0; }
.entry strong { background: linear-gradient(transparent 62%, #ffe2c2 62%); }
.entry ul, .entry ol { padding-left: 1.6em; margin: 0 0 1.4em; }
.entry li { margin: .3em 0; }
.entry ul li::marker { color: var(--main-lt); }
.entry ol li::marker { color: var(--main); font-weight: 700; }
.entry a:not(.btn):not(.wp-block-button__link):not(.card__link):not(.related_article__link) { color: var(--main-md); text-decoration: underline; }
.entry a[target="_blank"]:not(:has(img))::after { content: "↗"; font-size: .8em; margin-left: .2em; }
.entry blockquote { margin: 1.6em 0; padding: 1.2em 1.4em 1.2em 3em; background: var(--main-bg); border-radius: var(--radius); position: relative; color: var(--text-sub); }
.entry blockquote::before { content: "“"; position: absolute; left: .4em; top: -.1em; font-size: 3em; color: var(--main-lt); font-family: Georgia, serif; }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry hr, .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry figure { margin: 1.6em 0; }
.entry figcaption, .wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--text-sub); text-align: center; margin-top: .5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.wp-caption { max-width: 100%; }
.has-text-align-center, .center { text-align: center; }
.has-text-align-right { text-align: right; }
.clear, .cf::after { clear: both; }
.cf::after { content: ""; display: table; }
.entry::after { content: ""; display: table; clear: both; }
.entry iframe { max-width: 100%; }
.wp-block-embed__wrapper { position: relative; }
.wp-has-aspect-ratio .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-4-3 .wp-block-embed__wrapper { aspect-ratio: 4 / 3; }
.wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry iframe[src*="youtube"]:not(.wp-has-aspect-ratio iframe) { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.entry details { border: 1px solid var(--line); border-radius: var(--radius); padding: .8em 1.2em; }
.entry details summary { cursor: pointer; font-weight: 700; color: var(--main); }

/* マーカー・下線 */
.span-stk-maker-yellow, .bg-yellow { background: linear-gradient(transparent 55%, #ffe58a 55%); }
.span-stk-maker-blue { background: linear-gradient(transparent 55%, #cfe1f5 55%); }
.underline_yellow { background: linear-gradient(transparent 60%, #ffe58a 60%); }
.underline_pink { background: linear-gradient(transparent 60%, #f9cfd6 60%); }
.entry [style*="#C00000"], .entry [style*="#c00000"], .entry [style*="#ff0000"] { color: var(--red) !important; }

/* 表 */
.table-scroll, .stk-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; background: #fff; }
.entry th, .entry td { border: 1px solid var(--line) !important; padding: 10px 12px !important; vertical-align: top; }
.entry thead th, .entry th { background: var(--main) !important; color: #fff; font-weight: 700; text-align: left; }
.entry tbody th { background: var(--main-pale) !important; color: var(--main-dk); }
.entry tbody tr:nth-child(even) td { background: var(--main-bg); }
.wp-block-table { margin: 1.6em 0; overflow-x: auto; }
.wp-block-table figcaption { text-align: left; }
.has-fixed-layout { table-layout: auto; }

/* 目次 */
.toc { margin: 2em 0; border: 2px solid var(--main-pale); border-radius: var(--radius); background: var(--main-bg); }
.toc details { padding: 0; border: 0; }
.toc__title { list-style: none; cursor: pointer; padding: .8em 1.2em; font-weight: 800; color: var(--main); display: flex; align-items: center; gap: .5em; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::before { content: "≡"; display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; background: var(--main); color: #fff; border-radius: 4px; }
.toc__title::after { content: "閉じる"; margin-left: auto; font-size: 12px; color: var(--text-sub); font-weight: 400; }
.toc details:not([open]) .toc__title::after { content: "開く"; }
.toc__list { margin: 0 !important; padding: 0 1.4em 1.2em 2.6em !important; font-size: 15px; }
.toc__list ol { padding-left: 1.4em !important; margin: .2em 0 .4em !important; font-size: 14px; }
.toc a { color: var(--text) !important; text-decoration: none !important; }
.toc a:hover { color: var(--accent-dk) !important; text-decoration: underline !important; }

/* ボックス（STORK の cbox） */
.cbox { position: relative; margin: 2em 0; padding: 1.2em 1.4em; border: 2px solid var(--main-lt); border-radius: var(--radius); background: #fff; }
.cbox.intitle { padding-top: 1.8em; }
.cbox .box_title { position: absolute; top: -.85em; left: 1em; }
.span__box_title { display: inline-block; padding: .1em .9em; border-radius: 4px; background: var(--main-lt); color: #fff; font-weight: 700; font-size: 14px; line-height: 1.7; }
.cboxcomment > :last-child { margin-bottom: 0; }
.cbox ul, .cbox ol { margin-bottom: 0; }
.is-style-blue_box, .is-style-site_color, .is-style-glay_blue { border-color: var(--main-lt); background: var(--main-bg); }
.is-style-site_color .span__box_title, .is-style-blue_box .span__box_title { background: var(--main); }
.is-style-green_box, .is-style-rich_green { border-color: #5aa469; background: #f1f8f2; }
.is-style-green_box .span__box_title, .is-style-rich_green .span__box_title { background: #3f8a4f; }
.is-style-pink_box { border-color: var(--red-lt); background: var(--red-pale); }
.is-style-pink_box .span__box_title { background: var(--red); }
.is-style-yellow_box, .is-style-rich_orange.cbox { border-color: var(--accent-lt); background: var(--accent-pale); }
.is-style-yellow_box .span__box_title, .is-style-rich_orange.cbox .span__box_title { background: var(--accent); }
.is-style-gray_box, .is-style-glay_box { border-color: #b8c2cc; background: #f5f7f9; }
.is-style-gray_box .span__box_title, .is-style-glay_box .span__box_title { background: #6b7782; }
.is-style-white_box { border-color: var(--line); }
.wp-block-stk-plugin-cbox-notitle, .cbox.type_simple { padding-top: 1.2em; }

/* 補足（supplement） */
.supplement { margin: 1.6em 0; padding: 1em 1.2em 1em 3.2em; border-radius: var(--radius); background: var(--main-bg); position: relative; font-size: 15px; }
.supplement::before { content: "i"; position: absolute; left: 1em; top: 1em; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--main-lt); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; font-family: Georgia, serif; }
.supplement > :last-child { margin-bottom: 0; }
.is-style-supplement-warning { background: var(--red-pale); }
.is-style-supplement-warning::before { content: "!"; background: var(--red); }
.is-style-supplement-hint { background: var(--accent-pale); }
.is-style-supplement-hint::before { content: "✓"; background: var(--accent); }
.supplement.is-style-border, .is-style-supplement-border { background: #fff; border: 2px dashed var(--main-pale); }

/* 吹き出し（voice） */
.voice { display: flex; gap: 16px; margin: 2em 0; align-items: flex-start; }
.voice.r { flex-direction: row-reverse; }
.voice .icon { margin: 0; flex: 0 0 72px; text-align: center; }
.voice .icon img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--main-pale); }
.voice .name { font-size: 11px; color: var(--text-sub); margin-top: 4px; line-height: 1.3; }
.voicecomment { position: relative; flex: 1; background: var(--main-bg); border: 2px solid var(--main-pale); border-radius: 12px; padding: 1em 1.2em; }
.voicecomment > :last-child { margin-bottom: 0; }
.voicecomment::before { content: ""; position: absolute; top: 22px; left: -12px; border: 6px solid transparent; border-right: 10px solid var(--main-pale); border-left: 0; }
.voice.r .voicecomment::before { left: auto; right: -12px; border-right: 0; border-left: 10px solid var(--main-pale); border-right-width: 0; border-left-width: 10px; }
.voice.r .voicecomment { background: var(--accent-pale); border-color: #f8d6b3; }
.voice.r .voicecomment::before { border-left-color: #f8d6b3; }

/* ステップ */
.stk_step { counter-reset: step var(--first_num, 0); margin: 2em 0; }
.stk_step__child { counter-increment: step; position: relative; padding: 0 0 1.4em 72px; }
.stk_step__child:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--main-pale); }
.stk_step__label { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--main); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1; }
.__labeltext { font-size: 10px; letter-spacing: .1em; }
.stk_step__label::after { content: counter(step); font-size: 20px; font-weight: 800; display: block; margin-top: 2px; }
.stk_step__content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1em 1.2em; }
.stk_step__content > :last-child { margin-bottom: 0; }
.stk_step__content > p:first-child strong { background: none; color: var(--main-dk); font-size: 1.05em; }

/* FAQ */
.oc-faq { margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.oc-faq__title { position: relative; padding: 1em 1.2em 1em 3.4em; font-weight: 700; background: var(--main-bg); color: var(--main-dk); }
.oc-faq__comment { position: relative; margin: 0; padding: 1em 1.2em 1em 3.4em; }
.oc-faq__title::before, .oc-faq__comment::before { position: absolute; left: 1em; top: .9em; width: 1.7em; height: 1.7em; border-radius: 6px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 14px; }
.oc-faq__title::before { content: "Q"; background: var(--main); }
.oc-faq__comment::before { content: "A"; background: var(--accent); }
.oc-faq__comment > :last-child { margin-bottom: 0; }

/* ボタン（本文） */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 2em 0; }
.wp-block-button__link { display: inline-flex; align-items: center; gap: .3em; padding: .9em 2em; border-radius: 999px; background: var(--main); color: #fff !important; font-weight: 700; text-decoration: none !important; transition: .15s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-hv); }
.is-style-rich_orange .wp-block-button__link, .is-style-big .wp-block-button__link { background: linear-gradient(180deg, #f28a2e, var(--accent)); box-shadow: 0 3px 0 var(--accent-dk); }
.is-style-big .wp-block-button__link { font-size: 1.1em; padding: 1em 2.6em; }
.stk-shiny-button .wp-block-button__link { position: relative; overflow: hidden; }
.stk-shiny-button .wp-block-button__link::after { content: ""; position: absolute; top: -50%; left: -60%; width: 30%; height: 200%; background: rgba(255, 255, 255, .35); transform: rotate(25deg); animation: shiny 3.5s infinite; }
@keyframes shiny { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .stk-shiny-button .wp-block-button__link::after { animation: none; } html { scroll-behavior: auto; } }

/* 関連記事カード（本文中） */
.related_article, .embed-card { margin: 1.6em 0; }
.related_article__link, .blog_card a { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none !important; color: var(--text) !important; transition: .15s; }
.related_article__link:hover { box-shadow: var(--shadow-hv); border-color: var(--main-lt); }
.related_article .eyecatch { flex: 0 0 160px; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; }
.related_article .eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.related_article__ttl, .blog_card__title { font-weight: 700; line-height: 1.6; font-size: 15px; }
.labeltext { display: inline-block; font-size: 11px; background: var(--accent); color: #fff; padding: 0 .6em; border-radius: 3px; margin-right: .5em; vertical-align: 2px; }
.related_article .time__date, .blog_card .time__date { display: block; font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.blog_card__excerpt, .blog_card__sitename { font-size: 13px; color: var(--text-sub); }
.embed-card .card { flex-direction: row; }

/* 総合案内と周りの記事（ビルドが自動で入れる。2026-11-10） */
.hub-guide, .hub-index { margin: 2.4em 0 1.2em; padding: 16px 18px 6px; border: 2px solid var(--main-pale); border-radius: var(--radius); background: var(--main-bg); }
.hub-guide__label, .hub-index__label { margin: 0 0 .3em; font-weight: 700; color: var(--main); font-size: 16px; }
.hub-guide__label::before, .hub-index__label::before { content: ""; display: inline-block; width: 4px; height: 1em; margin-right: .5em; background: var(--accent); vertical-align: -2px; border-radius: 2px; }
.hub-guide__lead, .hub-index__lead { margin: 0 0 .6em; font-size: 14px; color: var(--text-sub); }
.hub-guide .embed-card { margin: .6em 0 .9em; }
.hub-index__list { margin: 0 0 .8em; padding-left: 1.3em; }
.hub-index__list li { margin: .35em 0; line-height: 1.6; }
.hub-guide + .hub-index, .hub-index + .hub-guide { margin-top: 1.2em; }

/* 段組み（旧エディタ） */
.column-wrap { display: flex; flex-wrap: wrap; gap: 20px; }
.column_2 { flex: 1 1 280px; }
.stk_grids { display: grid; grid-template-columns: repeat(var(--gridcolumn_pc, 2), minmax(0, 1fr)); gap: var(--gridgap_pc, 16px); }
.stk-hidden_pc { display: none; }
.cat_postlist__ul { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

/* シェア・CTA・著者・前後 */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.share__label { font-size: 13px; font-weight: 700; color: var(--text-sub); margin-right: 8px; }
.share a { flex: 1 1 90px; text-align: center; padding: 8px; border-radius: 6px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.share__x { background: #111; } .share__fb { background: #1877f2; } .share__hb { background: #00a4de; } .share__line { background: #06c755; }
.share a:hover { opacity: .85; color: #fff; }
.cta { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; margin: 40px 0; padding: 28px; border-radius: 12px; background: linear-gradient(135deg, var(--main) 0%, var(--main-md) 100%); color: #fff; box-shadow: var(--shadow); }
.cta__img img { border-radius: 6px; background: #fff; }
.cta__label { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 4px; background: var(--red); font-size: 12px; font-weight: 700; }
.cta__title { margin: 0 0 8px; font-size: 21px; font-weight: 800; line-height: 1.5; }
.cta__text { margin: 0 0 16px; font-size: 14px; opacity: .92; }
/* 目次の下の CTA（本文の中に入るので、本文の段落の余白を打ち消す） */
.entry .cta { margin: 2em 0; }
.entry .cta__label { margin: 0 0 6px; }
.entry .cta__title { margin: 0 0 8px; }
.entry .cta__text { margin: 0 0 16px; }
.author { display: flex; gap: 16px; align-items: flex-start; margin: 32px 0 0; padding: 20px; border-radius: var(--radius); background: var(--main-bg); }
.author__img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow); flex-shrink: 0; }
.author__label { margin: 0; font-size: 12px; color: var(--accent-dk); font-weight: 700; }
.author__name { margin: 0 0 6px; font-weight: 800; color: var(--main-dk); }
.author__name span { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; line-height: 1.6; color: var(--text-sub); }  /* 社名は名前の次の行に */
.author__bio { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-sub); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.prevnext a { display: block; padding: 14px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text); font-size: 14px; line-height: 1.6; }
.prevnext a:hover { box-shadow: var(--shadow-hv); color: var(--main); }
.prevnext span { display: block; font-size: 12px; color: var(--accent-dk); font-weight: 700; }
.prevnext__next { text-align: right; }

/* ---------- カード一覧 ---------- */
.section-title { font-size: 22px; color: var(--main-dk); margin: 0 0 16px; padding-bottom: 8px; position: relative; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--main) 50%, var(--accent) 50%); }
.related { margin-top: 32px; }
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hv); }
.card__link { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.card__link:hover { color: var(--main); }
.card__img { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--main-pale); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__cat { position: absolute; left: 0; top: 0; background: var(--main); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-bottom-right-radius: 6px; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 15px; line-height: 1.6; margin: 0 0 8px; font-weight: 700; }
.card__date { margin-top: auto; font-size: 12px; color: var(--text-sub); display: flex; align-items: center; gap: 4px; }
/* 日付のアイコン：公開日＝時計、更新日＝回転の矢印（旧サイトと同じ見せ方） */
.card__date::before { content: ""; flex: 0 0 auto; width: 1.1em; height: 1.1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.card__date--mod::before { background: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E"); }
.card--s .card__link { flex-direction: row; }
.card--s .card__img { flex: 0 0 180px; aspect-ratio: auto; }
.card--s .card__title { font-size: 15px; }
.embed-card .card { box-shadow: none; border: 1px solid var(--line); }
.embed-card .card__title { text-decoration: none; }

/* ---------- アーカイブ ---------- */
.archive-head { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; margin-bottom: 24px; border-top: 5px solid var(--main); }
.archive-head__label { margin: 0; font-size: 12px; font-weight: 700; color: var(--accent-dk); letter-spacing: .1em; }
.archive-head__title { margin: 0 0 8px; font-size: 26px; color: var(--main-dk); }
.archive-head__desc { margin: 0; font-size: 14px; color: var(--text-sub); }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; gap: 6px; align-items: center; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--main-pale); background: var(--main-bg); font-size: 13px; text-decoration: none; color: var(--main); }
.chips a:hover { background: var(--main); color: #fff; }
.chips span { font-size: 11px; background: #fff; color: var(--main); border-radius: 999px; padding: 0 6px; }

/* ---------- サイドバー ---------- */
/* サイドバーはふつうにスクロールし、最後の追尾エリア（資料の案内）だけがページの終わりまで画面に残る */
.sidebar { display: flex; flex-direction: column; gap: 24px; align-self: stretch; }
.sidebar__follow { position: sticky; top: 84px; }
.widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.widget__title { font-size: 16px; margin: 0 0 12px; padding: 6px 12px; background: var(--main); color: #fff; border-radius: 4px; }
.widget--cta img { border-radius: 6px; margin-bottom: 12px; }
.widget--author { padding: 0; background: none; box-shadow: none; }
.widget--author .author { margin: 0; flex-direction: column; align-items: center; text-align: center; background: #fff; box-shadow: var(--shadow); }
.mini-list, .cat-list { list-style: none; margin: 0; padding: 0; }
.mini-list li + li { border-top: 1px solid var(--line); }
.mini-list a { display: flex; gap: 10px; padding: 10px 0; text-decoration: none; color: var(--text); font-size: 13px; line-height: 1.5; }
.mini-list a:hover { color: var(--main); }
.mini-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: 8px 4px; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--text); font-size: 14px; }
.cat-list a:hover { color: var(--accent-dk); }
.cat-list a span { font-size: 11px; background: var(--main-pale); color: var(--main); border-radius: 999px; padding: 0 8px; align-self: center; }
.cat-list ul { list-style: none; padding-left: 1em; margin: 0; }
.cat-list ul a { font-size: 13px; color: var(--text-sub); }

/* ---------- トップ ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; padding: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--main-dk) 0%, var(--main) 55%, var(--main-md) 100%); color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(232, 115, 12, .18); }
.hero__tag { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; color: var(--accent-lt); font-weight: 700; }
.hero__title { margin: 0 0 12px; font-size: 30px; line-height: 1.45; }
.hero__title em { font-style: normal; color: #fff; background: linear-gradient(transparent 65%, rgba(232, 115, 12, .8) 65%); }
.hero__lead { margin: 0 0 20px; font-size: 14px; opacity: .92; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__img { position: relative; }
/* 資料の表紙と中のページを重ねた画像（影は画像に入っている。背景は透明） */
.hero__img a { display: block; }
.hero__img img { display: block; width: 100%; transition: transform .2s ease; }
.hero__img a:hover img { transform: translateY(-4px); }
.topics { margin: 20px 0 8px; }
.topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics a { display: block; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); text-decoration: none; font-size: 13px; font-weight: 700; color: var(--main); }
.topics a:hover { background: var(--main); color: #fff; }
.home-sec { margin-top: 36px; }
.home-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.more { font-size: 13px; font-weight: 700; color: var(--accent-dk); text-decoration: none; margin-bottom: 16px; white-space: nowrap; }
.more::after { content: " →"; }

/* ---------- 検索・404 ---------- */
.search-box { display: flex; gap: 8px; margin: 20px 0; }
.search-box input { flex: 1; padding: 10px 14px; border: 2px solid var(--main-pale); border-radius: 999px; font: inherit; }
.search-box input:focus { border-color: var(--main-lt); outline: none; }
.search-count { color: var(--text-sub); font-size: 14px; }
.notfound p { margin: 1em 0; }

/* ---------- 固定ページ・LP ---------- */
.post--page .entry h2 { font-size: 21px; }
.is-lp .wrap { max-width: 920px; }
.is-lp .post { padding: 32px; }
.txtFormTitle { font-size: 20px; font-weight: 800; color: var(--main-dk); margin: .4em 0 1em; }
.stk-pd-default { padding: 24px; border-radius: var(--radius); background: var(--main-bg); }
.hs-form-frame, .hbspt-form { margin: 1em 0; }
.contact-box { padding: 24px; border-radius: var(--radius); background: var(--main-bg); border: 2px solid var(--main-pale); }

/* セミナー案内枠（DXナビのオンデマンドセミナー。build.py の SEMINARS） */
.seminar-cta { position: relative; margin: 2.4em 0; padding: 28px 28px 24px; border-radius: 12px; background: linear-gradient(135deg, var(--main-bg) 0%, #fff 60%); border: 2px solid var(--main-pale); border-left: 8px solid var(--main); box-shadow: var(--shadow); }
.seminar-cta::after { content: "ON DEMAND"; position: absolute; right: 16px; top: 14px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--main-lt); }
.seminar-cta__badge { display: inline-block; margin: 0 0 8px !important; padding: 2px 12px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.seminar-cta__title { margin: 0 0 8px !important; font-size: 20px; font-weight: 800; line-height: 1.5; color: var(--main-dk); }
.seminar-cta__lead { margin: 0 0 12px !important; font-size: 14px; color: var(--text-sub); }
.seminar-cta__facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0 !important; margin: 0 0 16px !important; }
.seminar-cta__facts li { margin: 0; padding: 3px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--main-pale); font-size: 12px; font-weight: 700; color: var(--main); }
.seminar-cta__facts li::before { content: "✓ "; color: var(--accent); }
.seminar-cta__list { list-style: none; padding: 0 !important; margin: 0 0 16px !important; display: grid; gap: 8px; }
.seminar-cta__list li { margin: 0; }
.seminar-cta__list a { display: block; padding: 10px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--text) !important; text-decoration: none !important; font-size: 14px; font-weight: 700; line-height: 1.6; transition: border-color .15s, box-shadow .15s; }
.seminar-cta__list a:hover { border-color: var(--main-lt); box-shadow: var(--shadow); color: var(--main) !important; }
.seminar-cta__list a::after { content: none !important; }
.seminar-cta__list span { display: block; font-size: 11px; color: var(--accent-dk); }
.seminar-cta__btn { margin: 0 !important; text-align: center; }
.seminar-cta__btn .btn::after { content: none !important; }
@media (max-width: 640px) {
  .seminar-cta { padding: 22px 16px 18px; border-left-width: 6px; }
  .seminar-cta::after { display: none; }
  .seminar-cta__title { font-size: 17px; }
  .seminar-cta__btn .btn { width: 100%; }
}

/* HubSpot フォーム（中身の装飾は main.js が iframe に差し込む） */
.kn-form-card { margin: 2em 0; padding: 28px 32px; border-radius: 12px; background: #fff; border: 2px solid var(--main-pale); border-top: 6px solid var(--main); box-shadow: var(--shadow); }
.kn-form-head { display: flex; align-items: center; gap: 12px; margin: 0 0 1.2em !important; padding-bottom: .8em; border-bottom: 2px dashed var(--main-pale); }
.kn-form-head img { width: 48px; height: auto; flex-shrink: 0; }
.kn-form-head .txtFormTitle { margin: 0; font-size: 20px; font-weight: 800; color: var(--main-dk); }
.kn-form-head .txtFormTitle::before { content: ""; display: inline-block; width: 6px; height: 1.1em; margin-right: 10px; border-radius: 3px; background: var(--accent); vertical-align: -3px; }
.kn-hsform { min-height: 120px; }
.kn-hsform iframe { width: 100% !important; border: 0; display: block; }
.kn-hsform__loading { margin: 0; padding: 40px 0; text-align: center; color: var(--text-sub); font-size: 14px; }
.kn-hsform__loading::before { content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 10px; border: 3px solid var(--main-pale); border-top-color: var(--main); border-radius: 50%; animation: knspin .8s linear infinite; }
@keyframes knspin { to { transform: rotate(360deg); } }
.kn-form-note { margin: 1.2em 0 0 !important; padding: 12px 16px; border-radius: var(--radius); background: var(--main-bg); font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.kn-form-sub { font-size: 13px; color: var(--text-sub); }
.stk-pd-default .kn-hsform { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
@media (max-width: 640px) {
  .kn-form-card { padding: 20px 16px; margin-left: -4px; margin-right: -4px; }
  .stk-pd-default { padding: 16px 12px; }
  .stk-pd-default .kn-hsform { padding: 16px 12px; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--main-dk); color: rgba(255, 255, 255, .85); font-size: 14px; position: relative; }
.site-footer__inner { max-width: var(--w); margin: 0 auto; padding: 40px 16px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer__name { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px; letter-spacing: .08em; }
.site-footer__brand p { margin: 0 0 16px; }
.site-footer__h { margin: 0 0 8px; color: #fff; font-weight: 700; border-left: 4px solid var(--accent); padding-left: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: block; padding: 4px 0; color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer li a:hover { color: var(--accent-lt); }
.ext-icon { display: inline-block; width: .8em; height: .8em; margin-left: .3em; vertical-align: -.02em; opacity: .85; }
.copyright { margin: 0; padding: 14px 16px; text-align: center; font-size: 12px; background: rgba(0, 0, 0, .25); }
.to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); box-shadow: var(--shadow-hv); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.to-top::before { content: ""; position: absolute; left: 15px; top: 17px; width: 12px; height: 12px; border-top: 3px solid #fff; border-left: 3px solid #fff; transform: rotate(45deg); }
.to-top.is-show { opacity: 1; pointer-events: auto; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .wrap--side { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .sidebar__follow { display: none; }  /* 記事の下に並ぶので、追尾の資料の案内は出さない（上の資料の案内と重なる） */
  .gnav__search input { width: 110px; }
}
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--main-dk); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0, 0, 0, .2); }
  .gnav.is-open { display: flex; }
  .gnav ul { flex-direction: column; }
  .gnav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .gnav__search { margin-top: 12px; }
  .gnav__search input { width: 100%; flex: 1; padding: 10px 14px; }
  .site-header__inner { position: relative; }
}
@media (max-width: 960px) {
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero__img { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .logo__name { font-size: 18px; }
  .logo__mark { width: 34px; height: 34px; }
  .post { padding: 24px 16px; border-radius: 0; margin: 0 -16px; box-shadow: none; }
  .post__title { font-size: 22px; }
  .entry h2 { font-size: 19px; padding: .6em .8em; }
  .entry h3 { font-size: 17px; }
  .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .card--s .card__img { flex-basis: 120px; }
  .related_article .eyecatch { flex-basis: 110px; }
  .cta { grid-template-columns: 1fr; padding: 20px; }
  .cta__title { font-size: 18px; }
  .hero { padding: 24px 20px; }
  .hero__title { font-size: 23px; }
  .archive-head { padding: 20px; }
  .prevnext { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .alignleft, .alignright { float: none; margin: 1em auto; display: block; }
  .stk_grids { grid-template-columns: repeat(var(--gridcolumn_sp, 1), minmax(0, 1fr)); }
  .stk-hidden_pc { display: inline; }
  .stk_step__child { padding-left: 60px; }
  .stk_step__label { width: 46px; height: 46px; }
  .stk_step__child:not(:last-child)::before { left: 22px; top: 46px; }
  .voice .icon { flex-basis: 56px; }
  .voice .icon img { width: 56px; height: 56px; }
  .home-sec__head { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media print {
  .site-header, .sidebar, .site-footer, .share, .cta, .related, .prevnext, .to-top { display: none !important; }
  .wrap--side { display: block; }
  .post { box-shadow: none; padding: 0; }
}
