/* =========================================================
   アップルスタジオ 公式サイト  共通スタイル
   - 可愛い系・リンゴモチーフ
   - 全ページ共通（ナビ／フッター／カード／アニメーション）
   ========================================================= */

/* ===== カラー & 基本トークン ===== */
:root {
  --apple-red: #ff6b81;
  --apple-red-deep: #ff4d6a;
  --apple-pink: #ffd1dc;
  --apple-pink-soft: #ffe3ea;
  --apple-green: #8bd17c;
  --apple-green-deep: #5fb84e;
  --cream: #fff8f0;
  --cream-deep: #fff0e6;
  --text: #5a4a52;
  --text-soft: #968088;
  --white: #ffffff;

  --shadow: 0 8px 24px rgba(255, 107, 129, 0.18);
  --shadow-soft: 0 4px 14px rgba(255, 107, 129, 0.12);
  --shadow-strong: 0 14px 36px rgba(255, 107, 129, 0.28);

  --radius: 28px;
  --radius-sm: 16px;
  --container: 1040px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.7;
}

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

/* ===== 背景のふわふわリンゴ（全ページ共通） ===== */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-decor .apple {
  position: absolute;
  font-size: 3rem;
  opacity: 0.22;
  animation: float 9s ease-in-out infinite;
}
.a1 { top: 12%; left: 8%;  animation-delay: 0s; }
.a2 { top: 70%; left: 15%; animation-delay: 1.5s; font-size: 2.2rem; }
.a3 { top: 30%; right: 10%; animation-delay: 3s; }
.a4 { top: 80%; right: 18%; animation-delay: 4.5s; font-size: 2.6rem; }
.a5 { top: 50%; left: 50%; animation-delay: 2s; font-size: 2rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-22px) rotate(6deg); }
}

/* ===== ナビゲーション（全ページ共通） ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 240, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 129, 0.12);
}
.nav {
  height: var(--nav-h);
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 1.15rem;
  color: var(--apple-red);
  text-decoration: none;
  white-space: nowrap;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  font-size: 1.1rem;
}
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: var(--apple-pink-soft); }
.nav-links a.is-active {
  background: var(--apple-red);
  color: var(--white);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--apple-red);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    width: min(72vw, 280px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 107, 129, 0.12);
    box-shadow: -10px 0 28px rgba(255, 107, 129, 0.14);
    padding: 16px;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.28s ease;
  }
  .nav-links.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ===== ヒーロー（トップページ用・大） ===== */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 20px 64px;
}
.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  font-size: 3.4rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  animation: bounce 2.4s ease-in-out infinite;
}
.hero-logo {
  width: min(460px, 86vw);
  margin: 0 auto 10px;
  cursor: pointer;
  filter: drop-shadow(0 12px 22px rgba(255, 107, 129, 0.28));
  transition: transform 0.2s ease;
}
.hero-logo:hover { transform: scale(1.04); }
.hero-logo:active { transform: scale(0.97); }
.hero-logo.is-pop { animation: logo-pop 0.45s ease; }
@keyframes logo-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.92); }
  70%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.title {
  font-family: "Mochiy Pop One", sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--apple-red);
  text-shadow: 2px 3px 0 var(--apple-pink);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.subtitle {
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 1.1rem;
  color: var(--apple-green);
  letter-spacing: 0.3em;
  margin: 6px 0 14px;
}
.tagline {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== ページヘッダー（下層ページ用・小） ===== */
.page-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 20px 24px;
}
/* リンゴの背景シェイプの上にタイトルを重ねる */
.page-badge {
  position: relative;
  width: min(260px, 70vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: url("images/header-apple.webp") center / contain no-repeat;
  filter: drop-shadow(0 8px 18px rgba(255, 107, 129, 0.28));
  animation: bounce 3.2s ease-in-out infinite;
}
.page-badge h1 {
  margin: 0;
  transform: translateY(8px);
  font-family: "Mochiy Pop One", sans-serif;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow:
     2px 2px 0 var(--apple-red-deep),
    -2px 2px 0 var(--apple-red-deep),
     2px -2px 0 var(--apple-red-deep),
    -2px -2px 0 var(--apple-red-deep),
     0 3px 6px rgba(153, 53, 86, 0.45);
}
.page-hero p {
  color: var(--text-soft);
  margin-top: 6px;
}
/* 旧：絵文字バッジ（未使用時は隠す） */
.page-hero .page-emoji { display: none; }

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--apple-red); color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--apple-red);
  border: 2px solid var(--apple-pink);
}
.btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-strong);
}
/* 旧クラス互換 */
.cta { display: inline-block; background: var(--apple-red); color: var(--white); text-decoration: none; font-weight: 700; padding: 14px 34px; border-radius: 999px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cta:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-strong); }

