@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** Y2K Design — CSS変数・カラー
************************************/
:root {
  --lavender:    #E8D5FF;
  --soft-purple: #C9A8E8;
  --mid-purple:  #9B6FD0;
  --deep-purple: #5B2D9E;
  --dark:        #1E0A3C;
  --white:       #FDFAFF;
  --pink:        #F5D0FF;
  --mint:        #D0F0FF;
  --star-gold:   #FFD700;
}

/************************************
** ベース
************************************/
html {
  background: #1E0A3C !important;
  scroll-behavior: smooth;
}
body {
  background: var(--dark) !important;
  color: var(--white);
}

/* ピクセルテクスチャ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(201,168,232,0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}

/* Y2Kグリッド */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,232,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/************************************
** 背景・ボーダー除去
************************************/
#main, .main, #content, .content,
.singular-main, .archive-main, .home-main {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.wrap, #wrap {
  background: var(--dark) !important;
  border: none !important;
  outline: none !important;
}

/************************************
** ヘッダー（完全版）
************************************/

#header-container {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(30, 10, 60, 0.9) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(201, 168, 232, 0.15) !important;
  box-shadow: none !important;
}

/* Cover ALL .wrap contexts in header */
#header-container-in.wrap,
#header-container-in .wrap,
#header-container .wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* hlt-center-logo の縦並びを完全上書き */
#header-container-in.hlt-center-logo,
#header-container-in {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 48px !important;
  height: 64px !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

/* Cover hlt-top-menu state (scroll-triggered) */
#header-container-in.hlt-top-menu,
#header-container-in.hlt-top-menu.wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 48px !important;
  height: 64px !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Nav items: override Cocoon's width:176px height:60px in ALL states */
.hlt-top-menu .navi-in > ul > li,
.hlt-center-logo .navi-in > ul > li,
.navi-in > ul > li {
  width: auto !important;
  height: auto !important;
}

#header {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
  border: none !important;
  text-align: left !important;
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  height: auto !important;
}

#header-in {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}

.tagline { display: none !important; }

/* ロゴ */
h1.logo.logo-header, .logo-header {
  margin: 0 !important;
  padding: 0 !important;
}
.site-name-text-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}
.site-name-text-link::before {
  content: '✦';
  color: var(--star-gold);
  font-size: 18px;
  animation: spin-star 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.8));
  display: inline-block;
}
@keyframes spin-star {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}
.site-name-text {
  font-family: 'Unbounded', 'Noto Sans KR', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  letter-spacing: -0.02em !important;
}

/* ナビゲーション */
#navi, .navi {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  margin-left: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
}
.navi-in {
  display: flex !important;
  align-items: center !important;
}
.navi-in > ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  align-items: center !important;
}
.navi-in > ul > li {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
}
.navi-in > ul > li > a {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  padding: 0 !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.navi-in > ul > li > a:hover {
  color: var(--soft-purple) !important;
  background: transparent !important;
}
/************************************
** 見出しグローエフェクト
************************************/
.entry-title, h1.entry-title {
  font-family: 'Unbounded', 'Noto Sans JP', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F0AAFF, #FF99FF, #CC66FF, #FF88FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(255,140,255,0.6)) drop-shadow(0 0 16px rgba(200,80,255,0.3));
  animation: glow-pink 3s ease-in-out infinite;
}
h2 {
  font-family: 'Unbounded', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  animation: glow-white 3s ease-in-out infinite;
}
h3, h4 {
  color: var(--soft-purple);
  text-shadow: 0 0 12px rgba(201,168,232,0.6);
}
@keyframes glow-white {
  0%, 100% { text-shadow: 0 0 6px rgba(255,255,255,0.7), 0 0 16px rgba(220,180,255,0.4), 0 0 32px rgba(180,100,255,0.2); }
  50%       { text-shadow: 0 0 8px rgba(255,255,255,0.85), 0 0 22px rgba(220,180,255,0.55), 0 0 44px rgba(180,100,255,0.3); }
}
@keyframes glow-pink {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255,140,255,0.6)) drop-shadow(0 0 16px rgba(200,80,255,0.3)); }
  50%       { filter: drop-shadow(0 0 10px rgba(255,160,255,0.75)) drop-shadow(0 0 24px rgba(210,90,255,0.45)); }
}

/************************************
** カード・記事一覧
************************************/
.card, .entry-card, .a-wrap {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(201, 168, 232, 0.12) !important;
  border-radius: 20px !important;
  transition: all 0.3s !important;
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.card:hover, .entry-card:hover, .a-wrap:hover {
  border-color: rgba(201, 168, 232, 0.35) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(91, 45, 158, 0.25) !important;
}
.card-title, .entry-card-title {
  color: var(--white) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.card-meta, .post-date, .update-date {
  color: rgba(201, 168, 232, 0.5) !important;
  font-size: 12px;
}

/************************************
** ボタン
************************************/
.btn, .wp-block-button__link, .more-link {
  background: linear-gradient(135deg, #B07FE8, #7B4FBF) !important;
  color: white !important;
  padding: 12px 32px !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 8px 32px rgba(123,79,191,0.5) !important;
  transition: all 0.3s !important;
  text-decoration: none !important;
}
.btn:hover, .wp-block-button__link:hover, .more-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(123,79,191,0.7) !important;
}

/************************************
** サイドバー
************************************/
#sidebar, .sidebar {
  color: var(--white) !important;
}
.widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.12);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.widget-title, .widgettitle {
  font-family: 'Unbounded', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  color: #FDFAFF !important;
  background: transparent !important;
  border-left: 3px solid #FFD700;
  padding: 16px 20px !important;
  border-bottom: 1px solid rgba(201,168,232,0.1);
  border-radius: 0 !important;
}
.widget ul { padding: 12px 0; }
.widget ul li {
  padding: 8px 20px;
  border-bottom: 1px solid rgba(201,168,232,0.06);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.widget ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.widget ul li a:hover { color: #C9A8E8; }

/************************************
** フッター
************************************/
#footer, .footer {
  background: rgba(30, 10, 60, 0.9) !important;
  border-top: 1px solid rgba(201, 168, 232, 0.15);
  color: rgba(201, 168, 232, 0.6) !important;
}

/************************************
** スクロールバー
************************************/
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--mid-purple); border-radius: 3px; }

/************************************
** マーキー
************************************/
.y2k-marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(201,168,232,0.1);
  border-bottom: 1px solid rgba(201,168,232,0.1);
  background: rgba(155,111,208,0.08);
  padding: 14px 0;
}
.y2k-marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.y2k-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(201,168,232,0.6);
  font-weight: 500;
  text-transform: uppercase;
}
.y2k-marquee-star {
  color: var(--star-gold);
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.6));
}

/************************************
** レスポンシブ
************************************/
@media screen and (max-width: 1023px) {
  .entry-title, h1.entry-title { font-size: 36px; }
}
@media screen and (max-width: 834px) {
  .entry-title, h1.entry-title { font-size: 28px; }
  body::after { display: none; }

  /* PCナビリンク・CTAは非表示 */
  #navi { display: none !important; }
  .nav-cta { display: none !important; }

  /* nav-extrasはモバイルでは非表示（トグルはCocoonバーに移動済み） */
  .nav-extras { display: none !important; }

  /* PC用ヘッダーコンテナをモバイルで非表示（Cocoonバーにロゴあり） */
  #header-container {
    display: none !important;
  }

  /* Cocoonモバイルヘッダーバーを常時固定 */
  .mobile-header-menu-buttons {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(20, 8, 48, 0.98) !important;
    border-bottom: 1px solid rgba(201,168,232,0.15) !important;
  }

  /* 固定バー分のbody上マージン */
  body {
    padding-top: 46px !important;
  }

  /* バー内のDAY/NIGHTトグルサイズ調整 */
  .mobile-header-menu-buttons .mode-switch {
    transform: scale(0.8) !important;
    transform-origin: center center !important;
    flex-shrink: 0 !important;
  }

  /* バー内ボタンの色 */
  .mobile-header-menu-buttons .menu-button,
  .mobile-header-menu-buttons .menu-caption {
    color: rgba(201,168,232,0.6) !important;
    font-size: 10px !important;
  }
  .mobile-header-menu-buttons .menu-icon {
    color: #FDFAFF !important;
  }

  /* 検索ボタン非表示（JSでも削除するがCSS側でも保険） */
  .mobile-header-menu-buttons .search-menu-button {
    display: none !important;
  }

  /* 「メニュー」等のキャプション非表示 */
  .mobile-header-menu-buttons .menu-caption,
  .mobile-header-menu-buttons .navi-menu-caption {
    display: none !important;
  }

  /* サイト名ロゴ部分は表示 */
  .mobile-header-menu-buttons .logo-menu-button .menu-button-in,
  .mobile-header-menu-buttons .home-menu-button .menu-caption,
  .mobile-header-menu-buttons .mobile-logo-styled {
    display: block !important;
    font-family: 'Unbounded', 'Noto Sans KR', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.02em !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #FFFFFF !important;
  }

  /* ✦ プレフィックス */
  .mobile-header-menu-buttons .mobile-logo-styled::before {
    content: '\2726 ';
  }

  /* ===== HAMBURGER MENU (3本線) ===== */

  /* fa-barsアイコンを非表示 */
  .navi-menu-button .menu-icon .fa,
  .navi-menu-button .menu-icon .fa-bars,
  #navi-menu-open .menu-icon .fa,
  #navi-menu-open .menu-icon .fa-bars {
    display: none !important;
  }

  /* .menu-iconで3本線を描画 */
  .navi-menu-button .menu-icon,
  #navi-menu-open .menu-icon {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 20px !important;
    height: 20px !important;
  }

  .navi-menu-button .menu-icon::before,
  .navi-menu-button .menu-icon::after,
  #navi-menu-open .menu-icon::before,
  #navi-menu-open .menu-icon::after {
    content: '' !important;
    display: block !important;
    width: 18px !important;
    height: 1px !important;
    background: #FDFAFF !important;
    border-radius: 1px !important;
    transition: all 0.3s !important;
  }

  .navi-menu-button .menu-icon::before,
  #navi-menu-open .menu-icon::before {
    margin-bottom: 4px !important;
    box-shadow: 0 5px 0 #FDFAFF !important;  /* 中央の線 */
  }

  .navi-menu-button .menu-icon::after,
  #navi-menu-open .menu-icon::after {
    margin-top: 4px !important;
  }

  /* ライトモード */
  body.light-mode .navi-menu-button .menu-icon::before,
  body.light-mode .navi-menu-button .menu-icon::after,
  body.light-mode #navi-menu-open .menu-icon::before,
  body.light-mode #navi-menu-open .menu-icon::after {
    background: #1E0A3C !important;
  }
  body.light-mode .navi-menu-button .menu-icon::before,
  body.light-mode #navi-menu-open .menu-icon::before {
    box-shadow: 0 5px 0 #1E0A3C !important;
  }

  /* スライドメニュー背景 */
  #navi-menu-content,
  .navi-menu-content,
  .menu-content {
    background: rgba(20, 8, 48, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(201,168,232,0.15) !important;
  }
  body.light-mode #navi-menu-content,
  body.light-mode .navi-menu-content {
    background: rgba(250,245,255,0.97) !important;
  }

  /* メニューリンク */
  .menu-drawer a,
  .menu-drawer li a,
  #navi-menu-content a,
  .navi-menu-content a {
    color: rgba(255,255,255,0.85) !important;
    font-size: 15px !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid rgba(201,168,232,0.06) !important;
    display: block !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
  }
  body.light-mode .menu-drawer a,
  body.light-mode #navi-menu-content a {
    color: rgba(30,10,60,0.85) !important;
  }
  .menu-drawer a:hover,
  #navi-menu-content a:hover {
    color: #C9A8E8 !important;
    background: rgba(201,168,232,0.06) !important;
    padding-left: 32px !important;
  }

  /* 閉じるボタン */
  .navi-menu-close-button,
  .menu-close-button,
  label#navi-menu-close {
    color: rgba(201,168,232,0.6) !important;
    background: transparent !important;
    font-size: 20px !important;
  }
  body.light-mode .mobile-header-menu-buttons {
    background: rgba(245, 243, 255, 0.98) !important;
    border-bottom-color: rgba(139, 90, 191, 0.15) !important;
  }
  body.light-mode .mobile-header-menu-buttons .mobile-logo-styled,
  body.light-mode .mobile-header-menu-buttons .logo-menu-button .menu-button-in {
    color: #2A1550 !important;
    -webkit-text-fill-color: #2A1550 !important;
  }
}
@media screen and (max-width: 480px) {
  .entry-title, h1.entry-title { font-size: 22px; }
  .card, .entry-card, .a-wrap { border-radius: 14px !important; }
}

