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

/* ===========================================================
 * 記事ページ「この記事が関連する周辺の街並み」  /css/entry_machi.css
 * 表示ファイル（/inc/entry_machi/entry○○.html）が読み込む
 * 基本はスマホ（横スクロール）、980px以上をPC（4列）
 * =========================================================== */
.emBlock{
	width: 96vw;            /* 関連記事と同じ幅 */
	margin: 0 auto 4vw;
	padding: 0 0 16px;
	background: #fff;
	color: #1e3a56;
	font-size: 14px;
	line-height: 1.5;
	clear: both;
}
 
.emHead{
	margin: 0;
	padding: 4.5vw 0 4.5vw 2vw;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.3;
	text-indent: 40px;
	color: #fff;
	background: #2aa9ca url("/img/common/icon_menu01.png") 2vw center /32px no-repeat;
}
 
.emLead{
	margin: 12px 12px 10px;
	font-size: 15px;
	line-height: 1.7;
}
 
/* スマホ：横スクロール */
.emScroll{
	overflow-x: auto;
	padding: 0 12px 6px;
	-webkit-overflow-scrolling: touch;
}
 
.emList{
	display: flex;
	gap: 10px;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
}
 
.emList li{
	flex-shrink: 0;
	width: 150px;
}
 
.emList a{
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #e3e3de;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
}
 
.emList img{
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #eee;
}
 
.emList a:hover img{
	opacity: 0.8;
}
 
.emName{
	display: block;
	padding: 8px 10px 2px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.4;
	color: #1e3a56;
}
 
.emCity{
	display: block;
	padding: 0 10px 10px;
	font-size: 12px;
	color: #5a6b7b;
}
 
 
/* -------------------------
 以下PC
--------------------------*/
@media
screen and (min-width: 980px){
 
.emBlock{
	width: auto;
	margin: 0 0 24px;
	padding: 0 0 24px;
}
 
.emHead{
	padding: 20px 0 16px 0;
	line-height: 26px;
	text-indent: 64px;
	background: #2aa9ca url("/img/common/icon_menu01.png") 15px 10px /40px no-repeat;
}
 
.emLead{
	margin: 16px 24px 14px;
	font-size: 16px;
}
 
.emScroll{
	overflow: visible;
	padding: 0 24px;
}
 
.emList{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	width: auto;
}
 
.emList li{
	width: auto;
}
 
.emName{
	font-size: 18px;
}
 
}