@import url('https://fonts.googleapis.com/css2?family=Kaisei+HarunoUmi:wght@400;700&display=swap');


/*
  Diver子テーマ追加CSS - 宇宙テーマ
  既存のDiver子テーマの style.css の末尾にこの内容を追記、
  または「外観 → カスタマイズ → 追加CSS」に貼り付けてください。
*/

/* =============================================
   Design Tokens（宇宙テーマ）
   ============================================= */

:root {
  /* === Primary Colors === */
  --color-space-deep: #050816;
  --color-space-dark: #0a0e27;
  --color-space-mid: #151a3a;
  --color-space-light: #1e2550;

  /* === Accent Colors === */
  --color-cyan: #00bfff;
  --color-cyan-light: #5dd8ff;
  --color-cyan-glow: rgba(0, 191, 255, 0.3);
  --color-purple: #7b68ee;
  --color-purple-light: #a594ff;
  --color-purple-glow: rgba(123, 104, 238, 0.3);
  --color-pink: #ff6eb4;
  --color-gold: #ffd700;

  /* === Gradient === */
  --gradient-hero: linear-gradient(135deg, #050816 0%, #0a0e27 30%, #151a3a 60%, #1a1040 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 37, 80, 0.6), rgba(10, 14, 39, 0.8));
  --gradient-accent: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  --gradient-text: var(--color-cyan);

  /* === Glass Effect === */
  --glass-bg: rgba(15, 20, 50, 0.6);
  --glass-border: rgba(100, 120, 200, 0.15);
  --glass-blur: blur(12px);
}

/* =============================================
   Diverグローバル上書き
   ============================================= */

/* 全体背景・テキスト色 */
body {
  background-color: var(--color-space-deep) !important;
  color: #e8eaf6 !important;
}

/* ヘッダー - 透明で宇宙背景と一体化 */
/* DiverのインラインスタイルとカスタマイザーCSSを上書き */
html body #header.clearfix,
html body #header.clearfix header.header-wrap,
html body .header-wrap,
html body .header_small_menu,
html body .header_small_menu.clearfix,
html body #header .header-logo,
html body #header .header-logo.clearfix,
html body #scrollnav,
html body #nav_fixed,
html body #nav_fixed .header-logo,
html body #nav_fixed.fixed,
html body #nav_fixed.fixed .header-logo {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background 0.3s ease !important;
}

/* スクロール時のみ半透明背景を表示（固定ナビ） */
html body #nav_fixed.fixed {
  background: rgba(5, 8, 22, 0.85) !important;
  background-color: rgba(5, 8, 22, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--glass-border) !important;
}

/* ナビゲーションリンク */
#header a,
.header_top a,
.gnav a,
.global-nav a {
  color: #b0b8d1 !important;
  transition: color 0.2s ease;
}

#header a:hover,
.gnav a:hover,
.global-nav a:hover {
  color: var(--color-cyan) !important;
}

/* サイトタイトル */
.site-title a,
.brand a {
  color: #e8eaf6 !important;
}

/* メインコンテンツエリア */
#main,
.content,
#content,
.main_content,
article.post,
article.page {
  background: transparent !important;
}

/* サイドバー */
#sidebar,
.sidebar,
aside.widget-area {
  background: transparent !important;
}

/* ウィジェット */
.widget {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  backdrop-filter: var(--glass-blur) !important;
  padding: 1.5rem !important;
  color: #e8eaf6 !important;
}

.widget-title,
.widget h2,
.widget h3 {
  color: var(--color-cyan) !important;
  border-bottom: 2px solid var(--color-cyan-glow) !important;
  padding-bottom: 0.5rem !important;
}

.widget a {
  color: #b0b8d1 !important;
}

.widget a:hover {
  color: var(--color-cyan) !important;
}

