@charset "UTF-8";

/* ============================================================
   真田戦記 - 第一次上田合戦 - 公式サイト
   Design system : 墨(sumi) / 朱(shu) / 金(kin) / 和紙(washi) / 霞(kasumi)
   ============================================================ */

:root {
  /* 墨 - ink blacks */
  --sumi-950: #060403;
  --sumi-900: #0b0907;
  --sumi-800: #14100c;
  --sumi-700: #1d1813;
  --sumi-600: #29221a;
  --sumi-500: #3a3024;

  /* 朱 / 真田赤 - crimson */
  --shu-900: #3a0606;
  --shu-800: #560c0c;
  --shu-700: #7a1414;
  --shu-600: #931616;
  --shu-500: #a81d1d;
  --shu-400: #c63030;

  /* 金 - gold */
  --kin-800: #5e4416;
  --kin-700: #8a6420;
  --kin-600: #a8822f;
  --kin-500: #c2993c;
  --kin-400: #d4ae54;
  --kin-300: #e2c476;
  --kin-200: #efd99c;

  /* 和紙 - paper */
  --washi-100: #f4ecd6;
  --washi-200: #e6d8b6;
  --washi-300: #c9b78a;

  /* テキスト */
  --ink: #ece2c5;
  --ink-dim: #b9ad8b;
  --ink-faint: #6f6448;

  /* アクセント */
  --line-gold: rgba(212, 174, 84, 0.35);
  --line-gold-dim: rgba(212, 174, 84, 0.15);
  --line-shu: rgba(168, 29, 29, 0.55);

  /* レイアウト */
  --max-w: 1180px;
  --content-w: 960px;
  --header-h: 64px;

  --font-mincho: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", "YuMincho",
    "Hiragino Mincho ProN", "MS PMincho", serif;
  --font-body: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "MS PMincho", serif;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--sumi-950);
  background-image:
    radial-gradient(1200px 800px at 75% -10%, rgba(168, 29, 29, 0.18), transparent 60%),
    radial-gradient(900px 700px at 10% 110%, rgba(212, 174, 84, 0.06), transparent 70%),
    linear-gradient(180deg, var(--sumi-950) 0%, var(--sumi-900) 60%, var(--sumi-950) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 和紙テクスチャ（疑似ノイズ） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.88  0 0 0 0 0.66  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
  z-index: 1;
}

main, header, footer { position: relative; z-index: 2; }

img, svg, video { max-width: 100%; display: block; }

a { color: var(--kin-300); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--kin-200); }

h1, h2, h3, h4 {
  font-family: var(--font-mincho);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--washi-100);
}

p { margin: 0 0 1em; }

::selection { background: var(--shu-700); color: var(--washi-100); }

/* ---------- utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: var(--content-w); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: none;
  color: var(--kin-400);
  padding: 4px 0;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}

.section-title {
  position: relative;
  font-size: clamp(26px, 4.2vw, 38px);
  margin: 18px 0 8px;
  letter-spacing: 0.12em;
}
.section-title .kanji-accent {
  display: inline-block;
  color: var(--shu-500);
  margin-right: 8px;
  font-size: 0.95em;
  text-shadow: 0 0 18px rgba(168, 29, 29, 0.5);
}
.section-lead {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 2;
  max-width: 640px;
}

section { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- 罫線・装飾 ---------- */
.gold-rule {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line-gold) 15%,
    var(--kin-400) 50%,
    var(--line-gold) 85%,
    transparent 100%);
  margin: 32px auto;
  max-width: 480px;
}

