:root {
  --bg: #ffffff;
  --ink: #07142f;
  --muted: #6d7890;
  --line: #dbe4ef;
  --soft: #f6f9fd;
  --green: #168a54;
  --blue: #0b5ee8;
  --shadow: 0 18px 52px rgba(15, 35, 60, .09);
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; font-size: clamp(20px, 2vw, 28px); font-weight: 900; letter-spacing: .01em; }
.brand strong { color: var(--green); }
.top-nav { display: flex; align-items: center; gap: 32px; color: var(--ink); font-weight: 800; }
.top-nav a { text-decoration: none; }
main { width: min(calc(100% - 48px), 1240px); margin: 0 auto; }
.hero { padding: 64px 0 34px; text-align: center; }
.hero h1 { margin: 0 0 28px; font-size: clamp(36px, 5vw, 58px); line-height: 1.12; letter-spacing: -.05em; }
.search-box { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 14px; width: min(100%, 720px); margin: 0 auto; padding: 18px 24px; border: 1px solid #c9d4e3; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(10, 32, 60, .08); }
.search-box svg { width: 28px; height: 28px; fill: none; stroke: #68758b; stroke-width: 2; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 18px; }
.search-results { width: min(100%, 720px); margin: 14px auto 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-align: left; }
.search-results a { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-results a:last-child { border-bottom: 0; }
.search-results strong { display: block; }
.search-results span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 38px; }
.product-card { display: grid; gap: 10px; min-height: 184px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-2px); border-color: #80b5ff; box-shadow: var(--shadow); }
.product-card strong { font-size: 20px; }
.product-card small { color: var(--muted); font-size: 15px; line-height: 1.6; }
.product-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: #72bf39; color: #fff; font-size: 27px; font-weight: 900; }
.product-icon--api { background: #e8f7ef; color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dashboard { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-bottom: 46px; }
.panel { min-width: 0; border-right: 1px solid var(--line); padding-right: 28px; }
.panel:last-child { border-right: 0; padding-right: 0; }
.panel h2 { margin: 0 0 18px; font-size: 22px; }
.article-list, .faq-list { display: grid; gap: 8px; }
.guide-link, .faq-item { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-link strong, .faq-item strong { display: block; }
.guide-link span, .faq-item span, .ai-panel p { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.ask-form { display: grid; gap: 12px; margin-top: 18px; }
.ask-form textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font: inherit; }
.ask-form button { justify-self: start; border: 1px solid var(--green); border-radius: 999px; background: #fff; color: var(--green); padding: 10px 18px; font-weight: 800; }
.ask-result { margin-top: 12px; color: var(--green); font-size: 13px; }
.ops-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; margin: 0 0 52px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #f7fbff, #f4fbf7); }
.ops-panel h2 { margin: 0 0 8px; }
.ops-panel p, .ops-panel li { color: var(--muted); line-height: 1.7; }
.site-footer { display: flex; justify-content: center; gap: 22px; padding: 34px 24px; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px 22px; }
  .top-nav { gap: 18px; flex-wrap: wrap; }
  main { width: min(calc(100% - 28px), 1240px); }
  .hero { padding-top: 42px; }
  .product-grid, .dashboard, .ops-panel { grid-template-columns: 1fr; }
  .panel { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .panel:last-child { border-bottom: 0; padding-bottom: 0; }
}
