:root {
  --bg: #FBF9F4;
  --bg-alt: #E7EFE9;
  --surface: #FFFFFF;
  --text: #14231D;
  --text-soft: #5B6B63;
  --primary: #1E6B54;
  --primary-soft: #DCEAE2;
  --accent: #D98C2B;
  --accent-soft: #F6E7CF;
  --border: #D8DFD9;
  --border-strong: #B9C7BE;
  --shadow: 0 1px 2px rgba(20, 35, 29, 0.06);
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1120px;
  --content: 760px;
  --aside: 300px;
  --header-h: 64px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0F1714;
  --bg-alt: #16221D;
  --surface: #182621;
  --text: #E8EEE9;
  --text-soft: #A3B5AB;
  --primary: #4FB08C;
  --primary-soft: #1F3A31;
  --accent: #E0A052;
  --accent-soft: #33281A;
  --border: #2A3A33;
  --border-strong: #3B4E45;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   base
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

h1 { font-size: clamp(28px, 4.2vw, 40px); }
h2 { font-size: 26px; }
h3 { font-size: 19px; }

p {
  margin: 0 0 16px;
  max-width: 42em;
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

caption {
  text-align: left;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ============================================================
   layout
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  display: block;
}

.inner-main {
  padding-top: 8px;
  padding-bottom: 56px;
}

.inner-main .container {
  padding-left: 24px;
  padding-right: 24px;
}

section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ============================================================
   header / navigation
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.brand-slogan {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  white-space: nowrap;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 8px 10px;
  font-size: 15px;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-current {
  color: var(--primary);
  font-weight: 700;
  border-bottom-color: var(--primary);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 13px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.theme-toggle-icon {
  font-size: 15px;
  line-height: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px 16px;
}

.drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-list li {
  margin: 0;
  border-bottom: 1px solid var(--border);
}

.drawer-list li:last-child {
  border-bottom: 0;
}

.drawer-list a {
  display: block;
  padding: 13px 4px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
}

.drawer-list a.is-current {
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   shared inner-page shell
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--border-strong);
}

.breadcrumb-current {
  color: var(--text);
}

.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px 0;
}

.page-title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 700;
  color: var(--text);
}

.page-hero {
  padding: 0;
}

.page-hero-inner {
  padding-top: 14px;
  padding-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 700;
}

.page-lead,
.lede {
  margin: 0;
  max-width: 46em;
  color: var(--text-soft);
  font-size: 16px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-desc,
.section-note,
.section-lead,
.section-intro {
  margin: 0;
  color: var(--text-soft);
  max-width: 46em;
}

.section {
  padding: 0 0 40px;
}

.content-section {
  padding: 0 0 40px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.content-section:last-of-type {
  border-bottom: 0;
}

.section-title {
  font-size: 24px;
  margin-bottom: 10px;
}

/* ============================================================
   buttons / links
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #17553f;
  color: #fff;
}

html[data-theme="dark"] .btn-primary:hover {
  background: #3d9874;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.text-link:hover {
  color: var(--text);
}

/* ============================================================
   index — hero
   ============================================================ */

.home-main {
  padding-bottom: 24px;
}

.hero {
  padding: 40px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 48px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent);
}

.hero-text h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.28;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--text-soft);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-check {
  padding: 18px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.hero-check-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.hero-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-check-list li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

.hero-check-list li:last-child {
  margin-bottom: 0;
}

.hero-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-media {
  margin: 0;
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

/* ============================================================
   index — service groups
   ============================================================ */

.service-groups {
  padding: 44px 0;
  background: var(--bg-alt);
}

.group-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.group-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.group-title {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--primary);
}

.group-desc {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-soft);
}

.group-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.group-links li {
  margin: 0;
  border-top: 1px solid var(--border);
}

.group-links a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.group-links a:hover {
  color: var(--primary);
}

/* ============================================================
   index — service items
   ============================================================ */

.service-items {
  padding: 48px 0 40px;
}

.service-item {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  min-width: 0;
}

.service-item:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.service-item-media {
  margin: 0;
  min-width: 0;
}

.service-item-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.service-item-body {
  min-width: 0;
}

.service-item-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.service-item-body p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 40em;
}

