/* ===== Tokens ===== */
:root {
  --orange: #E5635E;          /* マット・コーラルレッド */
  --orange-bright: #F08680;
  --orange-deep: #C44A48;
  --orange-soft: rgba(229, 99, 94, 0.13);

  /* DARK (default) */
  --bg: #0A0A0B;
  --bg-elev: #131316;
  --bg-card: #16161A;
  --bg-grid: rgba(255,255,255,0.04);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --fg: #F5F5F4;
  --fg-mute: #A8A8A6;
  --fg-dim: #6B6B68;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --maxw: 1320px;
}

[data-theme="light"] {
  --bg: #F7F5F0;
  --bg-elev: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-grid: rgba(0,0,0,0.04);
  --line: rgba(0,0,0,0.10);
  --line-strong: rgba(0,0,0,0.20);
  --fg: #0E0E10;
  --fg-mute: #50504D;
  --fg-dim: #8B8B87;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Inter", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ===== Utilities ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.mono { font-family: "JetBrains Mono", monospace; font-feature-settings: normal; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px; background: var(--orange);
}

/* ===== Background grid ===== */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 90%);
}

/* ===== Ticker ===== */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  position: sticky; top: 0; z-index: 50;
  height: 46px;
  display: flex; align-items: center;
}
.tv-ticker { padding: 0; }
.tv-ticker .tradingview-widget-container { width: 100%; }
.ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg-mute);
}
.ticker-item { display: inline-flex; gap: 10px; align-items: center; }
.ticker-item .sym { color: var(--fg); font-weight: 600; }
.ticker-item .up { color: var(--orange); }
.ticker-item .dn { color: #6B6B68; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 46px; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
}
.nav-brand .logo {
  width: 36px; height: 36px; border-radius: 6px;
  background-image: url("assets/kabulabo-logo.png");
  background-size: cover;
}
.nav-brand-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; color: var(--fg-mute); letter-spacing: 0.1em;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 13px; color: var(--fg-mute); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  padding: 10px 18px; border: 1px solid var(--orange);
  background: var(--orange); color: #0A0A0B;
  font-size: 13px; font-weight: 700;
  border-radius: 4px;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--orange-bright);
  border-color: var(--orange-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 24px -2px rgba(229, 99, 94, 0.7), 0 0 0 1px rgba(229, 99, 94, 0.4);
}
@media (max-width: 900px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 100px 0 120px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-meta {
  display: flex; gap: 20px; align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--fg-mute);
  margin-bottom: 28px;
}
.hero-meta .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .hl {
  position: relative;
  display: inline-block;
  background: linear-gradient(transparent 60%, var(--orange-soft) 60%);
  padding: 0 0.08em;
}
.hero h1 .small {
  display: block;
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg-mute);
  margin-top: 28px;
  line-height: 1.7;
}
.hero-lead {
  font-size: 16px; color: var(--fg-mute);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary, .btn-secondary, .btn-outline {
  padding: 16px 28px; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 4px; transition: all 0.2s;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

/* Primary: 最初から赤塗り → hover時グロー */
.btn-primary {
  background: var(--orange);
  color: #0A0A0B;
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-bright);
  border-color: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 36px -2px rgba(229, 99, 94, 0.7), 0 0 0 1px rgba(229, 99, 94, 0.4);
}

/* Outline / Secondary: 赤枠+赤テキスト → hover時 赤塗りに反転 */
.btn-outline, .btn-secondary {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover, .btn-secondary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #0A0A0B;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px var(--orange);
}

.btn-arrow { transition: transform 0.2s; display: inline-block; }
.btn-primary:hover .btn-arrow,
.btn-outline:hover .btn-arrow,
.btn-secondary:hover .btn-arrow { transform: translateX(3px); }

/* ===== Hero Visual: Options Payoff Diagram ===== */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
@media (max-width: 960px) { .hero-visual { justify-self: center; max-width: 420px; } }

.hv-frame {
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.hv-glow {
  position: absolute;
  width: 70%; height: 70%;
  right: -10%; bottom: -10%;
  background: radial-gradient(circle, var(--orange-soft), transparent 70%);
  pointer-events: none;
}
.hv-tick {
  position: absolute; width: 10px; height: 10px;
  border: 1px solid var(--orange);
  z-index: 3;
}
.hv-tick.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hv-tick.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.hv-tick.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.hv-tick.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hv-title, .hv-foot {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--fg-mute);
  z-index: 2;
}
.hv-title { top: 0; border-bottom: 1px solid var(--line); }
.hv-foot { bottom: 0; border-top: 1px solid var(--line); }
.hv-title .hv-mono, .hv-foot .hv-mono { color: var(--orange); }
.hv-spacer { flex: 1; }
.hv-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

.hv-svg {
  position: absolute;
  top: 38px; bottom: 38px; left: 38px; right: 38px;
  width: calc(100% - 76px);
  height: calc(100% - 76px);
}

.hv-payoff {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 1.8s ease-out 0.6s forwards;
  filter: drop-shadow(0 0 6px var(--orange-soft));
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.hv-fill-profit {
  opacity: 0;
  animation: fadeIn 1s ease 1.8s forwards;
}
.hv-fill-loss {
  opacity: 0;
  animation: fadeIn 0.8s ease 2.2s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.hv-pt {
  opacity: 0;
  animation: ptIn 0.4s ease forwards;
}
.hv-pt-strike { animation-delay: 2.2s; }
.hv-pt-be { animation-delay: 2.4s; }
@keyframes ptIn { to { opacity: 1; } }

.hv-anno {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  display: flex; flex-direction: column;
  z-index: 4;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  pointer-events: none;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.hv-anno-l {
  font-size: 9px; letter-spacing: 0.15em;
  color: var(--fg-mute);
  margin-bottom: 3px;
}
.hv-anno-v {
  font-size: 13px; font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.hv-anno-strike  { left: 42%; bottom: 42%; animation-delay: 2.4s; }
.hv-anno-strike .hv-anno-v { color: var(--orange); }
.hv-anno-be      { right: 26%; bottom: 32%; animation-delay: 2.6s; text-align: right; }
.hv-anno-profit  { right: 14%; top: 22%; text-align: right; animation-delay: 2.8s; }
.hv-anno-profit .hv-anno-v { color: var(--orange); }
.hv-anno-loss    { left: 14%; bottom: 18%; animation-delay: 3.0s; }

.hv-scale {
  position: absolute;
  left: 8px; top: 38px; bottom: 38px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px; color: var(--fg-dim);
  letter-spacing: 0.1em;
  z-index: 3;
}

@media (max-width: 480px) {
  .hv-anno-l { font-size: 8px; }
  .hv-anno-v { font-size: 11px; }
}

/* ===== Section base ===== */
section { position: relative; z-index: 1; }
.sec {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .sec { padding: 80px 0; } }
.sec-head {
  display: grid; grid-template-columns: 220px 1fr; gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; } }
.sec-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--fg-mute); letter-spacing: 0.15em;
}
.sec-title {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.sec-title .accent { color: var(--orange); }
.sec-desc {
  font-size: 15px; color: var(--fg-mute);
  margin-top: 16px;
  max-width: 640px;
}

/* ===== Stats ===== */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
@media (max-width: 800px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 32px 22px;
  border-right: 1px solid var(--line);
  position: relative;
  min-width: 0;
}
.stat:last-child { border-right: 0; }
@media (max-width: 800px) {
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.stat-label {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 14px; color: var(--fg-mute); letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: none;
  margin-bottom: 14px;
}
.stat-value {
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  white-space: nowrap;
}
.stat-value-sm {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.stat-value .unit { font-size: 0.45em; color: var(--orange); margin-left: 4px; font-weight: 700; }
.stat-sub { font-size: 13px; color: var(--fg-dim); margin-top: 10px; }

/* ===== Profile ===== */
.profile {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; gap: 40px; } }
.profile-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 32px;
  position: relative;
}
.profile-mark {
  width: 72px; height: 72px;
  background: url("assets/kabulabo-logo.png") center/cover;
  border-radius: 8px;
  margin-bottom: 24px;
}
.profile-name {
  font-size: 36px; font-weight: 900; letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.profile-name-en {
  font-family: "Inter", sans-serif;
  font-size: 13px; color: var(--fg-mute); letter-spacing: 0.1em;
  margin-bottom: 24px;
}

/* NFT Avatar in About */
.profile-name-row {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 24px;
}
.profile-name-row .profile-name { margin-bottom: 4px; }
.profile-name-row .profile-name-en { margin-bottom: 0; }
.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
  background: var(--bg-elev);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-name-handle {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.7em;
  margin-left: 4px;
  letter-spacing: 0.01em;
}

/* Section title with NFT avatar */
.sec-title-avatar {
  display: inline-block;
  width: 0.95em; height: 0.95em;
  border-radius: 50%;
  overflow: hidden;
  vertical-align: -0.15em;
  margin-right: 0.3em;
  border: 2px solid var(--line-strong);
  background: var(--bg-elev);
}
.sec-title-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-title-handle {
  color: var(--orange);
  font-size: 0.55em;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-left: 0.15em;
  vertical-align: 0.1em;
}
.profile-roles {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  color: var(--fg-mute);
  letter-spacing: 0.05em;
}
.tag.tag-orange { border-color: var(--orange); color: var(--orange); }
.profile-text { color: var(--fg-mute); font-size: 15px; line-height: 1.9; }
.profile-text p + p { margin-top: 16px; }
.profile-text strong { color: var(--fg); font-weight: 700; }

.profile-tl { border-left: 1px solid var(--line); padding-left: 32px; }
@media (max-width: 900px) { .profile-tl { padding-left: 20px; } }
.tl-row {
  display: grid; grid-template-columns: 100px 1fr; gap: 24px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.tl-row:last-child { border-bottom: 0; }
.tl-when { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--orange); }
.tl-what { font-size: 14px; color: var(--fg); }
.tl-what small { display: block; color: var(--fg-mute); font-size: 12px; margin-top: 4px; }

/* ===== Services ===== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
}
.svc:hover { background: var(--bg-elev); }
.svc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--orange); letter-spacing: 0.15em;
}
.svc-title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.svc-desc { font-size: 13px; color: var(--fg-mute); line-height: 1.8; flex: 1; }
.svc-meta { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--fg-dim); }

/* ===== Salon (CTA-heavy) ===== */
.salon {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--orange);
  background:
    radial-gradient(ellipse at top right, var(--orange-soft), transparent 60%),
    var(--bg-card);
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .salon { grid-template-columns: 1fr; } }
.salon-left { padding: 48px; border-right: 1px solid var(--line); }
@media (max-width: 900px) { .salon-left { border-right: 0; border-bottom: 1px solid var(--line); padding: 36px; } }
.salon-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.15em;
  background: var(--orange); color: #0A0A0B;
  padding: 5px 10px;
  margin-bottom: 24px;
  font-weight: 700;
}
.salon h3 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.salon h3 .accent { color: var(--orange); }
.salon-lead { color: var(--fg-mute); font-size: 15px; line-height: 1.9; margin-bottom: 32px; }
.salon-feat {
  display: grid; gap: 14px;
  margin-bottom: 32px;
}
.salon-feat-item {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 14px;
}
.salon-feat-item::before {
  content: "→"; color: var(--orange); font-weight: 700;
  margin-top: 2px;
}
.salon-right {
  padding: 0;
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  position: relative;
  overflow: hidden;
  gap: 32px;
}
.salon-right > div:not(.salon-cover) { padding: 0 40px; }
.salon-right > div:last-child { padding-bottom: 36px; }
.salon-cover {
  position: relative;
  overflow: hidden;
  background: #0a1530;
  /* 画像のアスペクト比 1000:540 を保持 */
}
.salon-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.salon-cover-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, transparent 70%, var(--bg-elev) 100%);
}
@media (max-width: 900px) {
  .salon-right > div:not(.salon-cover) { padding: 0 28px; }
  .salon-right > div:last-child { padding-bottom: 28px; }
}
.salon-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.salon-stat-v {
  font-family: "Inter"; font-size: 44px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--orange); line-height: 1;
}
.salon-stat-l { font-size: 12px; color: var(--fg-mute); margin-top: 8px; }

