/* ── リセット & ベース ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #050a0f;
  --bg2:       #0a1520;
  --bg3:       #0d1e30;
  --text:      #e8f0f8;
  --muted:     #6a8aa8;
  --accent:    #00d4ff;
  --accent2:   #0077e6;
  --neon:      #00ffcc;
  --neon2:     #7b2fff;
  --silver:    #b8cfe0;
  --border:    rgba(0,180,255,0.15);
  --font-head: 'Orbitron', sans-serif;
  --font-body: 'Inter', 'Noto Sans JP', sans-serif;
  --radius:    12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── ナビゲーション ──────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(5,10,15,0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
  z-index: 2;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-links a {
  color: var(--silver);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 7px 20px;
  border-radius: 4px;
  transition: background var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
}

/* ハンバーガー */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow-1 { width: 600px; height: 600px; top: -100px; left: -100px; background: rgba(0,119,230,0.12); }
.glow-2 { width: 500px; height: 500px; bottom: -50px; right: 10%; background: rgba(123,47,255,0.08); }

.hero-content { flex: 1; max-width: 560px; }

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #b8e8ff 50%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 17px;
  color: var(--silver);
  line-height: 2;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
  background: rgba(0,180,255,0.04);
}

.hero-mouse-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.hero-mouse-img {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 2;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 8px rgba(0,212,255,0.8))
    drop-shadow(0 0 30px rgba(0,212,255,0.4))
    drop-shadow(0 0 70px rgba(0,212,255,0.2));
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.15);
  animation: pulse-ring 3s ease-in-out infinite;
}
.ring-1 { width: 340px; height: 340px; animation-delay: 0s; }
.ring-2 { width: 440px; height: 440px; animation-delay: 1s; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.03); }
}

/* ── ボタン ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  box-shadow: 0 0 24px rgba(0,212,255,0.25);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0,212,255,0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--silver);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 18px 48px; font-size: 15px; }

/* ── Brand Strip ─────────────────────────────────── */
.brand-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 14px 0;
}

.brand-strip-inner {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
}
.brand-strip-inner .sep { color: var(--accent); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Features ────────────────────────────────────── */
.features {
  padding: 120px 0;
}

.section-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--silver);
  font-size: 16px;
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: rgba(0,212,255,0.4);
  transform: translateY(-4px);
}

.feature-card--large { grid-column: 1 / 3; }

.feature-icon { font-size: 26px; margin-bottom: 14px; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  color: var(--silver);
  font-size: 14px;
  line-height: 1.8;
}

.feature-img {
  width: 100%;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid var(--border);
  object-fit: cover;
  max-height: 200px;
}

.feature-demo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.demo-app {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg3);
  transition: all 0.8s ease;
}
.demo-app.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,212,255,0.06);
  box-shadow: 0 0 12px rgba(0,212,255,0.15);
}
.demo-arrow { color: var(--accent); font-size: 16px; }

.feature-compare {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 6px;
}

.compare-bad {
  background: rgba(255,60,60,0.06);
  border: 1px solid rgba(255,60,60,0.2);
  color: rgba(220,160,160,0.9);
}

.compare-good {
  background: rgba(0,255,204,0.06);
  border: 1px solid rgba(0,255,204,0.25);
  color: rgba(180,240,220,0.9);
}

.compare-icon {
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.compare-bad .compare-icon  { color: rgba(255,100,100,0.8); }
.compare-good .compare-icon { color: var(--neon); }

/* ── Software ────────────────────────────────────── */
.software {
  padding: 120px 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.software::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.software-inner {
  display: flex;
  gap: 80px;
  align-items: center;
}

.software-text { flex: 1; }

.software-desc {
  color: var(--silver);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.9;
}

.software-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.software-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--silver);
}
.check { color: var(--neon); font-weight: 700; font-size: 15px; flex-shrink: 0; }

.software-screen { flex: 1; position: relative; }

.app-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.screen-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.06), transparent 70%);
  pointer-events: none;
}

/* ── Specs ────────────────────────────────────────── */
.specs { padding: 120px 0; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-item {
  background: var(--bg2);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition);
}
.spec-item:hover { background: var(--bg3); }

.spec-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  font-family: var(--font-head);
}
.spec-value { font-size: 15px; color: #fff; font-weight: 500; }

/* ── Download CTA ─────────────────────────────────── */
.cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--bg2);
}

