/* css/cameo.css */

/* ==================== 基本設定 ==================== */
:root {
  --primary-color: #0f5881;
  --primary-dark: #084164;
  --primary-light: #1a6a96;
  --accent-color: #d91c1c;
  --text-color: #333333;
  --text-light: #ffffff;
  --bg-color: #f7f7f7;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 3px 6px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==================== ヘッダー ==================== */
.site-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 2rem 0;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://eikyuhozon.com/image/mk-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.site-header .container {
  position: relative;
  z-index: 1;
}

.site-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.site-description {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ==================== イントロセクション ==================== */
.intro-section {
  margin-bottom: 3rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.intro-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.intro-text {
  flex: 1;
  min-width: 300px;
}

.intro-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ==================== 操作方法セクション ==================== */
.controls-section {
  margin-bottom: 3rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.controls-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.controls-image {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ==================== キャラクター一覧セクション ==================== */
.character-list-section {
  margin-bottom: 3rem;
}

.character-list-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2rem;
}

.search-filter {
  display: flex;
  margin-bottom: 1.5rem;
  justify-content: center;
  gap: 1rem;
}

#characterSearch {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
  font-size: 1rem;
}

.toggle-view-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-view-btn:hover {
  background-color: var(--primary-dark);
}

/* グリッド表示 */
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* リスト表示 */
.character-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.character-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.character-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.character-grid .character-card {
  display: flex;
  flex-direction: column;
}

.character-list .character-card {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.character-image {
  position: relative;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-light);
}

.character-grid .character-image {
  height: 120px;
}

.character-list .character-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.character-image img {
  max-height: 100%;
  max-width: 100%;
  transition: var(--transition);
}

.character-card:hover .character-image img {
  transform: scale(1.1);
}

.character-info {
  padding: 1rem;
  flex-grow: 1;
}

.character-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.jp-name {
  font-size: 0.9rem;
  opacity: 0.8;
}

.view-detail-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.view-detail-btn:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* 新キャラクターバッジ */
.new-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-color);
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0 8px 0 8px;
}

/* ==================== キャラクター詳細セクション ==================== */
.character-details {
  margin-bottom: 3rem;
}

.character-details h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2rem;
}

.character-detail-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  padding: 2rem;
}

.character-detail-title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.8rem;
}

.character-detail-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.character-portrait {
  flex: 1;
  min-width: 300px;
}

.character-description {
  flex: 2;
  min-width: 300px;
}

.character-description h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.character-description p {
  margin-bottom: 1rem;
}

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

.fatality-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.fatality-img, .command-img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.command-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.command-section {
  flex: 1;
  min-width: 300px;
}

.command-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.command-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.back-to-list {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  margin-top: 1rem;
  transition: var(--transition);
}

.back-to-list:hover {
  background-color: var(--primary-dark);
  color: white;
}

.command-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  margin-top: 0.5rem;
  transition: var(--transition);
}

.command-link:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* ==================== フッター ==================== */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 2rem 0;
  text-align: center;
}

/* ==================== レスポンシブ設定 ==================== */
@media (max-width: 768px) {
  .site-title {
    font-size: 2rem;
  }

  .character-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .character-list .character-card {
    flex-direction: column;
  }

  .character-list .character-image {
    width: 100%;
    height: 120px;
  }

  .command-sections {
    flex-direction: column;
  }

  .character-grid .character-image {
    height: 100px;
  }
}

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

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

  .character-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .character-info h3 {
    font-size: 1rem;
  }

  .character-grid .character-image {
    height: 80px;
  }

  .intro-section, .controls-section, .character-detail-card {
    padding: 1rem;
  }

  .character-detail-title {
    font-size: 1.5rem;
  }

  .character-description h4, .fatality-section h4, .command-section h4 {
    font-size: 1.2rem;
  }
}
/* ==================== ゲーム基本情報セクション ==================== */
.game-info-section {
  margin-bottom: 3rem;
}

.game-info-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2rem;
  position: relative;
}

.game-info-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

.game-info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.game-info-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.game-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.game-info-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon {
  font-size: 1.5rem;
}

.game-info-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.game-info-table {
  width: 100%;
  border-collapse: collapse;
}

.game-info-table th, .game-info-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.game-info-table th {
  width: 40%;
  color: var(--primary-color);
  font-weight: 600;
  vertical-align: top;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.info-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

  .game-info-table th {
    width: 35%;
  }
}

@media (max-width: 480px) {
  .game-info-table th, .game-info-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .game-info-header h3 {
    font-size: 1rem;
  }

  .info-icon {
    font-size: 1.2rem;
  }
}
/* ==================== コマンド一覧セクション ==================== */
.command-list-section {
  margin-bottom: 3rem;
}

.command-list-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2rem;
  position: relative;
}

.command-list-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.character-select, .move-type-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: white;
  font-size: 1rem;
  min-width: 200px;
}

