@charset "UTF-8";

/* ===============================================
	layout
=============================================== */
html, body{ height: 100%; }
body{
	font-family:'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
	font-size:18px;
	line-height:28px;
	color:#333;
	background-color: #ececea;
}
#wrap{
	position:relative;
	min-height: 100%;
}
.inner{
	width: 1000px;
	margin: 0 auto;
}
header{
	width: 100%;
	background: linear-gradient(180deg, #fff 0%, #fff 50%, #a4cfc7 50%, #a4cfc7 100%);
	height: 190px;
	position: relative;
}
#container{
	width: 1000px;
	margin: 0 auto;
	display:flex;
	justify-content:space-between;
	align-items:start;
	position:relative;
	padding-bottom: 230px;
}
#side{
	width:200px;
	margin-top: 20px;
}
#content{
	width:calc(100% - 210px);
	background-color: #fff;
}
#top-content{
	width: calc(100% - 440px);
	padding-top: 20px;
}
#top-side{
	width: 200px;
	padding-top: 20px;
}
footer {
	background-color: #136e5c;
	margin-top: 50px;
	color: #fff;
	text-align: center;
	width:100%;
	height: 185px;
	position: absolute;
  	bottom: 0;
}

/* ===============================================
	header
=============================================== */
header .inner{
	position: relative;
}

header h1{
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 2;
}
header h1 a{
	background-color: #136e5c;
	width: 200px;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}
header h1 a:hover{
	opacity: 0.8;
}

.header-nav{
	height: 95px;
	position: relative;
	padding-top: 10px;
}
.header-nav-top ul{
	display:flex;
	justify-content:end;
	align-items:center;
	margin-bottom: 10px;
}
.header-nav-top li{
	margin-left: 15px;
}
.header-nav-top li a{
	font-size: 89%;
	color: #333;
	text-decoration: none;
	margin-left: 10px;
	transition: all .3s;
	height: 18px;
}
.header-nav-top li a:hover{
	opacity: 0.8;
}
.header-nav-top li a.btn-contact{
	background: url(../img/common/icn_contact.png) no-repeat 0 5px;
	background-size: auto 17px;
	padding-left: 29px;
	height: 20px;
	
}
.header-nav-top li a.btn-sitemap{
	background: url(../img/common/icn_sitemap.png) no-repeat 0 3px;
	background-size: auto 18px;
	padding-left: 27px;
	height: 20px;
}
.header-nav-bttm{
	display:flex;
	justify-content:end;
	align-items:center;
}

/*サイト内検索*/
.site-search-box{
	display:flex;
	justify-content:start;
	align-items:center;
}
.site-search-box input[type="text"]{
	border: 1px solid #b3aba8;
	border-radius: 3px;
	width: 250px;
	height: 30px;
	line-height: 30px;
	padding: 0 5px;
	font-size: 67%;
}
.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: 4px;
}

/*フォントリサイズ*/
.text-resizer {
	display:flex;
	justify-content:end;
	align-items:center;
	margin-left: 20px;
}
.text-resizer li{
	margin-left: 5px;
}
.text-resizer li a {
	display:block;
	font-size: 67%;
	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 5px center;
	width: 155px;
	height: 32px;
	line-height: 32px;
	border-radius: 3px;
	color: #fff;
	font-size: 67%;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	margin-left: 25px;
}
.btn-login:hover{
	background: #e0923f url(../img/common/bg_logout.png) no-repeat 5px center;
	color: #fff;
	opacity: 0.8;
}
/*スマホログイン*/
.btn-logins{
	background: #e0923f url(../img/common/bg_logins.png) no-repeat 5px center;
	width: 155px;
	height: 32px;
	line-height: 32px;
	border-radius: 3px;
	color: #fff;
	font-size: 67%;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	margin-left: 25px;
}
.btn-logins:hover{
	background: #e0923f url(../img/common/bg_logins.png) no-repeat 5px center;
	color: #fff;
	opacity: 0.8;
}


