@charset "UTF-8";
/****************************************************
* top トップページ用スタイル *
*****************************************************/
/*ヘッダー 図書館サービス調整*/

/*Mobile*/
@media screen and (max-width: 767px){
	#tBookNav.box .container{
		position: static;
		opacity: 1;
		visibility: visible;
		-webkit-transform: none;
		        transform: none;
	}
	#tBookNav.box #bookSearch{
		margin-top: 0;
	}
	#tBookNav.open.box .container{
		position: fixed;
	}
	#tBookNav.box.open #bookSearch{
		margin-top: 15px;
	}
}
/*Desktop & Print*/
@media screen and (min-width: 768px), print{
	#tBookNav.box{
		font-size: 1.333333333333333em;	
	}
	#tBookNav.box b.label{
		font-size: 1.4375em;
		margin: 5px 0;
	}
	#tBookNav.box .btns{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-flow: row wrap;
		        flex-flow: row wrap;
	}
	#tBookNav.box .btns li{
		-webkit-box-flex: 1;
		    -ms-flex: 1;
		        flex: 1;
	}
	#tBookNav.box .btns li a{
		display: block;
	}
	.box #bookSearch{
		display: block;
		padding-top: 0;
		border-radius: 5px;
		overflow: hidden;
	}
	.box #bookSearch .search{
		margin: 0;
		padding: 20px 25px;
	}
	.box #bookSearch .search b.label{
		margin-right: 10px;
	}
	#bookSearch .search form{
		-webkit-box-flex: 1;
		    -ms-flex: 1;
		        flex: 1;
		min-width: 15em
	}
	.box #bookSearch .btns{
		margin: 10px 25px;
	}
	.box #bookSearch .btns li{
		min-width: 12em;
	}
	.box #myPage {
		display: block;
		text-align: center;
		margin-left: 20px;
		padding: 10px;
		border-width: 0;
		border-radius: 5px;
		font-size: 0.875em;
	}
	
	.box #myPage p{
		margin: 0.5em 0;
		line-height: 1.5;
		display: block;
	}
	.box #myPage p br{
		display: inline;
	}
	.box #myPage .btns li{
		min-width: 7.6em;
	}
	
}

/*コンテンツ*/
#main{
	margin-top: 56px;
	margin-bottom: 0;
}
.topBox{
	margin: 40px 0;
	padding: 30px 0;
}
.topBox h2{
	text-align: center;
	font-size: 1.4375em;
	font-weight: bold;
	margin-bottom: 10px
}
.topBox .container p{
	margin: 0.5em 0;
}
.list a{
	font-weight: bold;
	text-decoration: none;
}
.list a::after{
	content: "";
	display: inline-block;
	vertical-align: middle;
	margin-left: 0.5em;
	width: 0.5em;
	height: 1em;
	background-repeat: no-repeat;
}
.list a:hover, .list a:active, .list a:focus{
	text-decoration: underline;
}
.list a:hover::after, .list a:active::after, .list a:focus::after{
	-webkit-transform: translateX(0.25em);
	        transform: translateX(0.25em);
}

.list a.btn{
	font-size: 1em;
	font-weight: normal;
}

/*Mobile*/
@media screen and (max-width: 767px){
	#main{
		margin-top: 0;
	}
	.topBox{
		margin: 20px 0;
		padding: 15px 0;
	}
	.topBox h2{
		font-size: 1.15em;
	}
}
/*カレンダー*/
#topCalendar{
	overflow: hidden;
	font-size: 0.875em;
	padding-top: 20px;
}
#topCal{
	margin: 0 auto;
	max-width: 679px;
	position: relative;
}
#topCal table{
	table-layout: fixed;
}
#topCal caption{
	margin: 0 2em 5px;
	font-size: 1.642857142857143em;
}
#topCal th {
	text-align: center;
    padding: 3px 2px;
	font-size: 1em;
}
#topCal td {
	padding: 0;
	font-size: 1em;
}
#topCal td a{
	display: block;
	padding: 3px;
	text-decoration: none;
}
#topCal td a:hover,
#topCal td a:active,
#topCal td a:focus{
	text-decoration: underline;
}
#topCal td a .ev{
	display: block;
	float: right;
	text-decoration: none;
}

