/* =====================================================
   Silver Stellar Theme - Base
   - カラートークン / ベースリセット / 共通レイアウト
===================================================== */

/* ---- カラートークン ---- */
:root {
  --brand:        #d9c6ff;
  --brand-deep:   #bfa5ff;
  --ink:          #4a3f5e;
  --muted:        #8f85a6;
  --bg:           #f8f6ff;
  --card:         #ffffff;
  --shadow:       0 1px 0 rgba(0,0,0,.03),
                  0 4px 12px rgba(128,96,192,.06);

  --nav-purple:        #5d2aa6;
  --nav-purple-deep:   #4a2080;
}

/* ---- リセット / 共通 ---- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 100vw 起因の横スクロール防止 */
}

body {
  font-family:
    'Zen Maru Gothic',
    'Hiragino Kaku Gothic ProN',
    'Noto Sans JP',
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;

  background-image: url("assets/bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed; /* iOS は下の @supports で無効化 */

  color: var(--ink);
}

/* iOS（慣性スクロール対応環境）では background-attachment: fixed を封印 */
@supports (-webkit-overflow-scrolling: touch) {
  body {
    background-attachment: scroll;
  }
}

/* ---- 共通コンテナ ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px;
}

/* ---- 汎用ユーティリティ ---- */
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.col { flex: 1 1 280px; }

.muted { color: var(--muted); }

ul.clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.clean li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* =====================================================
   Header / Navigation
   - PC: トップに被せる透過ヘッダー
   - SP: スクロールに追従する通常ヘッダー
===================================================== */

/* ---- PC ヘッダー（バナーに被せる） ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: none;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 55px; /* PC ロゴ */
  width: auto;
}

/* ---- PC ナビ（ガラスモーフィズム風） ---- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Safari */
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 16px rgba(90,60,150,.18);
}

.main-nav a {
  color: var(--nav-purple);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(119,65,200,0.12);
  color: var(--nav-purple-deep);
}

/* 旧セパレータは使わない */
.main-nav .sep {
  display: none;
}

/* PC ではハンバーガー非表示 */
.nav-toggle {
  display: none;
}

/* テーマが用意している下線は無効化 */
.header-underline {
  height: 0 !important;
  background: none !important;
}

.mobile-only { display: none; }

/* ---- SP ブレイクポイント（～720px） ---- */
@media (max-width: 720px) {

  .mobile-only { display: block; }

  /* SP では「被せず」sticky ヘッダーに */
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
  }

  .header-inner {
    padding: 10px 12px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .brand-logo {
    height: 38px; /* SP ロゴサイズ */
  }

  /* ハンバーガーボタン表示 */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--nav-purple);
    transition: .2s;
  }

  /* SP ナビはドロップダウン */
  .main-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    margin-top: 8px;
    padding: 8px;
    min-width: 180px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    background: rgba(255,255,255,0.98);

    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
  }
}



/* =====================================================
   Hero Visual (Top KV)
   - hero-visual-wrap / hero-visual--split
   - タレント立ち絵 / コピー画像 / 光エフェクト
===================================================== */

/* ヒーロー全体のラッパー（ヘッダー高さ分ずらす） */
.hero-visual-wrap {
  padding-top: 80px;   /* 固定ヘッダー分の余白 */
  margin-bottom: -70px;/* 下セクションに少し食い込ませる演出 */
}

