/* ============================================================
   offmode 公開用トップLP — /
   ベース: teaser-lp-src/src/styles/{components,teaser}.css（/teaser-lp のデザイン）を静的HTML向けに複製。
   トークンは /css/tokens/（/brand・/teaser-lp と同一）。/teaser-lp 本体は無変更。
   末尾「トップ専用の追加」以外は原文のまま（同期しやすいように）。
   ============================================================ */

/* ============================================================
   Design System components (Wordmark / SectionLabel / Button)
   Re-implemented per README.md — the DS bundle is not shipped in
   the handoff, so visuals are derived from the semantic tokens
   and the design file's usage / hint sizes.
   ============================================================ */

/* Wordmark — text, lowercase, weight 500 */
.om-wordmark {
  font-family: var(--font-latin);
  font-weight: var(--weight-display);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text-primary);
}

/* SectionLabel — 12px / ls .2em / lh 1 */
.om-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-label-size);
  letter-spacing: var(--text-label-ls);
  line-height: var(--text-label-lh);
  color: var(--label-color);
}
.om-label--center {
  justify-content: center;
}
.om-label__rule {
  flex: none;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Button — pill / h48 / no shadow (elevation.css: UI carries no shadow) */
.om-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--dur-hover) var(--ease-calm),
    color var(--dur-hover) var(--ease-calm),
    border-color var(--dur-hover) var(--ease-calm),
    transform var(--dur-hover) var(--ease-calm);
}
.om-btn--primary {
  border: 1px solid transparent;
  background: var(--cta-fill);
  color: var(--cta-text);
}
.om-btn--primary:hover {
  background: var(--cta-fill-hover);
  color: var(--cta-text);
  transform: translateY(var(--lift-hover));
}
.om-btn--secondary {
  border: var(--border-hairline) solid var(--ghost-border);
  background: transparent;
  color: var(--ghost-text);
}
.om-btn--secondary:hover {
  background: var(--ghost-fill-hover);
  color: var(--ghost-text);
  transform: translateY(var(--lift-hover));
}

/* ============================================================
   Makuake Teaser — page styles
   Source of truth: design/Makuake Teaser.dc.html (inline styles)
   ============================================================ */

