/* ============================================================
   AndGAMER Corporate Site — style.css
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --mobile-nav-w:  min(82vw, 340px); /* SPメニュー（コンテンツスライド型）のパネル幅 */
  --color-bg:      #ffffff;
  --color-text:    #090a1a;
  --color-muted:   #a3a3a3;
  --color-accent:  #ff0062;
  --color-dark:    #090a1a;
  --color-border:  #dddddd;
  --color-subtle:  #fbfbfb;

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  --header-h:   68px;
  --px:         clamp(20px, 5vw, 80px);
  --py:         clamp(64px, 8vw, 120px);

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Border radius ── */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
}

/* ── Osaka（FVの“ ”専用。未搭載環境はNotoにフォールバック） ── */
.quote-osaka { font-family: 'Osaka', var(--font-ja); }

/* 読点「、」の右スペースを詰める（セグメント間gapは0にして読点側で調整） */
.comma-tight { margin-right: -0.4em; }

/* コピーの改行はセグメント間（「ゲームの/“その先へ”」）のみで発生させる */
.tagline-seg {
  display: inline-block;
  white-space: nowrap;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  line-height: 1.7;
}

img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }

main { padding-bottom: 0; }

/* ── Logo — shared ── */
.logo,
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-and       { font-weight: 300; color: var(--color-dark); }
.logo-gamer     { font-weight: 700; color: var(--color-dark); }
.logo-accent-a  { color: var(--color-accent); }

/* ── Logo image ── */
.logo-img {
  display: block;
  height: 60px;
  width: auto;
}
.hero-logo-img {
  display: block;
  /* logo-andgamer.svg・従来の0.8倍 */
  height: clamp(51px, 8vw, 88px);
  width: auto;
  margin: 0 auto;
}
.footer-logo-img {
  display: block;
  height: 60px;
  width: auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(255,255,255,0.35);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  /* 画面端に幅寄せ（フル幅 + 狭めの左右パディング） */
  padding: 0 clamp(16px, 1.6vw, 32px);
  gap: 0;
}

/* Logo color on transparent header */
.site-header:not(.is-scrolled) .logo-and,
.site-header:not(.is-scrolled) .logo-gamer { color: #fff; }
.site-header:not(.is-scrolled) .logo-accent-a { color: var(--color-accent); }

.site-header .logo { flex-shrink: 0; transition: opacity 0.2s; }
.site-header .logo:hover { opacity: 0.75; }
/* トップページでは自ページへのリンクなし: クリック・ホバーとも不変 */
.site-header .logo--current { cursor: default; }
.site-header .logo--current:hover { opacity: 1; }

/* ── ブランドシンボル（ロゴ横） ── */
.header-brands {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
  margin-left: clamp(18px, 2.4vw, 40px);
  flex-shrink: 0;
}
.header-brands a { display: block; transition: opacity 0.2s; }
.header-brands a:hover { opacity: 0.55; }
.header-brand-img { display: block; width: auto; transition: filter 0.25s; }
/* ロゴタイプ版（横長）に合わせた高さ。幅のバランスで個別調整 */
.header-brand-img--void   { height: 16px; }
.header-brand-img--aim1   { height: 10px; }
.header-brand-img--vizard { height: 11px; }
/* マーク版（SP用）はPCでは非表示 */
.header-brand-mark { display: none; }

.main-nav { margin-left: auto; }

.main-nav ul {
  display: flex;
  gap: 28px;
}

/* Dropdown */
.main-nav li { position: relative; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  background: transparent;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s;
}
.nav-dropdown-inner {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  min-width: 140px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}
.main-nav li:hover .nav-dropdown,
.main-nav li.is-dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--color-text);
}
.nav-dropdown a:hover { color: var(--color-accent); }
.nav-dropdown a::after { display: none; }

/* dropdown caret */
.nav-has-dropdown > a {
  padding-right: 14px;
}
.nav-has-dropdown > a::after {
  display: none !important;
}
.nav-has-dropdown > a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
  opacity: 0.6;
}

.main-nav a {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width 0.25s var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a.is-active::after { width: 100%; }

/* Nav white on transparent header */
.site-header:not(.is-scrolled) .main-nav a,
.site-header:not(.is-scrolled) .lang-globe { color: rgba(255,255,255,0.9); }

/* ── Language（地球儀アイコン + ドロップダウン） ── */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: clamp(20px, 2vw, 36px);
}
.lang-globe {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  transition: color 0.2s;
}
.lang-globe:hover { color: var(--color-accent); }
.lang-globe svg { display: block; }
.lang-globe-img {
  display: block;
  width: 19px;
  height: 19px;
  transition: filter 0.25s, opacity 0.2s;
}
.lang-globe:hover .lang-globe-img { opacity: 0.55; }

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: -6px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lang-switch:hover .lang-dropdown,
.lang-switch:focus-within .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lang-dropdown-inner {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  min-width: 120px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}
.lang-dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--color-text);
}
.lang-dropdown a:hover { color: var(--color-accent); }
.lang-dropdown a.is-active { color: var(--color-accent); font-weight: 700; }

/* Hamburger（hamburger-mobile.svg アセット） */
.hamburger {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  margin-left: auto;
}
.hamburger-icon {
  display: block;
  width: 22px;
  height: 22px;
  transition: opacity 0.2s, filter 0.25s;
}
/* メニュー展開時はアイコンを消して✕を表示
   （opacityが他ルールに上書きされても破線が残らないようvisibilityでも隠す） */
.hamburger.is-open .hamburger-icon { opacity: 0; visibility: hidden; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 2px;
  background: var(--color-dark);
  border-radius: 1px;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s, transform 0.3s;
}
.hamburger.is-open::before { opacity: 1; transform: translate(-50%, -50%) rotate(45deg); }
.hamburger.is-open::after  { opacity: 1; transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile Nav */
/* コンテンツスライド型: 右から白いメニューパネルが入り、
   ページ本体（main / footer）は同じ幅だけ左へスライドする */
.mobile-nav {
  position: fixed; inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.25); /* 左に残ったコンテンツをうっすら暗く */
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }

.mobile-nav nav {
  position: absolute; top: 0; right: 0;
  width: var(--mobile-nav-w);
  height: 100%;
  padding: calc(var(--header-h) + 24px) 28px 40px;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.is-open nav { transform: translateX(0); }

/* メニューを開いている間、ページ本体を左へスライド */
main, .footer-mega { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
body.mobile-nav-open main,
body.mobile-nav-open .footer-mega { transform: translateX(calc(-1 * var(--mobile-nav-w))); }

.mobile-nav nav ul {
  display: flex; flex-direction: column;
  text-align: left;
}
.mobile-nav nav li { border-bottom: 1px solid #eee; }
/* リンクはPCヘッダーと同じ「ピンク下線」スタイル */
.mobile-nav nav ul a {
  position: relative;
  display: inline-block;
  padding: 16px 0 6px;
  margin-bottom: 10px;
  font-family: var(--font-ja);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--color-text);
  transition: color 0.2s;
}
.mobile-nav nav ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width 0.25s var(--ease-out);
}
.mobile-nav nav ul a:hover::after,
.mobile-nav nav ul a.is-active::after { width: 100%; }

/* ── アコーディオン分岐（ブランド / 会社概要） ── */
.mnav-sub-toggle {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 16px 0 6px;
  margin-bottom: 10px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-ja);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--color-text);
  text-align: left;
  transition: color 0.2s;
}
/* 開閉マーク（閉: + / 開: − ）: ブランドピンクで表示 */
.mnav-sub-toggle::after {
  content: '';
  width: 12px; height: 12px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) center / 12px 1.5px no-repeat, /* 横線 */
    linear-gradient(var(--color-accent), var(--color-accent)) center / 1.5px 12px no-repeat; /* 縦線 */
  transition: transform 0.25s var(--ease-out);
}
.mnav-has-sub.is-open .mnav-sub-toggle::after {
  background: linear-gradient(var(--color-accent), var(--color-accent)) center / 12px 1.5px no-repeat; /* − のみ */
  transform: rotate(180deg); /* 切替に回転のニュアンスを添える */
}
/* 展開中（−表示）は親項目のテキストもピンクに */
.mnav-has-sub.is-open .mnav-sub-toggle { color: var(--color-accent); }
/* サブメニューの開閉 */
.mnav-sub {
  overflow: hidden;
  max-height: 0;
  /* ドロワーと同じ0.4sのまま、イーズインアウトでなめらかに開閉
     （ゆっくり始まり→加速→ゆっくり止まる easeInOutCubic） */
  transition: max-height 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.mnav-has-sub.is-open .mnav-sub { max-height: 160px; }
.mnav-sub li { border-bottom: none; }
.mnav-sub a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #555;
  padding: 8px 0 4px;
  margin: 0 0 8px 16px;
}

