@charset "UTF-8";
/* CSS Document */

:root{
    --bg:#f7f7f9;
    --card:#ffffff;
    --ink:#1f2937;
    --muted:#6b7280;
    --brand:#0ea5e9;
    --border:#e5e7eb;
    --radius:14px;
  }
  body{font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,Meiryo,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;background:var(--bg);color:var(--ink);margin:0;line-height:1.6}
  .container{max-width:960px;margin:32px auto;padding:0 16px}
  .header{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:16px}
  h1{font-size:clamp(22px,3vw,28px);margin:0}
  .tools{display:flex;flex-wrap:wrap;gap:8px}
  .btn{appearance:none;border:1px solid var(--border);background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;font-size:14px}
  .btn:hover{border-color:var(--brand)}
  .filters{display:grid;grid-template-columns:1fr minmax(180px,240px);gap:10px;margin:12px 0 20px}
  .search{display:flex;gap:8px;align-items:center;background:var(--card);border:1px solid var(--border);border-radius:999px;
	  height: 70px; padding:8px 12px}
  .search input{border:none;outline:none;width:100%;font-size:14px;background:transparent}
  .tag-select{display:flex;gap:6px;flex-wrap:wrap}
  .tag{font-size:12px;border:1px solid var(--border);background:#fff;padding:6px 10px;border-radius:999px;cursor:pointer;user-select:none}
  .tag[data-active="true"]{border-color:var(--brand);color:var(--brand);font-weight:600}

  /* Category Cards */
  .category{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:10px 12px;margin-bottom:14px;box-shadow:0 2px 8px rgba(15,23,42,0.04)}
  .category h2{font-size:18px;margin:6px 6px 10px}
  .category .meta{color:var(--muted);font-size:12px;margin:0 6px 10px}

  /* Accordion (details/summary) */
  details{border-top:1px dashed var(--border);padding:0;margin:0}
  details:first-of-type{border-top:0}
  summary{list-style:none;cursor:pointer;padding:14px 40px 14px 12px;position:relative}
  summary::-webkit-details-marker{display:none}
  summary:after{content:"＋";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--muted);font-weight:700}
  details[open] summary:after{content:"－";color:var(--brand)}
  .q{font-weight:600}
  .a{padding:0 12px 16px;color:#374151}
  .a p{margin:0}
  .badges{display:flex;gap:6px;flex-wrap:wrap;margin:0 12px 16px}
  .badge{font-size:11px;color:var(--muted);border:1px dashed var(--border);padding:4px 8px;border-radius:999px}

  /* Small note */
  .note{color:var(--muted);font-size:12px;margin-top:6px}