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

/*===index.php(メイン)用==============================*/
ul#newsList{
}
ul#newsList li {
	list-style-type: none;
}
ul#newsList li a{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

/*サムネイル*/
ul#newsList li a .thumbNailWrap {
	display: block;
	position: relative;
    overflow: hidden;
	min-height: 0%;
	width: 180px;
}

ul#newsList li a .thumbNailWrap::before {
	content: '';
    display: block;
    padding-top: 60%;
}

ul#newsList li a .thumbNailWrap img {
	display: block;
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: all 0.4s linear;
}

ul#newsList li a:hover .thumbNailWrap img {
	transform: scale(1.05);
}

ul#newsList li a .info{
	width: calc(100% - 210px);
}
ul#newsList li a .up_ymd{
	display: block;
	line-height: 1.7;
	letter-spacing: 0.1em;
	margin-bottom: 6px;
	color: #FF8C00;
	font-family: "Zen Maru Gothic", serif;
	font-weight: 700;
	transition: 0.4s;
}
ul#newsList li a .title {
	letter-spacing: 0.1em;
	line-height: 1.9;
	font-size: 1.1rem;
	font-weight: 700;
	padding-bottom: 2px;
	background-image: linear-gradient(to right, #000, #000);
	background-position: 0 100%;
	background-position: bottom left;
	background-size: 0% 1px;
    background-repeat: no-repeat;
	transition: 0.4s;
}
ul#newsList li a:hover .up_ymd{
	opacity: 0.5;
}
ul#newsList li a:hover .title{
	background-size: 100% 1px;
}

@media (max-width: 750px){
	ul#newsList li a{
		display: block;
		width: 100%;
	}
	ul#newsList li a .thumbNailWrap {
		width: 100%;
		margin: 0 auto;
		margin-bottom: 20px;
	}
	ul#newsList li a .info{
		width: 100%;
	}
}



/*===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;
}

/*main*/
.news-detail .flex #main #up_ymd{
	display: block;
	line-height: 1.7;
	letter-spacing: 0.1em;
	color: #FF8C00;
	font-family: "Zen Maru Gothic", serif;
	font-weight: 700;
	transition: 0.4s;
	margin-bottom: 20px;
}
.news-detail .flex #main #up_ymd::before{
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
	font-size: 0.8em;
	transform: translateY(-1px);
}

.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: 0.9rem;
	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.1rem;
	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: #add4ff;
}
.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: 6px;
}
.news-detail .flex #side ul li a{
	display: block;
	text-align: center;
	width: 100%;
	border: 1px solid #add4ff;
	color: #fff;
	background-color: #add4ff;
	padding: 8px 2px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	border-radius: 5px;
}
.news-detail .flex #side ul li a:hover{
	background-color: #fff;
	color: #add4ff;
}

@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: 960px){
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
	}
}


/*一覧ページ*/
.news-detail .flex #main li:not(.news-detail .flex #main .text li){
	border-bottom: 1px solid #ddd;
	list-style-type:none;
	padding: 8px 0;
}
.news-detail .flex #main li:first-child:not(.news-detail .flex #main .text li:first-child){
	border-top: 1px solid #ddd;
}