@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Orbitron:wght@700;900&display=swap');

:root {
  --color-main: #00c5ff;
  --color-pink: #ff6bae;
  --color-purple: #a855f7;
  --color-text: #1a1a2e;
  --color-text-muted: #6b7280;
  --color-bg: #ddf4ff;
  --color-bg2: #e8eeff;
  --color-card: rgba(210, 240, 255, 0.7);
  --color-card-border: rgba(0, 197, 255, 0.35);
  --grad-main: linear-gradient(135deg, var(--color-main), var(--color-purple));
  --grad-bg: linear-gradient(135deg, #d6f2ff 0%, #e0ebff 60%, #e8e0ff 100%);
  --shadow-card: 0 4px 24px rgba(0, 197, 255, 0.18), 0 1px 4px rgba(0,0,0,0.05);
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text);
  background: var(--grad-bg);
  min-height: 100vh;
  line-height: 1.7;
  position: relative;
}

body > * { position: relative; z-index: 1; }

/* ── ワイヤーフレームキューブ背景 ── */
.wireframe-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wire-cube {
  position: absolute;
  transform-origin: center;
}

@keyframes cube-float {
  0%, 100% { transform: translateY(0px) rotate(var(--rot)); }
  50%       { transform: translateY(var(--drift)) rotate(calc(var(--rot) + var(--spin))); }
}

/* ── ナビゲーション ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(200, 235, 255, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 197, 255, 0.4);
  box-shadow: 0 1px 20px rgba(0, 197, 255, 0.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--color-main); }

.nav-links a.active {
  color: var(--color-main);
  font-weight: 700;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
}

/* ── ハンバーガーボタン ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 共通レイアウト ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 48px;
}

/* ── カード ── */
.card {
  background: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 197, 255, 0.18), 0 2px 8px rgba(0,0,0,0.08);
}

/* ── ボタン ── */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 197, 255, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  border: 2px solid var(--color-main);
  color: var(--color-main);
}

.btn-disabled {
  background: linear-gradient(135deg, #b0b8c1, #c8d0d8);
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

/* ── タグ・バッジ ── */
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tag-main { background: rgba(0, 197, 255, 0.15); color: var(--color-main); }
.tag-pink { background: rgba(255, 107, 174, 0.15); color: var(--color-pink); }
.tag-purple { background: rgba(168, 85, 247, 0.15); color: var(--color-purple); }

/* ── ヒーローロゴ ── */
.hero-logo {
  width: auto;
  height: auto;
  max-height: clamp(100px, 28vw, 220px);
  max-width: 85vw;
  margin: 0 auto 32px;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0, 197, 255, 0.55));
}

/* ── フッターロゴ ── */
.footer-logo-img {
  height: 40px;
  width: auto;
  margin: 0 auto 12px;
  display: block;
  opacity: 0.85;
}

/* ── ギャラリー ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  aspect-ratio: 1 / 1;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: zoom-in;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 197, 255, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 背景スライドショー ── */
.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero-bg-slide.active {
  opacity: 0.52;
}

/* ── ヒーロー ── */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0,197,255,0.15) 0%, rgba(168,85,247,0.1) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(214,242,255,0.45) 0%,
      transparent 22%,
      transparent 68%,
      rgba(224,235,255,0.7) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.hero .stars,
.hero .container {
  position: relative;
  z-index: 2;
}

/* ヒーロー入場アニメーション */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo    { animation: hero-fade-up 0.8s ease both; }
.hero-sub     { animation: hero-fade-up 0.8s 0.18s ease both; }
.hero-buttons { animation: hero-fade-up 0.8s 0.32s ease both; }
.hero-sns     { animation: hero-fade-up 0.8s 0.44s ease both; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-main);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(0.8rem, 2.2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: var(--color-text);
  margin-bottom: 40px;
  text-shadow: 0 1px 6px rgba(255,255,255,0.9);
}

