:root {
  --blue: #1b4f9c;
  --blue-dark: #0f2f66;
  --blue-mid: #2563b5;
  --orange: #e8782a;
  --gold: #c9a227;
  --ink: #1c2430;
  --muted: #5b6778;
  --line: #d9e1ee;
  --bg: #f4f7fb;
  --white: #ffffff;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-top { background: var(--blue-dark); color: #d7e4f8; font-size: 12px; }
.header-top-inner { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.header-phone { color: #fff; font-weight: 700; letter-spacing: 0.04em; }
.header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  top: 4px;
  right: 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16px; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 14px; padding: 6px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--blue); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 6px 12px; font-size: 12px; color: var(--muted); }
.lang-switch a.is-active, .lang-switch a.active { background: var(--blue); color: #fff; }
.btn-phone {
  background: var(--orange);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 4px;
}

.hero {
  background: var(--blue-dark) url("./hero.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 32, 72, 0.72);
}
.hero .container { position: relative; padding: 64px 0; }
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.25; margin-bottom: 12px; }
.hero .lead { font-size: 16px; color: #d7e4f8; max-width: 640px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary, .btn-ghost, .btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 700;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { color: #fff; opacity: 0.92; }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--blue-dark); }

.brands {
  background: var(--blue);
  color: #fff;
  padding: 14px 0;
  font-size: 13px;
}
.brands .container { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.brands b { color: #ffd089; }

.section { padding: 64px 0; }
.section.alt { background: var(--bg); }
.section-title { margin-bottom: 28px; }
.section-title p { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 6px; }
.section-title h2 { font-size: 28px; }

.service-grid, .cat-grid, .product-grid {
  display: grid;
  gap: 18px;
}
.service-grid { grid-template-columns: repeat(4, 1fr); }
.cat-grid { grid-template-columns: repeat(4, 1fr); }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.service-card, .info-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 8px;
}
.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card .thumb {
  aspect-ratio: 4 / 3;
  background: #e8eef6;
  overflow: hidden;
}
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card .body { padding: 16px 18px 20px; }
.service-card h3, .info-card h3 { margin: 10px 0 8px; font-size: 18px; }
.service-card p, .info-card p { color: var(--muted); font-size: 14px; }
.icon-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f0fb;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.cat-card {
  position: relative;
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card span, .cat-card h3 { position: relative; }
.cat-card .cat-body {
  position: relative;
  width: 100%;
  padding: 18px;
  background: linear-gradient(transparent, rgba(8,24,56,.88));
}
.cat-card h3 { font-size: 20px; color: #fff; }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .thumb {
  aspect-ratio: 4/3;
  background: #eef2f7;
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 14px 16px 18px; }
.product-card h3 { font-size: 15px; line-height: 1.4; min-height: 2.8em; color: var(--ink); }
.product-card .meta { color: var(--muted); font-size: 12px; margin-top: 6px; }
.seal {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  width: 92px;
  height: 92px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 22px 8px;
  line-height: 1.3;
}

.page-hero { background: var(--blue-dark); color: #fff; padding: 36px 0; }
.page-hero h1 { font-size: 28px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }
.content-article { background: #fff; padding: 8px 0 24px; }
.content-article h2 { margin: 28px 0 12px; font-size: 22px; }
.content-article p, .content-article li { color: var(--muted); }
.content-article ul { padding-left: 18px; list-style: disc; }
.content-article table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-article th, .content-article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.content-article th { width: 28%; background: var(--bg); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.gallery-main { background: var(--bg); border-radius: 8px; overflow: hidden; }
.gallery-main img { width: 100%; max-height: 520px; object-fit: contain; background: #fff; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gallery-thumbs img { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.price-ask { font-size: 22px; color: var(--orange); font-weight: 700; margin: 12px 0; }
.spec-list { margin: 16px 0; }
.spec-list li { display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.spec-list b { width: 90px; color: var(--muted); font-weight: 500; }

.cta-band { background: var(--blue); color: #fff; padding: 36px 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.cta-kicker { color: #ffd089; font-size: 13px; margin-bottom: 6px; }
.site-footer { background: #0b1c3c; color: #c5d3ea; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 28px; padding: 40px 0; }
.footer-grid h3 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-grid a { color: #c5d3ea; }
.footer-desc { margin-top: 12px; font-size: 14px; }
.brand-footer { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0 72px; font-size: 12px; }
.call-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--orange);
  color: #fff !important;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(232, 120, 42, 0.35);
}

@media (max-width: 960px) {
  .service-grid, .cat-grid, .product-grid, .product-detail, .footer-grid { grid-template-columns: 1fr 1fr; }
  .btn-phone { display: none; }
  .menu-toggle { display: block; }
  .main-nav, .lang-switch { display: none; }
  .nav-open .main-nav, .nav-open .lang-switch { display: block; }
  .nav-open .header-main { flex-wrap: wrap; }
  .nav-open .main-nav { width: 100%; margin: 0 0 12px; }
  .nav-open .main-nav ul { flex-direction: column; }
}
@media (max-width: 640px) {
  .service-grid, .cat-grid, .product-grid, .product-detail, .footer-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero { min-height: 380px; }
  .header-top { display: none; }
}