/* 2カラム（左タレント / 右コピー）のベースレイアウト */
.hero-visual.hero-visual--split {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 16px 140px;
  min-height: clamp(420px, 70vh, 640px);
  max-height: clamp(420px, 100vh, 700px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: 24px;
  align-items: flex-end;

  z-index: 0;
  overflow: visible;
}

/* ふわっとした光の楕円エフェクト */
/*.hero-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}*/

.hero-orbit--left {
  width: 260px;
  height: 260px;
  left: -40px;
  bottom: 0;
/*  background: radial-gradient(circle at 30% 30%, #bfa5ff, transparent);*/
}

.hero-orbit--right {
  width: 280px;
  height: 280px;
  right: -20px;
  bottom: -40px;
/*  background: radial-gradient(circle at 70% 30%, #ff8ad6, transparent);*/
}

/* コピー画像ブロック（右側） */
.hero-copy {
  grid-column: 3 / 3;      /* グリッド右側に寄せる */
  align-self: center;
  max-width: 620px;
  margin-left: auto;
  padding-bottom: 40px;
  text-align: left;

  position: relative;
  z-index: 2;              /* タレントの上にくるように */
}

.hero-copy-img {
  display: block;
  width: 100%;
  height: auto;
}

/* テキスト版コピーを使う場合の参考（HTML 側はコメントアウト中）
.hero-copy-sub { ... }
.hero-copy-main { ... }
*/

/* タレント立ち絵の共通設定 */
.hero-talent {
  position: absolute;
  bottom: -450px;          /* 下のセクションに食い込ませる */
  pointer-events: none;
  z-index: 0;              /* 背景より手前、コピーより奥 */
}

.hero-talent-img {
  display: block;
  width: auto;
  max-height: 1000px;
/*  filter: drop-shadow(0 20px 40px rgba(46,22,83,0.45));*/
  animation: heroFloat 7s ease-in-out infinite alternate;
}

/* 左右の位置だけ別クラスで調整 */
.hero-talent--left {
  left: -10%;
  z-index: 1;              /* 右より手前に */
}

.hero-talent--right {
  left: 10%;
}

/* 浮遊アニメの開始タイミングを少しずらす */
.hero-talent--left .hero-talent-img {
  animation-delay: -1.2s;
}

.hero-talent--right .hero-talent-img {
  animation-delay: 0.6s;
}

/* ---- アニメーション（IntersectionObserver が .is-visible を付与） ---- */

/* === Hero: アニメ開始前は非表示にしておく === */
.hero-copy,
.hero-talent--left,
.hero-talent--right {
  opacity: 0;              /* ← 最初から透明にしておく */
}

/* コンテナ本体は常に表示するので opacity / transform は固定 */
.hero-visual--split {
  opacity: 1;
  transform: none;
  transition: none;
}

/* コピー部分（右）がふわっと出る */
.hero-visual--split.is-visible .hero-copy {
  animation: heroCopyIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* 左右のタレントがそれぞれ横から入る */
.hero-visual--split.is-visible .hero-talent--left {
  animation: heroTalentInLeft 0.7s ease-out 0.08s forwards;
}

.hero-visual--split.is-visible .hero-talent--right {
  animation: heroTalentInRight 0.7s ease-out 0.16s forwards;
}

/* ---- keyframes ---- */
@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTalentInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes heroTalentInRight {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* 常時ゆらゆら浮いているアニメ */
@keyframes heroFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

/* ---- ヒーローのレスポンシブ（～720px） ---- */
@media (max-width: 720px) {

  /* 左右それぞれの位置＆食い込み量をスマホ向けに調整 */
  .hero-talent--left {
    left: -15%;
    bottom: -360px;
    z-index: 1;
  }

  .hero-talent--right {
    left: 30%;
    bottom: -380px;
  }

}

/* ---- ヒーローのレスポンシブ（～620px） ---- */
@media (max-width: 420px) {

.hero-visual-wrap {
  padding-top: 60px;   /* 固定ヘッダー分の余白 */
  margin-bottom: -70px;/* 下セクションに少し食い込ませる演出 */
}

  /* コンテナはそのままグリッドで使う（縦積みにしない） */
  .hero-visual.hero-visual--split {
    max-width: 100%;
    min-height: 320px;
    padding: 80px 12px 140px;

    /* 2カラムグリッドは維持しつつ少しタイトに */
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: 16px;
  }

  /* 光のエフェクト位置を少しだけ内側へ */
  .hero-orbit--left {
    left: -40px;
    bottom: 12%;
  }

  .hero-orbit--right {
    right: -40px;
    bottom: -6%;
  }

  /* コピーは右カラムに固定しつつ、幅と揃えを微調整 */
  .hero-copy {
    grid-column: 3 / 3;
    align-self: center;
    max-width: 100%;
    margin-left: 0;
    padding-bottom: 24px;
    text-align: center;
  }

  .hero-copy-img {
    width: 100%;
    max-width: 92%;
    margin: 0 auto;
    height: auto;
    display: block;
  }

  /* タレントは PC 同様 absolute のまま重ねる */
  .hero-talent {
    position: absolute;
    pointer-events: none;
  }

  /* 左右それぞれの位置＆食い込み量をスマホ向けに調整 */
  .hero-talent--left {
    left: -15%;
    bottom: -80px;
    z-index: 1;
  }

  .hero-talent--right {
    left: 30%;
    bottom: -30px;
  }

  /* 画像サイズは画面幅に合わせて縮小 */
  .hero-talent-img {
    max-height: none;
    max-width: 72vw;
    width: auto;
  }

  .hero-talent--left .hero-talent-img {
    max-width: 75vw;
  }

  .hero-talent--right .hero-talent-img {
    max-width: 80vw;
  }

}

@media (max-width: 370px) {

  /* 左右それぞれの位置＆食い込み量をスマホ向けに調整 */
  .hero-talent--left {
    left: -15%;
    bottom: -160px;
    z-index: 1;
  }

  .hero-talent--right {
    left: 30%;
    bottom: -120px;
  }

}

/* =====================================================
   Top Banner Slider
   - #topBanner / .slider-track / .slide
   - aspect-ratio 16:9 + 古いブラウザ向けフォールバック
===================================================== */

.top-banner {
  position: relative;
  background: #d8d4e3;
  border: 2px solid #e5dbff;
  border-radius: 10px;
  overflow: hidden;
  z-index: 5;

  /* モダンブラウザ向け 16:9 固定比率 */
  aspect-ratio: 16 / 9;
}

/* aspect-ratio 非対応ブラウザ向けフォールバック */
@supports not (aspect-ratio: 1) {
  .top-banner {
    position: relative;
  }

  .top-banner::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 */
  }

  .top-banner > .slider-track {
    position: absolute;
    inset: 0;
  }
}

/* スライダー本体 */
.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .5s ease;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #d1cfe7;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ページネーションドット */
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  opacity: .7;
}

.dot.active {
  background: #a78bfa;
  border-color: #fff;
  opacity: 1;
}

/* =====================================================
   TOP 最新スケジュール ブロック（.hero）
   - グラデ背景 + スクロールインアニメーション
===================================================== */

.hero {
  position: relative;
  margin-top: 32px;
  padding: 32px 16px 40px;
  z-index: 0;

  /* アニメ前の状態（少し左＆淡く） */
  opacity: 0;
  transform: translateX(-24px);
}

/* 中身を中央寄せに */
.hero > * {
  position: relative;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/* 背景グラデーションを画面幅いっぱいに広げる */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;

  left: 50%;
  width: 100vw;
  transform: translateX(-60%); /* 少し左からスタート */
  z-index: -1;

  background: linear-gradient(
    120deg,
    rgba(143, 112, 255, 0.95),
    rgba(255, 140, 214, 0.9),
    rgba(255, 222, 255, 0.85)
  );
  border-radius: 28px;
/*  box-shadow: 0 18px 40px rgba(80, 40, 150, 0.45); */

  opacity: 0; /* アニメ前は透明 */
}

/* 見出し色を背景に合わせて明るめに */
.hero h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #ffffff;
}