/* 記事カード */
.article-list .article,
.post-list-card,
.kanren-item,
.pickup_post_item,
.content-area article,
.entry-card {
  background: var(--gradient-card) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  backdrop-filter: var(--glass-blur) !important;
  overflow: hidden;
  transition: all 0.3s ease !important;
}

.article-list .article:hover,
.post-list-card:hover,
.entry-card:hover {
  border-color: var(--color-cyan-glow) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.1) !important;
}

/* 記事タイトル */
.article-list .article h2,
.article-list .article h3,
.entry-card-title,
.post-list-card h2,
.post-list-card h3,
article .entry-title {
  color: #e8eaf6 !important;
}

article .entry-title a:hover {
  color: var(--color-cyan) !important;
}

/* 記事本文エリア */
.entry-content,
.post_content,
.article-body {
  color: #e8eaf6 !important;
}

.entry-content h2 {
  background: var(--gradient-card) !important;
  border-left: 4px solid var(--color-cyan) !important;
  color: #e8eaf6 !important;
  padding: 0.8rem 1.2rem !important;
  border-radius: 0 8px 8px 0 !important;
}

.entry-content h3 {
  border-bottom: 2px solid var(--color-cyan-glow) !important;
  color: #e8eaf6 !important;
  padding-bottom: 0.5rem !important;
}

.entry-content h4,
.entry-content h5 {
  color: var(--color-cyan-light) !important;
}

/* ブロック引用 */
.entry-content blockquote {
  background: var(--glass-bg) !important;
  border-left: 4px solid var(--color-purple) !important;
  color: #b0b8d1 !important;
  border-radius: 0 8px 8px 0 !important;
}

/* テーブル */
.entry-content table {
  border-color: var(--glass-border) !important;
}

.entry-content th {
  background: var(--color-space-mid) !important;
  color: #e8eaf6 !important;
  border-color: var(--glass-border) !important;
}

.entry-content td {
  border-color: var(--glass-border) !important;
  color: #e8eaf6 !important;
}

/* カテゴリ・タグ */
.cat-label,
.category-label {
  background: var(--gradient-accent) !important;
  color: white !important;
}

.tag-link,
.tagcloud a {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  color: #b0b8d1 !important;
  border-radius: 20px !important;
}

.tag-link:hover,
.tagcloud a:hover {
  border-color: var(--color-cyan) !important;
  color: var(--color-cyan) !important;
}

/* ページネーション */
.pagination a,
.pagination span,
.page-numbers {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  color: #b0b8d1 !important;
  border-radius: 8px !important;
}

.pagination .current,
.page-numbers.current {
  background: var(--gradient-accent) !important;
  color: white !important;
  border-color: transparent !important;
}

/* フッター */
footer,
#footer,
.footer-area,
.footer_top,
.footer_bottom {
  background: var(--color-space-dark) !important;
  border-top: 1px solid var(--glass-border) !important;
  color: #b0b8d1 !important;
}

footer a,
#footer a {
  color: #b0b8d1 !important;
}

footer a:hover,
#footer a:hover {
  color: var(--color-cyan) !important;
}

/* リンク全般 */
a {
  color: var(--color-cyan);
}

a:hover {
  color: var(--color-cyan-light);
}

/* 検索フォーム */
.search-box input,
.search-field {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  color: #e8eaf6 !important;
  border-radius: 8px !important;
}

/* ボタン */
.btn,
.btn-primary,
input[type="submit"],
button[type="submit"] {
  background: var(--gradient-accent) !important;
  border: none !important;
  color: white !important;
  border-radius: 24px !important;
  transition: all 0.3s ease !important;
}

.btn:hover,
.btn-primary:hover,
input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 20px var(--color-cyan-glow), 0 0 40px var(--color-cyan-glow) !important;
}

/* コメント欄 */
.comment-area,
#comments,
.comment-list li {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  color: #e8eaf6 !important;
}

/* パンくずリスト */
.breadcrumb,
#breadcrumbs {
  color: #6b7394 !important;
}