/************************************
** ナビ エクストラ (DAY/NIGHT + CTA)
************************************/
.nav-extras {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.mode-switch {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,232,0.2);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
  backdrop-filter: blur(8px);
}
.mode-switch-btn {
  padding: 6px 14px;
  border-radius: 100px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s;
  background: transparent;
  color: rgba(201,168,232,0.5);
  font-family: 'Unbounded', sans-serif;
}
.mode-switch-btn.active {
  background: linear-gradient(135deg, #9B6FD0, #5B2D9E);
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  box-shadow: 0 2px 12px rgba(91,45,158,0.4);
}
.mode-switch-btn:hover:not(.active) {
  color: rgba(201,168,232,0.85);
  background: rgba(201,168,232,0.08);
}
.nav-cta {
  background: linear-gradient(135deg, var(--mid-purple), var(--deep-purple));
  color: white !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(201,168,232,0.3);
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(91,45,158,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(91,45,158,0.6);
}

/************************************
** タイムインジケーター
************************************/
.time-indicator {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 200;
  background: rgba(30,10,60,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,232,0.2);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 11px;
  color: rgba(201,168,232,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}
.time-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C9A8E8;
  animation: dot-blink 2s ease-in-out infinite;
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/************************************
** ヒーローセクション (フロントページのみ)
************************************/
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px 60px;
  overflow: hidden;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(155,111,208,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(91,45,158,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 10%, rgba(201,168,232,0.15) 0%, transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(201,168,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,232,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.float-star {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  animation: floatUp var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0) r
    otate(0deg); opacity: var(--op); }
  50% { transform: translateY(-20px) rotate(var(--rot)); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 2;
}
.y2k-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,232,0.12);
  border: 1px solid rgba(201,168,232,0.3);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--soft-purple);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.y2k-badge::before, .y2k-badge::after {
  content: '\2605';
  color: var(--star-gold);
  font-size: 10px;
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.8));
}
.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  position: relative;
}
.hero-title .line1 {
  display: block;
  color: #FFFFFF;
  text-shadow:
    0 0 6px rgba(255,255,255,0.7),
    0 0 16px rgba(220,180,255,0.4),
    0 0 32px rgba(180,100,255,0.2);
  animation: glow-white 3s ease-in-out infinite;
}
.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, #F0AAFF, #FF99FF, #CC66FF, #FF88FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 0 6px rgba(255,140,255,0.6))
    drop-shadow(0 0 16px rgba(200,80,255,0.3));
  animation: glow-pink 3s ease-in-out infinite 0.6s;
}
.hero-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  color: rgba(201,168,232,0.7);
  letter-spacing: 0.3em;
  margin-bottom: 28px;
  font-weight: 300;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto 44px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 72px;
}
.btn-primary {
  background: linear-gradient(135deg, #B07FE8, #7B4FBF);
  color: white;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(123,79,191,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(123,79,191,0.7); color: rgba(201,168,232,0.9); }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  border: 1px solid rgba(201,168,232,0.2);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: rgba(201,168,232,0.5); background: rgba(201,168,232,0.08); }
.feature-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,232,0.2);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.pill:hover { border-color: rgba(201,168,232,0.5); color: white; background: rgba(201,168,232,0.1); }
.pill-icon { font-size: 16px; }

/************************************
** コンテンツセクション装飾
************************************/
.card::after, .entry-card::after, .a-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255,215,0,0.02) 2px,
    rgba(255,215,0,0.02) 4px
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::after, .entry-card:hover::after, .a-wrap:hover::after { opacity: 1; }
.card::before, .entry-card::before, .a-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse at top left, rgba(201,168,232,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before, .entry-card:hover::before, .a-wrap:hover::before { opacity: 1; }

/************************************
** スムーズモード遷移
************************************/
body { transition: background 0.8s ease, color 0.8s ease; }
#header-container, .card, .entry-card, .a-wrap, .y2k-marquee-wrap {
  transition: background 0.8s ease, border-color 0.8s ease, box-shadow 0.8s ease;
}

