/* ============================================
   Deep Beautic Ver.2 — Complete Style Sheet
   AI BEAUTY NAVIGATION
   漆黒 #000000 + ルミナスミント #98FFD9
   ============================================ */

:root {
  --black: #000000;
  --black-soft: #060606;
  --black-card: #0A0A0A;
  --black-elevated: #111111;
  --mint: #98FFD9;
  --mint-dim: #60D4A8;
  --mint-glow: rgba(152,255,217,0.15);
  --mint-subtle: rgba(152,255,217,0.06);
  --text-white: #FFFFFF;
  --text-light: #F5F5F5;
  --text-muted: #D5D5D5;
  --text-dim: #B0B0B0;
  --neon-red: #ff3070;
  --neon-cyan: #00c8ff;
  --neon-gold: #D4B87A;
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-serif-jp: 'Noto Serif JP', serif;
  --ff-body: 'Noto Sans JP', sans-serif;
  --ff-mono: 'Source Code Pro', 'Menlo', monospace;
  --ff-tech: 'Orbitron', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black); color: var(--text-light);
  font-family: var(--ff-body); font-weight: 300;
  line-height: 1.8; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-decoration: none; transition: color 0.3s, opacity 0.3s; }
a:hover { color: var(--text-white); }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scanLine { 0% { transform: translateY(100%); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100%); opacity: 0; } }
@keyframes scanPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes mintGlow { 0%, 100% { box-shadow: 0 0 20px rgba(152,255,217,0.1); } 50% { box-shadow: 0 0 40px rgba(152,255,217,0.25); } }
@keyframes scrollLine { 0%, 100% { transform: scaleY(0.6); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 0.8; } }
@keyframes glitchFlicker { 0%, 100% { opacity: 1; } 7% { opacity: 0.8; transform: translateX(-2px); } 10% { opacity: 1; transform: translateX(0); } 27% { opacity: 0.6; transform: translateX(3px) skewX(-2deg); } 30% { opacity: 1; transform: translateX(0) skewX(0); } }
@keyframes feedIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 210; background: rgba(0,0,0,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(152,255,217,0.08); transition: background 0.4s; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo-text { font-family: var(--ff-display); font-size: 16px; font-weight: 500; color: var(--mint); letter-spacing: 0.15em; }
.nav-logo-sub { font-family: var(--ff-mono); font-size: 8px; color: var(--text-dim); letter-spacing: 0.2em; display: block; margin-top: -2px; }
.hamburger { display: flex; flex-direction: column; gap: 6px; background: none; border: 1px solid rgba(152,255,217,0.2); border-radius: 4px; cursor: pointer; padding: 8px 7px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--mint); transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* スマホナビ — ドロップダウン方式（シミュレーションと統一） */
.nav-menu { display: none; position: fixed; top: 56px; left: 0; width: 100%; background: rgba(0,0,0,0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); flex-direction: column; align-items: center; padding: 28px 24px; gap: 24px; z-index: 200; border-bottom: 1px solid rgba(152,255,217,0.1); }
.nav-menu.open { display: flex; }
.nav-menu a { font-family: var(--ff-display); font-size: 15px; letter-spacing: 0.2em; color: var(--text-light); transition: color 0.3s; }
.nav-menu a:hover { color: var(--mint); }
.nav-menu .nav-cta { background: rgba(152,255,217,0.08); padding: 10px 24px; border-radius: 4px; border: 1px solid rgba(152,255,217,0.25); color: var(--mint); }
.nav-cta { display: inline-block; padding: 10px 28px; border: 1px solid var(--mint-dim); border-radius: 2px; font-family: var(--ff-body); font-size: 12px; letter-spacing: 0.15em; color: var(--mint); transition: all 0.3s; }
.nav-cta:hover { background: var(--mint); color: var(--black); }
@media (min-width: 769px) { .hamburger { display: none; } .nav-menu { position: static; display: flex; flex-direction: row; gap: 28px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; border-bottom: none; } .nav-menu a { font-size: 12px; } }

/* ===== COMMON ===== */
section { padding: 40px 20px; }
@media (min-width: 769px) { section { padding: 60px 40px; } }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-label-mint { font-family: var(--ff-tech); font-size: 11px; letter-spacing: 0.3em; color: var(--mint); text-transform: uppercase; text-align: center; margin-bottom: 12px; }
.section-divider-mint { width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--mint-dim), transparent); margin: 0 auto 40px; }