.hero .muted {
  color: rgba(250, 241, 255, 0.9);
}

/* IntersectionObserver により .is-visible が付与されたタイミングで発火 */
.hero.is-visible {
  animation: heroContentIn .7s ease-out forwards;
}

.hero.is-visible::before {
  animation: heroBgSlideIn .8s ease-out forwards;
}

/* コンテンツ本体が左からふわっと出る */
@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 背景グラデーションが左からスライドイン */
@keyframes heroBgSlideIn {
  from {
    transform: translateX(-80%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%);
    opacity: 1;
  }
}

/* SP では余白を少し詰める */
@media (max-width: 720px) {
  .hero {
    margin-top: 24px;
    padding: 24px 12px 32px;
  }
}

/* =====================================================
   ABOUT Section
===================================================== */

.about-section {
  position: relative;
  margin-top: 28px;
  padding: 36px 0 48px;
  overflow: hidden;
}

.about-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  z-index: 2;
}

/* 右側の大きな淡い円形背景 */
.about-section::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(220, 206, 255, 0.35);
  z-index: 1;
}

/* 見出しまわり */
.about-head {
  margin-bottom: 18px;
}

.about-title {
  margin: 0 0 10px 0;
  font-family: Poppins, sans-serif;
  font-size: 52px;
  letter-spacing: .12em;
  font-weight: 800;
  color: #9b86ef;
}

