/* ============================================
   VTuber 伊吹しろう 公式サイト - メインCSS
   配色：深い赤、紅葉オレンジ、黒、白
   ============================================ */

:root {
  --color-primary: #8B0000; /* 深い赤 */
  --color-secondary: #D2691E; /* 紅葉オレンジ */
  --color-accent: #CD5C5C; /* 明るい赤 */
  --color-dark: #1a1a1a; /* 濃い黒 */
  --color-bg: #0a0a0a; /* 背景用の黒 */
  --color-text: #f5f5f5; /* テキスト白 */
  --color-text-secondary: #c0c0c0; /* セカンダリテキスト */
  --color-border: #333333; /* ボーダー */
  
  --font-primary: 'Noto Serif JP', serif;
  --font-secondary: 'Noto Sans JP', sans-serif;
  
  --transition: all 0.3s ease;
}

/* ============================================
   リセット & 基本設定
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   ヘッダー & ナビゲーション
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-text);
}

/* SPビュー: ヘッダーロゴのフォントサイズを調整 */
@media (max-width: 768px) {
  .logo {
    font-size: 1rem;
  }
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

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

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* ============================================
   ヒーローセクション
   ============================================ */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(10, 10, 10, 0.7));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: parallaxZoom 20s ease-in-out infinite alternate;
}

/* ヒーロー動画用スタイル */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* スマホビュー対応: 横幅が狭い場合は動画の横幅に合わせる */
@media (max-width: 768px) {
  .hero-bg-video {
    width: 100%;
    height: auto;
    min-height: 100%;
    min-width: auto;
  }
}

@keyframes parallaxZoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1.15); }
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scroll-indicator.visible {
  opacity: 1;
}

.scroll-indicator.hidden {
  opacity: 0;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid var(--color-secondary);
  border-radius: 20px;
  position: relative;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--color-text);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/* キャッチフレーズセクション */
#catchphrase {
  text-align: center;
  padding: 4rem 2rem;
}

.catchphrase-subtitle {
  font-size: 1.5rem;
  color: var(--color-text);
  font-family: var(--font-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.catchphrase-company {
  font-size: 1rem;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.catchphrase-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.catchphrase-text {
  font-size: 1.8rem;
  color: var(--color-secondary);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-top: 1rem;
}

/* SPビュー: キャッチフレーズの改行調整 */
@media (max-width: 768px) {
  .catchphrase-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   セクション共通
   ============================================ */

section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text);
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* ============================================
   カード共通デザイン
   ============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* グッズページ用：正方形画像 */
.goods-card .card-image {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: rgba(26, 26, 26, 0.9);
}

/* グッズページ用：グリッドレイアウト */
#goods-container {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* グッズカードの売り切れ状態 */
.goods-card.sold-out {
  position: relative;
}

.goods-card.sold-out:hover {
  transform: none;
  box-shadow: none;
}

.goods-card.sold-out .card-image {
  filter: grayscale(100%) brightness(0.7);
}

.goods-image-wrapper {
  position: relative;
}

.sold-out-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--font-secondary);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.goods-card.sold-out:hover .sold-out-overlay {
  opacity: 1;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.card-description {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  line-height: 1.6;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: rgba(139, 0, 0, 0.3);
  color: var(--color-secondary);
  border-radius: 20px;
  font-family: var(--font-secondary);
}

/* 動画埋め込み用スタイル */
.featured-work-item,
.work-item {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.featured-work-item:hover,
.work-item:hover {
  border-color: var(--color-secondary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.thumbnail-link {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 アスペクト比 */
  overflow: hidden;
  background: #000;
}

.featured-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.thumbnail-link:hover .featured-thumbnail {
  transform: scale(1.05);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 アスペクト比 */
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.featured-video,
.work-video {
  width: 100%;
  height: 100%;
}

.featured-work-item .card-title a,
.work-item .card-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

.featured-work-item .card-title a:hover,
.work-item .card-title a:hover {
  color: var(--color-secondary);
}

/* ============================================
   SNSリンク
   ============================================ */

.sns-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.sns-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: var(--transition);
  min-width: 120px;
}

.sns-link:hover {
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(139, 0, 0, 0.2);
}

.sns-icon {
  font-size: 2rem;
  color: var(--color-secondary);
}

.sns-name {
  font-size: 0.85rem;
  font-family: var(--font-secondary);
  color: var(--color-text-secondary);
}

/* ============================================
   ニュースセクション
   ============================================ */

.news-list {
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-secondary);
  border-radius: 4px;
  transition: var(--transition);
}

.news-item:hover {
  border-left-color: var(--color-primary);
  background: rgba(26, 26, 26, 0.95);
}

.news-date {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.news-body {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  line-height: 1.6;
}

/* ============================================
   ボタン
   ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 0, 0, 0.4);
  color: var(--color-text);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-text);
}

/* ============================================
   フッター
   ============================================ */

footer {
  background: var(--color-dark);
  border-top: 1px solid var(--color-border);
  padding: 3rem 2rem 1rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  font-size: 0.85rem;
}

/* ============================================
   プロフィールページ専用
   ============================================ */

.profile-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-image-wrapper {
  text-align: center;
}

.profile-image {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  border: 2px solid var(--color-secondary);
}

.profile-info {
  /* 外側の囲みを削除 */
}

.profile-name {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.profile-subtitle {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
}

.profile-details {
  list-style: none;
}

.profile-details li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  font-family: var(--font-secondary);
}

.profile-details li:last-child {
  border-bottom: none;
}

.profile-label {
  font-weight: bold;
  color: var(--color-secondary);
  min-width: 150px;
}

.profile-value {
  color: var(--color-text-secondary);
}

/* ============================================
   タブ切替（Works用）
   ============================================ */

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.8rem 2rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 50px;
}

.tab-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-text);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-color: transparent;
  color: var(--color-text);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   FAQページ
   ============================================ */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(26, 26, 26, 0.95);
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 500;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-secondary);
  transition: transform 0.5s ease;
  display: inline-block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  line-height: 1.8;
}

/* FAQ テンプレートボックス */
.template-box {
  background: rgba(40, 40, 40, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  position: relative;
}

.template-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
}

.copy-template-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(128, 128, 128, 0.5);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  font-family: var(--font-secondary);
}

.copy-template-btn:hover {
  background: rgba(128, 128, 128, 0.7);
  color: var(--color-text);
  transform: translateY(-2px);
}

/* ============================================
   ガイドラインページ
   ============================================ */

.guidelines-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 3rem;
}

