:root {
  --bg: #05070a;
  --bg-2: #0a0d12;
  --panel: rgba(11, 14, 19, 0.78);
  --panel-2: rgba(16, 20, 27, 0.88);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --ink: #edf2f8;
  --muted: #a0a9b7;
  --line: rgba(190, 214, 238, 0.14);
  --line-strong: rgba(190, 214, 238, 0.24);
  --blue: #6daee8;
  --blue-2: #a9cff4;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at 18% 10%, rgba(176, 198, 218, 0.32), transparent 26rem),
    radial-gradient(circle at 85% 75%, rgba(55, 82, 120, 0.22), transparent 28rem),
    linear-gradient(180deg, #d6dde4 0%, #a0a9b2 11%, #4b5662 23%, #151b22 34%, #090d12 54%, #04060a 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 30%),
    linear-gradient(90deg, rgba(93, 130, 173, 0.10), transparent 24%, transparent 76%, rgba(93, 130, 173, 0.08)),
    linear-gradient(180deg, transparent 0, transparent 44%, rgba(225, 233, 241, 0.14) 49%, rgba(9, 12, 17, 0.08) 51%, transparent 58%),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.30) 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1.2rem, 4vw, 4rem);
  background: rgba(7, 10, 14, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem 0;
}

.site-nav {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.6rem 0.95rem;
  border: 1px solid transparent;
  transition: 180ms ease;
  font-size: 0.98rem;
  font-weight: 500;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 9rem);
  display: grid;
  place-items: center;
  padding: 4rem 1.2rem;
  text-align: center;
}

.hero-inner {
  width: min(760px, 100%);
}

.hero-logo-wrap {
  width: min(220px, 42vw);
  margin: 0 auto 1.4rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.tagline,
.page-title p,
.product-meta,
.team-role,
.timeline-item p,
.small-note,
.release-meta dt,
.track-table td:last-child,
.credit-list span {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.18rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line-strong);
}

.button.primary {
  color: #081019;
  background: linear-gradient(180deg, #9fd0ff 0%, #6daee8 100%);
  box-shadow: 0 10px 24px rgba(74, 126, 180, 0.18);
}

.button.ghost {
  background: rgba(255,255,255,0.03);
  color: var(--ink);
}

.page {
  width: min(1080px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.page.narrow {
  width: min(820px, calc(100% - 2.4rem));
}

.page-title {
  margin-bottom: 2rem;
}

.eyebrow {
  color: var(--blue-2);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}

.page-title h1 {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.product-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
}

.product-cover {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  padding: 0.65rem;
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-info {
  padding: 1rem;
}

.product-info h2 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.product-meta {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.team-list {
  display: grid;
  gap: 1rem;
}

.team-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}

.team-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.bio-block,
.timeline,
.contact-card,
.detail-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.timeline-item time,
.track-table td:first-child {
  color: var(--blue-2);
  font-weight: 800;
}

.timeline-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.site-footer {
  padding: 2rem 1.2rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 10, 0.36);
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover {
  color: var(--ink);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: clamp(1.25rem, 4vw, 2.4rem);
  align-items: start;
  margin-bottom: 2rem;
}

.detail-cover {
  width: 260px;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
  padding: 0.75rem;
  display: grid;
  place-items: center;
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.detail-heading h1 {
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 0.8rem;
}

.release-meta {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.release-meta div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.release-meta dd {
  margin: 0;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

.track-table {
  width: 100%;
  border-collapse: collapse;
}

.track-table th,
.track-table td {
  text-align: left;
  padding: 0.9rem 0.7rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}

.track-table th {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-table td:first-child {
  width: 4rem;
}

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

.credit-list li {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0.82rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.credit-list span {
  font-weight: 700;
  line-height: 1.45;
}

.credit-list strong {
  font-weight: 700;
  line-height: 1.55;
}

.detail-section h2 {
  margin-bottom: 1rem;
}

@media (max-width: 780px) {
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    width: min(260px, 100%);
    height: min(260px, calc(100vw - 2.4rem));
    max-width: 260px;
  }

  .release-meta div,
  .credit-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 4.1rem;
    right: 1.2rem;
    flex-direction: column;
    align-items: stretch;
    min-width: 170px;
    padding: 0.6rem;
    background: rgba(8, 11, 15, 0.96);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .team-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero-logo-wrap {
    width: min(180px, 48vw);
  }
}

@media (min-width: 781px) {
  .product-detail {
    width: min(980px, calc(100% - 2.4rem));
  }
}


.works-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

.works-section > h2 {
  margin-bottom: 0.4rem;
}

.works-note {
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.work-group {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.work-group h3 {
  color: var(--blue-2);
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
}

.work-list {
  display: grid;
  gap: 0;
}

.work-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 180px;
  gap: 1rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(190, 214, 238, 0.10);
}

.work-row:first-child {
  border-top: 0;
}

.work-row time {
  color: var(--blue-2);
  font-weight: 800;
}

.work-row strong {
  font-weight: 700;
  line-height: 1.45;
}

.work-row span {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 780px) {
  .work-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .work-row span {
    grid-column: 2;
  }
}


.store-button-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255,255,255,0.035);
  text-decoration: none;
  font-weight: 700;
  transition: 180ms ease;
}

.store-button:hover {
  border-color: rgba(169, 207, 244, 0.58);
  background: rgba(169, 207, 244, 0.12);
}

.release-note p {
  margin-bottom: 0;
  color: var(--muted);
}


.contact-form {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field span {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.82rem 0.9rem;
  font: inherit;
  line-height: 1.55;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-2);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(109, 174, 232, 0.12);
}

.form-submit {
  width: fit-content;
  cursor: pointer;
}

.form-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
}

.form-status h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.form-status p,
.form-status ul {
  margin-bottom: 0;
}

.form-status.success {
  border-color: rgba(169, 207, 244, 0.38);
}

.form-status.error {
  border-color: rgba(255, 130, 130, 0.42);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.google-form-frame {
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.google-form-frame iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: transparent;
}

@media (max-width: 700px) {
  .google-form-frame {
    min-height: 820px;
  }

  .google-form-frame iframe {
    height: 820px;
  }
}


.tally-form-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  padding: 1rem;
}

.tally-form-frame iframe {
  display: block;
  width: 100%;
  min-height: 422px;
  border: 0;
  background: transparent;
}

@media (max-width: 700px) {
  .tally-form-frame {
    padding: 0.75rem;
  }
}


.dlc-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

.dlc-form {
  display: grid;
  gap: 1rem;
}

.dlc-content {
  display: grid;
  gap: 1rem;
}

.download-list {
  display: grid;
  gap: 0.8rem;
}

.download-card {
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  padding: 1rem 1.1rem;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.download-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.download-card strong {
  font-size: 1.05rem;
}

.download-card span {
  color: var(--muted);
}
