/* ==========================================================================
   Meetian LP — style.css
   ダークインク × ブランドレッド × 8色パレット（アプリと同一）
   BEM / モバイルファースト / 2スペースインデント
   ========================================================================== */

:root {
  --ink-0: #060607;
  --ink-1: #0a0a0b;
  --ink-2: #121215;
  --ink-3: #1a1a1f;
  --line: rgba(229, 229, 231, 0.09);
  --text: #e5e5e7;
  --text-dim: rgba(229, 229, 231, 0.62);
  --text-faint: rgba(229, 229, 231, 0.55); /* #0a0a0b 上でコントラスト比 4.5:1 以上を確保 */
  --red: #ef4444;
  --red-deep: #c73535;
  --viz-1: #3987e5;
  --viz-2: #199e70;
  --viz-3: #c98500;
  --viz-4: #008300;
  --viz-5: #9085e9;
  --viz-6: #e66767;
  --viz-7: #d55181;
  --viz-8: #d95926;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--ink-1);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.pc { display: none; }

/* ---- reveal（スクロール連動の出現）
   JS が動く環境（html.js）でだけ初期非表示にする。JS 無効でも読める保険 ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 28px rgba(239, 68, 68, 0.28);
}
.btn--primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(239, 68, 68, 0.36);
}
.btn--ghost {
  border-color: rgba(229, 229, 231, 0.25);
  color: var(--text);
  background: rgba(229, 229, 231, 0.03);
}
.btn--ghost:hover { border-color: rgba(229, 229, 231, 0.55); transform: translateY(-2px); }
.btn--line {
  border-color: rgba(229, 229, 231, 0.2);
  color: var(--text);
}
.btn--line:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn--small { padding: 0.55em 1.2em; font-size: 0.82rem; }
.btn--big { padding: 1.1em 2.6em; font-size: 1.05rem; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 6, 7, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: var(--header-h);
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-right: auto;
}
.site-header__mark { width: 26px; height: 26px; align-self: center; }
.site-header__name {
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 1.02rem;
}
.site-header__kana {
  display: none;
  font-size: 0.66rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.site-header__cta { white-space: nowrap; }
@media (min-width: 480px) {
  .site-header__kana { display: inline; }
}
.site-header__nav { display: none; gap: 26px; font-size: 0.88rem; color: var(--text-dim); }
.site-header__nav a { transition: color 0.25s; }
.site-header__nav a:hover { color: var(--text); }

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 30% 45%, rgba(6, 6, 7, 0.82) 0%, rgba(6, 6, 7, 0.25) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(10, 10, 11, 0.4), transparent 30%, transparent 70%, var(--ink-1) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.hero__eyebrow-os {
  font-size: 0.7rem;
  padding: 0.15em 0.9em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-faint);
}
.hero__title {
  font-size: clamp(2.6rem, 8.4vw, 5.4rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.03em;
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-line 1.1s var(--ease-out) forwards;
}
.hero__title-line:nth-child(2) > span { animation-delay: 0.18s; }
.hero__title em {
  color: var(--red);
  position: relative;
}
@keyframes hero-line {
  to { transform: translateY(0); }
}
.hero__lead {
  margin-top: 28px;
  font-size: clamp(0.98rem, 2.6vw, 1.18rem);
  color: var(--text-dim);
  font-weight: 500;
}
.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.62rem;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll span {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--text-faint));
  animation: scroll-cue 2.2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   課題
   ========================================================================== */
.problem {
  position: relative;
  padding: 140px 0 120px;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(239, 68, 68, 0.05), transparent 70%),
    var(--ink-1);
}
.problem__title {
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.problem__title-fade { color: var(--text-faint); position: relative; }
.problem__lead {
  margin-top: 36px;
  color: var(--text-dim);
  font-size: clamp(0.95rem, 2.4vw, 1.08rem);
}
.problem__cards {
  margin-top: 56px;
  display: grid;
  gap: 14px;
}
.problem__card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--ink-2), var(--ink-1));
  padding: 26px 24px;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.problem__card-no { color: var(--red); font-size: 0.72rem; }
.problem__turn {
  margin-top: 60px;
  font-size: clamp(1.15rem, 3.4vw, 1.7rem);
  font-weight: 700;
}
.problem__turn strong { color: var(--red); font-weight: 900; }

/* ==========================================================================
   機能セクション共通
   ========================================================================== */
