/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* ベースのスタイル */
  body {
    font-family: 'Arial', sans-serif; /* シンプルでモダンなフォント */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  #main {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
  }
  
  /* ヘッダー */
  .site-header {
    background-color: #4CAF50;
    color: #fff;
    padding: 20px;
  }
  
  .site-header h1 {
    font-size: 2em;
  }
  
  .site-content h1 {
    font-size: 1.5em;
  }



  /* コンテンツとサイドバーのラッパー */
  .content-wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  
  /* メインコンテンツ */
  .main-content {
    flex: 1;
    padding: 20px;
  }
  
  /* サイドバー */
  .sidebar {
    width: 400px;
    padding: 10px;
    background-color: #f5f5f5;
  }
  
  .sidebar-section {
    margin-bottom: 40px;
  }
  
  .sidebar-section h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 5px;
  }
  
  .sidebar-section ul {
    list-style: none;
    padding: 0;
  }
  
  .sidebar-section ul li {
    margin-bottom: 10px;
  }
  
  .sidebar-section ul li a {
    color: #333;
    text-decoration: none;
  }
  
  .sidebar-section ul li a:hover {
    color: #4CAF50;
  }
  
/* フッターのスタイル */
footer {
  /* position: fixed; */
  bottom: 0;
  width: 100%;
  background-color: #f3d9d9;
  color: #000000;
  text-align: center;
  padding: 1px;
}

/* コンテンツがフッターの下に隠れないように調整 */
.contents {
  padding-bottom: 80px; /* フッターの高さと同じ値を設定 */
}
  /* ページネーションのスタイル（前回のコードを含む） */
/* ページネーションのスタイル */
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap; /* 折り返しを許可 */
}

.pagination .page-item {
  margin: 0 5px;
}

.pagination .page-link {
  display: block;
  padding: 8px 12px;
  color: #4CAF50;
  text-decoration: none;
  border: 1px solid #4CAF50;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap; /* ボタン内のテキストを改行させない */
}

.pagination .page-link:hover {
  background-color: #4CAF50;
  color: #fff;
}

.pagination .active .page-link {
  background-color: #4CAF50;
  color: #fff;
  cursor: default;
}

.pagination .disabled .page-link {
  color: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

.pagination .disabled .page-link:hover {
  background-color: transparent;
  color: #ccc;
}

@media screen and (max-width: 768px) {
  .pagination {
    margin: 10px; /* モバイルで余白を縮める */
  }

  .pagination .page-link {
    padding: 6px 8px; /* ボタンのパディングを調整 */
    font-size: 14px; /* フォントサイズを小さくする */
  }

  .pagination .page-item {
    margin: 2px; /* アイテム間のマージンを縮小 */
  }
}


  
  /* レスポンシブ対応 */
  @media screen and (max-width: 768px) {
    .content-wrapper {
      flex-direction: column;
    }
  
    .sidebar {
      width: 100%;
      padding: 15px;
    }
  
    .main-content {
      padding: 15px;
    }
  
    .site-header, footer {
      padding: 5px;
    }
  
    .site-header h1 {
      font-size: 1.5em;
    }
  }
  

.article-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}
.tags {
  margin-top: 10px;
}
.tag {
  background-color: #f0f0f0;
  border-radius: 4px;
  padding: 4px 8px;
  margin-right: 4px;
}






/* 画像　ここから */
.main-image-container {
  text-align: center;
}

.main-image-container img {
  width: 100%;
  max-width: 600px; /* 必要に応じて画像の最大幅を設定 */
  height: auto; /* アスペクト比を維持 */
  display: inline-block;
}

.button-wrapper {
  margin: 10px 0;
}
#imageGallery.gallery-hidden {
  display: none;
}
#imageGallery img {
  display: block;
  margin: 10px auto;
  max-width: 100%;
}



/* 記事内見出し　ここまで */

  .half-transparent {
    opacity: 0.5;
    position: relative;
  }

  .half-transparent::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    opacity: 0.5;
  }

  .read-more-content {
    display: none;
  }


/* FAQセクションのスタイル */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 20px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1em;
  margin-bottom: 10px;
  color: #333;
}

.faq-item p {
  margin-top: 0;
  color: #555;
  line-height: 1.6;
}

/* トップサムネイル */
.thumbnail-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* FAQセクションのスタイル ここまで */

.button-container {
  display: flex;
  flex-direction: column; /* 縦方向に並べる */
  align-items: center; /* 水平方向の中央揃え */
  margin-top: 1rem; /* 上方向に適切な余白を設定 */
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  background-color: #ff4d4d; /* 元の濃い赤色 */
  color: #fff;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #e63939; /* ホバー時の色 */
  transform: translateY(-2px); /* ホバー時の動き */
}

.text-link {
  font-size: 1rem;
  color: #0073e6; /* シンプルなリンクの色 */
  text-decoration: none; /* 下線を除去 */
  margin-top: 0.5rem; /* ボタンとの間隔を調整 */
  transition: color 0.3s ease;
}

