@charset "UTF-8";
/* --------------------------
  TITLE : エステクロス 
  URI : escross.jp
  (C) エステクロス.
-------------------------- */

/* NEWSLIST
-------------------------- */

#wrapper .news_list {
	background: #ffffff;
	padding: 15px 0 10px 15px;
	overflow: hidden;
}

#wrapper .news_list h1 {
	font-size: 18px;
	padding: 10px 0 10px 0;
	font-weight: bold;
	width: 100%;
	box-sizing: border-box;
}

#news_link {
	background: #ffffff;
	width: 100%;
	padding: 0 15px 25px 15px;
	box-sizing: border-box;
}

#news_link a .news_card {
	background-color: #f5f5f5;
	padding: 15px 8px;
	margin-bottom: 10px;
	display: grid;
	gap: 8px;
	grid-template-columns: 90px 1fr;
	position: relative;
}

#news_link a .news_card:hover {
	background-color: #f7f7f7;
}

#news_link a .news_card img {
	width: 90px;
	height: 60px;
}

#news_link a .news_card span.category {
	position: absolute;
	top: 15px;
	left: 8px;
	background-color: #222222;
	color: #ffffff;
	font-size: 9px;
	height: 17px;
	line-height: 15px;
	padding: 0 7px;
}

#news_link a .news_card .news_info time {
	display: block;
	font-size: 11px;
	line-height: 11px;
	margin-bottom: 4px;
}

#news_link a .news_card .news_info h3 {
	font-size: 14px;
	line-height: 18px;
	font-weight: bold;
	word-wrap: break-word;
}

@media screen and (min-width: 640px) {

	#wrapper .news_list {
		padding: 20px 20px 10px 20px;
	}

	#wrapper .news_list h1 {
		font-size: 20px;
		padding: 0 0 10px 0;
	}

	#news_link .news_grid {
		display: grid;
		gap: 10px;
		grid-template-columns: repeat(3, 1fr);
	}

	#news_link a .news_card {
		padding: 0 0 15px 0;
		display: inline-block;
	}
	
	#news_link a .news_card img {
		width: 100%;
		height: auto;
	}
	
	#news_link a .news_card span.category {
		top: 0;
		left: 0;
		font-size: 11px;
		height: 20px;
		line-height: 19px;
	}

	#news_link a .news_card .news_info {
		padding: 0 10px;
	}
	
	#news_link a .news_card .news_info time {
		margin: 10px 0 5px 0;
	}
	
	#top_news a .news_card .news_info h3 {
		font-size: 12px;
		line-height: 16px;
	}

}

/* NEWS
-------------------------- */

#wrapper article {
	background: #ffffff;
	padding: 25px 15px;
	overflow: hidden;
}

article .news_header {
	border-bottom: 1px solid #222222;
	padding: 0 0 10px 0;
	overflow: hidden;
}

article .news_header h1 {
	font-size: 18px;
	line-height: 24px;
	font-weight: bold;
	margin-bottom: 5px;
}

article .news_header span.category {
	display: inline-block;
	background-color: #222222;
	color: #ffffff;
	font-size: 9px;
	height: 17px;
	line-height: 17px;
	padding: 0 7px;
}

article .news_header time {
	font-size: 12px;
	line-height: 17px;
	margin-left: 5px;
}

article .content {
	padding: 15px 0 25px 0;
}

article .content img {
	margin: 10px auto;
	width: auto;
	height: auto;
	max-width: 100%;
}

article .content img.main_img {
	margin-top: 0;
}

article .content p {
	font-size: 12px;
	line-height: 20px;
	margin: 15px;
}

@media screen and (min-width: 640px) {

	#wrapper article {
		padding: 25px 20px;
	}
	
	article .news_header h1 {
		font-size: 20px;
		line-height: 26px;
		margin-bottom: 10px;
	}
	
	article .news_header span.category {
		font-size: 11px;
		height: 20px;
		line-height: 20px;
	}
	
	article .news_header time {
		font-size: 12px;
		line-height: 20px;
	}
	
	article .content img {
		margin: 20px auto;
		width: auto;
		height: auto;
		max-width: 600px;
	}
	
	article .content p {
		font-size: 14px;
		line-height: 24px;
		margin: 20px;
	}
	

}