.feature {
  padding: 110px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.feature__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.feature__eyebrow {
  font-size: 0.7rem;
  color: var(--red);
  margin-bottom: 18px;
}
.feature__title {
  font-size: clamp(1.8rem, 5.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
}
.feature__desc {
  margin-top: 22px;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.feature__desc strong { color: var(--text); }
.feature__points {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}
.feature__points li {
  padding-left: 22px;
  position: relative;
}
.feature__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--red), var(--red-deep));
}

/* ---- アプリ窓フレーム ---- */
.window {
  border: 1px solid rgba(229, 229, 231, 0.12);
  border-radius: 14px;
  background: var(--ink-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(229, 229, 231, 0.03);
}
.window__dots { display: flex; gap: 6px; }
.window__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(229, 229, 231, 0.14);
}
.window__dots i:first-child { background: rgba(239, 68, 68, 0.7); }
.window__title {
  font-size: 0.64rem;
  color: var(--text-faint);
}
.window__rec {
  margin-left: auto;
  font-size: 0.66rem;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
}
.window__rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: rec-blink 1.4s ease-in-out infinite;
}
@keyframes rec-blink { 50% { opacity: 0.2; } }
.window__body { padding: 26px 22px; }

/* ---- 01 録音モック ---- */
.mock-rec__wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 54px;
}
.mock-rec__wave i {
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(to top, var(--red-deep), var(--red));
  height: calc(var(--h, 0.3) * 100%);
  opacity: 0.85;
  animation: wave-bounce 1.1s ease-in-out calc(var(--d, 0) * -1.1s) infinite alternate;
}
@keyframes wave-bounce {
  from { transform: scaleY(0.25); }
  to { transform: scaleY(1); }
}
.mock-rec__lines { margin-top: 24px; display: grid; gap: 10px; }
.mock-rec__lines p {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-left: 64px;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
}
.mock-rec__lines p::before {
  content: attr(data-speaker);
  position: absolute;
  left: 0;
  top: 0.35em;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.5em;
}
.is-animated .mock-rec__lines p { animation: line-in 0.7s var(--ease-out) forwards; }
.is-animated .mock-rec__lines p:nth-child(1) { animation-delay: 0.3s; }
.is-animated .mock-rec__lines p:nth-child(2) { animation-delay: 1.2s; }
.is-animated .mock-rec__lines p:nth-child(3) { animation-delay: 2.1s; }
@keyframes line-in {
  to { opacity: 1; transform: none; }
}
.mock-rec__out {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
}
.is-animated .mock-rec__out { animation: line-in 0.8s var(--ease-out) 2.9s forwards; }
.chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4em 1em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(229, 229, 231, 0.04);
  color: var(--text-dim);
}
.chip--doc { border-color: rgba(239, 68, 68, 0.5); color: var(--text); }

/* ---- 02 登録モック ---- */
.mock-reg__src {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  background: rgba(229, 229, 231, 0.02);
}
.mock-reg__src-label { font-size: 0.6rem; color: var(--text-faint); margin-bottom: 8px; }
.mock-reg__src-text { font-size: 0.82rem; color: var(--text-dim); }
.mock-reg__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.66rem;
  margin: 14px 0;
}
.mock-reg__arrow svg { width: 18px; height: 18px; animation: arrow-drop 1.6s ease-in-out infinite; }
@keyframes arrow-drop {
  0%, 100% { transform: translateY(-3px); opacity: 0.5; }
  50% { transform: translateY(3px); opacity: 1; }
}
.mock-reg__fields { display: grid; gap: 8px; }
.mock-reg__fields > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.mock-reg__fields dt {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-faint);
}
.mock-reg__fields dd {
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.5em;
}
.mock-reg__fields dd::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  background: var(--red);
  margin-left: 2px;
  vertical-align: -0.15em;
  opacity: 0;
}
.is-animated .mock-reg__fields dd.is-typing::after { opacity: 1; animation: rec-blink 0.7s infinite; }
.mock-reg__done {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--viz-2);
  opacity: 0;
  transition: opacity 0.6s;
}
.mock-reg__done.is-on { opacity: 1; }

