/*
 * DATA WORLD shared UI
 * The values and component treatments in this file come from the PRISM FIELD
 * site mockups. Site pages and the local editor both load this same file.
 */
:root {
  color-scheme: light;
  --paper: #f8f9fb;
  --surface: #fff;
  --ink: #0d1117;
  --hairline: #dde2ea;
  --line: var(--hairline);
  --meta: #5c6b82;
  --muted: var(--meta);
  --research: #2fb7e8;
  --cyan: var(--research);
  --business: #7d5cff;
  --purple: var(--business);
  --life: #f0549b;
  --pink: var(--life);
  --orange: #ffb03a;
  --paint: linear-gradient(100deg, #2fb7e8, #7d5cff 35%, #f0549b 68%, #ffb03a);
  --paint-soft: linear-gradient(100deg, rgba(47,183,232,.11), rgba(125,92,255,.09) 35%, rgba(240,84,155,.08) 68%, rgba(255,176,58,.1));
  --control-compact: 32px;
  --control-field: 32px;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", sans-serif;
  --en: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Mono", Consolas, monospace;
  /* レイアウト幅はこの4値を全公開ページで共有する */
  --dw-shell-max: 1480px;
  --dw-layout-max: 1120px;
  --dw-content-max: 760px;
  --dw-page-gutter: clamp(20px, 3.5vw, 56px);
}

html,
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--jp);
}

