/*
  Skin Name: cyberpunk
  Description: ゴリゴリのサイバーパンク（背景グリッド強調・ヘッダーアニメ・ボックス常時グラデ・関連記事フル幅）
  Skin URI: https://yusukegoto.com/
  Author: Yusuke Goto
  Author URI: https://yusukegoto.com/
  Screenshot URI: https://im-cocoon.net/wp-content/uploads/skin-template.png
  Version: 1.0.4
  Priority: 1
*/

/* ===== サイバーパンク風ヘッダーCSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');

/* ヘッダー全体：濃い水色 × 紫のグラデーション */
#header-container {
  background: linear-gradient(135deg, #00f5ff 0%, #8a00ff 100%);
  padding: 10px 0;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
  border-bottom: 2px solid rgba(138, 0, 255, 0.8);
  z-index: 9999;
  overflow: hidden;
}

/* グリッドライン（サイバーパンク感） */
#header-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 20px
  ),
  repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
  z-index: 1;
}

/* サイトタイトル */
.logo-header .site-name-text {
  font-family: 'Orbitron', 'Helvetica Neue', Arial, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #00f5ff;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.8), 0 0 20px rgba(138, 0, 255, 0.8);
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

.logo-header .site-name-text:hover {
  color: #8a00ff;
  text-shadow: 0 0 15px rgba(138, 0, 255, 1), 0 0 30px rgba(0, 245, 255, 0.8);
}

/* キャッチフレーズ */
.tagline {
  font-size: 0.9rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Orbitron', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 1px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 5px rgba(0, 245, 255, 0.6);
}

/* ナビゲーション */
#navi {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

#navi .menu-top li {
  display: inline-block;
  margin: 0 15px;
}

#navi .menu-top li a {
  color: #fff;
  font-family: 'Orbitron', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.7);
  position: relative;
}

#navi .menu-top li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00f5ff, #8a00ff);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#navi .menu-top li a:hover {
  color: #00f5ff;
  text-shadow: 0 0 12px rgba(0, 245, 255, 1), 0 0 25px rgba(138, 0, 255, 1);
}

#navi .menu-top li a:hover::after {
  width: 100%;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  #navi .menu-top li {
    display: block;
    margin: 10px 0;
    text-align: center;
  }
  
  .logo-header .site-name-text {
    font-size: 1.6rem;
  }

  .tagline {
    font-size: 0.8rem;
  }
}

/* ヘッダーアニメーション：ネオンがゆらめく */
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.8), 0 0 20px rgba(138, 0, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 245, 255, 1), 0 0 30px rgba(138, 0, 255, 0.8);
  }
}

#header-container {
  animation: neonPulse 3s infinite ease-in-out;
}


@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Share+Tech+Mono&display=swap');

/* ===== サイバーパンク風フッターCSS ===== */

/* フッター全体：ヘッダーと同じネオングラデーション */
#footer {
  background: linear-gradient(135deg, #00f5ff 0%, #8a00ff 100%);
  color: #fff;
  padding: 40px 20px 0;
  position: relative;
  border-top: 2px solid rgba(138, 0, 255, 0.8);
  overflow: hidden;
  z-index: 1000;
  animation: neonPulse 3s infinite ease-in-out;
}

/* ネオン風グリッド背景 */
#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 20px
  ),
  repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
  z-index: 1;
}

/* ===== ウィジェットエリア ===== */
.footer-widgets {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

/* 各カラム */
.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 250px;
  padding: 10px 20px;
}

/* ウィジェットタイトル */
.footer-title {
  font-family: 'Orbitron', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.2rem;
  color: #00f5ff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.8), 0 0 15px rgba(138, 0, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
}

/* カテゴリーリスト */
.footer-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-left ul li {
  margin: 8px 0;
}

.footer-left ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px rgba(0, 245, 255, 0.6);
}

.footer-left ul li a:hover {
  color: #00f5ff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 1), 0 0 20px rgba(138, 0, 255, 1);
}

/* ===== 検索ボックス ===== */
.footer-center .search-box {
  position: relative;
}

