/* #TOP-rightsdiamondcojp {
	--web-view-name: TOP-rights.diamond.co.jp;
	--web-view-id: TOP-rightsdiamondcojp;
	--web-scale-on-resize: true;
	--web-enable-deep-linking: true;
} */

html {
    scroll-behavior: smooth;
}
.contents {
	margin-left: 120px;
	margin-right: 90px;
	padding-top: 10px;
}
.content_title {
	width: 100%;
	white-space: nowrap;
	text-align: left;
	font-family: Hiragino Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 26px;
	color: rgba(0,0,0,1);
	padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 2px;
	border-bottom: 2px solid rgba(0,71,137,1);
}
summary {
	cursor: pointer;
}
#news_list {
	width: 100%;
}

#news_list .news_item {
	display: flex;
}
#news_list .news_item {
	border-bottom: 2px dotted rgba(112,112,112,1);
}
.news_date {
	max-width: 210px;
	min-width: 210px;
	padding-top: 4px;
    padding-bottom: 4px;
	padding-left: 10px;
	line-height: 20px;
	margin-top: -3px;
	text-align: left;
	white-space: nowrap;
	font-family: .AppleSystemUIFont;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	color: rgba(0,0,0,1);

}
.news_content {
	width: 80%;
	overflow: visible;
	padding-top: 4px;
    padding-bottom: 4px;
	line-height: 20px;
	margin-top: -3px;
	text-align: left;
	font-family: .AppleSystemUIFont;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	color: rgba(0,0,0,1);
}
#past_news_menu {
	padding-top: 14px;
	padding-bottom: 7px;
}
#past_news_btn {
	display: block;
	margin:0 auto;
	line-height: 1;
	width: 230px;
	height: 35px;
    text-decoration:none;
	text-align: center;
    background: rgba(100,149,237,1);
	white-space: nowrap;
	font-family: A-OTF Jun Pro;
	font-style: normal;
	font-weight: normal;
	font-size: 26px;
	color: rgba(255,255,255,1);
	border-radius: 20px;
	padding-top: 2px;
	cursor: pointer;
}
#past_news_btn:hover {
	background: rgba(0,71,137,1);
}
.publication_month {
	white-space: nowrap;
	text-align: left;
	font-family: Hiragino Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 24px;
	color: rgba(0,0,0,1);
}
.book_card {
	width: 200px;
	height: auto;
	cursor: pointer;
}
.book_img:hover {
	opacity: 0.6;
}
.book_img > img {
	background-color: rgba(255,255,255,1);
	border: 2px solid rgb(177 176 176);
	filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.161));
	overflow: hidden;

	max-width: 100%;
	height: auto;
}
.book_title {
	overflow: visible;
	text-align: left;
	font-family: .AppleSystemUIFont;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	color: rgba(0,0,0,1);
}
.copyright_label {
	overflow: visible;
	text-align: left;
	font-family: Hiragino Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	color: rgba(0,71,137,1);
	position:relative;
}
.copyright_label::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(100,149,237,1);
    position: absolute;
    bottom: 3px;
}
.copyright_value {
	overflow: visible;
	line-height: 18px;
	margin-top: -1px;
	text-align: left;
	font-family: Hiragino Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	color: rgba(0,71,137,1);
}
.copyright_value.no_contract {
	color: rgba(255,0,0,1);
}
.catalog_grid {
	display: grid;
	gap: 50px;
	grid-template-columns: repeat(auto-fit, 200px);
	grid-auto-rows: minmax(350px, auto);
	justify-content: flex-start;
	margin: 0 auto;

	margin-top: 10px;
    margin-bottom: 5px;
}
#book_catalogs .content_body:not(:last-of-type) {
	border-bottom: 2px dotted rgba(112,112,112,1);
}

/* ページネーションのCSS（ページネーションの作り方により当て方が変わるので保留） */
#book_catalogs_pagination {
	position: relative;
	padding-top: 20px;
	padding-bottom: 20px;
}
#Pager {
	width: 312px;
	height: 50px;
	/* left: 564px;
	top: 0px; */
	overflow: visible;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
