/* レイアウト サムネなし　================================================== */
.contents_news{
	width: calc(100% - 30px);
	padding: 15px;
	max-width: 1300px;
	margin: auto;
}
.news{
	padding: 1em;
	display: flex;
	justify-content: space-between;
	align-items: center;

}
.news_title{
	width: 100%;
	max-width: 300px;
}


#newsWrap{
	width: 100%;
	padding-left: 20px;
}

ul#newsList01{
	padding:0;
	width: 100%;
}
ul#newsList01 li{
	width: 100%;
}

ul#newsList01 li a{
	display: block;
	width: 100%;
	font-size:1em;
	color: #1a1a1a;
	margin:0;
	line-height:150%;
	list-style-type:none;
	vertical-align:middle;
	padding: 1.5em 1em;
	border-bottom: solid 1px #ccc;
	position: relative;
	transition: .5s;
}
ul#newsList01 li a::after{
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	content: "\f061";
	color: #1a1a1a;
	position: absolute;
	display: block;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	transition: .5s;
}
ul#newsList01 li a:hover::after{
	color: #8A9898;
	right: 10px;
}
ul#newsList01 li:first-child{
	border-top: solid 1px #ccc;
}

ul#newsList01 li a .up_ymd{
	font-weight: 600;
	color: #1a1a1a;
	display:inline-block;
	font-size: 0.9em;
	line-height: 16px;
	width: 8em;
}
ul#newsList01 li a .title{
	color: #1a1a1a;
	width: 90%;
	max-width: 50em;
	display: inline-block;
	vertical-align: bottom;
	line-height: 16px;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	transition: .5s;
}
ul#newsList01 li a:hover .title{
	color: #8A9898;
}


@media (max-width: 959px){
	.contents_news{
		padding: 20px 0 30px;
	}
	.news{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#newsWrap{
		width: 100%;
		padding: 10px;
	}
	.news_title{
		max-width: none;
	}
}
@media (max-width: 750px){
	.news{
		padding: 0;
	}
	#newsWrap ul#newsList01 li a{
		padding: 1.5em 0;
	}
	.up_ymd{
		display: block;
		margin-bottom: 0.5em;
	}
}

/* レイアウト サムネあり　================================================== */
ul.newsList02{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
	padding: 15px 0;
}
ul.newsList02 li{
	list-style-type: none;
	display: inline-block;
	width: calc(100% / 4 - 20px);
	margin: 10px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
	background:#fff;
	overflow: hidden;
}
ul.newsList02 a{
	color: #323232;

	font-size:90%;
}

.news-detail ul.newsList02{
	flex-wrap: wrap;
}

/*サムネイル*/
.thumbNailWrap{
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	min-height: 0%;
}
.thumbNailWrap img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition-duration: 0.5s;
}

ul.newsList02 a:hover .thumbNailWrap img{
	transform: scale(1.2);
	transition-duration: 0.5s;
}

/*日付*/
ul.newsList02 li .up_ymd{
	display: block;
	font-family: "Libre Baskerville", serif;
	color: #000;
	margin-top: 0.5rem;
	padding: 0.5em 1em;
}

ul.newsList02 li .title{
	display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 95%;
	max-width: 30em;
	padding: 0.5em 1em;
}
ul.newsList02 li .comment{
	display: inline-block;
	padding: 0.5rem 1rem 1rem;
	font-size: 80%;
}
@media (max-width: 1366px) {
	.news-detail ul.newsList02{
		flex-wrap: wrap;
	}
	.news-detail ul.newsList02 li{
		min-width: 1px;
		width: calc(100% / 3 - 20px);
	}
	
}
@media (max-width: 1200px) {
	ul.newsList02{
		width: 100%;
		padding: 15px 0;
		overflow: auto;
		flex-wrap: wrap;
	}
	ul.newsList02 li{
		min-width: 1px;
		width: calc(100% / 3 - 20px);
	}
	
}

@media (max-width: 960px){
	ul.newsList02 li,
	.news-detail ul.newsList02 li{
		width: calc(100% / 2 - 20px);
	}
}
@media (max-width: 750px){
	ul.newsList02 li,
	.news-detail ul.newsList02 li{
		width: calc(100% - 20px);
	}
}



.more_btn{
	display: block;
	position: relative;
	text-align: right;
	margin-top: 1em;
	padding-right: 3.5em;
	transition: .5s;
	
}
.more_btn a{
	color: #1a1a1a;
	font-size: 0.8em;
	font-weight: 600;
	text-transform: uppercase
}
.more_btn::after {
    position: absolute;
    right: 1em;
	top: 50%;
    transform: translateY(-50%);
    transform-origin: left;
    width: 2em;
    height: .5em;
    background-color: #1a1a1a;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: '';
    transition: transform .3s;
}

.more_btn:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}

