:root {
  --bg: #10120f;
  --bg-soft: #171b16;
  --surface: #202318;
  --surface-raised: #293021;
  --surface-glass: rgba(32, 35, 24, 0.84);
  --text: #f3ead7;
  --text-soft: #c9bda4;
  --text-muted: #938871;
  --gold: #d8a64e;
  --gold-light: #f0c56b;
  --gold-dark: #946725;
  --brick: #9c4934;
  --sage: #74a891;
  --sky: #a9c8db;
  --line: rgba(216, 166, 78, 0.22);
  --line-soft: rgba(243, 234, 215, 0.1);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  --shadow-small: 0 8px 24px rgba(0, 0, 0, 0.2);
  --radius: 14px;
  --radius-small: 9px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

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

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

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

.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: 30;
  background: rgba(16, 18, 15, 0.9);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.site-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}

.site-brand span {
  display: grid;
  gap: 0.05rem;
}

.site-brand strong {
  color: var(--gold-light);
  font-family: "Noto Serif JP", serif;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.site-brand small {
  color: var(--text-muted);
  font-size: 0.66rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  margin-left: auto;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--gold-light);
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
  white-space: nowrap;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary:hover {
  color: var(--gold-light);
  border-color: rgba(216, 166, 78, 0.5);
}

.language-switcher nav {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 150px;
  padding: 0.45rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(20, 24, 18, 0.98);
  box-shadow: var(--shadow);
}

.language-switcher nav a {
  padding: 0.48rem 0.6rem;
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switcher nav a:hover,
.language-switcher nav a[aria-current="page"] {
  color: var(--gold-light);
  background: rgba(216, 166, 78, 0.1);
}

.mobile-nav {
  display: none;
  margin-left: auto;
  position: relative;
}

.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  padding: 0.5rem;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  width: 24px;
  display: grid;
  gap: 5px;
}

.menu-icon i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
}

.mobile-nav nav {
  position: absolute;
  top: 52px;
  right: 0;
  min-width: 190px;
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #181c15;
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
}

.mobile-nav nav a:hover {
  background: rgba(216, 166, 78, 0.1);
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0 5rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(156, 73, 52, 0.18), transparent 32%),
    radial-gradient(circle at 78% 40%, rgba(116, 168, 145, 0.12), transparent 38%),
    linear-gradient(180deg, #14170f 0%, var(--bg) 92%);
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

.hero-glow-one {
  top: -10rem;
  right: 10%;
  background: var(--gold);
}

.hero-glow-two {
  bottom: -14rem;
  left: 8%;
  background: var(--brick);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Noto Serif JP", serif;
  line-height: 1.28;
}

h1 {
  max-width: 650px;
  margin-bottom: 1.15rem;
  color: #fff5df;
  font-size: clamp(2.45rem, 5.2vw, 5.15rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: var(--gold);
  border: 1px solid var(--gold-light);
  color: #181108;
}

.button-primary:hover {
  background: var(--gold-light);
  color: #181108;
}

.button-ghost {
  background: rgba(243, 234, 215, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
}

.button-ghost:hover {
  background: rgba(216, 166, 78, 0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-grid li {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  background: rgba(32, 35, 24, 0.74);
}

.fact-grid span {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--text-muted);
  font-size: 0.73rem;
}

.fact-grid strong {
  color: #fff5df;
  font-size: 0.9rem;
}

.hero-visual {
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-image-frame {
  position: relative;
  width: 560px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #e8e0d4;
  box-shadow: var(--shadow);
  transform: rotate(1.1deg);
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 35%, rgba(16, 18, 15, 0.08));
  content: "";
  pointer-events: none;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1056 / 900;
  object-fit: cover;
}

.image-stamp {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(16, 18, 15, 0.72);
  color: #fff5df;
  font-size: 0.68rem;
  font-weight: 700;
}

figcaption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.content-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid rgba(243, 234, 215, 0.06);
}

.section-highlight {
  background:
    radial-gradient(circle at 90% 20%, rgba(216, 166, 78, 0.08), transparent 30%),
    var(--bg-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading-wide {
  max-width: 900px;
}

.section-heading h2,
.growth-copy h2,
.editorial-panel h2,
.legal-heading h1,
.error-card h1 {
  margin-bottom: 0.85rem;
  color: #fff5df;
  font-size: clamp(1.85rem, 3.5vw, 3.2rem);
  font-weight: 800;
  text-wrap: balance;
}

.section-heading > p:last-child,
.growth-copy > p,
.editorial-panel > p,
.legal-heading > p,
.error-card > p {
  margin: 0;
  color: var(--text-soft);
}

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

.quick-card {
  position: relative;
  display: block;
  min-height: 270px;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(41, 48, 33, 0.92), rgba(32, 35, 24, 0.88));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-card::after {
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(216, 166, 78, 0.14);
  border-radius: 50%;
  content: "";
}

.quick-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-small);
  transform: translateY(-4px);
}

.quick-number {
  display: block;
  margin-bottom: 1.2rem;
  color: rgba(240, 197, 107, 0.42);
  font-family: "Noto Serif JP", serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.quick-tag,
.update-type,
.status-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0.14rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quick-card h3,
.database-card h3,
.step-card h3,
.large-panel h3,
.growth-points h3,
.official-links h3,
.editorial-grid h3 {
  margin: 0.7rem 0 0.35rem;
  color: #fff5df;
  font-size: 1.22rem;
}

.quick-card p,
.database-card p,
.step-card p,
.large-panel p,
.growth-points p,
.official-links p,
.editorial-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.3rem;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
}

.latest-section {
  background: #131710;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: 4rem;
  align-items: start;
}

.latest-layout .section-heading {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

.update-list {
  display: grid;
  gap: 0.7rem;
}

.update-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.update-row:first-child {
  padding-top: 0;
}

.update-row time {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
}

.update-row h3 {
  margin: 0.35rem 0 0.2rem;
  color: #fff5df;
  font-size: 1.05rem;
}

.update-row p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.step-list {
  display: grid;
  gap: 0.8rem;
  max-width: 980px;
}

.step-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1.3rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(32, 35, 24, 0.68);
}

.step-index {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--gold-light);
  font-family: "Noto Serif JP", serif;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.step-card h3 {
  margin-top: 0;
}

.step-note {
  display: block;
  margin-top: 0.6rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
}

.section-dark-card {
  background:
    linear-gradient(180deg, rgba(20, 23, 15, 0.82), rgba(16, 18, 15, 1)),
    radial-gradient(circle at 16% 18%, rgba(156, 73, 52, 0.18), transparent 30%);
}

.reroll-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.large-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-glass);
}

.large-panel h3 {
  margin-top: 0;
}

.numbered-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.numbered-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.numbered-list li > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--brick);
  color: #fff5df;
  font-size: 0.74rem;
  font-weight: 800;
}

