/* Self-hosted fonts (subset to the characters this site uses; see fonts/subset-chars.txt) */
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-subset.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-subset.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #EAEAEA;
  --bg-soft: #F4F4F4;
  --surface: #FFFFFF;
  --ink: #0E1525;
  --ink-2: #3A4458;
  --muted: #6A7487;
  --line: #E3E7EE;
  --brand: #1F4BFF;
  --brand-ink: #FFFFFF;
  --brand-soft: #EAEFFF;
  --led: #2BE38B;
  --deep: #0A1230;
  --radius-lg: 20px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(14, 21, 37, .06), 0 12px 32px -12px rgba(14, 21, 37, .18);
  --font: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0F1A; --bg-soft: #111827; --surface: #151D2E; --ink: #EEF1F7; --ink-2: #C5CCD9;
    --muted: #8F99AD; --line: #252F44; --brand: #5577FF; --brand-soft: #1A2550;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0F1A; --bg-soft: #111827; --surface: #151D2E; --ink: #EEF1F7; --ink-2: #C5CCD9;
  --muted: #8F99AD; --line: #252F44; --brand: #5577FF; --brand-soft: #1A2550;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.35; letter-spacing: .01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
.num { font-family: "Inter", sans-serif; font-feature-settings: "tnum"; letter-spacing: -.02em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-2); }
.btn-sm { height: 42px; padding: 0 20px; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.02rem; }
.brand img { width: 36px; height: 36px; border-radius: 8px; background: #fff; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--brand); }
.nav .btn { color: var(--brand-ink); }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .85rem; font-weight: 700;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 4px color-mix(in srgb, var(--led) 25%, transparent); margin-left: 4px; }
.hero h1 { margin-top: 22px; font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 900; line-height: 1.28; letter-spacing: -.005em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lead { margin-top: 22px; font-size: 1.08rem; color: var(--ink-2); max-width: 32em; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.checks { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--ink-2); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

.hero-visual { position: relative; }
.hero-visual .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.price-card {
  position: absolute; left: -28px; bottom: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 16px 20px; min-width: 220px;
}
.price-card .label { font-size: .8rem; color: var(--muted); font-weight: 500; }
.price-card .amount { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-top: 2px; }
.price-card .amount small { font-size: .9rem; font-weight: 700; margin-left: 2px; }
.price-card .note { font-size: .78rem; color: var(--muted); }
.live-card {
  position: absolute; right: -16px; top: 24px;
  display: flex; align-items: center; gap: 10px;
  background: var(--deep); color: #fff; border-radius: 12px; padding: 10px 14px; font-size: .82rem; font-weight: 500;
  box-shadow: var(--shadow);
}
.live-card i { width: 8px; height: 8px; border-radius: 50%; background: var(--led); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .price-card { left: 12px; bottom: 12px; }
  .live-card { right: 12px; top: 12px; }
}

/* Section */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.04rem; }
.kicker { display: block; color: var(--brand); font-weight: 700; font-size: .9rem; margin-bottom: 12px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
}
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--brand); color: var(--brand-ink); font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan p.desc { margin-top: 8px; color: var(--muted); font-size: .92rem; min-height: 3.4em; }
.plan .amount { margin-top: 20px; font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.plan .amount small { font-size: 1rem; font-weight: 700; }
.plan .amount-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 4px; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan p.desc { min-height: 0; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--surface); padding: 32px 30px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 18px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Showcase */
.showcase { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; min-height: 440px; display: flex; align-items: flex-end; }
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,48,0) 30%, rgba(10,18,48,.88) 100%); }
.showcase-body { position: relative; z-index: 1; padding: clamp(28px, 5vw, 56px); max-width: 720px; }
.showcase-body h2 { color: #fff; }
.showcase-body p { margin-top: 14px; color: rgba(255,255,255,.85); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.step img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.step-body { padding: 22px 22px 26px; }
.step-body .no { font-family: "Inter", sans-serif; font-weight: 700; font-size: .85rem; color: var(--brand); }
.step-body .no::before { content: "STEP " counter(step); }
.step-body h3 { margin-top: 4px; }
.step-body ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); line-height: 1.65; }
.step-body li { padding-left: 14px; position: relative; }
.step-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
@media (max-width: 1040px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.safety { margin-top: 28px; display: flex; gap: 18px; align-items: flex-start; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--brand-soft); }
.safety svg { width: 28px; height: 28px; color: var(--brand); flex: none; margin-top: 2px; }
.safety h3 { font-size: 1.02rem; }
.safety p { margin-top: 4px; color: var(--ink-2); font-size: .93rem; }

/* Works */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.work-body { padding: 26px 28px 30px; }
.work .client { font-size: .85rem; color: var(--muted); }
.work h3 { margin-top: 4px; font-size: 1.25rem; }
.work dl { margin: 18px 0 0; display: grid; grid-template-columns: 4.5em 1fr; gap: 8px 12px; font-size: .92rem; }
.work dt { color: var(--muted); }
.work dd { margin: 0; color: var(--ink-2); }
.work .work-price { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.work .work-price strong { font-size: 1.6rem; font-weight: 800; }
.work .work-price span { font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) { .works { grid-template-columns: 1fr; } }

/* Tool */
.tool { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tool p { margin-top: 16px; color: var(--ink-2); }
.tool ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.tool li { display: flex; gap: 10px; align-items: center; }
.tool li svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.tool .btn { margin-top: 28px; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); font-family: "Inter", sans-serif; }
@media (max-width: 900px) { .tool { grid-template-columns: 1fr; } }

/* CTA */
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--deep); color: #fff;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px); text-align: center;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 16px 16px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%);
}
.cta-box::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: 50%; top: -360px; transform: translateX(-50%); background: radial-gradient(circle, rgba(31,75,255,.55), transparent 65%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; }
.cta-box p { margin: 16px auto 0; max-width: 34em; color: rgba(255,255,255,.78); }
.cta-box .hero-actions { justify-content: center; }
.cta-box .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-box .btn-secondary:hover { border-color: #fff; }

/* Footer */
.site-footer { padding: 56px 0 calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); margin-top: clamp(72px, 9vw, 120px); font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-inner .brand { color: var(--ink); margin-bottom: 12px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--brand); }
.copy { margin-top: 40px; font-size: .8rem; }

