/* 共通：最上部メニューの余白調整 */

.navbar-header h1 {
  margin: 0;
}

/* 共通：サイドメニューの余白調整 */

.page-info {
  margin-bottom: 20px;
}

.local-menu {
  border-bottom: 1px dotted #ddd;
  margin: 0 0 40px;
  padding-bottom: 20px;
}

.local-menu a {
  padding: 10px 2.5px 5px 22.5px;
}
.local-menu a::before {
  left: 5px;
}

/* pagenaviに高さを認識させる */

.wp-pagenavi {
  overflow: hidden;
  padding: 0 1px;
}

/* お知らせ：サイドバーの検索フォーム */

.form-group-custom {
  display: flex;
}

.form-group-custom label {
  margin: 0 3px 0 0;
}

.form-group-custom .search-submit{
  padding: 6px 10px;
}

/* 住所部分の点線の削除 */

abbr[title] {
  border-bottom: none;
}

/* 記事：余白調整 */

.entry-content dl {
  padding: 15px 20px;
}
.entry-content dt:first-child {
  margin: 1px 0 5px;
}
.entry-content {
  border-bottom: 1px dotted #ddd;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

/* 共通：情報パネルの余白調整 */

.panel-body {
  padding: 11px 15px 13px;
}
.panel-body h4:first-child {
  margin-top: 3px;
}

/* トップページ：関連サイトのデザイン調整 */

.library-links-item {
  border-top: 1px solid #ffebcc;
  border-right: none;
  padding: 0;
}

.library-links img {
  border: 1px solid #ffebcc;
}

.library-links-header {
  color: #555;
  font-size: 15px;
}

.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}

/* トップページ：一覧ボタン */

.btn-all {
  margin-top: -5px;
  padding: 3px 0;
}

/* トップページ：検索窓・選択ボタン */

.searchbox .btn-group > .btn-searchbox {
  font-size: 13px;
}

.btn-searchbox.active::before {
  font-family: FontAwesome;
  display: inline-block;
  content: '\f058';
}

/* トップページ：検索窓・選択ボタンの下の吹き出し */

.selection-search-item {
  background: #FAEDED;
  border-radius: 1px;
  border: 1px solid #FFD0C8;
  padding: 8px 10px;
}
.selection-search-item::before {
  content:'';
  border-bottom: 12px solid #FFD0C8;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  top: -12px;
  position:absolute;
}
.selection-search-item::after {
  content:'';
  border-bottom: 12px solid #FAEDED;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  top: -10px;
  position:absolute
}
.selection-search-item.summon::before,
.selection-search-item.summon::after {
  left: 20%;
}
.selection-search-item.opac::before,
.selection-search-item.opac::after {
  left: 50%;
}
.selection-search-item.jk::before,
.selection-search-item.jk::after {
  left: 80%;
}
.selection-search-item.active::before,
.selection-search-item.active::after {
  opacity: 1;
}

/* トップページ：中央部分の三つのバナー */

.selection-menu {
  border-top: 1px solid #ffe0bd;
  padding: 0 10px 40px;
}

.selection-menu-item {
  clear: both;
  margin-top: 20px;
}

.selection-menu-item .link-bnr,
.selection-menu-item .link-bnr::after,
.selection-menu-item .link-bnr img {
  width: 180px;
}

.selection-menu-item .link-bnr {
  -webkit-box-shadow:5px 5px 0 0 rgba(46,187,221,0);
  box-shadow:5px 5px 0 0 rgba(46,187,221,0);
  -webkit-transition:all 0.4s ease-in-out;
  -o-transition:all 0.4s ease-in-out;
  transition:all 0.4s ease-in-out;
  display:block;
  float:left;
  margin: 0 10px 10px 0;
  overflow:hidden;
  position:relative;
}

.selection-menu-item .link-bnr::after {
  -webkit-transition:all 0.4s;
  -o-transition:all 0.4s;
  transition:all 0.4s;
  content:"";
  display:block;
  border:1px solid transparent;
  margin:0 auto;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
}

.selection-menu-item .link-bnr:hover::after {
  opacity:1;
  border-color: #ff5a40;
}

