:root {
  --c-primary: #1f7a5c;
  --c-primary-dark: #15573f;
  --c-primary-light: #e7f3ec;
  --c-accent: #e8835a;
  --c-accent-light: #fdece2;
  --c-ink: #1b2420;
  --c-ink-soft: #566059;
  --c-line: #e2e8e4;
  --c-bg: #f7f9f7;
  --c-white: #ffffff;
  --c-danger: #c6433c;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(20, 30, 25, 0.08);
  --shadow-md: 0 6px 20px rgba(20, 30, 25, 0.10);
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(6px);
}
.nav-row {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  color: var(--c-primary-dark);
  letter-spacing: 0.01em;
}
.brand .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-ink-soft);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink-soft);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--c-primary-light); color: var(--c-primary-dark); }
.nav-links a.active { background: var(--c-primary); color: #fff; }
.nav-cta {
  margin-left: 4px;
  background: var(--c-accent) !important;
  color: #fff !important;
}
.nav-cta:hover { background: #d8713f !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--c-primary-dark);
}

@media (max-width: 880px) {
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-md); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: block; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #d8713f; box-shadow: var(--shadow-md); }
.btn-outline { background: #fff; color: var(--c-primary-dark); border: 1.5px solid var(--c-line); }
.btn-outline:hover { border-color: var(--c-primary); background: var(--c-primary-light); }
.btn-ghost { background: transparent; color: var(--c-primary-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-media {
  position: relative;
  height: 480px;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21,40,30,0.86) 0%, rgba(21,40,30,0.55) 42%, rgba(21,40,30,0.15) 75%);
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  color: #fff;
  z-index: 2;
}
.hero-copy .container { max-width: 1120px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 16px;
  max-width: 640px;
}
.hero p.lead {
  font-size: 16.5px;
  line-height: 1.8;
  max-width: 560px;
  color: rgba(255,255,255,0.92);
  margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .hero-media { height: 620px; }
  .hero h1 { font-size: 28px; }
}

/* ===== Section ===== */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .tag {
  display: inline-block;
  color: var(--c-primary);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 30px; margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--c-ink-soft); line-height: 1.8; font-size: 15.5px; margin: 0; }
.section-alt { background: var(--c-white); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}
.feature-card .icon-badge {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 15.5px; margin: 0 0 8px; font-weight: 700; }
.feature-card p { font-size: 13.5px; color: var(--c-ink-soft); line-height: 1.7; margin: 0; }
.feature-card .num {
  font-size: 11px; font-weight: 800; color: var(--c-accent); letter-spacing: 0.05em; margin-bottom: 6px; display:block;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; color: #fff; margin-bottom: 10px;}
.footer-col h4 { font-size: 13px; letter-spacing: 0.04em; color: #fff; margin: 0 0 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 20px; font-size: 12.5px; color: rgba(255,255,255,0.6);
}
.footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 280px; }

/* ===== Page header (non-hero pages) ===== */
.page-top {
  background: linear-gradient(135deg, var(--c-primary-light), #fff);
  border-bottom: 1px solid var(--c-line);
  padding: 36px 0;
}
.page-top h1 { font-size: 25px; margin: 0 0 6px; font-weight: 800; display: flex; align-items: center; gap: 10px;}
.page-top p { margin: 0; color: var(--c-ink-soft); font-size: 14px; }
.crumbs { font-size: 12.5px; color: var(--c-ink-soft); margin-bottom: 10px; display:flex; align-items:center; gap:6px; }
.crumbs a { color: var(--c-primary-dark); font-weight: 600; }

/* ===== badges / chips ===== */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.badge-ok { background: #e4f4ea; color: #1b7a44; }
.badge-out { background: #fbe8e6; color: var(--c-danger); }
.badge-low { background: #fff3e0; color: #b3690f; }

/* ===== Map layout ===== */
.map-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  height: calc(100vh - 64px - 90px);
  min-height: 560px;
  border-top: 1px solid var(--c-line);
}
.map-sidebar {
  background: #fff;
  border-right: 1px solid var(--c-line);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.map-sidebar-head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--c-line);
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.search-box {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--c-line); border-radius: 10px;
  padding: 10px 12px; background: var(--c-bg);
}
.search-box input {
  border: none; background: transparent; outline: none; font-size: 14px; width: 100%; color: var(--c-ink);
}
.filter-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.filter-label { font-size: 13px; font-weight: 700; color: var(--c-ink-soft); display:flex; align-items:center; gap:6px;}

.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0; background-color: #d4dad6;
  transition: .2s; border-radius: 999px;
}
.slider::before {
  position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px;
  background-color: white; transition: .2s; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.switch input:checked + .slider { background-color: var(--c-primary); }
.switch input:checked + .slider::before { transform: translateX(20px); }

.store-list { flex: 1; overflow-y: auto; padding: 8px; }
.store-item {
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 13px 12px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.store-item:hover { background: var(--c-primary-light); }
.store-item.selected { border-color: var(--c-primary); background: var(--c-primary-light); }
.store-item.dimmed { opacity: 0.4; }
.store-item .si-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px;}
.store-item h4 { font-size: 14.5px; margin: 0; font-weight: 700; }
.store-item .si-addr { font-size: 12.5px; color: var(--c-ink-soft); margin: 0 0 6px; line-height: 1.5; }
.store-item .si-meta { font-size: 11.5px; color: var(--c-ink-soft); display:flex; gap:10px; align-items:center; }
.store-list-empty { text-align: center; padding: 50px 16px; color: var(--c-ink-soft); font-size: 13.5px; }

#map { width: 100%; height: 100%; background: #e9eee9; }

.leaflet-popup-content { font-family: inherit; }
.popup-card { min-width: 190px; }
.popup-card h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.popup-card p { margin: 0 0 8px; font-size: 12px; color: var(--c-ink-soft); line-height: 1.5; }
.popup-card a.btn { padding: 7px 14px; font-size: 12.5px; }

@media (max-width: 880px) {
  .map-shell { grid-template-columns: 1fr; height: auto; }
  .map-sidebar { height: 340px; border-right: none; border-bottom: 1px solid var(--c-line); }
  #map { height: 420px; }
}

/* ===== Store detail / product table ===== */
.store-detail-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.store-detail-head h2 { margin: 0 0 6px; font-size: 20px; }
.store-detail-head .meta-line { font-size: 13.5px; color: var(--c-ink-soft); display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px;}
.store-detail-head .meta-line span { display: flex; align-items: center; gap: 6px; }

.toolbar {
  display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap;
}
.select-chip {
  border: 1.5px solid var(--c-line); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600;
  background: #fff; color: var(--c-ink-soft);
}
.select-chip.active { border-color: var(--c-primary); background: var(--c-primary-light); color: var(--c-primary-dark); }

.product-table-wrap {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
table.product-table { width: 100%; border-collapse: collapse; }
table.product-table th {
  text-align: left; font-size: 12px; color: var(--c-ink-soft); font-weight: 700; letter-spacing: 0.03em;
  padding: 12px 16px; border-bottom: 1px solid var(--c-line); background: var(--c-bg);
}
table.product-table td { padding: 12px 16px; border-bottom: 1px solid var(--c-line); font-size: 14px; vertical-align: middle; }
table.product-table tr:last-child td { border-bottom: none; }
.prod-cell { display: flex; align-items: center; gap: 12px; }
.prod-cell img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; border: 1px solid var(--c-line); }
.prod-cell .pname { font-weight: 600; font-size: 13.5px; }
.prod-cell .pcode { font-size: 11.5px; color: var(--c-ink-soft); font-family: "SF Mono", Consolas, monospace; }
.qty-num { font-weight: 800; font-size: 15px; }
.qty-num.zero { color: var(--c-danger); }
.qty-num.low { color: #b3690f; }
.updated-cell { font-size: 12.5px; color: var(--c-ink-soft); }

@media (max-width: 760px) {
  table.product-table thead { display: none; }
  table.product-table tr { display: block; border-bottom: 8px solid var(--c-bg); }
  table.product-table td { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--c-line); gap: 12px; }
  table.product-table td:last-child { border-bottom: none; }
  table.product-table td::before { content: attr(data-label); font-size: 11px; color: var(--c-ink-soft); font-weight: 700; flex-shrink: 0; }
  .prod-cell { flex: 1; }
}

/* ===== Staff mobile simulator ===== */
.staff-wrap {
  display: flex; justify-content: center; padding: 48px 20px 70px; background: linear-gradient(180deg, var(--c-primary-light) 0%, var(--c-bg) 320px);
  min-height: calc(100vh - 64px);
}
.phone-frame {
  width: 360px;
  border-radius: 42px;
  background: #15181a;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(15, 30, 22, 0.35), 0 0 0 1.5px rgba(255,255,255,0.06) inset;
  position: relative;
}
.phone-frame .notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 22px; background: #15181a; border-radius: 0 0 16px 16px; z-index: 5;
}
.phone-screen {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  height: 720px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-statusbar {
  height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px;
  font-size: 12px; font-weight: 700; color: #111;
}
.phone-topbar {
  padding: 6px 18px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--c-line);
}
.phone-topbar .staff-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--c-primary); color:#fff; display:flex; align-items:center; justify-content:center; }
.phone-topbar strong { font-size: 14px; }
.phone-topbar small { display:block; font-size: 10.5px; color: var(--c-ink-soft); }

.phone-body { flex: 1; overflow-y: auto; padding: 18px; }
.staff-store-pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--c-primary-light); color: var(--c-primary-dark);
  font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}

