/**
 * OHMAI LP — Final design system
 * 6 sections · dark + cyan · Apple-inspired spacing & typography
 */

:root {
  --bg: #02070c;
  --bg-deep: #000308;
  --bg-section: #050b12;
  --panel: rgba(10, 24, 34, 0.72);
  --panel-strong: rgba(13, 31, 44, 0.9);
  --text: #f5f7fa;
  --text-muted: #8fa3b2;
  --text-dim: #5f7484;
  --accent: #35c8ff;
  --accent-strong: #65dcff;
  --accent-soft: rgba(53, 200, 255, 0.14);
  --line: rgba(120, 210, 255, 0.18);
  --card-border: rgba(120, 210, 255, 0.16);
  --card-bg: linear-gradient(180deg, rgba(12, 31, 43, 0.86), rgba(4, 14, 22, 0.9));
  --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  --radius-lg: 36px;
  --radius-md: 28px;
  --radius-card: clamp(1.75rem, 2.2vw, 2.25rem);
  --radius-control: 14px;
  --space-section-y: clamp(7.5rem, 14vw, 13.75rem);
  --space-header-bottom: clamp(3.25rem, 7vw, 5.75rem);
  --space-card-gap: clamp(1rem, 1.6vw, 1.75rem);
  --space-card-pad: clamp(1.75rem, 2.5vw, 2.5rem);
  --space-card-pad-lg: clamp(1.75rem, 3vw, 2.5rem);
  --control-h: 3.5rem;
  --max: 1280px;
  --header-h: 52px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body.ohmai-lp {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    "Noto Sans JP",
    sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text) !important;
  background: var(--bg-deep) !important;
  -webkit-font-smoothing: antialiased;
}

body.ohmai-lp h1,
body.ohmai-lp h2,
body.ohmai-lp h3,
body.ohmai-lp p {
  margin: 0;
}

.ohmai-lp__glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 75% 50% at 50% -8%,
    var(--accent-soft) 0%,
    transparent 55%
  );
}

#lp-main,
.ohmai-header,
.ohmai-footer {
  position: relative;
  z-index: 1;
}

/* —— Layout —— */
.ohmai-wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.ohmai-section {
  padding-block: var(--space-section-y);
}

.ohmai-section--alt {
  background: var(--bg-section);
}

.ohmai-section__head {
  max-width: 52rem;
  margin: 0 auto var(--space-header-bottom);
  text-align: center;
}

.ohmai-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.ohmai-section__head--left {
  margin-inline: 0;
  max-width: none;
  text-align: left;
}

.ohmai-section__head--left .ohmai-lead {
  margin-inline: 0;
  max-width: 42rem;
  text-align: left;
  text-wrap: pretty;
}

/* —— Typography —— */
.ohmai-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.ohmai-kicker--inline {
  margin-bottom: 0.75rem;
}

.ohmai-h1 {
  margin: 0;
  font-size: clamp(4.5rem, 9vw, 8.75rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 700;
  text-wrap: balance;
}

.ohmai-h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 700;
  text-wrap: balance;
}

.ohmai-h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ohmai-lead {
  margin: clamp(1.75rem, 2.5vw, 2.5rem) 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.375rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  text-wrap: balance;
}

.ohmai-section__head--center .ohmai-lead {
  margin-inline: auto;
  max-width: 42rem;
  text-align: center;
}

.ohmai-section__head > .ohmai-h2 + .ohmai-lead {
  margin-top: 0;
  padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
}

.ohmai-hero__lead {
  margin: 0;
  max-width: 28rem;
  color: var(--text);
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75);
}

html[lang="en"] .ohmai-hero__lead {
  max-width: none;
  white-space: normal;
}

.ohmai-hero__inner::after {
  display: none;
}

/* —— Buttons —— */
.ohmai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 2rem;
  border-radius: 9999px;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ohmai-btn--primary {
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 10px 36px rgba(53, 200, 255, 0.22);
}

.ohmai-btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(53, 200, 255, 0.3);
}

.ohmai-btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(245, 247, 250, 0.24);
}

.ohmai-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.ohmai-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-top: 2rem;
}

/* —— Cards —— */
.ohmai-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
  text-align: left;
}

/* —— Header —— */
.ohmai-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(2, 7, 12, 0.65);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.ohmai-header.is-scrolled {
  background: rgba(2, 7, 12, 0.9);
  border-bottom-color: var(--line);
}

.ohmai-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  height: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.ohmai-header__brand img {
  display: block;
  height: 1.375rem;
  width: auto;
}

