:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #050505; }
header { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: linear-gradient(#000d, transparent); pointer-events: none; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand strong { font-size: 20px; letter-spacing: -.03em; }
.brand strong span { color: #ff2f68; }
.brand em { padding: 2px 6px; border: 1px solid #ffffff55; border-radius: 4px; font-size: 9px; font-style: normal; color: #ddd; }
.header-actions { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
header select { color: #fff; background: #222e; border: 1px solid #777; border-radius: 8px; padding: 8px; }
.site-menu { position: relative; }
.site-menu summary { list-style: none; cursor: pointer; padding: 8px 10px; border: 1px solid #555; border-radius: 8px; background: #171717e8; font-size: 13px; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu nav { position: absolute; top: calc(100% + 8px); right: 0; display: grid; width: 210px; padding: 8px; border: 1px solid #333; border-radius: 12px; background: #111f; box-shadow: 0 12px 30px #000a; }
.site-menu nav a { padding: 10px 12px; border-radius: 7px; color: #eee; text-decoration: none; font-size: 13px; }
.site-menu nav a:hover { background: #ffffff10; }
#feed { width: 100%; height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; }
.card { position: relative; width: 100%; height: 100%; min-height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; background: #000; overflow: hidden; }
.content-stack { position: absolute; top: 50%; left: 50%; width: min(720px, 100vw); transform: translate(-50%, -50%); }
.player-shell { position: relative; width: 100%; height: min(480px, 66.67vw); overflow: hidden; background: #080808; }
.card iframe, .poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.poster { object-fit: contain; opacity: .72; }
.card iframe { z-index: 2; visibility: hidden; }
.card iframe.ready { visibility: visible; }
.loading, .player-failed { position: absolute; z-index: 3; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px; background: #0008; color: #fff; text-align: center; }
.loading span { width: 22px; height: 22px; border: 3px solid #ffffff55; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.loading.hidden, .player-failed { display: none; }
.player-failed.visible { display: flex; align-items: flex-end; background: linear-gradient(transparent, #000c); }
@keyframes spin { to { transform: rotate(1turn); } }
.shade { position: absolute; z-index: 4; inset: 55% 0 0; background: linear-gradient(transparent, #000e); pointer-events: none; }
.meta { position: relative; z-index: 5; margin-top: 14px; pointer-events: none; }
.meta h2 { margin: 0 0 10px; font-size: clamp(18px, 3.2vw, 28px); line-height: 1.35; overflow-wrap: anywhere; text-shadow: 0 2px 8px #000; }
.facts { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.facts span:empty { display: none; }
.product, .gate button { display: inline-block; border: 0; border-radius: 999px; padding: 12px 20px; color: #fff; background: #e80046; font-weight: 700; text-decoration: none; cursor: pointer; }
.product { position: static; z-index: 7; margin-top: 12px; padding: 10px 18px; box-shadow: 0 4px 20px #0008; pointer-events: auto; }
@media (min-width: 601px) {
  .card { display: grid; place-items: center; height: auto; min-height: max(100dvh, 700px); padding: 50px 0 40px; }
  .content-stack { position: relative; top: auto; left: auto; width: 720px; transform: none; }
  .player-shell { width: 720px; height: 480px; }
  .shade { display: none; }
  .meta { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; row-gap: 8px; align-items: center; }
  .meta h2 { grid-column: 1 / -1; margin: 0; font-size: clamp(17px, 1.8vw, 22px); line-height: 1.35; }
  .facts { grid-column: 1; grid-row: 2; }
  .product { grid-column: 2; grid-row: 2; min-width: 116px; margin-top: 0; text-align: center; }
}
.swipe-rail { position: absolute; z-index: 6; right: max(18px, calc((100vw - 850px) / 2)); width: 52px; height: 52px; border: 1px solid #ffffff30; border-radius: 50%; color: #fffc; background: #090909aa; backdrop-filter: blur(8px); font-size: 28px; line-height: 1; cursor: pointer; touch-action: none; }
.swipe-rail:hover, .swipe-rail:focus-visible { color: #fff; border-color: #ffffff80; background: #222d; }
.swipe-prev { top: calc(50% - 60px); }
.swipe-next { top: calc(50% + 8px); }
.credit { position: fixed; z-index: 10; right: 14px; bottom: calc(4px + env(safe-area-inset-bottom)); font-size: 10px; color: #aaa; }
.credit span { color: #ddd; }
.credit a { color: #bbb; }
.dti-ad-right { display: none; }
@media (min-width: 720px) {
  body.feed-active header { right: 0; background: linear-gradient(#000 0%, #000e 72%, transparent); }
  #feed .card { grid-template-columns: minmax(0, 1fr); justify-items: start; padding-left: min(100px, max(0px, calc(100vw - 720px))); padding-right: 320px; }
  #feed .content-stack { width: min(720px, 100%); }
  #feed .player-shell { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  #feed .swipe-rail { right: 335px; }
  .dti-ad-right:not([hidden]) { position: fixed; z-index: 5; top: max(90px, calc(50% - 250px)); right: 0; display: grid; grid-template-rows: repeat(2, 250px); width: 320px; height: 500px; max-height: calc(100dvh - 90px); overflow-x: hidden; overflow-y: auto; background: #000; }
  .dti-ad-right > #ndc372_1782790825,
  .dti-ad-right > iframe { display: block; width: 300px; height: 250px; border: 0; }
}
.status { position: fixed; z-index: 6; left: 50%; bottom: 20px; translate: -50% 0; padding: 9px 14px; border-radius: 99px; background: #111d; font-size: 13px; }
.gate { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 24px; background: #050505; }
.gate.hidden { display: none; }
.gate-card { width: min(440px, 100%); padding: 32px; text-align: center; border: 1px solid #333; border-radius: 20px; background: #111; }
.gate-label { color: #ff336d; letter-spacing: .15em; font-weight: 800; }
.gate button { display: block; width: 100%; margin: 24px 0 16px; }
.gate a { color: #bbb; }
.feature-home { border: 1px solid #555; border-radius: 8px; padding: 8px 10px; color: #fff; background: #171717e8; cursor: pointer; }
.feed-context { position: fixed; z-index: 11; top: calc(58px + env(safe-area-inset-top)); left: 16px; max-width: min(420px, calc(100vw - 32px)); translate: 0 0; overflow: hidden; padding: 7px 12px; border: 1px solid #ff4d7e55; border-radius: 999px; color: #fff; background: #160a0fe6; box-shadow: 0 6px 20px #0008; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; backdrop-filter: blur(10px); pointer-events: none; }
.discover { width: 100%; max-width: 100vw; height: 100%; padding: 92px max(24px, calc((100vw - 1180px) / 2)) 80px; overflow-x: hidden; overflow-y: auto; background: radial-gradient(circle at 80% 0, #51001f 0, transparent 34%), #080808; }
.discover-hero { min-height: 290px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px; border: 1px solid #ffffff18; border-radius: 28px; background: linear-gradient(115deg, #1b0810ee, #090909aa), radial-gradient(circle at 80% 50%, #e8004666, transparent 38%); box-shadow: 0 30px 80px #0008; }
.discover-period, .section-heading p { margin: 0 0 8px; color: #ff4d7e; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.discover-hero h1 { margin: 0; font-size: clamp(36px, 6vw, 72px); letter-spacing: -.06em; }
.discover-hero > p:not(.discover-period) { margin: 16px 0 26px; color: #ccc; }
.open-all-feed { border: 0; border-radius: 999px; padding: 14px 24px; color: #fff; background: #e80046; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 32px #e8004644; }
.feature-section { margin-top: 54px; }
.section-heading { display: flex; min-width: 0; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 38px); }
.section-heading > span { color: #888; font-size: 13px; }
.actress-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.genre-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { position: relative; display: block; width: 100%; min-width: 0; min-height: 180px; padding: 0; overflow: hidden; border: 1px solid #ffffff18; border-radius: 20px; color: #fff; background: linear-gradient(145deg, hsl(calc(342 + var(--card-index) * 8) 70% 22%), #101010 70%); text-align: left; text-decoration: none; cursor: pointer; isolation: isolate; }
.actress-feature { aspect-ratio: 3 / 4; }
.genre-feature { aspect-ratio: 16 / 7; }
.feature-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 78% 24%, #ffffff24, transparent 28%), linear-gradient(transparent 28%, #000e); }
.feature-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.feature-card-copy { position: absolute; right: 18px; bottom: 18px; left: 18px; display: grid; gap: 5px; }
.feature-card-copy strong { min-width: 0; overflow-wrap: anywhere; font-size: clamp(18px, 2.2vw, 27px); line-height: 1.15; }
.feature-card-copy small { color: #ddd; }
.feature-card:hover img { transform: scale(1.035); }
.feature-card:hover { border-color: #ff4d7e88; }
.feature-card:disabled { cursor: default; filter: saturate(.3); opacity: .65; }
.feature-status { margin: 28px 0; color: #aaa; text-align: center; }
.section-link { align-self: end; color: #ff4d7e; font-size: 14px; font-weight: 700; text-decoration: none; }
.latest-blog-card { position: relative; display: grid; grid-template-columns: minmax(240px, 42%) 1fr; min-height: 270px; overflow: hidden; border: 1px solid #ffffff1f; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #241017, #0d0d0d); text-decoration: none; }
.latest-blog-card > img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.latest-blog-placeholder { display: grid; place-items: center; min-height: 270px; color: #ffffff75; background: radial-gradient(circle at 30% 25%, #e8004655, transparent 38%), #130d10; font-size: 13px; letter-spacing: .16em; }
.latest-blog-copy { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 5vw, 58px); }
.latest-blog-copy small { color: #ff4d7e; font-weight: 800; letter-spacing: .12em; }
.latest-blog-copy strong { font-size: clamp(22px, 3vw, 36px); line-height: 1.35; }
.latest-blog-copy em { color: #ddd; font-style: normal; font-weight: 700; }
.latest-blog-card:hover { border-color: #ff4d7e99; }
.feature-landing { display: grid; align-content: center; }
.seo-hero h1 { max-width: 920px; font-size: clamp(32px, 5vw, 62px); line-height: 1.12; }
.seo-hero > p:not(.discover-period) { max-width: 720px; line-height: 1.8; }
.breadcrumb { display: flex; gap: 10px; align-items: center; margin: 20px 8px 0; color: #888; font-size: 13px; }
.breadcrumb a { color: #ff769c; }
@media (max-width: 600px) {
  header { min-height: 62px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; gap: 8px; background: linear-gradient(#000 0%, #000e 72%, transparent); }
  .brand { min-width: 0; gap: 6px; }
  .brand strong { font-size: 16px; white-space: nowrap; }
  .brand em { padding: 1px 5px; font-size: 8px; }
  .header-actions { flex: 0 0 auto; gap: 6px; }
  header select { width: 84px; height: 36px; padding: 0 22px 0 8px; font-size: 12px; }
  .site-menu summary { position: relative; display: block; width: 52px; height: 36px; padding: 0; overflow: hidden; color: transparent; font-size: 0; line-height: 0; }
  .site-menu summary::after { content: "情報"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-align: center; font-size: 12px; line-height: 1; }
  .site-menu nav { width: min(250px, calc(100vw - 24px)); }
  .credit { position: fixed; z-index: 10; top: auto; right: 10px; bottom: calc(3px + env(safe-area-inset-bottom)); left: 10px; overflow: hidden; color: #888; text-align: right; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; pointer-events: none; }
  .credit .disclosure, .credit .provider { position: static; color: inherit; white-space: inherit; }
  .credit a { pointer-events: auto; }
  .content-stack { top: 48%; width: 100vw; transform: translate(-50%, -50%); }
  .player-shell { width: 100vw; height: min(75vw, 360px); }
  .meta { margin: 12px 14px 0; }
  .product { display: block; width: 100%; margin-top: 10px; text-align: center; padding: 10px 16px; }
  .swipe-rail { display: none; }
  .feature-home { width: 52px; height: 36px; padding: 0; overflow: hidden; font-size: 0; }
  .feature-home::after { content: '特集へ'; font-size: 11px; }
  .feed-context { top: calc(58px + env(safe-area-inset-top)); left: 12px; max-width: calc(100vw - 24px); padding: 6px 10px; font-size: 11px; }
  .discover { padding: 78px 14px 64px; }
  .discover-hero { min-height: 240px; padding: 26px 22px; border-radius: 22px; }
  .discover-hero h1 { font-size: 38px; }
  .discover-hero > p:not(.discover-period) { font-size: 13px; line-height: 1.7; }
  .feature-section { margin-top: 38px; }
  .actress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .section-heading > div { min-width: 0; }
  .section-heading h2 { overflow-wrap: anywhere; }
  .feature-card { border-radius: 15px; }
  .genre-feature { aspect-ratio: 4 / 3; }
  .latest-blog-card { grid-template-columns: 1fr; min-height: 0; }
  .latest-blog-card > img, .latest-blog-placeholder { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .latest-blog-copy { padding: 20px; }
  .latest-blog-copy strong { font-size: 20px; }
  .feature-card-copy { right: 12px; bottom: 12px; left: 12px; }
  .feature-card-copy strong { font-size: 17px; }
}