/* JP/EN スライド式トグル（シンプルなライトグレーのトラック+白いサム） */
.mobile-lang {
  position: relative;
  display: inline-flex; align-items: center;
  margin-top: 32px;
  padding: 4px;
  border-radius: 999px;
  background: #f2f2f4;
  font-family: var(--font-en);
  font-size: 0.85rem;
}
.mobile-lang a {
  position: relative; z-index: 1;
  width: 64px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: rgba(9, 10, 26, 0.45);
  transition: color 0.25s;
}
.mobile-lang a.is-active { color: var(--color-accent); }
.lang-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: 64px; height: 38px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-lang.is-en .lang-thumb { transform: translateX(64px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { display: flex; flex-direction: column; }

/* ── Light hero header ── */
body.hero-is-light .site-header:not(.is-scrolled) .logo-and,
body.hero-is-light .site-header:not(.is-scrolled) .logo-gamer { color: var(--color-dark); }
body.hero-is-light .site-header:not(.is-scrolled) .logo-accent-a { color: var(--color-accent); }
body.hero-is-light .site-header:not(.is-scrolled) .main-nav a,
body.hero-is-light .site-header:not(.is-scrolled) .lang-globe { color: var(--color-text); }

/* ── 暗色セクションに重なったらテキスト・アイコンを白に（Mマークはピンクのまま） ──
   既存のヘッダー配色ルールより後に置き、同一詳細度でも優先されるようにする */
.site-header.is-on-dark .main-nav a,
.site-header.is-on-dark .lang-globe { color: rgba(255,255,255,0.92); }
.site-header.is-on-dark .header-brand-img,
.site-header.is-on-dark .lang-globe-img,
.site-header.is-on-dark .hamburger-icon { filter: brightness(0) invert(1); }

/* ── Hero（スライドは時間差で自動切替。FVは1画面分に収め、
      スクロールすればすぐ下のNewsセクションへ移動できる） ── */
.hero--scroll {
  display: block;
  height: 100svh;
  /* FV内の透かし・装飾がセクション境界を越えて
     下のNewsセクションに重ならないようにクリップ */
  overflow: hidden;
}

/* ── Float hero ── */
@keyframes hfloat-a {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(7deg); }
}
@keyframes hfloat-b {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(-5deg); }
}
@keyframes hfloat-c {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%       { transform: translate(8px, -14px) rotate(9deg); }
  66%       { transform: translate(-5px, -7px) rotate(-4deg); }
}
@keyframes hfloat-img {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-visual--float {
  /* 背景は body の白のまま透過（背面の遊泳ドットを見せる） */
  background: transparent;
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.hero-wm {
  position: absolute;
  bottom: -35%;
  right: 0;
  transform: translateX(20%);
  width: clamp(840px, 110vw, 1400px);
  pointer-events: none;
  user-select: none;
  opacity: 0.08;
}
.hero-wm img {
  width: 100%;
  height: auto;
  display: block;
}

/* 装飾スクエア wrapper（位置 + マウスパラレックス） */
.hero-sq-wrap {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* スクエア（2個1組・Rectangle Groupアセット） */
.hero-duo { width: 52px; }
.hero-duo img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-duo--top { top: 56%; left: 80%; }
.hero-duo--bottom { top: 82%; left: 21%; }
/* 2個組の出し分け: デスクトップ=ピンク / モバイル=ネイビー（FV・About共用）
   ※ .hero-duo img / .deco-px img より詳細度を上げるため多重指定 */
.duo-mobile,
.hero-duo img.duo-mobile,
.deco-px img.duo-mobile { display: none; }

/* 単体オブジェクト（Rectangle 01 / 03） */
.hero-solo { width: 44px; }
.hero-solo img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-solo--dark { top: 11%; left: 63%; }
.hero-solo--gray { top: 62%; left: 10%; }

/* 製品画像 */
.hero-float {
  position: absolute;
  z-index: 2;
}
.hero-float > img:not(.hero-chip) {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}

/* 画像に重なるチップ装飾（Rectangleアセット） */
.hero-chip {
  position: absolute;
  display: block;
  z-index: 1;
  height: auto;
}
.hero-chip--pink {
  width: 44px;
  right: -21px;
  bottom: -7px;
}
.hero-chip--gray {
  width: 44px;
  left: -17px;
  bottom: -15px;
}

/* 3枚とも右上（Void）と同じサイズ基準 */
.hero-float--tl {
  width: clamp(180px, 14vw, 275px);
  top: 12%;
  left: 4.5%;
  animation: hfloat-img 5.5s ease-in-out infinite 0.3s;
}
.hero-float--tl img { aspect-ratio: 7/5; }

.hero-float--tr {
  width: clamp(180px, 14vw, 275px);
  top: 8%;
  right: 8.5%;
  animation: hfloat-img 6.0s ease-in-out infinite 1.0s;
}
.hero-float--tr img { aspect-ratio: 11/7; }

.hero-float--bc {
  width: clamp(180px, 14vw, 275px);
  bottom: 6%;
  left: 64.5%;
  animation: hfloat-img 7.0s ease-in-out infinite 0.5s;
}
.hero-float--bc img { aspect-ratio: 5/3; }

/* センターコンテンツ（スライドコンテナ） */
.hero-center {
  position: absolute;
  inset: 0;
  z-index: 3;
  text-align: center;
}

/* 各スライド */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ロゴスライド */
.hero-logo-xl {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 6.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-logo-xl .logo-and   { font-weight: 300; color: var(--color-dark); }
.hero-logo-xl .logo-gamer { font-weight: 700; color: var(--color-dark); }
.hero-logo-xl .logo-accent-a { color: var(--color-accent); }

/* キャッチコピースライド */
.hero-tagline {
  font-family: var(--font-ja);
  /* Noto Sans JP Medium・デスクトップ70px（3.65vw）〜モバイルは縮小 */
  font-size: clamp(1.75rem, 3.65vw, 4.375rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-dark);
  margin-bottom: clamp(16px, 2vw, 32px);
  letter-spacing: -0.01em;
}
.hero-tagline-sub {
  font-family: var(--font-en);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 400;
  color: #6f6f74;
  letter-spacing: 0.08em;
}

/* ステートメントスライド */
.hero-stmt-line {
  font-family: var(--font-ja);
  /* Noto Sans JP Medium・デスクトップ70px（タグラインと統一） */
  font-size: clamp(1.75rem, 3.65vw, 4.375rem);
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0; /* 読点の直後はcomma-tightでカーニング */
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stmt-pre {
  color: var(--color-dark);
  white-space: nowrap;
}
/* 「それは＋ハイライト」は常に同じ行（改行は「ゲーム、」の直後のみ） */
.hero-stmt-rest {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
  color: var(--color-dark);
}
.hero-stmt-word {
  display: inline;
  font-family: var(--font-ja);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
}
.hero-stmt-hl {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.04em 0.25em;
  border-radius: var(--radius-md);
}
.hero-stmt-body {
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.9;
  color: var(--color-text);
  margin-top: 24px;
  text-align: center;
  max-width: 36em;
}

/* 共通ステートメントレイヤー：「ゲーム、それは」と本文は固定表示。
   スポーツ⇄遊びの単語だけがスタック内でクロスフェードする */
.hero-stmt-shared {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero-stmt-shared.is-active { opacity: 1; }

/* 単語スタック：本番サイト(andgamer.co.jp)のテキストローテーターと同じモーション。
   現単語は上へ回転しながら退場、次単語は下から回転しながら入場（同時進行）。
   幅はJSが切替先の単語幅に設定 → 同じイージングで行全体が再センタリング */
.hero-stmt-hl-stack {
  position: relative;
  display: inline-block;
  transition: width 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}
.hero-stmt-hl-stack .hero-stmt-hl {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  opacity: 0;
  backface-visibility: hidden;
}
.hero-stmt-hl-stack .hero-stmt-hl.is-active {
  animation: stmt-word-in 0.8s cubic-bezier(0.86, 0, 0.07, 1) both;
}
.hero-stmt-hl-stack .hero-stmt-hl.is-out {
  animation: stmt-word-out 0.8s cubic-bezier(0.86, 0, 0.07, 1) both;
}
@keyframes stmt-word-in {
  from { transform: translateY(-50%) translateY(65%) rotateX(-95deg); opacity: 0; }
  to   { transform: translateY(-50%) translateY(0)   rotateX(0);      opacity: 1; }
}
@keyframes stmt-word-out {
  from { transform: translateY(-50%) translateY(0)    rotateX(0);     opacity: 1; }
  to   { transform: translateY(-50%) translateY(-65%) rotateX(95deg); opacity: 0; }
}

/* ── Visual (fullscreen image + catchcopy) ── */
.hero-visual {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute; inset: 0;
  will-change: transform;
}
.hero-bg-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.06);
  transition: transform 10s ease;
}
.hero-bg-image.is-loaded img { transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.20) 50%,
    rgba(0,0,0,0.60) 100%
  );
}

.hero-catchcopy {
  position: absolute;
  bottom: clamp(40px, 8vh, 96px);
  left: var(--px);
  color: #fff;
  z-index: 2;
}

.hero-main {
  font-family: var(--font-ja);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: clamp(0.875rem, 1.4vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

/* ── Brand Statement ── */
.hero-statement {
  background: var(--color-bg);
  padding: clamp(56px, 7vw, 100px) var(--px);
}

.hero-statement p {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 2.0;
  color: var(--color-text);
  font-feature-settings: "palt";
}

/* "スポーツ" — pink strikethrough */
.text-strikethrough-pink {
  position: relative;
  color: var(--color-accent);
  display: inline;
}
.text-strikethrough-pink::after {
  content: '';
  position: absolute;
  left: 0; top: 52%;
  width: 100%; height: 1.5px;
  background: var(--color-accent);
}

/* ============================================================
   BRAND PORTFOLIO GRID
   ============================================================ */
.brands-grid {
  padding-top: var(--py);
  padding-bottom: var(--py);
}
.brands-title {
  padding: 0 var(--px);
  text-align: center;
}

.brands-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 var(--px) 6px;
  max-width: 1320px;
  margin: 0 auto;
}

/* Cell base（旧モザイク専用。TOPの市松セルに影響させない） */
.brands-grid-inner .brand-cell {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: var(--radius-md);
}

/* Image cell */
.brand-cell--image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.brand-cell--image:hover img { transform: scale(1.05); }

/* Logo/dark cell */
.brand-cell--dark { background: var(--color-dark); }

.brand-cell-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  transition: background 0.3s;
  padding: 24px;
}
.brand-cell-link:hover { background: rgba(255,255,255,0.06); }

.brand-logo-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: #fff;
}

/* AIM 1 */
.brand-logo-name--aim {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}

/* Void Gaming */
.brand-logo-check {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  color: #fff;
  flex-shrink: 0;
}
.brand-logo-name {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

/* WIZARD CLUB */
.brand-logo-name--wiz {
  font-family: var(--font-en);
  font-size: clamp(0.65rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
}

/* ============================================================
   OUR HISTORY
   ============================================================ */
.history {
  padding: var(--py) var(--px);
}

.history-inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.history-image {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-xl);
}
.history-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.history-content {}

.section-title {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  padding: 18px 0 18px 20px;
  border-top: 1px solid var(--color-border);
  position: relative;
}
.timeline-item:last-child { border-bottom: 1px solid var(--color-border); }

/* Dot marker */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.timeline-date {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-muted);
}

/* ============================================================
   BRAND FEATURE SECTIONS (AIM1 / Void / VIZARD)
   ============================================================ */
.brand-feature {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Background photo */
.brand-feature-bg {
  position: absolute; inset: 0;
}
.brand-feature-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* Gradient overlay — lighter on left, darker on right where card sits */
.brand-feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.05) 45%,
    rgba(0,0,0,0.50) 100%
  );
}

/* Large BG typography */
.brand-feature-bg-text {
  position: absolute;
  left: var(--px);
  bottom: clamp(40px, 8vh, 80px);
  font-family: var(--font-ja);
  font-size: clamp(3.5rem, 10vw, 10rem);
  font-weight: 900;
  color: rgba(255,255,255,0.13);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.brand-feature-bg-text--multi {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  white-space: normal;
}
.brand-feature-bg-text--multi span { display: block; }

/* Right-side card */
.brand-feature-card {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: clamp(28px, 3.5vw, 44px);
  margin-right: clamp(24px, 5vw, 80px);
  width: clamp(280px, 28vw, 380px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  border-radius: var(--radius-xl);
}

/* AIM1 logo */
.aim-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}
.aim-logo-text {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--color-dark);
}

/* Void logo */
.void-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.void-logo-check {
  font-size: 0.85rem;
  color: var(--color-dark);
}
.void-logo-text {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-dark);
}

/* Vizard logo */
.vizard-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.vizard-logo-icon { font-size: 0.85rem; color: var(--color-dark); }
.vizard-logo-text {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-dark);
}