.selection-menu-item.active::before,
.wp-pagenavi .selection-menu-item.current::before,
.selection-menu-item.active::after,
.wp-pagenavi .selection-menu-item.current::after {
  opacity: 1;
}

.selection-menu-item.active a::after,
.wp-pagenavi .selection-menu-item.current a::after {
  border-color: #ff5a40;
}

.selection-menu-item-description {
  overflow: hidden;
}


/* PC版画面のみ */

@media screen and (min-width: 768px) {

  .page-info {
    margin-bottom: 40px;
  }

  .local-menu {
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
  }

  .entry-content {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .selection-search-form {
    display: table;
  }
  .selection-menu-item .link-bnr,
  .selection-menu-item .link-bnr::after,
  .selection-menu-item .link-bnr img {
    width: 218px;
  }
  .selection-menu-item .link-bnr {
    float: none;
    margin: 0 auto 15px;
  }

}

@media screen and (max-width: 991px) and (min-width: 768px) {

  .navbar-bulp .navbar-collapse {
    font-size: 13px;
    margin: 0 -15px 0 -30px;
  }

}

/* スマホ版画面（最小）のみ */

@media screen and (max-width: 414px) {

  .selection-menu-item .link-bnr {
    float: none;
    margin: 0 auto 15px;
  }
  .selection-menu-item .link-bnr,
  .selection-menu-item .link-bnr::after,
  .selection-menu-item .link-bnr img {
    width: 218px;
  }
  .searchbox .btn-group > .btn-searchbox {
    font-size: 11px;
  }

}

/* 開館カレンダーのCSS */

.calendar-heading {
  background: #fff5e1;
  border-top: 1px solid #ffebcc;
  border-bottom: 1px solid #ffebcc;
  color: #714500;
  font-size:1.2em;
  padding: 1rem;
}

.table-calendar caption {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 5px;
}
.table-calendar th {
  text-align: center;
}
.table.table-calendar thead tr td,
.table.table-calendar tbody tr td,
.table.table-calendar tfoot tr td {
  font-size: 15px;
  height: 30px;
  padding: 0;
  vertical-align: middle;
}
.table-calendar td a,
.table-calendar td a:visited {
  background: #fff;
  display: block;
  line-height: 30px;
  text-decoration: none;
}
.table-calendar td a:hover,
.table-calendar td a:active  {
  background: #ffeeeb;
  text-decoration: none;
}
.table-calendar.murasakino .td-gray,
.table-calendar.nijo .td-gray {
  background: #eeeeee;
  color: gray;
}

.table-calendar.murasakino td,
.table-calendar.murasakino th {
  border:1px solid #cec1e6;
  color: #73658c;
}
.table-calendar.murasakino th {
  background: #e1d8f1;
}
.table-calendar.murasakino td {
  background: #fcf9ff;
}
.table-calendar.murasakino .td-dark {
  background: #f0ebf8;
}

.table-calendar.nijo td,
.table-calendar.nijo th {
  border: 1px solid #99ce9d;
  color: #5b9760;
}
.table-calendar.nijo th {
  background: #ccecce;
}
.table-calendar.nijo td {
  background: #f2faf3;
}
.table-calendar.nijo .td-dark {
  background: #e4f3e5;
}

/*-- パンくずリスト --*/
.breadcrumb_container{
  margin-top: -30px;
  margin-bottom: 30px;
  margin-left: -60px;
  color: #999999;
}
@media screen and (max-width: 767px) {
  .breadcrumb_container{
    margin-top: -10px;
  } 
}
.breadcrumb__item {
  display: inline;
  color: #999999;
}
li.breadcrumb__item::after {
  content: '>';
}
li.breadcrumb__item:last-child::after{
  content: '';
}
.breadcrumb__item a {
  text-decoration: none;
}
.breadcrumb__item a:hover {
  opacity: .6;
}

/*-- 個別ページカスタム 2024.3追加 --*/
.bg-custom{
  border: 1px solid #ffd28a;
  padding: 20px;
}

h3.custom-headline{
  background-color: #fff5e6;
  padding: 5px 10px;
  border-bottom: 3px solid #eea239;
  margin-bottom: 20px;
}