/************************************
** ライトモード (DAY)
************************************/
body.light-mode {
  --dark: #FAFAFF;
  --white: #2A1550;
  --soft-purple: #8B5ABF;
  --mid-purple: #7B4FBF;
  --deep-purple: #5B2D9E;
  --star-gold: #C49A00;
  background: #FAFAFF !important;
  color: #2A1550;
}
body.light-mode html { background: #FAFAFF !important; }

/* Nav light */
body.light-mode #header-container {
  background: rgba(250,250,255,0.88) !important;
  border-bottom-color: rgba(139,90,191,0.15) !important;
}
body.light-mode .site-name-text { color: #2A1550 !important; }
body.light-mode .navi-in > ul > li > a { color: #6B4A9A !important; }
body.light-mode .nav-cta {
  background: linear-gradient(135deg, #9B6FD0, #5B2D9E);
  color: white !important;
  box-shadow: 0 4px 16px rgba(91,45,158,0.25);
}
body.light-mode .mode-switch {
  background: rgba(139,90,191,0.07);
  border-color: rgba(139,90,191,0.2);
}
body.light-mode .mode-switch-btn {
  color: rgba(91,45,158,0.4);
}
body.light-mode .mode-switch-btn.active {
  background: linear-gradient(135deg, #8B5ABF, #5B2D9E);
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
  box-shadow: 0 2px 12px rgba(91,45,158,0.3);
}
body.light-mode .mode-switch-btn:hover:not(.active) {
  color: rgba(91,45,158,0.7);
  background: rgba(139,90,191,0.08);
}

/* Hero light */
body.light-mode .hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(201,168,232,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(180,140,220,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 10%, rgba(230,200,255,0.25) 0%, transparent 50%);
}
body.light-mode .hero-grid {
  background-image:
    linear-gradient(rgba(139,90,191,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,90,191,0.06) 1px, transparent 1px);
}
body.light-mode .hero-title .line1 {
  color: #1E0A3C;
  text-shadow:
    0 0 6px rgba(139,90,191,0.25),
    0 0 16px rgba(139,90,191,0.12);
  animation: glow-white-light 3s ease-in-out infinite;
}
body.light-mode .hero-title .line2 {
  background: linear-gradient(135deg, #8B3FBF, #C06FE8, #9B4FD0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 0 4px rgba(155,79,208,0.4))
    drop-shadow(0 0 12px rgba(139,63,191,0.2));
  animation: glow-pink-light 3s ease-in-out infinite 0.6s;
}
@keyframes glow-white-light {
  0%, 100% { text-shadow: 0 0 6px rgba(139,90,191,0.25), 0 0 16px rgba(139,90,191,0.12); }
  50%       { text-shadow: 0 0 10px rgba(139,90,191,0.35), 0 0 24px rgba(139,90,191,0.18); }
}
@keyframes glow-pink-light {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(155,79,208,0.4)) drop-shadow(0 0 12px rgba(139,63,191,0.2)); }
  50%       { filter: drop-shadow(0 0 8px rgba(155,79,208,0.55)) drop-shadow(0 0 20px rgba(139,63,191,0.3)); }
}
body.light-mode .hero-kr { color: #9B6FD0; }
body.light-mode .hero-desc { color: #5A4070; }
body.light-mode .y2k-badge {
  background: rgba(139,90,191,0.08);
  border-color: rgba(139,90,191,0.25);
  color: #7B4FBF;
}

/* Buttons light */
body.light-mode .btn-primary {
  background: linear-gradient(135deg, #9B6FD0, #5B2D9E);
  box-shadow: 0 8px 32px rgba(91,45,158,0.3);
}
body.light-mode .btn-ghost {
  background: rgba(139,90,191,0.06);
  color: #6B4A9A;
  border-color: rgba(139,90,191,0.25);
}
body.light-mode .btn-ghost:hover {
  background: rgba(139,90,191,0.12);
  border-color: rgba(139,90,191,0.4);
}

/* Pills light */
body.light-mode .pill {
  background: rgba(139,90,191,0.06);
  border-color: rgba(139,90,191,0.18);
  color: #5A4070;
}
body.light-mode .pill:hover {
  background: rgba(139,90,191,0.12);
  color: #3A1A6A;
}

/* Marquee light */
body.light-mode .y2k-marquee-wrap {
  background: rgba(139,90,191,0.05);
  border-color: rgba(139,90,191,0.12);
}
body.light-mode .y2k-marquee-item { color: rgba(91,45,158,0.5); }
body.light-mode .y2k-marquee-star { color: #C49A00; }

/* Headings light */
body.light-mode .entry-title, body.light-mode h1.entry-title {
  background: linear-gradient(135deg, #8B3FBF, #C06FE8, #9B4FD0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 4px rgba(155,79,208,0.3));
  animation: glow-pink-light 3s ease-in-out infinite;
}
body.light-mode h2 {
  color: #1E0A3C;
  animation: glow-white-light 3s ease-in-out infinite;
}
body.light-mode h3, body.light-mode h4 {
  color: #8B5ABF;
  text-shadow: 0 0 8px rgba(139,90,191,0.3);
}

/* Cards light */
body.light-mode .card,
body.light-mode .entry-card,
body.light-mode .a-wrap {
  background: rgba(255,255,255,0.8) !important;
  border-color: rgba(139,90,191,0.15) !important;
  box-shadow: 0 4px 20px rgba(139,90,191,0.06) !important;
}
body.light-mode .card:hover,
body.light-mode .entry-card:hover,
body.light-mode .a-wrap:hover {
  border-color: rgba(139,90,191,0.35) !important;
  background: white !important;
  box-shadow: 0 12px 40px rgba(91,45,158,0.12) !important;
}
body.light-mode .card-title,
body.light-mode .entry-card-title { color: #1E0A3C !important; }
body.light-mode .card-meta,
body.light-mode .post-date,
body.light-mode .update-date { color: rgba(91,45,158,0.45) !important; }

/* Sidebar light */
body.light-mode #sidebar,
body.light-mode .sidebar,
body.light-mode .widget {
  background: rgba(255,255,255,0.85) !important;
  border-color: rgba(139,90,191,0.15) !important;
  color: #2A1550 !important;
}

/* Background overrides light */
body.light-mode .wrap,
body.light-mode #wrap {
  background: #FAFAFF !important;
}
body.light-mode #main, body.light-mode .main,
body.light-mode #content, body.light-mode .content,
body.light-mode .singular-main, body.light-mode .archive-main,
body.light-mode .home-main {
  background: transparent !important;
}

/* Footer light */
body.light-mode #footer, body.light-mode .footer {
  background: rgba(250,250,255,0.95) !important;
  border-top-color: rgba(139,90,191,0.15);
  color: rgba(91,45,158,0.5) !important;
}

/* Canvas opacity light */
body.light-mode #starCanvas { opacity: 0.3; }
body.light-mode #glitterCanvas { opacity: 0.5; }

/* Body pixel texture light */
body.light-mode::before {
  background-image: radial-gradient(circle, rgba(139,90,191,0.04) 1px, transparent 1px);
  mix-blend-mode: multiply;
}
body.light-mode::after {
  background-image:
    linear-gradient(rgba(139,90,191,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,90,191,0.04) 1px, transparent 1px);
}

/* Time indicator light */
body.light-mode .time-indicator {
  background: rgba(250,250,255,0.85);
  border-color: rgba(139,90,191,0.2);
  color: rgba(91,45,158,0.6);
}
body.light-mode .time-dot { background: #9B6FD0; }

/* Scrollbar light */
body.light-mode::-webkit-scrollbar-track { background: #FAFAFF; }
body.light-mode::-webkit-scrollbar-thumb { background: #C9A8E8; }

/************************************
** ヒーロー レスポンシブ
************************************/
@media screen and (max-width: 834px) {
  .hero { padding: 60px 20px 40px; min-height: 80vh; }
  .hero-title { font-size: 42px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .feature-pills { flex-direction: column; align-items: center; }
  .nav-extras { gap: 8px; }
  .nav-cta { display: none; }
}
@media screen and (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .mode-switch-btn { padding: 4px 10px; font-size: 11px; }
}

/************************************
** Cocoonラッパー対策（フロントページ）
************************************/
.home #sidebar { display: none; }
.home #content,
.home .content-in,
.home #main,
.home .main,
.home .column-wrap,
.home .column-main,
.home #content-in {
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/************************************
** リンクリセット（カスタムカード）
************************************/
a.cat-card, a.article-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/************************************
** カテゴリセクション
************************************/
.section {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--soft-purple);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '\2726';
  color: var(--star-gold);
  font-size: 10px;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 20px rgba(201,168,232,0.3);
}
.section-title span {
  color: var(--soft-purple);
  text-shadow: 0 0 12px rgba(201,168,232,0.6), 0 0 30px rgba(201,168,232,0.3);
}
.see-all {
  color: rgba(201,168,232,0.6);
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.see-all:hover { color: var(--soft-purple); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.12);
  border-radius: 24px;
  padding: 36px 32px;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at top left, rgba(201,168,232,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.cat-card:hover {
  border-color: rgba(201,168,232,0.35);
  background: rgba(201,168,232,0.06);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(91,45,158,0.3);
}
.cat-card:hover::before { opacity: 1; }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255,215,0,0.02) 2px,
    rgba(255,215,0,0.02) 4px
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cat-card:hover::after { opacity: 1; }

.cat-star-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.5));
}
.cat-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  color: var(--white);
}
.cat-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  color: var(--soft-purple);
  margin-bottom: 14px;
  font-weight: 300;
}
.cat-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.cat-count {
  margin-top: 20px;
  font-size: 11px;
  color: rgba(201,168,232,0.5);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-count::before { content: '\2726'; color: var(--star-gold); font-size: 9px; }

/************************************
** フィーチャード記事
************************************/
.featured-section {
  position: relative;
  z-index: 1;
  padding: 0 48px 100px;
}
.featured-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.15);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.featured-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,111,208,0.15), transparent 70%);
  pointer-events: none;
}
.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  color: #FFD700;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.featured-tag::before { content: '\2605'; font-size: 10px; }
.featured-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-shadow: 0 0 16px rgba(255,255,255,0.2);
}
.featured-title span {
  color: var(--soft-purple);
  text-shadow: 0 0 12px rgba(201,168,232,0.7), 0 0 28px rgba(201,168,232,0.4);
}
.featured-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 32px;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.featured-meta-item {
  font-size: 12px;
  color: rgba(201,168,232,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.featured-visual {
  background: linear-gradient(145deg, rgba(91,45,158,0.4), rgba(155,111,208,0.2));
  border-radius: 24px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,232,0.15);
  position: relative;
  overflow: hidden;
}
.featured-visual-text {
  font-family: 'Unbounded', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: rgba(201,168,232,0.15);
  letter-spacing: -0.05em;
}
.featured-visual-stars {
  position: absolute;
  font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.6));
}
.fvs1 { top: 24px; left: 24px; animation: twinkle 2s ease-in-out infinite; }
.fvs2 { bottom: 24px; right: 24px; animation: twinkle 2s ease-in-out infinite 0.5s; font-size: 20px; }
.fvs3 { top: 50%; right: 32px; animation: twinkle 2s ease-in-out infinite 1s; font-size: 16px; }
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/************************************
** 新着記事グリッド
************************************/
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.1);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.article-card:hover {
  border-color: rgba(201,168,232,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(91,45,158,0.25);
}
.article-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}
.article-card:nth-child(1) .article-thumb {
  background: linear-gradient(135deg, rgba(91,45,158,0.5), rgba(155,111,208,0.3));
}
.article-card:nth-child(2) .article-thumb {
  background: linear-gradient(135deg, rgba(45,91,158,0.5), rgba(111,155,208,0.3));
}
.article-card:nth-child(3) .article-thumb {
  background: linear-gradient(135deg, rgba(158,45,121,0.5), rgba(208,111,185,0.3));
}
.article-thumb-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.article-body { padding: 20px; }
.article-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.article-meta {
  font-size: 12px;
  color: rgba(201,168,232,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-star { color: var(--star-gold); font-size: 11px; }

/************************************
** ピクセルコーナー装飾
************************************/
.pixel-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}
.pixel-corner::before, .pixel-corner::after {
  content: '';
  position: absolute;
  background: rgba(255,215,0,0.55);
}
.pixel-corner.tl::before { width: 14px; height: 2px; top: 0; left: 0; }
.pixel-corner.tl::after  { width: 2px; height: 14px; top: 0; left: 0; }
.pixel-corner.tr::before { width: 14px; height: 2px; top: 0; right: 0; }
.pixel-corner.tr::after  { width: 2px; height: 14px; top: 0; right: 0; }
.pixel-corner.bl::before { width: 14px; height: 2px; bottom: 0; left: 0; }
.pixel-corner.bl::after  { width: 2px; height: 14px; bottom: 0; left: 0; }
.pixel-corner.br::before { width: 14px; height: 2px; bottom: 0; right: 0; }
.pixel-corner.br::after  { width: 2px; height: 14px; bottom: 0; right: 0; }

/************************************
** ライトモード — セクション・カード
************************************/
body.light-mode .section { background: transparent; }
body.light-mode .section-label { color: #8B5ABF; }
body.light-mode .section-title {
  color: #1E0A3C;
  text-shadow: 0 0 16px rgba(139,90,191,0.12);
}
body.light-mode .section-title span {
  color: #8B5ABF;
  text-shadow: 0 0 8px rgba(139,90,191,0.3);
}
body.light-mode .see-all { color: rgba(91,45,158,0.5); }

body.light-mode .cat-card {
  background: rgba(255,255,255,0.8);
  border-color: rgba(139,90,191,0.15);
  box-shadow: 0 4px 20px rgba(139,90,191,0.06);
}
body.light-mode .cat-card:hover {
  border-color: rgba(139,90,191,0.35);
  background: white;
  box-shadow: 0 12px 40px rgba(91,45,158,0.12);
}
body.light-mode .cat-name { color: #1E0A3C; }
body.light-mode .cat-kr { color: #8B5ABF; }
body.light-mode .cat-desc { color: #6A5080; }
body.light-mode .cat-count { color: rgba(91,45,158,0.4); }

body.light-mode .featured-card {
  background: rgba(255,255,255,0.85);
  border-color: rgba(139,90,191,0.18);
  box-shadow: 0 8px 40px rgba(139,90,191,0.08);
}
body.light-mode .featured-title { color: #1E0A3C; text-shadow: none; }
body.light-mode .featured-title span {
  color: #8B5ABF;
  text-shadow: 0 0 8px rgba(139,90,191,0.3);
}
body.light-mode .featured-desc { color: #5A4070; }
body.light-mode .featured-meta-item { color: rgba(91,45,158,0.5); }
body.light-mode .featured-visual {
  background: linear-gradient(145deg, rgba(201,168,232,0.25), rgba(180,140,220,0.15));
  border-color: rgba(139,90,191,0.18);
}
body.light-mode .featured-visual-text { color: rgba(139,90,191,0.12); }

body.light-mode .article-card {
  background: white;
  border-color: rgba(139,90,191,0.12);
  box-shadow: 0 4px 16px rgba(139,90,191,0.06);
}
body.light-mode .article-card:hover {
  box-shadow: 0 12px 40px rgba(91,45,158,0.14);
  border-color: rgba(139,90,191,0.25);
}
body.light-mode .article-title { color: #1E0A3C; }
body.light-mode .article-meta { color: rgba(91,45,158,0.45); }
body.light-mode .article-card:nth-child(1) .article-thumb {
  background: linear-gradient(135deg, rgba(201,168,232,0.4), rgba(180,140,220,0.25));
}
body.light-mode .article-card:nth-child(2) .article-thumb {
  background: linear-gradient(135deg, rgba(168,201,232,0.4), rgba(140,170,220,0.25));
}
body.light-mode .article-card:nth-child(3) .article-thumb {
  background: linear-gradient(135deg, rgba(220,168,232,0.4), rgba(200,140,220,0.25));
}
body.light-mode .article-thumb-cat {
  background: rgba(255,255,255,0.85);
  color: #7B4FBF;
  border-color: rgba(139,90,191,0.2);
}

/************************************
** レスポンシブ — セクション（768px以下）
************************************/
@media screen and (max-width: 768px) {
  .section { padding: 60px 20px; }
  .cat-grid, .articles-grid { grid-template-columns: 1fr; }
  .featured-section { padding: 0 20px 60px; }
  .featured-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/************************************
** Cocoonラッパー対策（カテゴリページ）
************************************/
.category #sidebar,
.page #sidebar { display: none; }
.category #content,
.category .content-in,
.category #main,
.category .main,
.category .column-wrap,
.category .column-main,
.category #content-in,
.page #content,
.page .content-in,
.page #main,
.page .main,
.page .column-wrap,
.page .column-main,
.page #content-in {
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/************************************
** ページヒーロー（カテゴリページ）
************************************/
.page-hero {
  position: relative;
  z-index: 1;
  padding: 64px 48px 48px;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(155,111,208,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 50%, rgba(91,45,158,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(91,45,158,0.15) 0%, transparent 50%);
}
.page-hero-content { position: relative; z-index: 2; }

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,232,0.12);
  border: 1px solid rgba(201,168,232,0.3);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--soft-purple);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-tag::before, .page-tag::after { content: '\2605'; color: var(--star-gold); font-size: 9px; }

.page-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.page-title .white {
  color: #fff;
  text-shadow: 0 0 6px rgba(255,255,255,0.7), 0 0 20px rgba(220,180,255,0.4);
}
.page-title .pink {
  background: linear-gradient(135deg, #F0AAFF, #FF99FF, #CC66FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255,140,255,0.5));
}
.page-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  color: rgba(201,168,232,0.6);
  letter-spacing: 0.2em;
  font-weight: 300;
  margin-bottom: 8px;
}
.page-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}

/************************************
** ディバイダー
************************************/
.divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,232,0.2), transparent);
  margin: 0 48px;
}

/************************************
** 記事カード拡張（カテゴリページ）
************************************/
.article-cat {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.article-new {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--star-gold);
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.article-card:nth-child(4) .article-thumb {
  background: linear-gradient(135deg, rgba(158,91,45,0.5), rgba(208,155,111,0.3));
}
.article-card:nth-child(5) .article-thumb {
  background: linear-gradient(135deg, rgba(45,158,91,0.4), rgba(111,208,155,0.25));
}
.article-card:nth-child(6) .article-thumb {
  background: linear-gradient(135deg, rgba(91,45,158,0.5), rgba(201,168,232,0.3));
}

/************************************
** アーティストカード
************************************/
.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.artist-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.artist-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.12);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s;
  position: relative;
}
.artist-card:hover {
  border-color: rgba(201,168,232,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(91,45,158,0.3);
}
.artist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse at top, rgba(201,168,232,0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.artist-card:hover::before { opacity: 1; }

.artist-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}
.artist-card:nth-child(1) .artist-thumb { background: linear-gradient(145deg, rgba(91,45,158,0.6), rgba(155,111,208,0.3)); }
.artist-card:nth-child(2) .artist-thumb { background: linear-gradient(145deg, rgba(45,91,158,0.6), rgba(111,155,208,0.3)); }
.artist-card:nth-child(3) .artist-thumb { background: linear-gradient(145deg, rgba(158,45,121,0.6), rgba(208,111,185,0.3)); }
.artist-card:nth-child(4) .artist-thumb { background: linear-gradient(145deg, rgba(45,158,130,0.5), rgba(111,208,185,0.25)); }
.artist-card:nth-child(5) .artist-thumb { background: linear-gradient(145deg, rgba(158,130,45,0.5), rgba(208,185,111,0.25)); }

.artist-thumb-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.artist-corner {
  position: absolute;
  width: 12px; height: 12px;
  pointer-events: none;
}
.artist-corner::before, .artist-corner::after {
  content: '';
  position: absolute;
  background: rgba(255,215,0,0.5);
}
.artist-corner.tl::before { width: 12px; height: 2px; top: 0; left: 0; }
.artist-corner.tl::after  { width: 2px; height: 12px; top: 0; left: 0; }
.artist-corner.tr::before { width: 12px; height: 2px; top: 0; right: 0; }
.artist-corner.tr::after  { width: 2px; height: 12px; top: 0; right: 0; }

.artist-body { padding: 20px; }
.artist-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.artist-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  color: var(--soft-purple);
  margin-bottom: 10px;
  font-weight: 300;
}
.artist-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 14px;
}
.artist-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.artist-tag {
  background: rgba(201,168,232,0.1);
  border: 1px solid rgba(201,168,232,0.2);
  color: rgba(201,168,232,0.7);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
}
.artist-tag-gold {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
}

/************************************
** TXTグループ紹介カード
************************************/
.txt-group-intro {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.15);
  border-radius: 24px;
  padding: 36px 40px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.txt-group-intro-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,111,208,0.15), transparent 70%);
  pointer-events: none;
}
.txt-group-intro-icon { font-size: 64px; flex-shrink: 0; }
.txt-group-intro-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.txt-group-intro-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  color: var(--soft-purple);
  margin-bottom: 12px;
  font-weight: 300;
}
.txt-group-intro-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 600px;
}
.txt-group-intro-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.txt-group-intro-tags .artist-tag {
  font-size: 11px;
  padding: 4px 12px;
}

