/* ===== 住人グリッド & NieR風カード ===== */

.resident-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
}

.resident-card {
  position: relative;
  padding: 0.9rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(4, 4, 4, 0.5); /* ほんのり暗くする。透明背景が下に見える */
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

/* 外枠：細い二重線 */
.resident-card::before,
.resident-card::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* 内側の破線枠でNieRっぽい“儀式感” */
.resident-card::after {
  inset: 9px;
  border-style: dashed;
  opacity: 0.4;
}

.resident-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

/* アバタースロット：背景透過を活かす */
.avatar-slot {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.avatar-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(10%) contrast(1.05); /* 少しだけ退廃感 */
}

.resident-name {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ===== モーダル共通 ===== */

.hub-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
  font-family: "Marcellus", serif;
}

.hub-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hub-modal-content {
  max-width: 35rem;
  width: 90%;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1.5rem 1.8rem;
  position: relative;
}

/* 内側にもう一段の細い枠 */
.hub-modal-content::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
  display: none;
}

.hub-modal-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.hub-modal-content p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.9rem;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* モーダル表示中はスクロールを少し抑制 */
body.hub-modal-open {
  overflow: hidden;
}

.hub-modal-content {
  color: #f5f5f5;   /* モーダル内の文字色 */
}

.hub-modal-content h3 {
  color: #ffffff;
}

.hub-modal-content p {
  color: #e5e5e5;
}


/* モーダル内の横並びレイアウト */
#resident-modal .hub-modal-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 画像を大きく左に表示 */
.modal-avatar {
  width: 50%;
  max-width: 300px;
  border-radius: 10px;
}

/* 右側のテキスト */
.modal-texts {
  width: 60%;
}


/* ▼ モーダルの役職名（よろず屋など） */
#modal-character-name {
  display: block;              /* 見出しとして1行に */
  writing-mode: horizontal-tb; /* 念のため横書きを強制 */
  white-space: nowrap;         /* 改行させない → 1行で「よろず屋」 */
  font-family: "Marcellus", serif;
  font-size: 1.6rem;           /* ここで大きさを調整（好みで1.8remなどに） */
  font-weight: 700;
  color: #e6d6a1;              /* 少し金っぽい色。好みで変更OK */
  margin: 0 0 0.6rem 0;        /* 下にだけ余白 */
}

.modal-character-inline-name {
  display: none !important;
}



/* ==============================
   Hub 共通レイアウト & 背景画像
   ============================== */

/* ▼ Hubページ（page-id-14083）だけ、テーマのヘッダーを潰す */
body.page-id-14083 #header-container,
body.page-id-14083 #header,
body.page-id-14083 #header-container-in {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* 1枚目セクションは普通に配置＋ナビ分だけ上に余白 */
body.page-id-14083 #hub-0-ora {
  position: relative;
  z-index: 0;
  margin-top: 2rem;
  padding-top: 1rem;  /* ナビの高さぶん。足りなければ数値を少し増やす */
}


/* 管理バーが出ているとき（ログイン中）は 32px 下にずらす */
body.admin-bar.page-id-14083 #hub-nav {
  top: 20px;
}






/* Hub 全体のラッパー */
#hub-container {
  position: relative;
  color: #f5f5f5;
  margin: 0 calc(50% - 50vw) !important; /* 左右の白余白を消す */
  width: 100vw;                          /* 画面いっぱいに */
}

/* セクションのベースレイアウト */
#hub-container .hub-section,
#hub-container .challenge-section {
  position: relative;
  padding: 4rem 1.5rem;
}

/* 内側の幅制限コンテナ */
#hub-container .section-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* 背景画像を持つセクション共通 */
/* セクション背景（粒子キャンバスの親になる） */
#hub-container .hub-section-bg {
  position: relative;                    /* ★ 粒子用キャンバスの基準にする */
  background-color: #050711;             /* 画像読み込み前の保険 */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;                      /* はみ出し防止 */
}

/* 背景の上に薄い暗幕＋光のグラデーション */
#hub-container .hub-section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.09) 0, transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
  pointer-events: none;
  z-index: -1;                           /* ★ 粒子よりさらに奥に下げる */
}

/* 背景の上に載るコンテンツを前面に */
#hub-container .hub-section-bg > .section-inner {
  position: relative;
  z-index: 1;
}

/* ===============================
   一枚目（#hub-0-ora）専用 粒子キャンバス
   =============================== */
#hub-0-ora .hub-hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;           /* 背景とコンテンツの中間レイヤー */
  opacity: 1;         /* 粒子の見え方（薄め） */
}