.scan-launch {
  border: 2px dashed var(--c-line); border-radius: 18px; padding: 34px 16px; text-align: center; margin-bottom: 18px;
  background: var(--c-bg);
}
.scan-launch .scan-icon-circle {
  width: 56px; height: 56px; border-radius: 50%; background: var(--c-primary); color:#fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.scan-launch p { font-size: 12.5px; color: var(--c-ink-soft); margin: 6px 0 16px; line-height: 1.6; }

.scanner-view {
  display: none;
  border-radius: 18px; overflow: hidden; position: relative; height: 300px;
  background: linear-gradient(160deg, #0c1210, #1c2b23);
  margin-bottom: 16px;
}
.scanner-view.active { display: block; }
.scanner-view .scan-frame {
  position: absolute; top: 50%; left: 50%; width: 220px; height: 130px; transform: translate(-50%, -50%);
  border: 2.5px solid rgba(255,255,255,0.85); border-radius: 12px;
}
.scanner-view .scan-frame::before, .scanner-view .scan-frame::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--c-accent); border-style: solid;
}
.scanner-view .scan-frame::before { top: -3px; left: -3px; border-width: 4px 0 0 4px; border-radius: 6px 0 0 0; }
.scanner-view .scan-frame::after { bottom: -3px; right: -3px; border-width: 0 4px 4px 0; border-radius: 0 0 6px 0; }
.scan-line {
  position: absolute; left: 50%; top: 50%; width: 200px; height: 2px; transform: translate(-50%, -65px);
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
  box-shadow: 0 0 8px var(--c-accent);
  animation: scanmove 1.6s ease-in-out infinite;
}
@keyframes scanmove {
  0% { transform: translate(-50%, -65px); opacity: 0.3; }
  50% { transform: translate(-50%, 65px); opacity: 1; }
  100% { transform: translate(-50%, -65px); opacity: 0.3; }
}
.scanner-view .scan-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 11.5px; }
.scanner-view .scan-success {
  position: absolute; inset: 0; background: rgba(21, 87, 63, 0.92); color: #fff;
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 10px; text-align: center; padding: 0 20px;
}
.scanner-view .scan-success.show { display: flex; }
.scanner-view .scan-success .check-circle {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}

