/*
  Skin Name: 3click Podcast
  Description: 3clickポッドキャスト公式サイト用スキン
  Skin URI: https://3click.jp/
  Author: 3click
  Author URI: https://3click.jp/
  Version: 1.0.0
  Priority: 1
*/

/* ===================================
   CSS Variables
   =================================== */
:root {
  --primary: #2b8cee;
  --primary-hover: #1a6bc7;
  --background-light: #f6f7f8;
  --background-dark: #101922;
  --spotify-green: #1DB954;
  --youtube-red: #ff0000;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --card-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Google Fonts Import
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ===================================
   Base Styles
   =================================== */
body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  background-color: var(--background-light);
  color: var(--text-dark);
  line-height: 1.7;
}

a {
  color: var(--primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

/* ===================================
   Cocoon Default Header (非フロントページ用)
   =================================== */
#header-container {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(246, 247, 248, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

#header-container-in {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

@media (min-width: 1024px) {
  #header-container-in {
    padding: 0.75rem 5rem;
  }
}

/* ロゴ部分 */
#header {
  flex: 0 0 auto;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

#header-in {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.site-name-text,
.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-name-text a {
  color: var(--text-dark);
  text-decoration: none;
}

.site-name-text a:hover {
  color: var(--text-dark);
}

/* ロゴアイコン */
.logo-header::before,
.site-name-text::before {
  content: 'graphic_eq';
  font-family: 'Material Symbols Outlined';
  font-size: 2rem;
  color: var(--primary);
  margin-right: 0.5rem;
  vertical-align: middle;
  display: inline-block;
  width: auto;
  height: auto;
  background: none;
  mask-image: none;
  -webkit-mask-image: none;
}

/* ナビメニュー */
#navi {
  flex: 1;
  margin: 0;
  padding: 0;
}

#navi-in {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.navi-in > ul,
.menu-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navi-in > ul > li > a,
.menu-header .menu-item a {
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.navi-in > ul > li > a:hover,
.menu-header .menu-item a:hover {
  color: var(--primary);
}

/* メニュー項目の下線を非表示 */
.navi-in > ul > li > a::after {
  display: none;
}

/* モバイルでナビメニューを非表示 */
@media screen and (max-width: 834px) {
  #navi {
    display: none;
  }
}

/* Header Button */
.header .btn,
.navi .btn-wrap a {
  background-color: var(--primary);
  color: #fff !important;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  font-weight: 700;
  transition: background-color 0.2s;
}

.header .btn:hover,
.navi .btn-wrap a:hover {
  background-color: var(--primary-hover);
}

/* ===================================
   フロントページ: Cocoonヘッダーを非表示
   =================================== */
.front-top-page #header-container,
body.home #header-container {
  display: none !important;
}

/* ===================================
   Custom Header (フロントページ用)
   =================================== */
.custom-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(246, 247, 248, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
}

@media (min-width: 1024px) {
  .custom-header {
    padding: 1rem 5rem;
  }
}

.custom-header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.custom-header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.custom-header-logo:hover {
  text-decoration: none;
}

.custom-header-logo .material-symbols-outlined {
  font-size: 2.25rem;
  color: var(--primary);
}

.custom-header-logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* カスタムヘッダーナビ */
.custom-header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.custom-header-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-header-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-header-menu li a {
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.custom-header-menu li a:hover {
  color: var(--primary);
}

/* モバイルでカスタムヘッダーナビを非表示 */
@media screen and (max-width: 768px) {
  .custom-header-nav {
    display: none;
  }
}

/* ===================================
   Platform Buttons Section
   =================================== */
.platform-section {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: #fff;
  padding: 2rem 1.5rem;
}

@media (min-width: 1024px) {
  .platform-section {
    padding: 2rem 5rem;
  }
}

.platform-container {
  max-width: 1280px;
  margin: 0 auto;
}

.platform-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .platform-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

.platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .platform-btn {
    font-size: 1rem;
  }
}

.platform-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lg);
  color: #fff;
  text-decoration: none;
}

.platform-btn .material-symbols-outlined {
  font-size: 1.25rem;
}

.platform-spotify {
  background-color: #1DB954;
}

.platform-amazon {
  background-color: #00A8E1;
}

