/* ============================================================
   凪ぎ際のセレナーデ — 公式サイト デザインシステム
   世界観: 音・音響・共鳴・凪の海 / ダークテーマ × ガラスUI × 紺青
   完全オリジナル作品 / © 2026 Portal Ratatoskr
   ============================================================ */

:root {
  /* --- 色 --- */
  --bg: #05070f;
  --bg-2: #0a0e1f;
  --bg-3: #0f1430;
  --ink: #f3f1ea;
  --ink-dim: #b9c0d6;
  --ink-mute: rgba(220, 228, 255, 0.52);
  --accent: #8fb2ff;      /* 主：静波ブルー */
  --accent-2: #b79cff;    /* 副：凪ぎ際バイオレット */
  --accent-3: #7fe3d0;    /* 差：共鳴アクア */
  --line: rgba(150, 170, 230, 0.22);
  --line-strong: rgba(150, 170, 230, 0.4);

  /* --- ガラス --- */
  --glass: rgba(18, 24, 48, 0.45);
  --glass-2: rgba(12, 16, 30, 0.66);
  --glass-border: rgba(150, 170, 230, 0.22);
  --glass-blur: 14px;

  /* --- 形 --- */
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);

  /* --- 余白・レイアウト --- */
  --container: 1180px;
  --gutter: clamp(18px, 5vw, 56px);
  --section-y: clamp(64px, 10vw, 140px);

  /* --- 文字 --- */
  --font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --tracking: 0.04em;

  /* --- 動き --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;

  /* --- ヘッダー高さ --- */
  --header-h: 68px;
}

/* ===== リセット ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: var(--tracking);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 800;
  margin: 0;
}
p { margin: 0; }
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===== 背景演出（固定・全ページ共通の雰囲気） ===== */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 78% -10%, rgba(94, 78, 160, 0.35), transparent 60%),
    radial-gradient(120% 90% at 12% 8%, rgba(46, 74, 130, 0.35), transparent 55%),
    linear-gradient(180deg, #070a16, #05070f 60%);
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
  mix-blend-mode: screen;
}

/* ===== コンテナ ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section-tight { padding-block: clamp(40px, 7vw, 90px); }

/* ===== ヘッダー / ナビ ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.72), rgba(5, 7, 15, 0.28));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 7, 15, 0.86);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 16px;
  white-space: nowrap;
}
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .brand-sub {
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  border-radius: 8px;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--accent); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(52, 70, 130, 0.5); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #071021;
  background: linear-gradient(135deg, var(--accent) 0%, #a6c2ff 55%, var(--accent-2) 130%);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(120, 150, 255, 0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #a6c2ff, #c2b3ff); box-shadow: 0 14px 40px rgba(120, 150, 255, 0.5); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }
.btn-lg { padding: 16px 34px; font-size: 15.5px; }

/* ===== 見出し（キッカー付き） ===== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section-title {
  margin: 14px 0 0;
  font-size: clamp(26px, 4.4vw, 44px);
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff, #cdd8ff 75%, #93a6e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--ink-dim);
  font-size: clamp(14px, 1.6vw, 16px);
}
.section-head { margin-bottom: clamp(30px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* ===== ガラスカード ===== */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-soft);
}
.card {
  padding: 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(143, 178, 255, 0.12);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; letter-spacing: 0.04em; }
.card p { margin-top: 10px; color: var(--ink-dim); font-size: 14.5px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-layers { position: absolute; inset: 0; z-index: -1; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%;
  height: 90%;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(96, 82, 170, 0.5), transparent 70%),
    radial-gradient(60% 55% at 80% 30%, rgba(48, 78, 140, 0.45), transparent 70%);
  filter: blur(10px);
}
.hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  opacity: 0.55;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-copy { max-width: 620px; }
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(38px, 8vw, 88px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff 10%, #cdd8ff 60%, #8f9fe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 50px rgba(120, 150, 255, 0.2);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--ink-dim);
  letter-spacing: 0.12em;
}
.hero-desc { margin-top: 20px; color: var(--ink-dim); max-width: 52ch; }
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--ink-mute);
  font-size: 12.5px;
  letter-spacing: 0.1em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* HERO ビジュアル（プレースホルダ：共鳴リング＋シルエット） */
