:root {
  --bg: #f7f7f4;
  --panel: #ffffff;
  --text: #111111;
  --muted: #6f6f69;
  --line: #dadad4;
  --soft: #efefe9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    "Helvetica Neue",
    Arial,
    "Noto Sans JP",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: rgba(247, 247, 244, 0.92);
  border-bottom: 1px solid rgba(218, 218, 212, 0.75);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.brand-name strong {
  font-weight: 750;
}

.brand-name span {
  color: #2563eb;
  font-size: 0.82em;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--muted);
}

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

main {
  max-width: 1440px;
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 77px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 6vw 80px;
  border-bottom: 1px solid var(--line);
}

.hero-kicker,
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(64px, 9vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.hero-copy {
  max-width: 720px;
  margin: 44px 0 0;
  color: #3c3c38;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.hero-link {
  width: fit-content;
  margin-top: 48px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--text);
  font-size: 13px;
  font-weight: 600;
}

.hero-link span {
  margin-left: 8px;
}

.section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: 8vw;
  padding: 120px 6vw;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.product-grid {
  display: grid;
  gap: 18px;
}

.product-card {
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #9f9f99;
}

.product-card.muted {
  background: var(--soft);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 80px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.product-card h3 {
  margin: 0 0 24px;
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -0.05em;
}

.product-ja {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.product-en {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-arrow {
  align-self: flex-end;
  margin-top: 32px;
  font-size: 26px;
}


/* =========================================================
   Insights
   ========================================================= */

.insight-grid {
  display: grid;
  gap: 18px;
}

.insight-card {
  min-height: 430px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
}

.insight-card-top,
.insight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.insight-index {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.insight-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.insight-label {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card-body {
  max-width: 720px;
  margin: auto 0;
  padding: 64px 0;
}

.insight-series {
  margin: 0 0 16px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.insight-description {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.insight-card-footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.insight-coming {
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .insight-card {
    min-height: 390px;
    padding: 24px;
  }

  .insight-card-top {
    align-items: flex-start;
  }

  .insight-card-body {
    padding: 52px 0;
  }

  .insight-card-footer {
    align-items: flex-end;
  }
}

.about-copy {
  max-width: 760px;
}

.about-copy > p {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.9;
  letter-spacing: -0.02em;
}

.flow {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.contact {
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 6vw 50px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 20px;
  }

  .brand-name {
    display: none;
  }

  .nav {
    gap: 16px;
    font-size: 12px;
  }

  .hero {
    min-height: 78vh;
    padding: 80px 22px 64px;
  }

  .hero h1 {
    font-size: clamp(56px, 18vw, 84px);
  }

  .hero-copy {
    margin-top: 32px;
    font-size: 18px;
  }

  .desktop-only {
    display: none;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 84px 22px;
  }

  .product-card {
    min-height: 330px;
    padding: 24px;
  }

  .product-meta {
    margin-bottom: 56px;
  }

  footer {
    padding: 26px 22px 38px;
    flex-direction: column;
  }
}


/* =========================================================
   Slide menu
   ========================================================= */

.menu-button {
  width: 44px;
  height: 44px;
  padding: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button:hover span:nth-child(2) {
  transform: translateX(-5px);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 12, 18, 0.36);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.site-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(460px, 88vw);
  height: 100dvh;
  padding: 28px 30px 28px;
  display: flex;
  flex-direction: column;
  background: rgba(247, 247, 244, 0.88);
  border-left: 1px solid rgba(218, 218, 212, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.08);
  transform: translateX(102%);
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1);
}

.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-open .site-menu {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

.site-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.site-menu-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu-close {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.site-menu-nav {
  display: grid;
  margin-top: 34px;
}

.site-menu-nav a {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: baseline;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
  transition: padding-left 180ms ease;
}

.site-menu-nav a:hover {
  padding-left: 8px;
}

.menu-index {
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-menu-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .site-menu {
    width: min(390px, 91vw);
    padding: 22px 22px 24px;
  }

  .site-menu-nav a {
    grid-template-columns: 42px 1fr;
    padding: 17px 0 20px;
    font-size: 38px;
  }

  .site-menu-footer {
    flex-direction: column;
  }
}


/* =========================================================
   Language switcher
   ========================================================= */

.header-lang-switcher {
  margin-left: auto;
  margin-right: 8px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-switcher button {
  padding: 6px 3px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  opacity: 0.55;
}

.lang-switcher button:hover,
.lang-switcher button.is-active {
  color: var(--text);
  opacity: 1;
}

.menu-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.menu-lang-switcher {
  display: none;
}

html[lang="en"] body {
  word-break: normal;
}

@media (max-width: 760px) {
  .header-lang-switcher {
    display: none;
  }

  .menu-lang-switcher {
    display: inline-flex;
  }
}