.text-link:hover {
  color: #005bb5; /* ホバー時の色 */
  text-decoration: underline; /* ホバー時に下線を追加 */
}





/* コンテナのスタイル（中央揃えなどが必要な場合） */
.profile-button-container {
  text-align: center; /* ボタンを中央揃え */
  margin: 20px 0;
}

/* ボタンの基本スタイル */
.profile-link-button {
  display: inline-block;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  background-color: #007bff;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s; /* スムーズなホバー効果 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

/* ボタンのホバースタイル */
.profile-link-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px); /* ホバー時に浮く効果 */
}

/* 矢印のスタイル */
.profile-link-button .arrow {
  margin-left: 8px; /* 矢印とテキストの間隔 */
  font-size: 18px; /* 矢印のサイズ調整 */
}

/* 女優プロフィールここから */
.actress-profile-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.actress-profile-card__image {
  flex: 0 0 auto;
  max-width: 150px;
}

.actress-profile-card__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.actress-profile-card__info {
  flex: 1;
}

.actress-profile-card__table {
  width: 100%;
  border-collapse: collapse;
}

.actress-profile-card__table td {
  padding: 0.5rem;
  border: 1px solid #ddd;
  vertical-align: top;
}

.actress-profile-card__label {
  font-weight: bold;
  width: 30%;
}

.actress-profile-card__value {
  width: 70%;
}

@media (max-width: 768px) {
  .actress-profile-card {
    flex-direction: column;
    align-items: center; /* 子要素を中央揃え */
    text-align: center; /* テキストも中央揃え */
  }

  .actress-profile-card__image {
    max-width: 30%;
    display: flex;
    justify-content: center; /* 水平方向の中央揃え */
  }

  .actress-profile-card__info {
    text-align: left; /* テーブルの内容は左揃えのまま */
    width: 100%; /* テーブルをカード幅に合わせる */
  }

  .actress-profile-card__table td {
    text-align: left; /* テーブル内のテキストも左揃え */
  }
}


/* 女優プロフィールここまで */

.sidebar-section {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
}

.sidebar-section h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.taxonomy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.taxonomy-item {
  display: inline-flex;
  align-items: center;
  background: #f9f9f9;
  color: #333;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid #ddd;
}

.taxonomy-item a {
  text-decoration: none;
  color: #333;
  margin-right: 5px;
}

.taxonomy-item a:hover {
  text-decoration: underline;
}

.count {
  font-size: 0.8em;
  color: #666;
  background: #eee;
  padding: 2px 5px;
  border-radius: 3px;
}

.toggle-button {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #f9f9f9;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
}

.toggle-button:hover {
  background-color: #eee;
}

.hidden {
  display: none;
}


header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
}

.header_link {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.header_title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 5px; /* タイトルとサブタイトルの間隔 */
}

.header_subtitle {
  font-size: 1rem;
  color: #666;
}

@media screen and (max-width: 768px) {
  .header_link {
      flex-direction: column;
      align-items: flex-start;
  }

  .header_title {
      margin-right: 0;
      margin-bottom: 1px; /* 縦方向の間隔 */
  }
}


/* タイル表示 */
.thumbnail-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
}

.thumbnail-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.thumbnail-item:hover {
  transform: translateY(-5px);
}

.thumbnail-item img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #f0f0f0;
}

.thumbnail-item h3 {
  text-align: center;
  padding: 10px;
  font-size: 1em;
}

