:root {
  --bg: #0f1420;
  --surface: #1a2233;
  --surface2: #232e45;
  --text: #f2f4f8;
  --muted: #aab4c8;
  --accent: #e8b33c;
  --accent-text: #1a1405;
  --border: #33405c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
.site-header {
  background: linear-gradient(135deg, #141b2c 0%, #1d2942 60%, #2a2410 100%);
  border-bottom: 2px solid var(--accent);
  padding: 20px 16px;
}
.header-inner { max-width: 960px; margin: 0 auto; }
.site-logo { font-size: 28px; font-weight: 800; margin: 0; letter-spacing: .05em; }
.site-tagline { margin: 2px 0 0; color: var(--accent); font-size: 14px; }
main { max-width: 960px; margin: 0 auto; padding: 20px 16px 40px; }
.hero h1 { font-size: 24px; line-height: 1.4; margin: 8px 0 12px; }
.hero p { color: var(--text); }
.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
}
.category { margin-top: 28px; }
.category-title {
  font-size: 20px;
  margin: 0 0 12px;
  padding-left: 10px;
  border-left: 4px solid var(--accent);
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
}
.tool-card,
.tool-card:link,
.tool-card:visited,
.tool-card:hover,
.tool-card:active {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
}
.tool-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card-body { padding: 14px 16px 16px; }
.tool-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--text); text-decoration: none; }
.tool-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; text-decoration: none; }
.btn {
  display: block;
  text-align: center;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px;
  min-height: 52px;
  line-height: 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.btn:active { transform: scale(.97); }
.about { margin-top: 32px; }
.about h2 { font-size: 18px; }
.about p { font-size: 14px; color: var(--muted); }
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 16px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.footer-note { max-width: 720px; margin: 8px auto 0; font-size: 12px; }
