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

/*===index.php(メイン)用==============================*/
#newsWrap{
	position: relative;
}
#newsWrap ul#newsList{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-start;
}
#newsWrap ul#newsList a{
	display: block;
	width: 48%;
	margin-bottom: 30px;
	background-color: #fff;
	background-color: rgba(76,16,21,0.05);
	border-radius: 10px;
	padding: 20px;
}
#newsWrap ul#newsList li{
	list-style-type: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.thumbNailWrap{
	display: block;
	width: 120px;
    position: relative;
    overflow: hidden;
	min-height: 0%;
	border-radius: 50%;
}
.thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 100%;
}
.thumbNailWrap img{
	display: block;
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: 0.2s;
	transition-delay: 0.05s;
}

#newsWrap ul#newsList li .textarea{
	width: calc(100% - 140px);
}
#newsWrap ul#newsList li .up_ymd{
	display: block;
	font-size: 1rem;
	letter-spacing: 0.1em;
	transition: 0.4s;
	margin-bottom: 3px;
	line-height: 1.7;
	color: #384a1e;
	font-family: 'Amatic SC', cursive;
	font-weight: 700;
}
#newsWrap ul#newsList li .up_ymd::before{
	display: inline-block;
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: bold;
	padding-right: 0.5em;
	font-size: 10px;
	transform: translateY(-3px);
}
#newsWrap ul#newsList li .title{
	display: block;
	transition: 0.4s;
	font-size: 1.05rem;
	letter-spacing: 0.1em;
	line-height: 1.9;
	margin-bottom: 3px;
}
#newsWrap ul#newsList li .comment{
	transition: 0.4s;
	font-size: 0.8rem;
}
#newsWrap ul#newsList a:hover .title,
#newsWrap ul#newsList a:hover .up_ymd{
	opacity: 0.7;
}
#newsWrap ul#newsList a:hover .thumbNailWrap img{
	transform: scale(1.05);
}

@media (max-width: 960px){
	#newsWrap ul#newsList{
		display: block;
	}
	#newsWrap ul#newsList a{
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
		margin-bottom: 20px;
		padding: 20px;
	}
}
@media (max-width: 750px){
	#newsWrap ul#newsList a{
		padding: 15px 10px;
	}
}


/*===news-detail.php用==============================*/
#news-detail #up_ymd{
	font-size: 13px;
	margin-bottom: 30px;
}
#news-detail #up_ymd::before{
  font-family: "Font Awesome 5 Free";
  content: '\f017';
  font-weight: bold;
	padding-right: 0.5em;
}
#news-detail #detail{
	padding: 20px;
	font-size: 16px !important;
}
@media (max-width: 450px){
	#news-detail #detail{
		padding: 20px 10px;
		font-size: .8rem;
	}
}
#news-detail .detailUpfile{
	margin:5px 0 35px;
	text-align:center;
}

#news-detail .backORcloseBtn a{
	margin-top: 60px;
}

#news-detail .detailUpfile img{
	max-width:100%;
	height:auto;
	margin-top: 40px;
	border-radius: 10px;
}
