/*
 * ============================================================
 *  やべぇトークン ($YABEE) — WordPress / SWELL カスタムCSS
 *  デザインシステム: サイバーパンク・ネオン / ダークテーマ
 *  対象: WordPress + SWELLテーマ
 *  使用場所: SWELL管理画面 > 外観 > カスタマイズ > 追加CSS
 *            または子テーマの style.css
 * ============================================================
 *
 *  カラーパレット
 *  --neon-blue:  #00f0ff  プライマリ（ネオンブルー/シアン）
 *  --neon-pink:  #ff00aa  セカンダリ（ホットピンク）
 *  --neon-green: #00ff88  アクセント（ネオングリーン）
 *  --bg-dark:    #0a0a0f  ページ背景
 *  --bg-card:    #12121a  カード背景
 *  --bg-elevated:#1a1a26  浮き上がり要素
 *  --text-main:  #ffffff  メインテキスト
 *  --text-sub:   #b0b0b0  サブテキスト
 *  --border:     rgba(0,240,255,0.15)  デフォルトボーダー
 *
 *  フォント
 *  見出し: Orbitron (Google Fonts)
 *  本文:   Noto Sans JP (Google Fonts)
 *  コード: JetBrains Mono (Google Fonts)
 *
 *  Google Fonts読み込み（functions.phpまたはwp_head hookで追加）:
 *  https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900
 *    &family=Noto+Sans+JP:wght@400;700;900
 *    &family=JetBrains+Mono:wght@400;700&display=swap
 * ============================================================
 */


/* ============================================================
   0. CSS カスタムプロパティ（デザイントークン）
   ============================================================ */

:root {
  --neon-blue:       #00f0ff;
  --neon-pink:       #ff00aa;
  --neon-green:      #00ff88;
  --neon-yellow:     #ffee00;

  --bg-dark:         #0a0a0f;
  --bg-card:         #12121a;
  --bg-elevated:     #1a1a26;
  --bg-overlay:      rgba(10, 10, 15, 0.85);

  --text-main:       #ffffff;
  --text-sub:        #b0b0b0;
  --text-dim:        #666680;

  --border:          rgba(0, 240, 255, 0.15);
  --border-hover:    rgba(0, 240, 255, 0.6);
  --border-pink:     rgba(255, 0, 170, 0.3);

  --glow-blue:       0 0 20px rgba(0, 240, 255, 0.4),
                     0 0 60px rgba(0, 240, 255, 0.15);
  --glow-pink:       0 0 20px rgba(255, 0, 170, 0.4),
                     0 0 60px rgba(255, 0, 170, 0.15);
  --glow-green:      0 0 20px rgba(0, 255, 136, 0.4),
                     0 0 60px rgba(0, 255, 136, 0.15);

  --font-heading:    'Orbitron', 'Noto Sans JP', sans-serif;
  --font-body:       'Noto Sans JP', sans-serif;
  --font-mono:       'JetBrains Mono', 'Courier New', monospace;

  --radius-sm:       8px;
  --radius-md:       12px;
  --radius-lg:       20px;
  --radius-pill:     999px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  --container-max:   1100px;
  --header-height:   70px;
}


/* ============================================================
   1. グローバルスタイル — SWELLデフォルトのオーバーライド
   ============================================================ */

/* --- リセット & ベース ---------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* body: SWELLのbodyクラスを含め広くカバー */
body,
body.home,
body.page,
body.single,
body.swell-theme {
  background-color: var(--bg-dark) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* サイバーグリッドの背景レイヤー */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* SWELLのメインラッパー */
#wrapper,
.l-wrapper,
.l-body,
#page {
  background-color: var(--bg-dark) !important;
  position: relative;
  z-index: 1;
}

/* コンテンツエリア */
.l-main,
#main,
.l-content,
.l-container,
.l-pageMain {
  background-color: transparent !important;
  color: var(--text-main);
}

/* --- 見出し（h1〜h6）--------------------------------------- */

h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.l-main h1,
.l-main h2,
.l-main h3,
.l-main h4,
.l-main h5,
.l-main h6 {
  font-family: var(--font-heading) !important;
  color: var(--text-main) !important;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* --- 段落・テキスト ------------------------------------------ */

p,
.p-postContent p,
.l-main p {
  color: var(--text-sub);
  line-height: 1.85;
  font-family: var(--font-body);
}

strong, b {
  color: var(--text-main);
}

em {
  color: var(--neon-blue);
  font-style: normal;
}

/* --- リンク -------------------------------------------------- */

a,
.l-main a,
.p-postContent a {
  color: var(--neon-blue) !important;
  text-decoration: none;
  transition: color var(--transition-base),
              text-shadow var(--transition-base);
}

a:hover,
.l-main a:hover,
.p-postContent a:hover {
  color: var(--neon-pink) !important;
  text-shadow: 0 0 10px rgba(255, 0, 170, 0.5);
}

/* --- セレクション -------------------------------------------- */

::selection {
  background: var(--neon-blue);
  color: var(--bg-dark);
}

::-moz-selection {
  background: var(--neon-blue);
  color: var(--bg-dark);
}

/* --- スクロールバー ------------------------------------------ */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-blue);
  border-radius: var(--radius-pill);
  opacity: 0.6;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink);
}