.condition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 16px 0 16px;
}

.condition-cell {
  min-width: 0;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.condition-cell dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 3px;
}

.condition-cell dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ============================================================
   index — compare table
   ============================================================ */

.compare {
  padding: 40px 0;
  background: var(--bg-alt);
}

.table-scroll {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  min-width: 720px;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.compare-table thead th {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  font-weight: 700;
  background: var(--bg-alt);
  white-space: nowrap;
}

.compare-table tbody th {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.compare-table tbody tr:nth-child(even) td,
.compare-table tbody tr:nth-child(even) th {
  background: rgba(231, 239, 233, 0.45);
}

html[data-theme="dark"] .compare-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .compare-table tbody tr:nth-child(even) th {
  background: rgba(31, 58, 49, 0.4);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ============================================================
   index — flow nodes
   ============================================================ */

.flow {
  padding: 48px 0 40px;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: flow;
}

.flow-node {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  margin: 0;
  min-width: 0;
}

.flow-node:first-child {
  border-top: 0;
  padding-top: 4px;
}

.flow-node-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "index title"
    "index desc"
    "index coop";
  column-gap: 16px;
  min-width: 0;
}

.flow-index {
  grid-area: index;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

.flow-node-main h3 {
  grid-area: title;
  margin: 4px 0 6px;
  font-size: 18px;
}

.flow-node-main p {
  grid-area: desc;
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text-soft);
}

.flow-node-main .flow-coop {
  grid-area: coop;
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.flow-boundary {
  margin: 0;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  min-width: 0;
}

/* ============================================================
   index — scenarios
   ============================================================ */

.scenarios {
  padding: 40px 0 48px;
  background: var(--bg-alt);
}

.scenario-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.scenario-table th,
.scenario-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.65;
}

.scenario-table thead th {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  background: var(--bg-alt);
}

.scenario-table tbody th {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.scenario-table tbody tr:last-child th,
.scenario-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ============================================================
   index — standards brief
   ============================================================ */

.standards-brief {
  padding: 48px 0 40px;
}

.standards-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.standards-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
}

.standards-index {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.standards-item .check-tag {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.standards-item .check-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

.standards-more {
  margin: 0;
}

/* ============================================================
   index — faq preview
   ============================================================ */

.faq-preview {
  padding: 40px 0 48px;
  background: var(--bg-alt);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 18px;
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 0;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] .faq-question::before {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px 32px;
  font-size: 15px;
  color: var(--text-soft);
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-more {
  margin: 18px 0 0;
}

/* ============================================================
   index — studio brief
   ============================================================ */

.studio-brief {
  padding: 48px 0;
}

.studio-brief-inner {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.studio-brief-media {
  margin: 0;
  min-width: 0;
}

.studio-brief-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.studio-brief-text {
  min-width: 0;
}

.studio-brief-text h2 {
  margin-bottom: 10px;
}

.studio-brief-text p {
  color: var(--text-soft);
  font-size: 15px;
}

/* ============================================================
   services page
   ============================================================ */

.service-catalog {
  padding-bottom: 40px;
}

.service-entry {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  min-width: 0;
}

.service-entry:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.service-figure {
  margin: 0;
  min-width: 0;
}

.service-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.service-body {
  min-width: 0;
}

.service-index {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent);
}

.service-body h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.service-body p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 40em;
}

.service-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 16px 0 14px;
}

.field {
  min-width: 0;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.field dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 3px;
}

.field dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.service-link {
  margin: 0;
}

.compare-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.compare-section h2 {
  margin-bottom: 8px;
}

.table-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.scope-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.scope-col {
  min-width: 0;
}

.scope-col h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.exclusion-list {
  margin: 14px 0 0;
  padding-left: 1.2em;
}

.exclusion-list li {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  margin: 0;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
}

.check-list .check-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.check-list .check-question {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  max-width: none;
}

.check-list .check-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: none;
}

/* ============================================================
   services page — related
   ============================================================ */

.related-section {
  padding: 40px 0 0;
  border-top: 1px solid var(--border);
}

.related-section h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-item {
  margin: 0;
  min-width: 0;
}

.related-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-item a:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.related-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.related-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================================
   verification page
   ============================================================ */

.page-layout {
  display: grid;
  gap: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.layout-main-aside {
  grid-template-columns: minmax(0, 1fr) var(--aside);
}

.content-main {
  min-width: 0;
}

.content-aside {
  min-width: 0;
}

.page-layout .breadcrumb {
  padding: 0;
  margin: 0 0 6px;
  max-width: none;
}

.page-layout .page-header {
  padding: 0;
  margin: 0 0 24px;
  max-width: none;
}

.step-block {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.step-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.step-block h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step-block p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 40em;
}

.boundary-note {
  margin: 10px 0 0;
  padding: 10px 14px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  max-width: none;
}

.media-figure {
  margin: 0 0 20px;
}

.media-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.plain-list {
  margin: 0;
  padding-left: 1.2em;
}

.plain-list li {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.7;
}

.aside-block {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.aside-block h2 {
  font-size: 17px;
  margin-bottom: 6px;
}

.aside-note {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-soft);
}

.grade-card {
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.grade-card:last-child {
  margin-bottom: 0;
}

.grade-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--primary);
}

.grade-card p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

.grade-card .grade-tip {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

.anchor-index h2 {
  font-size: 15px;
  margin-bottom: 10px;
}

.anchor-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.anchor-list li {
  margin: 0;
  border-top: 1px solid var(--border);
}

.anchor-list li:first-child {
  border-top: 0;
}

.anchor-list a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.anchor-list a:hover {
  color: var(--primary);
}

.related-bar {
  margin-top: 8px;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.related-bar h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.related-list li {
  margin: 0;
  min-width: 0;
}

.related-list a {
  display: block;
  padding: 12px 16px;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.15s ease;
}

.related-list a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   workflow page
   ============================================================ */

.key-fields {
  padding: 0 0 32px;
}

.key-fields-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.key-field {
  margin: 0;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  min-width: 0;
}

.key-field dt {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.key-field dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.content-media {
  margin: 0;
}

.content-media-inline {
  max-width: var(--container);
  margin: 0 auto 32px;
  padding: 0 24px;
}

.content-media-inline img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.workflow-sequence {
  padding: 0 0 40px;
}

.node-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.node-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  margin: 0;
  min-width: 0;
}

.node-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.node-main {
  min-width: 0;
}

.node-index {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent);
}

.node-main .node-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.node-desc {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text-soft);
  max-width: 40em;
}

.node-coop {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text);
  max-width: 40em;
}

.node-check {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  max-width: 40em;
}

.node-boundary {
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  min-width: 0;
}

.boundary-tag {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent);
}

