/* ==========================================
   どんぐり中央テレビ - 温もりあふれる森とリスのテーマ CSS
   ========================================== */

/* --- デザイン変数 (Theme Variables) --- */
:root {
  --font-primary: 'Noto Sans JP', 'Outfit', sans-serif;
  
  /* 温かい森とどんぐりのカラーパレット */
  --bg-base: #fefcf7;             /* ふわふわクリーミーホワイト */
  --bg-section: #f7f1e5;          /* ほっこり温かいソフトベージュ */
  --bg-card: #ffffff;             /* クリーンホワイト（カード用） */
  --bg-card-hover: #fffdf9;
  
  --color-primary: #e67e22;       /* リスちゃんオレンジ・どんぐりオレンジ */
  --color-primary-hover: #d35400;
  --color-secondary: #527a58;     /* もりの若葉グリーン */
  --color-secondary-hover: #416346;
  --color-text-dark: #4a3221;     /* ほっこり深い木目ブラウン（文字用） */
  --color-text-muted: #806b5d;    /* 落ち葉のソフトブラウン（サブ文字） */
  --color-accent: #ff6b6b;        /* ライブ配信レッド */
  --color-border: #e6dccb;        /* 優しい砂ベージュの枠線 */
  
  --shadow-sm: 0 4px 10px rgba(74, 50, 33, 0.04);
  --shadow-md: 0 8px 24px rgba(74, 50, 33, 0.08);
  --shadow-lg: 0 16px 40px rgba(74, 50, 33, 0.12);
  --shadow-glow: 0 0 15px rgba(230, 126, 34, 0.35);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

/* --- ベーススタイル (Base Styles) --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-base);
  color: var(--color-text-dark);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  color: var(--color-text-dark);
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #d8cbb5;
  border-radius: 5px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --- コンポーネント & 共通スタイル (Common Classes) --- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-top: 10px;
  color: var(--color-text-dark);
  position: relative;
  display: inline-block;
}

/* タイトルの下にかわいい葉っぱや点線のあしらい */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-top: 12px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: #fdf5ea;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(230, 126, 34, 0.05);
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ボタン (Buttons) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--color-text-dark);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: #faf6f0;
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}

/* --- ナビゲーションバー (Navbar) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(254, 252, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 2px dashed var(--color-border);
  transition: var(--transition-normal);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 95px;
  width: auto;
  object-fit: contain;
  margin: 0;
  position: relative;
  z-index: 10;
  transition: var(--transition-normal);
}

.logo-text {
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  color: var(--color-text-dark);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 1rem;
  color: var(--color-text-dark);
  font-weight: 850;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  background: #fff9f2;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
}

.nav-btn:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle .bar {
  width: 24px;
  height: 3px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* --- ヒーローセクション (Hero Section) --- */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 105px; /* ヘッダーとの間隔を狭く調整 */
  padding-bottom: 60px;
  background-color: #190909; /* シアター風の暗い背景 */
  overflow: hidden;
  border-bottom: 6px solid var(--color-text-dark);
  box-shadow: inset 0 -15px 30px rgba(0,0,0,0.6);
}

.hero-section.studio-theme {
  background-image: url('assets/theater_stage_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 992px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 40px;
  }
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.04) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--color-text-dark);
  margin: 20px 0;
}

.hero-title .highlight {
  color: var(--color-primary);
  position: relative;
}

/* ひらがなのハイライトの下にかわいい波線フリル */
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: radial-gradient(circle, var(--color-primary) 30%, transparent 40%);
  background-size: 10px 10px;
  background-repeat: repeat-x;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* リスとどんぐり・木製のテレビモックアップ */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.tv-mockup {
  position: relative;
  width: 330px;
  height: 300px;
}

/* どんぐり帽子のアンテナ */
.tv-antenna {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 50px;
}

.tv-antenna::before, .tv-antenna::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 55px;
  background: var(--color-text-dark);
  border-radius: 5px;
  transform-origin: bottom center;
}

.tv-antenna::before {
  left: 40px;
  transform: rotate(-25deg);
}

.tv-antenna::after {
  right: 40px;
  transform: rotate(25deg);
}

/* 木のおもちゃ風のテレビケース */
.tv-case {
  position: relative;
  width: 100%;
  height: 270px;
  background: linear-gradient(135deg, #c78853, #9e6436);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-lg), 
              inset 0 4px 6px rgba(255, 255, 255, 0.2);
  display: flex;
  gap: 12px;
  border: 5px solid var(--color-text-dark);
}

/* 角が丸いレトロブラウン管 */
.tv-screen {
  position: relative;
  flex: 1;
  height: 100%;
  background: #fdf5ea;
  border-radius: 18px;
  border: 4px solid var(--color-text-dark);
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(74, 50, 33, 0.15);
}

.tv-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}

.tv-content-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle, #fff9f0 0%, #ecdcb9 100%);
}

.tv-fallback-logo {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  background: #fff;
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.2);
}

.tv-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(74, 50, 33, 0) 50%, 
    rgba(74, 50, 33, 0.06) 50%
  );
  background-size: 100% 6px;
  pointer-events: none;
}

.tv-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 80%);
  pointer-events: none;
}

.tv-play-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(74, 50, 33, 0.2);
  z-index: 2;
  border: 3px solid var(--color-text-dark);
}

.tv-play-btn svg {
  width: 24px;
  height: 24px;
  transform: translateX(2px);
}

.tv-play-btn:hover {
  background: var(--color-primary-hover);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* 木のダイヤルつまみ */
.tv-controls {
  width: 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  background: #87542d;
  border-radius: 8px;
  border: 3px solid var(--color-text-dark);
}

.tv-dial {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #5c3a21;
  border: 3px solid var(--color-text-dark);
  position: relative;
}

.tv-dial::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 1px;
}

.tv-speaker {
  width: 30px;
  height: 50px;
  background: repeating-linear-gradient(
    transparent,
    transparent 4px,
    var(--color-text-dark) 4px,
    var(--color-text-dark) 8px
  );
  border-radius: 4px;
}

.tv-stand {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 22px;
  background: var(--color-text-dark);
  border-radius: 4px;
}

/* --- 最新動画セクション (On Air) --- */
.on-air-section {
  background-color: var(--bg-section);
  position: relative;
  border-top: 2px dashed var(--color-border);
  border-bottom: 2px dashed var(--color-border);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 107, 0.12);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.featured-short-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* 最新動画のほっこりカード */
