/* Index Page Styles - Extracted from inline styles */

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "YuGothic", sans-serif;
      background: #000;
      color: rgba(255, 255, 255, 0.92);
      line-height: 2;
      position: relative;
      overflow-x: hidden;
      cursor: none;
    }

    /* Custom Cursor */
    .custom-cursor {
      position: fixed;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 215, 0, 0.6);
      pointer-events: none;
      z-index: 10000;
      mix-blend-mode: screen;
      transition: transform 0.15s ease, opacity 0.15s ease;
      box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    }

    .custom-cursor.hover {
      transform: scale(3);
      opacity: 0.4;
    }

    /* Scroll Progress */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      z-index: 9999;
      background: linear-gradient(90deg,
        #ffd700 0%,
        #4ecdc4 25%,
        #ff6b9d 50%,
        #9b59b6 75%,
        #ffd700 100%);
      transform-origin: left;
      transform: scaleX(0);
      transition: transform 0.1s ease-out;
      box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    /* Text Background Art */
    .text-background {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      pointer-events: none;
      overflow: hidden;
    }

    .bg-char {
      position: absolute;
      font-size: clamp(1rem, 2vw, 2rem);
      opacity: 0.04;
      font-weight: 300;
      white-space: nowrap;
      will-change: transform;
    }

    /* Author Signature */
    .author-signature {
      position: fixed;
      top: 2rem;
      left: 2rem;
      z-index: 1000;
      font-size: clamp(0.85rem, 1.8vw, 1rem);
      font-weight: 300;
      letter-spacing: 0.2em;
      opacity: 0.4;
      font-style: italic;
      transition: opacity 0.6s ease;
      user-select: none;
      pointer-events: none;
    }

    .author-signature::before {
      content: '—';
      margin-right: 0.5em;
      opacity: 0.6;
    }

    /* Header Bar - 共通ヘッダー */
    .header-bar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: 80px;
      z-index: 1000;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      transition: all 0.3s ease;
    }

    .header-bar.scrolled {
      background: rgba(0, 0, 0, 0.7);
      border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    /* Text Navigation */
    .text-nav {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    .text-nav a,
    .text-nav .nav-disabled {
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      font-size: clamp(0.85rem, 1.8vw, 1rem);
      font-weight: 300;
      letter-spacing: 0.25em;
      position: relative;
      padding-bottom: 0.3rem;
    }

    .text-nav a:hover {
      color: rgba(255, 255, 255, 1);
      letter-spacing: 0.35em;
    }

    .text-nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 1px;
      background: linear-gradient(90deg, #ffd700, #4ecdc4);
      transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .text-nav a:hover::after {
      width: 100%;
    }

    /* Active page - 中央 */
    .text-nav a.active {
      color: rgba(255, 255, 255, 1);
      font-weight: 400;
      font-size: clamp(1rem, 2.2vw, 1.3rem);
      letter-spacing: 0.3em;
      margin-right: -0.3em; /* letter-spacingの視覚的補正 */
    }

    .text-nav a.active::after {
      width: 100%;
      background: linear-gradient(90deg, #ffd700, #4ecdc4);
    }

    /* Right side navigation group */
    .nav-right {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    /* Non-active links - 右側 */
    .text-nav a:not(.active) {
      position: absolute;
      right: 2rem;
    }

    .text-nav .nav-disabled {
      color: rgba(255, 255, 255, 0.2);
      cursor: not-allowed;
      pointer-events: none;
      font-size: clamp(0.85rem, 1.8vw, 1rem);
      font-weight: 300;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

    /* Hero Section */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      text-align: center;
      position: relative;
    }

    .hero-title {
      font-size: clamp(4rem, 16vw, 10rem);
      font-weight: 300;
      margin-bottom: 2rem;
      letter-spacing: 0.3em;
      margin-right: -0.3em; /* letter-spacingの視覚的補正 */
      line-height: 1.2;
      text-align: center;
      opacity: 0.95;
    }

    /* Generated-by フッター - Multi-Lang Subtitleと連動 */
    .generated-by {
      font-size: clamp(0.7rem, 1.3vw, 0.9rem);
      font-weight: 300;
      margin-top: -0.3rem;
      margin-bottom: 1.5rem;
      letter-spacing: 0.15em;
      color: inherit;
      opacity: 0 !important;
      visibility: hidden !important;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    /* .lang-text.active が存在する時は表示 */
    .hero:has(.lang-text.active) .generated-by {
      visibility: visible !important;
      opacity: 0.5 !important;
    }

    .hero-subtitle {
      font-size: clamp(1.1rem, 3.5vw, 1.8rem);
      margin-bottom: 1rem;
      font-weight: 300;
      letter-spacing: 0.1em;
      margin-right: -0.1em; /* letter-spacingの視覚的補正 */
      opacity: 0.9;
      min-height: 2.5rem;
    }

    .hero-subtitle:last-of-type {
      margin-bottom: 3rem;
    }

    .hero-subtitle .lang-text {
      display: inline-block;
      opacity: 0;
      position: absolute;
      transition: opacity 0.8s ease;
    }

    .hero-subtitle .lang-text.active {
      opacity: 1;
      position: relative;
    }


    /* User Language - 固定表示 */
    .user-lang {
      display: none;
    }

    .user-lang.active {
      display: inline;
    }

    /* Content Filter */
    .content-filter {
      max-width: 1200px;
      margin: 0 auto;
      padding: 3rem 2rem 1rem 2rem;
      text-align: center;
    }

    .filter-options {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 3rem;
      flex-wrap: wrap;
    }

    .filter-option {
      font-size: 1rem;
      font-weight: 400;
      opacity: 0.4;
      cursor: pointer;
      transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
      letter-spacing: 0.1em;
      position: relative;
      user-select: none;
    }

    .filter-option:hover {
      opacity: 0.7;
      transform: translateY(-2px);
    }

    .filter-option.active {
      font-size: 1.5rem;
      font-weight: 400;
      opacity: 1;
      letter-spacing: 0.2em;
    }

    .filter-option::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.5);
      transition: transform 0.6s ease;
    }

    .filter-option.active::after {
      transform: translateX(-50%) scaleX(1);
    }

    /* Articles Section */
    .articles {
      max-width: 1440px; /* 1400px + 左右20px余白 */
      margin: 0 auto;
      padding: 4rem 0; /* 左右パディングは .article-list で管理 */
    }

    .section-title {
      font-size: clamp(2rem, 6vw, 3.5rem);
      font-weight: 800;
      margin-bottom: 3rem;
      text-align: center;
      opacity: 0.95;
    }

    .article-list {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      align-items: flex-start;
      justify-content: flex-start;
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
    }

    /* ✨ Xタブ: CSSカラムレイアウト（ジグザグ表示） */
    .article-list.x-masonry {
      column-count: 3;
      column-gap: 20px;
      column-fill: balance; /* カラムの高さを均等に */
      display: block; /* flexを無効化 */
    }

    .article-list.x-masonry .article-container,
    .article-list.x-masonry article[data-source="x"] {
      break-inside: avoid;
      margin-bottom: 20px;
      display: inline-block;
      width: 100%;
    }

    .article-list.x-masonry .article-card {
      width: 100% !important;
      height: auto !important;
      position: static !important;
    }

    /* ✨ BLOGタブ: 2カラムグリッドレイアウト（新→古の順） */
    .article-list.blog-masonry {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      padding: 20px;
      max-width: 100%;
    }

    .article-list.blog-masonry article[data-source="blog"] {
      width: 100%;
    }

    .article-list.blog-masonry .article-card {
      width: 100% !important;
      height: auto !important;
      position: static !important;
    }

    @media (max-width: 1024px) {
      .article-list.x-masonry {
        column-count: 2;
      }
      .article-list.blog-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px;
      }
    }

    @media (max-width: 640px) {
      .article-list.x-masonry {
        column-count: 1; /* スマホ: 1列表示 */
        column-gap: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .article-list.x-masonry .article-container,
      .article-list.x-masonry article[data-source="x"] {
        width: 50%; /* 画面幅の1/2サイズ */
        max-width: 50%;
        margin-bottom: 15px;
      }
      .article-list.blog-masonry {
        grid-template-columns: 1fr; /* スマホ: 1列表示 */
        gap: 20px; /* カード間の隙間 */
        padding: 10px; /* 左右の余白 */
      }

      /* スマホ: Xタブのカードサイズをリセット（重なり防止） */
      article:has(.article-card[data-source="x"]):not([style*="position: absolute"]),
      article:has(.article-card[data-source="x"]).x-small:not([style*="position: absolute"]),
      article:has(.article-card[data-source="x"]).x-large:not([style*="position: absolute"]) {
        width: 100% !important; /* 列幅いっぱい */
        max-width: 100% !important;
        min-width: unset !important;
        margin-bottom: 8px; /* カード間の隙間 */
        break-inside: avoid; /* カラム内での分割を防止 */
      }

      /* スマホ: カード内の余白も最小化（画像を大きく） */
      .article-list.blog-masonry .article-card {
        border-radius: 0; /* 角丸なし（画面端まで使用） */
        border: none; /* ボーダーなし（画像をさらに大きく） */
      }

      /* スマホ: 画像ラッパーの角丸も削除 */
      .article-list.blog-masonry article[data-source="blog"] .article-image-wrapper {
        border-radius: 0;
      }

      /* スマホ: Xタブの画像を16:9に */
      article[data-source="x"] .article-image {
        aspect-ratio: 16 / 9 !important; /* スマホ: 16:9 ワイド */
      }

      /* スマホ: Xタブの画像ラッパー - 4:3カード */
      article[data-source="x"] .article-image-wrapper {
        aspect-ratio: 4 / 3; /* カード自体は4:3 */
        display: flex;
        align-items: center; /* 画像を縦中央に配置 */
        justify-content: center;
        background: rgba(0, 0, 0, 0.9); /* レターボックス用背景 */
        border-radius: 12px; /* 角丸 */
      }
    }

    .article-card {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      overflow: visible;
      transition: all 0.3s ease;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .article-card:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.3);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .article-card:hover::before {
      content: '';
      position: absolute;
      top: -4px;
      left: 0;
      right: 0;
      bottom: 0;
      pointer-events: none;
    }

    /* Article filter transitions */
    article {
      opacity: 1;
      transition: opacity 0.3s ease;
    }

    article.fade-out {
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    article.hidden,
    article .article-card.hidden,
    article .article-image-overlay.hidden {
      display: none;
    }

    /* note記事専用スタイル - noteのブランドカラー（緑と白） */
    .article-card[data-source="note"] {
      position: relative;
      border-color: rgba(65, 201, 180, 0.2);
      background: rgba(65, 201, 180, 0.02);
    }

    .article-card[data-source="note"]:hover {
      border-color: rgba(65, 201, 180, 0.4);
      background: rgba(65, 201, 180, 0.05);
      box-shadow: 0 8px 24px rgba(65, 201, 180, 0.15);
    }

    .article-card[data-source="note"] .article-title {
      color: rgba(255, 255, 255, 0.95);
    }

    .article-card[data-source="note"]:hover .article-title {
      color: rgba(65, 201, 180, 0.95);
    }

    /* note記事画像に透かしテキストを追加 */
    .article-card[data-source="note"] .text-art-container::after {
      content: "note";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: clamp(3rem, 8vw, 6rem);
      font-weight: 700;
      color: rgba(255, 255, 255, 0.4);
      text-transform: lowercase;
      letter-spacing: 0.2em;
      pointer-events: none;
      z-index: 2;
      text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

    /* X記事専用スタイル */
    .article-card[data-source="x"] {
      border-color: rgba(200, 220, 240, 0.12);  /* 薄い青みがかった白 */
      background: rgba(255, 255, 255, 0.02);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .article-card[data-source="x"]:hover {
      border-color: rgba(29, 155, 240, 0.5);  /* より明るい青 */
      background: rgba(255, 255, 255, 0.04);
      box-shadow:
        0 0 20px rgba(29, 155, 240, 0.3),      /* 外側の青い光 */
        0 0 40px rgba(29, 155, 240, 0.15),     /* さらに外側の柔らかい光 */
        0 8px 24px rgba(0, 0, 0, 0.3);         /* 立体感 */
      transform: translateY(-2px);              /* 少し浮く */
    }

    /* Packery layout時は背景を不透明に（重なって見えないように） */
    article[style*="position: absolute"] .article-card[data-source="x"] {
      background: rgba(0, 0, 0, 0.9);
      border-color: rgba(200, 220, 240, 0.15);  /* Packery時も控えめに */
      height: 100%;
      overflow: hidden;
    }

    article[style*="position: absolute"] .article-card[data-source="x"]:hover {
      border-color: rgba(29, 155, 240, 0.5);  /* Packery時のホバー */
      box-shadow:
        0 0 20px rgba(29, 155, 240, 0.3),
        0 0 40px rgba(29, 155, 240, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.4);
      transform: translateY(-2px) scale(1.01);  /* 少し浮いて拡大 */
    }

    /* Packery layout以外の場合のみ適用 */
    article:not([style*="position: absolute"]) .article-card[data-source="x"] {
      position: relative;
      width: 100%;
      min-width: 200px;
    }

    /* ✨ X投稿: 画像のみ表示（テキスト・メタ情報を非表示） */
    article[data-source="x"] .article-content {
      display: none !important;
    }

    /* ✨ X投稿: オリジナルのアスペクト比で表示（見切れなし） */
    article[data-source="x"] .article-image-wrapper {
      width: 100%;
      aspect-ratio: 4 / 3; /* カード自体は4:3 */
      position: relative;
      overflow: hidden;
      border-radius: 12px; /* BLOGタブと同じ角丸 */
      display: flex;
      align-items: center; /* 画像を縦中央に配置 */
      justify-content: center;
      background: rgba(0, 0, 0, 0.9); /* レターボックス用背景 */
    }

    article[data-source="x"] .article-image {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover; /* トリミング */
      aspect-ratio: 16 / 9; /* PC: 16:9 */
      background: rgba(255, 255, 255, 0.03); /* 読み込み中の背景 */
    }

    /* X投稿の親要素(<article>)に不規則なサイズを設定 */
    /* Packery layout (position: absolute) の場合は適用しない */
    article:has(.article-card[data-source="x"]):not([style*="position: absolute"]) {
      /* デフォルトサイズ: 中 */
      width: calc(30% - 1.33rem);
      max-width: calc(30% - 1.33rem);
      min-width: 180px;
    }

    /* 不規則サイズバリエーション */
    article:has(.article-card[data-source="x"]).x-small:not([style*="position: absolute"]) {
      width: calc(22% - 1.33rem);
      max-width: calc(22% - 1.33rem);
    }

    article:has(.article-card[data-source="x"]).x-large:not([style*="position: absolute"]) {
      width: calc(38% - 1.33rem);
      max-width: calc(38% - 1.33rem);
    }

    .article-card[data-source="x"]:hover {
      border-color: rgba(29, 155, 240, 0.4);
      background: rgba(29, 155, 240, 0.05);
      box-shadow: 0 8px 24px rgba(29, 155, 240, 0.15);
    }

    .article-card[data-source="x"] .article-title {
      color: rgba(255, 255, 255, 0.95);
      font-size: clamp(0.75rem, 1.8vw, 0.9rem);
      line-height: 1.4;
    }

    .article-card[data-source="x"]:hover .article-title {
      color: rgba(29, 155, 240, 0.95);
    }

    .article-card[data-source="x"] .article-card-content {
      padding: 0.7rem;
    }

    .article-card[data-source="x"] .text-art-container {
      min-height: 220px;
    }

    /* X記事画像にXロゴを表示 */

    .article-card[data-source="x"] .text-art-container::after {
      content: "𝕏";
      position: absolute;
      bottom: 1rem;
      right: 1rem;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      font-weight: 700;
      color: rgba(255, 255, 255, 0.3);
      text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
      pointer-events: none;
      z-index: 3;
    }

    /* ==========================================
       BLOG記事専用スタイル - Xタブと同じカード配置
       ========================================== */

    /* BLOG記事: 画像を直接表示（Xタブと同じ構造） */
    article[data-source="blog"] .article-image-wrapper {
      width: 100%;
      position: relative;
      overflow: hidden;
      border-radius: 12px 12px 0 0;
    }

    article[data-source="blog"] .article-image {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover; /* BLOGは統一サイズで表示 */
      aspect-ratio: 16 / 9; /* アイキャッチ画像的な比率 */
    }

    /* BLOG記事: カードのホバーエフェクト */
    .article-card[data-source="blog"] {
      border-color: rgba(255, 215, 0, 0.15);
      background: rgba(255, 255, 255, 0.02);
      transition: all 0.3s ease;
    }

    .article-card[data-source="blog"]:hover {
      border-color: rgba(255, 215, 0, 0.4);
      background: rgba(255, 215, 0, 0.05);
      box-shadow:
        0 0 20px rgba(255, 215, 0, 0.2),
        0 0 40px rgba(255, 215, 0, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.3);
      transform: translateY(-2px);
    }

    /* BLOG記事: タイトルスタイル */
    .article-card[data-source="blog"] .article-title {
      font-size: clamp(0.9rem, 2vw, 1.1rem);
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.9);
      transition: color 0.3s ease;
    }

    .article-card[data-source="blog"]:hover .article-title {
      color: rgba(255, 215, 0, 0.95);
    }

    /* BLOG記事: カードコンテンツ部分 */
    .article-card[data-source="blog"] .article-card-content {
      padding: 1.2rem;
    }

    /* モーダルダイアログ */
    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(10px);
    }

    .modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeIn 0.3s ease;  /* アニメーションは.activeクラスで実行 */
    }

    .modal-content {
      position: relative;
      background: #000;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 1rem;
      max-width: 550px;
      width: 90%;
      max-height: 90vh;
      overflow-y: auto;
      padding: 2rem;
      animation: slideUp 0.4s ease;
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(255, 255, 255, 0.1);
      border: none;
      color: rgba(255, 255, 255, 0.8);
      font-size: 1.5rem;
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 10;
    }

    .modal-close:hover {
      background: rgba(255, 255, 255, 0.2);
      color: rgba(255, 255, 255, 1);
      transform: rotate(90deg);
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .article-image {
      width: 100%;
      aspect-ratio: 3 / 4;
      object-fit: cover;
      display: block;
      background: rgba(255, 255, 255, 0.05);
      opacity: 0.85;  /* 0.6 → 0.85 に増加（明るく） */
      transition: opacity 0.4s ease;
      position: relative;
      pointer-events: none;  /* クリックイベントを親要素に透過 */
    }

    .article-card:hover .article-image {
      opacity: 0.95;  /* ホバー時はさらに明るく */
    }

    /* テキストアート画像コンテナ */
    .text-art-container {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 4;
      min-height: 300px;
      background: rgba(0, 0, 0, 0.2);
      overflow: hidden;
      flex-shrink: 0;
    }

    .real-article-image {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;  /* クリックイベントを親要素に透過 */
    }

    /* X投稿画像コンテナ内の全画像でクリック透過 */
    .text-art-container img {
      pointer-events: none;
    }

    .text-art-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      line-height: 1.8;
      overflow: visible;
      padding: 1rem;
    }

    .text-art-char {
      font-weight: 400;
      line-height: 1;
      user-select: none;
      pointer-events: none;
    }

    /* 文章漏れ出しエフェクト用コンテナ */
    .text-leak-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 10;
      overflow: hidden;
    }

    /* 漏れ出る文字 */
    .leak-char {
      position: absolute;
      opacity: 0;
      font-size: clamp(0.7rem, 1.5vw, 1rem);
      font-weight: 300;
      letter-spacing: 0.1em;
      will-change: opacity, transform, color, text-shadow;
      transition: opacity 0.6s ease, transform 0.8s ease, color 0.8s ease;
    }

    .leak-char.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .article-card:hover .article-image {
      opacity: 0.8;
    }

    .article-image-placeholder {
      width: 100%;
      aspect-ratio: 3 / 4;
      background: rgba(255, 255, 255, 0.05);
      border: 1px dashed rgba(255, 255, 255, 0.1);
      display: block;
      opacity: 0.6;
    }

    .article-card-content {
      padding: 1.5rem 1.5rem 1rem 1.5rem;
      overflow: hidden;
      position: relative;
      z-index: 10;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(10px);
    }

    .article-title {
      font-size: clamp(1.3rem, 3.5vw, 1.6rem);
      font-weight: 300;
      line-height: 1.6;
      letter-spacing: 0.05em;
      margin: 0;
      opacity: 0.5;
      transition: opacity 0.6s ease;
      animation: articleTitleFloat 4s ease-in-out infinite;
      white-space: nowrap;
      overflow: visible;
    }

    .article-date {
      font-size: 0.85rem;
      opacity: 0.5;
      margin-top: 0.5rem;
      letter-spacing: 0.05em;
      font-weight: 300;
      transition: opacity 0.3s ease;
    }

    .article-card:hover .article-date {
      opacity: 0.7;
    }

    .article-card:hover .article-title {
      opacity: 1;
      animation: none;
    }

    @keyframes articleTitleFloat {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-3px);
      }
    }

    /* 記事タイトルの文字を個別にアニメーション */
    .article-title .char {
      display: inline-block;
      opacity: 0;
      animation: charFadeIn 0.8s ease-out forwards;
    }

    .article-card:hover .article-title .char {
      opacity: 1;
      animation: charReveal 0.4s ease-out forwards;
    }

    @keyframes charFadeIn {
      from {
        opacity: 0;
        filter: blur(2px);
      }
      to {
        opacity: 0.5;
        filter: blur(0);
      }
    }

    @keyframes charReveal {
      from {
        opacity: 0.5;
        filter: blur(1px);
      }
      to {
        opacity: 1;
        filter: blur(0);
      }
    }

    /* Footer */
    .footer {
      text-align: center;
      padding: 3rem 2rem;
      opacity: 0.5;
      font-size: 0.9rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Glitch Effect - 15% of characters become symbols */
    .glitch-char {
      display: inline-block;
      position: relative;
    }

    @media (max-width: 1024px) {
      .articles article {
        width: 70% !important;
        min-width: 350px;
      }

      /* Packery layout以外のカードに適用 */
      article:not([style*="position: absolute"]) .article-card {
        width: 100% !important;
        min-width: auto !important;
      }

      /* タブレットでも左右交互配置（Packery layout以外） */
      .articles article:not([style*="position: absolute"]):nth-child(even) {
        margin-left: 0 !important;
        margin-right: auto !important;
      }

      .articles article:not([style*="position: absolute"]):nth-child(odd) {
        margin-left: auto !important;
        margin-right: 0 !important;
      }
    }

    @media (max-width: 768px) {
      body {
        cursor: auto;
      }

      .custom-cursor {
        display: none;
      }

      .header-bar {
        height: 60px;
      }

      .text-nav {
        padding: 0 1.5rem;
      }

      /* 著者サイン */
      .author-signature {
        top: 1.5rem;
        left: 1.5rem;
        font-size: 0.75rem;
      }

      /* テキストナビゲーション */
      .text-nav a.active {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
      }

      .text-nav a:not(.active) {
        right: 1.5rem;
        font-size: 0.75rem;
      }

      .nav-right {
        gap: 1rem;
      }

      .text-nav .nav-disabled {
        font-size: 0.7rem;
      }

      /* Hero Section - 中央揃え */
      .hero {
        text-align: center;
        padding: clamp(4rem, 12vh, 8rem) 1.5rem;
      }

      .hero-title,
      .hero-subtitle {
        text-align: center;
      }

      /* Content Filter - 中央揃え */
      .content-filter {
        text-align: center;
      }

      /* Articles Section - 中央揃え */
      .articles {
        padding: 3rem 1.5rem;
        text-align: center;
      }

      .section-title {
        text-align: center;
      }

      .article-list {
        gap: 1.5rem;
        justify-content: center;
      }

      /* Packery layout以外のカードに適用 */
      article:not([style*="position: absolute"]) .article-card {
        width: 90% !important;
        min-width: unset;
        max-width: 500px;
        transform: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }

      /* モバイルでは中央配置に統一（Packery layout以外） */
      .articles article:not([style*="position: absolute"]):nth-child(even),
      .articles article:not([style*="position: absolute"]):nth-child(odd) {
        margin-left: auto !important;
        margin-right: auto !important;
      }

      /* タイトルを目立つように強調 */
      .article-title {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
        font-weight: 600;
        opacity: 0.95;
        letter-spacing: 0.03em;
        text-shadow: 0 2px 12px rgba(255, 255, 255, 0.25);
      }

      .article-card:hover .article-title {
        opacity: 1;
        text-shadow: 0 2px 16px rgba(255, 255, 255, 0.35);
      }
    }

    @media (max-width: 768px) {
      /* タブレット: X記事は不規則な2列表示 */
      article:has(.article-card[data-source="x"]) {
        width: calc(45% - 1rem);
        max-width: calc(45% - 1rem);
      }

      article:has(.article-card[data-source="x"]).x-small {
        width: calc(35% - 1rem);
        max-width: calc(35% - 1rem);
      }

      article:has(.article-card[data-source="x"]).x-large {
        width: calc(55% - 1rem);
        max-width: calc(55% - 1rem);
      }
    }

    @media (max-width: 480px) {
      /* 📱 スマホ: Packeryレイアウトを画面幅に収める */
      .articles {
        overflow: hidden; /* 横スクロール防止 */
        padding: 1rem 0.5rem;
      }

      /* Packery layout適用時のみスケール (height設定時) */
      .article-list[style*="height"] {
        transform-origin: top left;
        transform: scale(0.24); /* より小さく: 1400px → 336px */
        width: 1400px !important;
        margin: 0;
        padding: 0 2rem; /* 左右に余白 */
      }

      /* Packery 絶対配置の記事 (X & BLOG) */
      .article-list[style*="height"] article[data-source="x"],
      .article-list[style*="height"] article[data-source="note"] {
        box-sizing: border-box !important;
        /* 縦横同じ余白: 5px padding = カード間 10px */
        padding: 5px !important; /* 全方向に同じ余白 */
      }

      /* 画像のサイズ調整 */
      .article-list[style*="height"] .article-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important; /* 視認性向上 */
        /* カード自体には余白不要 (articleのpaddingで統一) */
      }

      /* Packery以外のレイアウトは通常表示 */
      .article-list:not([style*="height"]) {
        transform: none;
        width: 100% !important;
      }

      /* 横スクロール完全無効化 */
      body {
        overflow-x: hidden !important;
        max-width: 100vw;
      }

      html {
        overflow-x: hidden !important;
      }

      /* さらに小さい画面での調整 */
      .hero {
        padding: clamp(3rem, 10vh, 6rem) 1rem;
      }

      .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
      }

      .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
      }

      .content-filter {
        padding: 2rem 1rem 1rem 1rem;
      }

      .filter-options {
        gap: 1.5rem;
      }

      .filter-option {
        font-size: 0.9rem;
      }

      .filter-option.active {
        font-size: 1.2rem;
      }

      .articles {
        padding: 2rem 1rem;
      }

      .article-card {
        width: 100% !important;
        max-width: none !important;
      }

      /* モバイル: X記事も1列表示 */
      article:has(.article-card[data-source="x"]) {
        width: 100%;
        max-width: none;
      }

      .article-card[data-source="x"] {
        min-width: auto;
      }
    }

      .article-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        font-weight: 700;
        white-space: normal;
      }

      .article-card-content {
        padding: 1.2rem;
      }
    }

    @media (hover: none) {
      .custom-cursor {
        display: none;
      }
    }

    /* ========== ANEMONE TRIANGLE LOGO ========== */
    .nav-center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    .anemone-logo {
      display: flex;
      align-items: baseline;
      cursor: pointer;
      overflow: hidden;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .anemone-logo .triangle {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.8);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      letter-spacing: 0.1em;
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.15),
        0 0 15px rgba(255, 215, 0, 0.1);
    }

    .anemone-logo .full-text {
      max-width: 0;
      opacity: 0;
      overflow: hidden;
      font-size: 1rem;
      font-weight: 300;
      letter-spacing: 0.2em;
      color: rgba(255, 255, 255, 0.4);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      white-space: nowrap;
    }

    /* Expanded state */
    .anemone-logo.expanded .triangle {
      color: rgba(255, 255, 255, 0.8);
      letter-spacing: 0.15em;
    }

    .anemone-logo.expanded .full-text {
      max-width: 200px;
      opacity: 1;
      margin-left: -0.15em;  /* 三角形とつなげる */
    }

    /* Hover effect */
    .anemone-logo:hover .triangle {
      color: rgba(255, 255, 255, 0.95);
      text-shadow:
        0 0 12px rgba(255, 255, 255, 0.25),
        0 0 20px rgba(255, 215, 0, 0.2);
    }

    .anemone-logo.expanded:hover .triangle,
    .anemone-logo.expanded:hover .full-text {
      color: rgba(255, 255, 255, 0.95);
    }

    @media (max-width: 768px) {
      .nav-center {
        display: block;  /* モバイルでも表示 */
      }
    }

