/* --- reset（元サイトの Tailwind Preflight 相当。静的サイト化にあたり最小構成で置き換え） --- */
*,
::before,
::after {
  box-sizing: border-box;
  border: 0 solid;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}
body {
  margin: 0;
  line-height: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
p,
figure,
blockquote,
dl,
dd,
pre {
  margin: 0;
}
ol,
ul,
menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
button,
input,
optgroup,
select,
textarea {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
button,
[type="button"],
[type="submit"] {
  -webkit-appearance: button;
  background-image: none;
  cursor: pointer;
}
:-moz-focusring {
  outline: auto;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
summary {
  display: list-item;
}
table {
  border-collapse: collapse;
  border-color: inherit;
  text-indent: 0;
}
hr {
  height: 0;
  border-top-width: 1px;
  color: inherit;
}
::placeholder {
  color: color-mix(in srgb, currentColor 50%, transparent);
  opacity: 1;
}
[hidden] {
  display: none !important;
}

:root {
  --ink: #111111;
  --deep: #111111;
  --gold: #8a6d3b;
  --gold-light: #f0c830;
  --cream: #fff7dc;
  --paper: #ffffff;
  --soft: #fbf7ec;
  --soft-2: #f5f1e6;
  --line: #e7dfc8;
  --muted: #6b6557;
  --muted-2: #8a8172;
  --shadow: 0 16px 44px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(196, 144, 0, 0.28);
  outline-offset: 3px;
}

.site-frame {
  min-height: 100vh;
  background: var(--paper);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding: 10px 30px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  text-decoration: none;
}

.brand-link img {
  width: 116px;
  height: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 25px;
  background: var(--line);
}

.brand-link > span:last-child {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
}

.model-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.header-cta,
.drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 11px;
  background: var(--deep);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.header-cta {
  min-height: 43px;
  padding: 0 15px;
}

.header-cta:hover,
.drawer-cta:hover {
  transform: translateY(-1px);
  background: #2a2a2a;
}

.header-cta svg,
.drawer-cta svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.explorer-shell {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: 244px minmax(0, 1fr);
}

.category-rail {
  position: sticky;
  top: 72px;
  display: flex;
  height: calc(100vh - 72px);
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  padding: 28px 20px 22px;
  background: #fbf7ec;
}

.rail-heading {
  margin: 0 0 12px 10px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-rail nav {
  display: grid;
  gap: 3px;
}

.category-rail nav button {
  display: flex;
  width: 100%;
  min-height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  background: transparent;
  color: #6b6557;
  text-align: left;
  transition: background 140ms ease, color 140ms ease;
}

.category-rail nav button:hover {
  background: var(--soft);
  color: var(--ink);
}

.category-rail nav button.active {
  background: var(--deep);
  color: #fff;
  font-weight: 800;
}

.category-nav-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.category-nav-label svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #9b927f;
  stroke-width: 1.8;
  transition: color 140ms ease;
}

.category-rail nav button:hover .category-nav-label svg {
  color: var(--ink);
}

.category-rail nav button.active .category-nav-label svg {
  color: var(--gold-light);
}

.category-rail nav button .category-nav-label > span {
  font-size: 12px;
  line-height: 1.35;
}

.category-rail nav button b {
  color: var(--muted-2);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.category-rail nav button.active b {
  color: #d8cfb6;
}

.rail-note {
  border-top: 1px solid var(--line);
  padding: 18px 10px 0;
  color: #8a8172;
  font-size: 10px;
  line-height: 1.65;
}

.rail-note span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.mobile-categories {
  display: none;
}

.explorer-main {
  min-width: 0;
  padding: 54px clamp(28px, 4vw, 66px) 0;
}

.hero {
  max-width: 1010px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold-light);
  box-shadow: 0 0 0 5px var(--cream);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(40px, 4.2vw, 65px);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.mobile-break {
  display: none;
}

.hero-copy {
  max-width: 820px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.85;
}

.search-box {
  display: flex;
  width: min(880px, 100%);
  min-height: 64px;
  cursor: text;
  align-items: center;
  gap: 14px;
  border: 1px solid #d8cfb6;
  border-radius: 16px;
  padding: 0 18px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: border 150ms ease, box-shadow 150ms ease;
}

.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 15px 46px rgba(196, 144, 0, 0.13);
}

.search-box svg {
  width: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.search-box input::placeholder {
  color: #8a8172;
}

.search-box input::-webkit-search-cancel-button {
  cursor: pointer;
}

.search-box kbd {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 7px;
  padding: 4px 7px;
  background: var(--soft);
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.quick-filters button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #6b6557;
  font-size: 11px;
  font-weight: 750;
  transition: border 140ms ease, background 140ms ease, color 140ms ease;
}

.quick-filters button:hover {
  border-color: #b8ad91;
  color: var(--ink);
}

.quick-filters button.active {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.results {
  margin-top: 54px;
}

.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.section-kicker {
  margin: 0 0 5px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.results-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.results-heading h2 span {
  margin-left: 3px;
  font-size: 13px;
  letter-spacing: 0;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.sort-control select {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 30px 8px 10px;
  background-color: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.use-case-card {
  position: relative;
  display: flex;
  min-height: 330px;
  cursor: pointer;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 19px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 7px 24px rgba(17, 17, 17, 0.045);
  transition: border 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.use-case-card:hover {
  transform: translateY(-3px);
  border-color: #d4c79e;
  box-shadow: 0 17px 40px rgba(17, 17, 17, 0.1);
}

.use-case-card:hover h3 {
  color: var(--gold);
}

.story-card {
  border-color: #d4c79e;
}

.use-case-card h3 {
  min-height: 50px;
  margin: 18px 0 7px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.45;
  transition: color 150ms ease;
}

.story-card-head {
  display: grid;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
  grid-template-columns: 36px minmax(0, 1fr);
}

.story-category-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #e0cb7d;
  border-radius: 11px;
  background: var(--cream);
  color: var(--gold);
}

.story-category-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.story-card .story-title {
  min-height: 27px;
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.4;
}

.story-target {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin: 0;
  font-size: 12px;
}

.story-target span {
  width: 100%;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
}

.story-target strong {
  color: var(--gold);
  font-size: 12px;
}

.story-target small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.story-comparison {
  display: grid;
  min-height: 116px;
  flex: 1.618 1 116px;
  align-items: stretch;
  gap: 9px;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
}

.story-comparison > svg {
  width: 17px;
  align-self: center;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.story-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--deep);
  border-radius: 12px;
  padding: 12px;
  background: var(--deep);
}

.story-step.ai-step {
  border-color: #e0cb7d;
  background: var(--cream);
}

.story-step > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.story-step.ai-step > span {
  color: #6f5400;
}

.story-step p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.story-step.ai-step p {
  color: var(--ink);
}

.story-impact {
  display: grid;
  min-height: 70px;
  flex: 1 1 70px;
  margin-top: 14px;
  border-left: 3px solid var(--gold-light);
  background: #fffdf6;
  grid-template-columns: 1fr 1fr;
}

.impact-metric {
  display: grid;
  min-width: 0;
  align-content: center;
  padding: 9px 11px;
}

.impact-metric + .impact-metric {
  border-left: 1px solid #ece2c3;
}

.impact-metric > span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.impact-metric p {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 3px;
  margin: 3px 0 0;
  white-space: nowrap;
}

.impact-metric strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.impact-metric small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.cost-metric strong {
  color: #8b6700;
}

.difficulty {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.difficulty-low {
  background: #fff7dc;
  color: #6f5400;
}

.difficulty-mid {
  background: #f5f1e6;
  color: #6b6557;
}

.difficulty-high {
  background: #111111;
  color: #f0c830;
}

.empty-state {
  display: grid;
  min-height: 340px;
  place-items: center;
  align-content: center;
  border: 1px dashed #d8cfb6;
  border-radius: 18px;
  padding: 40px;
  background: var(--soft);
  text-align: center;
}

.empty-state > span {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 99px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.empty-state h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.empty-state button {
  cursor: pointer;
  margin-top: 18px;
  border: 0;
  border-radius: 9px;
  padding: 10px 13px;
  background: var(--deep);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  align-items: start;
  gap: 36px;
  margin-top: 74px;
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  grid-template-columns: 1fr 1.6fr;
}

.site-footer img {
  width: 100px;
  height: auto;
}

.site-footer div p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.site-footer > p {
  margin: 0;
  color: #8a8172;
  font-size: 10px;
  line-height: 1.8;
}

.drawer-layer {
  position: fixed;
  z-index: 80;
  inset: 0;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  cursor: default;
  border: 0;
  background: rgba(17, 17, 17, 0.52);
  backdrop-filter: blur(2px);
  animation: fade-in 180ms ease both;
}

.detail-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(760px, 94vw);
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: -18px 0 50px rgba(17, 17, 17, 0.18);
  animation: drawer-in 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.drawer-topbar {
  display: flex;
  min-height: 62px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 23px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.drawer-topbar button {
  display: grid;
  width: 36px;
  height: 36px;
  cursor: pointer;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}

.drawer-topbar svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.drawer-content {
  overflow-y: auto;
  padding: 27px 28px 36px;
}

.drawer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.drawer-tags > span {
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--soft);
  color: #6b6557;
  font-size: 9px;
  font-weight: 800;
}

.drawer-content h2 {
  margin: 17px 0 8px;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.drawer-target {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.drawer-outcome {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.time-comparison {
  position: relative;
  display: grid;
  align-items: center;
  gap: 12px;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 17px 17px 0;
  background: #fbf7ec;
  grid-template-columns: 1fr 28px 1fr;
}

.time-comparison > svg {
  width: 21px;
  fill: none;
  stroke: var(--muted-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.time-comparison div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  justify-content: start;
  column-gap: 5px;
}

.time-comparison div > span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.time-comparison strong {
  font-size: 35px;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
}

.time-comparison small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.time-impact-summary {
  display: grid;
  grid-column: 1 / -1;
  gap: 0;
  margin: 14px -17px 0;
  border-top: 1px solid #e5d9b7;
  grid-template-columns: 1fr 1fr;
}

.time-impact-summary span {
  display: grid;
  gap: 2px;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.time-impact-summary span + span {
  border-left: 1px solid #e5d9b7;
}

.time-impact-summary strong {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.025em;
}

.ai-workflow {
  margin-top: 2px;
}

.workflow-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.workflow-heading p {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.workflow-heading h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.workflow-heading > span {
  border: 1px solid #e0cb7d;
  border-radius: 999px;
  padding: 4px 7px;
  background: var(--cream);
  color: #6f5400;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.workflow-governance {
  display: grid;
  min-height: 66px;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  border-radius: 11px;
  padding: 10px 12px;
  background: var(--deep);
  color: #fff;
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.workflow-governance-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #242424;
  color: var(--gold-light);
}

.workflow-governance-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
}

.workflow-governance div {
  min-width: 0;
}

.workflow-governance small {
  display: block;
  margin-bottom: 3px;
  color: #c7a742;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.workflow-governance strong {
  display: block;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.workflow-governance em {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  border: 1px solid #373737;
  border-radius: 999px;
  padding: 0 9px;
  background: #1b1b1b;
  color: #ddd8cb;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.workflow-governance em svg {
  width: 12px;
  height: 12px;
  color: var(--gold-light);
}

.workflow-flow {
  display: grid;
  align-items: stretch;
  grid-template-columns:
    minmax(120px, 1.12fr) 16px
    minmax(110px, 1fr) 16px
    minmax(118px, 1.08fr) 16px
    minmax(126px, 1.18fr);
}

.workflow-tool-panel,
.workflow-node {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 220px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 10px;
  background: var(--soft);
}

.workflow-tool-panel {
  gap: 8px;
  background: #fff;
}

.workflow-panel-step {
  display: block;
  min-height: 32px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.4;
}

.workflow-panel-step i {
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.workflow-tool-list {
  display: grid;
  align-content: start;
  gap: 6px;
}

.workflow-tool-row {
  display: grid;
  min-height: 40px;
  min-width: 0;
  align-items: center;
  border: 1px solid #e4dcc8;
  border-radius: 8px;
  padding: 5px 6px;
  background: #fffdf7;
  grid-template-columns: 25px minmax(0, 1fr);
}

.workflow-tool-icon {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid #e0cb7d;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
}

.workflow-tool-icon svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.9;
}

.workflow-tool-row b {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 850;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.workflow-node-icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: var(--gold);
}

.workflow-node-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.9;
}

.workflow-node strong {
  display: block;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.42;
}

.workflow-node strong i {
  display: block;
  margin: 0 0 3px;
  color: var(--gold);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.workflow-node p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #5f594d;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.ai-node {
  border-color: #dec35c;
  background: var(--cream);
}

.ai-node .workflow-node-icon {
  background: var(--gold-light);
  color: var(--deep);
}

.workflow-output-panel {
  border-color: #dec35c;
  background: #fffdf6;
}

.workflow-output-panel > p {
  display: -webkit-box;
  overflow: hidden;
  margin: -2px 0 2px;
  color: #5f594d;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.workflow-connector {
  display: grid;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.workflow-learning-loop {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid #d4b84d;
  border-radius: 12px;
  padding: 12px 12px 11px;
  background:
    radial-gradient(circle at 85% 10%, rgb(241 195 29 / 13%), transparent 30%),
    #fffdf6;
}

.workflow-learning-loop::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--gold);
  content: "";
}

.workflow-loop-heading {
  display: grid;
  align-items: start;
  column-gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
}

.workflow-loop-heading > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7a5b00;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.12em;
  grid-row: 1 / 3;
}

.workflow-loop-heading > span svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  stroke-width: 2;
}

.workflow-loop-heading strong {
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.workflow-loop-heading p {
  margin: 3px 0 0;
  color: #6a6252;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.45;
}

.workflow-loop-steps {
  display: grid;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  grid-template-columns:
    minmax(0, 1fr) 10px
    minmax(0, 1fr) 10px
    minmax(0, 1fr) 10px
    minmax(0, 1fr);
}

.workflow-loop-steps > div {
  position: relative;
  display: grid;
  min-height: 64px;
  min-width: 0;
  align-content: center;
  border: 1px solid #e2d7b5;
  border-radius: 9px;
  padding: 8px 8px 8px 34px;
  background: #fff;
}

.workflow-loop-steps > div > span {
  position: absolute;
  display: grid;
  width: 21px;
  height: 21px;
  margin-left: -27px;
  place-items: center;
  border-radius: 7px;
  background: var(--cream);
  color: var(--gold);
}

.workflow-loop-steps > div > span svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.workflow-loop-steps b {
  overflow: hidden;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-loop-steps small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #776e5d;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-loop-steps > i {
  color: #a27a00;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.workflow-loop-return {
  position: relative;
  height: 20px;
  margin: 3px 12.5% 0;
  border-right: 1px solid #c7a742;
  border-bottom: 1px solid #c7a742;
  border-left: 1px solid #c7a742;
  border-radius: 0 0 10px 10px;
}

.workflow-loop-return::before {
  position: absolute;
  top: -4px;
  left: -3px;
  color: #a27a00;
  content: "↑";
  font-size: 11px;
  font-weight: 900;
}

.workflow-loop-return span {
  position: absolute;
  right: 10px;
  bottom: -4px;
  padding: 0 5px;
  background: #fffdf6;
  color: #7a5b00;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.workflow-exception-route {
  display: grid;
  min-height: 55px;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  border: 1px dashed #bab2a0;
  border-radius: 10px;
  padding: 8px 10px;
  background: #faf9f6;
  grid-template-columns: 30px minmax(0, 1fr);
}

.workflow-exception-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--deep);
  color: var(--gold-light);
}

.workflow-exception-icon svg {
  width: 14px;
  height: 14px;
}

.workflow-exception-route small {
  display: block;
  margin-bottom: 2px;
  color: #827a6a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.workflow-exception-route strong {
  display: inline;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.4;
}

.workflow-exception-route p {
  display: inline;
  margin: 0 0 0 5px;
  color: #6f6757;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.workflow-stack {
  display: grid;
  gap: 7px;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 10px;
  background: #fff;
}

.workflow-stack > span {
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.workflow-stack > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.workflow-stack b {
  border: 1px solid #e8dfc4;
  border-radius: 999px;
  padding: 3px 6px;
  background: var(--soft);
  color: #5f594d;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.workflow-boundary {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 8px 0 0;
  border-radius: 8px;
  background: #f7f4ec;
  color: #6b6557;
  font-size: 9.5px;
  font-weight: 750;
}

.workflow-boundary span,
.workflow-boundary b {
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.workflow-boundary span {
  color: #7a5b00;
}

.workflow-boundary i {
  width: 1px;
  height: 13px;
  margin-inline: 4px;
  background: #d8cfb6;
}

.workflow-example-note {
  margin: 7px 2px 0;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1.55;
}

.detail-more {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.detail-more summary {
  display: flex;
  min-height: 42px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 850;
}

.detail-more summary::-webkit-details-marker {
  display: none;
}

.detail-more summary span {
  color: var(--gold);
  font-size: 15px;
  transition: transform 160ms ease;
}

.detail-more[open] summary span {
  transform: rotate(45deg);
}

.detail-more .detail-section {
  margin: 0 13px 18px;
}

.detail-more .detail-section:first-of-type {
  margin-top: 6px;
}

.detail-section {
  margin-top: 22px;
  border-left: 3px solid var(--line);
  padding-left: 15px;
}

.detail-section.ai {
  border-left-color: var(--gold-light);
}

.detail-section.approval {
  border-left-color: var(--deep);
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.detail-label span {
  color: var(--gold);
  font-size: 9px;
}

.detail-section > p:last-child {
  margin: 0;
  color: #6b6557;
  font-size: 12px;
  line-height: 1.8;
}

.drawer-note {
  margin-top: 27px;
  border-radius: 11px;
  padding: 13px 14px;
  background: var(--soft);
  color: #8a8172;
  font-size: 10px;
  line-height: 1.65;
}

.drawer-cta {
  min-height: 53px;
  margin-top: 14px;
  padding: 0 20px;
  font-size: 13px;
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes drawer-in {
  from { transform: translateX(100%); }
}

@media (max-width: 1180px) {
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explorer-main {
    padding-inline: 34px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
    padding: 9px 18px;
  }

  .brand-link {
    gap: 10px;
  }

  .brand-link img {
    width: 92px;
  }

  .brand-divider,
  .brand-link > span:last-child,
  .model-badge {
    display: none;
  }

  .header-cta {
    min-height: 39px;
    font-size: 10px;
  }

  .explorer-shell {
    display: block;
    min-height: 0;
  }

  .category-rail {
    display: none;
  }

  .mobile-categories {
    position: sticky;
    z-index: 25;
    top: 64px;
    display: flex;
    overflow-x: auto;
    gap: 7px;
    border-bottom: 1px solid var(--line);
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.97);
    scrollbar-width: none;
  }

  .mobile-categories::-webkit-scrollbar {
    display: none;
  }

  .mobile-categories button {
    display: inline-flex;
    flex: 0 0 auto;
    cursor: pointer;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 10px;
    background: #fff;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
  }

  .mobile-categories button .category-nav-label {
    gap: 5px;
  }

  .mobile-categories button .category-nav-label svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    color: currentColor;
  }

  .mobile-categories button .category-count {
    color: var(--muted-2);
    font-size: 9px;
  }

  .mobile-categories button.active {
    border-color: var(--deep);
    background: var(--deep);
    color: #fff;
  }

  .mobile-categories button.active .category-count {
    color: #d8cfb6;
  }

  .explorer-main {
    padding: 38px 20px 0;
  }

  .hero h1 {
    font-size: clamp(38px, 8vw, 56px);
  }

  .hero-copy {
    margin-block: 16px 24px;
  }

  .search-box {
    min-height: 58px;
  }
}

@media (max-width: 650px) {
  .header-cta svg {
    display: none;
  }

  .explorer-main {
    padding-inline: 16px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 39px;
    letter-spacing: -0.06em;
  }

  .mobile-break {
    display: block;
  }

  .hero-copy {
    font-size: 12px;
    line-height: 1.75;
  }

  .search-box {
    gap: 10px;
    border-radius: 13px;
    padding-inline: 14px;
  }

  .search-box input {
    font-size: 13px;
  }

  .search-box kbd {
    display: none;
  }

  .quick-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .quick-filters::-webkit-scrollbar {
    display: none;
  }

  .quick-filters button {
    flex: 0 0 auto;
  }

  .results {
    margin-top: 40px;
  }

  .results-heading {
    align-items: center;
  }

  .section-kicker,
  .sort-control > span {
    display: none;
  }

  .results-heading h2 {
    font-size: 24px;
  }

  .sort-control select {
    max-width: 196px;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    min-height: 313px;
  }

  .site-footer {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .detail-drawer {
    width: 100%;
    max-width: none;
  }

  .drawer-content {
    padding: 23px 20px 32px;
  }

  .drawer-content h2 {
    font-size: 26px;
  }

  .workflow-flow {
    grid-template-columns: 1fr;
  }

  .workflow-governance {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .workflow-governance em {
    min-height: 28px;
    justify-self: start;
    grid-column: 2;
  }

  .workflow-tool-panel,
  .workflow-node {
    min-height: 96px;
    align-content: center;
    padding: 10px 12px 10px 50px;
  }

  .workflow-tool-panel {
    padding: 12px;
  }

  .workflow-tool-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-tool-row {
    min-height: 38px;
  }

  .workflow-node-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    margin: 0 0 0 -38px;
  }

  .workflow-node strong {
    margin-bottom: 3px;
  }

  .workflow-node p {
    -webkit-line-clamp: 2;
  }

  .workflow-output-panel > p {
    margin-bottom: 5px;
  }

  .workflow-connector {
    height: 18px;
    transform: rotate(90deg);
  }

  .workflow-loop-heading {
    display: block;
  }

  .workflow-loop-heading > span {
    margin-bottom: 5px;
  }

  .workflow-loop-steps {
    grid-template-columns: 1fr;
  }

  .workflow-loop-steps > i {
    height: 12px;
    transform: rotate(90deg);
  }

  .workflow-loop-return {
    margin-inline: 8%;
  }

  .workflow-exception-route p {
    display: block;
    margin: 2px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- 2026-07-30 レビュー反映分 ---- */

.hero h1 {
  word-break: keep-all;
  line-break: strict;
}

.hero-note {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft, #6f6a5e);
}

.difficulty-legend {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft, #6f6a5e);
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
}

.site-footer .footer-links a {
  font-size: 12.5px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drawer-cta-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft, #6f6a5e);
}

/* ===================================================================
   リユース版の追加スタイル
   （元サイトの「時間削減・人件費換算」ブロックは、試算を持たないため
     「始めやすさ・他社の公開事例」に置き換えている）
   =================================================================== */

.ease-metric strong {
  color: #8b6700;
  font-size: 22px;
}

.evidence-metric strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.impact-metric.evidence-metric p {
  white-space: normal;
}

.evidence-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  padding: 13px 15px;
}

.evidence-block > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08);
  place-items: center;
}

.evidence-block > span svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
}

.evidence-block small {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.evidence-block strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.evidence-block p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.stage-hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.flow-strip {
  display: flex;
  overflow-x: auto;
  margin-top: 14px;
  gap: 6px;
  padding-bottom: 6px;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}

.flow-strip::-webkit-scrollbar {
  height: 5px;
}

.flow-strip::-webkit-scrollbar-track {
  background: transparent;
}

.flow-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--line);
}

.flow-strip button {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 5px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  gap: 5px;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.flow-strip button:hover {
  border-color: var(--gold-light);
  color: var(--ink);
}

.flow-strip button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.flow-strip button i {
  color: var(--gold-light);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.flow-strip button.active i {
  color: var(--gold-light);
}

.flow-loop {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  border: 1px dashed var(--gold);
  border-radius: 999px;
  background: #fffdf6;
  padding: 5px 13px;
  color: #6f5400;
  font-size: 11px;
  font-weight: 800;
  gap: 7px;
}

.flow-loop em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.header-sub-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  transition: border-color 0.15s ease;
}

.header-sub-link:hover {
  border-color: var(--gold-light);
}

.header-sub-link svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .header-sub-link {
    display: none;
  }
}

.model-case-banner {
  display: flex;
  align-items: center;
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdf6, var(--paper));
  padding: 16px 18px;
  gap: 14px;
  flex-wrap: wrap;
}

.model-case-banner div {
  min-width: 220px;
  flex: 1;
}

.model-case-banner small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.model-case-banner strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 850;
}

.model-case-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.model-case-banner a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink);
  padding: 10px 18px;
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 800;
  gap: 7px;
  white-space: nowrap;
}

.model-case-banner a svg {
  width: 15px;
  height: 15px;
}
