/* bo.css - ヌーブ・サイボット技表のスタイル */
:root {
    --key-color: #228140;
    --sub-color: #8f69cf;
    --base-text: #191412;
    --item-bg: #adaea8;
    --base-bg: #191412;
}

/* リセットと基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: #191412;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.5;
}

body {
    color: #e0e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ヘッダー */
header {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding: 30px 0;
    background: linear-gradient(to bottom, rgba(34, 129, 64, 0.3), rgba(25, 20, 18, 0));
    border-bottom: 2px solid var(--key-color);
}

.logo-container h1 {
    color: var(--key-color);
    font-size: 3rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(34, 129, 64, 0.7), 0 0 20px rgba(34, 129, 64, 0.4);
}

.logo-container h2 {
    color: var(--sub-color);
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}

/* 目次 */
.toc-section {
    background-color: rgba(34, 129, 64, 0.1);
    border: 1px solid var(--key-color);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 40px;
}

.toc-section h2 {
    color: var(--key-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--sub-color);
    padding-bottom: 10px;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.toc-column h3 {
    color: var(--sub-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(143, 105, 207, 0.3);
}

.toc-column ul {
    list-style: none;
}

.toc-column li {
    margin-bottom: 8px;
}

.toc-column a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 4px 6px;
}

.toc-column a:hover {
    color: var(--key-color);
    background-color: rgba(34, 129, 64, 0.1);
    border-radius: 3px;
}

/* メインコンテンツ */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
}

.move-category {
    margin-bottom: 40px;
}

.move-category h2 {
    color: #fff;
    background-color: var(--key-color);
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.move-item {
    background-color: rgba(173, 174, 168, 0.1);
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(143, 105, 207, 0.3);
}

.move-header {
    background-color: rgba(143, 105, 207, 0.3);
    padding: 10px 15px;
}

.move-header h3 {
    color: #fff;
    font-size: 1.3rem;
}

.jp-name {
    font-size: 1rem;
    opacity: 0.9;
    margin-left: 10px;
}

.move-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.move-image {
    text-align: center;
}

.move-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--key-color);
}

.move-info {
    background-color: var(--item-bg);
    border-radius: 4px;
    overflow: hidden;
}

.move-details {
    width: 100%;
    border-collapse: collapse;
}

.move-details th, .move-details td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(25, 20, 18, 0.2);
}

.move-details th {
    background-color: rgba(34, 129, 64, 0.7);
    color: #fff;
    width: 130px;
    font-weight: normal;
}

.move-details td {
    background-color: var(--item-bg);
    color: var(--base-text);
}

/* フッター */
footer {
    text-align: center;
    padding: 20px 0;
    color: #888;
    border-top: 1px solid var(--key-color);
    margin-top: 50px;
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
    .move-content {
        flex-direction: row;
    }

    .move-image {
        flex: 0 0 60%;
    }

    .move-info {
        flex: 0 0 40%;
    }
}

@media (max-width: 767px) {
    .logo-container h1 {
        font-size: 2rem;
    }

    .logo-container h2 {
        font-size: 1.2rem;
    }

    .move-details th {
        width: 100px;
    }
}