.about-sub {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #2a2436;
}

.about-line {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #9b86ef;
  opacity: .9;
}

/* 本文 */
.about-body {
  max-width: 760px; /* 横幅を絞って読みやすく */
  font-size: 16px;
  line-height: 2.0;
  color: #2a2436;
}

.about-body p {
  margin: 0 0 18px 0;
}

.about-strong {
  font-weight: 800;
  color: #4a2080;
}

/* ABOUT の SP 調整 */
@media (max-width: 720px) {
  .about-title {
    font-size: 40px;
  }

  .about-section::after {
    right: -180px;
    top: -120px;
    width: 420px;
    height: 420px;
  }

  .about-body {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* =====================================================
   Finance Panels
   - 売上 / 累計純利益 / 目標メーター
===================================================== */

.finance-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .finance-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.finance-card {
  background: #fff;
  border: 2px solid #d4b9ff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.finance-title {
  margin: 0 0 6px 0;
  font-weight: 700;
  color: #7d59c0;
}

.finance-sub {
  font-size: 12px;
  color: #8a7aa5;
}

.finance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.finance-amount {
  text-align: right;
  font-family: Poppins, 'Zen Maru Gothic', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #b189f5;
}

.finance-note {
  margin-top: 8px;
  text-align: center;
  color: #9b85cc;
}

/* 目標達成メーター */
.meter {
  position: relative;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #d4b9ff;
  background: #ead6ff;
  overflow: hidden;
}

.meter > .bar {
  height: 100%;
  background: #d7b4ff;
}

.meter > .knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #d4b9ff;
  background: #e7cfff;
}

/* =====================================================
   News List
   - #news: サムネ + テキストの2カラムレイアウト
===================================================== */

#news {
  list-style: none;
  margin: 0;
  padding: 0;
}

#news .news-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #e9e9e9;
}

/* 左側のサムネイル枠（固定サイズ 16:9） */
#news .news-thumb-wrap {
  flex: 0 0 auto;
  width: 260px;
  height: 146px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

#news .news-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右側テキスト */
#news .news-body {
  flex: 1;
  min-width: 0;
}

/* 日付バッジ */
#news .news-date {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  background: #1aa7ff;
  color: #fff;
}

/* タイトル */
#news .news-title {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

/* タイトルリンク */
#news .news-link {
  color: #1677d2;
  text-decoration: none;
}

#news .news-link:hover {
  text-decoration: underline;
}

/* 概要テキスト */
#news .news-summary {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  opacity: .85;
}

/* =====================================================
   Upcoming Schedule Cards (#upcoming)
   - 最新スケジュール 3件のグリッドカード
===================================================== */

#upcoming {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ul.clean の汎用 li スタイルを上書きする */
#upcoming > li {
  padding: 0;
  border-bottom: none;
}

