:root {
  --ink: #f7f3ee;
  --muted: #a9a3ae;
  --accent: #ff3f70;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #09080c; }
body { margin: 0; background: #09080c; color: var(--ink); font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif; }
button, a { font: inherit; }
button { color: inherit; }
.is-hidden { display: none !important; }
.site-shell { min-height: 100vh; overflow: hidden; padding-bottom: 112px; background: radial-gradient(circle at 75% 4%, rgba(181, 38, 87, .12), transparent 27%), #09080c; }

.topbar { width: min(1180px, calc(100% - 40px)); height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: white; letter-spacing: .04em; }
.brand-mark { width: 39px; height: 39px; border-radius: 12px 4px 12px 4px; display: grid; place-items: center; font-family: Georgia, serif; font-size: 24px; font-weight: 800; font-style: italic; background: linear-gradient(145deg, #ff6a88, #d82455); box-shadow: 0 8px 28px rgba(255, 63, 112, .25); }
.brand strong { display: block; font-size: 14px; letter-spacing: .18em; }
.brand small { display: block; color: #827d87; font-size: 9px; margin-top: 2px; }
.header-download { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); border-radius: 999px; padding: 10px 18px; cursor: pointer; font-size: 12px; transition: .2s; }
.header-download:hover { background: var(--accent); border-color: var(--accent); }

.hero { min-height: 570px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 25px; }
.eyebrow, .section-kicker { font-size: 11px; letter-spacing: .22em; font-weight: 700; color: #e3b0bc; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; }
.eyebrow i { width: 28px; height: 1px; background: var(--accent); }
.hero h1 { margin: 0; font-family: "Noto Serif JP", "Yu Mincho", serif; font-weight: 700; line-height: 1.14; letter-spacing: .02em; font-size: clamp(52px, 6vw, 83px); }
.hero h1 em { color: var(--accent); font-style: normal; text-shadow: 0 0 45px rgba(255,63,112,.25); }
.hero-copy > p { max-width: 510px; margin: 26px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 20px; }
.primary-action { border: 0; cursor: pointer; color: white; background: linear-gradient(135deg, #ff517c, #dc2757); box-shadow: 0 14px 38px rgba(220,39,87,.27); border-radius: 999px; padding: 15px 23px; font-size: 13px; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(220,39,87,.38); }
.play-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 7px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 9px; }
.trust-copy { font-size: 10px; color: #77727c; letter-spacing: .08em; }
.hero-orbit { height: 510px; position: relative; z-index: 1; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.hero-glow-one { width: 300px; height: 300px; right: 100px; top: 90px; background: #7e173d; }
.hero-glow-two { width: 160px; height: 160px; right: 0; top: 0; background: #54329a; opacity: .18; }
.orbit-ring { position: absolute; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.ring-one { width: 430px; height: 430px; right: 20px; top: 35px; }
.ring-two { width: 320px; height: 320px; right: 75px; top: 90px; border-style: dashed; }
.hero-card { position: absolute; overflow: hidden; border-radius: 17px; background: #211e27; box-shadow: 0 32px 70px rgba(0,0,0,.48); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card-main { width: 255px; height: 365px; right: 100px; top: 72px; transform: rotate(4deg); z-index: 2; border: 3px solid rgba(255,255,255,.09); }
.hero-card-back { width: 205px; height: 295px; right: 270px; top: 122px; transform: rotate(-11deg); opacity: .73; }
.float-label { position: absolute; right: 24px; top: 90px; width: 82px; height: 82px; border-radius: 50%; display: grid; place-content: center; text-align: center; font-size: 9px; line-height: 1.2; letter-spacing: .15em; background: #f5ecdf; color: #342b2c; transform: rotate(8deg); z-index: 3; box-shadow: 0 14px 35px rgba(0,0,0,.3); }
.float-label b { font-family: Georgia, serif; font-size: 17px; letter-spacing: .04em; }

.catalog { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.section-kicker { color: var(--accent); }
.section-heading h2 { margin: 7px 0 0; font-size: 28px; font-family: "Noto Serif JP", "Yu Mincho", serif; }
.category-chips { display: flex; gap: 7px; }
.category-chips span { padding: 8px 13px; border-radius: 999px; font-size: 11px; color: #827d87; border: 1px solid rgba(255,255,255,.07); }
.category-chips .active { background: #f0e9e1; color: #271f23; border-color: #f0e9e1; }
.title-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 18px; }
.title-card { border: 0; padding: 0; background: transparent; text-align: left; cursor: pointer; min-width: 0; }
.poster-wrap { display: block; position: relative; aspect-ratio: 2 / 2.85; border-radius: 10px; overflow: hidden; background: #19171d; box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.poster-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s, filter .45s; }
.title-card:hover img { transform: scale(1.055); filter: brightness(.7); }
.rank { position: absolute; left: 10px; bottom: 7px; color: rgba(255,255,255,.9); font: italic 700 34px/1 Georgia, serif; text-shadow: 0 2px 15px rgba(0,0,0,.7); }
.quality-badge { position: absolute; right: 9px; top: 9px; padding: 4px 7px; border-radius: 4px; color: #141015; background: #f5eee5; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.poster-action { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); transform: translate(-50%, -35%) scale(.75); opacity: 0; box-shadow: 0 10px 30px rgba(255,63,112,.4); transition: .25s; font-size: 13px; padding-left: 2px; }
.title-card:hover .poster-action { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.title-info { display: block; padding: 13px 2px 0; }
.title-info strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: #f4f0eb; }
.title-info > span { display: block; margin-top: 6px; color: #756f7a; font-size: 10px; }
.title-info small { margin-top: 8px; display: flex; align-items: center; gap: 6px; color: #938d97; font-size: 9px; }
.title-info small i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.title-info small b { margin-left: auto; font-weight: 600; color: #c9a8b1; }

.benefits { width: min(980px, calc(100% - 40px)); margin: 15px auto 90px; padding: 28px 42px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.07); border-radius: 15px; background: rgba(255,255,255,.025); }
.benefits > div { display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid rgba(255,255,255,.07); }
.benefits > div:last-child { border-right: 0; }
.benefits span { font: italic 700 25px Georgia, serif; color: var(--accent); }
.benefits p { margin: 0; color: #716b76; font-size: 9px; line-height: 1.7; }
.benefits strong { display: block; color: #d8d1d7; font-size: 12px; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 28px; color: #5c5661; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 8px 3px 8px 3px; font-size: 17px; }
.footer-brand strong { font-size: 10px; color: #aaa3ac; }
footer p { margin: 0; font-size: 10px; }
footer > small { margin-left: auto; font-size: 9px; }

.floating-download { position: fixed; z-index: 20; left: 50%; bottom: 22px; transform: translateX(-50%); min-width: 300px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 11px 26px 11px 16px; cursor: pointer; display: grid; grid-template-columns: 38px auto; column-gap: 10px; text-align: left; color: white; background: linear-gradient(110deg, #ff537e, #d72d59); box-shadow: 0 16px 45px rgba(0,0,0,.55), 0 8px 30px rgba(215,45,89,.35); transition: transform .2s; }
.floating-download:hover { transform: translateX(-50%) translateY(-3px); }
.floating-download > span { width: 38px; height: 38px; grid-row: 1/3; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.17); }
.floating-download strong { align-self: end; font-size: 13px; }
.floating-download small { color: rgba(255,255,255,.72); font-size: 9px; }

.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(6,5,9,.82); backdrop-filter: blur(11px); }
.notice-overlay { background: radial-gradient(circle at 50% 30%, rgba(132,28,64,.35), transparent 45%), rgba(6,5,9,.92); }
.notice-card { width: min(430px, 100%); padding: 34px 34px 28px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; text-align: center; background: linear-gradient(155deg, #211b24, #121016 70%); box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.notice-card::before { content: ""; position: absolute; width: 250px; height: 250px; left: -150px; top: -150px; border-radius: 50%; background: rgba(255,63,112,.16); filter: blur(20px); }
.notice-pill { display: inline-block; color: #ff95ae; letter-spacing: .24em; font-size: 9px; }
.notice-icon { width: 65px; height: 65px; margin: 18px auto 20px; display: grid; place-items: center; border-radius: 20px 7px 20px 7px; padding-left: 4px; font-size: 20px; background: linear-gradient(145deg, #ff668b, #d92757); box-shadow: 0 15px 35px rgba(218,40,87,.32); }
.notice-card h2 { margin: 0; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 27px; line-height: 1.5; }
.notice-card > p { color: #a59da8; font-size: 12px; line-height: 1.8; }
.notice-card ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; text-align: left; }
.notice-card li { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 10px; background: rgba(255,255,255,.035); color: #d1cad1; font-size: 11px; }
.notice-card li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #1b1216; background: #f2b7c5; font-weight: 900; }
.acknowledge { width: 100%; border: 0; border-radius: 999px; padding: 13px 20px; cursor: pointer; background: linear-gradient(110deg, #ff5c84, #dc2d59); box-shadow: 0 12px 32px rgba(220,45,89,.28); font-weight: 800; }
.acknowledge small { display: block; margin-top: 2px; font-size: 8px; font-weight: 500; opacity: .72; }
.notice-card .notice-footnote { margin-bottom: 0; font-size: 8px; color: #625c65; }

.download-overlay { background: rgba(21,11,16,.64); }
.download-card { width: min(464px, 100%); max-height: calc(100vh - 30px); overflow-y: auto; padding: 26px 24px 24px; border-radius: 24px; text-align: center; color: #654b47; background: #fff8f8; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.lock-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: #fff3f5; border: 1px solid #ffc8d3; font-size: 26px; }
.download-card h2 { margin: 0 0 11px; font-size: 22px; letter-spacing: .03em; }
.selected-title { display: inline-block; max-width: 100%; margin-bottom: 10px; padding: 5px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 999px; color: #a35166; background: #fdebf0; font-size: 10px; }
.download-card > p { margin: 0 0 20px; color: #927b79; font-size: 13px; line-height: 1.9; }
.security-note { margin: 0 0 22px; padding: 18px 14px; border: 1px solid #f4c3ce; border-radius: 15px; background: #fff0f3; }
.security-note strong { display: block; margin-bottom: 8px; color: #684b48; font-size: 14px; }
.security-note span { color: #947d7b; font-size: 12px; line-height: 1.9; }
.install-button, .cancel-button { width: 100%; border: 0; border-radius: 999px; padding: 14px 18px; cursor: pointer; font-weight: 800; }
.install-button { color: white; background: linear-gradient(100deg, #ef7f9b, #dc5a7e); box-shadow: 0 9px 22px rgba(219,91,126,.22); }
.cancel-button { margin-top: 10px; color: #937b80; background: #f2eaec; }
.download-message { min-height: 16px; margin: 12px 0 0; color: #c74468; font-size: 11px; }

@media (max-width: 900px) {
  .hero { min-height: 660px; grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { z-index: 3; }
  .hero-orbit { position: absolute; right: -105px; bottom: -85px; width: 450px; opacity: .52; }
  .hero-card-main { right: 75px; }
  .hero-card-back { right: 235px; }
  .title-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .site-shell { padding-bottom: 100px; }
  .topbar { width: calc(100% - 30px); height: 72px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand strong { font-size: 12px; }
  .header-download { display: none; }
  .hero { width: calc(100% - 30px); min-height: 610px; padding-top: 40px; align-items: start; }
  .hero h1 { font-size: clamp(45px, 15vw, 65px); }
  .hero-copy > p { max-width: 340px; font-size: 12px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-orbit { right: -195px; bottom: -105px; transform: scale(.78); }
  .catalog { width: calc(100% - 30px); padding-top: 45px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .category-chips { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .title-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 11px; }
  .rank { font-size: 27px; }
  .title-info strong { font-size: 11px; }
  .benefits { width: calc(100% - 30px); padding: 19px 15px; grid-template-columns: 1fr; }
  .benefits > div { justify-content: flex-start; padding: 13px 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .benefits > div:last-child { border-bottom: 0; }
  footer { width: calc(100% - 30px); align-items: flex-start; flex-direction: column; gap: 12px; }
  footer > small { margin-left: 0; }
  .floating-download { width: calc(100% - 30px); bottom: 14px; }
  .notice-card { padding: 28px 22px 22px; }
  .notice-card h2 { font-size: 24px; }
  .download-card { padding: 22px 18px 19px; }
  .lock-icon { width: 58px; height: 58px; margin-bottom: 14px; }
  .download-card h2 { font-size: 19px; }
  .download-card > p { font-size: 11px; line-height: 1.75; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