.brush-divider {
  display: block;
  height: 18px;
  width: 100%;
  margin: 24px auto;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 18'><path d='M 4 9 Q 60 5, 130 8 T 280 10 T 430 8 T 596 11' stroke='%23a81d1d' stroke-width='1.4' stroke-linecap='round' fill='none' opacity='0.7'/></svg>") center/contain no-repeat;
  opacity: 0.85;
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 100;
  background: linear-gradient(180deg, rgba(6,4,3,0.92) 0%, rgba(6,4,3,0.72) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-gold-dim);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mincho);
  color: var(--washi-100);
  font-size: 16px;
  letter-spacing: 0.18em;
}
.brand .mon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--kin-400);
  font-family: var(--font-sans);
}

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mincho);
  font-size: 14px;
  letter-spacing: 0.15em;
}
.nav-list a {
  color: var(--ink-dim);
  position: relative;
  padding: 6px 0;
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--washi-100); }
.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--kin-400);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-gold);
  color: var(--washi-100);
  width: 44px; height: 44px;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: border-color .25s ease, background-color .25s ease;
}
.nav-toggle:hover { border-color: var(--kin-300); background: rgba(168, 29, 29, 0.08); }
.nav-toggle:focus-visible { outline: 2px solid var(--kin-400); outline-offset: 2px; }

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px; height: 1.6px;
  background: var(--washi-100);
  transition: transform .3s ease, top .3s ease, opacity .2s ease;
  transform: translateX(-50%);
}
.nav-toggle span        { top: calc(50% - 0.8px); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle.is-open span        { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

@counter-style nav-daiji {
  system: fixed;
  symbols: "壱" "弐" "参" "肆" "伍" "陸" "漆" "捌";
  suffix: "";
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav-list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    /* 親に backdrop-filter があるとそれが包含ブロックになり inset が潰れるため、
       viewport 単位の高さで明示する。dvh は対応ブラウザで動的ビューポートに追従。 */
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    width: 100vw;
    flex-direction: column;
    gap: 0;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(168, 29, 29, 0.18), transparent 55%),
      linear-gradient(180deg, rgba(10, 7, 5, 0.98) 0%, rgba(6, 4, 3, 0.99) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px 26px calc(28px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .28s ease, transform .32s ease, visibility 0s linear .32s;
    counter-reset: navnum;
  }
  .nav-list.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .28s ease, transform .32s ease, visibility 0s linear 0s;
  }

  /* 六文銭 ウォーターマーク */
  .nav-list::before {
    content: "";
    position: absolute;
    right: -40px; bottom: 24px;
    width: 280px; height: 280px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='none' stroke='%23d4ae54' stroke-width='1.6' opacity='0.5'><circle cx='14' cy='20' r='7'/><circle cx='32' cy='20' r='7'/><circle cx='50' cy='20' r='7'/><circle cx='14' cy='44' r='7'/><circle cx='32' cy='44' r='7'/><circle cx='50' cy='44' r='7'/></g></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
  }

  .nav-list li {
    counter-increment: navnum;
    border-bottom: 1px solid var(--line-gold-dim);
    position: relative;
  }
  .nav-list li:first-child { border-top: 1px solid var(--line-gold-dim); }

  .nav-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 8px;
    font-family: var(--font-mincho);
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: 0.16em;
    color: var(--ink);
    position: relative;
  }
  .nav-list a::before {
    content: counter(navnum, nav-daiji);
    flex-shrink: 0;
    width: 1.6em;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--kin-400);
    font-weight: 500;
  }
  .nav-list a::after {
    content: "›";
    margin-left: auto;
    color: var(--ink-faint);
    font-size: 22px;
    line-height: 1;
    transition: color .25s ease, transform .25s ease;
  }
  @media (hover: hover) {
    .nav-list a:hover { color: var(--washi-100); }
    .nav-list a:hover::after { color: var(--kin-300); transform: translateX(3px); }
  }
  .nav-list a:active { color: var(--washi-100); background: rgba(168, 29, 29, 0.06); }

  .nav-list a.is-active { color: var(--washi-100); }
  .nav-list a.is-active::before { color: var(--shu-400); }


  /* リンク項目の段階的フェードイン */
  .nav-list.is-open li {
    animation: navItemIn .45s ease both;
  }
  .nav-list.is-open li:nth-child(1) { animation-delay: .04s; }
  .nav-list.is-open li:nth-child(2) { animation-delay: .08s; }
  .nav-list.is-open li:nth-child(3) { animation-delay: .12s; }
  .nav-list.is-open li:nth-child(4) { animation-delay: .16s; }
  .nav-list.is-open li:nth-child(5) { animation-delay: .20s; }
  .nav-list.is-open li:nth-child(6) { animation-delay: .24s; }
  @keyframes navItemIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 32px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* 城＋霧 背景 */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 78%, rgba(168, 29, 29, 0.35), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.85), transparent 60%),
    linear-gradient(180deg, #0a0706 0%, #1a0f0c 35%, #2a1410 65%, #0a0706 100%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background-image: url("../assets/svg/castle.svg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: min(1400px, 130%) auto;
  opacity: 0.85;
  z-index: -1;
  filter: drop-shadow(0 -10px 30px rgba(0,0,0,0.6));
}

.hero-mist {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(800px 240px at 30% 70%, rgba(232,220,195,0.07), transparent 70%),
    radial-gradient(900px 280px at 70% 80%, rgba(232,220,195,0.05), transparent 70%);
  animation: mistDrift 22s ease-in-out infinite alternate;
}
@keyframes mistDrift {
  0%   { transform: translate3d(-2%, 0, 0); opacity: 0.85; }
  100% { transform: translate3d(2%, -1%, 0); opacity: 1; }
}