/* ===== Salon Detail Sections ===== */
.salon-detail {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.salon-detail-head { max-width: 720px; margin-bottom: 40px; }
.salon-detail-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.3; letter-spacing: -0.02em;
  margin-top: 14px;
  margin-bottom: 14px;
}
.salon-detail-title .accent { color: var(--orange); }
.salon-detail-lead { color: var(--fg-mute); font-size: 15px; line-height: 1.9; }

/* 4つのラボ */
.labs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1000px) { .labs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .labs-grid { grid-template-columns: 1fr; } }
.lab-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: all 0.2s;
  min-height: 200px;
}
.lab-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.lab-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--fg-dim);
  letter-spacing: 0.15em;
  position: absolute; top: 24px; right: 24px;
}
.lab-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; color: var(--orange);
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border: 1px solid var(--orange);
  align-self: flex-start;
}
.lab-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.lab-desc {
  color: var(--fg-mute);
  font-size: 13px;
  line-height: 1.8;
}

/* 5つのコンテンツ */
.features-list {
  display: grid; gap: 0;
}
.feature-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.feature-row:first-child { border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .feature-row { grid-template-columns: 60px 1fr; gap: 20px; padding: 22px 0; }
}
.feature-num {
  font-family: "Inter";
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--orange);
  letter-spacing: -0.04em;
}
.feature-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-desc {
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.9;
}

