:root {
  --bg: #07111f;
  --bg-soft: #0d1727;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(148, 163, 184, 0.25);
  --text: #e5eef9;
  --muted: #9cb0c8;
  --ink: #0f172a;
  --surface: #f8fbff;
  --surface-2: #eef4fb;
  --primary: #ff5178;
  --primary-strong: #ff3064;
  --accent: #7c3aed;
  --shadow-lg: 0 24px 70px rgba(2, 12, 27, 0.45);
  --shadow-md: 0 18px 40px rgba(7, 17, 31, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-h: 86px;
  --container: min(1200px, calc(100% - 40px));
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.24), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 81, 120, 0.22), transparent 30%),
    linear-gradient(180deg, #08111f 0%, #07111f 38%, #f6f9fd 38%, #f6f9fd 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 58%);
  content: "";
}

img,
video {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  color: #fff;
  background: var(--primary);
}

:focus-visible {
  outline: 3px solid rgba(255, 81, 120, 0.5);
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 16px;
  color: #fff;
  background: #111827;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 81, 120, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
}

.desktop-nav a,
.footer-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.desktop-nav a::after,
.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: #fff;
}

.desktop-nav a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.24);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(255, 81, 120, 0.26);
}

.button-dark {
  min-height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.button-ghost {
  color: #f8fbff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-button {
  margin-top: 8px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.97);
}

.mobile-nav nav {
  display: grid;
  padding: 14px 0 20px;
  gap: 10px;
}

.mobile-nav a {
  padding: 12px 0;
  color: #e8f1fb;
  font-weight: 700;
}

.hero {
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 66px);
}

.hero-copy {
  max-width: 610px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9bbcf;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  content: "";
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.55rem, 5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: #ffd1dc;
  background: linear-gradient(90deg, #ffdce5 0%, #ffffff 50%, #d1d5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  margin-top: 20px;
  color: #c2d1e2;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  color: #dfe9f4;
}

.hero-points li::before,
.check-list li::before,
.pricing-card li::before {
  position: absolute;
  left: 0;
  color: var(--primary);
  content: "●";
}

.hero-visual {
  min-width: 0;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-stage::before {
  position: absolute;
  inset: auto -20% -35% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.28);
  filter: blur(90px);
  content: "";
}

.hero-iso {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 640px);
  opacity: 0.9;
}