.hero-inner {
  text-align: center;
  position: relative;
}

.hero-series {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.55em;
  color: var(--kin-400);
  margin-bottom: 28px;
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--line-gold);
}

.hero-title {
  font-size: clamp(32px, 7vw, 72px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  font-weight: 700;
  background: linear-gradient(180deg, #fbecc4 0%, #c9a961 55%, #8a6420 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(212, 174, 84, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
}
.hero-title-main { display: block; }
.hero-title-sub {
  display: block;
  font-size: 0.74em;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.hero-title .dash { color: var(--shu-400); -webkit-text-fill-color: var(--shu-400); margin: 0 .35em; }
.hero-subtitle {
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: 0.45em;
  color: var(--ink-dim);
  margin: 0 0 36px;
}

.hero-catch {
  font-family: var(--font-mincho);
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: var(--washi-100);
  margin: 0 0 24px;
  text-shadow:
    0 0 30px rgba(168, 29, 29, 0.4),
    0 2px 0 #000;
}
.hero-catch em {
  font-style: normal;
  color: var(--shu-400);
  text-shadow:
    0 0 30px rgba(168, 29, 29, 0.7),
    0 0 60px rgba(168, 29, 29, 0.3);
}

.hero-lead {
  max-width: 640px;
  margin: 0 auto 44px;
  color: var(--ink-dim);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
}

.hero-stores {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(20, 16, 12, 0.7);
  border: 1px solid var(--line-gold);
  border-radius: 4px;
  color: var(--washi-100);
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  font-size: 13px;
  min-width: 200px;
  transition: all .25s ease;
}
.store-btn:hover {
  border-color: var(--kin-300);
  background: rgba(40, 24, 18, 0.7);
  color: var(--washi-100);
  transform: translateY(-1px);
}
.store-btn .store-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.store-btn .store-state {
  display: block;
  font-size: 10px;
  color: var(--kin-400);
  letter-spacing: 0.3em;
}
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }

.hero-release {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
  padding-bottom: 36px;
}
.hero-scroll::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--kin-400), transparent);
  transform: translateX(-50%);
}

/* ============================================================
   Section: Concept
   ============================================================ */
.concept {
  position: relative;
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 56px;
}
@media (min-width: 880px) {
  .concept-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
}
.concept-text p {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 2.1;
}
.concept-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-gold);
  background:
    radial-gradient(ellipse at 50% 60%, rgba(168, 29, 29, 0.25), transparent 60%),
    linear-gradient(180deg, #1a120e, #0a0706);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.concept-visual::before {
  content: "上田城";
  position: absolute;
  font-family: var(--font-mincho);
  font-size: clamp(64px, 12vw, 128px);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(212, 174, 84, 0.08);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.concept-visual::after {
  content: "六文銭、ここに在り。";
  position: relative;
  font-family: var(--font-mincho);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.2em;
  color: var(--kin-300);
  text-shadow: 0 0 20px rgba(212, 174, 84, 0.4);
}

/* ============================================================
   Section: Features
   ============================================================ */
.features {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(10, 6, 4, 0.7), transparent);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 600px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  position: relative;
  padding: 32px 26px;
  background:
    linear-gradient(160deg, rgba(40, 24, 18, 0.55) 0%, rgba(14, 10, 8, 0.85) 100%);
  border: 1px solid var(--line-gold-dim);
  transition: all .3s ease;
  overflow: hidden;
}
.feature-card::before {
  /* corner mark */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-top: 1px solid var(--kin-500);
  border-left: 1px solid var(--kin-500);
}
.feature-card::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 36px; height: 36px;
  border-bottom: 1px solid var(--kin-500);
  border-right: 1px solid var(--kin-500);
}
.feature-card:hover {
  border-color: var(--kin-500);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(212, 174, 84, 0.2);
}
.feature-num {
  font-family: var(--font-mincho);
  font-size: 13px;
  color: var(--kin-400);
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 20px;
  margin: 0 0 14px;
  letter-spacing: 0.08em;
  color: var(--washi-100);
}
.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-dim);
}

/* ============================================================
   Section: History
   ============================================================ */