#topCal td a span.today{
	border-radius: 100%;
	width: 1.3em;
	height: 1.3em;
	border-style: solid;
	border-width: 1px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	margin-left: -0.1em;
}


#CalSlideNav {
	margin:0;
	list-style:none;
	font-size:0.857142857142857em;
	line-height: 1.5;
}
#CalSlideNav li{
	position:absolute;
	top: 1.2em;
}
#CalSlideNav li.prev{
	left:0;
}
#CalSlideNav li.next{	
	right:0;
}
#CalSlideNav li.prev a::before,
#CalSlideNav li.next a::after{
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center;
}
#CalSlideNav li.prev a::before{
	background-position: left center;
}
#CalSlideNav li.next a::after{
	background-position: right center;
}
#topCal footer{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
	margin-bottom: 10px;
}
.note span{
	margin-right: 0.2em;
}

#topCalendar .msg{
	text-align: center;
}

#topCalendar h3{
	font-size: 1.285714285714286em;
	font-weight: bold;
	margin-bottom: 2px;
	position: relative;
	padding-left: 1.2em;
}
#topCalendar  h3::before{
	content: "";
	height: 0.667em;
	width: 0.667em;
	display: inline-block;
	background-color: #1aaadf;
	vertical-align: middle;
	margin-right: 0.533em;
	margin-left: -1.2em
}
.calInfos dl,
.calInfos dt,
.calInfos dd{
	margin: 0;
}
.calInfos dl{
	border-style: solid;
	border-width: 0 1px 1px;
}
.calInfos dt{
	border-style: solid;
	border-width: 1px 0 0;
}
.calInfos dd{
}
.calInfos ul{
	margin: 0;
}

