@font-face {
  font-family: "Yuji Syuku";
  src: url("../fonts/yuji-syuku.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "BIZ UDPGothic";
  src: url("../fonts/biz-udpgothic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "BIZ UDPGothic";
  src: url("../fonts/biz-udpgothic-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --night: #10141e;
  --night-2: #1a2131;
  --paper: #f3ecdf;
  --paper-2: #e9dfcb;
  --card: #fbf7ef;
  --ink: #26211b;
  --ink-2: #5a5045;
  --line: #d8cbb2;
  --red: #ae3b32;
  --red-d: #8c2d26;
  --red-l: #e0796b;
  --teal: #287d98;
  --teal-d: #1d6176;
  --teal-l: #6cc0d8;
  --gold: #a9853f;
  --gold-l: #dcbd7c;
  --cream: #f6efe1;
  --brush: "Yuji Syuku", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --ui: "BIZ UDPGothic", "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  --wrap: 1120px;
  --head-h: 64px;
  --shadow: 0 14px 34px rgba(38, 26, 12, 0.16);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 12px);
}
body {
  margin: 0;
  background: var(--paper) url("../img/paper.png");
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--teal-d);
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--brush);
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  letter-spacing: 0.04em;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}
.skip:focus {
  top: 12px;
}

/* ---------- 上部の帯 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--head-h);
  background: rgba(243, 236, 223, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.site-logo {
  display: block;
  position: relative;
  flex: none;
}
.site-logo img {
  height: 30px;
  width: auto;
}
.site-logo .light {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.site-logo .dark {
  transition: opacity 0.3s;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(38, 33, 27, 0.08);
}
.site-nav a.nav-play {
  margin-left: 6px;
  background: var(--red);
  color: #fff;
  padding-inline: 16px;
}
.site-nav a.nav-play:hover {
  background: var(--red-d);
}
.site-nav a.x-link {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
}
.x-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
/* トップの最初の画面では、夜の絵の上に透かして置く */
.home .site-head {
  position: fixed;
  left: 0;
  right: 0;
}
.home .site-head:not(.solid) {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home .site-head:not(.solid) .site-logo .light {
  opacity: 1;
}
.home .site-head:not(.solid) .site-logo .dark {
  opacity: 0;
}
.home .site-head:not(.solid) .site-nav a:not(.nav-play) {
  color: var(--cream);
}
.home .site-head:not(.solid) .site-nav a:not(.nav-play):hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.3;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
  background: rgba(38, 33, 27, 0.06);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}
.btn.red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(174, 59, 50, 0.32);
}
.btn.red:hover {
  background: var(--red-d);
  border-color: var(--red-d);
}
.btn.teal {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.btn.teal:hover {
  background: var(--teal-d);
  border-color: var(--teal-d);
}
.btn.light {
  border-color: rgba(246, 239, 225, 0.75);
  color: var(--cream);
}
.btn.light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- 見出し ---------- */
.sec {
  padding: 96px 0;
  position: relative;
}
.sec-head {
  text-align: center;
  margin-bottom: 48px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--red);
}
.kicker::before,
.kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.sec-head h2,
.event h2,
.versus-line,
.faction .copy,
.hero-catch,
.page-head h1 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.sec-head h2 {
  margin-top: 6px;
  font-size: clamp(28px, 4.2vw, 42px);
}
.sec-head p {
  margin: 14px auto 0;
  max-width: 40em;
  color: var(--ink-2);
}
.dark-sec {
  background: var(--night);
  color: var(--cream);
}
.dark-sec .kicker {
  color: var(--gold-l);
}
.dark-sec .sec-head p {
  color: rgba(246, 239, 225, 0.72);
}