.history {
  position: relative;
}
.history::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(168, 29, 29, 0.12), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212, 174, 84, 0.06), transparent 50%);
  pointer-events: none;
}
.history-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .history-content { grid-template-columns: 1fr 1.4fr; gap: 64px; }
}
.history-aside {
  font-family: var(--font-mincho);
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(180deg, rgba(40, 24, 18, 0.4), rgba(10, 7, 5, 0.4));
}
.history-year {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--kin-400);
  margin-bottom: 12px;
}
.history-year-value {
  font-size: clamp(42px, 7vw, 68px);
  color: var(--washi-100);
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1;
}
.history-year-sub {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.25em;
}
.history-divider-jp {
  margin: 24px auto;
  width: 60%;
  height: 1px;
  background: var(--line-gold);
}
.history-figures {
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.15em;
}
.history-figures strong {
  display: block;
  color: var(--shu-400);
  font-size: 22px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.history-text p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-dim);
}
.history-text p:first-child::first-letter {
  font-size: 2.6em;
  float: left;
  line-height: 0.95;
  margin: 0.05em 0.12em 0 0;
  color: var(--shu-400);
  font-family: var(--font-mincho);
  font-weight: 700;
}

/* ============================================================
   Section: Screenshots
   ============================================================ */
.screenshots {
  background: linear-gradient(180deg, transparent, rgba(10, 6, 4, 0.6), transparent);
}
.shots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 56px;
}
@media (min-width: 640px) { .shots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .shots-grid { grid-template-columns: repeat(3, 1fr); } }

.shot {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line-gold-dim);
  overflow: hidden;
  background:
    linear-gradient(160deg, #2a1610 0%, #0c0806 100%);
  transition: all .3s ease;
}
.shot:hover {
  border-color: var(--kin-500);
  transform: translateY(-2px);
}
.shot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--ink-faint);
}
.shot-placeholder strong {
  font-family: var(--font-mincho);
  font-size: 22px;
  color: var(--kin-300);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.shot-placeholder span {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.shot-placeholder small {
  margin-top: 14px;
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 174, 84, 0.12);
  pointer-events: none;
}

/* ============================================================
   Section: Trailer / Video
   ============================================================ */
.trailer {
  position: relative;
}
.trailer-frame {
  margin: 56px auto 0;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  position: relative;
  border: 1px solid var(--line-gold);
  background:
    radial-gradient(ellipse at center, rgba(40, 24, 18, 0.7), rgba(6, 4, 3, 0.95)),
    linear-gradient(180deg, #1a0f0a, #0a0604);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trailer-frame::before, .trailer-frame::after {
  content: "";
  position: absolute;
  width: 56px; height: 56px;
}
.trailer-frame::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--kin-400);
  border-left: 2px solid var(--kin-400);
}
.trailer-frame::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--kin-400);
  border-right: 2px solid var(--kin-400);
}
.play-mark {
  text-align: center;
  color: var(--washi-100);
}
.play-mark .play-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1px solid var(--kin-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: rgba(168, 29, 29, 0.15);
}
.play-mark .play-circle::after {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--kin-300);
  margin-left: 6px;
}
.play-mark p {
  font-family: var(--font-mincho);
  letter-spacing: 0.25em;
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0;
}

/* ============================================================
   Section: News
   ============================================================ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  border-top: 1px solid var(--line-gold-dim);
}
.news-list li {
  border-bottom: 1px solid var(--line-gold-dim);
  padding: 22px 4px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 720px) {
  .news-list li {
    grid-template-columns: 110px 110px 1fr;
    gap: 24px;
    align-items: baseline;
  }
}
.news-date {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.15em;
}
.news-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 3px 10px;
  border: 1px solid var(--line-gold);
  color: var(--kin-300);
  width: fit-content;
}
.news-tag.is-update { border-color: var(--line-shu); color: var(--shu-400); }
.news-title {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--washi-100);
  letter-spacing: 0.05em;
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1px solid var(--kin-500);
  background: transparent;
  color: var(--washi-100);
  font-family: var(--font-mincho);
  font-size: 14px;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}
.btn:hover {
  background: var(--shu-700);
  border-color: var(--shu-400);
  color: var(--washi-100);
}
.btn::after {
  content: "→";
  transition: transform .25s ease;
}
.btn:hover::after { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(180deg, var(--shu-600), var(--shu-800));
  border-color: var(--shu-500);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--shu-500), var(--shu-700));
  border-color: var(--kin-400);
}

/* ============================================================
   Section: Support CTA
   ============================================================ */
