/* ============================================================
   R&G CREATE — public site
   pitch black + neon green
   ============================================================ */
:root {
  --rg-black: #050505;
  --rg-black-2: #0a0a0a;
  --rg-black-3: #101010;
  --rg-line: #222222;
  --rg-line-soft: #171717;
  --rg-green: #2cfa27;
  --rg-green-dim: #22e622;
  --rg-white: #ffffff;
  --rg-gray: #8a8a8a;
  --rg-gray-2: #5c5c5c;
  --rg-radius: 12px;
  --rg-pill: 999px;
  --rg-max: 1320px;
  --rg-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.rg-body {
  margin: 0;
  background: var(--rg-black);
  color: var(--rg-white);
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  font-feature-settings: 'palt' 1;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.rg-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* film-grain overlay */
.rg-noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .045; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ header ============ */
.rg-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 3vw, 38px);
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rg-line-soft);
  transition: background .3s var(--rg-ease), border-color .3s var(--rg-ease);
}
.rg-header.is-scrolled { background: rgba(5,5,5,.95); border-bottom-color: var(--rg-line); }

.rg-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.rg-brand-mark { display: grid; place-items: center; }
.rg-brand-mark img { width: 40px; height: 40px; border-radius: 10px; }
.rg-brand-text { display: flex; align-items: baseline; gap: 5px; line-height: 1; }
.rg-brand-name {
  font-family: 'Bebas Neue', 'Inter', sans-serif; font-size: 22px;
  letter-spacing: .11em; color: var(--rg-white);
}
.rg-brand-sub {
  font-size: 9px; letter-spacing: .34em; color: var(--rg-green);
  font-weight: 800;
}

.rg-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.rg-nav-link {
  position: relative; padding: 9px 15px; border-radius: var(--rg-pill);
  font-size: 13px; font-weight: 600; color: #b9b9b9;
  transition: color .2s, background .2s;
}
.rg-nav-link:hover { color: var(--rg-white); background: #141414; }
.rg-nav-link.is-active { color: var(--rg-white); }
.rg-nav-link.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 16px; height: 2px; background: var(--rg-green); border-radius: 2px;
}

.rg-header-actions { display: flex; align-items: center; gap: 10px; }

.rg-btn-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 19px; border-radius: var(--rg-pill);
  background: var(--rg-green); color: #041004;
  font-size: 13px; font-weight: 800; letter-spacing: .01em;
  transition: transform .2s var(--rg-ease), box-shadow .25s, background .2s;
  box-shadow: 0 0 0 rgba(44,250,39,0);
}
.rg-btn-pill:hover {
  transform: translateY(-1px);
  background: #46ff40;
  box-shadow: 0 6px 26px rgba(44,250,39,.32);
}

.rg-menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 10px; cursor: pointer;
  background: #111; border: 1px solid var(--rg-line); border-radius: 9px;
}
.rg-menu-toggle span { display: block; height: 1.5px; background: #ddd; transition: transform .25s, opacity .2s; }
.rg-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
.rg-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.rg-mobile-nav {
  display: none; position: fixed; inset: 68px 0 auto; z-index: 55;
  background: rgba(5,5,5,.98); border-bottom: 1px solid var(--rg-line);
  padding: 8px 20px 20px; flex-direction: column;
}
.rg-mobile-nav.is-open { display: flex; }
.rg-mobile-nav a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 15px 4px; border-bottom: 1px solid #141414;
}
.rg-mobile-latin {
  font-family: 'Bebas Neue', sans-serif; font-size: 11px;
  letter-spacing: .26em; color: var(--rg-gray-2); min-width: 82px;
}
.rg-mobile-jp { font-size: 15px; font-weight: 700; color: #e8e8e8; }
.rg-mobile-nav a.is-active .rg-mobile-jp { color: var(--rg-green); }

/* ============ hero ============ */
/* ---- 映像に暗幕・シャドウ・色かぶせは一切しない ----
   以前は filter で映像全体を暗くしていた（明度 72% + 彩度 106%）が、
   「動画の前に影がかかっている」という指摘のため完全に撤去した。
   映像は素の明るさで表示し、文字の可読性はテキスト側の text-shadow で担保する。

   --rg-hero-crop   : 映像の拡大率。1 = 等倍（拡大しない）。
   --rg-hero-shift  : 映像を上下へずらす量。0% = ずらさない。
   以前は焼き込み字幕・操作バーをフレーム外へ追い出すために 1.22 / 7% に
   していたが、「動画をアップしすぎ」との指摘で等倍（1 / 0%）へ戻した。 */
.rg-hero {
  position: relative; overflow: hidden;
  /* ヒーローの実高さ（ビューポート高さ − sticky ヘッダー 68px）。
     100svh はモバイルのアドレスバー伸縮で高さが暴れない小さい方の値。
     埋め込み映像の cover 計算は必ずこの変数を基準にする。
     以前は min-width: 177.78vh と「ビューポート全体の高さ」を基準にして
     いたため、ヘッダー 68px の分だけ映像が余計に拡大され、
     さらに 16:9 の比率からも外れて横に伸びていた。 */
  --rg-hero-h: calc(100svh - 68px);
  min-height: var(--rg-hero-h);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #070707;
  border-bottom: 1px solid var(--rg-line-soft);
  /* 等倍表示。映像を拡大しない（1 / 0%）。
     拡大すると被写体がアップになりすぎるため撤去した。 */
  --rg-hero-crop: 1;
  --rg-hero-shift: 0%;
}
.rg-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.rg-hero-media video,
.rg-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--rg-hero-crop)) translateY(var(--rg-hero-shift));
  transform-origin: center center;
}
/* YouTube / Vimeo を背景全面に敷く（16:9を画面いっぱいに拡大） */
.rg-hero-embed {
  position: absolute; top: 50%; left: 50%;
  /* 16:9 をコンテナへ「cover するのに必要な最小サイズ」で敷く。
       幅 = max(コンテナ幅, ヒーロー高さ × 16/9)
       高 = max(ヒーロー高さ, 画面幅 × 9/16)
     こうすると拡大は cover に必要な分だけになり、縦横比も崩れない。
     （以前の width:100vw / height:56.25vw / min-width:177.78vh は
       ヘッダー 68px を無視していたため 6〜8% 余計に拡大されていた） */
  width: max(100%, calc(var(--rg-hero-h) * 1.77778));
  height: max(var(--rg-hero-h), calc(100vw * 0.5625));
  /* 中央寄せのまま等倍で敷く（拡大も下方向シフトもしない）。
     画面比率と 16:9 の差だけが cover で切り取られる＝自然な大きさ。
     操作バー・字幕は scale ではなく
     controls=0 / cc_load_policy=0 / unloadModule('captions') と
     起動時ベールで抑止する。 */
  transform: translate(-50%, -50%) scale(var(--rg-hero-crop)) translateY(var(--rg-hero-shift));
  transform-origin: center center;
  border: 0; pointer-events: none;
}

