:root {
  --bg: #0b0a0a;
  --bg2: #161212;
  --line: #2b2322;
  --text: #ece6e1;
  --muted: #a0948f;
  --accent: #e6e1dc;
  --accent-ink: #141212;
  --link: #d8d0c9;
  --red: #c0392b;
  --radius: 10px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.8 var(--sans); }
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; }
main { max-width: 1120px; margin: 0 auto; padding: 0 20px 64px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 18px 20px; }
.logo { font: 700 18px var(--serif); color: var(--text); text-decoration: none; letter-spacing: .05em; }
.site-header nav { display: flex; gap: 22px; align-items: center; font-size: 15px; font-weight: 600; }
.site-header nav a { color: #f3eee9; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.site-header nav a:hover { color: #fff; border-bottom-color: #fff; }
.site-header .short { display: none; }
.site-header .lang { border: 1px solid #8a817b; padding: 3px 12px; border-radius: 99px; }
.site-header .lang:hover { border-color: #fff; border-bottom-color: #fff; }

.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; margin: 8px 0 24px; }
.hero-img img, .hero-img .placeholder { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; box-shadow: 0 20px 60px #000a; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .2em; margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.35; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 6px 0 2px; }
.genre { color: var(--muted); font-size: 13px; }
.catch { font-family: var(--serif); font-size: 18px; }
.tagline { text-align: center; color: var(--muted); margin: 40px 0 8px; }

.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn { display: inline-block; padding: 10px 20px; border: 1px solid var(--line); border-radius: 99px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: .15s; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-steam { background: #1b2838; border-color: #66c0f4; color: #c7d5e0; }

.section-title { font-size: 22px; margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-img { aspect-ratio: 16/9; overflow: hidden; background: #000; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-img img.portrait { object-fit: contain; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { margin: 6px 0 4px; font-size: 20px; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-stats { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.card-stats b { color: var(--text); font-weight: 600; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.placeholder { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 16/9; background: radial-gradient(ellipse at center, #2a1714, #070505 70%); }
.placeholder span { font: 700 clamp(20px, 3vw, 32px) var(--serif); color: var(--text); text-shadow: 0 0 20px #ffffff33; }

.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: .05em; }
.badge-released { background: #2c3527; color: #c9d9b8; }
.badge-soon { background: #4a3d1e; color: #f0d48a; }
.badge-dev { background: #3a2a3f; color: #d9b6e4; }
.badge-stream { background: #2e2a28; color: #ddd5cf; }

.work { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 8px; }
.work-img img, .work-img .placeholder { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.work-img img.portrait { object-fit: contain; }
.work-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0; }
.work-body { grid-column: 1 / -1; max-width: 760px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 24px 0; padding: 16px 20px; background: var(--bg2); border-radius: var(--radius); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.note { border-left: 3px solid var(--accent); padding: 4px 16px; margin: 24px 0; }
.note p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); }

.ad { grid-column: 1 / -1; margin: 40px 0; min-height: 100px; }
.ad-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }

.prose { max-width: 820px; }
.prose h2 { font-size: 20px; margin-top: 32px; }
.prose p { color: #f1ebe6; font-size: 17px; line-height: 2; margin: 0 0 1.1em; }
.prose h2 { color: #fff; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.prose a { color: #a3c45c; text-decoration: underline; text-decoration-color: #a3c45c66; text-underline-offset: 4px; }
.prose a:hover { color: #bcd97a; text-decoration-color: #bcd97a; }

.site-footer { border-top: 1px solid var(--line); text-align: center; padding: 28px 20px; color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero, .work { grid-template-columns: 1fr; gap: 16px; }
  .site-header { padding: 14px 16px; }
  .logo { font-size: 16px; }
  .site-header nav { gap: 14px; font-size: 14px; }
  .site-header nav a { white-space: nowrap; }
  .site-header nav a[href$="about/"], .site-header .long { display: none; }
  .site-header .short { display: inline; }
  .logo { white-space: nowrap; }
}

.type-section { margin-top: 56px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.section-head .section-title { margin: 0; padding-bottom: 8px; border: 0; }
.section-head h1.section-title { font-size: clamp(28px, 4vw, 36px); }
.section-head .section-title a { color: inherit; text-decoration: none; }
.section-head p { margin: 0 0 10px; font-size: 14px; }
.sub-title { font-size: 16px; color: var(--muted); margin: 28px 0 12px; font-family: var(--sans); letter-spacing: .05em; }
.see-all { text-align: right; margin-top: 16px; }
.crumb { margin: 4px 0 12px; font-size: 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--text); }

video.loop-video { display: block; width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.hero-img video, .work-img video { border-radius: var(--radius); box-shadow: 0 20px 60px #000a; }
.card-img video { transition: transform .3s; }
.card:hover .card-img video { transform: scale(1.04); }
.trailer { grid-column: 1 / -1; max-width: 960px; }
.trailer video { width: 100%; height: auto; aspect-ratio: 16/9; border-radius: var(--radius); background: #000; }

.group { margin-top: 28px; }
.group-title { font-size: 20px; margin: 0 0 2px; padding-left: 12px; border-left: 3px solid var(--accent); }
.group-lead { margin: 0 0 14px; padding-left: 15px; font-size: 14px; }
.group:not(:has(.group-lead)) .group-title { margin-bottom: 14px; }

/* 抹茶色を中心に */
.site-header { border-bottom: 1px solid var(--line); }
.logo { color: #fff; }
.section-title, .work-head h1, .hero h1, .prose h1 { color: #f3ece6; }
.facts { border: 1px solid var(--line); }

/* ホラー作品（丑三つシリーズなど）だけ朱色 */
.theme-horror { --accent: #c8402e; --accent-ink: #fff6f2; --link: #e0654f; }
.theme-horror .badge-stream { background: #4a1f1c; color: #f2b0a8; }
.theme-horror .placeholder span { text-shadow: 0 0 20px #c8402e55; }

