/* =======================================================================
   Style Trace / Rapico — design system (v2: pitch-deck brand alignment)
   Concept: 創業者のピッチ資料で使われている「ビビッドな青紫 × マゼンタの
   ロゴバッジ × テール/ラベンダーのシェブロン(三角) × すれ違う人物」を
   踏襲しつつ、長文を読ませるサイトとして破綻しないよう、面積の配分を
   コントロールする（鮮やかさはヒーロー等に集中、本文は明るい下地で読ませる）。
   ======================================================================= */

:root {
  /* --- color: brand (sampled from the official Style Trace logo) --- */
  --brand-purple: #9b6cf6;
  --brand-blue: #3d8bfe;
  --brand-cyan: #22cce4;
  --brand-ink: #0a0b14;
  --brand-gradient: linear-gradient(
    135deg,
    var(--brand-purple),
    var(--brand-blue) 55%,
    var(--brand-cyan)
  );

  /* Rapico (used only within Company / Rapico context) */
  --rapico-orange: #fe670d;

  /* --- color: functional --- */
  --paper: #fafafc;
  --paper-raised: #ffffff;
  --ink: var(--brand-ink);
  --ink-soft: #55566f;
  --line: #e7e7ee;
  --indigo: var(--brand-blue);
  --indigo-deep: #2a6fe0;
  --rose: var(--brand-purple);
  --stone: #cbcbd8;

  /* legacy aliases kept so existing component CSS below needs no rewrite */
  --brand-indigo: var(--brand-blue);
  --brand-indigo-deep: #2a6fe0;
  --brand-magenta: var(--brand-purple);
  --brand-magenta-deep: #7c4fe0;
  --brand-teal: var(--brand-cyan);
  --brand-lavender: var(--brand-purple);

  /* --- type --- */
  --font-display: "Baloo 2", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-body: "Manrope", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* --- layout --- */
  --max-width: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 10vw, 128px);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
}

body.nav-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  list-style: none;
}

p {
  list-style: none;
}
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2.5px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

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

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--inverted {
  background: var(--ink);
  color: var(--paper);
}

.section--raised {
  background: var(--paper-raised);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-magenta-deep);
}

.section--inverted .eyebrow {
  color: var(--brand-teal);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow--rapico {
  color: var(--rapico-orange);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 17px;
}

.section--inverted .section-head p {
  color: #d3d3de;
}

/* ---------- reveal-on-scroll ----------
   progressive enhancement: content is fully visible by default.
   the fade-up effect only applies once JS confirms it can also
   reveal the content again (html.js), so a JS failure never
   leaves the page blank. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- trace divider (signature motif) ---------- */
.trace-divider {
  height: 46px;
  width: 100%;
  overflow: hidden;
}
.trace-divider svg {
  width: 100%;
  height: 100%;
}
.trace-divider path {
  fill: none;
  stroke: var(--stone);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1 10;
}
.section--inverted + .section .trace-divider path,
.section--inverted .trace-divider path {
  stroke: #43434f;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
}
.btn-primary:hover {
  filter: brightness(0.93);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--stone);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.section--inverted .btn-ghost {
  color: var(--paper);
  border-color: #4c4d5c;
}
.section--inverted .btn-ghost:hover {
  border-color: var(--paper);
}

/* =======================================================================
   header / nav
   ======================================================================= */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(243, 241, 237, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 26px;
  width: auto;
  display: block;
}

.brand .brand-icon-only {
  display: none;
}
@media (max-width: 340px) {
  .brand .brand-wordmark {
    display: none;
  }
  .brand .brand-icon-only {
    display: block;
    width: 30px;
    height: 30px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 30px);
}

.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a.nav-current {
  color: var(--ink);
  position: relative;
}
.nav-links a.nav-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
}
.nav-links a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  width: 40px;
  height: 40px;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    inset: 0;
    top: 64px;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 28px var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    gap: 4px;
  }
  .nav-links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .nav-menu .btn {
    margin-top: 20px;
    justify-content: center;
  }
}

/* =======================================================================
   hero
   ======================================================================= */
