@charset "utf-8";
/*
overwrite.css
2019.03.4 早稲田 開発部 追加
*/

/*-----「資料詳細」------ */

div#shiryo_detail .db_detal_area {
	position: relative;
}

/* ページャー */
div#shiryo_detail .pagerBox {
	margin:0px;
	position:absolute;
	top:14px;
	right:0px;
}
div#shiryo_detail .pagerBox .pagination,
div#shiryo_detail .pagerBox .pagination li a {
	justify-content:flex-end;
	/*align-items::right;	*/
}

/* 資料タイトル */
div#shiryo_detail h2.title {
	padding:27px 0 8px;
}
@media screen and (max-width: 960px) {
	div#shiryo_detail h2.title {
		padding:20px 0 0px;
	}
}

/* 資料よみ */
div#shiryo_detail h2.title span {
	margin-top:3px;
	display:block;
	font-size:72%;
}

.dm_slider .panel-item .panel-item-img img {
	object-fit: contain;
	font-family: 'object-fit: contain;'
}
input.position_submit {
	top: initial;
	top: auto;
	left: 10px;
	bottom:80px;
	right: initial;
	right: auto;
}
p.dm_tag_anno {
	margin-left:8px;
	margin-top:10px;
}

@media screen and (max-width: 960px) {	
	.dm_slider .panel-item .panel-item-img,
	.db_photo_list_area .panel-item .panel-item-img {
		height: 170px;
		max-height: 170px;
		line-height: 170px;
	}
	.dm_slider .panel-item .panel-item-img img,
	.db_photo_list_area .panel-item .panel-item-img img {
		max-height:170px;
	}
}

@media screen and (max-width: 768px) {	
	.dm_slider .panel-item .panel-item-img,
	.db_photo_list_area .panel-item .panel-item-img {
		height: 160px;
		max-height: 160px;
		line-height: 160px;
	}
	.dm_slider .panel-item .panel-item-img img,
	.db_photo_list_area .panel-item .panel-item-img img {
		max-height:160px;
	}
}

@media screen and (max-width: 640px) {	
	.dm_slider .panel-item .panel-item-img,
	.db_photo_list_area .panel-item .panel-item-img {
		height: 150px;
		max-height: 150px;
		line-height: 150px;
	}
	.dm_slider .panel-item .panel-item-img img,
	.db_photo_list_area .panel-item .panel-item-img img {
		max-height:150px;
	}
}

@media screen and (max-width: 480px) {	
	.dm_slider .panel-item .panel-item-img,
	.db_photo_list_area .panel-item .panel-item-img {
		height: 140px;
		max-height: 140px;
		line-height: 140px;
	}
	.dm_slider .panel-item .panel-item-img img,
	.db_photo_list_area .panel-item .panel-item-img img {
		max-height:140px;
	}
}

@media screen and (max-width: 320px) {
	.dm_slider .panel-item .panel-item-img,
	.db_photo_list_area .panel-item .panel-item-img {
		height: 130px;
		max-height: 130px;
		line-height: 130px;
	}
	.dm_slider .panel-item .panel-item-img img,
	.db_photo_list_area .panel-item .panel-item-img img {
		max-height:130px;
	}
}

/* 2021.05.12 早稲田 開発部 追加 */
/* kyoudo_study.tpl */

.dm_study_area {
	margin-top: 2em;
}

.dm_study_text {
	margin-left: 2em;
}

/* 2022.03.24 早稲田 開発部 追加 */
div.closing_info {
	color:red;
	font-size: 138%;
}

div.study_caution {
	margin-top: 3em;
}

p.dm_study_caution_text {
	margin-left: 2em;
}

.under_line{
	text-decoration: underline;
}

/* 2022.04.20 早稲田 開発部 追加 */
/*「団体利用について（社会科見学など）」*/
section.minka_study_contents dl {
}
section.minka_study_contents dl dt {
	margin-top: 28px;
	margin-bottom: 10px;
	font-weight: bold;
	position: relative;
	left: -8px;
}
section.minka_study_contents dl dd {
}

.side_navi ul.contentWrap span {
	position: relative;
	left: -10px;
}