/* 100日チャレンジの見出し・リスト */
#hub-container .challenge-section .challenge-title {
  margin-bottom: 1.5rem;
  letter-spacing: 0.12em;

}

#hub-container .challenge-video-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* shorts 用カードの最低限スタイル（必要に応じて調整可） */
#hub-container .challenge-card {
  flex: 0 1 160px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.8rem;
  font-size: 0.85rem;
}

#hub-container .challenge-lead {

  font-size: 0.9rem;
  line-height: 1.7;
}

/* 記事＋SNS＋Gumroad をまとめたセクション内の小ブロック */
#hub-8-others .hub-subsection {
  margin-bottom: 2rem;
  padding: 1.4rem 1.6rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);

}

#hub-8-others .hub-subsection:last-child {
  margin-bottom: 0;
}

/* SNSリンク群 */
#hub-8-others .sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

#hub-8-others .sns-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  text-decoration: none;
  color: #f5f5f5;
}

#hub-8-others .sns-item:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   Hub ヘッダー ナビゲーション
   =========================== */

/* Hubナビ（page-id-14083 専用設定） */
body.page-id-14083 #hub-nav {
  position: fixed;              /* 固定ヘッダー */
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;

  background: rgba(5, 5, 15, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
  font-family: "Marcellus", serif;
}



.hub-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hub-nav-list {
  display: flex;
  align-items: center;
  gap: 0.8rem;                 /* 少し広めにして読みやすく */
  margin-top: 2rem;
  padding: 0;
  list-style: none;

  /* ▼ 折り返し禁止で一行に固定 */
  flex-wrap: nowrap;

  /* ▼ もし幅が足りなければ、目立たない横スクロールにする */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;       /* Firefox */
}

.hub-nav-list::-webkit-scrollbar {
  display: none;               /* Chrome / Edge / Safari */
}



.hub-nav-list::-webkit-scrollbar {
  display: none;
}

body.page-id-14083 #hub-nav .hub-nav-item,
body.page-id-14083 #hub-nav .hub-nav-contact {
  /* テーマ装飾リセット */
  all: unset;
  box-sizing: border-box;

  /* ベースレイアウト */
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: inherit;
  font-size: 0.9rem;

  /* ★ 行ボックスの余白を潰す */
  line-height: 1 !important;
  letter-spacing: 0.09em;

  /* ★ 高さを固定して完全に縦中央にする */
  height: 1rem !important;      /* 好みで 2.2〜2.6rem くらいで調整OK */

  /* 上下は 0、左右だけ余白 */
  padding: 0 0.85rem !important;

  margin: 0 0.35rem;

  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;

  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  color: #eaf4ff;
  text-shadow:
    0 0 4px rgba(160, 200, 255, 0.9),
    0 0 14px rgba(80, 140, 255, 0.6);

  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}





/* Contact も同じスタイルでOK（右寄せだけ維持） */
body.page-id-14083 #hub-nav .hub-nav-contact {
  margin-left: auto;
  font-weight: 600;
}


/* ▼ ボタンの後ろに「ずれた影付きフレーム」を敷いてペルソナ感を出す */
body.page-id-14083 #hub-nav .hub-nav-item::before,
body.page-id-14083 #hub-nav .hub-nav-contact::before {
  content: "";
  position: absolute;
  inset: 0;   /* 上下左右すべて同じにする */
  border-radius: 0.4rem 1.4rem 0.9rem 1rem;
  border: 2px solid rgba(10, 15, 40, 0.95);
  background:
    linear-gradient(
      135deg,
      rgba(8, 8, 20, 1),
      rgba(20, 24, 52, 1) 55%,
      rgba(50, 90, 170, 1)
    );
  z-index: -1;
  box-shadow:
    3px 6px 0 rgba(0, 0, 0, 0.95);
}

/* ▼ ホバー時：カードが少し浮き上がり、枠の青さも増す */
body.page-id-14083 #hub-nav .hub-nav-item:hover,
body.page-id-14083 #hub-nav .hub-nav-item:focus-visible,
body.page-id-14083 #hub-nav .hub-nav-contact:hover,
body.page-id-14083 #hub-nav .hub-nav-contact:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(120, 180, 255, 0.95),
    4px 8px 0 rgba(0, 0, 0, 0.9),
    0 14px 30px rgba(0, 0, 0, 0.9);
}