.brand-feature-card-name {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.brand-feature-card-desc {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.btn-service {
  display: inline-block;
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 13px 28px;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-service:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ============================================================
   RECENT NEWS
   ============================================================ */
.news {
  padding: var(--py) var(--px);
}

.news-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.news-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 44px);
}

/* section-title のデフォルト margin-bottom をヘッダー内では無効化 */
.news-header .section-title,
.recruit-content .section-title { margin-bottom: 0; }

.btn-more {
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.btn-more:hover { color: var(--color-accent); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 20px;
}

/* Card */
.news-card {}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eee;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
}
.news-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.news-card:hover .news-card-thumb img { transform: scale(1.05); }

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 3px 9px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
.news-tag--void   { background: #222; }
.news-tag--aim    { background: #444; }
.news-tag--vizard { background: #6d28d9; }
.news-tag--muted  { background: #ccc; color: #555; }
/* カテゴリ01 = トップのタグ（ニュース等）/ カテゴリ02 = ブランドカテゴリ */
.news-tag--cat01 { background: #000000; }
.news-tag--cat02 { background: #ff0062; }

/* 記事メタ: 日付 → タグの順（トップのNewsと同じ見え方） */
.article-meta .news-date {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text);
}

/* インタビューの質問行 */
.article-q { font-weight: 700; }

.news-date {
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.news-card-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text);
  flex: 1;
  /* 3 line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-detail {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-ja);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
  padding: 6px 14px;
  letter-spacing: 0.05em;
  margin-top: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.news-card:hover .btn-detail {
  background: var(--color-dark);
  color: #fff;
}

/* ============================================================
   RECRUIT
   ============================================================ */
.recruit {
  padding: var(--py) var(--px);
}

.recruit-inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  align-items: center;
}

/* Left visual */
.recruit-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.recruit-visual img {
  width: 100%;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  display: block;
}

/* Background text on image */
.recruit-bg-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(20px, 3vw, 40px);
  font-family: var(--font-ja);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  color: rgba(255,255,255,0.88);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
  /* fade from transparent to dark at bottom */
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}

/* Right content */
.recruit-content {
  padding: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 80px) clamp(40px, 5vw, 72px);
}

.recruit-content .section-title { margin-bottom: 20px; }

.recruit-text {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.btn-recruit {
  display: inline-block;
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 16px 32px;
  letter-spacing: 0.06em;
  margin-top: 12px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-recruit:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  padding: 48px var(--px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo .logo-and,
.footer-logo .logo-gamer { color: #fff; }
.footer-logo .logo-accent-a { color: var(--color-accent); }
.footer-logo .logo-and { font-weight: 300; }

.footer-copy {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.06em;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s, background 0.2s;
}
.footer-social-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.footer-social-link svg { display: block; }

/* Brand card links (HP + X) */
.brand-card-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand-card-x {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.brand-card-x:hover { color: var(--color-text); }
.brand-card-x svg { flex-shrink: 0; }

/* Brand feature section X link (dark bg) */
.brand-feature-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-feature-x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.brand-feature-x:hover { color: #fff; }
.brand-feature-x svg { flex-shrink: 0; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }

.js-line-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.js-line-reveal.is-visible { opacity: 1; transform: translateY(0); }

.js-stagger {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}
.js-stagger.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .history-inner,
  .recruit-inner {
    grid-template-columns: 1fr;
  }

  .recruit-content {
    padding: clamp(40px, 5vw, 64px) var(--px);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-feature-card {
    width: clamp(260px, 38vw, 360px);
  }

  .brand-feature-bg-text {
    font-size: clamp(3rem, 8vw, 7rem);
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --px: 20px; }

  /* Header */
  .main-nav, .lang-switch { display: none; }
  .hamburger { display: flex; }
  /* SP: ヘッダー帯はほぼ不透明に（FVのMマーク透かし等が帯越しに
     透けて「グレーが被って見える」のを防ぐ） */
  .site-header.is-scrolled,
  body.is-inner-page .site-header:not(.is-scrolled) {
    background: rgba(255, 255, 255, 0.97);
  }

  /* Hero: ビジュアルとセクションの高さを揃える（FV直後にNewsが続くように） */
  .hero-visual { height: 80svh; }
  .hero--scroll { height: 80svh; }
  .hero-main   { font-size: clamp(1.8rem, 7vw, 2.8rem); }

  /* Brand Grid: 2 col on mobile */
  .brands-grid-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 10px 10px;
  }
  .brands-grid-inner .brand-cell { aspect-ratio: 1 / 1; }

  /* Hero statement body — 本文テキストは13pxで統一 */
  .hero-stmt-body {
    padding: 0 var(--px);
    font-size: 13px;
  }
  .hero-tagline-sub { font-size: 13px; }

  /* Brand feature sections */
  .brand-feature {
    height: auto;
    min-height: 90svh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding-bottom: clamp(28px, 6vw, 48px);
  }
  .brand-feature-card {
    position: relative;
    width: auto;
    margin: 0 var(--px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    border-top: none;
    border-radius: var(--radius-xl);
    padding: clamp(24px, 5vw, 36px) clamp(20px, 5vw, 32px) clamp(28px, 5vw, 40px);
  }
  .brand-feature-bg-text {
    font-size: clamp(2.5rem, 12vw, 5rem);
    bottom: auto;
    top: var(--header-h);
    left: var(--px);
    white-space: normal;
  }
  .brand-feature-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.1) 0%,
      rgba(0,0,0,0.45) 70%,
      rgba(0,0,0,0.8) 100%
    );
  }

  /* History */
  .history-inner { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { padding-left: 16px; }

  /* News */
  .news-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Recruit */
  .recruit-inner { grid-template-columns: 1fr; }
  .recruit-visual img { aspect-ratio: 4 / 3; }
  .recruit-content { padding: 40px 0; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
}

/* ============================================================
   RESPONSIVE — Small (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-statement p { font-size: 1rem; }
  .brands-grid-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   INNER PAGE — SHARED
   ============================================================ */

body.is-inner-page .site-header:not(.is-scrolled) {
  background: rgba(255,255,255,0.35);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
body.is-inner-page .site-header:not(.is-scrolled) .logo-and,
body.is-inner-page .site-header:not(.is-scrolled) .logo-gamer { color: var(--color-dark); }
body.is-inner-page .site-header:not(.is-scrolled) .main-nav a,
body.is-inner-page .site-header:not(.is-scrolled) .lang-globe { color: var(--color-text); }

/* ヒーローがヘッダー背後まで広がるページ（ストア等）:
   ヒーロー上では透明ヘッダー（テキスト白は is-on-dark が担当）、
   ヒーローを過ぎたら is-scrolled で通常の白バーに戻る */
body.has-hero-overlap .site-header:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* is-inner-page の黒文字指定より優先させて、ヒーロー上では白文字にする */
body.has-hero-overlap .site-header.is-on-dark .main-nav a,
body.has-hero-overlap .site-header.is-on-dark .lang-globe { color: rgba(255,255,255,0.92); }
/* ドロップダウン内は白い箱なので、透明ヘッダー時も文字色は通常のまま */
.site-header:not(.is-scrolled) .nav-dropdown a,
.site-header.is-on-dark .nav-dropdown a,
body.has-hero-overlap .site-header.is-on-dark .nav-dropdown a { color: var(--color-text); }
.site-header:not(.is-scrolled) .nav-dropdown a:hover,
.site-header.is-on-dark .nav-dropdown a:hover,
body.has-hero-overlap .site-header.is-on-dark .nav-dropdown a:hover { color: var(--color-accent); }

/* JSが背景の輝度を解析して付与する .adaptive-dark:
   明るい背景（空など）に重なった要素だけ個別に黒表示へ切り替える */
body.has-hero-overlap .site-header:not(.is-scrolled) .main-nav > ul > li > a.adaptive-dark {
  color: var(--color-dark);
}
body.has-hero-overlap .site-header:not(.is-scrolled) .header-brand-img.adaptive-dark,
body.has-hero-overlap .site-header:not(.is-scrolled) .lang-globe-img.adaptive-dark,
body.has-hero-overlap .site-header:not(.is-scrolled) .hamburger-icon.adaptive-dark {
  filter: none;
}
/* 色切替を滑らかに */
body.has-hero-overlap .site-header .main-nav > ul > li > a { transition: color 0.25s ease; }
body.has-hero-overlap .site-header .lang-globe-img,
body.has-hero-overlap .site-header .hamburger-icon { transition: filter 0.25s ease; }

.page-hero {
  padding: calc(var(--header-h) + clamp(56px, 8vw, 100px)) var(--px) clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--color-border);
}
.page-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
}
.page-hero-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.page-hero-title {
  font-family: var(--font-ja);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}
.page-hero-quote {
  color: var(--color-accent);
}
.page-hero-tagline {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-top: 12px;
}

/* タブバー: 透明背景（背後をぼかす）+ 楕円ピルのカテゴリ。
   スクロールに応じて該当ピルが左端に来るよう横スライドする（JS: SUBNAV SPY） */
.page-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.page-subnav-inner {
  position: relative; /* 固定レンズ（背面）よりラベルを前面に */
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--px);
  max-width: 1320px;
  transition: transform 0.45s var(--ease-out);
  will-change: transform;
}
.page-subnav-inner a {
  font-family: var(--font-ja); /* 日本語ラベル対応（英字もNoto Sans JPで問題なし） */
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text);
  padding: 8px 20px;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.2s;
}

/* ── 固定レンズ（ピンクの楕円）──
   位置は左端スロットに固定し、タブ列の方がスライドして
   現在地のラベルがレンズの中に収まる。幅はラベルに合わせて伸縮 */
.page-subnav-lens {
  position: absolute;
  background: rgba(255, 0, 98, 0.72);
  border-radius: 999px;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out);
  pointer-events: none;
}

/* ── ドラッグで横スライド ── */
.page-subnav {
  cursor: grab;
  touch-action: pan-y; /* 縦スクロールは通しつつ、横ドラッグをタブ操作に使う */
}
.page-subnav.is-dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}
.page-subnav.is-dragging .page-subnav-inner { transition: none; }
.page-subnav-inner a:hover { color: var(--color-accent); }
/* 現在地（レンズ内）のラベルは白テキスト。背景は固定レンズが担う */
.page-subnav-inner a.is-active {
  color: #fff;
}

.inner-section { padding: var(--py) var(--px); }
.inner-section-inner { max-width: 1320px; margin: 0 auto; }

.section-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.text-accent-link {
  color: var(--color-accent);
  text-decoration: underline;
  transition: opacity 0.2s;
}
.text-accent-link:hover { opacity: 0.75; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.about-intro-text p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 1.2em;
}
.about-intro-photo {
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.about-intro-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.mission-block {
  background: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.mission-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.mission-text {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
}
.mission-desc {
  font-size: 0.9375rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.65);
}

.vision-block {
  background: #f7f7f7;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.vision-text {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
}
.vision-desc {
  font-size: 0.9375rem;
  line-height: 1.95;
  color: var(--color-muted);
}

/* ── Values: 横カルーセル（中央のカードにフォーカスし、左右が少し覗く） ── */
.values-carousel {
  overflow: hidden;
  margin-top: 8px;
  cursor: grab;
  touch-action: pan-y; /* 縦スクロールは通しつつ、横ドラッグをカルーセル操作に */
}
.values-carousel.is-dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}
.values-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  /* カード送りはイーズインアウトで緩急をつける（easeInOutCubic） */
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.values-carousel.is-dragging .values-track { transition: none; }
.value-card {
  flex: 0 0 min(720px, 74%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  background: #fff;
}
/* 進捗バー: グレーの細いラインの上をピンクのノブがカルーセルと連動して移動する。
   ノブ（またはバー上の任意の位置）をドラッグ/クリックしてカードを切り替えられる */
.values-progress {
  position: relative;
  width: min(300px, 56%);
  height: 1px;
  margin: 40px auto 0;
  border-radius: 2px;
  background: #c9c9ce;
  cursor: pointer;
  touch-action: none;
}
/* 細いバーでも掴みやすいよう、当たり判定を上下に広げる */
.values-progress::after {
  content: '';
  position: absolute;
  inset: -14px 0;
}
.values-progress-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
  transition: left 0.6s cubic-bezier(0.65, 0, 0.35, 1); /* トラックと同じ緩急 */
  cursor: grab;
}
.values-progress.is-dragging { cursor: grabbing; }
.values-progress.is-dragging .values-progress-knob {
  cursor: grabbing;
  transition: left 0.15s ease;
}
.value-number {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  margin-bottom: 18px;
}
.value-name {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.value-tagline {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 16px;
  font-feature-settings: "palt";
}
.value-desc {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-muted);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 860px;
  margin-top: 8px;
}
.company-table tr { border-top: 1px solid var(--color-border); }
.company-table tr:last-child { border-bottom: 1px solid var(--color-border); }
.company-table th {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
  vertical-align: top;
  padding: 22px 32px 22px 0;
  width: 160px;
  white-space: nowrap;
}
.company-table td {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--color-muted);
  padding: 22px 0;
}
.company-management-link {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ============================================================
   STORE PAGE
   ============================================================ */

.store-hero {
  position: relative;
  width: 100%;
  height: 72svh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.store-hero-bg { position: absolute; inset: 0; }
.store-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.store-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.08) 60%);
}
.store-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--px) clamp(40px, 6vw, 72px);
  color: #fff;
}
.store-hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 12px;
}
.store-hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.store-news-section { padding: var(--py) var(--px); }
.store-news-inner { max-width: 1320px; margin: 0 auto; }

.store-brands-section { padding: var(--py) var(--px); background: #f7f7f7; }
.store-brands-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1320px;
  margin: 8px auto 0;
}
.store-brand-row {
  display: grid;
  grid-template-columns: 240px repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.store-brand-card {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.store-brand-card-name {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.store-brand-card-desc {
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  flex: 1;
  margin-bottom: 20px;
}
.store-brand-card-link {
  font-family: var(--font-ja);
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.store-brand-card-link:hover { gap: 8px; }
.store-brand-image {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #e8e8e8;
  /* 商品画像はすべて「被写体サイズを揃えた正方形素材」。
     セルは正方形を基本に、カード（テキスト）の方が高い行では
     カードと同じ高さまでストレッチして枠サイズを揃える */
  aspect-ratio: 1 / 1;
}
.store-brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.store-brand-image:hover img { transform: scale(1.05); }
/* カスタムパーツ（VIZARD CLUB）は4分割コラージュ
   1frトラックが画像の固有サイズで膨らまないよう minmax(0, 1fr) を使う */
.store-brand-image--quad {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2px;
  background: #e6e6ea;
}
.store-brand-image--quad img {
  height: 100%;
  aspect-ratio: auto;
  min-width: 0;
  min-height: 0;
}

.store-info-section { padding: var(--py) var(--px); }
.store-info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}
.store-info-name {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.store-info-rows { display: flex; flex-direction: column; }
.store-info-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.9375rem;
}
.store-info-row:last-child { border-bottom: 1px solid var(--color-border); }
.store-info-label { font-weight: 700; color: var(--color-dark); }
.store-info-value { color: var(--color-muted); line-height: 1.8; }
.store-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e8e8e8;
}
.store-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.sns-section { padding: var(--py) var(--px); background: #f7f7f7; }
.sns-inner { max-width: 1320px; margin: 0 auto; text-align: center; }
.sns-section .section-title { margin-bottom: 0; text-align: center; }
.sns-grid {
  display: flex;
  gap: clamp(20px, 4vw, 60px);
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}
.sns-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s;
}
.sns-item:hover { opacity: 0.7; }
.sns-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
/* 公式ロゴアセットのアイコンを実インク高さ≈20pxで光学的に統一 */
.sns-icon img { object-fit: contain; }
.sns-icon img[src*="yt_symbol"] { width: 29px; height: 29px; }
.sns-icon img[src*="TikTok"] { width: 22px; height: 22px; }
.sns-icon img[src*="Discord"] { width: 26px; height: 26px; }
.sns-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

/* ============================================================
   MANAGEMENT PAGE
   ============================================================ */

.management-list {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin-top: 8px;
}
.member-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--color-border);
  align-items: start;
}
.member-card:last-child { border-bottom: 1px solid var(--color-border); }
.member-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f0f0f0;
}
.member-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.member-role {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.member-name-ja {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.member-name-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 28px;
}
.member-bio {
  font-size: 0.9375rem;
  line-height: 1.95;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.member-note-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ja);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.member-note-link:hover { opacity: 0.7; }

/* ============================================================
   NEWS LIST PAGE
   ============================================================ */

.news-page-filters {
  border-bottom: 1px solid var(--color-border);
  padding: 0 var(--px);
}
.news-page-filters-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.filter-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  text-transform: uppercase;
}
.filter-select {
  font-family: var(--font-ja);
  font-size: 0.8rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 32px 8px 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.filter-select:focus { outline: none; border-color: var(--color-accent); }
.filter-reset {
  font-family: var(--font-ja);
  font-size: 0.8rem;
  color: var(--color-muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.filter-reset:hover { color: var(--color-accent); }

.news-list-body-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--py) var(--px);
}
.news-month-group { margin-bottom: clamp(32px, 4vw, 56px); }
.news-month-heading {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 4px;
}
.news-list-items { display: flex; flex-direction: column; }
.news-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
  transition: opacity 0.2s;
}
.news-list-item:hover { opacity: 0.72; }
.news-list-thumb {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #eee;
  aspect-ratio: 16 / 9; /* サムネイル画像(16:9)と枠の比率を一致させる */
}
.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.news-list-item:hover .news-list-thumb img { transform: scale(1.06); }
.news-list-content { display: flex; flex-direction: column; gap: 8px; }
.news-list-meta { display: flex; align-items: center; gap: 10px; }
.news-list-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--color-text);
}

/* ============================================================
   NEWS SINGLE PAGE
   ============================================================ */