/* ============================================================
   2. ヘッダー — SWELLヘッダーのダーク化
   ============================================================ */

/* SWELLヘッダー共通 */
#header,
.l-header,
.c-headInner,
.l-header__inner,
#site-header {
  background-color: rgba(10, 10, 15, 0.95) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky !important;
  top: 0;
  z-index: 1000;
  transition: background-color var(--transition-base);
  box-shadow: 0 1px 30px rgba(0, 240, 255, 0.05);
}

/* ヘッダーがスクロールされた際 */
#header.is-scrolled,
.l-header.is-scrolled {
  background-color: rgba(10, 10, 15, 0.98) !important;
  box-shadow: 0 2px 40px rgba(0, 240, 255, 0.1);
}

/* サイトロゴ */
.c-logo,
.l-header .site-logo,
.l-header__logo,
#site-logo {
  font-family: var(--font-heading) !important;
  color: var(--neon-blue) !important;
  text-shadow: var(--glow-blue);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.c-logo img,
.l-header .site-logo img {
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

/* グローバルナビゲーション */
.c-gnav,
.l-header__nav,
#global-nav {
  background-color: transparent !important;
}

.c-gnav__item,
.c-gnav a,
.l-header__nav a,
#global-nav a,
.c-gnav__item > a {
  color: var(--text-sub) !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: color var(--transition-base),
              text-shadow var(--transition-base);
  position: relative;
}

.c-gnav__item > a::after,
.l-header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
  border-radius: var(--radius-pill);
  transition: transform var(--transition-base);
}

.c-gnav__item > a:hover::after,
.l-header__nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.c-gnav__item > a:hover,
.l-header__nav a:hover,
#global-nav a:hover {
  color: var(--neon-blue) !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

/* ドロップダウンメニュー */
.c-gnav__item .sub-menu,
.c-gnav__dropdown {
  background-color: rgba(18, 18, 26, 0.97) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6),
              var(--glow-blue);
}

.c-gnav__item .sub-menu a {
  color: var(--text-sub) !important;
  border-bottom: 1px solid var(--border);
}

.c-gnav__item .sub-menu a:hover {
  color: var(--neon-blue) !important;
  background-color: rgba(0, 240, 255, 0.05) !important;
}

/* ハンバーガーメニュー（モバイル） */
.c-hamburger,
.l-header__hamburger,
#hamburger-btn {
  color: var(--neon-blue) !important;
}

.c-hamburger__line,
.l-header__hamburger span {
  background-color: var(--neon-blue) !important;
}

/* モバイルメニュー（ドロワー） */
.c-drawer,
#drawer,
.l-drawer {
  background-color: rgba(10, 10, 15, 0.98) !important;
  border-right: 1px solid var(--border);
}

.c-drawer a,
#drawer a {
  color: var(--text-sub) !important;
  border-bottom: 1px solid var(--border) !important;
}

.c-drawer a:hover,
#drawer a:hover {
  color: var(--neon-blue) !important;
  background-color: rgba(0, 240, 255, 0.05) !important;
}


/* ============================================================
   3. フッター — SWELLフッターのダーク化
   ============================================================ */

#footer,
.l-footer,
.l-footer__inner,
#site-footer {
  background-color: rgba(6, 6, 12, 0.98) !important;
  color: var(--text-sub) !important;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* フッター上部のライングロー */
#footer::before,
.l-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-blue),
    var(--neon-pink),
    var(--neon-blue),
    transparent
  );
  opacity: 0.4;
}

.l-footer a,
#footer a {
  color: var(--text-sub) !important;
  transition: color var(--transition-base);
}

.l-footer a:hover,
#footer a:hover {
  color: var(--neon-blue) !important;
}

.l-footer__copyright,
.c-copyright,
#copyright {
  color: var(--text-dim) !important;
  font-size: 0.8rem;
}

/* フッターウィジェット */
.l-footer__widget,
.footer-widget {
  color: var(--text-sub) !important;
}

.l-footer__widget h2,
.l-footer__widget h3,
.footer-widget-title {
  color: var(--neon-blue) !important;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}


/* ============================================================
   4. ボタンスタイル — ネオングロー付き
   ============================================================ */

/* SWELLボタンブロック共通リセット */
.wp-block-button__link,
.swell-btn,
.c-btn,
.btn,
.p-postContent .wp-block-button__link {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md) !important;
  padding: 14px 32px !important;
  transition: all var(--transition-base) !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
}

/* ボタンのシャイン（光の走るエフェクト） */
.wp-block-button__link::before,
.swell-btn::before,
.yabee-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}

.wp-block-button__link:hover::before,
.swell-btn:hover::before,
.yabee-btn:hover::before {
  left: 150%;
}

/* プライマリボタン */
.wp-block-button.is-style-fill .wp-block-button__link,
.yabee-btn-primary,
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--neon-blue) 0%,
    var(--neon-pink) 100%
  ) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 0 rgba(0, 240, 255, 0);
}

.wp-block-button.is-style-fill .wp-block-button__link:hover,
.yabee-btn-primary:hover,
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.35),
              0 4px 15px rgba(255, 0, 170, 0.25) !important;
}