.footer-center .search-edit {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0, 245, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: 5px;
  outline: none;
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s ease;
}

.footer-center .search-edit:focus {
  border-color: #8a00ff;
  box-shadow: 0 0 10px rgba(138, 0, 255, 0.8);
}

.footer-center .search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #00f5ff;
  cursor: pointer;
  font-size: 1.2rem;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.8);
  transition: all 0.3s ease;
}

.footer-center .search-submit:hover {
  color: #8a00ff;
  text-shadow: 0 0 12px rgba(138, 0, 255, 1);
}

/* ===== 外部リンクボックス ===== */
.footer-right .external-link-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 245, 255, 0.6);
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.footer-right .external-link-box:hover {
  border-color: #8a00ff;
  box-shadow: 0 0 15px rgba(138, 0, 255, 0.8);
}

.footer-right .favicon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

.footer-right .domain {
  font-size: 0.9rem;
  color: #00f5ff;
}

/* ===== フッターボトム部分 ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

/* フッターロゴ */
.footer-bottom .site-name-text {
  font-family: 'Orbitron', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #00f5ff;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.8), 0 0 20px rgba(138, 0, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-bottom .site-name-text:hover {
  color: #8a00ff;
  text-shadow: 0 0 15px rgba(138, 0, 255, 1), 0 0 30px rgba(0, 245, 255, 0.8);
}

/* フッターナビ */
.navi-footer ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.navi-footer ul li a {
  color: #fff;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.8);
  font-size: 1rem;
}

.navi-footer ul li a:hover {
  color: #00f5ff;
  text-shadow: 0 0 12px rgba(0, 245, 255, 1), 0 0 25px rgba(138, 0, 255, 1);
}

/* コピーライト */
.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  letter-spacing: 1px;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 6px rgba(0, 245, 255, 0.6);
}

/* ===== レスポンシブ ===== */
@media screen and (max-width: 768px) {
  .footer-widgets {
    flex-direction: column;
    text-align: center;
  }
  .footer-left, .footer-center, .footer-right {
    padding: 10px 0;
  }
  .navi-footer ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================================
   サイバーパンク風デザイン CSS
   ========================================= */

/* サイト全体背景 */
body {
  background: repeating-linear-gradient(
    to right,
    #000,
    #000 19px,
    #111 20px
  );
  color: #fff;
  font-family: "Orbitron", "Roboto", sans-serif;
}

/* ==============================
   1. mainタグ サイバーパンク背景
============================== */
main {
  position: relative;
  background: #0a0a0f; /* ダーク背景 */
  color: #fff;
  padding: 20px;
  border: 2px solid rgba(0, 255, 255, 0.7); /* ネオン風枠線 */
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.7),
              0 0 40px rgba(0, 255, 255, 0.4); /* 光るネオン効果 */
  overflow: hidden; /* 擬似要素がはみ出さないように */
  z-index: 1;
}

/* 方眼紙風ネオン背景 */
main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px; /* グリッドサイズ */
  pointer-events: none;
  z-index: 0;
  animation: gridGlow 5s linear infinite;
  opacity: 0.7;
}

/* グリッドが少しゆらめくアニメーション */
@keyframes gridGlow {
  0% {
    opacity: 0.6;
    transform: translate(0, 0);
  }
  50% {
    opacity: 0.8;
    transform: translate(5px, 5px);
  }
  100% {
    opacity: 0.6;
    transform: translate(0, 0);
  }
}