.article-hero {
  /* ── 記事ページ標準（今後の記事もこれを基準に統一） ──
     画像幅: 750px = テキスト幅と同じ（本番 andgamer.co.jp の記事幅 実測750px に一致）
     ヘッダーに被らないよう下げて配置 */
  max-width: 750px;
  width: calc(100% - 2 * var(--px));
  margin: calc(var(--header-h) + clamp(24px, 3vw, 48px)) auto 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.article-hero img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.article-container {
  /* 記事テキスト幅: 750px（本番記事ページの実測値と同じ。トップ画像・本文中の画像と同幅で統一）
     box-sizing: border-box のため左右パディング分を加算 */
  max-width: calc(750px + 2 * var(--px));
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) var(--px);
}
.article-container--top {
  padding-top: calc(var(--header-h) + clamp(24px, 3vw, 40px));
}
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.article-title {
  font-family: var(--font-ja);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-dark);
  margin-bottom: 32px;
  font-feature-settings: "palt";
  letter-spacing: -0.01em;
}
.article-divider { height: 1px; background: var(--color-border); margin-bottom: 44px; }
.article-body { font-size: 1rem; line-height: 2; color: var(--color-text); }
.article-body p { margin-bottom: 1.6em; }
.article-body h2 {
  font-family: var(--font-ja);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 2.5em 0 0.8em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.article-body h3 {
  font-family: var(--font-ja);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 2em 0 0.6em;
}
.article-body h4 {
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 1.8em 0 0.6em;
}

.article-body strong { font-weight: 700; color: var(--color-dark); }
.article-body a { color: var(--color-accent); text-decoration: underline; }
.article-body img { width: 100%; border-radius: var(--radius-md); margin: 2em 0; }
.article-body figure { margin: 2em 0; }
.article-body figure img { margin: 0; }

/* ── WordPress（Gutenberg）で編集された本文も記事標準の体裁に強制する ──
   ブロックエディタが出力するクラス・インラインstyle（画像リサイズや
   左右寄せ・ワイド配置など）に依らず、いかなる場合も news-single 系
   モックと同じ見た目になるよう .article-body 配下を正規化する */

/* 画像・figure: 何も指定しなければテキストと同幅。
   エディタでサイズを指定した場合（大中小のサイズ選択・px・%・ドラッグでのリサイズ）は
   その大きさを尊重し、中央に配置する */
.article-body img,
.article-body .wp-block-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* エディタで選んだサイズを尊重（サイズ選択のクラス・リサイズ済みブロック） */
.article-body img.size-thumbnail,
.article-body img.size-medium,
.article-body img.size-large,
.article-body .is-resized img {
  width: auto;
  max-width: 100%;
}
.article-body figure,
.article-body .wp-block-image,
.article-body .wp-block-gallery {
  max-width: 100% !important;
  margin: 2em auto !important;
  float: none !important;
}
/* 左右寄せは崩れやすいので中央に統一（ワイド/フルは本文幅まで） */
.article-body .alignleft,
.article-body .alignright,
.article-body .aligncenter {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
.article-body .alignwide,
.article-body .alignfull {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* キャプション */
.article-body figcaption {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 10px;
}
/* リスト */
.article-body ul,
.article-body ol {
  margin: 0 0 1.6em 1.5em;
  padding: 0;
  line-height: 2;
}
.article-body li { margin-bottom: 0.3em; }
/* 引用 */
.article-body blockquote,
.article-body .wp-block-quote,
.article-body .wp-block-pullquote {
  margin: 2em 0 !important;
  padding: 4px 0 4px 20px;
  border: none;
  border-left: 3px solid var(--color-accent);
  color: var(--color-muted);
  font-style: normal;
  text-align: left;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
/* テーブル */
.article-body table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.9rem;
  line-height: 1.8;
}
.article-body th,
.article-body td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  text-align: left;
}
.article-body th { background: #f7f7f8; font-weight: 700; }
/* 動画・埋め込み（YouTube等）は本文幅いっぱいの16:9 */
.article-body iframe,
.article-body video,
.article-body embed,
.article-body object {
  max-width: 100%;
}
.article-body .wp-block-embed { margin: 2em 0 !important; }
.article-body .wp-block-embed__wrapper iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border-radius: var(--radius-md);
}
/* 区切り線 */
.article-body hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 2.5em 0;
}
/* WPが絵文字を画像化したもの（img.emoji等）は本文幅強制の対象外にする */
.article-body img.emoji,
.article-body img.wp-smiley {
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  display: inline-block !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em;
  border-radius: 0;
}

/* SNS投稿の貼り付け等で付く中央寄せ・右寄せも記事標準（左揃え）に統一 */
.article-body .has-text-align-center,
.article-body .has-text-align-right {
  text-align: left !important;
}
/* ブロック由来の余計なはみ出し・先頭余白を抑制 */
.article-body > * { max-width: 100%; }
.article-body > :first-child { margin-top: 0; }
.article-body figcaption {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
}

/* 記事内テーブル（配信概要など） */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0 2em;
  font-size: 0.9375em;
}
.article-table th,
.article-table td {
  border: 1px solid var(--color-border);
  padding: 10px 16px;
  text-align: left;
  font-weight: 400;
}
.article-table th {
  width: 8em;
  background: #f7f7f8;
}

/* 写真下のプロフィールボックス（#f5f5f5の塗り・枠線なし） */
.article-profile {
  background: #f5f5f5;
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: -1em 0 2.5em;
  font-size: 0.875em;
  line-height: 1.9;
}
.article-profile p { margin-bottom: 1.4em; }
.article-profile p:last-child { margin-bottom: 0; }

/* ── 記事ページ標準タイポグラフィ（デスクトップ）──
   今後の記事もこのルールで統一:
   h1=38px / h2=28px / h3=23px / h4=22px / 本文=16px
   トップ画像・本文中の画像・プロフィールボックスはテキストと同幅（750px）で統一 */
@media (min-width: 769px) {
  .article-title { font-size: 38px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 28px; }
  .article-body h3 { font-size: 23px; }
  .article-body h4 { font-size: 22px; }

  .article-body img {
    width: 100%;
    display: block;
  }
  .article-body figure {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .article-body figure img { width: 100%; }
}
.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2.5em 0 0;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ja);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  transition: color 0.2s;
}
.article-back:hover { color: var(--color-accent); }

/* ============================================================
   PAGINATION
   ============================================================ */

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 48px var(--px) 72px;
  flex-wrap: wrap;
}
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  background: transparent;
  border: 1.5px solid var(--color-border);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.news-pagination .page-numbers:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.news-pagination .page-numbers.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  pointer-events: none;
}
.news-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
  color: var(--color-muted);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}
.contact-info-title {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.contact-info-desc {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-muted);
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-required {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border: 1px solid var(--color-accent);
  border-radius: 2px;
}
.form-optional {
  font-size: 0.6rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(233,30,118,0.08);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #c0c0c0; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 18px 52px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.06em;
  align-self: flex-start;
  transition: background 0.25s ease, transform 0.25s ease;
}
.form-submit:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ブランド案内文（種別セレクト下） */
.form-note {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-muted);
  margin-top: 2px;
}
.form-note a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact Form 7 */
.wpcf7 .contact-form { display: flex; flex-direction: column; gap: 22px; }
.wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7-not-valid-tip {
  display: block;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-top: 6px;
}
.wpcf7-form .form-input.wpcf7-not-valid,
.wpcf7-form .form-select.wpcf7-not-valid,
.wpcf7-form .form-textarea.wpcf7-not-valid { border-color: var(--color-accent); }
.wpcf7-form .form-submit:disabled { opacity: 0.5; cursor: default; }
.wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.7;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e7d32;
  color: #2e7d32;
  background: #f2f8f2;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(233, 30, 118, 0.05);
}

/* ハニーポット（人間には見えない欄。botが入力したら送信を弾く） */
.ag-hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* CF7のスクリーンリーダー向けメッセージ
   （このテーマはCF7のCSSを読み込まない構成のため自前で視覚的に隠す。
     読み上げには残るので display:none にはしない） */
.wpcf7 .screen-reader-response {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}

/* 送信前確認ダイアログ */
.ag-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.55);
}
.ag-confirm-overlay.is-open { display: flex; }
.ag-confirm {
  background: #fff;
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 560px;
  max-height: min(80vh, 680px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  outline: none;
}
.ag-confirm-title {
  font-family: var(--font-ja);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
}
.ag-confirm-lead {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 8px;
}
.ag-confirm-list {
  margin: 20px 0 24px;
  border-top: 1px solid var(--color-border);
}
.ag-confirm-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.ag-confirm-list dt {
  color: var(--color-muted);
  font-weight: 500;
}
.ag-confirm-list dd {
  margin: 0;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
}
.ag-confirm-empty { color: #c0c0c0; }
.ag-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.ag-confirm-back,
.ag-confirm-send {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, color 0.25s ease;
}
.ag-confirm-back {
  background: #fff;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}
.ag-confirm-back:hover { background: #f5f5f5; }
.ag-confirm-send {
  background: var(--color-dark);
  color: #fff;
  border: none;
}
.ag-confirm-send:hover { background: var(--color-accent); }
.ag-confirm-send:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 640px) {
  .ag-confirm-list > div { grid-template-columns: 1fr; gap: 4px; }
  .ag-confirm-actions { flex-direction: column-reverse; }
  .ag-confirm-back,
  .ag-confirm-send { width: 100%; }
}

/* ============================================================
   RECRUIT PAGE
   ============================================================ */

/* Hero */
.rp-page-hero {
  position: relative;
  min-height: 60svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 100px)) var(--px) clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.rp-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rp-page-hero-bg img,
.rp-page-hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.rp-page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.05) 100%);
}
.rp-page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.rp-page-hero-content .page-hero-label { color: var(--color-accent); }
/* ブランド一覧のヒーロー見出しは1/2サイズ（他ページと揃えない指定）。
   リード文も合わせてサイズダウンしてバランスを取る */
.rp-page-hero--brand .rp-page-hero-title {
  font-size: clamp(1.1rem, 2.5vw, 2rem);
}
.rp-page-hero--brand .rp-page-hero-sub {
  font-size: clamp(0.78rem, 1.05vw, 0.85rem);
  max-width: 440px;
  line-height: 1.9;
}
.rp-page-hero-title {
  font-family: var(--font-ja);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-feature-settings: "palt";
  margin-bottom: 16px;
}
.rp-page-hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  line-height: 1.7;
}

/* CEO Message */
.rp-ceo {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
.rp-ceo-photo {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #f0f0f0;
  position: sticky;
  top: calc(var(--header-h) + 60px);
}
.rp-ceo-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.rp-ceo-heading {
  font-family: var(--font-ja);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
  margin-bottom: 32px;
}
.rp-ceo-text p {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 1.4em;
}
.rp-ceo-sig {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
}
.rp-ceo-sig-role {
  font-family: var(--font-ja);
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}
.rp-ceo-sig-name {
  font-family: var(--font-ja);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.04em;
}

/* Culture */
.rp-culture-section { background: #f7f7f7; }
.rp-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

/* Why AndGAMER */
.rp-why-section { background: var(--color-dark); }
.rp-why-section .section-label { color: var(--color-accent); }
.rp-why-section .section-title { color: #fff; }
.rp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 8px;
}
.rp-why-card {
  background: var(--color-dark);
  padding: clamp(32px, 4vw, 52px);
}
.rp-why-number {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.rp-why-title {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 16px;
  font-feature-settings: "palt";
}
.rp-why-desc {
  font-size: 0.875rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}

/* Job Listings */
.rp-jobs-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.rp-job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.rp-job-item:first-child { border-top: 1px solid var(--color-border); }
.rp-job-item:hover { background: #fafafa; padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
.rp-job-info { display: flex; flex-direction: column; gap: 8px; }
.rp-job-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  align-self: flex-start;
}
.rp-job-title {
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
}
.rp-job-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 680px;
}
.rp-job-cta {
  flex-shrink: 0;
  font-family: var(--font-ja);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
  white-space: nowrap;
}

/* Process */
.rp-process-section { background: #f7f7f7; }
.rp-process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 8px;
}
.rp-process-step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
}
.rp-process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 60px;
  margin-top: clamp(28px, 3vw, 44px);
}
.rp-process-arrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  position: relative;
}
.rp-process-arrow::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  transform: rotate(45deg);
  margin-left: 16px;
}
.rp-process-num {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.rp-process-title {
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}
.rp-process-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-muted);
}
.rp-process-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 24px;
}

/* FAQ */
.rp-faq-list {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  margin-top: 8px;
}
.rp-faq-item {
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--color-border);
}
.rp-faq-item:first-child { border-top: 1px solid var(--color-border); }
.rp-faq-q {
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}
.rp-faq-q::before {
  content: 'Q. ';
  color: var(--color-accent);
  font-family: var(--font-en);
  font-weight: 700;
}
.rp-faq-a {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-muted);
  padding-left: 1.8em;
}

/* CTA */
.rp-cta-section {
  background: #f7f7f7;
  padding: clamp(72px, 10vw, 140px) var(--px);
  text-align: center;
}
.rp-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.rp-cta-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.rp-cta-heading {
  font-family: var(--font-ja);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
  margin-bottom: 20px;
}
.rp-cta-desc {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-muted);
  margin-bottom: 44px;
}
.rp-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.rp-cta-sub {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.rp-cta-sub:hover { color: var(--color-dark); }
.rp-cta-section .btn-recruit {
  background: var(--color-accent);
  color: #fff;
}
.rp-cta-section .btn-recruit:hover {
  background: var(--color-dark);
  color: #fff;
}

/* Job Cards */
.rp-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.rp-job-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  color: inherit;
}
.rp-job-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.rp-job-card-thumb { overflow: hidden; }
.rp-job-card-thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.rp-job-card:hover .rp-job-card-thumb img { transform: scale(1.06); }
.rp-job-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1;
}
.rp-job-card-title {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.6;
}
.rp-job-card-desc {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--color-muted);
}
.rp-job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.rp-job-card-tag {
  font-family: var(--font-ja);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-muted);
  background: #f0f0f0;
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  white-space: nowrap;
}
.rp-job-card-btn {
  display: block;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.rp-job-card:hover .rp-job-card-btn { opacity: 0.85; }

/* Company Deck box */
.rp-deck-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: #f7f7f7;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 52px);
  margin-top: clamp(40px, 5vw, 64px);
}
.rp-deck-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.rp-deck-text p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-muted);
}
.rp-deck-embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 24px;
}
.rp-deck-embed iframe {
  width: 100%;
  height: 600px;
  display: block;
  border: none;
}

/* Stories */
.rp-stories-section { background: #f7f7f7; }
.rp-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.rp-story-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.rp-story-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.rp-story-thumb { overflow: hidden; }
.rp-story-thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.rp-story-card:hover .rp-story-thumb img { transform: scale(1.06); }
.rp-story-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.rp-story-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.6;
}

