@charset "utf-8";
/* CSS Document */

/*-------- table ------------*/
.edit table{
	width: 100%;
	max-width:100% !important;
	margin: 15px 0 ;
}

table.ta_center td,
table.ta_center th,
table td.ta_center,
table th.ta_center{
	text-align: center;
}

.edit table{/*線あり*/
	border: 1px solid #ddd;
}
.edit table td,
.edit table th{
	border: 1px solid #ddd;
	padding: 15px;
}
.edit table th,
.edit table thead td{
	background: #fafafa;
	font-weight:bold;
}


.edit #sdgs_list .scroll_box{
	overflow:hidden;
}
.edit #sdgs_list table,
.edit #sdgs_list table td{
	border: none;
}
.edit #sdgs_list tr{
	display: flex;
	margin-bottom: 30px;
}
.edit #sdgs_list td{
	display: block;
}
.edit #sdgs_list table tr > td:last-of-type{
	padding: 0 15px;
	width: calc(100% - 390px);
	box-sizing: border-box;
	margin-left: auto;
}
.edit #sdgs_list table tr > td:not(:last-of-type){
		padding: 0 !important;
		font-size: 0;
		letter-spacing: -.4em;
		width: 60px !important;
		min-height: 60px !important;
}



/*-------- list ------------*/
.edit :not(ul.img_btn_g) li{
	position: relative;
	margin-bottom: 0.25em;
}
.edit li ul:not(.img_btn_g),
.edit li ol{
	margin-left: 1em;
}
.edit ul:not(.img_btn_g),
.edit ol{
	box-sizing: border-box;
	margin: 15px auto;
}
.edit ul:not(.img_btn_g) > li:last-of-type,
.edit ol > li:last-of-type{
	margin-bottom: 0;
}

.edit ul:not(.img_btn_g) > li::before,
.edit ol > li::before{
	position: absolute;
	
}

.edit ul:not(.img_btn_g) > li{
	padding-left: 1.85em;
	position:relative;
}
.edit ul:not(.img_btn_g) > li::before{
	content: "";
	top: 0.7em;
	left: 0.65em;
	
	width: 4px;
	height: 4px;
	border-radius: 100%;
	background: #333
}

.edit ol{
	counter-reset:list;
}
.edit ol > li{
	padding-left: 1.85em;
	position:relative;
}
.edit ol > li::before{
	counter-increment: list;
	content: counter(list);
	top: 0.2em;
	left: 0;
	
	width: 1.5em;
	height: 1.5em;
	background: #f5f5f5;
	text-align: center;
	font-size: 0.9em;
	font-weight: bold;
}


/*-------- single ------------*/
.category_list{
	margin-bottom:3em !important;
	padding:15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-end;
}
.category_list > li{
	margin-bottom: 0 !important;
	padding-left:0 !important;
}
.category_list > li::before{
	display:none;
}


.edit .pager{
	margin: 100px auto 20px auto !important;
	display: flex;
	justify-content: space-between;
	border-right: none;
	border-left: none;
	padding: 15px 0;
	border: 1px solid #ddd;
}
.edit .pager > li{
	width: 50%;
	margin-bottom: 0;
	padding: 0;
	padding-left:0 !important;
}
.edit .pager > li a{
	display: block;
	position: relative;
	padding: 15px 20px;
	line-height: 1.2;
	font-size: 90%;
	text-decoration: none !important;
}
.edit .pager > li a:hover{
	text-decoration: underline !important;
}
.edit .pager > li small{
	padding: 0 20px;
	color: #888;
}
.edit .pager > li:last-of-type{
	border-left: 1px solid #ddd;
	text-align: right;
}
.edit .pager > li::before{
	display: none;
}

.page_nav{
	display: flex;
	justify-content: center;
	margin: 60px auto 0 auto;
}
.page_nav > li a,
.page_nav > li span{
	border: 1px solid #ddd;
	text-align: center;
	padding: 7px 10px;
	margin: 0 5px;
	line-height: 1;
	font-size: 90%;
	min-width: 30px;
	box-sizing: border-box;
	display: inline-block;
}
.page_nav > li span.current_page{
	background: #333;
	border-color: #333;
	color: #fff;
}


#right_box{
	font-size: 90%;
	line-height: 1.4;
	border-left: 1px solid #ddd;
	padding-left:20px;
}
#right_box dl{
	margin-bottom: 20px;
}
#right_box dt{
	font-weight: bold;
	padding: 20px 10px 20px 0;
	border-bottom: 1px solid #ddd;
	position: relative;
}
#right_box dt::before{
	content: "";
	position: absolute;
	width: 1px;
	height: 100%;
	background: #333;
	top: 0;
	left: -21px;
}

#right_box ul{
	padding: 0 20px;
	margin: 0 auto;
}
#right_box li{
	border-bottom: 1px solid #ddd;
	padding: 14px 10px ;
	margin-bottom: 0;
}
#right_box li::before{
	display: none !important;
}
#right_box li a{
	display: block;
}


@media screen and (max-width: 999px){ /* tablet,smartphone */
	.category_list > li a{
		font-size: 80%;
	}
	.edit .pager{
		font-size: 90%;
	}
	#right_box ul{
		padding: 0 10px;
	}
	
	.edit #sdgs_list tr{
		flex-wrap: wrap;
	}
	.edit #sdgs_list table tr > td:last-of-type{
		width: 100%;
		padding: 15px 0;
	}
}


@media screen and (min-width: 0px) and (max-width: 600px){ /* smartphone */
	.edit ul > li::before{
		top: 0.6em;
	}
	.edit .pager{
		margin-top: 80px;
		padding: 10px 0;
	}
	#right_box ul{
		padding-right: 0;
	}
	#right_box li::before{
		top: 20px;
	}

	.edit #sdgs_list table tr > td:not(:last-of-type){
		width: calc(100% / 6) !important;
		height: 50px;
		min-height: auto !important;
	}
}	