.hero-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(70, 50, 95, 0.6), transparent 70%),
    linear-gradient(180deg, #1a1430, #0a0e1f);
  box-shadow: var(--shadow);
}
.hero-visual .ph-note {
  position: absolute; bottom: 12px; right: 14px;
  font-size: 10.5px; letter-spacing: 0.14em; color: rgba(255,255,255,0.4);
}

/* ===== スクロール指標 ===== */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-mute);
  font-size: 10px; letter-spacing: 0.2em;
}
.scroll-cue .bar { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: cueDrop 2s var(--ease) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== グリッド ===== */
.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ===== キャラクター ===== */
.char-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.char-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.char-portrait {
  position: absolute; inset: 0; z-index: -1;
  display: grid; place-items: center;
}
.char-portrait svg { width: 78%; height: 78%; opacity: 0.95; }
.char-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 15, 0.9) 100%);
}
.char-info { position: relative; z-index: 1; padding: 20px; }
.char-role { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-mute); }
.char-name { font-size: 22px; margin-top: 4px; letter-spacing: 0.06em; }
.char-name .en { display: block; font-size: 10.5px; letter-spacing: 0.24em; color: var(--ink-mute); font-weight: 600; margin-top: 3px; }
.char-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 10.5px; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-dim);
  background: rgba(10, 14, 28, 0.5);
}

/* ===== ストーリー / タイムライン ===== */
.timeline { position: relative; margin-top: 20px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), transparent); }
.timeline-item { position: relative; padding: 0 0 34px 0; }
.timeline-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(143,178,255,0.18); }
.timeline-item h3 { font-size: 18px; }
.timeline-item p { margin-top: 8px; color: var(--ink-dim); }

/* ===== 用語集（WORLD） ===== */
.glossary { display: grid; gap: 14px; }
.term { padding: 22px 24px; }
.term dt { font-size: 18px; font-weight: 800; letter-spacing: 0.06em; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.term dt .yomi { font-size: 12px; color: var(--accent); letter-spacing: 0.14em; font-weight: 600; }
.term dd { margin: 10px 0 0; color: var(--ink-dim); font-size: 14.5px; }

/* ===== ギャラリー ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.shot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, #14183a, #0a0e1f);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.shot:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.shot .shot-label { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-mute); }
.shot .shot-tag { position: absolute; left: 10px; top: 10px; font-size: 10px; letter-spacing: 0.14em; color: var(--ink-dim); background: rgba(5,7,15,0.6); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); }

/* ライトボックス */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,5,12,0.9); display: none; place-items: center; padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox figure { margin: 0; max-width: min(92vw, 1000px); }
.lightbox .shot { aspect-ratio: 16/9; width: min(92vw, 1000px); cursor: default; }
.lightbox figcaption { margin-top: 12px; text-align: center; color: var(--ink-dim); font-size: 13px; }
.lightbox-close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); }

