/* =============================================================================
 * style.css — Wizardry Variants Daphne × FINAL FANTASY XI ティザーサイト
 * 「1st Anniversary」踏襲：ダークブラウン × パーチメント・ゴールド × 明朝
 * ========================================================================== */

:root {
  --bg: #14100b;
  --bg-2: #0e0b07;
  --ink: #e9e1cf;
  --ink-soft: #bcaf93;
  --ink-dim: #9c917a;
  --ink-faint: #897e66;
  --title: #f3ead6;
  --gold: #cec7a6;
  --gold-deep: #c5b07e;
  --red: #9a2f2f;
  --red-dark: #5f1c1c;
  --red-accent: #c26a4a;
  --panel-a: #241c13;
  --panel-b: #17110a;
  --serif: 'Noto Serif JP', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --mincho: 'Zen Old Mincho', 'Noto Serif JP', serif;
  --latin: 'Cormorant Garamond', 'Noto Serif JP', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(154, 47, 47, 0.4); }

/* スクロールバー（サイトデザインを流用：ダーク軌道＋ゴールドのつまみ） */
* { scrollbar-width: thin; scrollbar-color: var(--gold-deep) rgba(20, 16, 11, 0.6); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: rgba(12, 9, 6, 0.7); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  border: 3px solid rgba(12, 9, 6, 0.9); border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #e0d3aa, var(--gold)); }
::-webkit-scrollbar-corner { background: rgba(12, 9, 6, 0.7); }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* =========================== LOADING ====================================== */
#loading {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: #000;
  transition: opacity 900ms ease, visibility 900ms ease;
}
#loading.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loading__inner {
  display: flex; flex-direction: column; align-items: center; gap: clamp(26px, 4vw, 40px);
  padding: 0 24px; animation: loading-rise 900ms ease both;
}
.loading__logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(20px, 5vw, 54px); }
.loading__logo { width: auto; }
.loading__logo--daphne { height: clamp(84px, 15vw, 156px); }
.loading__logo--ffxi { height: clamp(44px, 8vw, 90px); }
.loading__x { font-family: var(--mincho); color: var(--gold); font-size: clamp(22px, 4vw, 38px); line-height: 1; }
.loading__bar {
  position: relative; width: clamp(120px, 22vw, 200px); height: 2px;
  background: rgba(206, 199, 166, 0.16); overflow: hidden; border-radius: 2px;
}
.loading__bar::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loading-slide 1.15s ease-in-out infinite;
}
@keyframes loading-slide { 0% { transform: translateX(-140%); } 100% { transform: translateX(340%); } }
@keyframes loading-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .loading__inner { animation: none; }
  .loading__bar::after { animation: none; }
}

.gold { color: var(--gold); }

/* --- keyframes --- */
@keyframes coffer-glow { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* --- ambient vignette --- */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(150, 108, 46, 0.16), transparent 55%),
    radial-gradient(100% 60% at 50% 110%, rgba(96, 56, 26, 0.16), transparent 60%);
}

/* メインビジュアル以下の固定背景動画 */
.bg-video { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #000; }
.bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* ヒーロー画像表示中は動画を隠し（黒背景）、スクロールでフェードイン（JS制御） */
#bg-video { opacity: 0; }
.bg-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,11,7,0.38) 0%, rgba(15,11,7,0.46) 50%, rgba(12,9,6,0.62) 100%);
}
@media (prefers-reduced-motion: reduce) { .bg-video > video { display: none; } }
/* コラボ等級試験以下の背景（初期非表示→スクロールでフェードイン） */
.bg-video--lower { opacity: 0; transition: opacity 600ms ease; }
.bg-video--lower.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bg-video--lower > video { display: block; } }

.page { position: relative; width: 100%; overflow-x: hidden; background: transparent; }

.about-link { position: relative; }

