:root {
  --bg: #020b13;
  --panel: #06111b;
  --panel-soft: #081722;
  --ink: #f1f5f8;
  --muted: #a9b4bf;
  --dim: #70808f;
  --line: rgba(196, 213, 228, 0.23);
  --line-strong: rgba(223, 235, 245, 0.46);
  --blue: #10a7ff;
  --cyan: #61d8ff;
  --yellow: #ffc62e;
  --pink: #c01665;
  --purple: #df2fff;
  --white: #ffffff;
  --paper: #e9ece8;
  --paper-soft: #dfe5e3;
  --paper-ink: #101820;
  --paper-muted: #4b5b65;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 6%, rgba(16, 167, 255, 0.11), transparent 28rem),
    linear-gradient(180deg, #020912 0%, var(--bg) 42%, #01070d 100%);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  z-index: -1;
}

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

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

button {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 16px));
  margin-inline: auto;
}

.narrow {
  width: min(980px, calc(100% - 16px));
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 10px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 11, 19, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  width: clamp(158px, 36vw, 220px);
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-logo {
  width: 100%;
  height: auto;
}

.nav-links {
  display: none;
}

.nav-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  padding: 96px 0 54px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: clamp(38px, 12vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-title-frame {
  width: min(100%, 560px);
  aspect-ratio: 700 / 285;
  overflow: hidden;
  margin: 0 0 18px;
}

.hero-title-image {
  width: 113.2%;
  height: auto;
  transform: translate(-7.6%, -24%);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

h3 {
  font-size: 22px;
  line-height: 1.45;
}

h4 {
  margin-bottom: 7px;
  font-size: 19px;
  line-height: 1.45;
}

.hero-lead {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(23px, 5.5vw, 33px);
  font-weight: 800;
  line-height: 1.45;
}

.hero-text,
.section-title p,
.rule-list p,
.flow-grid p,
.type-card p,
.effect-grid p,
.card-detail p,
.effect-items,
.faq-list p,
.shiyutaku-box p,
.contact-list {
  color: var(--muted);
  font-size: 19px;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 22px;
}

.spec-strip {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 18px;
  border: 1px solid var(--line-strong);
}

.spec-strip div {
  min-width: 0;
  padding: 8px 10px;
  border-right: 1px solid var(--line);
}

.spec-strip div:last-child {
  border-right: 0;
}

dt {
  color: var(--dim);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-width: 116px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 17px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button:disabled {
  background: transparent;
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  background: var(--white);
  color: var(--bg);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.hero-art {
  position: relative;
  min-height: 0;
  overflow: visible;
  display: grid;
  place-items: start end;
}

.hero-art-image {
  display: block;
  width: min(100%, 520px);
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.34));
}

.floating-card {
  position: absolute;
  width: clamp(96px, 29vw, 180px);
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 231, 243, 0.42);
  background: #07111d;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
  transform-origin: 50% 80%;
  transition: transform 220ms ease;
}

.floating-card:hover {
  transform: translateY(-4px) rotate(var(--r));
}

.floating-card small {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.floating-card.has-image,
.qr-placeholder.has-image {
  padding: 0;
  overflow: hidden;
}

.floating-card.has-image img,
.qr-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-eye {
  --r: -18deg;
  left: 9%;
  top: 54px;
  transform: rotate(var(--r));
}

.card-item {
  --r: 9deg;
  left: 35%;
  top: 22px;
  transform: rotate(var(--r));
}

.card-alien {
  --r: 18deg;
  right: 9%;
  top: 84px;
  background: var(--pink);
  transform: rotate(var(--r));
}

.card-icon,
.mini-card > span {
  display: block;
}

.eye-icon {
  width: 52px;
  height: 32px;
  border-radius: 52% 48% 52% 48% / 62% 60% 40% 38%;
  background: var(--blue);
  position: relative;
  transform: rotate(-12deg);
}

.eye-icon::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 5px solid var(--white);
  border-radius: 50%;
  left: 16px;
  top: 4px;
  background: var(--blue);
}

.warning-icon {
  width: 0;
  height: 0;
  border-left: 31px solid transparent;
  border-right: 31px solid transparent;
  border-bottom: 56px solid var(--yellow);
  position: relative;
}

.warning-icon::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
}

.hazure-icon {
  width: 42px;
  height: 42px;
  border: 5px solid var(--purple);
  border-radius: 50%;
  position: relative;
}

.hazure-icon::before,
.hazure-icon::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 34px;
  background: var(--purple);
  left: 14px;
  top: -1px;
}

.hazure-icon::before {
  transform: rotate(45deg);
}

.hazure-icon::after {
  transform: rotate(-45deg);
}

.alien-shape {
  width: 70px;
  height: 82px;
  display: block;
  border-radius: 46% 46% 34% 34%;
  background: #01070d;
  position: relative;
}

