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

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


.news .left{
	width: 160px;
}

.news .right{
	width: calc(100% - 200px);
}



/* .news h2::after{
	content: "";
	display: inline-block;
	position: absolute;
	border-bottom: solid 1px #333;
	height: 1px;
	width: 70%;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
} */


section.news .sub_ttl.center{
	margin-bottom: 80px;
}

section.news{
	padding: 80px 0;
}


/* .news .ashi{
	position: absolute;
	display: inline-block;
	aspect-ratio: 2 / 1;
	width: 30%;
	min-width: 280px;
	bottom: -20px;
	right: 0;
	z-index: -1;
	opacity: 0.8;
} */


.news .inner{
	position: relative;
	z-index: 0;
}

.news #newsWrap{
	width: 100%;
	margin-top: 40px;
}

#newsWrap{
	padding: 5px;
	background-color: #fff;
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 250px;
	width: 100%;
	padding: 10px 40px;
}

#newsWrap ul#newsList li:first-child{
	border-top: 1px solid #bababa;
}

#newsWrap ul#newsList li{
	list-style-type:none;
	border-bottom: solid 1px #bababa;
	padding: 24px 0;
}

#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	padding: 3px 20px;
	background: #141418;
	color: #fff;
	margin-right: 20px;
	letter-spacing: 0.05em;
}
#newsWrap ul#newsList li .title{
	font-size: 1.8rem;
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	padding-bottom: 5px;
}
#newsWrap ul#newsList li .title a{
	color:#000;
	text-decoration: none;
	background-image: linear-gradient(to right, #B8A434, #B8A434);
	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: 960px){
	.news .flex_bet{
		flex-direction: column;
	}
	.news #newsWrap{
		width: 100%;
		margin-top: 60px;
	}
	.news .right{
		width: 100%;
	}
	.news .left{
		width: 100%;
	}
	.news .sub_ttl{
		text-align: center;
		margin-bottom: 0;
	}
}

@media (max-width: 650px){
	#newsWrap ul#newsList li{
		padding: 5px 0 5px;
	}
	#newsWrap ul#newsList li .up_ymd{
		line-height: 1.8;
		margin-bottom: 3px;
		font-size: 1.4rem;
	}
	#newsWrap ul#newsList li .title{
		display: block;
		font-size: 1.6rem;
	}
	#newsWrap ul#newsList{
		padding-top: 0;
	}
	#newsWrap ul#newsList li .up_ymd{
		border-radius: 8px;
		padding: 0 14px;
	}
	section.news .sub_ttl.center{
		margin-bottom: 0;
	}
	#newsWrap ul#newsList{
		padding: 0;
	}
	.news #newsWrap{
		margin-top: 30px;
	}
	#newsWrap ul#newsList{
		max-height: 220px;
	}
}

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



/*===news-detail.php用==============================*/


#news-detail #up_ymd{
	font-size: 14px;
	letter-spacing: 0.1em;
	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;
}
@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 .detailUpfile img{
	max-width: 100%;
	height: auto;
	margin-top: 30px;
}
#news-detail .sbtn a{
	margin-top: 60px;
}



/*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: #ce2c2d;
}
.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 #ce2c2d;
	color: #ce2c2d;
	padding: 8px 3px;
	font-size: 1.6rem;
	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%;
	}
}



/* CSS Document (新着情報CMS) */



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

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 .up_ymd{
	display: block;
	line-height: 1.7;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
	font-weight: 600;
	color: #B8A434;
}
ul#newsList li a .title {
	letter-spacing: 0.1em;
	line-height: 1.7;
	font-weight: 500;
	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 .title{
	background-size: 100% 1px;
}

@media (max-width: 960px){
	ul#newsList{
		justify-content: space-between;
	}

	ul#newsList li:last-child{
		margin-bottom: 0 !important;
	}
}
@media (max-width: 750px){
	ul#newsList{
		display: block;
	}
	ul#newsList li{
		margin: 0 auto 10px;
		width: 90%;
	}
	ul#newsList li a .title{
		font-size: 1.6rem;
	}
}



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

/*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: #B8A434;
}
.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 #B8A434;
	color: #B8A434;
	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%;
	}
}


/*一覧ページ*/

.news-detail{
	background-color: #f5f5f5;
}

.news-detail .flex #main ul#newsList{
	display: flex;
	flex-wrap: wrap;
}
.news-detail .flex #main ul#newsList li{
	list-style-type: none;
	width: 100%;
	margin: 0 1.5%;
	padding: 7px 0;
}
.news-detail .flex #main ul#newsList li a{
	display: block;
	width: 100%;
}

.news-detail .flex #main ul#newsList li a:hover{
	opacity: 0.7;
}

.news-detail .flex #main ul#newsList li+li{
	border-top: solid 1px #ddd;
}

.news-detail .flex #main ul#newsList li:first-child{
	border-top: solid 1px #ddd;
}

.news-detail .flex #main ul#newsList li:last-child{
	border-bottom: solid 1px #ddd;
}

.news-detail .flex #main li .up_ymd::before {
    font-family: "Font Awesome 6 Free";
    content: '\f017';
    font-weight: 900;
    padding-right: 0.5em;
}
.news-detail .flex #main li .up_ymd{
	font-size: 0.85em;
	color: #B8A434;
	font-weight: bold;
}

.news-detail .sub_ttl3{
	margin-bottom: 0;
	font-size: 1.9rem;
	padding-left: 35px;
}

.news-detail .sub_ttl3::before{
	width: 12px;
	height: 1px;
	border-radius: 0%;
	left: 15px;
}

.news-detail span.title{
	display: block;
	padding-left: 2em;
	letter-spacing: 0.07em;
}

@media (max-width: 960px){
	.news-detail .flex #main ul#newsList{
		justify-content: space-between;
	}
	.news-detail .flex #main ul#newsList li:last-child{
		margin-bottom: 0 !important;
	}
}
@media (max-width: 750px){
	.news-detail .flex #main ul#newsList{
		display: block;
	}
	.news-detail .flex #main ul#newsList li{
		margin: 0 auto;
	}
	.news-detail .flex #main ul#newsList li a .title{
		font-size: 1.4rem;
	}
}