.breadcrumb a,
#breadcrumbs a {
  color: #b0b8d1 !important;
}

/* SNSシェアボタンエリア */
.share-buttons,
.sns-share {
  background: transparent !important;
}

/* =============================================
   星の背景レイヤー
   ============================================= */

#stars-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* z-index調整：コンテンツを星の上に */
#header,
header {
  position: relative;
  z-index: 1000;
}

#main,
.content,
#content,
.main_content,
#sidebar,
.sidebar,
footer,
#footer,
.breadcrumb,
#breadcrumbs {
  position: relative;
  z-index: 1;
}

/* =============================================
   星のアニメーション
   ============================================= */

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.star {
  position: absolute;
  background: rgba(200, 220, 255, 0.9);
  border-radius: 50%;
  animation: twinkle var(--duration, 3s) var(--delay, 0s) infinite ease-in-out;
}

/* 4光芒スパークル星 */
@keyframes sparkle-rotate {
  0%, 100% { opacity: 0.6; transform: rotate(0deg) scale(1); }
  25% { opacity: 1; transform: rotate(15deg) scale(1.1); }
  50% { opacity: 0.4; transform: rotate(0deg) scale(0.9); }
  75% { opacity: 0.9; transform: rotate(-10deg) scale(1.05); }
}

.star--sparkle {
  background: transparent;
  border-radius: 0;
  animation: sparkle-rotate var(--duration, 4s) var(--delay, 0s) infinite ease-in-out;
}

.star--sparkle::before,
.star--sparkle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent 0%, rgba(200, 220, 255, 0.05) 20%, rgba(200, 220, 255, 0.8) 48%, white 50%, rgba(200, 220, 255, 0.8) 52%, rgba(200, 220, 255, 0.05) 80%, transparent 100%);
}

.star--sparkle::before {
  width: 100%;
  height: 1px;
}

.star--sparkle::after {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(200, 220, 255, 0.05) 20%, rgba(200, 220, 255, 0.8) 48%, white 50%, rgba(200, 220, 255, 0.8) 52%, rgba(200, 220, 255, 0.05) 80%, transparent 100%);
}

/* リアル流星 */
@keyframes meteor-fly {
  0% {
    transform: rotate(var(--angle)) translateX(0);
    opacity: 0;
  }
  5% { opacity: 1; }
  70% { opacity: 1; }
  100% {
    transform: rotate(var(--angle)) translateX(calc(var(--move-x) + var(--move-y)));
    opacity: 0;
  }
}

.meteor {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  animation: meteor-fly var(--speed, 1s) linear forwards;
}

.meteor__core {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  box-shadow:
    0 0 8px 3px rgba(255, 255, 255, 0.9),
    0 0 20px 6px rgba(200, 220, 255, 0.6),
    0 0 40px 10px rgba(150, 180, 255, 0.3);
  top: -2px;
  left: 0;
}

.meteor__trail {
  position: absolute;
  top: 0;
  right: 4px;
  height: 1px;
  border-radius: 0 0 1px 1px;
}

.meteor__trail--white {
  width: var(--trail-length, 200px);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 10%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.6) 70%,
    rgba(255, 255, 255, 0.95) 100%
  );
  height: 1.5px;
  top: -0.75px;
}

.meteor__trail--cyan {
  width: calc(var(--trail-length, 200px) * 0.8);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(100, 200, 255, 0.01) 20%,
    rgba(100, 200, 255, 0.08) 50%,
    rgba(100, 200, 255, 0.25) 100%
  );
  height: 2px;
  top: -2.5px;
}

.meteor__trail--magenta {
  width: calc(var(--trail-length, 200px) * 0.7);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 100, 200, 0.01) 20%,
    rgba(255, 100, 200, 0.06) 50%,
    rgba(255, 100, 200, 0.2) 100%
  );
  height: 2px;
  top: 1px;
}

/* 星雲 */
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.nebula--dark { background: rgba(30, 40, 80, 0.5); }
.nebula--dark-blue { background: rgba(20, 30, 60, 0.4); }