.cta-glow {
  position: absolute;
  width: 800px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0,119,230,0.15), transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 50%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  color: var(--silver);
  font-size: 15px;
  margin-bottom: 24px;
}

.cta-requirements {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.sep-dot { color: var(--accent); }

.cta-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  padding: 40px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--accent);
  opacity: 0.6;
}

.footer-copy { font-size: 12px; color: var(--muted); }

/* ── フェードイン ─────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── レスポンシブ：タブレット（〜1024px） ─────────── */
@media (max-width: 1024px) {
  .hero { gap: 40px; padding: 110px 32px 60px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: 1 / 3; }
  .software-inner { gap: 48px; }
}

/* ── レスポンシブ：スマホ（〜768px） ─────────────── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* ナビ */
  .nav-inner { padding: 0 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5,10,15,0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 24px; font-size: 14px; }
  .nav-cta { margin: 8px 20px; border-radius: 4px; text-align: center; }

  /* Hero */
  .hero {
    flex-direction: column;
    padding: 100px 20px 60px;
    min-height: auto;
    gap: 40px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-eyebrow { font-size: 10px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { justify-content: center; }
  .hero-badge-row { justify-content: center; }
  .hero-mouse-wrap { min-height: 280px; width: 100%; }
  .hero-mouse-img { width: 200px; }
  .ring-1 { width: 260px; height: 260px; }
  .ring-2 { width: 320px; height: 320px; }

  /* Features */
  .features { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card--large { grid-column: 1; }
  .section-desc { font-size: 14px; }
  .feature-demo { justify-content: center; }

  /* Software */
  .software { padding: 80px 0; }
  .software-inner { flex-direction: column; gap: 40px; }
  .software-text { order: 1; }
  .software-screen { order: 2; width: 100%; }

  /* Specs */
  .specs { padding: 80px 0; }
  .specs-grid { grid-template-columns: 1fr 1fr; }

  /* CTA */
  .cta { padding: 80px 0; }
  .cta-requirements { flex-direction: column; gap: 6px; }
  .sep-dot { display: none; }
  .btn--lg { padding: 16px 32px; font-size: 14px; width: 100%; max-width: 320px; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── レスポンシブ：小型スマホ（〜480px） ─────────── */
@media (max-width: 480px) {
  .hero-title { letter-spacing: 4px; }
  .specs-grid { grid-template-columns: 1fr; }
  .badge { font-size: 9px; padding: 5px 10px; }
}

/* ── Spec note ──────────────────────────────────── */
.spec-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.7;
}

/* ── Feature note ──────────────────────────────── */
.feature-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.7;
}
.feature-note-link {
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--transition);
}
.feature-note-link:hover { opacity: 0.75; }

/* ── Q&A ────────────────────────────────────────── */
.qa {
  padding: 120px 0;
  background: var(--bg2);
  position: relative;
}
.qa::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}

.qa-item {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.qa-item:last-child { border-bottom: none; }
.qa-item[open] { background: rgba(0,180,255,0.04); }

.qa-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  user-select: none;
  transition: color var(--transition);
}
.qa-question::-webkit-details-marker { display: none; }
.qa-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition);
}
.qa-item[open] .qa-question::after {
  content: '×';
}
.qa-question:hover { color: var(--accent); }

.qa-answer {
  padding: 0 28px 22px;
}
.qa-answer p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.9;
  border-left: 2px solid rgba(0,180,255,0.3);
  padding-left: 16px;
}

/* ── Contact ────────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact-desc {
  color: var(--silver);
  font-size: 15px;
  margin-bottom: 48px;
  margin-top: -8px;
  line-height: 1.8;
}

.contact-form {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a8aa8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-select option { background: var(--bg2); color: var(--text); }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }

.form-submit {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.form-submit:hover {
  box-shadow: 0 0 36px rgba(0,212,255,0.45);
  transform: translateY(-2px);
}

/* ── Q&A / Contact レスポンシブ ─────────────────── */
@media (max-width: 768px) {
  .qa { padding: 80px 0; }
  .qa-question { padding: 18px 20px; font-size: 14px; }
  .qa-answer { padding: 0 20px 18px; }
  .contact { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; justify-content: center; }
}