/* =========================== NAV ========================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(20, 16, 11, 0.92), rgba(20, 16, 11, 0.5));
  border-bottom: 1px solid rgba(206, 199, 166, 0.16);
}
.nav__brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--latin); font-weight: 600; letter-spacing: 0.06em; min-width: 0;
}
.nav__brand span { font-size: 17px; color: var(--ink); white-space: nowrap; }
.nav__brand .x { color: var(--gold); font-family: var(--mincho); font-size: 16px; }
.nav__brand .brand-short { display: none; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav__links a:not(.btn-x) {
  color: var(--ink-soft); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
}
/* 副次ボタン：金枠ダーク */
.btn-x {
  display: inline-flex; align-items: center; padding: 10px 22px; border-radius: 2px;
  background: linear-gradient(135deg, #2a2015, #17110a);
  border: 1px solid rgba(206, 199, 166, 0.55);
  color: var(--gold); text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; box-shadow: 0 0 18px rgba(206, 199, 166, 0.12);
}
.nav__btn-mobile {
  display: none; align-items: center; padding: 9px 18px; border-radius: 2px;
  background: linear-gradient(135deg, #2a2015, #17110a);
  border: 1px solid rgba(206, 199, 166, 0.55);
  color: var(--gold); text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; white-space: nowrap;
}

/* language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 2px;
  background: rgba(255, 246, 224, 0.05); border: 1px solid rgba(206, 199, 166, 0.38);
  color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
.lang__btn .caret { font-size: 9px; color: var(--ink-dim); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: #1c1610; border: 1px solid rgba(206, 199, 166, 0.3); border-radius: 4px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.lang__menu[hidden] { display: none; }
.lang__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 12px 16px; background: transparent; border: none;
  border-bottom: 1px solid rgba(206, 199, 166, 0.1);
  color: var(--ink); font-size: 13px; font-weight: 500; text-align: left; cursor: pointer;
  font-family: inherit;
}
.lang__opt[aria-selected="true"] { background: rgba(206, 199, 166, 0.12); }
.lang__opt .check { color: var(--gold); font-size: 12px; }

/* =========================== HERO / MV ==================================== */
/* ヒーローKVをコンテンツ幅に収める（左右余白あり／固定ナビ分の上部クリアランス） */
.mv-wrap {
  position: relative; z-index: 5;
  max-width: 1180px; margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
}
/* 全幅の黒背景（ビューポート端まで） */
.mv-wrap::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 100vw; transform: translateX(-50%); background: #000; z-index: -1;
}
/* トップ固定なし：通常フローのシネマチック帯（21:9）。上下カットは静的に適用 */
.mv-band {
  position: relative; width: 100%; aspect-ratio: 21 / 9; overflow: hidden; z-index: 5;
  background: #000;
}
.mv-inner {
  position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9;
  transform: translateY(-7.14%); /* クロップ基準を中央から約20%上へ（下側を多めにカット） */
}

/* living key visual layers */
.mv-scene { position: absolute; inset: 0; background: #000; overflow: hidden; }
.mv-kv {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; will-change: filter;
}
.mv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mv-vignette, .mv-letterbox { position: absolute; inset: 0; pointer-events: none; }
.mv-letterbox {
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 82%, rgba(0,0,0,0.4) 100%);
}

/* =========================== HERO COPY ==================================== */
.hero { position: relative; z-index: 2; background: transparent; }
.hero__inner {
  margin: 0 auto; max-width: 900px;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 6vw, 80px) clamp(56px, 7vw, 88px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  border: 1px solid rgba(206, 199, 166, 0.45); border-radius: 2px;
  font-size: 12px; letter-spacing: 0.28em; color: var(--gold); font-weight: 700;
  animation: coffer-glow 4s ease-in-out infinite; background: rgba(20, 16, 11, 0.4);
}
/* タイトル上のアイ ブロウ */
.hero__eyebrow {
  margin: 0 0 -2px; font-family: var(--latin); font-weight: 500;
  font-size: clamp(15px, 1.8vw, 21px); letter-spacing: 0.24em; color: var(--gold);
  text-transform: none;
}

/* タイトル装飾：両脇のゴールド罫＋菱形 */
.hero__title-row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 3vw, 34px); width: 100%;
}
.hero__title-flourish {
  position: relative; flex: 1 1 auto; height: 1px;
  max-width: clamp(36px, 12vw, 156px);
}
.hero__title-flourish::before {
  content: ""; position: absolute; inset: 0;
}
.hero__title-flourish--l::before {
  background: linear-gradient(90deg, transparent, var(--gold-deep));
}
.hero__title-flourish--r::before {
  background: linear-gradient(90deg, var(--gold-deep), transparent);
}
.hero__title-flourish::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px;
  background: var(--gold); transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(206, 199, 166, 0.5);
}
.hero__title-flourish--l::after { right: -3px; }
.hero__title-flourish--r::after { left: -3px; }

.hero__title {
  margin: 0; font-family: var(--mincho); font-weight: 700;
  font-size: clamp(30px, 5vw, 56px); line-height: 1.25; letter-spacing: 0.08em;
  color: var(--title); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
/* 開催期間 */
.hero__period {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: -4px;
}
.hero__period-label {
  font-size: 11px; letter-spacing: 0.34em; font-weight: 700; color: var(--gold-deep);
  padding: 4px 16px; border: 1px solid rgba(206, 199, 166, 0.38); border-radius: 2px;
  background: rgba(20, 16, 11, 0.4);
}
.hero__period-date {
  font-family: var(--mincho); font-weight: 700; color: var(--title);
  font-size: clamp(18px, 2.7vw, 27px); letter-spacing: 0.04em; line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.hero__period-dow { font-size: 0.66em; color: var(--gold); margin: 0 0.06em; letter-spacing: 0; }

.hero__lead {
  margin: 0; max-width: 660px; font-family: var(--mincho); font-weight: 700;
  font-size: clamp(16px, 1.9vw, 21px); line-height: 2.0; color: #3a2a12;
  /* 手でちぎったような破れ端：border-imageで四辺に実素材の破れを配し、中央は羊皮紙地 */
  border-style: solid;
  border-width: clamp(26px, 4vw, 40px) clamp(22px, 3.4vw, 34px);
  border-image: url(../assets/parchment.webp) 96 fill / clamp(26px, 4vw, 40px) clamp(22px, 3.4vw, 34px) / 0 stretch;
  padding: clamp(6px, 1.2vw, 14px) clamp(14px, 3vw, 30px) clamp(10px, 1.6vw, 18px);
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}

/* countdown */
.countdown { margin-top: 6px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.countdown__label { font-size: 12px; letter-spacing: 0.3em; color: var(--ink-dim); font-weight: 700; }
.countdown__row { display: flex; align-items: flex-start; gap: clamp(10px, 2.5vw, 26px); }
.countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 62px; }
.countdown__unit--days { min-width: 72px; }
.countdown__num {
  font-family: var(--mincho); font-weight: 900; font-size: clamp(38px, 6vw, 68px);
  line-height: 1; color: var(--title);
}
.countdown__num--sec { color: var(--gold); }
.countdown__cap { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-faint); }
.countdown__colon {
  font-family: var(--mincho); font-size: clamp(30px, 5vw, 56px); color: #6b5f48; line-height: 1.1;
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
/* 主CTA：金プレート */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 38px; border-radius: 2px;
  background: linear-gradient(135deg, #ddcea4, #b7995c);
  border: 1px solid rgba(232, 222, 188, 0.6);
  color: #1c1409; text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 0 28px rgba(206, 199, 166, 0.32);
}
.btn-primary .play {
  display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(28, 20, 9, 0.55); color: #1c1409; font-size: 9px;
}

/* store badges（公式バッジ画像） */
.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 6px; }
.store-badge { display: inline-flex; text-decoration: none; transition: opacity 200ms ease; }
.store-badge:hover { opacity: 0.82; }
.store-badge img { display: block; height: clamp(44px, 5.6vw, 52px); width: auto; }

.hero__anniv { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.16em; color: #94886e; }

/* 新規ユーザー向け：ゲーム公式（ダフネ）への導線（赤系・六角形／金縁はホバー時のみ1px）
   親を縁レイヤー、::before(1px内側)を本体とし、ホバー時だけ親を金にして1pxの金縁を出す */
.hero__learn-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 52px; text-decoration: none;
  color: #f3ead6; font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  background: linear-gradient(135deg, #8a2a2a, #521717); /* 通常時は赤（縁なし） */
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: background 200ms ease, filter 200ms ease;
}
.hero__learn-btn::before {
  content: ""; position: absolute; inset: 1px;
  background: linear-gradient(135deg, #8a2a2a, #521717); /* 赤の本体 */
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
}
.hero__learn-btn > span { position: relative; z-index: 1; }
/* ホバー：親のみ金にして 1px の金縁を表示 */
.hero__learn-btn:hover {
  background: linear-gradient(135deg, #e6d29a, #b7995c);
  filter: drop-shadow(0 0 12px rgba(154, 47, 47, 0.55));
}

/* =========================== SECTIONS ===================================== */
.section { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; }
.section--pad { padding: clamp(80px, 11vw, 150px) clamp(20px, 6vw, 80px); }
.section--pad-sm { padding: clamp(60px, 8vw, 110px) clamp(20px, 6vw, 80px); }
.section--teaser { padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px); max-width: 1100px; }
.section--overview { padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 80px) clamp(80px, 11vw, 150px); }

/* ===== セクションのメリハリ：質感背景バンド＋区切り装飾ライン ===== */
/* 全幅の質感テクスチャ帯（暗いベールでごく控えめに敷く） */
.section--tex::before,
.section--tex-warm::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(16, 12, 7, 0.90), rgba(11, 8, 5, 0.94)),
    url(../assets/section-texture.webp);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