.node-boundary p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.workflow-pair {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
}

.pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.pair-col {
  min-width: 0;
}

.pair-col h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.material-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.material-list li {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
}

.material-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  max-width: none;
}

.material-use {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  max-width: none;
}

.blocker-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.blocker-fix {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  min-width: 0;
}

.blocker-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  max-width: none;
}

.blocker-fix p:last-child {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  max-width: none;
}

.related-entry {
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.related-heading {
  font-size: 20px;
  margin-bottom: 14px;
}

.related-entry .related-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.related-entry .related-list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.related-note {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-soft);
}

/* ============================================================
   standards page
   ============================================================ */

.page-layout.sidebar-left {
  grid-template-columns: var(--aside) minmax(0, 1fr);
}

.page-aside {
  min-width: 0;
}

.aside-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.field-nav {
  margin-top: 4px;
}

.field-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.field-nav-list li {
  margin: 0;
  border-top: 1px solid var(--border);
}

.field-nav-list li:first-child {
  border-top: 0;
}

.field-nav-list a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.field-nav-list a:hover {
  color: var(--primary);
}

.page-main {
  min-width: 0;
}

.field-block {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.field-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.field-name {
  margin: 0 0 5px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: none;
}

.field-block p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  max-width: 40em;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-item {
  position: relative;
  margin: 0;
  padding: 12px 16px 12px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  min-width: 0;
}

.checklist-item::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.boundary-col {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.boundary-do {
  border-top: 3px solid var(--primary);
}

.boundary-dont {
  border-top: 3px solid var(--accent);
}

.boundary-title {
  margin: 0 0 10px;
  font-size: 16px;
}

.boundary-list {
  margin: 0;
  padding-left: 1.2em;
}

.boundary-list li {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 8px;
  line-height: 1.65;
}

.usage-item {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.usage-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.usage-title {
  margin: 0 0 6px;
  font-size: 17px;
}

.usage-item p {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
  max-width: 40em;
}

/* ============================================================
   faq page
   ============================================================ */

.faq-index {
  padding-bottom: 40px;
}

.faq-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.faq-index-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
}

.faq-index-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.faq-index-name {
  margin: 0 0 6px;
  font-size: 16px;
}

.faq-index-desc {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1 1 auto;
}

.faq-index-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
}

.faq-index-link:hover {
  color: var(--text);
}

.faq-index-figure {
  margin: 0;
}

.faq-index-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.faq-group {
  padding-bottom: 36px;
}

.faq-group-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num lead";
  column-gap: 14px;
  margin-bottom: 16px;
}