.hero {
  padding-top: clamp(120px, 20vw, 176px);
  padding-bottom: clamp(56px, 8vw, 96px);
  display: grid;
  gap: clamp(36px, 6vw, 56px);
}

.hero-copy h1 {
  font-size: clamp(34px, 5.6vw, 60px);
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero-copy .lede {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(16px, 2vw, 18.5px);
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  border-radius: 24px;
  background: #0a0b14;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

/* =======================================================================
   problem — editorial asymmetric layout (no icon badges, no card grid)
   ======================================================================= */
.problem-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .problem-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
  }
}
.problem-intro {
  align-self: start;
}
@media (min-width: 900px) {
  .problem-intro {
    position: sticky;
    top: 110px;
  }
}
.tag-plain {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.problem-intro h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3.6vw, 38px);
}
.problem-intro p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 40ch;
}

.problem-timeline {
  position: relative;
  margin: 0;
  padding-left: 64px;
  list-style: none;
}
.problem-timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.problem-timeline li {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.problem-timeline li:first-child {
  padding-top: 0;
}
.problem-timeline .pt-num {
  position: absolute;
  left: -64px;
  top: 14px;
  width: 52px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--line);
  text-align: right;
  line-height: 1;
}
.problem-timeline li::after {
  content: "";
  position: absolute;
  left: -38px;
  top: 26px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stone);
}
.problem-timeline li.is-loss::after {
  background: var(--brand-magenta);
}
.problem-timeline p {
  font-size: 17px;
}
.problem-timeline li.is-loss p {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.problem-timeline .sub {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* =======================================================================
   how it works — alternating timeline (no card grid, no icon badges)
   ======================================================================= */
.steps-zigzag {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.steps-zigzag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
  display: none;
}
@media (min-width: 860px) {
  .steps-zigzag::before {
    display: block;
  }
}
.step-z {
  display: grid;
  gap: 6px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.step-z:first-child {
  padding-top: 0;
}
.step-z:last-child {
  border-bottom: none;
}
@media (min-width: 860px) {
  .step-z {
    grid-template-columns: 1fr 60px 1fr;
    gap: 0 32px;
    border-bottom: none;
    padding: 8px 0;
  }
  .step-z .sz-num {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .step-z .sz-body {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
  }
  .step-z:nth-child(even) .sz-body {
    grid-column: 3;
    text-align: left;
  }
}
.sz-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--paper-raised);
  background: var(--brand-indigo);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.section--raised .sz-num {
  box-shadow: 0 0 0 6px var(--paper);
}
.sz-body h3 {
  margin-top: 12px;
  font-size: 19px;
}
.sz-body p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 34ch;
}
@media (min-width: 860px) {
  .step-z .sz-body {
    max-width: none;
  }
  .step-z:nth-child(odd) .sz-body p {
    margin-left: auto;
  }
}

/* ---------- phone UI mockups (illustrative concept, not real screenshots) ---------- */
.phone-mock {
  width: 168px;
  aspect-ratio: 9 / 18.5;
  border: 7px solid var(--ink);
  border-radius: 30px;
  background: var(--paper-raised);
  position: relative;
  overflow: hidden;
  margin: 0 auto 18px;
  box-shadow: 0 20px 36px -22px rgba(25, 26, 46, 0.35);
}
@media (min-width: 860px) {
  .step-z:nth-child(odd) .phone-mock {
    margin-left: auto;
    margin-right: 0;
  }
  .step-z:nth-child(even) .phone-mock {
    margin-left: 0;
    margin-right: auto;
  }
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 16px;
  background: var(--ink);
  border-radius: 0 0 10px 10px;
  z-index: 2;
}
.phone-screen {
  position: absolute;
  inset: 0;
  padding: 26px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.pm-row .pm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-indigo);
  flex: 0 0 auto;
}
.pm-row .pm-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--stone);
  flex: 1;
}
.pm-row .pm-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-teal);
  flex: 0 0 auto;
  position: relative;
}
.pm-row .pm-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg);
}
.pm-btn {
  margin-top: auto;
  text-align: center;
  padding: 8px;
  border-radius: 9px;
  background: var(--brand-magenta);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.pm-radar {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-radar .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--brand-indigo);
  opacity: 0.35;
}
.pm-radar .ring--1 {
  width: 40px;
  height: 40px;
}
.pm-radar .ring--2 {
  width: 70px;
  height: 70px;
}
.pm-radar .ring--3 {
  width: 100px;
  height: 100px;
}
.pm-radar .pm-you {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-indigo);
  z-index: 1;
}
.pm-radar .pm-other {
  position: absolute;
  top: 22%;
  right: 14%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-magenta);
}
.pm-status {
  text-align: center;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.pm-card {
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}
.pm-thumb {
  height: 62px;
  background: linear-gradient(135deg, var(--brand-indigo), var(--brand-magenta));
}
.pm-card-body {
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pm-found {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  color: var(--brand-magenta);
  background: rgba(255, 0, 222, 0.1);
  padding: 3px 7px;
  border-radius: 999px;
}

.pm-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 2px;
}
.pm-price {
  font-weight: 800;
  font-size: 15px;
}
.pm-price-label {
  font-size: 9.5px;
  color: var(--ink-soft);
}

/* =======================================================================
   everyday with style trace — confidence / friends / travel
   ======================================================================= */
.daily-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 780px) {
  .daily-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.daily-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-top: 3px solid var(--stone);
}
.daily-card h3 {
  margin-top: 10px;
  font-size: 19px;
}
.daily-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.daily-card--confidence {
  border-top-color: var(--brand-purple);
}
.daily-card--confidence .tag-plain {
  color: var(--brand-purple);
}
.daily-card--friends {
  border-top-color: var(--brand-blue);
}
.daily-card--friends .tag-plain {
  color: var(--brand-blue);
}
.daily-card--travel {
  border-top-color: var(--brand-cyan);
}
.daily-card--travel .tag-plain {
  color: #17a8bd;
}
.everyone-brand-cta {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.everyone-brand-cta a {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =======================================================================
   everyone — asymmetric layout
   ======================================================================= */
.everyone-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .everyone-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}
.persona-feature {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}
.persona-feature .tag-plain {
  color: var(--brand-teal);
}
.persona-feature h3 {
  margin-top: 14px;
  font-size: clamp(22px, 2.8vw, 27px);
  max-width: 16ch;
}
.persona-feature .persona-line {
  margin-top: 16px;
  font-size: 15px;
  color: #d3d3de;
  max-width: 32ch;
}

.persona-stack {
  display: grid;
  gap: 20px;
}
.persona-mini {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-raised);
}
.persona-mini .tag-plain {
  color: var(--ink-soft);
}
.persona-mini h3 {
  margin-top: 10px;
  font-size: 18px;
}
.persona-mini .persona-line {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* =======================================================================
   real x digital — statement
   ======================================================================= */
.statement {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.5;
  max-width: 22ch;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.statement em {
  font-style: italic;
  color: var(--rose);
}

.rd-graphic {
  position: relative;
  margin-top: 56px;
  padding: 56px 0;
}
.rd-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff;
  opacity: 0.08;
  font-size: clamp(30px, 7vw, 68px);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.rd-word--real {
  text-align: left;
}
.rd-word--brand {
  text-align: right;
  margin-top: -0.3em;
}
.rd-word--center {
  position: relative;
  display: inline-block;
  margin: -1.4em auto 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 24px);
  color: var(--brand-magenta);
  background: rgba(255, 0, 222, 0.1);
  border: 1.5px solid var(--brand-magenta);
  padding: 12px 28px;
  border-radius: 999px;
  white-space: nowrap;
}

.rd-vision {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 24px);
  color: #d3d3de;
  max-width: 24ch;
}