/* Wizardry側は赤みを含む暖色ベールで差別化 */
.section--tex-warm::before {
  background-image:
    linear-gradient(180deg, rgba(28, 12, 9, 0.86), rgba(12, 8, 5, 0.94)),
    url(../assets/section-texture.webp);
}
/* 区切り装飾ライン（セクション境界＝上端にオーナメント中心を合わせて配置） */
.section--divide::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: min(74%, 720px); height: 18px; z-index: 3; pointer-events: none;
  background:
    url(../assets/divider-gem.svg) no-repeat center center / auto 18px,
    linear-gradient(90deg, transparent, rgba(206, 199, 166, 0.4) 22%, rgba(206, 199, 166, 0.4) 78%, transparent) no-repeat center center / 100% 1px;
}

.sec-head {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
/* 見出し上：中央宝石つきの金の罫線 */
.sec-head::before {
  content: ""; display: block;
  width: clamp(190px, 32vw, 300px); height: 16px; margin-bottom: 2px;
  background: url(../assets/divider-gem.svg) no-repeat center / contain;
}
/* 区切り線（section--divide）があるセクションでは、見出し上の装飾を省いて二重化を防ぐ */
.section--divide .sec-head::before { display: none; }
.sec-head--mb-lg { margin-bottom: 64px; }
.sec-head--mb { margin-bottom: 48px; }
.sec-head--mb-56 { margin-bottom: 56px; }
/* anniv風 見出し：Cormorant欧文の小見出しを金の装飾で挟む */
.eyebrow {
  display: inline-flex; align-items: center; gap: clamp(12px, 2vw, 22px);
  font-family: var(--latin); font-weight: 500;
  font-size: clamp(20px, 2.8vw, 34px); letter-spacing: 0.12em;
  color: var(--gold); line-height: 1;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: clamp(46px, 6vw, 78px); height: 20px; flex: none;
  background: url(../assets/ornament-title.svg) no-repeat center / contain;
}
.eyebrow::after { transform: scaleX(-1); }
.sec-title {
  margin: 0; font-family: var(--mincho); font-weight: 600;
  font-size: clamp(28px, 4.4vw, 50px); color: var(--title); line-height: 1.3;
  letter-spacing: 0.04em;
}
.sec-lead {
  margin: 0; max-width: 760px; font-size: clamp(15px, 1.5vw, 18px); line-height: 2; color: var(--ink-soft);
}
.sec-lead--sm { max-width: 620px; font-size: 14px; line-height: 1.9; }

/* 等級試験ロゴ下：コラボ／クイズの説明文（小さめ・可読性重視） */
.quiz-intro {
  max-width: 760px; margin: 0 auto clamp(30px, 4vw, 44px);
  font-family: var(--mincho); font-size: 13.5px; line-height: 2; color: #e4d9bf; text-align: center;
  background: rgba(14, 10, 6, 0.6); border: 1px solid rgba(206, 199, 166, 0.16);
  border-radius: 6px; padding: clamp(22px, 3vw, 32px) clamp(20px, 4vw, 40px);
}
.quiz-intro p { margin: 0 0 1em; text-wrap: balance; }
.quiz-intro p:last-child { margin-bottom: 0; }
.quiz-more[hidden] { display: none; }
.quiz-more p { margin: 0; text-wrap: balance; }
.quiz-more-toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--mincho); font-size: 13px; letter-spacing: 0.06em; color: var(--gold);
  transition: color 0.2s;
}
.quiz-more-toggle::after { content: "\25BC"; font-size: 9px; transition: transform 0.2s; }
.quiz-more-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.quiz-more-toggle:hover { color: var(--title); }
@media (max-width: 600px) { .quiz-intro { font-size: 13px; padding: 20px 18px; } .quiz-intro .br-pc { display: none; } }

/* 等級試験タイトル選択の下：電撃の旅団とは？ ボタン */
.quiz-sub-note { text-align: center; margin: clamp(20px, 2.6vw, 28px) auto 0; }
.brigade-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mincho); font-size: 13px; letter-spacing: 0.06em;
  color: var(--gold); background: rgba(206, 199, 166, 0.14);
  border: 1px solid rgba(206, 199, 166, 0.4); border-radius: 22px;
  padding: 9px 24px; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.brigade-btn::before {
  content: "？"; font-size: 11px; line-height: 1; color: var(--gold-deep);
  border: 1px solid currentColor; border-radius: 50%; width: 16px; height: 16px;
  display: inline-grid; place-items: center; flex: none;
}
.brigade-btn:hover { background: rgba(206, 199, 166, 0.26); border-color: var(--gold); color: var(--title); }