.hero-sub::before,
.hero-sub::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--grad-main);
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-sns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.hero-sns-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--color-card-border);
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(6px);
  min-width: 64px;
}

.hero-sns-link:hover {
  background: rgba(0, 197, 255, 0.2);
  border-color: var(--color-main);
  color: var(--color-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 197, 255, 0.25);
}

.hero-sns-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* 星の装飾 */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-main);
  opacity: 0.4;
  animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; background: var(--color-pink); }
.star:nth-child(2) { top: 25%; left: 85%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 60%; left: 5%; animation-delay: 1s; background: var(--color-purple); }
.star:nth-child(4) { top: 70%; left: 90%; animation-delay: 1.5s; background: var(--color-pink); }
.star:nth-child(5) { top: 40%; left: 92%; animation-delay: 2s; }
.star:nth-child(6) { top: 80%; left: 15%; animation-delay: 0.8s; background: var(--color-purple); }

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.5); }
}

/* ── お知らせ ── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.news-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.news-title { font-size: 0.95rem; font-weight: 500; }

/* ── 部員カード ── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.member-card {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.member-card:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

.member-card .member-sns {
  margin-top: auto;
  padding-top: 16px;
}

.member-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-main);
  margin: 0 auto 16px;
  display: block;
  background: var(--grad-main);
}

.member-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--grad-main);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
}

.member-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.member-role {
  color: var(--color-main);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.member-bio {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  text-align: left;
}

.member-sns {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.member-sns a {
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 50px;
  text-decoration: none;
  background: rgba(0, 197, 255, 0.1);
  color: var(--color-main);
  font-weight: 600;
  transition: background 0.2s;
}

.member-sns a:hover { background: rgba(0, 197, 255, 0.25); }

/* ── 活動実績 ── */
.achievements-section { display: flex; flex-direction: column; gap: 64px; }

.subsection-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid var(--color-main);
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.events-table th {
  background: rgba(0, 197, 255, 0.08);
  padding: 10px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-card-border);
}

.events-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-card-border);
}

.events-table tr:last-child td { border-bottom: none; }
.events-table .col-tag {
  width: 80px;
  white-space: nowrap;
  text-align: center;
  padding-right: 8px;
}

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

.work-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--grad-main);
  display: block;
}

.work-cover-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--grad-main);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.work-card {
  display: flex;
  flex-direction: column;
}

.work-card .work-desc {
  flex: 1;
}

.work-card .work-action {
  margin-top: auto;
  padding-top: 16px;
}

.work-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.work-desc { font-size: 0.82rem; color: var(--color-text-muted); }

/* ── お問い合わせ ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sns-links { display: flex; flex-direction: column; gap: 12px; }

.sns-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--color-card-border);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sns-link:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.sns-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ── フッター ── */
footer {
  background: rgba(255,255,255,0.6);
  border-top: 1px solid var(--color-card-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 28px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
  list-style: none;
}

.footer-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--color-main); }

.footer-sns-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-sns-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 197, 255, 0.08);
  border: 1px solid var(--color-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.footer-sns-icon:hover {
  background: rgba(0, 197, 255, 0.2);
  border-color: var(--color-main);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

footer .footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

/* ── ページヘッダー（index以外） ── */
.page-header {
  padding: 120px 0 56px;
  text-align: center;
}

.page-header .section-title {
  font-size: 2rem;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.page-header .page-header-rule {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--grad-main);
  border-radius: 2px;
  margin: 0 auto 14px;
}

.page-header .section-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* ── コミッション受付ステータスバー ── */
.commission-status-bar {
  background: rgba(255, 107, 174, 0.12);
  border-top: 1px solid rgba(255, 107, 174, 0.3);
  border-bottom: 1px solid rgba(255, 107, 174, 0.3);
  padding: 14px 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-pink);
}

.commission-status-bar--open {
  background: rgba(0, 197, 255, 0.1);
  border-top: 1px solid rgba(0, 197, 255, 0.3);
  border-bottom: 1px solid rgba(0, 197, 255, 0.3);
  color: var(--color-main);
}

.commission-status-icon {
  margin-right: 8px;
}

.commission-status-sub {
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 0.8;
  margin-left: 12px;
}

/* ── コミッション ── */
.commission-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.commission-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.commission-card:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

.commission-card-header { display: flex; flex-direction: column; gap: 8px; }

.commission-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.commission-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

.commission-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.commission-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  gap: 16px;
  border-bottom: 1px solid var(--color-card-border);
}