/************************************
** ライトモード — カテゴリページ
************************************/
body.light-mode .page-hero-bg {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201,168,232,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 50%, rgba(180,140,220,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(180,140,220,0.2) 0%, transparent 50%);
}
body.light-mode .page-title .white {
  color: #1E0A3C;
  text-shadow: 0 0 6px rgba(139,90,191,0.25), 0 0 16px rgba(139,90,191,0.12);
}
body.light-mode .page-title .pink {
  background: linear-gradient(135deg, #8B3FBF, #C06FE8, #9B4FD0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 4px rgba(155,79,208,0.4));
}
body.light-mode .page-kr { color: #9B6FD0; }
body.light-mode .page-desc { color: #5A4070; }
body.light-mode .page-tag {
  background: rgba(139,90,191,0.08);
  border-color: rgba(139,90,191,0.25);
  color: #7B4FBF;
}

body.light-mode .divider {
  background: linear-gradient(90deg, transparent, rgba(139,90,191,0.18), transparent);
}

body.light-mode .article-cat {
  background: rgba(255,255,255,0.85);
  color: #7B4FBF;
  border-color: rgba(139,90,191,0.2);
}
body.light-mode .article-new {
  background: rgba(196,154,0,0.1);
  border-color: rgba(196,154,0,0.3);
  color: #C49A00;
}

body.light-mode .artist-card {
  background: rgba(255,255,255,0.8);
  border-color: rgba(139,90,191,0.15);
  box-shadow: 0 4px 20px rgba(139,90,191,0.06);
}
body.light-mode .artist-card:hover {
  border-color: rgba(139,90,191,0.35);
  background: white;
  box-shadow: 0 12px 40px rgba(91,45,158,0.12);
}
body.light-mode .artist-name { color: #1E0A3C; }
body.light-mode .artist-kr { color: #8B5ABF; }
body.light-mode .artist-desc { color: #6A5080; }
body.light-mode .artist-tag {
  background: rgba(139,90,191,0.08);
  border-color: rgba(139,90,191,0.2);
  color: rgba(91,45,158,0.6);
}
body.light-mode .artist-tag-gold {
  background: rgba(196,154,0,0.08);
  border-color: rgba(196,154,0,0.25);
  color: #C49A00;
}

body.light-mode .txt-group-intro {
  background: rgba(255,255,255,0.85);
  border-color: rgba(139,90,191,0.18);
}
body.light-mode .txt-group-intro-name { color: #1E0A3C; }
body.light-mode .txt-group-intro-kr { color: #8B5ABF; }
body.light-mode .txt-group-intro-desc { color: #5A4070; }

body.light-mode .article-card:nth-child(4) .article-thumb {
  background: linear-gradient(135deg, rgba(220,190,160,0.4), rgba(200,170,140,0.25));
}
body.light-mode .article-card:nth-child(5) .article-thumb {
  background: linear-gradient(135deg, rgba(160,220,180,0.4), rgba(140,200,160,0.25));
}
body.light-mode .article-card:nth-child(6) .article-thumb {
  background: linear-gradient(135deg, rgba(201,168,232,0.4), rgba(180,140,220,0.25));
}

/************************************
** レスポンシブ — カテゴリページ（768px以下）
************************************/
@media screen and (max-width: 768px) {
  .page-hero { padding: 40px 20px 32px; }
  .page-title { font-size: 36px; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .divider { margin: 0 20px; }
  .txt-group-intro { flex-direction: column; gap: 20px; padding: 24px; text-align: center; }
  .txt-group-intro-tags { justify-content: center; }
}
@media screen and (max-width: 480px) {
  .artist-grid, .artist-grid-5 { grid-template-columns: 1fr; }
}

/* メンバーカード出典クレジット（写真オーバーレイ） */
.artist-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 9px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.5);
  padding: 2px 6px;
  border-radius: 0 4px 0 0;
  line-height: 1.4;
}

/************************************
** アクセントカラー — 韓国語学習 & カルチャー
************************************/

/* 韓国語学習: ミント系 #6FD0B0 */
.page-title .mint {
  background: linear-gradient(135deg, #6FD0B0, #4FC8A0, #8FE0C8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(111,208,176,0.5));
}

/* カルチャー: ラベンダー系 #D0A8FF */
.page-title .lavender {
  background: linear-gradient(135deg, #D0A8FF, #C090FF, #E0C0FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(208,168,255,0.5));
}

/* ページヒーロー背景バリエーション */
.page-hero--korean .page-hero-bg {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(111,208,176,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 50%, rgba(79,200,160,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(79,200,160,0.15) 0%, transparent 50%);
}
.page-hero--culture .page-hero-bg {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(208,168,255,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 50%, rgba(192,144,255,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(192,144,255,0.15) 0%, transparent 50%);
}

/* レベルフィルター */
.level-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.level-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,232,0.2);
  color: rgba(201,168,232,0.6);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.level-pill:hover {
  border-color: rgba(111,208,176,0.5);
  color: #6FD0B0;
  background: rgba(111,208,176,0.08);
}
.level-pill.active {
  background: linear-gradient(135deg, rgba(111,208,176,0.2), rgba(79,200,160,0.1));
  border-color: rgba(111,208,176,0.4);
  color: #6FD0B0;
}

/************************************
** ライトモード — 韓国語学習 & カルチャー
************************************/
body.light-mode .page-title .mint {
  background: linear-gradient(135deg, #3BA080, #2E9070, #50B898);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 4px rgba(59,160,128,0.4));
}
body.light-mode .page-title .lavender {
  background: linear-gradient(135deg, #8B5ABF, #A070D0, #7B4FBF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 4px rgba(139,90,191,0.4));
}
body.light-mode .page-hero--korean .page-hero-bg {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(111,208,176,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 50%, rgba(79,200,160,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(79,200,160,0.2) 0%, transparent 50%);
}
body.light-mode .page-hero--culture .page-hero-bg {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(208,168,255,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 50%, rgba(192,144,255,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(192,144,255,0.2) 0%, transparent 50%);
}
body.light-mode .level-pill {
  background: rgba(59,160,128,0.06);
  border-color: rgba(59,160,128,0.2);
  color: rgba(59,160,128,0.6);
}
body.light-mode .level-pill:hover {
  border-color: rgba(59,160,128,0.4);
  color: #3BA080;
}
body.light-mode .level-pill.active {
  background: rgba(59,160,128,0.12);
  border-color: rgba(59,160,128,0.4);
  color: #3BA080;
}

/************************************
** About ページ
************************************/

/* Hero */
.about-hero {
  position: relative;
  z-index: 1;
  padding: 100px 48px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(155,111,208,0.2) 0%, transparent 60%);
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,232,0.1);
  border: 1px solid rgba(201,168,232,0.25);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--soft-purple);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.about-badge::before, .about-badge::after {
  content: '★';
  color: var(--star-gold);
  font-size: 10px;
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.8));
}
.about-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF, #E8D5FF, #C9A8E8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(201,168,232,0.4));
}
.about-subtitle {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  color: rgba(201,168,232,0.7);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.about-sub-en {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

/* Star divider */
.star-divider {
  text-align: center;
  padding: 20px 0;
  color: var(--star-gold);
  font-size: 14px;
  letter-spacing: 12px;
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.5));
  position: relative;
  z-index: 1;
}

/* Floating deco stars */
.deco-star {
  position: absolute;
  pointer-events: none;
  animation: about-float var(--d) ease-in-out infinite;
  animation-delay: var(--dl);
  color: var(--star-gold);
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.6));
}
@keyframes about-float {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: var(--op); }
  50% { transform: translateY(-16px) rotate(20deg); opacity: 1; }
}

/* Concept section */
.about-concept-section {
  position: relative;
  z-index: 1;
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.concept-text {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 2;
}
.concept-text p { margin-bottom: 20px; }
.concept-text strong { color: var(--soft-purple); font-weight: 600; }
.concept-visual {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.15);
  border-radius: 28px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.concept-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,111,208,0.2), transparent 70%);
}
.concept-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(201,168,232,0.15);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.concept-meaning {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}
.concept-meaning strong {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  color: var(--soft-purple);
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(201,168,232,0.5);
}

/* Features section */
.about-features-section {
  position: relative;
  z-index: 1;
  padding: 0 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.12);
  border-radius: 24px;
  padding: 36px 28px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(201,168,232,0.35);
  background: rgba(201,168,232,0.06);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(91,45,158,0.25);
  color: inherit;
}
.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.4));
}
.feature-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.feature-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  color: var(--soft-purple);
  margin-bottom: 14px;
  font-weight: 300;
}
.feature-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

/* Contact section */
.about-contact-section {
  position: relative;
  z-index: 1;
  padding: 0 48px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.15);
  border-radius: 32px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,111,208,0.12), transparent 70%);
  pointer-events: none;
}
.pixel-corner { position: absolute; width: 14px; height: 14px; }
.pixel-corner::before, .pixel-corner::after { content: ''; position: absolute; background: rgba(255,215,0,0.5); }
.pixel-corner.tl { top: 12px; left: 12px; }
.pixel-corner.tl::before { width: 14px; height: 2px; top: 0; left: 0; }
.pixel-corner.tl::after { width: 2px; height: 14px; top: 0; left: 0; }
.pixel-corner.tr { top: 12px; right: 12px; }
.pixel-corner.tr::before { width: 14px; height: 2px; top: 0; right: 0; }
.pixel-corner.tr::after { width: 2px; height: 14px; top: 0; right: 0; }
.pixel-corner.bl { bottom: 12px; left: 12px; }
.pixel-corner.bl::before { width: 14px; height: 2px; bottom: 0; left: 0; }
.pixel-corner.bl::after { width: 2px; height: 14px; bottom: 0; left: 0; }
.pixel-corner.br { bottom: 12px; right: 12px; }
.pixel-corner.br::before { width: 14px; height: 2px; bottom: 0; right: 0; }
.pixel-corner.br::after { width: 2px; height: 14px; bottom: 0; right: 0; }
.contact-inner { max-width: 560px; }
.contact-note {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* CF7 form Y2K styling */
.contact-inner .wpcf7 p { margin-bottom: 20px; }
.contact-inner .wpcf7 label {
  display: block;
  font-size: 12px;
  color: var(--soft-purple);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-inner .wpcf7 input[type="text"],
.contact-inner .wpcf7 input[type="email"],
.contact-inner .wpcf7 textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,232,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-size: 14px;
  font-family: 'Space Grotesk', 'Noto Sans KR', sans-serif;
  outline: none;
  transition: all 0.3s;
  box-sizing: border-box;
}
.contact-inner .wpcf7 input[type="text"]:focus,
.contact-inner .wpcf7 input[type="email"]:focus,
.contact-inner .wpcf7 textarea:focus {
  border-color: rgba(201,168,232,0.5);
  background: rgba(201,168,232,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,232,0.1);
}
.contact-inner .wpcf7 textarea {
  height: 140px;
  resize: vertical;
}
.contact-inner .wpcf7 input[type="text"]::placeholder,
.contact-inner .wpcf7 input[type="email"]::placeholder,
.contact-inner .wpcf7 textarea::placeholder {
  color: rgba(255,255,255,0.2);
}
.contact-inner .wpcf7 input[type="submit"] {
  background: linear-gradient(135deg, var(--mid-purple), var(--deep-purple));
  color: white;
  padding: 14px 40px;
  border-radius: 100px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 32px rgba(91,45,158,0.4);
  transition: all 0.3s;
}
.contact-inner .wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(91,45,158,0.6);
}

