:root{
  --bg:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --accent:#2563eb;
  --max:860px;
  --radius:14px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system,
               "Hiragino Sans","Hiragino Kaku Gothic ProN",
               "メイリオ",Meiryo,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.8;
}

a{ color:inherit; text-decoration:none; }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 16px;
}

/* ヘッダー */
header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
  z-index:10;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:60px;
}

.site strong{ font-size:16px; }
.site span{ font-size:12px; color:var(--muted); }

.btn{
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  font-weight:700;
  font-size:13px;
}

/* メイン */
main{ padding:18px 0 60px; }

h1{
  margin:10px 0 8px;
  font-size:clamp(20px,4.8vw,28px);
  font-weight:900;
}

.lead{
  margin:0 0 16px;
  font-size:14px;
  color:var(--muted);
}

/* 一覧 */
.list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.list li a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  font-weight:800;
}

.list li a:hover{
  background:#f3f4f6;
}

/* 画像 */
.num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  background:#eff6ff;
  border:1px solid #dbeafe;
  color:#1d4ed8;
  font-size:12px;
  font-weight:900;
}
figure {
  margin: 1.2em 0;
}

figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.4em;
}

.note {
  margin-top: 0.5em;
}


/* 画面いっぱいに広げる */
figure.full {
  margin: 1.8em auto;
  text-align: center;
}

figure.full img {
  max-width: 100%;      /* 画面幅には収める */
  width: auto;          /* 原寸を尊重 */
  height: auto;
  display: inline-block;
}

/* キャプションは読みやすい幅に */
figure.full figcaption {
  max-width: 900px;
  margin: 0.6em auto 0;
  padding: 0 1em;
  font-size: 0.9em;
  color: #666;
}