@charset "utf-8";

/****************************************
		NEWS
*****************************************/

/* clearfix */
.clearfix:after { content:"."; display:block; clear:both; height:0; visibility:hidden; }
.clearfix { display:inline-block; }

/* for macIE \*/
* html .clearfix { height:1%; }
.clearfix { display:block; }

.p-news .sub_main{
	padding-bottom: 3.5em;
}
.p-news.p-news-detail .sub_main{
	padding-bottom: 0;
}

#newsWrap{
	text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.p-news #newsWrap{
    max-width: 925px;
		margin: 0 auto;
}
.p-news .breadcrumb{
	margin-bottom: 110px;
}

ul#newsList{
	padding-bottom: 0;
	min-height: 5em;
	position: relative;
	border-top: solid 1px #000;
}
ul#newsList:before{
	content: "現在お知らせはありません";
	display: block;
	position: absolute;
	margin: 1em auto 0;
	text-align: center;
	width: 100%;
	z-index: -1;
}
.p-topics ul#newsList:before{
	content: "現在トピックスはありません";
}

ul#newsList li{
	line-height: 1.5;
	font-size: 1.1em;
	letter-spacing: 0.11em;
	border-bottom: solid 1px #000;
	background-color: #fff;
}

ul#newsList li .flex{
	flex-wrap: nowrap;
	/* align-items: center; */
	padding: 1em 0.5em 1em;
}
ul#newsList li img{
	width: 100%;
}

ul#newsList li .up_ymd{
	letter-spacing: 0.01em;
	margin-right: 2.5em;
}

ul#newsList li .tit{
	word-break: break-word;
	overflow-wrap: break-word;
	flex: 1;
}

.thumbNailWrap{
	display:block;
	width:100%;
	overflow:hidden;
	aspect-ratio: 4 / 2;
	margin-bottom: 1em;
}
.thumbNailWrap img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
}

.catName{
	display:inline-block;
	padding:3px 8px;
	border:1px solid #ccc;
	border-radius:6px;
	font-size: 0.8em;
	line-height:100%;
	margin:0 2px;
	display: none;
}

.newMark{
	display:inline-block;
	padding: 0.2em 0.5em;
	font-size: 0.8em;
	line-height:100%;
	background:#d71b1b;
	color:#fff;
	vertical-align: middle;
}
.comment{
	display:block;
	overflow:hidden;
}

/* Pager style（外部化可） */
.pager {
	text-align: center;
	padding: 10px 0;
	margin: 3em 0 1em;
	clear: both;
	font-size: 1.2em;
}


/*ページャーボタン*/
.pager a {
	border: 1px solid #193365;
	color: #193365;
	font-size: 1em;
	padding: 0 7px 0;
	text-decoration: none;
	margin: 0 2px;
	display: inline-block !important;
	background: #ffffff;
}


/*現在のページのボタン*/
.pager a.current,
.pager a:hover {
	background: #193365;
	color: #ffffff;
	text-decoration: none;
}

.overPagerPattern {
	padding: 0 2px;
}



/* 詳細ページ */

/* タイトル */
.p-news-detail #newsWrap .tit{
	font-size: 1.4em;
	font-weight: 600;
	color: #193365;
	letter-spacing: 0.12em;
	border-bottom: solid 1px #000;
	padding-bottom: 0.8em;
	margin-bottom: 0.8em;
}

/* 日付 */
#up_ymd{
	font-size: 1em;
	margin: 1em 0;
	letter-spacing: 0.1em;
	text-align: right;
}

/* 本文 */
#detail{
	padding: 1em 0;
	line-height: 1.4;
	font-size: 1em;
	letter-spacing: 0.13em;
}
#detail h1{
	font-size: 30px;
	margin-bottom: 0.5em;
}
#detail h2{
	font-size: 28px;
	margin-bottom: 0.5em;
}
#detail h3{
	font-size: 26px;
	margin-bottom: 0.5em;
}
#detail h4{
	font-size: 24px;
	margin-bottom: 0.5em;
}
#detail h5{
	font-size: 22px;
	margin-bottom: 0.5em;
}
#detail h6{
	font-size: 20px;
	margin-bottom: 0.5em;
}
#detail p{
	font-size: 1em;
}
#detail a{
	color: #193365;
}


.detailUpfile{
	margin: 1em 0 1em;
}

.backORcloseBtn a{
	position: relative;
	color: #193365;
	width: 90%;
	box-sizing: border-box;
	border-radius: 50px;
	padding: 0.6em 1em;
	margin: 1em 0 1em;
	max-width: 10.5em;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.2;
	display: flex;
  align-items: center;
	justify-content: center;
	text-align: center;
	border: solid 1px #193365;
}

.backORcloseBtn a:after{
	content: "";
	position: absolute;
	left: 0.6em;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 0.9em;
	height: 0.7em;
	transition: .3s;
	background: url(../img/ico_arrow.svg) center center/contain no-repeat;
	transform:rotate(180deg);
}

.backORcloseBtn a:hover {
	opacity: 1;
	color: #fff;
	background: #193365;
}
.backORcloseBtn a:hover:after{
	background: url(../img/ico_arrow_wh.svg) center center/contain no-repeat;
}

.detailUpfile img{
	max-width:100%;
	height:auto;
}


@media (max-width: 900px) {
	.p-news #newsWrap{
		padding-bottom: 12vw;
	}

	ul#newsList li{
		/* font-size: 3vw; */
	}
	ul#newsList li .flex{
		padding: 3vw 0;
	}

	ul#newsList li .up_ymd{
		/* font-size: 2.6vw; */
	}

	.p-news .sub_main {
		padding-top: 12vw;
	}
	.p-news-detail #newsWrap .tit{
		font-size: 4vw;
	}
	.backORcloseBtn a{
		font-size: 3vw;
		/* margin: 2em auto 0;
		width: 50%;
		border-radius: 2vw; */
	}
	
	#detail h1{
		font-size: 4.8vw;
	}
	#detail h2{
		font-size: 4.5vw;
	}
	#detail h3{
		font-size: 4vw;
	}
	#detail h4{
		font-size: 3.8vw;
	}
	#detail h5{
		font-size: 3.5vw;
	}
	#detail h6{
		font-size: 3.2vw;
	}
	#detail p{
		font-size: 3vw;
	}

}