/* ===============================================
	nav
=============================================== */
nav{
	width: 800px;
	height: 95px;
	background-color: #a4cfc7;
	position: relative;
}
nav ul{
	width: 800px;
	margin-left: 200px;
	display: flex;
	justify-content:end;
	align-items:center;
}
nav ul li{
	width: calc(100% / 5);
	height: 95px;
	border-right: 1px solid #fff;
	background-color: #a4cfc7;
	transition: all .3s;
}
nav ul li:hover{
	background-color: #b8d9d3;
}
nav ul li a{
	display: flex;
	justify-content: center;
	height: 95px;
	font-size: 122%;
	color: #333;
	text-decoration: none;
	padding-top: 27px;
	position: relative;
}
nav ul li a::before{
	content: '';
	width: 18px;
	height: 18px;
	background-color: #fff;
	border-radius: 50%;
	position: absolute;
	left: 70px;
	bottom: 15px;
}
nav ul li a::after{
	content: '';
	background: #136e5c;
	height: calc(tan(60deg) * 8px / 2);
	width: 8px;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	position: absolute;
	left: 75px;
	bottom: 20px;
}
nav ul li a:hover{
	color: #333;
}
.sp-menu{
	display: none;
}


/* ===============================================
	side
=============================================== */
.side-btn li{	
	background-color: #fff;
	width: 200px;
	height: 70px;
	margin-bottom: 15px;
	transition: all .3s;
}
.side-btn li:hover{
	background-color: #f2f9f9;
}
.side-btn li a{
	display: flex;
	align-items: center;
	height: 70px;
	font-size: 89%;
	color: #333;
	line-height: 22px;
	text-decoration: none;
	padding-left: 45px;
}
.side-btn li a.sb-user{
	background: url(../img/common/icn_person.png) no-repeat 11px center;
	background-size: auto 25px;
}
.side-btn li a.sb-densi{
	background: url(../img/common/icn_pc.png) no-repeat 7px center;
	background-size: 31px auto;
}
.side-btn li a.sb-digital{
	background: url(../img/common/icn_db.png) no-repeat 10px center;
	background-size: auto 25px;
}
.side-btn li a.sb-school{
	background: url(../img/common/icn_school.png) no-repeat 10px center;
	background-size: 26px auto;
}
.side-btn li a.sb-kids{
	background: url(../img/common/icn_kids.png) no-repeat 8px center;
	background-size: 29px auto;
}
.side-btn li a.sb-handicapped{
	background: url(../img/common/icn_heart.png) no-repeat 8px center;
	background-size: 29px auto;
}
.side-btn li a.sb-handicapped{
	background: url(../img/common/icn_heart.png) no-repeat 10px center;
	background-size: 26px auto;
}
.side-btn li a.sb-magazine{
	background: url(../img/common/icn_newspaper.png) no-repeat 8px center;
	background-size: 29px auto;
}
.side-btn li a.sb-newsletter{
	background: url(../img/common/icn_highbill.png) no-repeat 7px center;
	background-size: auto 31px;
}
.side-btn li a.sb-statistics{
	background: url(../img/common/icn_statistics.png) no-repeat 8px center;
	background-size: auto 28px;
}
.side-btn li a.sb-donation{
	background: url(../img/common/icn_books.png) no-repeat 9px center;
	background-size: 27px auto;
}
.side-btn li a.sb-contest{
	background: url(../img/common/icn_read.png) no-repeat 7px center;
	background-size: 29px auto;
}
.side-btn li a.sb-media{
	background: url(../img/common/icn_tv.png) no-repeat 8px center;
	background-size: 28px auto;
}
.side-btn li a.sb-bookmobile{
	background: url(../img/common/icn_bm.png) no-repeat 8px center;
	background-size: 28px auto;
}
.side-btn li a.sb-insta{
	background: url(../img/common/icn_insta.png) no-repeat 8px center;
	background-size: 28px auto;
}
.side-btn li a.sb-Xtwitter{
	background: url(../img/common/icn_xtwitter.png) no-repeat 8px center;
	background-size: 28px auto;
}
/* ===============================================
	top page
=============================================== */
.top-content-sp-grid{
	position: relative;
}
/*メインビジュアル*/
.top-visual{
	background: url(../img/top/visual.png) no-repeat center center;
	width: 100%;
	height: 357px;
	margin-bottom: 20px;
	padding-top: 50px;
}
/*開館情報*/
.open-info{
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 170px;
	padding: 0 15px;
}
.today{
	background: url(../img/top/bg_today.png) no-repeat 0 0;
	padding-left: 67px;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.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: space-between;
	border-left: 1px dotted #878381;
}
.lib-list li{
	border-right: 1px dotted #878381;
	text-align: center;
	font-size: 67%;
	padding: 10px 0;
	min-width: 85px;
}
.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-size: 78%;
	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-size: 78%;
	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: 20px 5px 20px 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
}
.search-ttl{
	font-size: 122%;
	font-weight: bold;
	color: #fff;
}
.search-ttl span{
	background: url(../img/top/icn_search.png) no-repeat 0 center;
	padding-left: 30px;
}
.search-box input[type="text"]{
	width: 480px;
	height: 40px;
	line-height: 40px;
	font-size: 89%;
	background-color: #fff;
	padding: 0 10px;
	color: #333;
	margin: 0 10px 0 20px;
}
.search-box input::placeholder{
	color: #999;
}
.search-btn{
	margin: 10px 0;
	display: flex;
	justify-content: start;
	align-items: flex-start;
}
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-right: 10px;
	transition: all .3s;
	
}
button.btn-search-detail {
	background-color: #084036;
	border: 1px solid #fff;
    border-radius: 5px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	margin-right: 20px;
	height: 38px;
	padding: 0 10px;
	transition: all .3s;
}
button.btn-search:hover{
	background-color: #e6a863;
}
.btn-search-detail:hover{
	background-color: #41584e;
}

