/* 地獄楽 慶雲のテーマに基づいたCSS */
/* カラースキーム: 赤(#B91C1C), 白(#FFFFFF), 黄色(#FBBF24), 濃いグレー(#1F2937) */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
    --keiun-red: #B91C1C;
    --keiun-white: #FFFFFF;
    --keiun-yellow: #FBBF24;
    --keiun-gray: #1F2937;
    --keiun-light-gray: #9CA3AF;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--keiun-gray);
    color: var(--keiun-white);
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23B91C1C' fill-opacity='0.1' d='M10 10L90 10L90 90L10 90L10 10Z'/%3E%3Cpath fill='none' stroke='%23FBBF24' stroke-width='1' d='M30 30L70 30L70 70L30 70L30 30Z'/%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    background-color: rgba(31, 41, 55, 0.95);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
}

header {
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

/* 武器をモチーフにした装飾 */
header::before, header::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10px;
    height: 100%;
    background-image: linear-gradient(to bottom, var(--keiun-yellow), var(--keiun-red));
    box-shadow: 0 0 5px rgba(251, 191, 36, 0.7);
}

header::before {
    left: 0;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

header::after {
    right: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--keiun-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: var(--keiun-red);
    box-shadow: 0 0 5px rgba(185, 28, 28, 0.7);
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 3px solid var(--keiun-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.table-of-contents {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(185, 28, 28, 0.1);
    border-left: 5px solid var(--keiun-red);
    border-radius: 0 5px 5px 0;
}

.table-of-contents h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--keiun-yellow);
    position: relative;
    display: inline-block;
}

.table-of-contents h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--keiun-yellow);
}

.table-of-contents ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem;
}

.table-of-contents li {
    position: relative;
    padding-left: 1.5rem;
}

.table-of-contents li::before {
    content: '⚔️';
    position: absolute;
    left: 0;
    top: 0;
}

.table-of-contents a {
    color: var(--keiun-white);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.table-of-contents a:hover {
    color: var(--keiun-yellow);
    transform: translateX(5px);
}

main {
    padding: 1rem 0;
}

.section-wrapper {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* 武器のモチーフをセクションごとに表示 */
.section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='2'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cpath d='M12 18v-6'/%3E%3Cpath d='M8 15h8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--keiun-red);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
    position: relative;
    padding-left: 1.5rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='2'%3E%3Cpath d='M12 22V2M2 12h20'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--keiun-yellow);
    font-weight: bold;
    border-bottom: 1px dashed var(--keiun-light-gray);
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 2px solid var(--keiun-red);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

figcaption {
    font-size: 0.9rem;
    color: var(--keiun-light-gray);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* プロフィールテーブル */
.profile-table {
    margin: 1.5rem 0;
    border: 1px solid var(--keiun-red);
    border-radius: 5px;
    overflow: hidden;
}

.profile-row {
    display: flex;
    border-bottom: 1px solid rgba(185, 28, 28, 0.3);
}

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

.profile-label {
    width: 30%;
    background-color: rgba(185, 28, 28, 0.2);
    padding: 0.8rem;
    font-weight: bold;
    color: var(--keiun-yellow);
    border-right: 1px solid rgba(185, 28, 28, 0.3);
}

.profile-value {
    width: 70%;
    padding: 0.8rem;
}

/* 由来テーブル */
.origin-table {
    margin: 1.5rem 0;
    border: 1px solid var(--keiun-yellow);
    border-radius: 5px;
    overflow: hidden;
}

.origin-row {
    display: flex;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

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

.origin-header {
    width: 30%;
    background-color: rgba(251, 191, 36, 0.2);
    padding: 0.8rem;
    font-weight: bold;
    color: var(--keiun-white);
    border-right: 1px solid rgba(251, 191, 36, 0.3);
}

.origin-cell {
    width: 50%;
    padding: 0.8rem;
}

/* 登場シーンリスト */
.scene-list {
    margin: 1.5rem 0;
}

.scene-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--keiun-yellow);
    border-radius: 0 5px 5px 0;
}

.scene-title {
    font-weight: bold;
    color: var(--keiun-yellow);
    margin-bottom: 0.5rem;
}

.scene-desc {
    color: var(--keiun-white);
}

/* リンク */
a {
    color: var(--keiun-yellow);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--keiun-red);
    text-decoration: underline;
}

