@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@700;900&display=swap");

:root {
  --fire-orange: #ff6b00;
  --fire-red: #ff3a1d;
  --fire-yellow: #ffd93d;
  --cyber-blue: #00d4ff;
  --ink-deep: #050814;
  --ink-mid: #0a1128;
  --ink-blue: #0f1c3f;
  --light: #e8f4ff;
}

html {
  scroll-behavior: smooth;
}
.sp-only{
  display: none;
}

.simple-page {
  margin: 0;
  color: #c5d0e0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  background: var(--ink-deep);
  overflow-x: hidden;
}

.simple-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 107, 0, 0.16) 0%, transparent 40%),
    radial-gradient(ellipse at 82% 100%, rgba(0, 212, 255, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, #050814 0%, #0a1128 50%, #050814 100%);
}

.simple-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
}

.simple-page * {
  box-sizing: border-box;
}

.simple-page a {
  color: var(--cyber-blue);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.simple-page a:hover {
  color: #fff;
}

.simple-document {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 34px 24px 82px;
}

.profile-document .doc-body,
.legal-document .legal-table,
.legal-document h1,
.profile-document h1 {
  width: min(100%, 900px);
  margin-left: auto;
  margin-right: auto;
}

.profile-document .doc-body {
  width: min(100%, 820px);
}

.plain-link a {
  display: inline-block;
  padding: 12px 22px;
  color: var(--cyber-blue);
  font-weight: 900;
  border: 1px solid rgba(0, 212, 255, 0.42);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.12);
}

.plain-link a:hover {
  border-color: var(--fire-orange);
  transform: translateY(-2px);
}

.fate-copy {
  margin: 32px auto 18px;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 0 28px rgba(255, 107, 0, 0.55);
}

.simple-document h1 {
  margin: 18px auto 34px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(32px, 7vw, 58px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 107, 0, 0.35);
}

.simple-document h1::after {
  content: "";
  display: block;
  width: min(100%, 620px);
  height: 2px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, var(--fire-orange), var(--cyber-blue), var(--fire-orange), transparent);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.45);
}

.doc-body,
.legal-table {
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(0, 212, 255, 0.06) 100%),
    rgba(10, 17, 40, 0.86);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-top: 3px solid var(--fire-orange);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.5), 0 0 34px rgba(0, 212, 255, 0.1);
}

.doc-body {
  padding: clamp(24px, 4vw, 44px);
}

.doc-body p {
  margin: 0 0 0.95em;
  font-size: clamp(15px, 2.3vw, 18px);
  letter-spacing: 0.01em;
  color: #d6deeb;
  overflow-wrap: anywhere;
}

.doc-body p:nth-child(-n+12) {
  color: #fff;
  font-weight: 900;
}

.doc-body .plain-link {
  margin-top: 26px;
  text-align: center;
}

.doc-image {
  margin: 30px auto;
  text-align: center;
}

.doc-image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  align-items: start;
}

.doc-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(0, 212, 255, 0.32);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45), 0 0 26px rgba(0, 212, 255, 0.12);
}

.doc-text.bullet {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(0, 212, 255, 0.22);
  padding: 16px 18px;
  vertical-align: top;
  text-align: left;
  font-size: 15px;
  line-height: 1.75;
  word-break: break-word;
}

.legal-table th {
  width: 250px;
  color: var(--fire-yellow);
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.18), rgba(255, 58, 29, 0.08));
}

.legal-table td {
  color: #d6deeb;
  background: rgba(5, 8, 20, 0.34);
}

.legal-table td p {
  margin: 0 0 0.9em;
}

.legal-table td p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .simple-document {
    padding: 22px 14px 58px;
  }

  .profile-document .doc-body,
  .profile-document h1,
  .legal-document .legal-table,
  .legal-document h1 {
    width: 100%;
  }

  .simple-document h1 {
    margin-bottom: 26px;
  }

  .doc-body {
    padding: 22px 16px;
  }

  .doc-body p {
    font-size: 15px;
  }

  .doc-image {
    margin: 24px auto;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr {
    border-bottom: 1px solid rgba(0, 212, 255, 0.25);
  }

  .legal-table th,
  .legal-table td {
    border: 0;
  }

  .legal-table th {
    border-bottom: 1px solid rgba(0, 212, 255, 0.22);
  }
  .sp-only{
    display: block;
  }
  .pc-only{
    display: none;
  }
}