/* ---------- トップ：最初の画面 ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 20, 30, 0.55) 0%, rgba(16, 20, 30, 0) 22%),
    linear-gradient(0deg, rgba(16, 20, 30, 0.96) 6%, rgba(16, 20, 30, 0.72) 34%, rgba(16, 20, 30, 0) 62%);
}
.hero-inner {
  text-align: center;
  padding: 140px 0 120px;
}
.hero-title img {
  width: min(560px, 82vw);
  margin-inline: auto;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
}
.hero-catch {
  margin-top: 14px;
  font-family: var(--brush);
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.hero-catch .shi {
  color: var(--red-l);
}
.hero-catch .makoto {
  color: var(--teal-l);
}
.hero-lead {
  margin-top: 2px;
  font-family: var(--brush);
  font-size: 18px;
  letter-spacing: 0.16em;
  color: rgba(246, 239, 225, 0.82);
}
.spec {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.spec li {
  padding: 3px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.92;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.cta-note {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.75;
}

/* ---------- 頒布情報（最初の画面に重ねる） ---------- */
.event-wrap {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}
.event {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-areas: "box head" "box body";
  align-content: center;
  align-items: center;
  gap: 0 36px;
  background: var(--card);
  border-radius: 18px;
  padding: 28px 40px 28px 28px;
  box-shadow: 0 24px 60px rgba(16, 20, 30, 0.28);
  position: relative;
  overflow: hidden;
}
.event::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--red) 50%, var(--teal) 50%);
}
.event-box {
  grid-area: box;
  filter: drop-shadow(0 16px 18px rgba(38, 26, 12, 0.25));
}
.event-head {
  grid-area: head;
  align-self: end;
}
.event-body {
  grid-area: body;
  align-self: start;
}
.event-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 2px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.event h2 {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 32px);
}
.event-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 4px 36px;
  margin: 14px 0 0;
}
.event-facts div {
  display: flex;
  flex-direction: column;
}
.event-facts dt {
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.event-facts dd {
  margin: 0;
  font-family: var(--brush);
  font-size: 24px;
  line-height: 1.35;
}
.event-facts dd small {
  font-size: 15px;
}
.event-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.event-actions .btn {
  min-height: 46px;
  padding: 10px 22px;
  font-size: 15px;
}

/* ---------- お知らせ ---------- */
.news-sec {
  padding: 72px 0 24px;
}
.news-box {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.news-box h2 {
  font-size: 30px;
}
.news {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news li {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.news li:first-child {
  border-top: 1px solid var(--line);
}
.news time {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 二つの陣営 ---------- */
.factions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.faction {
  position: relative;
  min-height: 460px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  box-shadow: var(--shadow);
}
.faction.tou {
  background: linear-gradient(160deg, #b9433a 0%, #962f28 100%);
}
.faction.shin {
  background: linear-gradient(160deg, #2c87a3 0%, #1e6077 100%);
}
.faction .mark {
  position: absolute;
  z-index: -2;
  top: -0.12em;
  right: -0.04em;
  font-family: var(--brush);
  font-size: 300px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.13);
  pointer-events: none;
}
.faction .portrait {
  position: absolute;
  z-index: -1;
  right: -10px;
  bottom: 0;
  width: 46%;
  max-width: 300px;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(0deg, transparent 0%, #000 22%);
}
.faction h3 {
  font-size: 34px;
  letter-spacing: 0.12em;
}
.faction .copy {
  margin-top: 6px;
  font-family: var(--brush);
  font-size: 22px;
}
.faction .desc {
  margin-top: 16px;
  max-width: 58%;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}
.faction .win {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 16px;
  background: rgba(16, 20, 30, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 60%;
}
.faction .win b {
  display: block;
  font-family: var(--brush);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.versus-line {
  margin-top: 48px;
  text-align: center;
  font-family: var(--brush);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.7;
}

/* ---------- 遊び方 ---------- */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 56px;
}
.step {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}
.step:nth-child(even) .shot {
  order: 2;
}
.shot {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16, 20, 30, 0.28);
  border: 1px solid rgba(16, 20, 30, 0.6);
  background: var(--night);
}
.shot img {
  width: 100%;
}
.step-num {
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-num b {
  font-family: var(--brush);
  font-weight: 400;
  font-size: 54px;
  line-height: 1;
  color: var(--gold);
}
.step-num img {
  width: 40px;
  height: 40px;
}
.step h3 {
  margin-top: 10px;
  font-size: 30px;
}
.step p {
  margin-top: 10px;
  color: var(--ink-2);
}
.step p b {
  color: var(--ink);
}
.flow-foot {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- 人物 ---------- */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.side-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 3px solid var(--red);
}
.side-head.shin {
  border-bottom-color: var(--teal);
}
.side-head h3 {
  font-size: 28px;
  color: var(--red);
}
.side-head.shin h3 {
  color: var(--teal);
}
.side-head span {
  font-size: 14px;
  color: var(--ink-2);
}
.person {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 16px 14px 10px;
  border-radius: 14px;
  transition: background 0.2s;
}
.person:hover {
  background: rgba(255, 255, 255, 0.45);
}
.person + .person {
  margin-top: 4px;
}
.face-wrap {
  position: relative;
  width: 112px;
  height: 112px;
}
.face-wrap .atk {
  position: absolute;
  right: -4px;
  bottom: -2px;
}
.person .face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fffdf8;
  overflow: hidden;
  box-shadow: inset 0 0 0 3px var(--red), 0 6px 14px rgba(38, 26, 12, 0.14);
}
.shin-list .person .face {
  box-shadow: inset 0 0 0 3px var(--teal), 0 6px 14px rgba(38, 26, 12, 0.14);
}
.person .face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.person-name {
  display: flex;
  align-items: baseline;
  gap: 0 10px;
  flex-wrap: wrap;
}
.person h4 {
  margin: 0;
  font-family: var(--brush);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
}
.person .kana {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.06em;
}
.person p {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.7;
}
.atk {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%);
  background: var(--gold-l);
  position: relative;
  isolation: isolate;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
}
.atk::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  clip-path: inherit;
  background: #1d3550;
}
.neutrals {
  margin-top: 40px;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 18px 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 28px;
}
.neutrals h3 {
  font-size: 24px;
  color: var(--gold);
  line-height: 1.3;
}
.neutrals h3 small {
  display: block;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0;
}
.neutral {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
}
.neutral img {
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 4px 8px rgba(38, 26, 12, 0.2));
}
.neutral h4 {
  margin: 0;
  font-family: var(--brush);
  font-weight: 400;
  font-size: 21px;
}
.neutral p {
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- 紹介映像 ---------- */
.video {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  max-width: 960px;
  margin-inline: auto;
}
.video video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* ---------- 内容物 ---------- */
.contents {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.contents-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contents-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contents-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--line);
}
.contents-list li span {
  color: var(--ink-2);
  font-size: 14px;
}
.contents-list li b {
  white-space: nowrap;
}
.contents .note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- サポートの入口 ---------- */
.links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 26px 24px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.link-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  margin-bottom: 8px;
}
.link-card .ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.link-card .ico.x svg {
  fill: var(--ink);
  stroke: none;
  width: 20px;
}
.link-card h3 {
  font-size: 24px;
}
.link-card p {
  font-size: 14px;
  color: var(--ink-2);
}
.link-card .more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-d);
}

/* ---------- 下層ページ ---------- */
.page-head {
  position: relative;
  color: var(--cream);
  background: var(--night);
  padding: 44px 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/page-head.webp") center 40% / cover;
  opacity: 0.38;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 20, 30, 0.92) 25%, rgba(16, 20, 30, 0.4));
}
.page-head .kicker {
  color: var(--gold-l);
}
.page-head .kicker::before {
  display: none;
}
.page-head h1 {
  margin-top: 4px;
  font-size: clamp(32px, 5vw, 46px);
}
.page-head p {
  margin-top: 10px;
  color: rgba(246, 239, 225, 0.8);
  max-width: 40em;
}
.page-body {
  padding: 40px 0 96px;
}
.docs {
  display: grid;
  gap: 20px;
}
.doc {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.doc-thumb {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(38, 26, 12, 0.2);
  transition: transform 0.2s;
}
.doc-thumb:hover {
  transform: translateY(-3px) rotate(-1deg);
}
.doc-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
}
.doc h2 {
  margin-top: 6px;
  font-size: 30px;
}
.doc .meta {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 700;
}
.doc p.desc {
  margin: 10px 0 18px;
}
.doc .btn {
  min-height: 46px;
  padding: 10px 22px;
  font-size: 15px;
}
.tip {
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
}
.tip img {
  width: 36px;
  height: 36px;
  flex: none;
}
.block-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  margin-bottom: 18px;
}
.block-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.page-sec + .page-sec {
  margin-top: 56px;
}
.errata-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.errata-empty .ok {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
}
.errata-empty .ok svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.errata-empty small {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
}
.qa {
  display: grid;
  gap: 12px;
}
.qa details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: box-shadow 0.2s;
}
.qa details[open] {
  box-shadow: 0 10px 24px rgba(38, 26, 12, 0.08);
}
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 64px;
  position: relative;
  font-weight: 700;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::before,