.push0 {
    position: relative;
    padding-right: 1.2em;
}

.push0::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--keiun-light-gray);
    border-top: 1px solid rgba(185, 28, 28, 0.3);
    margin-top: 2rem;
}

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

    h1 {
        font-size: 1.8rem;
    }

    .table-of-contents ul {
        grid-template-columns: 1fr;
    }

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

    .section-subtitle {
        font-size: 1.2rem;
    }

    .profile-row, .origin-row {
        flex-direction: column;
    }

    .profile-label, .profile-value, .origin-header, .origin-cell {
        width: 100%;
        border-right: none;
    }

    .profile-label, .origin-header {
        border-bottom: 1px solid rgba(185, 28, 28, 0.3);
    }
}

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

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .section-wrapper {
        padding: 1rem;
    }
}
/* パンくずリスト */
.breadcrumb-nav {
    margin: 1rem 0 2rem;
    background-color: rgba(31, 41, 55, 0.6);
    border-radius: 5px;
    padding: 0.5rem 0;
    border-left: 3px solid var(--keiun-red);
}

.breadcrumb-container {
    padding: 0 1rem;
}

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

.breadcrumb-item {
    position: relative;
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    margin: 0 0.5rem;
    width: 0.8rem;
    height: 0.8rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='2'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.7;
}

.breadcrumb-link {
    color: var(--keiun-light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--keiun-yellow);
    text-decoration: none;
}

.current-page {
    color: var(--keiun-yellow);
    font-size: 0.9rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .breadcrumb {
        gap: 0.3rem;
    }

    .breadcrumb-link, .current-page {
        font-size: 0.8rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.3rem;
        width: 0.7rem;
        height: 0.7rem;
    }
}

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

    .breadcrumb {
        gap: 0.2rem;
    }

    .breadcrumb-link, .current-page {
        font-size: 0.75rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin: 0 0.2rem;
        width: 0.6rem;
        height: 0.6rem;
    }
}

/* 更新情報とSNSボタン */
.article-info {
    margin: 1rem 0 2rem;
}

.info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    border-bottom: 2px solid var(--keiun-red);
}

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

.time-icon {
    color: var(--keiun-yellow);
    font-size: 1.2rem;
    font-weight: bold;
}

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

.author-name {
    color: var(--keiun-white);
    font-weight: bold;
}

/* シェアボタン */
.share-buttons {
    margin-top: 0.5rem;
}

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

.share-button {
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.share-button a {
    display: flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-icon {
    margin-right: 0.3rem;
    font-weight: bold;
}

.share-text {
    font-size: 0.8rem;
}

/* Twitterボタン */
.twitter-share a {
    background-color: #1da1f2;
    color: white;
}

.twitter-share a:hover {
    background-color: #0c85d0;
}

/* Facebookボタン */
.facebook-share a {
    background-color: #3b5998;
    color: white;
}

.facebook-share a:hover {
    background-color: #2d4373;
}

/* 武器モチーフの装飾 */
.share-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background-color: var(--keiun-yellow);
    opacity: 0.6;
}

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

    .share-buttons {
        width: 100%;
        margin-top: 0.5rem;
    }

    .share-group {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .info-container {
        padding: 0.6rem 0.8rem;
    }

    .time {
        font-size: 0.8rem;
    }

    .share-text {
        font-size: 0.75rem;
    }
}
/* おすすめ記事セクション */
.recommended-container {
    margin: 1.5rem 0;
}

#recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

#recommendations a {
    display: block;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--keiun-white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--keiun-red);
    position: relative;
}

