/* ヒーローイメージ */
.hero-library {
	background: url('./assets/img/library/library-bg.jpg') no-repeat;
	background-position: center;
	background-size: cover;
	height: 785px;
	width: 100%;
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.hero-library .hero-textbox {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.hero-library .hero-textbox .image1 {
	width: 557px;
	height: auto;
	margin-bottom: 64px;
}

.hero-library .hero-textbox .image2 {
	width: 496px;
	height: auto;
}

.hero-library .notice {
	position: absolute;
	bottom: 24px;
	right: 24px;
	color: #454545;
	background: rgba(255, 255, 255, .7);
	text-align: center;
	font-size: 14px;
	padding: 8px 24px;
}

@media screen and (max-width: 767px) {
	.hero-library {
		background: url('./assets/img/library/library-bg-sp.jpg') no-repeat;
		background-position: center;
		background-size: cover;
		height: 742px;
		width: 100%;
		position: relative;
		padding-top: 70px;
	}

	.hero-library .hero-textbox {
		width: 100%;
	}

	.hero-library .hero-textbox .image1 {
		width: 375px;
		height: auto;
		margin-bottom: 48px;
	}

	.hero-library .hero-textbox .image2 {
		width: 328px;
		height: auto;
	}

	.hero-library .notice {
		position: absolute;
		bottom: 16px;
		right: 16px;
		font-size: 11px;
		padding: 4px 8px;
	}

}

/* トップページ レイアウト */
.library-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.library-container .library-top {
	width: calc(100% - 380px);
	padding: 0 0 0 64px;
}

.library-container .library-sidebar {
	width: 380px;
	margin-top: 55px;
	padding: 0 40px;
}

.calendar-sp {
	display: none;
}

@media screen and (max-width: 767px) {
	.library-container {
		flex-direction: column;
	}

	.library-container .library-top {
		width: 100%;
		padding: 0 24px;
		order: 2;
	}

	.library-container .library-sidebar {
		width: 100%;
		margin-top: 30px;
		padding: 0 24px;
		order: 1;
	}

	.library-container .calendar {
		display: none;
	}

	.calendar-sp {
		display: block;
		margin-top: 32px;
	}

}

/* 図書館サイト汎用クラス */
.library-main-title {
	margin-top: 71px;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 0.1em;
	border-left: 6px solid #d83000;
	padding-left: 23px;
	margin-bottom: 11px;
}

.library-main-title br.sp {
	display: none;
}

.border {
	margin-top: 10px;
	margin-bottom: 50px;
	border-bottom: 1px solid #ccc;
}

.library-news-list {
	width: 100%;
}

.news-list-item {
	margin-top: 16px;
	padding-bottom: 9px;
}

.news-list-item:not(:last-child) {
	border-bottom: dashed 1px #ccc;
}

.lib-category {
	background: #d83000;
	padding: 4px 8px;
	font-size: 12px;
	color: #fff;
}

.lib-date {
	font-size: 14px;
	color: #989898;
	margin-left: 12px;
}

.lib-title {
	font-size: 16px;
	color: #454545;
	letter-spacing: 2px;
	line-height: 3;
}

.lib-title a {
	color: #454545;
}

.news-more {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 32px;
}

.news-more .btn-more {
	width: 214px;
	height: auto;
}

.content-title {
	padding: 19px 30px;
	background-color: #f7f7f7;
	font-weight: bold;
}

.content-title:not(first-child) {
	margin-top: 16px;
}

@media screen and (max-width: 767px) {

	.library-main-title {
		font-size: 20px;
	}

	.library-main-title br.sp {
		display: block;
	}

	.lib-date {
		font-size: 12px;
		margin-left: 8px;
	}

	.lib-title {
		font-size: 14px;
	}

	.content-title {
		padding: 10px 24px;
	}

}

/* トグル */
.open-toggle {
	display: inline-block;
	position: relative;
	width: 19px;
	height: 19px;
	border: 1px solid #D83000;
	margin-left: 7px;
	vertical-align: sub;
}

.open-toggle span {
	position: absolute;
	height: 1px;
	width: 10px;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	transition: .2s;
	background-color: #D83000;
}

.open-toggle span:nth-of-type(1) {
	transform: translate(-50%, -50%) rotate(-90deg);
}

.open-toggle.active span:nth-of-type(1) {
	transform: translate(-50%, -50%) rotate(0);
}

.accordion {
	display: none;
}

/* サイドメニュー */
.menu-title {
	padding: 6px 12px;
	background-color: #f7f7f7;
	font-size: 16px;
	text-align: center;
}

.lib-menu {
	margin-top: 8px;
}

.lib-menu li {
	font-size: 16px;
	color: #454545;
	padding: 10px 32px;
	position: relative;
}

.lib-menu li a {
	color: inherit;
}

.lib-menu li.current:before {
	content: '';
	background-color: #d83000;
	width: 7px;
	height: 1px;
	position: absolute;
	top: 24px;
	left: 10px;
}

.lib-menu li:not(:last-child) {
	border-bottom: dashed 1px #a2a2a2;
}

.library-sidebar .calendar {
	margin-top: 32px;
}

.calendar-legend {
	font-size: 14px;
	margin-left: 8px;
}

.book-icon,
.calendar-icon {
	width: 23px;
	height: auto;
	margin-right: 8px;
	display: inline-block;
	vertical-align: middle;
}

/* 開館時間 */
.lib-time {
	margin-top: 32px;
	width: 100%;
}

.lib-time td {
	border: solid 1px #a2a2a2;
	padding: 4px;
	text-align: center;
	font-size: 16px;
}

.lib-time td br.sp {
	display: none;
}

@media screen and (max-width: 767px) {

	.lib-time td {
		vertical-align: middle;
		font-size: 12px;
		line-height: 1.5;
		padding: 12px 2px;
	}

	.lib-time td br.sp {
		display: block;
	}

}

.lib-time .w10 {
	width: 16%;
}

.lib-time .w30 {
	width: 28%;
}

.lib-time .bg-red {
	background-color: #fceeea;
}

/* 図書館だより */
.lib-letter {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.lib-letter-latest {
	width: 40%;
	padding: 0 36px 0 24px;
}

.lib-letter-latest .image1 {
	width: 220px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.lib-letter-latest .image-caption {
	text-align: center;
	font-size: 16px;
	margin-top: 12px;
}

.lib-letter-latest .image-caption a {
	color: #454545;
}

.lib-letter-archive {
	width: 60%;
	background-color: #f7f7f7;
	padding: 24px 36px;
}

.lib-letter-archive .archive-title {
	font-size: 16px;
	padding-bottom: 12px;
	border-bottom: solid 1px #ccc;
}

.lib-letter-archive .letter-year {
	font-size: 16px;
	margin-top: 30px;
}

.lib-letter-archive .letter-list {
	font-size: 16px;
	background-color: #fff;
	margin-top: 12px;
	padding: 4px 8px 4px 16px;
}

.lib-letter-archive .letter-list a {
	color: #454545;
}

.pdf-icon {
	width: 14px;
	height: auto;
	display: inline-block;
	vertical-align: middle;
}

@media screen and (max-width: 767px) {
	.lib-letter {
		flex-direction: column;
	}

	.lib-letter-latest {
		width: 100%;
	}

	.lib-letter-archive {
		width: 100%;
		margin-top: 32px;
		padding: 20px 24px;
	}

	.lib-letter-archive .archive-title {
		font-size: 14px;
	}

	.lib-letter-archive .letter-year {
		font-size: 14px;
	}

	.lib-letter-archive .letter-list {
		font-size: 14px;
	}
}

/* データベースサービス */
.hero-database {
	background: url('./assets/img/library/database-bg.jpg') no-repeat;
	background-position: center;
	background-size: cover;
	height: 392px;
	width: 100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-database .image1 {
	width: 422px;
	height: auto;
}

.database-container {
	width: 80%;
	margin: 0 auto;
}

.database-container a {
	color: inherit;
}

.database-container .sp {
	display: none;
}

.database-container .content-title:not(first-child) {
	margin-top: 24px;
}

.lib-sub-content {
	width: 100%;
	border: solid 3px #f7f7f7;
	padding: 24px;
	font-size: 14px;
	letter-spacing: 3px;
	line-height: 2;
}

.arrow-icon {
	width: 6px;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin-left: 8px;
}

.libtop-area {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 96px;
}

.libtop-area img {
	width: 270px;
	height: auto;
}

@media screen and (max-width: 767px) {
	.hero-database {
		background: url('./assets/img/library/database-bg-sp.jpg') no-repeat;
		background-position: center;
		background-size: cover;
		height: 375px;
		width: 100%;
		padding-top: 70px;
	}

	.hero-database .image1 {
		width: 300px;
		height: auto;
	}

	.database-container {
		width: 90%;
	}

	.database-container .sp {
		display: block;
	}

	.database-container .content-title {
		padding: 17px 20px;
	}

	.libtop-area img {
		width: 160px;
		height: auto;
	}
}

/* 汎用クラス */
.text-red {
	color: #d83000;
}

.text-bold {
	font-weight: bold;
}

.text-normal {
	font-size: 16px;
	color: #454545;
}

@media screen and (max-width: 767px) {
	.text-normal {
		font-size: 13px;
	}
}

.fs16 {
	font-size: 16px;
}

.fs18 {
	font-size: 18px;
}

.mt16 {
	margin-top: 16px;
}

.mt24 {
	margin-top: 24px;
}

@media screen and (max-width: 767px) {
	.text-normal {
		font-size: 13px;
	}

	.fs18 {
		font-size: 14px;
	}
}

/* ニュース詳細ページ */
.hero__bg.library-post {
	background: url('./assets/img/library/libnews-bg.jpg') no-repeat;
	background-position: center 46px;
	background-size: cover;
	height: 360px;
	width: 100%;
	padding-top: 46px;
}

@media screen and (max-width: 767px) {
	.hero__bg.library-post {
		background: url('./assets/img/library/libnews-bg-sp.jpg') no-repeat;
		background-position: center 70px;
		background-size: cover;
		height: 742px;
		padding-top: 70px;
	}
}

.library__notice-title {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-top: 70px;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.library__postid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 25px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

@media (max-width: 767px) {
	.library__postid {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}
}

.library__postid--notice {
	background-color: #D83000;
	color: #FFFFFF;
	padding: 4px 0;
	max-width: 80px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.1em;
	max-width: 80px;
	width: 100%;
	text-align: center;
	margin-right: 10px;
	margin-bottom: 10px;
}

.library__postid--year {
	color: #989898;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.library__postid--title {
	font-size: 22px;
	font-weight: bold;
	letter-spacing: 0.1em;
	line-height: 2.18;
	margin-top: 24px;
	border-bottom: 1px solid #DDDDDD;
	padding-bottom: 27px;
	max-width: 805px;
	margin-bottom: 40px;
}

@media (max-width: 767px) {
	.library__postid--title {
		padding-bottom: 20px;
		font-size: 18px;
	}
}

.library__postid--text {
	max-width: 805px;
	font-weight: bold;
	line-height: 2.18;
	letter-spacing: 0.1em;
	margin-top: 38px;
}

@media (max-width: 767px) {
	.library__postid--text {
		margin-top: 30px;
		font-size: 14px;
	}
}

.library__postid--text-bottom {
	max-width: 805px;
	font-weight: bold;
	line-height: 2.18;
	letter-spacing: 0.1em;
	margin-top: 32px;
	margin-bottom: 57px;
}

@media (max-width: 767px) {
	.library__postid--text-bottom {
		font-size: 14px;
	}
}

.library__postid--img {
	max-width: 658px;
	width: 100%;
	height: auto;
}

.library__postid--back-btn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin-top: 70px;
	margin: 70px auto 0;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.1em;
	background-color: #D83000;
	color: #FFFFFF !important;
	max-width: 270px;
	padding: 10px 0;
}

@media (max-width: 767px) {
	.library__postid--back-btn {
		font-size: 18px;
		max-width: 150px;
		padding: 10px;
	}
}

.library__postid--wrapper {
	max-width: 295px;
	margin-left: 30px;
}

@media (max-width: 1023px) {
	.library__postid--wrapper {
		max-width: 190px;
	}
}

@media (max-width: 767px) {
	.library__postid--wrapper {
		margin-left: 0;
		max-width: 700px;
	}
}

@media (max-width: 767px) {
	.library__postid--category-ul {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		max-width: 700px;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
}

.library__postid--category-title {
	margin: 0 auto;
	font-weight: bold;
	letter-spacing: 0.1em;
	margin-top: 70px;
	margin-bottom: 34px;
	padding-bottom: 18px;
	border-bottom: 1px dotted #D83000;
	color: #D83000;
	width: 294px;
	width: 100%;
	text-align: center;
}

@media (max-width: 1023px) {
	.library__postid--category-title {
		width: 190px;
	}
}

@media (max-width: 767px) {
	.library__postid--category-title {
		width: 100%;
		max-width: 700px;
	}
}

.library__postid--category-link {
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.1em;
	margin-bottom: 19px;
	margin-left: 9px;
	color: #454545 !important;
}

.library__postid--category-img {
	margin-bottom: 5px;
}

.library__postid--archive-title {
	margin: 0 auto;
	font-weight: bold;
	letter-spacing: 0.1em;
	margin-top: 70px;
	margin-bottom: 34px;
	padding-bottom: 18px;
	border-bottom: 1px dotted #D83000;
	color: #D83000;
	width: 294px;
	text-align: center;
}

@media (max-width: 1023px) {
	.library__postid--archive-title {
		width: 190px;
	}
}

@media (max-width: 767px) {
	.library__postid--archive-title {
		width: 100%;
		max-width: 700px;
	}
}

.library__postid--archive-ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

@media (max-width: 1023px) {
	.library__postid--archive-ul {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
}

@media (max-width: 767px) {
	.library__postid--archive-ul {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: initial;
		-ms-flex-pack: initial;
		justify-content: initial;
		max-width: 500px;
		margin: 0 auto;
	}
}

@media (max-width: 655px) {
	.library__postid--archive-ul {
		max-width: 400px;
	}
}

@media (max-width: 555px) {
	.library__postid--archive-ul {
		max-width: 300px;
	}
}

@media (max-width: 369px) {
	.library__postid--archive-ul {
		max-width: 190px;
	}
}

.library__postid--archive-link {
	background-color: #F7F7F7;
	max-width: 90px;
	width: 100%;
	text-align: center;
	height: 31px;
	margin-bottom: 11px;
}

.library__postid--archive-link:nth-of-type(3n - 1) {
	margin: 0 10px 10px;
}

@media (max-width: 1023px) {
	.library__postid--archive-link:nth-of-type(3n - 1) {
		margin: 0 0 10px;
	}
}

@media (max-width: 767px) {
	.library__postid--archive-link {
		margin-right: 10px;
	}
}

@media (max-width: 555px) {
	.library__postid--archive-link {
		margin-right: 0;
	}

	.library__postid--archive-link:nth-of-type(3n - 1) {
		margin: 0 10px;
	}
}

@media (max-width: 369px) {
	.library__postid--archive-link:nth-of-type(3n - 1) {
		margin: 0;
	}

	.library__postid--archive-link:nth-of-type(odd) {
		margin-right: 10px;
	}
}

.library__postid--archive-link a {
	color: #454545;
}

.library__postid--border {
	border-bottom: 1px solid #DDDDDD;
	margin: 131px 25px 0;
}

.library__postid--content p {
	max-width: 805px;
	font-weight: bold;
	line-height: 2.18;
	letter-spacing: 0.1em;
	margin-top: 38px;
}

@media (max-width: 767px) {
	.library__postid--content p {
		font-size: 14px;
	}
}

.library__postid--container {
	width: 100%;
}

.library__postid--container table tr td {
	border: solid 1px #b3b3b3;
	padding: 10px;
	text-align: center;
}

.library__postid--category-link {
	border: none;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: transparent;
	margin-bottom: 0;
	padding: 0;
	outline: none;
}

.library__postid--archive-link {
	background-color: #F7F7F7;
}

.library__postid--archive-link input {
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	background-color: transparent;
	outline: none;
	color: #454545;
	font-weight: bold;
}

.library__postid--archive-link-current {
	background-color: #D83000;
}

.library__postid--archive-link-current input {
	color: white;
}

/* カレンダープラグインデザイン調整 */
.wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header {
	background: none;
}

.wpsbc-container .wpsbc-calendars .wpsbc-calendar {
	border: none;
}

.wpsbc-prev,
.wpsbc-next {
	display: none !important;
}

.wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header .wpsbc-calendar-header-navigation {
	padding: 0;
}

.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-1 div:first-of-type {
	background-color: #f7f7f7 !important;
}

.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-2 div:first-of-type {
	background-color: #FFD0D1 !important;
}

.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-3 div:first-of-type {
	background-color: #9DCDFE !important;
}