/* パンくずリスト */
.breadcrumb-nav {
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.breadcrumb-item:not(:first-child)::before {
  content: ">";
  margin: 0 8px;
  color: var(--sub-color);
}

.breadcrumb-link {
  color: var(--sub-color);
  text-decoration: none;
}

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

.current-page {
  color: var(--key-color);
}

/* フッター（著作権表記部分）スタイル */
.copy {
  background-color: rgba(34, 129, 64, 0.1);
  border-top: 1px solid var(--key-color);
  padding: 20px;
  margin-top: 40px;
  color: #e0e0e0;
  font-size: 0.9rem;
}

.contact-info, .usage-terms, .copyright {
  margin-bottom: 20px;
  padding: 15px;
  background-color: rgba(143, 105, 207, 0.1);
  border-radius: 5px;
  border-left: 3px solid var(--sub-color);
}

.contact-info a, .copyright a {
  color: var(--sub-color);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info a:hover, .copyright a:hover {
  color: var(--key-color);
  text-shadow: 0 0 5px rgba(34, 129, 64, 0.5);
}

.contact-info img {
  vertical-align: middle;
  margin-right: 5px;
}

.usage-terms p {
  margin-bottom: 8px;
  line-height: 1.5;
}

.copyright {
  text-align: center;
  font-weight: bold;
  border-left: none;
  border-bottom: 3px solid var(--key-color);
  background: linear-gradient(to bottom, rgba(34, 129, 64, 0.2), rgba(25, 20, 18, 0.1));
}

.copyright img {
  vertical-align: middle;
  margin-right: 5px;
  filter: drop-shadow(0 0 2px rgba(143, 105, 207, 0.8));
}

.push0 {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background-color: rgba(34, 129, 64, 0.2);
  border-radius: 3px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.push0:hover {
  background-color: rgba(34, 129, 64, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* モータルコンバット風の装飾効果 */
.copyright::before, .copyright::after {
  content: "◆";
  color: var(--sub-color);
  margin: 0 10px;
  font-size: 1.2rem;
  text-shadow: 0 0 8px rgba(143, 105, 207, 0.8);
}

@media (max-width: 767px) {
  .copy {
    padding: 15px 10px;
  }

  .contact-info, .usage-terms, .copyright {
    padding: 10px;
  }

  .copyright::before, .copyright::after {
    display: none;
  }
}

/* 更新時間 */
.time {
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-bottom: 15px;
  padding: 8px 12px;
  background-color: rgba(34, 129, 64, 0.2);
  border-left: 3px solid var(--key-color);
  display: inline-block;
  border-radius: 0 4px 4px 0;
}

.time time {
  font-weight: bold;
  color: var(--sub-color);
}

/* SNSボタン */
.share-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  padding: 10px;
  background-color: rgba(173, 174, 168, 0.1);
  border-radius: 5px;
  width: fit-content;
}

.twitter-share-button, .fb-share-button {
  transition: transform 0.3s ease;
}

.twitter-share-button:hover, .fb-share-button:hover {
  transform: translateY(-2px);
}

/* SNSセクション全体のスタイル */
.social-section {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px;
  background: linear-gradient(to right, rgba(34, 129, 64, 0.1), rgba(143, 105, 207, 0.1));
  border-radius: 5px;
}

/* おすすめコンテンツセクション */
#recommendations {
  margin: 40px 0;
  padding: 20px;
  background-color: rgba(34, 129, 64, 0.1);
  border: 1px solid var(--key-color);
  border-radius: 5px;
  position: relative;
}

#recommendations::before {
  content: "おすすめコンテンツ";
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: var(--base-bg);
  color: var(--sub-color);
  padding: 0 15px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 3px solid var(--key-color);
  border-right: 3px solid var(--key-color);
}

#recommendations::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--key-color), var(--sub-color), var(--key-color));
}

/* 従来のBRタグを非表示にし、フレックスレイアウトで配置 */
#recommendations {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

#recommendations br {
  display: none;
}

/* カード形式のリンク */
#recommendations .push0 {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  background-color: rgba(25, 20, 18, 0.8);
  border: 1px solid var(--sub-color);
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  padding-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

#recommendations .push0:hover {
  transform: translateY(-5px);
  border-color: var(--key-color);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 129, 64, 0.4);
}

/* 画像スタイル */
#recommendations .push0 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 2px solid var(--key-color);
  transition: all 0.3s ease;
}

#recommendations .push0:hover img {
  filter: brightness(1.1);
}

/* テキストスタイル */
#recommendations .push0::after {
  content: attr(href);
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 0.7rem;
  color: var(--sub-color);
  opacity: 0.7;
}

/* テキストコンテナ */
#recommendations .push0 {
  position: relative;
}

#recommendations .push0 img + br + text,
#recommendations .push0 > text {
  display: block;
  padding: 10px 15px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

/* モータルコンバット風の装飾 */
#recommendations .push0::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(34, 129, 64, 0.1) 0%,
    rgba(34, 129, 64, 0) 20%,
    rgba(143, 105, 207, 0) 80%,
    rgba(143, 105, 207, 0.1) 100%
  );
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

#recommendations .push0:hover::before {
  opacity: 1;
}

/* モバイル向けレスポンシブデザイン */
@media (max-width: 767px) {
  #recommendations {
    flex-direction: column;
  }

  #recommendations .push0 {
    width: 100%;
    margin-bottom: 15px;
  }

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

/* キャラクター紹介セクション */
.character-intro {
    background-color: rgba(34, 129, 64, 0.1);
    border: 1px solid var(--key-color);
    border-radius: 5px;
    padding: 20px;
    margin: 30px 0;
    position: relative;
    box-shadow: 0 0 15px rgba(143, 105, 207, 0.3);
}

.character-intro h2 {
    color: var(--key-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(34, 129, 64, 0.5);
}

.character-intro .subtitle {
    color: var(--sub-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(143, 105, 207, 0.3);
    padding-bottom: 10px;
}

.character-description {
    background-color: rgba(173, 174, 168, 0.1);
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid var(--sub-color);
}

.character-description p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* 特殊効果 */
.character-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right,
        rgba(34, 129, 64, 0.2) 0%,
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
    border-radius: 5px;
}
/* キャラクター紹介の画像スタイル */
.character-intro .content-image {
    margin: 15px 0 20px;
    text-align: center;
}

.character-intro .content-image img {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--key-color);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(34, 129, 64, 0.4);
}

.character-intro .content-image figcaption {
    color: var(--sub-color);
    font-style: italic;
    margin-top: 8px;
    font-size: 0.9rem;
}

/* 目次へ戻るボタン */
.back-to-toc {
    margin-top: 20px;
    width: 100%;
}

.back-to-toc a {
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background: linear-gradient(to right, var(--key-color), var(--sub-color));
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.back-to-toc a:hover {
    background: linear-gradient(to right, var(--sub-color), var(--key-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(34, 129, 64, 0.5);
}

.back-to-toc a:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