.featured-card {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--bg-card);
  border: 3px solid var(--color-text-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.featured-visual {
  position: relative;
  aspect-ratio: 9/16;
  width: 100%;
  background: #000;
  overflow: hidden;
  border-right: 3px solid var(--color-text-dark);
}

.featured-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.featured-visual:hover .featured-thumb {
  transform: scale(1.04);
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 50, 33, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-play-btn {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.35);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 3px solid var(--color-text-dark);
}

.featured-play-btn svg {
  width: 26px;
  height: 26px;
  transform: translateX(2px);
}

.featured-play-btn:hover {
  transform: scale(1.1);
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-glow);
}

.featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-card);
}

.featured-body .btn-primary {
  align-self: flex-start;
}

.featured-label {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.featured-title {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--color-text-dark);
}

.featured-meta {
  display: flex;
  gap: 20px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
  border-bottom: 2px dashed var(--color-border);
  padding-bottom: 15px;
}

.featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.featured-meta svg {
  width: 16px;
  height: 16px;
}

.featured-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* --- 番組表セクション (Shorts Grid & Tabs) --- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: #fffcf8;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-text-dark);
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

/* Shorts Grid Layout */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 30px;
}

/* Shorts Card */
.short-card {
  background: var(--bg-card);
  border: 3px solid var(--color-text-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.short-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.short-media {
  position: relative;
  aspect-ratio: 9/16;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-bottom: 3px solid var(--color-text-dark);
}

.short-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.short-card:hover .short-thumb {
  transform: scale(1.05);
}

.short-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 50, 33, 0.3);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.short-card:hover .short-card-overlay {
  opacity: 1;
}

.short-play-btn {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(74, 50, 33, 0.2);
  border: 3px solid var(--color-text-dark);
}

.short-play-btn svg {
  width: 22px;
  height: 22px;
  transform: translateX(1px);
}

.short-card:hover .short-play-btn {
  transform: scale(1);
}

.short-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.short-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--color-text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 2px dashed var(--color-border);
  padding-top: 10px;
  font-weight: 700;
}

.short-views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.short-views svg {
  width: 12px;
  height: 12px;
}

/* --- 局についてセクション (About Us) --- */
.about-section {
  position: relative;
  background-color: var(--bg-section);
  overflow: hidden;
  border-top: 2px dashed var(--color-border);
  border-bottom: 2px dashed var(--color-border);
}

.about-bg-elements {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(82, 122, 88, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.acorn-mascot-container {
  width: 260px;
  height: 260px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-text-dark);
  box-shadow: var(--shadow-md);
  padding: 24px;
  overflow: hidden;
}

.about-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 8px 12px rgba(74, 50, 33, 0.15));
  animation: floatMascot 4s ease-in-out infinite alternate;
}

@keyframes floatMascot {
  0% { transform: translateY(-6px) rotate(-3deg); }
  100% { transform: translateY(6px) rotate(3deg); }
}

.mascot-caption {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.mascot-caption strong {
  font-size: 1.25rem;
  color: var(--color-text-dark);
  display: block;
  margin-top: 2px;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 12px 0 20px 0;
  color: var(--color-text-dark);
}

.about-text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 3px solid var(--color-text-dark);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: scale(1.05);
}

.stat-val {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 800;
}

/* --- アニメーション取材クルー (Reporting Crew) --- */
.reporting-crew-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.reporting-crew-wrapper {
  position: absolute;
  bottom: 0;
  width: 135px;
  height: 90px;
  transform-origin: bottom center;
  animation: walkAndReport 25s linear infinite;
}

.reporting-crew-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 突撃取材中の吹き出し */
.crew-speech-bubble {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: #fff;
  border: 3px solid var(--color-text-dark);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--color-text-dark);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform-origin: bottom center;
  animation: bubblePop 25s linear infinite;
}

/* 吹き出しのしっぽ */
.crew-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 8px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
  display: block;
  width: 0;
  z-index: 1;
}

.crew-speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 12px 10px 0;
  border-style: solid;
  border-color: var(--color-text-dark) transparent transparent;
  display: block;
  width: 0;
  z-index: 0;
}

/* 歩行＆取材の一連のアニメーションタイムライン */
@keyframes walkAndReport {
  /* 0%〜25%: 右から中央やや左まで歩いてくる */
  0% {
    left: 100%;
    transform: translateY(0) rotate(0);
  }
  2.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  5% {
    transform: translateY(0) rotate(-2deg);
  }
  7.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  10% {
    transform: translateY(0) rotate(-2deg);
  }
  12.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  15% {
    transform: translateY(0) rotate(-2deg);
  }
  17.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  20% {
    transform: translateY(0) rotate(-2deg);
  }
  22.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  25% {
    left: 25%;
    transform: translateY(0) rotate(0);
  }
  
  /* 25%〜65%: その場にとどまって取材 (呼吸・会話の縦揺れ) */
  30% {
    left: 25%;
    transform: translateY(-2px) scaleY(0.97);
  }
  35% {
    left: 25%;
    transform: translateY(0) scaleY(1);
  }
  40% {
    left: 25%;
    transform: translateY(-2px) scaleY(0.97);
  }
  45% {
    left: 25%;
    transform: translateY(0) scaleY(1);
  }
  50% {
    left: 25%;
    transform: translateY(-2px) scaleY(0.97);
  }
  55% {
    left: 25%;
    transform: translateY(0) scaleY(1);
  }
  60% {
    left: 25%;
    transform: translateY(-2px) scaleY(0.97);
  }
  65% {
    left: 25%;
    transform: translateY(0) rotate(0);
  }
  
  /* 65%〜90%: 左へ歩いて去る */
  67.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  70% {
    transform: translateY(0) rotate(-2deg);
  }
  72.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  75% {
    transform: translateY(0) rotate(-2deg);
  }
  77.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  80% {
    transform: translateY(0) rotate(-2deg);
  }
  82.5% {
    transform: translateY(-5px) rotate(2deg);
  }
  85% {
    transform: translateY(0) rotate(-2deg);
  }
  90% {
    left: -150px;
    transform: translateY(0) rotate(0);
  }
  
  /* 90%〜100%: 画面外で待機 */
  100% {
    left: -150px;
    transform: translateY(0) rotate(0);
  }
}

/* 吹き出しのポップイン・ポップアウトアニメーション */
@keyframes bubblePop {
  0%, 24.9% {
    opacity: 0;
    transform: translateX(-50%) scale(0);
  }
  25% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
  26%, 64% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  64.5% {
    opacity: 0;
    transform: translateX(-50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0);
  }
}

/* --- 目安箱セクション (Request Form) --- */
.request-section {
  position: relative;
  background-color: var(--bg-base);
}

/* 木の郵便ポストのような可愛い投書箱 */
.request-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fffdfa;
  border: 4px solid var(--color-text-dark);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.request-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.request-content h2 {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.request-content p {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 35px auto;
  font-weight: 700;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-dark);
  letter-spacing: 0.5px;
}