/* ===== セクション共通 ===== */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 22px;
}
.section-title {
  font-family: "Mochiy Pop One", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  text-align: center;
  color: var(--apple-red);
}
.section-title .emoji { margin-right: 6px; }
.section-lead {
  text-align: center;
  color: var(--text-soft);
  margin: 10px auto 38px;
  max-width: 640px;
}

/* ===== セクションの仕切り ===== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 960px;
  margin: 6px auto;
  padding: 0 22px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 3px;
  border-radius: 3px;
}
.divider::before { background: linear-gradient(to right, transparent, var(--apple-pink)); }
.divider::after  { background: linear-gradient(to left, transparent, var(--apple-pink)); }
.divider span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apple-pink);
  flex: 0 0 auto;
}
.divider span:nth-child(2) {
  width: 11px;
  height: 11px;
  background: var(--apple-green);
}

/* ===== 汎用カードグリッド ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--apple-pink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 2.4rem;
  display: inline-block;
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 0.92rem; color: var(--text-soft); }

/* ===== アバウト：紹介文ブロック ===== */
.about-lead {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--apple-pink-soft);
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 1.02rem;
}
.about-lead p + p { margin-top: 16px; }

/* ===== メンバー ===== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px 24px;
}
.member-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--apple-pink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* 可愛い縦長写真フレーム（パステルのグラデ枠＋飾り） */
.member-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  margin: 8px 0 18px;
  border-radius: 22px;
  border: 5px solid transparent;
  background:
    linear-gradient(var(--cream-deep), var(--cream-deep)) padding-box,
    linear-gradient(150deg, var(--apple-pink) 0%, #ffe39a 52%, var(--apple-green) 100%) border-box;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.member-card:hover .member-photo {
  transform: rotate(-2deg);
  box-shadow: var(--shadow);
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
  display: block;
}
/* 写真がまだ無いとき（絵文字プレースホルダー） */
.member-photo .ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-radius: 17px;
}
/* 参考フレーム風の飾り（角のお花・葉っぱ・小花）をSVGで重ねる */
.member-photo::after {
  content: "";
  position: absolute;
  inset: -13px;
  background: url("images/member-frame.svg") center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 3;
}
/* 右下のひとことコメント（右から斜め下へ傾いた強調ステッカー） */
.member-comment {
  position: absolute;
  right: 4px;
  bottom: 26px;
  max-width: none;
  background: var(--white);
  color: var(--apple-red-deep);
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 14px;
  border: 2px solid var(--apple-pink);
  box-shadow: var(--shadow);
  transform: rotate(12deg);
  transform-origin: right bottom;
  z-index: 4;
}
/* 個人ロゴを写真の右上に斜め配置（左上→右下方向） */
.member-photo img.member-logo {
  position: absolute;
  top: 4px;
  right: -10px;
  width: 64%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  transform: rotate(13deg);
  transform-origin: top right;
  z-index: 5;
  filter: drop-shadow(0 2px 4px rgba(90, 74, 82, 0.25));
  pointer-events: none;
}
.member-name {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 3px;
}
/* A：名前のところに置く一言 */
.member-note {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--apple-green-deep);
}

/* ===== イベント・スケジュール ===== */
.event-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.event-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--apple-pink-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.event-date {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--apple-red) 0%, var(--apple-red-deep) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  box-shadow: var(--shadow-soft);
}
.event-date .day { font-size: 1.8rem; font-weight: 700; font-family: "Mochiy Pop One", sans-serif; }
.event-date .mon { font-size: 0.8rem; letter-spacing: 0.08em; }
.event-body { flex: 1; }
.event-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.event-time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--apple-green-deep);
  background: #eaf7e6;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.event-body p { font-size: 0.9rem; color: var(--text-soft); }

