:root {
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --surface-alt: #ECEAE3;
  --ink: #18181B;
  --sub: #52525B;
  --muted: #71717A;
  --line: #DDD9D0;
  --line-strong: #B8B2A6;
  --amber: #B45309;
  --amber-deep: #92400E;
  --amber-tint: #FEF3C7;
  --slate: #1E293B;
  --sans: "Space Grotesk", "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  overflow-wrap: anywhere;
  min-width: 0;
}

.num {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.notice {
  background: var(--slate);
  color: #F4F4F5;
  font-size: 11px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.04em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--ink);
  color: #F59E0B;
  border: 2px solid var(--amber);
  font-size: 12px;
  font-weight: 800;
  border-radius: 4px;
}

.logo small {
  font-size: 11px;
  font-weight: 600;
  color: var(--sub);
  letter-spacing: 0.08em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.btn:hover {
  border-color: var(--ink);
  background: var(--surface-alt);
}

.btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
}

.mobile-nav {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px;
  gap: 12px;
  overflow-x: auto;
}

.mobile-nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
}

.mobile-nav a.active {
  background: var(--amber-tint);
  color: var(--amber-deep);
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 44px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--sub);
}

.breadcrumb a:hover {
  color: var(--amber);
  text-decoration: underline;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: var(--amber-tint);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-lead {
  color: var(--sub);
  font-size: 15px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-visual {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}

.hero-photo-card {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
}

.hero-photo-card img,
.category-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-photo-card img {
  aspect-ratio: 16 / 10;
}

.hero-photo-caption {
  padding: 18px 22px;
}

.hero-photo-caption p {
  font-size: 13px;
  color: var(--sub);
  margin-top: 6px;
}

.category-hero-banner {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
}

.category-hero-img {
  aspect-ratio: 4 / 3;
}

.category-hero-body {
  padding: 16px 20px;
}

.card-thumb {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.kpi-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
}

.kpi-card small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.kpi-card strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

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

.page-head h1 {
  font-size: clamp(22px, 3vw, 31px);
  margin-bottom: 10px;
}

.page-head p {
  color: var(--sub);
  max-width: 780px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  min-width: 0;
}

.card-link {
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, transform 0.15s;
}

.card-link:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card h2,
.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  color: var(--sub);
  font-size: 14px;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sec-head h2 {
  font-size: 22px;
}

.sec-head p {
  color: var(--sub);
  font-size: 14px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--surface-alt);
  color: var(--sub);
  border: 1px solid var(--line);
}

.badge-amber {
  background: var(--amber-tint);
  color: var(--amber-deep);
  border-color: #FCD34D;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
}

.filter-bar select {
  font-family: inherit;
  font-size: 14px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
}

.filter-status {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 13px;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--surface-alt);
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tr.is-hidden,
.is-hidden {
  display: none;
}

.table-link {
  font-weight: 700;
  color: var(--amber-deep);
  text-decoration: none;
}

.table-link:hover {
  text-decoration: underline;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.spec-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
}

.spec-item small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.list-check {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.list-check li {
  padding-left: 18px;
  position: relative;
  font-size: 14px;
}

.list-check li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--amber);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
}

summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

summary::after {
  content: "+";
  font-size: 18px;
  color: var(--amber);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--sub);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.closing-cta {
  background: var(--amber-tint);
  border: 1px solid #FCD34D;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.closing-cta h2,
.closing-cta h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.closing-cta p {
  font-size: 14px;
  color: var(--sub);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 40px 24px 32px;
}

.foot-grid {
  max-width: 1140px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 32px;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.foot-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.foot-cols ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.foot-cols a {
  text-decoration: none;
  font-size: 13px;
  color: var(--sub);
}

.foot-cols a:hover {
  color: var(--amber);
  text-decoration: underline;
}

.foot-note {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 16px;
  }
  .header-nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
  .hero-grid,
  .hero-photo-card,
  .category-hero-banner,
  .foot-grid,
  .grid-3,
  .grid-2,
  .spec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }
  .logo small {
    display: none;
  }
}