/* articleタグ - 白背景 */
.article {
  background: #fff;
  color: #000;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

/* entry-content - mainと同じ黒背景 */
.entry-content {
  background: #0a0a0f;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* =========================
   見出し（ネオン風）
   ========================= */
/* 全見出し */
h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00ffff;
  text-shadow:
    0 0 5px #00ffff,
    0 0 15px #00f8ff,
    0 0 25px #00f8ff;
  border-left: 5px solid #00ffff;
  padding-left: 10px;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
}

/* h3 ピンクネオン、h4 イエロー系 */
h3 { color:#ff69b4; border-left-color:#ff69b4; text-shadow:0 0 5px #ff69b4,0 0 15px #ff1493,0 0 25px #ff1493; }
h4 { color:#ffd700; border-left-color:#ffd700; text-shadow:0 0 5px #ffd700,0 0 15px #ffae00,0 0 25px #ffae00; }

/* カテゴリー・タグ */
a.cat-link, .tag-link, .post-tags a {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  color: #00ffff;
  text-shadow: 0 0 4px #00ffff,0 0 10px #00ffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}
a.cat-link:hover, .tag-link:hover, .post-tags a:hover {
  text-shadow: 0 0 5px #00ffff,0 0 20px #00ffff,0 0 40px #00ffff;
  color: #ffffff;
}

h1, h2, h3, h4,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4,
.article h1, .article h2, .article h3, .article h4 {
  background: transparent !important;
}
/* Cocoonデフォルトの::before も透明化 */
h1::before, h2::before, h3::before, h4::before {
  background: transparent !important;
}


/* =========================
   リスト
   ========================= */
ul.wp-block-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

ul.wp-block-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
  font-size: 14px;
}

/* =========================
   引用
   ========================= */
blockquote.wp-block-quote {
  position: relative;
  background: rgba(0, 255, 255, 0.05);
  border-left: 5px solid #00ffff;
  padding: 15px 20px;
  color: #00ffff;
  font-style: italic;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

blockquote.wp-block-quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 3rem;
  color: #00ffff88;
}

/* =========================
   コードブロック
   ========================= */
pre.wp-block-code {
  background: #111;
  color: #00ffea;
  padding: 15px;
  border: 1px solid #00ffff55;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  overflow-x: auto;
  border-radius: 6px;
  font-family: "Fira Code", monospace;
}

/* =========================
   サイバーパンク風テーブル
   ========================= */
table {
  width: 100%;
  border-collapse: separate; /* 二重線をしっかり表示 */
  border-spacing: 0;
  background: rgba(0, 0, 0, 0.7); /* 半透明黒背景 */
  color: #fff;
  box-shadow:
    0 0 10px rgba(0, 255, 255, 0.4),
    0 0 20px rgba(0, 255, 255, 0.2);
  border: 2px double rgba(0, 255, 255, 0.7); /* 外枠を二重線 */
  border-radius: 8px;
  overflow: hidden;
}

/* セル基本 */
th, td {
  padding: 12px 15px;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.5);
  position: relative;
  z-index: 1;
  font-weight: bold;
  text-shadow:
    0 0 2px #000,
    0 0 5px #00ffff,
    0 0 10px #00ffff;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(4px); /* ほんのり背景ぼかし */
  transition: background 0.3s ease;
}

/* ヘッダーセル */
th {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  border-bottom: 2px double rgba(0, 255, 255, 0.7);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow:
    0 0 5px #00ffff,
    0 0 15px #00cccc,
    0 0 30px #00cccc;
}

/* 行ホバー時 */
tbody tr:hover td {
  background: rgba(0, 255, 255, 0.15);
  box-shadow:
    inset 0 0 10px rgba(0, 255, 255, 0.3);
  transition: 0.3s ease;
}

/* 奇数行に薄いネオン */
tbody tr:nth-child(odd) td {
  background: rgba(0, 255, 255, 0.05);
}

/* テーブル全体のスクロール対応 */
.table-wrap {
  overflow-x: auto;
  padding: 10px;
}

/* 小さい画面でセルを詰める */
@media (max-width: 600px) {
  th, td {
    padding: 8px;
    font-size: 0.85rem;
  }
}


/* =========================
   関連記事カード
   ========================= */
.related-entry-card {
  background: #111;
  border: 1px solid #00ffff55;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.related-entry-card-title {
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
}

/* =========================
   ページネーション
   ========================= */
.pager-post-navi a {
  background: #0a0a0f;
  border: 1px solid #00ffff55;
  color: #00ffff;
  padding: 10px 15px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: 0.3s;
}

.pager-post-navi a:hover {
  background: #00ffff22;
  color: #fff;
}

/* =========================================
   記事ヘッダー全体
   ========================================= */
.article-header.entry-header {
  background: rgba(0, 0, 0, 0.85); /* 背景をダーク */
  border: 1px solid rgba(0, 255, 255, 0.3); /* ネオン枠 */
  box-shadow:
    0 0 10px rgba(0, 255, 255, 0.6),
    0 0 20px rgba(0, 255, 255, 0.4),
    inset 0 0 10px rgba(0, 255, 255, 0.3);
  padding: 25px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(6px); /* ほんのりぼかす */
  border-radius: 10px;
}

/* 背景に方眼紙ネオンラインを追加 */
.article-header.entry-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      to right,
      rgba(0, 255, 255, 0.15) 0px,
      rgba(0, 255, 255, 0.15) 1px,
      transparent 1px,
      transparent 50px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(0, 255, 255, 0.15) 0px,
      rgba(0, 255, 255, 0.15) 1px,
      transparent 1px,
      transparent 50px
    );
  pointer-events: none;
  z-index: 1;
  opacity: 0.2;
}