/* =============================================
   ファンサイト トップページ専用
   ============================================= */

.fansite-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-hero);
  margin-top: -80px; /* Diverのヘッダー分 */
  padding-top: 80px;
}

.fansite-hero__content {
  position: relative;
  z-index: 10;
  padding: 4rem 2rem;
}

.fansite-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fade-in-up 1s ease 0.2s both;
}

.fansite-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fade-in-up 1s ease 0.4s both;
}

.fansite-hero__title-main {
  display: block;
  color: var(--color-cyan);
}

.fansite-hero__title-sub {
  display: block;
  font-size: 0.4em;
  font-weight: 400;
  color: #b0b8d1;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
}

.fansite-hero__description {
  font-size: 1.125rem;
  color: #b0b8d1;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fade-in-up 1s ease 0.6s both;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* テキストグラデーション */
.text-gradient {
  color: var(--color-cyan);
}

/* セクションタイトル */
.fansite-section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.fansite-section-title span {
  color: var(--color-cyan);
}

.fansite-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 1rem auto 0;
  border-radius: 9999px;
}

/* プロフィールセクション */
.fansite-section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
}

.fansite-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.fansite-container--narrow {
  max-width: 800px;
}

.profile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.profile__image-frame {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-accent);
  margin: 0 auto;
  box-shadow: 0 0 20px var(--color-cyan-glow);
}

.profile__image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-space-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.profile__name {
  font-size: 2.5rem;
  font-weight: 800;
}

.profile__name-en {
  display: block;
  font-size: 0.4em;
  font-weight: 400;
  color: #6b7394;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

.profile__description {
  font-size: 1.125rem;
  color: #b0b8d1;
  line-height: 2;
}

.profile__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.profile__meta-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  backdrop-filter: var(--glass-blur);
}

.profile__meta-label {
  font-size: 0.75rem;
  color: #6b7394;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.profile__meta-value {
  font-weight: 600;
  color: var(--color-cyan);
}

/* タイムライン */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-cyan), var(--color-purple), transparent);
}

.timeline__item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline__dot {
  position: absolute;
  left: calc(-3rem + 8px);
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 20px var(--color-cyan-glow), 0 0 60px var(--color-cyan-glow);
}

.timeline__year {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.timeline__content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
}

.timeline__content:hover {
  border-color: var(--color-cyan-glow);
  transform: translateX(4px);
}

.timeline__content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #e8eaf6;
}

.timeline__content p {
  color: #b0b8d1;
  font-size: 0.875rem;
}

/* ユニットカード */
.units__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.unit-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
}

.unit-card:hover {
  border-color: var(--color-cyan-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 191, 255, 0.1);
}

.unit-card__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.unit-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #e8eaf6;
}

.unit-card__members {
  font-size: 0.875rem;
  color: var(--color-cyan);
  margin-bottom: 1rem;
}

.unit-card__description {
  color: #b0b8d1;
  font-size: 0.875rem;
  line-height: 1.8;
}

/* アフィリエイトカード */
.affiliate__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.affiliate-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
}

.affiliate-card:hover {
  border-color: var(--color-cyan-glow);
  transform: translateY(-4px);
}

.affiliate-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.affiliate-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #e8eaf6;
}

.affiliate-card__description {
  color: #b0b8d1;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.affiliate-card__link {
  color: var(--color-cyan) !important;
  font-weight: 600;
  font-size: 0.875rem;
}

.affiliate-card__link:hover {
  color: var(--color-cyan-light) !important;
}

/* スクロールアニメーション */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.animate-scale {
  transform: scale(0.9);
}

.animate-on-scroll.animate-scale.is-visible {
  transform: scale(1);
}

/* =============================================
   レスポンシブ
   ============================================= */

