@charset "utf-8";
/*メイン画像エリア*/
#main_area{position:relative;}
#main_area img{
	width:100%;
	height: 400px;
	object-fit:cover;
}
#main_area p.copy{
	font-family:YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"; /*"A1明朝",*/
	white-space: nowrap;
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%);
	font-size:2.0vw;
	letter-spacing: 0.2vw;
	text-align: center;
	color:#000;
}

/*各ページコンテンツ*/
.titopics span{padding:0.5rem 5rem;}
.titopics span::before{content:"News＆Topics";}/*見出し*/

/*カテゴリ一覧*/
.category{display:flex;background:#d4eaca;padding:0 20px;}
.category li{padding:15px 0;}
.category li:not(:last-child){margin-right: 1.2%;}
.category a{display: block;background:#FFF;padding:15px 30px;border-radius:30px;color:#59b55b;}
.category a.current{background:#59b55b;color:#FFF;}

/*記事一覧*/
.topicslist li{border-top:1px solid #cccccc;}
.topicslist li:last-child{border-bottom:1px solid #cccccc;}
.topicslist li a{
	position: relative;
	display:flex;
	align-items: center;
	padding:30px 0;
}
.topicslist li a::after{
	position: absolute;
	top:50%;
	right:0;
	transform: translateY(-50%);
	content: ">";
	}
.topicslist span {
	border:1px solid #59b55b;
	padding:10px 30px;
	border-radius:30px;
	width:180px;
	text-align:center;
	margin-right:2em;
	color:#59b55b;
}
.topicslist time,.topicslist p{color:#4d4d4d;}
.topicslist time{display: block;margin-right: 20px;}
.topicslist p{margin-right:1em;}

#pager{display:flex; justify-content: center;align-items: center;}
#pager li:not(.prev):not(.next){
	font-size: 18px;
	margin:0 1%;
}
#pager li:not(.prev):not(.next) a,#pager li span{
	display:block;
	width:40px;
	height:40px;
	padding:5px;
	text-align: center;
	border:1px solid #59b55b;
	border-radius: 50%;
}
#pager li:not(.prev):not(.next) a{background:#59b55b;color:#FFF;}
#pager .next img{transform: rotate(180deg);}
#pager li a.entrynav{width:200px !important; border-radius: 5px !important;}

/*記事詳細*/
.tientry{position: relative;display: flex;justify-content:center;flex-wrap:wrap;font-size:1.25rem;color:#000;margin-bottom: 60px;}
.tientry span{ width:100%;text-align:center;}
.tientry::before{order:2;margin:5px;}
.tientry::after{order:3;margin:5px;}
.entry{max-width:1000px; margin:auto;border:1px solid #808080;padding:30px;border-radius: 30px;}
.entry time{text-align:right;display: inherit;}
.entry p,.entry ol ,.entry ul {margin-bottom:2em;}
.entry h3{margin-bottom:2rem;font-size: 20px;background:#59b55b; color:#FFF; padding:8px 10px;border-radius: 10px;}

.entry h4{
    border: none;
    display: block;
    font-size: 18px;
    padding: 0.5rem;
    position: relative;
	margin-bottom: 2rem;
}
.entry h4:after {
    bottom: 0;
    background: repeating-linear-gradient(-45deg, transparent 0 2px, #59b55b 2px 4px);
    content: '';
    left: 0;
    height: 5px;
    position: absolute;
    width: 100%;
}

.entry ol li:not(:last-child),.entry ul li:not(:last-child){margin-bottom: 10px;}
.entry ul{background:#eeefea;padding:20px; border-radius: 10px;}
.entry ul li{padding-left:1em;text-indent: -1em;}
.entry ul li::before{content: "";display:inline-block; width:7px;height: 7px;background:#59b55b;border-radius: 50%;margin-right: 10px;}	

.entry ol {
	background:#eeefea;
	border-radius: 10px;
	padding:20px 20px 20px 15px;
	counter-reset: my-counter;
	list-style: none;
}
.entry ol li {
  line-height: 1.5;
  padding-left: 30px;
  position: relative;
}
.entry ol li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  border: 1px solid #59b55b;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22px;
  width: 22px;
  color: #59b55b;
  font-size: 85%;
  line-height: 1;
  position: absolute;
  top: 1.5px;
  left: 0;
}
.entry a{text-decoration:underline; color:#59b55b;}
.entry a:hover{text-decoration:none;}

/*----------------------------------------------------------*/
/* レスポンシブ
------------------------------------------------------------*/
/* 768px以下から
------------------------------------------------------------*/
@media only screen and (max-width:768px){
	body {min-width: 718px!important;}
	/*メイン画像エリア*/
	#main_area img{
		width:100%;
		height: auto;
		object-fit:fill;
	}
	/*記事一覧*/
	.topicslist{margin:0;width:100%;}
	.topicslist li a{flex-wrap:wrap;padding:0;}
	.topicslist li{padding:15px;}
	.topicslist span{padding:5px 10px;width:120px;margin-right:1em;}
	.topicslist p{margin-top:1em;}

	
	/*記事詳細*/
	.tientry span{font-size:18px;}
	.entry time{font-size:14px;}
	.entry h3,.entry h4{font-size:18px;}
	.entry h3::before{width:25px;height: 25px;}
}

/* 500px以下から
------------------------------------------------------------*/
@media only screen and (max-width:500px){
    body {min-width: inherit!important;width: 100%;}
	#main_area p.copy{
		font-size:4.2vw;
	}
	/*記事一覧*/
	.titopics span{padding:0.3rem 2rem;}
	.titopics span::before{content:"News＆Topics";}/*見出し*/
	/*カテゴリ一覧*/
	.category{flex-wrap: wrap;justify-content: space-between;padding:10px; text-align: center;}
	.category li{width:49%;padding:5px 0;}
	.category li:not(:last-child){margin:0;}
	.category a{padding:10px 20px;font-size:14px;}
	.topicslist span {
		padding:3px;
		border-radius:30px;
		width:100px;
		text-align:center;
		margin-right:1em;
		font-size: 14px;
	}
	.topicslist time,.topicslist p{color:#4d4d4d;font-size: 14px; }
	.topicslist time{margin-right:0px;}
	.topicslist p{margin-right:1em;}
	
	/*記事詳細*/
	.entry{padding:10px;border-radius: 10px;}
	.entry h3::before{
		display: block;
		width:30px;
		height: 30px;

	}
	.entry ol,.entry ul {
		padding:10px;
	}
}