/* =========================================
   記事タイトル
   ========================================= */
.article-header .entry-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #00ffff;
  text-align: center;
  position: relative;
  z-index: 3;
  text-shadow:
    0 0 5px #00ffff,
    0 0 15px #00cccc,
    0 0 30px #00cccc;
  letter-spacing: 2px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.article-header .entry-title:hover {
  transform: scale(1.03);
  text-shadow:
    0 0 8px #00ffff,
    0 0 18px #00cccc,
    0 0 40px #00cccc;
}

/* =========================================
   SNSボタンエリア
   ========================================= */
.article-header .sns-share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 3;
}

.article-header .sns-button {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: #00ffff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.article-header .sns-button:hover {
  background: rgba(0, 255, 255, 0.15);
  box-shadow:
    0 0 8px #00ffff,
    0 0 15px #00cccc,
    0 0 30px #00cccc;
  transform: translateY(-2px);
  color: #00ffff;
}

/* =========================================
   投稿日時
   ========================================= */
.article-header .date-tags {
  text-align: center;
  margin-top: 15px;
  position: relative;
  z-index: 3;
}

.article-header .post-date {
  font-size: 0.9rem;
  color: #ff69b4;
  text-shadow:
    0 0 5px #ff69b4,
    0 0 10px #ff1493;
}

.post-update {
  font-size: 0.9rem;
  color: #ffd700; /* メイン文字色をゴールドっぽい黄色に */
  text-shadow:
    0 0 5px #ffd700,
    0 0 10px #ffea00; /* 光のグラデーションでネオン感 */
}

/* 時計アイコンもネオン化 */
.article-header .fa-clock-o {
  color: #ff69b4;
  text-shadow:
    0 0 5px #ff69b4,
    0 0 10px #ff1493;
  margin-right: 4px;
}

/* =========================
   フッター全体（サイバーパンク背景＋ネオン枠）
   ========================= */
.article-footer.entry-footer {
  position: relative;
  padding: 30px 20px;
  margin-top: 40px;
  background: radial-gradient(circle at top left, rgba(10, 10, 20, 0.95), rgba(0, 0, 0, 0.98)),
              repeating-linear-gradient(0deg, rgba(0, 255, 255, 0.15) 0px, rgba(0, 255, 255, 0.15) 1px, transparent 1px, transparent 40px),
              repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.15) 0px, rgba(0, 255, 255, 0.15) 1px, transparent 1px, transparent 40px);
  border: 2px solid #0ff;
  box-shadow: 0 0 15px #0ff, inset 0 0 10px rgba(0, 255, 255, 0.5);
  border-radius: 15px;
  color: #fff;
  overflow: hidden;
}