/* About ライトモード */
body.light-mode .about-hero {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(155,111,208,0.15) 0%, transparent 60%);
}
body.light-mode .about-badge {
  background: rgba(139,90,191,0.08);
  border-color: rgba(139,90,191,0.25);
  color: #7B4FBF;
}
body.light-mode .about-title {
  background: linear-gradient(135deg, #1E0A3C, #7B4FBF, #9B6FD0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(139,90,191,0.3));
}
body.light-mode .about-subtitle { color: #9B6FD0; }
body.light-mode .about-sub-en { color: rgba(90,64,112,0.5); }
body.light-mode .star-divider {
  color: #D4A800;
  filter: drop-shadow(0 0 4px rgba(212,168,0,0.4));
}
body.light-mode .concept-text { color: #5A4070; }
body.light-mode .concept-text strong { color: #7B4FBF; }
body.light-mode .concept-visual {
  background: rgba(139,90,191,0.04);
  border-color: rgba(139,90,191,0.15);
}
body.light-mode .concept-kr { color: rgba(139,90,191,0.15); }
body.light-mode .concept-meaning { color: #5A4070; }
body.light-mode .feature-card {
  background: rgba(139,90,191,0.04);
  border-color: rgba(139,90,191,0.12);
}
body.light-mode .feature-card:hover {
  background: rgba(139,90,191,0.08);
  border-color: rgba(139,90,191,0.3);
  box-shadow: 0 20px 60px rgba(139,90,191,0.15);
}
body.light-mode .feature-name { color: #1E0A3C; }
body.light-mode .feature-kr { color: #7B4FBF; }
body.light-mode .feature-desc { color: #5A4070; }
body.light-mode .contact-card {
  background: rgba(139,90,191,0.04);
  border-color: rgba(139,90,191,0.15);
}
body.light-mode .contact-note { color: #5A4070; }
body.light-mode .contact-inner .wpcf7 label { color: #7B4FBF; }
body.light-mode .contact-inner .wpcf7 input[type="text"],
body.light-mode .contact-inner .wpcf7 input[type="email"],
body.light-mode .contact-inner .wpcf7 textarea {
  background: rgba(139,90,191,0.04);
  border-color: rgba(139,90,191,0.2);
  color: #1E0A3C;
}
body.light-mode .contact-inner .wpcf7 input[type="text"]:focus,
body.light-mode .contact-inner .wpcf7 input[type="email"]:focus,
body.light-mode .contact-inner .wpcf7 textarea:focus {
  border-color: rgba(123,79,191,0.5);
  background: rgba(139,90,191,0.06);
}
body.light-mode .contact-inner .wpcf7 input[type="text"]::placeholder,
body.light-mode .contact-inner .wpcf7 input[type="email"]::placeholder,
body.light-mode .contact-inner .wpcf7 textarea::placeholder {
  color: rgba(90,64,112,0.3);
}

/* About レスポンシブ */
@media screen and (max-width: 768px) {
  .about-hero { padding: 60px 20px 48px; }
  .about-title { font-size: 36px; }
  .about-concept-section { padding: 48px 20px; }
  .concept-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-features-section { padding: 0 20px 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .about-contact-section { padding: 0 20px 60px; }
  .contact-card { padding: 32px 24px; border-radius: 20px; }
}

/************************************
** 記事ページ — アニメーション無効・背景静穏化
************************************/
.single .glitter-canvas,
.single .star-canvas {
  display: none !important;
}
.single .pixel-texture {
  opacity: 0.3 !important;
}

/************************************
** サイドバーウィジェット全面リデザイン
************************************/
/* ウィジェット全体 — ガラスカード */
.widget {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,168,232,0.12) !important;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 20px !important;
  backdrop-filter: blur(8px);
}

/* ウィジェットタイトル — ゴールド左ボーダー */
.widget-title, .widgettitle {
  font-family: 'Unbounded', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  color: var(--white) !important;
  background: transparent !important;
  border-left: 3px solid var(--star-gold) !important;
  border-bottom: 1px solid rgba(201,168,232,0.08) !important;
  border-top: none !important;
  border-right: none !important;
  padding: 14px 20px !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* ウィジェット内リスト */
.widget ul,
.widget ol {
  padding: 12px 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.widget ul li,
.widget ol li {
  padding: 10px 20px !important;
  border-bottom: 1px solid rgba(201,168,232,0.05) !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.65) !important;
  list-style: none !important;
  transition: background 0.2s;
}
.widget ul li:last-child,
.widget ol li:last-child {
  border-bottom: none !important;
}
.widget ul li:hover,
.widget ol li:hover {
  background: rgba(201,168,232,0.05);
}
.widget ul li a,
.widget ol li a {
  color: rgba(255,255,255,0.65) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.widget ul li a:hover,
.widget ol li a:hover {
  color: #C9A8E8 !important;
}

/* 検索ウィジェット — Cocoon */
.search-box,
.widget_search form {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  position: relative !important;
}
.search-box input[type="text"],
.search-box .search-edit,
.widget_search .search-edit,
.widget_search input[type="search"] {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(201,168,232,0.18) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  color: var(--white) !important;
  font-size: 13px !important;
  outline: none !important;
  flex: 1 !important;
  min-width: 0 !important;
  width: auto !important;
}
.search-box input[type="text"]:focus,
.search-box .search-edit:focus,
.widget_search .search-edit:focus {
  border-color: rgba(201,168,232,0.45) !important;
}
.search-box input::placeholder,
.widget_search .search-edit::placeholder {
  color: rgba(255,255,255,0.2) !important;
}
.search-submit,
.search-box button,
.widget_search .search-submit {
  background: linear-gradient(135deg, var(--mid-purple), var(--deep-purple)) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  color: white !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  position: static !important;
  flex-shrink: 0 !important;
}

/************************************
** SNSシェアボタン — Cocoon アイコン丸ボタン
************************************/
/* Cocoon SNSシェアコンテナ */
.sns-share-buttons {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 32px 0 !important;
  column-count: unset !important;
}

/* 個別ボタン共通 */
.sns-share-buttons a,
.sns-share-buttons .sns-share-button {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(201,168,232,0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s !important;
  padding: 0 !important;
  min-width: unset !important;
  margin: 0 !important;
  flex: none !important;
  color: rgba(255,255,255,0.6) !important;
}
.sns-share-buttons a:hover,
.sns-share-buttons .sns-share-button:hover {
  transform: translateY(-2px);
}

/* テキスト（ブランド名・カウント）非表示 */
.sns-share-buttons .button-caption,
.sns-share-buttons .share-count {
  display: none !important;
}

/* アイコンサイズ */
.sns-share-buttons .button-icon,
.sns-share-buttons .social-icon,
.sns-share-buttons .icon-svg {
  font-size: 16px !important;
}

/* ホバー時ブランドカラー */
.sns-share-buttons .x-button:hover,
.sns-share-buttons .twitter-button:hover {
  border-color: rgba(255,255,255,0.6) !important;
  box-shadow: 0 4px 16px rgba(255,255,255,0.1) !important;
  color: white !important;
}
.sns-share-buttons .facebook-button:hover {
  border-color: rgba(66,103,178,0.8) !important;
  box-shadow: 0 4px 16px rgba(66,103,178,0.25) !important;
  color: #4267B2 !important;
}
.sns-share-buttons .hatebu-button:hover {
  border-color: rgba(0,140,210,0.8) !important;
  box-shadow: 0 4px 16px rgba(0,140,210,0.25) !important;
  color: #008CD2 !important;
}
.sns-share-buttons .line-button:hover {
  border-color: rgba(0,195,0,0.8) !important;
  box-shadow: 0 4px 16px rgba(0,195,0,0.2) !important;
  color: #00C300 !important;
}
.sns-share-buttons .pocket-button:hover {
  border-color: rgba(239,74,86,0.8) !important;
  box-shadow: 0 4px 16px rgba(239,74,86,0.2) !important;
  color: #EF4A56 !important;
}
.sns-share-buttons .pinterest-button:hover {
  border-color: rgba(230,0,35,0.8) !important;
  box-shadow: 0 4px 16px rgba(230,0,35,0.2) !important;
  color: #E00023 !important;
}
.sns-share-buttons .copy-button:hover {
  border-color: rgba(201,168,232,0.6) !important;
  box-shadow: 0 4px 16px rgba(201,168,232,0.15) !important;
  color: var(--soft-purple) !important;
}

/* シェアメッセージ */
.sns-share-message {
  font-size: 11px !important;
  color: rgba(201,168,232,0.5) !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px !important;
}

/************************************
** タグスタイル — Cocoon
************************************/
.tag-link,
.entry-tags a,
.tagcloud a,
.post-tag,
article .tag-link {
  background: rgba(201,168,232,0.1) !important;
  border: 1px solid rgba(201,168,232,0.25) !important;
  color: #C9A8E8 !important;
  border-radius: 100px !important;
  padding: 5px 14px !important;
  font-size: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  display: inline-block !important;
  margin: 2px !important;
}
.tag-link:hover,
.entry-tags a:hover,
.tagcloud a:hover,
.post-tag:hover {
  background: rgba(201,168,232,0.2) !important;
  color: #FDFAFF !important;
  border-color: rgba(201,168,232,0.45) !important;
}

/************************************
** コメントセクション — Cocoon
************************************/
.comment-btn,
.comment-area-button,
#respond {
  visibility: visible !important;
  opacity: 1 !important;
}
.comment-btn,
.comment-area-button {
  width: 100%;
  background: transparent !important;
  border: 1px solid rgba(201,168,232,0.2) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  color: rgba(255,255,255,0.45) !important;
  font-size: 14px !important;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s;
}
.comment-btn:hover,
.comment-area-button:hover {
  border-color: rgba(201,168,232,0.4) !important;
  color: rgba(255,255,255,0.7) !important;
  background: rgba(201,168,232,0.04) !important;
}

/************************************
** 前後記事ナビ — Cocoon
************************************/
.pager-post-navi {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin: 40px 0 !important;
}
.pager-post-navi a {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,168,232,0.12) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
  display: block !important;
  color: inherit !important;
}
.pager-post-navi a:hover {
  border-color: rgba(201,168,232,0.3) !important;
  background: rgba(201,168,232,0.05) !important;
  transform: translateY(-2px);
}
.pager-post-navi .post-navi-title,
.pager-post-navi .prev-post-title,
.pager-post-navi .next-post-title {
  font-size: 14px !important;
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}
.pager-post-navi .prev-next-label,
.pager-post-navi .navi-arrow-text {
  font-size: 10px !important;
  color: rgba(201,168,232,0.5) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  display: block !important;
}
/* サムネイル非表示（テキストナビのみ） */
.pager-post-navi img,
.pager-post-navi .prev-post-thumb,
.pager-post-navi .next-post-thumb {
  display: none !important;
}

/************************************
** 記事ページ — ライトモード追加
************************************/
body.light-mode .widget {
  background: rgba(139,90,191,0.04) !important;
  border-color: rgba(139,90,191,0.12) !important;
}
body.light-mode .widget-title,
body.light-mode .widgettitle {
  color: #1E0A3C !important;
  border-bottom-color: rgba(139,90,191,0.08) !important;
}
body.light-mode .widget ul li a,
body.light-mode .widget ol li a {
  color: #5A4070 !important;
}
body.light-mode .widget ul li a:hover,
body.light-mode .widget ol li a:hover {
  color: #7B4FBF !important;
}
body.light-mode .sns-share-buttons a,
body.light-mode .sns-share-buttons .sns-share-button {
  background: rgba(139,90,191,0.06) !important;
  border-color: rgba(139,90,191,0.18) !important;
  color: rgba(90,64,112,0.6) !important;
}
body.light-mode .tag-link,
body.light-mode .entry-tags a,
body.light-mode .tagcloud a {
  background: rgba(139,90,191,0.08) !important;
  border-color: rgba(139,90,191,0.25) !important;
  color: #7B4FBF !important;
}
body.light-mode .tag-link:hover,
body.light-mode .entry-tags a:hover,
body.light-mode .tagcloud a:hover {
  background: rgba(139,90,191,0.15) !important;
  color: #1E0A3C !important;
}
body.light-mode .pager-post-navi a {
  background: rgba(139,90,191,0.04) !important;
  border-color: rgba(139,90,191,0.12) !important;
}
body.light-mode .pager-post-navi a:hover {
  background: rgba(139,90,191,0.08) !important;
  border-color: rgba(139,90,191,0.25) !important;
}
body.light-mode .pager-post-navi .post-navi-title,
body.light-mode .pager-post-navi .prev-post-title,
body.light-mode .pager-post-navi .next-post-title {
  color: #1E0A3C !important;
}
body.light-mode .comment-btn,
body.light-mode .comment-area-button {
  border-color: rgba(139,90,191,0.2) !important;
  color: #5A4070 !important;
}

/************************************
** 記事ページ — レスポンシブ
************************************/
@media screen and (max-width: 768px) {
  .pager-post-navi {
    grid-template-columns: 1fr !important;
  }
}

/************************************
** コメントフォーム — ダーク系スタイル
************************************/
#respond,
.comment-respond,
.comment-form-wrap,
#comments,
.comments-area {
  background: transparent !important;
  color: var(--white) !important;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
#respond textarea,
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"] {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(201,168,232,0.2) !important;
  border-radius: 12px !important;
  color: #FDFAFF !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  outline: none !important;
  transition: border-color 0.3s !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
#respond textarea:focus,
#respond input[type="text"]:focus,
#respond input[type="email"]:focus {
  border-color: rgba(201,168,232,0.5) !important;
  box-shadow: 0 0 0 3px rgba(201,168,232,0.1) !important;
}
.comment-form textarea::placeholder,
.comment-form input::placeholder,
#respond textarea::placeholder,
#respond input::placeholder {
  color: rgba(255,255,255,0.2) !important;
}
.comment-form label,
#respond label {
  color: rgba(201,168,232,0.7) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  font-weight: 600 !important;
}
.comment-form .submit,
.comment-form input[type="submit"],
#respond input[type="submit"] {
  background: linear-gradient(135deg, #9B6FD0, #5B2D9E) !important;
  color: white !important;
  border: none !important;
  padding: 12px 36px !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  letter-spacing: 0.05em !important;
}
.comment-form .submit:hover,
.comment-form input[type="submit"]:hover,
#respond input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,45,158,0.5) !important;
}

/************************************
** サイドバー親要素の白背景除去
************************************/
#sidebar,
.sidebar,
.sidebar-in,
.sidebar-area,
aside,
aside.sidebar,
#sidebar-in,
.column-right,
.column-wrap-right {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/************************************
** Cocoon ウィジェットタイトル強制上書き
************************************/
.widget_recent_entries .widgettitle,
.widget_search .widgettitle,
.widget_categories .widgettitle,
.widget_archive .widgettitle,
.widget_tag_cloud .widgettitle,
aside .widget-title,
aside .widgettitle,
#sidebar .widget-title,
#sidebar .widgettitle,
.sidebar .widget-title,
.sidebar .widgettitle,
h2.widgettitle,
h3.widgettitle,
h2.widget-title,
h3.widget-title {
  font-family: 'Unbounded', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #FDFAFF !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border-left: 3px solid #FFD700 !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(201,168,232,0.08) !important;
  padding: 14px 20px !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* ウィジェット本体の白背景除去 */
aside .widget,
#sidebar .widget,
.sidebar .widget {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,168,232,0.12) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  backdrop-filter: blur(8px) !important;
}

/* ライトモード — コメント・サイドバー補正 */
body.light-mode #respond,
body.light-mode .comment-respond,
body.light-mode #comments,
body.light-mode .comments-area {
  background: transparent !important;
}
body.light-mode .comment-form textarea,
body.light-mode .comment-form input[type="text"],
body.light-mode .comment-form input[type="email"],
body.light-mode #respond textarea,
body.light-mode #respond input[type="text"],
body.light-mode #respond input[type="email"] {
  background: rgba(139,90,191,0.04) !important;
  border-color: rgba(139,90,191,0.2) !important;
  color: #1E0A3C !important;
}
body.light-mode .comment-form label,
body.light-mode #respond label {
  color: #7B4FBF !important;
}
body.light-mode aside .widget-title,
body.light-mode aside .widgettitle,
body.light-mode #sidebar .widget-title,
body.light-mode #sidebar .widgettitle,
body.light-mode h2.widgettitle,
body.light-mode h3.widgettitle {
  color: #1E0A3C !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border-bottom-color: rgba(139,90,191,0.08) !important;
}
body.light-mode aside .widget,
body.light-mode #sidebar .widget {
  background: rgba(139,90,191,0.04) !important;
  border-color: rgba(139,90,191,0.12) !important;
}

/************************************
** コメントフォーム — 重なり修正
************************************/
#comments,
.comments-area,
.comment-respond,
#respond,
.comment-form,
.comment-list,
.comment-box,
div.comment-area {
  position: static !important;
  clear: both !important;
  margin-top: 48px !important;
  z-index: auto !important;
  float: none !important;
}

/************************************
** 検索ウィジェット — 統一デザイン
************************************/
.search-edit,
.widget_search input[type="text"],
.widget_search input[type="search"],
#search-2 input,
#s,
.search-box input {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(201,168,232,0.18) !important;
  border-radius: 8px !important;
  color: #FDFAFF !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
  outline: none !important;
  transition: border-color 0.3s !important;
  box-sizing: border-box !important;
}
.search-edit:focus,
.widget_search input[type="text"]:focus,
.widget_search input[type="search"]:focus,
#s:focus {
  border-color: rgba(201,168,232,0.45) !important;
}
.search-edit::placeholder,
.widget_search input::placeholder,
#s::placeholder {
  color: rgba(255,255,255,0.2) !important;
}
.search-submit,
.widget_search input[type="submit"],
.widget_search button,
.search-box button {
  background: linear-gradient(135deg, #9B6FD0, #5B2D9E) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
}
.search-submit:hover,
.widget_search input[type="submit"]:hover,
.widget_search button:hover {
  box-shadow: 0 4px 12px rgba(91,45,158,0.4) !important;
}

/* ライトモード — 検索ウィジェット */
body.light-mode .search-edit,
body.light-mode .widget_search input[type="text"],
body.light-mode .widget_search input[type="search"],
body.light-mode #s {
  background: rgba(139,90,191,0.04) !important;
  border-color: rgba(139,90,191,0.18) !important;
  color: #1E0A3C !important;
}
body.light-mode .search-edit::placeholder,
body.light-mode .widget_search input::placeholder,
body.light-mode #s::placeholder {
  color: rgba(90,64,112,0.3) !important;
}

/************************************
** サイドバーウィジェット — 最終統一上書き
************************************/

/* ウィジェットカード */
body .widget,
body .widget-wrap,
body [class*="widget_"] {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,168,232,0.12) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: none !important;
}

/* ウィジェットタイトル（全パターン網羅） */
body [class*="widget"] h2,
body [class*="widget"] h3,
body .widget-title,
body .widgettitle,
body #sidebar .widget h2,
body #sidebar .widget h3,
body aside .widget h2,
body aside .widget h3 {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  border-left: 3px solid #FFD700 !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(201,168,232,0.08) !important;
  padding: 14px 20px !important;
  font-family: 'Unbounded', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #FDFAFF !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  line-height: 1.4 !important;
}

/* 最近の投稿リスト */
body .widget_recent_entries ul li,
body .new-entry-item {
  padding: 12px 20px !important;
  border-bottom: 1px solid rgba(201,168,232,0.06) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: background 0.2s !important;
}
body .widget_recent_entries ul li:hover,
body .new-entry-item:hover {
  background: rgba(201,168,232,0.05) !important;
}
body .widget_recent_entries ul li:last-child,
body .new-entry-item:last-child {
  border-bottom: none !important;
}
body .widget_recent_entries ul li a,
body .new-entry-item-title a {
  color: rgba(255,255,255,0.75) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
body .widget_recent_entries ul li a:hover,
body .new-entry-item-title a:hover {
  color: #C9A8E8 !important;
}

/* 投稿日 */
body .widget_recent_entries .post-date,
body .new-entry-item-date {
  font-size: 11px !important;
  color: rgba(201,168,232,0.4) !important;
}

/* 検索ウィジェット フォームレイアウト */
body .widget_search form,
body .search-box form,
body .widget_search .search-edit-box {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

/* 検索ウィジェット input */
body .widget_search input[type="search"],
body .widget_search input[type="text"],
body .search-field,
body .search-edit {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(201,168,232,0.18) !important;
  border-radius: 8px !important;
  color: #FDFAFF !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  outline: none !important;
  box-sizing: border-box !important;
  flex: 1 !important;
  min-width: 0 !important;
  width: auto !important;
}
body .widget_search input[type="search"]:focus,
body .widget_search input[type="text"]:focus,
body .search-field:focus,
body .search-edit:focus {
  border-color: rgba(201,168,232,0.45) !important;
}
body .widget_search input[type="search"]::placeholder,
body .widget_search input[type="text"]::placeholder,
body .search-field::placeholder,
body .search-edit::placeholder {
  color: rgba(255,255,255,0.2) !important;
}

/* 検索ウィジェット ボタン */
body .widget_search input[type="submit"],
body .widget_search button,
body .search-submit {
  background: linear-gradient(135deg, #9B6FD0, #5B2D9E) !important;
  border: none !important;
  border-radius: 8px !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  font-size: 12px !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  flex-shrink: 0 !important;
}
body .widget_search input[type="submit"]:hover,
body .widget_search button:hover,
body .search-submit:hover {
  box-shadow: 0 4px 12px rgba(91,45,158,0.4) !important;
}

/* ライトモード — ウィジェット統一 */
body.light-mode [class*="widget"] h2,
body.light-mode [class*="widget"] h3,
body.light-mode .widget-title,
body.light-mode .widgettitle,
body.light-mode #sidebar .widget h2,
body.light-mode #sidebar .widget h3 {
  color: #1E0A3C !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border-bottom-color: rgba(139,90,191,0.08) !important;
}
body.light-mode .widget,
body.light-mode .widget-wrap,
body.light-mode [class*="widget_"] {
  background: rgba(139,90,191,0.04) !important;
  border-color: rgba(139,90,191,0.12) !important;
}
body.light-mode .widget_recent_entries ul li a,
body.light-mode .new-entry-item-title a {
  color: #5A4070 !important;
}
body.light-mode .widget_recent_entries ul li a:hover,
body.light-mode .new-entry-item-title a:hover {
  color: #7B4FBF !important;
}
body.light-mode .widget_search input[type="search"],
body.light-mode .widget_search input[type="text"],
body.light-mode .search-field,
body.light-mode .search-edit {
  background: rgba(139,90,191,0.04) !important;
  border-color: rgba(139,90,191,0.18) !important;
  color: #1E0A3C !important;
}
body.light-mode .widget_search input::placeholder,
body.light-mode .search-field::placeholder,
body.light-mode .search-edit::placeholder {
  color: rgba(90,64,112,0.3) !important;
}

/************************************
** 横スクロール完全無効化
************************************/
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}
img, video, iframe {
  max-width: 100% !important;
  height: auto !important;
}

/************************************
** マーキー帯の横溢れ防止
************************************/
.y2k-marquee-wrap {
  overflow: hidden !important;
  width: 100% !important;
}


/************************************
** サムネ付き最近の投稿ウィジェット
************************************/
.borahe-recent-posts {
  padding: 8px 0;
}
.borahe-recent-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(201,168,232,0.06);
  text-decoration: none !important;
  transition: background 0.2s;
}
.borahe-recent-item:hover {
  background: rgba(201,168,232,0.05);
}
.borahe-recent-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(201,168,232,0.15), rgba(180,120,220,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.borahe-recent-info {
  flex: 1;
  min-width: 0;
}
.borahe-recent-title {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.borahe-recent-date {
  font-size: 11px;
  color: rgba(201,168,232,0.4);
  margin-top: 2px;
}
.borahe-recent-item:hover .borahe-recent-title {
  color: rgba(255,255,255,0.95);
}

/* ライトモード */
body.light-mode .borahe-recent-thumb {
  background: linear-gradient(135deg, rgba(139,90,191,0.1), rgba(160,100,200,0.08));
}
body.light-mode .borahe-recent-title {
  color: rgba(40,20,60,0.75);
}
body.light-mode .borahe-recent-date {
  color: rgba(40,20,60,0.4);
}
body.light-mode .borahe-recent-item {
  border-bottom-color: rgba(40,20,60,0.06);
}
body.light-mode .borahe-recent-item:hover {
  background: rgba(139,90,191,0.04);
}
body.light-mode .borahe-recent-item:hover .borahe-recent-title {
  color: rgba(40,20,60,0.95);
}

/************************************
** 記事下の重複SNSシェア・フォローボタン非表示
************************************/
.single .sns-share.ss-bottom {
  display: none !important;
}
.single .sns-follow {
  display: none !important;
}

/************************************
** Cocoonモバイルメニュー — Y2Kスタイル
************************************/
@media (max-width: 834px) {
  /* スライドメニュー本体 */
  #slide-in-menu, .slide-menu {
    background: rgba(30,10,60,0.98) !important;
    border-right: 1px solid rgba(201,168,232,0.15) !important;
  }
  #slide-in-menu a, .slide-menu a {
    color: rgba(255,255,255,0.75) !important;
    border-bottom: 1px solid rgba(201,168,232,0.08) !important;
  }
  #slide-in-menu a:hover, .slide-menu a:hover {
    color: #C9A8E8 !important;
    background: rgba(201,168,232,0.05) !important;
  }

  /* ライトモード */
  body.light-mode #slide-in-menu,
  body.light-mode .slide-menu {
    background: rgba(255,255,255,0.98) !important;
  }
  body.light-mode #slide-in-menu a,
  body.light-mode .slide-menu a {
    color: rgba(40,20,60,0.75) !important;
  }
}

/* ===== SLIDE MENU CONTENT ===== */
#navi-menu-content,
.navi-menu-content {
  background: rgba(20, 8, 48, 0.97) !important;
  backdrop-filter: blur(20px) !important;
}
.menu-drawer a,
.menu-drawer li a {
  color: rgba(255,255,255,0.85) !important;
  font-size: 16px !important;
  padding: 16px 24px !important;
  border-bottom: 1px solid rgba(201,168,232,0.08) !important;
  display: block !important;
  text-decoration: none !important;
}
.menu-drawer a:hover {
  color: #C9A8E8 !important;
  background: rgba(201,168,232,0.06) !important;
}
.navi-menu-close-button,
.menu-close-button {
  color: rgba(255,255,255,0.7) !important;
  background: transparent !important;
}

/* ===== MOBILE LOGO STAR ===== */
@media (max-width: 834px) {
  .nav-logo-star {
    display: inline-block !important;
    color: #FFD700 !important;
    filter: drop-shadow(0 0 4px rgba(255,215,0,0.8)) !important;
  }
}

/************************************
** モックアップ用ベーススタイル
************************************/
.star-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.pixel-texture {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(201,168,232,0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}
.glitter-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/************************************
** モックアップ用ナビゲーション
************************************/
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 10, 60, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 232, 0.15);
}
.nav-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo-star {
  display: inline-block;
  font-size: 18px;
  animation: spin-star 4s linear infinite;
  color: var(--star-gold);
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.8)) drop-shadow(0 0 14px rgba(255,215,0,0.5));
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:hover { color: var(--soft-purple); }