.statusList{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-flow: row wrap;
	        flex-flow: row wrap;
}
.calInfos .statusList dl{
	-webkit-box-flex: 1;
	    -ms-flex: 1 0 30%;
	        flex: 1 0 30%;
	border-left-width: 0;
	border-top-width: 0;
	display: flex;
	flex-flow: column nowrap;
}
.calInfos .statusList dl:nth-child(-n+3){
	border-top-width: 1px;	
}
.calInfos .statusList dl:nth-child(3n+1){
	border-left-width: 1px;
}
.calInfos .statusList dt{
	text-align: center;
	border: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.statusList dd{
	font-size: 0.92857142857143em;
	padding: 8px;
	text-align: center;
	flex: 1 auto;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
}
.stat{
	display:block;
	margin: 3px auto;
	overflow: hidden;
	width: 28px;
	padding-top: 28px;
    height: 0;
	background-size: contain;
	background-position: center;
	position: relative;
}
.stat::before{
	content: "";
	display: inline-block;
	position: absolute;
	border-style: solid;
	border: 3px solid;
}
.stat.open::before{
	top: 0; bottom: 0;
	left: 0; right: 0;
	border-radius: 50%;
}
.stat.closed::before{
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -1px;
	border-width: 3px 0 0 ;
}
.note .stat{
	padding-top: 1em;
	width: 1em;
	display: inline-block;
	vertical-align: middle;
}
.note .stat.open{
	border-width: 2px;
}
.devStatus .note{
	text-align: right;
}

/*件数調整 6件以下*/
.calInfos .statusList:has(>dl:nth-child(-n+6):last-child) dt{
	padding-top: 12px;
	padding-bottom: 10px;
}
.calInfos .statusList:has(>dl:nth-child(-n+6):last-child) dd{
	padding-top: 12px;
	padding-bottom: 12px;
}

/*件数調整 4件=2/2,5件=2/3,7件=2/2/3,8件=2/3/3*/
.calInfos .statusList:has(>dl:nth-child(4):last-child) dl,
.calInfos .statusList:has(>dl:nth-child(5):last-child) dl:nth-child(-n+2),
.calInfos .statusList:has(>dl:nth-child(7):last-child) dl:nth-child(-n+4),
.calInfos .statusList:has(>dl:nth-child(8):last-child) dl:nth-child(-n+2){
    -ms-flex: 1 0 50%;
        flex: 1 0 50%;	
}
.calInfos .statusList:has(>dl:nth-child(4):last-child) dl:nth-child(3),
.calInfos .statusList:has(>dl:nth-child(5):last-child) dl:nth-child(3),
.calInfos .statusList:has(>dl:nth-child(7):last-child) dl:nth-child(3),
.calInfos .statusList:has(>dl:nth-child(7):last-child) dl:nth-child(5),
.calInfos .statusList:has(>dl:nth-child(8):last-child) dl:nth-child(3),
.calInfos .statusList:has(>dl:nth-child(8):last-child) dl:nth-child(6){
	border-top-width: 0px;
	border-left-width: 1px;
}
.calInfos .statusList:has(>dl:nth-child(4):last-child) dl:nth-child(4),
.calInfos .statusList:has(>dl:nth-child(5):last-child) dl:nth-child(4),
.calInfos .statusList:has(>dl:nth-child(7):last-child) dl:nth-child(4),
.calInfos .statusList:has(>dl:nth-child(7):last-child) dl:nth-child(7),
.calInfos .statusList:has(>dl:nth-child(8):last-child) dl:nth-child(4),
.calInfos .statusList:has(>dl:nth-child(8):last-child) dl:nth-child(7){
	border-left-width: 0;
}



.devEvent .notFund{
	text-align: center;
	padding: 5px;
	font-size: 1.17em;
}

/*Mobile*/
@media screen and (max-width: 767px){
	#topCal caption{
		font-size: 1.3em;		
	}
	#topCalendar  h3{
		font-size: 1.2307692307692em;
	}
	.devEvent dt{
		padding-left: 10px;
	}
	.calInfos dd{
		padding: 5px 0;
	}
	.calInfos ul{
		list-style: none;
		padding-left: 10px;
	}
	.calInfos small{
		font-size: 65%;
	}
	dd .stat{
		width: 18px;
		padding-top: 18px;
	}
	.stat.open::before{
		border-width: 2px;
	}
	.stat.closed::before{
		border-width: 2px 0 0 ;
	}
}
@media screen and (max-width: 380px){
	#topCal table{
		font-size: 0.875em;
	}
	.devEvent .notFund{
		font-size: 1em;
	}
}
@media screen and (min-width: 768px), print{
	.topBox .row .devStatus{
		width: 370px;
		order: -1;
		margin-bottom: 20px;
		margin-right: 16px;
	}
	.topBox .row .colL,
	.topBox .row .devEvent{
		-webkit-box-flex: 1;
		    -ms-flex: 1 1 43%;
		        flex: 1 1 43%;
		width: 62.3%;
	}
	
	#topCal th {
    	padding: 7px 2px;
	}
	#topCal td a{
		padding: 7px 10px;
		min-height:46px;
	}
	#topCal .mw6 td a{
		min-height:36px
	}
	#topCal .mw4 td a{
		min-height:60px
	}
	
	.calInfos .statusList{
		margin-top: 14px;
		min-height: 345px;
	}
	.calInfos dt{
		line-height: 1;
		font-size: 1.0714285714286em;
		padding:9px 5px 7px;
	}
	.calInfos ul{
		padding: 5px 10px 12px 1.9285714285714em;
	}
	.calInfos small{
		font-size: 93%;
	}
	.stat.closed::before{
		left: 3px;
		right: 3px;
	}

	.devEvent .notFund{
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: 75px;
	}
	.row .devEvent .notFund{
		min-height: 300px;
	}
}

/*おしらせ*/
#libInfo{}
#topSlide{
	position: relative;
	overflow: hidden;
}
#topSlide .slick-slide{
	text-align: center;
}
#topSlide .slick-slide img{
	margin: 0 auto;
}