/* フッター内テキストをネオン風 */
.article-footer.entry-footer,
.article-footer.entry-footer a {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.article-footer.entry-footer a:hover {
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

/* SNSシェアボタンをネオン化 */
.article-footer.entry-footer .sns-button {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.4);
  border-radius: 8px;
  padding: 6px 10px;
  color: #0ff;
  transition: all 0.3s ease;
}

.article-footer.entry-footer .sns-button:hover {
  background: rgba(0, 255, 255, 0.15);
  box-shadow: 0 0 10px #0ff;
  transform: translateY(-2px);
}

/* シェアメッセージも見やすく */
.article-footer.entry-footer .sns-share-message,
.article-footer.entry-footer .sns-follow-message {
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
  margin-bottom: 10px;
}

/* 投稿者情報 */
.article-footer.entry-footer .footer-meta {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  font-size: 0.9em;
  text-align: center;
}

/* 投稿者リンク */
.article-footer.entry-footer .author-link {
  color: #0ff;
  font-weight: bold;
}

.article-footer.entry-footer .author-link:hover {
  text-shadow: 0 0 8px #0ff;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .article-footer.entry-footer {
    padding: 20px 15px;
    font-size: 0.9em;
  }

  .article-footer.entry-footer .sns-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}


/* =========================
   パンくずリスト (Cyberpunk Style)
   ========================= */
#breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  margin-bottom: 20px;

  /* mainタグと同じ背景：暗めネオンサイバーパンク */
  background: radial-gradient(circle at top left, rgba(10, 10, 20, 0.9), rgba(0, 0, 0, 0.98)),
              repeating-linear-gradient(0deg, rgba(0, 255, 255, 0.12) 0px, rgba(0, 255, 255, 0.12) 1px, transparent 1px, transparent 40px),
              repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.12) 0px, rgba(0, 255, 255, 0.12) 1px, transparent 1px, transparent 40px);
  border: 2px solid #0ff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.7), inset 0 0 10px rgba(0, 255, 255, 0.3);
  overflow: hidden;
  z-index: 5;
}

/* パンくず内アイテム */
#breadcrumb .breadcrumb-caption,
#breadcrumb a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.8);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* ホバーで強発光 */
#breadcrumb a:hover {
  color: #0ff;
  text-shadow: 0 0 10px #0ff, 0 0 20px rgba(0, 255, 255, 0.8);
}

/* アイコン（家やフォルダ）もネオン化 */
#breadcrumb .fa {
  color: #0ff;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.9);
  font-size: 1em;
}

/* 区切り記号 > をネオン風 */
#breadcrumb .sp .fa-angle-right {
  color: rgba(0, 255, 255, 0.7);
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.7);
  margin: 0 5px;
}

/* ホーム部分を少し強調 */
#breadcrumb .breadcrumb-home a {
  font-weight: bold;
  color: #0ff;
}

/* ===== モバイル対応 ===== */
@media (max-width: 768px) {
  #breadcrumb {
    padding: 8px 15px;
    font-size: 0.85em;
    flex-wrap: wrap;
    gap: 5px;
  }
}

/* =========================
   コメントエリア (Cyberpunk Style)
   ========================= */
#comment-area {
  position: relative;
  margin-top: 40px;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #0ff;
  background: radial-gradient(circle at top left, rgba(10, 10, 20, 0.95), rgba(0, 0, 0, 0.98)),
              repeating-linear-gradient(0deg, rgba(0, 255, 255, 0.12) 0px, rgba(0, 255, 255, 0.12) 1px, transparent 1px, transparent 40px),
              repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.12) 0px, rgba(0, 255, 255, 0.12) 1px, transparent 1px, transparent 40px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6), inset 0 0 15px rgba(0, 255, 255, 0.3);
  color: #fff;
  z-index: 5;
}

/* コメントタイトル */
#comment-area .comment-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #0ff;
  text-align: center;
  text-shadow: 0 0 8px #0ff, 0 0 15px rgba(0, 255, 255, 0.7);
  margin-bottom: 20px;
}

/* フォームエリア */
#comment-area form {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: inset 0 0 8px rgba(0, 255, 255, 0.4);
}

/* ラベル */
#comment-area form label {
  color: #0ff;
  font-size: 0.95em;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.8);
  display: block;
  margin-bottom: 6px;
}

