/* ============================================================
   宮古バドミントン協会 — 明るい和モダン × anime.js
   構成・演出は animejs-lp を参考に、白基調へアレンジ
   ============================================================ */
:root {
  --bg: #FBF8F1;
  --bg-soft: #F3EEE2;
  --card: #FFFFFF;
  --ink: #221C15;
  --ink-dim: #7C7365;
  --ink-faint: #C9BFAC;
  --line: #E8DFCC;
  --shu: #FF4D00;        /* 朱 — メインアクセント */
  --sun: #F7A500;        /* 陽 */
  --sea: #0095C8;        /* 宮古の海 */
  --leaf: #00A868;       /* 緑 */
  --magenta: #E3306E;
  --violet: #7C5CFF;
  --mono: "IBM Plex Mono", monospace;
  --serif: "Shippori Mincho B1", serif;
  --gothic: "Zen Kaku Gothic New", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--gothic); overflow-x: clip;
}
::selection { background: var(--shu); color: #fff; }
img { max-width: 100%; display: block; }

/* 和紙のグレイン */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9991;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.03'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== global FX layers ===== */
#flash { position: fixed; inset: 0; z-index: 9985; pointer-events: none; opacity: 0; background: #fff; }
.shock {
  position: fixed; z-index: 9984; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--shu); will-change: transform, opacity;
}
.fw { position: fixed; z-index: 9983; pointer-events: none; left: 0; top: 0; }
.fw i { position: absolute; border-radius: 50%; will-change: transform, opacity; display: block; }
.smash-word {
  position: fixed; z-index: 9986; pointer-events: none;
  font-family: var(--serif); font-weight: 800; font-style: italic;
  font-size: clamp(26px, 4vw, 46px); letter-spacing: .08em; white-space: nowrap;
  background: linear-gradient(100deg, var(--shu), var(--sun));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 6px 18px rgba(255,77,0,.45));
  will-change: transform, opacity;
}
.aurora {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; will-change: transform;
}

/* ===== ヒーロー背景動画 ===== */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.hero-video video {
  width: 100%; height: 100%; object-fit: cover;
}
/* 白ベール：左に向かって動画がフェードアウト、右ははっきり表示 */
.hero-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    #FBF8F1 0%,
    rgba(251,248,241,.96) 30%,
    rgba(251,248,241,.5) 58%,
    rgba(251,248,241,0) 85%);
}
body.anim .hero-video { opacity: 0; }

/* ===== 3D 球体（hero右側・動画の上） ===== */
#orbs3d {
  position: absolute; z-index: 2; right: 0; top: 50%;
  width: min(44vw, 620px); height: min(44vw, 620px);
  transform: translateY(-50%); cursor: grab; touch-action: none;
}
#orbs3d:active { cursor: grabbing; }
.c3-dot {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  will-change: transform, opacity; pointer-events: none;
}
body.anim #orbs3d { opacity: 0; }