.commission-item:last-child { border-bottom: none; }

.commission-item-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.commission-item-price {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-main);
  white-space: nowrap;
}

.commission-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
  padding-left: 4px;
  border-left: 2px solid var(--color-card-border);
}

/* ── Social ── */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.social-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.social-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.youtube-thumb-link {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  background: #000;
}

.youtube-thumb-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.youtube-thumb-link:hover img { opacity: 0.75; }

.youtube-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.youtube-play-btn svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  transition: transform 0.2s;
}

.youtube-thumb-link:hover .youtube-play-btn svg { transform: scale(1.15); }

.twitter-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.social-channel-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-main);
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-channel-link:hover { opacity: 0.7; }

/* Booth アイコン専用カラー */
.footer-sns-icon[aria-label="Booth"] {
  background: rgba(247, 82, 42, 0.1);
  border-color: rgba(247, 82, 42, 0.35);
  color: #f7522a;
}
.footer-sns-icon[aria-label="Booth"]:hover {
  background: rgba(247, 82, 42, 0.22);
  border-color: #f7522a;
}
.hero-sns-link[aria-label="Booth"] svg { color: #f7522a; }

/* Social カード内フォローボタン */
.social-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: auto;
  align-self: flex-end;
}
.social-follow-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.social-follow-btn--x {
  background: #000;
  color: #fff;
}
.social-follow-btn--youtube {
  background: #ff0000;
  color: #fff;
}

.social-post-link {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}
.social-post-link:hover { color: var(--color-main); }

@media (max-width: 768px) {
  .social-grid { grid-template-columns: 1fr; }
}

/* ── ライトボックス ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 40, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.lightbox.active { display: flex; }

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 80px rgba(0, 197, 255, 0.4);
  display: block;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: rgba(255,255,255,0.8);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.lightbox-close:hover { color: var(--color-main); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 197, 255, 0.15);
  border: 1px solid rgba(0, 197, 255, 0.45);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1010;
}

.lightbox-nav:hover { background: rgba(0, 197, 255, 0.4); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  display: none;
  white-space: nowrap;
  background: rgba(0,0,0,0.35);
  padding: 3px 14px;
  border-radius: 50px;
}

/* ── 作品サムネエリア ── */
.work-thumb {
  cursor: default;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.work-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.work-thumb[data-slides] {
  cursor: zoom-in;
}

.work-thumb[data-slides]:hover img { transform: scale(1.04); }

.work-thumb-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 197, 255, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  pointer-events: none;
}

/* ── スクロールアニメーション ── */
.scroll-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease var(--scroll-delay, 0s),
              transform 0.55s ease var(--scroll-delay, 0s);
}

.scroll-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(210, 238, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 197, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 197, 255, 0.1);
    padding: 8px 0 12px;
    gap: 0;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 197, 255, 0.12);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-links a.active::after { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .footer-nav { gap: 16px; }

  .events-table-card { overflow-x: auto !important; }
  .events-table { min-width: 480px; }

  .hero-sub { gap: 8px; letter-spacing: 0.1em; }
  .hero-sub::before,
  .hero-sub::after { width: 18px; }

  .news-item { flex-wrap: wrap; gap: 6px 12px; }
  .news-title { flex-basis: 100%; margin-top: 2px; }
}