/* ---- 起動時のベール（再生マーク・タイトルバー・操作バーを隠す）----
   controls=0 を指定していても、YouTube は「読み込み直後」と
   「自動再生が一度でも弾かれた瞬間」に
   ① 中央の大きな再生ボタン
   ② 上部のタイトルバー（動画タイトル＋チャンネル名）
   ③ 下部の操作バー（一時停止 / CC / 速度）
   を前面に出す。埋め込み側では消せない。

   対策: 再生が始まるまで【ポスター画像】で覆う。
   ★ 時間経過で剥がしてはいけない。
      以前は CSS アニメーション 2.6 秒 / JS 3 秒で必ず剥がしていたため、
      自動再生が始まっていない状態で幕が消え、上記 UI が露出していた。
      現在は「プレイヤーから再生中の通知が来た時だけ」剥がす。
      （site.js が playerState === 1 を受けて .is-hidden を付与）
   再生できない環境（自動再生ブロック等）ではポスター画像のまま留まる。 */
.rg-hero-veil {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden; background: #070707;
  opacity: 1;
  transition: opacity .8s var(--rg-ease);
  pointer-events: none;
}
/* 幕の中身はヒーロー映像と同じ敷き方（cover）にして、
   剥がれたときに構図がずれないようにする。 */
.rg-hero-veil-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transform: scale(var(--rg-hero-crop)) translateY(var(--rg-hero-shift));
  transform-origin: center center;
}
/* 幕を開けた状態。opacity だけを 0 にする。
   （visibility は使わない。再生が止まったときに再び閉じ直すため、
     いつでも滑らかに戻せる必要がある。pointer-events は常に none。） */
.rg-hero-veil.is-hidden { opacity: 0; }

.rg-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--rg-max); margin: 0 auto;
  padding: clamp(40px, 9vh, 92px) clamp(18px, 4vw, 44px) clamp(26px, 4vh, 40px);
}

/* ---- 可読性のためのテキスト側の処理 ----
   映像の上に膜は張らない（＝動画の前の影は不要という指示を維持）。
   代わりに文字の背後へ「ぼかした柔らかい影」を何層か重ね、
   輪郭を締めずに、背景の明るい部分だけをうっすら沈める。
   ※ 以前の 0.012em のような極小ブラーの縁取りは「くっきりしすぎ」と
     指摘があったため撤去した。ブラー半径は 0.12em 以上で必ずぼかす。 */
.rg-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10px; font-weight: 800; letter-spacing: .3em;
  color: #ccffc9; text-transform: uppercase; margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 6px 20px rgba(0,0,0,.65);
}
.rg-eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--rg-green);
  box-shadow: 0 0 10px rgba(0,0,0,.7);
}

.rg-hero-title {
  margin: 0 0 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 7.4vw, 92px);
  line-height: 1.06; letter-spacing: -.035em;
  color: #fff;
  /* すべて em 指定なので文字サイズに比例してスケールする。
     近距離は薄く、遠距離を厚くして「うっすら暗く落ちる」グラデーションにする。 */
  text-shadow:
    0 0.04em 0.14em rgba(0, 0, 0, .55),
    0 0.09em 0.3em  rgba(0, 0, 0, .5),
    0 0.16em 0.55em rgba(0, 0, 0, .45),
    0 0.26em 0.9em  rgba(0, 0, 0, .35);
}
.rg-hero-title .accent { color: var(--rg-green); }

.rg-hero-sub-latin {
  margin: 0 0 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(15px, 2.1vw, 25px);
  letter-spacing: .24em; color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 6px 24px rgba(0,0,0,.6);
}
.rg-hero-sub-jp {
  margin: 0 0 0; max-width: 40ch;
  font-size: clamp(13px, 1.35vw, 15.5px);
  color: #f0f0f0; line-height: 1.9; font-weight: 500;
  text-shadow: 0 2px 11px rgba(0,0,0,.9), 0 6px 26px rgba(0,0,0,.65);
}

/* ============ sections ============ */
.rg-section {
  position: relative; z-index: 2;
  max-width: var(--rg-max); margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 44px);
}
.rg-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: clamp(24px, 3.4vw, 40px);
  flex-wrap: wrap;
}
.rg-section-title-wrap { display: flex; flex-direction: column; gap: 4px; }
.rg-section-title {
  position: relative; margin: 0; padding-left: 0;
  font-size: clamp(23px, 3.2vw, 34px); font-weight: 900;
  letter-spacing: -.02em; line-height: 1.2;
}
.rg-section-title::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 22px; height: 3px; background: var(--rg-green);
  margin-right: 12px; margin-bottom: 6px;
}
.rg-section-latin {
  padding-left: 34px;
  font-family: 'Bebas Neue', sans-serif; font-size: 11px;
  letter-spacing: .3em; color: var(--rg-gray-2);
}
.rg-section-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: #d8d8d8; padding-bottom: 3px;
  border-bottom: 1px solid #333; transition: color .2s, border-color .2s;
}
.rg-section-link:hover { color: var(--rg-green); border-color: var(--rg-green); }

