/* eizen.css */
:root {
  --key-color: #9B003F;
  --sub-color1: #c398ad;
  --sub-color2: #9bdeac;
  --text-color: #2f4858;
  --bg-color: #ffffff;
  --section-spacing: 2rem;
}

body {
  color: var(--text-color);
  background-color: var(--bg-color);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px;
}
/* リンクスタイル */
a {
  color: #9B003F;
  text-decoration: none;
}

a:hover {
  color: #c398ad;
}

/* 記事全体のコンテナ */
.article-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 0.5rem;
}

/* Google Fontsの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600;700&display=swap');

/* タイトル部分の追加スタイル */
.article-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(155, 0, 63, 0.1);
}

.title-emphasis {
    display: inline-block;
    font-size: 2rem;
    margin-right: 0.2em;
    color: var(--key-color);
    border-bottom: 2px solid var(--key-color);
    padding-bottom: 2px;
}

.title-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--key-color) 25%,
        var(--key-color) 75%,
        transparent 100%
    );
}

@media (max-width: 768px) {
    .title-emphasis {
        font-size: 1.6rem;
    }
}

/* figure要素のスタイル */
figure {
  margin: 1.5rem 0;
  padding: 0;
  width: 100%;
}

figure img {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

figcaption {
  font-size: 0.9rem;
  color: var(--sub-color1);
  text-align: center;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

/* セクションタイトル（h2） */
.section-title {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding: 0.8rem 0.5rem;
  background: linear-gradient(90deg, var(--key-color) 0%, var(--sub-color1) 100%);
  color: white;
  border-radius: 4px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--sub-color2);
}

/* サブタイトル（h3） */
.subtitle {
  font-size: 1.2rem;
  color: var(--key-color);
  margin: 1rem 0;
  padding: 0.5rem;
  border-left: 4px solid var(--key-color);
  background-color: rgba(155, 0, 63, 0.05);
}

/* 本文のスタイル */
.section-content {
  margin-bottom: var(--section-spacing);
  padding: 0 0.5rem;
}

.section-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* プロフィールテーブルのスタイル */
.profile-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(155, 0, 63, 0.1);
  border: 1px solid var(--sub-color1);
}

.profile-table tr {
  transition: background-color 0.3s ease;
}

.profile-table tr:hover {
  background-color: rgba(155, 0, 63, 0.02);
}

.profile-table th {
  width: 30%;
  padding: 1rem;
  background: var(--key-color);
  color: #fff;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid var(--sub-color1);
  position: relative;
}

.profile-table th::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.profile-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--sub-color1);
}

.profile-table tr:not(:last-child) th {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

.profile-table th,
.profile-table td {
  border-right: 1px solid var(--sub-color1);
}

/* 重要な文章の強調 */
.emphasis-text {
  background: linear-gradient(transparent 70%, var(--sub-color2) 70%);
  font-weight: 600;
}

/* セクション区切り */
.section-divider {
  margin: 2rem 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--sub-color1) 50%,
      transparent 100%);
}

/* 注釈テキスト */
.note-text {
  font-size: 0.9rem;
  color: var(--key-color);
  padding: 0.5rem 1rem;
  background: rgba(155, 0, 63, 0.05);
  border-radius: 4px;
  margin: 1rem 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .article-content {
    padding: 1rem 0.75rem;
  }

  .article-title {
    font-size: 1.5rem;
    padding: 0.75rem 0.25rem;
  }

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

  .subtitle {
    font-size: 1.1rem;
  }

  figure {
    margin: 1rem -0.75rem;
  }

  figure img {
    border-radius: 0;
  }
  /* キャラクター関係表のスタイル */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.character-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(155, 0, 63, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--sub-color1);
}

.character-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(155, 0, 63, 0.2);
}

.char-header {
    background: linear-gradient(90deg, var(--key-color) 0%, var(--sub-color1) 100%);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.char-img-container {
    width: 100%;
    padding: 1rem;
    background: rgba(155, 0, 63, 0.02);
    display: flex;
    justify-content: center;
}

.char-img {
    width: 192px;
    height: 192px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--sub-color1);
}

.char-content {
    padding: 1rem;
}

.char-relation {
    margin-top: 0.5rem;
    line-height: 1.6;
}

.char-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--key-color);
    color: white !important;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center;
    width: calc(100% - 2rem);
}

.char-link:hover {
    background: var(--sub-color1);
    color: white !important;
}