.command-tables-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.command-table-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.command-table-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.character-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  padding: 2px;
}

.command-table-header h3 {
  margin: 0;
  font-size: 1.4rem;
}

.command-table-content {
  padding: 1.5rem;
}

.command-category {
  margin-bottom: 2rem;
}

.command-category:last-child {
  margin-bottom: 0;
}

.category-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.2rem;
}

.command-table {
  width: 100%;
  border-collapse: collapse;
}

.command-table th, .command-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.command-table th {
  background-color: #f8f8f8;
  font-weight: 600;
}

.command-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.command-table tr:hover {
  background-color: #f0f0f0;
}

/* ボタンとコマンドのスタイル */
.button, .direction {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin: 0 0.15rem;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
}

.button {
  background-color: var(--primary-color);
  color: white;
}

.direction {
  background-color: #333;
  color: white;
}

@media (max-width: 768px) {
  .command-filter {
    flex-direction: column;
    align-items: center;
  }

  .character-select, .move-type-select {
    width: 100%;
    max-width: 300px;
  }

  .command-table th, .command-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .button, .direction {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .command-table th, .command-table td {
    padding: 0.4rem;
    font-size: 0.8rem;
  }

  .command-table-header h3 {
    font-size: 1.2rem;
  }

  .category-title {
    font-size: 1.1rem;
  }

  .button, .direction {
    padding: 0.15rem 0.3rem;
    font-size: 0.75rem;
    margin: 0.05rem;
  }
}
/* ==================== おすすめセクション ==================== */
#recommendations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  position: relative;
  padding-top: 3rem;
}

#recommendations::before {
  content: 'おすすめ記事';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: bold;
}

#recommendations::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
}

#recommendations a {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-color);
  height: 100%;
}

#recommendations a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

#recommendations img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
}

#recommendations a > span,
#recommendations a > div,
#recommendations a:not(:has(span, div)) {
  padding: 1rem;
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  flex-grow: 1;
}

#recommendations br {
  display: none;
}

/* おすすめセクションのブレークポイント */
@media (max-width: 992px) {
  #recommendations {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #recommendations {
    grid-template-columns: repeat(2, 1fr);
  }

  #recommendations img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  #recommendations {
    grid-template-columns: 1fr;
  }

  #recommendations::before {
    font-size: 1.5rem;
  }

  #recommendations img {
    height: 200px;
  }
}
/* ==================== フッターコピーライト部分 ==================== */
.copy {
  background-color: #05374e; /* 少し暗めのモータルコンバットのキーカラー */
  color: #f7f7f7;
  padding: 2rem 0;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.copy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d91c1c, #0f5881, #d91c1c);
  box-shadow: 0 0 10px rgba(217, 28, 28, 0.5);
}

.copy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://eikyuhozon.com/image/mk-bg-pattern.webp') center/cover;
  opacity: 0.05;
  z-index: 0;
}

.copy > div {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info a {
  color: #4dc4ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-info img {
  vertical-align: middle;
  margin-right: 0.5rem;
}

.usage-terms {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.usage-terms p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.copyright a {
  color: #4dc4ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.copyright a:hover {
  color: #fff;
  transform: scale(1.05);
}

.copyright img {
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(77, 196, 255, 0.5);
}

/* 特殊効果: モータルコンバットの残虐表現風の赤い点滅エフェクト */
@keyframes fatality-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(77, 196, 255, 0.5); }
  50% { box-shadow: 0 0 15px rgba(217, 28, 28, 0.8); }
}

.copyright img:hover {
  animation: fatality-glow 2s infinite;
}

@media (max-width: 768px) {
  .copy {
    padding: 1.5rem 0;
  }

  .contact-info, .usage-terms, .copyright {
    text-align: center;
  }

  .contact-info {
    justify-content: center;
  }

  .copyright {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .copy {
    padding: 1rem 0;
  }

  .usage-terms p {
    font-size: 0.8rem;
  }

  .copyright {
    font-size: 0.8rem;
  }
}
/* ==================== 記事メタ情報（更新日時・SNSボタン） ==================== */
.article-meta {
  margin: 2rem 0;
  background-color: rgba(15, 88, 129, 0.1);
  border-radius: 8px;
  padding: 1rem;
  position: relative;
}

.article-meta::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #0f5881, #d91c1c);
  border-radius: 8px 0 0 8px;
}

.meta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.update-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.time-icon {
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230f5881"><path d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4M12.5,7H11V13L16.2,16.2L17,14.9L12.5,12.2V7Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.time {
  margin: 0;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.time time {
  font-weight: 600;
}

.share-buttons {
  display: flex;
  align-items: center;
}

.share-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Twitter/Xボタンカスタマイズ */
.twitter-share-button {
  transform: scale(1.1);
  transform-origin: right center;
}

/* Facebookボタンカスタマイズ */
.fb-share-button {
  margin-left: 0.25rem;
}

.fb-share-button a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #1877f2;
  color: white;
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.fb-share-button a:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
}