/* セカンダリボタン（アウトライン） */
.wp-block-button.is-style-outline .wp-block-button__link,
.yabee-btn-secondary,
.btn-secondary {
  background: transparent !important;
  color: var(--neon-blue) !important;
  border: 1px solid var(--neon-blue) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.yabee-btn-secondary:hover,
.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.08) !important;
  transform: translateY(-3px);
  box-shadow: var(--glow-blue) !important;
}

/* ゴーストボタン（ピンク） */
.yabee-btn-pink {
  background: transparent !important;
  color: var(--neon-pink) !important;
  border: 1px solid var(--neon-pink) !important;
}

.yabee-btn-pink:hover {
  background: rgba(255, 0, 170, 0.08) !important;
  box-shadow: var(--glow-pink) !important;
  transform: translateY(-3px);
}

/* アクセントボタン（グリーン） */
.yabee-btn-green {
  background: var(--neon-green) !important;
  color: var(--bg-dark) !important;
  border: none !important;
}

.yabee-btn-green:hover {
  box-shadow: var(--glow-green) !important;
  transform: translateY(-3px);
}


/* ============================================================
   5. Heroセクション
   ============================================================ */

.yabee-hero,
.wp-block-cover.is-style-yabee-hero,
section.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

/* 背景グラデーション */
.yabee-hero::before,
.yabee-hero-bg {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% -10%,
      rgba(0, 240, 255, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 80%,
      rgba(255, 0, 170, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 40% 30% at 10% 60%,
      rgba(0, 255, 136, 0.06) 0%,
      transparent 50%
    ),
    var(--bg-dark);
  z-index: 0;
  pointer-events: none;
}

.yabee-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

/* ロゴのフローティングアニメーション */
.yabee-hero__logo,
.hero-logo {
  display: block;
  width: clamp(120px, 20vw, 200px);
  height: auto;
  border-radius: 50%;
  margin: 0 auto 40px;
  animation: yabeeFloat 3.5s ease-in-out infinite;
  box-shadow:
    0 0 30px rgba(0, 240, 255, 0.35),
    0 0 80px rgba(255, 0, 170, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* フローティングアニメーション */
@keyframes yabeeFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5));
  }
  25% {
    transform: translateY(-8px) rotate(1deg);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.7));
  }
  75% {
    transform: translateY(-6px) rotate(-1deg);
    filter: drop-shadow(0 0 16px rgba(255, 0, 170, 0.5));
  }
}

/* バッジ */
.yabee-hero__badge,
.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--neon-blue);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  background: rgba(0, 240, 255, 0.05);
  animation: yabeePulse 3s ease-in-out infinite;
}

