/* roulang page: index */
:root {
  --bg: #F3F6FA;
  --card: #FFFFFF;
  --text: #1C2836;
  --muted: #5C6B7A;
  --primary: #3E7CB8;
  --primary-press: #2F6294;
  --accent: #B76B86;
  --line: #E3EAF2;
  --shadow: 0 10px 28px rgba(40, 72, 110, 0.08);
  --shadow-hover: 0 16px 32px rgba(40, 72, 110, 0.12);
  --radius: 14px;
  --radius-btn: 10px;
  --container: 1120px;
  --pad: 24px;
  --section: 72px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  padding-top: 88px;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: inherit; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; text-align: left; overflow-wrap: anywhere; }
p + p { margin-top: 0.9em; }
.container { width: min(var(--container), calc(100% - var(--pad) * 2)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--card);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}
.skip:focus { top: 8px; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(40, 72, 110, 0.05);
}
.header-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
}
.logo:hover { text-decoration: none; color: var(--primary-press); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #E7F1FA;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.logo-mark svg { width: 22px; height: 22px; display: block; }
.logo-full {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.logo-sub {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.nav-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  flex: 1;
  min-width: 0;
}
.nav-mid a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-mid a:hover { color: var(--primary); text-decoration: none; }
.nav-mid a.active, .nav-mid a[aria-current="page"] {
  color: var(--primary-press);
  border-bottom-color: var(--primary);
}
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-form { display: flex; align-items: center; }
.search-form input, .footer-search input, .login-panel input {
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-btn);
  padding: 0 12px;
  color: var(--text);
  width: 220px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form input:focus, .footer-search input:focus, .login-panel input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(62, 124, 184, 0.15);
  outline: none;
}
.icon-btn, .menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn svg, .menu-toggle svg { width: 18px; height: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--primary-press); color: #fff; }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: #E7F1FA; color: var(--primary-press); }
.btn-text {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  padding-inline: 10px;
}
.btn-text:hover { color: var(--primary); background: #E7F1FA; }
.login-panel {
  position: absolute;
  right: max(16px, calc((100% - var(--container)) / 2));
  top: 78px;
  width: min(320px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  z-index: 60;
}
.login-panel h2 { font-size: 18px; margin-bottom: 12px; }
.login-panel label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.login-panel input { width: 100%; margin-top: 4px; }
.form-error { color: var(--accent); font-size: 13px; min-height: 1.4em; margin: 0 0 8px; }
.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 0 16px;
}
.drawer a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.drawer a.active { color: var(--primary-press); }
.drawer.open { display: block; }
.block { padding: var(--section) 0; }
.block:nth-child(even) { background: #fff; }
.block:nth-child(odd) { background: var(--bg); }
.block-head { margin-bottom: 22px; max-width: 760px; }
.block-head h2 { font-size: 28px; margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 16px; }
.hero-grid, .split, .news-grid, .cat-bar, .cta-band {
  display: grid;
  gap: 22px;
}
.hero-grid { grid-template-columns: 1.35fr 0.85fr; align-items: stretch; }
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #E7F1FA;
  color: var(--primary-press);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
h1 { font-size: 34px; letter-spacing: 0; }
.subhead { margin: 10px 0 12px; font-size: 18px; font-weight: 700; color: var(--primary-press); }
.point-list, .problem-list, .plain-list, .link-list { list-style: none; margin: 0; padding: 0; }
.point-list li {
  position: relative;
  padding-left: 16px;
  margin: 6px 0;
  color: var(--text);
}
.point-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.65em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.problem-card h2 { font-size: 22px; margin-bottom: 8px; }
.problem-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.problem-list li:first-child { border-top: 0; }
.problem-list strong { display: block; font-size: 16px; }
.problem-list span { color: var(--muted); display: block; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: stretch;
}
.compare h3 { font-size: 18px; margin-bottom: 10px; }
.compare ul { margin: 0; padding-left: 18px; color: var(--muted); }
.compare li + li { margin-top: 8px; }
.tag-col { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.pill, .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #F7FAFD;
  color: var(--muted);
  min-height: 30px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.pill:hover { border-color: var(--primary); color: var(--primary-press); }
.pill.is-on, .pill[aria-pressed="true"] {
  background: #E7F1FA;
  color: var(--primary-press);
  border-color: var(--primary);
}
.badge { cursor: default; }
.badge-update { color: var(--primary-press); background: #E7F1FA; border-color: #D5E6F5; }
.badge-wait { color: var(--accent); background: #F8EEF2; border-color: #F0D9E2; }
.badge-hd { color: var(--primary); background: #fff; border-color: var(--primary); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step { min-height: 168px; }
.code {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.step h3 { margin: 10px 0 6px; font-size: 18px; }
.step p { color: var(--muted); }
.bento {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.scene-wide { grid-row: 1 / span 2; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.scene-card h3 { font-size: 22px; margin: 8px 0; }
.scene-card p { color: var(--muted); }
.scene-card a.more { font-weight: 700; }
.wall {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
  gap: 16px;
}
.stack { display: flex; flex-direction: column; gap: 12px; }
.entry {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.entry:hover { text-decoration: none; transform: translateY(-2px); }
.entry h3 { font-size: 17px; margin-bottom: 4px; }
.entry p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.entry.compact { grid-template-columns: 68px minmax(0, 1fr); }
.entry.compact .badges { grid-column: 2; justify-content: flex-start; }
.is-hidden { display: none; }
.empty {
  margin-top: 12px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat-band article { padding: 22px 20px; }
.stat-band article + article { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--mono); font-size: 40px; font-weight: 700; color: var(--primary-press); line-height: 1; }
.stat-num small { font-size: 16px; margin-left: 6px; color: var(--muted); font-family: var(--font); }
.stat-band p { margin-top: 8px; color: var(--muted); }
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.quote:nth-child(2) { margin-top: 36px; }
.quote q { display: block; font-size: 18px; line-height: 1.7; }
.quote cite { display: block; margin-top: 12px; color: var(--accent); font-style: normal; font-weight: 700; }
.who {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.who li {
  background: #fff;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow);
  padding: 16px 14px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.who strong { display: block; margin-bottom: 4px; }
.who span { color: var(--muted); font-size: 14px; }
.news-grid { grid-template-columns: 1.15fr 0.85fr; }
.news-main { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.time { font-family: var(--mono); color: var(--primary); font-size: 13px; font-weight: 700; }
.news-main h3, .news-side a { color: var(--text); }
.news-main h3 { font-size: 24px; margin: 8px 0; }
.news-side { display: flex; flex-direction: column; gap: 10px; }
.news-side a {
  display: block;
  text-decoration: none;
}
.news-side a:hover h3 { color: var(--primary); }
.news-side h3 { font-size: 16px; margin-top: 4px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric { background: #F7FAFD; }
.metric strong {
  display: block;
  font-family: var(--mono);
  font-size: 32px;
  color: var(--primary-press);
  line-height: 1.1;
}
.metric span { color: var(--muted); }
.filter-panel { padding: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.filter-row b { min-width: 72px; font-size: 14px; }
.cat-bar {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 22px;
}
.cat-bar h2 { margin-bottom: 6px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq details p { color: var(--muted); padding-bottom: 14px; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  color: var(--text);
  font-weight: 650;
}
.link-list a:hover { color: var(--primary); }
.link-list em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 13px; }
.cta-band {
  grid-template-columns: 1fr auto;
  align-items: center;
  background: #E7F1FA;
  border: 1px solid #D5E6F5;
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 42px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 22px;
}
.site-footer h2 { font-size: 16px; margin-bottom: 8px; }
.site-footer h3 { font-size: 15px; margin-bottom: 8px; }
.site-footer p, .site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.footer-search { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-search input { width: 100%; }
.copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1023px) {
  .hero-grid, .compare, .news-grid, .wall, .quotes, .footer-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .quote:nth-child(2) { margin-top: 0; }
  .steps, .who, .metrics { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-band article + article { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .scene-wide { grid-row: auto; min-height: 0; }
  .nav-mid { display: none; }
  .search-form { display: none; }
  .icon-btn, .menu-toggle { display: inline-flex; }
  .header-bar.search-open .search-form { display: flex; position: absolute; left: 16px; right: 16px; top: 74px; z-index: 55; }
  .header-bar.search-open .search-form input { width: 100%; background: #fff; }
  .logo-full { white-space: normal; max-width: 46vw; }
}
@media (max-width: 767px) {
  :root { --pad: 16px; --section: 40px; }
  body { padding-top: 76px; font-size: 15px; }
  h1 { font-size: 26px; }
  .block-head h2, .cta-band h2 { font-size: 22px; }
  .steps, .who, .metrics { grid-template-columns: 1fr; }
  .entry, .entry.compact { grid-template-columns: 60px minmax(0, 1fr); }
  .badges { grid-column: 2; justify-content: flex-start; }
  .cat-bar, .cta-band { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { width: 100%; }
  .btn { width: auto; }
  .stat-num { font-size: 32px; }
}
@media (max-width: 520px) {
  .logo-sub { display: none; }
  .trust { flex-direction: column; gap: 4px; }
  .header-bar { gap: 8px; }
}

/* roulang page: category1 */
:root {
  --bg: #F3F6FA;
  --card: #FFFFFF;
  --text: #1C2836;
  --muted: #5C6B7A;
  --primary: #3E7CB8;
  --primary-press: #2F6294;
  --accent: #B76B86;
  --line: #E3EAF2;
  --shadow: 0 10px 28px rgba(40, 72, 110, 0.08);
  --shadow-hover: 0 16px 32px rgba(40, 72, 110, 0.12);
  --radius: 14px;
  --radius-btn: 10px;
  --container: 1120px;
  --pad: 24px;
  --section: 72px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  padding-top: 88px;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: inherit; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.container { width: min(var(--container), calc(100% - var(--pad) * 2)); margin: 0 auto; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(40, 72, 110, 0.05);
}
.header-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
}
.logo:hover { text-decoration: none; color: var(--primary-press); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #E7F1FA;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.logo-mark svg { width: 22px; height: 22px; display: block; }
.logo-text { min-width: 0; }
.logo-full {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.logo-sub {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.nav-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  flex: 1;
  min-width: 0;
}
.nav-mid a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-mid a:hover { color: var(--primary); text-decoration: none; }
.nav-mid a.active, .nav-mid a[aria-current="page"] {
  color: var(--primary-press);
  border-bottom-color: var(--primary);
}
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; position: relative; }
.search-form { display: flex; align-items: center; position: relative; }
.search-form input, .footer-search input, .login-panel input {
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-btn);
  padding: 0 12px;
  color: var(--text);
  width: 220px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form input:focus, .footer-search input:focus, .login-panel input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(62, 124, 184, 0.15);
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.icon-btn, .menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn svg, .menu-toggle svg { width: 18px; height: 18px; }
.icon-btn:hover, .menu-toggle:hover { border-color: var(--primary); background: #E7F1FA; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--primary-press); color: #fff; }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: #E7F1FA; color: var(--primary-press); }
.btn-text {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  padding-inline: 10px;
}
.btn-text:hover { color: var(--primary); background: #E7F1FA; }
.btn-text[aria-expanded="true"] { color: var(--primary-press); background: #E7F1FA; }
.login-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  z-index: 60;
  padding: 16px;
}
.login-panel[hidden] { display: none; }
.login-panel label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.login-panel input { width: 100%; margin-top: 4px; }
.form-error { color: var(--accent); font-size: 13px; min-height: 1.4em; margin: 8px 0; }
.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 0 16px;
}
.drawer a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.drawer a:hover { color: var(--primary); text-decoration: none; }
.drawer a.active { color: var(--primary-press); }
.drawer.open { display: block; }
.lead { color: var(--muted); font-size: 16px; margin: 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.pill, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #F7FAFC;
  color: var(--primary-press);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.badge-ok { color: var(--primary-press); background: #E7F1FA; border-color: #D3E4F4; }
.badge-wait { color: var(--accent); background: #FBF4F6; border-color: #F0D5DE; }
.badge-clear { color: #2F6294; background: #F4F8FB; border-color: #D5E3F0; }
.page-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0 20px;
}
.page-head h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
}
.section { padding: var(--section) 0; }
.section-tight { padding: 28px 0; }
.section-white {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-soft { background: #EAF2F8; }
.section h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
}
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sort-label { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.sort-group { display: flex; gap: 8px; flex-wrap: wrap; }
.sort-btn {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.sort-btn:hover { border-color: var(--primary); color: var(--primary); }
.sort-btn.is-on, .sort-btn[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.entry-list { display: grid; gap: 14px; }
.entry-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(180px, 5fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}
.entry-kicker { display: flex; align-items: center; gap: 8px; }
.entry-no {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.entry-card h3 {
  margin: 8px 0 6px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  text-align: left;
}
.entry-card h3 a { color: var(--text); }
.entry-card h3 a:hover { color: var(--primary); }
.entry-card p { margin: 0; color: var(--muted); }
.entry-card p + p { margin-top: 2px; }
.entry-side {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.entry-side .btn { margin-left: 4px; }
.empty-state {
  margin: 12px 0 0;
  padding: 28px 16px;
  text-align: left;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty-state[hidden] { display: none; }
.more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.more-row p { margin: 0; color: var(--text); }
.more-link { font-weight: 700; white-space: nowrap; }
.schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.schedule-item {
  display: grid;
  grid-template-columns: 92px 132px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}
.schedule-item strong { font-size: 16px; }
.schedule-item .time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--primary-press);
}
.schedule-item span:last-child { color: var(--muted); }
.path-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.path-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  color: var(--text);
  min-height: 92px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.path-item:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); text-decoration: none; }
.path-no {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #E7F1FA;
  color: var(--primary-press);
  font-family: var(--mono);
  font-weight: 700;
}
.path-item b { display: block; font-size: 16px; line-height: 1.4; }
.path-item small { display: block; color: var(--muted); font-size: 13px; }
.qa { display: grid; gap: 10px; }
.qa details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px;
}
.qa summary {
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "＋";
  color: var(--primary);
  font-weight: 700;
  flex: 0 0 auto;
}
.qa details[open] summary::after { content: "－"; }
.qa details p { margin: 8px 0 0; color: var(--muted); }
.close-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.close-band h2 { margin-bottom: 6px; }
.close-band p { margin: 0; color: var(--muted); }
.close-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 48px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 1.1fr;
  gap: 28px;
}
.site-footer h2 { margin: 0 0 8px; font-size: 16px; line-height: 1.45; font-weight: 700; text-align: left; }
.site-footer h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--text); font-weight: 600; }
.site-footer a:hover { color: var(--primary); }
.footer-search { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-search input { width: 100%; }
.copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1023px) {
  body { padding-top: 128px; }
  .header-bar { flex-wrap: wrap; row-gap: 4px; }
  .nav-mid {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .search-form input { width: 160px; }
  .entry-card { grid-template-columns: 1fr; }
  .entry-side { justify-content: flex-start; }
  .path-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .schedule-item { grid-template-columns: 72px 1fr; }
  .schedule-item .time { grid-column: 2; }
}
@media (max-width: 767px) {
  :root { --pad: 16px; --section: 40px; }
  body { padding-top: 76px; font-size: 15px; }
  .nav-mid, .search-form, .btn-login { display: none; }
  .icon-btn, .menu-toggle { display: inline-flex; }
  .search-form.show {
    display: flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    z-index: 70;
  }
  .search-form.show input { width: 100%; background: #fff; }
  .header-bar { min-height: 64px; flex-wrap: nowrap; }
  .logo-full { font-size: 12px; white-space: normal; max-width: 42vw; }
  .page-head { padding: 20px 0 16px; }
  .page-head h1 { font-size: 22px; }
  .section h2 { font-size: 22px; }
  .more-row, .close-band { flex-direction: column; align-items: flex-start; }
  .schedule-item { grid-template-columns: 1fr; gap: 4px; }
  .schedule-item .time { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .login-panel { position: fixed; left: 16px; right: 16px; top: 76px; width: auto; }
}
@media (max-width: 520px) {
  .entry-card { padding: 14px; }
  .entry-card h3 { font-size: 16px; }
  .sort-bar { align-items: flex-start; flex-direction: column; }
  .btn { width: auto; }
  .close-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
