/* ==========================================
   URUTEQ MCP — Product Page (Dark)
   - Performance-first rewrite
   - No: backdrop-filter / scroll-behavior:smooth / will-change abuse / translateZ abuse
   ========================================== */

.mcp-page {
  --mcp-bg: #060A1F;
  --mcp-bg-card: #131D44;
  --mcp-bg-card-strong: #1B2554;
  --mcp-border: rgba(94, 231, 255, 0.12);
  --mcp-border-strong: rgba(94, 231, 255, 0.32);
  --mcp-text: #E6EEFC;
  --mcp-text-muted: #94A3C7;
  --mcp-text-faint: #6B7AA1;
  --mcp-key: #102C78;
  --mcp-accent: #29A9FF;
  --mcp-cyan: #5EE7FF;
  --mcp-grad-text: linear-gradient(135deg, #FFFFFF 0%, #5EE7FF 45%, #29A9FF 100%);
  --mcp-grad-button: linear-gradient(135deg, #29A9FF 0%, #102C78 100%);
  --mcp-grad-card-accent: linear-gradient(135deg, rgba(94,231,255,0.18) 0%, rgba(41,169,255,0.05) 100%);

  color: var(--mcp-text);
  background: var(--mcp-bg);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mcp-page * { box-sizing: border-box; }

/* hide WP default title block for this page */
.mcp-page #Contents,
.mcp-page #title { display: none; }

@media (prefers-reduced-motion: reduce) {
  .mcp-page *,
  .mcp-page *::before,
  .mcp-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ===== Layout primitives ===== */
.mcp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) { .mcp-inner { padding: 0 20px; } }

.mcp-section {
  padding: 120px 0;
  position: relative;
  /* contain paint within section so absolutely positioned backgrounds don't bleed into adjacent sections' paint */
  contain: layout paint;
}
@media (max-width: 768px) { .mcp-section { padding: 80px 0; } }

/* ===== Background grid (Hero only) ===== */
.mcp-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(94, 231, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 231, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ===== Background glows — FIXED, GPU-friendly, never repaint on scroll ===== */
.mcp-bg-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.mcp-bg-glow--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(41,169,255,0.4) 0%, rgba(41,169,255,0) 70%);
  top: -160px; left: -120px;
}
.mcp-bg-glow--2 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(94,231,255,0.32) 0%, rgba(94,231,255,0) 70%);
  top: 40px; right: -180px;
  opacity: 0.35;
}
/* In-section glows kept absolute (small + relative to viewport scrolling) */
.mcp-bg-glow--in {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.mcp-bg-glow--center {
  background: radial-gradient(circle, rgba(41,169,255,0.22) 0%, rgba(41,169,255,0) 65%);
}
.mcp-bg-glow--impact {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(94,231,255,0.2) 0%, rgba(94,231,255,0) 65%);
}
.mcp-bg-glow--cta {
  width: 600px; height: 420px;
  top: auto; bottom: -100px;
  background: radial-gradient(ellipse, rgba(41,169,255,0.32) 0%, rgba(41,169,255,0) 65%);
}