/* NEWS：新着リスト */
.news-list { max-width: 820px; margin: 0 auto; list-style: none; padding: 0; }
.news-item {
  display: flex; align-items: baseline; gap: 20px;
  padding: 16px 6px; border-bottom: 1px solid rgba(206, 199, 166, 0.14);
}
.news-item:first-child { border-top: 1px solid rgba(206, 199, 166, 0.14); }
.news-item__date {
  flex: none; font-family: var(--latin); font-size: 16px; letter-spacing: 0.06em;
  color: var(--gold-deep); min-width: 96px;
}
.news-item__cat {
  flex: none; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-soft);
  border: 1px solid rgba(206, 199, 166, 0.3); border-radius: 20px; padding: 3px 14px; line-height: 1.6;
}
.news-item__title { font-family: var(--mincho); font-size: 16px; color: var(--ink); line-height: 1.6; }
@media (max-width: 600px) {
  .news-item { flex-wrap: wrap; gap: 8px 14px; }
  .news-item__title { flex-basis: 100%; }
}

/* teaser：ヒーロー内はポスターの「開く」ボタン（クリックでモーダル再生） */
.teaser-open {
  position: relative; display: block; width: 100%; margin: clamp(2px, 0.8vw, 8px) 0;
  padding: 0; border: 1px solid rgba(206, 199, 166, 0.24); border-radius: 4px; overflow: hidden;
  background: #000; cursor: pointer; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.teaser-open:hover { border-color: var(--gold); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 22px rgba(206, 199, 166, 0.18); }
.teaser-open__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.teaser-open__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(120% 90% at 50% 50%, rgba(12, 9, 6, 0.28), rgba(12, 9, 6, 0.55));
}
.teaser-open__play {
  width: clamp(58px, 8vw, 78px); height: clamp(58px, 8vw, 78px); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gold); color: var(--gold); font-size: clamp(20px, 3vw, 26px);
  background: rgba(20, 16, 11, 0.4); padding-left: 4px;
  transition: background 220ms ease, transform 220ms ease;
}
.teaser-open:hover .teaser-open__play { background: rgba(30, 23, 15, 0.6); transform: scale(1.06); }
.teaser-open__label { font-family: var(--mincho); font-size: clamp(13px, 1.6vw, 16px); letter-spacing: 0.14em; color: var(--title); }

/* teaser モーダルの再生オーバーレイ（トップのポスターボタンと同じUI） */
.teaser-play-overlay {
  position: absolute; inset: 0; z-index: 2; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: none; padding: 0;
  background: radial-gradient(120% 90% at 50% 50%, rgba(12, 9, 6, 0.28), rgba(12, 9, 6, 0.55));
  transition: background 200ms ease;
}
.teaser-play-overlay:hover { background: radial-gradient(120% 90% at 50% 50%, rgba(12, 9, 6, 0.22), rgba(12, 9, 6, 0.5)); }
.teaser-play-overlay:hover .teaser-open__play { background: rgba(30, 23, 15, 0.6); transform: scale(1.06); }
.teaser-play-overlay[hidden] { display: none; }

/* teaser モーダル */
.modal--teaser { padding: clamp(16px, 4vw, 48px); }
.modal__box--teaser {
  max-width: 980px; background: transparent; box-shadow: none; border-radius: 0;
}
.teaser-frame {
  position: relative; border: 1px solid rgba(206, 199, 166, 0.24); border-radius: 4px;
  overflow: hidden; background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.modal__box--teaser .modal__close { top: -14px; right: -8px; border: 1px solid rgba(206, 199, 166, 0.5); color: #e9e1cf; background: rgba(12, 9, 6, 0.85); }
.teaser-video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000;
}
.teaser-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.teaser-embed img, .teaser-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; }
.teaser-embed img { object-fit: cover; }

/* quiz — 等級試験ロゴ */
.quiz-logo { text-align: center; margin: 0 auto clamp(24px, 3.5vw, 40px); }
.quiz-logo img { display: block; margin: 0 auto; width: clamp(190px, 26vw, 300px); height: auto; }

/* quiz — 各タイトルの等級試験トップへの2入口 */
.quiz-entries {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 28px);
  max-width: 900px; margin: 0 auto 56px;
}
.quiz-entry {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: clamp(20px, 2.6vw, 30px); text-decoration: none;
  padding: clamp(32px, 4vw, 48px) clamp(22px, 3vw, 40px); border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(206, 199, 166, 0.3);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(154, 47, 47, 0.12), transparent 62%),
    linear-gradient(160deg, #241c13, #140f09);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.quiz-entry:hover { border-color: var(--gold); box-shadow: 0 0 24px rgba(206, 199, 166, 0.14); }
/* 上端の金アクセントライン（挑戦/プレミアムの目印） */
.quiz-entry::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.quiz-entry__logo { height: clamp(84px, 11vw, 120px); display: flex; align-items: center; justify-content: center; }
.quiz-entry__logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; }
/* FFカードのロゴはやや大きいため90%に */
.quiz-entry--ffxi .quiz-entry__logo img { max-height: 90%; max-width: 90%; }
.quiz-entry__name { font-family: var(--mincho); font-size: clamp(17px, 2vw, 22px); font-weight: 600; color: var(--title); letter-spacing: 0.04em; }
.quiz-entry__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 40px; border-radius: 2px;
  background: linear-gradient(135deg, #ddcea4, #b7995c); border: 1px solid rgba(232, 222, 188, 0.6);
  color: #1c1409; font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 0 26px rgba(206, 199, 166, 0.3);
}
.quiz-entry__cta .quiz-arrow { font-size: 18px; }