.product-hit-card { display: none; border: 1px solid var(--c-line); border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.product-hit-card.show { display: block; animation: fadein 0.25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform: translateY(0);} }
.product-hit-card .ph-top { display: flex; gap: 12px; margin-bottom: 12px; }
.product-hit-card img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--c-line); }
.product-hit-card .pcode { font-size: 11px; color: var(--c-ink-soft); font-family: Consolas, monospace; }
.product-hit-card .pname { font-size: 14px; font-weight: 700; margin: 2px 0 4px; }

.qty-editor { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 0 4px; }
.qty-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--c-line); background: #fff;
  font-size: 20px; font-weight: 800; color: var(--c-primary-dark); display: flex; align-items: center; justify-content: center;
}
.qty-btn:active { background: var(--c-primary-light); }
.qty-value { font-size: 28px; font-weight: 800; width: 64px; text-align: center; }
.qty-caption { text-align: center; font-size: 11.5px; color: var(--c-ink-soft); margin-top: 4px; }

.toast-success {
  position: absolute; left: 16px; right: 16px; bottom: 90px;
  background: #1b7a44; color: #fff; border-radius: 12px; padding: 13px 16px; font-size: 12.5px; font-weight: 600;
  display: none; align-items: center; gap: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.2); z-index: 20;
}
.toast-success.show { display: flex; animation: fadein 0.25s ease; }