/* ===== MV ===== */
.s-mv { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; background: var(--black); }
.mv-bg { position: absolute; inset: 0; background: url('../images/DeepTopC1.jpg') center/cover no-repeat; opacity: 0.25; }
.mv-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%); }
.mv-scanline { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--mint) 50%, transparent 100%); opacity: 0.7; animation: scanLine 4s linear infinite; z-index: 3; box-shadow: 0 0 20px var(--mint), 0 0 60px rgba(152,255,217,0.3); }
.mv-grid-overlay { position: absolute; inset: 0; z-index: 2; background-image: linear-gradient(rgba(152,255,217,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(152,255,217,0.03) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.mv-content { position: relative; z-index: 4; padding: 32px 24px 24px; max-width: 640px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.mv-content-below { }
.mv-scan-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border: 1px solid rgba(152,255,217,0.2); border-radius: 20px; background: rgba(152,255,217,0.05); margin-bottom: 28px; opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards; }
.mv-scan-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: scanPulse 1.5s ease-in-out infinite; }
.mv-scan-text { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.15em; color: var(--mint); }
.mv-catch { font-family: var(--ff-serif-jp); font-size: clamp(24px, 6vw, 42px); font-weight: 500; color: var(--text-white); line-height: 1.7; margin-bottom: 24px; opacity: 0; animation: fadeUp 1s ease 1s forwards; }
.mv-catch em { font-style: normal; color: var(--mint); text-shadow: 0 0 30px rgba(152,255,217,0.3); }
.mv-sub { font-size: clamp(13px, 2.8vw, 16px); color: var(--text-light); line-height: 2; margin-bottom: 20px; opacity: 0; animation: fadeUp 1s ease 1.3s forwards; }
.mv-sub strong { color: var(--mint); font-weight: 500; }
.mv-cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; border: 1px solid var(--mint); border-radius: 4px; font-family: var(--ff-body); font-size: 14px; font-weight: 500; letter-spacing: 0.05em; color: var(--mint); background: rgba(152,255,217,0.05); transition: all 0.4s; opacity: 0; animation: fadeUp 1s ease 1.2s forwards; }
.mv-cta:hover { background: var(--mint); color: var(--black); box-shadow: 0 0 30px rgba(152,255,217,0.3); }
.mv-cta-icon { font-size: 12px; }
.mv-scan-feed { position: absolute; bottom: 80px; right: 24px; z-index: 4; max-width: 360px; }
.mv-feed-line { font-family: var(--ff-mono); font-size: 10px; color: var(--mint-dim); letter-spacing: 0.05em; line-height: 1.8; opacity: 0; padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-feed-line.active { animation: feedIn 0.5s ease forwards; }
@media (max-width: 768px) { .mv-scan-feed { position: relative; bottom: auto; right: auto; max-width: 100%; margin-top: 32px; padding: 0 24px; } }
/* MV Banner */
.mv-banner {
  position: relative; z-index: 4;
  opacity: 0; animation: fadeUp 1s ease 0.5s forwards;
  overflow: hidden;
}
.mv-banner-top { margin-top: 56px; }
.mv-banner img {
  width: 100%; height: auto; display: block;
  opacity: 0.9;
}
.mv-banner-text {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 45%;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-left: 5%;
}
.mv-bn-lead {
  font-family: var(--ff-serif-jp);
  font-size: clamp(14px, 2.5vw, 22px);
  font-weight: 400; color: var(--text-white);
  letter-spacing: 0.15em; line-height: 1.6;
}
.mv-bn-sub {
  font-family: var(--ff-serif-jp);
  font-size: clamp(11px, 1.8vw, 16px);
  font-weight: 300; color: var(--text-light);
  letter-spacing: 0.08em; margin-top: 4px;
}
.mv-bn-brand {
  font-family: var(--ff-display);
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 500; color: var(--text-white);
  letter-spacing: 0.08em; margin-top: 10px;
}
.mv-bn-brand span {
  display: block;
  font-family: var(--ff-serif-jp);
  font-size: clamp(9px, 1.2vw, 13px);
  font-weight: 300; color: var(--text-muted);
  letter-spacing: 0.2em; margin-top: 2px;
}
/* SP/PC表示切替 */
.mv-pc-only { display: flex; }
.mv-sp-only { display: none; }
@media (max-width: 768px) {
  .mv-pc-only { display: none !important; }
  .mv-sp-only { display: block !important; }
}

@media (max-width: 768px) {
  .mv-banner-top { margin-top: 56px; }
  .mv-banner { position: relative; }
  .mv-banner img { 
    width: 100%; height: auto; display: block;
    opacity: 0.9;
  }
  /* SPバナー下テキスト */
  .mv-banner-text-sp {
    text-align: center;
    padding: 10px 20px 6px;
  }
  .mv-banner-text-sp .mv-bn-lead { font-size: 11px; letter-spacing: 0.15em; color: var(--text-light); }
  .mv-banner-text-sp .mv-bn-sub { font-size: 8px; color: var(--text-dim); margin-top: 2px; }
  .mv-banner-text-sp .mv-bn-brand { font-size: 16px; margin-top: 4px; color: var(--text-white); }
  .mv-banner-text-sp .mv-bn-brand span { font-size: 7px; margin-top: 0; }
  /* SPキャッチ1行化＋タイト余白 */
  .mv-content-below { padding: 12px 20px 20px; }
  .mv-catch { font-size: 16px; line-height: 1.6; }
  .mv-catch br { display: none; }
  .mv-sub { margin-top: 10px; }
  .mv-cta { margin-top: 12px; }
}
.mv-scroll { position: relative; z-index: 4; text-align: center; padding: 12px 0; left: 50%; transform: translateX(-50%); z-index: 4; text-align: center; opacity: 0; animation: fadeUp 1s ease 1.8s forwards; }
.mv-scroll span { display: block; width: 1px; height: 40px; background: linear-gradient(to bottom, var(--mint-dim), transparent); margin: 0 auto 8px; animation: scrollLine 2s ease-in-out infinite; }
.mv-scroll small { font-size: 9px; letter-spacing: 0.2em; color: var(--text-dim); }
@media (min-width: 769px) { .mv-content { padding: 40px 60px 24px; max-width: 720px; } }

/* ===== SCAN SECTION (Ver1転用・ミント化) ===== */
.s-scan { position: relative; background: #020202; padding: 40px 20px 50px; overflow: hidden; }
@media (min-width: 769px) { .s-scan { padding: 60px 40px 60px; } }
.scan-bg-grid { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(152,255,217,0.03) 1px, transparent 1px), linear-gradient(0deg, rgba(152,255,217,0.03) 1px, transparent 1px); background-size: 80px 80px; animation: scGridPulse 5s ease-in-out infinite; }
@keyframes scGridPulse { 0%,100%{opacity:.06} 50%{opacity:.12} }
.scan-inner { position: relative; z-index: 2; max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.scan-header-block { text-align: center; margin-bottom: 16px; }
.scan-main-title { font-family: var(--ff-tech); font-size: clamp(24px, 5vw, 48px); font-weight: 900; letter-spacing: 4px; background: linear-gradient(135deg, #e8eaf0 0%, var(--mint) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.scan-amp { opacity: 0.5; }
.scan-main-sub { font-size: 13px; color: var(--text-muted); margin-top: 12px; letter-spacing: 0.05em; }
.scan-stage { position: relative; width: 100%; max-width: 520px; }
.sc-phase { transition: opacity 0.4s ease; }
.sc-phase-scan { opacity: 0; }
.sc-phase-proc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; z-index: 20; }
.sc-phase-res { opacity: 0; pointer-events: none; width: 100%; max-width: 580px; margin: 0 auto; }
.sc-phase.sc-on { opacity: 1; pointer-events: auto; }
.sc-target-label { font-family: var(--ff-tech); font-size: 11px; letter-spacing: 5px; color: var(--mint); text-align: center; margin-bottom: 14px; height: 18px; opacity: 0; transition: opacity 0.3s ease; }
.sc-target-label.sc-on { opacity: 1; }
.sc-frame { position: relative; width: min(400px, 85vw); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border-radius: 6px; border: 1px solid rgba(152,255,217,0.2); box-shadow: 0 0 80px rgba(152,255,217,0.06); background: #000; }
.sc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; }
.sc-img.sc-img-on { opacity: 1; }
.sc-corner { position: absolute; width: 20px; height: 20px; z-index: 5; }
.sc-corner::before, .sc-corner::after { content: ''; position: absolute; background: var(--mint); }
.sc-tl { top:6px;left:6px; } .sc-tl::before{width:20px;height:1.5px;top:0;left:0;} .sc-tl::after{width:1.5px;height:20px;top:0;left:0;}
.sc-tr { top:6px;right:6px; } .sc-tr::before{width:20px;height:1.5px;top:0;right:0;} .sc-tr::after{width:1.5px;height:20px;top:0;right:0;}
.sc-bl { bottom:6px;left:6px; } .sc-bl::before{width:20px;height:1.5px;bottom:0;left:0;} .sc-bl::after{width:1.5px;height:20px;bottom:0;left:0;}
.sc-br { bottom:6px;right:6px; } .sc-br::before{width:20px;height:1.5px;bottom:0;right:0;} .sc-br::after{width:1.5px;height:20px;bottom:0;right:0;}
.sc-laser { position: absolute; left:0;right:0; height:2px; z-index:10; opacity:0; pointer-events:none; }
.sc-laser-core { width:100%;height:2px;background:var(--mint);box-shadow:0 0 12px var(--mint),0 0 40px rgba(152,255,217,0.4); }
.sc-laser-field { position:absolute;left:0;right:0;top:-30px;height:62px;background:linear-gradient(180deg,transparent,rgba(152,255,217,0.08),transparent); }
.sc-laser.sc-go { opacity:1; animation: scSweep 0.25s ease-in-out forwards; }
@keyframes scSweep { 0%{top:100%} 100%{top:-1%} }
.sc-dot { position:absolute; width:8px;height:8px; border:1.5px solid var(--mint); border-radius:50%; z-index:8; opacity:0; transform:scale(0); transition: all 0.3s ease; }
.sc-dot.sc-dot-on { opacity:1;transform:scale(1); animation: scDotPing 1.5s ease-in-out infinite; }
@keyframes scDotPing { 0%,100%{box-shadow:0 0 0 0 rgba(152,255,217,0.4)} 50%{box-shadow:0 0 0 6px rgba(152,255,217,0)} }
.sc-status { margin-top: 20px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 3px; color: var(--mint); text-align: center; opacity: 0; height: 20px; }
.sc-status.sc-on { opacity:1; animation: scBlink 1s ease-in-out infinite; }
@keyframes scBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.sc-dots-row { display:flex;gap:10px;margin-top:16px;justify-content:center; }
.sc-pip { width:6px;height:6px;border-radius:50%;background:#333;transition:all 0.3s; }
.sc-pip.sc-pip-done { background:var(--mint);box-shadow:0 0 8px rgba(152,255,217,0.3); }
.sc-pip.sc-pip-now { background:var(--mint); animation: scPipPulse 0.8s ease-in-out infinite; }
@keyframes scPipPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.6)} }
.sc-ring { width:140px;height:140px;border-radius:50%; border:1.5px solid rgba(152,255,217,0.2); position:relative;margin-bottom:24px; }
.sc-ring::before { content:'';position:absolute;inset:-2px;border-radius:50%;border:2px solid transparent;border-top-color:var(--mint);animation:scSpin 1s linear infinite; }
.sc-ring::after { content:'';position:absolute;inset:10px;border-radius:50%;border:1px solid transparent;border-bottom-color:var(--neon-red);animation:scSpin 0.7s linear infinite reverse; }
@keyframes scSpin { to{transform:rotate(360deg)} }
.sc-ring-pct { position:absolute;inset:0; display:flex;align-items:center;justify-content:center; font-family:var(--ff-tech);font-size:32px;font-weight:900;color:#e8eaf0; }
.sc-proc-label { font-family:var(--ff-tech);font-size:10px;letter-spacing:5px;color:var(--mint); }
.sc-proc-stream { margin-top:16px;font-family:var(--ff-mono);font-size:9px;color:#444;text-align:center;line-height:1.8;opacity:0.5;height:45px;overflow:hidden; }
.sc-results-panel { background: #080808; border: 1px solid rgba(152,255,217,0.2); border-radius: 8px; padding: 36px 32px; position: relative; overflow: hidden; }
.sc-results-panel::before { content:'';position:absolute;top:0;left:0;right:0;height:2px; background:linear-gradient(90deg,transparent,var(--mint),transparent); }
.sc-res-title { font-family:var(--ff-tech);font-size:11px;letter-spacing:5px; color:var(--mint);margin-bottom:28px;text-align:center; }
.sc-group { margin-bottom:24px;opacity:0;transform:translateY(8px);transition:all 0.5s ease; }
.sc-group.sc-on { opacity:1;transform:translateY(0); }
.sc-group-hd { font-family:var(--ff-tech);font-size:11px;letter-spacing:4px; padding-bottom:10px;margin-bottom:14px; border-bottom:1px solid rgba(255,255,255,0.06); display:flex;align-items:center;gap:8px; }
.sc-group-icon { font-size:8px;animation:scIconPulse 2s ease-in-out infinite; }
@keyframes scIconPulse { 0%,100%{opacity:.6} 50%{opacity:1} }
.sc-face-color { color: var(--mint); }
.sc-body-color { color: var(--neon-gold); }
.sc-row { display:flex;align-items:center;margin-bottom:16px; opacity:0;transform:translateY(8px);transition:all 0.4s ease; }
.sc-row.sc-on { opacity:1;transform:translateY(0); }
.sc-row-label { font-family:var(--ff-mono); font-size:10px;letter-spacing:1.5px;color:#666; width:160px;flex-shrink:0; }
.sc-bar-track { flex:1;height:6px;background:rgba(255,255,255,0.04);border-radius:3px;overflow:hidden;margin:0 12px; }
.sc-bar-fill { height:100%;border-radius:3px;width:0;transition:width 1s cubic-bezier(0.25,0.46,0.45,0.94); }
.sc-bar-safe { background:linear-gradient(90deg,var(--mint),#60D4A8); }
.sc-bar-warn { background:linear-gradient(90deg,var(--neon-gold),#E8C87A); }
.sc-bar-crit { background:linear-gradient(90deg,var(--neon-red),#ff6b9d); }
.sc-row-pct { font-family:var(--ff-tech);font-size:15px;font-weight:700;width:46px;text-align:right;color:var(--text-light); }
.sc-risk-comment { margin-top:10px;padding:12px 14px;border-radius:4px; font-size:12px;line-height:1.9; opacity:0;transform:translateY(6px);transition:all 0.5s ease; background:rgba(152,255,217,0.04);border-left:2px solid rgba(152,255,217,0.3);color:rgba(220,240,230,0.8); }
.sc-risk-comment.sc-on { opacity:1;transform:translateY(0); }
.sc-risk-comment strong { color:#e8eaf0; }
.sc-risk-arrow { margin-right:4px;color:var(--mint); }
.sc-verdict { margin-top:28px;padding-top:22px;border-top:1px solid rgba(255,255,255,0.05);text-align:center;opacity:0;transition:opacity 0.6s ease; }
.sc-verdict.sc-on { opacity:1; }
.sc-vd-dual { display:flex;align-items:center;justify-content:center;gap:28px;margin-bottom:16px; }
.sc-vd-block { text-align:center; }
.sc-vd-num { font-family:var(--ff-tech);font-size:38px;font-weight:900; }
.sc-vd-face-num { background:linear-gradient(135deg,var(--mint),#60D4A8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sc-vd-body-num { background:linear-gradient(135deg,var(--neon-gold),#E8C87A);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sc-vd-sub { font-family:var(--ff-tech);font-size:8px;letter-spacing:4px;color:#444;margin-top:2px; }
.sc-vd-divider { width:1px;height:50px;background:rgba(255,255,255,0.1); }
.sc-vd-total { text-align:center;margin-bottom:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,0.04); }
.sc-vd-total-num { font-family:var(--ff-tech);font-size:20px;font-weight:700;background:linear-gradient(135deg,var(--mint),var(--neon-gold));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.sc-vd-total-label { font-family:var(--ff-tech);font-size:8px;letter-spacing:4px;color:#444;margin-top:2px; }
.sc-vd-msg { font-family: var(--ff-body); font-size: 14px; line-height: 2.2; margin-top: 20px; color: rgba(232,234,240,0.85); }
.sc-vd-msg strong { color: #e8eaf0; }
.sc-vd-msg em { font-style: normal; font-size: 16px; font-weight: 500; color: #e8eaf0; }
.sc-hl-mint { color: var(--mint); }
.sc-hl { color: var(--mint); }
.sc-cta { display:inline-block;margin-top:28px;padding:15px 44px; font-family:var(--ff-tech);font-size:12px;letter-spacing:3px; color:var(--black); background:linear-gradient(135deg,var(--mint),#60D4A8); border:none;border-radius:4px;cursor:pointer;text-decoration:none; opacity:0;transform:translateY(8px);transition:all 0.3s ease; }
.sc-cta.sc-on { opacity:1;transform:translateY(0); }
.sc-cta:hover { box-shadow:0 0 30px rgba(152,255,217,0.3);transform:translateY(-2px);color:var(--black); }
.sc-replay { display:block;margin:14px auto 0;padding:7px 20px; background:transparent;border:1px solid #444;border-radius:3px; color:#666;font-family:var(--ff-mono);font-size:10px;letter-spacing:2px; cursor:pointer;opacity:0;transition:all 0.3s ease; }
.sc-replay.sc-on { opacity:1; }
.sc-replay:hover { border-color:var(--mint);color:var(--mint); }
@media (max-width: 600px) { .sc-frame { width: min(340px, 90vw); } .sc-results-panel { padding: 24px 16px; } .sc-row-label { width:110px;font-size:8.5px;letter-spacing:1px; } .sc-row-pct { font-size:13px;width:38px; } .sc-group-hd { font-size:10px;letter-spacing:3px; } .sc-risk-comment { font-size:11px;padding:10px 12px; } .sc-vd-dual { gap:18px; } .sc-vd-num { font-size:30px; } .sc-vd-total-num { font-size:17px; } .sc-vd-msg { font-size:12px; } }

/* ===== INTRO ===== */
.s-intro { background: var(--black); position: relative; overflow: hidden; }
.s-intro::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(152,255,217,0.2), transparent); }
.intro-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.intro-header { text-align: center; margin-bottom: 24px; }
.intro-title { font-family: var(--ff-serif-jp); font-size: clamp(18px, 4vw, 28px); font-weight: 400; color: var(--text-light); line-height: 2; }
.intro-title em { font-style: normal; color: var(--neon-red); display: block; margin-top: 8px; font-size: clamp(22px, 5vw, 36px); font-weight: 600; }
.glitch-text { position: relative; display: inline-block; }
.glitch-accent { animation: glitchFlicker 4s ease-in-out infinite; }
.intro-body-copy { text-align: center; margin-bottom: 24px; padding: 24px; border: 1px solid rgba(152,255,217,0.1); border-radius: 8px; background: var(--mint-subtle); }
.intro-body-copy p { font-size: 15px; color: var(--text-light); line-height: 1.9; }
.intro-body-copy strong { color: var(--mint); font-weight: 500; }
.intro-errors { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 60px; }
@media (min-width: 640px) { .intro-errors { grid-template-columns: repeat(3, 1fr); } }
.intro-error-card { display: flex; align-items: flex-start; gap: 12px; padding: 20px; background: var(--black-card); border: 1px solid rgba(255,48,112,0.15); border-radius: 8px; border-left: 3px solid var(--neon-red); transition: border-color 0.3s, transform 0.3s; }
.intro-error-card:hover { border-color: rgba(255,48,112,0.4); transform: translateY(-2px); }
.error-icon { font-size: 20px; color: var(--neon-red); flex-shrink: 0; margin-top: 2px; }
.error-label { font-size: 14px; font-weight: 500; color: var(--text-white); margin-bottom: 4px; }
.error-desc { font-family: var(--ff-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.02em; }
.intro-venn { text-align: center; padding: 48px 0; }
.intro-venn-lead { font-family: var(--ff-serif-jp); font-size: clamp(16px, 3.5vw, 22px); font-weight: 400; color: var(--text-white); line-height: 1.9; margin-bottom: 20px; }
.intro-venn-lead em { font-style: normal; color: var(--mint); }
.venn-diagram { position: relative; width: 300px; height: 300px; margin: 0 auto 40px; }
.venn-circle { position: absolute; width: 170px; height: 170px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.venn-circle span { font-family: var(--ff-serif-jp); font-size: 16px; font-weight: 600; color: var(--text-white); }
.venn-circle small { font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.venn-medical { top: 0; left: 50%; transform: translateX(-50%); }
.venn-beauty { bottom: 0; left: 0; }
.venn-health { bottom: 0; right: 0; }
.venn-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(152,255,217,0.2), rgba(152,255,217,0.05)); border: 2px solid var(--mint); display: flex; flex-direction: column; align-items: center; justify-content: center; animation: mintGlow 3s ease-in-out infinite; z-index: 2; }
.venn-db-logo { font-family: var(--ff-display); font-size: 20px; font-weight: 700; color: var(--mint); }
.venn-db-name { font-size: 7px; letter-spacing: 0.1em; color: var(--mint-dim); margin-top: 2px; }
.intro-venn-bottom { font-size: 14px; color: var(--text-light); line-height: 2; }
.intro-venn-bottom strong { color: var(--mint); font-weight: 500; }

/* ===== MAGIC ===== */
.s-magic { background: var(--black-soft); position: relative; overflow: hidden; }
.s-magic::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(152,255,217,0.15), transparent); }
.magic-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.magic-header { text-align: center; margin-bottom: 24px; }
.magic-title { font-family: var(--ff-serif-jp); font-size: clamp(22px, 4.5vw, 34px); font-weight: 500; color: var(--text-white); line-height: 1.7; }
.magic-title em { font-style: normal; color: var(--mint); }
.magic-sub { font-size: 14px; color: var(--text-muted); line-height: 1.9; margin-top: 16px; }
.magic-panels { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.magic-panel { background: var(--black-card); border: 1px solid rgba(152,255,217,0.08); border-radius: 12px; padding: 28px 24px; position: relative; overflow: hidden; transition: border-color 0.4s, transform 0.3s; }
.magic-panel:hover { border-color: rgba(152,255,217,0.2); transform: translateX(4px); }
.magic-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--mint); opacity: 0.4; }
.magic-panel-num { font-family: var(--ff-tech); font-size: 12px; letter-spacing: 0.2em; color: var(--mint-dim); margin-bottom: 8px; }
.magic-panel-title { font-family: var(--ff-serif-jp); font-size: 17px; font-weight: 500; color: var(--text-white); margin-bottom: 16px; }
.magic-sep { color: var(--mint); margin: 0 6px; font-weight: 300; }
.magic-panel-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .magic-panel-grid { grid-template-columns: 1fr 1fr; } }
.magic-field { padding: 14px 16px; background: rgba(152,255,217,0.03); border-radius: 6px; border: 1px solid rgba(152,255,217,0.05); }
.magic-field-name { font-size: 13px; font-weight: 500; color: var(--mint); margin-bottom: 6px; }
.magic-field-desc { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.magic-expert-img { margin-bottom: 24px; }
.magic-expert-img img { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(152,255,217,0.1); }
.magic-bottom { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .magic-bottom { grid-template-columns: 1fr 1fr; } }
.magic-bottom-card { padding: 28px 24px; background: var(--black-card); border: 1px solid rgba(152,255,217,0.1); border-radius: 12px; text-align: center; }
.magic-bottom-card h4 { font-family: var(--ff-serif-jp); font-size: 16px; font-weight: 500; color: var(--mint); margin-bottom: 12px; }
.magic-bottom-card p { font-size: 13px; color: var(--text-muted); line-height: 1.8; }

/* ===== CHARA ===== */
.s-chara { background: var(--black); position: relative; overflow: hidden; }
.s-chara::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(152,255,217,0.15), transparent); }
.chara-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.chara-header { text-align: center; margin-bottom: 56px; }
.chara-title { font-family: var(--ff-serif-jp); font-size: clamp(22px, 4.5vw, 34px); font-weight: 500; color: var(--text-white); line-height: 1.7; }
.chara-title em { font-style: normal; color: var(--mint); }
.chara-sub { font-size: 14px; color: var(--text-muted); line-height: 1.9; margin-top: 16px; }
.chara-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .chara-cards { grid-template-columns: repeat(3, 1fr); } }
.chara-card { position: relative; border-radius: 16px; overflow: hidden; background: var(--black-card); border: 1px solid rgba(152,255,217,0.1); transition: all 0.5s cubic-bezier(0.22,1,0.36,1); cursor: pointer; text-decoration: none; color: inherit; }
.chara-card:hover { border-color: var(--mint); transform: translateY(-8px); box-shadow: 0 20px 60px rgba(152,255,217,0.1); color: inherit; }
.chara-card-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(152,255,217,0.08), transparent 70%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.chara-card:hover .chara-card-glow { opacity: 1; }
.chara-card-inner { padding: 36px 24px; text-align: center; position: relative; z-index: 1; }
.chara-card-icon { width: 64px; height: 64px; margin: 0 auto 20px; }
.chara-card-icon svg { width: 100%; height: 100%; }
.chara-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.chara-card-title { font-family: var(--ff-serif-jp); font-size: 18px; font-weight: 600; color: var(--text-white); line-height: 1.5; margin-bottom: 8px; }
.chara-card-focus { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--mint-dim); margin-bottom: 16px; }
.chara-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.chara-card-btn { display: inline-block; padding: 10px 24px; border: 1px solid var(--mint-dim); border-radius: 4px; font-size: 12px; letter-spacing: 0.08em; color: var(--mint); transition: all 0.3s; }
.chara-card:hover .chara-card-btn { background: var(--mint); color: var(--black); border-color: var(--mint); }

/* ===== TRUST ===== */
.s-trust { background: var(--black-soft); position: relative; overflow: hidden; }
.s-trust::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(152,255,217,0.15), transparent); }
.trust-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.trust-header { text-align: center; margin-bottom: 56px; }
.trust-title { font-family: var(--ff-serif-jp); font-size: clamp(22px, 4.5vw, 34px); font-weight: 500; color: var(--text-white); line-height: 1.7; }
.trust-title em { font-style: normal; color: var(--mint); }
.trust-coach { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; margin-bottom: 24px; }
@media (min-width: 640px) { .trust-coach { grid-template-columns: 1fr 1fr; } }
.trust-coach-img { border-radius: 16px; overflow: hidden; position: relative; }
.trust-coach-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6) 100%); pointer-events: none; }
.trust-coach-img img { width: 100%; height: auto; display: block; }
.trust-coach-text h3 { font-family: var(--ff-serif-jp); font-size: 20px; font-weight: 500; color: var(--text-white); margin-bottom: 20px; line-height: 1.7; }
.trust-coach-text p { font-size: 14px; color: var(--text-light); line-height: 2; margin-bottom: 14px; }
.trust-coach-text em { font-style: normal; color: var(--mint); }
.trust-evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.trust-ev-item { padding: 24px 16px; background: var(--black-card); border: 1px solid rgba(152,255,217,0.08); border-radius: 12px; transition: border-color 0.3s; }
.trust-ev-item:hover { border-color: rgba(152,255,217,0.2); }
.trust-ev-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.trust-ev-item p { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; }

/* ===== CTA ===== */
.s-cta { background: var(--black); position: relative; text-align: center; padding: 50px 20px; overflow: hidden; }
.cta-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(152,255,217,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-catch { font-family: var(--ff-serif-jp); font-size: clamp(22px, 5vw, 36px); font-weight: 500; color: var(--text-white); line-height: 1.7; margin-bottom: 20px; }
.cta-catch em { font-style: normal; color: var(--mint); }
.cta-sub { font-size: 14px; color: var(--text-muted); line-height: 2; margin-bottom: 20px; }
.cta-button { display: inline-block; padding: 18px 48px; background: var(--mint); color: var(--black); font-family: var(--ff-body); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; border-radius: 4px; transition: all 0.4s; box-shadow: 0 0 30px rgba(152,255,217,0.2); }
.cta-button:hover { background: var(--text-white); color: var(--black); box-shadow: 0 0 50px rgba(152,255,217,0.3); transform: translateY(-2px); }
.cta-simulation-link { margin-top: 20px; }
.cta-simulation-link a { font-size: 13px; color: var(--text-dim); letter-spacing: 0.08em; }
.cta-simulation-link a:hover { color: var(--mint); }

/* ===== SALON ===== */
.s-access { background: var(--black-soft); position: relative; }
.s-access::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(152,255,217,0.1), transparent); }
.access-title { font-family: var(--ff-serif-jp); font-size: clamp(18px, 3.5vw, 26px); font-weight: 500; color: var(--text-white); text-align: center; margin-bottom: 16px; }
.salon-intro { font-size: 13px; color: var(--text-muted); text-align: center; line-height: 2; max-width: 640px; margin: 0 auto 40px; }
.salon-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .salon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .salon-grid { grid-template-columns: repeat(3, 1fr); } }
.salon-card { background: var(--black-card); border: 1px solid rgba(152,255,217,0.06); border-radius: 12px; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.salon-card:hover { border-color: rgba(152,255,217,0.15); transform: translateY(-3px); }
.salon-card-img img { width: 100%; height: 180px; object-fit: cover; }
.salon-card-body { padding: 20px; }
.salon-card-body h3 { font-family: var(--ff-serif-jp); font-size: 16px; font-weight: 500; color: var(--text-white); margin-bottom: 10px; }
.salon-addr { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.salon-tel { font-size: 12px; color: var(--mint-dim); margin-bottom: 4px; }
.salon-hours { font-size: 11px; color: var(--text-dim); }

/* ===== FOOTER ===== */
.site-footer { background: var(--black); border-top: 1px solid rgba(152,255,217,0.06); padding: 60px 20px 32px; }
.footer-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.footer-brand { margin-bottom: 28px; }
.footer-logo { font-family: var(--ff-display); font-size: 20px; font-weight: 500; color: var(--mint); letter-spacing: 0.2em; }
.footer-sub { font-family: var(--ff-mono); font-size: 9px; color: var(--text-dim); letter-spacing: 0.2em; margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 32px; }
.footer-links a { font-family: var(--ff-display); font-size: 11px; letter-spacing: 0.15em; color: var(--text-muted); }
.footer-links a:hover { color: var(--mint); }
.footer-company { margin-bottom: 24px; }
.footer-company-name { font-family: var(--ff-display); font-size: 14px; color: var(--text-light); letter-spacing: 0.1em; margin-bottom: 8px; }
.footer-company p { font-size: 11px; color: var(--text-muted); line-height: 1.8; }
.footer-company a { color: var(--text-muted); }
.footer-company a:hover { color: var(--mint); }
.footer-copy { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; }

/* ================================================================
   修正指示書対応 — 追加CSS
   ================================================================ */

/* --- ④ MV座標ラベル（地図UIモチーフ） --- */
.mv-coord {
  position: absolute; z-index: 5;
  font-family: var(--ff-mono); font-size: 9px;
  letter-spacing: 0.15em; color: rgba(152,255,217,0.35);
  opacity: 0; animation: fadeUp 1s ease 2s forwards;
}
.mv-coord-tl { top: 80px; left: 20px; }
.mv-coord-tr { top: 80px; right: 20px; }
.mv-coord-bl { bottom: 60px; left: 20px; }
.mv-coord-br { bottom: 60px; right: 20px; }
@media (min-width: 769px) {
  .mv-coord { font-size: 10px; }
  .mv-coord-tl { top: 90px; left: 40px; }
  .mv-coord-tr { top: 90px; right: 40px; }
  .mv-coord-bl { bottom: 70px; left: 40px; }
  .mv-coord-br { bottom: 70px; right: 40px; }
}

/* --- ① MVライブスキャンフィード --- */
.mv-live-feed {
  position: absolute; right: 20px; bottom: 90px; z-index: 5;
  max-width: 380px;
}
@media (max-width: 768px) {
  .mv-live-feed {
    position: relative; right: auto; bottom: auto;
    max-width: 100%; margin-top: 24px; padding: 0 24px;
  }
}
.mv-live-line {
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--mint); letter-spacing: 0.03em;
  line-height: 1.6; padding: 4px 0;
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  border-bottom: 1px solid rgba(152,255,217,0.06);
}
.mv-live-line.active { opacity: 1; transform: translateX(0); }
.mv-live-line.active + .mv-live-line:not(.active) ~ .mv-live-line { }
.mv-live-tag {
  display: inline-block;
  padding: 1px 6px; margin-right: 6px;
  font-size: 8px; font-weight: 700; letter-spacing: 0.1em;
  background: rgba(152,255,217,0.15);
  border: 1px solid rgba(152,255,217,0.3);
  border-radius: 2px; color: var(--mint);
  vertical-align: middle;
}

/* --- ⑤ CTA発光強化 --- */
.mv-cta-glow {
  animation: fadeUp 1s ease 1.2s forwards, ctaGlow 2s ease-in-out 2.5s infinite;
}
.cta-button-glow {
  animation: ctaGlow 2s ease-in-out infinite;
  position: relative;
}
.cta-button-glow::before {
  content: ''; position: absolute; inset: -3px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint), #60D4A8, var(--mint));
  opacity: 0.4; filter: blur(12px);
  z-index: -1;
  animation: ctaGlow 2s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(152,255,217,0.2), 0 0 60px rgba(152,255,217,0.1); }
  50% { box-shadow: 0 0 30px rgba(152,255,217,0.4), 0 0 80px rgba(152,255,217,0.2); }
}
.cta-sub-btn {
  display: inline-block; margin-top: 12px;
  padding: 8px 20px;
  border: 1px solid rgba(152,255,217,0.2);
  border-radius: 4px; font-size: 13px;
  color: var(--mint-dim);
  transition: all 0.3s;
}
.cta-sub-btn:hover { border-color: var(--mint); color: var(--mint); }

/* --- ② キラーコピー（ボディ訴求） --- */
.intro-killer {
  text-align: center; margin-bottom: 24px;
  padding: 36px 24px;
  border: 1px solid rgba(152,255,217,0.12);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(152,255,217,0.04), rgba(0,0,0,0.5));
  position: relative; overflow: hidden;
}
.intro-killer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
}
.intro-killer-copy {
  font-family: var(--ff-serif-jp);
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 600; color: var(--text-white);
  line-height: 1.7; margin-bottom: 16px;
}
.intro-killer-copy em {
  font-style: normal; color: var(--neon-red);
  text-shadow: 0 0 20px rgba(255,48,112,0.3);
}
.intro-killer-sub {
  font-size: 15px; color: var(--text-light); line-height: 2;
}
.intro-killer-sub strong { color: var(--mint); font-weight: 500; }

/* --- ④ アプリ vs OS 図解 --- */
.intro-os-diagram { margin-bottom: 24px; }
.os-compare {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
@media (min-width: 640px) { .os-compare { gap: 32px; flex-wrap: nowrap; } }
.os-side {
  flex: 0 0 auto; width: 160px; text-align: center;
  padding: 28px 16px; border-radius: 12px;
  background: var(--black-card); border: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 640px) { .os-side { width: 200px; padding: 32px 20px; } }
.os-icon-wrap { width: 48px; height: 48px; margin: 0 auto 12px; }
.os-icon-wrap svg { width: 100%; height: 100%; }
.os-icon-dim { opacity: 0.5; }
.os-icon-mint { opacity: 1; }
.os-label { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.os-label-mint { color: var(--mint); }
.os-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 14px; }
.os-items span {
  font-size: 11px; padding: 3px 10px;
  border-radius: 12px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); color: var(--text-dim);
}
.os-items-mint span {
  background: rgba(152,255,217,0.06);
  border-color: rgba(152,255,217,0.2); color: var(--mint-dim);
}
.os-result { font-size: 12px; font-weight: 500; margin-top: 4px; }
.os-result-fail { color: var(--text-dim); }
.os-result-mint { color: var(--mint); }
.os-arrow { width: 40px; flex-shrink: 0; }
.os-arrow svg { width: 100%; }
@media (max-width: 639px) { .os-arrow { transform: rotate(90deg); width: 32px; margin: 8px 0; } }
.os-core { border-color: rgba(152,255,217,0.15); }

/* --- ① スキャン中オーバーレイテキスト --- */
.sc-overlay-feed {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  z-index: 12; pointer-events: none;
}
.sc-ov-line {
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--mint); line-height: 1.5;
  padding: 3px 8px; margin-bottom: 2px;
  background: rgba(0,0,0,0.7);
  border-left: 2px solid var(--mint);
  border-radius: 0 3px 3px 0;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.sc-ov-line.sc-ov-on {
  opacity: 1; transform: translateX(0);
}
@media (max-width: 600px) { .sc-ov-line { font-size: 9px; padding: 2px 6px; } }

/* --- ③ エンドレス横スクロール --- */
.magic-scroll-wrap {
  overflow: hidden; margin-bottom: 24px; padding: 8px 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 68%, transparent 100%);
}
.magic-scroll-track {
  display: flex; gap: 18px;
  animation: msScroll 28s linear infinite;
  width: max-content; align-items: flex-start;
}
@keyframes msScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1512px); }
}
/* === カードユニット（カード＋コメント） === */
.ms-unit {
  position: relative;
  display: flex; align-items: flex-start; gap: 0;
  width: 180px; flex-shrink: 0;
  overflow: visible;
  transform: scale(0.88);
  transition: transform 0.5s cubic-bezier(0.25,1,0.5,1) 0.6s, filter 0.5s cubic-bezier(0.25,1,0.5,1) 0.6s;
  filter: brightness(0.65);
}
.ms-unit.ms-center { transform: scale(1); filter: brightness(1); transition-delay: 0s; }