#libNews h2::before{
	content: "";
	display: inline-block;
	position: absolute;
	background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI3LjIgNTQuMDciPjxnPjxjaXJjbGUgY3g9IjEzLjEzIiBjeT0iNDMuNTciIHI9IjEwIiBmaWxsPSJub25lIiBzdHJva2U9IiNjMmMyYzIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPjxwYXRoIGZpbGw9IiNmZjk5MjYiIGQ9Ik0xNi44OSAzNi4zN2wtOC4yIDIuMDJMMCAyLjAyIDguMiAwbDguNjkgMzYuMzd6IiBvcGFjaXR5PSIuNyIvPjxwYXRoIGZpbGw9IiNmZjk5MjYiIGQ9Ik0xOC4zOCAzOC41M2wtOC42My0xLjc5IDguODItMzUuNjUgOC42MyAxLjc5LTguODIgMzUuNjV6Ii8+PHBhdGggZmlsbD0iI2YxYTYzYiIgZD0iTTcuNDYgMzcuNjhsMTIuMTctLjUgMi4wMy0xNi41Mi04Ljc0LS44LTUuNDYgMTcuODJ6Ii8+PHBhdGggZmlsbD0iI2VkODkxZSIgZD0iTTE4LjYzIDM5LjA3bC0xMi4wOC4wN0w0LjYgMjAuOTNsMTQuMDMtLjZ2MTguNzR6Ii8+PC9nPjwvc3ZnPg==');
}
#libNews{
	font-size: 0.8125em;
	text-align: center;
}
#libNews h3{
	font-weight: bold;
	margin-top: 18px;
	margin-bottom: 8px;
	line-height: 1.5;
}
#libNews .article img{
	width: auto;
	max-width: 100%;
	max-height: 150px;
	margin: auto;
}
#libNews .article .info{
	text-align: left;
}
#libNews .article a{
	display: inline-block;
}
@media screen and (max-width: 767px){
	#libNews h2 {
		margin: 20px auto 14px;
		border: 1px solid #c2c2c2;
		border-radius: 5px;
		width: 80%;
		position: relative;
	}
	#libNews h2::before{
		left: -23px;
    	top: 50%;
		margin-top: -34px;
		width: 54px;
		height: 28px;
		-webkit-transform: rotate(-90deg);
		        transform: rotate(-90deg);
	}
	#libNews .article{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: start;
		    -ms-flex-align: start;
		        align-items: flex-start;
	}
	#libNews .article img{
		margin: 0 10px 10px 0;
		width: 40%;
	}
	#libNews h3{
		margin: 0 0 3px;
	}
	#libNews .list{
		text-align: center;
	}
}
@media screen and (min-width: 768px), print{
	#libInfo .container{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
	#topSlide{
		-webkit-box-flex: 1;
		    -ms-flex: 1 2 79%;
		        flex: 1 2 79%;
	}
	#libNews {
		min-width: 167px;
		width: 20%;
		margin-left: 28px;
		position: relative;
		border: 1px solid #c2c2c2;
		padding: 0 15px 15px;
		border-radius: 5px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-flow: column;
		        flex-flow: column;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
	#libNews h2{
		padding-top: 33px;
		font-size: 1.2857142857143em;
		margin-bottom: 9px;
	}
	#libNews h2::before{
		top: -22px;
		left: 0;
		right: 0;
		margin: auto;
		width: 27px;
		height: 54px;
	}
	
	#libNews .list{
		margin-top: 20px;
	}
	#libNews .list a.btn{
		display: block;
	}
}

/*ピックアップ*/
#pickup{
	padding: 20px 0 10px;
}
/*新着*/
#topicNews{
	margin: 0;
	padding-bottom: 5px;
}
#topicNews header{
	position: relative;
}
#topicNews header .list{
	margin: 0;
} 
#topicNews header .list .rss{
	position: absolute;
	right: 4px;
    top: 5px;
	padding: 0 0.5em;
	font-size: 0.85714285714286em;
} 
#topicNews header .rss::after{
	display: none;
}
#topicNews header .rss::before{
	content: "";
	display: inline-block;
	width: 1em;
	height: 0.9em;
	margin-right: 0.5em;
}
#topicNews .list{
	margin-top: 20px;
	text-align: center;
	font-size: 0.8125em;
}
#topicNews .list .btn{
	line-height: 1.75;
    padding: 0.5em 1em;
}

/*イベント*/
#event{
	margin: 0;
}
#event ul.cards{
	list-style: none;
	margin: 0 -7px  ;
	padding: 0;
	font-size: 0.875em;
	-webkit-box-pack:center;
	    -ms-flex-pack:center;
	        justify-content:center;
}
#event ul.cards li{
	width: 25%;
	padding: 7px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
#event a.card{
	width: 100%;
	display: block;
	text-decoration: none;
	border: 1px solid;
	border-radius: 5px;
}
#event .card .info{
	border-radius: 5px 5px 0 0;
}
#event .card small{
	padding: 0 3px;
}
#event .card .title{
	font-weight: bold;
}
#event a:hover .title,
#event a:active .title,
#event a:focus .title{
	text-decoration: underline;
}
#event .card .data{
	text-align: center;
	padding: 11px 0 9px 0;
}

