/* FAD（ファイル権限デザイナー）製品サイト 2026.10 */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1d6fe0;
  --blue-dark: #1556b3;
  --cyan: #2ec5d3;
  --ink: #1f2937;
  --muted: #5b6676;
  --line: #e3e8ef;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(11, 31, 58, .14);
  --font: "Segoe UI", "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.8; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 31, 58, .92); backdrop-filter: blur(10px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--cyan), var(--blue)); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.brand small { display: block; font-size: 11px; font-weight: 400; opacity: .7; line-height: 1.2; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: rgba(255, 255, 255, .82); padding: 8px 12px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--white); background: rgba(255, 255, 255, .1); text-decoration: none; }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 26px; cursor: pointer; }

/* ボタン */
.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(29, 111, 224, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-outline { color: var(--blue); border: 1px solid var(--blue); background: var(--white); }

/* ヒーロー */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(1200px 500px at 85% -10%, rgba(46, 197, 211, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #1b4a8a 100%); padding: 84px 0 0; }
.hero .eyebrow { display: inline-block; font-size: 13px; letter-spacing: .12em; color: var(--cyan); border: 1px solid rgba(46, 197, 211, .5); border-radius: 999px; padding: 4px 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.25; margin: 0 0 18px; letter-spacing: .01em; }
.hero h1 .grad { background: linear-gradient(90deg, #7fe3ec, #9cc3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 720px; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 54px; }
.hero .shot { border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -10px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .15); border-bottom: 0; }

/* 数字 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: -1px 0 0; padding: 36px 0; border-bottom: 1px solid var(--line); }
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--navy); line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); }

/* セクション */
section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; line-height: 1.35; }
.section-head p { color: var(--muted); margin: 0; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, rgba(46, 197, 211, .18), rgba(29, 111, 224, .18)); margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #e8f1ff; color: var(--blue); margin-left: 6px; vertical-align: middle; }
.badge.new { background: #e6fbf6; color: #0f8b72; }
.badge.ee { background: #fff4e0; color: #b26a00; }

/* 機能の行（画像と説明を左右に） */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse { grid-template-columns: 1.15fr 1fr; }
.feature.reverse .text { order: 2; }
.feature h3 { font-size: 24px; margin: 6px 0 12px; line-height: 1.4; }
.feature p { color: var(--muted); }
.feature ul { padding-left: 1.2em; color: var(--ink); margin: 12px 0 0; }
.feature li { margin: 4px 0; }
.frame { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--white); }

/* 表 */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
th { background: var(--bg-soft); font-weight: 700; }
td.center, th.center { text-align: center; }
.yes { color: #0f8b72; font-weight: 700; }
.no { color: #b0b8c4; }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: var(--white); position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -12px; left: 26px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 32px; font-weight: 800; color: var(--navy); margin: 10px 0 4px; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan .plan-sub { margin: 0 0 8px; font-size: 13px; color: var(--blue); font-weight: 600; }
.plan ul { padding-left: 1.2em; color: var(--muted); font-size: 15px; }

/* What's new */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.release { position: relative; padding: 0 0 40px 44px; }
.release::before { content: ""; position: absolute; left: 3px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); }
.release h3 { margin: 0; font-size: 22px; }
.release .date { color: var(--muted); font-size: 14px; }
.release ul { margin: 12px 0 0; padding-left: 1.2em; }
.release li { margin: 6px 0; }

/* お知らせの帯 */
.notice { background: linear-gradient(90deg, #e9f6ff, #eefcf9); border: 1px solid #cfe7fb; border-radius: var(--radius); padding: 18px 22px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notice b { color: var(--navy); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy), #1b4a8a); color: var(--white); border-radius: 20px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; font-size: 26px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .8); }

/* ページの見出し（下層ページ） */
.page-head { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--white); padding: 64px 0 56px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 40px); }
.page-head p { margin: 0; color: rgba(255, 255, 255, .78); }

/* フッター */
.site-footer { background: #0a1730; color: rgba(255, 255, 255, .7); padding: 48px 0 28px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 28px; }   /* 2026.11 3 製品の相互リンク（エクシード・ワンの製品）の列を追加 */
.site-footer h4 { color: var(--white); margin: 0 0 10px; font-size: 14px; }
.site-footer a { color: rgba(255, 255, 255, .7); display: block; padding: 2px 0; }
.site-footer a:hover { color: var(--white); }
.site-footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 18px; font-size: 12px; }

/* スマートフォン */
@media (max-width: 900px) {
  .cards, .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 24px; }
  .feature.reverse .text { order: 0; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .cta { padding: 32px; }
}

/* メニューが 1 行に収まらない幅（タブレット・小さめのノート PC）は折りたたむ */
@media (max-width: 1200px) { .nav a { padding: 8px 9px; } .brand { white-space: nowrap; } }
@media (max-width: 1024px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--navy); padding: 10px 4%; align-items: stretch; z-index: 50; }
  .nav.open { display: flex; }
  .nav .btn { margin-left: 0; }
  .nav-toggle { display: block; }
}

/* マニュアル（章ごとのページ） */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 40px 0 72px; align-items: start; }
.doc-nav { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 14px; border-right: 1px solid var(--line); padding-right: 16px; }
.doc-nav .doc-home { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.doc-nav ol { list-style: none; margin: 0; padding: 0; }
.doc-nav li a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--muted); }
.doc-nav li a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.doc-nav li a.active { background: #e8f1ff; color: var(--blue); font-weight: 700; }
.doc { min-width: 0; }
.doc-kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.doc h1 { font-size: clamp(26px, 3vw, 34px); margin: 4px 0 18px; line-height: 1.35; }
.doc h2 { font-size: 21px; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.doc p { margin: 10px 0; }
.doc .step { display: grid; grid-template-columns: 52px 1fr; gap: 10px; margin: 18px 0 8px; }
.doc .step .num { display: inline-grid; place-items: center; height: 26px; border-radius: 999px; background: #e8f1ff; color: var(--blue); font-weight: 700; font-size: 13px; }
.doc figure { margin: 14px 0 22px; }
.doc figure img { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgba(11, 31, 58, .08); background: var(--white); }
.doc table { margin: 14px 0 22px; font-size: 14px; }
.doc th, .doc td { padding: 8px 10px; }
.doc-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 14px 34px; margin: 0 0 24px; }
.doc-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; }
.doc-index { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.doc-index a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; }
.doc-index a:hover { box-shadow: var(--shadow); text-decoration: none; }
.doc-index .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, rgba(46, 197, 211, .2), rgba(29, 111, 224, .2)); color: var(--navy); font-weight: 800; }
.doc-nav summary { display: none; }
@media (max-width: 800px) {
  .doc-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .doc-nav { position: static; max-height: none; border-right: 0; padding: 0; }
  .doc-nav summary { display: block; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--navy); background: var(--bg-soft); }
  .doc-nav details[open] summary { margin-bottom: 8px; }
  .doc-index { grid-template-columns: 1fr; }
}
/* What's new の画像・表・グラフ */
.rel-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 6px; align-items: start; }
.rel-gallery figure { margin: 0; }
.rel-gallery figure:first-child { grid-column: 1 / -1; }
.rel-gallery img { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgba(11, 31, 58, .08); background: var(--white); }
.rel-gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; text-align: center; }
.sheet { margin: 18px 0 6px; border: 1px solid #c9d3df; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(11, 31, 58, .08); }
.sheet table { border: 0; border-radius: 0; font-size: 13px; }
.sheet th { background: #2f6f3e; color: var(--white); padding: 7px 10px; white-space: nowrap; }
.sheet td { padding: 7px 10px; white-space: nowrap; font-family: "Yu Gothic UI", Meiryo, sans-serif; }
.sheet-tabs { display: flex; gap: 2px; background: #e9edf2; padding: 6px 8px 0; font-size: 12px; }
.sheet-tabs span { padding: 4px 14px; background: #dfe5ec; border-radius: 6px 6px 0 0; color: var(--muted); }
.sheet-tabs span.on { background: var(--white); color: #2f6f3e; font-weight: 700; }
.perf { margin: 18px 0 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.perf-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; margin: 10px 0; font-size: 14px; }
.perf .bars { display: block; }
.perf .bar { height: 20px; border-radius: 6px; margin: 4px 0; position: relative; min-width: 5px; }
.perf .bar span { position: absolute; left: calc(100% + 8px); top: 0; line-height: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.perf .bar.old { background: #c3ccd8; }
.perf .bar.old span { color: #3b4656; }
.perf .bar.new { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.perf .bar.new span { color: var(--blue); }
.perf .bar.old[style*="100%"] span, .perf .bar.old[style*="87%"] span { left: auto; right: 8px; }.perf-legend { font-size: 12px; color: var(--muted); margin-top: 10px; }
.perf-legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
.perf-legend .sw.old { background: #c3ccd8; }
.perf-legend .sw.new { background: var(--blue); }
@media (max-width: 900px) { .rel-gallery { grid-template-columns: 1fr; } .perf-row { grid-template-columns: 1fr; } }
/* 会社サイトへ戻る帯 */
.topbar { background: #071327; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; }
.topbar a { color: rgba(255, 255, 255, .72); }
.topbar a:hover { color: var(--white); text-decoration: none; }
.topbar a.home { font-weight: 600; }
/* 右側: 関連会社のエクシード・ワンと、そのサイトのメニュー */
.topbar .tb-label { font-size: 11px; color: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 0 8px; line-height: 18px; margin-right: -8px; }
.topbar a.tb-co { font-weight: 600; color: rgba(255, 255, 255, .85); }
.topbar nav { display: flex; gap: 18px; }
@media (max-width: 900px) { .topbar nav { display: none; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.faq-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.faq-nav input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; margin-bottom: 10px; }
.faq-nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); }
.faq-nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.faq h2 { font-size: 22px; margin: 36px 0 12px; scroll-margin-top: 84px; }
.faq h2:first-child { margin-top: 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: var(--white); }
.faq details[open] { box-shadow: 0 6px 18px rgba(11, 31, 58, .07); }
.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--blue); font-weight: 800; margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 14px 38px; color: var(--ink); }
.faq details p { margin: 8px 0; }
.faq-empty { color: var(--muted); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; } }
/* 今後の予定（ver 3 の候補と v4） */
.road-title { font-size: 20px; margin: 0 0 16px; color: var(--navy); }
.road-cards .card { padding: 20px; }
.road-cards .card h3 { font-size: 16px; }
.road-cards .card p { font-size: 14px; }
.v4 { margin-top: 48px; border-radius: 20px; padding: 36px; background: radial-gradient(900px 300px at 90% -20%, rgba(46, 197, 211, .35), transparent 60%), linear-gradient(160deg, var(--navy), #1b4a8a); color: var(--white); }
.v4-head { margin-bottom: 22px; }
.v4-head h3 { font-size: 30px; margin: 8px 0 6px; }
.v4-head p { margin: 0; color: rgba(255, 255, 255, .85); }
.v4-head .badge { background: rgba(255, 255, 255, .15); color: #9fe6ee; }
.v4 .card { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .15); color: var(--white); }
.v4 .card p { color: rgba(255, 255, 255, .78); }
.v4 .card:hover { box-shadow: none; transform: none; background: rgba(255, 255, 255, .1); }

/* 機能の例（レポートの見本） */
.example { margin: -24px 0 64px; padding: 24px 28px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.example h4 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.example > p { margin: 0 0 6px; color: var(--muted); }
.example .sheet { background: var(--white); overflow-x: auto; }
.example-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: center; }
.example-grid .example-notes { margin: 0; }
.example .sheet td, .example .sheet th { padding: 6px 9px; font-size: 12.5px; }
.sheet tr.add td { background: #e9f7ee; }
.sheet tr.del td { background: #fdecec; }
.sheet tr.chg td { background: #fff7e0; }
.sheet tr.total td { font-weight: 700; border-top: 2px solid #c9d3df; }
.sheet td.num { text-align: right; }
.sheet td.ok { color: #1e7b3a; font-weight: 700; }
.example-notes { margin: 14px 0 6px; padding-left: 20px; }
.example-notes li { margin: 4px 0; }
.legend { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .example { margin-top: 0; padding: 18px; } .example-grid { grid-template-columns: 1fr; } }
/* ダウンロード: 過去のバージョン（クリックで一覧を開く） */
.past-row > td { padding: 0; }
.past summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 16px; cursor: pointer; list-style: none; }
.past summary::-webkit-details-marker { display: none; }
.past .close, .past[open] .open { display: none; }
.past[open] .close { display: inline; }
.past-note { margin: 0 16px 12px; color: var(--muted); font-size: 14px; }
.past-list { margin: 0 16px 16px; width: calc(100% - 32px); border-radius: 10px; }
.past-list th, .past-list td { padding: 7px 14px; font-size: 14px; }
.past-list tr.group th { background: var(--white); color: var(--navy); padding-top: 14px; }
.past-list .size { color: var(--muted); margin-left: 8px; font-size: 13px; }
/* What's new: 図・画面写真を説明のすぐ下に（FPC と同じ） */
.timeline li li .figs { margin: 10px 0 14px; }
.li-shot { margin: 0 auto; max-width: 780px; }
.li-shot img { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgba(11, 31, 58, .08); background: var(--white); }
.li-shot figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; text-align: center; }

/* 上の帯の「製品・サービス」: 会社のサイトのメニュー（サービス）と同じ 5 項目（EX1Products policy/website.md） */
.topbar { position: relative; z-index: 60; }   /* 下の帯（スクロールしても残る .site-header、z-index 50）より手前に出す。出さないとメニューが下の帯の後ろに隠れ、マウスを動かすと消える */
.topbar .tb-drop { position: relative; display: flex; align-items: center; height: 34px; }
.topbar nav { align-items: center; }   /* 帯の項目を上下の中央にそろえる（製品・サービスだけ下にずれないように） */   /* 帯の高さいっぱいにして、文字とメニューのあいだにすき間を作らない */
.topbar .tb-caret { font-size: 10px; opacity: .8; }
.topbar .tb-menu { display: none; position: absolute; right: 0; top: 100%; z-index: 50; min-width: 240px; padding: 6px 0; background: #0b1f3a; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.topbar .tb-menu a { display: block; padding: 7px 14px; white-space: nowrap; }
.topbar .tb-menu a:hover { background: rgba(255, 255, 255, .08); }
.topbar .tb-drop:hover .tb-menu, .topbar .tb-drop:focus-within .tb-menu { display: block; }

/* ===== Exment サイト用の追加（2026.11 WordPress から静的サイトへ移行） ===== */
.page-head .meta { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.page-head .meta a { color: #9fe6ee; }
.page-head .crumb { font-size: 13px; margin-bottom: 6px; color: rgba(255, 255, 255, .6); }
.page-head .crumb a { color: rgba(255, 255, 255, .75); }

/* 本文（WordPress の記事・固定ページ） */
.post-wrap { max-width: 900px; }
.post-body { font-size: 16px; overflow-wrap: anywhere; }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { font-size: 24px; margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); line-height: 1.4; }
.post-body h3 { font-size: 20px; margin: 34px 0 12px; padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.45; }
.post-body h4 { font-size: 18px; margin: 28px 0 10px; color: var(--navy); }
.post-body h5, .post-body h6 { font-size: 16px; margin: 22px 0 8px; color: var(--navy); }
.post-body p { margin: 12px 0; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 12px 0; }
.post-body li { margin: 4px 0; }
.post-body img { margin: 10px 0; border-radius: 8px; }
.post-body a img { display: inline-block; }
.post-body figure { margin: 18px 0; }
.post-body figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 4px; }
.post-body table { margin: 16px 0; }
.post-body th, .post-body td { padding: 10px 12px; }
.post-body .wp-block-table { overflow-x: auto; }
.post-body pre { background: #0f1b2d; color: #e6edf5; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.post-body code { font-family: Consolas, "Courier New", monospace; }
.post-body blockquote { margin: 16px 0; padding: 10px 18px; border-left: 4px solid var(--cyan); background: var(--bg-soft); border-radius: 0 10px 10px 0; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.post-body .aligncenter, .post-body .text-center, .post-body .has-text-align-center { text-align: center; }
.post-body img.aligncenter { margin-left: auto; margin-right: auto; }
.post-body .has-text-align-right { text-align: right; }
.post-body .alignleft { float: left; margin: 6px 18px 10px 0; }
.post-body .alignright { float: right; margin: 6px 0 10px 18px; }
.post-body .clearfix::after, .post-body h2, .post-body h3 { clear: both; }
.post-body .img_border, .post-body .has-custom-border img { border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(11, 31, 58, .08); }
.post-body .important-bold { font-weight: 700; color: var(--navy); }
.post-body .danger-bold { font-weight: 700; color: #d23b3b; }
.post-body .success-bold { font-weight: 700; color: #0f8b72; }
.post-body .danger-under { text-decoration: underline; text-decoration-color: #d23b3b; }
.post-body .important-marker { background: linear-gradient(transparent 60%, #fff1a8 60%); }
.post-body .big { font-size: 1.3em; }
.post-body .small { font-size: .85em; }
.post-body .box-default, .post-body .box-info, .post-body p.has-background, .post-body div.has-background { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 18px 0; }
.post-body .box-info { background: #eef6ff; border-color: #cfe1fb; }
.post-body .has-light-blue-background-color { background: #e9f6ff; }
.post-body .btn { background: var(--blue); color: var(--white); margin: 6px 0; }
.post-body .btn:hover { background: var(--blue-dark); }
.post-body .btn a { color: var(--white); }
.post-body .indent { padding-left: 30px; }
.post-body .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.post-body .wp-block-gallery figure { margin: 0; }
.featured { margin: 0 0 28px; }
.featured img { border-radius: 12px; border: 1px solid var(--line); }
.video-wrap { position: relative; margin: 18px 0; }
.video-wrap video { width: 100%; height: auto; display: block; border-radius: 12px; background: #000; }
.embed { position: relative; padding-top: 56.25%; margin: 18px 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.contact-placeholder { margin: 24px 0; padding: 22px 24px; border: 2px dashed var(--blue); border-radius: 14px; background: #f3f8ff; font-weight: 600; color: var(--navy); }
.post-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 600; }

/* 記事の一覧（カテゴリー・ブログ） */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.post-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(46, 197, 211, .18), rgba(29, 111, 224, .18)); display: grid; place-items: center; overflow: hidden; color: var(--navy); font-weight: 800; font-size: 22px; letter-spacing: .06em; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 20px 20px; }
.post-card .date { font-size: 13px; color: var(--muted); }
.post-card h3 { margin: 4px 0 8px; font-size: 16px; line-height: 1.5; }
.post-card p { margin: 0; font-size: 14px; color: var(--muted); }
.news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.news-list .date { color: var(--muted); font-size: 14px; }
.pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.pager a, .pager span { min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }
.pager span.current { background: var(--blue); color: var(--white); border-color: var(--blue); }
.pager a:hover { background: var(--bg-soft); text-decoration: none; }

/* トップページ */
.v7-cards { grid-template-columns: repeat(3, 1fr); }
.shot-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.shot-card:hover { text-decoration: none; }
.shot-card .pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.shot-card .pic img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.shot-card .pic .noimg { font-size: 54px; }
.shot-card .txt { padding: 20px 22px 22px; }
.shot-card .more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--blue); }
/* 導入企業のロゴ: 同じ大きさの白いタイルに、ロゴを縦横の中央にそろえて並べる */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1080px; margin: 0 auto; }
.logos .logo-tile { width: calc((100% - 80px) / 6); height: 104px; display: flex; align-items: center; justify-content: center; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.logos img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) { .logos .logo-tile { width: calc((100% - 32px) / 3); } }
@media (max-width: 520px) { .logos .logo-tile { width: calc((100% - 16px) / 2); height: 88px; } }
.logos-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.hero .shot.video { background: #000; }
@media (max-width: 900px) {
  .post-list, .v7-cards { grid-template-columns: 1fr; }
  .news-list li { grid-template-columns: 1fr; gap: 2px; }
  .post-body .alignleft, .post-body .alignright { float: none; margin: 10px 0; }
}

/* 主な機能（/functions/）: 7.0 の新機能と、定番の機能のカード */
.post-wrap:has(.v7-show) { max-width: 1120px; }
.v7-show { margin: 0 0 56px; padding: 36px 32px 32px; border-radius: 20px; background: radial-gradient(900px 360px at 90% -20%, rgba(46, 197, 211, .22), transparent 60%), linear-gradient(160deg, #f3f8ff 0%, #eefbfc 100%); border: 1px solid var(--line); }
.v7-head { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.v7-head .kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.post-body .v7-head h2 { border: 0; margin: 6px 0 10px; padding: 0; font-size: 30px; color: var(--navy); }
.v7-head p { color: var(--muted); margin: 0; }
.v7-hero { margin: 0 0 28px; }
.post-body .v7-hero img { display: block; width: 100%; margin: 0; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(11, 31, 58, .16); background: var(--white); }
.v7-hero figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.post-body .v7-show .shot-card .pic img { margin: 0; border-radius: 0; }
.post-body .v7-show .shot-card h3 { border: 0; padding: 0; margin: 8px 0 6px; font-size: 18px; }
.post-body .v7-show .shot-card p { font-size: 14px; }
.v7-more { text-align: center; margin: 28px 0 0; }
.v7-more .btn { margin: 4px 6px; }
.fn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 18px 0 40px; }
.fn-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.fn-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.fn-pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.post-body .fn-pic img { width: 100%; height: 100%; object-fit: cover; object-position: left top; margin: 0; border-radius: 0; }
.fn-txt { padding: 16px 18px 18px; }
.post-body .fn-txt h3 { border: 0; padding: 0; margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.fn-txt p { margin: 0; font-size: 14px; color: var(--muted); }
.post-body ul.fn-list { columns: 3; column-gap: 28px; padding-left: 1.2em; }
.post-body ul.fn-list li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 900px) { .fn-grid { grid-template-columns: repeat(2, 1fr); } .post-body ul.fn-list { columns: 2; } .v7-show { padding: 24px 16px; } }
@media (max-width: 560px) { .fn-grid { grid-template-columns: 1fr; } .post-body ul.fn-list { columns: 1; } }

/* トップのリード文を 2 段落にしたときの間隔 */
.hero p.lead:has(+ p.lead) { margin-bottom: 12px; }

/* デモ環境: 止めているデモの案内（取り消し線） */
.post-body p.demo-stopped { color: var(--muted); }
.post-body p.demo-stopped + .notice { margin-top: 8px; }

/* ヘッダーのロゴ: 製品のロゴの画像（assets/logo.png）を使う */
.brand-mark { background: #fff url(logo.png) center / 96% no-repeat; color: transparent; font-size: 0; overflow: hidden; }

/* 手書き風の画像の代わりに描いた SVG の図 */
.post-body .svg-fig { margin: 18px 0 22px; padding: 18px 14px 6px; background: linear-gradient(160deg, #f7faff, #f2fbfc); border: 1px solid var(--line); border-radius: 16px; }
.post-body .svg-fig svg { display: block; width: 100%; height: auto; }
.post-body .svg-fig.narrow { max-width: 480px; margin-left: auto; margin-right: auto; }

/* ランディングページ風のレイアウト（lp-*。/what/・AI のページ・/plan/ で使う） */
.post-wrap:has(.lp-page) { max-width: 1120px; }
.lp-intro { text-align: center; max-width: 820px; margin: 0 auto 36px; padding: 40px 28px 34px; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(900px 360px at 90% -20%, rgba(46, 197, 211, .22), transparent 60%), linear-gradient(160deg, #f3f8ff 0%, #eefbfc 100%); }
.lp-intro .kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.post-body .lp-intro h2 { border: 0; padding: 0; margin: 8px 0 14px; font-size: clamp(24px, 3.2vw, 34px); color: var(--navy); }
.lp-intro p { color: var(--muted); font-size: 17px; }
.lp-intro b { color: var(--navy); }
.post-body .lp-actions { margin: 22px 0 0; }
.post-body .lp-page .btn { margin: 4px 6px; }
.post-body .lp-page .btn-outline { background: var(--white); color: var(--blue); }
.post-body .lp-page .card h3 { border: 0; padding: 0; margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.post-body .lp-page .card p { margin: 0; }
.lp-page a.card { color: var(--ink); }
.lp-page a.card:hover { text-decoration: none; }
.lp-points, .lp-more, .lp-next { margin: 0 0 20px; }
.lp-video { max-width: 860px; margin: 18px auto; padding: 10px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #1b4a8a); box-shadow: var(--shadow); }
.lp-video .video-wrap { margin: 0; }
.post-body .lp-shots { margin: 22px 0 6px; }
.post-body .lp-shots .shot-card .pic img { margin: 0; border-radius: 0; }
.post-body .lp-shots .shot-card p { font-size: 14px; }
.post-body .lp-note { font-size: 13px; color: var(--muted); text-align: right; margin: 4px 0 0; }
.lp-page .feature { padding: 30px 0; gap: 40px; }
.lp-num { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--cyan); }
.post-body .lp-page .feature h3 { border: 0; padding: 0; margin: 4px 0 10px; font-size: 22px; color: var(--navy); }
.post-body .lp-page .frame img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; }
.lp-page .frame.lp-small { max-width: 300px; justify-self: center; }
.lp-more { margin-top: 24px; }
.lp-cta { margin: 48px 0 0; }
.post-body .lp-cta h2 { border: 0; padding: 0; margin: 0 0 6px; color: var(--white); }
.post-body .lp-cta p { margin: 0; }
.post-body .lp-cta .btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .45); box-shadow: none; }
@media (max-width: 900px) { .lp-intro { padding: 28px 18px; } .lp-page .frame.lp-small { max-width: 260px; } }
@media (max-width: 900px) { .lp-next { grid-template-columns: 1fr 1fr; gap: 14px; } .lp-next .card { padding: 18px; } }
/* 流れの図: 横長の図と、スマートフォン用の縦長の図を切り替える */
.post-body .svg-fig .fig-tall { display: none; }
@media (max-width: 560px) { .post-body .svg-fig .fig-wide { display: none; } .post-body .svg-fig .fig-tall { display: block; max-width: 400px; margin: 0 auto; } }
/* AI のページ（/ai・ocr/・/exment-ai-chatbot/） */
.lp-family { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 14px; }
.lp-family span { color: var(--muted); font-weight: 600; margin-right: 4px; }
.lp-family a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 600; }
.lp-family a:hover { text-decoration: none; border-color: var(--blue); }
.lp-family a.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.cards.lp-4 { grid-template-columns: repeat(4, 1fr); }
.post-body .lp-shot { margin: 14px 0; }
.post-body .lp-shot img { display: block; width: 100%; height: auto; margin: 0; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 26px rgba(11, 31, 58, .10); background: var(--white); }
.post-body .lp-shot figcaption { margin-top: 8px; }
.lp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 22px; align-items: start; }
.lp-grid .lp-wide { grid-column: 1 / -1; }
.lp-steps { display: grid; gap: 18px; }
.lp-step { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 6px; background: var(--bg-soft); }
.lp-step > .lp-num { font-size: 15px; letter-spacing: .06em; color: var(--blue); }
.lp-cross { margin: 40px 0 0; }
.post-body .svg-flow { padding: 18px 10px 10px; }
@media (max-width: 1024px) { .cards.lp-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards.lp-4, .lp-grid { grid-template-columns: 1fr; } }
/* 料金・サポート・ライセンス（/plan/） */
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; position: sticky; top: 64px; z-index: 5; padding: 10px 0; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); }
.lp-chips a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font-size: 14px; font-weight: 600; }
.lp-chips a:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); }
.lp-plan h2, .lp-plan h3 { scroll-margin-top: 130px; }
.lp-plans { margin: 18px 0; }
.post-body .lp-plans .plan h3 { border: 0; padding: 0; margin: 0; font-size: 18px; color: var(--navy); line-height: 1.45; }
.post-body .lp-plans .plan .price { margin: 12px 0 4px; }
.post-body .lp-plans .plan p { font-size: 14.5px; color: var(--muted); margin: 8px 0; }
.post-body .lp-plans .plan .plan-sub { color: var(--blue); }
.post-body .lp-plans .plan .lp-plan-price2 { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.lp-plans .plan { display: flex; flex-direction: column; }
.lp-plans .plan .btn { margin-top: auto; align-self: flex-start; }
.post-body .lp-center { text-align: center; color: var(--navy); font-weight: 600; }
.lp-box { margin: 18px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.post-body .lp-box h4 { margin-top: 0; }
.lp-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 16px 0 8px; align-items: start; }
.lp-svc { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: 0 6px 18px rgba(11, 31, 58, .05); }
.lp-svc-wide { grid-column: 1 / -1; }
.post-body .lp-svc h3 { border: 0; padding: 0; margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.post-body .lp-svc h4 { margin: 18px 0 8px; }
.lp-price { font-size: 24px; font-weight: 800; color: var(--navy); margin: 10px 0; }
.lp-price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.post-body .lp-tag { display: inline-block; margin: 4px 0; padding: 3px 10px; border-radius: 999px; background: #fff4e0; color: #8a5a00; font-size: 13px; font-weight: 600; }
.post-body ul.lp-notes { margin: 8px 0; padding-left: 1.2em; font-size: 13.5px; color: var(--muted); }
.post-body ul.lp-notes li { margin: 3px 0; }
.post-body td ul.lp-notes { margin: 0; }
.lp-more { margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.lp-more summary { cursor: pointer; padding: 10px 14px; font-weight: 600; color: var(--navy); }
.lp-more ul.lp-notes { padding: 0 18px 12px 34px !important; }
.lp-faq { margin: 12px 0; }
.lp-faq details > div { padding-left: 18px; }
@media (max-width: 900px) { .lp-svc-grid { grid-template-columns: 1fr; } .lp-chips { position: static; } }
.post-body .lp-plan tbody th { white-space: nowrap; }
@media (max-width: 640px) {
  .lp-plan table:has(td ul.lp-notes) thead { display: none; }
  .lp-plan table:has(td ul.lp-notes) tr { display: block; border-bottom: 1px solid var(--line); }
  .lp-plan table:has(td ul.lp-notes) tr > * { display: block; border-bottom: 0; padding-bottom: 4px; }
  .lp-plan table:has(td ul.lp-notes) td:nth-of-type(1) { font-weight: 700; color: var(--navy); }
  .lp-plan table:has(td ul.lp-notes) td:nth-of-type(1) br { display: none; }
}

/* お問い合わせ: Exment の公開フォームを埋め込む */
.post-body .contact-embed { margin: 20px 0 8px; }
.post-body .contact-embed iframe { display: block; width: 100%; height: 900px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 10px 30px rgba(11, 31, 58, .08); }
.post-body .contact-embed-alt { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 560px) { .post-body .contact-embed iframe { height: 1150px; } }

/* ロードマップ（今後の予定のページの上の図。FAD・FPC・EOB・Exment で同じ。2026-11） */
.rm-wrap { margin: 0 0 48px; padding: 32px 28px 28px; border-radius: 20px; color: #fff; background: radial-gradient(800px 260px at 8% -30%, rgba(46, 197, 211, .30), transparent 60%), radial-gradient(600px 240px at 100% 120%, rgba(120, 140, 255, .22), transparent 60%), linear-gradient(160deg, #0b1f3a, #163d73); box-shadow: 0 18px 40px rgba(11, 31, 58, .18); }
.rm-wrap .rm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.rm-wrap .rm-head h3 { margin: 0; font-size: 22px; color: #fff; letter-spacing: .02em; }
.rm-wrap .rm-head p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 13px; }
.rm-legend { display: flex; gap: 14px; font-size: 12px; color: rgba(255, 255, 255, .75); }
.rm-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 2px solid #2ec5d3; }
.rm-legend .l-done::before { background: #2ec5d3; }
.rm-legend .l-next::before { border-color: rgba(255, 255, 255, .45); }
.rm-track { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 18px; }
.rm-track::before { content: ""; position: absolute; left: 12px; right: 0; top: 11px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #2ec5d3 0%, #7fe3ec var(--p, 25%), rgba(255, 255, 255, .16) var(--p, 25%)); }
.rm-step { position: relative; padding-top: 38px; min-width: 0; }
.rm-dot { position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; background: #0b1f3a; border: 3px solid rgba(255, 255, 255, .45); box-sizing: border-box; }
.rm-step.done .rm-dot { background: #2ec5d3; border-color: #2ec5d3; box-shadow: 0 0 0 6px rgba(46, 197, 211, .22); }
.rm-step.done .rm-dot::after { content: "✓"; display: grid; place-items: center; height: 100%; color: #0b1f3a; font-weight: 800; font-size: 13px; line-height: 1; }
.rm-step.now .rm-dot { border-color: #2ec5d3; animation: rm-pulse 2.2s infinite; }
@keyframes rm-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 197, 211, .6); } 70% { box-shadow: 0 0 0 13px rgba(46, 197, 211, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 197, 211, 0); } }
.rm-when { font-size: 12px; letter-spacing: .06em; color: #9fe6ee; font-weight: 700; }
.rm-ver { font-size: 19px; font-weight: 800; margin: 2px 0 10px; color: #fff; line-height: 1.35; }
.rm-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; margin-left: 6px; vertical-align: 2px; letter-spacing: 0; }
.rm-step.done .rm-tag { background: #2ec5d3; color: #0b1f3a; }
.rm-step ul { margin: 0; padding: 12px 12px 12px 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); border-radius: 12px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.rm-step.big ul { background: linear-gradient(160deg, rgba(46, 197, 211, .16), rgba(120, 140, 255, .14)); border-color: rgba(127, 227, 236, .35); }
.rm-step li { margin: 2px 0; }
.rm-step li::marker { color: #7fe3ec; }
@media (prefers-reduced-motion: reduce) { .rm-step.now .rm-dot { animation: none; } }
@media (max-width: 760px) {
  .rm-wrap { padding: 24px 18px 20px; }
  .rm-track { grid-template-columns: 1fr; gap: 16px; padding-left: 40px; }
  .rm-track::before { left: 11px; right: auto; top: 6px; bottom: 6px; width: 4px; height: auto; background: linear-gradient(180deg, #2ec5d3 0%, #7fe3ec var(--p, 25%), rgba(255, 255, 255, .16) var(--p, 25%)); }
  .rm-step { padding-top: 0; }
  .rm-dot { left: -40px; }
}

/* 機能のページの上の図（流れ・数字。FAD・FPC・EOB で同じ。2026-11） */
.fx-wrap { margin: 0 0 56px; padding: 34px 30px 30px; border-radius: 20px; color: #fff; background: radial-gradient(800px 260px at 0% -20%, rgba(46, 197, 211, .32), transparent 60%), radial-gradient(700px 260px at 100% 120%, rgba(120, 140, 255, .24), transparent 60%), linear-gradient(160deg, #0b1f3a, #163d73); box-shadow: 0 18px 40px rgba(11, 31, 58, .18); }
.fx-head { text-align: center; margin-bottom: 28px; }
.fx-head .fx-kicker { font-size: 12px; letter-spacing: .14em; color: #7fe3ec; font-weight: 700; }
.fx-head h2 { margin: 6px 0 8px; font-size: 26px; color: #fff; line-height: 1.4; }
.fx-head p { margin: 0 auto; max-width: 720px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.fx-flow { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 26px; counter-reset: fx; }
.fx-step { position: relative; padding: 22px 18px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); min-width: 0; }
.fx-step:not(:last-child)::after { content: "→"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); color: #7fe3ec; font-size: 20px; font-weight: 800; }
.fx-step::before { counter-increment: fx; content: "STEP " counter(fx); position: absolute; top: -10px; left: 16px; padding: 1px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #0b1f3a; background: #2ec5d3; }
.fx-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, rgba(46, 197, 211, .35), rgba(120, 140, 255, .3)); margin-bottom: 10px; }
.fx-step h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.fx-step p { margin: 0; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.fx-step .fx-chip { display: inline-block; margin-top: 10px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #0b1f3a; background: #9fe6ee; }
.fx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.fx-stats b { display: block; font-size: 30px; line-height: 1.2; color: #fff; background: linear-gradient(90deg, #7fe3ec, #9cc3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-stats span { font-size: 12px; color: rgba(255, 255, 255, .72); }
@media (max-width: 900px) { .fx-flow { grid-template-columns: 1fr 1fr; gap: 22px; } .fx-step:not(:last-child)::after { display: none; } }
@media (max-width: 560px) { .fx-wrap { padding: 26px 18px 20px; } .fx-flow { grid-template-columns: 1fr; } .fx-stats { grid-template-columns: 1fr; } .fx-head h2 { font-size: 22px; } }
/* 記事の本文（.post-body）の h2 の下線・h3 の左の線を、図の中では出さない */
.post-body .fx-wrap h2, .post-body .fx-wrap h3 { border: 0; padding: 0; background: none; }
.post-body .fx-wrap h2::before, .post-body .fx-wrap h2::after, .post-body .fx-wrap h3::before, .post-body .fx-wrap h3::after { display: none; }

/* 言語の切り替え（上の帯の左。日本語・English・Tiếng Việt） */
.topbar .tb-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.topbar .lang-sw { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.topbar .lang-sw a { padding: 0 9px; line-height: 20px; border-radius: 999px; font-size: 11.5px; color: rgba(255, 255, 255, .75); }
.topbar .lang-sw a.on { background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; }
@media (max-width: 760px) { .topbar .tb-left .home { display: none; } }
