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

/*===index.php(メイン)用==============================*/
#newsWrap{
}
#newsWrap ul#newsList{
	max-width: 1000px;
    width: 100%;
    margin: 5px auto;
    display: block;
    box-sizing: border-box;
	height: auto;
    max-height: 250px;
	overflow-y: auto;
}
#newsWrap ul#newsList::-webkit-scrollbar{
   width: 5px;
}
#newsWrap ul#newsList::-webkit-scrollbar-track{
   background-color: #ECECEC;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb{
   background-color: #1BA300;
}

#newsWrap ul#newsList a{
	display: block;
	width: 98%;
	padding: 10px 1% 10px;
	background: #fff;
	border-bottom: dashed 1px #1BA300;
}
#newsWrap ul#newsList li{
	list-style-type: none;
}
/*サムネイル*/
.thumbNailWrap{
	display: block;
	width: 100%;
    position: relative;
    overflow: hidden;
	min-height: 0%;
	margin-bottom: 15px;
}
.thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 60%;
}
.thumbNailWrap img{
	display: block; 
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: 0.2s;
}

#newsWrap ul#newsList li .textarea{
	font-weight: normal;
}
#newsWrap ul#newsList li .up_ymd{
	/*display: block;*/
	font-size: 1.2rem;
	color: #111;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	margin-bottom: 10px;
	margin-right: 2em;
	line-height: 1;
}
#newsWrap ul#newsList li .title{
	background-position: 0 100%;
	background-position: bottom left;
	background-size: 100% 1px;
    background-repeat: no-repeat;
	transition: 0.4s;
	font-size: 1.3rem;
}
#newsWrap ul#newsList a:hover .title{
	opacity: 0.6;
    background-size: 0% 1px;
}
#newsWrap ul#newsList a:hover .thumbNailWrap img{
	transform: scale(1.1);
}

@media (max-width: 960px){
	#newsWrap ul#newsList a{
		width: 98%;
	}
}
@media (max-width: 750px){
	#newsWrap ul#newsList a{
		width: 98%;
	}
}


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

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

#detail .detailUpfile img{
	max-width:100%;
	height:auto;
	margin-top: 30px;
}