/* メインタイトル */
.yabee-hero__title,
.hero h1 {
  font-family: var(--font-body) !important;
  font-size: clamp(2.8rem, 8vw, 5.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  margin-bottom: 16px !important;
  color: var(--text-main) !important;
}

/* グラデーションテキスト */
.yabee-gradient-text,
.glow {
  background: linear-gradient(
    135deg,
    var(--neon-blue) 0%,
    #b0f0ff 30%,
    var(--neon-pink) 70%,
    #ff88cc 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* サブタイトル */
.yabee-hero__subtitle,
.hero-sub {
  font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
  font-weight: 700;
  color: var(--neon-blue) !important;
  margin-bottom: 32px !important;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  font-family: var(--font-body);
}

/* 説明テキスト */
.yabee-hero__desc,
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.9;
}


/* ============================================================
   6. カードコンポーネント — ガラスモーフィズム
   ============================================================ */

/* 基本カード */
.yabee-card,
.about-card,
.token-item {
  position: relative;
  background: rgba(18, 18, 26, 0.7) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  padding: 32px;
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
  overflow: hidden;
}

/* カードの内部グロー（before疑似要素） */
.yabee-card::before,
.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 40% at 50% 0%,
    rgba(0, 240, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.yabee-card:hover::before,
.about-card:hover::before {
  opacity: 1;
}

/* カードホバー：ネオンボーダー */
.yabee-card:hover,
.about-card:hover,
.token-item:hover {
  border-color: var(--neon-blue) !important;
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.2),
    0 8px 40px rgba(0, 240, 255, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

/* カードタイトル */
.yabee-card h3,
.about-card h3 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--neon-blue) !important;
  margin-bottom: 12px !important;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

/* カードテキスト */
.yabee-card p,
.about-card p {
  color: var(--text-sub);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* グリッドレイアウト */
.yabee-card-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ピンクボーダーバリアント */
.yabee-card--pink:hover {
  border-color: var(--neon-pink) !important;
  box-shadow:
    0 0 0 1px rgba(255, 0, 170, 0.2),
    0 8px 40px rgba(255, 0, 170, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

/* グリーンボーダーバリアント */
.yabee-card--green:hover {
  border-color: var(--neon-green) !important;
  box-shadow:
    0 0 0 1px rgba(0, 255, 136, 0.2),
    0 8px 40px rgba(0, 255, 136, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.4) !important;
}


/* ============================================================
   7. セクション共通スタイル
   ============================================================ */

/* セクション余白 */
.yabee-section,
.l-main section,
.wp-block-group.yabee-section {
  padding: 80px 0;
  position: relative;
}

/* コンテナ */
.yabee-container,
.l-inner,
.l-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* セクションタイトル：グリッチエフェクト */
.yabee-section-title,
.section-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.4rem, 3vw, 1.8rem) !important;
  font-weight: 700 !important;
  color: var(--neon-blue) !important;
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 48px !important;
  position: relative;
  display: block;
  padding-bottom: 20px;
}

/* セクションタイトル下線 */
.yabee-section-title::after,
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* グリッチテキストエフェクト */
.yabee-glitch,
.glitch-text {
  position: relative;
  animation: yabeeGlitch 4s infinite;
  display: inline-block;
}

.yabee-glitch::before,
.yabee-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
}

.yabee-glitch::before {
  color: var(--neon-pink);
  animation: yabeeGlitchBefore 4s infinite;
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
}

.yabee-glitch::after {
  color: var(--neon-blue);
  animation: yabeeGlitchAfter 4s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

@keyframes yabeeGlitch {
  0%, 85%, 100% {
    text-shadow: none;
    transform: translate(0);
  }
  86% {
    text-shadow:
      2px 0 var(--neon-pink),
      -2px 0 var(--neon-blue);
    transform: translate(-2px, 1px);
  }
  88% {
    text-shadow:
      -2px 0 var(--neon-pink),
      2px 0 var(--neon-blue);
    transform: translate(2px, -1px);
  }
  90% {
    text-shadow:
      2px 2px var(--neon-pink),
      -2px -2px var(--neon-blue);
    transform: translate(0);
  }
  92% {
    text-shadow:
      3px 0 var(--neon-pink),
      -3px 0 var(--neon-blue);
    transform: translate(3px, 0);
  }
  94% {
    text-shadow: none;
    transform: translate(-1px, 2px);
  }
}

@keyframes yabeeGlitchBefore {
  0%, 85%, 100% { opacity: 0; transform: translate(0); }
  86% { opacity: 0.7; transform: translate(3px, -1px); }
  88% { opacity: 0; }
  90% { opacity: 0.5; transform: translate(-2px, 1px); }
  94% { opacity: 0; }
}

@keyframes yabeeGlitchAfter {
  0%, 87%, 100% { opacity: 0; transform: translate(0); }
  88% { opacity: 0.6; transform: translate(-3px, 1px); }
  91% { opacity: 0; }
  93% { opacity: 0.4; transform: translate(2px, -1px); }
  95% { opacity: 0; }
}

/* セクション区切りデコレーション */
.yabee-divider {
  position: relative;
  text-align: center;
  margin: 60px 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    rgba(0, 240, 255, 0.3) 50%,
    var(--border) 80%,
    transparent 100%
  );
}

.yabee-divider::before {
  content: '◈';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--neon-blue);
  font-size: 1.2rem;
  background: var(--bg-dark);
  padding: 0 16px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  animation: yabeePulse 2s ease-in-out infinite;
}

/* WPのhr要素をデコレーションに変換 */
hr,
.wp-block-separator {
  border: none !important;
  border-top: 1px solid var(--border) !important;
  background: none !important;
  margin: 60px 0 !important;
}


/* ============================================================
   8. How to Buy — 番号付きステップ
   ============================================================ */

.yabee-steps,
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

/* コネクターライン（縦線） */
.yabee-steps::before,
.steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--neon-blue),
    var(--neon-pink),
    var(--neon-green)
  );
  opacity: 0.3;
}

/* 個別ステップ */
.yabee-step,
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  position: relative;
}

.yabee-step + .yabee-step,
.step + .step {
  border-top: 1px solid var(--border);
}

/* ステップ番号 */
.yabee-step__num,
.step-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--neon-blue);
  line-height: 1;
  min-width: 50px;
  text-align: center;
  flex-shrink: 0;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
  position: relative;
  z-index: 1;
}

/* ステップ番号の背景円 */
.yabee-step__num::before,
.step-num::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  z-index: -1;
}

/* ステップコンテンツ */
.yabee-step__content,
.step-content {
  flex: 1;
  padding-top: 4px;
}

.yabee-step__content h3,
.step-content h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
  margin-bottom: 8px !important;
  font-family: var(--font-body) !important;
}

.yabee-step__content p,
.step-content p {
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.75;
}

.yabee-step__content a,
.step-content a {
  color: var(--neon-blue) !important;
  border-bottom: 1px solid rgba(0, 240, 255, 0.3);
  transition: border-color var(--transition-fast);
}