/* 扇子のひらめきっぽい斜めハイライト */
.hub-nav-item::before,
.hub-nav-contact::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(180, 220, 255, 0.9),
    transparent 60%
  );
  opacity: 0;
  transform: translate(-25%, -25%) rotate(-18deg);
  pointer-events: none;
  mix-blend-mode: screen;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* ホバー時：少し浮かせて、扇子の光がふわっと入る */
.hub-nav-item:hover,
.hub-nav-item:focus-visible,
.hub-nav-contact:hover,
.hub-nav-contact:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(220, 235, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(80, 140, 255, 0.9),
    0 10px 26px rgba(0, 0, 0, 0.65);
}

.hub-nav-item:hover::before,
.hub-nav-item:focus-visible::before,
.hub-nav-contact:hover::before,
.hub-nav-contact:focus-visible::before {
  opacity: 1;
  transform: translate(-15%, -20%) rotate(-10deg);
}

/* 通常ボタン（左側メニューたち） */
.hub-nav-item {
  background:
    linear-gradient(
      135deg,
      rgba(6, 6, 18, 0.98),
      rgba(14, 18, 40, 0.98) 55%,
      rgba(55, 95, 170, 0.98)
    );
}

/* Contact だけは Persona5 風の赤みを少し足す */
.hub-nav-contact {
  margin-left: auto;
  font-weight: 600;

  background:
    linear-gradient(
      120deg,
      #ff335f,
      #ff9b4b
    );
  border-color: rgba(255, 210, 220, 0.95);
}


/* ヘッダーロゴ＆ナビ文字の青い発光 */
@keyframes hubNavGlowBlue {
  0%,
  100% {
    text-shadow:
      0 0 2px rgba(150, 195, 255, 0.9),
      0 0 10px rgba(120, 175, 255, 0.85),
      0 0 22px rgba(80, 140, 255, 0.7);
  }
  50% {
    text-shadow:
      0 0 3px rgba(190, 230, 255, 1),
      0 0 18px rgba(150, 205, 255, 0.95),
      0 0 34px rgba(110, 170, 255, 0.9);
  }
}

/* C.River's Backtale（2行ロゴ）＋ 各ボタンに適用 */
#hub-nav .hub-nav-brand,
#hub-nav .hub-nav-item,
#hub-nav .hub-nav-contact {
  color: #eaf4ff;
  animation: hubNavGlowBlue 4.8s ease-in-out infinite alternate;
}


/* ===============================
   ハンバーガー（三本線）ボタン
   =============================== */
#hub-nav-hamburger {
  display: none; /* PCでは非表示・スマホで表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  margin-left: auto;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

#hub-nav-hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #eaf4ff;
  border-radius: 3px;
  transition: 0.3s ease;
  box-shadow: 0 0 6px rgba(150, 200, 255, 0.7);
}

/* 変形（×にする） */
#hub-nav-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#hub-nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
#hub-nav-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ===============================
   モーダル（三本線メニュー）
   =============================== */
#hub-nav-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 20, 0.78);

  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 4.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99999;
}

#hub-nav-modal.open {
  opacity: 1;
  pointer-events: auto;
}

#hub-nav-modal .hub-nav-modal-inner {
  width: 90%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ボタン（縦一列） */
.hub-nav-modal-item {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  border-radius: 10px;
  border: 1px solid rgba(180, 200, 255, 0.55);

  background: linear-gradient(
    135deg,
    rgba(8, 8, 20, 0.95),
    rgba(14, 20, 40, 0.95) 55%,
    rgba(40, 80, 150, 0.95)
  );

  text-align: center;
  color: #eaf4ff;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(10, 18, 40, 0.8),
    0 6px 16px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.hub-nav-modal-item:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(80, 140, 255, 0.9),
    0 10px 26px rgba(0, 0, 0, 0.65);
}

/* 問い合わせ（赤系） */
.hub-nav-modal-contact {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 220, 0.95);
  background: linear-gradient(120deg, #ff335f, #ff9b4b);
  color: #fff;
  font-weight: 600;
  box-shadow:
    0 0 0 1px rgba(40, 0, 0, 0.8),
    0 6px 16px rgba(0, 0, 0, 0.55);
}

/* ===============================
   スマホ・iPad縦：ハンバーガーだけ表示
   =============================== */
@media (max-width: 1024px) {

  /* 三本線ボタンを表示 */
  body.page-id-14083 #hub-nav-hamburger {
    display: flex !important;
  }

  /* 既存のヘッダーボタンと Contact を隠す */
  body.page-id-14083 #hub-nav .hub-nav-list,
  body.page-id-14083 #hub-nav .hub-nav-contact {
    display: none !important;
  }
}

