/* VOLKENO — 簡素なライト版。オレンジはアクセントだけに使う */
:root {
  --bg: #f6f4f1;
  --bg-card: #ffffff;
  --ink: #171717;
  --ink-soft: #55524e;
  --ink-faint: #8a8681;
  --line: #e2ded8;
  --accent: #ff5a1f;
  --accent-deep: #e8460c;

  --font-jp: 'Noto Sans JP', system-ui, sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 999px; }
.skip-link:focus { left: 8px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 18px var(--gutter);
  background: rgba(246, 244, 241, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 500; letter-spacing: 0.2em; font-size: 15px; }
.nav__brand img { width: 26px; height: auto; }
.nav__menu { display: flex; gap: clamp(20px, 3vw, 36px); font-family: var(--font-en); font-size: 14px; }
.nav__menu a { position: relative; color: var(--ink-soft); transition: color 0.3s var(--ease); }
.nav__menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- sections ---------- */
.section {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.section__title { font-family: var(--font-en); font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: 0.01em; margin-bottom: clamp(28px, 4vw, 44px); }
.section__title::after { content: ''; display: block; width: 32px; height: 2px; margin-top: 10px; background: var(--accent); }

/* ---------- games ---------- */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.game { background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.game:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 23, 23, 0.08); }
.game__visual { aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.game--jubatsu .game__visual { background: radial-gradient(ellipse at 50% 60%, #3a2f2a 0%, #1b1715 60%, #0f0d0c 100%); }
.game__logo { display: flex; gap: 4%; width: 62%; transition: transform 0.6s var(--ease); }
.game__logo img { width: 48%; }
.game:hover .game__logo { transform: scale(1.04); }
/* 次回作：黒いフレーム */
.game--soon { background: #141414; border-color: #141414; color: #fff; }
.game--soon .game__visual { background: #0c0c0c; border-bottom: 1px solid #2a2a2a; }
.game--soon .game__body p { color: #a8a39d; }
.game--soon .tag--muted { border-color: #3a3a3a; color: #a8a39d; }
.game__soon { font-family: var(--font-en); font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: 0.12em; color: #fff; animation: pulse 2.6s ease-in-out infinite; }
.game__soon::after { content: '_'; color: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes pulse { 50% { opacity: 0.7; } }
@keyframes blink { 50% { opacity: 0; } }

/* Games 内の見出し */
.games__label { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; font-family: var(--font-en); font-size: 17px; font-weight: 600; }
.games__label small { font-family: var(--font-jp); font-size: 12px; font-weight: 400; color: var(--ink-faint); }
.games__label:not(:first-of-type) { margin-top: clamp(40px, 5vw, 56px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); align-self: center; }
.dot--live { background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.5); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 8px rgba(255, 90, 31, 0); } }

/* Play Now：PC幅で横3列、カード全体がゲームへのリンク */
.plays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.play {
  position: relative; display: flex; flex-direction: column; padding: 12px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.play:hover, .play:focus-within { transform: translateY(-4px); border-color: #d6cfc6; box-shadow: 0 18px 40px rgba(23, 23, 23, 0.1); }
/* 各ゲームのバナーを縮めた画像(assets/cards/<名前>.webp) */
.play__visual { overflow: hidden; aspect-ratio: 1200 / 630; border-radius: 9px; background: #090705; }
.play__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.play:hover .play__visual img { transform: scale(1.04); }
.play__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 14px 4px 4px; }
.play__body h4 { font-size: 17px; font-weight: 700; line-height: 1.4; }
.play__link::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }
.play__link:focus-visible { outline: none; }
.play:has(.play__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.play__body p { margin-top: 4px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.65; }
.play__count { margin-top: 8px; color: var(--accent-deep); font-size: 12.5px; font-weight: 500; }
.play__count + .play__tags { margin-top: 6px; }
.play__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; padding: 0; list-style: none; }
.play__tags li { padding: 1px 9px; border-radius: 999px; background: var(--bg); color: var(--ink-soft); font-size: 11.5px; }
.play__body .btn { margin-top: auto; }
.play:hover .btn { background: var(--accent-deep); }
.btn--sm { gap: 10px; padding: 9px 20px; font-size: 14px; box-shadow: 0 6px 16px rgba(255, 90, 31, 0.24); }
.game__body { padding: 20px 22px 24px; }
.game__body h3 { font-size: 20px; font-weight: 700; }
.game__body p { margin-top: 4px; color: var(--ink-soft); font-size: 14px; }
.tag { display: inline-block; margin-top: 14px; padding: 3px 10px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent-deep); font-family: var(--font-en); font-size: 11px; letter-spacing: 0.06em; }
.tag--muted { border-color: var(--line); color: var(--ink-faint); }

/* ---------- news ---------- */
.news { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.news time { font-family: var(--font-en); color: var(--ink-faint); }

/* ---------- contact ---------- */
.contact { border-bottom: 0; }
.contact__box { text-align: center; padding: clamp(32px, 5vw, 56px) 20px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; }
.contact__lead { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.contact__text { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 26px;
  padding: 14px 30px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 500;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.28);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
/* 押すとぷにっとへこむ */
.btn:active { transform: scale(0.96, 0.92); box-shadow: 0 4px 10px rgba(255, 90, 31, 0.25); }

/* ---------- footer ---------- */
.footer {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px 40px;
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
  padding: 36px var(--gutter) 32px; border-top: 1px solid var(--line);
}
.footer__nav { display: flex; gap: 24px; font-family: var(--font-en); font-size: 13px; color: var(--ink-soft); }
.footer__nav a:hover, .footer__right a:hover { color: var(--accent); }
.footer__right { display: flex; align-items: center; gap: 18px; color: var(--ink-soft); }
.footer__right a { display: grid; place-items: center; width: 32px; height: 32px; }
.footer__right svg { width: 20px; height: 20px; }
.footer__copy { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-en); font-size: 12px; color: var(--ink-faint); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .plays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav__burger { display: block; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__menu a::after { display: none; }

  .games { grid-template-columns: 1fr; }
  .games__label { flex-wrap: wrap; }
  .news li { grid-template-columns: 1fr; gap: 2px; }
  .footer { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 560px) {
  .plays { grid-template-columns: 1fr; }
  .play__body h4 { font-size: 18px; }
  .play__body p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