.yabee-step__content a:hover,
.step-content a:hover {
  border-color: var(--neon-blue);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

/* ステップごとのカラー変化 */
.yabee-step:nth-child(1) .yabee-step__num,
.step:nth-child(1) .step-num {
  color: var(--neon-blue);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.yabee-step:nth-child(2) .yabee-step__num,
.step:nth-child(2) .step-num {
  color: var(--neon-pink);
  text-shadow: 0 0 12px rgba(255, 0, 170, 0.5);
}

.yabee-step:nth-child(3) .yabee-step__num,
.step:nth-child(3) .step-num {
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.yabee-step:nth-child(4) .yabee-step__num,
.step:nth-child(4) .step-num {
  color: var(--neon-yellow);
  text-shadow: 0 0 12px rgba(255, 238, 0, 0.5);
}


/* ============================================================
   9. CA（Contract Address）表示エリア
   ============================================================ */

.yabee-ca-box,
.ca-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
  cursor: pointer;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
  overflow: hidden;
}

/* ターミナル感の上部ドット */
.yabee-ca-box::before,
.ca-box::before {
  content: '●  ●  ●';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 8px;
  color: rgba(0, 240, 255, 0.3);
  letter-spacing: 4px;
  pointer-events: none;
}

.yabee-ca-box:hover,
.ca-box:hover {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.yabee-ca-label,
.ca-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.8;
}

.yabee-ca-address,
.ca-address {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-main);
  word-break: break-all;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* コピーボタン */
.yabee-ca-copy,
.ca-copy {
  background: linear-gradient(
    135deg,
    var(--neon-blue),
    rgba(0, 180, 200, 0.9)
  ) !important;
  color: var(--bg-dark) !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-mono);
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.yabee-ca-copy:hover,
.ca-copy:hover {
  opacity: 0.85;
  transform: scale(1.03);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.yabee-ca-copy:active,
.ca-copy:active {
  transform: scale(0.97);
}

/* COPIED! 状態（JavaScriptで .is-copied クラスを追加） */
.yabee-ca-copy.is-copied,
.ca-copy.is-copied {
  background: linear-gradient(
    135deg,
    var(--neon-green),
    rgba(0, 200, 100, 0.9)
  ) !important;
}


/* ============================================================
   10. コミュニティ / SNSボタン — ネオンスタイル
   ============================================================ */

.yabee-community,
.community-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.yabee-community-link,
.community-link {
  position: relative;
  background: rgba(18, 18, 26, 0.8) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  padding: 18px 36px !important;
  color: var(--text-main) !important;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-decoration: none !important;
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  letter-spacing: 0.03em;
}

/* シャインエフェクト */
.yabee-community-link::after,
.community-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(0, 240, 255, 0.05) 60%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.yabee-community-link:hover::after,
.community-link:hover::after {
  opacity: 1;
}

/* X (Twitter) */
.yabee-community-link--twitter:hover,
.community-link[href*="twitter"]:hover,
.community-link[href*="x.com"]:hover {
  border-color: #1d9bf0 !important;
  box-shadow:
    0 0 20px rgba(29, 155, 240, 0.25),
    0 4px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-4px);
}

/* Discord */
.yabee-community-link--discord:hover,
.community-link[href*="discord"]:hover {
  border-color: #5865f2 !important;
  box-shadow:
    0 0 20px rgba(88, 101, 242, 0.25),
    0 4px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-4px);
}

/* Telegram */
.yabee-community-link--telegram:hover,
.community-link[href*="t.me"]:hover,
.community-link[href*="telegram"]:hover {
  border-color: #2aabee !important;
  box-shadow:
    0 0 20px rgba(42, 171, 238, 0.25),
    0 4px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-4px);
}

/* DexScreener / その他 */
.yabee-community-link--dex:hover,
.community-link[href*="dexscreener"]:hover {
  border-color: var(--neon-green) !important;
  box-shadow: var(--glow-green) !important;
  transform: translateY(-4px);
}

/* デフォルトホバー（汎用） */
.yabee-community-link:hover,
.community-link:hover {
  border-color: var(--neon-blue) !important;
  transform: translateY(-4px);
  box-shadow: var(--glow-blue) !important;
  background: rgba(0, 240, 255, 0.04) !important;
}


/* ============================================================
   11. トークノミクス
   ============================================================ */

.yabee-token-grid,
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.yabee-token-item,
.token-item {
  background: rgba(18, 18, 26, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.yabee-token-item:hover,
.token-item:hover {
  border-color: var(--neon-blue);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}

.yabee-token-item .label,
.token-item .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.yabee-token-item .value,
.token-item .value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--neon-blue);
  font-weight: 700;
  line-height: 1.3;
}

.yabee-token-item .check,
.token-item .check {
  color: var(--neon-green);
  font-size: 1.4rem;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}


/* ============================================================
   12. アニメーション定義
   ============================================================ */

/* パルスアニメーション */
@keyframes yabeePulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.3);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(0, 240, 255, 0);
  }
}

.yabee-pulse {
  animation: yabeePulse 2.5s ease-in-out infinite;
}

/* スキャンラインエフェクト（全体） */
@keyframes yabeeScan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.yabee-scanline::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.05),
    transparent
  );
  animation: yabeeScan 6s linear infinite;
  pointer-events: none;
  z-index: 9999;
}

/* フェードイン（スクロールアニメーション用） */
.yabee-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.yabee-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 左からフェードイン */
.yabee-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.yabee-fade-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右からフェードイン */
.yabee-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.yabee-fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* スケールアップ */
.yabee-scale-up {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.yabee-scale-up.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* 遅延クラス */
.yabee-delay-1 { transition-delay: 0.1s !important; }
.yabee-delay-2 { transition-delay: 0.2s !important; }
.yabee-delay-3 { transition-delay: 0.3s !important; }
.yabee-delay-4 { transition-delay: 0.4s !important; }
.yabee-delay-5 { transition-delay: 0.5s !important; }

/* テキストのネオングロー点滅 */
@keyframes yabeeNeonBlink {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 7px var(--neon-blue),
      0 0 10px var(--neon-blue),
      0 0 21px var(--neon-blue),
      0 0 42px var(--neon-blue);
    color: var(--neon-blue);
  }
  20%, 24%, 55% {
    text-shadow: none;
    color: rgba(0, 240, 255, 0.6);
  }
}

