@charset "UTF-8";


/* ===============================================
	layout
=============================================== */
html, body{ height: 100%; }
body{
	font-family:'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
	font-size:14px;
	line-height:22px;
	color:#333;
	background-color: #ececea;
}
#wrap{
	width:100%;
	position:relative;
	min-height: 100%;
}
.inner{
	width: 100%;
}
header{
	width:100%;
	position:relative;
	background-color: #fff;
}
#container{
	width:100%;
	display:flex;
	justify-content:space-between;
	align-items:start;
	flex-direction: column;
	position:relative;
	padding-bottom: 210px;
}
#side{
	display: none;
}
#content{
	width: 100%;
	background-color: #fff;
	position:relative;
	
}
#top-content{
	width: 100%;
	padding: 0 10px;
	position:relative;
}
#top-side{
	display: none;
}
footer {
	background-color: #136e5c;
	color: #fff;
	text-align: center;
	width:100%;
	height: 210px;
	position: absolute;
  	bottom: 0;
}

/* ===============================================
	header
=============================================== */
header .inner{
	display: flex;
	flex-wrap: wrap;
}
header h1{
	width: 160px;
}
header h1 a{
	background-color: #136e5c;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}
header h1 a img{
	width: 100%;
}

.header-nav-top{
	margin:5px 10px;
}
.header-nav-top img{
	width: 90%;
}
.header-nav-bttm{
	display: flex;
}

/*フォントリサイズ*/
.text-resizer {
	display:flex;
	justify-content:end;
	align-items:center;
	margin-left: 5px;
}
.text-resizer li{
	margin-left: 5px;
}
.text-resizer li a {
	display:block;
	font-size: 86%;
	font-weight: bold;
	width:30px;
	height:30px;
	line-height: 30px;
	border: 1px solid #b3aba8;
	border-radius: 3px;
	color: #333;
	text-align:center;
	text-decoration:none;
}
.text-resizer li a.textresizer-active {
	background-color:#a4cfc7;
}

/*ログイン*/
.btn-login{
	background: #e0923f url(../img/common/bg_login.png) no-repeat 6px 5px;
	width: 30px;
	height: 30px;
	border-radius: 3px;
	margin-left: 10px;
}
.btn-login span{
	display: none;
}

/*ハンバーガーメニュー*/
.sp-menu{
	position: fixed;
	top: 70px;
	left: 0;
	width: 100%;
	z-index: 9999;
}
.btn-menu{
	position: fixed;
	top: 12px;
	right: 10px;
	z-index: 9999;
	width: 46px;
	height: 46px;
	border-radius: 3px;
	background-color: #136e5c;
}
.btn-menu span {
    position: absolute;
    left: 10px;
    width: 27px;
    height: 4px;
    background-color: #fff;
    border-radius: 6px;
}
.btn-menu span:nth-of-type(1) {
    top: 9px;
}
.btn-menu span:nth-of-type(2) {
    top: 18px;
}
.btn-menu.active span:nth-of-type(1) {
    transform: translateY(5px) rotate(-45deg);
}
.btn-menu.active span:nth-of-type(2) {
    transform: translateY(-4px) rotate(45deg);
}
.btn-menu p{
	width: 100%;
	position: absolute;
    left: 50%;
	top: 25px;
	transform: translateX(-50%);
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
}
.btn-menu p::before {
	content: "MENU";
}
.btn-menu.active p::before {
	content: "とじる";
  }
.sp-menu-content{
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: 70%;
	max-height: calc(100vh - 70px);
	overflow-y: auto;
	background-color: #ecf6f4;
	border: 1px solid #b1c3b9;
	z-index: 9999;
}
body.fixed{
	overflow: hidden;
}

/*サイト内検索*/
.site-search-box{
	display:flex;
	justify-content:start;
	align-items:center;
	padding: 10px;
}
.site-search-box input[type="text"]{
	border: 1px solid #b3aba8;
	background-color: #fff;
	border-radius: 3px;
	width: calc(100% - 45px);
	height: 30px;
	line-height: 30px;
	padding: 0 5px;
	font-size: 86%;
}
.site-search-box input[type="text"]::placeholder{
	color: #666;
}
.site-search-box button{
	border: 1px solid #2c5a4f;
	background: #136e5c url(../img/common/bg_sitesearch.png) no-repeat center center;
	border-radius: 3px;
	width: 40px;
	height: 30px;
	margin-left: 5px;
}

.sp-menu-content li{
	border-top: 1px solid #b1c3b9;
}
.sp-menu-content li a{
	display: flex;
	align-items: center;
	color: #333;
	text-decoration: none;
	padding: 10px;
	padding-left: 45px;
}
.sp-menu-content li a br{
	display: none;
}
.sp-menu-content li a.sm-user{
	background: url(../img/common/icn_person.png) no-repeat 11px center;
	background-size: auto 25px;
}
.sp-menu-content li a.sm-densi{
	background: url(../img/common/icn_pc.png) no-repeat 7px center;
	background-size: 31px auto;
}
.sp-menu-content li a.sm-digital{
	background: url(../img/common/icn_db.png) no-repeat 10px center;
	background-size: auto 25px;
}
.sp-menu-content li a.sm-school{
	background: url(../img/common/icn_school.png) no-repeat 10px center;
	background-size: 26px auto;
}
.sp-menu-content li a.sm-kids{
	background: url(../img/common/icn_kids.png) no-repeat 8px center;
	background-size: 29px auto;
}
.sp-menu-content li a.sm-handicapped{
	background: url(../img/common/icn_heart.png) no-repeat 8px center;
	background-size: 29px auto;
}
.sp-menu-content li a.sm-handicapped{
	background: url(../img/common/icn_heart.png) no-repeat 10px center;
	background-size: 26px auto;
}
.sp-menu-content li a.sm-magazine{
	background: url(../img/common/icn_newspaper.png) no-repeat 8px center;
	background-size: 29px auto;
}
.sp-menu-content li a.sm-newsletter{
	background: url(../img/common/icn_highbill.png) no-repeat 7px center;
	background-size: auto 31px;
}
.sp-menu-content li a.sm-statistics{
	background: url(../img/common/icn_statistics.png) no-repeat 8px center;
	background-size: auto 28px;
}
.sp-menu-content li a.sm-donation{
	background: url(../img/common/icn_books.png) no-repeat 9px center;
	background-size: 27px auto;
}
.sp-menu-content li a.sm-contest{
	background: url(../img/common/icn_read.png) no-repeat 7px center;
	background-size: 29px auto;
}
.sp-menu-content li a.sm-media{
	background: url(../img/common/icn_tv.png) no-repeat 8px center;
	background-size: 28px auto;
}
.sp-menu-content li a.sm-bookmobile{
	background: url(../img/common/icn_bm.png) no-repeat 10px center;
	background-size: 26px auto;
}
.sp-menu-content li a.sm-insta{
	background: url(../img/common/icn_insta.png) no-repeat 8px center;
	background-size: 28px auto;
}
.sp-menu-content li a.sm-Xtwitter{
	background: url(../img/common/icn_xtwitter.png) no-repeat 8px center;
	background-size: 28px auto;
}
.sp-menu-content li a.sm-contact{
	background: url(../img/common/icn_contact.png) no-repeat 10px center;
	background-size: 26px auto;
}
.sp-menu-content li a.sm-sitemap{
	background: url(../img/common/icn_sitemap.png) no-repeat 10px center;
	background-size: 26px auto;
}

/* ===============================================
	nav
=============================================== */
nav{
	width: 100%;
	background-color: #a4cfc7;
	height: 55px;
	position: relative;
}
nav ul{
	display: flex;
	justify-content:space-between;
	align-items:center;
}
nav ul li{
	width: 22%;
	border-right: 1px solid #fff;
	background-color: #a4cfc7;
	height: 55px;
}
nav ul li:hover{
	background-color: #b8d9d3;
}
nav ul li:nth-of-type(3),
nav ul li:nth-of-type(4){
	letter-spacing: -2px;
	width: 24%;
}
nav ul li:last-child{
	border-right: 0;
}
nav ul li a{
	display: flex;
	justify-content: center;
	color: #333;
	text-decoration: none;
	height: 55px;
	position: relative;
	padding-top: 10px;
}
nav ul li a::before{
	content: '';
	width: 13px;
	height: 13px;
	background-color: #fff;
	border-radius: 50%;
	position: absolute;
	left: 50%;
	bottom: 7px;
	transform: translateX(-50%);
}
nav ul li a::after{
	content: '';
	background: #136e5c;
	height: calc(tan(60deg) * 7px / 2);
	width: 7px;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
}
nav ul li a:hover{
	color: #333;
}

/* ===============================================
	top page
=============================================== */
.top-content-sp-grid{
	display: grid;
}

/*重要なお知らせ*/
.top-news{
	width: 100%;
	margin: 0 auto;
	margin-bottom: 20px;
	background-color: #fff;
	padding: 10px;
	order:1;
}
.top-news h2{
	font-size: 114%;
	font-weight: bold;
	color: #fff;
	background: #e8502b url(../img/top/bg_topnews.png) no-repeat 10px center;
	padding: 10px 45px;
	margin-bottom: 10px;
}
.top-news p{
	padding: 0 10px;
}

/*メインビジュアル*/
.top-visual{
	margin-bottom: 40px;
	order: 2;
}
/*開館情報*/
.open-info{
	background-color: #fff;
	margin-bottom: 30px;
}
.today{
	background-color: #ececea;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 0;
}
.today p{
	text-align: center;
	font-weight: bold;
}
.today p span{
	font-size: 24px;
	color: #e0923f;
}
.lib-list{
	display: flex;
	align-items: center;
	justify-content: start;
	flex-wrap: wrap;
	margin: 10px 10px 0 10px;
}
.lib-list li{
	width: 20%;
	border-left: 1px dotted #878381;
	text-align: center;
	font-size: 11px;
	padding: 10px 0;
	margin-bottom: 10px;
}
.lib-list li:nth-of-type(5n),
.lib-list li:last-child{
	border-right: 1px dotted #878381;
}
.lib-list li p.lib-name{
	height: 28px;
	line-height: 14px;
}
.lib-list li p.lib-open{
	margin: 3px auto;
	text-align: center;
	width: 45px;
	height: 45px;
	line-height: 45px;
	background-color: #d0ebf2;
	border-radius: 50%;
	font-weight: bold;
}
.lib-list li p.lib-close{
	margin: 3px auto;
	text-align: center;
	width: 45px;
	height: 45px;
	line-height: 45px;
	background-color: #fad9d8;
	border-radius: 50%;
	font-weight: bold;
	position: relative;
}
.lib-list li p.lib-close:before, .lib-list li p.lib-close:after {
	display: block;
	content: '';
	background-color: #fff;
	position: absolute;
	width: 38px;
	height: 5px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}
.lib-list li p.lib-close:before {
	width: 5px;
	height: 38px;
}
.lib-list li p.lib-close span{
	position: relative;
	z-index: 5;
}

/*かんたん蔵書検索*/
.search-box{
	background-color: #136e5c;
	color: #fff;
	padding: 15px 10px;
	margin: 0 10px;
	order: 3;
}
.search-ttl{
	text-align: center;
	font-size: 128%;
	font-weight: bold;
	color: #fff;
	margin-bottom: 10px;
}
.search-ttl span{
	display: inline-block;
	background: url(../img/top/icn_search.png) no-repeat 0 center;
	padding-left: 30px;
}
.search-box input[type="text"]{
	width: 100%;
	height: 40px;
	line-height: 40px;
	background-color: #fff;
	padding: 0 10px;
	color: #333;
	margin-bottom: 10px;
}
.search-box input::placeholder{
	color: #999;
}
.search-btn{
	display: flex;
	justify-content: center;
	align-items: center;
}
button.btn-search {
	background-color: #e0923f;
	border: 1px solid #fff;
    border-radius: 5px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	height: 38px;
	padding: 0 10px;
	margin: 0 5px;
}
button.btn-search-detail {
	background-color: #084036;
	border: 1px solid #fff;
    border-radius: 5px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	height: 38px;
	padding: 0 10px;
	margin: 0 5px;
}
button.btn-search:hover{
	background-color: #e6a863;
}
.btn-search-detail:hover{
	background-color: #41584e;
}



/*話題の本*/
.top-slider{
	display: none;
}

/*タブ*/
.tab-wrap{
	background-color: #fff;
}
.tab-wrap ul {
	display: flex;
	background: #eee;
}
.tab-btn {
	width: 25%;
	padding: 10px 0;
	text-align: center;
	cursor: pointer;
	font-size: 14px;
}
.tab-contents {
	display: none;
}
.tab-contents.show {
	display: block;
}
.tab-contents ul{
	display: block;
	background-color: #fff;
}
.tab-contents li{
	border-bottom: 1px dotted #333;
	padding: 10px;
	background-color: #fff !important;
	display: flex;
	align-items: flex-start;
	justify-content: start;
}
.tab-contents li:last-child{
	border-bottom: 0;
}
.tab-contents li p{
	width: calc(100% - 80px);
}
.tab-contents li p span{
	margin-left: 10px;
}

.news-box{
	margin-bottom: 40px;
}
.news-box h2{
	background-color: #136e5c;
	color: #fff;
	font-size: 114%;
	font-weight: bold;
	padding: 15px 0;
	text-align: center;
	position: relative;
	margin-bottom: 20px;
}
.news-box h2:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -9px;
	border: 9px solid transparent;
	border-top: 13px solid #136e5c;
}
.news-box .tab-btn{
	color: #fff;
}
.news-box ul li.tab-btn:nth-child(1){
	background-color: #136e5c;
}
.news-box ul li.tab-btn:nth-child(2){
	background-color: #9b9966;
}
.news-box ul li.tab-btn:nth-child(3){
	background-color: #8e4041;
}
.news-box ul li.tab-btn:nth-child(4){
	background-color: #6c7b75;
}
.news-box .tab-contents:nth-of-type(1){
	border-top: 15px solid #136e5c;
}
.news-box .tab-contents:nth-of-type(2){
	border-top: 15px solid #9b9966;
}
.news-box .tab-contents:nth-of-type(3){
	border-top: 15px solid #8e4041;
}
.news-box .tab-contents:nth-of-type(4){
	border-top: 15px solid #6c7b75;
}
.news-box .btn-all{
	background-color: #136e5c;
	text-align: center;
	padding: 5px 0;
}
.news-box .btn-all a{
	color: #fff;
	font-weight: bold;
}