@media (max-width: 768px) {
  .profile__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile__image-frame {
    width: 200px;
    height: 200px;
  }

  .profile__meta {
    grid-template-columns: 1fr;
  }

  .fansite-hero__title {
    font-size: 2rem;
  }

  .units__grid,
  .affiliate__grid {
    grid-template-columns: 1fr;
  }
}
/* -----------------------------------
   Songs セクション用スタイル
------------------------------------ */
.songs-pickup__description {
  text-align: center;
  margin-bottom: 2rem;
  color: #e8eaf6; /* 文字が読みやすいように明るめの色 */
}

.songs-pickup__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* 楽曲ページへ誘導するボタン */
.songs__link-wrap {
  text-align: center;
  margin-top: 2rem;
}

.fansite-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, #00bfff, #7a00df); /* スイちゃんカラーを意識したグラデ */
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.fansite-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.6);
}

/* -----------------------------------
   Recommend 2カラム用調整
------------------------------------ */
/* 要素が2つの場合は、横幅が広がりすぎないように最大幅を設けて中央寄せにする */
.affiliate__grid--2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto; /* 中央寄せ */
}
/* -----------------------------------
   Article セクション用スタイル（3カラムカード型）
------------------------------------ */
.article__grid {
  display: grid;
  /* スマホは1列、画面幅が広くなると最大3列に可変します */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

@media screen and (min-width: 900px) {
  /* PCなど幅広画面の時に強制的に3カラム横並びにする */
  .article__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* カードの外枠デザイン */
.article-card {
  background: rgba(20, 25, 40, 0.6);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 191, 255, 0.6);
}

/* 画像比率（16:9）とホバーエフェクト */
.article-card__thumbnail {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* サムネイル画像の比率を16:9に統一 */
}

.article-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card__thumbnail img {
  transform: scale(1.05); /* カーソルを乗せた時に画像を少しだけズームする */
}

/* カード内のテキスト配置 */
.article-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* タイトルの文字数が違ってもカードの下端を揃える */
}

.article-card__date {
  color: #00bfff; /* すいちゃんカラー */
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
  letter-spacing: 0.05em;
}