/* 入力フィールド */
#comment-area form input[type="text"],
#comment-area form input[type="email"],
#comment-area form input[type="url"],
#comment-area form textarea {
  width: 100%;
  padding: 10px;
  background: #000;
  border: 1px solid rgba(0, 255, 255, 0.6);
  border-radius: 6px;
  color: #fff;
  font-size: 1em;
  outline: none;
  box-shadow: inset 0 0 6px rgba(0, 255, 255, 0.6);
  transition: box-shadow 0.3s ease, border 0.3s ease;
}

/* フォーカス時に光る */
#comment-area form input[type="text"]:focus,
#comment-area form input[type="email"]:focus,
#comment-area form input[type="url"]:focus,
#comment-area form textarea:focus {
  border-color: #0ff;
  box-shadow: 0 0 8px #0ff, inset 0 0 8px rgba(0, 255, 255, 0.7);
}

/* 送信ボタン */
#comment-area form input[type="submit"] {
  background: linear-gradient(90deg, #0ff, #00f5ff, #0ff);
  border: none;
  color: #000;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 0 10px #0ff;
  transition: all 0.3s ease;
}

#comment-area form input[type="submit"]:hover {
  background: #000;
  color: #0ff;
  border: 1px solid #0ff;
  box-shadow: 0 0 20px #0ff, inset 0 0 10px rgba(0, 255, 255, 0.6);
}

/* コメントボタン（コメントを書く） */
#comment-reply-btn {
  display: inline-block;
  background: #000;
  border: 1px solid #0ff;
  color: #0ff;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
  transition: all 0.3s ease;
}

#comment-reply-btn:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 15px #0ff;
}

/* CAPTCHA部分 */
#comment-area form img {
  display: block;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 255, 255, 0.6);
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.6);
}

/* 説明文 */
#comment-area .comment-notes,
#comment-area .form-submit {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
  text-shadow: 0 0 4px rgba(0, 255, 255, 0.5);
}

/* コメントリスト */
.comment-list {
  margin-bottom: 30px;
  padding: 15px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.4);
  box-shadow: inset 0 0 6px rgba(0, 255, 255, 0.3);
}

/* コメント個別 */
.comment-list .comment {
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  padding: 15px 0;
}

.comment-list .comment:last-child {
  border-bottom: none;
}

/* 名前などをネオンカラー */
.comment-list .comment-author {
  color: #0ff;
  font-weight: bold;
  text-shadow: 0 0 6px #0ff;
}

/* 日付 */
.comment-list .comment-meta {
  color: rgba(0, 255, 255, 0.7);
  font-size: 0.85em;
}

hr.neon {
  border: 0;                   /* デフォルト線を消す */
  height: 50px;                  /* 線の太さ */
  background: #ffffff;          /* 白線 */
  box-shadow: 
    0 0 8px #ffffff,            /* 光のぼかし */
    0 0 16px #ffffff, 
    0 0 24px #ffffff;
  margin: 50px -20px;               /* 上下の余白 */
  border-radius: 4px;           /* 角丸 */
}

/* =========================
   TOC サイバーパンク風
   ========================= */
#toc {
  background: rgba(0, 0, 0, 0.6); /* 半透明黒背景 */
  border: 2px solid #00ffff; /* ネオンブルー枠 */
  border-radius: 8px;
  box-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff;
  padding: 15px;
  margin-bottom: 30px;
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;
}

#toc .toc-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 20px #00ffff;
  cursor: pointer;
  padding-bottom: 5px;
  display: inline-block;
  border-bottom: 2px solid #00ffff;
}

#toc .toc-content {
  margin-top: 10px;
}

#toc .toc-list li a {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 0 3px #00ffff, 0 0 8px #00ffff;
  transition: 0.3s;
}

#toc .toc-list li a:hover {
  text-shadow: 0 0 5px #00ffff, 0 0 15px #00ffff, 0 0 30px #00ffff;
  color: #00ffff;
}

/* 階層リストのネオンインデント */
#toc .toc-list li {
  padding-left: 15px;
  margin-bottom: 5px;
  border-left: 2px solid #00ffff;
}

/* ネストが深い場合の色変化（階層分け） */
#toc .toc-list li li {
  border-left-color: #ff69b4; /* ピンクネオン */
}

#toc .toc-list li li li {
  border-left-color: #ffd700; /* 黄色ネオン */
}