/* こんな方におすすめ + 方針 */
.salon-bottom {
  margin-top: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
@media (max-width: 800px) {
  .salon-bottom { grid-template-columns: 1fr; }
}
.salon-audience, .salon-policy {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.audience-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.audience-list li {
  font-size: 14px;
  line-height: 1.7;
  padding-left: 26px;
  position: relative;
}
.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
  font-size: 16px;
  top: 0;
}
.salon-policy p {
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.9;
}

/* ===== Book ===== */
.book {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .book { grid-template-columns: 1fr; gap: 40px; } }
.book-cover-wrap {
  position: relative;
  perspective: 1200px;
}
.book-cover {
  position: relative;
  transform: rotateY(-12deg) rotateX(2deg);
  box-shadow:
    -20px 30px 60px -20px rgba(0,0,0,0.6),
    -2px 0 0 0 rgba(0,0,0,0.4);
  transition: transform 0.5s ease;
  border: 1px solid var(--line);
}
.book-cover:hover { transform: rotateY(-4deg) rotateX(0deg); }
.book-cover img { width: 100%; height: auto; }
.book-info-tag {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 20px;
}
.book-info-tag .badge {
  background: var(--orange); color: #0A0A0B;
  padding: 3px 8px; font-weight: 700;
}
.book-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.book-sub { font-size: 16px; color: var(--fg-mute); margin-bottom: 28px; }
.book-points { display: grid; gap: 14px; margin-bottom: 32px; }
.book-point {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px;
  font-size: 14px; color: var(--fg-mute);
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.book-point:last-child { border-bottom: 1px solid var(--line); }
.book-point-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--orange); letter-spacing: 0.1em;
}
.book-point strong { color: var(--fg); font-weight: 700; }
.book-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--fg-mute);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.book-meta div span { color: var(--fg); display: block; font-size: 14px; margin-top: 4px; font-family: "Noto Sans JP"; }