/* ================= LOADER (トップのみ) ================= */
#loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: none; align-items: center; justify-content: center; cursor: pointer;
}
body.anim #loader { display: flex; }
.l-card { position: absolute; text-align: center; opacity: 0; will-change: transform, opacity, filter; padding: 0 6vw; }
.l-card.en { font-family: var(--mono); font-size: clamp(11px, 1.4vw, 15px); letter-spacing: .5em; color: var(--ink-dim); padding-left: .5em; }
.l-card.jp { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3.6vw, 44px); letter-spacing: .16em; }
.l-card.jp em { font-style: normal; color: var(--shu); }
.l-count { position: absolute; bottom: 14vh; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: .45em; color: var(--ink-faint); }
.l-skip { position: absolute; bottom: 14vh; right: 6vw; font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--ink-faint); }
.l-beam {
  position: absolute; left: 50%; top: 50%; height: 1px; width: 0;
  background: linear-gradient(90deg, transparent, var(--shu), var(--sun), var(--shu), transparent);
  transform: translate(-50%, -50%);
}

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(251,248,241,.88); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-logo { color: var(--ink); text-decoration: none; display: flex; gap: 10px; align-items: center; font-weight: 500; }
.nav-logo .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--shu); box-shadow: 0 0 10px rgba(255,77,0,.6); flex: none; }
.nav-logo small { color: var(--ink-dim); font-size: 10px; letter-spacing: .2em; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink-dim); text-decoration: none; transition: color .25s; }
.nav-links a:hover { color: var(--shu); }
.nav-links a.active { color: var(--ink); border-bottom: 1.5px solid var(--shu); padding-bottom: 2px; }
.nav-cta {
  border: 1px solid var(--ink-faint); border-radius: 99px; padding: 8px 18px;
  color: var(--ink) !important; transition: all .25s !important;
}
.nav-cta:hover { border-color: var(--shu); background: var(--shu); color: #fff !important; box-shadow: 0 6px 20px rgba(255,77,0,.35); }
.nav-links a.nav-cta.active { border-bottom: none; padding-bottom: 8px; background: var(--shu); border-color: var(--shu); color: #fff !important; }
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative; z-index: 960;
}
.nav-burger i { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s, top .3s; }
.nav-burger i:nth-child(1) { top: 13px; } .nav-burger i:nth-child(2) { top: 19px; } .nav-burger i:nth-child(3) { top: 25px; }
body.menu-open .nav-burger i:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.menu-open .nav-burger i:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger i:nth-child(3) { top: 19px; transform: rotate(-45deg); }

#mobileMenu {
  position: fixed; inset: 0; z-index: 950; background: rgba(251,248,241,.97);
  display: none; flex-direction: column; justify-content: center; gap: 8px; padding: 0 10vw;
}
body.menu-open #mobileMenu { display: flex; }
#mobileMenu a {
  font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 7vw, 40px);
  color: var(--ink); text-decoration: none; padding: 10px 0; letter-spacing: .06em;
  display: flex; align-items: baseline; gap: 16px; opacity: 0;
}
#mobileMenu a small { font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--shu); }
#mobileMenu a.active { color: var(--shu); }

.hud-corner { position: fixed; z-index: 890; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-faint); pointer-events: none; }
.hud-bl { left: 30px; bottom: 20px; }
.hud-br { right: 30px; bottom: 20px; text-align: right; }
.progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1001;
  background: linear-gradient(90deg, var(--shu), var(--sun), var(--magenta), var(--sea));
  transform-origin: left; transform: scaleX(0);
}

/* ================= HERO (トップ) ================= */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 7vw 80px; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 42% at 80% 30%, rgba(0,149,200,.08), transparent 70%),
    radial-gradient(ellipse 44% 38% at 12% 75%, rgba(255,77,0,.07), transparent 70%);
}
.hero-content { position: relative; z-index: 4; max-width: 720px; }
.hero-kicker {
  font-family: var(--mono); font-size: clamp(10px, 1.1vw, 13px); letter-spacing: .32em;
  margin-bottom: 26px;
  display: flex; gap: 14px; align-items: center; color: var(--shu);
}
/* anime.js 読み込み成功時のみ初期非表示（JS失敗でも閲覧可能） */
body.anim .hero-kicker, body.anim .hero-sub, body.anim .hero-actions,
body.anim .hero-sns, body.anim .hero-scroll, body.anim .hero-photo { opacity: 0; }
.hero-kicker .line { width: 44px; height: 1px; background: linear-gradient(90deg, var(--shu), var(--sun)); flex: none; }
.hero-title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(30px, 8.4vw, 118px);
  line-height: 1.14; letter-spacing: .01em;
}
.hero-title .char { display: inline-block; opacity: 0; will-change: transform, filter; }
.no-anim .hero-title .char, .no-anim .char { opacity: 1; }
.grad-char, .hero-title .grad-char {
  background: linear-gradient(110deg, var(--shu) 10%, var(--sun) 45%, var(--magenta) 80%, var(--shu) 110%);
  background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 280% 0; } }
