:root {
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --text: #1c2430;
  --muted: #5a6575;
  --accent: #1f6feb;
  --accent-dark: #1857bd;
  --border: #dde3ec;
  --hero-from: #0f1b33;
  --hero-to: #24407a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  min-height: 56px;
}

.logo { font-weight: 700; font-size: 18px; }

.site-header nav { display: flex; gap: 20px; font-size: 14px; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--accent); }

.hero {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: #ffffff;
  padding: 72px 0 80px;
}

.hero-sub {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  opacity: 0.75;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.4;
}

.hero-text { margin: 0 0 28px; opacity: 0.9; }

.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--hero-from);
  font-weight: 700;
}

.button:hover { background: #e6edfb; }

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

.section h2 {
  margin: 0 0 32px;
  font-size: 26px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--accent-dark); }
.card p { margin: 0; font-size: 14px; color: var(--muted); }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.steps li {
  counter-increment: step;
  padding: 24px;
  border-radius: 12px;
  background: var(--bg);
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.steps h3 { margin: 0 0 8px; font-size: 17px; }
.steps p { margin: 0; font-size: 14px; color: var(--muted); }

.notice {
  margin: 0;
  padding: 32px 16px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
}

.site-footer {
  padding: 24px 0;
  background: var(--hero-from);
  color: #ffffff;
  font-size: 13px;
  text-align: center;
}

.site-footer p { margin: 0; opacity: 0.8; }

@media (max-width: 560px) {
  .hero { padding: 48px 0 56px; }
  .section { padding: 48px 0; }
  .site-header nav { gap: 14px; }
}

.page-head {
  padding: 40px 0 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-head h1 { margin: 0 0 8px; font-size: 30px; }

.notice-sample { margin: 0; font-size: 14px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.chip {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  background: var(--bg);
  color: var(--muted);
}

.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #ffffff; }

.result-count { margin: 0 0 20px; font-size: 14px; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}

.product-image {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-body { padding: 20px; }
.product-body h3 { margin: 8px 0; font-size: 18px; }
.product-summary { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.product-points { margin: 0; padding-left: 20px; font-size: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: #e6efff;
  color: var(--accent-dark);
  font-size: 12px;
}

.product { display: block; transition: border-color 0.2s, transform 0.2s; }
.product:hover { border-color: var(--accent); transform: translateY(-2px); }
.more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--accent); font-weight: 700; }

.back { margin: 0 0 16px; font-size: 14px; }
.back a { color: var(--accent); }

#detail h1 { margin: 0 0 8px; font-size: 30px; }

.dummy-notice {
  margin-bottom: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff4d6;
  color: #7a5200;
  font-size: 14px;
}

.detail-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 20px 0 32px;
}

.detail-img { display: block; width: 100%; border-radius: 12px; }
.image-caption { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.detail-summary { margin: 0 0 12px; }

.section .spec-title { margin: 0 0 12px; font-size: 22px; text-align: left; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { width: 30%; background: var(--bg-alt); white-space: nowrap; }
.spec-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.source { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.source a { color: var(--accent); text-decoration: underline; }
