/*
Theme Name: Citypop Curious
Theme URI: https://harun0-curious.net
Description: 90年代シティポップ調のカスタムWordPressテーマ
Version: 1.0
Author: 超謝謝
*/

/* ========================================
   リセット & 基本設定
   ======================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    /* 90年代シティポップカラー */
    --color-primary: #ff6b9d;
    --color-secondary: #c471f5;
    --color-accent: #4facfe;
    --color-mint: #43e97b;
    --color-peach: #fa709a;
    --color-sunset: #feca57;
    
    /* ダークモード用 */
    --bg-dark: #1a1a2e;
    --bg-darker: #0f0f1e;
    --text-light: #eee;
    --text-glow: #fff;
    
    /* グラデーション */
    --gradient-sunset: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-neon: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-city: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* フォント */
    --font-main: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --font-display: 'Arial Rounded MT Bold', 'Helvetica Rounded', sans-serif;
  }
  
  body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
  }
  
  /* ========================================
     グリッド背景（レトロフューチャー）
     ======================================== */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      linear-gradient(0deg, transparent 24%, rgba(255, 107, 157, .05) 25%, rgba(255, 107, 157, .05) 26%, transparent 27%, transparent 74%, rgba(255, 107, 157, .05) 75%, rgba(255, 107, 157, .05) 76%, transparent 77%, transparent),
      linear-gradient(90deg, transparent 24%, rgba(255, 107, 157, .05) 25%, rgba(255, 107, 157, .05) 26%, transparent 27%, transparent 74%, rgba(255, 107, 157, .05) 75%, rgba(255, 107, 157, .05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
  }
  
  /* ========================================
     ヘッダー
     ======================================== */
  .site-header {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid;
    border-image: var(--gradient-neon) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
  }
  
  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .site-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 157, 0.5);
    letter-spacing: 0.05em;
    margin: 0;
  }
  
  .site-title a {
    text-decoration: none;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .site-description {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-top: 0.3rem;
    opacity: 0.9;
  }
  
  /* ナビゲーション */
  .main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .main-navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: width 0.3s ease;
  }
  
  .main-navigation a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.8);
  }
  
  .main-navigation a:hover::before {
    width: 80%;
  }
  
  /* ========================================
     メインコンテンツエリア
     ======================================== */
  .site-layout {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
  }
  
  .site-content {
    min-width: 0;
  }
  
  /* サイドバーなしのページ */
  .archive-page,
  .search-page,
  .error-404-page,
  .page-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
  }
  
  /* ========================================
     記事一覧グリッド
     ======================================== */
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .post-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 157, 0.2);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-neon);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
  .post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.4);
    border-color: var(--color-primary);
  }
  
  .post-card:hover::before {
    transform: scaleX(1);
  }
  
  .post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
  }
  
  .post-card:hover .post-thumbnail {
    filter: brightness(1.1);
  }
  
  .post-content {
    padding: 1.5rem;
  }
  
  .post-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .post-category.gadget {
    background: var(--gradient-ocean);
    color: white;
  }
  
  .post-category.lifestyle {
    background: var(--gradient-city);
    color: white;
  }
  
  .post-category.ai-content {
    background: var(--gradient-sunset);
    color: white;
  }
  
  .post-category.misc {
    background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-accent) 100%);
    color: white;
  }
  
  .post-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    line-height: 1.4;
  }
  
  .post-title a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .post-title a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.6);
  }
  
  .post-excerpt {
    color: rgba(238, 238, 238, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(238, 238, 238, 0.6);
    border-top: 1px solid rgba(255, 107, 157, 0.2);
    padding-top: 1rem;
  }
  
  .post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .read-more {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .read-more:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 10px rgba(196, 113, 245, 0.6);
  }
  
  /* ========================================
     サイドバー
     ======================================== */
  .sidebar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .sidebar-widget {
    margin-bottom: 2rem;
  }
  
  .sidebar-widget:last-child {
    margin-bottom: 0;
  }
  
  .widget-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
    border-image: var(--gradient-neon) 1;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .sidebar ul {
    list-style: none;
  }
  
  .sidebar li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
  }
  
  .sidebar a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .sidebar a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
  }
  
  /* ========================================
     フッター
     ======================================== */
  .site-footer {
    background: var(--bg-darker);
    border-top: 2px solid;
    border-image: var(--gradient-neon) 1;
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .footer-text {
    color: rgba(238, 238, 238, 0.6);
    font-size: 0.9rem;
  }
  
  /* ========================================
     ネオンエフェクト
     ======================================== */
  .neon-text {
    animation: neon-glow 2s ease-in-out infinite alternate;
  }
  
  @keyframes neon-glow {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--color-primary), 0 0 40px var(--color-primary);
    }
    to {
      text-shadow: 0 0 20px #fff, 0 0 30px var(--color-secondary), 0 0 40px var(--color-secondary), 0 0 50px var(--color-secondary);
    }
  }
  
  /* ========================================
     レスポンシブ
     ======================================== */
  @media (max-width: 1024px) {
    .site-layout {
      grid-template-columns: 1fr;
    }
    
    .sidebar {
      order: 2;
    }
  }
  
  @media (max-width: 768px) {
    .header-container {
      flex-direction: column;
      gap: 1rem;
    }
    
    .main-navigation ul {
      flex-direction: column;
      gap: 0.5rem;
      align-items: center;
    }
    
    .posts-grid {
      grid-template-columns: 1fr;
    }
    
    .site-title {
      font-size: 1.5rem;
    }
    
    .site-layout {
      gap: 2rem;
      padding: 0 1rem;
    }
  }
  
  /* ========================================
     個別記事ページ
     ======================================== */
  .single-post {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .entry-header {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .entry-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.3;
    margin: 1rem 0;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: rgba(238, 238, 238, 0.7);
    margin-top: 1rem;
  }
  
  .posted-on {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .entry-thumbnail {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 157, 0.3);
  }
  
  .entry-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .entry-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
  }
  
  .entry-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
    border-image: var(--gradient-neon) 1;
    background: var(--gradient-city);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .entry-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--color-accent);
  }
  
  .entry-content p {
    margin-bottom: 1.5rem;
  }
  
  .entry-content a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-primary);
    transition: all 0.3s ease;
  }
  
  .entry-content a:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    text-shadow: 0 0 10px rgba(196, 113, 245, 0.6);
  }
  
  .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
  }
  
  .entry-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 107, 157, 0.1);
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    font-style: italic;
  }
  
  .entry-content ul,
  .entry-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
  }
  
  .entry-content li {
    margin-bottom: 0.8rem;
  }
  
  .entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 157, 0.2);
  }
  
  .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
  }
  
  .tags-label {
    font-weight: bold;
    color: var(--color-accent);
  }
  
  .tag-link {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(79, 172, 254, 0.2);
    border: 1px solid var(--color-accent);
    border-radius: 20px;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }
  
  .tag-link:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(79, 172, 254, 0.4);
  }
  
  /* 前後記事ナビゲーション */
  .post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 157, 0.2);
  }
  
  .nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .nav-previous,
  .nav-next {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 107, 157, 0.2);
    transition: all 0.3s ease;
  }
  
  .nav-previous:hover,
  .nav-next:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
    border-color: var(--color-primary);
  }
  
  .nav-previous a,
  .nav-next a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-subtitle {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: bold;
  }
  
  .nav-title {
    color: var(--text-light);
    font-size: 1.1rem;
  }
  
  .nav-previous a:hover .nav-title,
  .nav-next a:hover .nav-title {
    color: var(--color-primary);
  }
  
  /* 評価スター */
  .post-rating {
    font-size: 1.2rem;
    color: var(--color-sunset);
  }
  
  /* ========================================
     ユーティリティ
     ======================================== */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .gradient-bg {
    background: var(--gradient-neon);
  }
  
  .text-gradient {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* ========================================
     サイドバースタイル拡張
     ======================================== */
  .profile-widget .profile-content {
    text-align: center;
  }
  
  .profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid;
    border-image: var(--gradient-neon) 1;
    margin: 0 auto 1rem;
    display: block;
  }
  
  .profile-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-neon);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
  }
  
  .profile-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
  }
  
  .profile-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(238, 238, 238, 0.8);
  }
  
  .category-list {
    list-style: none;
  }
  
  .category-item {
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
  }
  
  .category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
  }
  
  .category-link:hover {
    padding-left: 0.5rem;
    color: var(--color-primary);
  }
  
  .category-count {
    background: rgba(255, 107, 157, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--color-primary);
  }
  
  .popular-posts-list {
    list-style: none;
  }
  
  .popular-post-item {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
  }
  
  .popular-post-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .popular-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .popular-post-content {
    flex: 1;
  }
  
  .popular-post-title {
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-light);
    text-decoration: none;
  }
  
  .popular-post-title:hover {
    color: var(--color-primary);
  }
  
  .popular-post-date {
    font-size: 0.8rem;
    color: rgba(238, 238, 238, 0.6);
  }
  
  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .tag-cloud-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(79, 172, 254, 0.15);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 15px;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
  }
  
  .tag-cloud-link:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
  }
  
  .archives-list {
    list-style: none;
  }
  
  .archive-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
  }
  
  .archive-item a {
    display: flex;
    justify-content: space-between;
  }
  
  /* ========================================
     アーカイブページ
     ======================================== */
  .archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .archive-type {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--gradient-neon);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }
  
  .archive-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
  }
  
  .archive-description {
    font-size: 1.1rem;
    color: rgba(238, 238, 238, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .archive-meta {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(238, 238, 238, 0.7);
  }
  
  /* ========================================
     検索ページ
     ======================================== */
  .search-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .search-type {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--gradient-ocean);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }
  
  .search-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 1rem;
  }
  
  .search-meta {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(238, 238, 238, 0.7);
  }
  
  .search-form-container {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .search-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 107, 157, 0.3);
  }
  
  .search-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
  }
  
  .search-field::placeholder {
    color: rgba(238, 238, 238, 0.5);
  }
  
  .search-submit {
    background: var(--gradient-neon);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
  }
  
  .search-excerpt mark {
    background: rgba(255, 107, 157, 0.3);
    color: var(--color-primary);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
  }
  
  .search-suggestions {
    text-align: left;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .search-suggestions h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
  }
  
  .search-suggestions ul {
    list-style: none;
    padding-left: 0;
  }
  
  .search-suggestions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
  }
  
  .search-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
  }
  
  /* ========================================
     404エラーページ
     ======================================== */
  .error-404-page {
    text-align: center;
    padding: 3rem 2rem;
  }
  
  .error-404-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .error-404-visual {
    margin-bottom: 2rem;
  }
  
  .error-code {
    font-size: 8rem;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
  }
  
  .error-glitch {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    animation: glitch 2s infinite;
  }
  
  @keyframes glitch {
    0%, 100% {
      text-shadow: 0 0 10px var(--color-primary);
    }
    25% {
      text-shadow: -2px 0 10px var(--color-primary), 2px 0 10px var(--color-accent);
    }
    50% {
      text-shadow: 2px 0 10px var(--color-accent), -2px 0 10px var(--color-secondary);
    }
    75% {
      text-shadow: -2px 0 10px var(--color-secondary), 2px 0 10px var(--color-primary);
    }
  }
  
  .error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
  }
  
  .error-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(238, 238, 238, 0.8);
    margin-bottom: 2rem;
  }
  
  .error-404-search {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .error-404-search h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
  }
  
  .error-404-recent {
    margin: 3rem 0;
  }
  
  .error-404-recent h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-accent);
  }
  
  .recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .recent-post-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 157, 0.2);
    transition: all 0.3s ease;
  }
  
  .recent-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
  }
  
  .recent-post-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  
  .recent-post-title {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .recent-post-title a {
    color: var(--text-light);
    text-decoration: none;
  }
  
  .recent-post-title a:hover {
    color: var(--color-primary);
  }
  
  .error-404-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
  }
  
  .button-primary,
  .button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
  }
  
  .button-primary {
    background: var(--gradient-neon);
    color: white;
  }
  
  .button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
  }
  
  .button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 107, 157, 0.3);
  }
  
  .button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    transform: translateY(-3px);
  }
  
  /* ========================================
     コメントセクション
     ======================================== */
  .comments-area {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .comments-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid;
    border-image: var(--gradient-neon) 1;
    color: var(--color-accent);
  }
  
  .comment-list {
    list-style: none;
    padding: 0;
  }
  
  .comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 157, 0.1);
  }
  
  .comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .comment-author img {
    border-radius: 50%;
    border: 2px solid var(--color-primary);
  }
  
  .comment-metadata {
    font-size: 0.85rem;
    color: rgba(238, 238, 238, 0.6);
  }
  
  .comment-content {
    line-height: 1.8;
    margin: 1rem 0;
  }
  
  .reply {
    margin-top: 1rem;
  }
  
  .comment-reply-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 172, 254, 0.2);
    border: 1px solid var(--color-accent);
    border-radius: 15px;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }
  
  .comment-reply-link:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
  }
  
  .comment-form {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
    font-weight: bold;
  }
  
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
  }
  
  .comment-form input:focus,
  .comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.3);
  }
  
  .comment-form p {
    margin-bottom: 1.5rem;
  }
  
  .comment-form .required {
    color: var(--color-primary);
  }
  
  .no-comments {
    text-align: center;
    padding: 2rem;
    color: rgba(238, 238, 238, 0.6);
    font-style: italic;
  }
  
  /* ========================================
     固定ページ
     ======================================== */
  .single-page {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .page-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .page-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
  }
  
  .page-thumbnail {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 157, 0.3);
  }
  
  .page-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .page-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
  }
  
  .page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 157, 0.2);
    text-align: center;
  }
  
  .page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.3rem;
    background: rgba(255, 107, 157, 0.2);
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .page-links a:hover {
    background: rgba(255, 107, 157, 0.3);
    transform: translateY(-2px);
  }
  
  .no-posts {
    text-align: center;
    padding: 4rem 2rem;
  }
  
  .no-posts-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.2);
  }
  
  .no-posts-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
  
  .no-posts h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
  }
  
  .no-posts p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(238, 238, 238, 0.8);
    margin-bottom: 1rem;
  }
  
  /* レスポンシブ - 個別記事 */
  @media (max-width: 768px) {
    .single-post,
    .single-page {
      padding: 2rem 1.5rem;
    }
    
    .entry-title,
    .page-title {
      font-size: 1.8rem;
    }
    
    .entry-meta {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .entry-content,
    .page-body {
      font-size: 1rem;
    }
    
    .error-code {
      font-size: 5rem;
    }
    
    .error-glitch {
      font-size: 1rem;
    }
    
    .error-404-actions {
      flex-direction: column;
    }
    
    .recent-posts-grid {
      grid-template-columns: 1fr;
    }
  }