
/*-----------------------------------

	common

-----------------------------------*/
#list,
#detail{
	width: 66%;
	float: left;
}
#list article,
#detail article{
	margin-bottom: 30px;
	background: #fff;
	box-sizing: border-box;
}
#list article .date,
#detail article .date{
	font-size: 1.3rem;
	line-height: 1.6rem;
	display: inline-block;
	margin-right: 10px;
}
#list article .cate,
#detail article .cate{
	color: #fff;
	font-size: 1.4rem;
	line-height: 2.0rem;
	background: #ff8921;
	display: inline-block;
	border-radius: 5px;
	padding: 0 8px;
}
#list article a:hover .cate{
	background: #acb9c1;
}
#side{
	width: 31%;
	float: right;
}
#side .side_box{
	background: #fff;
	margin-top: 30px;
	padding: 20px 5%;
	border-radius: 10px;
}
#side .side_title {
	font-size: 2.4rem;
	font-weight: 700;
	
	position: relative;
	margin-bottom: 10px;
	padding-left: 30px;
	padding-bottom: 10px;
	border-bottom: solid 2px #fff3c4;
}
#side .side_title:before{
	content: url("../images/deco_star_o.svg");
	position: absolute;
	width: 20px;
	left: 0;
}
#side_bnr a {
	max-width: 360px;
	display: block;
	margin: 0 auto;
	border: solid 1px #d8d8d8;
	border-radius: 20px;
	overflow: hidden;
	box-sizing: border-box;
}
#side_cate ul li{
	padding: 3px 0 3px 20px;
	position: relative;
}
#side_cate ul li:before {
	content:"";
	position: absolute;
	width: 10px;
	height: 3px;
	background: #ffeb81;
	left: 0;
	top:15px;
}
#side_new ul li{
  padding: 8px 0;
  border-bottom: solid 1px #eddfe3;
}
#side_new .img {
 	width: 38%;
}
#side_new .img img{
	width: 100%;
	object-fit: cover;
}
#side_new .txt {
	width: 60%;
}
#side_new a .date{
	  font-size: 1.3rem;
	line-height: 1.6rem;
	display: inline-block;
}
#side_new a .title{
	font-size: 1.4rem;
	line-height: 2.1rem;
	margin-top: 3px;
}


@media screen and (max-width: 980px) {
	#list,
	#detail,
	#side{
		width: 100%;
		float: none;
	}
	#list .wrap,
	#detail .wrap{
		padding: 40px 2.5% ;
	}
	#side{
		max-width: 600px;
		margin: 60px auto 0;
	}
	#side_profile .img img {
	  width: 160px;
	  height: 160px;
	}
}
@media screen and (max-width: 740px) {
	#list article .cate, #detail article .cate {
	  font-size: 1.3rem;
	  line-height: 1.6rem;
	}
	#side{
		max-width: 640px;
		margin: 60px auto 0;
	}
	#side .side_box{
		padding: 20px 2.5%;
	}
	#side_new .img {
		width: 30%;
	}
	#side_new .txt {
	  width: 68%;
	}
	#side_new a .date{
	  font-size: 13px;
		line-height: 1.6rem;
	}
	#side_new a .title{
	  font-size: 14px;
		line-height: 1.8rem;
	}
}

/*-----------------------------------

	list

-----------------------------------*/
#list article{
	border-radius: 10px;
	padding: 10px 2.5%;
}
#list article .img{
	width: 30%;
}
#list article .img img{
	width: 100%;
	object-fit: cover;
}
#list article .txt{
	width: 68%;
	margin-top: 20px;
}
#list article .txt .title{
	font-size: 2.1rem;
	margin-top: 10px;
}
#list article dt {
  padding: 10px 0 0;
}
#list article dd {
  padding: 5px 0 10px;
  border-bottom: solid 1px #eddfe3;
}
@media screen and (max-width: 740px) {
	#list article{
		margin-bottom: 20px;
	}
	#list article .txt{
		margin-top: 10px;
	}
	#list article .txt .title{
		font-size: 1.6rem;
		margin-top: 5px;
	}
}

