/* セクション全体 */
.hkmBlogGrid_section {
	width: 960px;
    box-sizing: border-box;
    padding: 32px 16px 40px;
	margin:auto;
}

.hkmBlogGrid_section * {
  box-sizing: border-box;
}

.hkmBlogGrid_sectionTitle {
  max-width: 1200px;
  margin: 0 auto 20px;
  font-size: 2.8rem;
  font-weight: 700;
  color:#fff;
  text-align:center;
  line-height:140%;
}

.hkmBlogGrid_sectionP {
  margin: 0 auto 20px;
  font-size: 1.6rem;
  font-weight: 700;
  color:#fff;
  text-align:center;
}

@media screen and (max-width:767px){
	.hkmBlogGrid_section{
		width: 100%;
	}
}
/* 一覧（flex親） */
.hkmBlogGrid_list {
	margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 各記事カード：PCは2列 */
.hkmBlogGrid_item {
  flex: 47%;
}

/* カードの中身（全体リンク） */
.hkmBlogGrid_link {
	display: flex;
    flex-direction: column;
    height: 550px;
    padding: 16px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	text-decoration:none !important;
}
.Harticle{
	height:auto;
}
/* サムネイル画像 */
.hkmBlogGrid_thumb {
  border-radius: 8px;
  margin-bottom: 10px;
}

.hkmBlogGrid_thumb img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hkmBlogGrid_link:hover {
  opacity: 0.7 !important;
}

/* テキスト部分 */
.hkmBlogGrid_content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 日付＋NEW */
.hkmBlogGrid_metaTop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 6px;
}

.hkmBlogGrid_date {
  font-variant-numeric: tabular-nums;
  font-size:1.1rem;
}

/* タイトル */
.hkmBlogGrid_title {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  margin: 0 0 8px !important;
  letter-spacing: 0px !important;
}

/* 抜粋 */
.hkmBlogGrid_excerpt {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin: 0 0 10px;
}

/* 物件情報の詳細 */
.hkmBlogGrid_detail {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #eee;
  font-size: 1.4rem;
  color: #444;
  margin-top: auto; /* ここから下をカードの「下部」に寄せる */
}

.hkmBlogGrid_detailRow {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 4px;
}

.hkmBlogGrid_detailRow dt {
  font-weight: 600;
  font-size:1.1rem;
  font-weight: normal;
}

.hkmBlogGrid_detailRow dd {
  margin: 0;
  font-weight: bold;
}

.hkmBlogGrid_detailRow dd span {
	font-size:1.1rem;
}

/* もっと見るボタン */
.hkmBlogGrid_more {
  max-width: 1200px;
  margin: 24px auto 0;
  text-align: center;
}

.hkmBlogGrid_moreBtn {
  display: inline-block;
    padding: 10px 32px;
    border-radius: 999px;
    border: 1px solid #fff;
    background: #fff;
    color: #fff;
    font-size: 1.4rem;
	font-weight:bold;
    text-decoration: none;
    transition: background 0.2s ease, 
	color 0.2s ease, 
	transform 0.1s ease;
}

.hkmBlogGrid_moreBtn:hover {
  background: #ffffff;
  color: #14988d;
  transform: translateY(-1px);
}

/* ▼ スマホ：1列表示 ▼ */
@media (max-width: 768px) {
  .hkmBlogGrid_item {
    flex: 0 1 100%;
  }

  .hkmBlogGrid_img {
    height: 220px;
  }
}




.pager{
	margin:20px ;
}
.pager .pagination {
	text-align: center;
}
.pager .pagination li {
	display: inline;
	margin: 0 2px;
	padding: 0;
	display: inline-block;
	background:#fff;
	width: 50px;
	height: 50px;
	text-align: center;
	position: relative;
	border-radius: 10px;
	border:2px solid #000;
}
.pager .pagination li a{
	vertical-align: middle;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	display:table;
	color: #000;
	text-decoration: none;
}
.pager .pagination li a span{
	display:table-cell;
	vertical-align:middle;
}
.pager .pagination li a:hover,
.pager .pagination li a.active{
	color: #fff;
	background: #000;
	border-radius:8px;
}
@media only screen and (max-width: 767px){
  .pager .pagination li{
		display: none;
  }

  .pager .pagination li.pre,
  .pager .pagination li.next{
		display: inline-block;
		width: 40%;
		height:35px;
		text-align: center;
  }

  .pager .pagination li.pre a,
  .pager .pagination li.next a{
		width: 100%;
		text-align: center;
  }

  .pager .pagination li.pre span::after{
		content: "　前へ";
  }

  .pager .pagination li.next span::before{
		content: "次へ　";
  }

}

/* ブログ一覧：エリア・用途 絞り込みボタン */
.hkmBlogFilter {
	margin: 24px 0 28px;
	padding: 18px;
	background: #f8f6f2;
	border-radius: 16px;
	box-sizing: border-box;
}

.hkmBlogFilter_block {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 12px;
}

.hkmBlogFilter_block:last-child {
	margin-bottom: 0;
}

/* PCではラベルも横並び */
.hkmBlogFilter_label {
	display: inline-block;
	width: auto;
	font-weight: bold;
	margin-right: 4px;
	color: #333;
	white-space: nowrap;
	line-height: 1.4;
}

.hkmBlogFilter_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #d7d2c8;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	box-sizing: border-box;
	text-align: center;
	white-space: nowrap;
}

.hkmBlogFilter_btn:hover {
	background: #eee8dd;
	text-decoration: none;
}

.hkmBlogFilter_btn.is-active {
	background: #333;
	border-color: #333;
	color: #fff;
}

/* スマホだけ変更 */
@media screen and (max-width: 768px) {
	.hkmBlogFilter {
		margin: 20px 0 24px;
		padding: 16px;
		border-radius: 14px;
	}

	.hkmBlogFilter_block {
		gap: 8px;
		margin-bottom: 14px;
	}

	/* スマホでは「エリア」「用途」をブロック表示 */
	.hkmBlogFilter_label {
		display: block;
		width: 100%;
		margin: 0 0 2px;
		font-size: 14px;
	}

	/* スマホでもボタンは3つ横並び */
	.hkmBlogFilter_btn {
		flex: 1 1 calc(33.333% - 8px);
		width: calc(33.333% - 8px);
		min-width: 0;
		padding: 9px 6px;
		font-size: 13px;
		min-height: 40px;
	}
}

/* スマホ：3つ横並びを維持 */
@media screen and (max-width: 480px) {
	.hkmBlogFilter {
		margin: 10px 0 20px;
		padding: 0px;
		border-radius: 12px;
	}

	.hkmBlogFilter_block {
		gap: 6px;
	}

	.hkmBlogFilter_btn {
		flex: 1 1 calc(33.333% - 6px);
		width: calc(33.333% - 6px);
		padding: 8px 4px;
		font-size: 12px;
		min-height: 40px;
	}
	.hkmBlogGrid_link {
		padding:0px;
	}
	.hkmBlogGrid_thumb img {
		height: auto;
	}
	.hkmBlogGrid_item {
		margin-bottom:15px;
	}
}

/* かなり狭い端末でも3列を維持するため、文字だけ少し小さくする */
@media screen and (max-width: 360px) {
	.hkmBlogFilter {
		padding: 12px;
	}

	.hkmBlogFilter_block {
		gap: 5px;
	}

	.hkmBlogFilter_btn {
		flex: 1 1 calc(33.333% - 5px);
		width: calc(33.333% - 5px);
		padding: 7px 2px;
		font-size: 11px;
		min-height: 38px;
	}
}