/* ---- 03 スクリーンショット ---- */
.feature--wide .feature__head { max-width: 720px; }
.feature__shots { margin-top: 48px; position: relative; }
.shot--main { display: none; }
.shot--main.is-active { display: block; animation: shot-in 0.7s var(--ease-out); }
@keyframes shot-in {
  from { opacity: 0; transform: translateY(16px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
.shot--main img { width: 100%; }
.feature__shot-tabs {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shot-tab {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.3em;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.shot-tab:hover { color: var(--text); }
.shot-tab.is-active {
  color: #fff;
  border-color: var(--red);
  background: rgba(239, 68, 68, 0.14);
}
.feature__caption { margin-top: 14px; font-size: 0.64rem; color: var(--text-faint); }

/* ---- 04 やることモック ---- */
.mock-act__list { display: grid; gap: 10px; }
.mock-act__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-12px);
}
.is-animated .mock-act__list li { animation: act-in 0.6s var(--ease-out) forwards; }
.is-animated .mock-act__list li:nth-child(1) { animation-delay: 0.2s; }
.is-animated .mock-act__list li:nth-child(2) { animation-delay: 0.45s; }
.is-animated .mock-act__list li:nth-child(3) { animation-delay: 0.7s; }
@keyframes act-in { to { opacity: 1; transform: none; } }
.mock-act__list em {
  margin-left: auto;
  font-size: 0.62rem;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1em 0.6em;
  flex-shrink: 0;
}
.mock-act__check {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(229, 229, 231, 0.3);
  border-radius: 5px;
  flex-shrink: 0;
  position: relative;
}
.mock-act__check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--viz-2);
  opacity: 0;
}
.is-animated .mock-act__list li:nth-child(1) .mock-act__check::after { animation: line-in 0.3s 1.6s forwards; }
.mock-act__match {
  margin-top: 18px;
  border: 1px solid rgba(144, 133, 233, 0.35);
  background: linear-gradient(150deg, rgba(144, 133, 233, 0.08), transparent 60%);
  border-radius: 12px;
  padding: 18px 18px 16px;
  opacity: 0;
  transform: translateY(12px);
}
.is-animated .mock-act__match { animation: line-in 0.7s var(--ease-out) 1.1s forwards; }
.mock-act__match-label { font-size: 0.6rem; color: var(--viz-5); margin-bottom: 10px; }
.mock-act__match-body { font-size: 0.88rem; }
.mock-act__match-sub { font-size: 0.74rem; color: var(--text-dim); margin-top: 6px; }
.mock-act__match-chips { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ==========================================================================
   体験デモ
   ========================================================================== */
.demo {
  padding: 130px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(57, 135, 229, 0.06), transparent 70%),
    var(--ink-0);
}
.demo__eyebrow { font-size: 0.7rem; color: var(--red); }
.demo__title {
  margin-top: 16px;
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  font-weight: 900;
}
.demo__lead { margin-top: 18px; color: var(--text-dim); font-size: 0.95rem; }
.demo__lead .mono { font-size: 0.68rem; color: var(--text-faint); display: inline-block; margin-left: 8px; }

.demo__stage {
  margin-top: 54px;
  border: 1px solid rgba(229, 229, 231, 0.12);
  border-radius: 18px;
  background: var(--ink-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.demo__steps {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.demo__steps li {
  flex: 1;
  text-align: center;
  padding: 14px 6px;
  font-size: 0.64rem;
  color: var(--text-faint);
  border-right: 1px solid var(--line);
  transition: color 0.4s, background-color 0.4s;
}
.demo__steps li:last-child { border-right: 0; }
.demo__steps li.is-active { color: var(--red); background: rgba(239, 68, 68, 0.06); }
.demo__steps li.is-done { color: var(--text-dim); }

.demo__panes { position: relative; }
.demo__pane {
  padding: 40px 24px 44px;
  min-height: 460px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.demo__pane.is-active { display: flex; animation: shot-in 0.6s var(--ease-out); }
.demo__pane-title { font-size: 1.05rem; font-weight: 700; }
.demo__persona {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3em 1.2em;
}
.demo__wave {
  width: min(420px, 100%);
  margin-top: 34px;
  opacity: 0.25;
  transition: opacity 0.4s;
}
.demo__wave.is-live { opacity: 1; }
.demo__wave i { animation-play-state: paused; }
.demo__wave.is-live i { animation-play-state: running; }
.demo__transcript {
  margin-top: 22px;
  min-height: 3.2em;
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 480px;
}
.demo__go { margin-top: 26px; }
.demo__go.is-hidden { display: none; }
.demo__hint { margin-top: 14px; font-size: 0.62rem; color: var(--text-faint); }

.demo__gen {
  margin-top: 30px;
  display: grid;
  gap: 16px;
  width: min(760px, 100%);
  text-align: left;
}
.demo__gen-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-1);
  padding: 20px 20px 18px;
}
.demo__gen-label {
  font-size: 0.62rem;
  color: var(--red);
  margin-bottom: 12px;
}
.demo__gen-line {
  font-size: 0.84rem;
  color: var(--text-dim);
  min-height: 1.7em;
}
.demo__gen-fields { margin-top: 4px; }

.demo__graph-wrap {
  position: relative;
  width: min(760px, 100%);
  margin-top: 26px;
}
.demo__graph {
  width: 100%;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-1);
}
.demo__graph-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.66rem;
  color: var(--viz-2);
  border: 1px solid rgba(25, 158, 112, 0.5);
  border-radius: 999px;
  padding: 0.25em 1em;
  background: rgba(25, 158, 112, 0.1);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s, transform 0.5s;
}
.demo__graph-badge.is-on { opacity: 1; transform: none; }
.demo__end {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ==========================================================================
   料金
   ========================================================================== */
.pricing {
  padding: 130px 0;
  border-top: 1px solid var(--line);
}
.pricing__eyebrow { font-size: 0.7rem; color: var(--red); }
.pricing__title {
  margin-top: 16px;
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  font-weight: 900;
}
.pricing__lead { margin-top: 18px; color: var(--text-dim); font-size: 0.95rem; }
.pricing__grid {
  margin-top: 54px;
  display: grid;
  gap: 18px;
}
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1) 70%);
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(229, 229, 231, 0.25); }
.plan--featured {
  border-color: rgba(239, 68, 68, 0.55);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(239, 68, 68, 0.1), transparent 70%),
    linear-gradient(165deg, var(--ink-2), var(--ink-1) 70%);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2em 1.1em;
  letter-spacing: 0.1em;
}
.plan__name { font-size: 1rem; font-weight: 700; color: var(--text-dim); }
.plan__price {
  margin-top: 10px;
  font-size: 2.6rem;
  font-weight: 900;
  font-family: var(--font-mono);
  letter-spacing: 0;
  line-height: 1.1;
}
.plan__yen { font-size: 1.3rem; margin-right: 2px; }
.plan__unit {
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-faint);
  margin-left: 6px;
}
.plan__credit {
  margin-top: 14px;
  font-size: 0.7rem;
  color: var(--viz-1);
}
.plan__points {
  margin: 20px 0 26px;
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.plan__points li { padding-left: 18px; position: relative; }
.plan__points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
}
.plan__cta { margin-top: auto; width: 100%; }
.pricing__notes {
  margin-top: 34px;
  display: grid;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-faint);
}
.pricing__notes li { padding-left: 14px; position: relative; }
.pricing__notes li::before { content: "※"; position: absolute; left: 0; }
.pricing__cta { margin-top: 64px; text-align: center; }
.pricing__cta-note { margin-top: 12px; font-size: 0.72rem; color: var(--text-faint); }