.compare {
  margin-top: 48px;
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .compare {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}
.compare-col {
  padding: 22px;
  border: 1px solid #34343f;
  border-radius: var(--radius);
}
.compare-col .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9ab0;
}
.compare-col p {
  margin-top: 10px;
  font-size: 15px;
  color: #d3d3de;
}
.compare-arrow {
  font-family: var(--font-mono);
  text-align: center;
  color: var(--rose);
  font-size: 13px;
}

/* =======================================================================
   status badge
   ======================================================================= */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
.status-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo);
  position: relative;
}
.status-badge .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.4px solid var(--indigo);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.status-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .status-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.status-list li {
  padding: 16px 18px;
  border: 1px dashed var(--stone);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* =======================================================================
   contact
   ======================================================================= */
.audience-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.audience-chips span {
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--stone);
  background: var(--paper-raised);
  font: inherit;
  color: var(--ink);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  background: #eceae5;
  color: var(--ink-soft);
  cursor: not-allowed;
}

.form-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
}

.contact-direct {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-raised);
  height: fit-content;
}
.contact-direct dl {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}
.contact-direct dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.contact-direct dd {
  margin: 4px 0 0;
  font-size: 15px;
}

.is-pending {
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--stone);
  cursor: default;
}

/* =======================================================================
   intent survey
   ======================================================================= */
