@charset "utf-8";

:root {
  color-scheme: light;
  --ink: #121820;
  --paper: #f7f8f5;
  --muted: #505b68;
  --rule: #dce0e1;
  --green: #36794e;
  --mint: #a1c9aa;
  --blue: #183b6c;
  --dark: #10151d;
  --dark-rule: rgba(198, 214, 233, .19);
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

:root:lang(en) { --sans: "Inter", "Segoe UI", system-ui, sans-serif; }
:root:lang(ja) { --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif; }

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.75 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #3387e2; outline-offset: 5px; }
a:hover { color: var(--green); }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 650; line-height: 1.25; letter-spacing: -.024em; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 3; top: 12px; left: 12px; padding: 8px 12px; background: #fff; transform: translateY(-180%); }
.skip:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.header-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #152340; line-height: 1.12; white-space: nowrap; }
.brand-mark {
  width: 41px;
  height: 41px;
  flex: none;
  border-radius: 11px;
  box-shadow: 0 4px 10px #1b4d392e;
}
.brand-type { display: grid; gap: 4px; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .045em; }
.brand-name:lang(en) { letter-spacing: .015em; }
.brand-subtitle { color: #536585; font-size: 10px; font-weight: 750; letter-spacing: .075em; }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2.6vw, 38px); margin-left: auto; font-size: 14px; white-space: nowrap; }
.languages { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--rule); white-space: nowrap; font-size: 12px; }
.languages a { padding: 3px 8px; color: var(--muted); }
.languages a:hover { color: var(--green); }
.languages a[aria-current] { background: #e7eeea; color: #254d3b; font-weight: 650; }

.dark-grid {
  color: #f8fafc;
  background:
    linear-gradient(rgba(150, 178, 212, .045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(150, 178, 212, .045) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse at 80% 26%, #1a2b43 0%, var(--dark) 52%, #111417 92%);
}
.hero-layout {
  min-height: 625px;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 74px);
  padding-block: 72px;
}
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .085em; color: var(--mint); }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-kicker span { width: 17px; height: 1px; background: currentColor; }
h1 { font-size: clamp(2rem, 4.15vw, 3.5rem); font-weight: 680; line-height: 1.2; letter-spacing: -.038em; }
h1:lang(ja) { font-size: clamp(1.95rem, 3.65vw, 3.1rem); letter-spacing: -.032em; }
.lead { max-width: 46ch; margin-top: 22px; color: #c4cedb; font-size: 16px; line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 47px;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: background-color .18s, border-color .18s, color .18s;
}
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { color: var(--ink); background: #dbeade; }
.button-ghost { color: #f8fafc; border-color: #5b6778; }
.button-ghost:hover { color: #fff; border-color: var(--mint); background: rgba(161, 201, 170, .1); }

.engineering { border: 1px solid var(--dark-rule); background: rgba(16, 26, 41, .55); }
.plate-header, .plate-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.plate-header { min-height: 48px; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--dark-rule); }
.plate-name { color: #c5d3e5; letter-spacing: .045em; }
.plate-header a { color: var(--mint); }
.plate-header a:hover { text-decoration: underline; }
.plate-visual { position: relative; overflow: hidden; aspect-ratio: 1.28; background: #101c2a; }
.plate-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.plate-motion { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.plate-signal {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 88;
  opacity: .83;
  filter: drop-shadow(0 0 6px currentColor);
  animation: plate-flow 8s linear infinite;
}
.plate-signal-green { color: #9cddbc; stroke: currentColor; animation-delay: -2s; }
.plate-signal-blue { color: #8ebfeb; stroke: currentColor; animation-duration: 11s; animation-delay: -6s; }
.plate-dot { fill: #d4f2e3; }
.plate-ring {
  fill: none;
  stroke: #a1e0bf;
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: plate-pulse 4.8s ease-out infinite;
}
.plate-node-delayed .plate-ring { animation-delay: -2.4s; }

@keyframes plate-flow {
  to { stroke-dashoffset: -100; }
}

@keyframes plate-pulse {
  0% { transform: scale(.38); opacity: .9; }
  58%, 100% { transform: scale(1.8); opacity: 0; }
}

.annotation { position: absolute; color: #cbd9ea; font-size: 12px; line-height: 1.45; padding-block: 3px; }
.annotation-top { top: 13%; left: 6%; border-bottom: 1px solid #75958a; }
.annotation-bottom { right: 6%; bottom: 12%; border-bottom: 1px solid #75958a; }
.plate-footer { border-top: 1px solid var(--dark-rule); color: #c5d3e5; }
.plate-footer span { flex: 1; padding: 13px 17px; }
.plate-footer span + span { border-left: 1px solid var(--dark-rule); }

.light-grid {
  background:
    linear-gradient(rgba(27, 59, 99, .028) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(27, 59, 99, .028) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper);
}
.services, .about { padding-block: clamp(58px, 7vw, 98px); }
.section-heading { display: grid; grid-template-columns: 1fr 1.45fr; align-items: end; gap: 24px; }
.section-heading p { max-width: 51ch; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.service { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 25px 25px 20px; border: 1px solid var(--rule); background: #fbfcfa; transition: border-color .18s, background-color .18s; }
.service:hover, .service:focus-within { border-color: #8fa99b; background: #f5f8f5; }
.service-top { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 21px; }
.service-top svg { width: 41px; height: 41px; color: #315879; fill: none; stroke: currentColor; stroke-width: 1.2; }
.service-top span { color: #365f4b; font-size: 12px; font-weight: 600; }
.service h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 650; letter-spacing: -.024em; line-height: 1.35; }
.service p { margin: 11px 0 23px; color: var(--muted); font-size: 14px; }
.service a { display: flex; justify-content: space-between; width: 100%; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; font-weight: 650; color: var(--blue); }
.service a:hover { color: var(--green); }

.product { padding-block: clamp(58px, 7vw, 98px); }
.product-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(34px, 6vw, 94px); }
.product h2 { margin-top: 14px; }
.product-detail { margin-top: 15px; color: #c2cddd; }
.product-features { display: flex; flex-wrap: wrap; gap: 7px 19px; margin: 18px 0 0; padding: 0; list-style: none; color: #d4dfed; font-size: 13px; }
.product-features li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; vertical-align: .2em; background: var(--mint); }
.product-copy .actions { margin-top: 27px; }
.product-shot { border: 1px solid var(--dark-rule); background: #172235; }
.product-shot figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 11px 15px; font-size: 12px; color: #d5e1f0; }
.product-shot a { display: block; overflow: hidden; aspect-ratio: 1.68; }
.product-shot img { height: 100%; object-fit: cover; object-position: top; }

.about-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(28px, 6vw, 85px); }
.about-copy p { max-width: 53ch; margin-top: 18px; color: var(--muted); }
.text-link { display: inline-block; border-bottom: 1px solid #8fa798; font-size: 14px; font-weight: 650; }
.about .text-link { margin-top: 20px; }
.company-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--rule); background: #fbfcfa; }
.company-facts > div { padding: 19px 21px; }
.company-facts > div:nth-child(even) { border-left: 1px solid var(--rule); }
.company-facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
.company-facts dt { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.company-facts dd { margin: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.company-facts a { color: var(--blue); }
.feedback-dialog {
  width: min(540px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #d5e3db;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px #08151165;
  overscroll-behavior: contain;
}
.feedback-dialog::backdrop { background: #0d1a22a6; backdrop-filter: blur(3px); }
html:has(.feedback-dialog[open]) { overflow: hidden; }
.feedback-result {
  width: min(410px, calc(100% - 32px));
  padding: 28px clamp(20px, 6vw, 32px);
  text-align: center;
}
.feedback-dialog[open] + .feedback-result::backdrop { background: #0d1a2266; }
.feedback-result-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 15px;
  border-radius: 50%;
  color: #21543d;
  background: #e6f2ea;
  font-size: 27px;
  font-weight: 750;
}
.feedback-result[data-kind="error"] .feedback-result-icon { color: #a22d26; background: #fbedeb; }
.feedback-result h2 { font-size: 23px; }
#feedback-result-message { margin-top: 9px; color: var(--muted); font-size: 15px; }
.feedback-result form { margin-top: 21px; }
.feedback-result .feedback-result-confirm {
  min-width: 116px;
  min-height: 44px;
  padding: 7px 18px;
  color: #fff;
  background: #276047;
  font-weight: 700;
}
.feedback-result .feedback-result-confirm:hover { background: #194a34; }
.feedback-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  padding: 24px clamp(16px, 5vw, 28px) 20px;
  border-bottom: 1px solid #e2eae5;
  background: #f4f8f5;
}
.feedback-heading h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); }
#feedback-description { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.feedback-dialog button {
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}
.feedback-dialog .feedback-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #42534d;
  background: #e6eee9;
  font-size: 23px;
  line-height: 1;
}
.feedback-dialog .feedback-close:hover { background: #d9e6df; }
.feedback-fields { display: grid; gap: 15px; min-width: 0; margin: 0; padding: 19px clamp(16px, 5vw, 28px) 22px; border: 0; }
.feedback-form label { display: block; font-size: 14px; font-weight: 650; }
.feedback-qualifier { margin-inline-start: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.feedback-form :is(input[type="text"], textarea) {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 9px 12px;
  border: 1px solid #c9d6ce;
  border-radius: 9px;
  color: var(--ink);
  background: #f8faf9;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.feedback-form :is(input, textarea)::placeholder { color: #63736b; opacity: 1; }
.feedback-form :is(input, textarea):focus { border-color: #438064; background: #fff; }
.feedback-dialog :is(input, textarea, button):focus-visible { outline: 2px solid #438064; outline-offset: 2px; }
.feedback-form textarea { resize: vertical; }
.feedback-verification { padding: 11px 12px; border: 1px solid #e1eae4; border-radius: 10px; background: #f2f7f4; }
.feedback-verification-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 9px; margin-top: 7px; }
.feedback-verification-row output { min-width: 5.25rem; color: #21543d; font-weight: 700; font-variant-numeric: tabular-nums; }
.feedback-verification-row input[type="text"] { width: 3.65rem; margin-top: 0; padding-inline: 5px; text-align: center; background: #fff; }
.feedback-dialog .feedback-refresh { min-height: 44px; padding: 5px 10px; color: #21543d; font-size: 13px; font-weight: 650; background: transparent; }
.feedback-dialog .feedback-refresh:not(:disabled):hover { background: #e0ece4; }
.feedback-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  padding: 14px clamp(16px, 5vw, 28px);
  border-top: 1px solid #e2eae5;
  background: #f8faf9;
}
.feedback-dialog .feedback-submit {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  min-width: 108px;
  padding: 8px 15px;
  color: #fff;
  background: #276047;
  font-size: 14px;
  font-weight: 700;
}
.feedback-dialog .feedback-submit:not(:disabled):hover { background: #194a34; }
.feedback-dialog button:disabled { opacity: .55; cursor: default; }
.feedback-status { grid-column: 1; grid-row: 1; font-size: 13px; line-height: 1.45; color: var(--muted); }
.feedback-status[data-kind="error"] { color: #a22d26; }
.feedback-form noscript p { padding: 0 16px 12px; }
footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.footer-inner { min-height: 72px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 7px 20px; }

@media (max-width: 850px) {
  html { scroll-padding-top: 112px; }
  .wrap { width: calc(100% - 52px); }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 7px; padding-block: 10px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 8px; margin: 0; padding-top: 7px; font-size: 13px; }
  .hero-layout { min-height: 540px; padding-block: 60px; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 28px; }
  .plate-footer span { padding-inline: 9px; }
  .product-layout { gap: 28px; }
  .service { padding-inline: 17px; }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 9px; }
  .brand-name { font-size: 15px; }
  .brand-subtitle { font-size: 9px; }
  .languages a { padding-inline: 5px; }
  .hero-layout, .section-heading, .product-layout, .about-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { min-height: auto; padding-block: 49px 40px; gap: 32px; }
  .hero-kicker { margin-bottom: 17px; }
  h1 { font-size: clamp(2rem, 7.8vw, 3rem); }
  h1:lang(ja) { font-size: clamp(1.625rem, 6.5vw, 2.65rem); }
  .lead { margin-top: 17px; }
  .actions { margin-top: 23px; }
  .button { min-height: 44px; gap: 10px; padding-inline: 12px; font-size: 13px; }
  .engineering { width: min(100%, 420px); }
  .section-heading { gap: 10px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 25px; }
  .service { padding: 17px 20px 15px; }
  .service-top { padding-bottom: 12px; }
  .service p { margin-bottom: 15px; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; align-content: center; gap: 5px 14px; padding-block: 12px; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .brand { gap: 7px; }
  .languages { padding: 2px; }
  .languages a { padding-inline: 4px; font-size: 11px; }
  .feedback-actions { grid-template-columns: 1fr; }
  .feedback-dialog .feedback-submit { grid-column: 1; grid-row: 2; }
  .feedback-status:empty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service { transition: none; }
  .plate-signal, .plate-ring { display: none; }
}