.ohmai-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 64rem) {
  .ohmai-header__nav {
    display: flex;
  }
}

.ohmai-header__link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ohmai-header__link:hover,
.ohmai-header__link.is-active {
  color: var(--text);
}

.ohmai-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ohmai-lang {
  display: flex;
  padding: 3px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ohmai-lang__btn {
  min-width: 2.25rem;
  padding: 0.35rem 0.55rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.ohmai-lang__btn.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.ohmai-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

@media (min-width: 64rem) {
  .ohmai-header__menu {
    display: none;
  }
}

.ohmai-mobile-nav {
  background: rgba(2, 7, 12, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 0 1.25rem 1.25rem;
}

.ohmai-mobile-nav[hidden] {
  display: none;
}

.ohmai-mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ohmai-mobile-nav__link {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: none;
}

.ohmai-mobile-nav__link:hover {
  color: var(--accent);
}

/* —— Hero —— */
.ohmai-hero {
  display: flex;
  align-items: stretch;
  min-height: auto;
  padding-top: var(--header-h);
  text-align: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.ohmai-hero.ohmai-section {
  padding-top: var(--header-h);
  padding-bottom: 0;
}

.ohmai-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  min-height: auto;
  padding-block: clamp(0.375rem, 1.25vh, 0.875rem) clamp(0.75rem, 2vh, 1rem);
}

.ohmai-hero__copy {
  display: contents;
}

.ohmai-hero__content {
  position: relative;
  z-index: 2;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: clamp(0.25rem, 0.75vh, 0.625rem);
  padding-bottom: 0;
}

.ohmai-hero__content::before {
  content: "";
  position: absolute;
  inset: -35% -25% -55%;
  background: radial-gradient(
    ellipse 88% 78% at 50% 38%,
    rgba(0, 3, 8, 0.94) 0%,
    rgba(0, 3, 8, 0.55) 42%,
    transparent 72%
  );
  z-index: -1;
  pointer-events: none;
}

.ohmai-hero__content .ohmai-h1 {
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.88),
    0 0 48px rgba(0, 3, 8, 0.65);
}

.ohmai-hero__content .ohmai-hero__title {
  font-size: clamp(2.25rem, 9vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  text-align: center;
}

.ohmai-hero__kicker {
  margin: 0 0 clamp(0.125rem, 0.5vh, 0.375rem);
  line-height: 1;
  text-align: center;
}

.ohmai-hero__cta {
  order: 3;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.375rem);
  width: 100%;
  max-width: min(96vw, 64rem);
  margin-top: clamp(0.125rem, 0.5vh, 0.375rem);
  padding-inline: 1.5rem;
  padding-top: 0;
  text-align: center;
}

.ohmai-hero__cta .ohmai-btn {
  margin-top: 0;
  width: 100%;
  max-width: 20rem;
}

.ohmai-hero__cta .ohmai-btn--primary {
  box-shadow:
    0 10px 36px rgba(53, 200, 255, 0.26),
    0 0 48px rgba(53, 200, 255, 0.1);
}

.ohmai-hero__product {
  order: 2;
  position: relative;
  width: min(90vw, 620px);
  height: min(36vh, 340px);
  margin: clamp(0.125rem, 0.5vh, 0.375rem) auto 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  z-index: 2;
  pointer-events: none;
  flex-shrink: 0;
}

.ohmai-hero__product::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 3, 8, 0.5) 0%,
      rgba(0, 3, 8, 0.18) 7%,
      rgba(0, 3, 8, 0.05) 15%,
      transparent 24%
    ),
    linear-gradient(
      to bottom,
      transparent 66%,
      rgba(0, 3, 8, 0.1) 86%,
      rgba(0, 3, 8, 0.38) 97%,
      rgba(0, 3, 8, 0.22) 100%
    ),
    linear-gradient(
      to right,
      var(--bg-deep) 0%,
      rgba(0, 3, 8, 0.72) 6%,
      rgba(0, 3, 8, 0.28) 18%,
      transparent 30%,
      transparent 70%,
      rgba(0, 3, 8, 0.28) 82%,
      rgba(0, 3, 8, 0.72) 94%,
      var(--bg-deep) 100%
    ),
    radial-gradient(
      ellipse 80% 76% at 50% 66%,
      transparent 46%,
      rgba(0, 3, 8, 0.26) 74%,
      rgba(0, 3, 8, 0.46) 88%,
      rgba(0, 3, 8, 0.22) 100%
    );
  pointer-events: none;
  z-index: 4;
}