.event-box{
	margin-bottom: 40px;
}
.event-box h2{
	background-color: #a4cfc7;
	font-size: 114%;
	font-weight: bold;
	padding: 15px 0;
	text-align: center;
	position: relative;
	margin-bottom: 20px;
}
.event-box h2:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -9px;
	border: 9px solid transparent;
	border-top: 13px solid #a4cfc7;
}
.event-box .tab-btn{
	color: 333;
}
.event-box ul li:nth-child(1){
	background-color: #a4cfc7;
}
.event-box ul li:nth-child(2){
	background-color: #f6f39b;
}
.event-box ul li:nth-child(3){
	background-color: #f8c8c9;
}
.event-box ul li:nth-child(4){
	background-color: #99c4e9;
}
.event-box .tab-contents:nth-of-type(1){
	border-top: 15px solid #a4cfc7;
}
.event-box .tab-contents:nth-of-type(2){
	border-top: 15px solid #f6f39b;
}
.event-box .tab-contents:nth-of-type(3){
	border-top: 15px solid #f8c8c9;
}
.event-box .tab-contents:nth-of-type(4){
	border-top: 15px solid #99c4e9;
}
.event-box .btn-all{
	background-color: #a4cfc7;
	text-align: center;
	padding: 5px 0;
}
.event-box .btn-all a{
	color: #333;
	font-weight: bold;
}