/* ==========================================================================
   ダウンロード
   ========================================================================== */
.download {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}
.download__eyebrow { font-size: 0.7rem; color: var(--red); }
.download__title {
  margin-top: 16px;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
}
.download__lead {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 2;
}
.download__grid {
  margin-top: 40px;
  display: grid;
  gap: 18px;
}
.dlcard {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1) 70%);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.dlcard:hover { transform: translateY(-6px); border-color: rgba(229, 229, 231, 0.25); }
.dlcard__name { font-size: 1.05rem; font-weight: 700; }
.dlcard__for {
  margin-top: 8px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.dlcard__cta { margin-top: auto; width: 100%; }
.download__notes {
  margin-top: 34px;
  display: grid;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-faint);
}
.download__notes li { padding-left: 14px; position: relative; }
.download__notes li::before { content: "※"; position: absolute; left: 0; }
.download__notes a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.download__notes a:hover { color: var(--red); }
.download__version {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.download__reopen { margin-top: 22px; }
.download__reopen-btn {
  background: none;
  border: 1px dashed rgba(229, 229, 231, 0.3);
  border-radius: 999px;
  padding: 0.7em 1.4em;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.download__reopen-btn:hover,
.download__reopen-btn:focus-visible { border-color: var(--red); color: var(--text); }

/* ---- スマホから来た人向け「パソコンで続ける」パネル ----
   広告はほぼスマホに配信されるが、Meetian はパソコンで使うアプリ。
   JS（isPhoneOrTablet）が hidden を外す。判定できない・JS が無効なら
   出ないだけで、従来どおり3枚のカードが並ぶ＝行き止まりにはならない */
.pcbridge {
  margin-top: 30px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 14px;
  background: linear-gradient(165deg, var(--ink-2), var(--ink-1) 70%);
  text-align: left;
}
.pcbridge__title { font-size: 0.95rem; font-weight: 700; }
.pcbridge__lead {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text-dim);
}
.pcbridge__cta { margin-top: 18px; width: 100%; }
.pcbridge__done { margin-top: 14px; font-size: 0.8rem; color: var(--text); }
.pcbridge__url {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text);
  word-break: break-all;
}

