:root {
  --bg: #050505;
  --panel: #101010;
  --panel-2: #181818;
  --text: #f7f7f2;
  --muted: #b8b8b2;
  --line: rgba(255, 255, 255, 0.14);
  --red: #ff3b30;
  --blue: #2f80ff;
  --yellow: #f5c542;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 59, 48, 0.14), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(47, 128, 255, 0.12), transparent 30%),
    radial-gradient(circle at 52% 94%, rgba(245, 197, 66, 0.07), transparent 30%);
  opacity: 0.75;
  animation: ambientLight 12s ease-in-out infinite alternate;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.62));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transform: translateY(-16px);
  opacity: 0;
  transition: border-color 180ms ease, background 180ms ease, transform 580ms ease, opacity 580ms ease;
}

body.is-loaded .site-header {
  transform: translateY(0);
  opacity: 1;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.9);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 59, 48, 0.22));
  transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover .brand-mark img {
  transform: rotate(-4deg) scale(1.06);
  filter: drop-shadow(0 0 24px rgba(255, 59, 48, 0.36));
}

.brand-name {
  display: block;
  white-space: nowrap;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 6vw, 80px) 88px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.13) 48%, transparent 58%);
  transform: translateX(-120%);
  animation: heroSweep 5.6s ease-in-out 1.2s infinite;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: saturate(0.92) contrast(1.08);
  transition: transform 900ms ease;
}

body.is-loaded .hero-image {
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.64) 38%, rgba(0, 0, 0, 0.22) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 45%, #050505 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow,
.hero h1,
.hero-copy,
.hero-actions {
  opacity: 0;
  transform: translateY(24px);
}

body.is-loaded .hero .eyebrow {
  animation: riseIn 640ms ease forwards 180ms;
}

body.is-loaded .hero h1 {
  animation: titleIn 780ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards 300ms;
}

body.is-loaded .hero-copy {
  animation: riseIn 700ms ease forwards 520ms;
}

body.is-loaded .hero-actions {
  animation: riseIn 700ms ease forwards 680ms;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.hero-copy,
.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.button:hover::after {
  transform: translateX(120%);
}

.button.primary {
  background: #fff;
  color: #050505;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 6vw, 80px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.service-section {
  background: #050505;
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card::before,
.buy-panel::before,
.access-card::before,
.line-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 28%, transparent 72%, rgba(255, 59, 48, 0.12));
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover,
.buy-panel:hover,
.access-card:hover,
.line-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.32);
}

.service-card:hover::before,
.buy-panel:hover::before,
.access-card:hover::before,
.line-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 64px;
  border-radius: 6px;
  background: #fff;
  color: #050505;
  font-weight: 900;
}

.service-card p,
.tab-panel p,
.battle-note p,
.info-list dd {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.buy-section {
  background:
    linear-gradient(135deg, rgba(255, 59, 48, 0.14), transparent 35%),
    linear-gradient(315deg, rgba(47, 128, 255, 0.16), transparent 34%),
    #0a0a0a;
}

.buy-panel,
.battle-note,
.access-card,
.line-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.buy-panel {
  padding: 18px;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.36);
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab:hover {
  transform: translateY(-1px);
  color: #fff;
}

.tab.is-active {
  background: #fff;
  color: #050505;
  font-weight: 900;
}

.tab-panel {
  min-height: 190px;
  padding: 20px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  animation: panelIn 260ms ease;
}

.battle-section {
  background: #050505;
}

.battle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
}

.battle-board {
  border-top: 1px solid var(--line);
}

.battle-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding-left 180ms ease;
}

.battle-row:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.battle-row strong {
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1.1;
}

.battle-row span,
.battle-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.battle-row em {
  justify-self: end;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.battle-note {
  align-self: start;
  padding: 28px;
}

.battle-x-link {
  margin-top: 12px;
}

.access-section {
  background: #0a0a0a;
}

.access-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 34px;
  padding: clamp(26px, 5vw, 48px);
}

.info-list {
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:first-child {
  padding-top: 0;
}

.info-list dt {
  color: #fff;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background: #050505;
}

.line-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.line-card h3 {
  margin-bottom: 0;
}

.line-card p {
  color: var(--muted);
}

.line-card small {
  color: rgba(255, 255, 255, 0.58);
}

.social-badges,
.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.line-badge,
.x-badge {
  display: inline-grid;
  place-items: center;
  min-width: 70px;
  height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 900;
}

.line-badge {
  background: #06c755;
}

.x-badge {
  background: #fff;
  color: #050505;
}

.line-button,
.x-button {
  flex: 1 1 190px;
}

.line-button {
  background: #06c755;
  color: #fff;
  box-shadow: 0 18px 40px rgba(6, 199, 85, 0.2);
}

.x-button {
  border-color: rgba(255, 255, 255, 0.28);
  background: #fff;
  color: #050505;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a,
.site-footer > a {
  transition: color 160ms ease;
}

.footer-links a:hover,
.site-footer > a:hover {
  color: var(--text);
}

.policy-page {
  background:
    linear-gradient(180deg, rgba(255, 59, 48, 0.11), transparent 360px),
    var(--bg);
}

.policy-hero {
  padding: 154px clamp(20px, 6vw, 80px) 54px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
}

.policy-hero h1 span {
  display: inline-block;
}

.policy-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.policy-date {
  margin-top: 22px;
  font-size: 14px !important;
  font-weight: 700;
}

.policy-content {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 6vw, 80px);
}

.policy-block {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.policy-block h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 30px);
}

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

.policy-block p:last-child,
.policy-block ul:last-child {
  margin-bottom: 0;
}

.policy-block ul {
  padding-left: 1.25em;
}

.policy-block .button {
  margin-top: 10px;
}

.reveal,
.section-heading,
.split,
.battle-row,
.battle-note,
.access-card,
.contact-copy,
.line-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible,
.section-heading.is-visible,
.split.is-visible,
.battle-row.is-visible,
.battle-note.is-visible,
.access-card.is-visible,
.contact-copy.is-visible,
.line-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ambientLight {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@keyframes heroSweep {
  0%,
  42% {
    transform: translateX(-120%);
  }

  68%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 8, 8, 0.96);
    animation: menuIn 180ms ease;
  }

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

  .site-nav a {
    padding: 13px;
  }

  .nav-cta {
    text-align: center;
  }

  .section-heading,
  .split,
  .battle-layout,
  .access-card,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .brand-name {
    max-width: 210px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 42px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.52)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.12) 40%, #050505 100%);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .policy-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .battle-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .battle-row em {
    justify-self: start;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