/* ===== HERO ===== */
.mcp-hero {
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  padding: 140px 0 100px;
  position: relative;
  background: radial-gradient(ellipse at top, #0E1638 0%, #060A1F 60%), var(--mcp-bg);
  overflow: hidden;
}
.mcp-hero--center .mcp-hero__center-inner {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* ===== Badge ===== */
.mcp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(13, 22, 56, 0.7);
  border: 1px solid rgba(94, 231, 255, 0.32);
  color: var(--mcp-cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mcp-badge__spark {
  width: 14px;
  height: 14px;
  animation: mcp-spark 2.4s ease-in-out infinite;
}
@keyframes mcp-spark {
  0%, 100% { opacity: 0.6; transform: rotate(0); }
  50%      { opacity: 1;   transform: rotate(45deg); }
}

/* ===== Hero H1 — Massive Impact (large on both PC & SP) ===== */
.mcp-hero__h1 {
  font-size: clamp(48px, 9.5vw, 128px);
  line-height: 1.05;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.03em;
  text-align: center;
}
.mcp-h1-grad {
  background: var(--mcp-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.mcp-h1-grad--brand {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  font-size: 0.42em;
  margin-bottom: 20px;
}
.mcp-hero__h1-sub {
  display: block;
  color: var(--mcp-text);
  font-size: 1em;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.mcp-hero__h1-accent {
  background: linear-gradient(135deg, #5EE7FF 0%, #29A9FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 600px) {
  /* SP: bump up to fill the screen (4 lines via br-sp) */
  .mcp-hero__h1 {
    font-size: clamp(52px, 14vw, 88px);
    letter-spacing: -0.025em;
  }
  .mcp-h1-grad--brand { font-size: 0.4em; margin-bottom: 18px; }
  .mcp-hero__h1-sub { line-height: 1.18; }
}

.mcp-hero__lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.95;
  color: var(--mcp-text-muted);
  margin: 0;
  max-width: 720px;
}

/* ===== Chat input mock (Hero) — Performance: clip-path animation ===== */
.mcp-chat-mock {
  width: 100%;
  max-width: 720px;
  margin: 4px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mcp-chat-mock__inputbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  background: #0E1638;
  border: 1px solid rgba(94, 231, 255, 0.3);
  border-radius: 18px;
  position: relative;
  isolation: isolate;
}
/* glow via pseudo-element so it doesn't trigger box-shadow repaint */
.mcp-chat-mock__inputbar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(41,169,255,0.4) 0%, rgba(41,169,255,0) 70%);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}
.mcp-chat-mock__avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(94, 231, 255, 0.1);
  border: 1px solid rgba(94, 231, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mcp-chat-mock__avatar svg { width: 18px; height: 18px; }

.mcp-chat-mock__input {
  flex: 1;
  font-size: 15px;
  color: var(--mcp-text);
  text-align: left;
  display: flex;
  align-items: center;
  min-height: 32px;
  overflow: hidden;
  white-space: nowrap;
}
/* typing animation: width steps so caret (border-right) follows the text end */
.mcp-chat-mock__typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
  vertical-align: bottom;
  border-right: 2px solid var(--mcp-cyan);
  padding-right: 2px;
  animation:
    mcp-typing 6s steps(28, end) infinite,
    mcp-caret 1s steps(2) infinite;
}
@keyframes mcp-typing {
  0%, 4%   { max-width: 0; }
  46%, 72% { max-width: 100%; }
  96%, 100%{ max-width: 0; }
}
@keyframes mcp-caret {
  50% { border-right-color: transparent; }
}

.mcp-chat-mock__send {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  background: var(--mcp-grad-button);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}
.mcp-chat-mock__send svg { width: 14px; height: 14px; }

.mcp-chat-mock__suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.mcp-chat-mock__chip {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mcp-text-muted);
  background: rgba(20, 30, 70, 0.6);
  border: 1px solid rgba(94, 231, 255, 0.18);
  border-radius: 999px;
  cursor: default;
}

/* Brands */
.mcp-hero__brands {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mcp-hero__brands-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--mcp-text-faint);
  font-weight: 700;
}
.mcp-hero__brands-list {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.mcp-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mcp-text-muted);
}
.mcp-hero__brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mcp-hero__brand-dot--claude  { background: #FF9D4D; }
.mcp-hero__brand-dot--chatgpt { background: #10A37F; }
.mcp-hero__brand-dot--other   { background: #A78BFA; }

.mcp-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.mcp-hero__actions--center { justify-content: center; }

/* ===== Buttons ===== */
.mcp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}
.mcp-btn svg { width: 16px; height: 16px; }
.mcp-btn--primary {
  background: var(--mcp-grad-button);
  color: #fff;
  box-shadow: 0 8px 20px rgba(41, 169, 255, 0.25);
}
.mcp-btn--primary:hover {
  transform: translateY(-2px);
  color: #fff;
}
.mcp-btn--ghost {
  background: rgba(13, 22, 56, 0.7);
  border-color: rgba(94, 231, 255, 0.28);
  color: var(--mcp-text);
}
.mcp-btn--ghost:hover {
  border-color: rgba(94, 231, 255, 0.55);
  color: var(--mcp-cyan);
}
.mcp-btn--lg { padding: 18px 34px; font-size: 16px; }

/* ===== Section headers ===== */
.mcp-section-head {
  text-align: center;
  margin-bottom: 64px;
}
.mcp-section-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--mcp-cyan);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid rgba(94, 231, 255, 0.25);
  border-radius: 999px;
  background: rgba(94, 231, 255, 0.05);
}
.mcp-section-title {
  font-size: 40px;
  line-height: 1.4;
  font-weight: 900;
  margin: 0 0 20px;
  color: var(--mcp-text);
  letter-spacing: -0.01em;
}
@media (max-width: 768px) { .mcp-section-title { font-size: 28px; line-height: 1.5; } }
.mcp-section-desc {
  font-size: 16px;
  line-height: 2;
  color: var(--mcp-text-muted);
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 768px) { .mcp-section-desc { font-size: 14px; line-height: 1.9; } }

/* ===== Grid ===== */
.mcp-grid { display: grid; gap: 24px; }
.mcp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mcp-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .mcp-grid--2, .mcp-grid--3 { grid-template-columns: 1fr; }
}