/*-----------------------------------

	detail

-----------------------------------*/
#detail article{
	padding: 40px 5% 30px;
	border-radius: 20px;
}
#detail article h1{
	font-size: 3.0rem;
	line-height: 3.6rem;
	margin: 10px 0 30px;
}
#detail .img{
	text-align: center;
}
#detail article .edit h2{
	font-size: 2.4rem;
	line-height: 3.2rem;
	background:#fff3c4;
	margin: 30px 0;
	padding: 10px 2.5%;
}
#detail article .edit h3{
	font-size: 2.1rem;
	line-height: 2.8rem;
	border-bottom: solid 4px #fff3c4;
	padding: 10px 0;
	position: relative;
}
#detail article .edit a{
	color: #ff8921;
	font-weight: 700;
	border-bottom: solid 1px #ff8921;
}
#detail article .edit a:hover{
	color: #ff8921;
	border-bottom: solid 1px #fff;
}
#detail article .edit figure{
	margin-top: 30px;
}
#detail article .edit p,
#detail article .edit ul,
#detail article .edit ol{
	line-height: 2.4rem;
	margin-top: 30px;
}
#detail article .edit ol li{
	list-style: decimal;
	margin-top: 10px;
	margin-left: 20px;
}
#detail article .edit ul li{
	margin-top: 10px;
	list-style: disc;
	margin-left: 20px;
}
#detail article .edit{
	font-size: 1.6rem;
}
#detail article .edit .toc_container ul{
	margin-top: 0;
}
#detail article .edit .toc_container ul li {
  margin-top: 0;
  list-style: none;
  margin-left: 0;
}
@media screen and (max-width: 980px) {
	#detail article h1 {
		font-size: 2.1rem;
		line-height: 2.4rem;
	}
	#detail article .edit h2{
		font-size: 1.8rem;
		line-height: 2.1rem;
		margin: 30px 0 20px;
	}
	#detail article .edit h3{
		font-size: 1.8rem;
		line-height: 2.1rem;
	}
	#detail article .edit p, #detail article .edit ul {
		line-height: 2.1rem;
		margin-top: 20px;
	}
	#detail article .edit ul li {
		margin-top: 5px;
	}
	#detail article .edit{
		font-size: 1.4rem;
	}
}
/*-----------------------------------
page,pagination,backlist
----------------------------------*/
#contents .page{
	justify-content: center; 
}
#contents .page a,
#contents .pagination .current{
	font-size: 1.8rem;
	letter-spacing: 0;
	min-width: 50px;
	height: 50px;
	display: inline-block;
	color: #2b2b2b !important;
	background: #fff;
	border: solid 3px #ffd737;
	padding: 10px 5px 3px;
	border-radius: 60px;
	box-sizing: border-box;
	margin: 5px;
}
#contents .page .next,
#contents .page .prev{
	width: 70px;
}
#contents .page .next:before,
#contents .page .prev:before{
	content: url("../images/icon_arrow_y.svg");
	width: 13px;
	display: inline-block;
	transition: 0.3s;
}
#contents .page .prev:before{
	transform: scale(-1, 1);
}
#contents .page a:hover,
#contents .pagination .current{
	color: #fff!important;
	background: #aaa;
	border: solid 3px #aaa;
}
#contents .page .next:hover:before,
#contents .page .prev:hover:before{
	content: url("../images/icon_arrow_w.svg");
}
.backlist .back{
	width: 240px;
}
@media screen and (max-width: 960px) {
	#contents .page a,
	#contents .pagination .current{
		font-size: 1.6rem;
		min-width: 40px;
		height: 40px;
		padding: 6px 5px 0;
	}
	#contents .page .next,
	#contents .page .prev{
	  width: 40px;
	}
	#contents .page .next:before,
	#contents .page .prev:before{
	  width: 10px;
	}
	.backlist .back{
		width: 200px;
	}
}