.wrap--narrow {
  max-width: 720px;
}

.section--survey {
  background: linear-gradient(180deg, var(--paper) 0%, #efecfb 100%);
}

.survey-card {
  margin-top: clamp(28px, 5vw, 40px);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 5vw, 40px);
  box-shadow: 0 24px 48px -32px rgba(25, 26, 46, 0.25);
}

.survey-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 560px) {
  .survey-buttons {
    flex-direction: row;
  }
}

.survey-btn {
  flex: 1 1 0;
  min-height: 58px;
  padding: 14px 20px;
  border-radius: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--line);
  background: var(--paper-raised);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.survey-btn:hover {
  transform: translateY(-1px);
}
.survey-btn--yes {
  border-color: var(--brand-indigo);
  color: var(--brand-indigo-deep);
}
.survey-btn--yes:hover {
  background: #eef0ff;
}
.survey-btn--no {
  border-color: var(--line);
  color: var(--ink-soft);
}
.survey-btn--no:hover {
  border-color: var(--stone);
  background: var(--paper);
}

.survey-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}

.survey-role-label {
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.survey-buttons--role {
  flex-direction: column;
}
@media (min-width: 560px) {
  .survey-buttons--role {
    flex-direction: row;
  }
}
.survey-buttons--role .survey-btn {
  font-size: 14.5px;
}

.survey-role-chip {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-indigo-deep);
  background: #eef0ff;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 auto 18px;
}
.survey-question {
  text-align: center;
}
.survey-question .survey-role-chip {
  display: table;
}

.survey-thanks {
  text-align: center;
}
.survey-thanks-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}
.survey-thanks p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.survey-followup {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.survey-followup > p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.interest-grid {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.interest-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.interest-chip:has(input:checked) {
  border-color: var(--brand-indigo);
  background: #eef0ff;
  color: var(--brand-indigo-deep);
  font-weight: 700;
}
.interest-chip input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand-indigo);
}

.survey-followup-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.release-optin {
  margin-top: 8px;
  text-align: left;
}
.release-optin p {
  font-size: 14px;
  color: var(--ink-soft);
}
.release-optin.is-hidden {
  display: none;
}

/* =======================================================================
   real x digital — br-desktop utility
   ======================================================================= */
.br-desktop {
  display: none;
}
@media (min-width: 560px) {
  .br-desktop {
    display: inline;
  }
}

/* =======================================================================
   company page
   ======================================================================= */