.faq-group-num {
  grid-area: num;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.faq-group-title {
  grid-area: title;
  margin: 2px 0 4px;
  font-size: 22px;
}

.faq-group-lead {
  grid-area: lead;
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  max-width: 46em;
}

.faq-fallback {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.faq-fallback-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.faq-fallback-list {
  margin: 0;
  padding-left: 1.2em;
}

.faq-fallback-list li {
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-soft);
}

.faq-fallback-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.faq-fallback-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.faq-fallback-links {
  padding: 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  min-width: 0;
}

.faq-fallback-links p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  margin: 0;
  border-top: 1px solid var(--border);
}

.link-list li:first-child {
  border-top: 0;
}

.link-list a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.link-list a:hover {
  color: var(--text);
}

.related-strip {
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.related-strip .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.related-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.related-card:hover .related-name {
  color: var(--primary);
}

/* ============================================================
   studio page
   ============================================================ */

.page-layout:not(.sidebar-left):not(.layout-main-aside) {
  grid-template-columns: minmax(0, 1fr) var(--aside);
}

.layout-main {
  min-width: 0;
}

.layout-sidebar {
  min-width: 0;
}

.article-media {
  margin: 0 0 20px;
}

.article-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.layout-main .content-section > p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 40em;
}

.method-points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-points li {
  margin: 0;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

.method-points strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.team-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
}

.team-card-title {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--primary);
}

.team-card-role {
  margin: 0 0 2px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-soft);
}

.team-card p:not(.team-card-role) {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

.team-card p:last-child {
  margin-bottom: 0;
}

.section-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.principle-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.principle-item {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.principle-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.principle-title {
  margin: 0 0 5px;
  font-size: 17px;
}

.principle-item p {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
  max-width: 40em;
}

.sidebar-block {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.sidebar-title {
  margin: 0 0 10px;
  font-size: 17px;
}

.sidebar-block .boundary-list {
  margin-bottom: 12px;
}

.sidebar-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.sidebar-block .related-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.sidebar-block .related-list a {
  font-size: 14px;
  font-weight: 400;
}

.related-bar-title {
  font-size: 20px;
  margin-bottom: 14px;
}

.related-bar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.related-bar-list li {
  margin: 0;
  min-width: 0;
}

.related-bar-list a {
  display: block;
  padding: 12px 16px;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.15s ease;
}

.related-bar-list a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   404 page
   ============================================================ */

.error-main {
  padding: 64px 0 72px;
}

.error-wrap {
  max-width: 640px;
}

.error-code {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent);
}

.error-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.6vw, 34px);
}

.error-lead {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--text-soft);
}