/* 各スケジュールカード */
#upcoming .upcoming-card {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;

  background: rgba(255,255,255,0.92);
  border: 1px solid #eadfff;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(120,80,190,.07);
  min-width: 0;
}

/* サムネイル（上） */
#upcoming .upcoming-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #f2effa;
  border: 1px solid rgba(0,0,0,.04);
}

#upcoming .upcoming-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 情報エリア（下） */
#upcoming .upcoming-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

#upcoming .upcoming-date {
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #5d2aa6;
  background: rgba(213,190,255,.35);
}

#upcoming .upcoming-badge {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
}

#upcoming .upcoming-badge.youtube {
  background: #ff4db3;
}

#upcoming .upcoming-badge.manual {
  background: #6f5cff;
}

#upcoming .upcoming-name {
  font-size: 12px;
  font-weight: 800;
  color: #2a2436;
  opacity: .85;
}

/* タイトル（2行まで） */
#upcoming .upcoming-title {
  font-size: 14px;
  font-weight: 800;
  color: #2a2436;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 配信リンク */
#upcoming .upcoming-link {
  font-size: 12px;
  font-weight: 800;
  color: #5d2aa6;
  text-decoration: none;
}

#upcoming .upcoming-link:hover {
  text-decoration: underline;
}

/* タブレット / 小さめ PC は 2列 */
@media (max-width: 980px) {
  #upcoming {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* SP は 1列積み */
@media (max-width: 720px) {
  #upcoming {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Cards / Grid / Talent
===================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}

/* 汎用ボタン */
.btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  background: #a78bfa;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

/* タレントカード画像 */
.talent-img {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  border: 1px solid #eee;
  object-fit: cover;
}

/* =====================================================
   Footer
===================================================== */

.site-footer{
  margin-top: 48px;
  padding: 0;
  border-top: 1px solid rgba(191,165,255,0.35);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-footer .footer-inner{
  padding: 28px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px 24px;
}

.footer-company-name{
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--nav-purple-deep);
}

.footer-address{
  margin: 10px 0 10px;
  font-style: normal;
  line-height: 1.8;
  color: rgba(42,36,54,0.9);
}

.footer-tel{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-weight: 800;
  color: var(--nav-purple);
}

.footer-tel a{
  color: inherit;
  text-decoration: none;
}

.footer-tel a:hover{
  text-decoration: underline;
}

.footer-nav{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-content: start;
  justify-items: start;
  padding-top: 4px;
}

.footer-nav a{
  color: var(--nav-purple);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 13px;
}

.footer-nav a:hover{
  color: var(--nav-purple-deep);
  text-decoration: underline;
}

.footer-bottom{
  border-top: 1px solid rgba(191,165,255,0.28);
}

.footer-bottom-inner{
  padding: 14px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px){
  .site-footer .footer-inner{
    grid-template-columns: 1fr;
  }

  .footer-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* =====================================================
   Fanclub Floating Logo (fixed bottom-right)
===================================================== */
.fc-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200; /* ヘッダー(1000)より上に */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 110px;
  height: 110px;
  border-radius: 999px;

  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(191,165,255,0.9);
  box-shadow: 0 10px 26px rgba(80,40,150,0.25);

  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  opacity: 0.95;
}

.fc-float img{
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
  border-radius: 999px;
}

.fc-float:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 34px rgba(80,40,150,0.35);
  opacity: 1;
}

/* スマホでは少し小さめに */
@media (max-width: 720px){
  .fc-float{
    right: 12px;
    bottom: 12px;
    width: 88px;
    height: 88px;
  }
}

/* ==== Fanclub entry transition ==== */

.fc-transition {
  position: fixed;
  inset: 0;
  z-index: 999;          /* すべての上に出す */
  pointer-events: none;
  overflow: hidden;
}

.fc-transition-circle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* FCページと合うようなやさしいグラデーション */
  background: radial-gradient(circle at 30% 30%, #fff, #fbe7ff 40%, #c0b2ff 100%);
  transform: scale(0.01);
  transform-origin: center center;
  transition: transform 0.7s ease-out;
}