.badge{
	margin-right: 10px;
	font-size: 86%;
	width: 70px;
	border-radius: 2px;
	text-align: center;
}
.badge.news-new{
	background-color: #136e5c;
	color: #fff;
}
.badge.news{
	background-color: #9b9966;
	color: #fff;
}
.badge.media{
	background-color: #8e4041;
	color: #fff;
}
.badge.vacant{
	background-color: #6c7b75;
	color: #fff;
}
.badge.event-new{
	background-color: #a4cfc7;
}
.badge.event{
	background-color: #f6f39b;
}
.badge.kids{
	background-color: #f8c8c9;
}
.badge.exhibition{
	background-color: #99c4e9;
}

/* ===============================================
	sub page
=============================================== */
/*パンくず*/
.path{
	padding: 10px 20px;
}
.path ul{
	display: flex;
	justify-content: start;
	align-items: center;
	flex-wrap: wrap;
}
.path li{
	position: relative;
	padding-right: 25px;
}
.path li:before{
	content: '';
	width: 8px;
	height: 8px;
	border-top: solid 1px #333;
	border-right: solid 1px #333;
	position: absolute;
	top: 9px;
	right: 10px;
	transform: rotate(45deg);
}
.path li:last-child:before{
	content: none;
}


/*レイアウト*/
section{
	background-color: #fff;
	margin-bottom: 40px;
	padding: 0 15px;
}