.ohmai-hero__product video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  background: var(--bg-deep);
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 12%,
      #000 92%,
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 58% 72% at 50% 66%,
      #000 16%,
      rgba(0, 0, 0, 0.92) 50%,
      rgba(0, 0, 0, 0.52) 74%,
      transparent 100%
    );
  -webkit-mask-composite: source-in, source-in;
  mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 12%,
      #000 92%,
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 58% 72% at 50% 66%,
      #000 16%,
      rgba(0, 0, 0, 0.92) 50%,
      rgba(0, 0, 0, 0.52) 74%,
      transparent 100%
    );
  mask-composite: intersect, intersect;
}

@media (min-width: 48rem) {
  .ohmai-hero {
    min-height: 100svh;
    min-height: 100dvh;
    text-align: left;
    background:
      linear-gradient(
        102deg,
        rgba(0, 3, 8, 0.96) 0%,
        rgba(0, 3, 8, 0.82) 34%,
        rgba(0, 3, 8, 0.48) 52%,
        rgba(0, 3, 8, 0.18) 68%,
        var(--bg-deep) 100%
      ),
      var(--bg-deep);
  }

  .ohmai-hero,
  .ohmai-hero.ohmai-section {
    padding-top: var(--header-h);
  }

  .ohmai-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    min-height: calc(100svh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    padding-block: clamp(1.125rem, 2.25vh, 1.75rem) clamp(1.25rem, 2.5vh, 1.75rem);
  }

  .ohmai-hero__inner::before {
    content: "";
    position: absolute;
    inset: 0 46% 0 -12%;
    background: radial-gradient(
      ellipse 88% 88% at 18% 50%,
      rgba(0, 3, 8, 0.92) 0%,
      rgba(0, 3, 8, 0.68) 42%,
      rgba(0, 3, 8, 0.28) 68%,
      transparent 100%
    );
    z-index: 0;
    pointer-events: none;
  }

  .ohmai-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.375rem, 2.2vh, 1.875rem);
    grid-column: 1;
    grid-row: 1;
    max-width: 38rem;
    z-index: 2;
  }

  .ohmai-hero__content {
    order: unset;
    align-items: flex-start;
    margin-top: 0;
    max-width: none;
    width: 100%;
  }

  .ohmai-hero__content::before {
    display: none;
  }

  .ohmai-hero__content .ohmai-h1 {
    text-shadow: none;
  }

  .ohmai-hero__content .ohmai-hero__kicker.ohmai-hero__title {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 0.95;
    margin-bottom: clamp(0.375rem, 0.8vh, 0.625rem);
  }

  .ohmai-hero__content h1.ohmai-hero__title {
    font-size: clamp(2.6rem, 5.1vw, 5.1rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
    text-align: left;
  }

  .ohmai-hero__content h1.ohmai-hero__title .ohmai-hero__headline-row {
    white-space: nowrap;
  }

  html[lang="en"] .ohmai-hero__content h1.ohmai-hero__title,
  html.lang-en .ohmai-hero__content h1.ohmai-hero__title {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
  }

  .ohmai-hero__kicker {
    text-align: left;
  }

  .ohmai-hero__cta {
    order: unset;
    align-items: flex-start;
    gap: clamp(1.125rem, 1.8vh, 1.5rem);
    max-width: none;
    width: 100%;
    margin-top: 0;
    padding-inline: 0;
    text-align: left;
  }

  .ohmai-hero__cta .ohmai-btn {
    width: auto;
    max-width: none;
  }

  .ohmai-hero__lead {
    text-align: left;
    text-shadow: none;
    max-width: 26rem;
    font-size: clamp(1rem, 1.25vw, 1.1875rem);
    line-height: 1.58;
  }

  html[lang="en"] .ohmai-hero__lead {
    max-width: 28rem;
  }

  html[lang="ja"] .ohmai-hero__content .ohmai-hero__kicker.ohmai-hero__title,
  html.lang-ja .ohmai-hero__content .ohmai-hero__kicker.ohmai-hero__title {
    font-size: clamp(1.875rem, 3vw, 2.75rem);
    line-height: 1;
  }

  html[lang="ja"] .ohmai-hero__content h1.ohmai-hero__title,
  html.lang-ja .ohmai-hero__content h1.ohmai-hero__title {
    font-size: clamp(2.6rem, 5.1vw, 5.1rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: wrap;
    word-break: keep-all;
  }

  html[lang="ja"] .ohmai-hero__content h1.ohmai-hero__title .ohmai-hero__headline-row,
  html.lang-ja .ohmai-hero__content h1.ohmai-hero__title .ohmai-hero__headline-row {
    white-space: nowrap;
  }

  html[lang="ja"] .ohmai-hero__lead,
  html.lang-ja .ohmai-hero__lead {
    max-width: 28rem;
    line-height: 1.65;
  }

  .ohmai-hero__product {
    order: unset;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: min(82vh, 720px);
    min-height: clamp(340px, 48vh, 720px);
    margin: 0;
    align-self: center;
    overflow: hidden;
    background: transparent;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      #000 7%,
      #000 93%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      #000 7%,
      #000 93%,
      transparent 100%
    );
  }

  .ohmai-hero__product::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
      linear-gradient(
        to bottom,
        var(--bg-deep) 0%,
        rgba(0, 3, 8, 0.94) 6%,
        rgba(0, 3, 8, 0.62) 12%,
        rgba(0, 3, 8, 0.28) 18%,
        rgba(0, 3, 8, 0.08) 24%,
        transparent 32%
      ),
      linear-gradient(
        to bottom,
        transparent 68%,
        rgba(0, 3, 8, 0.08) 76%,
        rgba(0, 3, 8, 0.28) 82%,
        rgba(0, 3, 8, 0.62) 88%,
        rgba(0, 3, 8, 0.94) 94%,
        var(--bg-deep) 100%
      );
    pointer-events: none;
  }

  .ohmai-hero__product::after {
    background:
      linear-gradient(
        to bottom,
        var(--bg-deep) 0%,
        var(--bg-deep) 10%,
        rgba(0, 3, 8, 0.96) 14%,
        rgba(0, 3, 8, 0.72) 20%,
        rgba(0, 3, 8, 0.38) 28%,
        rgba(0, 3, 8, 0.12) 36%,
        transparent 46%
      ),
      linear-gradient(
        to bottom,
        transparent 54%,
        rgba(0, 3, 8, 0.12) 64%,
        rgba(0, 3, 8, 0.38) 72%,
        rgba(0, 3, 8, 0.72) 80%,
        rgba(0, 3, 8, 0.96) 86%,
        var(--bg-deep) 90%,
        var(--bg-deep) 100%
      ),
      linear-gradient(
        to right,
        var(--bg-deep) 0%,
        rgba(0, 3, 8, 0.72) 5%,
        rgba(0, 3, 8, 0.26) 14%,
        rgba(0, 3, 8, 0.08) 22%,
        transparent 34%
      ),
      linear-gradient(
        to left,
        var(--bg-deep) 0%,
        rgba(0, 3, 8, 0.48) 4%,
        rgba(0, 3, 8, 0.14) 10%,
        transparent 18%
      ),
      radial-gradient(
        ellipse 100% 62% at 53% 54%,
        transparent 48%,
        rgba(0, 3, 8, 0.14) 76%,
        rgba(0, 3, 8, 0.28) 90%,
        rgba(0, 3, 8, 0.16) 100%
      );
  }

  .ohmai-hero__product video {
    inset: auto;
    top: 44%;
    left: 50%;
    width: 168%;
    height: 168%;
    max-width: none;
    transform: translate(-50%, -50%);
    object-fit: contain;
    object-position: 53% 58%;
    background: transparent;
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        #000 14%,
        #000 86%,
        transparent 100%
      ),
      linear-gradient(
        to right,
        transparent 0%,
        #000 6%,
        #000 94%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        #000 14%,
        #000 86%,
        transparent 100%
      ),
      linear-gradient(
        to right,
        transparent 0%,
        #000 6%,
        #000 94%,
        transparent 100%
      );
    mask-composite: intersect;
  }
}