.form-group input, .form-group select, .form-group textarea {
  background: #fdfcf9;
  border: 3px solid var(--color-border);
  color: var(--color-text-dark);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.15);
  background: #fff;
}

.request-form button[type="submit"] {
  align-self: center;
  margin-top: 10px;
  padding: 14px 50px;
}

/* --- フッター (Footer) --- */
.footer {
  background-color: #3b281b;     /* ダークな木の幹カラー */
  border-top: 4px solid var(--color-text-dark);
  padding: 60px 24px 20px 24px;
  color: #f7ede2;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 450px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 15px;
}

.footer-logo-img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: #fff;
}

.footer-tagline {
  color: #c9b4a4;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 80px;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-group h4 {
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.link-group a {
  font-size: 0.9rem;
  color: #c9b4a4;
  font-weight: 700;
}

.link-group a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 2px dashed rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #a89485;
  font-weight: 700;
}

/* --- モーダル (Video Modal / Lightbox) --- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 50, 33, 0.7);
  backdrop-filter: blur(8px);
}

.modal-wrapper {
  position: relative;
  z-index: 2001;
  width: 90%;
  max-width: 800px;
  background: var(--bg-card);
  border: 4px solid var(--color-text-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.video-modal.open .modal-wrapper {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 3px solid var(--color-text-dark);
  color: var(--color-text-dark);
  font-size: 24px;
  font-weight: 900;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #ff6b6b;
  color: #fff;
  border-color: var(--color-text-dark);
}

.modal-body {
  display: grid;
  grid-template-columns: 300px 1fr;
  width: 100%;
}

.shorts-iframe-container {
  aspect-ratio: 9/16;
  width: 100%;
  background: #000;
  border-right: 4px solid var(--color-text-dark);
}

.shorts-iframe-container iframe {
  width: 100%;
  height: 100%;
}

.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--color-text-dark);
  line-height: 1.4;
}

.modal-info p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn-youtube {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff4a4a;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  border: 3px solid var(--color-text-dark);
}

.btn-youtube:hover {
  background: #ff2a2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 74, 74, 0.3);
}

/* --- トースト通知 (Toast Notifications) --- */
.toast-container {
  position: fixed;
  bottom: 95px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #fffdf9;
  border: 3px solid var(--color-secondary);
  color: var(--color-text-dark);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  font-weight: 800;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  color: var(--color-secondary);
  font-weight: 900;
}

/* --- ページトップに戻るボタン (Scroll to Top) --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  color: #fff;
  border: 3px solid var(--color-text-dark);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), background var(--transition-fast);
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
}

.scroll-to-top:hover {
  background: var(--color-primary-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* --- スケルトンローダー (Skeleton Loaders) --- */