@media (max-width: 768px) {
    .character-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .character-card {
        margin: 0 0.5rem;
    }
}
/* アニメセクション用スタイル */
.anime-info {
    background: rgba(155, 0, 63, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--key-color);
}

.anime-info p {
    margin-bottom: 1rem;
}

/* まとめセクション用スタイル */
.summary-box {
    background: linear-gradient(135deg, rgba(155, 0, 63, 0.05) 0%, rgba(195, 152, 173, 0.05) 100%);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.summary-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--key-color) 0%, var(--sub-color1) 100%);
    border-radius: 4px 4px 0 0;
}

.summary-box figure {
    margin: 1.5rem -2rem;
}

.summary-box figcaption {
    padding: 0 2rem;
}

.summary-box p:last-child {
    margin-bottom: 0;
}

/* キャラクター関係説明用のスタイル */
.relation-highlight {
    border-left: 4px solid var(--sub-color2);
    padding-left: 1rem;
    margin: 1.5rem 0;
}

/* アニメ登場回数カウンター */
.episode-counter {
    display: inline-block;
    background: var(--key-color);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    margin: 0.5rem 0;
}

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

    .summary-box figure {
        margin: 1.5rem -1.5rem;
    }

    .summary-box figcaption {
        padding: 0 1.5rem;
    }
}
/* フッタースタイル */
.site-footer {
    margin-top: 4rem;
    padding: 3rem 1rem;
    background: rgba(155, 0, 63, 0.02);
    border-top: 1px solid rgba(155, 0, 63, 0.1);
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
}

/* 連絡先セクション */
.contact-section {
    margin-bottom: 2rem;
}

.mail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--key-color);
}

.mail-link img {
    vertical-align: middle;
}

.contact-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* 利用規約セクション */
.usage-terms {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(155, 0, 63, 0.1);
}

.terms-content {
    font-size: 0.9rem;
}

.terms-list {
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0;
}

.terms-list li {
    margin: 0.5rem 0;
    position: relative;
}

.terms-list li::before {
    content: "・";
    position: absolute;
    left: -1rem;
    color: var(--key-color);
}

/* フッターブランド部分 */
.footer-brand {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(155, 0, 63, 0.1);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.brand-link img {
    vertical-align: middle;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--sub-color1);
}

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

    .usage-terms {
        padding: 1rem;
    }

    .terms-content {
        font-size: 0.85rem;
    }
}
/* タイトルエリアのスタイル */
.article-title-area {
    position: relative;
    margin: 2rem 0 3rem;
    padding: 1.5rem;
    overflow: hidden;
}

/* メインタイトル */
.article-title {
    position: relative;
    font-size: 1.8rem;
    margin: 0;
    padding: 1.5rem 1rem;
    color: var(--key-color);
    opacity: 0;
    animation: titleFadeIn 1s ease-out 0.5s forwards;
}

/* 装飾的な背景ライン */
.article-title::before,
.article-title::after {
    content: '';
    position: absolute;
    background: var(--key-color);
    transform: scaleX(0);
}

.article-title::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform-origin: left;
    animation: lineDrawHorizontal 1s ease-out forwards;
}

.article-title::after {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    transform-origin: right;
    animation: lineDrawHorizontal 1s ease-out forwards;
}

/* 縦線の装飾 */
.article-title-area::before,
.article-title-area::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--key-color), var(--sub-color1));
    transform: scaleY(0);
}

.article-title-area::before {
    left: 0;
    top: 0;
    transform-origin: top;
    animation: lineDrawVertical 0.8s ease-out 0.3s forwards;
}

.article-title-area::after {
    right: 0;
    bottom: 0;
    transform-origin: bottom;
    animation: lineDrawVertical 0.8s ease-out 0.3s forwards;
}

/* 背景の装飾効果 */
.title-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(155, 0, 63, 0.05) 0%,
        rgba(195, 152, 173, 0.05) 100%
    );
    transform: scaleX(0);
    transform-origin: left;
    animation: bgReveal 1.2s ease-out forwards;
}

/* アニメーションキーフレーム */
@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineDrawHorizontal {
    to {
        transform: scaleX(1);
    }
}

@keyframes lineDrawVertical {
    to {
        transform: scaleY(1);
    }
}

@keyframes bgReveal {
    to {
        transform: scaleX(1);
    }
}

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

    .article-title-area {
        margin: 1rem 0 2rem;
        padding: 1rem;
    }
}