/* ===============================
   モーダルの閉じるボタン（中央配置）
   =============================== */
#hub-nav-modal-close {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 48px;
  height: 48px;
  margin: 20px auto 40px auto; /* 下中央に余白をつけて配置 */

  font-size: 28px;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  cursor: pointer;


  transition: background 0.25s;
}

#hub-nav-modal-close:hover {
  background: rgba(255,255,255,0.3);
}







/* =============================
   Hub トップタイトル（幻想仕様）
   ============================= */

/* Google Fonts 読み込み */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Marcellus&display=swap');

/* コンテナを左寄せに */
body.page-id-14083 #hub-0-ora .section-inner {
  text-align: center !important;
  max-width: 900px;

}



/* ======================================
   メインタイトル：呼吸する強発光（ロゴと同じ発光理論）
   →アニメ削除済み→代わりにcanva実装
   ====================================== */

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;

  /* ★ 一番下ではなく、コンテンツより少し上に出す */
  z-index: 30;

  /* 見えやすくするなら少しだけ強めでもOK */
  opacity: 0.5;
}




body.page-id-14083 .hub-title {
  font-family: "Great Vibes", cursive;
  font-size: 4rem;
  font-weight: 400;

  /* ★ 中心色：幻想ブルー */
  color: #eaf4ff;

  /* ▼ 初期の静的発光（アニメと相乗効果） */
  text-shadow:
      0 0 3px #2f4e9d,
    0 0 6px #2f4e9d,
    0 0 4px rgba(160, 200, 255, 0.9),
    0 0 15px rgba(120, 170, 255, 0.85),
    0 0 32px rgba(80, 140, 255, 0.75);

  /* ▼ ロゴと同じ「呼吸する光」アニメーション */
  animation: titleGlowPulse 4.5s ease-in-out infinite;

  margin-bottom: 0.25em;
}


/* ======================================
   翻訳ライン（- C.Riverの裏物語 -）
   ====================================== */
body.page-id-14083 .hub-title-translated {
  font-family: "Marcellus", serif;
  font-size: 2rem;
  color: #eaf4ff;

  /* ▼ 濃い幻想アウトライン＋既存の発光 */
  text-shadow:
    /* 濃い輪郭（アウトライン強化） */
    0 0 3px #2f4e9d,
    0 0 6px #2f4e9d,
    /* 既存の幻想発光 */
    0 0 4px rgba(160, 200, 255, 0.9),
    0 0 15px rgba(120, 170, 255, 0.85),
    0 0 32px rgba(0, 0, 0, 0.75);

  animation: titleGlowPulse 4.5s ease-in-out infinite;
  margin-bottom: 0.8em;
  text-align: center;
}


/* ======================================
   サブタイトル1
   ====================================== */
body.page-id-14083 .hub-subtitle1 {
  font-family: "Marcellus", serif;
  font-size: 1.7rem;
  color: #eaf4ff;

  /* ▼ 濃い幻想アウトライン＋既存の発光 */
  text-shadow:
    0 0 3px #2f4e9d,
    0 0 6px #2f4e9d,
    0 0 4px rgba(160, 200, 255, 0.9),
    0 0 15px rgba(120, 170, 255, 0.85),
    0 0 32px rgba(80, 140, 255, 0.75);

  animation: titleGlowPulse 7s ease-in-out infinite;

  margin-bottom: 0.55em;
  line-height: 1.55;
}


/* ======================================
   サブタイトル2（絵文字含む）
   ====================================== */
body.page-id-14083 .hub-subtitle2 {
  font-family: "Marcellus", serif;
  font-size: 1.4rem;
  color: #eaf4ff;

  /* ▼ 濃い幻想アウトライン＋既存の発光 */
  text-shadow:
    0 0 3px #2f4e9d,
    0 0 6px #2f4e9d,
    0 0 4px rgba(160, 200, 255, 0.9),
    0 0 15px rgba(120, 170, 255, 0.85),
    0 0 32px rgba(80, 140, 255, 0.75);

  animation: titleGlowPulse 8s ease-in-out infinite;
  line-height: 1.6;
}


/* ======================================
   後悔の種（自己分析導入）＝明るい文字＋濃いワインレッド縁取り
   ====================================== */