.platform-apple {
  background-color: #FA243C;
}

.platform-youtube {
  background-color: #FF0000;
}

/* ===================================
   Main Content Area
   =================================== */
.main,
#main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ===================================
   Hero Section (Front Page)
   =================================== */
.front-top-page .hero-section,
.home .appeal {
  padding: 3rem 1.5rem 4rem;
  background-color: var(--background-light);
}

.appeal-content {
  max-width: 1280px;
  margin: 0 auto;
}

.appeal-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.appeal-title .primary {
  color: var(--primary);
}

.appeal-message {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 36rem;
  line-height: 1.75;
}

/* Badge */
.front-page-badge,
.tagline {
  display: inline-block;
  background-color: #fef9c3;
  color: #a16207;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-spotify {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--spotify-green);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  transition: filter 0.2s;
}

.btn-spotify:hover {
  filter: brightness(1.1);
  color: #fff;
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #fff;
  color: var(--text-dark);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 1px var(--border-light);
  transition: background-color 0.2s;
}

.btn-youtube:hover {
  background-color: #f8fafc;
  color: var(--text-dark);
}

/* ===================================
   Section Styles
   =================================== */
.section-title,
.widget-title,
.content h2,
.article h2 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

/* About Section */
.about-section {
  background-color: #fff;
  padding: 4rem 1.5rem;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lg);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-icon.blue {
  background-color: #dbeafe;
  color: var(--primary);
}

.feature-icon.yellow {
  background-color: #fef3c7;
  color: #d97706;
}

.feature-icon.orange {
  background-color: #ffedd5;
  color: #ea580c;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--text-light);
}

/* Members Section */
.members-section {
  background-color: #fefce8;
  padding: 4rem 1.5rem;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .members-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.member-card {
  text-align: center;
}

.member-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  border: 4px solid #fff;
  box-shadow: var(--card-shadow);
  margin: 0 auto 1rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.member-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.member-role {
  display: block;
  min-height: 1.125rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.member-role.producer {
  color: #f97316;
}

.member-bio {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ===================================
   Entry Cards (Posts)
   =================================== */
.entry-card,
.ect-vertical-card .entry-card-wrap {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s;
  border: none;
}

.entry-card:hover,
.ect-vertical-card .entry-card-wrap:hover {
  box-shadow: var(--card-shadow-lg);
}

.entry-card-thumb {
  border-radius: 0.75rem;
  overflow: hidden;
}

.entry-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.entry-card-title:hover {
  color: var(--primary);
}

.entry-card-snippet {
  color: var(--text-light);
  font-size: 0.875rem;
}

.entry-card-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
}

/* ===================================
   Spotify Embed
   =================================== */
.spotify-embed-container {
  max-width: 768px;
  margin: 0 auto 3rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--card-shadow-lg);
}

/* ===================================
   SNS Timeline Section
   =================================== */
.sns-section {
  background-color: #eff6ff;
  padding: 4rem 1.5rem;
}

.sns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .sns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sns-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--card-shadow-lg);
}

.sns-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.sns-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.sns-icon.instagram {
  background: linear-gradient(135deg, #fbbf24, #ef4444, #a855f7);
}

.sns-icon.twitter {
  background-color: #000;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.instagram-grid .item {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  background-size: cover;
  background-position: center;
}

.twitter-feed .tweet {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.twitter-feed .tweet:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tweet-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.tweet-author {
  font-weight: 700;
  color: var(--text-dark);
}

.tweet-handle {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-left: 0.5rem;
}

.tweet-text {
  font-size: 0.875rem;
  color: #475569;
  margin-top: 0.25rem;
}

/* ===================================
   Footer Styles
   =================================== */
.footer,
#footer {
  background-color: #fff;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-light);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.platform-icons {
  display: flex;
  gap: 1.5rem;
}

.platform-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: background-color 0.2s, color 0.2s;
}

.platform-icon:hover {
  background-color: #e2e8f0;
  color: var(--text-dark);
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ===================================
   Sidebar Styles
   =================================== */
.sidebar {
  background-color: transparent;
}

.widget {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow);
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  text-align: left;
}

/* ===================================
   Buttons
   =================================== */
.btn,
.wp-block-button__link,
button,
input[type="submit"] {
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--primary-hover);
  color: #fff;
}