.page-box{
	padding-bottom: 30px;
	line-height: 22px;
}

/*見出し*/
section h2{
	font-size: 128%;
	padding: 10px 15px;
	background-color:#f8f6f6;
	border-left: solid 5px #136e5c;
	margin-bottom: 20px;
}

section h3{
	font-size: 114%;
	padding: 10px;
	border: 1px solid #929292;
	margin-bottom: 15px;
}

/*画像*/
.page-img{
	max-width: 100%;
}

/*テーブル*/
.table-wrap {
	overflow-x: scroll;
}
table.page-tbl{
	width: 100%;
	white-space: nowrap;
	margin-bottom: 5px;
}
.tbl-img{
	width: 96%;
}
table.page-tbl th,
table.page-tbl td{
	border: 1px solid #a0a0a0;
	padding: 10px 15px;
	vertical-align: middle;
	line-height: 22px;
}
table.page-tbl th{
	background-color: #f8f6f6;
	font-weight: normal;
	text-align: center;
}

/*リスト「・」*/
ul.page-list{
	margin-top: 5px;
}
ul.page-list li{
	position: relative;
	padding-left: 12px;
}
ul.page-list li:before{
	display: inline-block;
	position: absolute;
	top: 15px;
	left: 0;
	content: '';
	width: 2px;
	height: 2px;
	margin-right: 7px;
	border-radius: 5px;
	background-color: #333;
}

