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

/*===index.php(メイン)用==============================*/

/*#newsWrap(おもてページ)の指定*/
.news{
	padding: 30px 0;
}
.news .flex{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.news .flex .sub{
	border-right: 1px solid #aaa;
	padding: 5px 0;
	padding-right: 30px;
	margin-right: 30px;
}
.news .flex #newsWrap{
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.news .flex #newsWrap ul#newsList{
	width: calc(100% - 120px);
}
.news .flex #newsWrap ul#newsList li{
	list-style-type: none;
}
.news .flex #newsWrap ul#newsList li:nth-child(n+2){
	display: none;
}
.news .flex #newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	margin-right: 15px;
	letter-spacing: 0.05em;
	font-size: 0.9rem;
}
.news .flex #newsWrap ul#newsList li .title{
	letter-spacing: 0.15em;
	font-size: 0.9rem;
}
.news .flex #newsWrap ul#newsList li .title a{
	text-decoration: none;
	background-image: linear-gradient(to right, #333, #333);
	background-position: 0 100%;
	background-position: bottom left;
	background-size: 100% 1px;
    background-repeat: no-repeat;
	transition: 0.4s;
}
.news .flex #newsWrap ul#newsList li .title a:hover{
	opacity: 0.6;
    background-size: 0% 1px;
}

.news .flex #newsWrap a.btn{
	font-size: 0.9rem;
	letter-spacing: 0.1em;
}
.news .flex #newsWrap a.btn i{
	display: inline-block;
	margin-right: 10px;
	font-size: 1.4em;
	transform: translateY(2px);
	transition: 0.4s;
}
.news .flex #newsWrap a.btn:hover{
	opacity: 0.6;
}
.news .flex #newsWrap a.btn:hover i{
	transform: translate(2px, 2px);
}

@media (min-width: 751px){
	.news .flex .sub h2.title{
		white-space: nowrap;
		margin-bottom: 0;
	}
	.news .flex .sub h2.title span.en{
		display: none;
	}
	.news .flex .sub h2.title span.ja{
		font-weight: 500;
		font-size: 1rem;
		letter-spacing: 0.15em;
	}
}

@media (max-width: 750px){
	.news{
		padding: 60px 0;
	}
	.news .flex{
		display: block;
	}
	.news .flex .sub{
		border-right: none;
		padding: 0;
		margin-right: 0;
		margin-bottom: 30px;
	}
	.news .flex #newsWrap{
		display: block;
	}
	.news .flex #newsWrap ul#newsList{
		width: 90%;
		margin: 0 auto;
	}
	.news .flex #newsWrap ul#newsList li{
		list-style-type: none;
	}
	.news .flex #newsWrap ul#newsList li .up_ymd{
		display: block;
		margin-right: 15px;
		letter-spacing: 0.05em;
		font-size: 0.9rem;
	}
	.news .flex #newsWrap a.btn{
		display: block;
		width: -moz-fit-content;
		width: fit-content;
		margin: 0 auto;
		margin-top: 30px;
	}
}



/*===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{
	letter-spacing: 0.05em;
	color: #666;
	font-size: 0.9rem;
	line-height: 1.7;
	margin-bottom: 20px;
}

.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;
}
.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 #ddd;
	padding: 8px 3px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	font-weight: 500;
}
.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%;
	}
}


/*一覧ページ*/
.news-detail .flex #main li:not(.news-detail .flex #main .text li){
	border-bottom: 1px solid #ddd;
	list-style-type:none;
	padding: 10px 0;
}
.news-detail .flex #main li .up_ymd{
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	color: #666;
}
.news-detail .flex #main li:first-child:not(.news-detail .flex #main .text li:first-child){
	border-top: 1px solid #ddd;
}
.news-detail .flex #main li span{
	display: block;
}
.news-detail .flex #main li .title a{
	letter-spacing: 0.1em;
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.5;
}