#recommendations a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--keiun-yellow);
}

#recommendations a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--keiun-red), var(--keiun-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

#recommendations a:hover::after {
    transform: scaleX(1);
}

#recommendations img {
    width: 100%;
    height: auto;
    aspect-ratio: 800/366;
    object-fit: cover;
    border-bottom: 2px solid rgba(185, 28, 28, 0.3);
    transition: all 0.3s ease;
}

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

#recommendations br {
    display: none; /* category-run.js が挿入する <br> を非表示に */
}

#recommendations a {
    padding-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
}

/* 武器のモチーフ装飾 */
#recommendations a::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='2'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.586 7.586'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
    z-index: 1;
    transition: all 0.3s ease;
}

#recommendations a:hover::before {
    opacity: 0.8;
    transform: rotate(45deg);
}

/* テキスト部分のスタイル */
#recommendations a {
    text-align: left;
}

#recommendations a::first-line {
    font-weight: bold;
    color: var(--keiun-yellow);
}

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

    #recommendations a {
        font-size: 0.85rem;
    }
}

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

    #recommendations a {
        padding-bottom: 0.6rem;
    }
}
/* フッターのスタイル - 慶雲テーマ */
.site-footer {
    margin-top: 3rem;
    padding: 2rem 0 1rem;
    background-color: rgba(31, 41, 55, 0.97);
    border-top: 3px solid var(--keiun-red);
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* フッターの装飾 - 武器モチーフ */
.footer-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.weapon-left, .weapon-right {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.07;
    background-repeat: no-repeat;
    background-size: contain;
}

.weapon-left {
    left: 20px;
    top: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='1'%3E%3Cpath d='M14 4l2 2-8 8-2-2 8-8z'/%3E%3Cpath d='M8 14l-4 4v4h4l4-4'/%3E%3Cpath d='M4 18l2 2'/%3E%3Cpath d='M14 4l-2-2H7L3 6v5l2 2'/%3E%3C/svg%3E");
    transform: rotate(-30deg);
}

.weapon-right {
    right: 20px;
    bottom: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='1'%3E%3Cpath d='M22 2L12 12M22 2l-7 7M22 2l-4-1M12 12L2 22'/%3E%3Cpath d='M5 18l4-4'/%3E%3Cpath d='M15 5l4 4'/%3E%3C/svg%3E");
    transform: rotate(15deg);
}

/* お問い合わせセクション */
.footer-contact {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    padding-left: 1rem;
    border-left: 3px solid var(--keiun-yellow);
}

.mail-link {
    display: inline-flex;
    align-items: center;
    color: var(--keiun-yellow);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-weight: bold;
    transition: color 0.3s;
}

.mail-link:hover {
    color: var(--keiun-red);
}

.mail-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.footer-contact p {
    color: var(--keiun-light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* 利用規約セクション */
.footer-terms {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 5px;
    border-right: 3px solid var(--keiun-red);
}

.terms-title {
    color: var(--keiun-white);
    font-weight: bold;
    margin-bottom: 0.8rem;
    display: inline-block;
    position: relative;
}

.terms-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--keiun-red);
}

.footer-terms p {
    color: var(--keiun-light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.terms-list {
    list-style: none;
    margin: 0.8rem 0 0 1rem;
}

.terms-list li {
    color: var(--keiun-light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 2rem;
}

.list-marker {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(185, 28, 28, 0.2);
    color: var(--keiun-yellow);
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* ブランドセクション */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(185, 28, 28, 0.3);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    color: var(--keiun-white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

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

.brand-link img {
    margin-right: 0.5rem;
    border-radius: 50%;
    border: 1px solid var(--keiun-yellow);
    padding: 2px;
}

.brand-name {
    font-weight: bold;
    font-size: 1.1rem;
    background: linear-gradient(to right, var(--keiun-yellow), var(--keiun-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.copyright {
    color: var(--keiun-light-gray);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .weapon-left, .weapon-right {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .footer-contact, .footer-terms {
        padding: 0.8rem;
    }

    .footer-contact p, .footer-terms p, .terms-list li {
        font-size: 0.8rem;
    }

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

    .weapon-left, .weapon-right {
        width: 40px;
        height: 40px;
    }
}
/* セクションナビゲーションボタン */
.section-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 1200px;
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

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

.button-icon {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.button-text {
    position: relative;
    z-index: 1;
}

/* 目次へ戻るボタン */
.back-to-index {
    background-color: var(--keiun-gray);
    color: var(--keiun-yellow);
    border-color: var(--keiun-yellow);
}

.back-to-index:hover {
    background-color: var(--keiun-yellow);
    color: var(--keiun-gray);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.3);
}

.back-to-index:hover .button-icon {
    transform: translateY(-3px);
}

/* 関連リンクボタン */
.related-link {
    background-color: var(--keiun-gray);
    color: var(--keiun-red);
    border-color: var(--keiun-red);
}

.related-link:hover {
    background-color: var(--keiun-red);
    color: var(--keiun-white);
    transform: translateX(3px);
    box-shadow: 0 5px 15px rgba(185, 28, 28, 0.3);
}

.related-link:hover .button-icon {
    transform: translateX(3px);
}

/* 武器モチーフの装飾 */
.nav-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right,
        var(--keiun-yellow) 0%,
        var(--keiun-red) 50%,
        var(--keiun-yellow) 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-button:hover::after {
    transform: scaleX(1);
}

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

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

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

    .button-icon {
        margin-right: 0.5rem;
        font-size: 1rem;
    }
}
/* 慶雲らしいアニメーション付きヘッダー */
.animated-header {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

/* タイトルのアニメーション */
.title-container {
  position: relative;
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  animation: titleSlam 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  overflow: hidden;
}

@keyframes titleSlam {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  50% {
    transform: translateY(10px);
  }
  70% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animated-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--keiun-yellow);
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7),
               0 0 10px rgba(185, 28, 28, 0.5);
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  transform-origin: center;
}

.title-part {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: titlePartsFadeIn 0.6s ease-out forwards;
}

.title-part:nth-child(1) {
  animation-delay: 0.2s;
}

.title-part:nth-child(2) {
  animation-delay: 0.5s;
}

.title-part:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes titlePartsFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  60% {
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animated-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(to right, var(--keiun-red), var(--keiun-yellow));
  animation: lineExpandRight 1.2s ease-out forwards;
  animation-delay: 1s;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

@keyframes lineExpandRight {
  0% {
    width: 0;
    left: 0;
  }
  100% {
    width: 100%;
    left: 0;
  }
}

/* 画像のアニメーション */
.animated-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  animation: imageExpand 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.7s;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

@keyframes imageExpand {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.image-container {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--keiun-red);
  border-radius: 5px;
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.1);
  animation: imageReveal 1.5s ease-out forwards;
  animation-delay: 1s;
}

@keyframes imageReveal {
  0% {
    transform: scale(1.1);
    filter: brightness(0.8) contrast(1.2);
  }
  100% {
    transform: scale(1);
    filter: brightness(1) contrast(1);
  }
}

.image-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(185, 28, 28, 0.7) 50%,
    rgba(0, 0, 0, 0) 100%);
  animation: overlaySwipe 1.8s ease-out forwards;
  animation-delay: 1.2s;
}

@keyframes overlaySwipe {
  0% {
    left: -100%;
    opacity: 0.8;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* 縦線の装飾エフェクト */
.animated-header::before,
.animated-header::after {
  content: '';
  position: absolute;
  top: 0;
  width: 5px;
  height: 0;
  animation: linesSlash 1.2s ease-out forwards;
  z-index: -1;
}

.animated-header::before {
  left: 5%;
  background-image: linear-gradient(to bottom, var(--keiun-yellow), var(--keiun-red));
  transform-origin: top center;
  animation-delay: 0.3s;
}

.animated-header::after {
  right: 5%;
  background-image: linear-gradient(to bottom, var(--keiun-red), var(--keiun-yellow));
  transform-origin: bottom center;
  animation-delay: 0.5s;
}

@keyframes linesSlash {
  0% {
    height: 0;
    transform: scaleY(0);
  }
  30% {
    transform: scaleY(0);
  }
  100% {
    height: 100%;
    transform: scaleY(1);
  }
}

/* 追加のエフェクト - 画像の左右から入るエネルギー波 */
.image-container::before,
.image-container::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  background: linear-gradient(90deg,
    rgba(251, 191, 36, 0) 0%,
    rgba(251, 191, 36, 0.3) 100%);
  opacity: 0;
  animation: energyWave 1s ease-out forwards;
  animation-delay: 1.5s;
  pointer-events: none;
}

.image-container::before {
  left: -50%;
  animation-name: energyWaveLeft;
}

.image-container::after {
  right: -50%;
  background: linear-gradient(270deg,
    rgba(185, 28, 28, 0) 0%,
    rgba(185, 28, 28, 0.3) 100%);
  animation-name: energyWaveRight;
}

@keyframes energyWaveLeft {
  0% {
    left: -50%;
    opacity: 0;
  }
  40% {
    opacity: 0.7;
  }
  100% {
    left: 0;
    opacity: 0;
  }
}

@keyframes energyWaveRight {
  0% {
    right: -50%;
    opacity: 0;
  }
  40% {
    opacity: 0.7;
  }
  100% {
    right: 0;
    opacity: 0;
  }
}

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

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

  .title-part {
    display: block;
    margin-bottom: 0.3rem;
  }
}
/* 死罪人一覧 - 慶雲テーマ */
#death-row-prisoners {
  margin: 3rem 0;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

#death-row-prisoners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--keiun-red), var(--keiun-yellow), var(--keiun-red));
  box-shadow: 0 0 5px rgba(251, 191, 36, 0.5);
}

#death-row-prisoners::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='1'%3E%3Cpath d='M4 4l16 16M20 4L4 20'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.05;
  transform: rotate(45deg);
}

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

.prisoner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 1rem;
  background-color: rgba(31, 41, 55, 0.8);
  border: 1px solid var(--keiun-gray);
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.prisoner-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(185, 28, 28, 0.1) 100%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.prisoner-item:hover::before {
  opacity: 1;
}

.prisoner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-color: var(--keiun-red);
}

.prisoner-item img {
  width: 64px;
  height: 64px;
  border: 2px solid var(--keiun-gray);
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-bottom: 0.8rem;
  background-color: rgba(0, 0, 0, 0.5);
}

.prisoner-item:hover img {
  transform: scale(1.1);
  border-color: var(--keiun-yellow);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.prisoner-name {
  color: var(--keiun-white);
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

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

/* 現在のキャラクター（慶雲）を強調 */
.prisoner-item.current-character {
  background-color: rgba(185, 28, 28, 0.2);
  border-color: var(--keiun-red);
  position: relative;
}

.prisoner-item.current-character::after {
  content: '現在';
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: var(--keiun-red);
  color: var(--keiun-white);
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-weight: bold;
}

.prisoner-item.current-character img {
  border-color: var(--keiun-red);
}

/* 武器モチーフの装飾 */
.prisoner-item:nth-child(odd)::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='1.5'%3E%3Cpath d='M12 2v20M19 7l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prisoner-item:hover:nth-child(odd)::after {
  opacity: 0.3;
}

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

  .prisoner-item {
    padding: 0.8rem;
  }

  .prisoner-name {
    font-size: 0.8rem;
  }
}

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

  .prisoner-item {
    padding: 0.6rem;
  }

  .prisoner-item img {
    width: 50px;
    height: 50px;
  }

  .prisoner-name {
    font-size: 0.75rem;
  }
}