.yabee-neon-blink {
  animation: yabeeNeonBlink 5s infinite;
}

/* ローディングスピナー（ページ内ローダー用） */
@keyframes yabeeSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.yabee-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--neon-blue);
  border-radius: 50%;
  animation: yabeeSpinner 0.8s linear infinite;
}


/* ============================================================
   13. ナビゲーション（固定ヘッダー内）
   ============================================================ */

/* ページ内アンカーリンクのオフセット（固定ヘッダー分） */
[id]:target {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

/* サイドバー（必要な場合） */
.l-sidebar,
#sidebar {
  background-color: transparent !important;
}

.l-sidebar .widget,
#sidebar .widget {
  background: rgba(18, 18, 26, 0.7) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
}

.l-sidebar .widget-title,
#sidebar .widget-title {
  font-family: var(--font-heading) !important;
  font-size: 0.9rem !important;
  color: var(--neon-blue) !important;
  letter-spacing: 0.1em !important;
  border-bottom: 1px solid var(--border) !important;
  padding-bottom: 12px !important;
  margin-bottom: 16px !important;
}


/* ============================================================
   14. SWELL固有のブロック・パーツ上書き
   ============================================================ */

/* SWELLのアイキャッチ画像 */
.p-postThumb,
.c-postCard__thumbnail {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.p-postThumb img,
.c-postCard__thumbnail img {
  transition: transform var(--transition-slow) !important;
}

.p-postThumb:hover img,
.c-postCard__thumbnail:hover img {
  transform: scale(1.04);
}

/* SWELLの記事カード */
.c-postCard,
.p-postCard {
  background: rgba(18, 18, 26, 0.7) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base) !important;
  overflow: hidden;
}

.c-postCard:hover,
.p-postCard:hover {
  border-color: var(--neon-blue) !important;
  transform: translateY(-4px);
  box-shadow: var(--glow-blue) !important;
}

.c-postCard__title,
.p-postCard__title {
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
}

.c-postCard__date,
.p-postCard__date {
  color: var(--text-dim) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.78rem !important;
}

/* SWELLのカテゴリラベル */
.c-cat-label,
.p-catLabel {
  background: rgba(0, 240, 255, 0.1) !important;
  color: var(--neon-blue) !important;
  border: 1px solid rgba(0, 240, 255, 0.3) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.72rem !important;
  font-family: var(--font-mono) !important;
  letter-spacing: 1px;
}

/* SWELLのパンくずリスト */
.c-breadcrumb,
.p-breadcrumb {
  background: transparent !important;
  border: none !important;
  color: var(--text-dim) !important;
  font-size: 0.82rem !important;
}

.c-breadcrumb a,
.p-breadcrumb a {
  color: var(--text-dim) !important;
}

.c-breadcrumb a:hover,
.p-breadcrumb a:hover {
  color: var(--neon-blue) !important;
}

/* SWELLのページネーション */
.c-pager,
.wp-pagenavi {
  margin-top: 60px;
}

.c-pager__item,
.wp-pagenavi a,
.wp-pagenavi span {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-sub) !important;
  border-radius: var(--radius-sm) !important;
  transition: all var(--transition-base) !important;
}

.c-pager__item.is-active,
.c-pager__item:hover,
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  background: rgba(0, 240, 255, 0.1) !important;
  border-color: var(--neon-blue) !important;
  color: var(--neon-blue) !important;
}

/* SWELLの検索フォーム */
.c-searchForm,
.p-searchForm,
.search-form {
  position: relative;
}

.c-searchForm input,
.p-searchForm input,
.search-form input[type="search"] {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-main) !important;
  padding: 12px 20px !important;
  font-family: var(--font-body) !important;
  width: 100%;
  outline: none;
  transition: border-color var(--transition-base);
}

.c-searchForm input:focus,
.p-searchForm input:focus,
.search-form input[type="search"]:focus {
  border-color: var(--neon-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.c-searchForm input::placeholder,
.search-form input::placeholder {
  color: var(--text-dim);
}

/* SWELLのテーブル */
.wp-block-table table,
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.wp-block-table td,
.wp-block-table th,
table td,
table th {
  padding: 14px 20px !important;
  border: 1px solid var(--border) !important;
  color: var(--text-sub) !important;
  font-family: var(--font-body);
  text-align: left;
}

.wp-block-table th,
table th {
  background: rgba(0, 240, 255, 0.05) !important;
  color: var(--neon-blue) !important;
  font-family: var(--font-heading) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em;
}

.wp-block-table tr:hover td,
table tr:hover td {
  background: rgba(0, 240, 255, 0.03) !important;
}

/* コードブロック */
pre,
code,
.wp-block-code,
.wp-block-preformatted {
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--neon-green) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.88rem !important;
  line-height: 1.7;
  padding: 20px 24px !important;
}

code:not(pre code) {
  padding: 2px 8px !important;
  border-radius: var(--radius-sm) !important;
  background: rgba(0, 240, 255, 0.08) !important;
  color: var(--neon-blue) !important;
  font-size: 0.85em !important;
  border: 1px solid rgba(0, 240, 255, 0.2) !important;
}

/* 引用ブロック */
blockquote,
.wp-block-quote {
  border-left: 3px solid var(--neon-blue) !important;
  background: rgba(0, 240, 255, 0.04) !important;
  border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
  padding: 20px 28px !important;
  margin: 24px 0 !important;
  color: var(--text-sub) !important;
}

blockquote cite,
.wp-block-quote cite {
  color: var(--neon-blue) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.82rem !important;
}

/* SWELLのプロフィールボックス */
.p-blogProfileBox,
.c-blogProfileBox {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
}

/* SWELLの関連記事 */
.p-relPost,
.c-relPost {
  background: transparent !important;
}


/* ============================================================
   15. 免責事項セクション
   ============================================================ */

.yabee-disclaimer,
.disclaimer {
  margin-top: 80px;
  padding: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: rgba(255, 68, 68, 0.03);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.yabee-disclaimer::before,
.disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 68, 68, 0.4),
    transparent
  );
}

