/****==================================================
----------------------------------
title
----------------------------------

HELAS NEWS お知らせ

----------------------------------
Color
----------------------------------

background: #EFEBE9
main: #66BB6A
text: #263238
sub: #FFA000
shadow: #EBE6E4

----------------------------------
font
----------------------------------
Noto Sans JP　（400,700）
==================================================****/

:root {
	--color-main: #66BB6A;
	--color-sub: #FFA000;
	--color-text: #263238;
	--color-shadow: #EBE6E4;
	--color-brown: #BCAAA4;
}

html {
	font-size: 62.5%;
}

body {
	background: #EFEBE9;
	color: var(--color-text);
	font-size: 1.4rem;
	line-height: 2;
	font-weight: 700;
	font-family: 'Noto Sans Jp', sans-serif;
	min-width: 1200px;
}


/***----------------
ニュース一覧
-----------------------------***/

.article {
	height: 240px;
	background: var(--color-shadow);
	border-radius: 15px;
	margin-bottom: 60px;
}

article:last-of-type {
	margin-bottom: 0;
}

.article-link {
	display: flex;
}

.thumbnail {
	width: 240px;
	height: 240px;
	border-radius: 15px;
}

.thumbnail img {
	width: 240px;
	border-radius: 15px;
}

.post-box {
	padding: 20px 40px 20px 30px;
	line-height: 1.8;
}

.post-title {
	font-size: 2rem;
	margin-bottom: 20px;
	line-height: 1.6;
}

.post-text {
	font-weight: 400;
	height: 5em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.time {
	margin: 0;
	position: relative;
	font-size: 1.8rem;
	margin-bottom: 5px;
}

.new .time::after {
	content: 'NEW!';
	position: absolute;
	right: 0;
	color: #C62828;
}

/***----------------
お知らせ詳細
-----------------------------***/

.heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--color-main);
	margin-top: 100px;
	margin-bottom: 20px;
}

.area-title {
	font-size: 3rem;
}

.day {
	font-size: 2rem;
}

.article-title {
	width: 100%;
	padding: 40px 50px;
	background: var(--color-shadow);
	font-size: 2rem;
	border-radius: 15px;
}

.article-box {
	width: 90%;
	margin: 40px auto 0;
	font-weight: 400;
}

.image-area {
	width: 700px;
	margin: 0 auto;
}

.image-area.top {
	margin-bottom: 60px;
}

.image-area.bottom {
	margin-top: 60px;
}

.border-img {
	border-top: 4px solid var(--color-brown);
	border-left: 4px solid var(--color-brown);
	border-right: 4px solid var(--color-brown);
}

.flex-img {
	display: flex;
	justify-content: space-between;
	margin: 30px 40px 0;
}

.img-caption {
	width: 100%;
	color: #FFF;
	font-size: 2rem;
	font-weight: 700;
	text-align: center;
	background: var(--color-brown);
	margin-top: 40px;
	padding: 10px 0;
}

.flex-img img {
	height: 400px;
}

/* ウェブサイト公開の画像（shadow-img) */
.shadow-img {
	width: 100%;
	display: flex;
	justify-content: center;
}

.shadow-img figure {
	height: 360px;
}

.shadow-img figure:first-of-type {
	margin-right: 30px;
}

.shadow-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* 記事内のリンク */
.news-link {
	color: var(--color-main);
	font-weight: 700;
	padding: 0 0.1em;
	margin: 0 0.3em;
	position: relative;
}

.news-link::after {
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	bottom: -0.2em;
	left: 0;
	background-color: var(--color-main);
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .3s;
}

/****======================================
*
* ホバー
*
======================================****/
.news-link:hover {
	border-bottom: none;
}

.news-link:hover::after {
	transform-origin: left top;
	transform: scale(1, 1);
}


/****======================================
*
* 画面幅が500px以下の時
*
======================================****/
@media screen and (max-width:500px) {

	body {
		font-size: 1.4rem;
		min-width: 420px;
		max-width: 500px;
	}

	/***-------
	ニュース一覧
	-----------------------***/


	.article {
		border-radius: 15px;
		margin-bottom: 40px;
		height: 12rem;
	}

	.article:last-of-type {
		margin-bottom: 0;
	}

	.article-link {
		display: flex;
	}

	.thumbnail {
		display: block;
		width: 120px;
		height: 120px;
		border-radius: 15px 15px 0 0;
	}

	.thumbnail img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 15px;
	}

	.post-box {
		width: calc(100% - 120px);
		font-size: 1.2rem;
		height: 120px;
		padding: 20px 20px 20px 10px;
		line-height: 1.6;
	}

	.post-title {
		font-size: 1.2rem;
		margin: 0;
	}

	.post-text {
		display: none;
	}

	.time {
		font-size: 1.2rem;
		margin-bottom: 0.5em;
	}



	/***----------------
お知らせ詳細
-----------------------------***/
	.heading {
		flex-direction: column;
		margin-top: 80px;
		margin-bottom: 30px;
	}

	.area-title {
		margin-bottom: 20px;
		font-size: 2rem;
	}

	.day {
		font-size: 1.4rem;
	}

	.article-title {
		padding: 20px;
		font-size: 1.4rem;
		line-height: 1.8;
	}

	.article-box {
		margin-top: 30px;
	}

	/**--
	画像
	------------***/

	.image-area {
		width: 100%;
	}

	.image-area.bottom {
		margin-top: 30px;
	}

	.image-area.top {
		margin-bottom: 30px;
	}


	.flex-img {
		margin: 15px 20px 0;
	}

	.flex-img img {
		width: 48%;
		height: auto;
	}

	.img-caption {
		margin-top: 15px;
		font-size: 1.2rem;
		padding: 5px 0;
	}

	/***--------
	プレスリリース画像 shadow-img
	------------------------------***/

	.shadow-img {
		display: flex;
		align-items: flex-start;
	}

	.shadow-img figure {
		height: 140px;
	}

	.shadow-img img {
		height: 100%;
	}

	.shadow-img figure:first-of-type {
		margin-right: 20px;
	}

	.back-btn.mobile {
		margin-top: 80px;
	}


}