@media (max-width: 480px) {
  .event-card { flex-direction: column; text-align: center; }
}

/* ===== 告知・お知らせ ===== */
.news-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--apple-pink-soft);
  border-left: 8px solid var(--apple-red);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.news-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}
.news-tag {
  font-size: 0.75rem;
  background: var(--apple-pink-soft);
  color: var(--apple-red-deep);
  padding: 2px 12px;
  border-radius: 999px;
}
.news-tag.event { background: #eaf7e6; color: var(--apple-green-deep); }
.news-tag.important { background: #ffe0e4; color: var(--apple-red-deep); }
.news-title { font-size: 1.15rem; margin-bottom: 6px; color: var(--text); }
.news-body { font-size: 0.92rem; color: var(--text-soft); }

/* ===== ギャラリー ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--white);
  cursor: pointer;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ライトボックス */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(90, 74, 82, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-strong);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--apple-red);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

/* ===== メンバー（Topの流れる表示） ===== */
.member-marquee {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.member-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 20px;
  animation: marquee-left 70s linear infinite;
}
.member-marquee:hover .member-track { animation-play-state: paused; }
.member-track .member-card {
  flex: 0 0 auto;
  width: 175px;
  cursor: pointer;
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .member-track { animation: none; }
  .member-marquee { overflow-x: auto; }
}

/* ===== メンバー詳細（インライン：カードの間に枠で展開／左:カード 右:動画） ===== */
.member-grid .member-card { cursor: pointer; }
.member-detail {
  grid-column: 1 / -1;
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 3px solid var(--apple-pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  position: relative;
  animation: detail-in 0.25s ease;
}
@keyframes detail-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.member-detail-card { flex: 0 0 230px; }
.member-detail-card .member-card { width: 230px; cursor: default; }
.member-detail-video { flex: 1 1 auto; min-width: 0; max-width: 560px; }
/* 一言（動画の上・A=上 / B=下） */
.detail-words {
  text-align: center;
  margin-bottom: 14px;
}
.detail-words .detail-a {
  margin: 0;
  color: var(--apple-green-deep);
  font-weight: 500;
  font-size: 0.9rem;
}
.detail-words .detail-b {
  margin: 4px 0 0;
  font-family: "Mochiy Pop One", sans-serif;
  color: var(--apple-red-deep);
  font-size: 1.05rem;
  line-height: 1.4;
}
/* 動画を囲む枠 */
.detail-video-frame {
  border: 3px solid var(--apple-pink);
  border-radius: 18px;
  padding: 10px;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}
.x-embed {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  max-height: 70vh;
  overflow-y: auto;
}
.x-embed .twitter-tweet { margin: 0 auto !important; }
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.video-grid .x-embed {
  flex: 1 1 380px;
  max-width: 480px;
}
.video-soon {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-soft);
  font-weight: 700;
}
.member-detail-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--apple-red);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 760px) {
  .member-detail { flex-direction: column; gap: 16px; }
  .member-detail-video { width: 100%; max-width: none; }
}

/* ===== 公式リンク ===== */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 24px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 3px solid transparent;
}
.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.link-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}
.link-card.youtube { border-color: #ffc1c9; }
.link-card.youtube .link-icon { background: #ff4d5e; }
.link-card.x { border-color: #d3d8de; }
.link-card.x .link-icon { background: #1a1a1a; }
.link-card.vrchat { border-color: #b3e0f2; }
.link-card.vrchat .link-icon { background: #1f9ed4; }
.link-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.link-card.tiktok { border-color: #d9d9de; }
.link-card.tiktok .link-icon { background: #010101; color: var(--white); }
.link-icon svg { width: 26px; height: 26px; }
.link-text { display: flex; flex-direction: column; }
.link-label { font-weight: 700; font-size: 1.05rem; }
.link-sub { font-size: 0.84rem; color: var(--text-soft); }

/* ===== フッター ===== */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 20px 50px;
  color: var(--text-soft);
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-nav a {
  text-decoration: none;
  color: var(--text-soft);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--apple-red); }
.site-footer p { margin: 4px 0; }
.copyright { font-size: 0.8rem; }

/* ===== スクロール表示アニメーション ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* アニメーションを切る設定のユーザーには配慮 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