.yabee-disclaimer h3,
.disclaimer h3 {
  color: #ff6b6b !important;
  font-family: var(--font-mono) !important;
  font-size: 0.85rem !important;
  letter-spacing: 3px !important;
  margin-bottom: 16px !important;
}

.yabee-disclaimer p,
.disclaimer p {
  color: var(--text-dim) !important;
  font-size: 0.82rem !important;
  line-height: 1.85 !important;
  max-width: 720px;
  margin: 0 auto;
}


/* ============================================================
   16. フォームエレメント（全般）
   ============================================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base);
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--neon-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-dim);
}

label {
  color: var(--text-sub) !important;
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: block;
}


/* ============================================================
   17. ユーティリティクラス
   ============================================================ */

/* テキストカラー */
.yabee-text-blue  { color: var(--neon-blue)  !important; }
.yabee-text-pink  { color: var(--neon-pink)  !important; }
.yabee-text-green { color: var(--neon-green) !important; }
.yabee-text-dim   { color: var(--text-dim)   !important; }
.yabee-text-sub   { color: var(--text-sub)   !important; }
.yabee-text-main  { color: var(--text-main)  !important; }

/* テキストシャドウ（グロー） */
.yabee-glow-blue  { text-shadow: 0 0 12px rgba(0, 240, 255, 0.6); }
.yabee-glow-pink  { text-shadow: 0 0 12px rgba(255, 0, 170, 0.6); }
.yabee-glow-green { text-shadow: 0 0 12px rgba(0, 255, 136, 0.6); }

/* フォント */
.yabee-font-heading { font-family: var(--font-heading) !important; }
.yabee-font-mono    { font-family: var(--font-mono)    !important; }

/* ボーダー */
.yabee-border-blue  { border: 1px solid var(--border) !important; }
.yabee-border-glow  { border: 1px solid var(--neon-blue) !important;
                       box-shadow: var(--glow-blue); }

/* 背景 */
.yabee-bg-card    { background: var(--bg-card)    !important; }
.yabee-bg-dark    { background: var(--bg-dark)    !important; }
.yabee-bg-glass   {
  background: rgba(18, 18, 26, 0.7) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* スペーシング */
.yabee-mt-lg { margin-top: 80px !important; }
.yabee-mb-lg { margin-bottom: 80px !important; }
.yabee-mt-md { margin-top: 40px !important; }
.yabee-mb-md { margin-bottom: 40px !important; }

/* テキスト整列 */
.yabee-text-center { text-align: center !important; }
.yabee-text-left   { text-align: left   !important; }

/* 非表示 */
.yabee-hidden { display: none !important; }

/* フルwidth */
.yabee-full-width {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


/* ============================================================
   18. レスポンシブ対応
   ============================================================ */

/* ---- デスクトップ（1024px 以上）-------------------------- */
@media (min-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  .yabee-hero,
  section.hero {
    padding: 140px 40px 100px;
  }

  .yabee-section,
  .l-main section {
    padding: 100px 0;
  }

  .yabee-card-grid,
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .yabee-token-grid,
  .token-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- タブレット（768px 〜 1024px）------------------------ */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --header-height: 70px;
  }

  .yabee-hero,
  section.hero {
    padding: 110px 32px 80px;
  }

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

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

  .yabee-community,
  .community-links {
    gap: 12px;
  }

  .yabee-community-link,
  .community-link {
    padding: 16px 28px !important;
  }
}

/* ---- モバイル（768px 未満）------------------------------- */
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
  }

  /* ヘッダー */
  #header,
  .l-header {
    padding: 0 16px;
  }

  /* Hero */
  .yabee-hero,
  section.hero {
    padding: 90px 16px 60px;
    min-height: auto;
  }

  .yabee-hero__logo,
  .hero-logo {
    width: clamp(100px, 35vw, 140px);
    margin-bottom: 28px;
  }

  .yabee-hero__title,
  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }

  .yabee-hero__subtitle,
  .hero-sub {
    font-size: 1.1rem !important;
  }

  .yabee-hero__desc,
  .hero-desc {
    font-size: 0.95rem;
  }

  /* CA Box */
  .yabee-ca-box,
  .ca-box {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px 20px;
  }

  .yabee-ca-address,
  .ca-address {
    font-size: 0.72rem;
  }

  .yabee-ca-copy,
  .ca-copy {
    width: 100%;
    justify-content: center;
  }

  /* ボタングループ */
  .yabee-btn-group,
  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .yabee-btn-group a,
  .btn-group .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* セクション */
  .yabee-section,
  .l-main section {
    padding: 60px 0;
  }

  .yabee-section-title,
  .section-title {
    font-size: 1.2rem !important;
    letter-spacing: 0.1em !important;
  }

  /* カード */
  .yabee-card-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .yabee-card,
  .about-card {
    padding: 24px 20px;
  }

  /* ステップ */
  .yabee-steps::before,
  .steps::before {
    left: 20px;
    top: 60px;
    bottom: 60px;
  }

  .yabee-step,
  .step {
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
  }

  .yabee-step__num,
  .step-num {
    font-size: 1.4rem;
    min-width: auto;
  }

  /* トークノミクス */
  .yabee-token-grid,
  .token-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .yabee-token-item,
  .token-item {
    padding: 20px 12px;
  }

  .yabee-token-item .value,
  .token-item .value {
    font-size: 0.95rem;
  }

  /* コミュニティ */
  .yabee-community,
  .community-links {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0 16px;
  }

  .yabee-community-link,
  .community-link {
    padding: 16px 24px !important;
    justify-content: center;
  }

  /* ナビ */
  .c-gnav,
  .l-header__nav {
    display: none;
  }

  /* 免責事項 */
  .yabee-disclaimer,
  .disclaimer {
    padding: 28px 20px;
    margin-top: 60px;
  }

  /* フッター */
  #footer,
  .l-footer {
    padding: 40px 16px;
    text-align: center;
  }
}