@media (min-width: 64rem) {
  .ohmai-hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.96fr);
    gap: clamp(2.5rem, 4.5vw, 4rem);
  }

  .ohmai-hero__inner::before {
    inset: 0 44% 0 -12%;
  }

  .ohmai-hero__copy {
    gap: clamp(1.5rem, 2.4vh, 2rem);
    max-width: 42rem;
  }

  html[lang="ja"] .ohmai-hero__content h1.ohmai-hero__title,
  html.lang-ja .ohmai-hero__content h1.ohmai-hero__title {
    font-size: clamp(2.6rem, 5.1vw, 5.1rem);
  }

  .ohmai-hero__product {
    height: min(86vh, 760px);
    min-height: clamp(360px, 52vh, 760px);
  }

}

/* —— Core —— */
.ohmai-core .ohmai-section__head {
  margin-bottom: clamp(3.25rem, 6.5vw, 5rem);
}

.ohmai-core__steps {
  display: grid;
  gap: var(--space-card-gap);
  margin-bottom: clamp(1.75rem, 2.5vw, 2.25rem);
}

@media (min-width: 48rem) {
  .ohmai-core__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ohmai-core__step {
  min-height: 18.5rem;
  padding: var(--space-card-pad-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ohmai-core__step .ohmai-h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.ohmai-core__step p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.5;
  color: var(--text-muted);
}

.ohmai-core__num {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.8;
}

.ohmai-core__routing {
  padding: var(--space-card-pad-lg);
  text-align: left;
}

.ohmai-core__routing-text {
  margin: 0;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 52rem;
}

/* —— Device —— */
.ohmai-device {
  padding-block: clamp(8.5rem, 15vw, 13.75rem);
}

.ohmai-device .ohmai-section__head {
  max-width: 44rem;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  background: none;
}

.ohmai-device .ohmai-h2 {
  text-wrap: pretty;
  background: none;
}

.ohmai-device .ohmai-lead {
  text-wrap: pretty;
}

.ohmai-device__stage {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  align-items: center;
}

.ohmai-device__showcase {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ohmai-device__product {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.ohmai-device__product video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  mix-blend-mode: lighten;
}

.ohmai-device__grid {
  display: grid;
  gap: var(--space-card-gap);
  width: 100%;
}

@media (min-width: 40rem) {
  .ohmai-device__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ohmai-device__cap {
  min-height: 8.75rem;
  padding: var(--space-card-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(8, 20, 30, 0.5);
  border-color: rgba(120, 210, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.ohmai-device__cap-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.ohmai-device__cap .ohmai-h3 {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 64rem) {
  .ohmai-device__stage {
    display: grid;
    grid-template-columns: minmax(320px, 1.25fr) 1.75fr;
    gap: var(--space-card-gap);
    align-items: stretch;
  }

  .ohmai-device__showcase {
    grid-column: 1;
    min-height: 0;
    height: 100%;
    align-self: stretch;
    overflow: hidden;
  }

  .ohmai-device__product {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    overflow: hidden;
  }

  .ohmai-device__product video {
    object-fit: fill;
    object-position: center center;
  }

  .ohmai-device__grid {
    grid-column: 2;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 100%;
    align-content: stretch;
    align-self: stretch;
  }

  .ohmai-device__cap {
    min-height: 0;
    height: 100%;
    justify-content: center;
  }
}

.ohmai-device__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: var(--accent);
  background: rgba(53, 200, 255, 0.08);
  border: 1px solid var(--card-border);
}

.ohmai-device__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.ohmai-device__cap p {
  margin: 0;
  padding-left: calc(2.5rem + 0.875rem);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-muted);
  line-height: 1.45;
}

/* —— Lineup —— */
.ohmai-lineup {
  padding-bottom: clamp(6.5rem, 12vw, 10rem);
}

.ohmai-lineup .ohmai-section__head {
  max-width: none;
  margin-inline: 0;
  margin-bottom: clamp(3.25rem, 6.5vw, 5rem);
}

@media (min-width: 48rem) {
  .ohmai-core .ohmai-section__head {
    margin-inline: auto;
    max-width: 52rem;
    text-align: center;
  }

  .ohmai-core .ohmai-section__head .ohmai-lead {
    margin-inline: auto;
    max-width: 42rem;
    text-align: center;
  }

  .ohmai-device .ohmai-section__head {
    margin-inline: 0;
    max-width: none;
    text-align: left;
  }

  .ohmai-device .ohmai-section__head .ohmai-lead {
    margin-inline: 0;
    max-width: 42rem;
    text-align: left;
  }

  .ohmai-device .ohmai-section__title br {
    display: none;
  }

  .ohmai-lineup .ohmai-section__head {
    margin-inline: auto;
    max-width: 40rem;
    margin-bottom: clamp(2.75rem, 4.5vw, 3.75rem);
    text-align: center;
  }

  .ohmai-lineup .ohmai-section__head .ohmai-lead {
    margin-inline: auto;
    max-width: 34rem;
    text-align: center;
  }

  .ohmai-lineup .ohmai-section__head > .ohmai-h2 + .ohmai-lead {
    padding-top: clamp(1.125rem, 1.8vw, 1.5rem);
  }

  .ohmai-lineup .ohmai-section__title {
    font-size: clamp(2.625rem, 4.5vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .ohmai-lineup__structure {
    gap: clamp(1.25rem, 1.85vw, 1.625rem);
  }

  .ohmai-lineup__plus {
    font-size: clamp(2.25rem, 3.6vw, 3.125rem);
    line-height: 1;
  }
}

.ohmai-lineup__structure {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(2rem, 3.5vw, 3rem);
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: clamp(0.25rem, 1.5vw, 1rem);
}

.ohmai-lineup__card {
  width: 100%;
  padding: var(--space-card-pad-lg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  align-items: flex-start;
}

.ohmai-lineup__card--account {
  text-align: center;
  align-items: center;
  padding: clamp(2rem, 3.5vw, 2.75rem);
}

.ohmai-lineup__card--account .ohmai-lineup__features {
  margin: 0.5rem 0 0;
  gap: 0.5rem;
  align-items: center;
}

@media (min-width: 40rem) {
  .ohmai-lineup__card--account .ohmai-lineup__features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
  }
}

.ohmai-lineup__card--account .ohmai-lineup__features li {
  font-size: clamp(0.9375rem, 1.1vw, 1rem);
  line-height: 1.5;
}

.ohmai-lineup__plus {
  align-self: center;
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(53, 200, 255, 0.22);
}

.ohmai-lineup__devices {
  display: grid;
  gap: var(--space-card-gap);
  width: 100%;
}

@media (min-width: 40rem) {
  .ohmai-lineup__devices {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

.ohmai-lineup__card--device {
  min-height: 0;
  height: auto;
  justify-content: flex-start;
}

.ohmai-lineup__price {
  margin: 0.375rem 0 0;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.ohmai-lineup__features {
  list-style: none;
  margin: 0.375rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.ohmai-lineup__features li {
  font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
  line-height: 1.45;
  color: var(--text-muted);
}

.ohmai-lineup__desc {
  margin: 0.25rem 0 0;
  font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
  line-height: 1.45;
  color: var(--text-muted);
}

/* —— Pre-order —— */
.ohmai-preorder__wrap {
  max-width: var(--max);
  margin-inline: auto;
}

.ohmai-preorder__stage {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.ohmai-preorder__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.ohmai-preorder__head {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.ohmai-preorder__head > .ohmai-h2 + .ohmai-lead {
  margin-top: 0;
  padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
}

.ohmai-preorder__head .ohmai-lead {
  margin-inline: auto;
  text-align: center;
}

.ohmai-preorder__card {
  padding: clamp(2.75rem, 5.5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
}

.ohmai-preorder__notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  text-align: center;
}

.ohmai-preorder__notes li {
  margin: 0;
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (min-width: 48rem) {
  .ohmai-preorder__stage {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }

  .ohmai-preorder__copy {
    gap: clamp(1.75rem, 3vh, 2.25rem);
    padding-top: clamp(0.25rem, 0.75vh, 0.75rem);
  }

  .ohmai-preorder__head {
    margin: 0;
    max-width: none;
    text-align: left;
  }

  .ohmai-preorder__head .ohmai-lead {
    margin-inline: 0;
    max-width: 24rem;
    text-align: left;
  }

  .ohmai-preorder__notes {
    align-items: flex-start;
    gap: clamp(0.75rem, 1.4vh, 1rem);
    max-width: 26rem;
    text-align: left;
  }

  .ohmai-preorder__notes li {
    text-align: left;
  }

  .ohmai-preorder__card {
    padding: clamp(2.25rem, 4vw, 3.25rem) clamp(2rem, 3.5vw, 3rem);
  }
}

.ohmai-form__fields[hidden] {
  display: none !important;
}

.ohmai-form {
  margin-top: 0;
}

.ohmai-form .hs-form-frame {
  min-height: 12rem;
}

.ohmai-form .hs-form-frame iframe {
  width: 100% !important;
  min-height: 30rem;
}

.ohmai-form label,
.ohmai-form .hs-form label,
.ohmai-form .hs-form-field > label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  line-height: 1.5;
}

.ohmai-form .hs-form-field {
  margin-bottom: 1.625rem;
}

.ohmai-form .legal-consent-container,
.ohmai-form .hs-richtext,
.ohmai-form .hs-dependent-field {
  line-height: 1.65;
  color: var(--text-muted);
}

.ohmai-form .legal-consent-container p,
.ohmai-form .hs-richtext p {
  margin: 0 0 1.125rem;
  font-size: 0.875rem;
  line-height: 1.65;
}

.ohmai-form input[type="text"],
.ohmai-form input[type="email"],
.ohmai-form input[type="tel"],
.ohmai-form select,
.ohmai-form textarea,
.ohmai-form .hs-input {
  width: 100%;
  min-height: var(--control-h);
  padding: 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  border-radius: var(--radius-control);
  border: 1px solid var(--card-border);
  background: rgba(4, 14, 22, 0.72);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ohmai-form input:focus,
.ohmai-form select:focus,
.ohmai-form textarea:focus,
.ohmai-form .hs-input:focus {
  outline: none;
  border-color: rgba(53, 200, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(53, 200, 255, 0.1);
}

.ohmai-form textarea,
.ohmai-form textarea.hs-input {
  min-height: 8rem;
  padding-block: 1rem;
}

.ohmai-form button,
.ohmai-form input[type="submit"],
.ohmai-form .hs-button {
  min-height: var(--control-h);
  padding: 0 2.25rem;
  border-radius: 9999px;
  font-size: 1.0625rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--bg-deep);
  border: none;
  box-shadow: 0 10px 36px rgba(53, 200, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ohmai-form button:hover,
.ohmai-form input[type="submit"]:hover,
.ohmai-form .hs-button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 44px rgba(53, 200, 255, 0.26);
}

/* —— Footer —— */
.ohmai-footer {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.ohmai-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
}

.ohmai-footer__logo {
  height: 1.25rem;
  width: auto;
  opacity: 0.88;
}

.ohmai-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.125rem 2rem;
}

.ohmai-footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ohmai-footer__nav a:hover {
  color: var(--accent);
}

.ohmai-footer__partner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}

.ohmai-footer__partner-logo {
  width: clamp(6.25rem, 10vw, 8.5rem);
  height: auto;
  display: block;
  opacity: 0.92;
  transform: translateX(-0.35rem);
}

.ohmai-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-dim);
}

/* —— Company page —— */
.ohmai-header__actions--end {
  margin-left: auto;
}

.ohmai-company {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)) 0 clamp(4rem, 8vw, 6rem);
}

.ohmai-company__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.ohmai-company__title {
  margin: 0;
}

.ohmai-company__back {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ohmai-company__back:hover {
  color: var(--accent);
}

.ohmai-company__section {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.ohmai-company__card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.ohmai-company__role-line {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.ohmai-company__role-line span:last-child {
  color: var(--text);
}

@media (max-width: 63.99rem) {
  .ohmai-company__role-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
  }
}

.ohmai-company__name {
  margin: 0;
  font-size: clamp(1.3125rem, 2.4vw, 1.625rem);
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.ohmai-company__name-sub {
  display: inline-block;
  font-size: 0.92em;
  font-weight: 500;
  color: var(--text-muted);
}

.ohmai-company__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.ohmai-company__table-wrap {
  min-width: 0;
}

.ohmai-company__table tbody {
  display: block;
}

.ohmai-company__table tr {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.ohmai-company__table tr:last-child {
  border-bottom: none;
}

.ohmai-company__table th,
.ohmai-company__table td {
  display: block;
  padding: 1rem 0;
  border-bottom: none;
  vertical-align: top;
  text-align: left;
}

.ohmai-company__table th {
  width: auto;
  min-width: 0;
  max-width: none;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.ohmai-company__table td {
  color: var(--text);
  min-width: 0;
}

.ohmai-company__address {
  margin: 0;
}

.ohmai-company__address-postal,
.ohmai-company__address-body {
  margin: 0;
}

.ohmai-company__address-postal + .ohmai-company__address-body {
  margin-top: 0.25rem;
}

.ohmai-company__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ohmai-company__list li {
  margin-bottom: 0.875rem;
}

.ohmai-company__list li:last-child {
  margin-bottom: 0;
}

.ohmai-company__list:not(.ohmai-company__list--plain) li {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
}

.ohmai-company__role {
  display: block;
  min-width: 0;
  margin-right: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

@media (min-width: 64rem) {
  html[lang="en"] .ohmai-company__list:not(.ohmai-company__list--plain) li {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  }
}

.ohmai-company__list--plain li {
  position: relative;
  padding-left: 0;
}

.ohmai-company__list--plain li::before {
  position: static;
  display: inline;
  margin-right: 0.125rem;
  content: "・";
  color: var(--text);
}

@media (max-width: 47.99rem) {
  .ohmai-company__table tr {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.35rem;
  }

  .ohmai-company__table th {
    padding-bottom: 0;
    white-space: normal;
  }

  .ohmai-company__table td {
    padding-top: 0;
    padding-bottom: 1.25rem;
  }

  .ohmai-company__list:not(.ohmai-company__list--plain) li,
  html[lang="en"] .ohmai-company__list:not(.ohmai-company__list--plain) li {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.25rem;
  }

  .ohmai-company__role {
    margin-bottom: 0;
  }
}

@media (max-width: 63.99rem) {
  html[lang="en"] .ohmai-company__table tr {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.35rem;
  }

  html[lang="en"] .ohmai-company__table th {
    padding-bottom: 0;
    white-space: normal;
  }

  html[lang="en"] .ohmai-company__table td {
    padding-top: 0;
    padding-bottom: 1.25rem;
  }

  html[lang="en"] .ohmai-company__list:not(.ohmai-company__list--plain) li {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.25rem;
  }
}

/* —— Scroll anchors —— */
#core,
#device,
#lineup,
#waitlist {
  scroll-margin-top: calc(var(--header-h) + 32px);
}

/* —— Mobile —— */
@media (max-width: 47.99rem) {
  :root {
    --space-section-y: clamp(4.75rem, 11vw, 6rem);
    --space-header-bottom: clamp(2.25rem, 5.5vw, 3rem);
    --space-card-gap: clamp(0.875rem, 3vw, 1.125rem);
  }

  .ohmai-hero.ohmai-section {
    min-height: auto;
    padding-bottom: 0;
  }

  .ohmai-core .ohmai-section__head,
  .ohmai-device .ohmai-section__head,
  .ohmai-lineup .ohmai-section__head {
    margin-bottom: clamp(2rem, 5vw, 2.75rem);
  }

  .ohmai-core__steps {
    margin-bottom: clamp(1.25rem, 3.5vw, 1.5rem);
  }

  .ohmai-device {
    padding-block: clamp(4.75rem, 11vw, 6rem);
  }

  .ohmai-h1 {
    font-size: clamp(3rem, 12vw, 4.5rem);
    line-height: 0.92;
  }

  .ohmai-h2 {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
    line-height: 1.04;
  }

  .ohmai-cta-row {
    flex-direction: column;
    width: 100%;
    max-width: 20rem;
  }

  .ohmai-btn {
    width: 100%;
  }

  html[lang="en"] .ohmai-hero__lead {
    white-space: normal;
    font-size: clamp(0.9375rem, 3.6vw, 1.0625rem);
  }

  .ohmai-core__step {
    min-height: auto;
  }

  .ohmai-lineup__card--device {
    min-height: auto;
  }

  .ohmai-lineup {
    padding-bottom: clamp(4.5rem, 10vw, 6rem);
  }

  .ohmai-device__stage {
    gap: clamp(1.5rem, 4vw, 2rem);
  }
}

html.lang-ja .ohmai-hero__title,
html[lang="ja"] .ohmai-hero__title {
  font-size: clamp(2.6rem, 5.1vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

html.lang-ja .ohmai-section__title,
html[lang="ja"] .ohmai-section__title {
  font-size: clamp(2.6rem, 5.1vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

html.lang-ja .ohmai-lead,
html[lang="ja"] .ohmai-lead {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  letter-spacing: 0;
  text-wrap: pretty;
}

html.lang-ja .ohmai-hero__lead,
html[lang="ja"] .ohmai-hero__lead {
  max-width: 34rem;
  line-height: 1.65;
  white-space: normal;
}

html.lang-ja .ohmai-section__head--left .ohmai-lead,
html[lang="ja"] .ohmai-section__head--left .ohmai-lead {
  max-width: 38rem;
}

html.lang-ja .ohmai-section__head--center .ohmai-lead,
html[lang="ja"] .ohmai-section__head--center .ohmai-lead {
  max-width: 36rem;
}

html.lang-ja .ohmai-card-title,
html[lang="ja"] .ohmai-card-title {
  letter-spacing: -0.02em;
  line-height: 1.3;
}

html.lang-ja .ohmai-core__routing-text,
html[lang="ja"] .ohmai-core__routing-text {
  line-height: 1.7;
  text-wrap: pretty;
}

@media (max-width: 47.99rem) {
  html.lang-ja .ohmai-hero__title,
  html[lang="ja"] .ohmai-hero__title {
    font-size: clamp(2rem, 8.5vw, 2.85rem);
    line-height: 1.06;
  }

  html.lang-ja .ohmai-hero__content h1.ohmai-hero__title .ohmai-hero__headline-row,
  html[lang="ja"] .ohmai-hero__content h1.ohmai-hero__title .ohmai-hero__headline-row {
    white-space: nowrap;
    word-break: keep-all;
  }

  html.lang-ja .ohmai-section__title,
  html[lang="ja"] .ohmai-section__title {
    font-size: clamp(2rem, 8.5vw, 2.85rem);
    line-height: 1.06;
  }

  html.lang-ja .ohmai-hero__lead,
  html[lang="ja"] .ohmai-hero__lead {
    font-size: clamp(0.9375rem, 3.8vw, 1.0625rem);
    line-height: 1.7;
  }
}