.numbered-list p {
  padding-top: 0.05rem;
}

.caution-note,
.panel-footnote,
.source-note {
  margin-top: 1.3rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-muted) !important;
  font-size: 0.78rem !important;
}

.criteria-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.criteria-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line-soft);
}

.criteria-row span {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 800;
}

.criteria-row strong {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

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

.database-card {
  min-height: 330px;
  padding: 1.45rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.database-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(216, 166, 78, 0.08);
  color: var(--gold-light);
  font-size: 1.25rem;
}

.database-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.database-card li::marker {
  color: var(--gold);
}

.status-label {
  margin-top: 1.1rem;
  color: var(--sage);
  border-color: rgba(116, 168, 145, 0.32);
}

.growth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.growth-visual {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #e8e0d4;
  box-shadow: var(--shadow-small);
}

.growth-visual img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.9;
}

.growth-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(16, 18, 15, 0.78));
  content: "";
}

.growth-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 210px;
  height: 210px;
  top: -70px;
  right: -55px;
}

.orbit-two {
  width: 120px;
  height: 120px;
  right: 46px;
  bottom: 34px;
  border-color: rgba(216, 166, 78, 0.76);
}

.growth-caption {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  z-index: 2;
  color: #fff5df;
  font-size: 0.76rem;
  font-weight: 700;
}

.growth-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.growth-points article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.growth-points article > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(216, 166, 78, 0.12);
  color: var(--gold-light);
}

.growth-points h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.official-section {
  background: #12150f;
}

.hero-video-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 166, 78, 0.12), transparent 42%),
    #11140f;
}

.hero-video-container {
  max-width: 1120px;
}