/* ===== タイムライン全体 ===== */
.timeline-box {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #00fff7;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.6), 0 0 30px rgba(0, 255, 247, 0.4);
}

/* ===== タイトル部分 ===== */
.timeline-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00fff7;
  text-align: center;
  margin-bottom: 20px;
  text-shadow:
    0 0 5px #00fff7,
    0 0 15px #00bcd4,
    0 0 30px #00fff7;
  letter-spacing: 2px;
  border-bottom: 2px solid #00fff7;
  padding-bottom: 10px;
}

/* ===== タイムラインの線 ===== */
.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 3px solid rgba(0, 255, 247, 0.8);
  box-shadow: 0 0 10px rgba(0, 255, 247, 0.7);
}

/* ===== 各項目 ===== */
.timeline-item {
  position: relative;
  margin-bottom: 25px;
  padding-left: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(8px);
  box-shadow: 0 0 10px rgba(0, 255, 247, 0.8);
}

/* ===== タイムラインのドット ===== */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 18px;
  height: 18px;
  background: #00fff7;
  border-radius: 50%;
  box-shadow:
    0 0 8px #00fff7,
    0 0 15px #00bcd4,
    0 0 25px #00fff7;
  transition: transform 0.3s ease;
}

.timeline-item:hover::before {
  transform: scale(1.3);
}

/* ===== ラベル ===== */
.timeline-item-label {
  font-size: 0.8rem;
  color: #ff00c8;
  margin-bottom: 6px;
  text-shadow:
    0 0 4px #ff00c8,
    0 0 8px #ff4de1;
  font-weight: bold;
}

/* ===== タイトル ===== */
.timeline-item-title {
  font-size: 1.1rem;
  color: #fff;
  text-shadow:
    0 0 5px #00fff7,
    0 0 15px #00fff7;
  font-weight: bold;
}

/* ===== スニペット（内容部分） ===== */
.timeline-item-snippet p {
  font-size: 0.9rem;
  color: #ddd;
  margin-top: 6px;
  text-shadow: 0 0 4px rgba(0, 255, 247, 0.4);
}

/* ===== リンクカード全体 ===== */
.new-entry-card-link {
  display: block;
  background: rgba(10, 10, 20, 0.8);
  border: 2px solid #00fff7;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 255, 247, 0.4);
  text-decoration: none;
}

/* ===== ホバー時 ===== */
.new-entry-card-link:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 15px #00fff7,
    0 0 30px rgba(0, 255, 247, 0.8),
    0 0 50px rgba(255, 0, 200, 0.6);
  border-color: #ff00c8; /* 差し色でピンク発光 */
}

/* ===== 画像部分 ===== */
.new-entry-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
}

.new-entry-card-link:hover .new-entry-card-thumb img {
  transform: scale(1.08);
  filter: brightness(1.2) contrast(1.3);
}

/* ===== コンテンツ部分 ===== */
.new-entry-card-content {
  padding: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 2;
}

/* ===== タイトル ===== */
.new-entry-card-title {
  font-size: 1rem;
  font-weight: bold;
  color: #00fff7;
  text-shadow:
    0 0 5px #00fff7,
    0 0 10px #00bcd4,
    0 0 20px #00fff7;
  line-height: 1.4;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.new-entry-card-link:hover .new-entry-card-title {
  color: #ff00c8;
  text-shadow:
    0 0 8px #ff00c8,
    0 0 18px #ff4de1,
    0 0 30px #ff00c8;
}

/* ===== 日付部分 ===== */
.new-entry-card-date {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 6px;
  text-shadow: 0 0 5px rgba(0, 255, 247, 0.6);
}

/* ===== サイバーパンク風アニメーション装飾 ===== */
.new-entry-card-link::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border: 2px solid transparent;
  border-radius: 12px;
  background: linear-gradient(45deg, #00fff7, #ff00c8, #00fff7);
  background-size: 300% 300%;
  animation: cyber-glow 4s infinite linear;
  opacity: 0.4;
  z-index: 1;
}

/* ===== 発光アニメーション ===== */
@keyframes cyber-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