/* 標準の日本語組版を使い、対応ブラウザでは単語途中の分断だけを避ける */
:where(h1, h2, h3, .card-title, .inline-related strong) {
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: normal;
  word-break: auto-phrase;
}
:where(p, li, figcaption, td, th) {
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: normal;
  word-break: auto-phrase;
}
.editor-brand { align-items: center; }
.editor-brand img { display: block; width: auto; height: 15px; }
.editor-brand span {
  padding-left: 12px;
  border-left: 1px solid var(--hairline);
  color: var(--meta);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
}
/* Main site submit button */
.primary-button {
  min-height: 42px;
  padding: 10px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--paint);
  color: #fff;
  box-shadow: 0 5px 16px rgba(100, 75, 180, .18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.primary-button.small { padding: 10px 24px; }
.primary-button:hover { background: var(--paint); filter: saturate(1.18) brightness(.98); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(100, 75, 180, .26); }
.primary-button:disabled { cursor: not-allowed; opacity: .38; transform: none; }

/* Main site header / outline button */
.secondary-button {
  min-height: 40px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box, var(--paint) border-box;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: color .2s, transform .2s, box-shadow .2s;
}
.secondary-button:hover { border-color: transparent; background: var(--paint-soft) padding-box, var(--paint) border-box; color: var(--ink); transform: translateY(-1px); box-shadow: 0 5px 16px rgba(100,75,180,.12); }
.secondary-button.full { width: 100%; }
.secondary-button.component-delete { border-color: #e9b8b5; background: #fff; color: #b42318; box-shadow: none; }
.secondary-button.component-delete:hover { border-color: #b42318; background: #fff5f4; color: #8f1c13; box-shadow: none; }

/* Main site tag / format controls */
.ghost-button,
.sync-button,
.filter-tabs button,
.status-pill,
.chip {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--meta);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
}
.ghost-button { min-width: 36px; min-height: 36px; padding: 6px 12px; }
.ghost-button:hover,
.filter-tabs button:hover { border-color: transparent; background: var(--paint-soft) padding-box, var(--paint) border-box; color: var(--ink); }
.sync-button { min-height: 32px; padding: 6px 14px; border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--paint) border-box; font-weight: 400; }
.filter-tabs button { min-height: 32px; padding: 6px 14px; }
.filter-tabs button.active { border-color: transparent; background: var(--paint); color: #fff; box-shadow: 0 4px 14px rgba(100,75,180,.16); }
.status-pill { padding: 6px 14px; color: var(--ink); font-weight: 400; }
.status-pill.draft { border-style: dashed; border-color: var(--hairline); color: var(--meta); }
.chip { padding: 6px 12px; color: var(--meta); }

/* Main site contact-form controls */
.settings-content input,
.settings-content select,
.settings-content textarea,
.component-editor-form input,
.component-editor-form select,
.component-editor-form textarea,
.search-box {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: var(--jp);
  font-size: 13.5px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.settings-content input,
.settings-content select,
.settings-content textarea,
.component-editor-form input,
.component-editor-form select,
.component-editor-form textarea { padding: 13px 16px; }
.settings-content input:focus,
.settings-content select:focus,
.settings-content textarea:focus,
.component-editor-form input:focus,
.component-editor-form select:focus,
.component-editor-form textarea:focus,
.search-box:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(47, 183, 232, .15);
}
.settings-content > label,
.cover-settings label,
.field-group > span,
.cover-settings > span {
  color: var(--meta);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
}

/* Main site cards and article typography */
.article-canvas,
.mdx-editor-block,
.cover-preview,
.cover-stage,
.publish-dialog,
.conflict-dialog,
.component-dialog {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
}
.article-canvas { box-shadow: 0 14px 36px rgba(70, 60, 150, .08); }
.canvas-category {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  padding: 6px 14px;
}
.canvas-title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
}
.canvas-subtitle { color: var(--meta); font-size: clamp(16px, 2vw, 22px); line-height: 1.6; }
.canvas-lead { color: var(--meta); font-size: 15px; line-height: 2.1; }
.canvas-byline { color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.canvas-byline .avatar { background: conic-gradient(#2fb7e8, #7d5cff, #f0549b, #ffb03a, #2fb7e8); font-family: var(--en); font-weight: 900; }
.cover-stage { box-shadow: 0 18px 46px rgba(13, 17, 23, .12); }
.editor-content { font-size: 15.5px; line-height: 2.15; }
.editor-content h2 {
  position: relative;
  display: block;
  margin: 64px 0 28px;
  padding: 0 0 14px;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: .04em;
}
.editor-content h2::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  width: auto;
  height: 1px;
  margin: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(47,183,232,.6), rgba(125,92,255,.55) 28%, rgba(240,84,155,.5) 58%, var(--hairline) 88%);
}
.editor-content blockquote {
  position: relative;
  margin: 0 0 1.9em;
  padding: 4px 0 4px 24px;
  border: 0;
  background: transparent;
  color: var(--meta);
  font-size: 14.5px;
}
.editor-content blockquote::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 2px; background: var(--paint); }

/* Article components: the editor and published article use these same classes. */
.data-card { margin: 34px 0; padding: 26px 28px 22px; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; box-shadow: 0 14px 36px rgba(70, 60, 150, .08); }
.data-card .dc-label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.data-card .dc-label::after { flex: 1; height: 1px; background: var(--hairline); content: ""; }
.big-nums { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); }
.big-nums .bn b { display: block; background: var(--paint); background-clip: text; color: transparent; font-family: var(--en); font-size: clamp(30px, 3.2vw, 44px); font-variant-numeric: tabular-nums; font-weight: 900; letter-spacing: .01em; }
.big-nums .bn span { display: block; margin-top: 6px; color: var(--meta); font-size: 11.5px; line-height: 1.7; }
.dc-src { margin-top: 18px; color: var(--meta); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; }
.takeaways { position: relative; margin: 56px 0 0; padding: 26px 28px; overflow: hidden; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
.takeaways::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--paint); content: ""; }
.takeaways h3 { margin-bottom: 16px; font-family: var(--en); font-size: 13px; font-weight: 900; letter-spacing: .24em; }
.takeaways li { position: relative; margin-bottom: 10px; padding-left: 26px; list-style: none; font-size: 14px; line-height: 1.95; }
.takeaways li::before { position: absolute; top: 11px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: conic-gradient(#2fb7e8, #7d5cff, #f0549b, #ffb03a, #2fb7e8); content: ""; }
.sheet { margin: 34px 0; overflow: hidden; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
.sheet .sh-head { display: flex; align-items: center; gap: 10px; padding: 16px 24px; border-bottom: 1px solid var(--hairline); color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.sheet .sh-head b { width: 7px; height: 7px; border-radius: 50%; background: conic-gradient(#2fb7e8, #7d5cff, #f0549b, #ffb03a, #2fb7e8); }
.sheet table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sheet th, .sheet td { padding: 13px 24px; border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.sheet tr:first-child th, .sheet tr:first-child td { border-top: 0; }
.sheet th { width: 38%; color: var(--meta); font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .08em; white-space: nowrap; }
.sheet td.score { width: 18%; font-family: var(--en); font-variant-numeric: tabular-nums; font-weight: 900; white-space: nowrap; }
.sheet td.memo { color: var(--meta); font-size: 12.5px; }
.sheet .sh-src { padding: 12px 24px 16px; border-top: 1px solid var(--hairline); color: var(--meta); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 32px 0; overflow: hidden; border-radius: 12px; background: #0d1117; }
.video-embed iframe,
.video-embed video { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
.mdx-video figcaption { margin-top: 10px; font-size: 11px; line-height: 1.7; color: var(--meta); }
.mdx-callout, .mdx-disclosure, .mdx-correction { margin: 28px 0; padding: 20px 22px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255,255,255,.75); }
.mdx-callout strong, .mdx-disclosure strong, .mdx-correction strong { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.mdx-callout.is-warning { border-color: #ffb03a; }
.mdx-callout.is-important { border-color: var(--business); }

.article-title { font-size: 16.5px; font-weight: 700; line-height: 1.55; }
.article-row:hover .article-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.row-thumb { border: 1px solid var(--hairline); border-radius: 12px; }
.page-title-row h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: .05em; }
.eyebrow { color: var(--meta); font-size: 10.5px; letter-spacing: .42em; }

/* Toolbar uses the same small pill scale as article format controls. */
.format-toolbar button,
.format-toolbar select {
  min-width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--meta);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}
.format-toolbar button:hover,
.format-toolbar select:hover { border-color: transparent; background: var(--paint-soft) padding-box, var(--paint) border-box; color: var(--ink); }
.format-toolbar button.active { border-color: transparent; background: var(--paint); color: #fff; }
.format-toolbar .component-trigger { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--paint) border-box; color: var(--ink); }
.primary-button:focus-visible,
.secondary-button:focus-visible,
.ghost-button:focus-visible,
.sync-button:focus-visible,
.filter-tabs button:focus-visible,
.format-toolbar button:focus-visible { outline: 2px solid var(--research); outline-offset: 2px; }

@media (max-width: 640px) {
  .primary-button { min-height: 38px; padding: 8px 18px; font-size: 11px; }
  .secondary-button { min-height: 38px; padding: 8px 15px; font-size: 11px; }
}

/* =====================================================================
   Interview package（インタビュー・対談記事の共通部品）
   使い方と編集ルール: docs/interview-package.md
   話者色: ゲスト=--life（暖色）、聞き手=--research（寒色）
   ===================================================================== */
.is-guest { --sp: var(--life); }
.is-host { --sp: var(--research); }
.iv-av { display: block; flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; background: #eef1f5; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sp, var(--hairline)); }
.iv-av.is-empty { background: linear-gradient(135deg, #eef1f5, #dde2ea); }

/* 冒頭の人物フィーチャー */
.iv-profile { margin: 44px 0 52px; overflow: hidden; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
.iv-profile-top { position: relative; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 26px; padding: 28px 28px 24px; }
.iv-profile-top::before { position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--paint); content: ""; }
.iv-profile .ph { position: relative; width: 148px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #eef1f5; }
.iv-profile .ph picture, .iv-profile .ph img { display: block; width: 100%; max-width: none; height: 100%; margin: 0; object-fit: cover; }
.iv-sample { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border: 1px dashed var(--life); border-radius: 999px; background: #fff; color: var(--life); font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; }
.iv-profile .kick { color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.iv-profile .nm { margin: 8px 0 4px; font-size: 26px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.iv-profile .nm small { margin-left: 10px; color: var(--meta); font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.iv-profile .tt { margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.8; }
.iv-profile .claim { margin: 14px 0 0; font-size: 16px; font-weight: 700; line-height: 1.85; }
.iv-profile .claim cite { display: block; margin-top: 4px; color: var(--meta); font-family: var(--mono); font-size: 9.5px; font-style: normal; font-weight: 400; letter-spacing: .08em; }
.iv-profile .iv-career { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; margin: 0; padding: 0; border-top: 1px solid var(--hairline); list-style: none; }
.iv-profile .iv-career li { margin: 0; padding: 18px 18px 20px; color: #3a4456; font-size: 12px; line-height: 1.75; }
.iv-profile .iv-career li::before { display: none; }
.iv-profile .iv-career li + li { border-left: 1px dashed var(--hairline); }
.iv-profile .iv-career .y { display: block; color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; }
.iv-profile .iv-career b { display: block; margin: 5px 0 6px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.iv-profile .iv-career li.now b { background: var(--paint); background-clip: text; -webkit-background-clip: text; color: transparent; }
.iv-profile .bio { padding: 18px 28px 22px; border-top: 1px solid var(--hairline); background: var(--paper); color: #3a4456; font-size: 13px; line-height: 1.95; }
.iv-profile .bio p { margin: 0; }

/* 大見出し（PART）と質問・回答 */
.iv-part { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 22px; align-items: center; margin: 104px 0 36px; padding: 24px 28px; border-radius: 12px; background: linear-gradient(100deg, rgba(47,183,232,.08), rgba(125,92,255,.07) 40%, rgba(240,84,155,.06) 75%, rgba(255,176,58,.07)); }
.iv-part .pn { background: var(--paint); background-clip: text; -webkit-background-clip: text; color: transparent; font-family: var(--en); font-size: 58px; font-weight: 900; letter-spacing: -.02em; line-height: .85; }
.iv-part .pn.word { font-size: 40px; letter-spacing: .02em; }
.iv-part .pt { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: .04em; line-height: 1.5; }
.iv-q { position: relative; margin: 72px 0 28px; padding-bottom: 16px; scroll-margin-top: 96px; }
.iv-part + .iv-q { margin-top: 36px; }
.iv-q::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, rgba(47,183,232,.6), rgba(125,92,255,.55) 28%, rgba(240,84,155,.5) 58%, var(--hairline) 88%); content: ""; }
.iv-q .iv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.iv-q .no { background: var(--paint); background-clip: text; -webkit-background-clip: text; color: transparent; font-family: var(--en); font-size: 17px; font-weight: 900; letter-spacing: .16em; }
.iv-q .iv-av { width: 28px; height: 28px; }
.iv-q .iv-head span:last-child { color: var(--meta); font-size: 11.5px; }
.iv-q h3.iv-qt { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .04em; line-height: 1.65; }
.iv-a { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.iv-a b { font-size: 13px; }
.iv-a .iv-av { width: 32px; height: 32px; }
.a-body mark, .mdx-block-preview mark, .editor-content mark { padding: 0 .05em; background: linear-gradient(transparent 58%, rgba(255,176,58,.38) 58%); color: inherit; font-weight: 700; }

/* 聞き手の補足・独自調査 */
.ed-note { margin: 8px 0 44px; padding: 20px 24px 6px; border: 1px solid rgba(47,183,232,.3); border-radius: 12px; background: linear-gradient(135deg, rgba(47,183,232,.07), rgba(125,92,255,.06)); }
.ed-note.is-ps { margin-top: 48px; border-style: dashed; background: #fff; }
.ed-note-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ed-note-h .iv-av { width: 26px; height: 26px; }
.ed-note-h b { font-size: 12.5px; }
.ed-note-h span { color: #2a8db4; font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; }
.ed-note p, .a-body .ed-note p { margin: 0 0 1.1em; font-size: 14px; line-height: 2; }

/* キーワード（固有名詞・サービス名の初出説明） */
.kw-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: baseline; margin: -8px 0 34px; padding: 14px 18px; border: 1px solid var(--hairline); border-radius: 10px; background: #fff; }
.kw-card .kl { display: inline-flex; grid-row: span 2; align-items: center; gap: 7px; color: var(--meta); font-family: var(--mono); font-size: 9.5px; letter-spacing: .24em; }
.kw-card .kl::before { width: 7px; height: 7px; border-radius: 50%; background: conic-gradient(#2fb7e8, #7d5cff, #f0549b, #ffb03a, #2fb7e8); content: ""; }
.kw-card b { font-size: 14px; }
.kw-card b small { margin-left: 6px; color: var(--meta); font-size: 11.5px; font-weight: 400; }
.kw-card .kw-text, .kw-card .kw-text p { margin: 0; color: #3a4456; font-size: 12.5px; line-height: 1.85; }

/* 聞き手の考察パート */
.ed-view-h { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; align-items: center; margin: 110px 0 26px; padding: 26px; border: 1px solid rgba(47,183,232,.28); border-radius: 12px; background: linear-gradient(135deg, rgba(47,183,232,.08), rgba(125,92,255,.07)); }
.ed-view-h .iv-av { width: 76px; height: 76px; }
.ed-view-h .pl { color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.ed-view-h h2.tt { margin: 6px 0 0; font-size: 25px; font-weight: 800; letter-spacing: .04em; line-height: 1.5; }
.ed-view-h p, .a-body .ed-view-h p { margin: 6px 0 0; color: var(--meta); font-size: 12.5px; line-height: 1.8; }
.thesis-h { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: center; margin: 40px 0 26px; padding: 18px 24px 18px 26px; overflow: hidden; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
.thesis-h::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--paint); content: ""; }
.thesis-h .tn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding-right: 16px; border-right: 1px dashed var(--hairline); color: var(--meta); font-family: var(--mono); font-size: 9px; letter-spacing: .24em; line-height: 1; }
.thesis-h .tn b { background: var(--paint); background-clip: text; -webkit-background-clip: text; color: transparent; font-family: var(--en); font-size: 30px; font-weight: 900; letter-spacing: 0; line-height: 1; }
.thesis-h h3.tv { margin: 0; font-size: 19px; letter-spacing: .02em; line-height: 1.65; }

/* 発言の引用 */
.iv-quote { position: relative; margin: 48px 0 52px; padding: 30px 0 28px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.iv-quote::before { position: absolute; inset: 0; background-image: radial-gradient(rgba(92,107,130,.22) 1px, transparent 1.3px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); content: ""; pointer-events: none; }
.iv-quote > * { position: relative; }
.iv-quote .ql { display: block; margin-bottom: 12px; color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.iv-quote blockquote { margin: 0; padding: 0; color: var(--ink); font-size: 23px; font-weight: 800; letter-spacing: .02em; line-height: 1.7; }
.iv-quote blockquote::before { display: none; }
.iv-quote blockquote em { background: var(--paint); background-clip: text; -webkit-background-clip: text; color: transparent; font-style: normal; }
.iv-quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--meta); font-size: 11.5px; }
.iv-quote figcaption .iv-av { width: 24px; height: 24px; }

/* 記事末尾の組織紹介 */
.iv-about { position: relative; margin: 56px 0 40px; padding: 22px 26px 20px; overflow: hidden; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
.iv-about::before { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--paint); content: ""; }
.iv-about-h, .a-body .iv-about-h { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; }
.iv-about-h .kl { color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.iv-about-h b { font-size: 15px; }
.iv-about-body p, .a-body .iv-about-body p { margin: 0 0 .8em; color: #3a4456; font-size: 13.5px; line-height: 1.95; }
.iv-about-link, .a-body a.iv-about-link { display: inline-flex; margin-top: 4px; padding: 6px 14px; border: 1px solid var(--hairline); border-radius: 999px; background: #fff; color: var(--ink); font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-decoration: none; }
.a-body a.iv-about-link:hover { border-color: var(--meta); color: var(--ink); }

/* 数値カード: 数字は2つまで、出典は各数字の直下 */
.big-nums.is-grid { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 28px; }
.big-nums.is-grid .bn b small { font-family: var(--jp); font-size: .38em; }
.big-nums .bn-src { display: block; margin-top: 8px; color: var(--meta); font-family: var(--mono); font-size: 9.5px; font-style: normal; letter-spacing: .06em; }
.big-nums .bn-src a { color: var(--meta); text-decoration: underline; text-decoration-color: rgba(92,107,130,.35); text-underline-offset: 3px; }
.a-body .takeaways h3 { margin-top: 0; }
.takeaways h3 .tk-sub { margin-left: 10px; color: var(--meta); font-family: var(--jp); font-size: 12px; font-weight: 700; letter-spacing: .08em; }

@media (max-width: 640px) {
  .iv-profile-top { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 22px 18px 18px; }
  .iv-profile .ph { width: 96px; }
  .iv-profile .nm { font-size: 21px; }
  .iv-profile .claim { font-size: 14px; }
   .iv-profile .iv-career { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
   .iv-profile .iv-career li + li { border-left: 0; }
   .iv-profile .iv-career li:nth-child(even) { border-left: 1px dashed var(--hairline); }
   .iv-profile .iv-career li:nth-child(n+3) { border-top: 1px dashed var(--hairline); }
  .iv-profile .bio { padding: 16px 18px 18px; }
  .iv-part { gap: 0 14px; margin-top: 72px; padding: 18px; }
  .iv-part .pn { font-size: 40px; }
  .iv-part .pn.word { font-size: 28px; }
  .iv-part .pt { font-size: 19px; }
  .iv-q h3.iv-qt { font-size: 17.5px; }
  .ed-note { padding: 16px 16px 4px; }
  .ed-view-h { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .ed-view-h .iv-av { width: 52px; height: 52px; }
  .ed-view-h h2.tt { font-size: 20px; }
  .thesis-h { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 14px 16px 14px 18px; }
  .thesis-h h3.tv { font-size: 16px; }
  .iv-quote blockquote { font-size: 19px; }
  .big-nums.is-grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 20px 14px; }
}

/* 図のキャプション: 出典リンクを途中で折り返さない */
figure.a-fig figcaption a, .mdx-video figcaption a { white-space: nowrap; }

/* =====================================================================
   Feature package（独自記事: 体験・検証・調査の共通部品）
   使い方と編集ルール: docs/feature-package.md
   色は増やさず、DATA WORLD のグラデーションと細線だけで構成する
   ===================================================================== */
.ft-kl { display: inline-flex; align-items: center; gap: 8px; color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.ft-kl::before { width: 7px; height: 7px; border-radius: 50%; background: conic-gradient(#2fb7e8, #7d5cff, #f0549b, #ffb03a, #2fb7e8); content: ""; }

/* 記事の全体像 */
.ft-overview { margin: 36px 0 44px; }
.a-body .ft-ov-t, .ft-ov-t { margin: 8px 0 14px; font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.a-body .ft-ov-list, .ft-ov-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.a-body .ft-ov-list li, .ft-ov-list li { margin: 0; padding: 0; }
.a-body .ft-ov-list li::before, .ft-ov-list li::before { display: none; }
.ft-ov-list a, .a-body .ft-ov-list a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--hairline); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.ft-ov-list a:hover { border-color: #b9c2d0; transform: translateY(-2px); }
.a-body a.ft-ov-card:not(.mdx-button), .a-body a.ft-ov-card:not(.mdx-button):hover { color: var(--ink); text-decoration: none; }
.a-body .ft-ov-list a *, .ft-ov-list a * { color: inherit; text-decoration: none; }
.a-body .ft-ov-list .ft-ov-label, .a-body .ft-ov-list .ft-ov-result { color: var(--meta); }
.ft-ov-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.ft-ov-img img, .a-body .ft-ov-img img { display: block; width: 100%; max-width: none; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }
.ft-ov-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.ft-ov-label { color: var(--meta); font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; }
.ft-ov-body b { font-size: 13px; line-height: 1.6; }
.ft-ov-result { margin-top: auto; padding-top: 4px; color: var(--meta); font-size: 11px; }
.ft-ov-result::before { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: conic-gradient(#2fb7e8, #7d5cff, #f0549b, #ffb03a, #2fb7e8); content: ""; }

/* 編集部の結論 */
.ft-verdict { position: relative; margin: 40px 0 48px; padding: 24px 28px 22px; overflow: hidden; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
.ft-verdict::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--paint); content: ""; }
.a-body .ft-verdict-t, .ft-verdict-t { margin: 10px 0 0; font-size: 19px; font-weight: 800; letter-spacing: .03em; line-height: 1.65; }
.ft-verdict-body p, .a-body .ft-verdict-body p { margin: 8px 0 0; color: #3a4456; font-size: 13.5px; line-height: 1.9; }
.ft-fit { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-top: 1px dashed var(--hairline); }
.ft-fit > div { padding: 14px 0 0; }
.ft-fit > div:first-child { padding-right: 22px; }
.ft-fit > div + div { padding-left: 22px; border-left: 1px dashed var(--hairline); }
.ft-fit b { display: block; margin-bottom: 6px; color: var(--meta); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .2em; }
.a-body .ft-fit ul, .ft-fit ul { margin: 0; padding: 0; list-style: none; }
.a-body .ft-fit li, .ft-fit li { position: relative; margin: 0 0 6px; padding-left: 16px; font-size: 13px; line-height: 1.75; }
.a-body .ft-fit li::before, .ft-fit li::before { position: absolute; top: .7em; left: 1px; width: 6px; height: 6px; border-radius: 50%; background: conic-gradient(#2fb7e8, #7d5cff, #f0549b, #ffb03a, #2fb7e8); content: ""; }
.a-body .ft-fit .is-not li::before, .ft-fit .is-not li::before { background: none; box-shadow: inset 0 0 0 1.5px #aab4c3; }

/* 検証の見出し（番号とお題 → 見出し → 使ったもの・結果） */
.ft-trial { margin: 88px 0 28px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); scroll-margin-top: 96px; }
.a-body .ft-trial-k, .ft-trial-k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; }
.ft-trial-no { display: inline-flex; align-items: baseline; gap: 6px; color: var(--meta); font-family: var(--mono); font-size: 10px; letter-spacing: .24em; }
.ft-trial-no b { background: var(--paint); background-clip: text; -webkit-background-clip: text; color: transparent; font-family: var(--en); font-size: 15px; font-weight: 900; letter-spacing: .08em; }
.ft-trial-brief { color: var(--meta); font-size: 12.5px; }
.a-body h2.ft-trial-t, .a-body h3.ft-trial-t, .ft-trial-t { margin: 8px 0 0; padding: 0; border: 0; font-size: 22px; font-weight: 800; letter-spacing: .04em; line-height: 1.55; }
.a-body h3.ft-trial-t::before, .a-body h3.ft-trial-t::after, .a-body h2.ft-trial-t::before, .a-body h2.ft-trial-t::after { display: none; }

/* 現場の声 */
.ft-voice { position: relative; margin: 36px 0 40px; padding: 22px 24px 18px 26px; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
.ft-voice::before { position: absolute; top: 18px; bottom: 18px; left: 0; width: 3px; border-radius: 3px; background: var(--paint); content: ""; }
.a-body .ft-voice blockquote, .ft-voice blockquote { margin: 10px 0 0; padding: 0; border: 0; background: none; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.85; }
.a-body .ft-voice blockquote::before, .ft-voice blockquote::before { display: none; }
.a-body .ft-voice blockquote p, .ft-voice blockquote p { margin: 0; }
.ft-voice figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; color: var(--meta); font-size: 11.5px; }
.ft-voice figcaption b { color: var(--ink); font-size: 12.5px; }
.ft-voice figcaption em { font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: .08em; }

/* 画像を2枚並べる（使用前・使用後など） */
.a-body .mdx-columns img { margin: 0; }

@media (max-width: 640px) {
  .ft-verdict { padding: 20px 18px 14px; }
  .a-body .ft-verdict-t, .ft-verdict-t { font-size: 17px; }
  .ft-fit { grid-template-columns: 1fr; }
  .ft-fit > div:first-child { padding-right: 0; }
  .ft-fit > div + div { margin-top: 12px; padding: 12px 0 0; border-top: 1px dashed var(--hairline); border-left: 0; }
  .a-body .ft-ov-list, .ft-ov-list { grid-template-columns: 1fr 1fr; }
  .a-body h2.ft-trial-t, .a-body h3.ft-trial-t, .ft-trial-t { font-size: 19px; }
}

/* サービス・製品の紹介（WHAT IS）。対談記事の WHO IS と同じ枠で、画像を横長にする */
.ft-spot .iv-profile-top { grid-template-columns: 236px minmax(0, 1fr); align-items: center; }
.ft-spot .ph { width: 236px; aspect-ratio: 4 / 3; border: 1px solid var(--hairline); }
.ft-spot .ph img, .a-body .ft-spot .ph img { display: block; width: 100%; max-width: none; height: 100%; margin: 0; object-fit: cover; }
.ft-spot .claim { font-size: 17px; }
.ft-spot .bio p + p { margin-top: 10px; }
.iv-part + .ft-trial { margin-top: 44px; }
.a-body .ft-verdict-lead, .ft-verdict-lead { margin: 6px 0 0; color: var(--meta); font-size: 12px; line-height: 1.7; }
.ft-fit:has(> div:only-child) { grid-template-columns: 1fr; }
.ft-fit > div:only-child { padding-right: 0; }
.iv-part { scroll-margin-top: 96px; }
@media (max-width: 640px) {
  .ft-spot .iv-profile-top { grid-template-columns: 1fr; }
  .ft-spot .ph { width: 100%; aspect-ratio: 16 / 9; }
  .ft-spot .iv-career li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