/* ---- Page-level (from the design file's <helmet> styles) ---- */
body {
  background: #101a22;
}
h1, h2, h3, p, figcaption, li, span {
  word-break: auto-phrase;
  line-break: strict;
}
a { color: inherit; }
a:hover { color: var(--text-primary, #181d20); }
html { scroll-behavior: smooth; }

@keyframes omDrift {
  from { transform: translateY(-7px); }
  to { transform: translateY(7px); }
}
@keyframes omGlowBreath {
  from { opacity: 0.5; }
  to { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* Teaser night base — night-700 mixed with mist gray (NOT the main site's navy) */
:root {
  --tz-night-76: color-mix(in oklab, var(--om-night-700) 76%, var(--om-mist-100));
  --tz-night-80: color-mix(in oklab, var(--om-night-700) 80%, var(--om-mist-100));
  --tz-night-82: color-mix(in oklab, var(--om-night-700) 82%, var(--om-mist-100));
  --tz-night-88: color-mix(in oklab, var(--om-night-700) 88%, var(--om-mist-100));
}

/* Atmospheric Veil — 3 low-alpha radial washes per band */
.tz-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tz-veil--night-hero {
  background:
    radial-gradient(54% 40% at 30% 24%, rgba(184, 201, 214, 0.09) 0%, transparent 72%),
    radial-gradient(50% 44% at 62% 58%, rgba(175, 200, 184, 0.07) 0%, transparent 72%),
    radial-gradient(52% 38% at 40% 88%, rgba(242, 220, 168, 0.06) 0%, transparent 72%);
}
.tz-veil--threshold-light {
  background:
    radial-gradient(58% 42% at 32% 22%, rgba(242, 220, 168, 0.08) 0%, transparent 72%),
    radial-gradient(52% 46% at 66% 52%, rgba(175, 200, 184, 0.11) 0%, transparent 72%),
    radial-gradient(50% 40% at 44% 84%, rgba(184, 201, 214, 0.13) 0%, transparent 72%);
}
.tz-veil--threshold-dark {
  background:
    radial-gradient(56% 44% at 62% 20%, rgba(184, 201, 214, 0.13) 0%, transparent 72%),
    radial-gradient(50% 42% at 36% 56%, rgba(175, 200, 184, 0.1) 0%, transparent 72%),
    radial-gradient(52% 40% at 58% 86%, rgba(242, 220, 168, 0.07) 0%, transparent 72%);
}

/* ---- Climate bands ---- */
.tz-band-night-hero {
  position: relative;
  color: var(--text-secondary);
  background: linear-gradient(
    180deg,
    var(--tz-night-82) 0%,
    var(--tz-night-80) 58%,
    var(--tz-night-76) 100%
  );
}
.tz-band-light {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--om-ivory-200) 0%,
    color-mix(in oklab, var(--om-ivory-200) 76%, #f2dca8) 40%,
    var(--om-ivory-200) 74%,
    var(--om-mist-100) 100%
  );
}
.tz-band-night-notify {
  position: relative;
  color: var(--text-secondary);
  background: linear-gradient(
    180deg,
    var(--tz-night-80) 0%,
    var(--tz-night-88) 70%,
    var(--tz-night-88) 100%
  );
}

/* ---- 1. Header (non-sticky, 76px) ---- */
.tz-header {
  position: relative;
  z-index: 2;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-pad);
}
.tz-header__tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

/* ---- 2. Teaser Hero ---- */
.tz-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.tz-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tz-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 30%;
  /* opacity is driven by the `reveal` prop — set inline in Hero.tsx */
  filter: saturate(0.72) brightness(0.86) contrast(1);
}
.tz-hero__scrim-x {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--tz-night-80) 0%,
    color-mix(in oklab, var(--om-night-700) 62%, transparent) 42%,
    color-mix(in oklab, var(--om-night-700) 26%, transparent) 68%,
    transparent 100%
  );
}
.tz-hero__scrim-y {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--om-night-700) 40%, transparent) 0%,
    transparent 26%,
    transparent 72%,
    var(--tz-night-80) 100%
  );
}
.tz-hero__glow {
  position: absolute;
  right: 6%;
  top: 24%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 220, 168, 0.14) 0%, transparent 70%);
  filter: blur(30px);
  animation: omGlowBreath 11s ease-in-out infinite alternate;
}
.tz-hero__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 90px) var(--container-pad);
}
.tz-hero__title {
  margin: 26px 0 0;
  max-width: 15em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 62px);
  line-height: 1.42;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.tz-hero__lead {
  margin: 26px 0 0;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.tz-hero__launch {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 2;
  color: var(--text-muted);
}
.tz-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.tz-hero__closing {
  margin: 44px 0 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* Phrase-level line-break control (inline-block spans) */
.u-phrase { display: inline-block; }

/* ---- Threshold: Night → Light ---- */
.tz-threshold-light {
  position: relative;
  height: clamp(220px, 30svh, 320px);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--tz-night-76) 0%,
    color-mix(in oklab, var(--om-night-700) 62%, var(--om-ivory-200)) 22%,
    color-mix(in oklab, var(--om-night-700) 44%, var(--om-ivory-200)) 42%,
    color-mix(in oklab, var(--om-night-700) 26%, var(--om-ivory-200)) 62%,
    color-mix(in oklab, var(--om-night-700) 10%, var(--om-ivory-200)) 82%,
    var(--om-ivory-200) 100%
  );
}
.tz-threshold-light__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 var(--container-pad) clamp(36px, 5vh, 56px);
}
.tz-threshold-light__copy {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.7;
  color: var(--om-ink-900);
}

/* ---- Threshold: Light → Night (silent) ---- */
.tz-threshold-dark {
  position: relative;
  height: clamp(160px, 22svh, 240px);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--om-mist-100) 0%,
    color-mix(in oklab, var(--om-mist-100) 74%, var(--om-night-700)) 26%,
    color-mix(in oklab, var(--om-mist-100) 52%, var(--om-night-700)) 48%,
    color-mix(in oklab, var(--om-mist-100) 34%, var(--om-night-700)) 68%,
    color-mix(in oklab, var(--om-mist-100) 22%, var(--om-night-700)) 84%,
    var(--tz-night-80) 100%
  );
}

