@charset "utf-8";

/* --------------------------------------------------------------------------
   トップページ: ブログ・お知らせ
   WordPress.comの公開記事を取得し、失敗時はHTML内の案内記事を表示する。
--------------------------------------------------------------------------- */

.sec_blog {
	/*background: #f4f8fb;*/
}

.sec_blog .cont {
	min-height: 0;
	padding: 88px 0 96px;
}

.sec_blog .cont .btn_more a {
	background: #fff;
	/* background: #FF7372; */
    width: 60%;
    max-width: 30em;
    padding: 0.50%;
}

.sec_blog .btn_more span.btn {
	font-size: 1.5rem;
}

.sec_blog .title_sec,
.sec_blog .content_sec {
	padding: 0;
}

.sec_blog .title_sec .sub {
	margin-bottom: 16px;
}

.sec_blog .title_sec .lead {
	margin-bottom: 44px;
}


.blog-feed {
	max-width: 1084px;
	margin: 0 auto 50px;
	padding: 0 48px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.blog-feed[data-post-count="1"] {
	grid-template-columns: minmax(280px, 370px);
	justify-content: center;
}

.blog-feed__empty {
	grid-column: 1 / -1;
	text-align: center;
}

.blog-more {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 48px;
}

.blog-card {
	display: flex;
	min-height: 100%;
	flex-direction: column;
	background: #fff;
	border: 1px solid #dbe8f2;
	border-radius: 6px;
	color: #263746;
	text-decoration: none;
	overflow: hidden;
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.blog-card:hover,
.blog-card:focus-visible {
	border-color: #62aee0;
	box-shadow: 0 8px 22px rgba(0, 73, 123, 0.13);
	transform: translateY(-3px);
}

.blog-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: center / cover no-repeat;
}

.blog-card__image--default {
	background-image: linear-gradient(rgba(0, 117, 189, 0.18), rgba(0, 117, 189, 0.18)), url("../images/index/firstview_img03.jpg");
}

.blog-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card__body {
	display: flex;
	min-height: 174px;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.blog-card__meta {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #0075bd;
}

.blog-card__title {
	display: -webkit-box;
	margin-top: 12px;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.blog-card__excerpt {
	display: -webkit-box;
	margin-top: 12px;
	font-size: 1.35rem;
	line-height: 1.7;
	color: #61717f;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

@media all and (max-width: 1100px) {
	.sec_blog .cont {
		padding: 68px 0 72px;
	}

	.blog-feed,
	.blog-more {
		padding: 0 28px;
	}
    .sec_blog .btn_more span.btn {
        color: #000;
        font-size: 1.2rem;
    }
}

@media all and (max-width: 767px) {
	.sec_blog .cont {
		padding: 52px 0 58px;
	}

	.sec_blog .title_sec .lead {
		margin-bottom: 30px;
	}

	.blog-feed,
	.blog-more {
		padding: 0 20px;
	}

	.blog-feed {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.blog-feed[data-post-count="1"] {
		grid-template-columns: 1fr;
	}

	.blog-card {
		flex-direction: row;
	}

	.blog-card__image {
		width: 38%;
		flex: 0 0 38%;
		aspect-ratio: auto;
	}

	.blog-card__body {
		min-height: 0;
		padding: 16px;
	}

	.blog-card__title {
		margin-top: 7px;
		font-size: 1.55rem;
		-webkit-line-clamp: 2;
	}

	.blog-card__excerpt {
		display: none;
	}
}