/* video grid */
.rg-video-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rg-video-grid.is-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.rg-card {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 10; overflow: hidden; cursor: pointer;
  background: #0d0d0d; border: 1px solid #1d1d1d;
  border-radius: 10px; padding: 0;
  transition: border-color .28s var(--rg-ease), transform .35s var(--rg-ease);
}
.rg-card:hover { border-color: rgba(44,250,39,.5); transform: translateY(-2px); }
.rg-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--rg-ease), filter .4s;
  filter: brightness(.86);
}
.rg-card:hover img { transform: scale(1.045); filter: brightness(1); }
.rg-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
}
.rg-card-play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(3px);
  transition: background .25s, border-color .25s, transform .25s;
}
.rg-card:hover .rg-card-play {
  background: var(--rg-green); border-color: var(--rg-green);
  transform: scale(1.06);
}
.rg-card-play svg { margin-left: 3px; }
.rg-card:hover .rg-card-play svg path { fill: #041004; }
.rg-card-label {
  position: absolute; left: 13px; bottom: 11px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 10.5px; letter-spacing: .22em; color: #eafeea;
}
.rg-card-label::before {
  content: ''; width: 14px; height: 2px; background: var(--rg-green);
}
.rg-card.is-featured { aspect-ratio: 16 / 7.4; grid-column: 1 / -1; }

/* about 02 block */
.rg-about {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--rg-line-soft);
  border-bottom: 1px solid var(--rg-line-soft);
  background: radial-gradient(120% 100% at 15% 0%, #0d1409 0%, #070707 46%, #050505 100%);
}
.rg-about-inner {
  position: relative; max-width: var(--rg-max); margin: 0 auto;
  padding: clamp(56px, 9vw, 108px) clamp(18px, 4vw, 44px);
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 4vw, 56px); align-items: center;
}
.rg-about-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(120px, 19vw, 250px); line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(44,250,39,.42);
  letter-spacing: -.02em; user-select: none;
}
.rg-about-body { position: relative; }
.rg-about-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .26em; color: #9a9a9a;
  margin-bottom: 16px; font-weight: 700;
}
.rg-about-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--rg-green); }
.rg-about-heading {
  margin: 0 0 20px; font-size: clamp(27px, 4.2vw, 48px);
  font-weight: 900; line-height: 1.18; letter-spacing: -.03em;
}
.rg-about-text { margin: 0; color: #a8a8a8; font-size: 14px; line-height: 2.05; max-width: 54ch; }

.rg-stats {
  display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap;
  margin-top: 30px; padding-top: 24px; border-top: 1px solid #1d1d1d;
}
.rg-stat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px;
  letter-spacing: .04em; color: var(--rg-green); line-height: 1;
}
.rg-stat-label { font-size: 10.5px; letter-spacing: .16em; color: #777; margin-top: 5px; }

/* CTA bar */
.rg-cta-section {
  position: relative; z-index: 2;
  padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 44px);
  max-width: var(--rg-max); margin: 0 auto;
}
.rg-cta-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.6vw, 44px);
  background: linear-gradient(100deg, #101010 0%, #0a0f08 100%);
  border: 1px solid #232323; border-radius: 16px;
  position: relative; overflow: hidden;
}
.rg-cta-bar::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--rg-green), transparent 60%);
  opacity: .55;
}
.rg-cta-text { display: flex; flex-direction: column; gap: 6px; }
.rg-cta-heading { margin: 0; font-size: clamp(18px, 2.4vw, 26px); font-weight: 900; letter-spacing: -.02em; }
.rg-cta-sub { margin: 0; font-size: 11px; letter-spacing: .2em; color: #6f6f6f; font-family: 'Bebas Neue', sans-serif; }
.rg-cta-action { display: flex; align-items: center; gap: 18px; }
.rg-cta-line { width: clamp(30px, 6vw, 76px); height: 1px; background: #333; }
.rg-cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 800; color: #fff;
}
.rg-cta-circle {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--rg-green); color: #041004;
  transition: transform .25s var(--rg-ease), box-shadow .25s;
}
.rg-cta-btn:hover .rg-cta-circle { transform: translateX(4px); box-shadow: 0 0 22px rgba(44,250,39,.45); }

