:root {
  color-scheme: dark;
  --text: #f5f7ff;
  --muted: #b9c4dc;
  --border: rgba(183, 205, 255, .22);
  --accent: #fa3042;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(16px, 4vw, 48px);
  background: radial-gradient(circle at 80% 0%, #172748 0, #05070d 48%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

main {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(11, 16, 29, .9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

a { color: #b7d4ff; text-underline-offset: .25em; }
a:hover { color: #fff; }
a:focus-visible { outline: 3px solid #91c6ff; outline-offset: 5px; }
h1, h2, p, figure { margin: 0; }
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.4; letter-spacing: -.04em; }
h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.5; }
p + p { margin-top: 16px; }
p, li { color: var(--muted); }
strong { color: var(--text); }
ul { margin: 12px 0 0; padding-left: 1.4em; }
li + li { margin-top: 8px; }

.hero { text-align: center; }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: .18em; }
.lead { max-width: 700px; margin: 20px auto 0; font-size: clamp(16px, 2vw, 19px); }
.price { margin-top: 28px; padding: 20px; border: 1px solid rgba(250, 48, 66, .5); border-radius: 12px; background: rgba(250, 48, 66, .08); }
.price p { color: var(--text); }
.price strong { display: inline-block; font-size: clamp(28px, 4vw, 36px); font-weight: 900; line-height: 1.5; }
.note { margin-top: 12px; font-size: 14px; }

.choices { display: grid; gap: 20px; margin-top: 36px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, .035); }
.choice-number { color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.choice .button { margin-top: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 20px; border: 1px solid #ff6070; border-radius: 8px; background: #bc1931; color: #fff; font-weight: 800; line-height: 1.6; text-align: center; text-decoration: none; }
.button::after { content: "→"; flex-shrink: 0; }
.button:hover { background: #d3213c; color: #fff; }

.breadcrumbs { margin-bottom: 32px; font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 12px; color: var(--muted); }
.detail { display: grid; gap: 28px; margin-top: 32px; align-items: start; }
.poster { min-width: 0; }
.poster a { display: block; border: 1px solid var(--border); border-radius: 12px; }
.poster img { display: block; width: 100%; height: auto; border-radius: 11px; }
.poster figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; text-align: center; }
.info { min-width: 0; }
.catch { margin-bottom: 20px; padding-left: 16px; border-left: 3px solid var(--accent); }
.placement { margin-top: 28px; }
.placement h2, .notice h2 { font-size: 20px; }
.notice { margin-top: 24px; padding: 20px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, .035); }
.apply { margin-top: 24px; }
.apply .button { width: 100%; }
.apply .note { text-align: center; }
.page-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.page-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 700px) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-links { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
}

@media (min-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
}