#event .card .data p{
	margin: 0;
	font-size: 0.85714285714286em;
}
#event .card .data span{
	display: inline-block;
}
#event .card .data p span+span::before{
	content: "|";
	display: inline-block;
	margin: 0 0.8em;
}


#event .list{
	margin-top: 20px;
	text-align: center;
	font-size: 0.8125em;
}
.list .btn.more{
	line-height: 1.75;
    padding: 0.5em 2em;
}
.list .btn.more::after{
	width: 0.8em;
	height: 0.5em;
}
.list .btn.more:hover::after{
	-webkit-transform: translateY(0.25em);
	        transform: translateY(0.25em)
}

/*Desktop&print*/
@media screen and (min-width: 768px), print{
	#event .card .info{
		padding:7px 15px 9px;
	}
	#event .card time,
	#event .card .title{
		font-size:1.1428571428571em;
	}
	#event .card small{
		font-size: 0.8125em;
	}
	#event .card .title{
		line-height: 1.4;
	}
	#event .card .countdown{
		margin-top: 2px;
	}
	#event .card  .kind span:nth-of-type(n+2){
		margin-left: 0;
	}
}
@media screen and (max-width: 1140px), print{
	#event ul.cards li{
		width: calc( 100% / 3 );
	}
}
/*Mobile*/
@media screen and (max-width: 767px){
	#event ul.cards li{
		width: 50%;
	}
	#event .card .info{
		padding: 3px 9px;
	}
	#event .card time{
		display: inline-block;
	}
	#event .card time,
	#event .card .title{
		padding: 2px 0 3px;
		line-height: 1.2;
	}
	#event .card small{
		padding: 0;
	}
	#event .card .data{
		padding: 6px 3px;
	}
	#event .card .data .kind{
		margin-bottom: 0.2em;
	}
	#event .card .data p{
		font-size: 0.92307692307692em;
	}

	#event .card .data p span+span::before{
		margin: 0 0.5em;
	}
}


/*サービス*/
#service{
	margin-bottom: 0;
}

#service .container{
	font-size: 0.875em;
	/*max-width: 1063px;*/
}
@media screen and (max-width: 767px){
	#service .sList > li{
		margin: 5px;
		width: calc( 50% - 10px);/*2カラム*/
	}
}
@media screen and (max-width: 479px) {
	#service .sList > li{
		width: calc( 100% - 10px);/*1カラム*/
	}
}

/*施設*/
#map{
	margin-top: 10px;
}

#map .container{
	padding: 0;
}
#map #mList,
#map #mList ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
#map #mList{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
}
#map #mList >li{
	padding: 0 6px 20px 6px;
	width: calc(100% / 3 );
	line-height: 1.5;
	font-size: 0.8125em;
}
#mList .thumb{
	border-radius: 5px;
}
#mList .thumb::before{
	padding-top: 54%;
}
#mList .title {
	font-weight: bold;
	font-size: 1.153846153846154em;	
}
#mList .title a{
	font-weight: bold;
	text-decoration: none;
}
#mList .title a:hover,
#mList .title a:active,
#mList .title a:focus{
	text-decoration: underline;
}
#mList .title a::after{
	content: "";
	display: inline-block;
	width: 0.4em;
    height: 0.66666666666667em;
	margin-left: 0.3em;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#mList .title a:hover::after,
#mList .title a:active::after,
#mList .title a:focus::after{
	-webkit-transform: translateX(5px);
	        transform: translateX(5px);
}


@media screen and (min-width: 768px), print{
	#map .row{
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}
	#map #googleMap{
		margin: 10px 0;
		padding:0 10px		
	}
	#map #guide{
		padding:10px;
		width: 542px;
	}
}
/*リキッド*/
@media screen and (max-width: 1100px), print{
	
	#map #guide{
		margin-top: 33px;
	}
	#map #mList >li{
		width: 33.3%;
	}
}
/*Mobile*/
@media screen and (max-width: 767px){
	#googleMap,
	#map #guide{
		width: 100%;
	}
	#map #mList >li{
		width: 50%;
		/*margin: 0 -6px ;*/
		padding-bottom: 17px;
	}
	#map #mList .title{
		padding-top: 6px;
	}
}