/* ============ reference page ============ */
.rg-page-head {
  padding: clamp(48px, 7vw, 86px) 0 clamp(8px, 2vw, 18px);
}
.rg-page-title {
  margin: 0; font-size: clamp(34px, 5.6vw, 66px);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.08;
}
.rg-page-title .dash { color: var(--rg-green); }
.rg-page-latin {
  font-family: 'Bebas Neue', sans-serif; font-size: 12px;
  letter-spacing: .42em; color: var(--rg-gray-2); margin-top: 8px;
}
.rg-page-desc { margin: 18px 0 0; color: #a5a5a5; font-size: 13.5px; max-width: 56ch; }

.rg-filters { display: flex; gap: 9px; flex-wrap: wrap; margin: clamp(22px, 3vw, 34px) 0 clamp(20px, 3vw, 30px); }
.rg-filter {
  display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: var(--rg-pill);
  background: transparent; border: 1px solid #2a2a2a;
  color: #b5b5b5; font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: all .22s var(--rg-ease);
}
.rg-filter:hover { border-color: #474747; color: #fff; }
.rg-filter.is-active {
  background: var(--rg-green); border-color: var(--rg-green);
  color: #041004; box-shadow: 0 0 20px rgba(44,250,39,.22);
}

/* player modal */
.rg-modal {
  position: fixed; inset: 0; z-index: 120;
  display: none; place-items: center; padding: 20px;
  background: rgba(0,0,0,.9); backdrop-filter: blur(8px);
}
.rg-modal.is-open { display: grid; }
.rg-modal-inner { width: min(1080px, 100%); }
.rg-modal-frame {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #000; border: 1px solid #262626; border-radius: 10px; overflow: hidden;
}
.rg-modal-frame iframe, .rg-modal-frame video, .rg-modal-frame img {
  width: 100%; height: 100%; object-fit: cover; border: 0;
}
.rg-modal-placeholder {
  display: grid; place-items: center; height: 100%; gap: 10px;
  color: #6c6c6c; font-size: 13px; text-align: center; padding: 24px;
}
.rg-modal-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 16px; }
.rg-modal-title { font-size: 14px; font-weight: 700; }
.rg-modal-close {
  display: inline-flex; align-items: center; gap: 7px;
  background: #131313; border: 1px solid #2a2a2a; color: #ddd;
  border-radius: var(--rg-pill); padding: 8px 16px; font-size: 12px; cursor: pointer;
}
.rg-modal-close:hover { border-color: var(--rg-green); color: var(--rg-green); }

/* ============ contact ============ */
.rg-form-wrap {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.rg-form { display: flex; flex-direction: column; gap: 18px; }
.rg-field { display: flex; flex-direction: column; gap: 7px; }
.rg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rg-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: #b0b0b0;
  display: flex; align-items: center; gap: 7px;
}
.rg-req {
  font-size: 9px; font-weight: 800; letter-spacing: .1em;
  color: #041004; background: var(--rg-green);
  padding: 2px 6px; border-radius: 4px;
}
.rg-input, .rg-textarea, .rg-select {
  width: 100%; padding: 13px 15px;
  background: #0d0d0d; border: 1px solid #262626; border-radius: 9px;
  color: #fff; font-size: 14px; font-family: inherit; line-height: 1.6;
  transition: border-color .2s, background .2s;
}
.rg-input::placeholder, .rg-textarea::placeholder { color: #555; }
.rg-input:focus, .rg-textarea:focus, .rg-select:focus {
  outline: none; border-color: var(--rg-green); background: #101010;
  box-shadow: 0 0 0 3px rgba(44,250,39,.1);
}
.rg-textarea { min-height: 148px; resize: vertical; }
.rg-select { appearance: none; cursor: pointer; }
.rg-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border: 0; border-radius: var(--rg-pill);
  background: var(--rg-green); color: #041004;
  font-size: 14px; font-weight: 900; letter-spacing: .03em;
  cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s;
  align-self: flex-start; margin-top: 4px;
}
.rg-submit:hover:not(:disabled) { transform: translateY(-1px); background: #46ff40; box-shadow: 0 8px 28px rgba(44,250,39,.3); }
.rg-submit:disabled { opacity: .55; cursor: not-allowed; }

.rg-form-side {
  padding: 26px; background: #0b0b0b; border: 1px solid #202020; border-radius: 14px;
}
.rg-form-side h3 { margin: 0 0 16px; font-size: 13px; letter-spacing: .16em; color: var(--rg-green); font-family: 'Bebas Neue', sans-serif; }
.rg-side-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.rg-side-list li { font-size: 12.5px; color: #9d9d9d; line-height: 1.85; padding-left: 14px; position: relative; }
.rg-side-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--rg-green); }
.rg-side-list strong { color: #e2e2e2; display: block; font-size: 12px; margin-bottom: 2px; }

.rg-alert {
  padding: 15px 18px; border-radius: 10px; font-size: 13px; line-height: 1.75;
  border: 1px solid; margin-bottom: 20px;
}
.rg-alert-ok { background: rgba(44,250,39,.07); border-color: rgba(44,250,39,.35); color: #b6ffb2; }
.rg-alert-err { background: rgba(255,72,72,.07); border-color: rgba(255,72,72,.35); color: #ffb3b3; }

/* ============ footer ============ */
.rg-footer { border-top: 1px solid #171d17; background: #040604; position: relative; z-index: 2; }
.rg-footer-about {
  border-bottom: 1px solid #141a14;
  background: #070a07;
  padding: clamp(22px, 3vw, 32px) clamp(18px, 4vw, 44px);
  text-align: center;
}
.rg-footer-about p {
  max-width: 760px; margin: 0 auto;
  font-size: 11.5px; line-height: 2; color: #7f8b7f;
}
.rg-footer-about p + p { margin-top: 4px; }
.rg-footer-about strong { color: #c3d0c3; font-weight: 800; }
.rg-footer-about a { color: var(--rg-green); border-bottom: 1px solid rgba(44, 250, 39, .3); }
.rg-footer-about a:hover { border-bottom-color: var(--rg-green); }
.rg-footer-inner {
  max-width: var(--rg-max); margin: 0 auto;
  padding: clamp(30px, 4vw, 46px) clamp(18px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.rg-footer-brand { display: flex; align-items: center; gap: 12px; }
.rg-footer-brand img { width: 46px; height: 46px; border-radius: 11px; }
.rg-footer-name { margin: 0; font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: .16em; }
.rg-footer-tag { margin: 0; font-size: 8.5px; letter-spacing: .3em; color: var(--rg-gray-2); }
.rg-footer-catch { margin: 5px 0 0; font-size: 10.5px; color: #7d8a7d; letter-spacing: .02em; }
.rg-footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.rg-footer-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: #8c8c8c; transition: color .2s;
}
.rg-footer-nav a svg { opacity: .7; }
.rg-footer-nav a:hover { color: var(--rg-green); }
.rg-footer-nav a:hover svg { opacity: 1; }
.rg-footer-copy { margin: 0; font-size: 10.5px; color: #4d4d4d; letter-spacing: .05em; }

/* ---- legal pages ---- */
.rg-legal { background: #050505; }
.rg-legal-inner {
  max-width: 860px; margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) clamp(18px, 4vw, 40px) clamp(56px, 7vw, 96px);
}
.rg-legal-head { margin-bottom: clamp(26px, 3.6vw, 40px); padding-bottom: 22px; border-bottom: 1px solid #1a1a1a; }
.rg-legal-latin { margin: 0 0 6px; font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: .32em; color: var(--rg-green); }
.rg-legal-title { margin: 0; font-size: clamp(22px, 3.2vw, 31px); font-weight: 900; letter-spacing: -.02em; }
.rg-legal-lead { margin: 12px 0 0; font-size: 12.5px; line-height: 1.95; color: #909a90; }
.rg-legal-body h2 {
  margin: clamp(26px, 3.4vw, 36px) 0 12px;
  font-size: 14.5px; font-weight: 900; color: #e6f0e6;
  display: flex; align-items: center; gap: 9px;
}
.rg-legal-body h2::before {
  content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--rg-green); flex-shrink: 0;
}
.rg-legal-body h3 { margin: 20px 0 8px; font-size: 12.5px; font-weight: 800; color: #cfdccf; }
.rg-legal-body p, .rg-legal-body li { font-size: 12.5px; line-height: 2.05; color: #9aa59a; }
.rg-legal-body p { margin: 0 0 10px; }
.rg-legal-body ul, .rg-legal-body ol { margin: 0 0 12px; padding-left: 20px; }
.rg-legal-body li { margin-bottom: 5px; }
.rg-legal-body a { color: var(--rg-green); }
.rg-legal-body table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 12px; }
.rg-legal-body th, .rg-legal-body td {
  padding: 11px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid #1b211b; line-height: 1.9;
}
.rg-legal-body th { width: 34%; color: #d4e0d4; font-weight: 800; background: #080b08; }
.rg-legal-body td { color: #98a398; }
.rg-legal-date { margin-top: 34px; padding-top: 18px; border-top: 1px solid #1a1a1a; font-size: 11px; color: #6a726a; }
.rg-legal-back { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-size: 12px; color: #9aa59a; }
.rg-legal-back:hover { color: var(--rg-green); }

@media (max-width: 720px) {
  .rg-legal-body th { width: 40%; }
  .rg-legal-body th, .rg-legal-body td { padding: 9px 11px; font-size: 11.5px; }
}

/* ============ AI chat ============ */
.rg-chat { position: fixed; right: clamp(14px, 2.4vw, 26px); bottom: clamp(14px, 2.4vw, 26px); z-index: 100; }

.rg-chat-trigger {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px 12px 13px; border-radius: var(--rg-pill);
  background: var(--rg-green); color: #041004; border: 0; cursor: pointer;
  font-size: 12.5px; font-weight: 800;
  box-shadow: 0 8px 30px rgba(44,250,39,.3);
  transition: transform .22s var(--rg-ease), box-shadow .25s;
}
.rg-chat-trigger:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(44,250,39,.42); }
.rg-chat-trigger.is-hidden { opacity: 0; pointer-events: none; transform: scale(.85); }
.rg-chat-trigger-icon { display: grid; place-items: center; }

.rg-chat-panel {
  position: absolute; right: 0; bottom: 0;
  width: min(392px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 80px));
  display: none; flex-direction: column;
  background: #0b0b0b; border: 1px solid #242424; border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.72);
  overflow: hidden;
}
.rg-chat-panel.is-open { display: flex; }

.rg-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #1e1e1e;
  background: linear-gradient(100deg, #111 0%, #0a1208 100%);
}
.rg-chat-head-title { display: flex; align-items: center; gap: 10px; }
.rg-chat-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--rg-green);
  box-shadow: 0 0 10px var(--rg-green); flex-shrink: 0;
}
.rg-chat-title { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.rg-chat-sub { margin: 1px 0 0; font-size: 10.5px; color: #6f6f6f; }
.rg-chat-close {
  background: none; border: 0; color: #888; cursor: pointer; padding: 5px;
  border-radius: 6px; display: grid; place-items: center;
}
.rg-chat-close:hover { color: #fff; background: #1a1a1a; }

.rg-chat-body {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: #2a2a2a transparent;
}
.rg-chat-body::-webkit-scrollbar { width: 5px; }
.rg-chat-body::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }

.rg-msg { max-width: 88%; padding: 11px 14px; border-radius: 12px; font-size: 12.8px; line-height: 1.8; }
.rg-msg p { margin: 0 0 7px; }
.rg-msg p:last-child { margin-bottom: 0; }
.rg-msg-bot { background: #141414; border: 1px solid #232323; color: #dcdcdc; align-self: flex-start; border-bottom-left-radius: 4px; }
.rg-msg-user { background: var(--rg-green); color: #041004; align-self: flex-end; font-weight: 600; border-bottom-right-radius: 4px; }
.rg-msg-typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px; }
.rg-msg-typing i { width: 5px; height: 5px; border-radius: 50%; background: #666; animation: rgBounce 1.2s infinite; }
.rg-msg-typing i:nth-child(2) { animation-delay: .15s; }
.rg-msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes rgBounce { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.rg-chat-suggest { display: flex; flex-wrap: wrap; gap: 7px; }
.rg-chat-suggest button {
  background: transparent; border: 1px solid #2b2b2b; color: #9d9d9d;
  border-radius: var(--rg-pill); padding: 6px 12px; font-size: 11px; cursor: pointer;
  transition: all .2s;
}
.rg-chat-suggest button:hover { border-color: var(--rg-green); color: var(--rg-green); }

.rg-chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid #1e1e1e; }
.rg-chat-form input {
  flex: 1; padding: 11px 14px; background: #141414;
  border: 1px solid #262626; border-radius: var(--rg-pill);
  color: #fff; font-size: 12.5px; font-family: inherit;
}
.rg-chat-form input:focus { outline: none; border-color: var(--rg-green); }
.rg-chat-form button {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--rg-green); color: #041004; cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0; transition: background .2s;
}
.rg-chat-form button:hover { background: #46ff40; }
.rg-chat-note { margin: 0; padding: 0 16px 12px; font-size: 9.5px; color: #4f4f4f; line-height: 1.6; }

/* reveal animation */
.rg-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--rg-ease), transform .7s var(--rg-ease); }
.rg-reveal.is-in { opacity: 1; transform: none; }

/* ============ responsive ============ */
@media (max-width: 980px) {
  .rg-nav { display: none; }
  .rg-menu-toggle { display: flex; }
  .rg-header-actions .rg-btn-pill { display: none; }
  .rg-about-inner { grid-template-columns: 1fr; gap: 8px; }
  .rg-about-num { font-size: clamp(80px, 22vw, 150px); }
  .rg-form-wrap { grid-template-columns: 1fr; }
  .rg-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rg-video-grid.is-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  /* PC と同じくビューポートいっぱい。モバイルはヘッダーが少し低いので 60px 引く。
     以前は 82vh で下に余白が残っていた。 */
  .rg-hero { --rg-hero-h: calc(100svh - 60px); }
  .rg-hero-title { font-size: clamp(32px, 10.5vw, 46px); }
  .rg-hero-sub-jp { margin-bottom: 24px; }
  .rg-video-grid, .rg-video-grid.is-large { grid-template-columns: 1fr; }
  .rg-card.is-featured { aspect-ratio: 16/10; }
  .rg-field-row { grid-template-columns: 1fr; }
  .rg-cta-bar { flex-direction: column; align-items: flex-start; }
  .rg-cta-action { width: 100%; justify-content: space-between; }
  .rg-footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .rg-section-head { align-items: flex-start; }
  .rg-chat-trigger-label { display: none; }
  .rg-chat-trigger { padding: 13px; }
  .rg-page-title { font-size: clamp(30px, 9vw, 40px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   2-TONE BANDS (漆黒 / 僅かに明るい黒)
   ============================================================ */
.rg-band-a { background: #050505; }
.rg-band-b {
  background: #0b0e0b;
  border-top: 1px solid #171d17;
  border-bottom: 1px solid #171d17;
}
.rg-wrap {
  max-width: var(--rg-max);
  margin: 0 auto;
  padding: clamp(52px, 7.5vw, 92px) clamp(18px, 4vw, 44px);
}
.rg-band-head { margin-bottom: clamp(30px, 4vw, 52px); text-align: center; }
.rg-band-eyebrow {
  margin: 0 0 8px;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 11px; letter-spacing: .42em; color: var(--rg-green); opacity: .8;
}
.rg-band-title {
  margin: 0; font-size: clamp(24px, 3.6vw, 38px); font-weight: 900;
  letter-spacing: -.025em; line-height: 1.2;
}
.rg-band-desc {
  margin: 14px auto 0; max-width: 62ch;
  font-size: 13px; line-height: 1.95; color: #969696;
}
.rg-band-more { margin-top: clamp(26px, 3.4vw, 40px); text-align: center; }
.rg-band-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--rg-pill);
  border: 1px solid #2b2b2b; background: #0d0f0d;
  font-size: 12.5px; font-weight: 700; color: #e2e2e2;
  transition: all .22s var(--rg-ease);
}
.rg-band-link:hover {
  color: #041004; background: var(--rg-green); border-color: var(--rg-green);
  transform: translateY(-1px); box-shadow: 0 8px 26px rgba(44,250,39,.28);
}

/* ============================================================
   REASONS 01-03
   ============================================================ */
.rg-reasons-list { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 78px); }
.rg-reason {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}
.rg-reason.is-reverse .rg-reason-media { order: 2; }
.rg-reason-media {
  position: relative; overflow: hidden;
  border-radius: 16px; border: 1px solid #1e241e;
  background: #0a0c0a; aspect-ratio: 16 / 9;
  box-shadow: 0 20px 54px rgba(0,0,0,.55);
}
.rg-reason-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
}
.rg-reason-media img { width: 100%; height: 100%; object-fit: cover; }

.rg-reason-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.rg-reason-num {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(46px, 6.4vw, 76px); line-height: .82;
  color: transparent; -webkit-text-stroke: 1.4px rgba(44,250,39,.55);
  letter-spacing: .01em; flex-shrink: 0;
}
.rg-reason-title {
  margin: 0; font-size: clamp(21px, 2.8vw, 30px); font-weight: 900;
  letter-spacing: -.025em; line-height: 1.25;
}
.rg-reason-lead {
  margin: 0 0 14px; padding-left: 12px;
  border-left: 2px solid var(--rg-green);
  font-size: clamp(13.5px, 1.5vw, 15.5px); font-weight: 800; color: #f0fff0;
  line-height: 1.65;
}
.rg-reason-text {
  margin: 0 0 10px; font-size: 13.5px; line-height: 2.05; color: #9e9e9e;
}
.rg-reason-text:last-child { margin-bottom: 0; }

/* ============================================================
   WORKS
   ============================================================ */
.rg-works { position: relative; z-index: 2; }
.rg-works-head { text-align: center; margin-bottom: clamp(26px, 3.6vw, 44px); }
.rg-works-title {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-size: clamp(23px, 3.2vw, 32px); font-weight: 900; letter-spacing: -.02em;
}
.rg-works-icon {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--rg-green); color: #041004;
}
.rg-works-icon svg { margin-left: 2px; }
.rg-works-lead { margin: 10px 0 0; font-size: 12.5px; color: #8d8d8d; }
.rg-works-empty {
  margin: 0; padding: 40px 20px; text-align: center;
  font-size: 12.5px; color: #6f6f6f; line-height: 1.8;
  border: 1px dashed #262c26; border-radius: 12px; background: #080a08;
}

/* ---------- カテゴリタブ ---------- */
.rg-tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  margin: 0 auto clamp(26px, 3.4vw, 40px);
  padding: 8px;
  max-width: max-content;
  border: 1px solid #1a201a;
  border-radius: var(--rg-pill);
  background: rgba(9, 12, 9, .72);
}
.rg-tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px;
  border: 1px solid transparent; border-radius: var(--rg-pill);
  background: transparent; color: #a4a4a4;
  font-family: inherit; font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em; white-space: nowrap; cursor: pointer;
  transition: color .22s var(--rg-ease), background .22s var(--rg-ease),
              border-color .22s var(--rg-ease), box-shadow .25s var(--rg-ease);
}
.rg-tab-count {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 18px; padding: 0 6px;
  border-radius: var(--rg-pill);
  background: #1c221c; color: #8f9a8f;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 11px; letter-spacing: .06em;
  transition: background .22s var(--rg-ease), color .22s var(--rg-ease);
}
.rg-tab:hover { color: #e8ffe8; background: rgba(44, 250, 39, .07); }
.rg-tab:hover .rg-tab-count { background: #242d24; color: #c6d6c6; }
.rg-tab.is-active {
  background: var(--rg-green); border-color: var(--rg-green);
  color: #041004;
  box-shadow: 0 0 24px rgba(44, 250, 39, .32);
}
.rg-tab.is-active .rg-tab-count { background: rgba(4, 16, 4, .22); color: #042004; }
.rg-tab:focus-visible { outline: 2px solid rgba(44, 250, 39, .8); outline-offset: 3px; }

/* ---------- 2段目：種類（genre）チップ ---------- */
.rg-genres {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px;
  margin: calc(-1 * clamp(14px, 2vw, 24px)) auto clamp(18px, 2.4vw, 28px);
  padding: 0 clamp(2px, 1vw, 10px);
}
.rg-genre {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border: 1px solid #232923; border-radius: var(--rg-pill);
  background: #0a0d0a; color: #9d9d9d;
  font-family: inherit; font-size: 11.5px; font-weight: 700;
  letter-spacing: .02em; white-space: nowrap; cursor: pointer;
  transition: color .2s var(--rg-ease), background .2s var(--rg-ease),
              border-color .2s var(--rg-ease), box-shadow .22s var(--rg-ease),
              transform .2s var(--rg-ease);
}
.rg-genre:hover {
  color: #eaffea; border-color: rgba(44, 250, 39, .45);
  background: rgba(44, 250, 39, .06); transform: translateY(-1px);
}
.rg-genre-count {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 16px; padding: 0 5px;
  border-radius: var(--rg-pill);
  background: #1a201a; color: #7f8a7f;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 10px; letter-spacing: .06em;
  transition: background .2s var(--rg-ease), color .2s var(--rg-ease);
}
.rg-genre.is-active {
  border-color: rgba(44, 250, 39, .85); color: #d8ffd8;
  background: rgba(44, 250, 39, .12);
  box-shadow: 0 0 16px rgba(44, 250, 39, .22), inset 0 0 12px rgba(44, 250, 39, .06);
}
.rg-genre.is-active .rg-genre-count { background: rgba(44, 250, 39, .22); color: #c8ffc8; }
.rg-genre:focus-visible { outline: 2px solid rgba(44, 250, 39, .8); outline-offset: 3px; }
.rg-genre[hidden] { display: none; }
.rg-genres[hidden] { display: none; }

/* 絞り込み結果の件数表示 */
.rg-filter-status {
  margin: 0 0 clamp(14px, 2vw, 22px);
  text-align: center;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  color: #7d8a7d;
}
.rg-filter-status:empty { display: none; }

/* ---------- グリッド（余白を広めに取り、揃った比率で並べる） ---------- */
.rg-works-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  padding: 2px;
}
.rg-work {
  position: relative; display: block; width: 100%; padding: 0;
  aspect-ratio: 16 / 10; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(44, 250, 39, .38); border-radius: 14px;
  background: #070907;
  box-shadow:
    0 0 0 1px rgba(44, 250, 39, .1),
    0 0 16px rgba(44, 250, 39, .14),
    inset 0 0 22px rgba(44, 250, 39, .05);
  transition: border-color .3s var(--rg-ease), transform .38s var(--rg-ease),
              box-shadow .38s var(--rg-ease);
}
.rg-work:hover,
.rg-work:focus-visible {
  border-color: rgba(44, 250, 39, .95);
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(44, 250, 39, .4),
    0 0 28px rgba(44, 250, 39, .45),
    0 14px 34px rgba(0, 0, 0, .55),
    inset 0 0 24px rgba(44, 250, 39, .08);
  outline: none;
}
.rg-work img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.8); transition: transform .7s var(--rg-ease), filter .4s;
}
.rg-work:hover img { transform: scale(1.05); filter: brightness(1); }
.rg-work[hidden] { display: none; }

/* 絞り込み時のフェードイン（class は site.js が 460ms 後に外す） */
.rg-works-grid.is-filtering > .rg-work,
.rg-video-grid.is-filtering > .rg-card { animation: rg-work-in .42s var(--rg-ease) both; }
@keyframes rg-work-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* セクションの上下余白を少し広げて、グリッドが窮屈に見えないようにする */
.rg-works > .rg-wrap {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(54px, 7.6vw, 96px);
}
.rg-works-head { margin-bottom: clamp(28px, 3.8vw, 46px); }
.rg-work::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,.78) 100%);
}
.rg-work-play {
  position: absolute; inset: 0; margin: auto; z-index: 3;
  display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 50%; background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(3px);
  color: #fff; transition: all .25s var(--rg-ease);
}
.rg-work-play svg { margin-left: 3px; }
.rg-work:hover .rg-work-play {
  background: var(--rg-green); border-color: var(--rg-green); color: #041004;
  transform: scale(1.07);
}
.rg-work-duration {
  position: absolute; right: 11px; top: 11px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 7px; border-radius: var(--rg-pill);
  background: rgba(0,0,0,.62); backdrop-filter: blur(6px);
  font-size: 10px; font-weight: 700; color: #e8e8e8; letter-spacing: .04em;
}
.rg-work-duration::before {
  content: ''; width: 0; height: 0;
  border-left: 5px solid #e8e8e8; border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}
.rg-work-label {
  position: absolute; left: 14px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 10.5px; letter-spacing: .22em; color: #eafeea;
}
.rg-work-label::before { content: ''; width: 14px; height: 2px; background: var(--rg-green); }

/* ============================================================
   PRICING
   ============================================================ */
.rg-plan-group { margin-top: clamp(30px, 4.4vw, 56px); }
.rg-plan-group-head { text-align: center; margin-bottom: clamp(18px, 2.6vw, 30px); }
.rg-plan-group-title {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: clamp(17px, 2.2vw, 21px); font-weight: 900; letter-spacing: -.01em;
}
.rg-plan-group-icon { font-size: 1.05em; }
.rg-plan-group-lead { margin: 8px 0 0; font-size: 12px; color: #8d8d8d; line-height: 1.8; }

.rg-plan-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 16px);
}
.rg-plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(20px, 2.2vw, 28px) clamp(17px, 1.8vw, 22px);
  background: linear-gradient(170deg, #101310 0%, #090b09 100%);
  border: 1px solid #1f261f; border-radius: 14px;
  transition: border-color .25s var(--rg-ease), transform .3s var(--rg-ease), box-shadow .3s;
}
.rg-plan:hover { transform: translateY(-3px); border-color: #2f3a2f; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.rg-plan.is-highlight {
  border-color: rgba(44,250,39,.5);
  background: linear-gradient(170deg, #0f1a0d 0%, #080d08 100%);
  box-shadow: 0 0 0 1px rgba(44,250,39,.14), 0 18px 46px rgba(0,0,0,.55);
}
.rg-plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: var(--rg-pill);
  background: var(--rg-green); color: #041004;
  font-size: 10px; font-weight: 900; letter-spacing: .06em; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(44,250,39,.35);
}
.rg-plan.is-highlight .rg-plan-badge { top: -12px; }
.rg-plan-name {
  margin: 0 0 12px; font-size: 13.5px; font-weight: 800; color: #eaf0ea;
  line-height: 1.45; letter-spacing: -.01em;
}
.rg-plan-price { margin: 0 0 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px; }
.rg-plan-yen { font-size: 15px; font-weight: 700; color: #d8ffd8; }
.rg-plan-amount {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(30px, 3.6vw, 40px); line-height: 1;
  letter-spacing: .01em; color: #ffffff;
}
.rg-plan.is-highlight .rg-plan-amount { color: var(--rg-green); }
.rg-plan-note { margin-left: 4px; font-size: 10.5px; color: #7b8a7b; font-weight: 600; }
.rg-plan-scale {
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #1c231c;
  font-size: 11px; color: #8d9a8d; font-weight: 600;
}
.rg-plan-features {
  margin: 0 0 14px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.rg-plan-features li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 11.5px; line-height: 1.65; color: #b9c4b9;
}
.rg-plan-features li svg { flex-shrink: 0; margin-top: 4px; color: var(--rg-green); }
.rg-plan-for {
  display: flex; gap: 7px; align-items: flex-start;
  padding: 10px 11px; border-radius: 9px;
  background: rgba(44,250,39,.055); border: 1px solid rgba(44,250,39,.14);
  font-size: 10.5px; line-height: 1.65; color: #9fb79f;
}
.rg-plan-for strong { color: #cfe8cf; }

/* price note */
.rg-price-note {
  margin-top: clamp(34px, 5vw, 60px);
  padding: clamp(22px, 3vw, 34px);
  background: #0a0d0a; border: 1px solid #1e261e; border-radius: 16px;
}
.rg-price-note-title {
  display: flex; align-items: center; gap: 9px; margin: 0 0 14px;
  font-size: clamp(14px, 1.7vw, 16.5px); font-weight: 900;
}
.rg-price-note-text { margin: 0 0 8px; font-size: 12.5px; line-height: 1.95; color: #a3ada3; }
.rg-price-note-text.is-sub { margin: 18px 0 12px; color: #8b968b; }

.rg-price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rg-price-box {
  padding: 16px 18px; border-radius: 11px;
  border: 1px solid; font-size: 11.5px;
}
.rg-price-box.is-up { background: rgba(255,90,90,.045); border-color: rgba(255,90,90,.22); }
.rg-price-box.is-down { background: rgba(44,250,39,.045); border-color: rgba(44,250,39,.2); }
.rg-price-box h4 {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 10px; font-size: 12px; font-weight: 800;
}
.rg-price-box.is-up h4 { color: #ff9d9d; }
.rg-price-box.is-down h4 { color: #9dffa0; }
.rg-price-box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.rg-price-box li {
  position: relative; padding-left: 13px; line-height: 1.7; color: #a8b2a8;
}
.rg-price-box li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 4px; height: 4px; border-radius: 50%;
}
.rg-price-box.is-up li::before { background: #ff8a8a; }
.rg-price-box.is-down li::before { background: var(--rg-green); }

.rg-price-callout {
  margin-top: 16px; padding: clamp(22px, 2.8vw, 34px);
  text-align: center; border-radius: 13px;
  background: radial-gradient(120% 150% at 50% 0%, rgba(44,250,39,.11) 0%, rgba(44,250,39,.02) 60%, transparent 100%);
  border: 1px solid rgba(44,250,39,.24);
}
.rg-price-callout-title { margin: 0 0 8px; font-size: 12.5px; color: #a8bda8; }
.rg-price-callout-main {
  margin: 0 0 6px; font-size: clamp(15px, 2vw, 19px); font-weight: 900; color: #eaffea;
}
.rg-price-callout-sub { margin: 0 0 16px; font-size: 11.5px; color: #8b9a8b; }
.rg-price-callout-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px; border-radius: var(--rg-pill);
  background: var(--rg-green); color: #041004;
  font-size: 13px; font-weight: 900;
  transition: all .22s var(--rg-ease);
  box-shadow: 0 8px 26px rgba(44,250,39,.28);
}
.rg-price-callout-btn:hover {
  background: #46ff40; transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(44,250,39,.4);
}

/* ============================================================
   FAQ
   ============================================================ */
.rg-faq-list {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.rg-faq {
  background: #0d100d; border: 1px solid #1e261e; border-radius: 11px;
  transition: border-color .22s var(--rg-ease), background .22s;
}
.rg-faq:hover { border-color: #2e3a2e; background: #0f130f; }
.rg-faq[open] { border-color: rgba(44,250,39,.34); background: #0d120d; }
.rg-faq summary {
  display: flex; align-items: center; gap: 13px;
  padding: 17px clamp(14px, 2vw, 22px); cursor: pointer;
  list-style: none; user-select: none;
}
.rg-faq summary::-webkit-details-marker { display: none; }
.rg-faq-q {
  flex-shrink: 0;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 12.5px; letter-spacing: .1em; color: var(--rg-green);
}
.rg-faq-text {
  flex: 1; font-size: clamp(12.5px, 1.45vw, 14px); font-weight: 700;
  line-height: 1.6; color: #e2e8e2;
}
.rg-faq-chev {
  flex-shrink: 0; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #151a15; color: #8a968a;
  transition: transform .25s var(--rg-ease), color .2s, background .2s;
}
.rg-faq[open] .rg-faq-chev {
  transform: rotate(180deg);
  background: rgba(44,250,39,.14); color: var(--rg-green);
}
.rg-faq-a {
  padding: 0 clamp(14px, 2vw, 22px) 18px 48px;
}
.rg-faq-a p { margin: 0; font-size: 12.5px; line-height: 2; color: #9aa59a; }

/* ============================================================
   CONTACT (2-tone + LINE)
   ============================================================ */
.rg-contact-band { background: #0b0e0b; border-top: 1px solid #171d17; }
.rg-contact-inner {
  max-width: var(--rg-max); margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 44px);
}
.rg-contact-head { text-align: center; margin-bottom: clamp(26px, 3.6vw, 40px); }
.rg-contact-head-title {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0; font-size: clamp(21px, 3vw, 30px); font-weight: 900; letter-spacing: -.02em;
}
.rg-contact-head-title svg { color: var(--rg-green); }
.rg-contact-head-lead {
  margin: 12px auto 0; max-width: 56ch;
  font-size: 12.5px; line-height: 1.95; color: #9a9a9a;
}
.rg-contact-head-free {
  margin: 12px 0 0; font-size: clamp(12.5px, 1.5vw, 14px); font-weight: 800; color: #d7ffd7;
}
.rg-contact-head-free strong { color: var(--rg-green); }

.rg-line-card {
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px);
  max-width: 760px; margin: 0 auto clamp(26px, 3.6vw, 40px);
  padding: clamp(16px, 2.4vw, 24px) clamp(16px, 2.6vw, 28px);
  background: #0a0f0a; border: 1px solid rgba(44,250,39,.42);
  border-radius: 16px;
  box-shadow: 0 0 0 4px rgba(44,250,39,.05), 0 18px 54px rgba(44,250,39,.16);
}
.rg-line-icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: clamp(44px, 6vw, 54px); height: clamp(44px, 6vw, 54px);
  border-radius: 14px; background: #06c755; color: #fff;
}
.rg-line-body { flex: 1; min-width: 0; }
.rg-line-note { margin: 0 0 3px; font-size: 10px; letter-spacing: .06em; color: #7f8f7f; }
.rg-line-title {
  margin: 0; font-size: clamp(15px, 2.1vw, 20px); font-weight: 900;
  color: #f0fff0; letter-spacing: -.01em; line-height: 1.35;
}
.rg-line-sub { margin: 5px 0 0; font-size: 10.5px; color: #8a9a8a; }
.rg-line-qr {
  flex-shrink: 0; width: clamp(58px, 7.4vw, 78px); height: clamp(58px, 7.4vw, 78px);
  border-radius: 9px; background: #fff; padding: 5px;
}
.rg-line-qr img { width: 100%; height: 100%; object-fit: contain; }
.rg-line-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 20px; border-radius: var(--rg-pill);
  background: #06c755; color: #fff; font-size: 12.5px; font-weight: 900;
  white-space: nowrap; transition: all .22s var(--rg-ease);
  box-shadow: 0 8px 24px rgba(6,199,85,.32);
}
.rg-line-btn:hover { background: #08e061; transform: translateY(-1px); }
.rg-line-btn-hint { display: block; margin-top: 5px; font-size: 9px; color: #6f7f6f; text-align: center; }

.rg-or-divider {
  display: flex; align-items: center; gap: 14px;
  max-width: 760px; margin: 0 auto clamp(24px, 3.2vw, 34px);
  font-size: 11px; color: #6b6f6b;
}
.rg-or-divider::before, .rg-or-divider::after {
  content: ''; flex: 1; height: 1px; background: #1e241e;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .rg-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .rg-reason { grid-template-columns: 1fr; gap: 20px; }
  .rg-reason.is-reverse .rg-reason-media { order: 0; }
  .rg-reason-media { aspect-ratio: 16 / 9; }
  .rg-reason-num { font-size: clamp(40px, 9vw, 60px); }
  .rg-works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 22px); }
  .rg-work { aspect-ratio: 16 / 9; }
  .rg-tabs { max-width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .rg-tabs::-webkit-scrollbar { display: none; }
  .rg-tab { flex: 0 0 auto; }
  .rg-price-split { grid-template-columns: 1fr; }
  .rg-line-card { flex-wrap: wrap; justify-content: center; text-align: center; }
  .rg-line-body { flex-basis: 100%; order: -1; }
  .rg-line-body { text-align: center; }
}
@media (max-width: 640px) {
  .rg-plan-grid { grid-template-columns: 1fr; }
  .rg-plan { padding: 22px 18px; }
  .rg-band-head { text-align: left; }
  .rg-band-desc { margin-left: 0; }
  .rg-faq-a { padding-left: 14px; }
  .rg-faq summary { padding: 14px; gap: 10px; }
  .rg-price-note { padding: 18px 15px; }
  .rg-price-box { padding: 14px; }
  .rg-line-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CONTACT FORM CARD / MEETING / INFO (2-tone)
   ============================================================ */
.rg-form-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(20px, 3.4vw, 38px);
  background: #060806;
  border: 1px solid #1c231c;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.rg-form-card .rg-label { color: #b9c3b9; }
.rg-form-card .rg-label svg { color: var(--rg-green); flex-shrink: 0; }
.rg-form-card .rg-input,
.rg-form-card .rg-textarea,
.rg-form-card .rg-select {
  background: #0c100c;
  border-color: #232b23;
}
.rg-form-card .rg-input:focus,
.rg-form-card .rg-textarea:focus,
.rg-form-card .rg-select:focus {
  background: #0e130e;
  border-color: var(--rg-green);
}
.rg-form-card .rg-submit { align-self: stretch; margin-top: 6px; }

.rg-field-row-3 { grid-template-columns: 1.05fr 1fr 1fr; }

/* --- online meeting block --- */
.rg-meeting {
  margin: 0;
  padding: 16px clamp(14px, 2.2vw, 22px) 14px;
  border: 1px solid #20281f;
  border-radius: 12px;
  background: #080b08;
}
.rg-meeting-head {
  display: flex; align-items: center; gap: 8px;
  padding: 0 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #d8e6d8;
}
.rg-meeting-head svg { color: var(--rg-green); }
.rg-meeting-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px; margin-top: 12px;
}
.rg-meeting-hint {
  display: flex; align-items: flex-start; gap: 6px;
  margin: 12px 0 0; font-size: 10.5px; line-height: 1.7; color: #7d8a7d;
}
.rg-meeting-hint svg { flex-shrink: 0; margin-top: 2px; color: #6f7f6f; }

/* --- info row under the form --- */
.rg-contact-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.6vw, 28px);
  max-width: 860px; margin: clamp(26px, 3.6vw, 40px) auto 0;
}

@media (max-width: 980px) {
  .rg-field-row-3 { grid-template-columns: 1fr 1fr; }
  .rg-meeting-grid { grid-template-columns: 1fr 1fr; }
  .rg-contact-info { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rg-field-row-3 { grid-template-columns: 1fr; }
  .rg-meeting-grid { grid-template-columns: 1fr; }
  .rg-works-grid { grid-template-columns: 1fr; gap: 18px; }
  .rg-work { aspect-ratio: 16 / 10; }
  .rg-contact-head-title { font-size: 19px; }
  .rg-form-card { padding: 20px 16px; border-radius: 14px; }
}