/* ---- 極小モバイル（375px 未満）--------------------------- */
@media (max-width: 374px) {
  .yabee-hero__title,
  .hero h1 {
    font-size: 1.9rem !important;
  }

  .yabee-token-grid,
  .token-grid {
    grid-template-columns: 1fr;
  }

  .yabee-ca-address,
  .ca-address {
    font-size: 0.68rem;
  }
}


/* ============================================================
   19. SWELLテーマ固有のセレクター詳細上書き
       （SWELLバージョン差異を吸収するための追加セット）
   ============================================================ */

/* SWELL v2.x / v3.x 両対応 */
.l-wrap,
#wrap {
  background-color: var(--bg-dark) !important;
}

/* SWELLのスティッキーサイドバー */
.l-sidebar__sticky {
  top: calc(var(--header-height) + 20px) !important;
}

/* SWELLのスムーズスクロールオフセット */
.l-header.is-sticky ~ .l-main [id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

/* SWELLのキャプション */
figcaption,
.wp-block-image figcaption,
.wp-element-caption {
  color: var(--text-dim) !important;
  font-size: 0.8rem !important;
  font-family: var(--font-mono) !important;
  text-align: center;
  margin-top: 8px;
}

/* SWELLのトップへ戻るボタン */
.c-backToTop,
#back-to-top {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  color: var(--neon-blue) !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-base) !important;
}

.c-backToTop:hover,
#back-to-top:hover {
  border-color: var(--neon-blue) !important;
  box-shadow: var(--glow-blue) !important;
  transform: translateY(-4px);
}

/* SWELLの目次 */
.swell-block-toc,
.c-toc {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  padding: 24px !important;
  margin: 32px 0 !important;
}

.swell-block-toc__title,
.c-toc__title {
  font-family: var(--font-heading) !important;
  color: var(--neon-blue) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.1em !important;
}

.swell-block-toc a,
.c-toc a {
  color: var(--text-sub) !important;
  border-bottom: none !important;
}

.swell-block-toc a:hover,
.c-toc a:hover {
  color: var(--neon-blue) !important;
}

/* SWELLのハイライトブロック */
.swell-block-faq,
.swell-block-box {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-sub) !important;
}

/* SWELLのマーカーハイライト */
.swell-block-marker,
mark {
  background: rgba(0, 240, 255, 0.2) !important;
  color: var(--neon-blue) !important;
  border-radius: 3px;
  padding: 0 4px;
}

/* SWELLのアコーディオン */
.swell-block-accordion__title {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-main) !important;
  transition: all var(--transition-base);
}

.swell-block-accordion__title:hover {
  border-color: var(--neon-blue) !important;
  color: var(--neon-blue) !important;
}

.swell-block-accordion__body {
  background: rgba(18, 18, 26, 0.5) !important;
  border: 1px solid var(--border) !important;
  border-top: none !important;
  color: var(--text-sub) !important;
}

/* SWELLのタブ */
.swell-block-tab__btn {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-sub) !important;
  transition: all var(--transition-base);
}

.swell-block-tab__btn.is-active {
  background: rgba(0, 240, 255, 0.1) !important;
  border-color: var(--neon-blue) !important;
  color: var(--neon-blue) !important;
}

.swell-block-tab__body {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-top: none !important;
  color: var(--text-sub) !important;
}


/* ============================================================
   20. 印刷スタイル
   ============================================================ */

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  #header,
  .l-header,
  #footer,
  .l-footer,
  .c-backToTop {
    display: none !important;
  }

  a {
    color: #0066cc !important;
  }

  .yabee-card,
  .about-card,
  .yabee-ca-box {
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
  }
}


/* ============================================================
   EOF — やべぇトークン ($YABEE) カスタムCSS
   ============================================================ */
