/* 変数・リセット・共通部品。
   全スタイルの基礎として最初に読み込む。 */
:root {
  --abyss: #050B18;
  --deep: #0A1630;
  --surface: #8FD8F0;
  --glow-cyan: #4DE8FF;
  --glow-purple: #A78BFA;
  --glow-pink: #FF9ED8;
  --foam: #F2FAFF;
  --line: rgb(255 255 255 / 0.14);
  --muted: rgb(242 250 255 / 0.66);
  --gutter: clamp(1.375rem, 6vw, 5.75rem);
  --section-space: clamp(6.5rem, 12vw, 11rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --round: "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Yu Gothic", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
.js.intro-scroll-locked body {
  overflow: hidden;
  overscroll-behavior: none;
  position: fixed;
  inset: 0;
  width: 100%;
}
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow-x: clip;
  background: transparent;
  color: var(--foam);
  font-family: var(--round);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site-background {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: var(--abyss);
  pointer-events: none;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgb(77 232 255 / 0.28); color: var(--foam); }
:focus-visible {
  outline: 2px solid var(--glow-cyan);
  outline-offset: 5px;
}
.template-request-button,
[data-template-request-button] { display: none !important; }

.shell { margin-inline: var(--gutter); }
.section {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-space);
  background: var(--abyss);
}
.section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 24%, rgb(77 232 255 / 0.065), transparent 30%),
    radial-gradient(circle at 92% 72%, rgb(167 139 250 / 0.06), transparent 32%);
}
.section-head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.eyebrow {
  display: inline-block;
  color: var(--glow-cyan);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-title {
  margin-top: 0.85rem;
  font-size: clamp(2rem, 4.3vw, 2.625rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.045em;
  text-wrap: balance;
}
.section-lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--muted);
  line-height: 2;
  text-wrap: pretty;
}
.glow-ring {
  position: absolute;
  z-index: -1;
  top: clamp(3rem, 8vw, 7rem);
  right: calc(var(--gutter) * 0.6);
  width: clamp(7rem, 15vw, 13rem);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.38;
  filter: brightness(1.3) blur(0.5px);
  background: conic-gradient(from 60deg, transparent, var(--glow-cyan), transparent 38%, var(--glow-purple), transparent 74%, var(--glow-pink), transparent);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%, #000 63%, transparent 65%);
  mask: radial-gradient(circle, transparent 58%, #000 60%, #000 63%, transparent 65%);
  pointer-events: none;
  transform-origin: center;
  animation:
    glow-ring-orbit 28s linear infinite,
    glow-ring-breathe 6.5s ease-in-out infinite alternate;
}
@keyframes glow-ring-orbit {
  to { transform: rotate(1turn); }
}
@keyframes glow-ring-breathe {
  from { opacity: 0.3; filter: brightness(1.15) blur(0.7px); }
  to { opacity: 0.5; filter: brightness(1.55) blur(0.2px); }
}