.ms-card {
  flex: 0 0 auto;
  width: 180px; height: 240px;
  border-radius: 10px;
  border: 1px solid rgba(152,255,217,0.12);
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
  transition: border-color 0.5s cubic-bezier(0.25,1,0.5,1) 0.6s, box-shadow 0.5s cubic-bezier(0.25,1,0.5,1) 0.6s;
}
.ms-unit.ms-center .ms-card {
  border-color: rgba(152,255,217,0.35);
  box-shadow: 0 6px 28px rgba(152,255,217,0.1), 0 0 0 1px rgba(152,255,217,0.1);
  transition-delay: 0s;
}
.ms-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.ms-card img[src$=".png"]:not([src=""]) + .ms-fb { display: none; }
.ms-fb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--ff-serif-jp);
  font-size: 14px; font-weight: 500; color: var(--mint-dim);
  line-height: 1.8; padding: 16px;
  background: var(--black-card);
}

/* === コメント吹き出し（Style 2 ダークネイビー） === */
.ms-comment-box {
  display: flex; flex-direction: column; align-items: center;
  position: absolute; left: 100%; top: 0;
  margin-left: 8px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.5s cubic-bezier(0.25,1,0.5,1), transform 0.5s cubic-bezier(0.25,1,0.5,1);
  pointer-events: none;
}
.ms-comment-label {
  font-size: 8px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--mint);
  background: rgba(152,255,217,0.08);
  border: 1px solid rgba(152,255,217,0.2);
  border-radius: 3px;
  padding: 3px 5px; margin-bottom: 3px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25,1,0.5,1);
}
.ms-comment-arrow {
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 5px solid rgba(100,160,255,0.3);
  margin-bottom: -1px;
  opacity: 0; transition: opacity 0.3s;
}
.ms-comment-bubble {
  writing-mode: vertical-rl;
  background: linear-gradient(180deg, rgba(15,28,55,0.8) 0%, rgba(10,20,42,0.92) 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(100,160,255,0.2);
  border-radius: 6px;
  padding: 10px 5px;
  position: relative;
  box-shadow: 0 4px 20px rgba(60,120,255,0.06), inset 0 1px 0 rgba(100,160,255,0.08);
}
.ms-comment-bubble::before {
  content: ''; position: absolute; top: 22px; left: -6px;
  border: 5px solid transparent;
  border-right-color: rgba(15,28,55,0.8);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25,1,0.5,1);
}
.ms-cline {
  display: block; font-size: 11px; letter-spacing: 0.1em; line-height: 1.5;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s cubic-bezier(0.25,1,0.5,1), transform 0.5s cubic-bezier(0.25,1,0.5,1);
}
.ms-cl1 { color: #fff; font-weight: 400; }
.ms-cl2 { color: rgba(200,225,255,1); font-weight: 300; margin-right: 3px; }

/* センター時 — 時間差スタッガー */
.ms-unit.ms-center .ms-comment-box { opacity: 1; transform: translateX(0); }
.ms-unit.ms-center .ms-comment-label { opacity: 1; transition-delay: 0.1s; }
.ms-unit.ms-center .ms-comment-arrow { opacity: 1; transition-delay: 0.15s; }
.ms-unit.ms-center .ms-comment-bubble::before { opacity: 1; transition-delay: 0.15s; }
.ms-unit.ms-center .ms-cl1 { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.ms-unit.ms-center .ms-cl2 { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* 非センター時 — 消失を1秒遅延して視認性アップ */
.ms-unit:not(.ms-center) .ms-comment-box { transition-delay: 0.6s; }
.ms-unit:not(.ms-center) .ms-comment-label { transition-delay: 0.6s; }
.ms-unit:not(.ms-center) .ms-comment-arrow { transition-delay: 0.6s; }
.ms-unit:not(.ms-center) .ms-cline { transition-delay: 0.6s; }
.ms-unit:not(.ms-center) .ms-comment-bubble::before { transition-delay: 0.6s; }

@media (min-width: 769px) {
  .ms-card { width: 200px; height: 260px; }
  .ms-unit { width: 200px; }
  @keyframes msScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1652px); }
  }
}

