:root {
  --night: #09070d;
  --plum: #1a0e20;
  --plum-deep: #120a18;
  --pink: #ff4f9f;
  --pink-strong: #ff6aac;
  --cream: #fff2e8;
  --violet: #8d6bff;
  --muted: #b9a6b2;
  --line: rgba(255, 242, 232, 0.14);
  --line-strong: rgba(255, 242, 232, 0.26);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "Consolas", "SFMono-Regular", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background-color: var(--night);
  background-image:
    radial-gradient(1100px 580px at 10% -8%, rgba(141, 107, 255, 0.11), transparent 62%),
    radial-gradient(900px 520px at 94% 4%, rgba(255, 79, 159, 0.075), transparent 58%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

::selection {
  color: var(--night);
  background: var(--pink);
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--night);
  background: var(--pink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 7, 13, 0.9);
  backdrop-filter: blur(16px);
}

.head-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  text-decoration: none;
}

.brand img {
  flex: none;
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.19em;
}

.menu-btn {
  display: inline-flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
}

.menu-line {
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: -24px;
  left: -24px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 24px 22px;
  border-bottom: 1px solid var(--line);
  background: #0c0811;
  box-shadow: 0 28px 44px rgba(0, 0, 0, 0.5);
}

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

.site-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  font-size: 14px;
  text-decoration: none;
}

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

.site-nav .head-cta {
  margin-top: 16px;
  padding: 13px 18px;
  border: 0;
  border-radius: 2px;
  color: var(--night);
  background: var(--pink);
  font-weight: 600;
  text-align: center;
}

.site-nav .head-cta:hover {
  color: var(--night);
  background: var(--pink-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image:
    radial-gradient(880px 520px at 7% -4%, rgba(141, 107, 255, 0.1), transparent 64%),
    radial-gradient(720px 440px at 92% 16%, rgba(255, 79, 159, 0.07), transparent 64%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  padding-top: clamp(46px, 6vw, 74px);
  padding-bottom: clamp(58px, 7vw, 88px);
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 6.1vw, 86px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: 0.01em;
}

.hero-brand {
  display: block;
  margin-bottom: 16px;
  color: var(--pink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.22em;
}

.hero-line {
  display: block;
}

.hero-line-pink {
  color: var(--pink);
}

.hero-lead {
  max-width: 35em;
  margin: 24px 0 0;
  color: #e9dce2;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.95;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-p {
  color: var(--night);
  background: var(--pink);
}

.btn-p:hover {
  background: var(--pink-strong);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--cream);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.hero-stage {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
  justify-self: center;
}

.stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.17em;
}

.stage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 79, 159, 0.12);
}

.stage-ep {
  color: var(--pink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.hero-screen {
  position: relative;
  z-index: 2;
  margin: 0;
}

.screen-frame {
  border: 1px solid rgba(255, 242, 232, 0.28);
  background: #0b070f;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.screen-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.stage-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.stage-meta {
  color: rgba(255, 242, 232, 0.55);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-align: right;
}

.stage-meta .stage-ep {
  font-size: 9px;
}

.stage-no {
  display: none;
  position: absolute;
  right: -34px;
  bottom: 58px;
  z-index: 0;
  color: transparent;
  font-family: var(--serif);
  font-size: 86px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 242, 232, 0.16);
  pointer-events: none;
}

.hero-kanji {
  position: absolute;
  right: 0;
  bottom: -130px;
  z-index: 0;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(300px, 37vw, 560px);
  font-weight: 500;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255, 242, 232, 0.055);
  pointer-events: none;
  user-select: none;
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 9, 18, 0.82);
}

.ticker-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  min-height: 54px;
  padding-top: 11px;
  padding-bottom: 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
}

