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

.h2_title {
	background: url("../img/bg_title.png") no-repeat;
	background-size: cover;
	background-position: center;
	text-align: right;
}

@media screen and (max-width: 980px) {
	.h2_title {
		background-position: center;
		background-size: cover;
		height: 230px;
	}
	.h2_title img {
		height: 230px;
	}
}


@media screen and (max-width: 450px) {
	.inner1050 {
		padding: 0;
	}
	.h2_title {
		background-position: center;
		background-size: cover;
		height: 180px;
	}
	.h2_title img {
		height: 180px;
	}
}

/*農園だより一覧（トップ埋め込みも同様）*/
#newsList {
	display: flex;
	flex-wrap: wrap;
	margin: 3em 0;
}
#newsList li{
	width: calc((100% - 60px) / 3);
	margin-right: 30px;
	margin-bottom: 3em;
	text-align: left;
}
#newsList li:nth-of-type(3n) {
	margin-right: 0;
}
#newsList li a {
	color: #802921;
}
#newsList li a:hover {
	color: #290078;
}

/*独自追加スタイル*/
.thumb_box {
	position: relative;
	margin-bottom: 30px;
}
.thumb_box .catName {
	position: absolute;
	bottom: -20px;
	left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

/*以下PHP引継ぎスタイル*/
.title_box {
	line-height: 1.4em;
}
/*カテゴリー*/
.catName{
	display:inline-block;
	width: 10em;
	text-align: center;
	padding:2px 0;
	border-radius:20px;
	background: #809a00;
	color: #FFF;
	font-weight: 600;
}
.cat-0 .catName {
	background: #290078;
}
.cat-1 .catName {
	background: #A33648;
}

/*newマーク*/
.newMark{
	display:inline-block;
	padding:1px 5px;
	font-size:90%;
	color:#290078;
}
/*テキスト抜粋*/
.comment{
	display: none;
}
/*サムネイル*/
.thumbNailWrap{
	display:block;
	overflow:hidden;
}
.thumbNailWrap img {
	width: 100%;
	height: 230px;
  object-fit: cover;
  border-radius: 15px;
}

/* Pager style（外部化可） */
.pager{
	text-align:center;
	padding:3em 1em;
	clear:both;
	font-size: 110%;
}
/*ページャーボタン*/
.pager a{
    border: 1px solid #290078;
    border-radius: 5px;
    color: #333;
    padding: 5px 7px;
    text-decoration: none;
	margin:0 4px;
}

/*現在のページのボタン*/
.pager a.current{
    background: #290078;
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    padding: 5px 7px;
	margin:0 4px;
    text-decoration: none;
}
.pager a:hover{
    background:#290078;
    color: #fff;
}
.overPagerPattern{
	padding:0 2px ;	
}

@media screen and (max-width: 780px) {
	#newsList li {
		width: calc((100% - 15px) / 2);
		margin-right: 15px;
		margin-bottom: 2em;
	}
	#newsList li:nth-of-type(3n) {
		margin-right: auto;
	}
	#newsList li:nth-of-type(even) {
		margin-right: 0;
	}
	
	.thumbNailWrap img {
		height: 110px;
		border-radius: 7px;
	}
	
	.thumb_box {
		margin-bottom: 15px;
	}
	.thumb_box .catName {
		bottom: -10px;
		font-size: 80%;
		padding: 0;
	}
}




/*詳細ページ*/
.inner800 {
	max-width: 800px;
	margin: 2em auto;
}
.newstitle {
	font-size: 135%;
	margin-bottom: 1em;
	line-height: 1.4em;
}
.newstime {
	margin-bottom: 1.5em;
}
.newstime .category {
	background: #809a00;
	display: inline-block;
	width: 8em;
	text-align: center;
	border-radius: 30px;
	font-size: 90%;
	margin: 0 10px;
	color: #FFF;
	padding: 0;
}
/*画像*/
.detailUpfile{
	margin:1em 0 2em;
	text-align:center;
}
.detailUpfile img{
	max-width:100%;
	height:auto;
}
/*本文*/
.detailText {
}
/*戻るボタン*/
.backORcloseBtn{
	line-height:100%;
	margin-top:1em;
}
.backORcloseBtn a{
	display:inline-block;
	padding:7px 1.5em;
	color:#FFF;
	border-radius:30px;
	text-decoration:none;
	background: #290078;
}
/*パンくずリスト（非表示）*/
.pNav{
	display: none;
}

/*a[href$=".pdf"] {
	background: url("../../common/img/bg_cssbtn.png")no-repeat left bottom,#80002e;
	font-size: 24px;
	font-weight: 600;
	padding: 0.85em 3em;
	border: 3px solid #b83d44;
	border-radius: 40px;
	color: #FFF;
	text-align: center;
	display: inline-block;
	margin: 1em auto 2em;
}
a[href$=".pdf"]:after {
	content: "ダウンロード";
	font-family: dnp-shuei-mgothic-std, sans-serif;
	margin-left: 5px;
}*/