/* ===== NEWS ===== */
.news-list { display: grid; gap: 2px; }
.news-item {
  display: grid;
  grid-template-columns: 130px 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
.news-item:hover { background: rgba(143,178,255,0.05); }
.news-date { font-size: 13px; color: var(--ink-mute); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.news-cat { justify-self: start; font-size: 10.5px; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--accent); }
.news-cat[data-cat="更新"] { color: var(--accent-3); }
.news-cat[data-cat="お知らせ"] { color: var(--accent); }
.news-cat[data-cat="不具合"] { color: #ffbf7a; }
.news-title { font-size: 15px; color: var(--ink); }

/* ===== FAQ アコーディオン ===== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 6px;
  background: none; border: 0; color: var(--ink);
  font-size: 16px; font-weight: 700; letter-spacing: 0.03em;
}
.faq-q .q-mark { color: var(--accent); margin-right: 8px; font-weight: 800; }
.faq-icon { flex: none; transition: transform 0.3s var(--ease); color: var(--accent); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 6px 24px; color: var(--ink-dim); font-size: 14.5px; }

/* ===== フォーム ===== */
.form { display: grid; gap: 20px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; letter-spacing: 0.08em; color: var(--ink-dim); }
.field label .req { color: var(--accent-2); margin-left: 6px; font-size: 11px; }
.field label .opt { color: var(--ink-mute); margin-left: 6px; font-size: 11px; }
.input, .textarea, .select {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit; font-size: 15px;
  color: var(--ink);
  background: rgba(8, 11, 22, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); background: rgba(12,16,30,0.8); outline: none; }
.textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 12.5px; color: var(--ink-mute); line-height: 1.8; }
.form-status { font-size: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { color: var(--accent-3); border-color: rgba(127,227,208,0.4); background: rgba(127,227,208,0.08); }
.form-status.err { color: #ffb0a0; border-color: rgba(255,120,100,0.4); background: rgba(255,120,100,0.08); }

/* ===== 汎用テキストページ（利用規約等） ===== */
.doc { max-width: 820px; }
.doc h2 { font-size: 20px; margin-top: 40px; letter-spacing: 0.04em; color: var(--ink); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; margin-top: 24px; color: var(--accent); }
.doc p, .doc li { color: var(--ink-dim); font-size: 14.5px; margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li { margin-top: 8px; }
.doc .updated { color: var(--ink-mute); font-size: 12.5px; letter-spacing: 0.08em; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ===== ページヘッダ（下層ページ共通） ===== */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(50px, 9vw, 110px));
  padding-bottom: clamp(30px, 5vw, 60px);
  position: relative;
}
.page-hero .kicker { justify-content: flex-start; }
.page-title { font-size: clamp(30px, 6vw, 58px); letter-spacing: 0.05em; margin-top: 14px;
  background: linear-gradient(180deg, #fff, #cdd8ff 75%, #93a6e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-mute); margin-top: 18px; letter-spacing: 0.06em; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }

/* ===== CTA 帯 ===== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 68px); text-align: center;
  background: radial-gradient(80% 120% at 50% 0%, rgba(96,82,170,0.4), transparent 60%), linear-gradient(180deg, #12183a, #0a0e1f);
  border: 1px solid var(--glass-border); }
.cta-band h2 { font-size: clamp(24px, 4vw, 40px); letter-spacing: 0.04em; }
.cta-band p { margin: 14px auto 0; max-width: 52ch; color: var(--ink-dim); }
.cta-band .hero-actions { justify-content: center; }

/* ===== フッター ===== */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(60px, 9vw, 120px); padding-block: clamp(40px, 6vw, 64px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { font-size: 17px; }
.footer-brand p { margin-top: 14px; color: var(--ink-mute); font-size: 13px; max-width: 34ch; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.16em; color: var(--ink-dim); text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; font-size: 13.5px; color: var(--ink-mute); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--ink-mute); font-size: 12px; letter-spacing: 0.06em; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-dim); }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }

/* ===== スクロール演出 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ===== レスポンシブ ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { max-width: 380px; margin-inline: auto; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open + .mobile-menu { display: block; }
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 16px 6px; }
  .news-cat { position: absolute; }
  .form-row { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  z-index: 99;
  background: rgba(7, 10, 20, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--gutter) 22px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: block; padding: 13px 6px; font-size: 15px; color: var(--ink-dim); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* ===== アクセシビリティ：動きの軽減 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* スキップリンク */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 300; padding: 10px 16px; background: var(--accent); color: #071021; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