.btn-m,
.pagination a,
.pagination span {
  border-radius: 0.5rem;
}

/* ===================================
   Pagination
   =================================== */
.pagination a,
.pagination span {
  background-color: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-light);
  font-weight: 600;
  transition: all 0.2s;
}

.pagination a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination .current {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===================================
   Breadcrumb
   =================================== */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* ===================================
   Single Post
   =================================== */
.article {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.article h1,
.entry-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-dark);
}

.article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.article h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.article p {
  margin-bottom: 1.5rem;
}

/* ===================================
   Comments
   =================================== */
.comment-area {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--card-shadow);
}

/* ===================================
   Mobile Responsive
   =================================== */
@media screen and (max-width: 1023px) {
  .appeal-title {
    font-size: 2rem;
  }

  .section-title,
  .widget-title,
  .content h2,
  .article h2 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 834px) {
  .header-container,
  .header-container-in {
    padding: 0.5rem 1rem;
  }

  .appeal-title {
    font-size: 1.75rem;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

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

@media screen and (max-width: 480px) {
  .appeal-title {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-spotify,
  .btn-youtube {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================
   Front Page Specific Styles
   =================================== */

/* フロントページの見出しリセット（Cocoonデフォルトスタイルの上書き） */
.front-page-wrapper h1,
.front-page-wrapper h2,
.front-page-wrapper h3,
.front-page-wrapper h4 {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
}

.front-page-wrapper h1::before,
.front-page-wrapper h2::before,
.front-page-wrapper h3::before,
.front-page-wrapper h4::before,
.front-page-wrapper h1::after,
.front-page-wrapper h2::after,
.front-page-wrapper h3::after,
.front-page-wrapper h4::after {
  display: none !important;
  content: none !important;
}

/* Hero Section */
.hero-section {
  padding: 3rem 1.5rem 4rem;
  background-color: var(--background-light);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.hero-title .primary {
  color: var(--primary);
  background: none !important;
  -webkit-text-fill-color: var(--primary);
  padding: 0;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 36rem;
  line-height: 1.75;
}

.hero-image {
  flex: 1;
}

.hero-image-inner {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.3s;
  background-color: #e2e8f0;
}

.hero-image-inner:hover {
  transform: rotate(1deg);
}

.hero-image-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(43, 140, 238, 0.2), transparent);
  mix-blend-mode: overlay;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 5rem 5rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }
}

/* Section Container */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .section-container {
    padding: 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.section-header-row .section-title {
  text-align: left;
  margin-bottom: 0;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--primary);
}

.view-all-link:hover {
  text-decoration: underline;
}

.view-all-link .material-symbols-outlined {
  font-size: 1rem;
}

/* About Section */
.about-section {
  background-color: #fff;
  padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
  .about-section {
    padding: 6rem 5rem;
  }
}

/* Members Section */
.members-section {
  background-color: #fefce8;
  padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
  .members-section {
    padding: 6rem 5rem;
  }
}

/* Episodes Section */
.episodes-section {
  background-color: var(--background-light);
  padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
  .episodes-section {
    padding: 6rem 5rem;
  }
}

.episode-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .episode-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .episode-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.episode-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #fff;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s;
}

.episode-card:hover {
  box-shadow: var(--card-shadow-lg);
}

.episode-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 0.5rem;
  background-size: cover;
  background-position: center;
  background-color: #e2e8f0;
}

.episode-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.episode-meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
}

.episode-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}

.episode-card:hover .episode-title {
  color: var(--primary);
}

/* Episode RSS Placeholder */
.episode-rss-placeholder {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background-color: #fff;
  border-radius: 0.75rem;
  border: 2px dashed var(--border-light);
  text-align: center;
}

.episode-rss-placeholder .material-symbols-outlined {
  font-size: 3rem;
  color: #cbd5e1;
}

.episode-rss-placeholder p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* SNS Section */
.sns-section {
  background-color: #eff6ff;
  padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
  .sns-section {
    padding: 6rem 5rem;
  }
}

.sns-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sns-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.sns-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.sns-follow-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.sns-follow-link:hover {
  text-decoration: underline;
}

/* SNS Embed Body */
.sns-embed-body {
  min-height: 400px;
}

