/* Reference-image palette preview. Colors only: no layout or animation changes. */
:root {
  --night: #060606;
  --brand: #5B22FB;
  --brand-light: #C8B4FE;
  --reference-white: #F9F8FD;
  --reference-purple: #906DFC;
  --reference-deep: #3B00F8;
  --reference-line: #6236FF;
  --gradient-brand: linear-gradient(90deg, #F9F8FD 0%, #C8B4FE 28%, #906DFC 52%, #5B22FB 76%, #3B00F8 100%);
  --gradient-purple: linear-gradient(90deg, #906DFC 0%, #5B22FB 60%, #3B00F8 100%);
  --gradient-button: linear-gradient(110deg, #5B22FB 0%, #3B00F8 100%);
  --gradient-line: linear-gradient(90deg, transparent 0%, #3B00F8 12%, #6236FF 32%, #906DFC 50%, #6236FF 68%, #3B00F8 88%, transparent 100%);
}
.site-header { background: rgba(6, 6, 6, .98); border-bottom-color: var(--reference-line); box-shadow: 0 1px 8px rgba(98,54,255,.3); }
.hero, .hero::after, .section-dark, .mid-cta, .final-cta { background: #060606; }
.hero, .section-dark, .mid-cta, .final-cta { color: #F9F8FD; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .section-heading h2, .faq-intro h2 {
    background-image: var(--gradient-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-copy h1, .section-dark .section-heading h2,
  .developer-heading h2, .mid-cta-content h2, .final-cta h2 {
    background-image: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.header-cta, .button-primary, .button-primary:hover,
.sticky-trial .button, .plan-popular .plan-button,
.billing-option.is-active, .popular-badge {
  color: #F9F8FD;
  background: var(--gradient-button);
  border-color: #5B22FB;
}
.button-primary { box-shadow: 0 10px 36px rgba(91,34,251,.34), inset 0 1px rgba(249,248,253,.2); }
.button-primary:hover { box-shadow: 0 15px 48px rgba(91,34,251,.5); }
.header-cta { box-shadow: 0 6px 24px rgba(91,34,251,.25); }
.header-cta:hover { box-shadow: 0 10px 30px rgba(91,34,251,.43); }
.button-light { background: #F9F8FD; color: #3B00F8; }
.section-index { color: #5B22FB; }
.section-dark .section-index, .step-number { color: #C8B4FE; }
.plan-popular { border-color: #5B22FB; box-shadow: 0 18px 54px rgba(91,34,251,.15); }
.cost-table .cost-highlight { background: rgba(91,34,251,.19); }
.step-card, .cost-table-wrap, .pricing-details { border-image-source: var(--gradient-line); border-image-slice: 1; }
.slide-dot span { background: var(--reference-line); box-shadow: 0 0 6px rgba(98,54,255,.65); }
.slide-dot span::after { background: linear-gradient(90deg, #C8B4FE, #906DFC, #5B22FB, #3B00F8); }
.comparison-divider {
  background: linear-gradient(180deg, transparent, #C8B4FE 13%, #F9F8FD 50%, #906DFC 87%, transparent);
  box-shadow: 0 0 9px rgba(249,248,253,.54), 0 0 17px rgba(91,34,251,.38);
}
.comparison-beam {
  background: linear-gradient(180deg, transparent, #C8B4FE 12%, #F9F8FD 49%, #906DFC 72%, transparent);
  box-shadow: 0 0 8px #F9F8FD, 0 0 22px #906DFC, 0 0 48px rgba(91,34,251,.95);
}
.comparison-sheen::before {
  background: linear-gradient(90deg, transparent, rgba(249,248,253,.12) 23%, rgba(200,180,254,.88) 49%, rgba(144,109,252,.18) 72%, transparent);
}
button:focus-visible, a:focus-visible, summary:focus-visible { outline-color: #906DFC; }

/* Black surfaces except the footer; reference-style Japanese Mincho typography. */
:root {
  --sans: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --gradient-purple: var(--gradient-brand);
}
body, body[data-theme='dark'] {
  --page: #060606;
  --soft: #060606;
  --ink: #F9F8FD;
  --muted: #B9B6C4;
  --line: rgba(200,180,254,.2);
  --panel: #060606;
  --panel-contrast: #060606;
  background: #060606;
  color: #F9F8FD;
}
main > section, .proof, .scenes, .features, .industry, .pricing, .faq,
.proof-card, .feature-card, .industry-card, .plan-card, .resolution-card,
.billing-switch, .video-frame, .video-placeholder,
.asset-frame, .hero .asset-frame, body[data-theme='dark'] .asset-frame {
  background: #060606;
}
.asset-code, .asset-ratio { color: #B9B6C4; }
.feature-card, .industry-card, .plan-card, .proof-card, .resolution-card {
  color: #F9F8FD;
  border-color: rgba(200,180,254,.2);
}
.plan-popular, .resolution-recommended { border-color: #5B22FB; }
.plan-button, .plan-points, .industry-card a, .faq-intro > a { color: #C8B4FE; }
.plan-popular .plan-button, .plan-button:hover { color: #F9F8FD; }
.trial-dock { background: rgba(6,6,6,.98); }
.site-footer {
  --page: #FFFFFF;
  --ink: #17151C;
  --muted: #66636F;
  --line: #E5E2EA;
  background: #FFFFFF;
  color: #66636F;
}
body[data-theme='dark'] .footer-brand .brand-logo { filter: none; }

/* Gradient belongs to the glyph run, not the wider heading container. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-copy h1, .section-heading h2, .faq-intro h2,
  .developer-heading h2, .mid-cta-content h2, .final-cta h2,
  .section-dark .section-heading h2 {
    background-image: none;
    color: #F9F8FD;
  }
  .gradient-text {
    display: inline;
    background-image: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    color: transparent;
  }
}
/* Explicitly requested neon blue #3D4FFF; no border or exterior glow. */
:is(.header-cta, .button-primary, .button-light, .plan-button, .trial-dock > a, .billing-option.is-active),
:is(.header-cta, .button-primary, .button-light, .plan-button, .trial-dock > a, .billing-option.is-active):hover {
  background: #3D4FFF;
  color: #F9F8FD;
  border-color: transparent;
  box-shadow: none;
}

/* 文字を選んだときの表示。グラデーション文字は文字色が透明のため、選んだ部分は白い文字にする。 */
::selection { background: #3D4FFF; color: #FFFFFF; -webkit-text-fill-color: #FFFFFF; }