.article-card__title {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

.article-card__title a {
  color: #e8eaf6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-card__title a:hover {
  color: #00bfff;
}

/* -----------------------------------
   記事一覧への「アウトライン」ボタン
------------------------------------ */
.article__link-wrap {
  text-align: center;
  margin-top: 2rem;
}

.fansite-btn--outline {
  display: inline-block;
  padding: 1rem 3rem;
  background: transparent;
  color: #00bfff !important;
  font-size: 1.1rem;
  font-weight: bold;
  border: 2px solid #00bfff; /* 枠線 */
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fansite-btn--outline:hover {
  background: rgba(0, 191, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
  transform: translateY(-3px);
}
.page .wrap-post-title,
.page h1.page_title {
  background: rgba(0, 19, 40, 0.7) !important; /* 背景は暗い紺色の半透明 */
  color: #ffffff !important; 
  border: 4px solid #00bfff !important;        /* 水色の枠線 */
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.5), inset 0 0 15px rgba(0, 191, 255, 0.3); /* 内側と外側に水色の光！ */
}
.page .wrap-post-title {
  padding: 1.5rem 2rem;
  border-radius: 12px; 
  margin-bottom: 2rem;
  backdrop-filter: blur(5px); /* 背景の星空を少しぼかす（すりガラス効果） */
}
/* ============================================
   レスポンシブデザイン対応（強化版 v2）
   ============================================ */

/* --- 横はみ出し防止（最重要） --- */
html {
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

#container {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* すべてのセクションとコンテナに安全な幅を強制 */
.fansite-section,
section.fansite-section {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.fansite-container {
  width: 100% !important;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box !important;
}

.fansite-container--narrow {
  max-width: 800px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   タブレット以下（768px以下）
   ============================================ */
@media screen and (max-width: 768px) {

   /* --- ヒーローセクション --- */
  .fansite-hero {
    min-height: auto;
    padding: 10rem 1.5rem 3rem;  /* ← 上の余白を 4rem → 8rem に増やしました */
  }


  .fansite-hero__content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.5rem;
    box-sizing: border-box !important;
  }

  /* ★ 親要素(.fansite-hero__title)のfont-sizeを上書き ★ */
  .fansite-hero__title {
    font-size: 1.8rem !important;
    line-height: 1.4 !important;
  }

  .fansite-hero__title-main {
    font-size: 1.8rem !important;
    line-height: 1.4 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .fansite-hero__title-sub {
    font-size: 0.9rem !important;
    line-height: 1.5;
  }

   .fansite-hero__subtitle {
    font-size: 1rem;        /* 0.7rem → 0.85rem */
    letter-spacing: 0.12em;
  }

  .fansite-hero__description {
    font-size: 1.2rem !important;    /* 0.9rem → 1.05rem */
    line-height: 1.9 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    padding: 0 0.5rem;
    text-align: center;
  }


  /* --- プロフィールセクション --- */
  .profile__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
    text-align: center;
  }

  .profile__image-frame {
    max-width: 200px;
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .profile__meta {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  /* --- セクション共通 --- */
  section.fansite-section {
    padding: 3rem 0;
  }

  .fansite-section-title span {
    font-size: 2rem !important;
  }

  /* ★ グリッド全種類を強制的に1カラム化 ★ */
  .songs-pickup__grid,
  .units__grid,
  .affiliate__grid,
  .affiliate__grid--2col,
  .article__grid,
  div.songs-pickup__grid,
  div.units__grid,
  div.affiliate__grid,
  div.affiliate__grid--2col,
  div.article__grid,
  section .songs-pickup__grid,
  section .units__grid,
  section .affiliate__grid,
  section .affiliate__grid--2col,
  section .article__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ★ カード全種類を幅100%に強制 ★ */
  .unit-card,
  .affiliate-card,
  .article-card,
  article.unit-card,
  div.unit-card,
  div.affiliate-card,
  article.article-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* --- 記事カードの画像 --- */
  .article-card__thumbnail {
    width: 100% !important;
  }

  .article-card__thumbnail img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  .article-card__title {
    font-size: 1rem;
  }

  /* --- ボタン --- */
  .songs__link-wrap,
  .article__link-wrap,
  div.songs__link-wrap,
  div.article__link-wrap {
    text-align: center !important;
    width: 100% !important;
  }

  .fansite-btn,
  .fansite-btn--outline,
  .fansite-btn--glow,
  a.fansite-btn,
  a.fansite-btn--outline,
  a.fansite-btn--glow {
    font-size: 1rem !important;
    padding: 0.8rem 2rem !important;
    display: inline-block !important;
    max-width: 90% !important;
    box-sizing: border-box !important;
    text-align: center;
  }

  /* --- 固定ページタイトル --- */
  .page .wrap-post-title {
    padding: 1rem 1.2rem;
    border-width: 3px !important;
    border-radius: 8px;
    margin: 0 0.5rem 1.5rem;
  }

  .page h1.page_title {
    font-size: 1.4rem !important;
  }

  /* --- ナビメニュー --- */
  .drawer-nav-btn span {
    background-color: #e8eaf6 !important;
  }

  .drawer-nav-btn:before,
  .drawer-nav-btn:after {
    border-color: #e8eaf6 !important;
  }

  .drawer-nav {
    background: rgba(5, 8, 22, 0.95) !important;
    color: #e8eaf6 !important;
  }

  .drawer-nav a {
    color: #e8eaf6 !important;
    border-bottom: 1px solid rgba(0, 191, 255, 0.15);
  }

  .drawer-nav a:hover {
    color: #00bfff !important;
  }

  .logo_title {
    font-size: 1.3rem !important;
  }
}

/* ============================================
   スマートフォン（480px以下）
   ============================================ */
@media screen and (max-width: 480px) {

   .fansite-hero {
    min-height: auto;
    padding: 9rem 1rem 2.5rem;  /* ← 上の余白を 3rem → 7rem に増やしました */
  }


  .fansite-hero__title {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
  }

  .fansite-hero__title-main {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    word-break: keep-all !important;
  }

  .fansite-hero__title-sub {
    font-size: 0.8rem !important;
  }

   .fansite-hero__subtitle {
    font-size: 1rem;        /* 0.6rem → 0.75rem */
    letter-spacing: 0.08em;
  }

  .fansite-hero__description {
    font-size: 1.05rem !important;    /* 0.82rem → 0.95rem */
    line-height: 1.8 !important;
    word-break: keep-all !important;
  }


  .profile__name {
    font-size: 1.5rem !important;
    text-align: center;
  }

  .profile__name-en {
    font-size: 0.85rem;
  }

  .profile__description {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .profile__meta {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.8rem;
  }

  .profile__meta-label {
    font-size: 0.75rem;
  }

  .profile__meta-value {
    font-size: 0.9rem;
  }

  section.fansite-section {
    padding: 2rem 0;
  }

  .fansite-section-title span {
    font-size: 1.6rem !important;
  }

  .unit-card,
  .affiliate-card {
    padding: 1.5rem 1.2rem !important;
  }

  .unit-card__icon,
  .affiliate-card__icon {
    font-size: 2rem;
  }

  .unit-card__name,
  .affiliate-card__title {
    font-size: 1.1rem;
  }

  .unit-card__description,
  .unit-card__members,
  .affiliate-card__description {
    font-size: 0.85rem;
  }

  .article-card__content {
    padding: 1rem;
  }

  .article-card__date {
    font-size: 0.8rem;
  }

  .article-card__title {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .fansite-btn,
  .fansite-btn--outline,
  .fansite-btn--glow,
  a.fansite-btn,
  a.fansite-btn--outline,
  a.fansite-btn--glow {
    font-size: 0.9rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 40px;
    max-width: 85% !important;
  }

  .page .wrap-post-title {
    padding: 0.8rem 1rem;
    margin: 0 0.3rem 1.2rem;
    border-width: 2px !important;
  }

  .page h1.page_title {
    font-size: 1.2rem !important;
  }
}
/* -----------------------------------
   Songs ボタン一覧の余白調整
------------------------------------ */
.songs__btn-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;          /* ボタン間の余白 */
  margin-bottom: 2.5rem; /* 下の「楽曲紹介ページを見る」との間隔 */
}

.songs__btn-list .fansite-btn {
  width: 100%;
  max-width: 500px;     /* ボタンの最大幅を統一 */
  text-align: center;
}
/* -----------------------------------
   サイトタイトル フォント・サイズ変更
------------------------------------ */
.logo_title,
div.logo_title,
#logo .logo_title,
#nav_fixed .logo_title {
  font-family: 'Kaisei HarunoUmi', serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(0, 191, 255, 0.5);
  padding-top: 1rem !important;
}

@media screen and (max-width: 768px) {
  .logo_title,
  div.logo_title,
  #logo .logo_title {
    font-size: 1.5rem !important;
  }
}

@media screen and (max-width: 480px) {
  .logo_title,
  div.logo_title,
  #logo .logo_title {
    font-size: 1.3rem !important;
  }
}
/* -----------------------------------
   記事一覧ページ（カテゴリー別）
------------------------------------ */
.fansite-article-list-page {
  padding-bottom: 4rem;
}

.article-list-category {
  margin-bottom: 4rem;
}

.article-list-category__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e8eaf6 !important;
  background: transparent !important;
  border-left: 5px solid #00bfff;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-list-category__title span {
  color: #e8eaf6;
}

.article-list-category__title small {
  font-size: 0.8rem;
  color: #6b7394;
  font-weight: 400;
}

.article-list-category__more {
  text-align: center;
  margin-top: 2rem;
}
