:root {
  color-scheme: dark;
  --ink: #04130f;
  --ink-soft: #082019;
  --jade: #0d3b2d;
  --jade-light: #1f654f;
  --gold: #c89b45;
  --gold-light: #f4d889;
  --ivory: #f4efe1;
  --muted: #b9b7a9;
  --vermillion: #b84335;
  --line: rgba(200, 155, 69, 0.38);
  --max: 1180px;
  --serif: "Iowan Old Style", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold-light);
  color: var(--ink);
  transform: translateY(-140%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(244, 216, 137, 0.2);
}

.nav-inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-subtitle {
  display: block;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 12px;
  color: rgba(244, 239, 225, 0.82);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.language-wrap {
  position: relative;
}

.language-select {
  min-height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(4, 19, 15, 0.76);
  color: var(--ivory);
  font: 650 0.84rem var(--sans);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #061914 url("images/home-bg.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 13, 10, 0.22), rgba(2, 13, 10, 0.44) 48%, var(--ink) 100%);
}

.hero-inner {
  position: relative;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 150px 0 82px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(244, 239, 225, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-mark {
  position: absolute;
  right: 4%;
  bottom: 50px;
  width: 170px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}

.hero-mark img {
  width: 62px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.42));
}

.hero-mark img:nth-child(2) {
  transform: translateY(-28px) rotate(4deg);
}

.hero-mark img:nth-child(3) {
  transform: rotate(8deg);
}

.content-band {
  padding: 84px 0;
}

.content-band.alt {
  background: #071c16;
  border-block: 1px solid rgba(200, 155, 69, 0.16);
}

.container {
  width: min(calc(100% - 36px), var(--max));
  margin: auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(13, 59, 45, 0.24);
}

.support-card .glyph {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.support-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.28rem;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.gameplay-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.gameplay-visual {
  position: relative;
}

.gameplay-visual::after {
  content: "";
  position: absolute;
  inset: auto 8% -12px;
  height: 16px;
  background: rgba(244, 216, 137, 0.17);
  filter: blur(14px);
}

.gameplay-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 448 / 207;
  object-fit: contain;
  border: 1px solid rgba(244, 216, 137, 0.58);
  border-radius: 7px;
}

.steps {
  display: grid;
  gap: 24px;
}

.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
}

.step-index {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.step h3,
.step p {
  margin: 0;
}

.step h3 {
  font-size: 1rem;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 22px 46px 22px 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 20px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 1.3rem;
}

details[open] summary::after {
  content: "−";
}

.answer {
  max-width: 860px;
  padding: 0 0 24px;
  color: var(--muted);
}

.contact-band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: var(--gold-light);
  color: var(--ink);
}

.contact-band::after {
  content: "東";
  position: absolute;
  right: 3vw;
  top: -76px;
  color: rgba(184, 67, 53, 0.1);
  font-family: var(--serif);
  font-size: 20rem;
  line-height: 1;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.contact-inner h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.contact-inner p {
  max-width: 650px;
  margin: 0;
  color: rgba(4, 19, 15, 0.72);
}

.primary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--ivory);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.primary-button:hover {
  background: var(--jade);
}

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 7px;
}

.privacy-point {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.privacy-point:last-child {
  border-right: 0;
}

.privacy-point strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.privacy-point span {
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: 64px;
}

.policy-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  padding-top: 4px;
}

.policy-nav p {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--ivory);
}

.policy-section {
  padding: 0 0 38px;
  margin: 0 0 38px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.policy-section:last-child {
  border-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section ul {
  padding-left: 20px;
}

.updated {
  display: inline-block;
  margin-top: 24px;
  color: var(--gold-light);
  font-size: 0.8rem;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #020b08;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.footer-links a:hover {
  color: var(--gold-light);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .nav-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand-subtitle,
  .nav-link {
    display: none;
  }

  .language-wrap {
    margin-left: auto;
  }

  .hero {
    min-height: 560px;
  }

  .hero-inner {
    padding-bottom: 118px;
  }

  .hero-mark {
    right: auto;
    left: 18px;
    bottom: 24px;
    transform: scale(0.75);
    transform-origin: left bottom;
  }

  .support-grid,
  .gameplay-split,
  .privacy-summary,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-point {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .privacy-point:last-child {
    border-bottom: 0;
  }

  .policy-nav {
    position: static;
    display: none;
  }

  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .content-band {
    padding: 64px 0;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .brand-name {
    font-size: 1rem;
  }
}

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