/* モータルコンバット風のホバーエフェクト */
.share-buttons:hover::after {
  content: 'SHARE FATALITY';
  position: absolute;
  font-size: 0.6rem;
  color: #d91c1c;
  bottom: -1rem;
  right: 1rem;
  opacity: 0;
  animation: fade-in-out 1.5s ease-in-out;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 3px rgba(217, 28, 28, 0.5);
}

@keyframes fade-in-out {
  0% { opacity: 0; transform: translateY(5px); }
  50% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .meta-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-buttons {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .article-meta {
    padding: 0.75rem;
  }

  .time {
    font-size: 0.8rem;
  }

  .share-group {
    gap: 0.5rem;
  }
}

/* ==================== パンくずリスト ==================== */
.breadcrumb-nav {
  margin: 1rem 0 2rem;
  background-color: rgba(15, 88, 129, 0.05);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.breadcrumb-nav::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #0f5881, #d91c1c);
  opacity: 0.6;
}

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

.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.breadcrumb-item:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 0.5rem;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230f5881"><path d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}

.breadcrumb-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  display: inline-block;
}

.breadcrumb-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* モータルコンバット風ホバーエフェクト */
.breadcrumb-link:hover::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #d91c1c;
  animation: slide-in 0.3s ease-out;
  transform-origin: left;
}

@keyframes slide-in {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.current-page {
  color: #777;
  font-weight: 600;
}

/* 現在のページを強調 */
.breadcrumb-item.active {
  position: relative;
}

.breadcrumb-item.active::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 100%;
  left: -6px;
  background-color: var(--primary-color);
  border-radius: 2px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .breadcrumb-nav {
    margin: 0.75rem 0 1.5rem;
    padding: 0.5rem 0.75rem;
  }

  .breadcrumb {
    gap: 0.25rem;
  }

  .breadcrumb-item {
    font-size: 0.8rem;
  }

  .breadcrumb-item:not(:last-child)::after {
    width: 12px;
    height: 12px;
    margin-left: 0.25rem;
  }
}

@media (max-width: 480px) {
  .breadcrumb-nav {
    margin: 0.5rem 0 1rem;
    padding: 0.5rem;
  }

  .breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .breadcrumb-item {
    white-space: nowrap;
  }
}
/* ==================== モータルコンバットタイトル（インパクトあるアニメーション） ==================== */
.site-header {
  background: linear-gradient(to bottom, #0a4565, #0f5881);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* 初期フラッシュ効果 - モータルコンバットの残酷演出風 */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 1;
  opacity: 0;
  animation: titleFlash 0.3s ease-out forwards;
}

@keyframes titleFlash {
  0% { opacity: 0; }
  50% { opacity: 0.8; }
  100% { opacity: 0; }
}

.site-title {
  position: relative;
  color: white;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.5rem 0;
  padding: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.8);
  animation: titleReveal 0.8s cubic-bezier(.17,.67,.35,1.44) forwards 0.3s;
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: scale(0.8);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    text-shadow: 0 0 20px rgba(217, 28, 28, 0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
}

.site-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: #d91c1c;
  animation: lineExpand 0.8s ease-out forwards 0.8s;
}

@keyframes lineExpand {
  0% { width: 0; }
  100% { width: 80px; }
}

.site-description {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 1.2rem;
  margin: 1.5rem 0 0 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards 1.2s;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* コンテナ全体に背景効果 */
.site-header .container {
  position: relative;
  z-index: 2;
}

/* モータルコンバット風の点滅効果 */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d91c1c, transparent);
  animation: bottomGlow 2s infinite alternate;
}

@keyframes bottomGlow {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .site-header {
    padding: 2rem 0;
  }

  .site-title {
    font-size: 2rem;
  }

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

@media (max-width: 480px) {
  .site-header {
    padding: 1.5rem 0;
  }

  .site-title {
    font-size: 1.5rem;
  }

  .site-description {
    font-size: 0.9rem;
  }
}
/* ==================== ナビゲーションボタン ==================== */
.navigation-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.nav-button {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  z-index: 1;
}

.nav-button::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0));
  transition: all 0.5s ease;
  z-index: 2;
}

.nav-button:hover::after {
  left: 100%;
}

.nav-button i {
  font-size: 1.2rem;
  position: relative;
  z-index: 3;
}

.nav-button span {
  position: relative;
  z-index: 3;
}

.back-button {
  background-color: var(--primary-color);
  color: white;
}

.back-button:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.related-button {
  background-color: #d91c1c;
  color: white;
}

.related-button:hover {
  background-color: #b01717;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .navigation-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-button {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .nav-button {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  .nav-button i {
    font-size: 1rem;
  }
}