/*重要なお知らせ*/
.top-news{
	width: 1000px;
	margin: 0 auto;
	margin-bottom: 20px;
	background-color: #fff;
	padding: 10px;
}
.top-news h2{
	font-size: 122%;
	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-slider{
	width: 1000px;
	margin: 0 auto;
	margin-bottom: 20px;
	background-color: #fff;
	padding: 10px 10px 20px 10px;
}
.top-slider h2{
	font-size: 122%;
	font-weight: bold;
	color: #136e5d;
	padding: 10px;
	display: flex;
	align-items: start;
	justify-content: space-between;
}
.top-slider h2 a{
	background-color: #e9e7e7;
	font-size: 54%;
	font-weight: normal;
	color: #333;
	text-decoration: none;
	border-radius: 5px;
	padding: 5px 8px;
}
.book-slide{
	width: 900px;
	margin: 20px auto;
}
.book-slide li{
	margin: 0 10px;
}
.book-slide li img{
	width: 100%;
	box-shadow: 0 0 5px 2px rgba(0,0,0,0.2);
	transition: all .3s;
}
.book-slide li img:hover{
	opacity: 0.8;
}
.slide-arrow{
	position: absolute;
	top: 50%;
	margin-top: -15px;
	display: inline-block;
	padding: 10px;
	background-color: #136e5d;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	transition: all .3s;
}
.slide-arrow:hover{
	background-color: #578273;
}
.slide-arrow::before {
	content: '';
	width: 10px;
	height: 10px;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	position: absolute;
}
.prev-arrow{
	left: -40px;
}
.prev-arrow.slide-arrow::before{
	transform: rotate(-135deg);
	left: 11px;
	top: 10px;
}
.next-arrow{
	right: -40px;
}
.next-arrow.slide-arrow::before{
	transform: rotate(45deg);
	left: 9px;
	top: 10px;
}

/*タブ*/
.tab-wrap{
	background-color: #fff;
}
.tab-wrap ul {
	display: flex;
	background: #eee;
}
.tab-btn {
	width: 25%;
	padding: 20px 0;
	text-align: center;
	cursor: pointer;
	transition: all .3s;
}
.tab-btn:hover{
	opacity: 0.8;
}
.tab-btn.show:hover{
	opacity: 1;
}
.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 15px;
	background-color: #fff !important;
	font-size: 78%;
	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: 50px;
}
.news-box h2{
	background-color: #136e5c;
	color: #fff;
	font-weight: bold;
	padding: 25px 0;
	text-align: center;
	position: relative;
	margin-bottom: 30px;
}
.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;
	font-size: 78%;
}
.news-box .btn-all a{
	color: #fff;
	font-weight: bold;
}