/* ---- インストール手順モーダル ---- */
.dlmodal {
  width: min(680px, calc(100vw - 32px));
  max-height: min(86vh, 86dvh);
  margin: auto;
  padding: 26px 24px 30px;
  border: 1px solid rgba(229, 229, 231, 0.16);
  border-radius: 18px;
  background: var(--ink-2);
  color: var(--text);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.dlmodal::backdrop {
  background: rgba(6, 6, 7, 0.78);
  backdrop-filter: blur(6px);
}
.dlmodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dlmodal__title { font-size: 1.15rem; font-weight: 900; }
.dlmodal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(229, 229, 231, 0.2);
  border-radius: 50%;
  background: none;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.dlmodal__close:hover,
.dlmodal__close:focus-visible { border-color: var(--red); color: var(--red); }
.dlmodal__started {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(25, 158, 112, 0.45);
  background: rgba(25, 158, 112, 0.12);
  font-size: 0.82rem;
}
.dlmodal__lead {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.9;
}
.dlmodal__lead strong { color: var(--text); }
.dlmodal__tabs {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}
.dlmodal__tab {
  flex: 1;
  padding: 0.7em 1em;
  border: 1px solid rgba(229, 229, 231, 0.2);
  border-radius: 999px;
  background: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.dlmodal__tab[aria-selected="true"] {
  border-color: var(--red);
  background: rgba(239, 68, 68, 0.12);
  color: var(--text);
}
.dlmodal__panel { margin-top: 8px; }
.dlmodal__step {
  margin-top: 16px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-1);
}
.dlmodal__step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.dlmodal__step-no {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.dlmodal__step-desc {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.9;
}
.dlmodal__step-desc b { color: var(--text); }
.dlmodal__step img {
  margin-top: 14px;
  border: 1px solid rgba(229, 229, 231, 0.14);
  border-radius: 10px;
}
.dlmodal__cap {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-faint);
}
/* 公証済みの Mac 向け: ふつうは出ない警告の手順を畳んでおく置き場 */
.dlmodal__fallback {
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.dlmodal__fallback > summary {
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  cursor: pointer;
}
.dlmodal__fallback > summary:hover { color: var(--text); }
.dlmodal__fallback[open] > summary { border-bottom: 1px solid var(--line); }
.dlmodal__fallback > .dlmodal__step-desc { margin-top: 12px; }
.dlmodal__fallback .dlmodal__step:last-child { margin-bottom: 14px; }
.dlmodal__more {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--text-dim);
}
.dlmodal__more a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.dlmodal__more a:hover { color: var(--red); }

/* ==========================================================================
   マザリアル
   ========================================================================== */
.company {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  background: var(--ink-0);
}
.company__inner { display: grid; gap: 34px; }
.company__eyebrow { font-size: 0.66rem; color: var(--text-faint); }
.company__name { margin-top: 10px; font-size: 1.4rem; font-weight: 900; }
.company__tag { margin-top: 10px; font-size: 0.85rem; color: var(--text-dim); }
.company__services { display: grid; gap: 10px; }
.company__services a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.company__services a:hover { border-color: rgba(229, 229, 231, 0.3); transform: translateY(-3px); }
.company__services span {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-faint);
}
.company__link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.3s;
}
.company__link:hover { color: var(--red); }

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background: var(--ink-0);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.site-footer__brand svg { width: 22px; height: 22px; }
.site-footer__brand small {
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  font-weight: 400;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.site-footer__nav a:hover { color: var(--text); }
.site-footer__copy { font-size: 0.64rem; color: var(--text-faint); }

/* ==========================================================================
   PC レイアウト
   ========================================================================== */
@media (min-width: 768px) {
  .pc { display: inline; }
  .site-header__nav { display: flex; }
  .problem__cards { grid-template-columns: repeat(3, 1fr); }
  .feature__grid { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .feature--flip .feature__grid > .feature__body { order: 2; }
  .feature--flip .feature__grid > .feature__media { order: 1; }
  .feature { padding: 150px 0; }
  .pricing__grid { grid-template-columns: repeat(3, 1fr); }
  .download__grid { grid-template-columns: repeat(3, 1fr); }
  .company__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .company__link { grid-column: 2; justify-self: end; }
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
  }
  .site-footer__nav { margin-left: auto; }
  .demo__gen { grid-template-columns: 1.1fr 1fr; }
}

/* ==========================================================================
   動きを減らす設定への配慮
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero__title-line > span,
  .mock-rec__lines p,
  .mock-rec__out,
  .mock-act__list li,
  .mock-act__match {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .mock-rec__wave i,
  .hero__scroll span,
  .mock-reg__arrow svg { animation: none !important; }
}
