@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/************************************
** 開館日程
************************************/
/* 通常開館平日 */
table td.weekday{
	background-color: #817DFB;
	color:#FFFFFF;
	text-align:center; 
	border-style: none !important;
}

/* 日曜日 */
table td.sunday{
	background-color: #ffffff;
	color:#ff0000;
	text-align:center; 
	border-style: none !important;
}

/* 土曜日 */
table td.saturday{
	background-color: #FFFF99;
	color:#000000;
	text-align:center; 
	border-style: none !important;
}

/* 休館 */
table td.rest{
	background-color: #ffffff;
	color:#ff0000;
	text-align:center; 
	border-style: none !important;
}

/* 祝日 */
table td.holiday{
	background-color: #ffffff;
	color:#ff0000;
	text-align:center;
	border-style: none !important;
}

/* 5時閉館 */
table td.open00{
	background-color: #CAF9D2;
	color:#000000;
	text-align:center; 
	border-style: none !important;
}

/* 7時閉館学内 */
table td.open01{
	background-color: #817DFB;
	color:#FFFFFF;
	border:#FA7DB7 solid 2px !important;
	text-align:center; 
}

/* 5時閉館学内 */
table td.open02{
	background-color: #CAF9D2;
	color:#000000;
	border:#FA7DB7 solid 2px !important;
	text-align:center; 
}

/* 土曜学内 */
table td.open03{
	background-color: #FFFF99;
	color:#000000;
	border:#FA7DB7 solid 2px !important;
	text-align:center; 
}

/* 部分開館 */

table td.open04{
	background-color: #FEC2F7;
	color:#000000;
	border:#FA7DB7 solid 2px !important;
	text-align:center; 
}
/* 空白 */

table td.white{
	background-color: #FFFFFF;
	border-style: none !important;
	text-align:center; 
}
/* 空白左寄せ */

table td.whiteleft{
	background-color: #FFFFFF;
	border-style: none !important;
}

/* 背景白左寄せ枠線あり */

table td.whiteleftborder{
	background-color: #FFFFFF;
	border:#CCCCCC solid 1px !important;
}

/* トップページ用フォント */

.top{
	font-size: 8pt;
}


/************************************
** ボックスメニュー
************************************/

/*タイトルのサイズ・色変更*/
.box-menu-label{
	color: #6B7599;
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: 8px;
}
/*サブキャプションのサイズ・色変更*/
.box-menu-description {
	color: #000000;
	font-size: 14px;
}

/*アイコン画像サイズ拡大*/
.box-menu-icon img {
    margin: 10px 0;
    max-width: 140px;
}

.box-menu{
	padding: 5px;
}

.box-menu:hover{
	background: #F4FBFE;
}


/************************************
** 記事一覧タブ切り替え
************************************/

/* タブ切り替え 新着記事-人気記事 開始 */
.tab-wrap {
	background: #FFF9EE;
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	padding: 0 0 20px;
	margin-bottom: 30px;
}

.tab-label {
	color: Gray;
	cursor: pointer;
	flex: 1;
	font-weight: bold;
	order: -1;
	padding: 12px 24px;
	position: relative;
	text-align: center;
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s;
	user-select: none;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	border-bottom: 3px solid #afafb0;
}

.tab-label:hover {
	background: rgba(100, 100, 100,.1);
}

.tab-switch:checked + .tab-label {
	color: #545454;
}

.tab-label::after {
	background: #545454;
	bottom: -3px;
	content: '';
	display: block;
	height: 3px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateX(100%);
	transition: cubic-bezier(0.4, 0, 0.2, 1) .2s 80ms;
	width: 100%;
	z-index: 1;
}

.tab-switch:checked ~ .tab-label::after {
	transform: translateX(-100%);
}

.tab-switch:checked + .tab-label::after {
	opacity: 1;
	transform: translateX(0);
}

.tab-content {
	height:0;
	opacity:0;
	padding: 0 10px;
	pointer-events:none;
	transform: translateX(-30%);
	transition: transform .3s 80ms, opacity .3s 80ms;
	width: 100%;
}

.tab-switch:checked ~ .tab-content {
	transform: translateX(30%);
}

.tab-switch:checked + .tab-label + .tab-content {
	height: auto;
	opacity: 1;
	order: 1;
	pointer-events:auto;
	transform: translateX(0);
}

.tab-wrap::after {
	content: '';
	height: 20px;
	order: -1;
	width: 100%;
}

.tab-switch {
	display: none;
}
/* タブ切り替え 新着記事-人気記事 終了 */

/************************************
** リンク
************************************/
.toppage a:link {color:#6B7599;
	text-decoration:none;}
.toppage a:visited{color:#6B7599;
	text-decoration:none;}
.toppage a:hover	{color:#36b39a;
	text-decoration:underline;}

/****************
タブ見出しボックス
****************/

.tab-caption-box-content {
	border: 1px solid; /*ボックス線*/
	padding: 20px 20px; /*ボックス内側余白*/
}

/****************
見出し
****************/
.article-header h1 {
	font-weight: normal;
	font-size: 22px;
}

.article h2 {
	font-size: 20px;
	padding: 10px;
}

.article h3 {
	font-size: 20px;
	background-color: #F1F7F9;
	color: #333132;
}

.article h4 {
	font-weight: normal;
	font-size: 20px;
}

.article h5 {
	color: #636466;
	font-size: 20px;
}
/****************
右寄せ
****************/
.right {
	text-align: right;
}
/****************
WebOPAC検索ボタン
****************/
.WebOPACbutton {
  display       : inline-block;
  border-radius : 5%;          /* 角丸       */
  font-size     : 12pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 12px 16px;   /* 余白       */
  background    : #36b39a;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  opacity       : 1;           /* 透明度     */
  transition    : .3s;         /* なめらか変化 */
  border: 0;
}
.WebOPACbutton:hover {
  opacity       : 0.8;         /* カーソル時透明度 */
}

.WebOPACbg {
	background-color: #EBF6F7;
}

/****************
サイドバー見出し
****************/
.sidebar h3{
  background-color:#00738A;/*好きな背景色にする*/
  padding:5px 10px;/*見出しの内側の余白を調整する*/
  margin:16px 0;
  font-weight:normal;
}

/*---------------------------------
ボックス（白抜き）の枠の太さを変える
--------------------------------*/
.blank-box.bb-yellow {border-width: 1px; border-color: #95949a;} /* 黄色→灰色 */

/****************
マージン上下0
****************/
.mgn0 {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-top: 0px;
}
/****************
アイコンリストタイトル左寄せ
****************/
.iconlist-title {
	text-align: left;
}
/****************
マージン左右0
****************/
.mgnl0 {
	margin-left: 0px;
	padding-left: 0px;
}
.mgnr0 {
	margin-right: 0px;
	padding-right: 0px;
}
/****************
フッターモバイル
****************/
/* .icon-higaのところを任意のクラスに変更 */
.mobile-menu-buttons .menu-icon .icon-web::before{
    content: '';
    width: 100%;
    height: 1em;
     /* icon.pngの画像を任意のURLに変更 */ 
    background: url('https://www.lib.kunitachi.ac.jp/wp-content/uploads/2023/06/webopac.png') no-repeat center / contain;
    display: block;
}