.device-card {
  position: absolute;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(6, 12, 22, 0.84);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.device-card figcaption {
  margin-bottom: 10px;
  color: #a9bbcf;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.laptop-card {
  left: 30px;
  bottom: 28px;
  width: min(72%, 520px);
  transform: rotate(-4deg);
}

.phone-card {
  right: 24px;
  bottom: 30px;
  width: min(34%, 220px);
  transform: rotate(6deg);
}

.device-screen {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.ratio-wide {
  aspect-ratio: 16 / 9.4;
}

.ratio-phone {
  aspect-ratio: 9 / 19.5;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(7, 17, 31, 0.18);
}

.floating-chip strong {
  font-size: 0.96rem;
}

.floating-chip span {
  color: #475569;
  font-size: 0.82rem;
}

.chip-top {
  top: 28px;
  left: 28px;
}

.chip-bottom {
  right: 34px;
  top: 182px;
}

.impact-strip {
  padding-bottom: 32px;
}

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

.impact-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.impact-grid strong {
  color: #ffc4d1;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

.impact-grid h2 {
  margin-top: 10px;
  font-size: 1.28rem;
}

.impact-grid p {
  margin-top: 10px;
  color: #bac8d9;
}

.section {
  padding: 104px 0;
  color: var(--ink);
}

.section-head {
  max-width: 760px;
}

.section-head h2,
.works-copy h2,
.cta-panel h2 {
  margin-top: 16px;
  color: #0f172a;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p,
.works-copy p,
.cta-panel p,
.seo-note p {
  margin-top: 16px;
  color: #475569;
  font-size: 1rem;
}

.card-grid,
.service-grid,
.pricing-grid {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}

.card-grid-3,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card,
.service-card,
.pricing-card,
.step-card,
.showcase,
.sticky-panel,
.faq-list,
.cta-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.glass-card {
  padding: 28px;
}

.icon-badge,
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(124, 58, 237, 0.18);
}

.glass-card h3,
.service-card h3,
.pricing-card h3,
.step-card h3,
.seo-note h3,
.faq-item summary {
  margin-top: 18px;
  color: #0f172a;
  font-size: 1.32rem;
  line-height: 1.3;
}

.glass-card p,
.service-card p,
.pricing-card li,
.step-card p,
.faq-item p {
  margin-top: 12px;
  color: #475569;
}

.works-section {
  padding-top: 32px;
}

.works-layout,
.seo-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.works-copy,
.seo-copy {
  padding-top: 18px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.check-list li,
.pricing-card li {
  position: relative;
  padding-left: 22px;
}

.works-visuals {
  display: grid;
  gap: 20px;
}

.showcase {
  overflow: hidden;
}

.large-showcase {
  background: linear-gradient(180deg, #fff, #edf4fb);
}

.showcase-top {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  background: #eef3f8;
}

.showcase-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.showcase-body {
  overflow: hidden;
}

.showcase-body img,
.showcase-media img,
.showcase-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.large-showcase .showcase-body {
  aspect-ratio: 16 / 9.4;
}

.mini-stack {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 20px;
}

.showcase-media {
  aspect-ratio: 16 / 10;
}

.showcase figcaption {
  padding: 14px 18px 18px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
}

.seo-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.sticky-panel {
  position: sticky;
  top: 112px;
  padding: 20px;
  overflow: hidden;
}

.seo-note {
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  background: #f8fbff;
}

.step-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.step-card {
  padding: 24px;
}

.step-card span,
.price-label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: #7c2d12;
  background: #fee2e2;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-grid {
  grid-template-columns: 1.18fr 1fr 1fr 1fr;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.service-card img {
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f3f6fb);
}

.pricing-card {
  padding: 28px;
}

.price {
  margin-top: 12px;
  color: #0f172a;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.pricing-card.featured {
  position: relative;
  color: #fff;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #7c3aed 140%);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured li {
  color: #fff;
}

.pricing-card.featured .price-label {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.faq-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.faq-list {
  padding: 10px 18px;
}

.faq-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  position: relative;
  padding: 22px 44px 22px 0;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: #64748b;
  font-size: 1.3rem;
  transform: translateY(-50%);
  content: "+";
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 22px;
  margin: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 81, 120, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 253, 0.95));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  padding: 56px 0 26px;
  color: #d6e2f0;
  background: #08111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-copy {
  max-width: 420px;
  color: #9cb0c8;
}

.footer-links {
  display: grid;
  gap: 12px;
  justify-content: start;
}

.footer-contact p,
.footer-contact a,
.footer-bottom p {
  color: #9cb0c8;
}

.footer-bottom {
  padding-top: 22px;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.3);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .button-dark {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid,
  .works-layout,
  .seo-layout,
  .faq-layout,
  .footer-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 610px;
  }

  .impact-grid,
  .card-grid-3,
  .pricing-grid,
  .service-grid,
  .mini-stack {
    grid-template-columns: 1fr;
  }

  .service-grid {
    margin-top: 34px;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100% - 28px, 100% - 28px);
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(124, 58, 237, 0.22), transparent 34%),
      radial-gradient(circle at top right, rgba(255, 81, 120, 0.2), transparent 30%),
      linear-gradient(180deg, #08111f 0%, #07111f 30%, #f6f9fd 30%, #f6f9fd 100%);
  }

  .nav-wrap {
    min-height: 76px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-stage {
    min-height: 560px;
    padding: 18px;
  }

  .hero-iso {
    width: 100%;
    opacity: 0.72;
  }

  .floating-chip {
    gap: 2px;
    padding: 10px 12px;
  }

  .floating-chip span {
    font-size: 0.72rem;
  }

  .chip-top {
    top: 18px;
    left: 18px;
    max-width: 190px;
  }

  .chip-bottom {
    top: 140px;
    right: 18px;
    max-width: 180px;
  }

  .laptop-card {
    left: 16px;
    width: calc(100% - 100px);
    bottom: 18px;
  }

  .phone-card {
    right: 10px;
    bottom: 22px;
    width: 98px;
  }

  .impact-grid article,
  .glass-card,
  .service-card,
  .pricing-card,
  .step-card,
  .faq-list,
  .cta-panel {
    padding: 22px;
  }

  .section {
    padding: 82px 0;
  }

  .section-head h2,
  .works-copy h2,
  .cta-panel h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .floating-cta {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .desktop-nav a::after,
  .footer-links a::after,
  .menu-toggle span {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