.instagram-embed-iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: 0.5rem;
}

.sns-embed-body .twitter-timeline {
  border-radius: 0.5rem;
}

/* SNS Placeholder */
.sns-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 300px;
  background-color: #f8fafc;
  border-radius: 0.5rem;
  border: 2px dashed #e2e8f0;
  padding: 2rem;
  text-align: center;
}

.sns-placeholder p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Material Symbols */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ===================================
   Spotify CTAボタン
   =================================== */
.spotify-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: #1DB954;
  color: #fff;
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.2s;
}

.spotify-cta-btn:hover {
  filter: brightness(1.1);
  color: #fff;
  text-decoration: none;
}

.spotify-cta-btn .material-symbols-outlined {
  font-size: 1rem;
}

/* ===================================
   ハンバーガーボタン
   =================================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 51;
  position: relative;
}

@media screen and (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   モバイルナビ（右スライドドロワー）
   =================================== */

/* スモーク背景（左側エリア） */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 48;
  background-color: rgba(0, 0, 0, 0.45);
}

.mobile-nav-backdrop.open {
  display: block;
}

@media screen and (min-width: 769px) {
  .mobile-nav-backdrop {
    display: none !important;
  }
}

/* ドロワーパネル */
.mobile-nav {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 85%;
  max-width: 360px;
  z-index: 49;
  background-color: #f6f7f8;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.mobile-nav.open {
  transform: translateX(0);
}

@media screen and (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav-inner {
  width: 100%;
  padding-top: 4rem; /* JSでヘッダー実高さに上書きされる */
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mobile-nav-menu li a {
  display: block;
  padding: 1.125rem 2rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.mobile-nav-menu li a:hover {
  color: var(--primary);
  background-color: rgba(0, 0, 0, 0.03);
}

/* ===================================
   横スクロール防止（全体）
   =================================== */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

.front-page-wrapper {
  overflow-x: hidden;
  padding-top: 4rem; /* fixed header分の余白（JSで実高さに上書き） */
}

/* ===================================
   スマートフォン最適化 (max-width: 480px)
   360px最低保証
   =================================== */
@media screen and (max-width: 480px) {

  /* ----- カスタムヘッダー ----- */
  .custom-header {
    padding: 0.75rem 1rem;
  }

  .custom-header-logo {
    gap: 0.5rem;
  }

  .custom-header-logo .material-symbols-outlined {
    font-size: 1.75rem;
  }

  .custom-header-logo-text {
    font-size: 1.25rem;
  }

  /* ----- ヒーローセクション ----- */
  .hero-section {
    padding: 2rem 1rem 2.5rem;
  }

  .hero-content {
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  /* ----- プラットフォームボタン ----- */
  .platform-section {
    padding: 1.25rem 1rem;
  }

  .platform-buttons {
    gap: 0.5rem;
  }

  .platform-btn {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
    border-radius: 0.625rem;
  }

  .platform-btn .material-symbols-outlined {
    font-size: 1.125rem;
  }

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

  .about-section,
  .members-section,
  .episodes-section,
  .sns-section {
    padding: 3rem 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* セクションタイトル */
  .section-title,
  .widget-title,
  .content h2,
  .article h2 {
    font-size: 1.375rem;
  }

  .section-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* セクションヘッダー行（タイトル + リンク）を縦積みに */
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .section-header-row .section-title {
    text-align: left;
    font-size: 1.375rem;
  }

  .view-all-link {
    font-size: 0.875rem;
  }

  /* ----- メンバーグリッド ----- */
  .members-grid {
    gap: 1.25rem;
  }

  .member-avatar {
    width: 5.5rem;
    height: 5.5rem;
  }

  .member-name {
    font-size: 1rem;
  }

  .member-bio {
    font-size: 0.8125rem;
  }

  /* ----- エピソードカード ----- */
  .episode-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .episode-title {
    font-size: 1rem;
  }

  /* ----- SNSカード ----- */
  .sns-card {
    padding: 1rem;
  }

  .sns-embed-body {
    min-height: 300px;
  }

  .instagram-embed-iframe {
    min-height: 400px;
  }

  /* ----- フッター ----- */
  .footer,
  #footer {
    padding: 2rem 1rem;
  }
}
