:root{
  --member-page-font-color: #979797;
  /*
  var(---member-page-font-color)*/
}

.schedule-wrapper{
  margin: 1rem;
}

img {
  max-width: 500px; /* 最大幅 */
  min-width: 100px; /* 最小幅 */
  width: 100%;
}

/* タブレット用 */
@media screen and (max-width: 959px) {

}

/* スマホ用 */
@media screen and (max-width: 480px) {

}

/* =========================================
   目次（リンク羅列）エリアのUI改善
   ========================================= */

/* カテゴリ見出し（「凸記号」「点字」など）の装飾 */
.headline-in-news-text {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-left: 5px solid #8e1728; /* 左にアクセントカラーの線を入れる */
  padding-left: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

/* リスト全体の余白を整え、デフォルトの記号を消す */
.chapter ul {
  list-style-type: none; /* デフォルトの四角（square）を非表示に */
  padding-left: 0;
  margin: 0;
}

/* 各リストアイテムの余白 */
.chapter ul li {
  margin-bottom: 8px;
}

/* リンクをブロック化して、タップ領域を広げる */
.chapter ul li a {
  display: block; /* 行全体をクリック可能に */
  padding: 12px 16px; 
  background-color: #f8f9fa; 
  color: #606060; /* 青から濃いグレーに変更 */
  text-decoration: none; 
  border-radius: 6px; 
  border: 1px solid #e9ecef; 
  transition: all 0.2s ease; 
  line-height: 1.5;
  
  /* 矢印アイコンを配置するための設定を追加 */
  position: relative;
  padding-right: 32px; /* 右側に矢印用の余白を確保 */
}

/* クリックできることを示す矢印を右端に追加 */
.chapter ul li a::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 2px solid #999999; /* 矢印の色 */
  border-right: 2px solid #999999;
  transition: all 0.2s ease;
}

/* マウスオーバー時（パソコン閲覧時）の反応 */
.chapter ul li a:hover {
  background-color: #e2e6ea;
  border-color: #dae0e5;
  color: #000000; /* ホバー時は完全な黒にして強調 */
  transform: translateX(4px); 
}

/* ホバー時に矢印の色も少し濃くする */
.chapter ul li a:hover::after {
  border-color: #555555;
}

/* スマホ・タブレット用：タップしやすくするためにさらに余白を調整 */
@media screen and (max-width: 768px) {
  .chapter ul li a {
    padding: 16px;
    padding-right: 36px;
    font-size: 0.95rem;
  }
}

/* =========================================
   論文アコーディオン（展開式）のスタイル
   ========================================= */

/* 元<ul>だった部分の余白リセット */
.accordion-wrapper {
  margin: 0;
  padding: 0;
}

/* アコーディオン全体の枠組み */
.paper-details {
  margin-bottom: 8px; 
  background-color: #f8f9fa; /* 薄いグレーの背景 */
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

/* クリックするタイトル部分 */
.paper-details summary {
  display: block;
  padding: 12px 16px;
  padding-right: 32px;
  color: #606060; /* 選んでいただいた濃いグレー */
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: all 0.2s ease;
  line-height: 1.5;
}

/* Safari向け設定 */
.paper-details summary::-webkit-details-marker {
  display: none;
}

/* ホバー時の反応 */
.paper-details summary:hover {
  background-color: #e2e6ea;
  color: #000000; /* ホバー時は完全な黒 */
}

/* 開閉アイコン（＋と－） */
.paper-details summary::after {
  content: '＋';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #999999;
}

.paper-details[open] summary::after {
  content: '－';
}

/* 開いている時は、タイトル部分に下線を引いて少し目立たせる */
.paper-details[open] summary {
  border-bottom: 1px solid #e9ecef;
  border-radius: 6px 6px 0 0;
  font-weight: bold;
  color: #333333;
}

/* タイトルの文字サイズ */
.summary-title-ja {
  font-size: 1rem;
}

/* 詳細エリア（展開された中身） */
.paper-content {
  padding: 24px 16px;
  background-color: #ffffff; /* 中身は白背景にして読みやすく */
  border-radius: 0 0 6px 6px;
  font-size: 0.95rem;
  color: #333333;
}

/* 中身のテキスト間の余白 */
.paper-content p,
.paper-content div {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* 論文内の各項目ラベル（著者、論文誌、抄録など） */
.paper-label {
  display: inline-block;
  font-weight: bold;
  color: #ffffff; /* 文字は白 */
  background-color: #8e1728; /* 研究室のアクセントカラー */
  padding: 4px 12px;
  margin-top: 20px; /* 上に少し余白を開けて区切りを明確に */
  margin-bottom: 8px; /* 下のテキストとの余白 */
  border-radius: 4px; /* 角を少し丸くして柔らかい印象に */
  font-size: 0.85rem;
}

/* 論文タイトル部分（太字）の下にも少し余白を */
.paper-content b {
  display: inline-block;
  margin-bottom: 8px;
}

/* スマホ用 */
@media screen and (max-width: 768px) {
  .paper-details summary {
    padding: 16px;
    padding-right: 36px;
    font-size: 0.95rem;
  }
}