/* E-book card */
.ebook-card {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  border: 1px solid var(--line);
  padding: 32px;
  margin-top: 48px;
  background: var(--bg-elev);
}
@media (max-width: 700px) { .ebook-card { grid-template-columns: 1fr; gap: 20px; } }
.ebook-card h4 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.ebook-card p { color: var(--fg-mute); font-size: 13px; }

/* ===== Book Gift (みんラボ無料プレゼント) ===== */
.book-gift {
  margin-top: 64px;
  border: 1px solid var(--orange);
  background: linear-gradient(180deg, color-mix(in oklch, var(--orange) 8%, transparent) 0%, transparent 100%);
  display: grid; grid-template-columns: 360px 1fr;
  gap: 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) { .book-gift { grid-template-columns: 1fr; } }
.book-gift::before {
  content: "GIFT";
  position: absolute;
  top: 12px; right: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.2em;
}
.book-gift-badge {
  background: var(--orange);
  color: #0a0a0a;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.book-gift-badge-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
}
.book-gift-badge-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.book-gift-badge-title .accent {
  display: inline-block;
  border-bottom: 3px solid #0a0a0a;
  padding-bottom: 2px;
  color: #0a0a0a;
}
.book-gift-body {
  padding: 36px 36px;
  display: flex; flex-direction: column; gap: 20px; justify-content: center;
}
.book-gift-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-mute);
}
.book-gift-body p strong { color: var(--fg); font-weight: 700; }
.book-gift-body .btn-primary { align-self: flex-start; }