body.page-id-14083 .hub-heading-inquiry {
  color: #acd5ff; 

  text-align: center;

  /* ▼ まず濃いワインレッドで力強い縁取り */
  text-shadow:
    -1px -1px 2px rgba(90, 0, 0, 0.95),
     1px -1px 2px rgba(90, 0, 0, 0.95),
    -1px  1px 2px rgba(90, 0, 0, 0.95),
     1px  1px 2px rgba(90, 0, 0, 0.95),

    /* ▼ 外側に幻想的な薄いブルー発光を追加 */
    0 0 6px rgba(180, 220, 255, 0.9),
    0 0 14px rgba(130, 180, 255, 0.9),
    0 0 26px rgba(100, 150, 255, 0.85);

  animation: hubGlowAuthor 5s ease-in-out infinite alternate;
}


/* ▼ リード文（説明文）も同じ方向性のデザインへ */
body.page-id-14083 .inquiry-lead {
  font-family: "Marcellus", serif;
  font-size: 1rem;
  color: #cfe8ff; /* 明るい文字 */

  text-align: center;
  line-height: 1.8;
  margin-top: 0.8rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;

  /* ▼ 濃いワインレッドの太め縁取り */
  text-shadow:
    -1px -1px 2px rgba(90, 0, 0, 0.95),
     1px -1px 2px rgba(90, 0, 0, 0.95),
    -1px  1px 2px rgba(90, 0, 0, 0.95),
     1px  1px 2px rgba(90, 0, 0, 0.95),

    /* ▼ 外側に幻想ブルー */
    0 0 4px rgba(200, 230, 255, 0.9),
    0 0 12px rgba(150, 200, 255, 0.85),
    0 0 22px rgba(120, 170, 255, 0.8);
}

/* inquiry 見出しを背景画像の左上に固定配置 */
body.page-id-14083 #hub-1-inquiry {
  position: relative; /* 子の absolute 用 */
}

body.page-id-14083 .pos-inquiry {
  position: absolute;
  top: 2%;
  left: 3%;
  transform: translate(0,0);

  /* 既存の発光＆色はそのまま使える */
  z-index: 5; /* 背景より前へ */
  pointer-events: none; /* 文字をクリック不可にして誤作動防止 */
}



/* ======================================
   その他の全てのタイトル（自己紹介～Gumroadまで）
   発光アニメーション付きバージョン←アニメ削除済み
   ====================================== */

/* ▼ 共通：各セクション見出しのベース */
body.page-id-14083 .hub-heading-author,
body.page-id-14083 .hub-heading-inquiry,
body.page-id-14083 .hub-heading-ora,
body.page-id-14083 .hub-heading-residents,
body.page-id-14083 .hub-heading-memories,
body.page-id-14083 .hub-heading-music,
body.page-id-14083 .hub-heading-challenge,
body.page-id-14083 .hub-heading-others {
  font-family: "Marcellus", serif;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}



/* ======================================
   各見出し ＋ 説明文にアニメーション適用
   ====================================== */

/* ① C.River（自己紹介）＝白ベース・中央 */
body.page-id-14083 .hub-heading-author {
  color: #f7f7ff;
  text-align: center;
  animation: hubGlowAuthor 5s ease-in-out infinite alternate;
}

/* 説明文 */
body.page-id-14083 .author-description {
  font-family: "Marcellus", serif;
  font-size: 1rem;
  color: #edf1ff;
  text-align: center;
  line-height: 1.8;

  margin-bottom: 1.2rem;
}

/* ② ORA Quest 説明＝茶色ベース・左寄せ */
body.page-id-14083 .hub-heading-ora {
  color: #fba002;
  text-align: left;
  font-family: "Marcellus", serif;
}

/* ORA Quest サブ見出し＆本文 */
body.page-id-14083 .hub-subheading {
  font-family: "Marcellus", serif;
  font-size: 1.1rem;
  color: #150c00;
  text-align: left;
  line-height: 1.7;
  margin-bottom: 0.6rem;
  animation: hubGlowOra 6s ease-in-out infinite alternate;
}

body.page-id-14083 .hub-text {
  font-family: "Marcellus", serif;
  font-size: 1rem;
  color: #150c00;
  text-align: left;
  line-height: 1.8;
  margin-bottom: 1.1rem;
  animation: hubGlowOra 7s ease-in-out infinite alternate;
}

/* ③ 館の住人＝赤ベース・中央 */
body.page-id-14083 .hub-heading-residents {
  font-family: "Marcellus", serif;
  color: #ffdad8;
  text-align: center;
  animation: hubGlowResidents 5s ease-in-out infinite alternate;
}