.error-actions {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-actions li {
  margin: 0;
}

.error-hint {
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

.error-hint-title {
  margin: 0 0 6px;
  font-size: 16px;
}

.error-hint p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* ============================================================
   footer
   ============================================================ */

.site-footer {
  margin-top: 48px;
  padding: 44px 0 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0 0 6px;
}

.footer-links a {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  line-height: 1.6;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 18px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.footer-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  max-width: 60em;
}

/* ============================================================
   mobile bottom navigation
   ============================================================ */

.mobile-tabbar,
.mobile-bottom-nav {
  display: none;
}

.tabbar-list,
.bottom-nav-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.tabbar-list li,
.bottom-nav-list li {
  margin: 0;
}

.tabbar-list a,
.bottom-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 4px;
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: none;
  text-align: center;
}

.tabbar-list a.is-current,
.bottom-nav-link.is-current {
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 960px) {
  .header-inner {
    gap: 16px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 32px 0 40px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-media {
    order: 2;
  }

  .group-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .service-item,
  .service-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .service-item-media img,
  .service-figure img {
    aspect-ratio: 16 / 9;
  }

  .flow-node {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .layout-main-aside,
  .page-layout:not(.sidebar-left):not(.layout-main-aside) {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-aside,
  .layout-sidebar,
  .page-aside {
    order: 2;
  }

  .content-main,
  .layout-main,
  .page-main {
    order: 1;
  }

  .key-fields-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .node-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .scope-grid,
  .pair-grid,
  .boundary-grid,
  .faq-fallback-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .standards-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-brief-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .studio-brief-media img {
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-tabbar,
  .mobile-bottom-nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .site-main {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }

  .site-footer {
    margin-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }

  .container {
    padding: 0 18px;
  }

  .breadcrumb {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .content-media-inline {
    padding: 0 18px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .drawer-nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .theme-toggle-text {
    display: none;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
  }

  .theme-toggle-icon {
    font-size: 17px;
  }

  .hero-text h1 {
    font-size: clamp(26px, 6.4vw, 34px);
  }

  .condition-grid,
  .service-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-node-main {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
  }

  .flow-index {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .scenario-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .scenario-table thead,
  .scenario-table tbody,
  .scenario-table tr,
  .scenario-table th,
  .scenario-table td {
    display: block;
  }

  .scenario-table thead {
    display: none;
  }

  .scenario-table tbody tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }

  .scenario-table tbody tr:last-child {
    border-bottom: 0;
  }

  .scenario-table tbody th {
    padding: 0 0 8px;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 8px;
    white-space: normal;
    font-size: 16px;
  }

  .scenario-table tbody td {
    padding: 6px 0;
    border-bottom: 0;
  }

  .scenario-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-soft);
    margin-bottom: 2px;
  }

  .faq-index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-index-figure img {
    aspect-ratio: 16 / 9;
  }

  .faq-group-head {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
  }

  .faq-group-num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .faq-group-title {
    font-size: 19px;
  }

  .key-fields-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-media-inline img {
    aspect-ratio: 16 / 9;
  }

  .related-grid,
  .related-strip .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-bar-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-bottom: 20px;
  }

  .footer-col {
    border-bottom: 1px solid var(--border);
  }

  .footer-col:last-child {
    border-bottom: 0;
  }

  .footer-title {
    margin: 0;
    padding: 13px 0;
    cursor: default;
  }

  .footer-col .footer-links {
    padding-bottom: 12px;
  }

  .error-main {
    padding: 40px 0 48px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .breadcrumb {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .header-inner {
    padding: 0 14px;
    gap: 10px;
  }

  .drawer-nav {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-slogan {
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-check {
    padding: 14px 16px;
  }

  .group-col {
    padding: 18px 16px 14px;
  }

  .faq-item {
    padding: 0 14px;
  }

  .faq-answer {
    padding-left: 0;
  }

  .aside-block,
  .sidebar-block {
    padding: 16px;
  }

  .checklist-item {
    padding-left: 40px;
  }

  .checklist-item::before {
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