/* 自動プロファイル切替カード：画像の代わりに数字を大きく見せ、アプリ名の流れは下端へ */
.feature-card--auto { display: flex; flex-direction: column; }
.feature-card--auto .feature-demo { margin-top: auto; padding-top: 24px; }
.feature-metric-big { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px 0; }
.fmb-num { font-family: var(--font-head); font-size: 64px; font-weight: 700; line-height: 1; color: var(--accent); text-shadow: 0 0 24px rgba(0,212,255,0.35); }
.fmb-num small { font-family: var(--font-body); font-size: 20px; font-weight: 600; color: var(--text); margin: 0 4px; }
.fmb-label { font-size: 13px; color: var(--muted); letter-spacing: 0.05em; }
@media (max-width: 768px) { .fmb-num { font-size: 48px; } .feature-metric-big { padding: 20px 0 8px; } }

/* ── なぜSYNTHXAなのか（3つのポイント） ── */
.why { padding: 120px 0 40px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 0 0 28px; overflow: hidden; }
.why-card-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.why-card h3, .why-card p { padding: 0 24px; }
.why-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.why-note a { color: var(--accent); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 768px) { .why { padding: 80px 0 24px; } }

/* 自動プロファイル切替カード：左に説明と数字、右に画像。アプリ名は大きめに */
.auto-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; flex: 1; }
.auto-text .feature-metric-big { padding: 24px 0 8px; }
.auto-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.feature-card--auto .feature-demo { gap: 12px; }
.feature-card--auto .demo-app { font-size: 15px; padding: 10px 22px; }
.feature-card--auto .demo-arrow { font-size: 18px; }
@media (max-width: 768px) { .auto-body { grid-template-columns: 1fr; gap: 16px; } .feature-card--auto .demo-app { font-size: 13px; padding: 8px 14px; } }

/* ── ヒーロー：ロゴ文字の切れ対策・リード文・数字バッジ ── */
.hero-title { display: inline-block; font-size: clamp(48px, 7vw, 92px); letter-spacing: 6px; padding-right: 6px; }
.hero-lead { font-size: 22px; font-weight: 600; line-height: 1.6; margin: 4px 0 14px; color: var(--text); }
.hero-lead em { font-style: normal; color: var(--accent); text-shadow: 0 0 16px rgba(0,212,255,0.35); }
.hero-sub { margin-bottom: 20px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 36px; padding: 0; }
.hero-points li { font-size: 13px; color: var(--silver); display: flex; align-items: center; gap: 6px; }
.hero-points li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.sp-br { display: none; }
.hero-stat { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px;
  background: rgba(8,18,28,0.82); border: 1px solid rgba(0,212,255,0.35); box-shadow: 0 0 28px rgba(0,212,255,0.12); backdrop-filter: blur(6px); }
.hero-stat--top { top: 12%; right: 2%; }
.hero-stat--bottom { bottom: 12%; left: 0; }
.hs-num { font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; color: var(--accent); text-shadow: 0 0 16px rgba(0,212,255,0.4); }
.hs-num small { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--text); margin: 0 3px; text-shadow: none; }
.hs-label { font-size: 12px; line-height: 1.45; color: var(--silver); }
@media (max-width: 768px) {
  .hero-lead { font-size: 18px; }
  .hero-points { justify-content: center; }
  .sp-br { display: inline; }
  .hero-stat { padding: 10px 12px; gap: 8px; }
  .hs-num { font-size: 28px; }
  .hs-label { font-size: 10px; }
  .hero-stat--top { top: 4%; right: 0; }
  .hero-stat--bottom { bottom: 4%; left: 0; }
}

/* ヒーローの上下余白を詰める（画面いっぱいの高さをやめ、中身の高さに合わせる） */
.hero { min-height: auto; padding-top: 104px; padding-bottom: 48px; }
.hero-mouse-wrap { min-height: 420px; }
@media (max-width: 768px) { .hero { padding-top: 88px; padding-bottom: 32px; } .hero-mouse-wrap { min-height: 280px; } }

/* 日本語を言葉のまとまりで改行する（未対応のブラウザでは従来どおり） */
body { word-break: auto-phrase; line-break: strict; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* 最後の大きいカードは横幅いっぱいに（右側を空けない） */
.features-grid > .feature-card--large:last-child { grid-column: 1 / -1; }

/* 大きな「SYNTHXA」が幅の狭いスマホで画面からはみ出さないように（2026-10-22） */
@media (max-width: 380px) {
  .hero-title { font-size: 12.8vw; letter-spacing: 3px; padding-right: 3px; }
}