.hero-sub {
  margin-top: 30px; max-width: 520px;
  font-size: clamp(14px, 1.4vw, 16.5px); line-height: 2.1;
  color: var(--ink-dim); font-weight: 500;
}
.hero-sub strong { color: var(--ink); border-bottom: 1.5px solid var(--shu); font-weight: 700; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: var(--gothic); font-weight: 700; font-size: 14px; letter-spacing: .07em;
  padding: 14px 30px; border-radius: 99px; text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; border: none;
  transition: transform .2s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn-primary { background: linear-gradient(100deg, var(--shu), #FF7A00); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,90,0,.4); }
.btn-sea { background: linear-gradient(100deg, var(--sea), #00B4D8); color: #fff; }
.btn-sea:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,149,200,.4); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--ink-faint); background: transparent; }
.btn-ghost:hover { border-color: var(--shu); color: var(--shu); }
.btn.small { padding: 10px 20px; font-size: 12.5px; }
.hero-sns { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.sns {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  padding: 9px 18px; border-radius: 99px; text-decoration: none;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sns:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,28,21,.1); }
.sns .badge { font-size: 9px; background: var(--shu); color: #fff; border-radius: 99px; padding: 2px 8px; letter-spacing: .1em; }
.sns.line:hover { border-color: #06C755; color: #06A94D; }
.sns.ig:hover { border-color: var(--magenta); color: var(--magenta); }
.sns.yt:hover { border-color: #FF0000; color: #D40000; }
.hero-scroll {
  position: absolute; left: 7vw; bottom: 60px; z-index: 5;
  font-family: var(--mono); font-size: 10px; letter-spacing: .35em;
  color: var(--ink-dim); writing-mode: vertical-rl;
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 48px; background: var(--ink-faint); margin-top: 12px; }

/* hero 右の写真カード */
.hero-photo {
  position: absolute; z-index: 2; right: 6vw; top: 50%;
  width: min(34vw, 470px); transform: translateY(-50%) rotate(2.5deg);
  background: #fff; padding: 14px 14px 40px; border-radius: 6px;
  box-shadow: 0 30px 70px rgba(34,28,21,.18);
}
.hero-photo img { border-radius: 3px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-photo figcaption { font-family: var(--mono); font-size: 9.5px; letter-spacing: .25em; color: var(--ink-dim); margin-top: 12px; text-align: center; }
/* hero シャトル軌道 */
.hero-court { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-court svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ================= MARQUEE x2 ================= */
.marquees { position: relative; z-index: 10; }
.marquee { padding: 13px 0; overflow: hidden; white-space: nowrap; }
.marquee-a { background: linear-gradient(90deg, var(--shu), var(--sun)); color: #2A1200; transform: rotate(-1.1deg) scale(1.02); }
.marquee-b {
  background: transparent; margin-top: -44px; transform: rotate(1.4deg) scale(1.02);
  border-top: 1px solid rgba(0,149,200,.3); border-bottom: 1px solid rgba(0,149,200,.3);
  pointer-events: none;
}
.marquee-b span { color: transparent; -webkit-text-stroke: 1px rgba(0,149,200,.55); }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee span { font-family: var(--mono); font-size: 14px; letter-spacing: .14em; font-weight: 500; padding: 0 24px; display: inline-flex; align-items: center; gap: 24px; }
.marquee .sep { font-size: 10px; }

/* ================= SECTION COMMON ================= */
section { position: relative; }
.act-inner { max-width: 1200px; margin: 0 auto; padding: 110px 6vw; position: relative; z-index: 2; }
.act-inner.tight { padding: 80px 6vw; }
.act-label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .35em;
  margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
  color: var(--ac, var(--shu));
}
.act-label::before { content: ""; width: 34px; height: 1px; background: var(--ac, var(--shu)); }
.act-title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(28px, 4.6vw, 58px); line-height: 1.35; letter-spacing: .02em;
  will-change: transform, filter;
}
.act-title .accent {
  background: linear-gradient(100deg, var(--ac, var(--shu)), var(--ac2, var(--sun)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.act-note { margin-top: 18px; color: var(--ink-dim); font-size: 14px; line-height: 2; max-width: 560px; }
body.anim .reveal { opacity: 0; }
body.anim .slam { opacity: 0; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.more-link { font-family: var(--mono); font-size: 12px; letter-spacing: .15em; color: var(--sea); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.more-link:hover { border-color: var(--sea); }

/* ================= MISSION / VISION / VALUE ================= */
.mv-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mv-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 30px; position: relative;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.mv-card:hover { border-color: var(--mc, var(--shu)); box-shadow: 0 18px 44px rgba(34,28,21,.08); transform: translateY(-4px); }
.mv-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; color: var(--mc, var(--shu)); margin-bottom: 16px; }
.mv-num { position: absolute; top: 24px; right: 26px; font-family: var(--serif); font-size: 17px; color: var(--mc, var(--shu)); font-weight: 800; }
.mv-title { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); font-weight: 800; line-height: 1.6; margin-bottom: 12px; }
.mv-text { font-size: 13.5px; line-height: 2; color: var(--ink-dim); }

/* ================= SERVICE ================= */
.service-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 30px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.service-card::after {
  content: "→"; position: absolute; right: 26px; bottom: 22px;
  font-family: var(--mono); color: var(--sc, var(--shu)); font-size: 18px;
  transition: transform .3s;
}
.service-card:hover { border-color: var(--sc, var(--shu)); box-shadow: 0 18px 44px rgba(34,28,21,.08); transform: translateY(-4px); }
.service-card:hover::after { transform: translateX(6px); }
.service-no { font-family: var(--mono); font-size: 10.5px; letter-spacing: .25em; color: var(--sc, var(--shu)); }
.service-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 800; margin: 14px 0 10px; }
.service-card p { font-size: 13.5px; line-height: 2; color: var(--ink-dim); }

/* ================= NEWS リスト ================= */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 40px; }
.news-item {
  display: grid; grid-template-columns: 110px 110px 1fr auto; gap: 16px; align-items: center;
  padding: 20px 26px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .2s;
}
.news-item:last-child { border-bottom: none; }
a.news-item:hover { background: var(--bg-soft); }
.news-date { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); letter-spacing: .05em; }
.news-title { font-size: 14.5px; font-weight: 500; line-height: 1.8; }
.news-arrow { font-family: var(--mono); color: var(--ink-faint); }
a.news-item:hover .news-arrow { color: var(--shu); }
.empty-note { padding: 26px; color: var(--ink-dim); font-size: 14px; }

/* タグ */
.tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  border-radius: 99px; padding: 5px 12px; display: inline-block; text-align: center; white-space: nowrap;
  background: var(--bg-soft); color: var(--ink-dim);
}
.tag-open { background: #E4F6EC; color: #00784E; }
.tag-closed { background: #F0EAE0; color: #8A8172; }
.tag-info { background: #FFEDE3; color: #C43D00; }
.tag-result { background: #E3F3FA; color: #00688C; }
.tag-draw { background: #EEEAFF; color: #5B3FE0; }

/* ================= カードグリッド（大会/結果/リンク） ================= */
.card-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.t-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.t-card:hover { border-color: var(--ac, var(--shu)); box-shadow: 0 18px 44px rgba(34,28,21,.08); transform: translateY(-4px); }
.t-card .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); }
.t-card h3 { font-family: var(--serif); font-size: 17.5px; font-weight: 800; line-height: 1.7; }
.t-card .info { font-size: 13px; line-height: 2; color: var(--ink-dim); }
.t-card .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; }

/* フィルタ */
.filter-bar { margin-top: 40px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-bar .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .25em; color: var(--ink-dim); margin-right: 8px; }
.chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  padding: 9px 20px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-dim);
  transition: all .25s;
}
.chip:hover { border-color: var(--shu); color: var(--shu); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* 年見出し（結果） */
.year-head {
  margin: 56px 0 6px; display: flex; align-items: center; gap: 18px;
  font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3vw, 36px);
}
.year-head:first-of-type { margin-top: 40px; }
.year-head small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; color: var(--ink-dim); font-weight: 400; }
.year-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ================= テーブル ================= */
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px 26px 18px; margin-top: 24px; overflow-x: auto; }
table.simple { width: 100%; border-collapse: collapse; font-size: 14px; }
table.simple th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-dim); text-align: left; padding: 16px 12px 10px; border-bottom: 1px solid var(--line); }
table.simple td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
table.simple tr:last-child td { border-bottom: none; }

/* ================= サブページ HERO ================= */
.page-hero { padding: 170px 6vw 0; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .act-title .char { display: inline-block; }
body.anim .page-hero .act-title .char { opacity: 0; }

/* ================= FINALE / CTA ================= */
.finale { min-height: 90vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--bg-soft); }
.enso { position: absolute; width: min(88vmin, 700px); height: min(88vmin, 700px); z-index: 1; opacity: .5; }
.enso path { fill: none; stroke-linecap: round; }
.finale-content { position: relative; z-index: 3; padding: 100px 6vw; }
.finale-title { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 6.4vw, 84px); line-height: 1.3; }
.finale-title .char { display: inline-block; will-change: transform, filter; }
body.anim .finale-title .char { opacity: 0; }
.finale-title .f-grad {
  background: linear-gradient(100deg, var(--sun), var(--shu), var(--magenta));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s linear infinite;
}
.finale-sub { margin-top: 22px; font-family: var(--mono); font-size: clamp(11px, 1.3vw, 13.5px); letter-spacing: .18em; color: var(--ink-dim); }
.finale-sub b { color: var(--shu); font-weight: 500; }
.finale-actions { margin-top: 42px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================= FOOTER ================= */
footer {
  background: var(--bg); color: var(--ink-dim);
  padding: 28px 32px 60px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line);
}
footer a { color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid var(--shu); }

