  :root {
    --bg:        #0a0812;
    --surface:   #110f1e;
    --border:    #2a2040;
    --gold:      #c9a84c;
    --gold-dim:  #7a6228;
    --purple:    #6b3fa0;
    --purple-lt: #9b6fd0;
    --text:      #e8e0f0;
    --muted:     #8b7fa8;
    --tag-bg:    #1e1630;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Noto Serif JP', serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 10%, rgba(107,63,160,0.12) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 80%, rgba(201,168,76,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }

  .stara {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .stara span {
    position: absolute;
    border-radius: 50%;
    background: white;
    animation: twinkle var(--d, 3s) ease-in-out infinite alternate;
    opacity: 0;
  }
  @keyframes twinkle {
    0%   { opacity: 0; }
    100% { opacity: var(--o, 0.5); }
  }

  /* ヘッダー */
  header {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px 28px;
    border-bottom: 1px solid var(--border);
  }

  .site-title-link {
    text-decoration: none;
  }

  .site-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    letter-spacing: 0.05em;
    text-shadow: 0 0 30px rgba(201,168,76,0.25);
  }
  .site-title span { color: var(--gold); }

  /* パンくず */
  .breadcrumb {
    position: relative;
    z-index: 10;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.1em;
  }
  .breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
  }
  .breadcrumb a:hover { color: var(--gold); }
  .breadcrumb span { margin: 0 8px; opacity: 0.4; }

  /* 記事本体 */
  article {
    position: relative;
    z-index: 10;
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    animation: fadeUp 0.7s ease forwards;
    opacity: 0;
  }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  /* 記事内コンテンツのスタイル */
  article h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }

  article h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gold);
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 2px solid var(--gold-dim);
    letter-spacing: 0.05em;
  }

  article h3 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--purple-lt);
    margin: 28px 0 12px;
  }

  article p {
    font-size: 0.92rem;
    line-height: 2;
    color: var(--text);
    margin-bottom: 20px;
    opacity: 0.9;
  }

  article ul, article ol {
    margin: 16px 0 20px 20px;
  }

  article li {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text);
    opacity: 0.85;
    margin-bottom: 6px;
  }

  article blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    background: var(--surface);
    border-left: 3px solid var(--gold-dim);
    border-radius: 0 2px 2px 0;
    font-style: italic;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.9;
  }

  article hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 36px 0;
  }

  article a {
    color: var(--purple-lt);
    text-decoration: none;
    border-bottom: 1px solid rgba(155,111,208,0.3);
    transition: color 0.3s, border-color 0.3s;
  }
  article a:hover {
    color: var(--gold);
    border-color: rgba(201,168,76,0.4);
  }

  /* 戻るボタン */
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    margin-top: 48px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 2px;
    transition: border-color 0.3s, color 0.3s;
  }
  .back-link:hover {
    border-color: var(--gold-dim);
    color: var(--gold);
  }