/* ===== Card base — shared across pain/feature/case/target/roadmap ===== */
.mcp-card {
  position: relative;
  padding: 32px 28px;
  background: var(--mcp-bg-card);
  border: 1px solid var(--mcp-border);
  border-radius: 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mcp-card:hover {
  border-color: var(--mcp-border-strong);
  transform: translateY(-3px);
}

/* Pain icon */
.mcp-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--mcp-grad-card-accent);
  border: 1px solid rgba(94, 231, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mcp-card-icon svg { width: 28px; height: 28px; }
.mcp-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mcp-text);
  margin: 0 0 12px;
}
.mcp-card-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--mcp-text-muted);
  margin: 0;
}

/* ===== Section: What is — Architecture diagram ===== */
.mcp-section--what {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 22, 56, 0.4) 50%, transparent 100%);
}

/* Architecture container (16:9 SVG) */
.mcp-architecture {
  max-width: 1280px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 2;
}
.mcp-architecture__svg-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  border: 1px solid rgba(94, 231, 255, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
  /* limit paint scope — large SVG won't trigger ancestor repaint */
  contain: layout paint;
}
.mcp-architecture__svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 3-card explainer below diagram */
.mcp-arch-explainer { margin-top: 8px; }
.mcp-arch-step {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mcp-cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* S2 issues variant — borderless, blends into page background */
.mcp-architecture--issues .mcp-architecture__svg-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* ===== Feature Card (S4) — extends .mcp-card ===== */
.mcp-feature-card {
  padding: 40px 32px;
}
.mcp-feature-card--accent {
  background: linear-gradient(180deg, rgba(41,169,255,0.12) 0%, rgba(20,30,70,0.4) 100%);
  border-color: rgba(94, 231, 255, 0.3);
}
.mcp-feature-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--mcp-cyan);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.mcp-feature-title {
  font-size: 22px;
  line-height: 1.55;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--mcp-text);
}
.mcp-feature-desc {
  font-size: 14px;
  line-height: 1.95;
  color: var(--mcp-text-muted);
  margin: 0 0 20px;
}
.mcp-feature-desc strong { color: var(--mcp-cyan); font-weight: 700; }
.mcp-feature-tags {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mcp-feature-tags li {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mcp-cyan);
  border: 1px solid rgba(94, 231, 255, 0.25);
  border-radius: 999px;
  background: rgba(94, 231, 255, 0.05);
}

/* ===== Case Card (S5) — extends .mcp-card ===== */
.mcp-section--cases {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 22, 56, 0.5) 100%);
}
.mcp-case-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mcp-case-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--mcp-grad-card-accent);
  border: 1px solid rgba(94, 231, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mcp-case-icon svg { width: 32px; height: 32px; }
.mcp-case-title {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0;
  color: var(--mcp-text);
}
.mcp-case-desc {
  font-size: 14px;
  line-height: 1.95;
  color: var(--mcp-text-muted);
  margin: 0;
}
.mcp-case-desc strong { color: var(--mcp-cyan); font-weight: 700; }

/* ===== Impact (S6) ===== */
.mcp-section--impact {
  padding: 140px 0;
  text-align: center;
}
.mcp-impact-wrap {
  position: relative;
  z-index: 2;
}
.mcp-impact-title {
  font-size: 36px;
  line-height: 1.65;
  font-weight: 900;
  color: var(--mcp-text);
  margin: 0 0 24px;
}
@media (max-width: 768px) { .mcp-impact-title { font-size: 24px; line-height: 1.75; } }
.mcp-impact-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.4em;
  letter-spacing: -0.03em;
  padding: 0 4px;
}
.mcp-impact-num--before {
  color: var(--mcp-text-faint);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 107, 107, 0.6);
  text-decoration-thickness: 3px;
}
.mcp-impact-num--after {
  background: var(--mcp-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mcp-impact-arrow {
  display: inline-block;
  color: var(--mcp-cyan);
  font-weight: 700;
  margin: 0 12px;
}
.mcp-impact-note {
  font-size: 13px;
  color: var(--mcp-text-faint);
  margin: 0;
}

/* ===== Target Card (S7) ===== */
.mcp-target-card { padding: 36px 32px; }
.mcp-target-card--alt {
  background: linear-gradient(180deg, rgba(41,169,255,0.08) 0%, rgba(20,30,70,0.3) 100%);
  border-color: rgba(94, 231, 255, 0.25);
}
.mcp-target-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mcp-cyan);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mcp-border);
  letter-spacing: 0.05em;
}
.mcp-target-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mcp-target-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mcp-text-muted);
}
.mcp-target-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mcp-grad-button);
}
.mcp-target-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 13px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.mcp-target-list li strong { color: var(--mcp-text); font-weight: 700; }