/*リスト「数字」*/
ul.page-list-num{
	margin-top: 5px;
	margin-left: 10px;
}
ul.page-list-num li{
	list-style: decimal;
	padding-left: 5px;
	margin-bottom: 5px;
}

/* ===============================================
	page top button
=============================================== */
.page-top{
	position:fixed;
	right:10px;
	bottom:220px;
	width:50px;
	z-index: 10;
}
.page-top a{
	display: block;
	background: url(../img/common/bg_pagetop.png) no-repeat center 0;
	background-size: 50px auto;
	width:50px;
	padding-top: 55px;
	text-align: center;
	font-size:11px;
	line-height: 14px;
	color: #333;
	text-decoration:none;
	position: relative;
}
.page-top a:hover{
	color: #333;
}
.page-top a:before{
	content: '▲';
	position: absolute;
	top: 43px;
	left: 50%;
	transform: translateX(-50%);
}

/* ===============================================
	Footer
=============================================== */
footer .inner{
	color: #fff;
	text-align: center;
	padding: 20px 5px;
}
footer ul{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-left: -10px;
}
footer li{
	margin: 0 5px;
	margin-bottom: 10px;
	border-left: 1px solid #fff;
	padding-left: 10px;
}
footer li:first-child{
	border-left: 0;
}
footer li a{
	color: #fff;
	text-decoration: none;
}
footer ul.bnnr{
	margin-bottom: 10px;
	margin-left: 0;
}
footer ul.bnnr li{
	background-color: #fff;
	border: none;
	padding-left: 0;
}
footer p.copyright{
	margin-top: 10px;
	font-size: 86%;
	line-height: 16px;
}

/* ===============================================
	common : img margin padding text-align
=============================================== */
img {
	image-rendering: -webkit-optimize-contrast;
}

a{
	color: #1b449a;
	text-decoration: underline;
}
a:hover{
	color:#136e5c;
}

.fc-red{
	color:#cc0000;
}

.ta-left{
	text-align: left;
}
.ta-center{
	text-align: center;
}
.ta-right{
	text-align: right;
}

.display-pc{
	display: none;
}
.display-sp{
	display: inline-block;
}