.relation {
  display: flex;
  align-items: center;
  gap: clamp(14px, 4vw, 34px);
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.relation-card {
  flex: 1 1 220px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-raised);
}
.relation-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
}
.relation-card h3 {
  margin-top: 10px;
  font-size: 22px;
}
.relation-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.relation-card--rapico {
  border-color: #f0d8c4;
  border-top: 3px solid var(--rapico-orange);
}
.relation-card--rapico .tag {
  color: var(--rapico-orange);
}
.rapico-logo-mark {
  height: 26px;
  width: auto;
  margin-top: 10px;
  display: block;
}
.relation-arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  flex: 0 0 auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.info-table tr {
  border-bottom: 1px solid var(--line);
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 12px;
  font-size: 15px;
  vertical-align: top;
}
.info-table th {
  width: 34%;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* =======================================================================
   footer
   ======================================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 36px;
  background: var(--paper);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 32px;
}
.footer-brand .brand {
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 30ch;
}
.footer-links {
  display: flex;
  gap: clamp(28px, 6vw, 64px);
  flex-wrap: wrap;
}
.footer-links h4 {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.footer-links ul {
  display: grid;
  gap: 10px;
}
.footer-links a {
  text-decoration: none;
  font-size: 14.5px;
}
.footer-links a:hover {
  color: var(--indigo);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}

/* utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =======================================================================
   audience banner — 非強制の軽い導線案内（閉じるだけでもよい）
   ======================================================================= */
.audience-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.audience-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.audience-banner-inner {
  position: relative;
  max-width: 620px;
  width: 100%;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 44px 18px 20px;
  box-shadow: 0 24px 48px -24px rgba(10, 11, 20, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.audience-banner-text {
  font-weight: 700;
  font-size: 14.5px;
  flex: 1 1 auto;
  white-space: nowrap;
}
.audience-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 auto;
}
.audience-banner-btn {
  padding: 9px 16px;
  font-size: 13.5px;
}
.audience-banner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.audience-banner-close:hover {
  color: var(--ink);
}
@media (max-width: 640px) {
  .audience-banner-text {
    white-space: normal;
    width: 100%;
  }
}

/* =======================================================================
   brands.html — market / data / co-creation components
   ======================================================================= */
.is-brands-page .hero-copy h1 {
  font-size: clamp(30px, 4.6vw, 48px);
}

.hero-visual--brand {
  background: var(--brand-ink);
}

.market-notes {
  display: grid;
  gap: 18px;
}
.market-note {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-raised);
}
.market-note-tag {
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-blue);
}
.market-note p:last-child {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.market-stat-note {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px dashed var(--stone);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.data-potential-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 700px) {
  .data-potential-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.data-potential-list li {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  font-size: 14px;
  color: var(--ink-soft);
}

.data-chart-mock {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-raised);
}
.data-chart-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.data-chart-bars {
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
}
.data-chart-bars span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: var(--brand-gradient);
  opacity: 0.85;
}

.cocreation-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cocreation-tags span {
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* =======================================================================
   legal documents (privacy / terms / tokushoho)
   ======================================================================= */
.legal-doc {
  max-width: 680px;
}
.section--legal {
  padding-top: clamp(28px, 4vw, 48px);
}
.legal-meta {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.legal-summary {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 8px 0 40px;
}
.legal-summary p.tag-plain {
  margin-bottom: 10px;
}
.legal-doc .legal-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-summary li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.8;
}
.legal-summary li + li {
  margin-top: 8px;
}
.legal-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gradient);
}
.legal-doc .legal-toc {
  columns: 2;
  column-gap: 32px;
  margin: 0 0 56px;
  padding: 20px 24px;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 560px) {
  .legal-toc {
    columns: 1;
  }
}
.legal-doc .legal-toc li {
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
  break-inside: avoid;
}
.legal-toc a {
  color: var(--ink-soft);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.legal-doc h2 {
  font-size: 21px;
  margin: 64px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.legal-doc h3 {
  font-size: 15.5px;
  margin: 26px 0 10px;
  color: var(--ink-soft);
}
.legal-doc p,
.legal-doc li {
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink);
}
.legal-doc p + p {
  margin-top: 14px;
}
.legal-doc ol,
.legal-doc ul {
  margin: 10px 0 18px;
  padding-left: 1.6em;
}
.legal-doc ul {
  list-style: disc;
}
.legal-doc ol {
  list-style: decimal;
}
.legal-doc li + li {
  margin-top: 8px;
}
.legal-doc li::marker {
  color: var(--ink-soft);
}
.legal-doc .info-table {
  margin: 18px 0 10px;
}
.legal-doc .info-table th,
.legal-doc .info-table td {
  padding: 16px 12px;
  font-size: 14.5px;
  line-height: 1.8;
}
.legal-doc .info-table th {
  width: 32%;
}
.legal-doc .info-table td strong {
  color: var(--ink-soft);
  font-weight: 600;
}
.legal-note {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  border-left: 3px solid var(--line);
  padding-left: 14px;
  margin: 16px 0 24px;
}