/* Nav light mode */
body.light-mode nav {
  background: rgba(250,250,255,0.88);
  border-bottom: 1px solid rgba(139,90,191,0.15);
}
body.light-mode .nav-logo { color: #2A1550; }
body.light-mode .nav-links a { color: #6B4A9A; }
body.light-mode .nav-cta {
  background: linear-gradient(135deg, #9B6FD0, #5B2D9E);
  color: white;
  box-shadow: 0 4px 16px rgba(91,45,158,0.25);
}

/* Pixel texture & canvas light mode */
body.light-mode .pixel-texture {
  background-image: radial-gradient(circle, rgba(139,90,191,0.04) 1px, transparent 1px);
  mix-blend-mode: multiply;
}
body.light-mode .star-canvas { opacity: 0.3; }
body.light-mode .glitter-canvas { opacity: 0.5; }

/************************************
** ページヒーロー（プライバシー・免責事項）
************************************/
.page-hero {
  position: relative;
  z-index: 1;
  padding: 80px 48px 60px;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(155,111,208,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 70% 40%, rgba(91,45,158,0.2) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(201,168,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,232,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,232,0.12);
  border: 1px solid rgba(201,168,232,0.3);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--soft-purple);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.page-badge::before, .page-badge::after {
  content: '\2605';
  color: var(--star-gold);
  font-size: 10px;
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.8));
}
.page-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
  color: #FFFFFF;
  text-shadow:
    0 0 6px rgba(255,255,255,0.7),
    0 0 16px rgba(220,180,255,0.4);
}
.page-subtitle {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  color: rgba(201,168,232,0.6);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.page-updated {
  font-size: 12px;
  color: rgba(201,168,232,0.4);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.page-updated::before { content: '\2726'; color: var(--star-gold); font-size: 9px; }

/************************************
** ページコンテンツ（プライバシー・免責事項）
************************************/
.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px 120px;
}
.toc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.15);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 48px;
  backdrop-filter: blur(8px);
}
.toc-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--soft-purple);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-title::before { content: '\2726'; color: var(--star-gold); font-size: 9px; }
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toc-list li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.toc-list li a:hover { color: var(--soft-purple); }
.toc-list li a::before {
  content: '\2014';
  color: rgba(201,168,232,0.3);
  font-size: 12px;
}

