@charset "UTF-8";
/* CSS Document (新着情報CMS) */

/*===index.php(メイン)用==============================*/
#newsWrap{
	padding: 5px;
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 260px;
	width: 100%;
	padding: 0 20px;
}
#newsWrap ul#newsList li{
	list-style-type:none;
	border-bottom: 1px dotted #555555;
	padding: 20px 0;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	padding: 5px 25px;
	background-color: #2b924f;
	color: #fff;
	margin-right: 20px;
	border-radius: 10px;
	letter-spacing: 0.05em;
	font-family: "transat", sans-serif;
	font-weight: 700;
	font-style: normal;
	padding-top: 7px;
}
#newsWrap ul#newsList li .title{
	font-size: 1.6rem;
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	background-image: linear-gradient(to right, #fff #fff);
	background-position: 0 100%;
	background-position: bottom left;
	background-size: 100% 1px;
    background-repeat: no-repeat;
	transition: 0.4s;
}
#newsWrap ul#newsList li .title a:hover{
	opacity: 0.6;
    background-size: 0% 1px;
}

@media (max-width: 750px){
	#newsWrap ul#newsList li{
		padding: 10px 0 5px;
	}
	#newsWrap ul#newsList li .up_ymd{
		line-height: 1.8;
		margin-bottom: 6px;
	}
	#newsWrap ul#newsList li .title{
		display: block;
	}
	#newsWrap ul#newsList li .up_ymd{
		padding: 0 15px;
		font-size: 1.4rem;
	}
}

/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar{
    overflow: hidden;
    width: 1px;
    background: #f2efe9 !important;
}
#newsWrap ul#newsList::-webkit-scrollbar-button {
    display: none;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
    background: #ffd900 !important;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
    background: #ffd900 !important;
}





/*===news-detail(詳細ページ)用==============================*/
.news-detail .flex{
	display: flex;
	justify-content: space-between;
}
.news-detail .flex #main{
	width: calc(100% - 300px);
}
.news-detail .flex #side{
	width: 270px;
	padding: 0;
}




.news-detail .ttl{
	font-size: 2.4rem;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 20px;
    margin-bottom: 40px;
}

.news-detail .ttl::before{
	content: "";
    display: inline-block;
    position: absolute;
    border-left: solid 4px #2b924f;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
}


/*main*/
.news-detail .flex #main #up_ymd{
	letter-spacing: 0.05em;
	color: #ccc;
	margin-right: 0.8em;
	line-height: 1.7;
	margin-bottom: 20px;
	font-weight: 700;
}
.news-detail .flex #main #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	font-size: 0.8em;
}

.news-detail .pages{
	display: flex;
	justify-content: space-around;
	margin-top: 40px;
}
.news-detail .pages > div{
	width: 45%;
}
.news-detail .pages .page_next{
}
.news-detail .pages .page_prev{
}
.news-detail .pages a{
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 1.6rem;
	padding: 15px;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages a:hover{
	opacity: 0.5;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.6rem;
	margin-bottom: 10px;
}
.news-detail .flex #side h3::before{
	font-family: "Font Awesome 6 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #2b924f;
}
.news-detail .flex #side ul{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0;
}
.news-detail .flex #side ul li{
	width: 49%;
	margin-bottom: 7px;
}
.news-detail .flex #side ul li a{
	display: block;
	text-align: center;
	width: 100%;
	border: 1px solid #2b924f;
	color: #2b924f;
	padding: 8px 3px;
	font-size: 1.4rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	font-weight: 700;
}
.news-detail .flex #side ul li a:hover{
	opacity: 0.5;
}

@media (max-width: 960px){
	.news-detail .pages{
		display: block;
		margin-top: 40px;
	}
	.news-detail .pages > div{
		width: 100%;
	}
	.news-detail .pages .page_next{
		margin-bottom: 7px;
	}
}
@media (max-width: 750px){
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
	}
}