/* ---- 3. What We Can Say ---- */
.tz-what {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-y) var(--container-pad);
}
.tz-what__title {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.5;
  color: var(--om-ink-900);
}
.tz-what__list {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  max-width: 760px;
}
.tz-what__item {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  align-items: baseline;
  padding: 26px 4px;
  border-top: 1px solid rgba(34, 49, 63, 0.1);
}
.tz-what__num {
  flex: none;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  /* color per item — set inline (Sage / Blue Gray / Sand at .9 alpha) */
}
.tz-what__item-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.7;
  color: var(--om-ink-900);
}
.tz-what__item-body {
  margin: 8px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 2.05;
  color: var(--om-ink-600);
}
.tz-what__note {
  margin: 34px 0 0;
  font-size: 13px;
  line-height: 2;
  color: var(--om-ink-400);
}

/* ---- 4. Schedule ---- */
.tz-schedule {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad) var(--section-y);
}
.tz-schedule__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 4vw, 56px);
}
.tz-schedule__step {
  flex: 1 1 220px;
  max-width: 340px;
  border-top: 1px solid rgba(34, 49, 63, 0.1);
  padding-top: 20px;
}
.tz-schedule__label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  /* color per step — color-mix(in oklab, <accent> 38–42%, #181D20), set inline */
}
.tz-schedule__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.7;
  color: var(--om-ink-900);
}
.tz-schedule__body {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 2;
  color: var(--om-ink-600);
}

/* ---- 5. Notify ---- */
.tz-notify {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-y) var(--container-pad);
  text-align: center;
}
.tz-notify__glow {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 220, 168, 0.12) 0%, transparent 70%);
  filter: blur(30px);
  animation: omGlowBreath 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.tz-notify__title {
  position: relative;
  margin: 22px auto 0;
  max-width: 20em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.6;
  color: var(--text-primary);
}
.tz-notify__lead {
  position: relative;
  margin: 20px auto 0;
  max-width: 32em;
  font-size: 15px;
  line-height: 2.05;
  color: var(--text-secondary);
}
.tz-notify__form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}
.tz-notify__input {
  box-sizing: border-box;
  width: min(340px, 100%);
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(252, 249, 244, 0.22);
  background: color-mix(in oklab, var(--om-night-700) 70%, transparent);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.tz-notify__done {
  position: relative;
  margin: 36px 0 0;
  font-size: 15px;
  line-height: 2;
  color: var(--text-primary);
}
.tz-notify__note {
  position: relative;
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 2;
  color: var(--text-muted);
}

/* ---- 6. Footer ---- */
.tz-footer {
  border-top: 1px solid rgba(252, 249, 244, 0.1);
}
.tz-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: space-between;
}
.tz-footer__nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.tz-footer__nav a {
  text-decoration: none;
  color: var(--text-secondary);
}
.tz-footer__legal {
  margin: 0;
  font-size: 11px;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ============================================================
   トップ専用の追加・調整
   ============================================================ */
/* 日本語折返し: /brand・/hood と同方式（BudouXの<wbr> + keep-all）。iOS WebKit は auto-phrase 非対応のため */
h1, h2, h3, p, figcaption, li, span, a, button { word-break: keep-all; line-break: strict; overflow-wrap: anywhere; }
.om-btn { white-space: normal; text-align: center; height: auto; min-height: 48px; padding-top: 12px; padding-bottom: 12px; line-height: 1.5; }

/* 夜バンドの装飾グローが端末幅を超えて横スクロールを生まないように */
.tz-band-night-hero, .tz-band-night-notify, .tz-band-light { overflow: hidden; }

/* ヒーローの説明文（ブランド説明）と第一弾の補足 */
.tz-hero__brand { margin: 18px 0 0; max-width: 32em; font-size: 15px; line-height: 2; color: var(--text-secondary); }

/* ブランドステートメント（/brand の .br-panel と同じ見せ方） */
.tz-statement { position: relative; max-width: var(--container-max); margin: 0 auto; padding: var(--section-y) var(--container-pad) 0; }
.tz-panel { position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--hairline-on-deep); background: var(--om-navy-900); padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px); text-align: center; }
.tz-panel > * { position: relative; }
.tz-panel__glow { position: absolute; inset: -10%; filter: blur(30px); background: radial-gradient(40% 50% at 30% 30%, rgba(175,200,184,.16), transparent 70%), radial-gradient(45% 55% at 72% 68%, rgba(242,220,168,.11), transparent 70%), radial-gradient(35% 45% at 55% 16%, rgba(184,201,214,.13), transparent 70%); animation: omGlowBreath 12s ease-in-out infinite alternate; }
.tz-panel__label { justify-content: center; margin: 0 0 36px; color: rgba(232,236,234,.5); }
.tz-panel__body { margin: 0 0 30px; font-size: 14px; line-height: 2.1; color: var(--text-on-deep); }
.tz-panel__body--last { margin: 0; }
.tz-panel__closing { margin: 44px 0 0; font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.6; color: var(--om-paper-100); }
.tz-panel__closing span { display: inline-block; }
/* スマホでも /brand と同じく中央揃え・行送り維持。狭幅では文字と余白を少し詰めて1行を収める */
@media (max-width: 560px) { .tz-panel { padding-left: 18px; padding-right: 18px; } .tz-panel__body { font-size: 13.5px; line-height: 2.05; } }