/* ===== E-Books Grid ===== */
.ebooks-lead {
  color: var(--fg-mute);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 640px;
}
.ebooks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1000px) { .ebooks-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .ebooks-grid { grid-template-columns: 1fr; } }
.ebook-card2 {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--fg);
  transition: all 0.25s ease;
  overflow: hidden;
}
.ebook-card2:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.ebook-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  overflow: hidden;
}
.ebook-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ebook-card2:hover .ebook-cover img { transform: scale(1.04); }
.ebook-cover-num {
  position: absolute;
  top: 12px; left: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  letter-spacing: 0.15em;
  backdrop-filter: blur(4px);
}
.ebook-cover-note {
  position: absolute;
  bottom: 8px; right: 10px;
  font-size: 10px;
  color: #fff;
  background: rgba(0,0,0,0.7);
  padding: 4px 8px;
  letter-spacing: 0.05em;
}
.ebook-body {
  padding: 24px 24px 28px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.ebook-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.2em;
  font-weight: 600;
}
.ebook-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-top: 4px;
}
.ebook-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.6;
}
.ebook-desc {
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.8;
  margin-top: 4px;
}
.ebook-link {
  margin-top: auto;
  padding-top: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.1em;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.ebook-card2:hover .ebook-link { gap: 12px; }

/* ===== TradingView Indicators ===== */
.tv-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  margin-bottom: 48px;
}
@media (max-width: 700px) { .tv-intro { grid-template-columns: 1fr; gap: 16px; padding: 24px; } }
.tv-intro-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 10px 14px;
  white-space: nowrap;
  align-self: start;
}
.tv-intro p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-mute);
}
.tv-intro p strong { color: var(--fg); font-weight: 700; }
.tv-intro-gift {
  display: inline-block;
  margin-top: 8px;
  color: var(--orange);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* TradingView card uses same .ebook-card2 styles, with chart-specific cover */
.tv-cover { aspect-ratio: 16 / 9; background: #0a0a0a; }
.tv-cover img { object-fit: cover; }
.tv-gift-tag {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* TradingView CTA */
.tv-cta {
  margin-top: 48px;
  padding: 36px 40px;
  border: 1px solid var(--orange);
  background: linear-gradient(90deg, color-mix(in oklch, var(--orange) 8%, transparent) 0%, transparent 60%);
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
}
@media (max-width: 800px) { .tv-cta { grid-template-columns: 1fr; padding: 28px; } }
.tv-cta-left h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-top: 8px;
  margin-bottom: 8px;
}
.tv-cta-left h3 .accent { color: var(--orange); }
.tv-cta-left p {
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.8;
}

/* ===== YouTube ===== */
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .yt-grid { grid-template-columns: 1fr; } }
.yt {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: all 0.2s;
}
.yt:hover { border-color: var(--orange); transform: translateY(-2px); }
.yt-head { display: flex; align-items: center; gap: 16px; }
.yt-icon {
  width: 56px; height: 56px;
  background: center/cover no-repeat;
  border-radius: 8px;
}
.yt-icon-oplabo { background-image: url("assets/oplabo-icon.png"); }
.yt-icon-kabulabo { background-image: url("assets/kabulabo-logo.png"); }
.yt-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.yt-handle { font-family: "JetBrains Mono"; font-size: 12px; color: var(--fg-mute); }
.yt-tag {
  display: inline-block;
  font-family: "JetBrains Mono"; font-size: 10px;
  padding: 3px 8px; border: 1px solid var(--orange); color: var(--orange);
  margin-left: 8px; letter-spacing: 0.05em;
}
.yt-desc { color: var(--fg-mute); font-size: 14px; line-height: 1.8; flex: 1; }
.yt-btn {
  align-self: flex-start;
  margin-top: 4px;
}
/* カード全体ホバーでも内部のbtn-outlineが反転するように */
.yt:hover .yt-btn {
  background: var(--orange);
  color: #0A0A0B;
}
.yt:hover .yt-btn .btn-arrow { transform: translateX(3px); }

/* ===== Note / TradingView combined cards ===== */
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .dual-grid { grid-template-columns: 1fr; } }
.note-card, .tv-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  overflow: hidden;
}
.note-card::after, .tv-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--orange-soft), transparent 70%);
}
.kicker {
  font-family: "JetBrains Mono"; font-size: 11px;
  color: var(--orange); letter-spacing: 0.15em;
}
.note-card h4, .tv-card h4 {
  font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
.note-card p, .tv-card p { color: var(--fg-mute); font-size: 14px; position: relative; z-index: 1; }
.note-bestseller {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--orange); padding: 6px 12px;
  font-family: "JetBrains Mono"; font-size: 11px;
  color: var(--orange); letter-spacing: 0.1em;
  align-self: flex-start;
  background: var(--bg);
  position: relative; z-index: 1;
}
.tv-features { display: grid; gap: 8px; font-size: 13px; color: var(--fg-mute); }
.tv-features div::before { content: "▸ "; color: var(--orange); }