/* Brands */
.rp-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.rp-brand-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rp-brand-thumb { overflow: hidden; }
.rp-brand-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.rp-brand-card:hover .rp-brand-thumb img { transform: scale(1.04); }
.rp-brand-body { padding: clamp(20px, 2vw, 32px); }
.rp-brand-name {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.rp-brand-desc {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.rp-brand-link {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.rp-brand-link:hover { opacity: 0.7; }

/* Daily Work */
.rp-daily-section { background: #f7f7f7; }
.rp-daily-section .section-label { color: var(--color-accent); }
.rp-daily-section .section-title { color: var(--color-dark); }
.rp-daily-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.rp-daily-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rp-daily-thumb { overflow: hidden; }
.rp-daily-thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.rp-daily-card:hover .rp-daily-thumb img { transform: scale(1.05); opacity: 1; }
.rp-daily-body { padding: 20px; }
.rp-daily-tag {
  display: inline-block;
  font-family: var(--font-ja);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.rp-daily-title {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.rp-daily-desc {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-muted);
}

/* Office */
.rp-office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  margin-top: 8px;
}
.rp-office-photos { margin-bottom: 20px; }
/* オフィスのGoogle Maps埋め込み（写真エリアと同じ角丸・比率） */
.rp-office-map {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.rp-office-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.rp-office-main {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  margin-bottom: 8px;
}
.rp-office-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rp-office-sub-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}
.rp-office-photos--coming {
  aspect-ratio: 16/9;
  background: #f0f0f0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rp-office-coming {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: #f0f0f0;
}
.rp-office-coming span {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}
.rp-office-name {
  font-family: var(--font-ja);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.rp-office-address {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 12px;
  font-feature-settings: "palt";
}
.rp-office-desc {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-muted);
}

/* Message from Management */
.rp-message-inner { max-width: 860px; margin: 0 auto; }
.rp-message-heading { margin-bottom: 40px; }
.rp-message-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 12px;
}
.rp-message-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.rp-message-photo img { width: 100%; display: block; }
.rp-message-body p {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 1.4em;
}
.rp-message-sig {
  font-size: 0.85rem !important;
  color: var(--color-muted) !important;
  margin-top: 32px !important;
}

/* FAQ bg */
.rp-faq-bg { background: #f7f7f7; }

/* ============================================================
   RESPONSIVE — Inner pages (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .about-intro-inner,
  .mission-block,
  .vision-block { grid-template-columns: 1fr; }


  .store-brand-row { grid-template-columns: 200px repeat(3, minmax(0, 1fr)); }

  .store-info-inner { grid-template-columns: 1fr; }

  .contact-inner { grid-template-columns: 1fr; }

  .rp-culture-grid { grid-template-columns: 1fr 1fr; }
  .rp-jobs-grid { grid-template-columns: 1fr 1fr; }
  .rp-stories-grid { grid-template-columns: 1fr 1fr; }
  .rp-brands-grid { grid-template-columns: 1fr 1fr; }
  .rp-daily-grid { grid-template-columns: 1fr 1fr; }
  .rp-office-grid { grid-template-columns: 1fr; }
  .rp-deck-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .value-card { flex-basis: 86%; }

  .store-brand-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .store-brand-card { grid-column: 1 / -1; }

  /* メンバーカード: 左=写真 / 右=肩書き・名前 / 下段=紹介文 */
  .member-card {
    grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
    gap: 6px 20px;
  }
  .member-photo {
    max-width: none;
    grid-column: 1;
    grid-row: 1 / 4; /* 肩書き・和名・英名の3行ぶんにまたがる */
  }
  /* 顔と胸元のロゴが両方収まる位置でトリミング（頭部見切れ防止） */
  .member-photo img { aspect-ratio: 1/1; object-position: center 30%; }
  .member-info { display: contents; }
  .member-role,
  .member-name-ja,
  .member-name-en { grid-column: 2; align-self: center; }
  .member-role { align-self: end; margin-bottom: 4px; }
  .member-name-ja { margin-bottom: 0; }
  .member-bio,
  .member-note-link { grid-column: 1 / -1; }
  .member-bio { margin-top: 16px; }

  .news-list-item { grid-template-columns: 90px 1fr; gap: 14px; }

  .form-row { grid-template-columns: 1fr; }

  .rp-culture-grid { grid-template-columns: 1fr; }
  .rp-jobs-grid { grid-template-columns: 1fr; }
  .rp-stories-grid { grid-template-columns: 1fr; }
  .rp-brands-grid { grid-template-columns: 1fr; }
  .rp-daily-grid { grid-template-columns: 1fr; }
  .rp-job-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rp-cta-btns { flex-direction: column; }
}


/* ============================================================
   COLLABORATIONS PAGE
============================================================ */

/* Hero */
.collab-hero {
  padding: clamp(120px, 16vw, 200px) var(--px) clamp(80px, 10vw, 140px);
}
.collab-hero-inner { max-width: 1320px; margin: 0 auto; text-align: center; }
.collab-hero-kicker {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.collab-hero-kicker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.collab-hero-title {
  font-family: var(--font-ja);
  font-size: clamp(48px, 8.5vw, 119px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.collab-hero-accent { color: var(--color-accent); }
@keyframes amp-bounce {
  0%   { opacity: 0; transform: translateY(-400px) rotate(-180deg) scale(1.1); }
  55%  { opacity: 1; transform: translateY(14px) rotate(8deg) scale(0.93); }
  70%  { transform: translateY(-10px) rotate(-4deg) scale(1.05); }
  83%  { transform: translateY(5px) rotate(2deg) scale(0.98); }
  92%  { transform: translateY(-3px) rotate(-1deg) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
}
@keyframes and-pop {
  0%   { opacity: 0; transform: translateX(-20px) scale(0.8); }
  70%  { transform: translateX(3px) scale(1.04); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes char-pop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.6) rotate(-8deg); }
  60%  { transform: translateY(-6px) scale(1.15) rotate(3deg); }
  80%  { transform: translateY(2px) scale(0.97) rotate(-1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
@keyframes sparkle {
  0%   { opacity: 0; transform: scale(0) rotate(0deg); }
  50%  { opacity: 1; transform: scale(1.4) rotate(180deg); }
  100% { opacity: 0; transform: scale(0) rotate(360deg); }
}

.collab-hero-amp {
  font-size: 1em;
  font-weight: 800;
  line-height: 0.8;
  display: inline-block;
  vertical-align: bottom;
  margin-right: 4px;
  animation: amp-bounce 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  position: relative;
}
.collab-hero-and {
  display: inline-block;
  animation: and-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.85s both;
}
.collab-hero-gamer {
  display: inline-block;
}
.collab-hero-char {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  animation: char-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.85s + var(--i) * 0.08s) both;
}
.collab-hero-char--dark {
  color: var(--color-dark);
  animation-delay: calc(0.85s + var(--i) * 0.08s);
}
.collab-hero-char--amp {
  animation-name: amp-bounce;
  animation-duration: 0.7s;
  animation-delay: 0.2s;
  margin-right: 0.2em;
}
.collab-hero-lead {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 2;
  color: var(--color-muted);
  max-width: 600px;
  font-weight: 400;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Brand bar */
.collab-brand-bar {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 24px var(--px);
}
.collab-brand-bar-inner {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.collab-brand-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #737373;
  font-weight: 700;
  margin-right: 8px;
}
.collab-brand-chip {
  padding: 7px 18px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1.5px solid #d4d4d4;
  color: #404040;
  background: #fff;
}
.collab-brand-chip--void { border-color: var(--color-dark); color: var(--color-dark); }
.collab-brand-chip--aim  { border-color: var(--color-accent); color: var(--color-accent); }
.collab-brand-chip--vizard { border-color: #2962ff; color: #2962ff; }

/* Filter */
.collab-filter-wrap {
  padding: 60px var(--px) 32px;
}
.collab-filter-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.collab-filter-chip {
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1.5px solid #e5e5e5;
  color: #737373;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.collab-filter-chip:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}
.collab-filter-chip.is-active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

/* Featured cards */
.collab-featured-section { padding: 0 var(--px); }
.collab-featured-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }

.collab-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  background: #fafafa;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
}
.collab-featured-card--reverse {
  grid-template-columns: 1fr 1.1fr;
}
.collab-featured-card--reverse .collab-featured-text { order: 2; }
.collab-featured-card--reverse .collab-featured-img  { order: 1; }
.collab-featured-card--tinted {
  background: #fafafa;
}
.collab-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #e5e5e5;
}
.collab-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.collab-featured-badge {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 20px;
}
.collab-featured-title {
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.collab-featured-meta {
  font-family: var(--font-en);
  font-size: 12px;
  color: #737373;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.collab-featured-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--color-muted);
  margin-bottom: 28px;
}
.collab-product-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.collab-product-chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  background: #fff;
}
.collab-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-dark);
  border-bottom: 2px solid var(--color-dark);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.collab-featured-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Archive */
.collab-archive-section { padding: 80px var(--px) 0; }
.collab-archive-inner { max-width: 1280px; margin: 0 auto; }
.collab-archive-label {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.collab-archive-label-text {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #737373;
  font-weight: 700;
  white-space: nowrap;
}
.collab-archive-label-line { flex: 1; height: 1px; background: #e5e5e5; }

/* Collab grid */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: var(--py);
}
.collab-card { cursor: pointer; transition: transform 0.3s; }
.collab-card:hover { transform: translateY(-4px); }
.collab-card-img {
  position: relative;
  aspect-ratio: 1/1;
  background: #e5e5e5;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.collab-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.collab-card:hover .collab-card-img img { transform: scale(1.04); }
.collab-card-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-dark);
}
.collab-card-type {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.collab-card-name {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.collab-card-year {
  font-family: var(--font-en);
  font-size: 12px;
  color: #737373;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* hidden by filter */
.js-collab-item.is-hidden {
  display: none;
}

/* CTA */
.collab-cta {
  background: var(--color-accent);
  color: #fff;
  padding: clamp(100px, 14vw, 160px) var(--px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Game On! セクションの装飾（テキスト回避はJS: DECO AVOIDが自動調整） */
.deco-px--collab-a { top: 16%; left: 9%; }
.deco-px--collab-b { top: 24%; right: 11%; }
.deco-px--collab-c { bottom: 20%; left: 13%; }
.deco-px--collab-d { bottom: 15%; right: 8%; }
.collab-cta-inner { max-width: 900px; margin: 0 auto; }
.collab-cta-kicker {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  margin-bottom: 32px;
}
.collab-cta-display {
  font-family: var(--font-en);
  font-size: clamp(72px, 13vw, 180px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
  color: #fff;
}
.collab-cta-sub {
  font-family: var(--font-ja);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 52px;
}
.collab-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 48px;
  background: #fff;
  color: var(--color-accent);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.collab-cta-btn:hover {
  background: var(--color-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .collab-featured-card,
  .collab-featured-card--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }
  .collab-featured-card--reverse .collab-featured-text { order: 1; }
  .collab-featured-card--reverse .collab-featured-img  { order: 2; }
  .collab-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .collab-grid { grid-template-columns: 1fr; }
}

/* ===== BRAND PAGE ===== */
.brand-hero {
  padding: calc(var(--header-h) + 80px) var(--px) 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* 旧装飾（ピンクの楕円・黒丸）は撤去し、トップページと同じ rectangle アセット
   （.deco-px--bhero-*）に統一 */
.brand-hero-inner {
  position: relative;
  z-index: 1;
  /* 拡大タイトルの1行目（ピンク帯+「を」）が収まる幅 */
  max-width: 1160px;
  margin: 0 auto;
}
/* タイトルの1行目（"わかってる"プロダクトを）の幅にボックスを縮め、
   サブコピーはその幅で自然改行させる */
.brand-hero-copy {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.brand-hero-title {
  font-family: var(--font-ja);
  /* 会社概要の「ゲームの"その先"へ」（.page-hero-title）と同サイズ */
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.brand-hero-lead {
  width: 0;
  min-width: 100%;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2;
  color: #555;
}
.brand-lineup-heading {
  font-family: var(--font-en);
  /* キャプチャ準拠: h1（60px）より一回り小さい中央見出し */
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0 0 48px;
  color: var(--color-dark);
}

/* Brand lineup wrapper */
/* ヒーロー下は他ページのセクションと同じ余白リズム（ストア準拠） */
.brand-lineup { padding: var(--py) var(--px) 80px; }
.brand-lineup-inner { max-width: 1120px; margin: 0 auto; }

/* Brand card */
.brand-card {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 64px 0;
  border-top: 1px solid #ebebeb;
  /* トップのブランドカード等からのアンカー遷移時、固定ヘッダーに隠れないようにする */
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.brand-card:first-of-type { border-top: none; }

.brand-card-header {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.brand-card-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.brand-card-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}
.brand-card-kv {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #f0f0f0;
}
.brand-card-kv img { width: 100%; height: 100%; object-fit: cover; }

.brand-card-intro { min-width: 0; }
.brand-card-tagline {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.brand-card-name {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 16px;
}
.brand-card-name::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em; bottom: 0.2em;
  width: 4px;
  border-radius: 2px;
  background: var(--color-accent);
}
.brand-card--void .brand-card-name::before   { background: #8f1cff; }
.brand-card--aim1 .brand-card-name::before   { background: #1d1d1f; }
.brand-card--vizard .brand-card-name::before { background: #ff6600; }

.brand-card-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin: 0 0 28px;
}
.brand-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border: 1.5px solid var(--color-dark);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  transition: background 0.2s, color 0.2s;
}
.brand-card-cta:hover { background: var(--color-dark); color: #fff; }

/* Products */
.brand-card-products {
  background: #f7f7f8;
  border-radius: var(--radius-md);
  padding: 36px;
}
.brand-card-products-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #737373;
  margin: 0 0 28px;
}
.brand-product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.brand-product-item { display: flex; flex-direction: column; gap: 14px; }
.brand-product-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #fff;
  border: 1px solid #e6e6ea;
}
.brand-product-img img { width: 100%; height: 100%; object-fit: cover; }
/* カスタムパーツ: 枠内を2×2の4分割で表示
   （minmax(0,1fr)で画像の固有サイズにトラックが広がるのを防ぐ） */
.brand-product-img--quad {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2px;
  background: #e6e6ea; /* 分割の目地 */
}
.brand-product-img--quad img { min-width: 0; min-height: 0; }
.brand-product-body { min-width: 0; }
.brand-product-name {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--color-dark);
}
.brand-product-name small { font-size: 13px; font-weight: 500; color: #737373; }
.brand-product-tagline {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.brand-product-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #555;
}

/* Bottom CTA */
.brand-bottom-cta {
  padding: 72px var(--px) 96px;
  background: #fafafa;
  border-top: 1px solid #ebebeb;
}
.brand-bottom-cta-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.brand-cta-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(32px, 4vw, 48px);
  background: #fff;
  border: 1.5px solid #e6e6ea;
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.brand-cta-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(233,30,118,0.08);
}
.brand-cta-card-label {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  border-radius: 6px;
  align-self: flex-start;
}
.brand-cta-card-body {
  font-size: 15px;
  margin: 0;
  color: var(--color-dark);
  flex: 1;
}
.brand-cta-card-arrow {
  align-self: flex-end;
  font-size: 20px;
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .brand-card-header { grid-template-columns: 1fr; gap: 32px; }
  .brand-card-logo { width: 120px; }
  .brand-product-list { grid-template-columns: repeat(2, 1fr); }
  .brand-bottom-cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .brand-card { padding: 48px 0; gap: 40px; }
  .brand-card-products { padding: 24px; }
  .brand-product-list { grid-template-columns: 1fr; }
  .brand-cta-card { padding: 28px; }
}

/* ============================================================
   RESPONSIVE — SP 総合調整
   ============================================================ */
@media (max-width: 768px) {

  /* ブランド一覧ヒーロー: 「を」を「デザインし続ける」に繋げて最大3行に */
  .brand-hero-title br { display: none; }
  .brand-hero-title .bhero-tail { white-space: nowrap; }
  /* SPはピンク帯が1行に収まるよう一回り小さく（全体2行） */
  .brand-hero-title { font-size: clamp(24px, 7.2vw, 32px); }

  /* 記事ヒーロー: トップのNewsカードと同じ幅（コンテンツ幅の80%）に */
  .article-hero {
    width: calc((100% - 2 * var(--px)) * 0.8);
    margin-top: calc(var(--header-h) + 16px);
  }

  /* 記事コンテナ: テキスト幅もNewsカードと同等に */
  .article-container {
    width: calc((100% - 2 * var(--px)) * 0.8);
    padding: clamp(16px, 3vw, 28px) 0;
    margin: 0 auto;
  }

  /* 記事本文テキスト: モバイルは12px（記事ページ標準） */
  .article-body { font-size: 12px; }
  .article-container--top { padding-top: calc(var(--header-h) + 20px); }
  .article-title { font-size: clamp(1.3rem, 5vw, 2rem); }

  /* ニュース一覧フィルター */
  .news-page-filters-inner { gap: 10px; }
  /* 右側はV字アイコンぶんの余白を確保（テキストと被らないように） */
  .filter-select { font-size: 0.82rem; padding: 6px 26px 6px 10px; }

  /* ニュース一覧アイテム */
  .news-list-item { grid-template-columns: 204px 1fr; gap: 12px; padding: 18px 0; }
  .news-list-title { font-size: 0.875rem; }

  /* ページネーション */
  .news-pagination { padding: 28px var(--px) 48px; gap: 4px; }
  .news-pagination .page-numbers { min-width: 34px; height: 34px; font-size: 0.8rem; }

  /* コラボヒーロータイトル */
  .collab-hero-title { font-size: clamp(36px, 10vw, 56px); }
  .collab-hero { padding: clamp(80px, 12vw, 140px) var(--px) clamp(48px, 8vw, 80px); }

  /* コラボ featured カード */
  .collab-featured-card,
  .collab-featured-card--reverse { padding: 24px var(--px); gap: 24px; }
  .collab-featured-title { font-size: clamp(1.3rem, 5vw, 2rem); }

  /* コラボアーカイブフィルター */
  .collab-filter-bar { flex-wrap: wrap; gap: 8px; }

  /* ブランドフィーチャー X リンク */
  .brand-feature-links { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* ブランドページ X リンク */
  .brand-card-links { flex-wrap: wrap; gap: 10px; }

  /* ストア SNS グリッド */
  .sns-grid { gap: 20px; }
  .sns-icon { width: 56px; height: 56px; }
  .sns-label { font-size: 0.72rem; }

  /* 採用メッセージ */
  .rp-message-title { font-size: clamp(1.2rem, 4.5vw, 1.8rem); }
  .rp-deck-embed iframe { height: 220px; }

  /* チームページ */
  .member-bio { font-size: 0.875rem; line-height: 1.8; }

  /* page-hero テキスト */
  .page-hero-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .page-hero-tagline { font-size: 0.82rem; }

  /* フッター */
  .footer-social { justify-content: center; }
}

@media (max-width: 480px) {

  /* ニュース一覧: サムネなしに切り替え */
  .news-list-item { grid-template-columns: 186px 1fr; gap: 10px; padding: 14px 0; }

  /* コラボグリッド: 2列維持 */
  .collab-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* コラボ featured: フルパディング縮小 */
  .collab-featured-card,
  .collab-featured-card--reverse { padding: 20px; }

  /* ストア SNS */
  .sns-grid { gap: 16px; }
  .sns-icon { width: 48px; height: 48px; }

  /* ブランドグリッド（トップページ）*/
  .brands-grid-inner { gap: 10px; padding: 0 10px 10px; }
}

/* ============================================================
   TOP PAGE — 2026 REDESIGN
   ============================================================ */

/* ── Header M mark ── */
.logo-img--mark { height: 26px; }

/* ── Hero watermark: pink M, right-bottom（右・下で見切れる） ── */
.hero-wm {
  top: auto;
  bottom: -4vw;
  right: -11vw;
  transform: none;
  width: 45vw;
  opacity: 0.07;
}

/* ── Shared: centered section title ── */
.top-section-title {
  text-align: center;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

/* ── Shared: more / learn more link ── */
.top-more-link {
  display: block;
  width: max-content;
  margin: clamp(28px, 4vw, 44px) auto 0;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s;
}
@media (hover: hover) {
  .top-more-link:hover { color: var(--color-accent); }
}

/* ── 背景を遊泳するドット（全ページ共通・JS生成） ──
   ページ全長に絶対配置し、要素の背面（z-index: -1）で遊泳する。
   スクロールには追従せず、ページの各深さに配置されたドットが順に現れる。 */
.bg-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  will-change: transform;
}
/* FV用：sticky なFVビジュアル内に配置してスクロールに追従させる
   （position:sticky が独自のスタッキング文脈を作るため、
     z-index:-1 でもFVコンテンツの背面・背景の手前に収まる） */
.bg-dots--fv {
  inset: 0;
  height: 100%;
}

/* ── Shared: section decoration（Rectangle Group アセット） ──
   大きさはFVの2個組（.hero-duo: 52px / モバイル40px）とサイト内で統一 */
.deco-px {
  position: absolute;
  display: block;
  width: 52px;
  height: auto;
  pointer-events: none;
}
.deco-px img {
  display: block;
  width: 100%;
  height: auto;
}
.deco-px--flip { transform: scaleX(-1); }
/* 単体オブジェクトはFVの.hero-soloと同じ44px */
.deco-px--solo { width: 44px; }

/* ============================================================
   TOP — NEWS
   ============================================================ */
.top-news {
  background: #f5f5f6;
  padding: var(--py) var(--px);
  /* FVの装飾より前面に重ねて、境界での被りを確実に防ぐ */
  position: relative;
  z-index: 1;
}
.top-news-inner {
  max-width: 1080px;
  margin: 0 auto;
}
/* カードグリッド（画像 + 日付/タグ + タイトル） */
.top-news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
}

.top-news-link {
  display: block;
  transition: opacity 0.2s;
}

.top-news-thumb {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #e8e8ea;
}
.top-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.top-news-link:hover .top-news-thumb img { transform: scale(1.05); }
/* ホバー時はテキストをグレーに */
.top-news-link:hover .top-news-title,
.top-news-link:hover .top-news-date { color: #a1a1a1; }

.top-news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.top-news-date {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  flex-shrink: 0;
  transition: color 0.2s;
}
.top-news-tag {
  display: inline-block;
  background: #000000; /* ニュース */
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 2px 0;
  min-width: 82px;
  text-align: center;
  letter-spacing: 0.06em;
  border-radius: 3px;
  flex-shrink: 0;
}
.top-news-tag--event   { background: #ff0062; } /* イベント */
.top-news-tag--release { background: #0066cc; } /* リリース */

.top-news-title {
  margin-top: 10px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  transition: color 0.2s;
  /* 読点・約物の右スペースを詰めるカーニング */
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

/* もっと読む / 詳しくはこちら 等のCTA（テキストに被るサークル + 貫通矢印）
   ・円はテキスト右端に被り、テキスト側の円弧を大きく欠けさせて余白を確保
   ・矢印は通常やや右に離れて待機し、ホバー/クリックで左へスライドして定位置へ
   ・塗りつぶし時: 円の上に乗る部分（テキスト末尾・矢印の尻）だけ白、円の外は黒 */
.top-more-link--arrow {
  display: flex; /* width: max-content + margin auto で中央揃えを維持 */
  align-items: center;
  border-bottom: none;
  padding-bottom: 0;
  position: relative;
  z-index: 0; /* 円をテキストの背面(z:-1)に置くための文脈 */
  color: var(--color-accent);
  font-weight: 700;
  transition: color 0.25s ease;
}
/* 日本語ラベル（もっと読む 等） */
.top-more-link--ja {
  font-family: var(--font-ja);
  letter-spacing: 0.02em;
}
/* セクションヘッダー内などに置くインライン配置（中央寄せマージンを打ち消す） */
.top-more-link--inline {
  margin: 0;
}
/* SPでは右端に寄るため、はみ出す矢印ぶんの余白を確保して見切れを防ぐ */
@media (max-width: 768px) {
  .top-more-link--inline {
    margin-right: 18px;
  }
}
/* ラベル: 円(z:-1)より前面のレイヤーに載せる（塗り分け背景もここに描く） */
.cta-label {
  position: relative;
  z-index: 1;
}
/* サークル本体: テキスト背面の正円。通常は透明で、ホバー/クリック時に塗りつぶし */
.cta-circ {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  margin-left: -12px; /* テキストに少し被せる */
  z-index: -1;        /* テキストが円の上に乗る */
  border-radius: 50%;
  transition: background 0.25s ease;
}
/* リング（線の円）: テキスト側（左）を約100°欠けさせて、テキスト周りに余白を見せる */
.cta-circ::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  -webkit-mask: conic-gradient(#000 0deg 220deg, transparent 220deg 320deg, #000 320deg 360deg);
  mask: conic-gradient(#000 0deg 220deg, transparent 220deg 320deg, #000 320deg 360deg);
  transition: opacity 0.25s ease;
}
/* 貫通矢印（親要素基準）: 通常は12px右に離れて待機 → ホバーで左へスライド */
.top-more-link--arrow::before,
.store-banner-link::before,
.brand-circle-more::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -12px;
  width: 34px;
  height: 1px;
  background: currentColor;
  transform: translateX(12px);
  transition: transform 0.3s var(--ease-out), background 0.25s ease;
}
.top-more-link--arrow::after,
.store-banner-link::after,
.brand-circle-more::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -12px;
  width: 8px;
  height: 1px;
  background: currentColor;
  transform-origin: right bottom;
  transform: translateX(12px) rotate(51deg); /* icon-arrow.svgと同じ返し角度 */
  transition: transform 0.3s var(--ease-out), background 0.25s ease;
}
/* 塗りつぶし状態（ホバー=PC / クリック・タップ=共通）:
   円上に乗る部分だけ白、円の外は黒（テキストはbackground-clipで塗り分け） */
@media (hover: hover) {
  .top-more-link--arrow:hover { color: var(--color-dark); }
  .top-more-link--arrow:hover .cta-label {
    background: linear-gradient(90deg, var(--color-dark) 0 calc(100% - 12px), #fff calc(100% - 12px));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .top-more-link--arrow:hover .cta-circ { background: var(--color-accent); }
  .top-more-link--arrow:hover .cta-circ::before { opacity: 0; }
  .top-more-link--arrow:hover::before {
    background: linear-gradient(90deg, #fff 0 22px, var(--color-dark) 22px);
    transform: translateX(0);
  }
  .top-more-link--arrow:hover::after {
    background: var(--color-dark);
    transform: translateX(0) rotate(51deg);
  }
}
.top-more-link--arrow:active { color: var(--color-dark); }
.top-more-link--arrow:active .cta-label {
  background: linear-gradient(90deg, var(--color-dark) 0 calc(100% - 12px), #fff calc(100% - 12px));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.top-more-link--arrow:active .cta-circ { background: var(--color-accent); }
.top-more-link--arrow:active .cta-circ::before { opacity: 0; }
.top-more-link--arrow:active::before {
  background: linear-gradient(90deg, #fff 0 22px, var(--color-dark) 22px);
  transform: translateX(0);
}
.top-more-link--arrow:active::after {
  background: var(--color-dark);
  transform: translateX(0) rotate(51deg);
}

/* ============================================================
   TOP — ANDGAMER STORE（フルブリードバナー）
   ============================================================ */
.top-store {
  padding: var(--py) 0;
  overflow: hidden;
}

.store-banner {
  position: relative;
  display: block;
  height: 530px; /* 背景画像は大きさ固定 */
  overflow: hidden;
}
.store-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* 黒の透過を重ねて暗くし、白テキストとのコントラストを確保 */
.store-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.store-banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: clamp(48px, 5vw, 76px) clamp(24px, 8vw, 160px) clamp(40px, 4.5vw, 64px);
  color: #fff;
}
/* ロゴのリンクはホバーアニメーションなし（遷移のみ） */
.store-banner-logo-link { display: block; }
.store-banner-logo {
  display: block;
  height: clamp(34px, 3.7vw, 62px);
  width: auto;
  filter: brightness(0) invert(1); /* ロゴを白に */
}
/* ロゴ直下の所在地テキスト（営業時間と同じカラー） */
.store-banner-tagline {
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
/* 営業時間は少しグレーにして優先度を下げる */
.store-banner-hours {
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}
.store-banner-desc {
  margin-top: clamp(40px, 4.5vw, 66px);
  font-size: 0.875rem;
  line-height: 2;
  color: #fff;
}
.store-banner-link {
  display: flex;
  align-items: center;
  width: max-content;
  margin-top: auto; /* CTAはバナー下部へ */
  position: relative;
  z-index: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  transition: color 0.25s ease;
}
/* 他CTAと同じく、ホバー/クリック時はリングを消して正円をピンク塗りつぶし */
@media (hover: hover) {
  .store-banner-link:hover { color: #fff; } /* 暗い写真背景・ピンク円の両方で読める白へ */
  .store-banner-link:hover .cta-circ { background: var(--color-accent); }
  .store-banner-link:hover .cta-circ::before { opacity: 0; }
  .store-banner-link:hover::before { transform: translateX(0); }
  .store-banner-link:hover::after { transform: translateX(0) rotate(51deg); }
}
.store-banner-link:active { color: #fff; }
.store-banner-link:active .cta-circ { background: var(--color-accent); }
.store-banner-link:active .cta-circ::before { opacity: 0; }
.store-banner-link:active::before { transform: translateX(0); }
.store-banner-link:active::after { transform: translateX(0) rotate(51deg); }

/* テキスト幅いっぱいの線分+角度固定の返し（icon-arrow.svg と同じ形状）
   色は --arrow-color で文脈ごとに切り替え（既定はストアのピンク） */
.cta-line-arrow {
  --arrow-color: #ff0062;
  position: relative;
  display: block;
  width: 100%;
  height: 10px;
  margin-top: 2px;
  transition: transform 0.25s var(--ease-out);
}
.cta-line-arrow::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--arrow-color);
}
.cta-line-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 2px;
  background: var(--arrow-color);
  transform-origin: right bottom;
  transform: rotate(51deg); /* icon-arrow.svgと同じ上向き51°の返し */
}
.top-store-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: clamp(560px, 52vw, 680px);
}
.top-store-content {
  max-width: 400px;
  padding-top: clamp(8px, 2vw, 32px);
}
.top-store-title { margin-bottom: 18px; }
.top-store-logo {
  display: block;
  width: clamp(240px, 24vw, 340px);
  height: auto;
}
.top-store-desc {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text);
}

/* 丸写真 */
.top-store-circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}
.top-store-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.top-store-circle:hover img { transform: scale(1.06); }

.top-store-circle--front {
  width: clamp(150px, 17vw, 220px);
  height: clamp(150px, 17vw, 220px);
  top: 2%;
  left: 45%;
}
.top-store-circle--interior {
  width: clamp(170px, 20vw, 260px);
  height: clamp(170px, 20vw, 260px);
  top: 40%;
  left: 17%;
}
.top-store-circle--hands {
  width: clamp(150px, 18vw, 230px);
  height: clamp(150px, 18vw, 230px);
  top: 34%;
  right: 7%;
}

.deco-px--store-a { top: 20%; right: 24%; }
.deco-px--store-b { bottom: 8%; left: 32%; }

/* View more（セクション下部・中央） */
.top-more-link--store {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

/* ============================================================
   TOP — BRANDS（円形カードグリッド / Figma Section 7 準拠）
   ============================================================ */
.top-brands {
  position: relative;
  padding: var(--py) var(--px);
}
.top-brands .top-section-title { padding: 0 var(--px); }

/* イントロ（タイトルとアイコンの間） */
.top-brands-intro {
  max-width: 1080px;
  margin: 0 auto clamp(40px, 5vw, 72px);
}
.brands-intro-title {
  font-family: var(--font-ja);
  /* h3レベル（デスクトップ23px） */
  font-size: clamp(1.05rem, 1.5vw, 1.4375rem);
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.35em;
  flex-wrap: wrap;
  font-feature-settings: "palt";
}
.brands-intro-hl {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.12em 0.4em;
  border-radius: 10px;
}
.brands-intro-desc {
  margin-top: 16px;
  font-size: 0.8125rem;
  line-height: 2;
  color: var(--color-muted);
  font-feature-settings: "palt";
}

.top-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
  max-width: 1080px;
  margin: 0 auto;
}

.brand-cell {
  display: block;
  text-align: center;
}
/* テキストセル: 角丸のグレーボックス（クリック不可） */
.brand-cell--text {
  aspect-ratio: 7 / 5;
  border-radius: clamp(24px, 2.4vw, 40px);
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 2.5vw, 36px);
}
.brand-cell--text .top-brand-copy {
  color: var(--color-dark);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.5;
  margin-bottom: 8px;
}
.brand-cell--text .top-brand-desc {
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.7;
  max-width: 26em;
  margin: 0 auto;
}

.brand-circle {
  /* Rectangleアセットと同じ比率・角丸の長方形 */
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 5;
  margin: 0;
  border-radius: clamp(24px, 2.4vw, 40px);
  overflow: hidden;
  /* 角丸の外に描画が一切漏れないようハードクリップ */
  clip-path: inset(0 round clamp(24px, 2.4vw, 40px));
}
.brand-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.brand-cell:hover .brand-circle-img { transform: scale(1.05); }

/* 6マスを1つずつゆっくりフェードイン */
/* 遅延差はNewsカードのフェード（90ms刻み）と統一 */
.top-brands-grid .brand-cell:nth-child(2) { transition-delay: 0.09s; }
.top-brands-grid .brand-cell:nth-child(3) { transition-delay: 0.18s; }
.top-brands-grid .brand-cell:nth-child(4) { transition-delay: 0.27s; }
.top-brands-grid .brand-cell:nth-child(5) { transition-delay: 0.36s; }
.top-brands-grid .brand-cell:nth-child(6) { transition-delay: 0.45s; }

/* ロゴ視認用の薄い暗幕（ダーク写真の2ブランド） */
.brand-circle--void::before,
.brand-circle--vizard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  z-index: 1; /* ホバーで拡大した画像より常に前面 */
}
/* AIM1は白の透かしでロゴ・テキストの視認性を上げる */
.brand-circle--aim1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  z-index: 1; /* ホバーで拡大した画像より常に前面 */
}

.brand-circle-overlay {
  position: absolute;
  inset: 0;
  z-index: 2; /* 透かしよりさらに前面（ロゴ・view more） */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.brand-circle-logo {
  width: 55%;
  height: auto;
}
/* VIZARDロゴはダーク色なので白に反転 */
.brand-circle--vizard .brand-circle-logo { filter: brightness(0) invert(1); }

.brand-circle-more {
  /* ボックス下部のCTA（テキストに少し被るサークル + 貫通矢印）。
     通常＝白、セルにホバー/クリックで正円をピンク塗りつぶし */
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 0;
  font-family: var(--font-ja);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.25s ease;
  white-space: nowrap;
}
/* カードは小さめのサークル・短めの貫通線（円はテキスト側へ深めに被せる） */
.brand-circle-more .cta-circ { width: 30px; height: 30px; margin-left: -16px; }
.brand-circle-more::before { width: 26px; right: -10px; transform: translateX(10px); }
.brand-circle-more::after { right: -10px; width: 7px; transform: translateX(10px) rotate(51deg); }
/* AIM1 は背景写真がほぼ白のため、黒で視認性を確保 */
.brand-cell--aim1-v .brand-circle-more {
  color: var(--color-dark);
}
@media (hover: hover) {
  .brand-cell--visual:hover .brand-circle-more .cta-circ { background: var(--color-accent); }
  .brand-cell--visual:hover .brand-circle-more .cta-circ::before { opacity: 0; }
  .brand-cell--visual:hover .brand-circle-more::before { transform: translateX(0); }
  .brand-cell--visual:hover .brand-circle-more::after { transform: translateX(0) rotate(51deg); }
  /* AIM1（黒テキスト）: 円上に乗る部分だけ白に塗り分け */
  .brand-cell--aim1-v:hover .brand-circle-more .cta-label {
    background: linear-gradient(90deg, var(--color-dark) 0 calc(100% - 16px), #fff calc(100% - 16px));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .brand-cell--aim1-v:hover .brand-circle-more::before {
    background: linear-gradient(90deg, #fff 0 16px, var(--color-dark) 16px);
  }
  .brand-cell--aim1-v:hover .brand-circle-more::after { background: var(--color-dark); }
}
.brand-cell--visual:active .brand-circle-more .cta-circ { background: var(--color-accent); }
.brand-cell--visual:active .brand-circle-more .cta-circ::before { opacity: 0; }
.brand-cell--visual:active .brand-circle-more::before { transform: translateX(0); }
.brand-cell--visual:active .brand-circle-more::after { transform: translateX(0) rotate(51deg); }
.brand-cell--aim1-v:active .brand-circle-more .cta-label {
  background: linear-gradient(90deg, var(--color-dark) 0 calc(100% - 16px), #fff calc(100% - 16px));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-cell--aim1-v:active .brand-circle-more::before {
  background: linear-gradient(90deg, #fff 0 16px, var(--color-dark) 16px);
}
.brand-cell--aim1-v:active .brand-circle-more::after { background: var(--color-dark); }



/* ── ブランド詳細ポップアップ ── */
.brand-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.brand-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.brand-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 26, 0.6);
}
.brand-modal-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90svh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
  transform: translateY(14px);
  transition: transform 0.3s var(--ease-out);
}
.brand-modal.is-open .brand-modal-panel { transform: none; }
.brand-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--color-dark);
  transition: color 0.2s;
}
.brand-modal-close:hover { color: var(--color-accent); }
.brand-modal-visual .brand-circle {
  width: 100%;
  margin: 0 0 clamp(20px, 3vw, 28px);
}
.brand-modal-copy { margin-bottom: 12px; }
.brand-modal-desc { max-width: 30em; margin: 0 auto; }
.brand-modal-link { margin-top: clamp(20px, 3vw, 32px); }

/* 装飾オブジェクト */
.deco-px--brands-a { top: 10%; left: 12%; }
.deco-px--brands-b { top: 9%; right: 14%; }
/* グリッド下の白余白に配置（ピンクは左下、黒は右側でやや高め） */
.deco-px--brands-c { bottom: -40px; left: 6%; }
.deco-px--brands-d { bottom: -10px; left: auto; right: 17%; }

/* ブランド一覧ページ ヒーローの装飾（brand-hero は overflow:hidden のため内側に配置）
   配置はデザインキャプチャ準拠: 左上=黒グループ / 右上=ピンクグループ /
   左下=グレー単体 / 右中央=黒単体 */
.deco-px--bhero-a { top: 10%; left: 4%; }
.deco-px--bhero-b { top: 18%; right: 8%; }
.deco-px--bhero-c { bottom: 8%; left: 5%; }
.deco-px--bhero-d { top: 60%; left: auto; right: 18%; }

.top-brand {
  padding: clamp(56px, 7vw, 100px) var(--px);
}
.top-brand--void {
  background: var(--color-dark);
}

.top-brand-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.top-brand-logo {
  display: flex;
  justify-content: center;
}
.top-brand-logo img {
  width: 100%;
  max-width: clamp(220px, 28vw, 340px);
  height: auto;
}

.top-brand-copy {
  font-family: var(--font-ja);
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  font-feature-settings: "palt";
}
.top-brand-desc {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--color-muted);
}
.top-brand--void .top-brand-copy { color: #fff; }
.top-brand--void .top-brand-desc { color: rgba(255,255,255,0.65); }

.top-brand-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: max-content;
  margin: clamp(36px, 5vw, 60px) auto 0;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: color 0.2s;
}
.top-brand-more-arrow {
  color: var(--color-accent);
  font-size: 0.9rem;
  line-height: 1.3;
  transition: transform 0.25s var(--ease-out);
}
.top-brand-more:hover { color: var(--color-accent); }
.top-brand-more:hover .top-brand-more-arrow { transform: translateY(3px); }
.top-brand--void .top-brand-more { color: var(--color-accent); }

/* ============================================================
   TOP — ABOUT US
   ============================================================ */
.top-about {
  position: relative;
  padding: var(--py) var(--px);
  text-align: center;
  /* FVのようにスクリーン全面を使って表示 */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.top-about-inner {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

/* FVと同じ透過Mロゴ（右・下で見切れる） */
.top-about-wm {
  position: absolute;
  bottom: -4vw;
  right: -11vw;
  width: 45vw;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.top-about-wm img {
  display: block;
  width: 100%;
  height: auto;
}
/* 見出し→ロゴは大きめに空ける */
.top-about .top-section-title { margin-bottom: clamp(64px, 6.5vw, 125px); }

.top-about-logo {
  position: relative;
  display: inline-block;
  /* ロゴ→本文は詰める */
  margin-bottom: clamp(20px, 2.2vw, 42px);
}
.top-about-logo img {
  width: clamp(240px, 28vw, 420px);
  height: auto;
}
/* FVと同様の配置（黒2個組=右中段 / ピンク2個組=左下 / 黒単体=上中央右 / グレー単体=左中下） */
.deco-px--about-a    { top: 56%; left: 80%; }
.deco-px--about-b    { top: 82%; left: 21%; }
.deco-px--about-dark { top: 11%; left: 63%; }
.deco-px--about-gray { top: 62%; left: 10%; }

.top-about-desc {
  font-size: clamp(0.8125rem, 1.3vw, 0.9375rem);
  font-weight: 700;
  line-height: 2.2;
  color: var(--color-text);
  font-feature-settings: "palt";
}
/* 本文→learn more は大きめに空ける */
.top-more-link--about { margin-top: clamp(48px, 5.5vw, 105px); }

/* ============================================================
   TOP — MEGA FOOTER
   ============================================================ */
.footer-mega {
  background: var(--color-dark);
  padding: clamp(48px, 6vw, 88px) var(--px) 28px;
}
.footer-mega-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 80px);
}
.footer-mega-nav {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  /* ナビ全体はやや中央寄り、右のロゴブロックは右端へ */
  margin-left: clamp(0px, 9vw, 130px);
}
.footer-mega-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-mega-heading {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
a.footer-mega-heading:hover { color: var(--color-accent); }
span.footer-mega-heading { cursor: default; }

.footer-mega-group ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
  padding-left: 14px;
}
.footer-mega-group ul a {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #fff;
  transition: color 0.2s;
}
.footer-mega-group ul a:hover { color: rgba(255,255,255,0.5); }

/* SNS column */
.footer-sns-group { padding-left: 14px; }
.footer-sns-group + .footer-sns-group { margin-top: 16px; }
.footer-mega-col > .footer-sns-group:first-of-type { margin-top: -4px; }
.footer-sns-name {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
}
.footer-sns-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.footer-sns-icons a {
  display: inline-flex;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-sns-icons a:hover { opacity: 1; transform: translateY(-1px); }

/* 非アクティブなSNSアイコン */
.footer-sns-icons a.is-inactive,
.footer-sns-icons a.is-inactive:hover {
  opacity: 0.3;
  transform: none;
  pointer-events: none;
  cursor: default;
}
.footer-sns-icons img {
  height: 15px;
  width: auto;
  display: block;
}
/* LINEはSVG内部の余白が大きい（グリフ=枠の約60%）ため、
   Instagram等と見た目の大きさが揃うよう一回り大きく描画する */
.footer-sns-icons img[src*="sns-line"] { height: 24px; }

/* Right: logo + follow */
.footer-mega-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.footer-mega-logo img {
  width: clamp(110px, 10vw, 144px);
  height: auto;
  display: block;
  transition: opacity 0.2s;
}
.footer-mega-logo:hover img { opacity: 0.8; }
.footer-follow-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-top: 22px;
}
.footer-sns-icons--follow { margin-top: 14px; gap: 18px; }
.footer-sns-icons--follow img { height: 20px; }
.footer-sns-icons--follow img[src*="sns-line"] { height: 30px; }
/* Discord公式シンボルは横長のため、高さを抑えて他と光学的に揃える */
.footer-sns-icons--follow img[src*="Discord"] { height: 16px; }

/* Language 列 */
/* ── 言語切り替えは一時非表示 ──
   翻訳版の公開時にこのブロックを削除して復元する。
   対象: ヘッダーの地球儀 / SPメニューのJP-ENトグル / フッターのLanguage列 */
.lang-switch,
.mobile-lang,
.footer-lang { display: none !important; }

.footer-lang {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
}
.footer-lang-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.footer-lang-label svg { display: block; }
.footer-lang a {
  font-size: 0.8rem;
  color: #fff;
  padding-left: 22px;
  transition: color 0.2s;
}
.footer-lang a:hover { color: rgba(255,255,255,0.5); }

.footer-mega .footer-copy {
  max-width: 1320px;
  margin: clamp(40px, 5vw, 72px) auto 0;
  text-align: right;
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
}

/* ============================================================
   TOP PAGE — RESPONSIVE
   ============================================================ */
/* ── タブレット（〜1024px）── */
@media (max-width: 1024px) {

  /* Footer: ナビの左寄せ量を縮小し、列間を詰める */
  .footer-mega-nav {
    margin-left: 0;
    gap: clamp(20px, 3vw, 40px);
  }
  .footer-mega-logo img { width: clamp(96px, 11vw, 130px); }

  /* Store: 丸写真を少し小さく */
  .top-store-circle--front    { width: clamp(130px, 16vw, 190px); height: clamp(130px, 16vw, 190px); }
  .top-store-circle--interior { width: clamp(150px, 19vw, 220px); height: clamp(150px, 19vw, 220px); }
  .top-store-circle--hands    { width: clamp(130px, 17vw, 200px); height: clamp(130px, 17vw, 200px); }
}

/* ── タブレット縦・大きめスマホ（〜900px）── */
@media (max-width: 900px) {

  /* Store: 丸写真をフロー配置に */
  .top-store-inner {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .top-store-content {
    flex-basis: 100%;
    max-width: none;
    margin-bottom: 8px;
  }
  /* View more はフロー配置に戻して中央へ */
  .top-more-link--store {
    position: static;
    transform: none;
    margin: 8px 0 0;
    flex-basis: 100%;
    align-items: center;
  }
  .top-store-circle--front,
  .top-store-circle--interior,
  .top-store-circle--hands {
    position: static;
    width: min(38vw, 240px);
    height: min(38vw, 240px);
  }
  .deco-px--store-a, .deco-px--store-b { display: none; }

  /* Brands: 2列の市松配置を維持 */
  .top-brands-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .brand-cell--aim1-v   { order: 1; }
  .brand-cell--aim1-t   { order: 2; }
  .brand-cell--void-t   { order: 3; }
  .brand-cell--void-v   { order: 4; }
  .brand-cell--vizard-v { order: 5; }
  .brand-cell--vizard-t { order: 6; }
  .brand-cell--text .top-brand-copy { font-size: 0.9rem; }
  .brand-cell--text .top-brand-desc { font-size: 0.7rem; line-height: 1.8; }
  .top-brand-desc { max-width: 34em; margin: 0 auto; }

  /* Footer: 縦積み。ナビ2列 → 下にロゴブロックを中央配置 */
  .footer-mega {
    /* デバイス幅に応じた左右均等マージン */
    padding-left: clamp(20px, 8vw, 72px);
    padding-right: clamp(20px, 8vw, 72px);
  }
  .footer-mega-inner { flex-direction: column; align-items: stretch; gap: 44px; }
  /* テキストの塊をコンテンツ幅で中央寄せ → どのデバイスでも左右マージンが均等 */
  .footer-mega-nav {
    grid-template-columns: auto auto;
    gap: 32px clamp(40px, 14vw, 110px);
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
  }
  /* 左列: ニュース/ストア情報 → ブランド → SNS、右列: 会社概要ほか → Language */
  .footer-mega-col:nth-child(1) { grid-column: 1; grid-row: 1; }
  .footer-mega-col:nth-child(2) { grid-column: 1; grid-row: 2; }
  .footer-mega-col:nth-child(3) { grid-column: 1; grid-row: 3; }
  .footer-mega-col:nth-child(4) { grid-column: 2; grid-row: 1 / span 2; }
  .footer-mega-col:nth-child(5) { grid-column: 2; grid-row: 3; align-self: center; }
  .footer-mega-brand { align-items: center; order: 0; }
  .footer-mega .footer-copy { text-align: center; margin-top: 40px; }
}

/* ── スマホ（〜768px）── */
@media (max-width: 768px) {

  /* フッターSNS: ナビ2列の下に全幅で置き、2×2配置（左列=Store→AIM1 / 右列=Void→VIZARD） */
  .footer-mega-col:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(28px, 9vw, 56px);
    row-gap: 24px;
  }
  .footer-mega-col:nth-child(3) > .footer-mega-heading { grid-column: 1 / -1; margin-bottom: 0; }
  .footer-mega-col:nth-child(3) .footer-sns-group { margin-top: 0; }
  .footer-mega-col:nth-child(3) .footer-sns-group:nth-of-type(1) { grid-area: 2 / 1; } /* AndGAMER Store */
  .footer-mega-col:nth-child(3) .footer-sns-group:nth-of-type(2) { grid-area: 3 / 1; } /* AIM1 */
  .footer-mega-col:nth-child(3) .footer-sns-group:nth-of-type(3) { grid-area: 2 / 2; } /* Void Gaming */
  .footer-mega-col:nth-child(3) .footer-sns-group:nth-of-type(4) { grid-area: 3 / 2; } /* VIZARD CLUB */
  /* グループ名を1行に収めて、左右のアイコンの高さを揃える */
  .footer-mega-col:nth-child(3) .footer-sns-name { font-size: 0.72rem; white-space: nowrap; }

  /* Brands: SPは画像セルのみ縦1列に（テキストセルは非表示） */
  .top-brands-grid { grid-template-columns: 1fr; gap: 18px; }
  .brand-cell--text { display: none; }
  .brand-cell--aim1-v   { order: 1; }
  .brand-cell--void-v   { order: 2; }
  .brand-cell--vizard-v { order: 3; }

  /* Header: ブランドシンボルを少し詰める */
  .header-brands {
    gap: 14px;
    margin-left: 16px;
  }
  /* SPは横長ロゴタイプだと収まらないため、従来のマークロゴに切り替える */
  .header-brand-img--void,
  .header-brand-img--aim1,
  .header-brand-img--vizard { display: none; }
  .header-brand-mark { display: block; }
  .header-brand-mark--void   { height: 15px; }
  .header-brand-mark--aim1   { height: 10px; }
  .header-brand-mark--vizard { height: 12px; }

  /* Hero: キャプチャ準拠の再配置（3枚とも同サイズ・42vwの0.8倍） */
  .hero-float--tl {
    width: 33.5vw;
    left: 3%;
    top: 21%;
  }
  .hero-float--tr {
    width: 33.5vw;
    top: 5%;
    right: -4vw;
  }
  .hero-float--bc {
    width: 33.5vw;
    left: 5%;
    right: auto;
    bottom: 4%;
  }
  /* 画像の角丸はモバイルでは小さめに */
  .hero-float > img:not(.hero-chip) { border-radius: 12px; }
  .hero-wm {
    width: 82vw;
    right: -26vw;
    bottom: -8vw;
    opacity: 0.07;
  }
  /* オブジェクトはR≈4になるサイズに統一 */
  .hero-chip--pink { width: 28px; right: -12px; bottom: -5px; }
  .hero-chip--gray { display: none; } /* モバイルは右側の単体グレーに置き換え */
  .hero-duo { width: 38px; }
  .hero-duo--top { top: 28%; left: auto; right: 8%; }
  .hero-duo--bottom { top: 67%; left: 14%; }
  .duo-desktop,
  .hero-duo img.duo-desktop,
  .deco-px img.duo-desktop { display: none; }
  .duo-mobile,
  .hero-duo img.duo-mobile,
  .deco-px img.duo-mobile { display: block; }
  .hero-solo { width: 26px; }
  .hero-solo--dark { display: none; }
  .hero-solo--gray { top: 86%; left: auto; right: 14%; }
  /* 「スポーツ」「遊び」のピンク帯はR=5 */
  .hero-stmt-hl { border-radius: 5px; }
  .hero-tagline { padding: 0 var(--px); }
  .hero-logo-img { height: auto; width: min(80vw, 320px); }

  /* セクション装飾もFVと同じくモバイルは40pxに統一 */
  .deco-px { width: 40px; }

  /* News: カードを縦積み。画像・テキストの横幅は0.8倍で中央寄せ、
     日付+タグは画像と左揃え */
  .top-news-list { grid-template-columns: 1fr; gap: 32px; }
  .top-news-link { width: 80%; margin: 0 auto; }

  /* 他セクションのテキストもNewsと同じ80%幅に統一 */
  .top-store-content { flex-basis: 80%; width: 80%; margin: 0 auto; }
  .top-store-logo { margin: 0 auto; } /* Storeロゴは画面中央 */
  .top-brand-text { width: 80%; margin: 0 auto; }
  .top-about-desc { width: 80%; margin-left: auto; margin-right: auto; }

  /* About: MロゴはFVモバイルと同じ見え感 */
  .top-about-wm {
    width: 82vw;
    right: -26vw;
    bottom: -8vw;
  }
  /* About: オブジェクトもFVモバイルと同じ配置・サイズ */
  .deco-px--solo { width: 26px; }
  .deco-px--about-dark { display: none; }
  .deco-px--about-gray { top: 86%; left: auto; right: 14%; }
  .deco-px--about-a { top: 28%; left: auto; right: 8%; }
  .deco-px--about-b { top: 67%; left: 14%; }

  /* Store: バナー高さはモバイルで少し抑える */
  .store-banner { height: 480px; }

  /* Store: 見出しまわりの余白を圧縮 */
  .top-store-content { padding-top: 0; }
  .top-store-desc br { display: none; }

  /* About */
  .top-about-desc br { display: none; }
  .top-about-logo img { width: clamp(220px, 62vw, 320px); }
}

/* ── タブレット縦（561〜768px）: Newsは画像左・テキスト右の横型カード ── */
@media (min-width: 561px) and (max-width: 768px) {
  .top-news-link {
    width: 100%;
    display: grid;
    grid-template-columns: 46% 1fr;
    column-gap: 24px;
    align-items: start;
  }
  .top-news-thumb { grid-row: 1 / span 2; }
  .top-news-meta {
    justify-content: flex-start;
    margin-top: 4px;
  }
  .top-news-title { margin-top: 6px; }
}

/* ── 小型スマホ（〜560px）── */
@media (max-width: 560px) {

  /* News: メタ情報を詰める */
  .top-news-date { min-width: 0; }
  .top-news-tag { min-width: 72px; font-size: 0.6rem; }
  .top-news-title { font-size: 0.8rem; }

  /* Store: 丸写真は1〜2枚/行で大きめに */
  .top-store-circle--front,
  .top-store-circle--interior,
  .top-store-circle--hands {
    width: min(58vw, 240px);
    height: min(58vw, 240px);
  }

  /* Brands */
  .top-brand-logo img { max-width: min(72vw, 260px); }
  .top-brand-copy { font-size: 1rem; }


  /* Footer: 2列を維持しつつ間隔を圧縮 */
  .footer-mega { padding-bottom: 24px; }
  .footer-mega-nav { gap: 28px clamp(28px, 10vw, 56px); }
  .footer-mega-logo img { width: 96px; }
  .footer-sns-icons { gap: 12px; }
  .footer-sns-icons--follow { gap: 16px; }
}