/* Sections */
.policy-section { margin-bottom: 52px; }
.section-num {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(201,168,232,0.4);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-num::before {
  content: '\2726';
  color: var(--star-gold);
  font-size: 8px;
  filter: drop-shadow(0 0 3px rgba(255,215,0,0.7));
}
.section-heading {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 0 16px rgba(201,168,232,0.2);
}
.section-text {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
}
.section-text + .section-text { margin-top: 16px; }
.info-list {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.info-list li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--star-gold);
  font-size: 8px;
  top: 6px;
  filter: drop-shadow(0 0 3px rgba(255,215,0,0.5));
}
.highlight-box {
  background: rgba(201,168,232,0.07);
  border: 1px solid rgba(201,168,232,0.2);
  border-left: 3px solid var(--soft-purple);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: rgba(201,168,232,0.8);
  line-height: 1.75;
}
.warn-box {
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-left: 3px solid var(--star-gold);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: rgba(255,215,0,0.75);
  line-height: 1.75;
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,232,0.2), transparent);
  margin: 52px 0;
}

/************************************
** お問い合わせボックス
************************************/
.contact-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,232,0.2);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,111,208,0.12), transparent 70%);
}
.contact-star { font-size: 32px; margin-bottom: 16px; display: block; color: var(--star-gold); filter: drop-shadow(0 0 8px rgba(255,215,0,0.6)); }
.contact-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--white);
}
.contact-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #B07FE8, #7B4FBF);
  color: white;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(123,79,191,0.45);
  transition: all 0.3s;
}
.contact-link:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(123,79,191,0.6); }

/************************************
** モックアップ用フッター
************************************/
footer.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(201,168,232,0.1);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(201,168,232,0.35);
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(201,168,232,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--soft-purple); }

/************************************
** スクロールトップ
************************************/
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  background: rgba(30,10,60,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,232,0.25);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  color: rgba(201,168,232,0.7);
}
.scroll-top:hover { border-color: rgba(201,168,232,0.5); transform: translateY(-2px); }

