/* データベース詳細（学修指導書2026, シラバス2026） */
.student-guide-detail {
  font-size : 1rem;
}

/* 新着のみ訪問済みリンクの色を変更 */
.plugin-whatsnews .card-body a:visited {
  color: #6f42c1;
}

/* classにvisitedを設定したら、訪問済みリンクの色を変更 */
.visited .card-body a:visited {
  color: #6f42c1;
}

/* メニュープラグイン＋ディレクトリ展開式テンプレートの2階層目のみ、少し左に余白をとる */
.plugin-menus.menus-opencurrenttree .depth-1 {
  padding-left: 1.6rem !important;
}

/* タブフラットのメニューはスマホでも表示する */
.plugin-menus.menus-tab_flat .nav-tabs.d-none {
  display: flex !important;
}

/* スクーリング出欠のテーブル幅調整 */
.plugin-schoolingattendance .schooling-detail .thead-attendance {
  width: 8%;
  white-space: nowrap;
}
.plugin-schoolingattendance .schooling-detail .thead-gakuno {
  width: 10%;
}
.plugin-schoolingattendance .schooling-detail .thead-name {
  width: 15%;
}
.plugin-schoolingattendance .schooling-detail .thead-delete {
  white-space: nowrap;
}
.plugin-schoolingattendance .schooling-detail .tbody-name {
  white-space: nowrap;
}
.plugin-schoolingattendance .schooling-detail .tbody-memo input[type="text"] {
  width: 100%;
}

/* レインボーボタン */
.rainbow-button-pastel {
  /* 淡いパステル調の7色グラデーション（赤・橙・黄・緑・青・藍・紫） */
  background: linear-gradient(
    to right,
    #ffb3ba, /* 淡い赤 */
    #ffdfba, /* 淡い橙 */
    #ffffba, /* 淡い黄 */
    #baffc9, /* 淡い緑 */
    #bae1ff, /* 淡い青 */
    #c4c4ff, /* 淡い藍 */
    #e2baff  /* 淡い紫 */
  );
  
  /* 淡い背景に合わせて文字色を濃いグレーに変更 */
  color: #333333;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.rainbow-button-pastel:hover {
  opacity: 0.85;
}

/* 印刷時 */
@media print {
  /* 左エリアを印刷しない */
  .ccLeftArea {
    display:none;
  }

  /* データベース詳細（学修指導書2026）、印刷時のみ外の枠線消す */
  #frame-card-3719 {
    border-style: none;
  }
}