.event-box h2{
	background-color: #a4cfc7;
	font-weight: bold;
	padding: 25px 0;
	text-align: center;
	position: relative;
	margin-bottom: 30px;
}
.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;
	font-size: 78%;
}
.event-box .btn-all a{
	color: #333;
	font-weight: bold;
}

.badge{
	margin-right: 10px;
	font-size: 78%;
	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: 25px 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{
	margin: 0 10px;
	padding-bottom: 50px;
	line-height: 28px;
}

/*見出し*/
section h2{
	font-size: 122%;
	padding: 25px;
	background-color:#f8f6f6;
	border-left: solid 5px #136e5c;
	margin-bottom: 30px;
}

section h3{
	font-size: 122%;
	padding: 20px;
	border: 1px solid #929292;
	margin-bottom: 25px;
}

section h4{
	font-weight:bold;
	color:#996633;
	font-size:110%;
	padding-left:7px;
	padding-bottom:3px;
	border-left:1px solid #996633;
	border-bottom:1px solid #996633;
	margin-bottom:10px;
	margin-top:10px;
}

/*画像*/
.page-img{
	max-width: 100%;
}

/*テーブル*/
table.page-tbl{
	width: 100%;
	margin-bottom: 10px;
}
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;
	padding: 15px;
	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:30px;
	bottom:200px;
	width:100px;
	z-index: 10;
}
.page-top a{
	display: block;
	background: url(../img/common/bg_pagetop.png) no-repeat center 0;
	width:100px;
	padding-top: 75px;
	text-align: center;
	font-size: 78%;
	line-height: 18px;
	color: #333;
	text-decoration:none;
	position: relative;
}

.page-top a:before{
	content: '▲';
	position: absolute;
	top: 60px;
	left: 50%;
	transform: translateX(-50%);
}
.page-top a:hover{
	color: #333;
}
.page-top a br{
	display: none;
}

/* ===============================================
	Footer
=============================================== */
footer .inner{
	color: #fff;
	text-align: center;
	padding: 25px 0;
	font-size: 89%;
}
footer ul{
	display: flex;
	align-items: center;
	justify-content: center;
}
footer li{
	margin: 0 10px;
	border-left: 1px solid #fff;
	padding-left: 20px;
}
footer li:first-child{
	border-left: 0;
}
footer li a{
	color: #fff;
	text-decoration: none;
	transition: all .3s;
}
footer li a:hover{
	color: #fff;
	opacity: 0.8;
}
footer ul.bnnr{
	margin-bottom: 25px;
}
footer ul.bnnr li{
	background-color: #fff;
	border: none;
	padding-left: 0;
}
footer ul.bnnr li img{
	transition: all .3s;
}
footer ul.bnnr li img:hover{
	opacity: 0.8;
}
footer p.copyright{
	margin-top: 10px;
}
footer p.copyright br{
	display: none;
}

/* ===============================================
	common : img margin padding text-align
=============================================== */
img {
	image-rendering: -webkit-optimize-contrast;
}

a{
	color: #1b449a;
	text-decoration: underline;
	transition: all .3s;
}
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: inline-block;
}
.display-sp{
	display: none;
}