.quiz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quiz-card {
  text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 34px 32px; border-radius: 4px; transition: border-color 200ms;
}
.quiz-card--wiz { background: linear-gradient(135deg, #2a1c15, #1a120b); border: 1px solid rgba(154, 47, 47, 0.4); }
.quiz-card--wiz:hover { border-color: var(--red-accent); }
.quiz-card--ff { background: linear-gradient(135deg, #241c13, #181109); border: 1px solid rgba(206, 199, 166, 0.32); }
.quiz-card--ff:hover { border-color: var(--gold); }
.quiz-num { font-size: 11px; letter-spacing: 0.24em; font-weight: 700; margin-bottom: 10px; }
.quiz-num--wiz { color: var(--red-accent); }
.quiz-num--ff { color: var(--gold); }
.quiz-card h3 { margin: 0 0 6px; font-family: var(--mincho); font-size: 22px; font-weight: 600; color: var(--title); }
.quiz-card p { margin: 0; font-size: 13px; color: var(--ink-dim); }
.quiz-arrow { font-size: 22px; }
.quiz-arrow--wiz { color: var(--red-accent); }
.quiz-arrow--ff { color: var(--gold); }

/* section divider label */
.div-label { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.div-label span { font-size: 12px; letter-spacing: 0.24em; font-weight: 700; }
.div-label--gold span { color: var(--gold); }
.div-label--red span { color: var(--red-accent); }
.div-label .rule { flex: 1; height: 1px; }
.div-label--gold .rule { background: rgba(206, 199, 166, 0.22); }
.div-label--red .rule { background: rgba(194, 106, 74, 0.28); }

/* Special Movie（Coming Soon プレースホルダ） */
.movie-coming {
  position: relative; max-width: 900px; margin: 0 auto 56px; aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(206, 199, 166, 0.28); border-radius: 4px; overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 40%, rgba(154, 47, 47, 0.1), transparent 60%),
    linear-gradient(160deg, #241c13, #100b06);
}
.movie-coming__label {
  font-family: var(--latin); font-weight: 500; letter-spacing: 0.14em;
  font-size: clamp(28px, 5vw, 52px); color: #dccfa6;
  background: linear-gradient(180deg, #f0e7ce 0%, #d3c69e 55%, #b89a5f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* 特別記事（プレースホルダ） */
.articles {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 3vw, 28px); max-width: 900px; margin: 0 auto 56px;
}
.article-card {
  position: relative;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 4px;
  border: 1px solid rgba(206, 199, 166, 0.16);
  border-left: 3px solid var(--gold-deep);
  background: #191309;
}
/* 外部記事へ遷移するカード：クリック可能＋外部遷移を明示 */
a.article-card--link {
  text-decoration: none; color: inherit; cursor: pointer;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
a.article-card--link:hover {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(206, 199, 166, 0.16);
}
.article-card__read {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-end;
  padding-top: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold);
}
.article-card__ext { font-size: 15px; color: var(--gold); }
.article-card__body {
  flex: 1; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 32px) clamp(20px, 2.6vw, 28px);
}
/* 掲載メディア（対談記事の出典表示と同じ金枠ピル） */
.article-card__source {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 2px;
  font-family: var(--latin); font-weight: 700; font-size: 13px; letter-spacing: 0.03em; line-height: 1;
  color: var(--gold); background: rgba(206, 199, 166, 0.08);
  border: 1px solid rgba(206, 199, 166, 0.5);
}
.article-card__source::before {
  content: "掲載"; font-family: var(--mincho); font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; color: var(--gold-deep);
  padding-right: 8px; border-right: 1px solid rgba(206, 199, 166, 0.4);
}
.article-card__title {
  margin: 0; font-family: var(--mincho); font-weight: 600; color: var(--title);
  font-size: clamp(16px, 2vw, 20px); line-height: 1.6;
}

/* interviews */
.interviews { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 56px; }
.interview {
  cursor: pointer; text-decoration: none; display: block;
  border: 1px solid rgba(206, 199, 166, 0.2); border-radius: 4px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-a), var(--panel-b));
}
.interview__thumb {
  position: relative;
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #161009;
  border-bottom: 1px solid rgba(206, 199, 166, 0.16);
}
/* 出典表示（4Gamer.net）：本文エリア上部の金枠ピル（画像に被らない） */
.interview__source {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 2px;
  font-family: var(--latin); font-weight: 700; font-size: 13px; letter-spacing: 0.03em; line-height: 1;
  color: var(--gold);
  background: rgba(206, 199, 166, 0.08);
  border: 1px solid rgba(206, 199, 166, 0.5);
}
.interview__source::before {
  content: "掲載"; font-family: var(--mincho); font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; color: var(--gold-deep);
  padding-right: 8px; border-right: 1px solid rgba(206, 199, 166, 0.4);
}
.interview__thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block;
  /* セピア調（サイトの暖色トーンに馴染ませる） */
  filter: sepia(0.62) saturate(0.85) contrast(1.02) brightness(0.98);
}
.interview__body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px; }

/* サムネイル付きカード：画像を左に、本文を右に横並び */
.interview--with-thumb { display: grid; grid-template-columns: minmax(200px, 34%) 1fr; align-items: stretch; }
.interview--with-thumb .interview__thumb {
  aspect-ratio: auto; height: 100%; min-height: 100%;
  border-bottom: none; border-right: 1px solid rgba(206, 199, 166, 0.16);
}
.interview--with-thumb .interview__body { align-items: flex-start; text-align: left; }
.interview--with-thumb .interview__people { justify-content: flex-start; }
/* タイトルを2行分の高さで固定し、カード（＝サムネイル）高さを両記事で揃える */
.interview--with-thumb .interview__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.4em * 2);
}
.interview__title { margin: 0; font-family: var(--mincho); font-size: 22px; font-weight: 600; color: var(--title); line-height: 1.4; }
.interview__people { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.person__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.person__romaji { font-size: 12px; color: var(--ink-dim); letter-spacing: 0.02em; }
.interview__x { font-family: var(--mincho); font-size: 20px; color: var(--gold); }
.interview__read { font-size: 13px; color: var(--gold); font-weight: 700; align-self: flex-end; }

/* 対談記事：Coming Soon プレースホルダ（内容非公開） */
.interview--soon { cursor: default; }
.interview__soon {
  min-height: 148px; display: flex; align-items: center; justify-content: center;
  padding: 40px 32px;
  background:
    radial-gradient(120% 120% at 50% 40%, rgba(154, 47, 47, 0.08), transparent 60%),
    linear-gradient(160deg, #241c13, #140f09);
}
.interview__soon-label {
  font-family: var(--latin); font-weight: 500; letter-spacing: 0.14em;
  font-size: clamp(24px, 4vw, 40px);
  background: linear-gradient(180deg, #f0e7ce 0%, #d3c69e 55%, #b89a5f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* messages — 公式サイト「スペシャルコメント」デザインを踏襲
   （暗色＋引用符ウォーターマークのカード地／上下の金装飾罫／回転リングの開くボタン） */
.messages { display: grid; grid-auto-rows: 1fr; gap: clamp(16px, 2vw, 22px); grid-template-columns: repeat(3, 1fr); }
.message[hidden] { display: none; }
.message {
  position: relative; cursor: pointer; display: flex; flex-direction: column;
  padding: clamp(30px, 3.4vw, 42px) clamp(22px, 2.2vw, 30px) clamp(20px, 2.2vw, 28px);
  background: #241c13 url(../assets/comment/body.webp) top left / cover no-repeat;
  border-radius: 2px; overflow: hidden;
}
/* 上下の金装飾罫 */
.message::before, .message::after {
  content: ""; position: absolute; left: 0; width: 100%; pointer-events: none;
  background-repeat: no-repeat; background-position: center; background-size: 100% 100%;
}
.message::before { top: 0; height: 13px; background-image: url(../assets/comment/edge-top.webp); }
.message::after { bottom: 0; height: 5px; background-image: url(../assets/comment/edge-bottom.webp); }

.message__lead {
  margin: 0; font-family: var(--mincho); font-size: clamp(16px, 1.15vw, 19px); font-weight: 500;
  line-height: 1.8; color: #ece2cd; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.message__foot { margin-top: auto; padding-top: clamp(20px, 2.4vw, 30px); }
.message__name { margin: 0 0 4px; font-family: var(--mincho); font-size: 17px; font-weight: 600; color: #ddd1b7; text-align: left; }
.message__role { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(221, 209, 183, 0.4); text-align: left; }

/* 「メッセージを読む」→ 回転リングの開くボタン（公式の .blank 相当） */
.message__ring {
  display: flex; align-items: center; justify-content: center;
  margin-top: clamp(14px, 1.8vw, 20px); padding-top: clamp(14px, 1.8vw, 20px);
  border-top: 1px solid rgba(160, 130, 91, 0.5);
}
.message__ring svg { width: 44px; height: 44px; display: block; }
.message__ring .ring-out { fill: none; stroke: #c5b07e; stroke-width: 2; }
.message__ring .ring-fill { transform-origin: center; fill: url(#ringGrad); animation: about-ring 1.5s linear infinite; }
.message__ring .ring-arc { transform-origin: center; animation: about-ring 5s linear infinite; }
.message__ring .ring-arc path { fill: none; stroke: #c5b07e; stroke-width: 2; }
.message__ring .ring-plus line { stroke: #c5b07e; stroke-width: 7; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) {
  .message__ring .ring-fill, .message__ring .ring-arc { animation: none; }
}

/* ABOUT WIZARDRY（添付デザイン：大見出し＋ロゴ＋枠なし本文） */
.about-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; margin-bottom: clamp(44px, 6vw, 72px);
}
.about-head__title {
  margin: 0; font-family: var(--latin); font-weight: 500;
  font-size: clamp(40px, 6.4vw, 74px); line-height: 1.05; letter-spacing: 0.04em;
  color: #dccfa6;
  background: linear-gradient(180deg, #f0e7ce 0%, #d3c69e 52%, #b89a5f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.about-head__sub {
  margin: 0; font-family: var(--mincho); font-weight: 500;
  font-size: clamp(15px, 1.8vw, 19px); letter-spacing: 0.16em; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.about-head__sub::before, .about-head__sub::after { content: "—"; color: var(--gold); opacity: 0.85; }
.about-head__title .nowrap { white-space: nowrap; }
@media (max-width: 560px) {
  .about-head__sub { font-size: 13.5px; letter-spacing: 0.06em; gap: 0.4em; }
  /* タイトル名（FINAL FANTASY XI）を途中で折り返さず1行に収める */
  .about-head__title { font-size: 34px; }
}
.about-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(30px, 4.5vw, 48px); }
.about-body__logo {
  width: clamp(258px, 44vw, 500px); height: auto;
  filter: drop-shadow(0 0 20px rgba(154, 47, 47, 0.28));
}
.about-body__text {
  margin: 0; max-width: 860px; font-size: clamp(14px, 1.4vw, 16px);
  line-height: 2.1; color: #c6ba9f;
}
.about-body__logo--ffxi { width: clamp(280px, 46vw, 520px); filter: none; }

/* 外部リンクボタン（FFXI 公式 / 記念サイト） */
.ext-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
/* FFXI外部リンク：FFらしい白×青 */
.ext-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px; border-radius: 2px; text-decoration: none;
  background: linear-gradient(180deg, #ffffff, #dbe6f6);
  border: 1px solid #6f9fd6; color: #143a72;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.ext-btn:hover {
  border-color: #2f6ec0; background: linear-gradient(180deg, #ffffff, #cbddf3);
  box-shadow: 0 0 16px rgba(90, 150, 220, 0.5);
}
.ext-btn__arrow { font-size: 15px; color: #2f6ec0; }

/* About 外部導線バナー */
.about-links {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.about-link {
  display: block; text-decoration: none; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(206, 199, 166, 0.28); background: #140f09;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.about-link:hover {
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(206, 199, 166, 0.14);
}
.about-link__img {
  width: 100%; height: auto; display: block;
  transition: filter 300ms ease; filter: brightness(0.94);
}
.about-link:hover .about-link__img { filter: brightness(1.05); }
/* 回転する金リングの外部リンクアイコン（anniv踏襲） */
.about-link__ext {
  position: absolute; top: 50%; right: clamp(16px, 2.4vw, 26px); transform: translateY(-50%);
  z-index: 3; width: 10.3%; height: auto; aspect-ratio: 1 / 1;
  background: url(../assets/ico-blank.png) no-repeat center / 32%;
}
.about-link__ext svg { width: 100%; height: 100%; display: block; pointer-events: none; }
.about-link__ext .ring-out { fill: none; stroke: #c5b07e; stroke-width: 2; }
.about-link__ext .ring-fill { transform-origin: center; fill: url(#ringGrad); animation: about-ring 1.5s linear infinite; }
.about-link__ext .ring-arc { transform-origin: center; animation: about-ring 5s linear infinite; }
.about-link__ext .ring-arc path { fill: none; stroke: #c5b07e; stroke-width: 2; }
/* Portal：画像に焼き込まれたアイコン位置（中心 x89.4% / y49.6%・直径≈9.4%）に合わせて重ねる。
   %基準なのでバナーが伸縮してもズレない。中央グリフは焼き込み側を活かすため非表示。 */
.about-link--portal .about-link__ext {
  left: 89.4%; top: 49.6%; right: auto; transform: translate(-50%, -50%);
  width: 10.3%; height: auto; aspect-ratio: 1 / 1; background: none;
}
@keyframes about-ring { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .about-link__ext .ring-fill, .about-link__ext .ring-arc { animation: none; }
}

/* about + overview panels */
.panel {
  padding: 38px 34px; background: linear-gradient(160deg, var(--panel-a), #140f09);
  border: 1px solid rgba(206, 199, 166, 0.2); border-radius: 4px;
}
.panel h3 { margin: 0 0 18px; font-family: var(--mincho); font-size: 22px; font-weight: 600; color: var(--title); }
.panel__body { margin: 0; font-size: 15px; line-height: 2; color: #bcaf93; }
.panel__eyebrow { font-family: var(--latin); font-size: 17px; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.panel__title { margin: 0 0 24px; font-family: var(--mincho); font-size: 20px; font-weight: 600; color: var(--title); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 22px; }

/* 装飾フレーム付きパネル（Overview / System requirements） */
.spec-panel {
  position: relative; max-width: 43.5625rem; margin: 0 auto;
  background:
    url(../assets/frame-mid.png) repeat-y center / 100% 100%,
    linear-gradient(160deg, #241c13, #140f09);
  padding: clamp(46px, 6vw, 60px) clamp(24px, 4vw, 44px) clamp(52px, 7vw, 72px);
}
.spec-panel + .spec-panel { margin-top: clamp(30px, 4.5vw, 48px); }
.spec-panel::before, .spec-panel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.9rem; pointer-events: none;
}
.spec-panel::before { top: 0; background: url(../assets/frame-top.png) no-repeat top center / 100% auto; }
.spec-panel::after { bottom: 0; background: url(../assets/frame-bottom.png) no-repeat bottom center / 100% auto; }

.spec-head { text-align: center; margin-bottom: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.spec-head--sub { margin-bottom: clamp(30px, 4vw, 42px); }
.spec-head--sub + .interviews, .interviews + .spec-head--sub { margin-top: 0; }
.spec-head__en {
  font-family: var(--latin); font-weight: 500; font-size: clamp(27px, 3.6vw, 40px);
  letter-spacing: 0.05em; line-height: 1.1; color: #dccfa6;
  background: linear-gradient(180deg, #f0e7ce 0%, #d3c69e 52%, #b89a5f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.spec-head__ja {
  font-family: var(--mincho); font-weight: 600; font-size: clamp(19px, 2.4vw, 26px);
  letter-spacing: 0.1em; color: var(--title); display: inline-flex; align-items: center; gap: 0.4em;
}
.spec-head__ja::before, .spec-head__ja::after { content: "—"; color: var(--title); opacity: 0.7; font-weight: 400; }

.spec-list { margin: 0 auto; max-width: 440px; display: flex; flex-direction: column; gap: 4px; }
.spec-list__row { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 9px 0; align-items: baseline; }
.spec-list dt { margin: 0; font-family: var(--latin); font-size: 16px; letter-spacing: 0.04em; color: var(--gold); font-weight: 500; }
.spec-list dd { margin: 0; font-family: var(--mincho); font-size: 15px; line-height: 1.7; color: var(--title); }

.spec-sysreq { max-width: 600px; margin: 0 auto; text-align: left; }
.sysreq__head { font-size: 13px; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 12px; }
.sysreq__head--rec { color: var(--gold); }
.sysreq__head--min { color: #94886e; }
.sysreq__group { margin-bottom: 26px; }
.sysreq__group:last-child { margin-bottom: 0; }
.sysreq__line { margin: 0 0 8px; font-size: 13.5px; line-height: 1.9; color: #c6ba9f; }
.sysreq__k { color: var(--gold); font-weight: 700; margin-right: 0.6em; }
.sysreq__v { color: #c6ba9f; }

/* follow CTA */
.follow { position: relative; z-index: 2; padding: clamp(80px, 11vw, 150px) clamp(20px, 6vw, 80px); text-align: center; }
.follow__glow { position: absolute; inset: 0; background: radial-gradient(70% 100% at 50% 50%, rgba(150, 110, 45, 0.2), transparent 70%); }
.follow__inner { position: relative; max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.follow__title { margin: 0; font-family: var(--mincho); font-weight: 700; font-size: clamp(28px, 4.6vw, 52px); color: var(--title); line-height: 1.3; letter-spacing: 0.04em; }
.btn-primary--lg { padding: 16px 44px; font-size: 16px; letter-spacing: 0.06em; box-shadow: 0 0 34px rgba(206, 199, 166, 0.4); }

/* footer */
.footer { position: relative; z-index: 2; padding: clamp(48px, 7vw, 76px) clamp(20px, 6vw, 80px) 40px; border-top: 1px solid rgba(206, 199, 166, 0.14); background: rgba(12, 9, 6, 0.55); }
.footer__inner { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__anniv { margin: 0 0 clamp(32px, 5vw, 48px); }

.footer__sns { display: flex; align-items: flex-start; justify-content: center; gap: clamp(30px, 7vw, 90px); }
.footer__col { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.footer__h { font-family: var(--latin); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.04em; color: var(--gold); line-height: 1; }
.footer__icons { display: flex; align-items: center; gap: 20px; }
.footer__icons a { display: inline-flex; transition: opacity 200ms ease, transform 200ms ease; }
.footer__icons a:hover { opacity: 0.75; transform: translateY(-2px); }
.footer__icons img { display: block; height: 26px; width: auto; }
.footer__vline { align-self: stretch; width: 1px; background: rgba(206, 199, 166, 0.28); }

.footer__partner { margin-top: clamp(40px, 6vw, 60px); }
.footer__partner img { width: clamp(220px, 40vw, 280px); height: auto; opacity: 0.9; }

.footer__navi { margin-top: clamp(34px, 5vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(20px, 3vw, 34px); }
.footer__navi a { font-size: 13px; letter-spacing: 0.04em; color: var(--gold); text-decoration: none; transition: color 200ms ease; }
.footer__navi a:hover { color: var(--title); }

.footer__rule { width: 100%; max-width: 760px; height: 1px; margin: 24px auto 20px; background: linear-gradient(90deg, transparent, rgba(206, 199, 166, 0.4), transparent); }
.footer__copy { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-dim); }

@media (max-width: 560px) {
  .footer__sns { flex-direction: column; gap: 34px; align-items: center; }
  .footer__vline { display: none; }
}

/* =========================== MODALS ======================================= */
.modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(8, 5, 2, 0.84); backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
.modal__box {
  position: relative; width: 100%; background: linear-gradient(180deg, #241c13, #140f09);
  border-radius: 6px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.modal__box--interview { max-width: 560px; border: 1px solid rgba(206, 199, 166, 0.32); overflow: hidden; }
/* メッセージ（スペシャルコメント）モーダル：暗色地＋引用符＋上下の金装飾罫 */
.modal__box--message {
  max-width: 680px; max-height: 86vh; overflow-y: auto; border: none; border-radius: 2px;
  background: #241c13 url(../assets/comment/body.webp) top center / cover no-repeat;
}
.modal__box--message::before, .modal__box--message::after {
  content: ""; position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 1;
  background-repeat: no-repeat; background-position: center; background-size: 100% 100%;
}
.modal__box--message::before { top: 0; height: 15px; background-image: url(../assets/comment/edge-top.webp); }
.modal__box--message::after { bottom: 0; height: 7px; background-image: url(../assets/comment/edge-bottom.webp); }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20, 16, 11, 0.5); font-size: 16px; cursor: pointer; line-height: 1;
}
.modal__box--interview .modal__close { border: 1px solid rgba(206, 199, 166, 0.38); color: #d8cfb0; }
.modal__box--message .modal__close { border: 1px solid rgba(206, 199, 166, 0.42); color: #d8cfb0; z-index: 3; }
.modal__pad-i { padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 8px; }
.modal__pad-m { padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 0; text-align: center; }
.modal__eyebrow { font-family: var(--latin); font-size: 16px; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; }
.modal__title { margin: 6px 0 4px; font-family: var(--mincho); font-size: 24px; font-weight: 600; color: var(--title); line-height: 1.4; }
.modal__speakers { margin: 0 0 24px; font-size: 14px; color: var(--ink-soft); }
.modal__links { display: flex; flex-direction: column; gap: 12px; }
.modal__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px;
  border-radius: 4px; background: rgba(255, 246, 224, 0.03); border: 1px solid rgba(206, 199, 166, 0.28);
  color: var(--title); text-decoration: none;
}
.modal__link span:first-child { font-size: 14px; font-weight: 700; }
.modal__link .arrow { font-size: 16px; color: var(--gold); }
.modal__msg-text { margin: 0; font-family: var(--mincho); font-size: clamp(15px, 1.15vw, 17px); line-height: 2.1; color: #ddd2ba; white-space: pre-line; text-align: center; text-wrap: balance; }
.modal__msg-img { display: block; width: auto; max-width: 100%; max-height: 340px; height: auto; margin: 24px auto 0; border-radius: 4px; border: 1px solid rgba(206, 199, 166, 0.2); object-fit: contain; cursor: zoom-in; }

/* 画像ライトボックス（拡大表示） */
.img-lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(5, 3, 1, 0.92); cursor: zoom-out; }
.img-lightbox[hidden] { display: none; }
.img-lightbox__img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7); cursor: default; }
.img-lightbox__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(206, 199, 166, 0.5); background: rgba(12, 9, 6, 0.7); color: #e9e1cf; font-size: 18px; line-height: 1; cursor: pointer; }
.modal__msg-img[hidden] { display: none; }
/* 発言者（本文の上・中央）：画像準拠で役職→氏名の順に中央配置 */
.modal__msg-person { margin: 0 0 clamp(24px, 3vw, 34px); text-align: center; }
.modal__msg-role { margin: 0 0 8px; font-size: 13px; letter-spacing: 0.18em; line-height: 1.6; color: var(--gold); }
.modal__msg-name { margin: 0; font-family: var(--mincho); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; color: #f0e6cd; letter-spacing: 0.04em; }
.modal__msg-rule { height: 1px; width: 78px; margin: clamp(16px, 2vw, 22px) auto 0; background: rgba(160, 130, 91, 0.6); }

/* =========================== RESPONSIVE =================================== */
@media (max-width: 999px) {
  .nav__links { display: none; }
  .nav__btn-mobile { display: inline-flex; }
  .messages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .messages { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr; }
  .quiz-entries { grid-template-columns: 1fr; }
  .interview { grid-template-columns: 1fr; }
  /* 狭幅ではサムネイルを上に戻して縦積み */
  .interview--with-thumb { grid-template-columns: 1fr; }
  .interview--with-thumb .interview__thumb {
    aspect-ratio: 16 / 9; height: auto; min-height: 0;
    border-right: none; border-bottom: 1px solid rgba(206, 199, 166, 0.16);
  }
  .interview--with-thumb .interview__body { align-items: center; text-align: center; }
  .interview--with-thumb .interview__people { justify-content: center; }
  .about-links { grid-template-columns: 1fr; }
  .nav__brand .brand-full { display: none; }
  .nav__brand .brand-short { display: inline; }
  .nav__brand { gap: 8px; }
  /* モバイルでは固定ヘッダーをやめてフローに戻し、ヒーロー画像をヘッダー直下にぴったり配置 */
  .nav { position: static; }
}
@media (max-width: 480px) {
  /* 狭幅では見出し装飾を省いて溢れ防止 */
  .eyebrow::before, .eyebrow::after { display: none; }
  /* ストーリーは意図した <br> 以外で折り返さないよう、幅連動でフォントを縮小＋nowrap */
  .hero__lead { font-size: 3.2vw; line-height: 1.95; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .badge, .teaser-play { animation: none; }
  html { scroll-behavior: auto; }
}