.alien-shape::before,
.alien-shape::after {
  content: "";
  position: absolute;
  background: var(--pink);
}

.alien-shape::before {
  width: 24px;
  height: 18px;
  right: 17px;
  top: 20px;
  border-radius: 50%;
  box-shadow: 7px -4px 0 #01070d;
}

.alien-shape::after {
  width: 88px;
  height: 16px;
  left: -9px;
  bottom: -5px;
  border-radius: 999px 999px 0 0;
  background: #01070d;
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.section-rules {
  --ink: var(--paper-ink);
  --muted: var(--paper-muted);
  --dim: #6c7880;
  --line: rgba(16, 24, 32, 0.16);
  --line-strong: rgba(16, 24, 32, 0.32);
  background:
    linear-gradient(180deg, #d8dedc, #e8ebe7),
    var(--paper-soft);
  color: var(--ink);
}

.section-manual {
  --ink: var(--paper-ink);
  --muted: var(--paper-muted);
  --dim: #6c7880;
  --line: rgba(16, 24, 32, 0.18);
  --line-strong: rgba(16, 24, 32, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(223, 229, 227, 0.72)),
    var(--paper);
  color: var(--ink);
}

.section-faq {
  --ink: var(--paper-ink);
  --muted: var(--paper-muted);
  --dim: #6c7880;
  --line: rgba(16, 24, 32, 0.16);
  --line-strong: rgba(16, 24, 32, 0.32);
  background:
    linear-gradient(180deg, #e8ebe7, #d9dfdd),
    var(--paper);
  color: var(--ink);
}

.section-shiyutaku {
  scroll-margin-top: 100px;
  --ink: var(--paper-ink);
  --muted: var(--paper-muted);
  --dim: #6c7880;
  --line: rgba(16, 24, 32, 0.16);
  --line-strong: rgba(16, 24, 32, 0.32);
  background:
    linear-gradient(135deg, rgba(192, 22, 101, 0.10), transparent 44%),
    #e1e5e1;
  color: var(--ink);
}

.section-contact {
  --ink: var(--white);
  --muted: #a9b4bf;
  --dim: #70808f;
  --line: rgba(196, 213, 228, 0.18);
  --line-strong: rgba(223, 235, 245, 0.38);
  background:
    radial-gradient(circle at 80% 22%, rgba(16, 167, 255, 0.09), transparent 24rem),
    linear-gradient(180deg, #020b13 0%, #01070d 100%);
  color: var(--ink);
  border-bottom: 0;
}

.section-title {
  margin-bottom: 30px;
  max-width: 940px;
}

.section-title p {
  margin: 10px 0 0;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(16, 167, 255, 0.10), transparent 36%),
    #f4f5f1;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
}

.play-circle {
  width: min(28vw, 126px);
  aspect-ratio: 1;
  display: block;
  border: 4px solid var(--ink);
  border-radius: 50%;
  position: relative;
}

.play-circle::after {
  content: "";
  position: absolute;
  left: 43%;
  top: 31%;
  border-top: 23px solid transparent;
  border-bottom: 23px solid transparent;
  border-left: 37px solid var(--ink);
}

.video-label {
  position: absolute;
  color: var(--dim);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transform: translateY(82px);
}

.howto-video {
  display: grid;
  gap: 14px;
  margin-bottom: 44px;
}

.movie-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #01070d;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
}

.howto-movie {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  background: #01070d;
}

.movie-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.movie-play[hidden] {
  display: none;
}

.movie-play img {
  width: 36px;
  height: 36px;
}

.movie-play:hover {
  background: #fff;
  box-shadow: 0 4px 26px rgba(0, 0, 0, 0.6);
}

.movie-play:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.movie-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-paper {
  border-color: var(--line-strong);
  color: var(--paper-ink);
}

.rule-block,
.quick-flow,
.card-types,
.effect-list,
.card-guide,
.faq-list,
.contact-panel {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.rule-block {
  padding-top: 28px;
}

.card-types + .effect-list,
.effect-list + .effect-list {
  margin-top: 24px;
}

.card-guide h3 {
  margin-bottom: 16px;
}

.card-accordion {
  display: grid;
  gap: 12px;
}

.card-accordion details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.card-accordion summary {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
}

.card-accordion summary::marker {
  content: "";
}

.card-accordion summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--dim);
  font-size: 22px;
  line-height: 1;
}

.card-accordion details[open] summary::after {
  content: "-";
}

.card-accordion summary small {
  color: var(--dim);
  font-size: 16px;
  font-weight: 800;
}

.card-detail {
  padding: 0 28px 24px;
  border-top: 1px solid var(--line);
}

.card-detail p {
  margin: 14px 0 12px;
}

.effect-items {
  display: grid;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.effect-items li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: center;
}

.card-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.card-image-grid img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.rule-heading {
  margin-bottom: 18px;
}

.rule-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.rule-list li {
  padding: 20px 0 20px 34px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.rule-list li::before {
  content: counter(list-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.rule-list p {
  margin-bottom: 0;
}

.rule-list p + p {
  margin-top: 10px;
}

.rule-note {
  color: var(--dim);
}

.flow-grid,
.type-grid,
.effect-grid {
  display: grid;
  gap: 14px;
}

.flow-grid article {
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.flow-grid span {
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.type-grid {
  margin-top: 18px;
}

.type-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.type-card h4,
.type-card p {
  margin-bottom: 3px;
}

.type-card small {
  color: var(--dim);
  font-size: 16px;
}

.mini-card {
  width: 58px;
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: #07121d;
}

.mini-card .eye-icon {
  transform: scale(0.55) rotate(-12deg);
}

.mini-card .warning-icon {
  transform: scale(0.5);
}

.mini-card .hazure-icon {
  transform: scale(0.58);
}

.mini-card .alien-shape {
  transform: scale(0.58);
}

.alien-type .mini-card {
  background: var(--pink);
}

.effect-list h3 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.effect-list {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.effect-grid p {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: center;
  margin: 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.blue {
  background: var(--blue);
}

.dot.cyan {
  background: var(--cyan);
}

.dot.yellow {
  background: var(--yellow);
}

.faq-list {
  display: grid;
  gap: 12px;
  border-top: 0;
  padding-top: 0;
}

.faq-list details {
  border: 1px solid var(--line);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.44);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.faq-list p {
  margin: 10px 0 0;
}

.shiyutaku-box {
  color: var(--muted);
  padding-top: 8px;
}

.shiyutaku-box .button {
  margin-top: 0;
}

.play-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.play-status { color: var(--muted); }
.play-status .play-status-label { margin: 0 0 12px; color: var(--paper-ink); font-size: 28px; font-weight: 500; }
.play-status p:last-child { margin: 0; line-height: 1.8; }

.external-play-link {
  gap: 10px;
}

.button-dark {
  background: var(--paper-ink);
  color: #fff;
}

.contact-panel {
  display: grid;
  gap: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  border-bottom: 1px solid rgba(241, 245, 248, 0.34);
}

.qr-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-qr {
  width: 132px;
  height: auto;
  border: 7px solid var(--white);
  background: var(--white);
}

.qr-placeholder {
  width: 96px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, var(--bg) 8px, transparent 8px) 0 0 / 18px 18px,
    linear-gradient(var(--bg) 8px, transparent 8px) 0 0 / 18px 18px,
    var(--white);
  color: var(--bg);
  border: 7px solid var(--white);
  font-size: 17px;
  font-weight: 900;
}

.footer {
  padding: 22px 0;
  color: var(--dim);
  font-size: 16px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.reveal {
  opacity: 0.72;
  transform: translateY(8px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 679px) {
  .card-accordion summary,
  .faq-list summary {
    font-size: 19px;
    font-weight: 500;
  }

  .card-accordion summary small {
    font-size: 14px;
    font-weight: 500;
  }
}

@media (min-width: 680px) {
  .nav-links {
    display: flex;
    gap: 42px;
    color: var(--muted);
    font-size: 20px;
    font-weight: 700;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .hero-art {
    min-height: 0;
    place-items: start end;
  }

  .hero-art-image {
    width: min(43vw, 560px);
    transform: translateY(-36px);
  }

  .flow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .type-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 42px;
  }

  .effect-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 38px;
  }

  .effect-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-image-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .contact-panel {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 980px) {
  .movie-play {
    width: 96px;
    height: 96px;
  }

  .movie-play img {
    width: 46px;
    height: 46px;
  }

  .wrap {
    width: min(1400px, calc(100% - 24px));
  }

  .narrow {
    width: min(1400px, calc(100% - 24px));
  }

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

  .spec-strip {
    width: min(100%, 660px);
    margin-bottom: 22px;
  }

  .spec-strip div {
    padding: 14px 18px;
  }

  dt {
    font-size: 17px;
  }

  dd {
    font-size: 22px;
  }

  .hero-actions {
    gap: 16px;
  }

  .button {
    min-width: 150px;
    min-height: 52px;
    padding: 0 28px;
    font-size: 21px;
  }

  .card-image-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
  }

  .section {
    padding: 74px 0;
  }

  .hero-text,
  .section-title p,
  .rule-list p,
  .flow-grid p,
  .type-card p,
  .effect-grid p,
  .card-detail p,
  .effect-items,
  .faq-list p,
  .shiyutaku-box p,
  .contact-list {
    font-size: 22px;
  }
}