.pagination{
	list-style: none;
	text-align: center;
	padding-bottom: 20px;
} 
.pagination li{
	display: inline; 
	padding-left: 10px;
}
#n_ {
	left: 84px;
	top: 10px;
	position: absolute;
	overflow: visible;
	width: 11px;
	white-space: nowrap;
	line-height: 30px;
	margin-top: -6px;
	text-align: center;
	font-family: Source Han Sans JP;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	color: rgba(0,75,177,1);
}
#n__bb {
	left: 118px;
	top: 10px;
	position: absolute;
	overflow: visible;
	width: 11px;
	white-space: nowrap;
	line-height: 30px;
	margin-top: -6px;
	text-align: center;
	font-family: Source Han Sans JP;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	color: rgba(152,166,181,1);
}
#n__bc {
	left: 151px;
	top: 10px;
	position: absolute;
	overflow: visible;
	width: 11px;
	white-space: nowrap;
	line-height: 30px;
	margin-top: -6px;
	text-align: center;
	font-family: Source Han Sans JP;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	color: rgba(152,166,181,1);
}
#n__bd {
	left: 185px;
	top: 10px;
	position: absolute;
	overflow: visible;
	width: 11px;
	white-space: nowrap;
	line-height: 30px;
	margin-top: -6px;
	text-align: center;
	font-family: Source Han Sans JP;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	color: rgba(152,166,181,1);
}
#n__be {
	left: 218px;
	top: 10px;
	position: absolute;
	overflow: visible;
	width: 11px;
	white-space: nowrap;
	line-height: 30px;
	margin-top: -6px;
	text-align: center;
	font-family: Source Han Sans JP;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	color: rgba(152,166,181,1);
}
#Component_-_Prev {
	position: absolute;
	width: 50px;
	height: 50px;
	left: 0px;
	top: 0px;
	overflow: visible;
}
#n_1067 {
	fill: rgba(250,250,250,1);
	stroke: rgba(240,243,245,1);
	stroke-width: 2px;
	stroke-linejoin: miter;
	stroke-linecap: butt;
	stroke-miterlimit: 4;
	shape-rendering: auto;
}
.n_1067 {
	position: absolute;
	overflow: visible;
	width: 50px;
	height: 50px;
	left: 0px;
	top: 0px;
}
#n_83_bh {
	transform: translate(0px, 0px) matrix(1,0,0,1,17,17) rotate(180deg);
	transform-origin: center;
	position: absolute;
	width: 16px;
	height: 16px;
	left: 0px;
	top: 0px;
	overflow: visible;
}
#n_10_bi {
	fill: rgba(152,166,181,1);
}
.n_10_bi {
	overflow: visible;
	position: absolute;
	width: 16px;
	height: 16px;
	left: 0px;
	top: 0px;
	transform: matrix(1,0,0,1,0,0);
}
#Component_-_Next {
	position: absolute;
	width: 50px;
	height: 50px;
	left: 262px;
	top: 0px;
	overflow: visible;
}
#n_1066 {
	fill: rgba(250,250,250,1);
	stroke: rgba(240,243,245,1);
	stroke-width: 2px;
	stroke-linejoin: miter;
	stroke-linecap: butt;
	stroke-miterlimit: 4;
	shape-rendering: auto;
}
.n_1066 {
	position: absolute;
	overflow: visible;
	width: 50px;
	height: 50px;
	left: 0px;
	top: 0px;
}
#n_82 {
	position: absolute;
	width: 16px;
	height: 16px;
	left: 18px;
	top: 17px;
	overflow: visible;
}
#n_10_bm {
	fill: rgba(0,75,177,1);
}
.n_10_bm {
	overflow: visible;
	position: absolute;
	width: 16px;
	height: 16px;
	left: 0px;
	top: 0px;
	transform: matrix(1,0,0,1,0,0);
}

/* レスポンシブ対応 */
@media screen and (max-width:599px) {
	/* スマートフォン */
	.contents {
		margin-left: 10px;
		margin-right: 10px;
		padding-top: 4px;
	}
	.content_title {
		font-size: 18px;
		padding-top: 0px;
		padding-bottom: 0px;
	}
	.news_item {
		display: flex;
		flex-flow: column;
	}
	.news_date {
		max-width: 100%;
		min-width: 100%;
		font-size: 9px;
		padding-top: 0px;
		padding-bottom: 0px;
	}
	.news_content {
		width: 100%;
		line-height: 10px;
		font-size: 8px;
		padding-top: 0px;
		padding-bottom: 0px;
		padding-left: 12px;
	}
	#past_news_menu {
		padding-top: 10px;
		padding-bottom: 5px;
	}
	#past_news_btn {
		font-size: 14px;
		width: 180px;
		height: 25px;
	}
	.publication_month {
		font-size: 16px;
	}
	.book_card {
		width: calc(100vw / 2 - 30px);
	}
	.content_body {
		padding-left: 10px;
	}
	.catalog_grid {
		gap: calc((100vw / 2) * 0.1);
		grid-template-columns: repeat(auto-fit, calc(100vw / 2 - 30px));
		grid-auto-rows: minmax(250px, auto);
		margin-top: 5px;
		margin-bottom: 5px;
	}
	.book_title {
		font-size: 14px;
	}
	.copyright_label {
		font-size: 12px;
	}
	.copyright_value {
		line-height: 18px;
		margin-top: -1px;
		font-size: 12px;
	}

}
@media screen and (max-width:1023px) and (min-width:600px) {
	/* タブレット */
	.contents {
		margin-left: 40px;
		margin-right: 40px;
	}
	.content_title {
		font-size: 20px;
	}
	.news_date {
		max-width: 170px;
		min-width: 170px;
		font-size: 12px;
	}
	.news_content {
		font-size: 12px;
	}
	#past_news_btn {
		font-size: 20px;
		width: 200px;
	}
	.publication_month {
		font-size: 18px;
	}
	.book_card {
		width: 190px;
	}
	.catalog_grid {
		gap: 50px;
		grid-template-columns: repeat(auto-fit, 190px);
		grid-auto-rows: minmax(350px, auto);
	}
	.book_title {
		font-size: 16px;
	}
	.copyright_label {
		font-size: 14px;
	}
	.copyright_value {
		line-height: 18px;
		margin-top: -1px;
		font-size: 14px;
	}
}