:root {
  color-scheme: light;
  --paper: #ffffff;
  --page-surround: #f5f4f8;
  --ink: #292633;
  --muted: #686574;
  --gold: #f5c34d;
  --orange: #f28a2d;
  --focus: #5337a5;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

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

html {
  min-width: 0;
  background: var(--page-surround);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--page-surround);
  color: var(--ink);
  line-height: 1.7;
}

.page-shell {
  width: min(100%, 760px);
  min-width: 0;
  margin-inline: auto;
  background: var(--paper);
  box-shadow: 0 0 36px rgb(48 40 66 / 7%);
}

.page-heading {
  padding: clamp(24px, 7vw, 46px) 18px clamp(20px, 5vw, 34px);
  text-align: center;
}

.intro-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.manga-pages {
  width: 100%;
  min-width: 0;
  background: var(--paper);
}

.comic-page {
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 0;
  background: var(--paper);
}

.comic-page img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.final-cta {
  padding: clamp(28px, 8vw, 48px) clamp(16px, 5vw, 28px) clamp(38px, 9vw, 58px);
  text-align: center;
}

.final-cta h2 {
  margin: 0 0 20px;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 850;
  line-height: 1.45;
}

.cta-price {
  margin: -7px 0 8px;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 850;
  line-height: 1.4;
}

.cta-conditions {
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.cta-button {
  position: relative;
  display: flex;
  width: min(100%, 620px);
  min-height: 74px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-inline: auto;
  border: 1px solid rgb(117 71 16 / 12%);
  border-radius: 18px;
  padding: 14px 52px 14px 20px;
  background: linear-gradient(110deg, var(--gold) 0%, #f7b341 44%, var(--orange) 100%);
  color: #302719;
  box-shadow: 0 9px 22px rgb(170 105 22 / 24%);
  text-align: center;
  text-decoration: none;
  animation: cta-bounce 2.6s ease-in-out infinite;
}

.cta-button:hover {
  box-shadow: 0 13px 28px rgb(170 105 22 / 34%);
}

.cta-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  box-shadow: 0 13px 30px rgb(83 55 165 / 30%);
}

.cta-label {
  font-size: clamp(16px, 4.4vw, 21px);
  font-weight: 850;
  line-height: 1.45;
}

.cta-sub-label {
  margin-top: 3px;
  color: #493a24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 24px;
  font-weight: 750;
  line-height: 1;
  transform: translateY(-50%);
}

.page-footer {
  padding: 0 16px 24px;
  color: var(--muted);
  text-align: center;
}

.page-footer p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.8;
}

@keyframes cta-bounce {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 430px) {
  .page-shell { box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-button { animation: none; }
}