/* 有効化時：円が一気に拡大して画面を覆う */
.fc-transition.is-active .fc-transition-circle {
  transform: scale(80);  /* だいたいの画面サイズを覆えるくらい大きく */
}

/* FC pill は“特別枠”：ゴールドの細線＋FCロゴ */
.fc-nav-pill{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  padding-right: 14px;
  background: rgba(240,207,161,.22);
  border: 1px solid rgba(240,207,161,.55);
  color: var(--fc-primary);
}
.fc-nav-pill::before{
  content:"";
  width: 16px;
  height: 16px;
  background: url("assets/fclogo.png") center/contain no-repeat;
  display: inline-block;
  opacity: .95;
}

/* =====================================================
   Legal Pages (Guideline / Privacy)
===================================================== */

.page-hero{
  padding-top: 96px; /* fixed/sticky header offset */
  padding-bottom: 18px;
}

.page-hero .container{
  padding-top: 16px;
  padding-bottom: 12px;
}

.page-hero-title{
  font-family: 'Poppins', 'Zen Maru Gothic', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .10em;
  font-size: 26px;
  color: var(--nav-purple-deep);
}

.page-hero-sub{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.page-wrap{
  padding-top: 14px;
  padding-bottom: 56px;
}

.legal{
  line-height: 1.9;
}

.legal .legal-meta{
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.legal h2{
  margin: 20px 0 8px;
  font-size: 18px;
  color: var(--nav-purple-deep);
  letter-spacing: .04em;
}

.legal h3{
  margin: 14px 0 6px;
  font-size: 15px;
  color: var(--nav-purple-deep);
  letter-spacing: .03em;
}

.legal p{
  margin: 8px 0 12px;
}

.legal ul{
  margin: 6px 0 14px;
  padding-left: 1.2em;
}

.legal li{
  margin: 6px 0;
}

.legal a{
  padding: 0;
  border-radius: 0;
  font-weight: 800;
  text-decoration: underline;
}

.legal a:hover{
  color: var(--nav-purple-deep);
}

.legal-note{
  margin: 12px 0 14px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(191,165,255,0.35);
  background: rgba(255,255,255,0.6);
  color: rgba(42,36,54,0.92);
}

.legal-contact{
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.65);
}

@media (max-width: 720px){
  .page-hero{
    padding-top: 74px;
  }
  .page-hero-title{
    font-size: 22px;
  }
}


/* ---- Finance Detail (収益 / 支出) ---- */

.finance-detail-link{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  border:none;
  background:#f1e8ff;
  color:#7d59c0;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}

.finance-detail-link:hover{
  background:#e3d4ff;
}

.finance-detail-card{
  margin-top:4px;
}

.finance-detail-body{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:8px;
  font-size:13px;
}

@media (max-width:720px){
  .finance-detail-body{
    grid-template-columns:1fr;
  }
}

.finance-detail-heading{
  font-weight:700;
  margin-bottom:4px;
  color:#7d59c0;
}

.finance-detail-list{
  list-style:none;
  margin:0;
  padding:0;
}

.finance-detail-list li{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:4px 0;
  border-bottom:1px dashed rgba(212,185,255,0.7);
}

.finance-detail-total{
  margin-top:4px;
  text-align:right;
  font-weight:800;
  color:#4a2080;
}

.finance-detail-empty{
  color:#8a7aa5;
}

/* =========================
   News: SP は画像の下に本文
========================= */
@media (max-width: 720px) {
  #news .news-item {
    flex-direction: column;   /* ← 横並び→縦並び */
    align-items: stretch;
    gap: 10px;
  }

  #news .news-thumb-wrap {
    width: 100%;              /* ← 260px固定を解除 */
    height: auto;             /* ← 146px固定を解除 */
    aspect-ratio: 16 / 9;     /* 16:9 の枠を維持 */
  }

  #news .news-body {
    width: 100%;
  }
}