/* ===== Company page ===== */
.nav a[aria-current="page"] { color: var(--brand); }
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; line-height: 1.3; margin-top: 4px; }
.page-hero h1 span { display: block; white-space: nowrap; }
.page-hero .lead { margin-top: 20px; color: var(--ink-2); font-size: 1.05rem; max-width: 32em; }
.page-hero .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.page-hero .frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat { padding: 28px 30px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .value { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; }
.stat .value small { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.stat .label { margin-top: 6px; color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }

.profile { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.profile-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 32px; }
.profile-card dl { margin: 0; }
.profile-card .row { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.profile-card .row:last-child { border-bottom: 0; }
.profile-card dt { color: var(--muted); font-size: .92rem; font-weight: 500; }
.profile-card dd { margin: 0; }
.profile-card dd a { color: var(--brand); text-decoration: none; }
.profile-card dd a:hover { text-decoration: underline; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .profile-card { padding: 4px 22px; } .profile-card .row { grid-template-columns: 1fr; gap: 2px; } }

.contact-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-intro p { margin-top: 16px; color: var(--ink-2); }
.consult-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.consult-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; }
.consult-list svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 5px; }
.phone-card { margin-top: 24px; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--deep); color: #fff; text-decoration: none; }
.phone-card svg { width: 26px; height: 26px; color: var(--led); flex: none; }
.phone-card small { display: block; color: rgba(255,255,255,.7); font-size: .82rem; }
.phone-card strong { font-size: 1.5rem; font-weight: 800; letter-spacing: .01em; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .req { color: var(--brand); font-size: .78rem; margin-left: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; line-height: 1.6;
}
.field textarea { min-height: 220px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); background: var(--surface); }
.field .error { color: #D12C2C; font-size: .85rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #D12C2C; }
.field.invalid .error { display: block; }
.form-card .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Products page ===== */
.products-hero { padding-bottom: 40px; }
.products-hero h1 { margin-top: 4px; }
.cat-nav { position: sticky; top: 72px; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips a { flex: none; text-decoration: none; font-size: .9rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.cat-chips a:hover { border-color: var(--ink-2); }
.cat-chips a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.catalog { padding-top: 32px; }
.catalog-note { color: var(--muted); font-size: .9rem; }
.cat { padding-top: 56px; scroll-margin-top: 140px; }
.cat-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.cat-head p { color: var(--muted); }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.item { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.item-ill { background: var(--bg-soft); color: var(--ink-2); padding: 18px 24px; border-bottom: 1px solid var(--line); }
.item-ill svg { display: block; width: 100%; height: auto; max-height: 150px; }
.item-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.item-body h3 { font-size: 1.08rem; }
.item-body .spec { margin-top: 2px; font-family: "Inter", "Noto Sans JP", sans-serif; font-size: .85rem; font-weight: 600; color: var(--brand); }
.item-body .desc { margin-top: 10px; color: var(--ink-2); font-size: .9rem; line-height: 1.7; }
.opt { margin-top: 14px; }
.opt-label { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.opt-label small { font-weight: 500; margin-left: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: .8rem; font-family: "Inter", "Noto Sans JP", sans-serif; padding: 3px 10px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.sw { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-2); }
.sw i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.18); }

.products-cta { margin-top: clamp(72px, 9vw, 112px); }

/* Contact form states */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { position: relative; }
.form-status { margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; font-size: .92rem; line-height: 1.6; }
.form-status.error { background: #FDECEC; color: #A61B1B; border: 1px solid #F3C2C2; }
.form-status.success { background: #E8F7EF; color: #116A3B; border: 1px solid #BFE6D0; }
.form-card .btn[disabled] { opacity: .65; cursor: progress; }
.form-done { text-align: center; padding: 32px 8px; }
.form-done svg { width: 44px; height: 44px; color: var(--brand); margin: 0 auto; display: block; }
.form-done h3 { margin-top: 16px; font-size: 1.25rem; }
.form-done p { margin-top: 10px; color: var(--ink-2); }

/* Map facade (Google Maps loads on click) */
.map { position: relative; display: flex; }
.map-facade {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 360px; width: 100%; border: 0; cursor: pointer; font: inherit; color: var(--ink);
  background-color: var(--bg-soft);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-facade svg { width: 40px; height: 40px; color: var(--brand); }
.map-addr { text-align: center; font-weight: 700; line-height: 1.6; background: var(--surface); padding: 6px 12px; border-radius: 8px; }
.map-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: .92rem; }
.map-facade:hover .map-btn { background: color-mix(in srgb, var(--brand) 88%, #000); }
.map-link { position: absolute; right: 12px; bottom: 12px; font-size: .82rem; font-weight: 500; color: var(--ink-2); background: var(--surface); padding: 4px 10px; border-radius: 6px; text-decoration: none; border: 1px solid var(--line); }
.map-link:hover { color: var(--brand); }
.map iframe { flex: 1; }