.qa .answer::before {
  position: absolute;
  left: 20px;
  top: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: var(--brush);
  font-weight: 400;
  font-size: 17px;
  color: #fff;
}
.qa summary::before {
  content: "問";
  background: var(--red);
}
.qa summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.qa details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.qa .answer {
  position: relative;
  padding: 0 28px 20px 64px;
}
.qa .answer::before {
  content: "答";
  top: -2px;
  background: var(--teal);
}

/* ---------- 下部 ---------- */
.site-foot {
  margin-top: 0;
  padding: 56px 0 44px;
  background: var(--night);
  color: rgba(246, 239, 225, 0.85);
  font-size: 14px;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(246, 239, 225, 0.14);
}
.foot-top img {
  height: 34px;
  width: auto;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}
.site-foot a {
  color: rgba(246, 239, 225, 0.85);
  text-decoration: none;
}
.site-foot a:hover {
  color: #fff;
  text-decoration: underline;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(246, 239, 225, 0.55);
}

/* ---------- 表示の動き ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
.hero-inner > * {
  animation: rise 0.9s ease both;
}
.hero-inner > :nth-child(2) {
  animation-delay: 0.12s;
}
.hero-inner > :nth-child(3) {
  animation-delay: 0.2s;
}
.hero-inner > :nth-child(n + 4) {
  animation-delay: 0.3s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-inner > * {
    animation: none;
  }
  .btn,
  .link-card,
  .doc-thumb {
    transition: none;
  }
}

/* ---------- 画面幅に合わせる ---------- */
@media (max-width: 960px) {
  .site-nav a.nav-hide-md {
    display: none;
  }
  .event {
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 24px 28px 24px 24px;
  }
  .event-facts {
    gap: 4px 24px;
  }
  .factions {
    grid-template-columns: 1fr;
  }
  .faction {
    min-height: 400px;
  }
  .faction .portrait {
    width: 40%;
    max-width: 260px;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .step:nth-child(even) .shot {
    order: 0;
  }
  .person {
    grid-template-columns: 84px 1fr;
    gap: 14px;
    padding: 12px 6px;
  }
  .face-wrap {
    width: 84px;
    height: 84px;
  }
  .person h4 {
    font-size: 21px;
  }
  .neutrals {
    grid-template-columns: 1fr 1fr;
  }
  .neutrals h3 {
    grid-column: 1 / -1;
  }
  .contents {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .links {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  :root {
    --head-h: 56px;
  }
  body {
    font-size: 15px;
  }
  .wrap {
    width: min(var(--wrap), 100% - 32px);
  }
  .site-head .wrap {
    gap: 6px;
  }
  .site-logo img {
    height: 23px;
  }
  .site-nav a {
    font-size: 13px;
    padding: 6px 8px;
  }
  .site-nav a.nav-hide-sm {
    display: none;
  }
  .site-nav a.nav-play {
    padding-inline: 12px;
    margin-left: 2px;
  }
  .site-nav a.x-link {
    width: 32px;
    height: 32px;
  }
  .sec {
    padding: 60px 0;
  }
  .sec-head {
    margin-bottom: 28px;
  }
  .cta .btn {
    flex: 1 1 100%;
  }
  .event-wrap {
    margin-top: -56px;
  }
  .event-actions .btn {
    flex: 1 1 100%;
  }
  .news-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .news li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 14px 2px;
  }
  .faction .mark {
    font-size: 220px;
  }
  .step-num b {
    font-size: 44px;
  }
  .step h3 {
    font-size: 26px;
  }
  .people {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .neutrals {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .doc {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
  .doc-thumb {
    width: 150px;
  }
  .doc .btn {
    width: 100%;
  }
  .qa summary {
    padding: 16px 44px 16px 58px;
  }
  .qa summary::before,
  .qa .answer::before {
    left: 16px;
  }
  .qa .answer {
    padding: 0 20px 18px 58px;
  }
  .foot-nav {
    margin-left: 0;
  }
  /* 最初の画面：上に二人が対峙する絵、その下に題字とボタン */
  .hero {
    min-height: 0;
    display: block;
  }
  .hero-bg {
    bottom: auto;
    height: min(108vw, 64svh);
  }
  .hero-bg img {
    object-position: 50% 28%;
  }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(16, 20, 30, 0.6) 0%, rgba(16, 20, 30, 0) 24%),
      linear-gradient(0deg, var(--night) 0%, rgba(16, 20, 30, 0.6) 22%, rgba(16, 20, 30, 0) 48%);
  }
  .hero-inner {
    padding: calc(min(108vw, 64svh) - 92px) 0 96px;
  }
  .hero-title img {
    width: min(330px, 84vw);
  }
  /* 頒布情報：箱は見出しの横に小さく */
  .event {
    grid-template-columns: 96px 1fr;
    grid-template-areas: "box head" "body body";
    gap: 0 14px;
    padding: 18px 18px 20px 24px;
  }
  .event-box {
    width: 110px;
    margin: -6px 0 0 -8px;
  }
  .event-head {
    align-self: center;
  }
  .event h2 {
    font-size: 21px;
  }
  .event-facts {
    grid-template-columns: auto auto;
    gap: 6px 28px;
    margin-top: 12px;
  }
  .event-facts div:first-child {
    grid-column: 1 / -1;
  }
  .event-facts dd {
    font-size: 19px;
  }
  .event-facts dd small {
    font-size: 12px;
  }
  /* 陣営：勝利条件は下に全幅で、人物の絵と重ねない */
  .faction {
    min-height: 0;
    padding: 28px 22px 22px;
  }
  .faction .portrait {
    width: 44%;
    right: -14px;
    bottom: 64px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 30%);
  }
  .faction .copy {
    max-width: 64%;
  }
  .faction .desc {
    max-width: 60%;
    margin-bottom: 18px;
  }
  .faction .win {
    max-width: none;
    align-self: stretch;
    background: rgba(16, 20, 30, 0.5);
  }
  .faction .win b {
    font-size: 19px;
  }
  .versus-line {
    margin-top: 32px;
  }
  .flow {
    gap: 44px;
  }
  .flow-foot {
    margin-top: 44px;
  }
  .person p {
    font-size: 15px;
  }
  .face-wrap {
    width: 72px;
    height: 72px;
  }
  .face-wrap .atk {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .page-head {
    padding: 28px 0 26px;
  }
  .page-body {
    padding-top: 28px;
  }
  .tip {
    font-size: 14px;
    padding: 16px 18px;
  }
}