.guidelines-content h2 {
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.guidelines-content h2:first-child {
  margin-top: 0;
}

.guidelines-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
  color: var(--color-text-secondary);
  line-height: 2;
}

.guidelines-content p {
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.important-notice {
  background: rgba(139, 0, 0, 0.2);
  border-left: 3px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* ============================================
   レスポンシブ対応
   ============================================ */

@media (max-width: 1024px) {
  .profile-container {
    grid-template-columns: 1fr;
  }
  
  .profile-image-wrapper {
    max-width: 100%;
  }
  
  .profile-image,
  .sanmenzu-image {
    max-width: 100%;
    width: 100%;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero .catchphrase {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
    border-left: 1px solid var(--color-border);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .catchphrase {
    font-size: 1.2rem;
  }
  
  section {
    padding: 4rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .guidelines-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .hero .catchphrase {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   シェアボタン（改修版）
   ============================================ */

.share-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.8rem;
}

.share-main-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.share-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.share-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--color-text);
  transition: all 0.3s ease;
}

/* ホバーエフェクト（PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.3);
  }
}

/* YouTube遷移ボタン（ホバー時のみ色変更 - PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .share-btn.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
  }

  .share-btn.youtube:hover svg {
    fill: #ffffff;
  }
}

/* X遷移ボタン（ホバー時のみ色変更 - PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .share-btn.twitter:hover {
    background: #000000;
    border-color: #000000;
  }

  .share-btn.twitter:hover svg {
    fill: #ffffff;
  }
}

/* シェアトグルボタン（ホバー時のみ色変更 - PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .share-btn.share-toggle:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
  }

  .share-btn.share-toggle:hover svg {
    fill: #ffffff;
  }
}

/* シェアトグルボタン（展開時に光る） */
.share-btn.share-toggle.active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: 0 0 20px rgba(210, 105, 30, 0.6);
}

.share-btn.share-toggle.active svg {
  fill: #ffffff;
}

/* シェアメニュー（左側に横一列表示、一番下に配置） */
.share-menu {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  margin-right: 0.8rem;
  order: 1;
}

.share-main-buttons {
  order: 2;
}

/* シェアオプションボタン */
.share-btn.share-option {
  opacity: 0;
}

/* LINEシェアボタン（ホバー時のみ色変更 - PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .share-btn.line:hover {
    background: #06C755;
    border-color: #06C755;
  }

  .share-btn.line:hover svg {
    fill: #ffffff;
  }
}

/* Xシェアボタン（ホバー時のみ色変更 - PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .share-btn.twitter-share:hover {
    background: #000000;
    border-color: #000000;
  }

  .share-btn.twitter-share:hover svg {
    fill: #ffffff;
  }
}

/* URLコピーボタン（ホバー時のみ色変更 - PCのみ） */
@media (hover: hover) and (pointer: fine) {
  .share-btn.url-copy:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
  }

  .share-btn.url-copy:hover svg {
    fill: #ffffff;
  }
}

@media (max-width: 768px) {
  .share-buttons {
    bottom: 1rem;
    right: 1rem;
    gap: 0.6rem;
  }
  
  .share-main-buttons {
    gap: 0.6rem;
  }
  
  .share-btn {
    width: 45px;
    height: 45px;
  }
  
  .share-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .share-menu {
    flex-direction: row;
    gap: 0.6rem;
    margin-right: 0.6rem;
  }
}

/* ============================================
   Breadcrumb Navigation (SEO Enhancement)
   ============================================ */

.breadcrumb {
  background: rgba(26, 26, 26, 0.5);
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-top: 70px; /* ヘッダー分の余白 */
  margin-bottom: 0.5rem; /* ページタイトルとの距離を調整 */
  font-family: var(--font-secondary);
  font-size: 0.875rem;
}

.breadcrumb-list {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
}

.breadcrumb-item a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--color-text);
  font-weight: 500;
}

.breadcrumb-separator {
  color: var(--color-text-secondary);
  user-select: none;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .breadcrumb-list {
    gap: 0.3rem;
  }
  
  .breadcrumb-item {
    gap: 0.3rem;
  }
}