.skeleton-loader {
  background: linear-gradient(90deg, #faf5eb 25%, #ebdcb9 50%, #faf5eb 75%);
  background-size: 200% 100%;
  animation: loadingSkeleton 1.5s infinite;
  width: 100%;
  border-radius: var(--radius-md);
  border: 3px solid var(--color-text-dark);
}

@keyframes loadingSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- レスポンシブデザイン (Responsive Styles) --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 40px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .featured-card {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .featured-visual {
    border-right: none;
    border-bottom: 3px solid var(--color-text-dark);
  }
  
  .featured-body {
    padding: 30px 24px;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    text-align: center;
  }
  
  .stats-grid {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .modal-body {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
  
  .shorts-iframe-container {
    max-width: 350px;
    margin: 0 auto;
    border-right: none;
    border-bottom: 4px solid var(--color-text-dark);
  }
  
  .modal-info {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 12px 16px;
  }

  .logo-img {
    height: 60px;
    width: auto;
    margin: 0;
  }

  .logo-text {
    font-size: 1.3rem;
  }
  
  .section-container {
    padding: 50px 16px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-base);
    border-bottom: 3px dashed var(--color-border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .nav-menu a, .nav-menu button {
    width: 100%;
    text-align: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    justify-content: flex-start;
    gap: 40px;
  }
  
  .request-card {
    padding: 30px 20px;
  }
  
  .large-tv.tv-mockup {
    width: 480px;
    height: 360px;
  }
  .large-tv .tv-case {
    height: 320px;
    padding: 18px;
    gap: 16px;
  }
  .large-tv .tv-controls {
    width: 90px;
    padding: 10px 0;
    gap: 15px;
  }
  .large-tv .tv-dial {
    width: 40px;
    height: 40px;
  }
  .large-tv .dial-pointer {
    width: 4px;
    height: 10px;
  }
  .large-tv .tv-speaker {
    width: 45px;
    height: 60px;
  }
  .large-tv .tv-stand {
    width: 240px;
    height: 20px;
  }
}

/* モバイルデバイス向けの主要改善 (600px 以下) */
@media (max-width: 600px) {
  /* 最新動画 (ON AIR) カードをすっきりとした横並びリスト形式に変更 */
  .featured-card {
    grid-template-columns: 120px 1fr;
    max-width: 100%;
  }
  
  .featured-visual {
    border-right: 3px solid var(--color-text-dark);
    border-bottom: none;
  }
  
  .featured-body {
    padding: 16px;
  }
  
  .featured-label {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }
  
  .featured-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .featured-meta {
    font-size: 0.75rem;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  
  .featured-desc {
    display: none; /* 説明文を非表示にして省スペース化 */
  }
  
  .featured-body .btn-primary {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* 番組表 (Shorts) グリッドをスクロールしやすい2カラム表示に変更 */
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .short-card-title {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  
  .short-info {
    padding: 10px;
  }
  
  .short-card-footer {
    padding-top: 8px;
    font-size: 0.7rem;
  }

  .short-play-btn {
    width: 40px;
    height: 40px;
  }
  
  .short-play-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* スマホ細幅画面向け改善 (480px 以下) */
@media (max-width: 480px) {
  .logo-img {
    height: 45px;
    width: auto;
    margin: 0;
  }

  .nav-logo {
    gap: 8px;
  }
  
  .logo-text {
    display: block;
    font-size: 1.05rem;
  }
  
  .section-container {
    padding: 40px 16px;
  }

  .hero-section {
    padding-top: 80px;
  }
  
  .hero-title {
    font-size: 1.7rem;
    margin: 10px 0;
  }
  
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  .hero-buttons a {
    width: 100%;
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .filter-tabs {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* 目安箱 (投書フォーム) の調整 */
  .request-card {
    padding: 24px 16px;
  }

  .request-content h2 {
    font-size: 1.5rem;
  }

  .request-content p {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .request-form button[type="submit"] {
    width: 100%;
    align-self: stretch;
  }

  /* モーダルの調整 */
  .shorts-iframe-container {
    max-width: 250px;
  }

  .modal-info {
    padding: 16px;
    text-align: center;
  }

  .modal-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .modal-info p {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  /* トースト通知とトップ戻るボタンの調整 */
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
  }
  
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
  
  .toast-container {
    bottom: 85px;
    right: 20px;
  }
  
  .large-tv.tv-mockup {
    width: 320px;
    height: 240px;
  }
  .large-tv .tv-case {
    height: 200px;
    padding: 12px;
  }
  .large-tv .tv-controls {
    width: 70px;
    gap: 8px;
  }
  .large-tv .tv-dial {
    width: 30px;
    height: 30px;
  }
  .large-tv .tv-speaker {
    width: 35px;
    height: 45px;
  }
}

/* 画面幅が非常に狭いスマートフォン向け (380px 以下) のオーバーフロー防止 */
@media (max-width: 380px) {
  .tv-mockup {
    transform: scale(0.85);
    margin: -25px auto;
  }
}
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.station-intro-mascot {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: #fff8f0;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(74, 50, 33, 0.05);
}
.mascot-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transform: translateY(5px);
}
.station-intro-content {
  flex: 1;
}
.station-intro-content .badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.intro-title {
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}
.intro-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.station-intro-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 200px;
}
.station-intro-actions .btn-primary,
.station-intro-actions .btn-secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px 20px;
}

/* --- レスポンシブ対応の調整 --- */
@media (max-width: 992px) {
  .studio-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .left-rack { order: 2; }
  .right-rack { order: 3; }
  .studio-console { order: 1; width: 100%; display: flex; justify-content: center; }
  .station-intro-card {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }
  .station-intro-mascot {
    margin: 0 auto;
  }
  .station-intro-actions {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
  .station-intro-actions .btn-primary,
  .station-intro-actions .btn-secondary {
    width: auto;
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .hero-section.studio-theme {
    padding-top: 110px;
  }
  .left-rack, .right-rack {
    height: 150px;
    width: 45%;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
  }
  .console-switch-group {
    flex-direction: row;
    gap: 10px;
  }
  .large-tv.tv-mockup {
    width: 100%;
    max-width: 460px;
    height: 350px;
  }
  .large-tv .tv-case {
    height: 310px;
    padding: 16px;
  }
  .large-tv .tv-controls {
    width: 80px;
    gap: 10px;
  }
  .ch-btn {
    font-size: 0.7rem;
    padding: 4px 0;
  }
  .large-tv .tv-speaker {
    height: 50px;
  }
  .station-intro-actions {
    flex-direction: column;
    width: 100%;
  }
  .station-intro-actions .btn-primary,
  .station-intro-actions .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .left-rack, .right-rack {
    width: 100%;
    height: auto;
    flex-direction: column;
    padding: 15px;
  }
  .large-tv.tv-mockup {
    height: 290px;
  }
  .large-tv .tv-case {
    height: 250px;
    gap: 8px;
    padding: 10px;
  }
  .large-tv .tv-controls {
    width: 75px;
    padding: 5px 0;
    gap: 6px;
  }
  .large-tv .tv-dial {
    width: 30px;
    height: 30px;
  }
  .channel-buttons {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0 2px;
  }
  .ch-btn {
    font-size: 0.6rem;
    padding: 2px 0;
  }
  .large-tv .tv-speaker {
    display: none;
  }
}


/* ==========================================
   どんぐり放送局 - 森とリスの装飾・イラスト演出 CSS
   ========================================== */

/* 1. サイト全体のどんぐり＆落ち葉の透かし背景パターン */
body {
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234a3221' fill-opacity='0.022'%3E%3C!-- どんぐり --%3E%3Cpath d='M30 35c0-4 4-7 8-7s8 3 8 7c0 5-6 10-8 11-2-1-8-6-8-11z'/%3E%3Ccircle cx='38' cy='25' r='1.5'/%3E%3C!-- 葉っぱ --%3E%3Cpath d='M100 40c4-4 10-2 12 3c2 5-2 10-7 11c-5 1-9-4-7-14z'/%3E%3C!-- 小さな丸ドット --%3E%3Ccircle cx='130' cy='25' r='2'/%3E%3Ccircle cx='45' cy='110' r='2'/%3E%3C!-- 逆側のどんぐり --%3E%3Cpath d='M110 115c0-4 4-7 8-7s8 3 8 7c0 5-6 10-8 11-2-1-8-6-8-11z'/%3E%3Ccircle cx='118' cy='105' r='1.5'/%3E%3C!-- 逆側の葉っぱ --%3E%3Cpath d='M25 120c4-4 10-2 12 3c2 5-2 10-7 11c-5 1-9-4-7-14z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

/* 2. 固定ヘッダー（木の枝・葉っぱの装飾） */
.navbar {
  border-bottom: 5px solid var(--color-text-dark);
  position: relative;
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 45px;
  width: 50px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 50 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2 Q15 12 30 3 Q40 10 48 2' fill='none' stroke='%234a3221' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M10 6 C7 3, 4 8, 9 9 Z' fill='%23527a58'/%3E%3Cpath d='M32 6 C29 3, 26 8, 31 9 Z' fill='%23527a58'/%3E%3C/svg%3E") no-repeat;
  pointer-events: none;
  z-index: 100;
}


@media (max-width: 768px) {
  .hero-section.studio-theme {
    padding-top: 110px;
  }
  .studio-switches-under-tv {
    margin-top: 20px;
    padding: 12px 20px;
    gap: 20px;
  }
  .large-tv.tv-mockup {
    width: 100%;
    max-width: 460px;
    height: 350px;
  }
  .large-tv .tv-case {
    height: 310px;
    padding: 16px;
  }
  .large-tv .tv-controls {
    width: 80px;
    gap: 10px;
  }
  .large-tv .ch-btn {
    font-size: 0.7rem;
    padding: 4px 0;
    border-width: 2px;
  }
  .large-tv .ch-btn .led {
    width: 6px;
    height: 6px;
  }
  .large-tv .tv-speaker {
    width: 50px;
    height: 50px;
    border-radius: 6px;
  }
  .large-tv .tv-dial {
    width: 34px;
    height: 34px;
    border-width: 3px;
  }
  .large-tv .dial-pointer {
    width: 4px;
    height: 8px;
  }
  .large-tv .tv-stand {
    width: 220px;
    height: 18px;
    bottom: 8px;
  }
  .large-tv .tv-antenna {
    top: -35px;
    width: 100px;
    height: 40px;
  }
  .large-tv .tv-antenna::before, .large-tv .tv-antenna::after {
    height: 45px;
    width: 4px;
  }
  .station-intro-actions {
    flex-direction: column;
    width: 100%;
  }
  .station-intro-actions .btn-primary,
  .station-intro-actions .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .large-tv.tv-mockup {
    height: 290px;
  }
  .large-tv .tv-case {
    height: 250px;
    gap: 8px;
    padding: 10px;
  }
  .large-tv .tv-controls {
    width: 75px;
    padding: 5px 0;
    gap: 6px;
  }
  .large-tv .tv-dial {
    width: 30px;
    height: 30px;
  }
  .channel-buttons {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0 2px;
  }
  .large-tv .ch-btn {
    font-size: 0.6rem;
    padding: 2px 0;
  }
  .large-tv .tv-speaker {
    display: none;
  }
  .studio-switches-under-tv {
    margin-top: 15px;
    padding: 8px 15px;
    gap: 15px;
  }
  .studio-switches-under-tv .switch-label {
    font-size: 0.6rem;
  }
  .studio-switches-under-tv .retro-switch {
    width: 42px;
    height: 26px;
  }
  .studio-switches-under-tv .switch-toggle {
    width: 16px;
    height: 18px;
  }
  .studio-switches-under-tv .retro-switch.active .switch-toggle {
    transform: translateX(16px);
  }
}


/* ==========================================
   どんぐり放送局 - 森とリスの装飾・イラスト演出 CSS
   ========================================== */

/* 1. サイト全体のどんぐり＆落ち葉の透かし背景パターン */
body {
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234a3221' fill-opacity='0.022'%3E%3C!-- どんぐり --%3E%3Cpath d='M30 35c0-4 4-7 8-7s8 3 8 7c0 5-6 10-8 11-2-1-8-6-8-11z'/%3E%3Ccircle cx='38' cy='25' r='1.5'/%3E%3C!-- 葉っぱ --%3E%3Cpath d='M100 40c4-4 10-2 12 3c2 5-2 10-7 11c-5 1-9-4-7-14z'/%3E%3C!-- 小さな丸ドット --%3E%3Ccircle cx='130' cy='25' r='2'/%3E%3Ccircle cx='45' cy='110' r='2'/%3E%3C!-- 逆側のどんぐり --%3E%3Cpath d='M110 115c0-4 4-7 8-7s8 3 8 7c0 5-6 10-8 11-2-1-8-6-8-11z'/%3E%3Ccircle cx='118' cy='105' r='1.5'/%3E%3C!-- 逆側の葉っぱ --%3E%3Cpath d='M25 120c4-4 10-2 12 3c2 5-2 10-7 11c-5 1-9-4-7-14z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

/* 2. 固定ヘッダー（木の枝・葉っぱの装飾） */
.navbar {
  border-bottom: 5px solid var(--color-text-dark);
  position: relative;
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 45px;
  width: 50px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 50 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2 Q15 12 30 3 Q40 10 48 2' fill='none' stroke='%234a3221' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M10 6 C7 3, 4 8, 9 9 Z' fill='%23527a58'/%3E%3Cpath d='M32 6 C29 3, 26 8, 31 9 Z' fill='%23527a58'/%3E%3C/svg%3E") no-repeat;
  pointer-events: none;
  z-index: 100;
}

/* 3. 画面端の固定イラスト装飾（PC大画面向け） */
.fixed-deco {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* 左上のゆれるヴィンテージマイク */
.deco-mic-left {
  top: 0;
  left: 0;
  width: 170px;
  height: 170px;
}
.swaying-mic {
  transform-origin: 0px -15px;
  animation: mic-sway 4s infinite ease-in-out;
}

@keyframes mic-sway {
  0%, 100% { transform: translate(100px, 60px) rotate(-8deg); }
  50% { transform: translate(100px, 60px) rotate(8deg); }
}

/* 右側でひょっこり覗くレトロカメラ */
.deco-camera-right {
  top: 45vh;
  right: -5px;
  width: 110px;
  height: 110px;
  transform-origin: right center;
  animation: camera-peek 6s infinite ease-in-out;
}

@keyframes camera-peek {
  0%, 100% { transform: translateX(20px) rotate(0deg); }
  15%, 85% { transform: translateX(0px) rotate(0deg); }
  35% { transform: translateX(0px) rotate(-3deg); }
  60% { transform: translateX(0px) rotate(2deg); }
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.recording-dot {
  animation: rec-blink 1s infinite;
}

.forest-townscape {
  width: 100%;
  height: 100px;
  display: block;
  overflow: hidden;
  margin-bottom: -15px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.forest-townscape svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 1100px) {
  .fixed-deco {
    display: none !important;
  }
}

/* ==========================================
   キャスト＆スタッフ紹介セクション
   ========================================== */
.cast-section {
  background-color: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.cast-card {
  background-color: var(--bg-card);
  border: 2px solid var(--color-text-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.cast-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.cast-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 2px solid var(--color-text-dark);
}

.cast-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
}

.cast-card:hover .cast-photo {
  transform: scale(1.05);
}

.cast-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cast-name-container {
  margin-bottom: 12px;
}

/* トップページのカード表示をシンプル化 (画像と名前のみ) */
.cast-card .cast-info {
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cast-card .cast-name {
  font-size: 1.15rem;
}

.cast-card .cast-kana {
  font-size: 0.75rem;
}

.cast-card .cast-name-container {
  margin-bottom: 0;
}

.cast-card .cast-affiliation,
.cast-card .cast-roles,
.cast-card .cast-bio {
  display: none;
}


.cast-kana {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.cast-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.cast-affiliation {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}

.cast-affiliation .icon-leaf {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
}

.cast-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.role-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* 役者は若葉グリーン */
.role-tag.actor {
  background-color: #eaf2eb;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}

/* クリエイター（演出家、脚本家、監督）はどんぐりオレンジ */
.role-tag.creator {
  background-color: #fdf5ea;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

/* 技術系（音響、メイク、小道具）は木目ブラウン */
.role-tag.tech {
  background-color: #f3efeb;
  color: var(--color-text-dark);
  border: 1.5px solid var(--color-text-dark);
}

.cast-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-top: auto;
  opacity: 0.95;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
  }
  .cast-card .cast-info {
    padding: 8px 4px;
  }
  .cast-card .cast-name {
    font-size: 0.95rem;
  }
  .cast-card .cast-kana {
    font-size: 0.7rem;
  }
}

@media (max-width: 520px) {
  .cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 8px;
  }
  .cast-card .cast-info {
    padding: 6px 2px;
  }
  .cast-card .cast-name {
    font-size: 0.85rem;
  }
  .cast-card .cast-kana {
    font-size: 0.65rem;
  }
}

/* --- キャスト個別モーダル追加 --- */
.cast-modal-body {
  grid-template-columns: 320px 1fr;
}

.cast-modal-photo-container {
  width: 100%;
  height: 100%;
  background: var(--color-text-dark);
  border-right: 4px solid var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cast-modal-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cast-modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.cast-bio-detail {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-top: 10px;
  white-space: pre-line;
}

/* スマホ表示での調整 */
@media (max-width: 768px) {
  .cast-modal-body {
    grid-template-columns: 1fr;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .cast-modal-photo-container {
    height: 280px;
    border-right: none;
    border-bottom: 4px solid var(--color-text-dark);
  }
  
  .cast-modal-info {
    padding: 24px;
    overflow-y: visible;
  }
}

/* ==========================================
   どんぐり放送局 - 追加のレトロブラウン管（CRT）演出
   ========================================== */

/* 砂嵐（ノイズ）スクリーン */
.tv-noise-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  background: #111;
  transition: opacity 0.1s ease;
}

.tv-noise-screen.active {
  opacity: 1;
  background: repeating-radial-gradient(circle, #222, #000 2px),
              url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  animation: noise-jitter-anim 0.15s infinite steps(2);
}

@keyframes noise-jitter-anim {
  0% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(-1px, 2px) scale(1.02); }
  40% { transform: translate(2px, -1px) scale(0.98); }
  60% { transform: translate(-2px, -2px) scale(1.01); }
  80% { transform: translate(1px, 1px) scale(0.99); }
  100% { transform: translate(-1px, 1px) scale(1); }
}

/* 電源ON/OFF時のブラウン管シャットダウン演出 */
.tv-power-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-power-overlay.active {
  opacity: 1;
  pointer-events: auto;
  animation: screen-collapse-anim 0.4s ease-out forwards;
}

.crt-dot {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #00d2ff;
  opacity: 0;
  transform: scale(0);
}

.tv-power-overlay.active .crt-dot {
  animation: dot-glow-anim 0.4s ease-out forwards;
}

@keyframes screen-collapse-anim {
  0% {
    transform: scaleY(1) scaleX(1);
    filter: brightness(2);
  }
  40% {
    transform: scaleY(0.01) scaleX(1);
    background: #fff;
  }
  70% {
    transform: scaleY(0.01) scaleX(0.01);
    background: #fff;
  }
  100% {
    transform: scaleY(0) scaleX(0);
    background: #000;
  }
}

@keyframes dot-glow-anim {
  0%, 60% {
    opacity: 0;
    transform: scale(0);
  }
  70% {
    opacity: 1;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* チャンネル切替時の筐体揺れエフェクト */
.tv-glitch-shake {
  animation: tv-shake-anim 0.3s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes tv-shake-anim {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, -1px, 0); }
  40%, 60% { transform: translate3d(3px, 1px, 0); }
}

/* --- レトロTV チャンネルボタン＆LED表示のスタイリング（デスクトップ対応含む） --- */
.channel-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  width: 100%;
  padding: 0 4px;
  margin-top: 10px;
}

.ch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #5c3a21;
  border: 2px solid var(--color-text-dark);
  border-radius: 4px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 2px rgba(0,0,0,0.3);
}

.ch-btn:hover {
  background: #734c32;
}

.ch-btn:active {
  transform: translateY(1px);
}

.ch-btn.active {
  background: #312014;
  border-color: var(--color-primary);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 0 5px rgba(230, 126, 34, 0.3);
}

.ch-btn .led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2b1c10;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.6);
  display: inline-block;
  transition: all 0.2s ease;
}

.ch-btn.active .led {
  background: #ff3b30;
  box-shadow: 0 0 6px #ff3b30, inset 0 1px 0 rgba(255,255,255,0.5);
}

/* おまかせ（ランダム）ボタンの特有スタイル */
.ch-btn.random-ch-btn {
  grid-column: span 2;
  background: #8e583c;
  border-color: var(--color-text-dark);
}

.ch-btn.random-ch-btn:hover {
  background: #a36b4d;
}

.ch-btn.random-ch-btn.active {
  background: #472918;
  border-color: #f39c12;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6), 0 0 5px rgba(243, 156, 18, 0.4);
}

/* オレンジLED */
.ch-btn .led.led-orange {
  background: #2b1c10;
}

.ch-btn.active .led.led-orange {
  background: #ff9500;
  box-shadow: 0 0 6px #ff9500, inset 0 1px 0 rgba(255,255,255,0.5);
}

/* --- キーワード検索入力ボックスのスタイリング --- */
.search-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
}

.search-input-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

#shorts-search-input {
  width: 100%;
  padding: 12px 45px 12px 44px;
  background-color: var(--bg-card);
  border: 3px solid var(--color-text-dark);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  outline: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

#shorts-search-input::placeholder {
  color: var(--color-text-muted);
  font-weight: 500;
  opacity: 0.7;
}

#shorts-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow), 0 4px 15px rgba(230, 126, 34, 0.12);
  background-color: #fffdf9;
}

#shorts-search-input:focus + .search-icon {
  color: var(--color-primary);
}

.search-clear-btn {
  position: absolute;
  right: 16px;
  background: var(--color-border);
  color: var(--color-text-dark);
  border: 2px solid var(--color-text-dark);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  outline: none;
  line-height: 1;
  padding: 0;
  transition: all 0.2s ease;
}

.search-clear-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

/* --- ヒーローセクションの2カラムグリッド配置とマスコットバッジ --- */
.studio-container {
  display: flex;
  justify-content: flex-start;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 550px;
  width: 100%;
}

.hero-mascot-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.mascot-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.mascot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1) translateY(2px);
}

.hero-badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.mascot-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  background: var(--bg-section);
  padding: 2px 8px;
  border-radius: 4px;
}

/* モバイル/タブレット向けレスポンシブ配置 */
@media (max-width: 992px) {
  .studio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 20px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-mascot-badge {
    justify-content: center;
  }
  
  .hero-badge-group {
    align-items: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

/* --- デスクトップ用レトロTV・スイッチのスタイリング修正 --- */

@media (min-width: 993px) {
  /* TVモックアップのデスクトップサイズ定義（破綻防止） */
  .large-tv.tv-mockup {
    width: 460px !important;
    height: 350px !important;
  }

  .large-tv .tv-case {
    height: 310px !important;
    padding: 16px !important;
    gap: 16px !important;
  }

  .large-tv .tv-controls {
    width: 90px !important;
    padding: 8px 0 !important;
    gap: 10px !important;
  }

  .large-tv .tv-dial {
    width: 36px !important;
    height: 36px !important;
  }

  .large-tv .dial-pointer {
    width: 4px !important;
    height: 10px !important;
  }

  .large-tv .tv-speaker {
    width: 45px !important;
    height: 50px !important;
  }

  .large-tv .tv-stand {
    width: 240px !important;
    height: 20px !important;
    bottom: 8px !important;
  }

  .large-tv .tv-antenna {
    top: -35px !important;
    width: 100px !important;
    height: 40px !important;
  }

  .large-tv .tv-antenna::before, 
  .large-tv .tv-antenna::after {
    height: 45px !important;
    width: 4px !important;
  }

  .large-tv .ch-btn {
    font-size: 0.75rem !important;
    padding: 5px 0 !important;
    border-width: 2px !important;
  }

  .large-tv .ch-btn .led {
    width: 6px !important;
    height: 6px !important;
  }

  /* デスクトップ見出しフォントサイズの調整（折り返し抑制） */
  .hero-title {
    font-size: 3rem !important;
  }
}

/* スイッチコンソールの基本スタイリング（PC・タブレット含むすべてのサイズで適用） */
.studio-switches-under-tv {
  display: flex !important;
  justify-content: center !important;
  gap: 30px !important;
  margin-top: 20px !important;
  background: #e6dccb !important;
  border: 3px solid var(--color-text-dark) !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
}

.console-switch-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.console-switch-group .switch-label {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  color: var(--color-text-dark) !important;
  letter-spacing: 0.5px !important;
}

.retro-switch {
  position: relative !important;
  width: 46px !important;
  height: 28px !important;
  background: #312014 !important;
  border: 2px solid var(--color-text-dark) !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.5) !important;
  transition: background 0.2s ease !important;
  display: inline-block !important;
}

.retro-switch.active {
  background: #527a58 !important;
}

.switch-toggle {
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  width: 18px !important;
  height: 20px !important;
  background: linear-gradient(180deg, #ffffff, #dcdcdc) !important;
  border: 2px solid var(--color-text-dark) !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
}

.retro-switch.active .switch-toggle {
  transform: translateX(20px) !important;
}

/* --- SNS公式アカウントリンク --- */
.hero-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.social-links-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text-muted);
  margin-right: 4px;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-text-dark);
  background: var(--bg-card);
  color: var(--color-text-dark);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
}

.social-icon-link:hover {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
  border-color: var(--color-text-dark);
  box-shadow: var(--shadow-md);
}

.social-icon-link.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.social-icon-link.tiktok:hover {
  background: #000000;
  border-color: #000000;
}

.social-icon-link.x:hover {
  background: #14171a;
  border-color: #14171a;
}

/* ==========================================
   番組紹介帯セクション (Station Intro Band Section)
   ========================================== */

.station-intro-section {
  background-color: var(--bg-section);
  padding: 0;
  position: relative;
  z-index: 5;
}

.station-intro-section .section-container {
  padding: 50px 24px;
}

.station-intro-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  border: 4px solid var(--color-text-dark);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-md), 8px 8px 0 rgba(74, 50, 33, 0.15);
  position: relative;
  overflow: hidden;
}

.station-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.station-intro-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-align: center;
  z-index: 1;
}

.station-intro-mascot {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3.5px solid var(--color-primary);
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.station-intro-mascot .mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.station-intro-content {
  flex: 1;
  z-index: 1;
}

.station-intro-profile .hero-badge-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.station-intro-profile .badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 2px 2px 0 rgba(74, 50, 33, 0.15);
  white-space: nowrap;
}

.station-intro-profile .mascot-name {
  background: var(--bg-section);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.intro-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.intro-title .highlight {
  color: var(--color-primary);
}

.intro-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.station-intro-actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
  width: 260px;
  z-index: 1;
}

.station-intro-actions-wrapper .hero-buttons {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.station-intro-actions-wrapper .hero-buttons .btn-primary,
.station-intro-actions-wrapper .hero-buttons .btn-secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 800;
}

.station-intro-actions-wrapper .hero-social-links {
  margin-top: 0;
  width: 100%;
  justify-content: center;
}

/* ==========================================
   番組紹介帯セクション レスポンシブ対応
   ========================================== */

@media (max-width: 992px) {
  .station-intro-card {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 30px 24px;
  }



  .intro-title {
    font-size: 1.45rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .station-intro-actions-wrapper {
    width: 100%;
  }

  .station-intro-actions-wrapper .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .station-intro-actions-wrapper .hero-buttons .btn-primary,
  .station-intro-actions-wrapper .hero-buttons .btn-secondary {
    width: auto;
    flex-grow: 1;
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .station-intro-section .section-container {
    padding: 30px 16px;
  }

  .station-intro-card {
    padding: 24px 16px;
    box-shadow: var(--shadow-md), 5px 5px 0 rgba(74, 50, 33, 0.15);
  }

  .intro-title {
    font-size: 1.25rem;
  }

  .station-intro-actions-wrapper .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .station-intro-actions-wrapper .hero-buttons .btn-primary,
  .station-intro-actions-wrapper .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================
   ヒーローパノラマ4コママンガ (Hero Panorama Manga layout)
   ========================================== */

.hero-manga-container {
  width: 100%;
  max-width: 100%; /* デスクトップ幅いっぱいに広げる */
  padding: 0 40px;
}

.hero-manga-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* デスクトップ用：横4分割 */
  gap: 20px;
  background: #251610; /* 暗めの木目調スクリーン枠 */
  padding: 20px;
  border: 10px solid #331e15; /* 劇場の木製スクリーンフレームをイメージ */
  outline: 3px solid #d4af37; /* 高級感のあるゴールドトリム */
  outline-offset: -3px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 60px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.hero-manga-layout:hover {
  box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 80px rgba(230, 126, 34, 0.2);
}

.hero-manga-layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(74, 50, 33, 0.08) 1px, transparent 1px);
  background-size: 6px 6px;
  pointer-events: none;
  z-index: 0;
}

/* コマ割りとしての枠線とスタイル */
.hero-manga-layout .manga-panel {
  background-color: #faf6ec;
  border: 3.5px solid var(--color-text-dark);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3; /* 各コマを横長比率に統一して 1920x600 付近の比率に収める */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

/* デスクトップコマの傾き（コミック調の揺らぎ） */
.hero-manga-layout .panel-1 { transform: rotate(-0.8deg); }
.hero-manga-layout .panel-2 { transform: rotate(0.6deg); }
.hero-manga-layout .panel-3 { transform: rotate(-0.5deg); }
.hero-manga-layout .panel-4 { transform: rotate(0.9deg); }

.hero-manga-layout .manga-panel:hover {
  transform: scale(1.04) rotate(0deg) !important;
  z-index: 10;
  box-shadow: 0 12px 30px rgba(74, 50, 33, 0.35);
}

.hero-manga-layout .manga-caption {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-text-dark);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 5;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
}

.hero-manga-layout .manga-img-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
  background: #fdfaf2;
}

.hero-manga-layout .manga-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-manga-layout .manga-panel:hover .manga-img {
  transform: scale(1.07);
}

/* コミック風のフキダシ */
.hero-manga-layout .manga-bubble {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 3px solid var(--color-text-dark);
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 2.5px 2.5px 0 rgba(74, 50, 33, 0.2);
  z-index: 4;
  width: 90%;
  text-align: center;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-manga-layout .manga-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 6px 0;
  border-style: solid;
  border-color: #fff transparent;
  display: block;
  width: 0;
}

.hero-manga-layout .manga-bubble::before {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 11px 9px 0;
  border-style: solid;
  border-color: var(--color-text-dark) transparent;
  display: block;
  width: 0;
  z-index: -1;
}

/* 擬音 (Sound Effects Overlay) */
.hero-manga-layout .manga-sound-fx {
  position: absolute;
  font-family: 'Impact', 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-primary);
  text-shadow: 
    2px 2px 0 #fff, 
    -2px -2px 0 #fff, 
    2px -2px 0 #fff, 
    -2px 2px 0 #fff, 
    2.5px 2.5px 0 var(--color-text-dark);
  z-index: 6;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 各擬音の配置調整 */
.hero-manga-layout .panel-1 .manga-sound-fx {
  top: 12px;
  right: 6px;
  transform: rotate(15deg);
}

.hero-manga-layout .panel-2 .manga-sound-fx {
  top: 15px;
  left: 6px;
  transform: rotate(-15deg);
  color: var(--color-accent);
}

.hero-manga-layout .panel-3 .manga-sound-fx {
  top: 12px;
  right: 6px;
  transform: rotate(10deg);
}

.hero-manga-layout .panel-4 .manga-sound-fx {
  bottom: 8px;
  right: 8px;
  transform: rotate(-10deg);
  font-size: 1.15rem;
  color: #fff;
  text-shadow: 
    2px 2px 0 var(--color-text-dark), 
    -2px -2px 0 var(--color-text-dark), 
    2px -2px 0 var(--color-text-dark), 
    -2px 2px 0 var(--color-text-dark), 
    3.5px 3.5px 0 var(--color-primary);
}

/* ホバー時のリアクション */
.hero-manga-layout .manga-panel:hover .manga-bubble {
  transform: translateX(-50%) scale(1.04) translateY(-2px);
}

.hero-manga-layout .panel-1:hover .manga-sound-fx { transform: scale(1.15) rotate(20deg); }
.hero-manga-layout .panel-2:hover .manga-sound-fx { transform: scale(1.15) rotate(-20deg); }
.hero-manga-layout .panel-3:hover .manga-sound-fx { transform: scale(1.15) rotate(15deg); }
.hero-manga-layout .panel-4:hover .manga-sound-fx { transform: scale(1.15) rotate(-15deg); }

/* ==========================================
   パノラマ4コママンガ レレスポンシブ対応 (スマホ用 2x2 分割)
   ========================================== */

@media (max-width: 992px) {
  .hero-manga-container {
    max-width: 100%;
    padding: 0 20px;
  }

  .hero-manga-layout {
    grid-template-columns: repeat(2, 1fr); /* スマホ用：縦横2x2分割 */
    gap: 14px;
    padding: 14px;
    border-width: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  }

  .hero-manga-layout .manga-panel {
    aspect-ratio: 4 / 3;
    border-width: 3px;
  }

  .hero-manga-layout .manga-bubble {
    font-size: 0.62rem;
    padding: 4px 8px;
  }

  .hero-manga-layout .manga-sound-fx {
    font-size: 0.85rem;
  }
  
  .hero-manga-layout .panel-4 .manga-sound-fx {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-manga-container {
    padding: 0 12px;
  }
  
  .hero-manga-layout {
    gap: 8px;
    padding: 8px;
    border-width: 4px;
  }
  
  .hero-manga-layout .manga-panel {
    border-width: 2.5px;
  }

  .hero-manga-layout .manga-bubble {
    font-size: 0.58rem;
    line-height: 1.25;
    padding: 3px 6px;
  }

  .hero-manga-layout .manga-sound-fx {
    font-size: 0.75rem;
  }
}

/* ==========================================
   シアターン電飾看板・パディング設定 (Theater Marquee & Padding)
   ========================================== */

/* 劇場のフォレストグリーン電飾看板 (Marquee) */
.theater-marquee {
  background: linear-gradient(135deg, #1e3522, #0d1b10); /* コブナラ森の深いグリーン */
  border: 3.5px solid #d4af37;
  padding: 12px 40px;
  border-radius: 30px 10px 30px 10px; /* 変則の角丸で単調さを打破 */
  box-shadow: 
    0 12px 30px rgba(0,0,0,0.6), 
    0 0 20px rgba(212, 175, 55, 0.25);
  width: fit-content;
  margin: 0 auto 35px auto;
  z-index: 4;
  position: relative;
  text-align: center;
}

/* 電飾看板の周囲に光る黄色いドットライトを配置 */
.theater-marquee::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 4px dotted #f1c40f; /* 劇場風のドット電飾 */
  border-radius: 34px 14px 34px 14px;
  pointer-events: none;
  animation: marqueeLights 0.8s infinite alternate;
}

@keyframes marqueeLights {
  0% { opacity: 0.4; filter: drop-shadow(0 0 1px #f1c40f); }
  100% { opacity: 1; filter: drop-shadow(0 0 5px #f39c12); }
}

.marquee-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fffcf5; /* 温かみのあるクリーミーホワイト */
  text-shadow: 
    0 0 10px rgba(241, 196, 15, 0.8),
    2px 2px 0 #051408, 
    -1px -1px 0 #051408;
  letter-spacing: 3px;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 背景画像のカーテン幅に合わせて、デスクトップ側の左右パディングを調整 */
.hero-manga-container {
  padding: 0 160px; /* 幕と4コマ枠が被らないように十分な間隔を確保 */
}

/* モバイルレスポンシブでの調整 */
@media (max-width: 992px) {
  .hero-manga-container {
    padding: 0 80px;
  }

  .marquee-title {
    font-size: 1.45rem;
    letter-spacing: 2px;
  }
  
  .theater-marquee {
    padding: 10px 30px;
    margin-bottom: 25px;
  }
}

@media (max-width: 576px) {
  .hero-manga-container {
    padding: 0 12px;
  }

  .marquee-title {
    font-size: 1.15rem;
    letter-spacing: 1.5px;
  }

  .theater-marquee {
    padding: 8px 18px;
    margin-bottom: 20px;
    border-width: 2.5px;
    border-radius: 20px 8px 20px 8px;
  }
  
  .theater-marquee::before {
    border-radius: 23px 11px 23px 11px;
    border-width: 3px;
  }
}