.support-cta {
  text-align: center;
}
.support-cta .cta-box {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 48px 32px;
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(180deg, rgba(40, 24, 18, 0.55), rgba(10, 7, 5, 0.7));
  position: relative;
}
.support-cta .cta-box::before,
.support-cta .cta-box::after {
  content: "";
  position: absolute;
  width: 30px; height: 30px;
}
.support-cta .cta-box::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--kin-400);
  border-left: 1px solid var(--kin-400);
}
.support-cta .cta-box::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--kin-400);
  border-right: 1px solid var(--kin-400);
}
.support-cta h2 { margin-bottom: 12px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line-gold-dim);
  padding: 64px 0 36px;
  margin-top: 60px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.95;
  letter-spacing: 0.05em;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--kin-400);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-gold-dim);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--ink-dim);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.footer-col a:hover { color: var(--washi-100); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-gold-dim);
  text-align: center;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
  line-height: 2;
}
.footer-bottom .footer-operator {
  display: inline-block;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
@media (max-width: 600px) {
  .footer-bottom .footer-operator { letter-spacing: 0.05em; line-height: 1.8; }
}

/* ============================================================
   Sub-page (page-header)
   ============================================================ */
.page-header {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(168, 29, 29, 0.22), transparent 60%),
    linear-gradient(180deg, #0a0604 0%, transparent 100%);
  border-bottom: 1px solid var(--line-gold-dim);
  overflow: hidden;
}
.page-header::before {
  content: attr(data-kanji);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -45%);
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(110px, 22vw, 240px);
  letter-spacing: 0.15em;
  color: rgba(168, 29, 29, 0.06);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: 0.18em;
  margin: 12px 0 8px;
}
.page-header .lead {
  color: var(--ink-dim);
  font-size: 14px;
  letter-spacing: 0.18em;
}

.page-content {
  padding: 80px 0 80px;
}
.page-content .narrow { margin: 0 auto; }
.page-content h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 56px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-gold-dim);
  letter-spacing: 0.1em;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 18px;
  margin: 32px 0 12px;
  color: var(--kin-300);
  letter-spacing: 0.1em;
}
.page-content p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 2.1;
}
.page-content ul, .page-content ol {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 2.1;
  padding-left: 1.5em;
}
.page-content li { margin-bottom: 8px; }
.page-content li::marker { color: var(--kin-500); }

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 32px;
  font-size: 14px;
}
.page-content th, .page-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-gold-dim);
  text-align: left;
  vertical-align: top;
}
.page-content th {
  width: 32%;
  color: var(--kin-300);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-family: var(--font-mincho);
}
.page-content td { color: var(--ink-dim); }

/* news (full list) */
.news-page-list { margin: 0; }

/* support form */
.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.contact-form label {
  display: block;
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--kin-300);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 7, 5, 0.6);
  border: 1px solid var(--line-gold-dim);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--kin-400);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.form-note {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
/* Honeypot：完全に視覚から隠す（display:none だと一部ボットが察する） */
.contact-form .hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* 送信エラー時のステータスバナー */
.form-status {
  margin: 0 0 28px;
  padding: 18px 22px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(40, 24, 18, 0.55), rgba(10, 7, 5, 0.55));
  font-family: var(--font-mincho);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--ink);
  position: relative;
  animation: bannerIn .35s ease both;
}
.form-status::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border-top: 1px solid var(--kin-400);
  border-left: 1px solid var(--kin-400);
}
.form-status::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 30px; height: 30px;
  border-bottom: 1px solid var(--kin-400);
  border-right: 1px solid var(--kin-400);
}
.form-status strong {
  display: block;
  color: var(--washi-100);
  font-size: 15px;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}
.form-status.is-error {
  border-color: var(--shu-500);
  background: linear-gradient(180deg, rgba(122, 20, 20, 0.18), rgba(10, 7, 5, 0.6));
}
.form-status.is-error::before,
.form-status.is-error::after {
  border-color: var(--shu-400);
}
.form-status.is-error strong { color: var(--shu-400); }
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Thanks ページのコンテナ */
.thanks-box {
  margin: 0 auto;
  padding: 56px 32px;
  max-width: 640px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(40, 24, 18, 0.45), rgba(10, 7, 5, 0.55));
  position: relative;
}
.thanks-box::before, .thanks-box::after {
  content: "";
  position: absolute;
  width: 36px; height: 36px;
}
.thanks-box::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--kin-400);
  border-left: 1px solid var(--kin-400);
}
.thanks-box::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--kin-400);
  border-right: 1px solid var(--kin-400);
}
.thanks-mark {
  color: var(--kin-400);
  margin: 0 auto 24px;
  width: 56px; height: 56px;
  filter: drop-shadow(0 0 16px rgba(212, 174, 84, 0.35));
}

.faq dt {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--washi-100);
  margin-top: 24px;
  padding-left: 1.4em;
  position: relative;
  letter-spacing: 0.05em;
}
.faq dt::before {
  content: "問";
  position: absolute;
  left: 0;
  color: var(--shu-400);
  font-size: 14px;
}
.faq dd {
  margin: 8px 0 0 1.4em;
  position: relative;
  padding-left: 0;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 2;
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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