/* ================================================================
   追加修正 — ベン図/アプリvsOS/バナー/ネオンシナジー
   ================================================================ */

/* --- ベン図：視認性強化 --- */
.venn-circle span { font-size: 16px; font-weight: 600; }
.venn-circle small { font-size: 11px; color: var(--text-light); }
.venn-medical {
  background: rgba(255,48,112,0.25);
  border: 2px solid rgba(255,48,112,0.6);
  box-shadow: 0 0 40px rgba(255,48,112,0.12);
}
.venn-beauty {
  background: rgba(0,160,220,0.22);
  border: 2px solid rgba(0,200,255,0.55);
  box-shadow: 0 0 40px rgba(0,200,255,0.12);
}
.venn-health {
  background: rgba(212,184,122,0.2);
  border: 2px solid rgba(212,184,122,0.55);
  box-shadow: 0 0 40px rgba(212,184,122,0.12);
}
.venn-center {
  width: 90px; height: 90px;
  border: 2.5px solid var(--mint);
  box-shadow: 0 0 24px rgba(152,255,217,0.2), 0 0 60px rgba(152,255,217,0.08);
}
.venn-db-logo { font-size: 22px; }

/* --- アプリvsOS：左側視認性強化 --- */
.os-app {
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
}
.os-icon-dim { opacity: 0.8; }
.os-icon-dim svg rect { stroke: #aaa; }
.os-icon-dim svg circle { fill: #aaa; }
.os-label { color: var(--text-light); font-size: 13px; font-weight: 400; }
.os-items span {
  font-size: 12px; padding: 4px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-light);
}
.os-result-fail { color: #ff6b6b; font-size: 13px; }

/* --- ネオンシナジー演出（neon-v4.html転用） --- */
.magic-synergy { margin-bottom: 24px; }
.syn-canvas {
  position: relative;
  width: 100%; max-width: 960px;
  aspect-ratio: 1344/768;
  border-radius: 12px; overflow: hidden;
  background: #000; margin: 0 auto;
  border: 1px solid rgba(152,255,217,0.08);
}
.syn-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.syn-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 10; }

.ell-glow { fill: none; stroke-width: 14; filter: blur(8px); opacity: .15; }
.ell-line { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.ell-core { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 18 28; opacity: 0; }

.ell-r .ell-glow { stroke: #ff2060; }
.ell-r .ell-line { stroke: #ff3070; filter: drop-shadow(0 0 6px rgba(255,48,112,.8)) drop-shadow(0 0 20px rgba(255,48,112,.3)); }
.ell-r .ell-core { stroke: #ffb0c8; filter: drop-shadow(0 0 3px rgba(255,200,220,.9)); }
.ell-c .ell-glow { stroke: #00d0ff; }
.ell-c .ell-line { stroke: #00c8ff; filter: drop-shadow(0 0 6px rgba(0,200,255,.8)) drop-shadow(0 0 20px rgba(0,200,255,.3)); }
.ell-c .ell-core { stroke: #c0f0ff; filter: drop-shadow(0 0 3px rgba(200,240,255,.9)); }
.ell-g .ell-glow { stroke: #D4A840; }
.ell-g .ell-line { stroke: #D4B87A; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(212,184,122,.8)) drop-shadow(0 0 18px rgba(212,184,122,.3)); }
.ell-g .ell-core { stroke: #fff0c0; stroke-width: 1.5; filter: drop-shadow(0 0 3px rgba(255,240,200,.9)); }

.ell-draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.syn-playing .ell-r .ell-draw { animation: drawEll 2s ease-out 0s forwards; }
.syn-playing .ell-c .ell-draw { animation: drawEll 2s ease-out .4s forwards; }
.syn-playing .ell-g .ell-draw { animation: drawEll 2s ease-out .8s forwards; }
@keyframes drawEll { to { stroke-dashoffset: 0; } }

.ell-r .ell-core { animation: synCoreIn .3s ease forwards 2.2s, synDash 2.5s linear infinite 2.2s; }
.ell-c .ell-core { animation: synCoreIn .3s ease forwards 2.6s, synDash 3s linear infinite 2.6s; }
.ell-g .ell-core { animation: synCoreIn .3s ease forwards 3s, synDash 3.5s linear infinite 3s; }
@keyframes synCoreIn { to { opacity: 1; } }
@keyframes synDash { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -92; } }

.flow-glow { fill: none; stroke-width: 12; filter: blur(7px); opacity: .12; }
.flow-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.flow-core { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 14 24; opacity: 0; }
.flow-r .flow-glow { stroke: #ff2060; }
.flow-r .flow-line { stroke: #ff3070; filter: drop-shadow(0 0 6px rgba(255,48,112,.7)); }
.flow-r .flow-core { stroke: #ffb0c8; filter: drop-shadow(0 0 3px rgba(255,200,220,.8)); }
.flow-c .flow-glow { stroke: #00d0ff; }
.flow-c .flow-line { stroke: #00c8ff; filter: drop-shadow(0 0 6px rgba(0,200,255,.7)); }
.flow-c .flow-core { stroke: #c0f0ff; filter: drop-shadow(0 0 3px rgba(200,240,255,.8)); }
.flow-g .flow-glow { stroke: #D4A840; }
.flow-g .flow-line { stroke: #D4B87A; stroke-width: 2.5; filter: drop-shadow(0 0 5px rgba(212,184,122,.7)); }
.flow-g .flow-core { stroke: #fff0c0; stroke-width: 1.5; filter: drop-shadow(0 0 3px rgba(255,240,200,.8)); }

.flow-draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.syn-playing .flow-r .flow-draw { animation: drawFlow 2s ease-out 1.5s forwards; }
.syn-playing .flow-c .flow-draw { animation: drawFlow 2s ease-out 1.9s forwards; }
.syn-playing .flow-g .flow-draw { animation: drawFlow 2s ease-out 2.3s forwards; }
@keyframes drawFlow { to { stroke-dashoffset: 0; } }

.flow-r .flow-core { animation: synCoreIn .3s ease forwards 3.5s, synDash 2.5s linear infinite 3.5s; }
.flow-c .flow-core { animation: synCoreIn .3s ease forwards 3.9s, synDash 3s linear infinite 3.9s; }
.flow-g .flow-core { animation: synCoreIn .3s ease forwards 4.3s, synDash 3.5s linear infinite 4.3s; }

.scan-group {
  position: absolute; right: 0; top: 0;
  width: 42%; height: 100%; z-index: 15;
  pointer-events: none; overflow: hidden;
  opacity: 0; animation: synFadeIn .3s ease forwards 4.5s;
}
@keyframes synFadeIn { to { opacity: 1; } }
.scan-laser {
  position: absolute; left: 15%; right: 5%; height: 2px;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff, 0 0 24px rgba(0,229,255,.5), 0 0 60px rgba(0,229,255,.2);
}
.syn-playing .scan-laser {
  animation: synScanUp 2.5s ease-in-out 4.8s forwards, synScanLoopBounce 4s ease-in-out 7.3s infinite;
}
.scan-field {
  position: absolute; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(0,229,255,.06), transparent);
}
.syn-playing .scan-field {
  animation: synScanUp 2.5s ease-in-out 4.8s forwards, synScanLoopBounce 4s ease-in-out 7.3s infinite;
}
@keyframes synScanUp { 0% { top: 68%; } 100% { top: 22%; } }
@keyframes synScanLoopBounce { 0% { top: 68%; } 50% { top: 22%; } 100% { top: 68%; } }

.skin-surface {
  position: absolute; right: 2%; top: 24%; width: 38%; height: 6%;
  z-index: 18; pointer-events: none; opacity: 0;
}
.syn-playing .skin-surface { animation: synFadeIn .5s ease forwards 7s; }
.skin-surface-bar {
  width: 100%; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, transparent 2%, rgba(0,229,255,.06) 15%, rgba(255,255,255,.08) 50%, rgba(0,229,255,.06) 85%, transparent 98%);
  animation: synSurfP 2s ease-in-out infinite 7.5s;
}
@keyframes synSurfP {
  0%,100% { opacity: .5; box-shadow: 0 0 15px rgba(0,229,255,.08), 0 -3px 20px rgba(255,255,255,.04); }
  50% { opacity: 1; box-shadow: 0 0 35px rgba(0,229,255,.15), 0 -6px 40px rgba(255,255,255,.08); }
}
.skin-surface-bar::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 60px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  animation: synShimmer 2.5s linear infinite 7.5s;
}
@keyframes synShimmer { 0% { left: -60px; } 100% { left: 100%; } }

.surf-dots {
  position: absolute; right: 3%; top: 23.5%;
  width: 36%; height: 2%; z-index: 19; pointer-events: none;
  display: flex; justify-content: space-around; align-items: center;
  opacity: 0;
}
.syn-playing .surf-dots { animation: synFadeIn .5s ease forwards 7.2s; }
.sd {
  width: 4px; height: 4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px #00e5ff, 0 0 14px rgba(0,229,255,.4);
  animation: synDotP 1.5s ease-in-out infinite;
}
.sd:nth-child(2) { animation-delay: .15s; }
.sd:nth-child(3) { animation-delay: .3s; }
.sd:nth-child(4) { animation-delay: .45s; }
.sd:nth-child(5) { animation-delay: .6s; }
.sd:nth-child(6) { animation-delay: .75s; }
.sd:nth-child(7) { animation-delay: .9s; }
.sd:nth-child(8) { animation-delay: 1.05s; }
.sd:nth-child(9) { animation-delay: 1.2s; }
@keyframes synDotP {
  0%,100% { opacity: .2; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.4); }
}

.gold-burst {
  position: absolute; left: 28%; top: 46%;
  width: 90px; height: 90px;
  transform: translate(-50%,-50%);
  pointer-events: none; opacity: 0; z-index: 12;
}
.syn-playing .gold-burst { animation: synBurstIn .8s ease-out 1.8s forwards; }
.gold-burst::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,80,.45) 0%, rgba(255,160,40,.12) 40%, transparent 70%);
  animation: synBurstP 2.5s ease-in-out infinite 3s;
}
@keyframes synBurstIn { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.3); } 100% { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes synBurstP { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.3); opacity: .9; } }

.syn-labels { position: absolute; inset: 0; z-index: 20; pointer-events: none; font-family: var(--ff-body); }
.lbl { position: absolute; opacity: 0; }
.lbl-tag {
  display: inline-block; padding: 4px 10px; border-radius: 3px;
  font-size: 11px; letter-spacing: .1em; font-weight: 300;
  backdrop-filter: blur(6px); white-space: nowrap;
}
.lbl-desc { display: block; margin-top: 3px; font-size: 10px; font-weight: 200; color: #B8C4DC; white-space: nowrap; }
.tag-r { background: rgba(255,48,96,.12); border: 1px solid rgba(255,48,96,.3); color: #ff6080; }
.tag-c { background: rgba(0,200,255,.1); border: 1px solid rgba(0,200,255,.3); color: #40d0ff; }
.tag-g { background: rgba(212,184,122,.1); border: 1px solid rgba(212,184,122,.3); color: #e0c888; }
.tag-w { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #f0f0f0; font-size: 12px; }

.lbl-01 { left: 4%; top: 14%; }
.lbl-02 { left: 3%; top: 52%; }
.lbl-03 { left: 6%; bottom: 8%; }
.lbl-sync { right: 6%; top: 10%; }
.syn-playing .lbl-01 { animation: synLblIn .6s ease forwards 1s; }
.syn-playing .lbl-02 { animation: synLblIn .6s ease forwards 1.4s; }
.syn-playing .lbl-03 { animation: synLblIn .6s ease forwards 1.8s; }
.syn-playing .lbl-sync { animation: synLblIn .6s ease forwards 7.5s; }
@keyframes synLblIn { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) {
  .lbl-tag { font-size: 9px; padding: 3px 7px; }
  .lbl-desc { font-size: 8px; }
  .gold-burst { width: 60px; height: 60px; }
}

/* ================================================================
   監修フィードバック修正2 — 4点追加
   ================================================================ */

/* --- 修正1: スキャンオーバーレイのスコア＋警告アイコン --- */
.sc-ov-icon {
  display: inline-block; width: 16px; margin-right: 4px;
  font-size: 10px; text-align: center;
}
.sc-ov-warn { color: #ffaa00; animation: scOvBlink 0.8s ease-in-out infinite; }
.sc-ov-crit { color: #ff4060; animation: scOvBlink 0.5s ease-in-out infinite; }
.sc-ov-ok { color: #98FFD9; }
@keyframes scOvBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.sc-ov-line strong { color: #fff; font-weight: 600; }
.sc-ov-status {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  font-size: 8px; font-weight: 600; letter-spacing: 0.08em;
  border-radius: 2px; vertical-align: middle;
}
.sc-ov-st-warn { background: rgba(255,170,0,0.2); border: 1px solid rgba(255,170,0,0.4); color: #ffaa00; }
.sc-ov-st-crit { background: rgba(255,64,96,0.2); border: 1px solid rgba(255,64,96,0.4); color: #ff4060; }
.sc-ov-st-ok { background: rgba(152,255,217,0.15); border: 1px solid rgba(152,255,217,0.3); color: #98FFD9; }

/* --- 修正2: ベン図後の断言コピー --- */
.intro-verdict {
  text-align: center; padding: 48px 24px; margin-top: 24px;
  border-top: 1px solid rgba(152,255,217,0.1);
}
.intro-verdict-copy {
  font-family: var(--ff-serif-jp);
  font-size: clamp(22px, 5.5vw, 36px);
  font-weight: 600; color: var(--text-white);
  line-height: 1.8; margin-bottom: 16px;
}
.intro-verdict-copy em {
  font-style: normal; color: var(--mint);
  text-shadow: 0 0 20px rgba(152,255,217,0.3);
}
.intro-verdict-sub {
  font-size: clamp(14px, 3vw, 18px);
  color: var(--text-light); line-height: 2;
}
.intro-verdict-sub strong { color: var(--mint); font-weight: 500; }

/* --- 修正3: 権威バッジ --- */
.magic-authority {
  display: flex; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  margin-top: 32px; margin-bottom: 24px;
}
.auth-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border: 1px solid rgba(152,255,217,0.15);
  border-radius: 8px;
  background: rgba(152,255,217,0.04);
  transition: border-color 0.3s;
}
.auth-badge:hover { border-color: rgba(152,255,217,0.3); }
.auth-icon { font-size: 28px; flex-shrink: 0; }
.auth-badge strong {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text-white); margin-bottom: 2px;
}
.auth-badge small {
  font-size: 11px; color: var(--text-muted);
}
@media (max-width: 600px) {
  .magic-authority { flex-direction: column; align-items: center; }
  .auth-badge { width: 100%; max-width: 320px; }
}

/* --- 修正4: CTA未来価値コピー --- */
.cta-future {
  font-size: clamp(12px, 2.5vw, 15px);
  color: var(--text-light); line-height: 1.9;
  margin-bottom: 32px; text-align: center;
}
.cta-future strong { color: var(--mint); font-weight: 500; }

/* ================================================================
   演出改修 — ベン図アニメーション・コンパクト化
   ================================================================ */

/* --- ① Introセクション上下スペース半減 --- */
.s-intro-compact .intro-inner { padding-top: 40px; padding-bottom: 40px; }
.s-intro-compact .intro-header { margin-bottom: 24px; }
.s-intro-compact .intro-killer { margin-bottom: 24px; padding: 24px 20px; }
.s-intro-compact .intro-os-diagram { margin-bottom: 24px; }

/* --- 演出付きベン図レイアウト --- */
.intro-why-venn { margin-bottom: 32px; }
.why-venn-layout {
  display: flex; gap: 32px; align-items: flex-start;
  margin: 32px 0;
}
@media (max-width: 768px) {
  .why-venn-layout { flex-direction: column; gap: 24px; }
}

/* 左：3つのなぜ（タイプライター式） */
.why-questions { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; }
.why-q {
  font-family: var(--ff-serif-jp);
  font-size: clamp(12px, 2.5vw, 15px);
  font-weight: 500; color: var(--text-white);
  line-height: 1.8; padding: 10px 14px;
  margin-bottom: 10px;
  border-left: 3px solid rgba(152,255,217,0.3);
  background: rgba(152,255,217,0.03);
  border-radius: 0 6px 6px 0;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.why-q.why-q-on {
  opacity: 1; transform: translateX(0);
}
/* タイプライターカーソル */
.why-q.why-q-typing::after {
  content: '|'; color: var(--mint);
  animation: typeCursor 0.6s step-end infinite;
}
@keyframes typeCursor { 0%,100%{opacity:1} 50%{opacity:0} }

/* 右：答え＋ベン図 */
.why-answers-venn { flex: 1; min-width: 0; }
.why-answers { display: flex; flex-direction: column; justify-content: flex-start; }
.why-a {
  padding: 10px 14px; margin-bottom: 10px;
  border-radius: 6px; font-size: 12px; line-height: 1.6;
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.why-a.why-a-on { opacity: 1; transform: translateX(0); }
.why-a-cat { display: block; font-weight: 600; margin-bottom: 2px; }
.why-a-desc { display: block; font-size: 12px; color: var(--text-light); }
.why-a-medical { border-left: 3px solid rgba(255,48,112,0.5); background: rgba(255,48,112,0.06); }
.why-a-medical .why-a-cat { color: #ff6080; }
.why-a-beauty { border-left: 3px solid rgba(0,200,255,0.5); background: rgba(0,200,255,0.06); }
.why-a-beauty .why-a-cat { color: #40d0ff; }
.why-a-health { border-left: 3px solid rgba(212,184,122,0.5); background: rgba(212,184,122,0.06); }
.why-a-health .why-a-cat { color: #e0c888; }

/* ベン図アニメーション：全円セット浮き出し */
.venn-animated .venn-circle,
.venn-animated .venn-center {
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.8s ease;
}
.venn-animated .venn-circle.venn-on {
  opacity: 1; transform: scale(1);
}
.venn-animated .venn-medical.venn-on { transform: translateX(-50%) scale(1) !important; }
.venn-animated .venn-center {
  transition: opacity 2s ease, transform 2s cubic-bezier(0.16,1,0.3,1), box-shadow 2s ease;
}
.venn-animated .venn-center.venn-on {
  opacity: 1;
  transform: translate(-50%, -35%) scale(1) !important;
  box-shadow: 0 0 40px rgba(152,255,217,0.4), 0 0 80px rgba(152,255,217,0.15);
  animation: vennDBPulse 1.5s ease-in-out 2s infinite;
}
@keyframes vennDBPulse {
  0%,100% { box-shadow: 0 0 40px rgba(152,255,217,0.4), 0 0 80px rgba(152,255,217,0.15); }
  50% { box-shadow: 0 0 60px rgba(152,255,217,0.6), 0 0 120px rgba(152,255,217,0.25); }
}

/* ================================================================
   修正4 — スマホ文字サイズ調整＋ベン図位置修正
   ================================================================ */

/* スマホで2行にならないようにサイズ縮小 */
@media (max-width: 480px) {
  .intro-title { font-size: clamp(14px, 4.2vw, 20px); line-height: 1.8; }
  .glitch-text { font-size: inherit; }
  .glitch-accent { font-size: clamp(16px, 5vw, 22px); }
  .intro-killer-copy { font-size: clamp(14px, 4.2vw, 22px); white-space: nowrap; }
  .intro-venn-bottom { font-size: clamp(12px, 3.2vw, 14px); }
  .intro-verdict-copy { font-size: clamp(16px, 4.5vw, 24px); }
  .why-q { font-size: clamp(12px, 3.2vw, 15px); }
  .why-a { font-size: 12px; }
  .why-a-desc { font-size: 11px; }
}

/* ベン図の位置修正 — 3つの円とDB中央（最終版） */
.venn-diagram {
  position: relative; width: 280px; height: 280px; margin: 24px auto;
}
.venn-circle {
  position: absolute !important; width: 160px; height: 160px;
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.venn-medical {
  top: 0 !important; left: 50% !important; right: auto !important;
  bottom: auto !important; transform: translateX(-50%) !important;
}
.venn-beauty {
  top: auto !important; bottom: 0 !important; left: 5% !important;
  right: auto !important; transform: none !important;
}
.venn-health {
  top: auto !important; bottom: 0 !important; right: 5% !important;
  left: auto !important; transform: none !important;
}
.venn-center {
  position: absolute !important;
  top: 50% !important; left: 50% !important;
  right: auto !important; bottom: auto !important;
  transform: translate(-50%, -35%) !important;
  width: 70px; height: 70px;
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 5;
}
/* アニメーション時のtransformを上書き */
.venn-animated .venn-center.venn-on {
  transform: translate(-50%, -35%) scale(1) !important;
}

/* ================================================================
   監修5 — カウントアップ・視点タグ・3ステップ
   ================================================================ */

/* --- スコアカウントアップ演出 --- */
.sc-countup {
  font-variant-numeric: tabular-nums;
  min-width: 3em; display: inline-block;
}

/* --- 14分野カードの視点タグ --- */
.ms-tag {
  display: block; text-align: center;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--mint); padding: 4px 0 2px;
  opacity: 0.8;
}
.ms-card {
  position: relative;
}
/* フォールバック内のアイコン部分を大きく */
.ms-fb { font-size: 13px; padding: 16px 8px; }

/* --- 改善への3ステップ --- */
.s-steps { padding: 30px 24px; }
.steps-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.steps-title {
  font-family: var(--ff-serif-jp); font-size: clamp(20px, 5vw, 32px);
  font-weight: 600; color: var(--text-white); margin: 8px 0 8px;
}
.steps-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.steps-road {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 8px;
}
.step-item {
  flex: 1; max-width: 200px; text-align: center;
  padding: 20px 12px;
  border: 1px solid rgba(152,255,217,0.1);
  border-radius: 12px;
  background: rgba(152,255,217,0.02);
  transition: border-color 0.3s, transform 0.3s;
}
.step-item:hover {
  border-color: rgba(152,255,217,0.25);
  transform: translateY(-4px);
}
.step-num {
  font-family: 'Orbitron',sans-serif; font-size: 11px; font-weight: 700;
  color: var(--mint); letter-spacing: 0.2em;
  margin-bottom: 8px; opacity: 0.7;
}
.step-icon { width: 48px; height: 48px; margin: 0 auto 12px; }
.step-icon svg { width: 100%; height: 100%; }
.step-label {
  font-family: var(--ff-serif-jp); font-size: 18px; font-weight: 600;
  color: var(--text-white); margin-bottom: 8px;
}
.step-desc { font-size: 12px; color: var(--text-light); line-height: 1.7; }
.step-arrow {
  display: flex; align-items: center; padding-top: 60px;
  width: 32px; flex-shrink: 0;
}
.step-arrow svg { width: 100%; }
@media (max-width: 600px) {
  .steps-road { flex-direction: row; align-items: flex-start; gap: 4px; }
  .step-item { max-width: 120px; padding: 12px 6px; }
  .step-icon { width: 32px; height: 32px; margin: 0 auto 6px; }
  .step-label { font-size: 13px; }
  .step-desc { font-size: 10px; }
  .step-num { font-size: 9px; }
  .step-arrow { padding-top: 40px; width: 20px; }
}

/* スマホ用改行（PCでは非表示） */
.sp-br { display: none; }
@media (max-width: 768px) { .sp-br { display: block; } }

/* ============================================================
   SECTION: s-errors（エラーカード独立セクション）
   ============================================================ */
.s-errors {
  padding: 0 0 40px;
  background: #000;
}
.s-errors .section-inner {
  max-width: 800px; margin: 0 auto; padding: 0 20px;
}

/* ============================================================
   SECTION: s-harmony（3つの力のハーモニー）
   ============================================================ */
.s-harmony {
  padding: 80px 0;
  background: #000;
}
.s-harmony .section-inner {
  max-width: 900px; margin: 0 auto; padding: 0 20px;
  text-align: center;
}
.harmony-header { margin-bottom: 20px; }
.harmony-title {
  font-family: var(--ff-serif-jp);
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 500; color: var(--text-light);
  line-height: 1.6; margin-bottom: 16px;
}
.harmony-title em { color: var(--mint); font-style: normal; }
.harmony-sub {
  font-size: clamp(13px, 3vw, 15px);
  color: var(--text-dim); line-height: 1.8;
}

.harmony-visual { margin-bottom: 24px; }
.harmony-img-wrap {
  position: relative;
  max-width: 480px; width: 100%;
  margin: 0 auto;
}
.harmony-img {
  max-width: 480px; width: 100%; height: auto;
  margin: 0 auto; display: block;
}
.harmony-img-neon {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- ハーモニー ❌→トラブル→復活ストーリー --- */
.harmony-story {
  margin: 24px auto 12px;
  max-width: 480px; width: 100%;
}
.harmony-story-text {
  text-align: center;
  min-height: 48px;
  margin-top: 12px;
  position: relative;
}
.hs-text {
  font-size: 14px; line-height: 1.8;
  color: var(--text-muted);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute; left: 0; right: 0;
  text-align: center;
  pointer-events: none;
}
.hs-text.hs-on {
  opacity: 1; transform: scale(1);
  pointer-events: auto;
}
.hs-text-red { color: #FF4E70; font-weight: 600; }
.hs-text-mint { color: var(--mint); font-weight: 500; }
/* トラブルグロー点の点滅 */
@keyframes troubleBlink {
  0%, 100% { fill: rgba(255,78,112,0); }
  50% { fill: rgba(255,78,112,0.5); }
}
.hs-trouble-dot.hs-blink {
  animation: troubleBlink 0.5s ease-in-out infinite;
}
/* ネオン停止 */
.hs-neon.hs-stopped {
  animation-play-state: paused;
}
/* グリッチノイズ（❌出現時） */
@keyframes hsGlitch {
  0%   { transform: translate(0,0) skewX(0); filter: none; opacity: 1; }
  10%  { transform: translate(-4px,2px) skewX(-2deg); filter: hue-rotate(90deg) brightness(1.5); opacity: 0.7; }
  20%  { transform: translate(3px,-1px) skewX(1deg); filter: hue-rotate(-60deg) saturate(2); opacity: 0.9; }
  30%  { transform: translate(-2px,0) skewX(-1deg); filter: none; opacity: 0.4; }
  40%  { transform: translate(4px,1px) skewX(2deg); filter: hue-rotate(120deg) brightness(1.8); opacity: 0.8; }
  50%  { transform: translate(0,-2px) skewX(0); filter: none; opacity: 1; }
  60%  { transform: translate(-3px,1px) skewX(-1.5deg); filter: hue-rotate(-90deg); opacity: 0.6; }
  70%  { transform: translate(2px,0) skewX(1deg); filter: brightness(2); opacity: 0.9; }
  80%  { transform: translate(-1px,-1px) skewX(0); filter: none; opacity: 0.5; }
  90%  { transform: translate(1px,2px) skewX(-0.5deg); filter: hue-rotate(60deg); opacity: 0.8; }
  100% { transform: translate(0,0) skewX(0); filter: none; opacity: 1; }
}
.harmony-img-wrap.hs-glitch {
  animation: hsGlitch 0.35s ease-in-out;
}

/* --- サークルネオン配置 --- */
.harmony-circle {
  position: relative;
  width: 100%; max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.harmony-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hc-neon {
  fill: none; stroke-width: 2.5; stroke-linecap: round;
  filter: url(#circleGlow);
  stroke-dasharray: 120 700;
  animation: orbitFlow 4s linear infinite;
}
.hc-neon2 { animation-delay: -1.33s; }
.hc-neon3 { animation-delay: -2.66s; }
@keyframes orbitFlow {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 820; }
}
.hc-dot { animation: hcPulse 2.4s ease-in-out infinite; }
.hc-dot1 { animation-delay: 0s; }
.hc-dot2 { animation-delay: -0.8s; }
.hc-dot3 { animation-delay: -1.6s; }
@keyframes hcPulse {
  0%, 100% { r: 5; opacity: 0.35; }
  50%      { r: 9; opacity: 0.95; }
}

/* カード（円周上に配置） */
.harmony-circle .harmony-force {
  position: absolute; width: 220px;
  background: rgba(17,17,17,0.92);
  border: 1px solid rgba(152,255,217,0.12);
  border-radius: 10px;
  padding: 18px 14px; text-align: center; z-index: 1;
}
.hf-top   { top: 0; left: 50%; transform: translate(-50%, -10%); }
.hf-right { bottom: 10%; right: 0; transform: translate(8%, 0); }
.hf-left  { bottom: 10%; left: 0; transform: translate(-8%, 0); }

/* 中央コピー */
.harmony-center-copy {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; text-align: center;
  pointer-events: none;
}
.hcc-main {
  font-size: 14px; line-height: 2;
  color: #D5D5D5; letter-spacing: 0.04em;
}
.hcc-main em {
  font-style: normal; color: #F5F5F5; font-weight: 600;
}

@media (max-width: 600px) {
  .harmony-circle { aspect-ratio: auto; min-height: 520px; }
  .harmony-circle .harmony-force { width: 165px; padding: 14px 10px; }
  .harmony-force-tag { font-size: 14px !important; }
  .harmony-force-desc { font-size: 11px !important; }
  .hf-top   { transform: translate(-50%, -5%); }
  .hf-right { transform: translate(5%, 0); }
  .hf-left  { transform: translate(-5%, 0); }
  .hcc-main { font-size: 12px; line-height: 1.9; }
}

.harmony-forces {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap;
}
.harmony-force {
  flex: 1 1 240px; max-width: 280px;
  background: rgba(17,17,17,0.9);
  border: 1px solid rgba(152,255,217,0.1);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
}
.harmony-force-tag {
  font-family: var(--ff-serif-jp);
  font-size: 16px; font-weight: 600;
  margin-bottom: 10px;
}
.harmony-force-tag small {
  font-size: 12px; font-weight: 400;
  opacity: 0.7;
}
.harmony-force-desc {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   SECTION: s-venn（ベン図独立セクション）
   ============================================================ */
.s-venn {
  padding: 60px 0;
  background: #000;
}
.s-venn .section-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 20px;
}

/* ============================================================
   権威バッジ・アイコン画像（絵文字→PNG差し替え）
   ============================================================ */
.auth-icon-img {
  width: 40px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.trust-ev-icon-img {
  width: 32px; height: 32px;
  object-fit: contain;
  display: block; margin: 0 auto 6px;
}