/* ===== CTA (S9) ===== */
.mcp-section--cta {
  padding: 140px 0 160px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 30, 70, 0.4) 100%);
}
.mcp-cta-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.mcp-cta-title {
  font-size: 44px;
  line-height: 1.5;
  font-weight: 900;
  margin: 16px 0 24px;
  color: var(--mcp-text);
}
@media (max-width: 768px) { .mcp-cta-title { font-size: 28px; } }
.mcp-cta-text {
  font-size: 16px;
  line-height: 2;
  color: var(--mcp-text-muted);
  margin: 0 0 36px;
}
.mcp-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Animations (entry only) ===== */
/* will-change only during the animation lifetime via animationend handler in JS */
.mcp-fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: mcp-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mcp-stagger-1 { animation-delay: 0.1s; }
.mcp-stagger-2 { animation-delay: 0.25s; }
.mcp-stagger-3 { animation-delay: 0.4s; }
@keyframes mcp-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive helpers */
.br-md { display: none; }
@media (min-width: 769px) { .br-md { display: inline; } }
/* SP-only line break (≤600px) for very narrow viewports */
.br-sp { display: none; }
@media (max-width: 600px) { .br-sp { display: inline; } }

/* PC / SP switch — used when 16:9 SVG is unreadable on small screens */
/* Breakpoint at 900px to match .mcp-grid--3 stacking */
.mcp-only-pc { display: block; }
.mcp-only-sp { display: none; }
@media (max-width: 900px) {
  .mcp-only-pc { display: none; }
  .mcp-only-sp { display: block; }
}

/* =====================================================
   SP FV見出しサイズ調整 (Gemini Spark テイストの控えめサイズ)
   - URUTEQ MCP : 30〜42px
   - 日本語見出し : 24〜36px
   - 行間広めで詰まり感を回避
   - 子span を直接上書き (h1 の em 継承では反映されないため)
   ===================================================== */
@media screen and (max-width: 767px) {
  .mcp-page .mcp-hero__center-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mcp-page .mcp-badge {
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 999px;
  }

  .mcp-page .mcp-hero__h1 {
    margin-top: 26px;
    margin-bottom: 26px;
    line-height: 1.08 !important;
    letter-spacing: -0.02em;
  }

  .mcp-page .mcp-hero__h1 .mcp-h1-grad--brand {
    display: block;
    font-size: clamp(30px, 8.8vw, 42px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em;
  }

  .mcp-page .mcp-hero__h1 .mcp-hero__h1-sub {
    display: block;
    margin-top: 12px;
    font-size: clamp(24px, 7.6vw, 36px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  .mcp-page .mcp-hero__h1 .mcp-hero__h1-accent {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .mcp-page .mcp-hero__lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.9;
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
  }

  .mcp-page .mcp-chat-mock {
    margin-top: 28px;
  }
}

/* iPhone SE など幅が狭い端末だけ更に1段階控えめに */
@media screen and (max-width: 374px) {
  .mcp-page .mcp-hero__h1 .mcp-h1-grad--brand {
    font-size: clamp(28px, 8.4vw, 36px) !important;
  }

  .mcp-page .mcp-hero__h1 .mcp-hero__h1-sub {
    font-size: clamp(22px, 7.2vw, 32px) !important;
  }

  .mcp-page .mcp-hero__lead {
    font-size: 14px;
    line-height: 1.85;
  }
}