.ticker-label {
  color: var(--pink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.tick {
  flex: none;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pink);
}

.section {
  padding-top: clamp(62px, 7.5vw, 100px);
  padding-bottom: clamp(62px, 7.5vw, 100px);
}

.section-head {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 6px 12px;
  margin-bottom: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.section-no {
  display: inline-block;
  padding-top: 12px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.section-head h2 {
  grid-column: 2;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.section-lead {
  grid-column: 2;
  max-width: 58ch;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

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

.poster {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
}

.poster-frame {
  padding: 5px;
  border: 1px solid rgba(9, 7, 13, 0.2);
  background: var(--cream);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.36);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(9, 7, 13, 0.14);
  object-fit: cover;
}

.poster-cap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 8px;
  margin-top: 12px;
}

.poster-no {
  padding-top: 3px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.poster-name {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
}

.poster-note {
  grid-column: 2;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.shelf-section {
  background-image: linear-gradient(180deg, rgba(26, 14, 32, 0.52), rgba(9, 7, 13, 0) 46%, rgba(26, 14, 32, 0.16));
}

.shelf {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 28px 14px;
  padding-bottom: 20px;
}

.book {
  min-width: 0;
  margin: 0;
}

.book-cover {
  overflow: hidden;
  border: 1px solid rgba(255, 242, 232, 0.16);
  border-bottom: 4px solid #2a1730;
  background: #0c0811;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.book-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.book-cap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 7px;
  margin-top: 10px;
}

.book-no {
  padding-top: 3px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.book-title {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
}

.book-ep {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.shelf-board {
  height: 11px;
  border: 1px solid rgba(255, 242, 232, 0.12);
  background: linear-gradient(180deg, #2b1731 0%, #160c1c 55%, #0d0812 100%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

@media (hover: hover) {
  .book:hover .book-cover {
    border-color: rgba(255, 79, 159, 0.52);
    transform: translateY(-5px);
  }
}

.read-band {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(58px, 7vw, 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0e0813;
}

.read-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 42px;
}

.read-visual {
  width: 100%;
  max-width: 310px;
  margin-inline: auto;
}

.read-frame {
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--pink);
  background: #0a0710;
}

.read-frame img {
  width: 100%;
}

.read-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.progress-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.progress-track {
  position: relative;
  height: 1px;
  background: rgba(255, 242, 232, 0.2);
}

.progress-fill {
  position: absolute;
  top: -1px;
  left: 0;
  width: 64%;
  height: 3px;
  background: var(--pink);
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
}

.read-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: right;
}

.read-copy .section-no {
  display: block;
  padding-top: 0;
  margin-bottom: 14px;
}

.read-kicker {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
}

.read-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.14;
}

.read-lead {
  max-width: 40ch;
  margin: 20px 0 0;
  color: #e4d5dc;
  font-size: 15px;
  line-height: 1.9;
}

.read-steps {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.read-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step-no {
  padding-top: 4px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
}

.step-body h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.notes-copy .section-no {
  display: block;
  padding-top: 0;
  margin-bottom: 14px;
}

.notes-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.18;
}

.notes-lead {
  max-width: 26ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

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

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

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::marker {
  content: "";
}

.faq summary:hover,
.faq details[open] summary {
  color: var(--pink);
}

.faq-mark {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 6px;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 13px;
  height: 1px;
  background: var(--pink);
  transition: transform 0.2s ease;
}

.faq-mark::after {
  transform: rotate(90deg);
}

.faq details[open] .faq-mark::after {
  transform: rotate(90deg) scaleX(0);
}

.faq p {
  max-width: 64ch;
  margin: 0;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.download-band {
  padding-top: clamp(62px, 7.5vw, 100px);
  padding-bottom: clamp(62px, 7.5vw, 100px);
  border-top: 1px solid var(--line);
  background-color: #0a0710;
  background-image: radial-gradient(1000px 500px at 50% 112%, rgba(255, 79, 159, 0.17), transparent 66%);
}

.dl-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid rgba(255, 79, 159, 0.28);
  background: linear-gradient(180deg, #150c1b 0%, #0c0811 72%);
}

.dl-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 300px at 50% 118%, rgba(255, 79, 159, 0.16), transparent 70%);
  pointer-events: none;
}

.dl-head,
.dl-grid,
.dl-note {
  position: relative;
  z-index: 1;
}

.dl-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 28px;
  border-bottom: 1px dashed rgba(255, 242, 232, 0.2);
}

.dl-head .section-no {
  display: block;
  padding-top: 0;
  margin-bottom: 14px;
}

.dl-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.dl-sub {
  max-width: 44ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.dl-stub {
  display: none;
}

.stub-top,
.stub-bottom {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

.stub-no {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.stub-code {
  width: 96px;
  height: 22px;
  margin-top: 10px;
  background: repeating-linear-gradient(90deg, rgba(255, 242, 232, 0.68) 0 1px, transparent 1px 4px, rgba(255, 242, 232, 0.32) 4px 5px, transparent 5px 9px);
  opacity: 0.62;
}

.dl-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dl-card {
  min-height: 176px;
  padding: 18px;
  border: 1px solid rgba(255, 242, 232, 0.16);
  border-radius: 2px;
  color: var(--cream);
  background: rgba(255, 242, 232, 0.03);
  text-decoration: none;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.dl-card:not([hidden]) {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
}

.dl-card:hover,
.dl-card:focus-visible {
  border-color: rgba(255, 79, 159, 0.72);
  background: rgba(255, 79, 159, 0.065);
  transform: translateY(-3px);
}

.dl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dl-no {
  color: var(--pink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.dl-en {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.dl-name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.2;
}

.dl-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.dl-open {
  align-self: end;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 242, 232, 0.1);
  color: var(--pink);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.dl-grid:not(:has(.dl-card:not([hidden]))) {
  display: none;
}

.dl-panel:not(:has(.dl-card:not([hidden]))) .dl-stub,
.dl-panel:not(:has(.dl-card:not([hidden]))) .dl-sub,
.dl-panel:not(:has(.dl-card:not([hidden]))) .dl-note {
  display: none;
}

.dl-panel:not(:has(.dl-card:not([hidden]))) .dl-head {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.dl-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.site-foot {
  padding-top: clamp(44px, 5vw, 64px);
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  background: #08060b;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.foot-brand .brand img {
  width: 44px;
  height: 44px;
}

.foot-brand p {
  max-width: 34ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.foot-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}

.foot-nav a {
  color: var(--muted);
  text-decoration: none;
}

.foot-nav a:hover {
  color: var(--pink);
}

.foot-label {
  color: var(--pink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
}

.foot-meta p {
  max-width: 28ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.foot-bottom p {
  margin: 0;
}

.foot-bottom p:last-child {
  color: rgba(255, 242, 232, 0.72);
  letter-spacing: 0.05em;
}

.error-page {
  min-height: 100vh;
  background-color: var(--night);
  background-image:
    radial-gradient(760px 460px at 50% 110%, rgba(255, 79, 159, 0.13), transparent 66%),
    radial-gradient(700px 420px at 14% 0%, rgba(141, 107, 255, 0.09), transparent 62%);
}

.error-page {
  display: flex;
  flex-direction: column;
}

.error-head {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.error-main {
  position: relative;
  display: grid;
  flex: 1;
  place-items: center;
  overflow: hidden;
  padding: 72px 0;
  text-align: center;
}

.error-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.error-no {
  margin: 0;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.error-main h1 {
  margin: 16px 0 18px;
  font-family: var(--serif);
  font-size: clamp(46px, 9vw, 100px);
  font-weight: 500;
  line-height: 1.14;
}

.error-sub {
  max-width: 32em;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.error-main .btn {
  margin-top: 28px;
}

.error-kanji {
  position: absolute;
  right: 2%;
  bottom: -90px;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(260px, 34vw, 520px);
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255, 242, 232, 0.06);
  pointer-events: none;
  user-select: none;
}

.error-foot {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.error-foot .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

@media (min-width: 560px) {
  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .poster-grid {
    gap: 28px 18px;
  }

  .poster-frame {
    padding: 8px;
  }

  .poster-name {
    font-size: 18px;
  }

  .poster-note {
    font-size: 11.5px;
  }
}

@media (min-width: 640px) {
  .poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
    gap: 40px;
  }

  .dl-grid {
    flex-direction: row;
  }

  .dl-card:not([hidden]) {
    flex: 1 1 0;
    min-width: 0;
  }

  .dl-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 34px;
  }

  .dl-stub {
    display: flex;
    min-width: 132px;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-left: 28px;
    border-left: 1px dashed rgba(255, 242, 232, 0.18);
  }
}

@media (min-width: 900px) {
  .head-inner {
    min-height: 78px;
  }

  .menu-btn {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    display: inline-block;
    padding: 6px 0;
    border: 0;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.04em;
  }

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

  .site-nav .head-cta {
    margin-top: 0;
    padding: 10px 16px;
    color: var(--night);
    background: var(--pink);
  }

  .site-nav .head-cta:hover {
    color: var(--night);
    background: var(--pink-strong);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
    align-items: center;
    gap: 48px;
  }

  .hero-stage {
    justify-self: end;
    margin-right: clamp(0px, 2vw, 26px);
  }

  .read-grid {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: clamp(44px, 6vw, 86px);
  }

  .read-visual {
    max-width: none;
    margin-inline: 0;
  }
}

@media (min-width: 1000px) {
  .book-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
  }

  .notes-grid {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: clamp(48px, 7vw, 96px);
  }
}

@media (min-width: 1200px) {
  .stage-no {
    display: block;
  }
}

@media (max-width: 959px) {
  .hero-kanji {
    display: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 40px);
  }

  .site-nav {
    right: -20px;
    left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 7.5px;
    letter-spacing: 0.15em;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-brand {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .hero-note {
    font-size: 11px;
  }

  .poster-cap {
    gap: 1px 6px;
  }

  .poster-no {
    font-size: 9px;
  }

  .poster-name {
    font-size: 14px;
  }

  .poster-note {
    font-size: 10px;
  }

  .book-title {
    font-size: 14px;
  }

  .book-ep {
    font-size: 9px;
  }

  .read-steps li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
  }

  .faq summary {
    font-size: 15px;
  }

  .dl-head h2 {
    font-size: clamp(25px, 7.2vw, 30px);
  }

  .dl-card {
    min-height: 158px;
    padding: 16px;
  }

  .foot-bottom {
    flex-direction: column;
  }
}

@media (max-width: 350px) {
  .dl-head h2 {
    font-size: 25px;
    letter-spacing: 0;
  }
}

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

@media (prefers-reduced-motion: no-preference) {
  .stage-dot {
    animation: stage-pulse 3.2s ease-in-out infinite;
  }
}

@keyframes stage-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 79, 159, 0.12);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 79, 159, 0.02);
  }
}