/* aza-choubei.css */
/* 基本カラー設定 */
:root {
  --main-color: #f1c40f; /* 弔兵衛の髪の黄色 */
  --accent-color: #9b59b6; /* 桐馬カラーの紫 */
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --background-color: #1a1a1a;
  --text-color: #f5f5f5;
  --section-bg: rgba(20, 20, 20, 0.7);
}

/* 基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231a1a1a"/><path d="M0,0L100,100M100,0L0,100" stroke="%23333" stroke-width="1"/></svg>');
  background-attachment: fixed;
}

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

/* ヘッダー */
header {
  padding: 40px 0 20px;
  text-align: center;
  position: relative;
}

header:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--main-color), transparent);
}

h1 {
  color: var(--main-color);
  font-size: 28px;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
  position: relative;
  display: inline-block;
}

h1:before, h1:after {
  content: "⚔️";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

h1:before {
  left: -40px;
}

h1:after {
  right: -40px;
}

/* 目次 */
.toc {
  background-color: var(--section-bg);
  border-left: 5px solid var(--main-color);
  margin: 30px 0;
  padding: 15px;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.toc ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.toc li {
  margin: 8px 0;
  width: 100%;
}

.toc a {
  color: var(--main-color);
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: inline-block;
}

.toc a:hover {
  background-color: var(--accent-color);
  color: var(--light-color);
  transform: translateX(5px);
}

/* セクション共通 */
section {
  margin: 50px 0;
  padding: 25px;
  background-color: var(--section-bg);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--main-color), var(--accent-color));
}

h2 {
  color: var(--main-color);
  font-size: 24px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

h3 {
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 20px;
}

h4 {
  color: var(--main-color);
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

p {
  margin-bottom: 20px;
}

/* 画像 */
figure {
  margin: 20px 0 30px;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--main-color);
}

/* プロフィール */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.profile-item {
  background-color: rgba(50, 50, 50, 0.5);
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.profile-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  background-color: rgba(70, 70, 70, 0.7);
}

.profile-item h4 {
  color: var(--main-color);
  margin-bottom: 8px;
  position: relative;
}

.profile-item h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 50%;
  height: 2px;
  background-color: var(--accent-color);
}

.profile-item p {
  margin-bottom: 0;
}

/* エピソードテーブル */
.episode-table {
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.episode-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background-color: var(--accent-color);
  padding: 15px;
}

.episode-header h4 {
  color: var(--light-color);
  margin-bottom: 0;
}

.episode-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid rgba(155, 89, 182, 0.3);
  transition: all 0.3s ease;
}

.episode-row:last-child {
  border-bottom: none;
}

.episode-row:hover {
  background-color: rgba(50, 50, 50, 0.8);
}

.episode-cell {
  padding: 15px;
}

.episode-row .episode-cell:first-child {
  border-right: 1px solid rgba(155, 89, 182, 0.3);
  font-weight: bold;
  color: var(--main-color);
}

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

footer p {
  font-size: 14px;
  margin-bottom: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 24px;
  }

  h1:before, h1:after {
    display: none;
  }

  section {
    padding: 20px 15px;
  }

  .toc ul {
    flex-direction: column;
  }

  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .episode-header, .episode-row {
    grid-template-columns: 1fr;
  }

  .episode-row .episode-cell:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(155, 89, 182, 0.3);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 15px 10px;
  }
}
/* ナビゲーションボタン */
.navigation-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 10px;
  width: 100%;
}

.nav-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 25px;
  background: linear-gradient(135deg, var(--main-color), var(--accent-color));
  color: var(--dark-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.nav-button:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.nav-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.4);
  color: white;
}

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

.back-to-toc:before {
  content: "↑ ";
}