/* 住人名を少し大きく＆読みやすく（上書き用） */
body.page-id-14083 .resident-name {
  font-family: "Marcellus", serif;
  margin-top: 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-align: center;
  color: #ffe8e6;
  animation: hubGlowResidents 7s ease-in-out infinite alternate;
}

/* ④ 薄められた生前の記憶＝水色ベース・中央 */
body.page-id-14083 .hub-heading-memories {
  font-family: "Marcellus", serif;
  color: #c9f3ff;
  text-align: center;
  animation: hubGlowMemories 5s ease-in-out infinite alternate;
}

body.page-id-14083 .memory-label {
  font-family: "Marcellus", serif;
  font-size: 0.95rem;
  color: #e6f8ff;
  text-align: center;
  line-height: 1.6;
  margin-top: 0.5rem;
  animation: hubGlowMemories 6s ease-in-out infinite alternate;
}

/* ⑤ 問いかける音楽＝黒ベース・中央 */
body.page-id-14083 .hub-heading-music {
  font-family: "Marcellus", serif;
  color: #fafafa;
  text-align: center;
  animation: hubGlowMusic 5s ease-in-out infinite alternate;
}

/* 曲タイトル・説明文 */
body.page-id-14083 .music-title {
  font-family: "Marcellus", serif;
  font-size: 1.5rem;
  text-align: left;
  color: #fdfdfd;
  margin-bottom: 0.4rem;
  animation: hubGlowMusic 6s ease-in-out infinite alternate;
}

body.page-id-14083 .music-desc {
  font-family: "Marcellus", serif;
  font-size: 0.9rem;
  text-align: left;
  color: #f0f0f0;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  animation: hubGlowMusic 7s ease-in-out infinite alternate;
}

/* ⑥ 100日チャレンジ＝ワインレッドベース・中央 */
body.page-id-14083 .hub-heading-challenge {
  font-family: "Marcellus", serif;
  color: #ffdfe8;
  text-align: center;
  animation: hubGlowChallenge 5s ease-in-out infinite alternate;
}

body.page-id-14083 .challenge-lead {
  font-family: "Marcellus", serif;
  font-size: 0.96rem;
  color: #ffe9f1;
  text-align: center;
  line-height: 1.8;
  margin-top: 1.2rem;
  animation: hubGlowChallenge 6s ease-in-out infinite alternate;
}

/* ⑦ 記事・SNS・Gumroad まとめ＝薄い灰色ベース・左寄せ */
body.page-id-14083 .hub-heading-others {
  font-family: "Marcellus", serif;
  color: #e1e1e5;
  text-align: left;
  animation: hubGlowOthers 5s ease-in-out infinite alternate;
}

/* 「Others」の中の説明文（今後増えるpに適用） */
body.page-id-14083 #hub-8-others .hub-subsection p {
  font-family: "Marcellus", serif;
  font-size: 0.9rem;
  color: #f0f0f3;
  text-align: left;
  line-height: 1.7;
  animation: hubGlowOthers 6s ease-in-out infinite alternate;
}













/* =============================
   スマホ向け微調整
   ============================= */

/* ==============================
   Hub レスポンシブ調整（8段階）
   ベース：360〜479px
   ※ page-id-14083 専用
   ============================== */

/* ベース（360〜479px）は media query なしで定義する想定
   ここでは #hub-container や .hub-nav-inner の標準値を PC側と共通で持つ */



/* ==========================================================
   1：〜359px（超小型スマホ）
========================================================== */
@media (max-width: 359px) {


}


/* ==========================================================
   2：360〜479px（小型スマホ）
========================================================== */
@media (min-width: 360px) and (max-width: 479px) {


}


/* ==========================================================
   3：480〜599px（大型スマホ）
========================================================== */
@media (min-width: 480px) and (max-width: 599px) {


}


/* ==========================================================
   4：600〜768px（小型タブレット / スマホ横）
========================================================== */
@media (min-width: 600px) and (max-width: 768px) {


}


/* ==========================================================
   5：769〜1024px（iPad / 中型タブレット）
========================================================== */
@media (min-width: 769px) and (max-width: 1024px) {


}


/* ==========================================================
   6：1025〜1280px（一般ノートPC）
========================================================== */
@media (min-width: 1025px) and (max-width: 1280px) {


}


/* ==========================================================
   7：1281〜1440px（大画面ラップトップ）
========================================================== */
@media (min-width: 1281px) and (max-width: 1440px) {


}


/* ==========================================================
   8：1441px〜（4K・ウルトラワイド）
========================================================== */
@media (min-width: 1441px) {


}




