:root {
  --ink: #22231f;
  --muted: #686d60;
  --line: #e1e4d8;
  --paper: #fffdf7;
  --soft: #f4f0e5;
  --leaf: #1f6b3a;
  --leaf-dark: #144727;
  --gold: #d49a2a;
  --tomato: #bb3f27;
  --white: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
    "Noto Sans JP", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(34, 35, 31, 0.08);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--leaf-dark);
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  color: #42483d;
}

nav a {
  padding: 8px 0;
}

nav a:hover {
  color: var(--leaf);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--white);
}

.language-switcher button {
  min-width: 46px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.language-switcher button.active {
  background: var(--leaf);
  color: var(--white);
}

.hero {
  display: grid;
  min-height: calc(100vh - 74px);
  padding: clamp(28px, 5vw, 62px) clamp(18px, 4vw, 58px) clamp(24px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(244, 240, 229, 0.64)),
    var(--paper);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(31, 107, 58, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 64px rgba(20, 71, 39, 0.1);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.22), rgba(255, 253, 247, 0.04) 42%, rgba(255, 253, 247, 0.18)),
    linear-gradient(90deg, rgba(255, 253, 247, 0.16), transparent 22%, transparent 78%, rgba(255, 253, 247, 0.14));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 68px) clamp(18px, 4vw, 44px);
  text-align: center;
  background: rgba(255, 253, 247, 0.76);
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tomato);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.hero-content > p:not(.eyebrow),
.intro > p,
.section-heading p,
.split > div > p,
.contact-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-content > p:not(.eyebrow) {
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.inquiry-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--leaf);
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.inquiry-form button {
  background: var(--leaf);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--leaf);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 38px;
}

.trust-strip span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #4d5548;
  font-size: 13px;
  font-weight: 800;
}

.section,
.stats,
.gallery-band,
.contact-section {
  padding-inline: clamp(18px, 4vw, 58px);
}

.section {
  padding-block: clamp(62px, 9vw, 120px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--leaf-dark);
  color: var(--white);
}

.stats div {
  min-height: 148px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stats strong {
  display: block;
  margin-bottom: 12px;
  color: #f0c66c;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.stats span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card,
.certificate-card {
  display: grid;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-card {
  grid-template-rows: auto 1fr;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-bottom: 1px solid var(--line);
  background: #faf9f4;
}

.product-card div {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  padding: 22px;
}

.product-card p,
.certificate-card p,
.oem-grid p,
.feature-list span,
footer span {
  color: var(--muted);
  line-height: 1.62;
}

.product-card ul {
  display: grid;
  gap: 8px;
  align-self: end;
  margin: 4px 0 0;
  padding-left: 18px;
  color: #4f5b4a;
}

.gallery-band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding-block: 8px;
  background: var(--soft);
}

.gallery-band img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.source-base {
  padding-bottom: clamp(18px, 4vw, 56px);
}

.source-base .section-heading {
  display: grid;
  justify-items: center;
  width: min(860px, 100%);
  margin-inline: auto;
  text-align: center;
}

.source-base .section-heading > * {
  justify-self: center;
  text-align: center;
  margin-inline: auto;
}

.source-base .section-heading .eyebrow,
.source-base .section-heading h2,
.source-base .section-heading p {
  width: 100%;
}

.source-base img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list div,
.oem-grid div {
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.feature-list strong,
.oem-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--leaf-dark);
}

.framed-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.framed-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--leaf-dark);
}

.quality {
  background: #f9f7ef;
  border-block: 1px solid var(--line);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.certificate-card {
  grid-template-rows: auto auto 1fr;
  padding: 18px;
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin-bottom: 18px;
  background: #f7f7f2;
}

.product-card h3,
.certificate-card h3 {
  min-height: 2.35em;
  display: flex;
  align-items: flex-start;
}

.oem {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 90px);
}

.oem-grid {
  display: grid;
  gap: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
  padding-block: clamp(62px, 9vw, 120px);
  background: var(--leaf-dark);
  color: var(--white);
}

.contact-section .eyebrow {
  color: #f2c66e;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.inquiry-form button {
  border-color: #f0c66c;
  background: #f0c66c;
  color: var(--leaf-dark);
}

.company-info {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(42px, 6vw, 68px) clamp(18px, 4vw, 58px);
  border-top: 1px solid rgba(34, 35, 31, 0.1);
  background: var(--paper);
}

.company-info h2 {
  max-width: 520px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.company-info dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.company-info dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.company-info dt {
  color: var(--leaf-dark);
  font-weight: 900;
}

.company-info dd {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.company-info a {
  color: var(--leaf);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

footer div {
  display: grid;
  gap: 4px;
}

footer a {
  color: var(--leaf);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero,
  .intro,
  .split,
  .oem,
  .company-info,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-content {
    padding: 42px 22px 56px;
  }

  .stats,
  .product-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding: 14px 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  nav {
    gap: 14px;
    font-size: 13px;
  }

  .language-switcher {
    width: 100%;
  }

  .language-switcher button {
    flex: 1;
  }

  h1 {
    font-size: 42px;
  }

  .hero-media {
    min-height: 260px;
  }

  .stats,
  .product-grid,
  .certificate-grid,
  .gallery-band {
    grid-template-columns: 1fr;
  }

  .stats div {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  footer {
    flex-direction: column;
  }

  .company-info dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
