:root {
  color-scheme: light;
  --paper: #fffaf0;
  --ink: #5a4536;
  --muted: #806d5f;
  --line: #eadbc8;
  --pink: #ffd9e4;
  --blue: #dcecff;
  --yellow: #ffedb6;
  --mint: #cfeee4;
  --plum: #765986;
  --moss: #3d7766;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  background:
    linear-gradient(rgba(118, 89, 134, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 89, 134, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(255, 217, 228, 0.7), transparent 28rem),
    radial-gradient(circle at 90% 34%, rgba(220, 236, 255, 0.75), transparent 32rem),
    var(--paper);
  background-size: 22px 22px, 22px 22px, auto, auto, auto;
}

a { color: inherit; text-underline-offset: 0.18em; }

.wrap { width: min(1040px, calc(100% - 36px)); margin: 0 auto; }

header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1040px, calc(100% - 28px));
  margin: 12px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(90, 69, 54, 0.12);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 10px 30px rgba(90, 69, 54, 0.08);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
nav a { padding: 6px 10px; border-radius: 999px; color: var(--muted); font-size: 0.86rem; font-weight: 750; text-decoration: none; }
nav a:hover { background: var(--blue); color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(34px, 7vw, 80px);
  min-height: 650px;
  padding: 82px 0 72px;
}

.eyebrow { margin: 0 0 10px; color: var(--plum); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; }
h1 { margin: 0; font-size: clamp(3.2rem, 9vw, 6.6rem); line-height: 1.05; letter-spacing: -0.06em; }
.lead { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.28rem); font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 11px; border-radius: 999px; background: var(--mint); color: #285c4e; font-size: 0.83rem; font-weight: 800; }

.qubit-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  border: 2px solid rgba(90, 69, 54, 0.1);
  border-radius: 42px;
  background: linear-gradient(145deg, var(--blue), #f3e7ff 55%, var(--pink));
  box-shadow: 0 24px 70px rgba(90, 69, 54, 0.13);
}
.qubit-card img { width: min(250px, 70%); border-radius: 56px; box-shadow: 0 18px 40px rgba(90, 69, 54, 0.18); transform: rotate(-2deg); }
.orbit { position: absolute; width: 76%; height: 33%; border: 3px solid rgba(118, 89, 134, 0.25); border-radius: 50%; transform: rotate(22deg); }
.orbit.second { transform: rotate(-35deg); border-color: rgba(61, 119, 102, 0.25); }

section { padding: 72px 0; }
h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.25; }
.section-intro { max-width: 720px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 12px 34px rgba(90, 69, 54, 0.07); }
.card:nth-child(3n + 1) { background: rgba(255, 237, 182, 0.62); }
.card:nth-child(3n + 2) { background: rgba(220, 236, 255, 0.7); }
.card:nth-child(3n) { background: rgba(255, 217, 228, 0.62); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 42px 0 0; padding: 28px; border-radius: 28px; background: var(--ink); color: white; }
.cta p { margin: 4px 0 0; color: rgba(255,255,255,0.74); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 15px; background: var(--yellow); color: var(--ink); font-weight: 900; text-decoration: none; white-space: nowrap; }

.document { max-width: 820px; padding: 70px 0 90px; }
.document h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.document h2 { margin-top: 44px; font-size: 1.45rem; }
.document h3 { margin-top: 28px; }
.summary { margin: 28px 0; padding: 20px 22px; border: 1px solid rgba(61, 119, 102, 0.2); border-radius: 20px; background: rgba(207, 238, 228, 0.65); }
.facts { display: grid; grid-template-columns: 180px 1fr; gap: 0; margin: 28px 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.facts div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.facts div:nth-last-child(-n + 2) { border-bottom: 0; }
.facts .label { background: rgba(220, 236, 255, 0.55); font-weight: 800; }
.fine { color: var(--muted); font-size: 0.9rem; }

footer { padding: 34px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

@media (max-width: 760px) {
  header { align-items: flex-start; }
  nav { max-width: 210px; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .qubit-card { min-height: 320px; }
  .grid { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
  .facts { grid-template-columns: 1fr; }
  .facts .label { padding-bottom: 4px; }
  .facts div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

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