.phone-tabbar {
  height: 62px; border-top: 1px solid var(--c-line); display: flex; align-items: center; justify-content: space-around;
  background: #fff;
}
.phone-tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; color: var(--c-ink-soft); font-weight: 600; }
.phone-tabbar .tab.active { color: var(--c-primary); }

.staff-recent { margin-top: 4px; }
.staff-recent h5 { font-size: 11.5px; color: var(--c-ink-soft); margin: 0 0 10px; letter-spacing: 0.03em; }
.recent-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 12.5px; }
.recent-row:last-child { border-bottom: none; }
.recent-row .rname { font-weight: 600; }
.recent-row .rtime { color: var(--c-ink-soft); font-size: 11px; }
.recent-delta { font-weight: 800; }
.recent-delta.plus { color: #1b7a44; }
.recent-delta.minus { color: var(--c-danger); }

.staff-caption-box {
  max-width: 420px; margin: 26px auto 0; text-align: center; color: var(--c-ink-soft); font-size: 13px; line-height: 1.7;
}

/* ===== Tech page ===== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.tech-card .tech-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--c-primary-light); color: var(--c-primary-dark); display:flex; align-items:center; justify-content:center; margin-bottom: 14px;}
.tech-card h3 { font-size: 15.5px; margin: 0 0 4px; }
.tech-card .tech-tag { font-size: 11.5px; color: var(--c-accent); font-weight: 700; margin-bottom: 10px; display:block;}
.tech-card p { font-size: 13.5px; color: var(--c-ink-soft); line-height: 1.75; margin: 0; }
.tech-card ul { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.tech-card ul li { font-size: 12.5px; color: var(--c-ink-soft); display: flex; gap: 6px; align-items: flex-start; }
.tech-card ul li::before { content: "・"; color: var(--c-primary); font-weight: 800; }

.arch-diagram {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.arch-node {
  flex: 1; min-width: 150px; text-align: center; padding: 18px 12px; border-radius: 12px; background: var(--c-bg); border: 1px solid var(--c-line);
}
.arch-node .an-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--c-primary); color:#fff; display:flex; align-items:center; justify-content:center; margin: 0 auto 10px; }
.arch-node strong { font-size: 13px; display: block; margin-bottom: 4px; }
.arch-node span { font-size: 11px; color: var(--c-ink-soft); }
.arch-arrow { color: var(--c-line); flex-shrink: 0; }
@media (max-width: 780px) { .arch-diagram { flex-direction: column; } .arch-arrow { transform: rotate(90deg); } }

.why-fit-list { display: flex; flex-direction: column; gap: 14px; }
.why-fit-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 16px 18px; align-items: flex-start; }
.why-fit-item .wf-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--c-accent-light); color: var(--c-accent); display:flex; align-items:center; justify-content:center; flex-shrink: 0; }
.why-fit-item h4 { margin: 0 0 4px; font-size: 14px; }
.why-fit-item p { margin: 0; font-size: 13px; color: var(--c-ink-soft); line-height: 1.7; }

.cta-band {
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary));
  color: #fff; border-radius: 20px; padding: 44px 36px; text-align: center; margin: 0 auto;
}
.cta-band h2 { font-size: 24px; margin: 0 0 10px; }
.cta-band p { font-size: 14.5px; color: rgba(255,255,255,0.85); margin: 0 0 24px; }

.demo-flag {
  background: #fff7e6; border: 1px solid #f3dca0; color: #8a6318; font-size: 12.5px; padding: 10px 16px; border-radius: 10px;
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
