@charset "UTF-8";
/*
    Template: nestsouna
    Theme Name: nestsouna_core
    Theme URI:
    Description: core theme
    Version: 1.0.0
    Author: Xiahansa
    Author URI: https://xiahansa.com/
*/

/* JOURNAL最新記事全体 */

.journal-latest {
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: 40px;
}

/* 3列カード */
.journal-latest__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
}

/* カード本体 */
.journal-latest__card {
	min-width: 0;
	background: #fff;
}

/* カード全体をリンクにする */
.journal-latest__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

/* アイキャッチ */
.journal-latest__thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f2f2f2;
}

.journal-latest__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* 日付・タイトル・VIEW MOREのエリア */
.journal-latest__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 22px 18px 10px;
}

/* 日付 */
.journal-latest__date {
	display: block;
	margin-bottom: 10px;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.08em;
	color: #777;
}

/* タイトル */
.journal-latest__title {
	margin: 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.7;
}

/* VIEW MORE */
.journal-latest__more {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-top: auto;
	padding-top: 24px;
	padding-bottom: 4px;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.14em;
	border-bottom: 1px solid currentColor;
}

/* ホバー */
.journal-latest__link:hover .journal-latest__thumb img {
	transform: scale(1.04);
}

/* タブレット */
@media screen and (max-width: 1024px) {
	.journal-latest {
		padding-inline: 30px;
	}

	.journal-latest__grid {
		gap: 24px;
	}

	.journal-latest__body {
		padding-inline: 14px;
	}
}

/* スマートフォン */
@media screen and (max-width: 767px) {
	.journal-latest {
		padding-inline: 20px;
	}

	.journal-latest__grid {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.journal-latest__body {
		padding: 18px 8px 0;
	}

	.journal-latest__title {
		font-size: 16px;
	}
}