.related-link:before {
  content: "→ ";
}

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

  .nav-button {
    width: 100%;
  }
}
/* パンくずリスト */
.breadcrumb-nav {
  margin: 20px 0 30px;
  background-color: var(--section-bg);
  border-radius: 8px;
  padding: 12px 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.breadcrumb-item {
  display: flex;
  align-items: center;
  margin-right: 5px;
  font-size: 14px;
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  color: var(--accent-color);
  margin-left: 5px;
  font-size: 18px;
  line-height: 1;
}

.breadcrumb-link {
  color: var(--main-color);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.breadcrumb-link:hover {
  background-color: rgba(155, 89, 182, 0.2);
  color: var(--light-color);
}

.current-page {
  color: var(--accent-color);
  font-weight: bold;
  padding: 4px 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 12px;
  }

  .breadcrumb-item:not(:last-child)::after {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .breadcrumb-nav {
    padding: 8px 10px;
  }

  .breadcrumb-item {
    font-size: 12px;
  }
}
/* 著作権表記 & フッター強化 */
.copy {
  background-color: rgba(20, 20, 20, 0.85);
  border-top: 4px solid;
  border-image: linear-gradient(to right, var(--main-color), var(--accent-color)) 1;
  padding: 30px 25px;
  margin-top: 60px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
  position: relative;
}

.copy:before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--background-color);
  border: 3px solid var(--main-color);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.copy p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--light-color);
}

.copy strong {
  color: var(--main-color);
  font-weight: bold;
}

.contact-info {
  background-color: rgba(50, 50, 50, 0.5);
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent-color);
}

.contact-info a {
  color: var(--main-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.usage-terms {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding-top: 15px;
  border-top: 1px dashed rgba(155, 89, 182, 0.3);
}

.usage-terms p {
  margin-bottom: 10px;
}

.usage-terms a {
  color: var(--main-color);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.usage-terms a:hover {
  background-color: var(--accent-color);
  color: var(--light-color);
}

.copyright {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(155, 89, 182, 0.3);
  font-size: 13px;
  color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.copyright a {
  color: var(--main-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.copyright a:hover {
  background-color: rgba(155, 89, 182, 0.2);
  color: var(--light-color);
}

.push0 {
  position: relative;
  overflow: hidden;
}

.push0:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--main-color), var(--accent-color));
  transform: translateX(-100%);
  transition: all 0.3s ease;
}

.push0:hover:after {
  transform: translateX(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .copy {
    padding: 25px 15px;
  }

  .usage-terms {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .copyright {
    flex-direction: column;
  }
}
/* おすすめセクション */
#recommendations {
  margin: 50px 0;
  position: relative;
  padding-top: 30px;
}

#recommendations:before {
  content: "おすすめ記事";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--main-color), var(--accent-color));
  color: var(--dark-color);
  padding: 8px 20px;
  font-weight: bold;
  font-size: 18px;
  border-radius: 0 0 8px 0;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

#recommendations:after {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--main-color), var(--accent-color), transparent);
}

#recommendations a {
  display: block;
  background-color: var(--section-bg);
  margin: 20px 0;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--light-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--accent-color);
}

#recommendations a:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background-color: rgba(40, 40, 40, 0.8);
  border-left-color: var(--main-color);
}

#recommendations a:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: all 0.6s ease;
}

#recommendations a:hover:before {
  left: 100%;
}

#recommendations img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

#recommendations a:hover img {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#recommendations br {
  display: none;
}

/* レスポンシブ対応 */
@media (min-width: 769px) {
  #recommendations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  #recommendations:before {
    grid-column: 1 / -1;
    width: fit-content;
  }

  #recommendations:after {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  #recommendations a {
    display: flex;
    flex-direction: column;
  }

  #recommendations:before {
    font-size: 16px;
    padding: 6px 15px;
  }
}
/* 記事情報・更新日時・SNSボタン */
.article-info {
  margin: 30px 0;
  position: relative;
}

.info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background-color: var(--section-bg);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.info-container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--main-color), var(--accent-color));
}

/* 更新情報 */
.update-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-icon {
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f1c40f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>') no-repeat center center;
  flex-shrink: 0;
}

.time {
  margin: 0;
  font-size: 14px;
  color: var(--light-color);
}

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

/* シェアボタン */
.share-buttons {
  display: flex;
  align-items: center;
}

.share-group {
  display: flex;
  gap: 15px;
  align-items: center;
  position: relative;
}

.share-group:before {
  content: "シェア:";
  color: var(--accent-color);
  font-size: 14px;
  margin-right: 10px;
}

