@charset "UTF-8";

/* ページタイトル */
#page-title-sec .container .contents .inner-img {
	background-image: url(../img/news/pagetop.jpg);
	background-position: 50% 50%;
}


/* カテゴリーカラー */
.cate-color01 {
	border: 1px solid #3b7d72;
	color: #3b7d72;
}

.cate-color02 {
	border: 1px solid #d97a3f;
	color: #d97a3f;
}


/* 新着情報一覧 */
#list-sec {
	margin: 100px auto;
}

#list-sec .list-ttl {
	font-size: 28px;
	line-height: 1.5em;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-align: center;
	padding-bottom: 20px;
	margin-bottom: 20px;
	position: relative;
}

#list-sec .list-ttl::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	width: 100px;
	height: 1px;
	background-color: #333333;
}

#list-sec .page-num {
	text-align: center;
}

#list-sec .contents {
	max-width: 800px;
	margin: 50px auto 0;
}

#list-sec .link-box {
	width: 100%;
	display: block;
	padding: 20px;
	border-bottom: 1px solid #ededed;
	color: #333333;
	text-decoration: none;
	transition: 0.3s;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
}

#list-sec .link-box:first-of-type {
	border-top: 1px solid #ededed;
}

#list-sec .link-box:hover {
	background-color: #f5f5f5;
}

#list-sec .link-box .inner {
	display: flex;
	justify-content: space-between;
}

#list-sec .link-box .inner .txt {
	width: 80%;
}

#list-sec .link-box .inner .txt .date {
	display: flex;
	align-items: center;
}

#list-sec .link-box .inner .txt .date .publish {
	display: inline-block;
	margin-right: 10px;
}

#list-sec .link-box .inner .txt .date .category {
	display: inline-block;
	font-size: 13px;
	line-height: 1.0em;
	padding: 2px 20px;
}

#list-sec .link-box .inner .txt .news-ttl {
	font-size: 18px;
	line-height: 1.5em;
	font-weight: 500;
}

#list-sec .link-box .inner figure {
	width: 15%;
	margin-left: 20px;
}


/* 新着情報詳細 */
#detail-sec {
	margin: 100px auto;
}

#detail-sec .contents {
	max-width: 800px;
	margin: 0 auto;
}

#detail-sec .date {
	display: flex;
	align-items: center;
}

#detail-sec .date .publish {
	display: inline-block;
	margin-right: 10px;
}

#detail-sec .date .category {
	display: inline-block;
	font-size: 13px;
	line-height: 1.0em;
	padding: 2px 20px;
}

#detail-sec .news-ttl {
	font-size: 22px;
	line-height: 1.5em;
	font-weight: 500;
	color: #333333;
	padding-bottom: 10px;
	border-bottom: 1px solid #333333;
	margin: 10px auto 30px;
}

#detail-sec .gallery {
	margin: 30px auto;
}

#detail-sec .gallery .swiper-slide {
	width: 100%;
	aspect-ratio: 4/3;
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#detail-sec .gallery .swiper-container.slider-thumbnail {
	margin-top: 10px;
}

#detail-sec .gallery .swiper-container.slider-thumbnail .swiper-wrapper {
	display: flex;
}

#detail-sec .gallery .swiper-container.slider-thumbnail .swiper-wrapper .swiper-slide {
	cursor: pointer;
	width: 19.4%!important;
	margin-right: 0.75%;
}

#detail-sec .gallery .swiper-container.slider-thumbnail .swiper-wrapper .swiper-slide:nth-of-type(5n) {
	margin-right: 0;
}

#detail-sec .comment {
	text-align: justify;
	margin: 30px auto;
}

#detail-sec .link {
	margin: 50px auto;
}


/* エラーテキスト */
#detail-sec .err_msg {
	font-size: 30px;
	line-height: 1.5em;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #d12926;
	text-align: center;
}



/* スマートフォン用 - ブレイクポイント768　*/
@media screen and (max-width: 768px) {

	#list-sec {
		margin: 80px auto;
	}

	#list-sec .list-ttl {
		font-size: 20px;
	}

	#list-sec .contents {
		margin: 20px auto 0;
	}

	#list-sec .link-box .inner .txt {
		width: 70%;
	}

	#list-sec .link-box .inner .txt .news-ttl {
		font-size: 16px;
	}

	#list-sec .link-box .inner figure {
		width: 30%;
	}

	#detail-sec {
		margin: 80px auto;
	}

	#detail-sec .news-ttl {
		font-size: 18px;
		margin: 5px auto 20px;
	}

	#detail-sec .gallery {
		margin: 20px auto;
	}

	#detail-sec .comment {
		margin: 20px auto;
	}

	#detail-sec .link {
		margin: 30px auto;
	}

	#detail-sec .err_msg {
		font-size: 18px;
		letter-spacing: 0;
	}

	#detail-sec .err_msg {
		font-size: 18px;
		letter-spacing: 0;
	}

}