/* ===== Contact ===== */
.contact {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.contact-lead {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact-lead .accent { color: var(--orange); }
.contact-text { color: var(--fg-mute); font-size: 15px; line-height: 1.9; margin-bottom: 32px; }
.contact-types {
  display: grid; gap: 12px;
}
.contact-type {
  display: grid; grid-template-columns: 16px 1fr; gap: 14px;
  font-size: 14px;
}
.contact-type::before {
  content: "■"; color: var(--orange); font-size: 10px; line-height: 22px;
}
.contact-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 36px;
}
.contact-card .label {
  font-family: "JetBrains Mono"; font-size: 11px; color: var(--fg-mute);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.contact-card .val {
  font-size: 18px; font-weight: 700; margin-bottom: 24px;
  word-break: break-all;
}
.contact-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* ===== Contact Form ===== */
.contact-form {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 600px) { .contact-form { padding: 24px; } }
.cf-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.cf-id {
  font-size: 10px;
  color: var(--fg-dim);
  letter-spacing: 0.12em;
}
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-field label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.cf-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 2px 6px;
  letter-spacing: 0.1em;
}
.cf-req { color: var(--orange); font-weight: 700; }
.cf-field input,
.cf-field textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 4px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--fg-dim);
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--bg-elev);
}
.cf-field textarea { resize: vertical; min-height: 120px; }

.cf-submit {
  align-self: flex-start;
  margin-top: 8px;
  padding: 16px 32px;
  font-size: 14px;
  cursor: pointer;
  border: 0;
}
.cf-submit:disabled { opacity: 0.5; cursor: wait; }
.cf-sent {
  font-size: 12px;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 12px 14px;
  border-left: 2px solid var(--orange);
  line-height: 1.6;
}
.cf-note {
  font-size: 11px;
  color: var(--fg-dim);
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: 4px;
}

/* ===== Company strip ===== */
.company-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr 1fr;
  gap: 32px;
  margin-top: 60px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
@media (max-width: 900px) {
  .company-strip { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.company-strip .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.company-strip .val {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
}
.company-strip .val-sm {
  font-size: 14px; font-weight: 500;
  color: var(--fg);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-elev);
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .logo { width: 40px; height: 40px; border-radius: 6px; background: url("assets/kabulabo-logo.png") center/cover; flex-shrink: 0; }
.footer-brand h5 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.footer-brand p { font-size: 12px; color: var(--fg-mute); }
.footer-col h6 {
  font-family: "JetBrains Mono"; font-size: 11px; color: var(--orange);
  letter-spacing: 0.15em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--fg-mute); transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bot {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: "JetBrains Mono"; font-size: 11px; color: var(--fg-dim);
}

/* ===== Section reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1; transform: none;
}

/* Smooth theme transitions */
.nav, .ticker, .hero, .stat, .svc, .yt, .note-card, .tv-card, .salon, .salon-right, .ebook-card, .contact-card, .footer, .profile-card, .hv-frame {
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