/* Twitterボタンカスタマイズ */
.twitter-share-button {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.twitter-share-button:hover {
  transform: translateY(-3px);
}

/* Facebookボタンカスタマイズ */
.fb-share-button {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.fb-share-button:hover {
  transform: translateY(-3px);
}

.fb-share-button a {
  color: var(--main-color);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--accent-color);
  background-color: rgba(50, 50, 50, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
}

.fb-share-button a:hover {
  background-color: var(--accent-color);
  color: var(--light-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .share-group {
    width: 100%;
    justify-content: flex-start;
  }
}
/* シンプルな鉈モチーフのh1タイトルデザイン */
h1 {
  position: relative;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  color: var(--main-color);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  margin: 40px 0 50px;
  padding: 15px 20px;
  letter-spacing: 1px;
  transform-origin: center;
  animation: cleaveIn 1.2s ease-out forwards;
  display: inline-block;
  width: auto;
  max-width: 100%;
}

/* 鉈が切り裂くようなアニメーション */
@keyframes cleaveIn {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: translateX(-50px) rotate(-2deg);
  }
  60% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateX(0) rotate(0deg);
  }
  70% {
    transform: translateX(0) rotate(0deg) scale(1.05);
  }
  100% {
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
    margin: 30px 0 40px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 20px;
    margin: 20px 0 30px;
    padding: 10px 15px;
  }
}
/* 過去編・能力編タブ切り替え */
.character-edition-tabs {
  display: flex;
  justify-content: center;
  margin: 30px auto 40px;
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.edition-tab {
  flex: 1;
  text-align: center;
  padding: 15px 20px;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, rgba(241, 196, 15, 0.9), rgba(241, 196, 15, 0.7));
  border-bottom: 3px solid transparent;
}

.edition-tab:hover:not(.disabled) {
  transform: translateY(-3px);
  background: linear-gradient(to bottom, rgba(241, 196, 15, 1), rgba(241, 196, 15, 0.8));
}

.edition-tab.current {
  background: linear-gradient(to bottom, rgba(155, 89, 182, 0.9), rgba(155, 89, 182, 0.7));
  color: white;
  border-bottom: 3px solid var(--main-color);
  pointer-events: none;
}

.edition-tab.disabled {
  background: rgba(100, 100, 100, 0.5);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  pointer-events: none;
}

.edition-tab:not(.current):not(.disabled):after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: all 0.3s ease;
}

.edition-tab:not(.current):not(.disabled):hover:after {
  background-color: var(--main-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .character-edition-tabs {
    max-width: 100%;
    margin: 20px auto 30px;
  }

  .edition-tab {
    font-size: 16px;
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .edition-tab {
    font-size: 14px;
    padding: 10px;
  }
}
/* 死罪人一覧 */
#death-row-prisoners {
  margin: 50px 0;
  padding: 25px;
  background-color: var(--light-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--main-color);
}

#death-row-prisoners:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 30px 30px 0;
  border-color: transparent var(--main-color) transparent transparent;
}

.prisoners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.prisoner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 15px;
  background-color: var(--light-gray);
  border: 2px solid var(--main-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.prisoner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-color);
  background-color: var(--highlight-yellow);
  border-color: var(--accent-color);
}

.prisoner-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.2), transparent);
  transition: all 0.6s ease;
}

.prisoner-item:hover:before {
  left: 100%;
}

.prisoner-item img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--main-color);
  transition: all 0.3s ease;
  margin-bottom: 10px;
  object-fit: cover;
}

.prisoner-item:hover img {
  transform: scale(1.1);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(241, 196, 15, 0.5);
}

.prisoner-name {
  color: var(--dark-color);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-top: 5px;
  line-height: 1.3;
}

.prisoner-item:hover .prisoner-name {
  color: var(--dark-color);
}

/* 現在のキャラクターをハイライト */
.prisoner-item[href*="aza-choubei"] {
  background-color: var(--highlight-yellow);
  border-color: var(--accent-color);
}

.prisoner-item[href*="aza-choubei"] img {
  border-color: var(--accent-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .prisoners-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .prisoners-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }

  .prisoner-item {
    padding: 10px;
  }

  .prisoner-name {
    font-size: 12px;
  }
}