/*===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 .cat_name{
	display: inline-block;
	background-color: #000;
	color: #fff;
	padding: 4px 20px;
	margin-bottom: 13px;
}
.news-detail .flex #main .new_mark{
	display: inline-block;
	text-transform: capitalize;
	font-weight: 600;
	color: #f05742;
	font-size: 0.9rem;
	margin-left: 8px;
}
.news-detail .flex #main .up_ymd{
	display: block;
	letter-spacing: 0.05em;
	color: #ccc;
	margin-bottom: 20px;
}
.news-detail .flex #main .up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}

#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 .wrap{
	margin-bottom: 30px;
}
#news-detail .flex #side .wrap:last-child{
	margin-bottom: 0 !important;
}
#news-detail .flex #side .wrap h3{
	font-size: 1.1rem;
	margin-bottom: 10px;
}
#news-detail .flex #side .wrap h3::before{
	font-family: "Font Awesome 6 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #000;
}
#news-detail .flex #side .wrap ul{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0;
}
#news-detail .flex #side .wrap ul li{
	width: 49%;
	margin-bottom: 7px;
}
#news-detail .flex #side .wrap 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 .wrap ul li a:hover{
	opacity: 0.5;
}

@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 .pages{
		display: block;
		margin-top: 40px;
	}
	#news-detail .pages > div{
		width: 100%;
	}
	#news-detail .pages .page_next{
		margin-bottom: 7px;
	}
}

/* Pager style（外部化可） */
.pager{
	text-align:center;
	padding:10px;
	clear:both;
}
/*ページャーボタン*/
.pager a{
    border: 1px solid #444;
    color: #333;
    font-size: 12px;
    padding: 3px 7px 2px;
    text-decoration: none;
	margin:0 1px;
	display:inline-block;
}

/*現在のページのボタン*/
.pager a.current{
    background: #444;
    color: #fff;
}
.pager a:hover{
    background:#444;
    color: #fff!important;
}
.overPagerPattern{
	padding:0 2px ;	
}

/* /Pager style */

/* ギャラリー　============================================================ */
.gallery_wrap {
	width:100%;
	padding: 20px 10px;
	margin-bottom: 50px;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.gallery_list {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
}

.gallery_list li{
	width: calc(100% / 4 - 10px);
    margin: 0 5px 15px;
	background-color: #fff;
	border:solid 1px #d8e9f0;
}
.gallery_list a.photo{
	display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
	color: #1a1a1a;
	
}
.gallery_list a.photo img{
	width: 100%;
    height: 100%;
    object-fit: contain;
	transition: .5s;
}
.gallery_list a.photo img:hover{
	opacity: 0.6;
}
.gallery_list .comment{
	display: inline-block;
	width: 100%;
	font-size: 0.9rem;
	padding: 0.5em;
    font-weight: 400;
	text-align: center;
}
@media (max-width: 1200px){
	.gallery_list li{
		width: calc(100% / 3 - 10px);
	}
}

@media (max-width: 750px){
	.gallery_list li{
		width: calc(100% / 2 - 10px);
	}
	.gallery_list .comment{
		font-size: 0.8rem;
		padding: 0.5em;
		font-weight: 400;
	}
}
@media (max-width: 450px){
	.gallery_wrap {
		padding: 0;
	}
	.gallery_list li{
		width: calc(100% / 2 - 6px);
		margin: 0 3px 15px;
	}
}

/* カレンダーCMS ============================================================ */
.calendar_wrap{
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	padding: 30px 10px;
}
/*月切*/
.calendar_head{
	margin-bottom: 5px;
	font-family: "RocknRoll One", sans-serif;
	font-weight: 400;
	font-size: 1.5rem;
	color: #0d54ac;
	padding: 15px;
}

/*本体*/
.calendar_body{
    padding: 1rem;
	/*
    max-height: 300px;
    overflow: auto;
	*/
}
.calendar_body::-webkit-scrollbar{
	width: 3px;
	height: 3px;
}
.calendar_body.calendar_body::-webkit-scrollbar-track{
	background-color: #e3e3e3;
}
::-webkit-scrollbar-thumb{
	background-color: #0d54ac;
}
.holiday{
    margin: 0.5rem 1rem;
    font-size: 0.9rem;
}
.holiday i{
    color: #fff0f5;
}
.calendar_body table{
    border-collapse: collapse;
    border-spacing: 5px;
    margin: 0 auto 50px;
    padding: 0;
    width:calc(100% - 60px);
}
.calendar_body table tr{
    border-bottom: solid 1px #ccc;
}
.calendar_body table th{
    width: 120px;
    text-align: left;
	font-size: 1rem;
    padding: 0.5em 1em;
    vertical-align: middle;
    font-weight: 500;
}

.calendar_body table td{
    font-size: 0.8rem;
    padding: 0.5em 1em;
}
.calendar_body .off{
	background: #fff3b8;
}

@media (max-width: 750px){
    .calendar_body{
        padding: 0.5rem 0;
    }
    .calendar_body table th,
    .calendar_body table td{
        display: block;
        width: 100%;
        text-align: left;
    }
}

/*※は定休日です。*/
.calendar_bottom{
	text-align: center;
	margin-top: 5px;
}
.calendar_bottom span.colored{
	display: inline-block;
	height: 1em;
	width: 30px;
	background-color: #fff3b8;/*定休日の色*/
	vertical-align: text-bottom;
	margin: 0 3px;
}
.calendar.sun,
.calendar.sat,
.calendar.holiday{
	background: #ffcccc;
}


@media (max-width: 750px){
	.calendar_head .arrow a{
		font-size: 13px;
	}
	.calendar_body table tr th,
	.calendar_body table tr td{
		padding: 3px;
	}
}
/*※月切り替え*/
.calendar_wrap .arrow{
	display: flex;
	justify-content: center;
	font-family: "RocknRoll One", sans-serif;
	font-weight: 400;
	font-size: 1rem;
	margin-top: 0.5rem;
	padding: 15px;
	gap:30px;
}
.calendar_wrap .arrow a{
	display: inline-block;
	white-space: nowrap;
	color: #0d54ac;
	opacity: 1;
	transition: .5s;
}
.calendar_wrap .arrow a:hover{
	opacity: 0.5;
}