/* 記事概要エリア */
.article-overview {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(155, 0, 63, 0.02);
    border-radius: 8px;
}

/* この記事でわかること */
.overview-section {
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(155, 0, 63, 0.05);
}

.overview-title {
    font-size: 1.2rem;
    color: var(--key-color);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--key-color);
}

.overview-points ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.overview-points li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.overview-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.8rem;
    height: 0.8rem;
    background: var(--sub-color1);
    clip-path: polygon(0 0.5rem, 0.4rem 0.5rem, 0.4rem 0, 0.8rem 0.4rem, 0.4rem 0.8rem, 0.4rem 0.3rem, 0 0.3rem);
}

.overview-summary {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(155, 0, 63, 0.03);
    border-radius: 4px;
}

/* 目次エリア */
.article-toc {
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(155, 0, 63, 0.05);
}

.toc-title {
    font-size: 1.2rem;
    color: var(--key-color);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--key-color);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.8rem;
}

.toc-list a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-left: 2px solid var(--sub-color1);
    transition: all 0.3s ease;
}

.toc-list a:hover {
    color: var(--key-color);
    background: rgba(155, 0, 63, 0.03);
    border-left-color: var(--key-color);
    padding-left: 1.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .overview-section,
    .article-toc {
        padding: 1rem;
    }

    .overview-title,
    .toc-title {
        font-size: 1.1rem;
    }
}

/* 記事メタ情報コンテナ */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin: 1rem 0 2rem;
    border-bottom: 1px solid rgba(155, 0, 63, 0.1);
}

/* 更新日時 */
.time {
    font-size: 0.9rem;
    color: var(--sub-color1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time time {
    color: var(--text-color);
}

.author {
    color: var(--key-color);
    font-weight: 500;
}

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

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.share-button:hover {
    opacity: 0.9;
}

.twitter-share {
    background: #1DA1F2;
}

.facebook-share {
    background: #4267B2;
}

/* シェアアイコン */
.share-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    fill: currentColor;
}

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

    .share-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

/* おすすめ記事セクション */
.recommendations-container {
    margin: 2rem 0 4rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* 記事カード */
.recommendation-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(155, 0, 63, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(155, 0, 63, 0.2);
}

/* サムネイル画像 */
.recommendation-thumb {
    position: relative;
    width: 100%;
    padding-top: 45.75%; /* 800:366のアスペクト比 */
    overflow: hidden;
}

.recommendation-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-card:hover .recommendation-thumb img {
    transform: scale(1.05);
}

/* 記事タイトル */
.recommendation-title {
    padding: 1rem;
    background: linear-gradient(to bottom,
        rgba(155, 0, 63, 0.02) 0%,
        rgba(155, 0, 63, 0.05) 100%);
}

.recommendation-title a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.recommendation-title a:hover {
    color: var(--key-color);
}

/* 装飾的な要素 */
.recommendation-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        var(--key-color) 0%,
        var(--sub-color1) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.recommendation-card:hover::after {
    transform: scaleX(1);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

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

    .recommendation-thumb {
        padding-top: 50%; /* モバイルでの表示調整 */
    }
}
/* おすすめ記事セクション */
.recommendations-container {
    margin: 2rem 0 4rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* リンクスタイル */
.recommendations-grid a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(155, 0, 63, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendations-grid a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(155, 0, 63, 0.2);
}

/* 画像スタイル */
.recommendations-grid img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.recommendations-grid a:hover img {
    transform: scale(1.05);
}

/* テキスト部分 */
.recommendations-grid img + br + text {
    display: block;
    padding: 1rem;
    background: linear-gradient(to bottom,
        rgba(155, 0, 63, 0.02) 0%,
        rgba(155, 0, 63, 0.05) 100%);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 改行の調整 */
.recommendations-grid br {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

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

    .recommendations-grid img + br + text {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}
.breadcrumb-nav {
  margin: 1rem 0 2rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(155, 0, 63, 0.1);
}

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

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

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin: 0 0.5rem;
  color: var(--sub-color1);
}

.breadcrumb-link {
  color: var(--key-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb-link:hover {
  opacity: 0.8;
}

.current-page {
  color: var(--text-color);
  font-weight: 500;
}

@media (max-width: 768px) {
  .breadcrumb {
      font-size: 0.8rem;
  }

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