@media (min-width: 768px) {
  .thumbnail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ランキングここから */
.rank-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.rank-card {
  position: relative;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}
.rank {
  position: absolute;
  top: 10px;
  left: 10px;
  font-weight: bold;
  padding: 5px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
}
.rank-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.rank-title {
  margin-top: 10px;
  font-size: 1em;
}


h1 {
  font-size: 1.5em;
}


/* コメント */
/* コメントコンテナのスタイル */
.pickup_comment-container {
  background-color: #f9f9f9; /* 背景色を薄いグレーに */
  border: 1px solid #ddd; /* 薄い境界線 */
  border-radius: 8px; /* 角を丸く */
  padding: 10px; /* 内側の余白 */
  margin-top: 15px; /* 上部の余白 */
}

/* 各コメントのスタイル */
.pickup_comment {
  background-color: #ffffff; /* コメント背景を白に */
  border: 1px solid #e0e0e0; /* コメントの境界線 */
  border-radius: 6px; /* コメントの角を丸く */
  padding: 12px; /* コメント内の余白 */
  margin-bottom: 12px; /* コメント間の余白 */
  color: #333; /* テキストカラーを濃いグレーに */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

/* 最後のコメントには下の余白をなくす */
.pickup_comment:last-child {
  margin-bottom: 0;
}



/* 記事内見出し　ここから */
.custom-blog-article-content h2,
.custom-blog-article-content h3,
.custom-blog-article-content h4 {
  font-family: 'Arial', sans-serif; /* シンプルでモダンなフォント */
  line-height: 1.6; /* 読みやすい行間 */
  margin-top: 1.5em; /* 見出し間のスペース */
  margin-bottom: 0.75em; /* 見出し下のスペース */
}

/* toc-header 内の見出しを除外 */
.custom-blog-article-content :not(.toc-header) h2,
.custom-blog-article-content :not(.toc-header) h3,
.custom-blog-article-content :not(.toc-header) h4 {
  /* シンプルなスタイル */
}

/* H2デザイン */
.custom-blog-article-content :not(.toc-header) h2 {
  font-size: 1.2rem; /* 指定のフォントサイズ */
  font-weight: 700; /* 太字で見出し感を強調 */
  color: #2b2e4a; /* 落ち着いた深い青色 */
  border-left: 4px solid #f2a365; /* 左側にアクセントのライン */
  padding-left: 0.5em; /* 左側余白を確保 */
  margin-top: 1.2em; /* 見出し上部のスペース */
  margin-bottom: 0.6em; /* 見出し下部のスペース */
}

/* H3デザイン */
.custom-blog-article-content :not(.toc-header) h3 {
  font-size: 1rem; /* 指定のフォントサイズ */
  font-weight: 600; /* 少し軽めの太さ */
  color: #333333; /* 落ち着いたグレー */
  border-bottom: 1px dashed #cccccc; /* 下に破線のボーダー */
  padding-bottom: 0.2em; /* 下部余白を確保 */
  margin-bottom: 0.5em; /* 見出し下部のスペース */
}

/* H4デザイン */
.custom-blog-article-content :not(.toc-header) h4 {
  font-size: 1rem; /* 指定のフォントサイズ */
  font-weight: 500; /* 通常より軽め */
  color: #555555; /* 明るめのグレー */
  background: #f9f9f9; /* 背景色で軽いアクセント */
  padding: 0.4em 0.6em; /* 内側余白 */
  border-radius: 4px; /* 柔らかい角丸 */
  border-left: 3px solid #2b2e4a; /* 左側にライン */
}


/* 目次 ここから*/
.toc-box {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  max-width: 100%;
  margin: 10px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.toc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.toc-head h3 {
  margin: 0;
  font-size: 1em;
  color: #333333;
}
#toc-toggle-btn {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
  margin-left: auto;
}
#toc-toggle-btn:hover {
  text-decoration: underline;
}
.toc-body {
  display: none;
  margin-top: 12px;
}
.toc-body ul {
  list-style-type: none;
  padding-left: 0;
}
.toc-body li {
  margin-left: 16px;
}
.toc-body li h2 {
  margin-left: 16px;
}
.toc-body li h3 {
  margin-left: 32px;
}
/* 目次 ここまで */



/* .listpage-original クラス内の h1 ～ h3 に適用 */
/* listpage-original内の h1 */
.listpage-original h1 {
  font-size: 1.5rem; /* h1のみ大きく設定 */
  font-weight: bold; /* 太字で目立たせる */
  color: #222; /* ダークグレー */
  border-bottom: 3px solid #555; /* 下線を太めに */
  margin-bottom: 20px; /* 十分な余白 */
}

/* listpage-original内の h2 */
.listpage-original h2 {
  font-size: 1.2rem; /* h2, h3 は同じサイズ */
  font-weight: normal; /* 標準の太さ */
  color: #444; /* やや薄いグレー */
  border-left: 4px solid #777; /* 左にラインを追加 */
  padding-left: 10px; /* 内側余白 */
  margin-bottom: 16px; /* 適度な余白 */
}

/* listpage-original内の h3 */
.listpage-original h3 {
  font-size: 1.2rem; /* h2, h3 は同じサイズ */
  font-style: italic; /* イタリックでスタイル変更 */
  color: #666; /* ライトグレー */
  background-color: #f0f0f0; /* 背景色を追加 */
  padding: 8px 10px; /* 内側余白 */
  margin-bottom: 12px; /* コンパクトな余白 */
  border-radius: 5px; /* 角丸で柔らかい印象 */
}



/* CSS */
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-size: 14px;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
}

/* これでLI自体のデフォルトインジケータ(・)を無効化 */
.info-list li {
  list-style: none;
}

/* 万が一のために、疑似要素による丸点も削除 */
.info-list li::before {
  content: none !important;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  /* 下記はオプション：念のためもう一度list-styleを明示 */
  list-style: none;
}

.info-item:last-child {
  border-bottom: none;
}

.info-header {
  flex: 0 0 100px;
  font-weight: bold;
  color: #333;
}

.info-data {
  flex: 1;
  color: #555;
}

.info-link, .info-tag {
  color: #007acc;
  text-decoration: none;
  margin-right: 8px;
}

.info-link:hover, .info-tag:hover {
  text-decoration: underline;
}

.info-tag {
  display: inline-block;
  background: #e9f5ff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin: 2px 0;
}


/* リスト */
/* styles.css */
.modern-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.modern-list li {
  background: #f9f9f9;
  margin: 5px 0;
  padding: 10px 15px;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}



.share-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.5rem;
}
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.25rem;
  background: #f1f1f1;
  color: #555;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.share-button svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.5;
}
.share-button:hover {
  background: #e2e2e2;
  color: #000;
}