/* ================= RESPONSIVE / A11Y ================= */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hud-corner { display: none; }
  .hero { padding-top: 130px; }
  /* 球体：ドラッグ無効（スクロールを妨げない）・中央に薄く */
  #orbs3d {
    right: 50%; transform: translate(50%, -50%);
    width: 88vw; height: 88vw; opacity: .35; z-index: 1;
    pointer-events: none; touch-action: auto;
  }
  .hero-photo {
    position: relative; right: auto; top: auto; transform: rotate(1.6deg);
    width: min(84vw, 420px); margin: 48px auto 0;
  }
  .mv-grid, .service-grid, .card-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .news-item .tag { justify-self: start; }
  .news-arrow { display: none; }
  .marquee-b { margin-top: -40px; }
  .act-inner { padding: 80px 6vw; }
  .page-hero { padding-top: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  #loader { display: none !important; }
  body.anim .reveal, body.anim .slam, .hero-kicker, .hero-sub, .hero-actions, .hero-sns, .hero-scroll, .hero-photo,
  body.anim .hero-video, body.anim #orbs3d,
  body.anim .hero-title .char, body.anim .finale-title .char, body.anim .page-hero .act-title .char {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}

/* ===== FAQ (SEO/AEO) ===== */
.faq-item{border-bottom:1px solid rgba(0,0,0,.08);padding:4px 0}
.faq-item summary{cursor:pointer;font-weight:700;padding:14px 6px;list-style:none;position:relative;padding-right:34px}
.faq-item summary::after{content:"+";position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#FF4D00;font-weight:400;font-size:20px}
.faq-item[open] summary::after{content:"−"}
.faq-item p{padding:0 6px 16px;margin:0;line-height:1.9;color:rgba(0,0,0,.72)}