/************************************
** ページ固有ライトモード
************************************/
body.light-mode .page-hero-bg {
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(201,168,232,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 70% 40%, rgba(180,140,220,0.15) 0%, transparent 60%);
}
body.light-mode .page-hero-grid {
  background-image:
    linear-gradient(rgba(139,90,191,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,90,191,0.05) 1px, transparent 1px);
}
body.light-mode .page-title { color: #1E0A3C; text-shadow: none; }
body.light-mode .page-badge { background: rgba(139,90,191,0.08); border-color: rgba(139,90,191,0.25); color: #7B4FBF; }
body.light-mode .page-subtitle { color: #9B6FD0; }
body.light-mode .page-updated { color: rgba(91,45,158,0.4); }
body.light-mode .toc-card { background: rgba(255,255,255,0.8); border-color: rgba(139,90,191,0.15); }
body.light-mode .toc-title { color: #8B5ABF; }
body.light-mode .toc-list li a { color: rgba(42,21,80,0.6); }
body.light-mode .section-num { color: rgba(91,45,158,0.4); }
body.light-mode .section-heading { color: #1E0A3C; text-shadow: none; }
body.light-mode .section-text { color: rgba(42,21,80,0.65); }
body.light-mode .info-list li { color: rgba(42,21,80,0.6); }
body.light-mode .highlight-box { background: rgba(139,90,191,0.06); border-color: rgba(139,90,191,0.2); border-left-color: #9B6FD0; color: rgba(91,45,158,0.75); }
body.light-mode .warn-box { background: rgba(180,140,0,0.05); border-color: rgba(180,140,0,0.2); border-left-color: #C49A00; color: rgba(140,100,0,0.75); }
body.light-mode .contact-box { background: rgba(255,255,255,0.8); border-color: rgba(139,90,191,0.2); }
body.light-mode .contact-title { color: #1E0A3C; }
body.light-mode .contact-desc { color: rgba(42,21,80,0.5); }
body.light-mode .site-footer { border-top-color: rgba(139,90,191,0.12); }
body.light-mode .footer-logo { color: rgba(42,21,80,0.4); }
body.light-mode .footer-copy { color: rgba(91,45,158,0.3); }
body.light-mode .footer-links a { color: rgba(91,45,158,0.4); }
body.light-mode .scroll-top { background: rgba(250,250,255,0.85); border-color: rgba(139,90,191,0.2); color: rgba(91,45,158,0.6); }

/* モックアップ用ページ遷移 */
.toc-card, .contact-box { transition: background 0.8s ease, border-color 0.8s ease; }

/************************************
** ページ固有レスポンシブ
************************************/
@media (max-width: 768px) {
  .page-hero { padding: 60px 20px 40px; }
  .page-title { font-size: 32px; }
  .content-wrapper { padding: 0 20px 80px; }
  .site-footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/************************************
** QSMクイズボタン 紫グラデーション
************************************/
/* 最大詳細度で全パターン網羅 */
body .qsm-btn,
body .qmn_btn,
body .qmn_btn_start,
body .qmn_btn_next,
body .qmn_btn_prev,
body .qmn_quiz_submit,
body .qsm-submit-btn,
body .qsm-quiz-next,
body .qsm-quiz-previous,
body input.qmn_btn,
body input.qmn_btn_start,
body input.qmn_btn_next,
body input.qmn_btn_prev,
body button.qmn_btn,
body a.qmn_btn,
body a.qmn_btn_start,
body a.qmn_btn_next,
body a.qmn_btn_prev,
body a.qsm-btn,
body a.qsm-submit-btn,
body a.qsm-quiz-next,
body a.qsm-quiz-previous,
body .mlw_qmn_quiz input[type="submit"],
body .mlw_qmn_quiz input[type="button"],
body .mlw_qmn_quiz button,
body .mlw_qmn_quiz a,
body .qsm-quiz-container input[type="submit"],
body .qsm-quiz-container input[type="button"],
body .qsm-quiz-container button,
body .qsm-quiz-container a.qsm-btn,
body .qsm-quiz-container a.qmn_btn,
body .qsm-quiz-container a[class*="qmn_btn"],
body .qsm_quiz input[type="submit"],
body .qsm_quiz input[type="button"],
body .qsm_quiz button,
body .qsm_quiz a,
body .quiz_section input[type="submit"],
body .quiz_section input[type="button"],
body .quiz_section button,
body .quiz_section a,
body .qmn_quiz_container .qmn_btn,
body .qmn_quiz_container .btn,
body .qmn_quiz_container input[type="button"],
body .qmn_quiz_container input[type="submit"],
body .qmn_quiz_container button,
body .qmn_quiz_container a,
body [class*="qmn_btn"],
body [class*="qsm-btn"],
body [class*="qsm-submit"],
body .mlw_qmn_quiz .mlw_qmn_message a,
body .mlw_qmn_quiz .qsm-quiz-comment a,
body .qsm-quiz-container .mlw_qmn_message a,
body .qsm-quiz-container .qsm-quiz-comment a {
  background: linear-gradient(135deg, #9B6FD0, #5B2D9E) !important;
  background-color: #9B6FD0 !important;
  background-image: linear-gradient(135deg, #9B6FD0, #5B2D9E) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 32px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: box-shadow 0.3s ease, filter 0.3s ease !important;
  width: auto !important;
  max-width: fit-content !important;
}

/* hover */
html body .qsm-btn:hover,
html body .qmn_btn:hover,
html body .qmn_btn_start:hover,
html body .qmn_btn_next:hover,
html body .qmn_btn_prev:hover,
html body .qmn_quiz_submit:hover,
html body .qsm-submit-btn:hover,
html body .qsm-quiz-next:hover,
html body .qsm-quiz-previous:hover,
html body a.qmn_btn:hover,
html body a.qmn_btn_start:hover,
html body a.qmn_btn_next:hover,
html body a.qmn_btn_prev:hover,
html body a.qsm-btn:hover,
html body .mlw_qmn_quiz input[type="submit"]:hover,
html body .mlw_qmn_quiz input[type="button"]:hover,
html body .mlw_qmn_quiz button:hover,
html body .mlw_qmn_quiz a:hover,
html body .qsm-quiz-container input[type="submit"]:hover,
html body .qsm-quiz-container input[type="button"]:hover,
html body .qsm-quiz-container button:hover,
html body .qsm-quiz-container a:hover,
html body .qsm_quiz button:hover,
html body .qsm_quiz a:hover,
html body .quiz_section button:hover,
html body .quiz_section a:hover,
html body .qmn_quiz_container .qmn_btn:hover,
html body .qmn_quiz_container .btn:hover,
html body .qmn_quiz_container input[type="button"]:hover,
html body .qmn_quiz_container input[type="submit"]:hover,
html body .qmn_quiz_container button:hover,
html body .qmn_quiz_container a:hover,
html body [class*="qmn_btn"]:hover,
html body [class*="qsm-btn"]:hover {
  background: linear-gradient(135deg, #C9A4F0, #9B6FD0) !important;
  background-color: #C9A4F0 !important;
  background-image: linear-gradient(135deg, #C9A4F0, #9B6FD0) !important;
  box-shadow: 0 4px 16px rgba(91, 45, 158, 0.4) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ── QSMクイズ内テキスト 視認性修正 ── */
.mlw_qmn_quiz,
.qsm-quiz-container,
.qsm_quiz,
.quiz_section,
.mlw_qmn_quiz *,
.qsm-quiz-container * {
  color: #FFFFFF !important;
}

/* 問題文 */
.mlw_qmn_question,
.qsm-question-text,
.qsm_question,
.quiz_section .question,
.mlw_qmn_quiz .mlw_qmn_question,
.qsm-quiz-container .qsm-question-text,
[class*="qmn_question"],
[class*="qsm-question"] {
  color: #FFFFFF !important;
}

/* 選択肢 */
.qmn_radio_answers,
.qmn_radio_answers label,
.qmn_mc_answer_wrap,
.qmn_mc_answer_wrap label,
.qsm-answer-option,
.mlw_qmn_quiz label,
.mlw_qmn_quiz .qmn_radio_answers span,
.qsm-quiz-container label,
.quiz_section label,
[class*="qmn_radio"] label,
[class*="qmn_mc"] label,
[class*="qsm-answer"] {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Welcome / 説明テキスト */
.mlw_qmn_message,
.qsm-quiz-container .qsm-quiz-comment,
.mlw_qmn_message_before,
.mlw_qmn_message_after,
.qsm_quiz .qsm-quiz-comment,
[class*="qmn_message"],
[class*="qsm-quiz-comment"] {
  color: #FFFFFF !important;
}

/* ── Cocoon投稿本文テキスト 視認性修正 ── */
.entry-content,
.article-body {
  color: #FDFAFF !important;
}

.entry-content p,
.article-body p,
.entry-content li,
.article-body li,
.entry-content blockquote,
.article-body blockquote {
  color: rgba(255, 255, 255, 0.85) !important;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.article-body h2,
.article-body h3,
.article-body h4 {
  color: #fff !important;
}

.entry-content a,
.article-body a {
  color: #B07FE8 !important;
}

.entry-content a:hover,
.article-body a:hover {
  color: #C9A4F0 !important;
}

.entry-content table,
.entry-content th,
.entry-content td,
.article-body table,
.article-body th,
.article-body td {
  color: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.entry-content pre,
.entry-content code,
.article-body pre,
.article-body code {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* ライトモード時は暗い色に戻す */
body.light-mode .entry-content,
body.light-mode .article-body {
  color: #1E0A3C !important;
}

body.light-mode .entry-content p,
body.light-mode .article-body p,
body.light-mode .entry-content li,
body.light-mode .article-body li,
body.light-mode .entry-content blockquote,
body.light-mode .article-body blockquote {
  color: rgba(30, 10, 60, 0.85) !important;
}

body.light-mode .entry-content h2,
body.light-mode .entry-content h3,
body.light-mode .entry-content h4,
body.light-mode .article-body h2,
body.light-mode .article-body h3,
body.light-mode .article-body h4 {
  color: #1E0A3C !important;
}

body.light-mode .entry-content a,
body.light-mode .article-body a {
  color: #5B2D9E !important;
}

body.light-mode .entry-content table,
body.light-mode .entry-content th,
body.light-mode .entry-content td {
  color: rgba(30, 10, 60, 0.85) !important;
  border-color: rgba(30, 10, 60, 0.15) !important;
}

body.light-mode .entry-content pre,
body.light-mode .entry-content code {
  color: #1E0A3C !important;
  background: rgba(30, 10, 60, 0.06) !important;
}

/* ライトモード時 QSMテキストを暗い色に */
body.light-mode .mlw_qmn_quiz,
body.light-mode .qsm-quiz-container,
body.light-mode .mlw_qmn_quiz *,
body.light-mode .qsm-quiz-container * {
  color: #1E0A3C !important;
}

/* ライトモード時もボタン文字は白のまま */
body.light-mode .mlw_qmn_quiz .qsm-btn,
body.light-mode .mlw_qmn_quiz .qmn_btn,
body.light-mode .mlw_qmn_quiz [class*="qmn_btn"],
body.light-mode .mlw_qmn_quiz input[type="submit"],
body.light-mode .mlw_qmn_quiz input[type="button"],
body.light-mode .mlw_qmn_quiz button,
body.light-mode .qsm-quiz-container .qsm-btn,
body.light-mode .qsm-quiz-container .qmn_btn,
body.light-mode .qsm-quiz-container [class*="qmn_btn"],
body.light-mode .qsm-quiz-container input[type="submit"],
body.light-mode .qsm-quiz-container input[type="button"],
body.light-mode .qsm-quiz-container button,
body.light-mode [class*="qmn_btn"],
body.light-mode [class*="qsm-btn"],
body.light-mode [class*="qsm-submit"] {
  color: #fff !important;
}

body.light-mode .mlw_qmn_quiz label,
body.light-mode .qsm-quiz-container label {
  color: rgba(30, 10, 60, 0.85) !important;
}

/* ===== QSM クイズ 正解/不正解ハイライト ===== */

/* --- ダークモード（デフォルト） --- */
body .qmn_correct_answer,
body [class*="qmn_correct_answer"] {
  border: 2px solid #66BB6A !important;
  border-left: 2px solid #66BB6A !important;
  border-right: 2px solid #66BB6A !important;
  border-top: 2px solid #66BB6A !important;
  border-bottom: 2px solid #66BB6A !important;
  background: rgba(102, 187, 106, 0.45) !important;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 4px;
}

body .qmn_incorrect_answer,
body [class*="qmn_incorrect_answer"] {
  border: 2px solid #EF5350 !important;
  border-left: 2px solid #EF5350 !important;
  border-right: 2px solid #EF5350 !important;
  border-top: 2px solid #EF5350 !important;
  border-bottom: 2px solid #EF5350 !important;
  background: rgba(239, 83, 80, 0.40) !important;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 4px;
}

/* 不正解時に正解を示すハイライト */
[data-correct-answer] {
  border: 2px solid #66BB6A !important;
  background: rgba(102, 187, 106, 0.20) !important;
  border-radius: 8px;
}

/* --- ライトモード --- */
body.light-mode .qmn_correct_answer,
body.light-mode [class*="qmn_correct_answer"] {
  border-color: #388E3C !important;
  background: rgba(56, 142, 60, 0.20) !important;
}

body.light-mode .qmn_incorrect_answer,
body.light-mode [class*="qmn_incorrect_answer"] {
  border-color: #D32F2F !important;
  background: rgba(211, 47, 47, 0.18) !important;
}

body.light-mode [data-correct-answer] {
  border-color: #388E3C !important;
  background: rgba(56, 142, 60, 0.12) !important;
}

/* --- 選択肢ロック（回答後の無効化） --- */
body .qmn_correct_answer label,
body .qmn_incorrect_answer label,
body [class*="qmn_correct_answer"] label,
body [class*="qmn_incorrect_answer"] label {
  pointer-events: none;
}

body .qmn_correct_answer input[type="radio"],
body .qmn_incorrect_answer input[type="radio"],
body [class*="qmn_correct_answer"] input[type="radio"],
body [class*="qmn_incorrect_answer"] input[type="radio"] {
  pointer-events: none;
}

/* --- 正解/不正解ラベル --- */
.qsm-result-label {
  display: inline-block;
  margin-left: 12px;
  font-weight: 700;
  font-size: 0.9em;
}
body .qmn_correct_answer .qsm-result-correct,
body [class*="qmn_correct_answer"] .qsm-result-correct { color: #66BB6A !important; }
body .qmn_incorrect_answer .qsm-result-incorrect,
body [class*="qmn_incorrect_answer"] .qsm-result-incorrect { color: #EF5350 !important; }
body.light-mode .qmn_correct_answer .qsm-result-correct,
body.light-mode [class*="qmn_correct_answer"] .qsm-result-correct { color: #388E3C !important; }
body.light-mode .qmn_incorrect_answer .qsm-result-incorrect,
body.light-mode [class*="qmn_incorrect_answer"] .qsm-result-incorrect { color: #D32F2F !important; }

/* 未選択の選択肢を薄く表示 */
.qmn_correct_answer ~ .qmn_mc_answer_wrap:not(.qmn_correct_answer):not(.qmn_incorrect_answer):not([data-correct-answer]),
.qmn_incorrect_answer ~ .qmn_mc_answer_wrap:not(.qmn_correct_answer):not(.qmn_incorrect_answer):not([data-correct-answer]) {
  opacity: 0.7;
}