.hero-video-card {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-video-card .video-frame {
  box-shadow: var(--shadow);
}

.official-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.official-links-only {
  display: block;
  max-width: 900px;
}

.video-card {
  margin: 0;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090c08;
  box-shadow: var(--shadow-small);
}

.video-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-loading {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(216, 166, 78, 0.16), transparent 34%),
    #090c08;
  color: var(--text-soft);
  font-size: 0.8rem;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-loading p {
  margin: 0;
}

.video-frame.is-loaded .video-loading {
  opacity: 0;
  visibility: hidden;
}

.loading-dot {
  display: block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(243, 234, 215, 0.18);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.official-links {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.official-links h3 {
  margin-top: 0;
}

.official-link {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr) 20px;
  gap: 0.55rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.official-link:last-of-type {
  border-bottom: 0;
}

.official-link-type {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.official-link strong {
  color: var(--text);
  font-size: 0.84rem;
}

.official-link > span:last-child {
  color: var(--gold-light);
}

.editorial-section {
  background:
    linear-gradient(180deg, rgba(20, 23, 15, 0.95), rgba(16, 18, 15, 1)),
    radial-gradient(circle at 76% 20%, rgba(116, 168, 145, 0.11), transparent 30%);
}

.editorial-panel {
  max-width: 930px;
}

.editorial-panel > p {
  max-width: 900px;
  margin-bottom: 1.1rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.editorial-grid article {
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  background: rgba(32, 35, 24, 0.62);
}

.editorial-grid article > span {
  color: var(--gold-light);
  font-family: "Noto Serif JP", serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.editorial-grid h3 {
  font-size: 1rem;
}

.faq-section {
  background: var(--bg-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  background: rgba(32, 35, 24, 0.72);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: #fff5df;
  font-size: 0.95rem;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 1.3rem;
  font-weight: 400;
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-footer {
  padding: 3.8rem 0 1.4rem;
  background: #0d100c;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(150px, 0.6fr));
  gap: 3rem;
}

.footer-brand p {
  max-width: 420px;
  margin: 1.1rem 0 0.7rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-email {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-column h2 {
  margin-bottom: 0.45rem;
  color: #fff5df;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-column a {
  color: var(--text-muted);
  font-size: 0.8rem;
}

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

.footer-bottom {
  display: grid;
  gap: 0.1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: center;
}

.legal-hero {
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(156, 73, 52, 0.18), transparent 34%),
    linear-gradient(180deg, #14170f 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.legal-heading {
  max-width: 850px;
}

.legal-heading h1 {
  max-width: 900px;
}

.legal-content {
  min-height: 60vh;
  padding: 3rem 0 6rem;
  background: var(--bg);
}

.legal-panel {
  max-width: 900px;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-glass);
  box-shadow: var(--shadow-small);
}

.legal-meta {
  margin-top: 0;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-panel h2 {
  margin: 2rem 0 0.65rem;
  color: #fff5df;
  font-size: 1.25rem;
}

.legal-panel h2:first-of-type {
  margin-top: 1.8rem;
}

.legal-panel p,
.legal-panel li {
  color: var(--text-soft);
  font-size: 0.91rem;
}

.legal-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-panel li + li {
  margin-top: 0.45rem;
}

.legal-panel a {
  color: var(--gold-light);
  font-weight: 700;
}

.error-section {
  min-height: 65vh;
  display: grid;
  place-items: center;
  padding: 5rem 0;
}

.error-card {
  max-width: 650px;
  text-align: center;
}

.error-code {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  opacity: 0.45;
}

.error-card .button {
  margin-top: 1.6rem;
}

@media (max-width: 980px) {
  .desktop-nav {
    gap: 0.8rem;
  }

  .desktop-nav a {
    font-size: 0.78rem;
  }

  .hero-layout,
  .growth-layout,
  .latest-layout,
  .official-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-visual {
    max-width: 820px;
    justify-content: center;
    align-items: center;
  }

  .latest-layout .section-heading,
  .faq-layout .section-heading {
    position: static;
  }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(150px, 0.6fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 70px;
    gap: 0.45rem;
  }

  .site-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-brand span {
    min-width: 0;
    overflow: hidden;
  }

  .site-brand strong,
  .site-brand small {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .desktop-nav {
    display: none;
  }

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

  .mobile-nav {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .mobile-nav {
    display: block;
  }

  .hero-section {
    padding: 3.7rem 0 3.5rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-image-frame {
    transform: none;
    border-radius: 13px;
  }

  .fact-grid,
  .quick-grid,
  .reroll-layout,
  .database-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: auto;
  }

  .update-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .step-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 1rem;
  }

  .step-index {
    font-size: 1.55rem;
  }

  .criteria-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .growth-visual {
    min-height: 260px;
  }

  .growth-visual img {
    min-height: 260px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-brand strong {
    font-size: 0.88rem;
  }

  .site-brand small {
    font-size: 0.58rem;
  }
}