/* お知らせ（LINE） */
.tz-notify__cta { position: relative; display: flex; justify-content: center; margin-top: 36px; }

/* フッターの補助情報（SNS開始予定・お問い合わせ準備中・運営） */
.tz-footer__inner { align-items: flex-start; }
.tz-footer__nav { flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.tz-footer__soon { display: inline-flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.tz-footer__soon em { font-style: normal; font-size: 11px; letter-spacing: .1em; color: var(--text-muted); }
.tz-footer__legal { max-width: 100%; }
.tz-footer__legal span { display: inline-block; margin-right: 1.5em; }

/* 動きを減らす設定: グローの呼吸を止める（teaser.css の * 停止に加えて明示） */
@media (prefers-reduced-motion: reduce) { .tz-hero__glow, .tz-notify__glow, .tz-panel__glow { animation: none; } }

/* 夜→光の境界を、ヒーロー下端の色（--tz-night-80）から始めて、より長い距離で滑らかに（ease-in-out に沿った10段階） */
.tz-threshold-light {
  height: clamp(300px, 42svh, 460px);
  background: linear-gradient(
    180deg,
    var(--tz-night-80) 0%,
    color-mix(in oklab, var(--om-night-700) 76%, var(--om-ivory-200)) 10%,
    color-mix(in oklab, var(--om-night-700) 66%, var(--om-ivory-200)) 20%,
    color-mix(in oklab, var(--om-night-700) 54%, var(--om-ivory-200)) 30%,
    color-mix(in oklab, var(--om-night-700) 42%, var(--om-ivory-200)) 40%,
    color-mix(in oklab, var(--om-night-700) 30%, var(--om-ivory-200)) 50%,
    color-mix(in oklab, var(--om-night-700) 20%, var(--om-ivory-200)) 60%,
    color-mix(in oklab, var(--om-night-700) 12%, var(--om-ivory-200)) 70%,
    color-mix(in oklab, var(--om-night-700) 6%, var(--om-ivory-200)) 80%,
    color-mix(in oklab, var(--om-night-700) 2%, var(--om-ivory-200)) 90%,
    var(--om-ivory-200) 100%
  );
}
.tz-threshold-light__inner { padding-bottom: clamp(40px, 6vh, 64px); }
/* 360px 級の端末: ステートメントの各行（最長22字）が1行に収まるよう、もう一段だけ詰める */
@media (max-width: 380px) { .tz-panel { padding-left: 14px; padding-right: 14px; } .tz-panel__body { font-size: 12.8px; line-height: 2.1; } }

/* ロゴ（確定版 2026-09-14）: 定義は index.html 冒頭の <symbol>、色は currentColor（置いた場所の文字色）。
   縦組み（#om-stacked: シンボル上・ワードマーク下）を採用。ヘッダー 36px（640px 以下 32px）、フッター 44px。
   #om-logo（横組み）/#om-wordmark/#om-symbol も定義済みで差し替え可 */
.tz-logo { display: inline-flex; align-items: center; flex: none; line-height: 0; color: var(--text-primary); text-decoration: none; border-bottom: none; }
.tz-logo svg { display: block; height: 36px; width: auto; fill: currentColor; }
.tz-logo .tz-logo__compact { display: none; }
.tz-logo--footer svg { height: 44px; }
.tz-header { gap: 16px; }
.tz-header__tag { text-align: right; line-height: 1.6; }
@media (max-width: 640px) {
  .tz-header .tz-logo__full { height: 32px; }
}
